Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,191 for differ (0.03 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

                    bufferIndex += 2;
                    pathOffset = readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
                    altPathOffset = readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
                    nodeOffset = readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
    
                    path = readString(buffer, start + pathOffset, len, (flags2 & FLAGS2_UNICODE) != 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Given
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(16, buffer, 0);
            buffer[2] = (byte) 0xFF; // Max share type
            buffer[3] = 0;
            SMBUtil.writeInt4(0xFFFFFFFF, buffer, 4); // Max share flags
            SMBUtil.writeInt4(0xFFFFFFFF, buffer, 8); // Max capabilities
            SMBUtil.writeInt4(0xFFFFFFFF, buffer, 12); // Max access
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            // Skip 7 reserved bytes (1-7)
            // Skip 8 bytes for RootDirectory (8-15)
            SMBUtil.writeInt4(nameBytes.length, buffer, 16);
            System.arraycopy(nameBytes, 0, buffer, 20, nameBytes.length);
    
            FileRenameInformation2 info = new FileRenameInformation2();
            int bytesRead = info.decode(buffer, 0, buffer.length);
    
            assertEquals(20 + nameBytes.length, bytesRead);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

        /**
         * Creates a security descriptor by decoding from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
        public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertEquals(32, SMBUtil.readInt2(buffer, offset));
    
            // Verify notify flags
            assertEquals(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify output buffer length
            assertEquals(8192, SMBUtil.readInt4(buffer, offset + 4));
    
            // Verify file ID
            byte[] readFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, readFileId, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            byte[] buffer = new byte[100];
            int offset = 20;
    
            // Prepare data at offset
            int dataOffset = offset;
            SMBUtil.writeInt4(0, buffer, dataOffset);
            dataOffset += 4;
            SMBUtil.writeInt4(8, buffer, dataOffset);
            dataOffset += 4;
            SMBUtil.writeInt4(1000000, buffer, dataOffset);
            dataOffset += 4;
            SMBUtil.writeInt4(500000, buffer, dataOffset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            domainInfo.name = new rpc.unicode_string();
            domainInfo.name.buffer = null;
            domainInfo.sid = null;
    
            // Encode to buffer
            byte[] buffer = new byte[1024];
            NdrBuffer encodeBuffer = new NdrBuffer(buffer, 0);
            domainInfo.encode(encodeBuffer);
    
            // Decode from buffer
            NdrBuffer decodeBuffer = new NdrBuffer(buffer, 0);
            lsarpc.LsarDomainInfo decodedInfo = new lsarpc.LsarDomainInfo();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java

         *
         * @param buffer memory buffer to register
         * @param access access permissions
         */
        public RdmaMemoryRegion(ByteBuffer buffer, EnumSet<RdmaAccess> access) {
            this.buffer = buffer;
            this.accessFlags = access;
            this.localKey = generateLocalKey();
            this.remoteKey = generateRemoteKey();
            this.address = getBufferAddress(buffer);
            this.valid = true;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // Create a buffer with null terminator within the max length
                byte[] buffer = new byte[20];
                System.arraycopy("Test".getBytes(), 0, buffer, 0, 4);
                buffer[4] = 0; // null terminator
                System.arraycopy("String".getBytes(), 0, buffer, 5, 6);
    
                String result = testBlock.readString(buffer, 0, buffer.length, 10, false);
    
                assertEquals("Test", result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            assertNotNull(emptyUnicodeStringTrue.buffer, "Buffer should not be null for empty string with zterm");
            assertEquals(1, emptyUnicodeStringTrue.buffer.length, "Buffer length should be 1 for empty string with zterm");
            assertEquals(0, emptyUnicodeStringTrue.buffer[0], "Buffer should contain only zero for empty string with zterm");
    
            // Test with an empty string and zterm = false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top