- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 155 for 1000ms (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/netbios/UniAddressTest.java
} @Test void shouldReturnInetAddressFromWrappedAddressWhenWrappedIsAddress() throws UnknownHostException { InetAddress expectedInetAddress = InetAddress.getByName("10.0.0.1"); when(mockAddress.toInetAddress()).thenReturn(expectedInetAddress); UniAddress uniAddress = new UniAddress(mockAddress); assertEquals(expectedInetAddress, uniAddress.toInetAddress());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
internal/config/dns/etcd_dns.go
} srvRecord.Key = strings.TrimPrefix(string(n.Key), key) srvRecord.Key = strings.TrimSuffix(srvRecord.Key, srvRecord.Host) // Skip non-bucket entry like for a key // /skydns/net/miniocloud/10.0.0.1 that may exist as // dns entry for the server (rather than the bucket // itself). if srvRecord.Key == "" { continue } srvRecord.Key = msgUnPath(srvRecord.Key)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(min(NUMBERS)).isEqualTo(LEAST); assertThat(Double.isNaN(min(VALUES))).isTrue(); } public void testConstrainToRange() { assertThat(Doubles.constrainToRange(1.0, 0.0, 5.0)).isEqualTo(1.0); assertThat(Doubles.constrainToRange(1.0, 1.0, 5.0)).isEqualTo(1.0); assertThat(Doubles.constrainToRange(1.0, 3.0, 5.0)).isEqualTo(3.0);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 30.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertEquals(2, conservativePolicy.getMaxAttempts()); assertEquals(2000, conservativePolicy.getInitialDelayMs()); assertEquals(10000, conservativePolicy.getMaxDelayMs()); assertEquals(3.0, conservativePolicy.getBackoffMultiplier()); assertTrue(conservativePolicy.isExponentialBackoff()); // NO_RETRY policy
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
public void testSetFuture_stackOverflow() { SettableFuture<String> orig = SettableFuture.create(); SettableFuture<String> prev = orig; for (int i = 0; i < 100000; i++) { SettableFuture<String> curr = SettableFuture.create(); prev.setFuture(curr); prev = curr; } // prev represents the 'innermost' future prev.set("done");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
Long expiration = System.currentTimeMillis() + 10000L; echoResponse.setExpiration(expiration); assertEquals(expiration, echoResponse.getExpiration()); } @Test @DisplayName("Should handle null expiration") void testNullExpiration() { Long expiration = 1000L; echoResponse.setExpiration(expiration);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
} @Test @DisplayName("Should decode efficiently for large buffers") void testLargeBufferDecoding() throws SMBProtocolDecodingException { byte[] largeBuffer = new byte[10000]; FileFsSizeInformation info = new FileFsSizeInformation(); long startTime = System.nanoTime(); info.decode(largeBuffer, 0, 24); long endTime = System.nanoTime();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
private final Queue<WitnessNotification> pendingNotifications; private final ScheduledExecutorService scheduler; private final int batchSize = 10; private final long batchTimeout = 100; // 100ms public void addNotification(WitnessNotification notification) { synchronized (pendingNotifications) { pendingNotifications.offer(notification);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
// Defer correctness tests to Long.isPrime // Check the first 100,000 integers for (int i = 0; i < 100000; i++) { assertEquals(LongMath.isPrime(i), IntMath.isPrime(i)); } // Then check 1000 deterministic pseudo-random int values. Random rand = new Random(1); for (int i = 0; i < 1000; i++) { int n = rand.nextInt(Integer.MAX_VALUE); assertEquals(LongMath.isPrime(n), IntMath.isPrime(n));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
*/ protected int thumbnailTaskQueueSize = 10000; /** * Number of tasks to process in bulk operations. */ protected int thumbnailTaskBulkSize = 100; /** * Timeout in milliseconds for thumbnail task queue operations. */ protected long thumbnailTaskQueueTimeout = 10 * 1000L; /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 27K bytes - Click Count (0)