- Sort Score
- Result 10 results
- Languages All
Results 731 - 740 of 2,026 for size8 (0.06 sec)
- 
				
				okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.ktval inflater = MessageInflater(false) val goldenValue = "Hello deflate!".repeat(100).encodeUtf8() val deflated = deflater.deflate(goldenValue) assertThat(deflated.size).isLessThan(goldenValue.size) val inflated = inflater.inflate(deflated) assertThat(inflated).isEqualTo(goldenValue) } @Test fun `inflate deflate empty message`() { val deflater = MessageDeflater(false) Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5K bytes - Viewed (0)
- 
				
				android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java@Param({"20", "2000"}) int size; @Param({"2", "20"}) int nonAlphaRatio; // one non-alpha char per this many chars @Param boolean noWorkToDo; Random random; String testString; @BeforeExperiment void setUp() { random = new Random(0xdeadbeef); // fix the seed so results are comparable across runs int nonAlpha = size / nonAlphaRatio; int alpha = size - nonAlpha;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0)
- 
				
				src/test/java/org/codelibs/core/collection/SLinkedListTest.java} /** * @throws Exception */ @Test public void testSize() throws Exception { assertThat(list.size(), is(0)); list.addLast("1"); assertThat(list.size(), is(1)); list.removeFirst(); assertThat(list.size(), is(0)); } /** * @throws Exception */ @Test public void testIsEmpty() throws Exception {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0)
- 
				
				guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.javaassertNull(map.getInstance(Integer.class)); assertEquals(2, map.size()); } public void testParameterizedType() { TypeToken<ImmutableList<Integer>> type = new TypeToken<ImmutableList<Integer>>() {}; map.putInstance(type, ImmutableList.of(1)); assertEquals(1, map.size()); assertEquals(ImmutableList.of(1), map.getInstance(type)); } Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0)
- 
				
				fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.javaassertEquals(2, activeStatuses.size()); assertTrue(activeStatuses.contains(CrawlerStatus.INITIALIZING)); assertTrue(activeStatuses.contains(CrawlerStatus.RUNNING)); assertFalse(activeStatuses.contains(CrawlerStatus.DONE)); // Create empty EnumSet EnumSet<CrawlerStatus> emptySet = EnumSet.noneOf(CrawlerStatus.class); assertEquals(0, emptySet.size()); Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.javavoid largeMessageIsReadCorrectly() throws IOException { // Create a message with 1000 bytes int size = 1000; byte[] data = new byte[size]; for (int i = 0; i < size; i++) { data[i] = (byte) (i % 256); } byte[] fullData = concat(messageHeader(size), data); InputStream in = new ByteArrayInputStream(fullData); Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0)
- 
				
				android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java/** * Benchmarks for comparing {@link MessageDigest}s and {@link com.google.common.hash.HashFunction}s * that wrap {@link MessageDigest}s. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: The length of the byte array to hash. * <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.). * <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API). * </ul> *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0)
- 
				
				guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java/** * Benchmarks for comparing {@link MessageDigest}s and {@link com.google.common.hash.HashFunction}s * that wrap {@link MessageDigest}s. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: The length of the byte array to hash. * <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.). * <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API). * </ul> *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/fscc/FileStandardInfo.javathis.directory = (buffer[bufferIndex++] & 0xFF) > 0; return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.Encodable#size() */ @Override public int size() { return 22; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/util/transport/Response.java* * @param buffer the buffer containing the signature data * @param i the starting index in the buffer * @param size the size of the signature data * @return whether signature verification is successful */ boolean verifySignature(byte[] buffer, int i, int size); /** * Checks if signature verification failed. * * @return whether signature verification failed */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0)