Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 141 for 260000 (0.03 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

      }
    
      @Test
      @J2ktIncompatible
      public void asMap_containsValue() {
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder().expireAfterWrite(20000, MILLISECONDS).ticker(fakeTicker).build();
    
        cache.put(654, 2675);
        fakeTicker.advance(10000, MILLISECONDS);
        cache.put(2456, 56);
        cache.put(2, 15);
    
        fakeTicker.advance(10001, MILLISECONDS);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

         * 8. We expect the test thread's interrupt state to be false.
         */
        InterruptionUtil.requestInterruptIn(200, MILLISECONDS);
    
        assertFalse(Thread.interrupted());
        try {
          delayedFuture.get(20000, MILLISECONDS);
          fail("expected to be interrupted");
        } catch (InterruptedException expected) {
        } catch (TimeoutException e) {
          throw new RuntimeException(e);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

         * 8. We expect the test thread's interrupt state to be false.
         */
        InterruptionUtil.requestInterruptIn(200, MILLISECONDS);
    
        assertFalse(Thread.interrupted());
        try {
          delayedFuture.get(20000, MILLISECONDS);
          fail("expected to be interrupted");
        } catch (InterruptedException expected) {
        } catch (TimeoutException e) {
          throw new RuntimeException(e);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/StringTermsSerializationBenchmark.java

                BucketOrder.key(true),
                BucketOrder.key(true),
                buckets,
                1,
                null,
                DocValueFormat.RAW,
                buckets,
                false,
                100000,
                resultBuckets,
                null
            );
        }
    
        @Benchmark
        public DelayableWriteable<InternalAggregations> serialize() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Aug 12 21:50:17 GMT 2021
    - 3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                int consumed = Math.min(19, reqPath.length());
    
                data1 = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed);
    
                data2 = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed);
            }
    
            @Test
            @DisplayName("Should be equal for same values")
            void testEquals() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("SmbComQueryInformationResponse["));
            assertTrue(result.contains("fileAttributes=0x0000"));
            assertTrue(result.contains("lastWriteTime=" + new Date(0L)));
            assertTrue(result.contains("fileSize=0"));
            assertTrue(result.endsWith("]"));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

                    (byte) 0xFF, (byte) 0xFF, // 0xFFFF
                    (byte) 0x00, (byte) 0x00, // 0x0000
                    (byte) 0xCD, (byte) 0xAB // 0xABCD
            };
    
            assertEquals(0x1234, SMBUtil.readInt2(src, 0));
            assertEquals(0xFFFF, SMBUtil.readInt2(src, 2));
            assertEquals(0x0000, SMBUtil.readInt2(src, 4));
            assertEquals(0xABCD, SMBUtil.readInt2(src, 6));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            testHandle = new HandleInfo("/test/file.txt", guid, fileId, HandleType.DURABLE_V2, 120000, null);
        }
    
        @Test
        public void testReconnectHandleSuccess() throws Exception {
            when(mockManager.getHandleForReconnect("/test/file.txt")).thenReturn(testHandle);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap_edit.jsp

                                                   value="${f:h(sortOrder)}" class="form-control"
                                                   min="0" max="100000">
                                        </div>
                                    </div>
                                    <div class="form-group row">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            long now = System.currentTimeMillis();
            long windowStart = currentWindowStart.get();
    
            // Check if we need to reset the window (1 minute window)
            if (now - windowStart > 60000) {
                currentWindowStart.compareAndSet(windowStart, now);
                globalAttemptsInCurrentWindow.set(0);
            }
    
            int attempts = globalAttemptsInCurrentWindow.incrementAndGet();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top