Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,078 for imposes (0.14 sec)

  1. src/cmd/go/testdata/script/list_parse_err.txt

    ! go list ./p
    stderr '^p[/\\]b.go:2:2: expected ''package'', found ''EOF''$'
    ! go list -f '{{range .Imports}}{{.}} {{end}}' ./p
    stderr '^p[/\\]b.go:2:2: expected ''package'', found ''EOF''$'
    ! go list -test ./t
    stderr '^go: can''t load test package: t[/\\]t_test.go:8:1: expected declaration, found ʕ'
    ! go list -test -f '{{range .Imports}}{{.}} {{end}}' ./t
    stderr '^go: can''t load test package: t[/\\]t_test.go:8:1: expected declaration, found ʕ'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 15:42:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/list_test_cycle.txt

    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath -deps -test ./p
    cmp stderr wanterr.txt
    
    -- wanterr.txt --
    go: can't load test package: package example/p
    	imports example/q
    	imports example/r
    	imports example/p: import cycle not allowed in test
    -- go.mod --
    module example
    go 1.20
    -- p/p.go --
    package p
    -- p/p_test.go --
    package p
    import "example/q"
    -- q/q.go --
    package q
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 19:18:23 UTC 2023
    - 644 bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy

                import ${DefaultTask.name};
                import ${ExecOperations.name};
                import ${Inject.name};
                import ${TaskAction.name};
                ${snippets.imports}
    
                public abstract class SneakyTask extends DefaultTask {
                    @Inject
                    protected abstract ExecOperations getExecOperations();
    
                    public SneakyTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_replace_import.txt

    # module does not contain a package.
    # TODO(#26909): Ideally these errors should include line numbers for the imports within the main module.
    cd fail
    ! go mod tidy
    stderr '^go: localhost.fail imports\n\tw: module w@latest found \(v0.0.0-00010101000000-000000000000, replaced by ../w\), but does not contain package w$'
    stderr '^go: localhost.fail imports\n\tnonexist: nonexist@v0.1.0: replacement directory ../nonexist does not exist$'
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirStarImportingScope.kt

        firScope: FirAbstractStarImportingScope,
        private val analysisSession: KaFirSession,
    ) : KaFirBasedScope<FirAbstractStarImportingScope>(firScope, analysisSession.firSymbolBuilder) {
    
        private val imports: List<StarImport> by cached {
            firScope.starImports.map { import ->
                StarImport(
                    import.packageFqName,
                    import.relativeParentClassName,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/go/format/format.go

    		if !ok || d.Tok != token.IMPORT {
    			// Not an import declaration, so we're done.
    			// Imports are always first.
    			return false
    		}
    		if d.Lparen.IsValid() {
    			// For now assume all grouped imports are unsorted.
    			// TODO(gri) Should check if they are sorted already.
    			return true
    		}
    		// Ungrouped imports are sorted by default.
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/internal/poll/export_posix_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || windows
    
    // Export guts for testing on posix.
    // Since testing imports os and os imports internal/poll,
    // the internal/poll tests can not be in package poll.
    
    package poll
    
    func (fd *FD) EOFError(n int, err error) error {
    	return fd.eofError(n, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 432 bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/gcimporter_test.go

    	}
    
    	// import go/internal/gcimporter which imports go/types partially
    	fset := token.NewFileSet()
    	imports := make(map[string]*types.Package)
    	_, err := Import(fset, imports, "go/internal/gcimporter", ".", nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// look for go/types package
    	var goTypesPkg *types.Package
    	for path, pkg := range imports {
    		if path == "go/types" {
    			goTypesPkg = pkg
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. src/internal/poll/export_test.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Export guts for testing.
    // Since testing imports os and os imports internal/poll,
    // the internal/poll tests can not be in package poll.
    
    package poll
    
    var Consume = consume
    
    type XFDMutex struct {
    	fdMutex
    }
    
    func (mu *XFDMutex) Incref() bool {
    	return mu.incref()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 03:57:40 UTC 2022
    - 714 bytes
    - Viewed (0)
  10. pkg/kube/kubetypes/types.go

    	Run(stop <-chan struct{})
    }
    
    // DelayedFilter exposes an interface for a filter create delayed informers, which start
    // once the underlying resource is available. See kclient.NewDelayedInformer.
    type DelayedFilter interface {
    	HasSynced() bool
    	KnownOrCallback(f func(stop <-chan struct{})) bool
    }
    
    // WriteAPI exposes a generic API for a client go type for write operations.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top