Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,143 for butter (0.13 sec)

  1. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.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
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

         */
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) {
            int start = bufferIndex;
            int end = start + len;
            interfaces.clear();
    
            while (bufferIndex < end && (bufferIndex + 152) <= end) {
                // Read Next field to determine if there are more entries
                int next = SMBUtil.readInt4(buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Decodable.java

    /**
     * Interface for objects that can be decoded from a byte buffer.
     * This interface provides methods for deserializing data from SMB protocol messages.
     *
     * @author mbechler
     */
    public interface Decodable {
    
        /**
         * Decode data from a byte buffer
         *
         * @param buffer the byte buffer containing the data to decode
         * @param bufferIndex the starting index in the buffer
         * @param len the maximum length of data to decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/nio/ChannelUtil.java

            try {
                return channel.read(buffer);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Reads the contents of the file channel into a byte buffer.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @param buffer
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

            buffer[i] = b;
            if (i == BLOCK_LENGTH - 1) {
                transform(buffer, 0);
            }
        }
    
        /**
         * MD4 block update operation.
         * <p>
         * Continues an MD4 message digest operation, by filling the buffer,
         * transform(ing) data in 512-bit message block(s), updating the variables
         * context and count, and leaving (buffering) the remaining bytes in buffer
         * for the next update or finish.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            byte[] buffer = { 0x00, 0x00, // status = 0 (Success)
                    0x12, 0x34, // converter = 0x3412
                    0x02, 0x00, // numEntries = 2
                    0x05, 0x00 // totalAvailableEntries = 5
            };
    
            int bytesRead = response.readParametersWireFormat(buffer, 0, buffer.length);
    
            assertEquals(8, bytesRead, "Should read 8 bytes for parameters.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            // Should read nothing (returns 0)
            assertEquals(0, read);
        }
    
        @Test
        void testReadDataWireFormat() {
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL);
    
            byte[] buffer = new byte[256];
            int read = trans2QueryPathInfo.readDataWireFormat(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            buffer[20] = 1; // Revision
            buffer[21] = 0; // Sbz1
            SMBUtil.writeInt2(0x8004, buffer, 22); // Control flags
            SMBUtil.writeInt4(0, buffer, 24); // Owner offset
            SMBUtil.writeInt4(0, buffer, 28); // Group offset
            SMBUtil.writeInt4(0, buffer, 32); // SACL offset
            SMBUtil.writeInt4(0, buffer, 36); // DACL offset
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComWriteAndXResponse.java

            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            count = readInt2(buffer, bufferIndex) & 0xFFFFL;
            return 8;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

     *
     * <ul>
     *   <li>happy‑path behaviour</li>
     *   <li>boundary arguments (e.g., negative indices, large values)</li>
     *   <li>string representation containing the class name</li>
     *   <li>null buffer handling</li>
     * </ul>
     */
    final class TransWaitNamedPipeResponseTest {
    
        /**
         * Verify that the default constructor creates an instance.
         */
        @Test
        void constructorInitialisesInstance() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top