- Sort Score
- Result 10 results
- Languages All
Results 1701 - 1710 of 1,982 for wong (0.04 sec)
-
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
return o == this || o == null; } @Override public int hashCode() { return 0; } } /** Test class that returns true even if the test object is of the wrong class */ private static class InvalidEqualsIncompatibleClassObject { @Override public boolean equals(@Nullable Object o) { return o != null; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
guava/src/com/google/common/net/HostAndPort.java
} return builder.toString(); } /** Return true for valid port numbers. */ private static boolean isValidPort(int port) { return port >= 0 && port <= 65535; } private static final long serialVersionUID = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 22:02:22 UTC 2024 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
this.elements = elements; } @SuppressWarnings("unchecked") Object readResolve() { return new Builder<E>(comparator).add((E[]) elements).build(); } private static final long serialVersionUID = 0; } @J2ktIncompatible // serialization private void readObject(ObjectInputStream unused) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
// check empty or full if rb.IsEmpty() { t.Fatalf("expect IsEmpty is false but got true") } if !rb.IsFull() { t.Fatalf("expect IsFull is true but got false") } // reset this ringbuffer and set a long slice rb.Reset() n, err = rb.Write([]byte(strings.Repeat("abcd", 20))) if err == nil { t.Fatalf("expect ErrTooManyDataToWrite but got nil") } if n != 64 { t.Fatalf("expect write 64 bytes but got %d", n)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
} public void testCountOverflow_doesNotThrow() { PairedStatsAccumulator accumulator = new PairedStatsAccumulator(); accumulator.add(ONE_VALUE, OTHER_ONE_VALUE); for (int power = 1; power < Long.SIZE - 1; power++) { accumulator.addAll(accumulator.snapshot()); } // Should overflow without throwing. accumulator.addAll(accumulator.snapshot()); assertThat(accumulator.count()).isLessThan(0L);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 21:17:33 UTC 2024 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* See {@link jcifs.Configuration#isDfsConvertToFQDN()} for a workaround. */ public class Kerb5Authenticator extends NtlmPasswordAuthenticator { private static final long serialVersionUID = 1999400043787454432L; private static final Logger log = LoggerFactory.getLogger(Kerb5Authenticator.class); private static final String DEFAULT_SERVICE = "cifs";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13K bytes - Viewed (0) -
guava/src/com/google/common/collect/Range.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 27.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
} private static class SomeIterable implements Iterable<Integer>, Serializable { @Override public Iterator<Integer> iterator() { return SOME_COLLECTION.iterator(); } private static final long serialVersionUID = 0; } private static final List<Integer> SOME_LIST = Lists.newArrayList(1, 2, 3, 4); private static final List<Integer> SOME_SEQUENTIAL_LIST = Lists.newLinkedList(asList(1, 2, 3, 4));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
} private static class SomeIterable implements Iterable<Integer>, Serializable { @Override public Iterator<Integer> iterator() { return SOME_COLLECTION.iterator(); } private static final long serialVersionUID = 0; } private static final List<Integer> SOME_LIST = Lists.newArrayList(1, 2, 3, 4); private static final List<Integer> SOME_SEQUENTIAL_LIST = Lists.newLinkedList(asList(1, 2, 3, 4));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
cmd/xl-storage_test.go
// One path segment length is > 255 chars long. {"path/to/my/object0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", errFileNameTooLong}, // path length is > 1024 chars long.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0)