- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,129 for dsbyte (0.06 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private static final int STRUCTURE_SIZE = 16; private byte[] fileId; // 16-byte file ID from previous open /** * Create a new durable handle reconnect context * @param fileId the 16-byte file ID from the previous open */ public DurableHandleReconnect(byte[] fileId) { if (fileId.length != 16) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
Name name = new Name(mockConfig, "TEST", 0x20, "scope.com"); byte[] dst = new byte[100]; int length = name.writeWireFormat(dst, 0); // Scope should start at position 33 with a length byte (not '.') // The first byte after encoding would be the length of "scope" assertEquals(5, dst[33]); // Length of "scope"
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java
super(config); } @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; buffer[bufferIndex] = (byte) 0x00; // Reserved bufferIndex++; buffer[bufferIndex++] = (byte) 0x00; // Reserved buffer[bufferIndex++] = (byte) 0x00; // Reserved this.totalParameterCount = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
*/ @Override public int size() { return 24; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt8(this.offset, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt8(this.length, dst, dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
dstIndex += 4; for (int i = 0; i < 4; i++) { dst[dstIndex++] = (byte) 0xFF; } writeInt2(writeMode, dst, dstIndex); dstIndex += 2; writeInt2(remaining, dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(dataLength, dst, dstIndex); dstIndex += 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
void testDecodeReadsCorrectBytes() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; // Fill with pattern to verify we read correct bytes for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i + 1); } // Decode int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
} public void testReset() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE); ByteSource source = out.asByteSource(); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.reset(); assertTrue(Arrays.equals(new byte[0], source.read())); out.write(data);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
public short time_hi_and_version; /** The high field of the clock sequence multiplexed with the variant */ public byte clock_seq_hi_and_reserved; /** The low field of the clock sequence */ public byte clock_seq_low; /** The spatially unique node identifier */ public byte[] node; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
throw closer.rethrow(e); } finally { closer.close(); } } /** * Reads the full contents of this byte source as a byte array. * * @throws IOException if an I/O error occurs while reading from this source */ public byte[] read() throws IOException { Closer closer = Closer.create(); try { InputStream in = closer.register(openStream());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
assertFalse(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_PATTERN_V1)); } @Test @DisplayName("Test context encoding") public void testEncoding() { byte[] buffer = new byte[256]; int encodedSize = context.encode(buffer, 0); assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms assertEquals(context.size(), encodedSize); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0)