- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 131 for Invert (1.78 sec)
-
pkg/proxy/iptables/proxier.go
// then jump to externalPolicyChain. if usesExternalTrafficChain { natChains.Write(utiliptables.MakeChainLine(externalTrafficChain)) activeNATChains.Insert(externalTrafficChain) if !svcInfo.ExternalPolicyLocal() { // If we are using non-local endpoints we need to masquerade, // in case we cross nodes. natRules.Write(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
array_ops_stack.stack([weight_row, weight_row]) ) # Insert fake quant to simulate a QAT model. weight = array_ops.fake_quant_with_min_max_args( weight, min=-0.1, max=0.2, num_bits=8, narrow_range=False ) # shape: (2, 2) output_tensor = math_ops.matmul(matmul_input, weight) # Insert fake quant to simulate a QAT model. output_tensor = array_ops.fake_quant_with_min_max_args(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
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/controller/volume/persistentvolume/pv_controller.go
return err } return nil } else { volume, ok := obj.(*v1.PersistentVolume) if !ok { return fmt.Errorf("cannot convert object from volume cache to volume %q!?: %+v", claim.Spec.VolumeName, obj) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64.rules
(SETB (BT(L|Q)const [0] x)) => (AND(L|Q)const [1] x) // Recognize bit tests: a&(1<<b) != 0 for b suitably bounded // Note that BTx instructions use the carry bit, so we need to convert tests for zero flag // into tests for carry flags. // ULT and SETB check the carry flag; they are identical to CS and SETCS. Same, mutatis // mutandis, for UGE and SETAE, and CC and SETCC.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 93.9K 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)