Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for setBig (0.11 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. src/cmd/compile/internal/types/size.go

    	case TFLOAT32:
    		w = 4
    		t.floatRegs = 1
    		t.setAlg(AFLOAT32)
    
    	case TFLOAT64:
    		w = 8
    		t.align = uint8(RegSize)
    		t.floatRegs = 1
    		t.setAlg(AFLOAT64)
    
    	case TCOMPLEX64:
    		w = 8
    		t.align = 4
    		t.floatRegs = 2
    		t.setAlg(ACPLX64)
    
    	case TCOMPLEX128:
    		w = 16
    		t.align = uint8(RegSize)
    		t.floatRegs = 2
    		t.setAlg(ACPLX128)
    
    	case TPTR:
    		w = int64(PtrSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/runtime/os_netbsd.go

    	var uc ucontextt
    	getcontext(unsafe.Pointer(&uc))
    
    	// _UC_SIGMASK does not seem to work here.
    	// It would be nice if _UC_SIGMASK and _UC_STACK
    	// worked so that we could do all the work setting
    	// the sigmask and the stack here, instead of setting
    	// the mask here and the stack in netbsdMstart.
    	// For now do the blocking manually.
    	uc.uc_flags = _UC_SIGMASK | _UC_CPU
    	uc.uc_link = nil
    	uc.uc_sigmask = sigset_all
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/runtime/signal_unix.go

    		// it may hit stack split that is not expected here.
    		if gp != nil {
    			setg(nil)
    		}
    		badsignal(uintptr(sig), c)
    		// Restore g
    		if gp != nil {
    			setg(gp)
    		}
    		return
    	}
    
    	setg(gp.m.gsignal)
    
    	// If some non-Go code called sigaltstack, adjust.
    	var gsignalStack gsignalStack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. 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)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/SourceFoldersCreator.java

            String relativePath = provideRelativePath.apply(dir);
            SourceFolder folder = new SourceFolder(relativePath, null);
            folder.setDir(dir);
            folder.setName(dir.getName());
            folder.setIncludes(getIncludesForTree(sourceSet, tree));
            folder.setExcludes(getExcludesForTree(sourceSet, tree));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/memcombine.go

    		}
    
    		// Move all the stores to the root.
    		for i := int64(0); i < n; i++ {
    			v := a[i].store
    			if v == root {
    				v.Aux = cv.Type // widen store type
    				v.Pos = pos
    				v.SetArg(0, ptr)
    				v.SetArg(1, cv)
    				v.SetArg(2, mem)
    			} else {
    				clobber(v)
    				v.Type = types.Types[types.TBOOL] // erase memory type
    			}
    		}
    		return true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/os3_solaris.go

    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = sigset_all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/math/big/int.go

    		return t.bit(uint(i)) ^ 1
    	}
    
    	return x.abs.bit(uint(i))
    }
    
    // SetBit sets z to x, with x's i'th bit set to b (0 or 1).
    // That is, if b is 1 SetBit sets z = x | (1 << i);
    // if b is 0 SetBit sets z = x &^ (1 << i). If b is not 0 or 1,
    // SetBit will panic.
    func (z *Int) SetBit(x *Int, i int, b uint) *Int {
    	if i < 0 {
    		panic("negative bit index")
    	}
    	if x.neg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top