Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetImports (0.41 sec)

  1. src/go/internal/gcimporter/ureader.go

    	for _, imp := range pr.pkgs {
    		if imp != nil && imp != pkg {
    			imps = append(imps, imp)
    		}
    	}
    	slices.SortFunc(imps, func(a, b *types.Package) int {
    		return strings.Compare(a.Path(), b.Path())
    	})
    	pkg.SetImports(imps)
    
    	pkg.MarkComplete()
    	return pkg
    }
    
    // A reader holds the state for reading a single unified IR element
    // within a package.
    type reader struct {
    	pkgbits.Decoder
    
    	p *pkgReader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/iimport.go

    	// record all referenced packages as imports
    	list := append(([]*types.Package)(nil), pkgList[1:]...)
    	slices.SortFunc(list, func(a, b *types.Package) int {
    		return strings.Compare(a.Path(), b.Path())
    	})
    	localpkg.SetImports(list)
    
    	// package was imported completely and without errors
    	localpkg.MarkComplete()
    	return localpkg, nil
    }
    
    type setConstraintArgs struct {
    	t          *types.TypeParam
    	constraint types.Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy

            return ShellScript.cmdToVarargLiterals(testExecutable.commandLine)
        }
    
        interface Snippets {
            abstract String getBody()
    
            abstract String getImports()
        }
    
        interface SnippetsFactory {
            abstract Snippets newSnippets(ExternalProcessFixture fixture)
    
            abstract String getSummary()
        }
    
        interface PrintProcessOutput {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top