- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 118 for 8192 (0.02 seconds)
-
tests/lru_test.go
lru.Add("key3", 3) time.Sleep(time.Second * 3) if lru.Cap() != 0 { t.Errorf("Expected lru to be empty, but it was not") } } func BenchmarkLRU_Rand_NoExpire(b *testing.B) { l := lru.NewLRU[int64, int64](8192, nil, 0) trace := make([]int64, b.N*2) for i := 0; i < b.N*2; i++ { trace[i] = getRand(b) % 32768 } b.ResetTimer() var hit, miss int for i := 0; i < 2*b.N; i++ { if i%2 == 0 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
* write to {@code sink()} and close it to complete the post. */ static final class PipeBody extends RequestBody { private final Pipe pipe = new Pipe(8192); private final BufferedSink sink = Okio.buffer(pipe.sink()); public BufferedSink sink() { return sink; } @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jul 06 03:18:15 GMT 2018 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
void getSendBufferSize_returns() throws Exception { // Arrange when(handle.getSendBufferSize()).thenReturn(8192); // Act int size = handle.getSendBufferSize(); // Assert assertEquals(8192, size); verify(handle).getSendBufferSize(); } @Test @DisplayName("getSendBufferSize(): propagates CIFSException on failure")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
/** * Transformed artifact is derived with some transformation from source artifact. * * @since TBD */ class TransformedArtifact extends DefaultArtifact { private static final int SHA1_BUFFER_SIZE = 8192; private final PomArtifactTransformer pomArtifactTransformer; private final MavenProject project; private final Supplier<ModelSource> sourcePathProvider; private final Path target;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java
*/ public static final int DEFAULT_SEND_CREDIT_TARGET = 32; /** * Default maximum receive size (8KB) */ public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192; /** * Default maximum fragmented size (128KB) */ public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072; // 128KB /** * Default maximum read/write size (1MB) */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 2K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
} private static String readFully(InputStream inputStream) throws IOException { try (InputStream input = inputStream; ByteArrayOutputStream out = new ByteArrayOutputStream()) { byte[] buf = new byte[8192]; int read; while ((read = input.read(buf)) >= 0) { out.write(buf, 0, read); } return out.toString(StandardCharsets.UTF_8.name()); } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
when(mockConfig.getMaximumBufferSize()).thenReturn(8192); when(mockConfig.getListSize()).thenReturn(16384); request = new Smb2QueryDirectoryRequest(mockConfig); assertNotNull(request); // Test with smaller list size when(mockConfig.getMaximumBufferSize()).thenReturn(16384); when(mockConfig.getListSize()).thenReturn(8192);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255; public static final int DEFAULT_SEND_CREDIT_TARGET = 32; public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192; public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072; // 128KB public static final int DEFAULT_MAX_READ_WRITE_SIZE = 1048576; // 1MB } ``` ### 3.2 RDMA Provider Interface ```javaCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(16, bytesRead); assertEquals(100, response.getCount()); assertEquals(50, response.getRemaining()); // Large buffer byte[] largeBuffer = new byte[8192]; System.arraycopy(createValidWriteResponse(5000, 2500), 0, largeBuffer, 1000, 20); Smb2WriteResponse response2 = new Smb2WriteResponse(mockConfig);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
sink.write(Buffer().write(message1), message1.size.toLong()) } buffer.writeByte(0x00) // Trailing data. We use the Okio segment size to make sure it's still in the input buffer. buffer.write(ByteArray(8192)) inflater.inflate(buffer) assertThat(buffer.readByteString()).isEqualTo(message1) DeflaterSink(buffer, Deflater(Deflater.DEFAULT_COMPRESSION, true)).use { sink ->
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:26:07 GMT 2025 - 6.4K bytes - Click Count (0)