Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 114 for 0x00FF (0.03 sec)

  1. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    Name name;
                    NbtAddress addr;
                    char c = '.';
    
                    ip = i = 0;
                    for (; i < data.length && c == '.'; i++) {
                        int b = 0x00;
    
                        for (; i < data.length && (c = data[i]) >= 48 && c <= 57; i++) {
                            b = b * 10 + c - '0';
                        }
                        ip = (ip << 8) + b;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SID.java

        /**
         * Flag indicating that SIDs should be resolved to names.
         */
        public static final int SID_FLAG_RESOLVE_SIDS = 0x0001;
    
        /**
         * Well known SID: EVERYONE
         */
        public static SID EVERYONE = null;
    
        /**
         * Well known SID: CREATOR_OWNER
         */
        public static SID CREATOR_OWNER = null;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(req);
    
            assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value
    
            // Verify path is set correctly
            Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path");
            pathField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

        }
    
        /**
         * Test constructor with a malformed ASN.1 token.
         */
        @Test
        void testConstructor_MalformedToken() {
            // 1. GIVEN
            byte[] malformedToken = new byte[] { 0x00, 0x01, 0x02, 0x03 }; // Not a valid ASN.1 sequence
            Map<Integer, KerberosKey> keys = new HashMap<>();
    
            // 2. WHEN & 3. THEN
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Encdec.java

            final int start = di;
            int ch;
            final int strlen = str.length();
    
            for (int i = 0; di < dlim && i < strlen; i++) {
                ch = str.charAt(i);
                if (ch >= 0x0001 && ch <= 0x007F) {
                    dst[di] = (byte) ch;
                    di++;
                } else {
                    if (ch > 0x07FF) {
                        if (dlim - di < 3) {
                            break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

          // Verify that high byte of the 64 bit identifier is zero, modulo
          // the U/L and G bits, with which we are not concerned.
          return false;
        }
    
        return (bytes[9] == (byte) 0x00) && (bytes[10] == (byte) 0x5e) && (bytes[11] == (byte) 0xfe);
      }
    
      /**
       * Returns the IPv4 address embedded in an ISATAP address.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        }
    
        @Override
        public final boolean readBoolean() throws SmbException {
            if (read(tmp, 0, 1) < 0) {
                throw new SmbException("EOF");
            }
            return tmp[0] != (byte) 0x00;
        }
    
        @Override
        public final byte readByte() throws SmbException {
            if (read(tmp, 0, 1) < 0) {
                throw new SmbException("EOF");
            }
            return tmp[0];
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            @DisplayName("Should handle hash algorithms with maximum value")
            void testMaximumHashAlgoValues() throws SMBProtocolDecodingException {
                int[] hashAlgos = { 0xFFFF, 0x0000, 0x7FFF };
                byte[] salt = { (byte) 0xFF, 0x00, 0x7F };
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

            ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB_LEGACY };
            int flags = NegTokenInit.REPLAY_DETECTION | NegTokenInit.SEQUENCE_CHECKING;
            byte[] mic = new byte[] { 0x00, 0x0A, (byte) 0xFF };
    
            NegTokenInit init = new NegTokenInit(mechs, flags, null, mic);
            String s = init.toString();
    
            assertTrue(s.contains("flags=" + flags), "toString should include flags");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

        /**
         * Flag indicating that SIDs should be resolved to names.
         */
        public static final int SID_FLAG_RESOLVE_SIDS = 0x0001;
    
        /**
         * Well known SID: EVERYONE (S-1-1-0).
         */
        public static SID EVERYONE = null;
        /**
         * Well known SID: CREATOR_OWNER (S-1-3-0).
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
Back to top