- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 124 for src1 (0.12 sec)
-
src/go/scanner/scanner_test.go
func TestInit(t *testing.T) { var s Scanner // 1st init src1 := "if true { }" f1 := fset.AddFile("src1", fset.Base(), len(src1)) s.Init(f1, []byte(src1), nil, dontInsertSemis) if f1.Size() != len(src1) { t.Errorf("bad file size: got %d, expected %d", f1.Size(), len(src1)) } s.Scan() // if s.Scan() // true _, tok, _ := s.Scan() // {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 15.7K bytes - Viewed (0) -
src/go/types/issues_test.go
t.Fatalf("%s: got %v; want package types", test, pkg) } } f("src0", src0) f("src1", src1) f("src2", src2) } func TestIssue22525(t *testing.T) { const src = `package p; func f() { var a, b, c, d, e int }` got := "\n" conf := Config{Error: func(err error) { got += err.Error() + "\n" }} typecheck(src, &conf, nil) // do not crash want := "\n" + "p:1:27: declared and not used: a\n" +
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
t.Fatalf("%s: got %v; want package types2", test, pkg) } } f("src0", src0) f("src1", src1) f("src2", src2) } func TestIssue22525(t *testing.T) { const src = `package p; func f() { var a, b, c, d, e int }` got := "\n" conf := Config{Error: func(err error) { got += err.Error() + "\n" }} typecheck(src, &conf, nil) // do not crash want := "\n" + "p:1:27: declared and not used: a\n" +
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
// before being accessed. (Move {t} [n] dst1 src1 zero:(Zero {t} [n] dst2 mem)) && zero.Uses == 1 && isSamePtr(dst1, dst2) && disjoint(src1, n, dst2, n) && clobber(zero) => (Move {t} [n] dst1 src1 mem) (Move {t} [n] dst1 src1 vardef:(VarDef {x} zero:(Zero {t} [n] dst2 mem))) && zero.Uses == 1 && vardef.Uses == 1 && isSamePtr(dst1, dst2) && disjoint(src1, n, dst2, n) && clobber(zero, vardef)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go
// See: https://openid.net/specs/openid-connect-core-1_0.html#AggregatedDistributedClaims // // { // ... (other normal claims)... // "_claim_names": { // "groups": "src1" // }, // "_claim_sources": { // "src1": { // "endpoint": "https://www.example.com", // "access_token": "f005ba11" // }, // }, // } func (r *claimResolver) expand(ctx context.Context, c claims) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 37.9K bytes - Viewed (0) -
src/go/types/api_test.go
// test case for a one-line error const src1 = ` package p var _ T ` _, err := typecheck(src1, &conf, nil) if err == nil || !strings.HasSuffix(err.Error(), " [go.dev/e/UndeclaredName]") { t.Errorf("src1: unexpected error: got %v", err) } // test case for a multi-line error const src2 = ` package p func f() int { return 0 } var _ = f(1, 2) `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
// test case for a one-line error const src1 = ` package p var _ T ` _, err := typecheck(src1, &conf, nil) if err == nil || !strings.HasSuffix(err.Error(), " [go.dev/e/UndeclaredName]") { t.Errorf("src1: unexpected error: got %v", err) } // test case for a multi-line error const src2 = ` package p func f() int { return 0 } var _ = f(1, 2) `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
v.AddArg3(dst, src, midmem) return true } // match: (Move {t1} [s] dst tmp1 midmem:(VarDef (Move {t2} [s] tmp2 src _))) // cond: t1.Compare(t2) == types.CMPeq && isSamePtr(tmp1, tmp2) && isStackPtr(src) && !isVolatile(src) && disjoint(src, s, tmp2, s) && (disjoint(src, s, dst, s) || isInlinableMemmove(dst, src, s, config)) // result: (Move {t1} [s] dst src midmem) for { s := auxIntToInt64(v.AuxInt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0) -
src/crypto/x509/sec1.go
"encoding/asn1" "errors" "fmt" "math/big" ) const ecPrivKeyVersion = 1 // ecPrivateKey reflects an ASN.1 Elliptic Curve Private Key Structure. // References: // // RFC 5915 // SEC1 - http://www.secg.org/sec1-v2.pdf // // Per RFC 5915 the NamedCurveOID is marked as ASN.1 OPTIONAL, however in // most cases it is not. type ecPrivateKey struct { Version int PrivateKey []byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 4.6K bytes - Viewed (0)