- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 567 for uint24 (0.07 sec)
-
internal/http/server.go
listenerMutex sync.Mutex // to guard 'listener' field. listener *httpListener // HTTP listener for all 'Addrs' field. inShutdown uint32 // indicates whether the server is in shutdown or not requestCount int32 // counter holds no. of request in progress. } // GetRequestCount - returns number of request in progress.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 6.1K bytes - Viewed (0) -
internal/event/target/postgresql.go
Password string `json:"password"` // default: no password Database string `json:"database"` // default: same as user QueueDir string `json:"queueDir"` QueueLimit uint64 `json:"queueLimit"` MaxOpenConnections int `json:"maxOpenConnections"` } // Validate PostgreSQLArgs fields func (p PostgreSQLArgs) Validate() error { if !p.Enable { return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.3K bytes - Viewed (0) -
tests/group_by_test.go
} if name != "groupby1" || total != 660 { t.Errorf("name should be groupby, but got %v, total should be 660, but got %v", name, total) } result := struct { Name string Total int64 }{} if err := DB.Model(&User{}).Select("name, sum(age) as total").Where("name LIKE ?", "groupby%").Group("name").Having("name = ?", "groupby1").Find(&result).Error; err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
err := w.WriteHeader(&Header{ Name: "lorem.txt", Mode: 0600, Size: int64(len(inp)), }) if err != nil { f.Fatalf("failed to create writer: %s", err) } _, err = w.Write(inp) if err != nil { f.Fatalf("failed to write file to archive: %s", err) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0) -
internal/event/target/redis.go
Addr xnet.Host `json:"address"` Password string `json:"password"` User string `json:"user"` Key string `json:"key"` QueueDir string `json:"queueDir"` QueueLimit uint64 `json:"queueLimit"` } // RedisAccessEvent holds event log data and timestamp type RedisAccessEvent struct { Event []event.Event EventTime string } // Validate RedisArgs fields
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 9.1K 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) -
cmd/object-api-deleteobject_test.go
md5Bytes := md5.Sum([]byte(object.content)) oi, err := obj.PutObject(context.Background(), testCase.bucketName, object.name, mustGetPutObjReader(t, strings.NewReader(object.content), int64(len(object.content)), hex.EncodeToString(md5Bytes[:]), ""), ObjectOptions{}) if err != nil { t.Log(oi) t.Fatalf("%s : %s", instanceType, err.Error()) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 4.1K 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) -
cmd/local-locker.go
Writer bool // Bool whether write or read lock. UID string // UID to uniquely identify request of client. Timestamp int64 // Timestamp set at the time of initialization. TimeLastRefresh int64 // Timestamp for last lock refresh. Source string // Contains line, function and filename requesting the lock. Group bool // indicates if it was a group lock.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.7K bytes - Viewed (0)