Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for boolean (0.16 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

      }
    
      boolean refreshes() {
        return refreshNanos > 0;
      }
    
      boolean usesAccessQueue() {
        return expiresAfterAccess() || evictsBySize();
      }
    
      boolean usesWriteQueue() {
        return expiresAfterWrite();
      }
    
      boolean recordsWrite() {
        return expiresAfterWrite() || refreshes();
      }
    
      boolean recordsAccess() {
        return expiresAfterAccess();
      }
    
      boolean recordsTime() {
    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)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
    
        void smartAssertTrue(
            ImmutableSet<ListenableFuture<String>> inputs, Exception cause, boolean expression) {
          if (!expression) {
            throw failureWithCause(cause, smartToString(inputs));
          }
        }
    
        boolean hasDelayed(ListenableFuture<String> a, ListenableFuture<String> b) {
          ImmutableSet<ListenableFuture<String>> inputs = ImmutableSet.of(a, b);
    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)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
    
        void smartAssertTrue(
            ImmutableSet<ListenableFuture<String>> inputs, Exception cause, boolean expression) {
          if (!expression) {
            throw failureWithCause(cause, smartToString(inputs));
          }
        }
    
        boolean hasDelayed(ListenableFuture<String> a, ListenableFuture<String> b) {
          ImmutableSet<ListenableFuture<String>> inputs = ImmutableSet.of(a, b);
    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)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          return this;
        }
    
        public void setLoading(boolean loading) {
          this.loading = loading;
        }
    
        @Override
        public boolean isLoading() {
          return loading;
        }
    
        @Override
        public boolean isActive() {
          return !loading;
        }
    
        @Override
        public V waitForValue() {
    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)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          return this;
        }
    
        public void setLoading(boolean loading) {
          this.loading = loading;
        }
    
        @Override
        public boolean isLoading() {
          return loading;
        }
    
        @Override
        public boolean isActive() {
          return !loading;
        }
    
        @Override
        public V waitForValue() {
    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)
  6. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

      @Param("true")
      boolean precomputed;
    
      enum Size {
        DEFAULT,
        SMALL;
      }
    
      @Param Size size;
    
      // Whether to ensure there is a matching character in the first position
      // to force the trimming code to run.
      @Param("false")
      boolean forceSlow;
    
      // Use web-derived sampler.
      @Param("false")
      boolean web;
    
      private CharMatcher matcher;
    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)
  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/cache/LocalCache.java

      }
    
      boolean refreshes() {
        return refreshNanos > 0;
      }
    
      boolean usesAccessQueue() {
        return expiresAfterAccess() || evictsBySize();
      }
    
      boolean usesWriteQueue() {
        return expiresAfterWrite();
      }
    
      boolean recordsWrite() {
        return expiresAfterWrite() || refreshes();
      }
    
      boolean recordsAccess() {
        return expiresAfterAccess();
      }
    
      boolean recordsTime() {
    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)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     completed normally; {@code true} otherwise
       */
      @CanIgnoreReturnValue
      public boolean cancel(boolean mayInterruptIfRunning) {
        logger.get().log(FINER, "cancelling {0}", this);
        boolean cancelled = future.cancel(mayInterruptIfRunning);
        if (cancelled) {
          close();
        }
        return cancelled;
      }
    
      private void close() {
    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)
  10. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

      @Param("true")
      boolean precomputed;
    
      enum Size {
        DEFAULT,
        SMALL;
      }
    
      @Param Size size;
    
      // Whether to ensure there is a matching character in the first position
      // to force the trimming code to run.
      @Param("false")
      boolean forceSlow;
    
      // Use web-derived sampler.
      @Param("false")
      boolean web;
    
      private CharMatcher matcher;
    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)
Back to top