- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 42 for readArg (0.14 sec)
-
doc/go1.17_spec.html
<code>T</code>’s embedded interfaces. </p> <pre> type Reader interface { Read(p []byte) (n int, err error) Close() error } type Writer interface { Write(p []byte) (n int, err error) Close() error } // ReadWriter's methods are Read, Write, and Close. type ReadWriter interface { Reader // includes methods of Reader in ReadWriter's method set
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator.go
} // For attachable volume types, lets check if volume is attached by reading from node lister. // This would avoid exponential back-off and creation of goroutine unnecessarily. We still // verify status of attached volume by directly reading from API server later on.This is necessarily // to ensure any race conditions because of cached state in the informer.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
} func (b *Builder) loadCachedVet(a *Action) error { c := cache.Default() list, _, err := cache.GetBytes(c, cache.Subkey(a.actionID, "srcfiles")) if err != nil { return fmt.Errorf("reading srcfiles list: %w", err) } var srcfiles []string for _, name := range strings.Split(string(list), "\n") { if name == "" { // end of list continue } if strings.HasPrefix(name, "./") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
}, }, RoleRef: rbac.RoleRef{ Kind: "Role", Name: "extension-apiserver-authentication-reader", }, }, options: printers.GenerateOptions{}, // Columns: Name, Age expected: []metav1.TableRow{{Cells: []interface{}{"binding1", "Role/extension-apiserver-authentication-reader", "0s"}}}, }, // Generate options=Wide; print subject and roles. { binding: rbac.RoleBinding{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
val response = call.execute() val inputStream = response.body.byteStream() assertThat(inputStream.read().toChar()).isEqualTo('A') call.cancel() assertFailsWith<IOException> { // Reading 'B' may succeed if it's buffered. inputStream.read() // But 'C' shouldn't be buffered (the response is throttled) and this should fail. inputStream.read() } inputStream.close()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
// failure case of services simply not having completed a list operation that can reasonably be expected to succeed. // One common case this prevents is a kubelet restart reading pods before services and some pod not having the // KUBERNETES_SERVICE_HOST injected because we didn't wait a short time for services to sync before proceeding.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
src/database/sql/sql.go
case <-closectx.Done(): // rs.cancel was called via Close(); don't store this into contextDone // to ensure Err() is unaffected. } rs.close(ctx.Err()) } // Next prepares the next result row for reading with the [Rows.Scan] method. It // returns true on success, or false if there is no next result row or an error // happened while preparing it. [Rows.Err] should be consulted to distinguish between // the two cases. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) // executing the HTTP request. response, err = s.client.Do(request) c.Assert(err, nil) // validating the response status code. c.Assert(response.StatusCode, http.StatusOK) // reading the response body. // response body is expected to have the copied content of the first uploaded object. object, err := io.ReadAll(response.Body) c.Assert(err, nil) c.Assert(string(object), "hello world") }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 115.3K bytes - Viewed (0) -
cluster/gce/gci/configure-helper.sh
# a number of secure bytes desired and returns a base64 encoded string with at # least the requested entropy. Rather than directly reading from /dev/urandom, # we use uuidgen which calls getrandom(2). getrandom(2) verifies that the # entropy pool has been initialized sufficiently for the desired operation # before reading from /dev/urandom. # # ARGS: # #1: number of secure bytes to generate. We round up to the nearest factor of 32.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 22:07:47 UTC 2024 - 141.1K bytes - Viewed (0) -
src/database/sql/sql_test.go
// cancel at any future time, to catch other cases go cancel() } for _, b := range s { // some operation reading from the raw memory sink += b } } if r.closemuScanHold { t.Errorf("closemu held; should not be") } // There are 3 rows. We canceled after reading 2 so we expect either // 2 or 3 depending on how the awaitDone goroutine schedules. switch numRows { case 0, 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0)