Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 88 for eniyan (2.96 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            DummyResponse d = new DummyResponse();
            // Construct a minimal wire format buffer
            byte[] buf = new byte[32];
            int idx = 0;
            // Write values little-endian
            buf[idx++] = 5; // totalParameterCount low byte
            buf[idx++] = 0; // totalParameterCount high byte -> value 5
            buf[idx++] = 3; // totalDataCount low
            buf[idx++] = 0; // totalDataCount high
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[offset]);
            assertEquals((byte) 0x00, buffer[offset + 1]);
    
            // Verify FID is written correctly (little-endian)
            int writtenFid = SMBUtil.readInt2(buffer, offset + 2);
            assertEquals(TEST_FID, writtenFid);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle buffer boundary")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            @DisplayName("Should handle signed byte value correctly")
            void testReadBytesWireFormatSignedByteValue() {
                // Given
                byte[] buffer = new byte[10];
                // Write 4 in little-endian format
                buffer[0] = 0x04;
                buffer[1] = 0x00;
    
                // When & Then
                assertDoesNotThrow(() -> {
                    int bytesRead = response.readBytesWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

      public void writeTo(OutputStream out) throws IOException {
        // Serial form:
        // 1 signed byte for the strategy
        // 1 unsigned byte for the number of hash functions
        // 1 big endian int, the number of longs in our bitset
        // N big endian longs of our bitset
        DataOutputStream dout = new DataOutputStream(out);
        dout.writeByte(SignedBytes.checkedCast(strategy.ordinal()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        }
      }
    
      /**
       * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what {@link
       * InetAddress#getByAddress} expects).
       *
       * <p>IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long.
       *
       * @param addr the raw IP address in little-endian byte order
       * @return an InetAddress object created from the raw IP 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)
  6. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // When
            byte[] messageBytes = type3.toByteArray();
    
            // Then
            assertTrue(messageBytes.length >= 12);
            // Message type should be 3 (little endian)
            assertEquals(3, messageBytes[8] & 0xFF);
            assertEquals(0, messageBytes[9] & 0xFF);
            assertEquals(0, messageBytes[10] & 0xFF);
            assertEquals(0, messageBytes[11] & 0xFF);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                int bytesEncoded = buffer.encode(dst, 0);
    
                // Manually verify the encoded bytes
                assertEquals(buffer.size(), bytesEncoded);
    
                // Check referral level (little-endian)
                assertEquals(4, dst[0] & 0xFF);
                assertEquals(0, dst[1] & 0xFF);
    
                // Check path starts at byte 2
                byte[] expectedPathBytes = path.getBytes(StandardCharsets.UTF_16LE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashTestUtils.java

          System.arraycopy(hash, 0, hashes, i * hashBytes, hash.length);
        }
    
        // Then hash the result array
        byte[] result = hashFunction.hash(hashes, 0);
    
        // interpreted in little-endian order.
        int verification = Integer.reverseBytes(Ints.fromByteArray(result));
    
        if (expected != verification) {
          throw new AssertionError(
              "Expected: "
                  + Integer.toHexString(expected)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. lib/fips140/v1.0.0.zip

    OUTMASK V9 #define OUTHEAD V10 #define OUTTAIL V11 // For P9 instruction emulation #define ESPERM V21 // Endian swapping permute into BE #define TMP2 V22 // Temporary for P8_STXVB16X/P8_STXVB16X // For {en,de}cryptBlockAsm #define BLK_INP R3 #define BLK_OUT R4 #define BLK_KEY R5 #define BLK_ROUNDS R6 #define BLK_IDX R7 DATA ·rcon+0x00(SB)/8, $0x0f0e0d0c0b0a0908 // Permute for vector doubleword endian swap DATA ·rcon+0x08(SB)/8, $0x0706050403020100 DATA ·rcon+0x10(SB)/8, $0x0100000001000000 // RCON DATA...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                nonces[i] = encryptionContext.generateNonce();
            }
    
            // Then - Check that counter portion has entropy
            // For SMB3-compliant nonces, the first 8 bytes are a counter (little-endian)
            // so we check that the counter bytes change as expected
            Set<String> uniqueCounters = new HashSet<>();
            for (int i = 0; i < sampleSize; i++) {
                // Extract first 8 bytes as counter
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top