Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for Upload (6.67 sec)

  1. .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)
  2. android/guava/src/com/google/common/cache/CacheLoader.java

        }
    
        @Override
        public V load(K key) {
          return computingFunction.apply(checkNotNull(key));
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a {@code CacheLoader} which wraps {@code loader}, executing calls to {@link
       * CacheLoader#reload} using {@code executor}.
       *
       * <p>This method is useful only when {@code loader.reload} has a synchronous implementation, such
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                return one;
              }
    
              @Override
              public ListenableFuture<Object> reload(Object key, Object oldValue) {
                return Futures.immediateFuture(two);
              }
            };
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LoadingCache.java

       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#reload} if the cache
       * currently contains a value for {@code key}, and {@link CacheLoader#load} otherwise. Loading is
       * asynchronous only if {@link CacheLoader#reload} was overridden with an asynchronous
       * implementation.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/SmallCharMatcher.java

      private static final double DESIRED_LOAD_FACTOR = 0.5;
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

          case UNORDERED:
            return new UndirectedGraphConnections<>(
                new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          case STABLE:
            return new UndirectedGraphConnections<>(
                new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          default:
            throw new AssertionError(incidentEdgeOrder.type());
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      private Class<?> settableFutureClass;
      private Class<?> abstractFutureClass;
    
      @Override
      protected void setUp() throws Exception {
        // Load the "normal" copy of SettableFuture and related classes.
        SettableFuture<?> unused = SettableFuture.create();
        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     *   <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
     * platform classes unavailable. Then we construct a test suite so we can run the normal FuturesTest
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Cache.java

       *
       * <ul>
       *   <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than
       *       starting a redundant one
       *   <li>eliminating the error-prone caching boilerplate
       *   <li>tracking load {@linkplain #stats statistics}
       * </ul>
       *
       * <p>Among the further improvements that {@code LoadingCache} can provide but this method cannot:
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

                }
              }
            };
    
        CacheLoader<Integer, AtomicInteger> loader =
            new CacheLoader<Integer, AtomicInteger>() {
              @Override
              public AtomicInteger load(Integer key) {
                applyCount.incrementAndGet();
                return new AtomicInteger();
              }
            };
    
        LoadingCache<Integer, AtomicInteger> cache =
            CacheBuilder.newBuilder()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
Back to top