- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for makeInt (0.11 sec)
-
src/go/constant/value.go
case token.ADD: if !is63bit(a) || !is63bit(b) { return makeInt(newInt().Add(big.NewInt(a), big.NewInt(b))) } c = a + b case token.SUB: if !is63bit(a) || !is63bit(b) { return makeInt(newInt().Sub(big.NewInt(a), big.NewInt(b))) } c = a - b case token.MUL: if !is32bit(a) || !is32bit(b) { return makeInt(newInt().Mul(big.NewInt(a), big.NewInt(b))) } c = a * b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
src/reflect/value.go
// convertOp: intXX -> [u]intXX func cvtInt(v Value, t Type) Value { return makeInt(v.flag.ro(), uint64(v.Int()), t) } // convertOp: uintXX -> [u]intXX func cvtUint(v Value, t Type) Value { return makeInt(v.flag.ro(), v.Uint(), t) } // convertOp: floatXX -> intXX func cvtFloatInt(v Value, t Type) Value { return makeInt(v.flag.ro(), uint64(int64(v.Float())), t) } // convertOp: floatXX -> uintXX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/proxy/conntrack/conntrack_test.go
for _, tc := range testCases { ct := makeCT(success) if err := ct.ClearEntriesForIP(tc.ip, v1.ProtocolUDP); err != nil { t.Errorf("%s/success: Unexpected error: %v", tc.name, err) } execCommand := ct.getExecutedCommand() if tc.expectCommand != execCommand { t.Errorf("%s/success: Expect command: %s, but executed %s", tc.name, tc.expectCommand, execCommand) } ct = makeCT(nothingToDelete)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 18:08:36 UTC 2024 - 6.7K bytes - Viewed (0) -
test/typeparam/issue51232.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:50:55 UTC 2023 - 898 bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue51232.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:50:55 UTC 2023 - 989 bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue51233.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:50:55 UTC 2023 - 818 bytes - Viewed (0) -
test/typeparam/issue51233.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:50:55 UTC 2023 - 816 bytes - Viewed (0) -
src/cmd/compile/internal/test/fixedbugs_test.go
// barrier call clobbers the result of makeT() before it is // read by the write barrier code. g = makeT() sink = make([]byte, 1000) // force write barriers to eventually happen } } func TestIssue15854b(t *testing.T) { const N = 10000 a := make([]T, N) for i := 0; i < N; i++ { a = append(a, makeT()) sink = make([]byte, 1000) // force write barriers to eventually happen }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go
{1000, 20, 60}, } for i := range cases { here := cases[i] makeSet := func() String { s := NewString() for j := 0; j < here.size; j++ { s.Insert(randomStringMaker.makeString(here.minStringLen, here.maxStringLen)) } return s } operands := make([]String, 500) for i := range operands { operands[i] = makeSet() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/net/interface_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 33.2K bytes - Viewed (0)