Searched +full:- +full:prerelease (Results 1 – 25 of 376) sorted by relevance
12345678910>>...16
21 an equivalent string -- ie. one that will generate an equivalent76 # Interface for version-number classes -- must be implemented77 # by the following classes (the concrete ones -- Version should79 # __init__ (string) - create and take same action as 'parse'81 # parse (string) - convert a string representation to whatever84 # __str__ (self) - convert back to a string; should be very similar86 # __repr__ (self) - generate Python code to recreate88 # _cmp (self, other) - compare two version numbers ('other' may98 dot-separated numeric components, with an optional "pre-release" tag99 on the end. The pre-release tag consists of the letter 'a' or 'b'[all …]
21 an equivalent string -- ie. one that will generate an equivalent96 # Interface for version-number classes -- must be implemented97 # by the following classes (the concrete ones -- Version should99 # __init__ (string) - create and take same action as 'parse'101 # parse (string) - convert a string representation to whatever104 # __str__ (self) - convert back to a string; should be very similar106 # __repr__ (self) - generate Python code to recreate108 # _cmp (self, other) - compare two version numbers ('other' may118 dot-separated numeric components, with an optional "pre-release" tag119 on the end. The pre-release tag consists of the letter 'a' or 'b'[all …]
21 an equivalent string -- ie. one that will generate an equivalent46 # Interface for version-number classes -- must be implemented47 # by the following classes (the concrete ones -- Version should49 # __init__ (string) - create and take same action as 'parse'51 # parse (string) - convert a string representation to whatever54 # __str__ (self) - convert back to a string; should be very similar56 # __repr__ (self) - generate Python code to recreate58 # __cmp__ (self, other) - compare two version numbers ('other' may68 dot-separated numeric components, with an optional "pre-release" tag69 on the end. The pre-release tag consists of the letter 'a' or 'b'[all …]
11 use semver::Prerelease;15 fn test(identifier: Prerelease, expected: &str) { in test_new() argument26 test(prerelease(string), string); in test_new()32 test(prerelease(string), string); in test_new()38 assert_eq!(prerelease("-"), prerelease("-")); in test_eq()39 assert_ne!(prerelease("a"), prerelease("aa")); in test_eq()40 assert_ne!(prerelease("aa"), prerelease("a")); in test_eq()41 assert_ne!(prerelease("aaaaaaaaa"), prerelease("a")); in test_eq()42 assert_ne!(prerelease("a"), prerelease("aaaaaaaaa")); in test_eq()43 assert_ne!(prerelease("aaaaaaaaa"), prerelease("bbbbbbbbb")); in test_eq()[all …]
10 use semver::{BuildMetadata, Prerelease, Version};35 let err = version_err("1.2.3-"); in test_parse()36 assert_to_string(err, "empty identifier segment in pre-release identifier"); in test_parse()47 let err = version_err("1.2.3-01"); in test_parse()48 assert_to_string(err, "invalid leading zero in pre-release identifier"); in test_parse()69 pre: Prerelease::EMPTY, in test_parse()74 let parsed = version("1.2.3-alpha1"); in test_parse()79 pre: prerelease("alpha1"), in test_parse()89 pre: Prerelease::EMPTY, in test_parse()99 pre: Prerelease::EMPTY, in test_parse()[all …]
... /compwork2/lyon/Work/ARM/NEON-Intrinsics/arm-neon-tests-from- ...
2 // Use of this source code is governed by a BSD-style11 // vMAJOR[.MINOR[.PATCH[-PRERELEASE][+BUILD]]]15 // PRERELEASE and BUILD are each a series of non-empty dot-separated identifiers17 // all-numeric PRERELEASE identifiers must not have leading zeros.21 // vMAJOR and vMAJOR.MINOR (with no prerelease or build suffixes)33 prerelease string member54 return v[:len(v)-len(p.build)]88 // Prerelease returns the prerelease suffix of the semantic version v.89 // For example, Prerelease("v2.1.0-pre+meta") == "-pre".90 // If v is an invalid semantic version string, Prerelease returns the empty string.[all …]
15 def __init__(self, major, minor, patch, prerelease=""): argument19 self.prerelease = prerelease23 if self.prerelease != "":24 s = "%s-%s" % (s, self.prerelease)28 # Returns the prerelease version number29 # Example: Version is "preview-11", this method returns "11" as integer31 if self.prerelease != "":32 preview_prefix_len = len("preview-")33 prerelease_version = self.prerelease[preview_prefix_len:]
2 // Use of this source code is governed by a BSD-style16 // - Tagged releases use a tag that is identical to String.17 // - Tagged releases never reference a commit where the String19 // - The set of all commits in this repository where String26 // 2. Update Minor, Patch, and/or PreRelease as necessary.27 // PreRelease must not contain the string "devel".39 // without any other CLs in-between.48 // 9. Update PreRelease to include the string "devel".49 // For example: "" -> "devel" or "rc.1" -> "rc.1.devel"56 PreRelease = "" const[all …]
4 # Prerelease versions cannot be passed in directly via the find_package command,9 set(PACKAGE_FIND_VERSION ${PACKAGE_FIND_VERSION}-${${PACKAGE_FIND_NAME}_FIND_VERSION_PRERELEASE})13 # VERSION_EQUAL ignores the prerelease strings, so we use STREQUAL.26 # Do not match prerelease versions to non-prerelease version requests.28 …message(AUTHOR_WARNING "To use this prerelease version of ${PACKAGE_FIND_NAME}, set ${PACKAGE_FIND…32 # Not robustly SemVer compliant, but protobuf never uses '.' separated prerelease identifiers.53 …# check that the installed version has the same 32/64bit-ness as the one which is currently search…
1 …(https://github.com/dtolnay/semver) [![crates-io]](https://crates.io/crates/semver) [![d…3 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo…4 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555…5 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo…20 //! use semver::{BuildMetadata, Prerelease, Version, VersionReq};25 //! // Check whether this requirement matches version 1.2.3-alpha.1 (no)30 //! pre: Prerelease::new("alpha.1").unwrap(),47 //! JavaScript, Composer for PHP, CocoaPods for Objective-C...61 //! [Specifying Dependencies]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.ht…82 clippy::semicolon_if_nothing_returned, // https://github.com/rust-lang/rust-clippy/issues/7324[all …]
3 use crate::{BuildMetadata, Comparator, Prerelease, VersionReq};10 fn default() -> Self { in default()23 impl Deref for Prerelease { implementation26 fn deref(&self) -> &Self::Target { in deref()34 fn deref(&self) -> &Self::Target { in deref()39 impl PartialOrd for Prerelease { implementation40 fn partial_cmp(&self, rhs: &Self) -> Option<Ordering> { in partial_cmp()46 fn partial_cmp(&self, rhs: &Self) -> Option<Ordering> { in partial_cmp()51 impl Ord for Prerelease { implementation52 fn cmp(&self, rhs: &Self) -> Ordering { in cmp()[all …]