- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 376 for readn (6.33 sec)
-
src/main/java/jcifs/smb1/smb1/ACE.java
/** Permission to read file attributes */ public static final int FILE_READ_ATTRIBUTES = 0x00000080; // 8 /** Permission to write file attributes */ public static final int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9 /** Standard delete permission */ public static final 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 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
byte[] smallOutputBuffer = new byte[5]; TransCallNamedPipeResponse smallResponse = new TransCallNamedPipeResponse(mockConfig, smallOutputBuffer); byte[] buffer = new byte[100]; // Try to read more data than output buffer can hold SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> smallResponse.readDataWireFormat(buffer, 0, 10));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java
try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, charset))) { String line; Character detectedDelimiter = delimiter; // Read header row if needed if (hasHeader) { while ((line = reader.readLine()) != null) { if (StringUtil.isBlank(line)) { continue; }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); byte[] buffer = new byte[1024]; int read = request.readBytesWireFormat(buffer, 0); // This method always returns 0 for requests assertEquals(0, read); } @Test @DisplayName("Test with unspecified file ID") void testWithUnspecifiedFileId() { setupMockConfig();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
* SMB2 Lock requests for byte-range locking. * * @author mbechler */ public class Smb2Lock implements Encodable { /** * Flag indicating a shared lock that allows concurrent read access. */ public static final int SMB2_LOCKFLAG_SHARED_LOCK = 0x1; /** * Flag indicating an exclusive lock that prevents any other access. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
* ServerMessageBlock would have to perform the same read * operation on the input stream, we might as will pull that * common functionality into the superclass and read wordCount * and byteCount worth of data. * * We will still use the readXxxWireFormat return values to * indicate how many bytes(note: readParameterWordsWireFormat * returns bytes read and not the number of words(but theRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Read the data int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex); // Verify results assertEquals(20, bytesRead); assertEquals(fileAttributes, response.getAttributes()); assertEquals(fileSize, response.getSize()); // Verify time was read correctly (accounting for UTime conversion)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
try { QueryLog queryLog = queryLogReader.read(); while (queryLog != null) { if (Thread.currentThread().isInterrupted()) { break; } queryLogs.add(queryLog); queryLog = queryLogReader.read();Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 34.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertArrayEquals(originalBuffer, buffer); } } @Nested @DisplayName("Read Bytes Wire Format Tests") class ReadBytesWireFormatTests { @Test @DisplayName("Should read valid structure size of 4") void testReadBytesWireFormatValid() throws SMBProtocolDecodingException { byte[] buffer = new byte[1024];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
int start = bufferIndex; if (len < 52) { throw new SMBProtocolDecodingException("Lease V2 context data too short: " + len); } // Read lease V2 data (52 bytes) byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0)