Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Munch (0.17 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          if (useBarriers) {
            firstBarrier.await();
            secondBarrier.await();
          }
        }
    
        @Override
        protected ScheduledExecutorService executor() {
          // use a bunch of threads so that weird overlapping schedules are more likely to happen.
          return Executors.newScheduledThreadPool(10);
        }
    
        @Override
        protected Scheduler scheduler() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          if (useBarriers) {
            firstBarrier.await();
            secondBarrier.await();
          }
        }
    
        @Override
        protected ScheduledExecutorService executor() {
          // use a bunch of threads so that weird overlapping schedules are more likely to happen.
          return Executors.newScheduledThreadPool(10);
        }
    
        @Override
        protected Scheduler scheduler() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  3. cmd/metacache-walk.go

    			}
    			diskHealthCheckOK(ctx, err)
    			return err
    		}
    		diskHealthCheckOK(ctx, err)
    		if len(entries) == 0 {
    			return nil
    		}
    		dirObjects := make(map[string]struct{})
    
    		// Avoid a bunch of cleanup when joining.
    		current = strings.Trim(current, SlashSeparator)
    		for i, entry := range entries {
    			if opts.Limit > 0 && objsReturned >= opts.Limit {
    				return nil
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                TimeUnit.SECONDS,
                new ArrayBlockingQueue<Runnable>(1000));
        executorService.prestartAllCoreThreads();
        final AtomicInteger integer = new AtomicInteger();
        // Execute a bunch of tasks to ensure that our threads are allocated and hot
        for (int i = 0; i < NUM_THREADS * 10; i++) {
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                TimeUnit.SECONDS,
                new ArrayBlockingQueue<Runnable>(1000));
        executorService.prestartAllCoreThreads();
        final AtomicInteger integer = new AtomicInteger();
        // Execute a bunch of tasks to ensure that our threads are allocated and hot
        for (int i = 0; i < NUM_THREADS * 10; i++) {
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheTesting.java

        }
      }
    
      interface Receiver<T> {
        void accept(@Nullable T object);
      }
    
      /**
       * Assuming the given cache has maximum size {@code maxSize}, this method populates the cache (by
       * getting a bunch of different keys), then makes sure all the items in the cache are also in the
       * eviction queue. It will invoke the given {@code operation} on the first element in the eviction
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        /*
         * Don't bother testing: Preconditions defines a bunch of methods that accept a template (or
         * even entire message) that simultaneously:
         *
         * - _shouldn't_ be null, so we don't annotate it with @Nullable
         *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheTesting.java

        }
      }
    
      interface Receiver<T> {
        void accept(@Nullable T object);
      }
    
      /**
       * Assuming the given cache has maximum size {@code maxSize}, this method populates the cache (by
       * getting a bunch of different keys), then makes sure all the items in the cache are also in the
       * eviction queue. It will invoke the given {@code operation} on the first element in the eviction
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertEquals("a", notification.getValue());
        assertEquals(1, cache.size());
        assertEquals("b", cache.getUnchecked("b"));
      }
    
      // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants.
    
      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertEquals("a", notification.getValue());
        assertEquals(1, cache.size());
        assertEquals("b", cache.getUnchecked("b"));
      }
    
      // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants.
    
      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top