- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 1,693 for byte2 (0.02 sec)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
this.maxDataCount = 40; this.maxSetupCount = (byte) 0x00; } @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = this.getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
void testSpecialFileIdPatterns() { // Test various special patterns byte[] allZeros = new byte[16]; byte[] allOnes = new byte[16]; Arrays.fill(allOnes, (byte) 0xFF); byte[] alternating = new byte[16]; for (int i = 0; i < alternating.length; i++) { alternating[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
out.write(b); verify(hashFunction).newHasher(); verify(hasher).putByte((byte) b); verifyNoMoreInteractions(hashFunction, hasher); } public void testWrite_putByteArray() throws Exception { byte[] buf = new byte[] {'y', 'a', 'm', 's'}; HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); out.write(buf);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} @Override public void write(final int b) throws SmbException { this.tmp[0] = (byte) b; write(this.tmp, 0, 1); } @Override public void write(final byte b[]) throws SmbException { write(b, 0, b.length); } @Override public void write(final byte b[], int off, int len) throws SmbException { if (len <= 0) { return; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
final Type3Message type3 = new Type3Message(src); byte[] lmResponse = type3.getLMResponse(); if (lmResponse == null) { lmResponse = new byte[0]; } byte[] ntResponse = type3.getNTResponse(); if (ntResponse == null) { ntResponse = new byte[0]; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
/** * Tests the constructor with a valid byte array. */ @Test void testConstructorWithValidData() { // A byte array with a length less than 32 should be considered valid. byte[] validData = new byte[31]; assertDoesNotThrow(() -> new PacCredentialType(validData)); } /** * Tests the constructor with a null byte array, which should throw an exception. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
assertEquals("guest", accountName); assertEquals("DOM", primaryDomain); byte[] lm = (byte[]) getField(obj, "lmHash"); byte[] nt = (byte[]) getField(obj, "ntHash"); assertArrayEquals(new byte[0], lm); assertArrayEquals(new byte[0], nt); } @Test void unsupportedCredentialType() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
private static final short TIME_HI_AND_VERSION = (short) 0x6677; private static final byte CLOCK_SEQ_HI_AND_RESERVED = (byte) 0x88; private static final byte CLOCK_SEQ_LOW = (byte) 0x99; private static final byte[] NODE = { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF }; @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
@Param({"10", "100", "10000"}) int n; private final byte[][] encodingInputs = new byte[INPUTS_COUNT][]; private final String[] decodingInputs = new String[INPUTS_COUNT]; @BeforeExperiment public void setUp() { Random rng = new Random(); for (int i = 0; i < encodingInputs.length; i++) { encodingInputs[i] = new byte[n]; rng.nextBytes(encodingInputs[i]);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertEquals(60000, request.getTimeoutMs()); assertFalse(request.isPersistent()); } @Test public void testDurableHandleReconnect() { byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } DurableHandleReconnect reconnect = new DurableHandleReconnect(fileId); assertEquals("DHnC", new String(reconnect.getName()));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0)