- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 69 for Invert (0.13 sec)
-
hack/local-up-cluster.sh
function parse_cpumanager_policy_options { echo "cpuManagerPolicyOptions:" # Convert from foo=true,bar=false to # foo: "true" # bar: "false" for option in $(echo "$1" | tr ',' ' '); do echo "${option}" | ${SED} -e 's/\(.*\)=\(.*\)/ \1: "\2"/' done } function parse_feature_gates { echo "featureGates:" # Convert from foo=true,bar=false to # foo: true # bar: false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 25 02:33:52 UTC 2024 - 53.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
} converted, err := m.toKubeContainer(c) if err != nil { klog.V(4).InfoS("Convert container of pod failed", "runtimeName", m.runtimeName, "container", c, "podUID", labelledInfo.PodUID, "err", err) continue } pod.Containers = append(pod.Containers, converted) } // Convert map to list. var result []*kubecontainer.Pod for _, pod := range pods { result = append(result, pod) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// references to the imported package C, replacing them with // references to the equivalent Go types, functions, and variables. func (p *Package) Translate(f *File) { for _, cref := range f.Ref { // Convert C.ulong to C.unsigned long, etc. cref.Name.C = cname(cref.Name.Go) } var conv typeConv conv.Init(p.PtrSize, p.IntSize) p.loadDefines(f) p.typedefs = map[string]bool{} p.typedefList = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
} func (q *fakeQueue) Set() sets.Set[string] { q.lock.Lock() defer q.lock.Unlock() work := sets.New[string]() for _, item := range q.queue[q.currentStart:] { work.Insert(string(item.UID)) } return work } func (q *fakeQueue) Enqueue(uid types.UID, delay time.Duration) { q.lock.Lock() defer q.lock.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
} func verifyFakeContainerList(fakeRuntime *apitest.FakeRuntimeService, expected sets.Set[string]) (sets.Set[string], bool) { actual := sets.New[string]() for _, c := range fakeRuntime.Containers { actual.Insert(c.Id) } return actual, actual.Equal(expected) } // Only extract the fields of interests. type cRecord struct { name string attempt uint32 state runtimeapi.ContainerState }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
succeeded: make(sets.Set[string], len(in.Succeeded)), failed: make(sets.Set[string], len(in.Failed)), } for _, v := range in.Succeeded { obj.succeeded.Insert(string(v)) } for _, v := range in.Failed { obj.failed.Insert(string(v)) } return &obj } func (u *uncountedTerminatedPods) Succeeded() sets.Set[string] { if u == nil { return nil } return u.succeeded
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
ms.data = append(ms.data, make([]byte, int(siz)+1-cl)...) ms.data = ms.data[0:cl] } ms.data = ms.data[:siz] } // Convert a local index to a global index. func (l *Loader) toGlobal(r *oReader, i uint32) Sym { return r.syms[i] } // Convert a global index to a local index. func (l *Loader) toLocal(i Sym) (*oReader, uint32) { return l.objs[l.objSyms[i].objidx], l.objSyms[i].s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/time/format.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go
state, err := cs.Read(stateKey) if err != nil { return nil, err } s, ok := state.(*stateData) if !ok { return nil, errors.New("unable to convert state into stateData") } return s, nil } // Filter invoked at the filter extension point. // It evaluates if a pod can fit due to the resources it requests,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 15:22:37 UTC 2024 - 75.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
// a portion of an in-param that is not live/used. // Add a new dummy OpArg{Int,Float}Reg for it. synthesizeOpIntFloatArg(n, t, inp.Registers[k], pieceSlot) } } } // Insert the new values into the head of the block. f.Entry.Values = append(newValues, f.Entry.Values...) } // BuildFuncDebug debug information for f, placing the results
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0)