- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 1,019 for readFn (0.1 seconds)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
assertTrue(str.contains("endOfFile=2048")); } } @Nested @DisplayName("Data Reading Tests") class DataReadingTests { @Test @DisplayName("Should read data for basic info level") void testReadDataBasicInfo() { Trans2QueryPathInformationResponse resp =
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
// First read response.readDataWireFormat(buffer1, 0, firstData.length); byte[] firstResult = new byte[firstData.length]; System.arraycopy(outputBuffer, 0, firstResult, 0, firstData.length); assertArrayEquals(firstData, firstResult); // Second read (should overwrite) response.readDataWireFormat(buffer2, 0, secondData.length);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
internal/logger/reqinfo.go
Val string } // ObjectVersion object version key/versionId type ObjectVersion struct { ObjectName string VersionID string `json:"VersionId,omitempty"` } // ReqInfo stores the request info. // Reading/writing directly to struct requires appropriate R/W lock. type ReqInfo struct { RemoteHost string // Client Host/IP Host string // Node Host/IP UserAgent string // User AgentCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/debugging/inspect/export.go
// Read metadata CRC (added in v2, ignore if not found) b = nbuf } _, e = msgp.CopyToJSON(buf, bytes.NewReader(v)) if e != nil { return nil, e } data = b case 3: v, b, e := msgp.ReadBytesZC(b) if e != nil { return nil, e } if _, nbuf, e := msgp.ReadUint32Bytes(b); e == nil { // Read metadata CRC (added in v2, ignore if not found)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (1) -
docs/sts/assume-role.go
if f, err := os.Open(sessionPolicyFile); err != nil { log.Fatalf("Unable to open session policy file: %v", err) } else { defer f.Close() bs, err := io.ReadAll(f) if err != nil { log.Fatalf("Error reading session policy file: %v", err) } policy = string(bs) } stsOpts.Policy = policy } if expiryDuration != 0 { stsOpts.DurationSeconds = int(expiryDuration.Seconds()) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Aug 17 01:24:54 GMT 2024 - 4.4K bytes - Click Count (1) -
cmd/post-policy_test.go
} writer.Write([]byte("hello world")) // Close before creating the new request. w.Close() // Set the body equal to the created policy. reader := bytes.NewReader(buf.Bytes()) req, err := http.NewRequest(http.MethodPost, makeTestTargetURL(endPoint, bucketName, "", nil), reader) if err != nil { return nil, err } // Set form content-type. req.Header.Set("Content-Type", w.FormDataContentType())
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
src/archive/tar/common.go
// other fields in Header take precedence over PAXRecords. PAXRecords map[string]string // Format specifies the format of the tar header. // // This is set by Reader.Next as a best-effort guess at the format. // Since the Reader liberally reads some non-compliant files, // it is possible for this to be FormatUnknown. // // If the format is unspecified when Writer.WriteHeader is called,
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
api/go1.txt
pkg bufio, func NewWriter(io.Writer) *Writer pkg bufio, func NewWriterSize(io.Writer, int) *Writer pkg bufio, method (*Reader) Buffered() int pkg bufio, method (*Reader) Peek(int) ([]uint8, error) pkg bufio, method (*Reader) Read([]uint8) (int, error) pkg bufio, method (*Reader) ReadByte() (uint8, error) pkg bufio, method (*Reader) ReadBytes(uint8) ([]uint8, error)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
final EditBody body = new EditBody(); body.id = entity.getId(); body.dictId = dictId; body.token = entity.getToken(); body.reading = entity.getReading(); body.pos = entity.getPos(); body.segmentation = entity.getSegmentation(); return body; }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
@Mock private SmbFile smbFile; // Provides file names and whether a simple name-based filter should accept them private static Stream<Arguments> nameCases() { return Stream.of(Arguments.of("readme.txt", true), Arguments.of("notes.log", false), Arguments.of("", false), Arguments.of(null, false)); } @Test @DisplayName("accept: returns true for directories; verifies isDirectory is invoked")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0)