Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for starks (0.25 sec)

  1. android/guava/src/com/google/common/collect/Multisets.java

            totalCount = laterCount = currentEntry.getCount();
          }
          laterCount--;
          canRemove = true;
          /*
           * requireNonNull is safe because laterCount starts at 0, forcing us to initialize
           * currentEntry above. After that, we never clear it.
           */
          return requireNonNull(currentEntry).getElement();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

                  [later editions continued as follows
        When the sands are all dry, he is gay as a lark,
        And will talk in contemptuous tones of the Shark,
        But, when the tide rises and sharks are around,
        His voice has a timid and tremulous sound.]
    
      `That's different from what I used to say when I was a child,'
    said the Gryphon.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Stopwatch.java

        return new Stopwatch(ticker);
      }
    
      /**
       * Creates (and starts) a new stopwatch using {@link System#nanoTime} as its time source.
       *
       * @since 15.0
       */
      public static Stopwatch createStarted() {
        return new Stopwatch().start();
      }
    
      /**
       * Creates (and starts) a new stopwatch, using the specified time source.
       *
       * @since 15.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

        }
      }
    
      private void checkConsistentHashCorrectness(long hashCode) {
        int last = 0;
        for (int shards = 1; shards <= 100000; shards++) {
          int b = Hashing.consistentHash(hashCode, shards);
          if (b != last) {
            assertEquals(shards - 1, b);
            last = b;
          }
        }
      }
    
      public void testConsistentHash_probabilities() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

        int nThreads = 20;
        int tasksPerThread = 10;
        int nTasks = nThreads * tasksPerThread;
        ExecutorService pool = Executors.newFixedThreadPool(nThreads);
        ImmutableList<String> keys = ImmutableList.of("a", "b", "c");
        try {
          List<Future<int[]>> futures = Lists.newArrayListWithExpectedSize(nTasks);
          for (int i = 0; i < nTasks; i++) {
            futures.add(pool.submit(new MutateTask(multiset, keys)));
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    @J2ktIncompatible // threads
    @GwtIncompatible // threads
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
        final int getsPerTask = 1000;
        final int deltaRange = 10000;
        final String key = "key";
    
        final AtomicLongMap<String> map = AtomicLongMap.create();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Service.java

     * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED}
     * and {@link State#TERMINATED} states are terminal states, once a service enters either of these
     * states it cannot ever leave them.
     *
     * <p>Implementors of this interface are strongly encouraged to extend one of the abstract classes
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Strings.java

            || validSurrogatePairAt(b, b.length() - s - 1)) {
          s--;
        }
        return a.subSequence(a.length() - s, a.length()).toString();
      }
    
      /**
       * True when a valid surrogate pair starts at the given {@code index} in the given {@code string}.
       * Out-of-range indexes return false.
       */
      @VisibleForTesting
      static boolean validSurrogatePairAt(CharSequence string, int index) {
        return index >= 0
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  9. LICENSE

          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
          "You" (or "Your") shall mean an individual or Legal Entity
          exercising permissions granted by this License.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
Back to top