Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 163 for 10000ns (0.22 seconds)

  1. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead)
            assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)");
            assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)");
            assertEquals(threadCount * operationsPerThread, allocations.get());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  2. 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)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            .addEqualityGroup(BloomFilter.create(byteArrayFunnel(), 100, 0.01))
            .addEqualityGroup(BloomFilter.create(byteArrayFunnel(), 100, 0.02))
            .addEqualityGroup(BloomFilter.create(byteArrayFunnel(), 200, 0.01))
            .addEqualityGroup(BloomFilter.create(byteArrayFunnel(), 200, 0.02))
            .addEqualityGroup(BloomFilter.create(unencodedCharsFunnel(), 100, 0.01))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         * Set to -1 to disable automatic purging of search logs.
         */
        @Min(-1)
        @Max(100000)
        @ValidateTypeFailure
        public Integer purgeSearchLogDay;
    
        /**
         * Number of days to keep job logs before purging.
         * Set to -1 to disable automatic purging of job logs.
         */
        @Min(-1)
        @Max(100000)
        @ValidateTypeFailure
        public Integer purgeJobLogDay;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

            String result =
                    "{\"bool\":{\"should\":[{\"geo_distance\":{\"location\":[151.0,35.0],\"distance\":1000.0,\"distance_type\":\"arc\",\"validation_method\":\"STRICT\",\"ignore_unmapped\":false,\"boost\":1.0}},{\"geo_distance\":{\"location\":[150.0,34.0],\"distance\":10000.0,\"distance_type\":\"arc\",\"validation_method\":\"STRICT\",\"ignore_unmapped\":false,\"boost\":1.0}}],\"adjust_pure_negative\":true,\"boost\":1.0}}";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

            if (timeout100Ns == 0) {
                return 0; // Persistent handles
            }
            // Convert from 100-nanosecond intervals to milliseconds
            // 1 ms = 10,000 * 100ns intervals
            return timeout100Ns / 10000L;
        }
    
        /**
         * Get the flags
         * @return the flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

          result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length()));
        }
        // Replace some of chars by non-matching.
        int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5);
        while (remaining > 0) {
          char c = (char) random.nextInt();
          if (bitSet.get(c)) {
            int pos = random.nextInt(result.length);
            if (bitSet.get(result[pos])) {
              result[pos] = c;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

          result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length()));
        }
        // Replace some of chars by non-matching.
        int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5);
        while (remaining > 0) {
          char c = (char) random.nextInt();
          if (bitSet.get(c)) {
            int pos = random.nextInt(result.length);
            if (bitSet.get(result[pos])) {
              result[pos] = c;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(20, ticker.read());
      }
    
      public void testAutoIncrementStep_millis() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, MILLISECONDS);
        assertEquals(0, ticker.read());
        assertEquals(1000000, ticker.read());
        assertEquals(2000000, ticker.read());
      }
    
      public void testAutoIncrementStep_seconds() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, SECONDS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            if (timeoutMs == 0) {
                return 0L; // Persistent handles use 0
            }
            // Convert milliseconds to 100-nanosecond intervals
            // 1 ms = 10,000 * 100ns intervals
            long intervals = timeoutMs * 10000L;
            // MS-SMB2 timeout field is 4 bytes (uint32), so clamp to max value
            return Math.min(intervals, 0xFFFFFFFFL);
        }
    
        /**
         * Get the flags
         * @return the flags
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top