Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,143 for butter (0.03 sec)

  1. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            // Read total allocation units.
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // read caller available allocation units
            this.free = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            ByteBuffer buffer = ByteBuffer.allocate(34);
            buffer.order(ByteOrder.LITTLE_ENDIAN);
            buffer.putShort((short) 0); // dialectIndex
            buffer.put((byte) 0x0F); // securityMode (user, encrypted, sigs enabled, sigs required)
            buffer.putShort((short) 50); // maxMpxCount
            buffer.putShort((short) 10); // maxNumberVcs
            buffer.putInt(8192); // maxBufferSize
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                Smb2LogoffResponse resp = newResponse();
                byte[] buffer = new byte[8];
                byte[] original = buffer.clone();
    
                // Act
                int written = resp.writeBytesWireFormat(buffer, index);
    
                // Assert
                assertEquals(0, written, "Should report 0 bytes written");
                assertArrayEquals(original, buffer, "Buffer must remain unchanged");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            // Skip padding
            bufferIndex += 2;
    
            // Read flags
            this.flags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // Validate remaining buffer size for algorithms
            if (len < 8 + (compressionCount * 2)) {
                throw new SMBProtocolDecodingException("Buffer too small for compression algorithms");
            }
    
            // Read compression algorithms
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        @Override
        public String extendedToString() {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append(LS).append("Repository Metadata").append(LS).append("--------------------------");
            buffer.append(LS).append("GroupId: ").append(getGroupId());
            buffer.append(LS).append("ArtifactId: ").append(getArtifactId());
            buffer.append(LS).append("Metadata Type: ").append(getClass().getName());
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java

            return 0;
        }
    
        @Override
        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) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            int elemStart = start;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                    throw new SMBProtocolDecodingException("Invalid buffer parameters");
                }
                if (bufferIndex + len > buffer.length) {
                    throw new SMBProtocolDecodingException("Buffer overflow");
                }
    
                // Store the decoded data
                this.data = new byte[len];
                System.arraycopy(buffer, bufferIndex, this.data, 0, len);
    
                return len;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

    internal const val FRAGMENT_ENCODE_SET_URI = " \"#<>\\^`{|}"
    
    internal fun Buffer.writeCanonicalized(
      input: String,
      pos: Int,
      limit: Int,
      encodeSet: String,
      alreadyEncoded: Boolean,
      strict: Boolean,
      plusIsSpace: Boolean,
      unicodeAllowed: Boolean,
      charset: Charset?,
    ) {
      var encodedCharBuffer: Buffer? = null // Lazily allocated.
      var codePoint: Int
      var i = pos
      while (i < limit) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacTest.java

                writeLittleEndianInt(baos, PacConstants.PAC_VERSION); // version
    
                // Buffer 1: LOGON_INFO
                writeLittleEndianInt(baos, PacConstants.LOGON_INFO);
                writeLittleEndianInt(baos, 8); // minimal size
                writeLittleEndianLong(baos, 72); // offset (aligned)
    
                // Buffer 2: SERVER_CHECKSUM
                writeLittleEndianInt(baos, PacConstants.SERVER_CHECKSUM);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        void testReadSetupWireFormat() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
            byte[] buffer = new byte[100];
    
            int result = notifyChange.readSetupWireFormat(buffer, 10, 50);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat returns zero")
        void testReadParametersWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
Back to top