Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 117 for 0x00FF (1.39 sec)

  1. docs/smb3-features/01-smb3-lease-design.md

    import jcifs.internal.smb2.ServerMessageBlock2;
    
    public class Smb2LeaseBreakNotification extends ServerMessageBlock2 {
        // Command code for lease break
        public static final int SMB2_OPLOCK_BREAK = 0x0012;
        
        private int structureSize;
        private int flags;
        private Smb2LeaseKey leaseKey;
        private int currentLeaseState;
        private int newLeaseState;
        private int breakReason;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/SessionServicePacket.java

         * Creates a new session service packet instance.
         */
        public SessionServicePacket() {
            // Default constructor
        }
    
        // session service packet types
        static final int SESSION_MESSAGE = 0x00;
        static final int SESSION_REQUEST = 0x81;
    
        /**
         * NetBIOS positive session response packet type.
         */
        public static final int POSITIVE_SESSION_RESPONSE = 0x82;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  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. src/archive/zip/writer_test.go

    			comment: "the replacement rune is �",
    			flags:   0x808,
    		},
    		{
    			// Name is Japanese encoded in Shift JIS.
    			name:    "\x93\xfa\x96{\x8c\xea.txt",
    			comment: "in the 世界",
    			flags:   0x008, // UTF-8 must not be set
    		},
    	}
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    	for _, test := range utf8Tests {
    		h := &FileHeader{
    			Name:    test.name,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top