- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,066 for readOp (0.15 sec)
-
cmd/object_api_suite_test.go
// Return pointer to testOneByteReadNoEOF{} func newTestReaderNoEOF(data []byte) io.Reader { 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 }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
internal/ioutil/wait_pipe.go
type PipeReader struct { *io.PipeReader wait func() } // CloseWithError close with supplied error the reader end func (r *PipeReader) CloseWithError(err error) error { err = r.PipeReader.CloseWithError(err) r.wait() return err } // WaitPipe implements wait-group backend io.Pipe to provide // synchronization between read() end with write() end. func WaitPipe() (*PipeReader, *PipeWriter) { r, w := io.Pipe()
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Apr 27 14:55:36 UTC 2023 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
final List<KuromojiItem> itemList = new ArrayList<>(); try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) { long id = 0; String line = null; while ((line = reader.readLine()) != null) { // Remove comments
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.7K bytes - Viewed (0) -
cni/pkg/constants/constants.go
CNIEventSocketName = "pluginevent.sock" LogUDSSocketName = "log.sock" CNIPluginKubeconfName = "istio-cni-kubeconfig" // K8s liveness and readiness endpoints LivenessEndpoint = "/healthz" ReadinessEndpoint = "/readyz" ReadinessPort = "8000" ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount" ) // Exposed for testing "constants" var ( CNIBinDir = "/opt/cni/bin" HostCNIBinDir = "/host/opt/cni/bin"
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 3K bytes - Viewed (0) -
ci/official/utilities/code_check_full.bats
false fi done } @test "No duplicate files on Windows" { cat <<EOF Please rename files so there are no repeats. For example, README.md and Readme.md would be the same file on Windows. In this test, you would get a warning for "readme.md" because it makes everything lowercase. There are repeats of these filename(s) with different casing: EOF
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Wed Oct 23 18:48:35 UTC 2024 - 13.6K bytes - Viewed (0) -
src/archive/tar/writer.go
// readFrom populates the content of the current file by reading from r. // The bytes read must match the number of remaining bytes in the current file. // // If the current file is sparse and r is an io.ReadSeeker, // then readFrom uses Seek to skip past holes defined in Header.SparseHoles, // assuming that skipped regions are all NULs. // This always reads the last byte to ensure r is the right size. //
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
api/go1.4.txt
pkg compress/flate, type Resetter interface, Reset(io.Reader, []uint8) error pkg compress/zlib, type Resetter interface { Reset } pkg compress/zlib, type Resetter interface, Reset(io.Reader, []uint8) error # CL 159120044 compress/gzip: allow stopping at end of first stream, Russ Cox <******@****.***> pkg compress/gzip, method (*Reader) Multistream(bool)
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
if err != nil { return nil, err } defer file.Close() return parseMountFrom(file) } func parseMountFrom(file io.Reader) (mountInfos, error) { mounts := mountInfos{} scanner := bufio.NewReader(file) for { line, err := scanner.ReadString('\n') if err == io.EOF { break } fields := strings.Fields(line) if len(fields) != expectedNumFieldsPerLine {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.7K bytes - Viewed (0) -
cmd/peer-rest-client.go
values := make(url.Values) values.Set(peerRESTURL, u.String()) values.Set(peerRESTSha256Sum, hex.EncodeToString(sha256Sum)) values.Set(peerRESTReleaseInfo, releaseInfo) respBody, err := client.callWithContext(ctx, peerRESTMethodVerifyBinary, values, reader, -1) if err != nil { return err }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
} timeTierAction := auditTierActions(ctx, oi.TransitionedObject.Tier, length) reader, err := tgtClient.Get(ctx, oi.TransitionedObject.Name, remoteVersionID(oi.TransitionedObject.VersionID), gopts) if err != nil { return nil, err } closer := func() { timeTierAction(reader.Close()) } return fn(reader, h, closer) } // RestoreRequestType represents type of restore. type RestoreRequestType string
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Oct 23 15:35:37 UTC 2024 - 33.7K bytes - Viewed (0)