- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 604 for sink64 (0.1 sec)
-
internal/s3select/sql/value_test.go
} }) } } func TestValue_bytesToInt(t *testing.T) { type fields struct { value interface{} } tests := []struct { name string fields fields want int64 wantOK bool }{ { name: "zero", fields: fields{ value: []byte("0"), }, want: 0, wantOK: true, }, { name: "minuszero", fields: fields{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
cmd/storage-rest_test.go
if err != nil { t.Fatalf("unexpected error %v", err) } testCases := []struct { volumeName string objectName string offset int64 expectedResult []byte expectErr bool }{ {"foo", "myobject", 0, []byte("foo"), false}, {"foo", "myobject", 1, []byte("oo"), false}, // file not found error. {"foo", "yourobject", 0, nil, true},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/grid/types.go
j.val = nil } } // MarshalMsg implements msgp.Marshaler func (j *Array[T]) MarshalMsg(b []byte) (o []byte, err error) { if j.val == nil { return msgp.AppendNil(b), nil } if uint64(len(j.val)) > math.MaxUint32 { return b, errors.New("array: length of array exceeds math.MaxUint32") } b = msgp.AppendArrayHeader(b, uint32(len(j.val))) for _, v := range j.val { b, err = v.MarshalMsg(b)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm.s
// g.Type = obj.TYPE_CONST; // g.Offset = int64($6); // outcode($1, $2, &$3, 0, &g); // } MOVM 0(R1), [R2,R5,R8,g] // MOVM (R1), [R2,R5,R8,g] MOVM (R1), [R2-R5] // MOVM (R1), [R2,R3,R4,R5] MOVM (R1), [R2] // LTYPE8 cond '[' reglist ']' ',' ioreg // { // var g obj.Addr // // g = nullgen; // g.Type = obj.TYPE_CONST; // g.Offset = int64($4); // outcode($1, $2, &g, 0, &$7); // }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 15 20:51:01 UTC 2023 - 69K bytes - Viewed (0) -
tests/preload_test.go
DB.Create(&users) query := make([]string, 0) sess := DB.Session(&gorm.Session{Logger: Tracer{ Logger: DB.Config.Logger, Test: func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) { sql, _ := fc() query = append(query, sql) }, }}) var result []User err := sess. Joins("Manager"). Preload("Manager.Tools").
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
cmd/api-response.go
EncodingType string `xml:"EncodingType,omitempty"` } // Part container for part metadata. type Part struct { PartNumber int LastModified string ETag string Size int64 // Checksum values ChecksumCRC32 string `xml:"ChecksumCRC32,omitempty"` ChecksumCRC32C string `xml:"ChecksumCRC32C,omitempty"` ChecksumSHA1 string `xml:"ChecksumSHA1,omitempty"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 19:27:06 UTC 2024 - 33.4K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
zipWriter := zip.NewWriter(w) defer zipWriter.Close() rawDataFn := func(r io.Reader, filename string, sz int) { header, zerr := zip.FileInfoHeader(dummyFileInfo{ name: filename, size: int64(sz), mode: 0o600, modTime: time.Now(), isDir: false, sys: nil, }) if zerr == nil { header.Method = zip.Deflate zwriter, zerr := zipWriter.CreateHeader(header)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 33.2K bytes - Viewed (0) -
internal/event/target/elasticsearch.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
if err != nil { err = msgp.WrapError(err, "PartSizes") return } if cap(z.PartSizes) >= int(zb0007) { z.PartSizes = (z.PartSizes)[:zb0007] } else { z.PartSizes = make([]int64, zb0007) } for za0006 := range z.PartSizes { z.PartSizes[za0006], err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "PartSizes", za0006) return } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
globalSiteNetPerfRX.Connect() defer globalSiteNetPerfRX.Disconnect() connectTime := time.Now() for { n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte) atomic.AddUint64(&globalSiteNetPerfRX.RX, uint64(n)) if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF { // If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.4K bytes - Viewed (0)