Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 118 for 0x02FF (0.03 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

    class AvPairTest {
    
        @Test
        void testConstructorAndGetters() {
            // Test with a valid type and raw data
            int type = AvPair.MsvAvTimestamp;
            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

            int flags = NegTokenInit.DELEGATION | NegTokenInit.MUTUAL_AUTHENTICATION | NegTokenInit.INTEGRITY;
            byte[] mechToken = new byte[] { 0x01, 0x02, 0x03 };
            byte[] mic = new byte[] { (byte) 0xFE, 0x55 };
    
            NegTokenInit init = new NegTokenInit(mechs, flags, mechToken, mic);
            byte[] bytes = init.toByteArray();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
            // Both two-byte characters, but must be different
            charsA[i] = (char) (0x0180 + i);
            charsB[i] = (char) (0x0280 + i);
          }
        }
    
        String stringA = new String(charsA);
        String stringB = new String(charsB);
        assertThat(stringA).isNotEqualTo(stringB);
        assertThat(HASH_FN.hashUnencodedChars(stringA))
    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/internal/smb2/lease/Smb2LeaseState.java

        /**
         * Read caching lease (R)
         */
        public static final int SMB2_LEASE_READ_CACHING = 0x01;
    
        /**
         * Handle caching lease (H)
         */
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;
    
        /**
         * Write caching lease (W)
         */
        public static final int SMB2_LEASE_WRITE_CACHING = 0x04;
    
        /**
         * Read and Handle caching (RH)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            }
            server.securityMode = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            server.security = server.securityMode & 0x01;
            server.encryptedPasswords = (server.securityMode & 0x02) == 0x02;
            server.signaturesEnabled = (server.securityMode & 0x04) == 0x04;
            server.signaturesRequired = (server.securityMode & 0x08) == 0x08;
            server.maxMpxCount = readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.securityMode = buffer[bufferIndex] & 0xFF;
            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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
            System.arraycopy(testMac, 0, src, srcIndex + 55, 6);
    
            // Statistics (6 bytes)
            byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
            System.arraycopy(stats, 0, src, srcIndex + 61, 6);
    
            int result = response.readRDataWireFormat(src, srcIndex);
            assertEquals(67, result);
    
            // Verify parsed data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                    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
                     * returned by the Node Status. A new NbtAddress object should not be
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

     */
    public class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
        static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        static final int FLAGS_REQUEST_OPLOCK = 0x02;
        static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
        // Access Mode Encoding for desiredAccess
        static final int SHARING_COMPATIBILITY = 0x00;
        static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
            // Both two-byte characters, but must be different
            charsA[i] = (char) (0x0180 + i);
            charsB[i] = (char) (0x0280 + i);
          }
        }
    
        String stringA = new String(charsA);
        String stringB = new String(charsB);
        assertThat(stringA).isNotEqualTo(stringB);
        assertThat(HASH_FN.hashUnencodedChars(stringA))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top