Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for nonZero (0.12 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. 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)
  3. 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)
  4. 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)
  5. src/cmd/gofmt/gofmt.go

    // avoid invoking the reporter until it has finished any parallelizable work.)
    //
    // If f returns a non-nil error, that error will be reported after f's output
    // (if any) and will cause a nonzero final exit code.
    func (s *sequencer) Add(weight int64, f func(*reporter) error) {
    	if weight < 0 || weight > s.maxWeight {
    		weight = s.maxWeight
    	}
    	if err := s.sem.Acquire(context.TODO(), weight); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedBytes.java

                 * corresponds to the least significant nonzero byte in lw ^ rw, since lw and rw are
                 * little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant
                 * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get
                 * that least significant nonzero byte.
                 */
                int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/elf_test.go

    	if section.Addr != 0 {
    		t.Fatalf("expected Addr == 0 for .shstrtab got %x", section.Addr)
    	}
    	if section.Size == 0 {
    		t.Fatal("expected nonzero Size for .shstrtab got 0")
    	}
    	if section.Flags&elf.SHF_ALLOC != 0 {
    		t.Fatal("expected zero alloc flag got nonzero for .shstrtab")
    	}
    	for idx, p := range elfFile.Progs {
    		if section.Offset >= p.Off && section.Offset < p.Off+p.Filesz {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

                 * corresponds to the least significant nonzero byte in lw ^ rw, since lw and rw are
                 * little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant
                 * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get
                 * that least significant nonzero byte.
                 */
                int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. hack/lib/logging.sh

      kube::log::error_exit "Error in ${BASH_SOURCE[1]}:${BASH_LINENO[0]}. '${BASH_COMMAND}' exited with status ${err}" "${1:-1}" 1
    }
    
    kube::log::install_errexit() {
      # trap ERR to provide an error handler whenever a command exits nonzero  this
      # is a more verbose version of set -o errexit
      trap 'kube::log::errexit' ERR
    
      # setting errtrace allows our ERR trap handler to be propagated to functions,
      # expansions and subshells
      set -o errtrace
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 06 14:40:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/net/fd_windows.go

    	if err := fd.init(); err != nil {
    		return nil, err
    	}
    
    	if ctx.Done() != nil {
    		// Propagate the Context's deadline and cancellation.
    		// If the context is already done, or if it has a nonzero deadline,
    		// ensure that that is applied before the call to ConnectEx begins
    		// so that we don't return spurious connections.
    		defer fd.pfd.SetWriteDeadline(noDeadline)
    
    		if ctx.Err() != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top