- Sort Score
- Num 10 results
- Language All
Results 891 - 900 of 1,956 for Read (0.02 seconds)
-
cmd/object_api_suite_test.go
return &testOneByteReadNoEOF{false, data} } // testOneByteReadNoEOF - implements io.Reader which returns 1 byte and nil error, but // returns io.EOF on the next Read(). type testOneByteReadNoEOF struct { eof bool data []byte } func (r *testOneByteReadNoEOF) Read(p []byte) (n int, err error) { if r.eof { return 0, io.EOF } n = copy(p, r.data) r.eof = true return n, nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 34.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
for (int i = 0; i < nameBytes.length; i++) { assertEquals(nameBytes[i], dst[12 + i]); } assertEquals((byte) 0x00, dst[12 + nameBytes.length]); } /** * read*WireFormat methods in request return 0 (not implemented for requests). */ @Test void testReadWireFormatStubsReturnZero() { // Given
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
throws IOException; /** * Calculates checksums for specified stream. Upon this method returns, the stream will be depleted (fully read) * but not closed. * * @param stream The stream for which to calculate checksums, must not be {@code null}. * @param algorithms The checksum algorithms to use, must not be {@code null}.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 10 20:52:34 GMT 2024 - 6.4K bytes - Click Count (0) -
docs/debugging/inspect/main.go
n := 1 var base, ext string base = *privKeyPath if idx := strings.LastIndexByte(base, '.'); idx != -1 { ext = base[idx:] base = base[:idx] } for { // Automatically read "file.ext", "file-2.ext", "file-3.ext"... fn := base + ext if n > 1 { fn = fmt.Sprintf("%s-%d%s", base, n, ext) } if b, err := os.ReadFile(fn); err == nil { privateKeys = append(privateKeys, b)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 17 17:09:42 GMT 2025 - 5.7K bytes - Click Count (0) -
cmd/bucket-policy-handlers.go
return } // Check if bucket exists. if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Read bucket access policy. config, err := globalPolicySys.Get(bucket) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } configData, err := json.Marshal(config)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 6.1K bytes - Click Count (0) -
internal/http/listener.go
Interface string // This is a VRF device passed via `--interface` flag Trace func(msg string) // Trace when starting. IdleTimeout time.Duration // Incoming TCP read/write timeout } // ForWebsocket returns TCPOptions valid for websocket net.Conn func (t TCPOptions) ForWebsocket() TCPOptions { return TCPOptions{ UserTimeout: t.UserTimeout, Interface: t.Interface,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.8K bytes - Click Count (0) -
src/bufio/example_test.go
fmt.Println("Buffer contents:", buf.String()) // Output: // Bytes written: 41 // Buffer contents: Hello, world! // This is a ReadFrom example. } // The simplest use of a Scanner, to read standard input as a set of lines. func ExampleScanner_lines() { scanner := bufio.NewScanner(os.Stdin) for scanner.Scan() { fmt.Println(scanner.Text()) // Println will add back the final '\n' }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.21.md
- [Urgent Upgrade Notes](#urgent-upgrade-notes) - [(No, really, you MUST read this before you upgrade)](#no-really-you-must-read-this-before-you-upgrade) - [Changes by Kind](#changes-by-kind-13) - [Deprecation](#deprecation) - [API Change](#api-change-3) - [Feature](#feature-11)Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Fri Oct 14 07:03:14 GMT 2022 - 367.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
} @Test public void test_run_withIOException() throws InterruptedException { InputStream faultyStream = new InputStream() { @Override public int read() throws IOException { throw new IOException("Test exception"); } }; InputStreamThread thread = new InputStreamThread(faultyStream, StandardCharsets.UTF_8, 10, null);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12K bytes - Click Count (0) -
cmd/batch-job-common-types.go
// compress: true # S2/Snappy compressed archive // smallerThan: 5MiB # create archive for all objects smaller than 5MiB // skipErrs: false # skips any source side read() errors // BatchJobSnowball describes the snowball feature when replicating objects from a local source to a remote target type BatchJobSnowball struct { line, col intCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0)