Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 268 for 10000ns (0.06 seconds)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

     * cache instances created by {@code CacheBuilder} will not perform any type of eviction.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
     *         new CacheLoader<Key, Graph>() {
     *           public Graph load(Key key) throws AnyException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    newThreshold = Math.min(currentThreshold + 2, 15);
                }
                // If failure rate is moderate but response time is very high, be stricter
                else if (failureRate > 0.2 && avgResponseTime > 10000) {
                    newThreshold = Math.max(currentThreshold - 1, 2);
                }
                // If system is performing well, be more lenient
                else if (failureRate < 0.1 && avgResponseTime < 1000) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
          assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
          assertThat(Ints.toByteArray(Ints.fromByteArray(b))).isEqualTo(b);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                    doc.put("score", 1.0f / (i + 1));
                    builder.addDocument(doc);
                }
                builder.allRecordCount(allRecordCount);
                if (allRecordCount < 10000) {
                    builder.allRecordCountRelation(Relation.EQUAL_TO.toString());
                }
                return builder.build();
            }
        }
    
        static class TestSubSearcher extends RankFusionSearcher {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

        protected long userCheckInterval = 10 * 60 * 1000L; // 10 min
    
        /** Maximum size of the user information cache. */
        protected int userInfoCacheSize = 10000;
    
        /** Queue for storing search logs. */
        protected Queue<SearchLog> searchLogQueue = new ConcurrentLinkedQueue<>();
    
        /** Queue for storing click logs. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      /**
       * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked.
       */
      private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000;
    
      /**
       * Various scenarios to be generated for each method under test. The actual scenario generation
       * (determining which scenarios are applicable to which methods and what the outcome should be)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  7. cmd/peer-rest-server.go

    	logger.FatalIf(gm.RegisterStreamingHandler(grid.HandlerTrace, grid.StreamHandler{
    		Handle:      server.TraceHandler,
    		Subroute:    "",
    		OutCapacity: 100000,
    		InCapacity:  0,
    	}), "unable to register handler")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 53.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testRemovalNotification_get_basher() throws InterruptedException {
        int nTasks = 1000;
        int nThreads = 100;
        int getsPerTask = 1000;
        int nUniqueKeys = 10000;
        Random random = new Random(); // Randoms.insecureRandom();
    
        QueuingRemovalListener<String, String> removalListener = queuingRemovalListener();
        AtomicInteger computeCount = new AtomicInteger();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testRemovalNotification_get_basher() throws InterruptedException {
        int nTasks = 1000;
        int nThreads = 100;
        int getsPerTask = 1000;
        int nUniqueKeys = 10000;
        Random random = new Random(); // Randoms.insecureRandom();
    
        QueuingRemovalListener<String, String> removalListener = queuingRemovalListener();
        AtomicInteger computeCount = new AtomicInteger();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      /**
       * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked.
       */
      private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000;
    
      /**
       * Various scenarios to be generated for each method under test. The actual scenario generation
       * (determining which scenarios are applicable to which methods and what the outcome should be)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
Back to Top