- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 2,052 for byte (0.11 seconds)
-
src/main/java/jcifs/smb1/util/HMACT64.java
* in which the key is truncated at 64 bytes (rather than being hashed * via MD5). */ public class HMACT64 extends MessageDigest implements Cloneable { private static final int BLOCK_LENGTH = 64; private static final byte IPAD = (byte) 0x36; private static final byte OPAD = (byte) 0x5c; private MessageDigest md5; private byte[] ipad = new byte[BLOCK_LENGTH];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
totalRemarkSize += remark.length() + 1; } byte[] buffer = new byte[totalEntrySize + totalRemarkSize + 100]; int bufferIndex = 0; int remarkOffset = totalEntrySize; // Write all entries for (int i = 0; i < numShares; i++) { // Write share name (14 bytes) byte[] nameBytes = shareNames[i].getBytes(StandardCharsets.US_ASCII);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
*/ @Test void testConstructorWithEmptyToken() { byte[] emptyToken = new byte[0]; assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken)); } /** * Test constructor with a malformed token (not ASN.1). */ @Test void testConstructorWithMalformedToken() { byte[] malformedToken = "This is not a valid token".getBytes();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
internal/grid/grid.go
) var internalByteBuffer = bpool.Pool[*[]byte]{ New: func() *[]byte { m := make([]byte, 0, defaultBufferSize) return &m }, } var internal32KByteBuffer = bpool.Pool[*[]byte]{ New: func() *[]byte { m := make([]byte, 0, biggerBufMin) return &m }, } // GetByteBuffer can be replaced with a function that returns a small // byte buffer. // When replacing PutByteBuffer should also be replaced
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
new byte[] {LEAST}, new byte[] {LEAST, LEAST}, new byte[] {LEAST, (byte) 1}, new byte[] {(byte) 1}, new byte[] {(byte) 1, LEAST}, new byte[] {GREATEST, GREATEST - (byte) 1}, new byte[] {GREATEST, GREATEST}, new byte[] {GREATEST, GREATEST, GREATEST}); Comparator<byte[]> comparator = SignedBytes.lexicographicalComparator();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
// Test Trans2 subcommands assertEquals((byte) 0x01, SmbComTransaction.TRANS2_FIND_FIRST2); assertEquals((byte) 0x02, SmbComTransaction.TRANS2_FIND_NEXT2); assertEquals((byte) 0x03, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION); assertEquals((byte) 0x05, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION); assertEquals((byte) 0x10, SmbComTransaction.TRANS2_GET_DFS_REFERRAL);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
byte[] data = new byte[] { (byte) 0xF0, (byte) 0xDE, (byte) 0xBC, (byte) 0x9A, 0x78, 0x56, 0x34, 0x12 }; PacDataInputStream pdis = createInputStream(data); assertEquals(0x123456789ABCDEF0L, pdis.readLong()); } @Test public void testReadUnsignedByte() throws IOException { byte[] data = new byte[] { (byte) 0xFF };Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
private static class AppendableByteSource extends ByteSource { private byte[] bytes; AppendableByteSource(byte[] initialBytes) { this.bytes = initialBytes.clone(); } @Override public InputStream openStream() { return new In(); } void append(byte[] b) { byte[] newBytes = Arrays.copyOf(bytes, bytes.length + b.length);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
buffer.position(20); buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x01); // SubAuthorityCount buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority buffer.putInt(0); // SubAuthority // Group SID at offset 40 buffer.position(40); buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x01); // SubAuthorityCount
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
byte[] dst = new byte[buffer.size()]; 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 2Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0)