- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 107 for nonZero (0.61 sec)
-
src/cmd/compile/internal/ssa/loopbce.go
// I don't think this is causing missed optimizations in real world code often. // See https://go.dev/issue/63955 continue } // Expect the increment to be a nonzero constant. if !inc.isGenericIntConst() { continue } step := inc.AuxInt if step == 0 { continue } // Increment sign must match comparison direction.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 17:37:47 UTC 2023 - 11.8K bytes - Viewed (0) -
src/runtime/softfloat64.go
fs := uint64(val) & (1 << 63) mant := uint64(val) if fs != 0 { mant = -mant } // Reduce mantissa size until it fits into a uint32. // Keep track of the bits we throw away, and if any are // nonzero or them into the lowest bit. exp := int(mantbits32) var trunc uint32 for mant >= 1<<32 { trunc |= uint32(mant) & 1 mant >>= 1 exp++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 08 17:58:41 UTC 2021 - 11.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/most_allocated_test.go
// Node2 scores on 0-MaxNodeScore scale // CPU Fraction: 100 / 250 = 40% // Memory Fraction: 200 / 1000 = 20% // Node2 Score: (20 + 40) / 2 = 30 name: "no resources requested, pods scheduled, nonzero request for resource", requestedPod: st.MakePod().Container("container").Obj(), nodes: []*v1.Node{ st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "250m", "memory": "1000Mi"}).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 16K bytes - Viewed (0) -
tensorflow/cc/tools/freeze_saved_model_test.cc
GraphDef graph_def; graph_def.mutable_versions()->set_producer(1234); graph_def.mutable_versions()->set_min_consumer(1234); *graph_def.mutable_library()->add_function() = test::function::NonZero(); TF_ASSERT_OK( AddGraphDefToSavedModelBundle(graph_def, "", &saved_model_bundle)); GraphDef frozen_graph_def; std::unordered_set<string> inputs; std::unordered_set<string> outputs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 13:30:31 UTC 2022 - 21.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/fieldmanager_test.go
panic(fmt.Errorf("couldn't get accessor: %v", err)) } // Managed fields should not be stripped if len(accessor.GetManagedFields()) == 0 { t.Fatalf("empty managed fields of object which expected nonzero fields") } // Agent A applies the exact same configuration if err := f.Apply(appliedObj.DeepCopyObject(), "fieldmanager_z", false); err != nil { t.Fatalf("failed to apply object: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 16 20:03:48 UTC 2023 - 32.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/dec64.rules
(Rsh64x64 [c] x (Int64Make (Const32 [0]) lo)) => (Rsh64x32 [c] x lo) (Rsh64Ux64 [c] x (Int64Make (Const32 [0]) lo)) => (Rsh64Ux32 [c] x lo) // turn x64 non-constant shifts to x32 shifts // if high 32-bit of the shift is nonzero, make a huge shift (Lsh64x64 x (Int64Make hi lo)) && hi.Op != OpConst32 => (Lsh64x32 x (Or32 <typ.UInt32> (Zeromask hi) lo)) (Rsh64x64 x (Int64Make hi lo)) && hi.Op != OpConst32 =>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 04 19:35:46 UTC 2022 - 14.2K bytes - Viewed (0) -
src/hash/maphash/smhasher_test.go
N := 256 * 1024 if testing.Short() { N = 1024 } h := newHashSet() b := make([]byte, N) for i := 0; i <= N; i++ { h.addB(b[:i]) } h.check(t) } // Strings with up to two nonzero bytes all have distinct hashes. func TestSmhasherTwoNonzero(t *testing.T) { if runtime.GOARCH == "wasm" { t.Skip("Too slow on wasm") } if testing.Short() { t.Skip("Skipping in short mode") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
if (expectedOldCount != 0) { return false; } else if (newCount == 0) { return true; } else { // if our write lost the race, it must have lost to a nonzero value, so we can stop return countMap.putIfAbsent(element, new AtomicInteger(newCount)) == null; } } int oldValue = existingCounter.get(); if (oldValue == expectedOldCount) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 20.9K bytes - Viewed (0) -
src/runtime/mpallocbits.go
if most >= 64-2 { // There is no way an internal run of zeros could beat max. return packPallocSum(start, most, cur) } // Now look inside each uint64 for runs of zeros. // All uint64s must be nonzero, or we would have aborted above. outer: for i := 0; i < len(b); i++ { x := b[i] // Look inside this uint64. We have a pattern like // 000000 1xxxxx1 000000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 15:13:43 UTC 2024 - 12.5K bytes - Viewed (0) -
src/os/exec/exec.go
// stops copying, either because it has reached the end of Stdin // (EOF or a read error), or because writing to the pipe returned an error, // or because a nonzero WaitDelay was set and expired. Stdin io.Reader // Stdout and Stderr specify the process's standard output and error. // // If either is nil, Run connects the corresponding file descriptor
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 41.4K bytes - Viewed (0)