- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 223 for setBig (0.3 sec)
-
src/crypto/internal/bigmod/nat_test.go
N, _ := NewModulusFromBig(n) A := NewNat().setBig(a).ExpandFor(N) B := NewNat().setBig(b).ExpandFor(N) if A.Mul(B, N).IsZero() != 1 { t.Error("a * b mod (a * b) != 0") } i := new(big.Int).ModInverse(a, b) N, _ = NewModulusFromBig(b) A = NewNat().setBig(a).ExpandFor(N) I := NewNat().setBig(i).ExpandFor(N) one := NewNat().setBig(big.NewInt(1)).ExpandFor(N) if A.Mul(I, N).Equal(one) != 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 12 00:56:20 UTC 2024 - 11.6K bytes - Viewed (0) -
src/runtime/stack_test.go
} } } func testDeferPtrsGoexit(c chan int, i int) { var y int defer func() { c <- y }() defer setBig(&y, 42, bigBuf{}) useStackAndCall(i, Goexit) } func setBig(p *int, x int, b bigBuf) { *p = x } // TestDeferPtrsPanic is like TestDeferPtrsGoexit, but it's using panic instead
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 23.1K bytes - Viewed (0) -
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) -
src/runtime/os_openbsd.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/types/alg.go
var algPriority = [ASPECIAL + 1]int8{ASPECIAL: 1, ANOEQ: 2, ANOALG: 3, AMEM: -1} // setAlg sets the algorithm type of t to a, if it is of higher // priority to the current algorithm type. func (t *Type) setAlg(a AlgKind) { if t.alg == AUNK { base.Fatalf("setAlg(%v,%s) starting with unknown priority", t, a) } if algPriority[a] > algPriority[t.alg] { t.alg = a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 15:30:00 UTC 2024 - 2.4K bytes - Viewed (0) -
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) -
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) -
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) -
subprojects/core/src/main/java/org/gradle/api/tasks/GradleBuild.java
* * @param dir The project directory. Should not be null. * @since 4.0 */ public void setDir(File dir) { setDir((Object) dir); } /** * Sets the project directory for the build. * * @param dir The project directory. Should not be null. */ public void setDir(Object dir) { getStartParameter().setCurrentDir(getProject().file(dir)); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 6.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sparsemap.go
s.dense[i].val = v return } s.dense = append(s.dense, sparseEntry{k, v}) s.sparse[k] = int32(len(s.dense)) - 1 } // setBit sets the v'th bit of k's value, where 0 <= v < 32 func (s *sparseMap) setBit(k ID, v uint) { if v >= 32 { panic("bit index too large.") } i := s.sparse[k] if i < int32(len(s.dense)) && s.dense[i].key == k { s.dense[i].val |= 1 << v return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:06 UTC 2022 - 1.9K bytes - Viewed (0)