- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,352 for BYTE (0.01 sec)
-
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
void testReadULong() { byte[] a = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04 }; int result = NtlmMessage.readULong(a, 0); assertEquals(0x04030201, result, "ULong should be little‑endian"); } @Test @DisplayName("readUShort correctly interprets little endian") void testReadUShort() { byte[] a = new byte[] { (byte) 0xAA, (byte) 0xBB };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
byte[] emptyData = new byte[8]; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(emptyData, keys)); // Any PACDecodingException is acceptable for this test assertNotNull(e.getMessage()); } @Test void testTooSmallPac() { // Test that PAC smaller than 8 bytes is rejected byte[] smallData = new byte[4];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K 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) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
* @param buffer * the transaction buffer to use */ public void setBuffer(final byte[] buffer) { this.txn_buf = buffer; } /** * Releases and returns the transaction buffer * @return the txn_buf */ public byte[] releaseBuffer() { final byte[] buf = this.txn_buf; this.txn_buf = null; return buf; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
/** * Channel type for RDMA version 1 with invalidate */ public static int SMB2_CHANNEL_RDMA_V1_INVALIDATE = 0x2; private byte[] fileId; private final byte[] outputBuffer; private final int outputBufferOffset; private byte padding; private byte readFlags; private int readLength; private long offset; private int minimumCount; private int channel; private int remainingBytes;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
byte[] dst = new byte[10]; // When int bytesWritten = transCallNamedPipe.writeSetupWireFormat(dst, 0); // Then assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_CALL_NAMED_PIPE, dst[0]); assertEquals((byte) 0x00, dst[1]); assertEquals((byte) 0x00, dst[2]); assertEquals((byte) 0x00, dst[3]); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
// KGS!@#$% private 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 */ private static void E(final byte[] key, final byte[] data, final byte[] e) { final byte[] key7 = new byte[7];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* @since 8.0 */ public static final byte SP = 32; /** * Alternate name for {@link #SP}. * * @since 8.0 */ public static final byte SPACE = 32; /** * Delete: This character is used primarily to "erase" or "obliterate" erroneous or unwanted * characters in perforated tape. * * @since 8.0 */ public static final byte DEL = 127; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
void testDifferentSessionKeys() throws GeneralSecurityException { byte[] sessionKey1 = new byte[16]; Arrays.fill(sessionKey1, (byte) 0x11); byte[] sessionKey2 = new byte[16]; Arrays.fill(sessionKey2, (byte) 0x22); Smb2SigningDigest digest1 = new Smb2SigningDigest(sessionKey1, Smb2Constants.SMB2_DIALECT_0202, null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0)