Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 110 for option (0.18 sec)

  1. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * us to the point of the next scheduling time, since we always maintain that. And what we mean by
       * "an unused RateLimiter" is also defined by that notion: when we observe that the
       * "expected arrival time of the next request" is actually in the past, then the difference (now -
       * past) is the amount of time that the RateLimiter was formally unused, and it is that amount of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        // transformEntries(map1, transformer);
        // transformEntries(map4, transformer);
        // transformEntries(map7, transformer);
      }
    
      public void testTransformEntriesExample() {
        Map<String, Boolean> options = ImmutableMap.of("verbose", true, "sort", false);
        EntryTransformer<String, Boolean, String> flagPrefixer =
            new EntryTransformer<String, Boolean, String>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

        // transformEntries(map1, transformer);
        // transformEntries(map4, transformer);
        // transformEntries(map7, transformer);
      }
    
      public void testTransformEntriesExample() {
        Map<String, Boolean> options = ImmutableMap.of("verbose", true, "sort", false);
        EntryTransformer<String, Boolean, String> flagPrefixer =
            new EntryTransformer<String, Boolean, String>() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

                .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        return suite;
      }
    
      // Overkill alert!  Test all combinations of 0-2 options during creation.
    
      public void testCreation_simple() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create();
        assertEquals(11, queue.capacity());
        checkUnbounded(queue);
        checkNatural(queue);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

         * at table entries if it is 0.
         *
         * - All (synchronized) write operations should write to the "count" field after structurally
         * changing any bin. The operations must not take any action that could even momentarily cause a
         * concurrent read operation to see inconsistent data. This is made easier by the nature of the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CharMatcher.java

        // Plug the following UnicodeSet pattern into
        // https://unicode.org/cldr/utility/list-unicodeset.jsp
        // [[[:Zs:][:Zl:][:Zp:][:Cc:][:Cf:][:Cs:][:Co:]]&[\u0000-\uFFFF]]
        // with the "Abbreviate" option, and get the ranges from there.
        private static final String RANGE_STARTS =
            "\u0000\u007f\u00ad\u0600\u061c\u06dd\u070f\u0890\u08e2\u1680\u180e\u2000\u2028\u205f\u2066"
                + "\u3000\ud800\ufeff\ufff9";
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. .github/workflows/scorecard.yml

            with:
              persist-credentials: false
    
          - name: "Run analysis"
            uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
            with:
              results_file: results.sarif
              results_format: sarif
              # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
              # - you want to enable the Branch-Protection check on a *public* repository, or
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterables.java

          }
    
          @Override
          public void forEach(Consumer<? super T> action) {
            checkNotNull(action);
            unfiltered.forEach(
                (@ParametricNullness T a) -> {
                  if (retainIfTrue.test(a)) {
                    action.accept(a);
                  }
                });
          }
    
          @Override
          public Spliterator<T> spliterator() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

            backingEntries.remove();
            toRemove = null;
          }
        };
      }
    
      @Override
      public void forEachEntry(ObjIntConsumer<? super E> action) {
        checkNotNull(action);
        backingMap.forEach((element, count) -> action.accept(element, count.get()));
      }
    
      @Override
      public void clear() {
        for (Count frequency : backingMap.values()) {
          frequency.set(0);
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      }
    
      private static final Function<Object, Optional<?>> NULLABLE_TO_OPTIONAL =
          new Function<Object, Optional<?>>() {
            @Override
            public Optional<?> apply(@Nullable Object obj) {
              return Optional.fromNullable(obj);
            }
          };
    
      private static final Function<Optional<?>, @Nullable Object> OPTIONAL_TO_NULLABLE =
          new Function<Optional<?>, @Nullable Object>() {
            @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
Back to top