Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 954 for buffer1 (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                // Verify output buffer length
                assertEquals(0x8000, SMBUtil.readInt4(buffer, 68));
    
                // Verify input buffer offset (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt2(buffer, 72));
    
                // Verify input buffer length (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt4(buffer, 76));
    
                // Verify additional information
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/CommonServerMessageBlock.java

        /**
         * Decode message data from the given byte array
         *
         * @param buffer the byte array containing the message data
         * @param bufferIndex the starting index in the buffer
         * @return message length
         * @throws SMBProtocolDecodingException if decoding fails
         */
        int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        void testWireFormatStructure() {
            byte[] buffer = new byte[256];
            Arrays.fill(buffer, (byte) 0xCC); // Fill with pattern to detect unwritten areas
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            // Verify structure according to SMB2 FLUSH specification
            // Structure Size (2 bytes) - should be 24
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
    
            setStatus(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.converter = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

    import okio.FileNotFoundException
    import okio.FileSystem
    import okio.ForwardingFileSystem
    import okio.ForwardingSource
    import okio.Path
    import okio.Sink
    import okio.Source
    import okio.blackholeSink
    import okio.buffer
    
    /**
     * A cache that uses a bounded amount of space on a filesystem. Each cache entry has a string key
     * and a fixed number of values. Each key must match the regex `[a-z0-9_-]{1,64}`. Values are byte
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                verify(mockNdrBuffer).enc_ndr_short((short) 6);
                verify(mockNdrBuffer).enc_ndr_referent(entry.name.buffer, 1);
            }
    
            @Test
            @DisplayName("Should encode entry with null buffer")
            void testEncodeNullBuffer() throws NdrException {
                // Given: SAM entry with null buffer
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                entry.idx = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/InputValidator.java

        private static final Pattern INVALID_PATH_CHARS = Pattern.compile("[\\x00-\\x1f\"*:<>?|]");
    
        /**
         * Validates buffer size to prevent overflow
         *
         * @param size the buffer size to validate
         * @param maxSize the maximum allowed size
         * @param fieldName the field name for error reporting
         * @throws IllegalArgumentException if size is invalid
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

        /**
         * Constructs a SMB2 read response with the specified configuration and output buffer
         *
         * @param config
         *            the configuration to use for this response
         * @param outputBuffer
         *            the buffer to receive the read data
         * @param outputBufferOffset
         *            the offset in the output buffer to start writing data
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

        @Override
        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int nciphers = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.ciphers = new int[nciphers];
            for (int i = 0; i < nciphers; i++) {
                this.ciphers[i] = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top