- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 956 for Buffers (0.15 seconds)
-
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
); when(mockNdrBuffer.dec_ndr_small()).thenReturn(4, 5); when(mockDeferredNdrBuffer.dec_ndr_long()).thenReturn(5, 0, 5, // name buffer: buffers, 0, bufferl 6, 0, 6, // dns_domain buffer: buffers, 0, bufferl 7, 0, 7 // dns_forest buffer: buffers, 0, bufferl ); when(mockDeferredNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 'a', (int) (int) (short) 'b', (int) (int) (short) 'c',Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 60.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
* InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't * predictable what work might be done. (e.g., close a file and flush buffers to disk). To * protect ourselves from this, we park ourselves and tell our interrupter that we did so. */ if (state == PARKED || compareAndSet(state, PARKED)) { // Interrupting Cow Says:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/smb/MIENameTest.java
return buf; }, StringIndexOutOfBoundsException.class)); } @ParameterizedTest(name = "{0}") @MethodSource("invalidBuffers") @DisplayName("Invalid buffers throw appropriate exceptions") void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) { // Arrange byte[] buf;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
spyTarget.send(b, 1, 2); verify(out).writeDirect(b, 1, 2, 1); } @Test @DisplayName("sendrecv with null buffers throws relevant exceptions") void testSendRecvInvalidInputs() throws CIFSException { // Null out buffer for SMB2 path -> expect NPE when building request when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
internal/grid/handlers.go
// It must keep consuming from 'in' until it returns. // 'in' and 'out' are independent. // The handler should never close out. // Buffers received from 'in' can be recycled with PutByteBuffer. // Buffers sent on out can not be referenced once sent. StreamHandlerFn func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 27.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// Arrange byte[] buffer = new byte[100]; // Act & Assert assertEquals(0, response.readSetupWireFormat(buffer, 0, 100)); assertEquals(0, response.readParametersWireFormat(buffer, 0, 100)); assertEquals(0, response.readDataWireFormat(buffer, 0, 100)); } @Test @DisplayName("Methods should handle null buffer without validation")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
cmd/metacache-walk.go
return convertAccessError(err, errVolumeAccessDenied) } } // Use a small block size to start sending quickly w := newMetacacheWriter(wr, 16<<10) w.reuseBlocks = true // We are not sharing results, so reuse buffers. defer w.Close() out, err := w.stream() if err != nil { return err } defer xioutil.SafeClose(out) var objsReturned int objReturned := func(metadata []byte) { if opts.Limit <= 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 26 07:06:43 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* * @return netbios cache timeout, in seconds, 0 - disable caching, -1 - cache forever */ int getNetbiosCachePolicy(); /** * Gets the maximum buffer size for IO operations * * @return the maximum size of IO buffers, limits the maximum message size */ int getMaximumBufferSize(); /** * * Property {@code jcifs.smb.client.transaction_buf_size} (int, default 65535)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0)