- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,351 for BYTE (0.01 sec)
-
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
domainInfo.sid = new rpc.sid_t(); domainInfo.sid.revision = 1; domainInfo.sid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 }; domainInfo.sid.sub_authority_count = 2; domainInfo.sid.sub_authority = new int[] { 21, 12345 }; // Encode to buffer byte[] buffer = new byte[1024]; NdrBuffer encodeBuffer = new NdrBuffer(buffer, 0); domainInfo.encode(encodeBuffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
* * <p>This abstraction allows us to use single-instruction load and put when available, or fall * back on the slower approach of using Longs.fromBytes(byte...). */ private interface LittleEndianBytes { long getLongLittleEndian(byte[] array, int offset); void putLongLittleEndian(byte[] array, int offset, long value);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K 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) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java
*/ public class Smb2QueryInfoRequest extends ServerMessageBlock2Request<Smb2QueryInfoResponse> implements RequestWithFileId { private byte infoType; private byte fileInfoClass; private final int outputBufferLength; private int additionalInformation; private int queryFlags; private byte[] fileId; private Encodable inputBuffer; /** * Constructs a SMB2 query info request with the specified configuration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
return false; } byte[] bytes = ip.getAddress(); if ((bytes[8] | (byte) 0x03) != (byte) 0x03) { // Verify that high byte of the 64 bit identifier is zero, modulo // the U/L and G bits, with which we are not concerned. return false; } return (bytes[9] == (byte) 0x00) && (bytes[10] == (byte) 0x5e) && (bytes[11] == (byte) 0xfe); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
SmbTreeHandleImpl sh = newTreeHandle(false); // force non-SMB2 path to avoid server-side branch SmbTreeHandleImpl dh = newTreeHandle(false); byte[][] buffers = new byte[][] { new byte[8], new byte[8] }; when(src.toString()).thenReturn("smb://src"); when(dest.toString()).thenReturn("smb://dest"); // Act + Assert SmbException ex =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K 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) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} @Test @DisplayName("Should handle various file ID sizes") void testVariousFileIdSizes() { byte[] shortFileId = new byte[8]; byte[] standardFileId = new byte[16]; byte[] longFileId = new byte[32]; assertDoesNotThrow(() -> request.setFileId(shortFileId)); assertDoesNotThrow(() -> request.setFileId(standardFileId));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (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 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
static final byte[] header = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B', (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0)