Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,191 for differ (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                int bytesWritten = context.encode(buffer, 0);
    
                assertEquals(6, bytesWritten);
                assertEquals(2, SMBUtil.readInt2(buffer, 0));
                assertEquals(EncryptionNegotiateContext.CIPHER_AES128_CCM, SMBUtil.readInt2(buffer, 2));
                assertEquals(EncryptionNegotiateContext.CIPHER_AES128_GCM, SMBUtil.readInt2(buffer, 4));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

                this.dataWireFormatReturn = value;
            }
    
            void setSetupBuffer(byte[] buffer) {
                this.setupBuffer = buffer;
            }
    
            void setParametersBuffer(byte[] buffer) {
                this.parametersBuffer = buffer;
            }
    
            void setDataBuffer(byte[] buffer) {
                this.dataBuffer = buffer;
            }
        }
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        }
    
        @Override
        public int decode(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            return decode(buffer, bufferIndex, false);
        }
    
        /**
         * Decodes the SMB2 message from the buffer.
         *
         * @param buffer the buffer containing the message
         * @param bufferIndex the starting position in the buffer
         * @param compound whether this is part of a compound chain
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            this.dataCount = dataCount;
        }
    
        /**
         * Sets the transaction buffer
         * @param buffer
         *            the transaction buffer to use
         */
        public void setBuffer(final byte[] buffer) {
            this.txn_buf = buffer;
        }
    
        /**
         * Releases and returns the transaction buffer
         * @return the txn_buf
         */
        public byte[] releaseBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/AbstractStreamingHasher.java

        if (readBuffer.remaining() <= buffer.remaining()) {
          buffer.put(readBuffer);
          munchIfFull();
          return this;
        }
    
        // First add just enough to fill buffer size, and munch that
        int bytesToCopy = bufferSize - buffer.position();
        for (int i = 0; i < bytesToCopy; i++) {
          buffer.put(readBuffer.get());
        }
        munch(); // buffer becomes empty here, since chunkSize divides bufferSize
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            setPrivateField(cmd, "maxReferralLevel", 0x12AB);
            byte[] buffer = new byte[100];
            int len = cmd.writeParametersWireFormat(buffer, 0);
            assertTrue(len >= 2);
            // writeInt2 writes in little-endian format (LSB first)
            assertEquals(0xAB, buffer[0] & 0xFF);
            assertEquals(0x12, buffer[1] & 0xFF);
            // Check that the path is written after the referral level
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            byte[] buffer = new byte[100];
            int result = response.readSetupWireFormat(buffer, 10, 50);
            assertEquals(0, result);
        }
    
        @Test
        void testReadParametersWireFormat() {
            // Test that readParametersWireFormat returns 0
            byte[] buffer = new byte[100];
            int result = response.readParametersWireFormat(buffer, 20, 60);
            assertEquals(0, result);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacConstants.java

        /**
         * Buffer type for server checksum signature.
         */
        int SERVER_CHECKSUM = 6;
        /**
         * Buffer type for privilege server (KDC) checksum signature.
         */
        int PRIVSVR_CHECKSUM = 7;
    
        /**
         * Buffer type for client name information.
         */
        int CLIENT_NAME_TYPE = 0xA;
        /**
         * Buffer type for constrained delegation information.
         */
        int CONSTRAINT_DELEGATIION_TYPE = 0xB;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

            if (buffer == null) {
                failedValidations.incrementAndGet();
                throw new SmbException("Response buffer is null");
            }
    
            if (buffer.length < expectedSize) {
                failedValidations.incrementAndGet();
                bufferOverflowsPrevented.incrementAndGet();
                log.warn("Response buffer too small: {} < {}", buffer.length, expectedSize);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            Object obj;
        }
    
        /**
         * The underlying byte buffer containing the NDR data.
         */
        public byte[] buf;
    
        /**
         * The starting position in the buffer.
         */
        public int start;
    
        /**
         * The current position in the buffer.
         */
        public int index;
    
        /**
         * The length of data in the buffer.
         */
        public int length;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top