Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 279 for 0x04 (0.02 sec)

  1. src/main/java/jcifs/netbios/NodeStatusResponse.java

                isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
                isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
                /*
                 * The NbtAddress object used to query this node will be in the list
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            // Expected format: buffer format (0x04) + path string (null terminated)
            byte[] expected = new byte[directoryName.length() + 2];
            expected[0] = 0x04; // Buffer format
            System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length());
            expected[directoryName.length() + 1] = 0x00; // Null terminator
    
            byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                // Skip idFileSystem (4 bytes)
                buffer[4] = 0x08; // sectPerAlloc = 8
                buffer[8] = 0x00;
                buffer[9] = 0x10; // alloc = 4096
                buffer[12] = 0x00;
                buffer[13] = 0x08; // free = 2048
                buffer[16] = 0x00;
                buffer[17] = 0x02; // bytesPerSect = 512
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashCodeTest.java

                    (byte) 0x05, (byte) 0x06, (byte) 0x07, (byte) 0x08
                  },
                  0x89abcdef,
                  0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
                  "efcdab89674523010102030405060708"),
              new ExpectedHashCode(
                  new byte[] {(byte) 0xdf, (byte) 0x9b, (byte) 0x57, (byte) 0x13},
                  0x13579bdf,
                  null,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        // flags (not the same as flags constructor argument)
        private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        private static final int FLAGS_REQUEST_OPLOCK = 0x02;
        private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
        // Access Mode Encoding for desiredAccess
        private static final int SHARING_COMPATIBILITY = 0x00;
        private static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                context = new PreauthIntegrityNegotiateContext();
                byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos
                        0x04, 0x00, // 4 bytes salt
                        0x01, 0x00, // SHA512
                        0x02, 0x00, // Another hash algo
                        0x0A, 0x0B, 0x0C, 0x0D // Salt
                };
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/rpcTest.java

                policyHandle.uuid.time_hi_and_version = (short) 0x3333;
                policyHandle.uuid.clock_seq_hi_and_reserved = (byte) 0x44;
                policyHandle.uuid.clock_seq_low = (byte) 0x55;
                policyHandle.uuid.node = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04, (byte) 0x05, (byte) 0x06 };
    
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
                // When: Encoding the policy handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.oldFileName, dst, dstIndex);
            dst[dstIndex++] = (byte) 0x04;
            if (this.isUseUnicode()) {
                dst[dstIndex++] = (byte) '\0';
            }
            dstIndex += writeString(this.newFileName, dst, dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        @Test
        @DisplayName("Test writeBytesWireFormat method")
        void testWriteBytesWireFormat() {
            request = new Smb2SetInfoRequest(mockConfig, testFileId);
            request.setInfoType((byte) 0x01);
            request.setFileInfoClass((byte) 0x04);
            request.setAdditionalInformation(0x12345678);
    
            Encodable mockInfo = mock(Encodable.class);
            when(mockInfo.encode(any(byte[].class), anyInt())).thenReturn(20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            bufferIndex++;
            this.server.security = this.server.securityMode & 0x01;
            this.server.encryptedPasswords = (this.server.securityMode & 0x02) == 0x02;
            this.server.signaturesEnabled = (this.server.securityMode & 0x04) == 0x04;
            this.server.signaturesRequired = (this.server.securityMode & 0x08) == 0x08;
            this.server.smaxMpxCount = 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
    - 15.8K bytes
    - Viewed (0)
Back to top