- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for nonZero (0.15 sec)
-
src/crypto/internal/edwards25519/scalar.go
var diff fiatScalarMontgomeryDomainFieldElement fiatScalarSub(&diff, &s.s, &t.s) var nonzero uint64 fiatScalarNonzero(&nonzero, (*[4]uint64)(&diff)) nonzero |= nonzero >> 32 nonzero |= nonzero >> 16 nonzero |= nonzero >> 8 nonzero |= nonzero >> 4 nonzero |= nonzero >> 2 nonzero |= nonzero >> 1 return int(^nonzero) & 1 } // nonAdjacentForm computes a width-w non-adjacent form for this scalar. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/scheduler/util/pod_resources.go
} // GetRequestForResource returns the requested values unless nonZero is true and there is no defined request // for CPU and memory. // If nonZero is true and the resource has no defined request for CPU or memory, it returns a default value. func GetRequestForResource(resourceName v1.ResourceName, requests *v1.ResourceList, nonZero bool) resource.Quantity { if requests == nil { return resource.Quantity{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 01 06:25:30 UTC 2023 - 3K bytes - Viewed (0) -
src/math/fma.go
switch { case n == 0: return u1, u2 case n == 64: return 0, u1 | nonzero(u2) case n >= 128: return 0, nonzero(u1 | u2) case n < 64: r1, r2 = shr(u1, u2, n) r2 |= nonzero(u2 & (1<<n - 1)) case n < 128: r1, r2 = shr(u1, u2, n) r2 |= nonzero(u1&(1<<(n-64)-1) | u2) } return } func lz(u1, u2 uint64) (l int32) { l = int32(bits.LeadingZeros64(u1))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 05 22:05:30 UTC 2023 - 4.6K bytes - Viewed (0) -
pkg/scheduler/util/pod_resources_test.go
}) } } func TestGetRequestForResource(t *testing.T) { tests := []struct { name string requests v1.ResourceList resource v1.ResourceName expectedQuantity int64 nonZero bool }{ { "extended_resource_not_found", v1.ResourceList{}, v1.ResourceName("intel.com/foo"), 0, true, }, { "extended_resource_found", v1.ResourceList{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 09 23:15:53 UTC 2023 - 3.7K bytes - Viewed (0) -
src/net/interface_linux.go
} case IPv6len: switch ifim.Type { case sysARPHardwareIPv6IPv6, sysARPHardwareGREIPv6: continue } } var nonzero bool for _, b := range a.Value { if b != 0 { nonzero = true break } } if nonzero { ifi.HardwareAddr = a.Value[:] } case syscall.IFLA_IFNAME: ifi.Name = string(a.Value[:len(a.Value)-1]) case syscall.IFLA_MTU:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 27 05:42:03 UTC 2022 - 7K bytes - Viewed (0) -
src/net/hook.go
) ([]IPAddr, error) { return fn(ctx, network, host) } testPreHookSetKeepAlive = func(*netFD) {} testHookSetKeepAlive = func(KeepAliveConfig) {} // testHookStepTime sleeps until time has moved forward by a nonzero amount. // This helps to avoid flakes in timeout tests by ensuring that an implausibly // short deadline (such as 1ns in the future) is always expired by the time // a relevant system call occurs. testHookStepTime = func() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 934 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/kotlinDsl/androidSingleBuild/kotlin/src/main/res/drawable-v24/ic_launcher_foreground.xml
android:offset="1.0" /> </gradient> </aapt:attr> </path> <path android:fillColor="#FFFFFF" android:fillType="nonZero"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/go/go_unix_test.go
// it should finish up and exit with a nonzero status, // not have to be killed with SIGKILL. cancel() io.Copy(stdout, r) if stdout.Len() > 0 { t.Logf("stdout:\n%s", stdout) } err = cmd.Wait() ee, _ := err.(*exec.ExitError) if ee == nil { t.Fatalf("unexpectedly finished with nonzero status") } if len(ee.Stderr) > 0 { t.Logf("stderr:\n%s", ee.Stderr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 19 16:17:55 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/covdata/tool_test.go
re: regexp.MustCompile(`^0: L23:C23 -- L24:C12 NS=1 = (\d+)$`), nonzero: true, }, { tag: "third function unit 1", re: regexp.MustCompile(`^1: L27:C2 -- L28:C10 NS=2 = (\d+)$`), nonzero: true, }, { tag: "third function unit 2", re: regexp.MustCompile(`^2: L24:C12 -- L26:C3 NS=1 = (\d+)$`), nonzero: true, }, } flags := []string{"-live", "-pkg=" + mainPkgPath}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/java-android-application/src/main/res/drawable-v24/ic_launcher_foreground.xml
android:offset="1.0" /> </gradient> </aapt:attr> </path> <path android:fillColor="#FFFFFF" android:fillType="nonZero"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.8K bytes - Viewed (0)