Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for STRING (0.17 sec)

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

                    delayedRuntimeException, "delayedRuntimeException", finishRuntimeException));
    
        final Function<ListenableFuture<String>, String> nameGetter =
            new Function<ListenableFuture<String>, String>() {
              @Override
              public String apply(ListenableFuture<String> input) {
                for (TestFuture future : allFutures) {
                  if (future.future == input) {
                    return future.name;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        private final CacheBuilder<? super String, ? super String> builder;
    
        TestStringCacheGenerator(CacheBuilder<? super String, ? super String> builder) {
          this.builder = builder;
        }
    
        @Override
        protected Map<String, String> create(Entry<String, String>[] entries) {
          LocalCache<String, String> map = makeLocalCache(builder);
          for (Entry<String, String> entry : entries) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        private final CacheBuilder<? super String, ? super String> builder;
    
        TestStringCacheGenerator(CacheBuilder<? super String, ? super String> builder) {
          this.builder = builder;
        }
    
        @Override
        protected Map<String, String> create(Entry<String, String>[] entries) {
          LocalCache<String, String> map = makeLocalCache(builder);
          for (Entry<String, String> entry : entries) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                    delayedRuntimeException, "delayedRuntimeException", finishRuntimeException));
    
        final Function<ListenableFuture<String>, String> nameGetter =
            new Function<ListenableFuture<String>, String>() {
              @Override
              public String apply(ListenableFuture<String> input) {
                for (TestFuture future : allFutures) {
                  if (future.future == input) {
                    return future.name;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += matcher.matches(string.charAt(i % string.length())) ? 1 : 0;
        }
        return dummy;
      }
    
      private static final String NONMATCHING_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789";
    
      private static String checkString(
          int length, int percent, String matchingChars, Random rand, boolean forceSlow, boolean web) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

        @Override
        public V setValue(V newValue) {
          V oldValue = put(key, newValue);
          value = newValue; // only if put succeeds
          return oldValue;
        }
    
        @Override
        public String toString() {
          return getKey() + "=" + getValue();
        }
      }
    
      final class EntryIterator extends HashIterator<Entry<K, V>> {
    
        @Override
        public Entry<K, V> next() {
    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)
  7. android/guava/src/com/google/common/collect/Maps.java

       * example, the code:
       *
       * <pre>{@code
       * Map<String, Boolean> options =
       *     ImmutableMap.of("verbose", true, "sort", false);
       * EntryTransformer<String, Boolean, String> flagPrefixer =
       *     new EntryTransformer<String, Boolean, String>() {
       *       public String transformEntry(String key, Boolean value) {
       *         return value ? key : "no" + key;
       *       }
       *     };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

                      peeker.getDone(future5));
                }
    
                @Override
                public String toString() {
                  return function.toString();
                }
              },
              executor);
        }
      }
    
      @Override
      public String toString() {
        // TODO(dpb): Better toString, in the style of Futures.transform etc.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += matcher.matches(string.charAt(i % string.length())) ? 1 : 0;
        }
        return dummy;
      }
    
      private static final String NONMATCHING_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789";
    
      private static String checkString(
          int length, int percent, String matchingChars, Random rand, boolean forceSlow, boolean web) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

        @Override
        public V setValue(V newValue) {
          V oldValue = put(key, newValue);
          value = newValue; // only if put succeeds
          return oldValue;
        }
    
        @Override
        public String toString() {
          return getKey() + "=" + getValue();
        }
      }
    
      final class EntryIterator extends HashIterator<Entry<K, V>> {
    
        @Override
        public Entry<K, V> next() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top