- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 697 for bghelper (1.15 sec)
-
pkg/test/loadbalancersim/mesh/node.go
} func (n *Node) TotalRequests() uint64 { return n.helper.TotalRequests() } func (n *Node) ActiveRequests() uint64 { return n.helper.ActiveRequests() } func (n *Node) Latency() *timeseries.Instance { return n.helper.Latency() } func (n *Node) Request(onDone func()) { n.helper.Request(func(wrappedOnDone func()) { deadline := time.Now().Add(n.calcRequestDuration())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 03 18:19:25 UTC 2022 - 3.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio.go
"k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper" ) const maxUtilization = 100 // buildRequestedToCapacityRatioScorerFunction allows users to apply bin packing // on core resources like CPU, Memory as well as extended resources like accelerators. func buildRequestedToCapacityRatioScorerFunction(scoringFunctionShape helper.FunctionShape, resources []config.ResourceSpec) func([]int64, []int64) int64 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 21 15:23:47 UTC 2022 - 2.6K bytes - Viewed (0) -
tests/fuzz/README.md
git clone --depth=1 https://github.com/google/oss-fuzz.git cd oss-fuzz python infra/helper.py build_image istio python infra/helper.py build_fuzzers istio ~/go/src/istio.io/istio ``` Reproduce failure: ```bash python infra/helper.py reproduce istio FuzzX ~/Downloads/clusterfuzz-testcase-minimized-FuzzX-1234 ``` Run: ```bash python infra/helper.py run_fuzzer istio FuzzValidateMeshConfig
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 23 16:45:44 UTC 2022 - 994 bytes - Viewed (0) -
src/mdo/model-version.vm
$pfx ${var}.get${Helper.capitalise($field.name)}().stream().anyMatch(this::is_${v}) // ${class.name} : ${field.name} #else $pfx !${var}.get${Helper.capitalise($field.name)}().isEmpty() // ${class.name} : ${field.name} #end #elseif ( $field.isOneMultiplicity() ) $pfx is_${v}(${var}.get${Helper.capitalise($field.name)}()) // ${class.name} : ${field.name}
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Oct 16 13:44:33 UTC 2023 - 7.4K bytes - Viewed (0) -
pkg/test/framework/components/echo/config/builder.go
} func (b *Builder) checkMissing(s Source) { b.t.Helper() tpl := s.TemplateOrFail(b.t) missing := tpl.MissingParams(s.Params()) if missing.Len() > 0 { b.t.Fatalf("config template requires missing params: %v", sets.SortedList(missing)) } } func (b *Builder) getNamespace(s Source) namespace.Instance { b.t.Helper() ns := s.Params().GetWellKnown(param.Namespace) if ns == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 13 23:42:29 UTC 2022 - 7.6K bytes - Viewed (0) -
pkg/kubelet/container/testing/mock_runtime_cache.go
m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ForceUpdateIfOlder", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // ForceUpdateIfOlder indicates an expected call of ForceUpdateIfOlder. func (mr *MockRuntimeCacheMockRecorder) ForceUpdateIfOlder(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 4K bytes - Viewed (0) -
src/internal/concurrent/hashtriemap_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 9.3K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go
) func lock(t *testing.T, f *os.File) { t.Helper() err := filelock.Lock(f) t.Logf("Lock(fd %d) = %v", f.Fd(), err) if err != nil { t.Fail() } } func rLock(t *testing.T, f *os.File) { t.Helper() err := filelock.RLock(f) t.Logf("RLock(fd %d) = %v", f.Fd(), err) if err != nil { t.Fail() } } func unlock(t *testing.T, f *os.File) { t.Helper() err := filelock.Unlock(f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 22:37:50 UTC 2023 - 4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/scorer_test.go
"k8s.io/kubernetes/pkg/scheduler/framework" "k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper" ) const ( classHDD = "hdd" classSSD = "ssd" ) func TestScore(t *testing.T) { defaultShape := make(helper.FunctionShape, 0, len(defaultShapePoint)) for _, point := range defaultShapePoint { defaultShape = append(defaultShape, helper.FunctionShapePoint{ Utilization: int64(point.Utilization),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 13 11:08:45 UTC 2021 - 5.8K bytes - Viewed (0) -
src/testing/helper_test.go
"regexp" "strings" "testing" ) func TestTBHelper(t *testing.T) { if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" { testTestHelper(t) // Check that calling Helper from inside a top-level test function // has no effect. t.Helper() t.Error("8") return } testenv.MustHaveExec(t) t.Parallel() exe, err := os.Executable() if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:24:47 UTC 2023 - 2.6K bytes - Viewed (0)