- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 487 for load32 (0.13 seconds)
-
android/guava/src/com/google/common/hash/Fingerprint2011.java
private static long hashLength33To64(byte[] bytes, int offset, int length) { long z = load64(bytes, offset + 24); long a = load64(bytes, offset) + (length + load64(bytes, offset + length - 16)) * K0; long b = rotateRight(a + z, 52); long c = rotateRight(a, 37); a += load64(bytes, offset + 8); c += rotateRight(a, 7); a += load64(bytes, offset + 16); long vf = a + z; long vs = b + rotateRight(a, 31) + c;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
CountingLoader loader = new CountingLoader(); LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); assertThat(loader.getCount()).isEqualTo(0); Object key = new Object(); Object value = map.get(key, loader); assertThat(loader.getCount()).isEqualTo(1); assertThat(map.get(key, loader)).isEqualTo(value); assertThat(loader.getCount()).isEqualTo(1); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
CountingLoader loader = new CountingLoader(); LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); assertThat(loader.getCount()).isEqualTo(0); Object key = new Object(); Object value = map.get(key, loader); assertThat(loader.getCount()).isEqualTo(1); assertThat(map.get(key, loader)).isEqualTo(value); assertThat(loader.getCount()).isEqualTo(1); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
CacheBuilder<? super K, ? super V> builder, @Nullable CacheLoader<? super K, V> loader) { localCache = new LocalCache<K, V>(builder, loader); } // Cache methods @Override public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException { synchronized (localCache.lock) { // Prevent concurrent loads for the same key V value = localCache.get(key); if (value != null) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 21.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
* {@link CacheLoader#load} calls to {@code loader}. */ static <K, V> CacheLoader<K, V> bulkLoader(CacheLoader<K, V> loader) { checkNotNull(loader); return new CacheLoader<K, V>() { @Override public V load(K key) throws Exception { return loader.load(key); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
public void testBulkLoad_loadAll() throws ExecutionException { IdentityLoader<Integer> backingLoader = identityLoader(); CacheLoader<Integer, Integer> loader = bulkLoader(backingLoader); LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().recordStats().build(loader); CacheStats stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(0); assertThat(stats.loadSuccessCount()).isEqualTo(0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
guava/src/com/google/common/base/internal/Finalizer.java
* loader. That way, this class doesn't prevent the main class loader from getting garbage * collected, and this class can detect when the main class loader has been garbage collected and * stop itself. */ public class Finalizer implements Runnable { private static final Logger logger = Logger.getLogger(Finalizer.class.getName()); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
public void testBulkLoad_loadAll() throws ExecutionException { IdentityLoader<Integer> backingLoader = identityLoader(); CacheLoader<Integer, Integer> loader = bulkLoader(backingLoader); LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().recordStats().build(loader); CacheStats stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(0); assertThat(stats.loadSuccessCount()).isEqualTo(0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotNull("loader", loader); if (path == null || loader == null) { return null; } final String p = getResourcePath(path, extension); return loader.getResource(p); } /** * Returns the resource as a stream from the context class loader. * * @param path
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
* {@link CacheLoader#load} calls to {@code loader}. */ static <K, V> CacheLoader<K, V> bulkLoader(CacheLoader<K, V> loader) { checkNotNull(loader); return new CacheLoader<K, V>() { @Override public V load(K key) throws Exception { return loader.load(key); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0)