Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for allZeros8 (0.26 seconds)

  1. src/main/java/jcifs/ntlmssp/Type2Message.java

                setTarget(new String(targetName, (flags & NTLMSSP_NEGOTIATE_UNICODE) != 0 ? UNI_ENCODING : getOEMEncoding()));
            }
            pos += 12; // 8 for target, 4 for flags
    
            if (!allZeros8(input, pos)) {
                final byte[] challengeBytes = new byte[8];
                System.arraycopy(input, pos, challengeBytes, 0, challengeBytes.length);
                setChallenge(challengeBytes);
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        }
    
        @Test
        @DisplayName("Should handle file ID with special patterns")
        void testSpecialFileIdPatterns() {
            // Test various special patterns
            byte[] allZeros = new byte[16];
            byte[] allOnes = new byte[16];
            Arrays.fill(allOnes, (byte) 0xFF);
            byte[] alternating = new byte[16];
            for (int i = 0; i < alternating.length; i++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top