Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for ximports (0.17 sec)

  1. src/cmd/go/internal/modload/load.go

    	// If we didn't scan all of the imports from the main module, or didn't use
    	// imports.AnyTags, then we didn't necessarily load every package that
    	// contributes “direct” imports — so we can't safely mark existing direct
    	// dependencies in ld.requirements as indirect-only. Propagate them as direct.
    	loadedDirect := ld.allPatternIsRoot && maps.Equal(ld.Tags, imports.AnyTags())
    	if loadedDirect {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_test.go

    		if pkg == nil {
    			t.Errorf("for %s importer, type-checking failed to return a package", compiler)
    			continue
    		}
    
    		imports := pkg.Imports()
    		if len(imports) != 1 {
    			t.Errorf("for %s importer, got %d imports, want 1", compiler, len(imports))
    			continue
    		}
    		imp := imports[0]
    		if imp.Name() != "foo" {
    			t.Errorf(`for %s importer, got %q, want "foo"`, compiler, imp.Name())
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    		if pkg == nil {
    			t.Errorf("for %s importer, type-checking failed to return a package", compiler)
    			continue
    		}
    
    		imports := pkg.Imports()
    		if len(imports) != 1 {
    			t.Errorf("for %s importer, got %d imports, want 1", compiler, len(imports))
    			continue
    		}
    		imp := imports[0]
    		if imp.Name() != "foo" {
    			t.Errorf(`for %s importer, got %q, want "foo"`, compiler, imp.Name())
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

    import org.codehaus.groovy.ast.GenericsType;
    import org.codehaus.groovy.ast.ImportNode;
    import org.codehaus.groovy.ast.InnerClassNode;
    import org.codehaus.groovy.ast.MethodNode;
    import org.codehaus.groovy.ast.ModuleNode;
    import org.codehaus.groovy.ast.Parameter;
    import org.codehaus.groovy.ast.PropertyNode;
    import org.codehaus.groovy.ast.Variable;
    import org.codehaus.groovy.ast.VariableScope;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  5. src/go/build/build.go

    	// Dependency information
    	Imports        []string                    // import paths from GoFiles, CgoFiles
    	ImportPos      map[string][]token.Position // line information for Imports
    	TestImports    []string                    // import paths from TestGoFiles
    	TestImportPos  map[string][]token.Position // line information for TestImports
    	XTestImports   []string                    // import paths from XTestGoFiles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  6. src/go/printer/testdata/parser.go

    		p.next()
    	} else {
    		p.expect(token.STRING) // use expect() error handling
    	}
    	p.expectSemi() // call before accessing p.linecomment
    
    	// collect imports
    	spec := &ast.ImportSpec{doc, ident, path, p.lineComment}
    	p.imports = append(p.imports, spec)
    
    	return spec
    }
    
    func parseConstSpec(p *parser, doc *ast.CommentGroup, iota int) ast.Spec {
    	if p.trace {
    		defer un(trace(p, "ConstSpec"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modget/get.go

    	opts := modload.PackageOpts{
    		Tags:                     imports.AnyTags(),
    		VendorModulesInGOROOTSrc: true,
    		LoadTests:                *getT,
    		AssumeRootsImported:      true, // After 'go get foo', imports of foo should build.
    		SilencePackageErrors:     true, // May be fixed by subsequent upgrades or downgrades.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/out.go

    // imports, and this is the primary use of dynamic symbol tables with
    // internal linking.
    func elfImportedSymbols(f *elf.File) []elf.ImportedSymbol {
    	syms, _ := f.DynamicSymbols()
    	var imports []elf.ImportedSymbol
    	for _, s := range syms {
    		if (elf.ST_BIND(s.Info) == elf.STB_GLOBAL || elf.ST_BIND(s.Info) == elf.STB_WEAK) && s.Section == elf.SHN_UNDEF {
    			imports = append(imports, elf.ImportedSymbol{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. pilot/pkg/model/sidecar_test.go

    			namespace: "a",
    		},
    		{
    			name: "a/* imports only those in a",
    			listenerHosts: map[string]hostClassification{
    				"a": {allHosts: []host.Name{wildcardService}, exactHosts: sets.New[host.Name]()},
    			},
    			services:  allServices,
    			expected:  []*Service{serviceA8000, serviceA9000, serviceAalt},
    			namespace: "a",
    		},
    		{
    			name: "b/*, b/* imports only those in b",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  10. src/go/parser/parser.go

    	}
    
    	var decls []ast.Decl
    	if p.mode&PackageClauseOnly == 0 {
    		// import decls
    		for p.tok == token.IMPORT {
    			decls = append(decls, p.parseGenDecl(token.IMPORT, p.parseImportSpec))
    		}
    
    		if p.mode&ImportsOnly == 0 {
    			// rest of package body
    			prev := token.IMPORT
    			for p.tok != token.EOF {
    				// Continue to accept import declarations for error tolerance, but complain.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
Back to top