Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for uploader (0.18 sec)

  1. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      private final CacheLoader<? super K, V> loader;
      private final RemovalListener<? super K, ? super V> removalListener;
      private final StatsCounter statsCounter;
      private final Ticker ticker;
      private final long expireAfterWrite;
      private final long expireAfterAccess;
    
      LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) {
        this.loader = loader;
        this.removalListener = builder.removalListener;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        CountingLoader loader = new CountingLoader();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        assertEquals(0, loader.getCount());
    
        Object key = new Object();
        Object value = map.get(key, loader);
        assertEquals(1, loader.getCount());
        assertEquals(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
      }
    
    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

        CountingLoader loader = new CountingLoader();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        assertEquals(0, loader.getCount());
    
        Object key = new Object();
        Object value = map.get(key, loader);
        assertEquals(1, loader.getCount());
        assertEquals(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
      }
    
    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. guava/src/com/google/common/cache/LocalCache.java

          try {
            stopwatch.start();
            V previousValue = oldValue.get();
            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : Futures.immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
    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)
  5. .github/workflows/scorecard.yml

              #     of the value entered here.
              publish_results: true
    
          # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
          # format to the repository Actions tab.
          - name: "Upload artifact"
            uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
            with:
              name: SARIF file
    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)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static ResourceInfo resourceInfo(Class<?> cls) {
        String resource = cls.getName().replace('.', '/') + ".class";
        ClassLoader loader = cls.getClassLoader();
        return ResourceInfo.of(FILE, resource, loader);
      }
    
      private static ClassInfo classInfo(Class<?> cls) {
        return classInfo(cls, cls.getClassLoader());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Platform.java

         * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant
         * is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum
         * class could be unloaded after the above call to `getEnumConstants` but before we call
         * `get()`, but that is vanishingly unlikely.
         */
        return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get()));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

          try {
            stopwatch.start();
            V previousValue = oldValue.get();
            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : Futures.immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
    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/net/HttpHeaders.java

      /** The HTTP {@code X-Content-Type-Options} header field name. */
      public static final String X_CONTENT_TYPE_OPTIONS = "X-Content-Type-Options";
      /**
       * The HTTP <a
       * href="https://iabtechlab.com/wp-content/uploads/2019/06/VAST_4.2_final_june26.pdf">{@code
       * X-Device-IP}</a> header field name. Header used for VAST requests to provide the IP address of
       * the device on whose behalf the request is being made.
       *
       * @since 31.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
Back to top