Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 275 for imposes (0.2 sec)

  1. src/go/build/read.go

    				info.parseErr = scanner.Error{Pos: info.fset.Position(spec.Pos()), Msg: "invalid import path: " + path}
    				info.imports = nil
    				return nil
    			}
    			if path == "embed" {
    				hasEmbed = true
    			}
    
    			doc := spec.Doc
    			if doc == nil && len(d.Specs) == 1 {
    				doc = d.Doc
    			}
    			info.imports = append(info.imports, fileImport{path, spec.Pos(), doc})
    		}
    	}
    
    	// Extract directives.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/ureader.go

    // unified IR export data decoder.
    func readUnifiedPackage(fset *token.FileSet, ctxt *types.Context, imports map[string]*types.Package, input pkgbits.PkgDecoder) *types.Package {
    	pr := pkgReader{
    		PkgDecoder: input,
    
    		fake: fakeFileSet{
    			fset:  fset,
    			files: make(map[string]*fileInfo),
    		},
    
    		ctxt:    ctxt,
    		imports: imports,
    
    		posBases: make([]string, input.NumElems(pkgbits.RelocPosBase)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

        }
    }
    
    
    interface TypeRefContext {
        fun resolveRef(dataTypeRef: DataTypeRef): DataType
    }
    
    
    interface AnalysisContextView : TypeRefContext {
        val schema: AnalysisSchema
        val imports: Map<String, FqName>
        val currentScopes: List<AnalysisScopeView>
        val assignments: List<AssignmentRecord>
    }
    
    
    class SchemaTypeRefContext(val schema: AnalysisSchema) : TypeRefContext {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/plugin/software/internal/SoftwareTypeImplementation.java

    import org.gradle.api.Project;
    import org.gradle.api.initialization.Settings;
    
    import java.util.List;
    
    /**
     * Represents a resolved software type implementation including the public model type and the plugin that exposes it.
     */
    public interface SoftwareTypeImplementation<T> {
        String getSoftwareType();
    
        Class<? extends T> getModelPublicType();
    
        Class<? extends Plugin<Project>> getPluginClass();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:34 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ExternalComponentGraphResolveState.java

    /**
     * Holds the resolution state for an external component.
     */
    public interface ExternalComponentGraphResolveState extends ComponentGraphResolveState {
    
        /**
         * @deprecated Try to avoid using this. This method exposes legacy stateful metadata. Usages should be
         * replaced by using the stateful types like {@link ComponentGraphResolveState} and
         * {@link org.gradle.internal.component.model.ComponentArtifactResolveState}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/go/types/format.go

    		if len(check.pkgPathMap[pkg.name]) > 1 {
    			return strconv.Quote(pkg.path)
    		}
    		return pkg.name
    	}
    	return ""
    }
    
    // markImports recursively walks pkg and its imports, to record unique import
    // paths in pkgPathMap.
    func (check *Checker) markImports(pkg *Package) {
    	if check.seenPkgMap[pkg] {
    		return
    	}
    	check.seenPkgMap[pkg] = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

            failure.assertHasCause("Type 'org.gradle.test.SoftwareTypeImplPlugin' is registered as a software type plugin, but it exposes multiple software types.")
        }
    
        def 'sensible error when a software type plugin exposes a private software type'() {
            given:
            withSoftwareTypePluginThatExposesPrivateSoftwareType().prepareToExecute()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/importdecl0/importdecl0a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package importdecl0
    
    import ()
    
    import (
    	// we can have multiple blank imports (was bug)
    	_ "math"
    	_ "net/rpc"
    	init /* ERROR "cannot import package as init" */ "fmt"
    	// reflect defines a type "flag" which shows up in the gc export data
    	"reflect"
    	. /* ERROR "imported and not used" */ "reflect"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/go/ast/import.go

    // SortImports sorts runs of consecutive import lines in import blocks in f.
    // It also removes duplicate imports when it is possible to do so without data loss.
    func SortImports(fset *token.FileSet, f *File) {
    	for _, d := range f.Decls {
    		d, ok := d.(*GenDecl)
    		if !ok || d.Tok != token.IMPORT {
    			// Not an import declaration, so we're done.
    			// Imports are always first.
    			break
    		}
    
    		if !d.Lparen.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInBuildScriptIntegrationTest.groovy

            given:
            def snippets = snippetsFactory.newSnippets(execOperationsFixture)
            testDirectory.file(file) << """
                ${snippets.imports}
                ${snippets.body}
            """
    
            when:
            configurationCacheFails(":help")
    
            then:
            failure.assertOutputContains("Hello")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top