- Sort Score
- Result 10 results
- Languages All
Results 1611 - 1620 of 4,189 for intA (0.05 sec)
-
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
} private static void getAll(LoadingCache<Integer, Integer> cache, List<Integer> keys) { for (int i : keys) { cache.getUnchecked(i); } } private Object objectWithHash(final int hash) { return new Object() { @Override public int hashCode() { return hash; } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
@SuppressWarnings("GoodTime") // should accept a java.time.Duration public static <E> int drainUninterruptibly( BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit) { Preconditions.checkNotNull(buffer); long deadline = System.nanoTime() + unit.toNanos(timeout); int added = 0; boolean interrupted = false; try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.4K bytes - Viewed (0) -
internal/s3select/progress.go
bytesRead int64 } // Max bzip2 concurrency across calls. 50% of GOMAXPROCS. var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2) func (r *countUpReader) Read(p []byte) (n int, err error) { n, err = r.reader.Read(p) atomic.AddInt64(&r.bytesRead, int64(n)) return n, err } func (r *countUpReader) BytesRead() int64 { if r == nil { return 0 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java
// Small Helper // ============ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) { throwValidationError(messages -> { messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
*/ internal data class BasicDerAdapter<T>( private val name: String, /** The tag class this adapter expects, or -1 to match any tag class. */ val tagClass: Int, /** The tag this adapter expects, or -1 to match any tag. */ val tag: Long, /** Encode and decode the value once tags are handled. */ private val codec: Codec<T>,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
boolean supportsValuesHashCode = supportsValuesHashCode(map); if (supportsValuesHashCode) { int expectedEntrySetHash = 0; for (Entry<K, V> entry : entrySet) { assertTrue(map.containsKey(entry.getKey())); assertTrue(map.containsValue(entry.getValue())); int expectedHash = (entry.getKey() == null ? 0 : entry.getKey().hashCode())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
tests/test_allow_inf_nan_in_enforcing.py
response = client.post(f"/?z={value}") assert response.status_code == code, response.text @pytest.mark.parametrize( "value,code", [ ("-1", 200), ("inf", 422), ("-inf", 422), ("nan", 422), ("0", 200), ("342", 200), ], ) def test_allow_inf_nan_body(value: str, code: int):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 24 19:27:37 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/lock/lock_solaris.go
package lock import ( "os" "syscall" ) // lockedOpenFile is an internal function. func lockedOpenFile(path string, flag int, perm os.FileMode, rlockType int) (*LockedFile, error) { var lockType int16 switch flag { case syscall.O_RDONLY: lockType = syscall.F_RDLCK case syscall.O_WRONLY: fallthrough case syscall.O_RDWR: fallthrough
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashMultimap.java
@ElementTypesAreNonnullByDefault public final class HashMultimap<K extends @Nullable Object, V extends @Nullable Object> extends HashMultimapGwtSerializationDependencies<K, V> { private static final int DEFAULT_VALUES_PER_KEY = 2; @VisibleForTesting transient int expectedValuesPerKey = DEFAULT_VALUES_PER_KEY; /** * Creates a new, empty {@code HashMultimap} with the default initial capacities. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 10:02:49 UTC 2024 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
} @Test public void test_indexFromDocumentReader() throws Exception { Client client = runner.client(); int num = 10000; String indexName = "test"; BulkRequestBuilder bulkRequestBuilder = client.prepareBulk(); for (int i = 0; i < num; i++) { Map<String, Object> source = Collections.singletonMap("content", "test");
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0)