- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 1,437 for mirror (0.08 sec)
-
internal/grid/handlers_string.go
// Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT. package grid import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[handlerInvalid-0] _ = x[HandlerLockLock-1] _ = x[HandlerLockRLock-2] _ = x[HandlerLockUnlock-3]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/s3select/csv/recordtransform.go
reader io.Reader // recordDelimiter can be up to 2 characters. recordDelimiter []byte oneByte []byte useOneByte bool } func (rr *recordTransform) Read(p []byte) (n int, err error) { if rr.useOneByte { p[0] = rr.oneByte[0] rr.useOneByte = false n, err = rr.reader.Read(p[1:]) n++ } else { n, err = rr.reader.Read(p) } if err != nil { return n, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0) -
internal/disk/stat_test.go
}, } for _, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { tmpfile, err := os.CreateTemp("", "testfile") if err != nil { t.Error(err) } tmpfile.WriteString(testCase.stat) tmpfile.Sync() tmpfile.Close() iostats, err := readDriveStats(tmpfile.Name()) if err != nil && !testCase.expectErr {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.5K bytes - Viewed (0) -
docs_src/dependencies/tutorial008d_an_py39.py
app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again 😎") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id == "portal-gun": raise InternalError(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 734 bytes - Viewed (0) -
cmd/rebalstatus_string.go
// Code generated by "stringer -type=rebalStatus -trimprefix=rebal erasure-server-pool-rebalance.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[rebalNone-0] _ = x[rebalStarted-1] _ = x[rebalCompleted-2] _ = x[rebalStopped-3] _ = x[rebalFailed-4] }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 795 bytes - Viewed (0) -
cmd/config-encrypted_test.go
ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata)) if err != nil && test.success { t.Errorf("Expected success, saw failure %v", err) } if err == nil && !test.success { t.Error("Expected failure, saw success") } if test.success { if !bytes.Equal(ddata, data) { t.Errorf("Expected %s, got %s", string(data), string(ddata)) } } }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/bucket/replication/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && a.Prefix == "" } // Validate - validates the And field func (a And) Validate() error { if a.ContainsDuplicateTag() { return errDuplicateTagKey } for _, t := range a.Tags { if err := t.Validate(); err != nil { return err } } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
internal/s3select/csv/reader_contrib_test.go
}) } } type errReader struct { err error } func (e errReader) Read(p []byte) (n int, err error) { return 0, e.err } func TestReadFailures(t *testing.T) { customErr := errors.New("unable to read file :(") cases := []struct { file string recordDelimiter string fieldDelimiter string sendErr error header bool wantColumns []string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 38.5K bytes - Viewed (0) -
common-protos/k8s.io/api/authorization/v1/generated.proto
// Reason is optional. It indicates why a request was allowed or denied. // +optional optional string reason = 2; // EvaluationError is an indication that some error occurred during the authorization check. // It is entirely possible to get an error and be able to continue determine authorization status in spite of it. // For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/AsyncDns.kt
* May be an empty list indicating that the host is unreachable. */ fun onResponse( hostname: String, addresses: List<InetAddress>, ) /** * Returns an error for the DNS query. */ fun onFailure( hostname: String, e: IOException, ) } /** * Class of DNS addresses, such that clients that treat these differently, such
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.5K bytes - Viewed (0)