- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 312 for newRat (0.15 sec)
-
src/cmd/compile/internal/walk/select.go
fn := typecheck.LookupRuntime("selectgo") var fnInit ir.Nodes r.Rhs = []ir.Node{mkcall1(fn, fn.Type().ResultsTuple(), &fnInit, bytePtrToIndex(selv, 0), bytePtrToIndex(order, 0), pc0, ir.NewInt(base.Pos, int64(nsends)), ir.NewInt(base.Pos, int64(nrecvs)), ir.NewBool(base.Pos, dflt == nil))} init = append(init, fnInit...) init = append(init, typecheck.Stmt(r)) // selv, order, and pcs (if race) are no longer alive after selectgo.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 7.8K bytes - Viewed (0) -
pkg/apis/core/validation/events.go
allErrs = append(allErrs, ValidateImmutableField(newEvent.Message, oldEvent.Message, field.NewPath("message"))...) allErrs = append(allErrs, ValidateImmutableField(newEvent.Source, oldEvent.Source, field.NewPath("source"))...) allErrs = append(allErrs, ValidateImmutableField(newEvent.FirstTimestamp, oldEvent.FirstTimestamp, field.NewPath("firstTimestamp"))...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 01 19:47:37 UTC 2022 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors_test.go
testCases := struct { ErrList []ErrorList NumExpectedErrs []int }{ []ErrorList{ nil, {}, {Invalid(NewPath("f"), "v", "d")}, {Invalid(NewPath("f"), "v", "d"), Invalid(NewPath("f"), "v", "d")}, {Invalid(NewPath("f"), "v", "d"), InternalError(NewPath(""), fmt.Errorf("e"))}, }, []int{ 0, 0, 1, 1, 2, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 4.2K bytes - Viewed (0) -
src/cmd/compile/internal/coverage/cover.go
lenx := ir.NewInt(base.Pos, int64(mdlen)) // untyped // Generate a call to runtime.addCovMeta, e.g. // // pkgIdVar = runtime.addCovMeta(&sym, len, hash, pkgpath, pkid, cmode, cgran) // fn := typecheck.LookupRuntime("addCovMeta") pkid := coverage.HardCodedPkgID(base.Ctxt.Pkgpath) pkIdNode := ir.NewInt(base.Pos, int64(pkid)) cmodeNode := ir.NewInt(base.Pos, int64(cnames.CounterMode))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0) -
src/math/big/example_test.go
func Example_fibonacci() { // Initialize two big ints with the first two numbers in the sequence. a := big.NewInt(0) b := big.NewInt(1) // Initialize limit as 10^99, the smallest integer with 100 digits. var limit big.Int limit.Exp(big.NewInt(10), big.NewInt(99), nil) // Loop while a is smaller than 1e100. for a.Cmp(&limit) < 0 { // Compute the next Fibonacci number, storing it in a.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 26 16:15:32 UTC 2020 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/pkginit/initAsanGlobals.go
// Assign globals[i].size. g := n.(*ir.Name) size := g.Type().Size() c = typecheck.DefaultLit(ir.NewInt(base.Pos, size), types.Types[types.TUINTPTR]) setField("size", c, i) // Assign globals[i].sizeWithRedzone. rzSize := GetRedzoneSizeForGlobal(size) sizeWithRz := rzSize + size c = typecheck.DefaultLit(ir.NewInt(base.Pos, sizeWithRz), types.Types[types.TUINTPTR]) setField("sizeWithRedzone", c, i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:24 UTC 2023 - 8.7K bytes - Viewed (0) -
pkg/util/pod/pod.go
} newData, err := json.Marshal(v1.Pod{ ObjectMeta: metav1.ObjectMeta{UID: uid}, // only put the uid in the new object to ensure it appears in the patch as a precondition Status: newPodStatus, }) if err != nil { return nil, false, fmt.Errorf("failed to Marshal newData for pod %q/%q: %v", namespace, name, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 15:22:29 UTC 2022 - 3K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
hashToNat(c, bigmod.NewNat(), h) } } func TestZeroSignature(t *testing.T) { testAllCurves(t, testZeroSignature) } func testZeroSignature(t *testing.T, curve elliptic.Curve) { privKey, err := GenerateKey(curve, rand.Reader) if err != nil { panic(err) } if Verify(&privKey.PublicKey, make([]byte, 64), big.NewInt(0), big.NewInt(0)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaim_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.7K bytes - Viewed (0) -
test/stackobj2.go
// Use both orderings to ensure the linked list isn't always in address order. var a, b T if n%3 == 0 { a.data = newInt(n) a.next = x a.next2 = x b.data = newInt(n - 1) b.next = &a b.next2 = &a x = &b } else { b.data = newInt(n) b.next = x b.next2 = x a.data = newInt(n - 1) a.next = &b a.next2 = &b x = &a } makelist(x, n-2) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 03 19:54:29 UTC 2018 - 1.6K bytes - Viewed (0)