- Sort Score
- Result 10 results
- Languages All
Results 1131 - 1140 of 3,853 for Hint (0.03 sec)
-
android/guava/src/com/google/common/collect/ObjectArrays.java
private static @Nullable Object[] fillArray(Iterable<?> elements, @Nullable Object[] array) { int i = 0; for (Object element : elements) { array[i++] = element; } return array; } /** Swaps {@code array[i]} with {@code array[j]}. */ static void swap(Object[] array, int i, int j) { Object temp = array[i]; array[i] = array[j]; array[j] = temp; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
Random random = new Random(0); for (int i = 0; i < 200; i++) { RandomHasherAction.pickAtRandom(random).performAction(random, hashers); } HashCode[] codes = new HashCode[hashers.size()]; for (int i = 0; i < hashers.size(); i++) { codes[i] = hashers.get(i).hash(); } for (int i = 1; i < codes.length; i++) { assertEquals(codes[i - 1], codes[i]); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// we use integers as keys; make sure the range covers some values that ARE cached by // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.) static final int WARMUP_MIN = 120; static final int WARMUP_MAX = 135; static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN; public void testSize_populated() { for (LoadingCache<Object, Object> cache : caches()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// we use integers as keys; make sure the range covers some values that ARE cached by // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.) static final int WARMUP_MIN = 120; static final int WARMUP_MAX = 135; static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN; public void testSize_populated() { for (LoadingCache<Object, Object> cache : caches()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
internal/store/batch_test.go
}) defer batch.Close() var wg sync.WaitGroup for i := 0; i < int(limit); i++ { wg.Add(1) go func(key int) { defer wg.Done() if err := batch.Add(testItem); err != nil { t.Errorf("failed to add item %v; %v", key, err) return } }(i) } wg.Wait() batchLen := batch.Len() if batchLen != int(limit) { t.Fatalf("Expected batch.Len() %v; but got %v", limit, batchLen) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/erasure-metadata.go
} func commonParity(parities []int, defaultParityCount int) int { N := len(parities) occMap := make(map[int]int) for _, p := range parities { occMap[p]++ } var maxOcc, cparity int for parity, occ := range occMap { if parity == -1 { // Ignore non defined parity continue } readQuorum := N - parity
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
throw new UnsupportedOperationException(); } public final E remove(int index) { throw new UnsupportedOperationException(); } @Override public UnmodifiableIterator<E> iterator() { return listIterator(); } @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { return unsafeDelegateList(Lists.subListImpl(this, fromIndex, toIndex)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 22:14:46 UTC 2024 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/bsbhv/BsClickLogBhv.java
doDelete(entity, null); } public int queryDelete(CBCall<ClickLogCB> cbLambda) { return doQueryDelete(createCB(cbLambda), null); } public int[] batchInsert(List<ClickLog> list) { return batchInsert(list, null, null); } public int[] batchInsert(List<ClickLog> list, RequestOptionCall<BulkRequestBuilder> call) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/bsbhv/BsGroupBhv.java
doDelete(entity, null); } public int queryDelete(CBCall<GroupCB> cbLambda) { return doQueryDelete(createCB(cbLambda), null); } public int[] batchInsert(List<Group> list) { return batchInsert(list, null, null); } public int[] batchInsert(List<Group> list, RequestOptionCall<BulkRequestBuilder> call) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsAccessTokenBhv.java
doDelete(entity, null); } public int queryDelete(CBCall<AccessTokenCB> cbLambda) { return doQueryDelete(createCB(cbLambda), null); } public int[] batchInsert(List<AccessToken> list) { return batchInsert(list, null, null); } public int[] batchInsert(List<AccessToken> list, RequestOptionCall<BulkRequestBuilder> call) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.8K bytes - Viewed (0)