Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for nonZero (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/documentation/docs/src/snippets/kotlinDsl/androidBuild/kotlin/app/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)
  9. platforms/documentation/docs/src/samples/templates/java-android-application/app/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)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go

    		},
    		{
    			name: "float64 smallest nonzero",
    			obj:  float64(math.SmallestNonzeroFloat64),
    		},
    		{
    			name: "float64 no fractional component",
    			obj:  float64(5),
    		},
    		{
    			name: "float32",
    			obj:  float32(2.71),
    		},
    		{
    			name: "float32 max",
    			obj:  float32(math.MaxFloat32),
    		},
    		{
    			name: "float32 smallest nonzero",
    			obj:  float32(math.SmallestNonzeroFloat32),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 21:48:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top