- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 159 for comparing (0.06 sec)
-
src/bytes/example_test.go
fmt.Printf("%s\n", clone) clone[0] = 'd' fmt.Printf("%s\n", b) fmt.Printf("%s\n", clone) // Output: // abc // abc // dbc } func ExampleCompare() { // Interpret Compare's result by comparing it to zero. var a, b []byte if bytes.Compare(a, b) < 0 { // a less b } if bytes.Compare(a, b) <= 0 { // a less or equal b } if bytes.Compare(a, b) > 0 { // a greater b }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0) -
cmd/metrics-resource.go
Name MetricName Labels map[string]string // value captured in current cycle Current float64 // Used when system provides cumulative (since uptime) values // helps in calculating the current value by comparing the new // cumulative value with previous one Cumulative float64 Max float64 Avg float64 Sum float64 Count uint64 } func init() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 17.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
/** * Determines whether the content at the given URL has been updated since the last crawl. * This method implements incremental crawling by comparing timestamps and checking document * expiration. It also handles special cases for different URL schemes (SMB, file, FTP). * * @param client the crawler client to use for accessing the URLRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 19.5K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} return xlMeta } // Compare the unmarshaled XLMetaV1 with the one obtained from jsoniter parsing. func compareXLMetaV1(t *testing.T, unMarshalXLMeta, jsoniterXLMeta xlMetaV1Object) { // Start comparing the fields of xlMetaV1Object obtained from jsoniter parsing with one parsed using json unmarshalling. if unMarshalXLMeta.Version != jsoniterXLMeta.Version {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
list.add(new Object()); } Ordering<Object> arbitrary = Ordering.arbitrary(); sort(list, arbitrary); // Now we don't care what order it's put the list in, only that // comparing any pair of elements gives the answer we expect. testComparator(arbitrary, list); assertEquals("Ordering.arbitrary()", arbitrary.toString()); } @J2ktIncompatible // ArbitraryOrdering
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
list.add(new Object()); } Ordering<Object> arbitrary = Ordering.arbitrary(); sort(list, arbitrary); // Now we don't care what order it's put the list in, only that // comparing any pair of elements gives the answer we expect. testComparator(arbitrary, list); assertEquals("Ordering.arbitrary()", arbitrary.toString()); } @J2ktIncompatible // ArbitraryOrdering
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
@CanIgnoreReturnValue CacheBuilder<K, V> lenientParsing() { strictParsing = false; return this; } /** * Sets a custom {@code Equivalence} strategy for comparing keys. * * <p>By default, the cache uses {@link Equivalence#identity} to determine key equality when * {@link #weakKeys} is specified, and {@link Equivalence#equals()} otherwise. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
import org.eclipse.aether.transfer.TransferListener; import org.slf4j.ILoggerFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static java.util.Comparator.comparing; import static org.apache.maven.api.Constants.MAVEN_HOME; import static org.apache.maven.api.Constants.MAVEN_INSTALLATION_CONF;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
ImmutableList<TestDatum> right = ImmutableList.of(new TestDatum("A", 2), new TestDatum("C", 2)); Comparator<TestDatum> comparator = Comparator.comparing(d -> d.letter); // When elements compare as equal (both C's have same letter), our merge should always return C1 // before C2, since C1 is from the first iterator. Iterator<TestDatum> merged =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 56.7K bytes - Viewed (0) -
src/bytes/bytes.go
// A nil argument is equivalent to an empty slice. func Equal(a, b []byte) bool { // Neither cmd/compile nor gccgo allocates for these string conversions. return string(a) == string(b) } // Compare returns an integer comparing two byte slices lexicographically. // The result will be 0 if a == b, -1 if a < b, and +1 if a > b. // A nil argument is equivalent to an empty slice. func Compare(a, b []byte) int { return bytealg.Compare(a, b) }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 16:42:15 UTC 2025 - 35.5K bytes - Viewed (0)