- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 618 for uint64 (0.09 sec)
-
internal/store/batch.go
const defaultCommitTimeout = 30 * time.Second // Batch represents an ordered batch type Batch[I any] struct { items []I limit uint32 store Store[I] quitCh chan struct{} sync.Mutex } // BatchConfig represents the batch config type BatchConfig[I any] struct { Limit uint32 Store Store[I] CommitTimeout time.Duration Log logger } // Add adds the item to the batch
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/batch-job-common-types_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "fmt" "testing" ) func TestBatchJobSizeInRange(t *testing.T) { tests := []struct { objSize int64 sizeFilter BatchJobSizeFilter want bool }{ { // 1Mib < 2Mib < 10MiB -> in range objSize: 2 << 20, sizeFilter: BatchJobSizeFilter{ UpperBound: 10 << 20, LowerBound: 1 << 20,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 08 23:22:28 UTC 2024 - 3.3K bytes - Viewed (0) -
RELEASE.md
* `tf.where` op for data types `tf.int32`/`tf.uint32`/`tf.int8`/`tf.uint8`/`tf.int64`. * `tf.random.normal` op for output data type `tf.float32` on CPU. * `tf.random.uniform` op for output data type `tf.float32` on CPU. * `tf.random.categorical` op for output data type `tf.int64` on CPU. * `tensorflow.experimental.tensorrt`:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Oct 22 14:33:53 UTC 2024 - 735.3K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_mock.go
args := m.Called(name) return args.Error(0) } func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error { args := m.Called(name, ip, ipProto, comment, replace) return args.Error(0) } func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error { args := m.Called(name, ip, ipProto) return args.Error(0) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/post-policy-fan-out.go
for i, req := range fanOutEntries { wg.Add(1) go func(idx int, req minio.PutObjectFanOutEntry) { defer wg.Done() objInfos[idx] = ObjectInfo{Name: req.Key} hopts := hash.Options{ Size: int64(len(fanOutBuf)), MD5Hex: opts.MD5Hex, SHA256Hex: "", ActualSize: -1, DisableMD5: true, } hr, err := hash.NewReaderWithOpts(ctx, bytes.NewReader(fanOutBuf), hopts) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 3.5K bytes - Viewed (0) -
src/bytes/bytes.go
// we should panic if the repeat will generate an overflow. // See golang.org/issue/16237. if count < 0 { panic("bytes: negative Repeat count") } hi, lo := bits.Mul(uint(len(b)), uint(count)) if hi > 0 || lo > uint(maxInt) { panic("bytes: Repeat output length overflow") } n := int(lo) // lo = len(b) * count if len(b) == 0 { return []byte{} }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0) -
internal/s3select/json/preader_test.go
b.Fatal(err) } for _, file := range files { b.Run(file.Name(), func(b *testing.B) { f, err := os.ReadFile(filepath.Join("testdata", file.Name())) if err != nil { b.Fatal(err) } b.SetBytes(int64(len(f))) b.ReportAllocs() b.ResetTimer() var record sql.Record for i := 0; i < b.N; i++ { r := NewPReader(io.NopCloser(bytes.NewBuffer(f)), &ReaderArgs{}) for { record, err = r.Read(record)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 2.5K bytes - Viewed (0) -
internal/s3select/json/reader_test.go
b.Fatal(err) } for _, file := range files { b.Run(file.Name(), func(b *testing.B) { f, err := os.ReadFile(filepath.Join("testdata", file.Name())) if err != nil { b.Fatal(err) } b.SetBytes(int64(len(f))) b.ReportAllocs() b.ResetTimer() var record sql.Record for i := 0; i < b.N; i++ { r := NewReader(io.NopCloser(bytes.NewBuffer(f)), &ReaderArgs{}) for { record, err = r.Read(record)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 2.5K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_unspecified.go
return errors.New("not implemented on this platform") } func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error { return errors.New("not implemented on this platform") } func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error { return errors.New("not implemented on this platform") } func (m *realDeps) flush(name string) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/distinct_test.go
t.Fatalf("invalid results length found, expects: %v, got %v", len(expects), len(results)) } for idx, expect := range expects { AssertObjEqual(t, results[idx], expect, "Name", "Age") } var count int64 if err := DB.Model(&User{}).Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 5 { t.Errorf("failed to query users count, got error: %v, count: %v", err, count) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 2.5K bytes - Viewed (0)