- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 258 for Bits (0.02 seconds)
-
cmd/admin-heal-ops.go
return nil, toAdminAPIErr(h.ctx, err), "" } return b, noError, "" } // PopHealStatusJSON - Called by heal-status API. It fetches the heal // status results from global state and returns its JSON // representation. The clientToken helps ensure there aren't // conflicting clients fetching status. func (ahs *allHealState) PopHealStatusJSON(hpath string, clientToken string) ([]byte, APIErrorCode, ) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
src/archive/tar/writer.go
if err := tw.writeRawHeader(&tw.blk, int64(len(data)), flag); err != nil { return err } _, err := io.WriteString(tw, data) return err } // writeRawHeader writes the value of blk, regardless of its value. // It sets up the Writer such that it can accept a file of the given size. // If the flag is a special header-only flag, then the size is treated as zero.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
src/archive/zip/zip_test.go
if testing.Short() { t.Skip("slow test; skipping") } t.Parallel() // Test a zip file with uncompressed size 0xFFFFFFFF. // That's the magic marker for a 64-bit file, so even though // it fits in a 32-bit field we must use the 64-bit field. // Go 1.5 and earlier got this wrong, // writing an invalid zip file. const size = 1<<32 - 1 - int64(len("END\n")) // before the "END\n" part buf := testZip64(t, size)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu May 23 01:00:11 GMT 2024 - 19.6K bytes - Click Count (0) -
CONTRIBUTING.md
using a job called "copybara". **5. Copy to Google Internal codebase and run internal CI** - Once the PR is in the Google codebase, we make sure it integrates well with its dependencies and the rest of the system. - Rarely, If the tests fail at this stage, we cannot merge the code. - If needed, we may come to you to make some changes. At times, it may not be
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Jan 11 04:47:59 GMT 2025 - 15.9K bytes - Click Count (0) -
association.go
p.Elem().Set(rv) results = append(results, p.Interface()) } else if rv.IsValid() { results = append(results, rv.Interface()) } } // Process each argument; if an argument is a slice/array, expand its elements for _, value := range values { rv := reflect.ValueOf(value) if rv.Kind() == reflect.Slice || rv.Kind() == reflect.Array { for i := 0; i < rv.Len(); i++ { appendToResult(rv.Index(i)) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0) -
cmd/iam.go
if parentInClaim != parentUser { return false } } else { // This is needed so a malicious user cannot // use a leaked session key of another user // to widen its privileges. return false } isOwnerDerived := parentUser == globalActiveCred.AccessKey var err error var svcPolicies []string roleArn := args.GetRoleArn() switch {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
cmd/iam-object-store.go
// (because the policy change notification was missed by the current // server). // // The "policy not found" error is ignored because the STS account may // not have a policy mapped via its parent (for e.g. in // OIDC/AssumeRoleWithCustomToken/AssumeRoleWithCertificate). err := iamOS.loadMappedPolicy(ctx, svcParent, stsUser, false, cache.iamSTSPolicyMap) if err != nil && !errors.Is(err, errNoSuchPolicy) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.6K bytes - Click Count (0) -
cmd/bucket-replication-utils.go
type ResyncTargetsInfo struct { Targets []ResyncTarget `json:"target,omitempty"` } // ResyncTarget is a struct representing the Target reset ID where target is identified by its Arn type ResyncTarget struct { Arn string `json:"arn"` ResetID string `json:"resetid"` StartTime time.Time `json:"startTime"` EndTime time.Time `json:"endTime"` // Status of resync operationCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
src/bufio/bufio_test.go
} else if err != io.ErrNoProgress { t.Error("unexpected error:", err) } case <-time.After(time.Second): t.Error("test timed out (endless loop in ReadByte?)") } } // A StringReader delivers its data one string segment at a time via Read. type StringReader struct { data []string step int } func (r *StringReader) Read(p []byte) (n int, err error) { if r.step < len(r.data) { s := r.data[r.step]Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
cmd/object-handlers.go
} var chStorageClass bool if dstSc != "" && dstSc != srcInfo.StorageClass { chStorageClass = true srcInfo.metadataOnly = false } // no changes in storage-class expected so its a metadataonly operation. var reader io.Reader = gr // Set the actual size to the compressed/decrypted size if encrypted. actualSize, err := srcInfo.GetActualSize() if err != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 120.6K bytes - Click Count (0)