- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 419 for Int64 (0.09 sec)
-
internal/config/crypto_test.go
} benchmarkEncrypt := func(size int, b *testing.B) { var ( data = make([]byte, size) plaintext = bytes.NewReader(data) context = kms.Context{"key": "value"} ) b.SetBytes(int64(size)) for i := 0; i < b.N; i++ { ciphertext, err := Encrypt(KMS, plaintext, context) if err != nil { b.Fatal(err) } if _, err = io.Copy(io.Discard, ciphertext); err != nil { b.Fatal(err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 3.2K bytes - Viewed (0) -
src/bufio/bufio.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
internal/s3select/csv/reader_contrib_test.go
Fatal(...interface{}) } func openTestFile(t tester, file string) []byte { f, err := os.ReadFile("testdata/testdata.zip") if err != nil { t.Fatal(err) } z, err := zip.NewReader(bytes.NewReader(f), int64(len(f))) if err != nil { t.Fatal(err) } for _, f := range z.File { if f.Name == file { rc, err := f.Open() if err != nil { t.Fatal(err) } defer rc.Close()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 38.5K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
} fiLtAndGt := Filter{ And: And{ ObjectSizeGreaterThan: 1 * humanize.MiByte, ObjectSizeLessThan: 100 * humanize.MiByte, }, } tests := []struct { filter Filter objSize int64 want bool }{ { filter: fiLt, objSize: 101 * humanize.MiByte, want: false, }, { filter: fiLt, objSize: 99 * humanize.MiByte, want: true, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.go
exp interface{} dsecs string expectedFailure bool }{ {"", "", true}, {"-1", "0", true}, {"-1", "900", true}, {"1574812326", "900", false}, {1574812326, "900", false}, {int64(1574812326), "900", false}, {int(1574812326), "900", false}, {uint(1574812326), "900", false}, {uint64(1574812326), "900", false}, {json.Number("1574812326"), "900", false}, {1574812326.000, "900", false},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.3K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), type Rusage struct, Msgsnd int64 pkg syscall (freebsd-arm64), type Rusage struct, Nivcsw int64 pkg syscall (freebsd-arm64), type Rusage struct, Nsignals int64 pkg syscall (freebsd-arm64), type Rusage struct, Nswap int64 pkg syscall (freebsd-arm64), type Rusage struct, Nvcsw int64 pkg syscall (freebsd-arm64), type Rusage struct, Oublock int64
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 508.9K bytes - Viewed (0) -
cmd/perf-tests.go
UploadTimes madmin.TimeDurations DownloadTimes madmin.TimeDurations DownloadTTFB madmin.TimeDurations Error string } func newRandomReader(size int) io.Reader { return io.LimitReader(randreader.New(), int64(size)) } type firstByteRecorder struct { t *time.Time r io.Reader } func (f *firstByteRecorder) Read(p []byte) (n int, err error) { if f.t != nil || len(p) == 0 { return f.r.Read(p) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/debugging/inspect/export.go
if e != nil { return nil, e } buf = bytes.NewBuffer(b) } return buf.Bytes(), nil } fmt.Println("{") hasWritten := false var r io.Reader var sz int64 f, e := os.Open(downloadPath) if e != nil { return e } if st, e := f.Stat(); e == nil { sz = st.Size() } defer f.Close() r = f zr, e := zip.NewReader(r.(io.ReaderAt), sz)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 08 15:58:02 UTC 2022 - 9.1K bytes - Viewed (0) -
common-protos/k8s.io/api/apps/v1beta2/generated.proto
// Data is the serialized representation of the state. optional k8s.io.apimachinery.pkg.runtime.RawExtension data = 2; // Revision indicates the revision of the state represented by Data. optional int64 revision = 3; } // ControllerRevisionList is a resource containing a list of ControllerRevision objects. message ControllerRevisionList {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 36.4K bytes - Viewed (0) -
tests/scopes_test.go
return tx.Session(&gorm.Session{}) }).Find(&users1) if result.RowsAffected != 2 { t.Errorf("Should found two users's name in 1, 2, but got %v", result.RowsAffected) } var maxId int64 userTable := func(db *gorm.DB) *gorm.DB { return db.WithContext(context.Background()).Table("users") } if err := DB.Scopes(userTable).Select("max(id)").Scan(&maxId).Error; err != nil { t.Errorf("select max(id)") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0)