- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 342 for READ (2.8 sec)
-
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
/** * Test for the readSetupWireFormat method. * It should always return 0. */ @Test void testReadSetupWireFormat() { byte[] buffer = new byte[10]; // The method should not read anything and return 0 assertEquals(0, response.readSetupWireFormat(buffer, 0, 10), "readSetupWireFormat should return 0."); } /** * Test for the readParametersWireFormat method.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
} return dstIndex - start; } /** * Reads the AndX wire format from buffer * @param buffer the buffer to read from * @param bufferIndex the starting index * @return the number of bytes read * @throws SMBProtocolDecodingException if decoding fails */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
/** * Permission to read file attributes */ int FILE_READ_ATTRIBUTES = 0x00000080; // 8 /** * Permission to write file attributes */ int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9 /** * Standard delete permission */ int DELETE = 0x00010000; // 16 /** * Permission to read the security descriptor */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes ByteArrayInputStream bais = new ByteArrayInputStream(data); SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); // Create a buffer large enough to hold the read bytes byte[] buffer = new byte[6];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
final int ftag = in.read(); final int tag = readTagNumber(in, ftag); if (tag != expectTag) { throw new IOException("Unexpected tag " + tag); } final int length = readLength(in, limit, false); final byte[] content = new byte[length]; in.read(content); return content; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
// Read first 5 bytes byte[] buffer = new byte[5]; int bytesRead = stream.read(buffer); assertEquals(5, bytesRead); assertEquals("Hello", new String(buffer, 0, bytesRead, "UTF-8")); // Read remaining bytes byte[] remaining = new byte[20]; int remainingBytes = stream.read(remaining);Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; // Read total allocation units. this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // read caller available allocation units this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // skip actual free units
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int CAP_LEVEL_II_OPLOCKS = 0x0080; /** Lock and read capability */ int CAP_LOCK_AND_READ = 0x0100; /** NT find capability */ int CAP_NT_FIND = 0x0200; /** DFS capability */ int CAP_DFS = 0x1000; /** Extended security capability */ int CAP_EXTENDED_SECURITY = 0x80000000; // file attribute encoding /** Read-only file attribute */ int ATTR_READONLY = 0x01;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
@Test @DisplayName("Test read string with Unicode") void testReadStringUnicode() { testBlock.setUseUnicode(true); byte[] buffer = Strings.getUNIBytes("Test\0"); String result = testBlock.readString(buffer, 0); assertEquals("Test", result); } @Test @DisplayName("Test read string without Unicode")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0)