- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 2,553 for nize (0.02 seconds)
-
internal/bpool/bpool_test.go
// Fill the pool beyond the capped pool size. for i := uint64(0); i < size*2; i++ { bp.Put(make([]byte, bp.w, bp.wcap)) } b = bp.Get() if len(b) != width { t.Fatalf("bytepool length invalid: got %v want %v", len(b), width) } if cap(b) != capWidth { t.Fatalf("bytepool length invalid: got %v want %v", cap(b), capWidth) } bp.Put(b) // Check the size of the pool. if uint64(len(bp.c)) != size {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
*/ public static <E> Set<Set<E>> combinations(Set<E> set, int size) { ImmutableMap<E, Integer> index = Maps.indexMap(set); checkNonnegative(size, "size"); checkArgument(size <= index.size(), "size (%s) must be <= set.size() (%s)", size, index.size()); if (size == 0) { return ImmutableSet.of(ImmutableSet.of()); } else if (size == index.size()) { return ImmutableSet.of(index.keySet()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1)); } /** constructor creates array of given size with all elements zero */ public void testConstructor() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i = 0; i < SIZE; i++) { assertBitEquals(0.0, aa.get(i)); } } /** constructor with null array throws NPE */ public void testConstructor2NPE() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
assertEquals(0, roleSet.size()); encrypted = false; value = "role1"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted); assertEquals(0, roleSet.size()); encrypted = false; value = "role1,role2"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted); assertEquals(0, roleSet.size()); encrypted = false;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlog/SearchForm.java
public String accessType; /** * The size field for controlling page size. */ public String size; /** * Sets the page size for search log results. * * @param size the page size to set */ public void setPageSize(final int size) { this.size = Integer.toString(size); } /** * Gets the page size for search log results with validation.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
public String format(long size) { return format(size, null); } public String format(long size, ScaleUnit unit) { return format(size, unit, false); } public String format(long size, ScaleUnit unit, boolean omitSymbol) { if (size < 0L) { throw new IllegalArgumentException("file size cannot be negative: " + size); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Apr 22 22:13:51 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableBiMap.java
this.alternatingKeysAndValues = alternatingKeysAndValues; this.size = size; this.keyOffset = 0; int tableSize = (size >= 2) ? ImmutableSet.chooseTableSize(size) : 0; this.keyHashTable = createHashTableOrThrow(alternatingKeysAndValues, size, tableSize, 0); Object valueHashTable = createHashTableOrThrow(alternatingKeysAndValues, size, tableSize, 1); this.inverse =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
} @Test @DisplayName("size() method should return correct size") void testSizeMethod() { CreateContextRequest request = mock(CreateContextRequest.class); when(request.size()).thenReturn(64); int size = request.size(); assertEquals(64, size); verify(request, times(1)).size(); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
assertEquals(size + 2, multimap().size()); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPutNullValue_supported() { int size = getNumElements(); multimap().put(k3(), null); assertGet(k3(), Lists.newArrayList((V) null)); // ImmutableList.of can't take null. assertEquals(size + 1, multimap().size()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
assertEquals(size + 2, multimap().size()); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPutNullValue_supported() { int size = getNumElements(); multimap().put(k3(), null); assertGet(k3(), Lists.newArrayList((V) null)); // ImmutableList.of can't take null. assertEquals(size + 1, multimap().size()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.3K bytes - Click Count (0)