- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 681 for 1004 (0.02 seconds)
-
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
message.setClientComputerName(context.getConfig().getNetbiosHostname()); message.setFlags(request.getFlags()); message.setTimeout((int) (context.getConfig().getWitnessRegistrationTimeout() / 1000)); // Send the RPC request rpcHandle.sendrecv(message); // Create response from RPC message results WitnessRegisterResponse response = new WitnessRegisterResponse();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
when(tree.send(any(Smb2IoctlRequest.class), any())).thenReturn(resp); byte[] out = new byte[10]; int read = target.sendrecv(new byte[] { 9, 8, 7 }, 0, 3, out, 1024); assertEquals(42, read); // Verify we issued an SMB2 IOCTL ArgumentCaptor<Smb2IoctlRequest> captor = ArgumentCaptor.forClass(Smb2IoctlRequest.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
} @Test @DisplayName("Test array bounds validation") void testArrayBounds() { byte[] src = new byte[100]; byte[] dst = new byte[100]; assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100)); assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 50, dst, 50, 50));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
internal/lsync/lrwmutex_test.go
for i := 0; i < 2+numReaders; i++ { <-cdone } } // Borrowed from rwmutex_test.go func TestRWMutex(t *testing.T) { defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1)) n := 1000 if testing.Short() { n = 5 } HammerRWMutex(1, 1, n) HammerRWMutex(1, 3, n) HammerRWMutex(1, 10, n) HammerRWMutex(4, 1, n) HammerRWMutex(4, 3, n) HammerRWMutex(4, 10, n)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
// 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* * @return lease timeout in milliseconds * @since 2.2 */ int getLeaseTimeout(); /** * Property {@code jcifs.smb.client.maxLeases} (int, default 1000) * * @return maximum number of concurrent leases * @since 2.2 */ int getMaxLeases(); /** * Property {@code jcifs.smb.client.leaseVersion} (int, default 2) *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30)); } @GwtIncompatible // RegularImmutableSet.table not in emulation public void testResizeTable() { verifyTableSize(100, 2, 4); verifyTableSize(100, 5, 8); verifyTableSize(100, 33, 64); verifyTableSize(60, 60, 128); verifyTableSize(120, 60, 256); // if the table is only double the necessary size, we don't bother resizing it
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.1K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
executorService = new ThreadPoolExecutor( NUM_THREADS, NUM_THREADS, Long.MAX_VALUE, SECONDS, new ArrayBlockingQueue<Runnable>(1000)); executorService.prestartAllCoreThreads(); AtomicInteger integer = new AtomicInteger(); // Execute a bunch of tasks to ensure that our threads are allocated and hotCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
@BeforeEach void setupBuffer() { // Create buffer with 3 v1 referrals byte[] testBuffer = new byte[100]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); // Header bb.putShort((short) 100); // pathConsumed bb.putShort((short) 3); // numReferrals bb.putShort((short) 25); // tflagsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0)