- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 367 for compareTo (0.05 seconds)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
@Deprecated class CLIManagerDocumentationTest { private static final String LS = System.lineSeparator(); private static class OptionComparator implements Comparator<Option> { @Override public int compare(Option opt1, Option opt2) { String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt(); String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Table.java
/** Returns {@code true} if the table contains no mappings. */ boolean isEmpty(); /** Returns the number of row key / column key / value mappings in the table. */ int size(); /** * Compares the specified object with this table for equality. Two tables are equal when their * cell views, as returned by {@link #cellSet}, are equal. */ @Override boolean equals(@Nullable Object obj); /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.5K bytes - Click Count (0) -
cmd/streaming-v4-unsigned.go
if cr.offset > 0 { n = copy(buf, cr.buffer[cr.offset:]) if n == len(buf) { cr.offset += n return n, nil } cr.offset = 0 buf = buf[n:] } // mustRead reads from input and compares against provided slice. mustRead := func(b ...byte) error { for _, want := range b { got, err := cr.reader.ReadByte() if err == io.EOF { return io.ErrUnexpectedEOF } if got != want {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 03 14:55:52 GMT 2025 - 6.3K bytes - Click Count (0) -
futures/failureaccess/pom.xml
</excludes> <compilerArgs> <!-- Make includes/excludes fully work: https://issues.apache.org/jira/browse/MCOMPILER-174 (Compare what guava-gwt has to do for maven-javadoc-plugin.) --> <arg>-sourcepath</arg> <arg>doesnotexist</arg> </compilerArgs> </configuration>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 02 19:27:26 GMT 2025 - 5.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
* <li>{@code repo,repo1} = {@code repo} or {@code repo1},</li> * <li>{@code *,!repo1} = everything except {@code repo1}.</li> * </ul> * * @param originalRepository to compare for a match. * @param pattern used for match. * @return true if the repository is a match to this pattern. */ static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
abstract class AbstractFutureState<V extends @Nullable Object> extends InternalFutureFailureAccess implements ListenableFuture<V> { /** * Performs a {@linkplain java.lang.invoke.VarHandle#compareAndSet compare-and-set} operation on * {@link #listenersField}. */ final boolean casListeners(@Nullable Listener expect, Listener update) { return ATOMIC_HELPER.casListeners(this, expect, update); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
docs/distributed/decom.sh
if [ "${expected_checksum}" != "${got_checksum}" ]; then echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}" exit 1 fi # after decommissioning, compare listings in bucket2 and tiered ./mc version info myminio/bucket2 | grep -q "versioning is enabled" ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected versioning enabled after decommission on bucket2" exit 1 fiCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 6.4K bytes - Click Count (0) -
cmd/xl-storage-meta-inline.go
in := x.afterVersion() sz, buf, _ := msgp.ReadMapHeaderBytes(in) newKeys := make([][]byte, 0, sz) newVals := make([][]byte, 0, sz) var removeKey func(s []byte) bool // Copy if big number of compares... if len(keys) > 5 && sz > 5 { mKeys := make(map[string]struct{}, len(keys)) for _, key := range keys { mKeys[key] = struct{}{} } removeKey = func(s []byte) bool { _, ok := mKeys[string(s)]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 9.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
* Determines which method signature (represented by a class array) is more * specific. This defines a partial ordering on the method signatures. * * @param c1 first signature to compare * @param c2 second signature to compare * @return MORE_SPECIFIC if c1 is more specific than c2, LESS_SPECIFIC if * c1 is less specific than c2, INCOMPARABLE if they are incomparable. */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 14.2K bytes - Click Count (0) -
internal/hash/checksum_test.go
} return } if err != nil { t.Fatalf("GetContentChecksum failed for %s: %v", tt.name, err) } if gotChksm == nil { t.Fatalf("Got nil checksum for %s", tt.name) } // Compare the full checksum structs if !chksm.Equal(gotChksm) { t.Errorf("Checksum mismatch for %s: expected %+v, got %+v", tt.name, chksm, gotChksm) } // Verify the checksum type expectedType := chksm.TypeCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 7.1K bytes - Click Count (0)