- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for hp (0.14 sec)
-
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
} } public void testFromHost() { HostAndPort hp = HostAndPort.fromHost("gmail.com"); assertEquals("gmail.com", hp.getHost()); assertFalse(hp.hasPort()); hp = HostAndPort.fromHost("[::1]"); assertEquals("::1", hp.getHost()); assertFalse(hp.hasPort()); try { HostAndPort.fromHost("gmail.com:80");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 11:19:47 UTC 2023 - 9.6K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/scope_container_test.go
tcases := []struct { name string hp []HintProvider expected []map[string][]TopologyHint }{ { name: "No hint providers", hp: []HintProvider{}, expected: ([]map[string][]TopologyHint)(nil), }, { name: "HintProvider returns empty non-nil map[string][]TopologyHint", hp: []HintProvider{ &mockHintProvider{ map[string][]TopologyHint{}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 12 11:25:55 UTC 2020 - 6.2K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/policy_test.go
) type policyMergeTestCase struct { name string hp []HintProvider expected TopologyHint } func commonPolicyMergeTestCases(numaNodes []int) []policyMergeTestCase { return []policyMergeTestCase{ { name: "Two providers, 1 hint each, same mask, both preferred 1/2", hp: []HintProvider{ &mockHintProvider{ map[string][]TopologyHint{ "resource1": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 09 16:52:08 UTC 2022 - 34.6K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/scope_pod_test.go
tcases := []struct { name string hp []HintProvider expected []map[string][]TopologyHint }{ { name: "No hint providers", hp: []HintProvider{}, expected: ([]map[string][]TopologyHint)(nil), }, { name: "HintProvider returns empty non-nil map[string][]TopologyHint", hp: []HintProvider{ &mockHintProvider{ map[string][]TopologyHint{}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 12 11:25:55 UTC 2020 - 6.1K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/topology_manager_test.go
tcases := []struct { name string hp []HintProvider }{ { name: "Add HintProvider", hp: []HintProvider{ &mockHintProvider{}, &mockHintProvider{}, &mockHintProvider{}, }, }, } mngr := manager{} mngr.scope = NewContainerScope(NewNonePolicy()) for _, tc := range tcases { for _, hp := range tc.hp { mngr.AddHintProvider(hp) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 13:04:32 UTC 2023 - 13.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/range.go
// Assign variables on the LHS of the range statement. Use *hp to get the element. e := ir.NewStarExpr(base.Pos, hp) e.SetBounded(true) a := rangeAssign2(nrange, hv1, e) body = append(body, a) // Advance pointer for next iteration of the loop. // This reads from hp and writes to hu. huVal = ir.NewConvExpr(base.Pos, ir.OCONVNOP, types.Types[types.TUNSAFEPTR], hp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:33 UTC 2023 - 17.6K bytes - Viewed (0) -
src/net/hosts.go
expire time.Time path string mtime time.Time size int64 } func readHosts() { now := time.Now() hp := hostsFilePath if now.Before(hosts.expire) && hosts.path == hp && len(hosts.byName) > 0 { return } mtime, size, err := stat(hp) if err == nil && hosts.path == hp && hosts.mtime.Equal(mtime) && hosts.size == size { hosts.expire = now.Add(cacheMaxAge) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 04 07:21:38 UTC 2023 - 3.5K bytes - Viewed (0) -
test/fixedbugs/issue15572.dir/b.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 09 06:16:07 UTC 2016 - 309 bytes - Viewed (0) -
pkg/proxy/kubemark/hollow_proxy.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 2.9K bytes - Viewed (0) -
test/fixedbugs/issue15572.dir/a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 09 06:16:07 UTC 2016 - 738 bytes - Viewed (0)