- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for readInt (0.04 seconds)
-
cmd/storage-datatypes_gen.go
} if cap(z.Results) >= int(zb0002) { z.Results = (z.Results)[:zb0002] } else { z.Results = make([]int, zb0002) } for za0001 := range z.Results { z.Results[za0001], err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "Results", za0001) return } } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 151.7K bytes - Click Count (0) -
cmd/object-handlers_test.go
} // read the response body. actualContent, err := io.ReadAll(rec.Body) if err != nil { t.Fatalf("Test %d: %s: Failed reading response body: <ERROR> %v", i+1, instanceType, err) } if rec.Code == http.StatusOK || rec.Code == http.StatusPartialContent { if !bytes.Equal(testCase.expectedContent, actualContent) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
cmd/object-handlers.go
} return false } // CopyObjectHandler - Copy Object // ---------- // This implementation of the PUT operation adds an object to a bucket // while reading the object from another source. // Notice: The S3 client can send secret keys in headers for encryption related jobs, // the handler should ensure to remove these keys before sending them to the object layer.
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) -
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") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 118.1K bytes - Click Count (0) -
api/go1.3.txt
pkg debug/plan9obj, method (*File) Symbols() ([]Sym, error) pkg debug/plan9obj, method (*Section) Data() ([]uint8, error) pkg debug/plan9obj, method (*Section) Open() io.ReadSeeker pkg debug/plan9obj, method (Section) ReadAt([]uint8, int64) (int, error) pkg debug/plan9obj, type File struct pkg debug/plan9obj, type File struct, Sections []*Section pkg debug/plan9obj, type File struct, embedded FileHeader pkg debug/plan9obj, type FileHeader struct
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Jun 02 02:45:00 GMT 2014 - 117K bytes - Click Count (0) -
cmd/site-replication.go
c.Lock() defer c.Unlock() c.state = srState{} c.enabled = false } return err } // attempt to read just the version key in the state file to ensure we // are reading a compatible version. var ver struct { Version int `json:"version"` } err = json.Unmarshal(buf, &ver) if err != nil { return err } if ver.Version != srStateFormatVersion1 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1)