- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 311 for takes (0.03 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
} @Test @DisplayName("getAddress/getFirstAddress resolution branches and iteration") void testAddressResolutionAndIteration() throws Exception { // Query parameter 'server' takes precedence UniAddress a1 = mock(UniAddress.class); when(nsc.getByName("srv-from-query")).thenReturn(a1); SmbResourceLocatorImpl l1 = locator("smb://host/share?server=srv-from-query");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE), ImmutableSortedSet.of(), ImmutableSet.of()) .testEquals(); // not testing hashCode for these because it takes forever to compute assertEquals( ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), ContiguousSet.create(Range.<Integer>all(), integers())); assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* canceled. For example, happy-path events like [requestHeadersStart] and [requestHeadersEnd] may * occur after a call is canceled. Typically cancellation takes effect when an expensive I/O * operation is required. * * This is invoked at most once, even if [Call.cancel] is invoked multiple times. It may be
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:03:04 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
byte[] src = new byte[20]; // No pointer, so mockRecordName will be read NameServicePacket.writeInt2(NameServicePacket.A, src, 10); // recordType (assuming name takes 10 bytes) NameServicePacket.writeInt2(NameServicePacket.IN, src, 12); // recordClass NameServicePacket.writeInt4(100, src, 14); // ttl NameServicePacket.writeInt2(6, src, 18); // rDataLength
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
.isEqualTo(0xFFEEDDCC); } public void testByteArrayRoundTrips() { Random r = new Random(5); byte[] b = new byte[Ints.BYTES]; // total overkill, but, it takes 0.1 sec so why not... for (int i = 0; i < 10000; i++) { int num = r.nextInt(); assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num); r.nextBytes(b);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
ImmutableMap<Service, Long> startupTimes = serviceManager.startupTimes(); assertThat(startupTimes).hasSize(2); assertThat(startupTimes.get(a)).isAtLeast(150); // Service b startup takes at least 353 millis, but starting the timer is delayed by at least // 150 milliseconds. so in a perfect world the timing would be 353-150=203ms, but since either
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ServiceManager.java
exception.addSuppressed(new FailedService(service)); } throw exception; } } } /** * A {@link Service} that wraps another service and times how long it takes for it to start and * also calls the {@link ServiceManagerState#transitionService(Service, State, State)}, to record * the state transitions. */ private static final class ServiceListener extends Service.Listener {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
exception.addSuppressed(new FailedService(service)); } throw exception; } } } /** * A {@link Service} that wraps another service and times how long it takes for it to start and * also calls the {@link ServiceManagerState#transitionService(Service, State, State)}, to record * the state transitions. */ private static final class ServiceListener extends Service.Listener {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 33.2K bytes - Viewed (1) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* Benchmarks (as of December 2011) show that: * * <ul> * <li>for an unnested {@code lock()} and {@code unlock()}, a cycle detecting lock takes 38ns as * opposed to the 24ns taken by a plain lock. * <li>for nested locking, the cost increases with the depth of the nesting: * <ul> * <li>2 levels: average of 64ns per lock()/unlock()
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0)