- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for 50 (0.13 sec)
-
cmd/dummy-data-generator_test.go
// f := func(r io.Reader) string { // b, _ := io.ReadAll(r) // return string(b) // } // // for example, the following is true: // // f(NewDummyDataGen(100, 0)) == f(NewDummyDataGen(50, 0)) + f(NewDummyDataGen(50, 50)) func NewDummyDataGen(totalLength, skipOffset int64) io.ReadSeeker { if totalLength < 0 { panic("Negative length passed to DummyDataGen!") } if skipOffset < 0 {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 4.8K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
Route to host "productpage3" with weight 50% Match: /prefix* -------------------- Exposed on Ingress Gateway http://1.1.1.1 Exposed on Ingress Gateway http://2.2.2.2 VirtualService: bookinfo Route to host "productpage" with weight 30% Route to host "productpage2" with weight 20% Route to host "productpage3" with weight 50% Match: /prefix* `, }, }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
cmd/local-locker_test.go
} // Expire 50% expired := time.Now().Add(-time.Hour * 2) for _, v := range l.lockMap { for i := range v { if rng.Intn(2) == 0 { v[i].TimeLastRefresh = expired } } } start = time.Now() l.expireOldLocks(time.Hour)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Mar 05 04:57:35 GMT 2023 - 11.8K bytes - Viewed (0) -
misc/cgo/gmp/pi.go
} func main() { i := 0 k := int64(0) for { d := int64(-1) for d < 0 { k++ nextTerm(k) d = extractDigit() } eliminateDigit(d) fmt.Printf("%c", d+'0') if i++; i%50 == 0 { fmt.Printf("\n") if i >= 1000 { break } } } fmt.Printf("\n%d calls; bit sizes: %d %d %d\n", runtime.NumCgoCall(), numer.Len(), accum.Len(), denom.Len())
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 10 22:32:35 GMT 2023 - 1.3K bytes - Viewed (0) -
tests/update_test.go
} if users[1].Age != 19 { t.Errorf("user 2's name should be updated, but got %v", users[1].Age) } DB.Model(users[1]).UpdateColumn("age", gorm.Expr("age + 100 - 50")) var user3 User DB.First(&user3, users[1].ID) users[1].Age += 50 CheckUser(t, user3, *users[1]) // update with struct DB.Model(users[1]).UpdateColumns(User{Name: "update_column_02_newnew2", Age: 200})
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Dec 04 03:50:58 GMT 2023 - 30.3K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{"6 k=1 ", "6 k=1 ", "", "", false}, {"632 k=1\n", "632 k=1\n", "", "", false}, {"16 longkeyname=hahaha\n", "16 longkeyname=hahaha\n", "", "", false}, {"3 somelongkey=\n", "3 somelongkey=\n", "", "", false}, {"50 tooshort=\n", "50 tooshort=\n", "", "", false},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 09 05:28:50 GMT 2021 - 14K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
"arn:aws:s3:::%s/*" ] } ] }`, bucket)) err = s.adm.AddCannedPolicy(ctx, policy, policyBytes) if err != nil { c.Fatalf("policy add error: %v", err) } userCount := 50 accessKeys := make([]string, userCount) secretKeys := make([]string, userCount) for i := 0; i < userCount; i++ { accessKey, secretKey := mustGenerateCredentials(c)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 3.9K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
} func TestBelongsToAssociationUnscoped(t *testing.T) { type ItemParent struct { gorm.Model Logo string `gorm:"not null;type:varchar(50)"` } type ItemChild struct { gorm.Model Name string `gorm:"type:varchar(50)"` ItemParentID uint ItemParent ItemParent } tx := DB.Session(&gorm.Session{}) tx.Migrator().DropTable(&ItemParent{}, &ItemChild{})
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 9.3K bytes - Viewed (0) -
internal/etag/etag_test.go
{String: `"ceb8853ddc5086cc4ab9e149f8f09c88-2"`, ETag: ETag{206, 184, 133, 61, 220, 80, 134, 204, 74, 185, 225, 73, 248, 240, 156, 136, 45, 50}}, // 4 { // 5 String: "90402c78d2dccddee1e9e86222ce2c6361675f3529d26000ae2e900ff216b3cb59e130e092d8a2981e776f4d0bd60941",
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 12.6K bytes - Viewed (0) -
cmd/dynamic-timeouts.go
// so decrease the timeout towards 25 % of maximum time spent. max = max * 125 / 100 timeout := atomic.LoadInt64(&dt.timeout) if max < time.Duration(timeout) { // Move 50% toward the max. timeout = (int64(max) + timeout) / 2 } if timeout < dt.minimum { timeout = dt.minimum } atomic.StoreInt64(&dt.timeout, timeout) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Aug 19 23:21:05 GMT 2022 - 4.5K bytes - Viewed (0)