- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,746 for reads (0.02 sec)
-
internal/event/target/redis.go
if err != nil { return err } if _, err := conn.Do("RPUSH", target.args.Key, data); err != nil { return err } } return nil } // SendFromStore - reads an event from store and sends it to redis. func (target *RedisTarget) SendFromStore(key store.Key) error { if err := target.init(); err != nil { return err } conn := target.pool.Get() defer conn.Close()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
@Nested @DisplayName("Integration Tests") class IntegrationTests { @Test @DisplayName("Should maintain state after multiple reads") void testMultipleReads() throws SMBProtocolDecodingException { // First read byte[] buffer1 = createValidWriteResponse(1024, 512); response.readBytesWireFormat(buffer1, 0); assertEquals(1024, response.getCount());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
cmd/storage-errors.go
return errFileNotFound } if isSysErrIO(err) { return errFaultyDisk } if isSysErrInvalidArg(err) { storageLogIf(context.Background(), err) // For some odd calls with O_DIRECT reads // filesystems can return EINVAL, handle // these as FileNotFound instead. return errFileNotFound } if isSysErrNoSpace(err) { return errDiskFull } return err
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
} private static class AdocFileEntry { @SerializedName("filename") String filename; @SerializedName("anchors") List<String> anchors; } /** * Reads a JSON file and finds any .adoc files listed that are missing from the given directory. */ private static List<String> findMissingAdocFiles(File jsonFile, String directoryPath) throws IOException {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Aug 21 15:38:58 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
return Smb2Constants.SMB2_HEADER_LENGTH; } /** * Reads the SMB2 header from the wire format. * * @param buffer the buffer to read from * @param bufferIndex the starting position in the buffer * @return number of bytes read */ protected int readHeaderWireFormat(final byte[] buffer, int bufferIndex) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertEquals(TransPeekNamedPipeResponse.STATUS_LISTENING, response.getStatus()); // Middle bytes were read but not used } @Test @DisplayName("Test consecutive reads update state correctly") void testConsecutiveReads() { // First read byte[] buffer1 = new byte[10]; SMBUtil.writeInt2(100, buffer1, 0); SMBUtil.writeInt2(0, buffer1, 2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} } /** * Test that resource content is properly read using readAllBytes. * Verifies that the new implementation correctly reads entire resource content. */ @Test public void testResourceReading_readAllBytesCorrectness() throws Exception { // Read using the new method (readAllBytes) String contentNew;Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
internal/event/target/nsq.go
if err != nil { return err } return target.producer.Publish(target.args.Topic, data) } // SendFromStore - reads an event from store and sends it to NSQ. func (target *NSQTarget) SendFromStore(key store.Key) error { if err := target.init(); err != nil { return err } _, err := target.isActive() if err != nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); byte[] buffer = new byte[10]; int read = response.readSetupWireFormat(buffer, 0, 10); assertEquals(0, read); } @Test void testReadParametersWireFormat() { // Test readParametersWireFormat returns 0
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
update(sequence, 0, sequence.length); index += 8; if (response.command == ServerMessageBlock.SMB_COM_READ_ANDX) { /* SmbComReadAndXResponse reads directly from the stream into separate byte[] b. */ final SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) response; final int length = response.length - raxr.dataLength;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0)