- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 517 for 100m (0.05 sec)
-
android/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 hot
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
lenient().when(mockFileHandle.getInitialSize()).thenReturn(100L); // File already has 100 bytes when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse); when(mockWriteResponse.getCount()).thenReturn(8); // Create output stream in append mode - note the append flag sets initial fp to 100
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
if (input == null) { return "null"; } // Remove control characters and limit length String sanitized = input.replaceAll("[\\x00-\\x1f]", ""); if (sanitized.length() > 1000) { sanitized = sanitized.substring(0, 997) + "..."; } return sanitized; } /** * Validates that a value is within the specified range *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
cmd/global-heal.go
return healEntryResult{ bytes: sz, skipped: true, } } // Collect updates to tracker from concurrent healEntry calls results := make(chan healEntryResult, 1000) quitting := make(chan struct{}) defer func() { close(results) <-quitting }() go func() { for res := range results { if res.entryDone { tracker.setObject(res.name)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 04 13:49:12 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected boolean useLease = true; /** Lease timeout in milliseconds */ protected int leaseTimeout = 30000; /** Maximum number of concurrent leases */ protected int maxLeases = 1000; /** Preferred lease version (1 or 2) */ protected int leaseVersion = 2; /** Lease break timeout in seconds (per MS-SMB2 spec) */ protected int leaseBreakTimeout = 60;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
byte[] buffer = new byte[1000]; int numThreads = 10; Thread[] threads = new Thread[numThreads]; // When - multiple threads calling methods simultaneously for (int i = 0; i < numThreads; i++) { final int threadIndex = i; threads[i] = new Thread(() -> { for (int j = 0; j < 100; j++) { int offset = threadIndex * 10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
testRotate(new byte[] {1, 2, 3, 4, 5}, 6, new byte[] {5, 1, 2, 3, 4}); } public void testRotateIndexed() { testRotate(new byte[] {}, 0, 0, 0, new byte[] {}); testRotate(new byte[] {1}, 0, 0, 1, new byte[] {1}); testRotate(new byte[] {1}, 1, 0, 1, new byte[] {1}); testRotate(new byte[] {1}, 1, 1, 1, new byte[] {1}); // Rotate the central 5 elements, leaving the ends as-is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeSmall() { // Check the first 1000 integers for (int i = 2; i < 1000; i++) { assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i)); } } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeManyConstants() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
src/archive/tar/tar_test.go
}, { in: []sparseEntry{{1, 0}}, size: 0, wantValid: false, }, { in: []sparseEntry{{-1, 0}}, size: 100, wantValid: false, }, { in: []sparseEntry{{0, -1}}, size: 100, wantValid: false, }, { in: []sparseEntry{{0, 0}}, size: -100, wantValid: false, }, { in: []sparseEntry{{math.MaxInt64, 3}, {6, -5}}, size: 35, wantValid: false, }, {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} // Check total memory allocation long totalSize = (long) size * (long) elementSize; long maxAllocation = 100 * 1024 * 1024; // 100MB max if (totalSize > maxAllocation) { failedValidations.incrementAndGet(); log.warn("Array allocation too large: {} bytes", totalSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0)