Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 73 for pkgName (0.2 sec)

  1. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar

    orld, String); public String getId(); } org/codehaus/plexus/classworlds/realm/Entry.class package org.codehaus.plexus.classworlds.realm; public synchronized class Entry implements Comparable { private final ClassRealm realm; private final String pkgName; void Entry(ClassRealm, String); ClassRealm getRealm(); String getPackageName(); boolean matches(String); public int compareTo(Object); public boolean equals(Object); public int hashCode(); } org/codehaus/plexus/classworlds/realm/NoSuchRealmException.class...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 41.6K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    	pkg, err := typecheck(src, conf, info)
    	if err != nil {
    		panic(err) // so we don't need to pass *testing.T
    	}
    	return pkg
    }
    
    // pkgName extracts the package name from src, which must contain a package header.
    func pkgName(src string) string {
    	const kw = "package "
    	if i := strings.Index(src, kw); i >= 0 {
    		after := src[i+len(kw):]
    		n := len(after)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    		// go.codereview/patch tests.
    		// For package names containing those words, use test.test.exe
    		// instead of pkgname.test.exe.
    		// Note that this file name is only used in the Go command's
    		// temporary directory. If the -c or other flags are
    		// given, the code below will still use pkgname.test.exe.
    		// There are two user-visible effects of this change.
    		// First, you can actually run 'go test' in directories that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/printer.go

    			for _, d := range n.Decls {
    				p.printNode(d)
    				p.print(_Semi, newline)
    			}
    			p.print(outdent)
    		}
    		p.print(_Rparen)
    
    	// files
    	case *File:
    		p.print(_Package, blank, n.PkgName)
    		if len(n.DeclList) > 0 {
    			p.print(_Semi, newline, newline)
    			p.printDeclList(n.DeclList)
    		}
    
    	default:
    		panic(fmt.Sprintf("syntax.Iterate: unexpected node type %T", n))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/symtab.go

    		pkghashes.SetLocal(true)
    		pkghashes.SetType(sym.SRODATA)
    
    		for i, l := range ctxt.Library {
    			// pkghashes[i].name
    			addgostring(ctxt, ldr, pkghashes, fmt.Sprintf("go:link.pkgname.%d", i), l.Pkg)
    			// pkghashes[i].linktimehash
    			addgostring(ctxt, ldr, pkghashes, fmt.Sprintf("go:link.pkglinkhash.%d", i), string(l.Fingerprint[:]))
    			// pkghashes[i].runtimehash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  6. src/go/types/issues_test.go

    func A(func(any), ...any) {}
    func B[T any](T)          {}
    
    func _() {
    	A(B, nil // syntax error: missing ',' before newline in argument list
    }
    `
    	fset := token.NewFileSet()
    	f, err := parser.ParseFile(fset, pkgName(src), src, 0)
    	if err == nil {
    		t.Fatal("expected syntax error")
    	}
    
    	var conf Config
    	conf.Check(f.Name.Name, fset, []*ast.File{f}, nil) // must not panic
    }
    
    func TestIssue61938(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/call.go

    	// can only appear in qualified identifiers which are mapped to
    	// selector expressions.
    	if ident, ok := e.X.(*syntax.Name); ok {
    		obj := check.lookup(ident.Value)
    		if pname, _ := obj.(*PkgName); pname != nil {
    			assert(pname.pkg == check.pkg)
    			check.recordUse(ident, pname)
    			pname.used = true
    			pkg := pname.imported
    
    			var exp Object
    			funcMode := value
    			if pkg.cgo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. src/go/types/call.go

    	// can only appear in qualified identifiers which are mapped to
    	// selector expressions.
    	if ident, ok := e.X.(*ast.Ident); ok {
    		obj := check.lookup(ident.Name)
    		if pname, _ := obj.(*PkgName); pname != nil {
    			assert(pname.pkg == check.pkg)
    			check.recordUse(ident, pname)
    			pname.used = true
    			pkg := pname.imported
    
    			var exp Object
    			funcMode := value
    			if pkg.cgo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Package).String", Method, 5},
    		{"(*PkgName).Exported", Method, 5},
    		{"(*PkgName).Id", Method, 5},
    		{"(*PkgName).Imported", Method, 5},
    		{"(*PkgName).Name", Method, 5},
    		{"(*PkgName).Parent", Method, 5},
    		{"(*PkgName).Pkg", Method, 5},
    		{"(*PkgName).Pos", Method, 5},
    		{"(*PkgName).String", Method, 5},
    		{"(*PkgName).Type", Method, 5},
    		{"(*Pointer).Elem", Method, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    	// PackageClause
    	f.GoVersion = p.goVersion
    	p.top = false
    	if !p.got(_Package) {
    		p.syntaxError("package statement must be first")
    		return nil
    	}
    	f.Pragma = p.takePragma()
    	f.PkgName = p.name()
    	p.want(_Semi)
    
    	// don't bother continuing if package clause has errors
    	if p.first != nil {
    		return nil
    	}
    
    	// Accept import declarations anywhere for error tolerance, but complain.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top