- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 2,056 for sizeOf (0.04 sec)
-
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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java
param1.setDefaultValue("value1"); mojoDescriptor.addParameter(param1); assertEquals(1, mojoDescriptor.getParameters().size()); assertEquals( mojoDescriptor.getParameters().size(), mojoDescriptor.getParameterMap().size()); Parameter param2 = new Parameter(); param2.setName("param2"); param2.setDefaultValue("value2");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
assertBytes( // Dynamic table size update (size = 2048). 0x3F, 0xE1, 0xF, 0x40, 3, 'f'.code, 'o'.code, 'o'.code, 3, 'b'.code, 'a'.code, 'r'.code, ) hpackWriter!!.resizeHeaderTable(8192) hpackWriter!!.writeHeaders(listOf(Header("bar", "foo"))) assertBytes( // Dynamic table size update (size = 8192). 0x3F, 0xE1, 0x3F,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java
assertEquals(written, out.size()); assertEquals(written, counter.getCount()); counter.write(0); written += 1; assertEquals(written, out.size()); assertEquals(written, counter.getCount()); byte[] data = new byte[10]; counter.write(data); written += 10; assertEquals(written, out.size()); assertEquals(written, counter.getCount());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
assertEquals(size, multimap().size()); } else { assertEquals(Lists.newArrayList(v3()), Lists.newArrayList(values)); assertEquals(size + 1, multimap().size()); } } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testPutAllNullValueNullFirst_unsupported() { int size = getNumElements(); assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/ActionForm.java
import org.codelibs.fess.util.ComponentUtil; import jakarta.validation.constraints.Size; public class ActionForm { @Size(max = 10) public String replaceAliases; @Size(max = 10) public String resetDictionaries; @Size(max = 10) public String numberOfShardsForDoc = ComponentUtil.getFessConfig().getIndexNumberOfShards(); @Size(max = 10)
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} int size = Encdec.dec_uint16be(this.sbuf, 2) & 0xFFFF; if ( size < 33 || ( 4 + size ) > this.sbuf.length ) { throw new IOException("Invalid payload size: " + size); } int hdrSize = this.smb2 ? Smb2Constants.SMB2_HEADER_LENGTH : SMB1_HEADER_LENGTH; readn(this.in, this.sbuf, 4 + hdrSize, size - hdrSize); log.trace("Read negotiate response");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial006_an_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Aug 28 23:39:15 UTC 2024 - 447 bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
@BeforeExperiment void setUp() { checkArgument(size > 0, "empty collection not supported"); Set<Integer> set = new LinkedHashSet<>(size); Random random = new Random(); while (set.size() < size) { set.add(random.nextInt()); } List<Integer> list = new ArrayList<>(set); inputOrder.arrange(list); input = ImmutableList.copyOf(list); } @Benchmark int collections(int reps) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0)