Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 326 for 0300 (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            final int start = bufferIndex;
    
            buffer[bufferIndex] = (byte) 0x00; // Reserved
            bufferIndex++;
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
    
            this.totalParameterCount = SMBUtil.readInt4(buffer, bufferIndex);
            if (this.bufDataStart == 0) {
    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/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
            SMBUtil.writeInt4(this.securityInformation, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putChar((char) 0x0101)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NbtAddress.java

         */
    
        public static final int H_NODE = 3;
    
        /**
         * Unknown MAC Address
         */
        public static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
        Name hostName;
        int address, nodeType;
        boolean groupName, isBeingDeleted, isInConflict, isActive, isPermanent, isDataFromNodeStatus;
        byte[] macAddress;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        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;
        private static final int SHARING_DENY_WRITE = 0x20;
        private static final int SHARING_DENY_READ_EXECUTE = 0x30;
    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/smb1/smb1/SmbComCloseTest.java

                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
                    Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 }));
        }
    
        /**
         * When lastWriteTime is zero the encoded unsigned time must be all 1s.
         */
        @Test
        @DisplayName("edge: writeParameterWordsWireFormat with lastWriteTime=0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

                    assertTrue(packetType >= 0x00 && packetType <= 0x16,
                            String.format("Packet type 0x%02X should be in valid range 0x00-0x16", packetType));
                }
            }
    
            @Test
            @DisplayName("Fragment flags should be within byte range")
            void testFragmentFlagsRange() {
                // Verify that fragment flags are within byte range (0x00-0xFF)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/ByteEncodableTest.java

            int encodedLen = encodable.encode(dest, 0);
    
            // Verify encoded length
            assertEquals(0, encodedLen, "Encoded length should be zero for zero length encodable");
            assertArrayEquals(new byte[] { 0x00, 0x00, 0x00 }, dest, "Destination array should remain unchanged for zero length encoding");
        }
    
        @Test
        void testEncodeEmptySourceArray() {
            // Test with an empty source array
            byte[] data = {};
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

        private static final HashMap LOOKUP_TABLE = new HashMap();
    
        static final Name UNKNOWN_NAME = new Name("0.0.0.0", 0x00, null);
        static final NbtAddress UNKNOWN_ADDRESS = new NbtAddress(UNKNOWN_NAME, 0, false, B_NODE);
        static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
        static final class CacheEntry {
            Name hostName;
            NbtAddress address;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Strings.java

         */
        public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) {
            int len = 0;
            while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) {
                len += 2;
                if (len > maxLen) {
                    if (log.isDebugEnabled()) {
                        log.warn("Failed to find string termination with max length " + maxLen);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top