- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,351 for BYTE (0.12 sec)
-
android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
private enum HashMethod { MESSAGE_DIGEST_API() { @Override public byte[] hash(Algorithm algorithm, byte[] input) { MessageDigest md = algorithm.getMessageDigest(); md.update(input); return md.digest(); } }, HASH_FUNCTION_DIRECT() { @Override public byte[] hash(Algorithm algorithm, byte[] input) { return algorithm.getHashFunction().hashBytes(input).asBytes(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
private enum HashMethod { MESSAGE_DIGEST_API() { @Override public byte[] hash(Algorithm algorithm, byte[] input) { MessageDigest md = algorithm.getMessageDigest(); md.update(input); return md.digest(); } }, HASH_FUNCTION_DIRECT() { @Override public byte[] hash(Algorithm algorithm, byte[] input) { return algorithm.getHashFunction().hashBytes(input).asBytes(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
return tmp[0] & 0xFF; } /** * Reads bytes from the file into the specified byte array. * * @param b the byte array to read data into * @return the number of bytes read, or -1 if end of file is reached * @throws SmbException if an I/O error occurs */ public int read(final byte b[]) throws SmbException { return read(b, 0, b.length); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
verifyNfold("password", 7, new byte[] { (byte) 0x78, (byte) 0xa0, (byte) 0x7b, (byte) 0x6c, (byte) 0xaf, (byte) 0x85, (byte) 0xfa }); // 64-fold("Rough Consensus, and Running Code") verifyNfold("Rough Consensus, and Running Code", 8, new byte[] { (byte) 0xbb, (byte) 0x6e, (byte) 0xd3, (byte) 0x08, (byte) 0x70, (byte) 0xb7, (byte) 0xf0, (byte) 0xe0 }); // 64-fold("kerberos")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
@Override @CanIgnoreReturnValue public Hasher putShort(short s) { putByte((byte) s); putByte((byte) (s >>> 8)); return this; } @Override @CanIgnoreReturnValue public Hasher putInt(int i) { putByte((byte) i); putByte((byte) (i >>> 8)); putByte((byte) (i >>> 16)); putByte((byte) (i >>> 24)); return this; } @Override @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
uuid.time_mid = (short) 0x9ABC; uuid.time_hi_and_version = (short) 0xDEF0; uuid.clock_seq_hi_and_reserved = (byte) 0x11; uuid.clock_seq_low = (byte) 0x22; uuid.node = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF }; // Mock the derive method to return a buffer for node encoding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvSingleHost.java
private static byte[] encode(final byte[] customData, final byte[] machineId) { final int size = 8 + 8 + 32; final byte[] enc = new byte[size]; SMBUtil.writeInt4(size, enc, 0); SMBUtil.writeInt4(0, enc, 4); System.arraycopy(customData, 0, enc, 8, 8); System.arraycopy(machineId, 0, enc, 16, 32); return enc; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
@Test void testWriteSetupWireFormat() { byte[] dst = new byte[10]; int result = response.writeSetupWireFormat(dst, 0); assertEquals(0, result, "writeSetupWireFormat should always return 0."); } /** * Tests the writeParametersWireFormat method. */ @Test void testWriteParametersWireFormat() { byte[] dst = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
} // KGS!@#$% static final byte[] S8 = { (byte) 0x4b, (byte) 0x47, (byte) 0x53, (byte) 0x21, (byte) 0x40, (byte) 0x23, (byte) 0x24, (byte) 0x25 }; /* * Accepts key multiple of 7 * Returns enc multiple of 8 * Multiple is the same like: 21 byte key gives 24 byte result */ static void E(final byte[] key, final byte[] data, final byte[] e) throws ShortBufferException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
/** * Size of the transform header in bytes */ public static final int TRANSFORM_HEADER_SIZE = 52; private final byte[] signature = new byte[16]; private final byte[] nonce = new byte[16]; private int originalMessageSize; private int flags; private long sessionId; /** * Create a new SMB2 Transform Header */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0)