Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setBig (0.13 sec)

  1. src/crypto/internal/bigmod/nat.go

    func (x *Nat) set(y *Nat) *Nat {
    	x.reset(len(y.limbs))
    	copy(x.limbs, y.limbs)
    	return x
    }
    
    // setBig assigns x = n, optionally resizing n to the appropriate size.
    //
    // The announced length of x is set based on the actual bit size of the input,
    // ignoring leading zeroes.
    func (x *Nat) setBig(n *big.Int) *Nat {
    	limbs := n.Bits()
    	x.reset(len(limbs))
    	for i := range limbs {
    		x.limbs[i] = uint(limbs[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            assertTrue(ZERO.setBit(result).compareTo(x) <= 0);
            assertTrue(ZERO.setBit(result + 1).compareTo(x) > 0);
          }
        }
      }
    
      public void testLog2Ceiling() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          for (RoundingMode mode : asList(CEILING, UP)) {
            int result = BigIntegerMath.log2(x, mode);
            assertTrue(ZERO.setBit(result).compareTo(x) >= 0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. docs/metrics/v3.md

    | `minio_cluster_erasure_set_write_quorum`         | `gauge` | Write quorum for the erasure set in a pool                                        | `pool_id,set_id` |
    | `minio_cluster_erasure_set_online_drives_count`  | `gauge` | Count of online drives in the erasure set in a pool                               | `pool_id,set_id` |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 40.9K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_test.go

    		{call: "Setuid(0)", fn: func() error { return syscall.Setuid(0) }, filter: "Uid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Setgid(1)", fn: func() error { return syscall.Setgid(1) }, filter: "Gid:", expect: "\t1\t1\t1\t1"},
    		{call: "Setgid(0)", fn: func() error { return syscall.Setgid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. src/syscall/syscall_darwin.go

    //sysnb	Setreuid(ruid int, euid int) (err error)
    //sysnb	setrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Setsid() (pid int, err error)
    //sysnb	Settimeofday(tp *Timeval) (err error)
    //sysnb	Setuid(uid int) (err error)
    //sys	Symlink(path string, link string) (err error)
    //sys	Sync() (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_aix_ppc64.go

    //go:cgo_import_dynamic libc_Setegid setegid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Seteuid seteuid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Setgid setgid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Setuid setuid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Setpgid setpgid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Setpriority setpriority "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. src/math/big/nat.go

    	// changes must be reviewed by a security expert.
    	if i := len(x) - 1; i >= 0 {
    		// bits.Len uses a lookup table for the low-order bits on some
    		// architectures. Neutralize any input-dependent behavior by setting all
    		// bits after the first one bit.
    		top := uint(x[i])
    		top |= top >> 1
    		top |= top >> 2
    		top |= top >> 4
    		top |= top >> 8
    		top |= top >> 16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top