- Sort Score
- Num 10 results
- Language All
Results 1901 - 1910 of 2,686 for Size (0.02 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
override fun contentLength(): Long = chunk!!.size * 8L override fun writeTo(sink: BufferedSink) { try { var i = 0 while (i < contentLength()) { sink.write(chunk!!) sink.flush() Thread.sleep(100) i += chunk.size } } catch (e: IOException) { ioe = eCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
} @Test @DisplayName("Should throw exception for invalid structure size") void testReadInvalidStructureSize() { // Create buffer with invalid structure size byte[] buffer = new byte[64]; SMBUtil.writeInt2(23, buffer, 0); // Invalid size (should be 24) SMBProtocolDecodingException exception =Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
} public void test() { for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) { ImmutableList<T> group = groups.get(groupNumber); for (int itemNumber = 0; itemNumber < group.size(); itemNumber++) { // check related items in same group for (int relatedItemNumber = 0; relatedItemNumber < group.size(); relatedItemNumber++) { if (itemNumber != relatedItemNumber) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
private val source: BufferedSource = countingSource.buffer() /** Total bytes read thus far. */ private val byteCount: Long get() = countingSource.bytesRead - source.buffer.size /** How many bytes to read before [peekHeader] should return false, or -1L for no limit. */ private var limit = -1L /** Type hints scoped to the call stack, manipulated with [withTypeHint]. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.5K bytes - Click Count (0) -
tests/test_request_params/test_file/test_required.py
return {"file_size": len(p)} @app.post("/required-uploadfile", operation_id="required_uploadfile") async def read_required_uploadfile(p: Annotated[UploadFile, File()]): return {"file_size": p.size} @pytest.mark.parametrize( "path", [ "/required-bytes", "/required-uploadfile", ], ) def test_required_schema(path: str): openapi = app.openapi()Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 13:01:31 GMT 2026 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java
if (logger.isDebugEnabled()) { smb1AuthList.forEach(smb1Auth -> logger .debug("Smb1Authentication: " + smb1Auth.getServer() + ":" + smb1Auth.getPort() + " " + smb1Auth.getUsername())); } paramMap.put(Param.Client.FTP_AUTHENTICATIONS, ftpAuthList.toArray(new FtpAuthentication[ftpAuthList.size()])); if (logger.isDebugEnabled()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
binary = SerializeUtil.fromObjectToBinary(list); @SuppressWarnings("unchecked") final List<String> resultList = (List<String>) SerializeUtil.fromBinaryToObject(binary); assertEquals(list.size(), resultList.size()); assertEquals(list.get(0), resultList.get(0)); // Test HashMap final Map<String, Integer> map = new HashMap<>(); map.put("one", 1); map.put("two", 2);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 7.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
final List<String> nextInputs = new ArrayList<>(); // Process each input from the previous converter for (final String input : currentInputs) { if (resultSet.size() >= maxReadingNum) { break; } // Convert the input and collect results final List<String> results = converter.convert(input, field, lang);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Wed Dec 31 05:38:07 GMT 2025 - 3.8K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertEquals(4, context.size()); } @Test @DisplayName("Should calculate size for empty arrays") void testSizeWithEmptyArrays() { int[] hashAlgos = {}; byte[] salt = {}; PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); assertEquals(4, context.size()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
fun runningCalls(): List<Call> = (runningSyncCalls + runningAsyncCalls.map { it.call }).unmodifiable() @Synchronized fun queuedCallsCount(): Int = readyAsyncCalls.size @Synchronized fun runningCallsCount(): Int = runningAsyncCalls.size + runningSyncCalls.size @JvmName("-deprecated_executorService") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "executorService"),
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:22 GMT 2025 - 9.9K bytes - Click Count (0)