- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 140 for Allocate (0.04 sec)
-
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
this.totalAllocated = new AtomicLong(); this.totalReleased = new AtomicLong(); // Pre-allocate buffer pool initializeBufferPool(); } /** * Initialize the buffer pool with pre-allocated regions */ private void initializeBufferPool() { // Allocate send buffers for (int i = 0; i < initialSendBuffers; i++) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException { // Given - prepare buffer with typical file system values ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(1048576L); // Total allocation units (1M) buffer.putLong(524288L); // Free allocation units (512K)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
CharBuffer buf2 = CharBuffer.allocate(expected.length()); assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf2)); Java8Compatibility.flip(buf2); assertEquals(expected, buf2.toString()); assertFullyRead(reader); // read in chunks to fixed CharBuffer reader = new CharSequenceReader(charSequence); buf2 = CharBuffer.allocate(5); builder = new StringBuilder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException { // Given - prepare buffer with typical file system values ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(1048576L); // Total allocation units (1M) buffer.putLong(524288L); // Caller available allocation units (512K)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
netdfs.DfsInfo1 info1 = new netdfs.DfsInfo1(); info1.entry_path = "test_path"; ByteArrayOutputStream bos = new ByteArrayOutputStream(); // Create buffer for encoding - initially allocate some space byte[] encodeBuffer = new byte[1024]; NdrBuffer dst = new NdrBuffer(encodeBuffer, 0); info1.encode(dst); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
val address = factory.newHttpsAddress() proxySelector.proxies.add(proxyA) proxySelector.proxies.add(proxyB) var routeSelector = newRouteSelector(address) dns[PROXY_A_HOST] = dns.allocate(1) dns[PROXY_B_HOST] = dns.allocate(1) // Mark the ProxyA route as failed. val selection = routeSelector.next() dns.assertRequests(PROXY_A_HOST) val route = selection.next()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 20.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(Buffer.class, ByteBuffer.allocate(0)) .put(CharBuffer.class, CharBuffer.allocate(0)) .put(ByteBuffer.class, ByteBuffer.allocate(0)) .put(ShortBuffer.class, ShortBuffer.allocate(0)) .put(IntBuffer.class, IntBuffer.allocate(0)) .put(LongBuffer.class, LongBuffer.allocate(0)) .put(FloatBuffer.class, FloatBuffer.allocate(0))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
@Test @DisplayName("Test readParametersWireFormat with non-aligned nextEntryOffset throws exception") void testReadParametersWireFormatNonAlignedOffset() throws Exception { ByteBuffer buffer = ByteBuffer.allocate(100); buffer.order(ByteOrder.LITTLE_ENDIAN); // Create notification with non-aligned nextEntryOffset buffer.putInt(3); // Non-aligned nextEntryOffset (not divisible by 4)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
this.totalAllocated = new AtomicLong(); this.totalReleased = new AtomicLong(); // Pre-allocate buffer pool initializeBufferPool(); } private void initializeBufferPool() { // Allocate send buffers for (int i = 0; i < initialSendBuffers; i++) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
} @Override public HashCode hashInt(int input) { return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array()); } @Override public HashCode hashLong(long input) { return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array()); } @Override public HashCode hashUnencodedChars(CharSequence input) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.8K bytes - Viewed (0)