Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,760 for package_a (0.17 sec)

  1. src/cmd/compile/internal/ssagen/abi.go

    		// ABIInternal, since they may be referenced from
    		// other packages.
    		fn.ABIRefs.Set(obj.ABIInternal, true)
    
    		// If a symbol is defined in this package (either in
    		// Go or assembly) and given a linkname, it may be
    		// referenced from another package, so make it
    		// callable via any ABI. It's important that we know
    		// it's defined in this package since other packages
    		// may "pull" symbols using linkname and we don't want
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractSourceIncrementalCompilationIntegrationTest.groovy

        def "recompiles all classes in a package if the package-info file is removed"() {
            given:
            def packageFile = file("src/main/${languageName}/foo/package-info.${languageName}")
            packageFile.text = """@Deprecated package foo;"""
            source(
                "package foo; class A {}",
                "package foo; public class B {}",
                "package foo.bar; class C {}",
                "package baz; class D {}",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    		a.apply(n, "Body", nil, n.Body)
    
    	// Files and packages
    	case *ast.File:
    		a.apply(n, "Doc", nil, n.Doc)
    		a.apply(n, "Name", nil, n.Name)
    		a.applyList(n, "Decls")
    		// Don't walk n.Comments; they have either been walked already if
    		// they are Doc comments, or they can be easily walked explicitly.
    
    	case *ast.Package:
    		// collect and sort names for reproducible behavior
    		var names []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  4. src/go/types/issues_test.go

    // a race condition if package b is imported elsewhere, in a package that is
    // concurrently type-checked.
    func TestIssue34921(t *testing.T) {
    	defer func() {
    		if r := recover(); r != nil {
    			t.Error(r)
    		}
    	}()
    
    	var sources = []string{
    		`package a; type T int`,
    		`package b; import "a"; type T a.T`,
    	}
    
    	var pkg *Package
    	for _, src := range sources {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. src/internal/testenv/testenv.go

    	}
    }
    
    // WriteImportcfg writes an importcfg file used by the compiler or linker to
    // dstPath containing entries for the file mappings in packageFiles, as well
    // as for the packages transitively imported by the package(s) in pkgs.
    //
    // pkgs may include any package pattern that is valid to pass to 'go list',
    // so it may also be a list of Go source files all in the same directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/query.go

    // satisfied because it matches one or more packages found in the main module.
    type QueryMatchesPackagesInMainModuleError struct {
    	Pattern  string
    	Query    string
    	Packages []string
    }
    
    func (e *QueryMatchesPackagesInMainModuleError) Error() string {
    	if len(e.Packages) > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/ureader.go

    }
    
    func (r *reader) qualifiedIdent() (*types.Package, string) { return r.ident(pkgbits.SyncSym) }
    func (r *reader) localIdent() (*types.Package, string)     { return r.ident(pkgbits.SyncLocalIdent) }
    func (r *reader) selector() (*types.Package, string)       { return r.ident(pkgbits.SyncSelector) }
    
    func (r *reader) ident(marker pkgbits.SyncMarker) (*types.Package, string) {
    	r.Sync(marker)
    	return r.pkg(), r.String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/issues_test.go

    // a race condition if package b is imported elsewhere, in a package that is
    // concurrently type-checked.
    func TestIssue34921(t *testing.T) {
    	defer func() {
    		if r := recover(); r != nil {
    			t.Error(r)
    		}
    	}()
    
    	var sources = []string{
    		`package a; type T int`,
    		`package b; import "a"; type T a.T`,
    	}
    
    	var pkg *Package
    	for _, src := range sources {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. src/runtime/mbarrier.go

    	// pass a type here.
    	//
    	// See the comment on bulkBarrierPreWrite.
    	bulkBarrierPreWrite(uintptr(dst), uintptr(src), typ.PtrBytes, typ)
    }
    
    // reflect_typedmemmove is meant for package reflect,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/goccy/json
    //   - github.com/modern-go/reflect2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/FilteringClassLoaderTest.groovy

        }
    
        void "can disallow packages"() {
            given:
            withSpec { FilteringClassLoader.Spec spec ->
                spec.disallowPackage("org.junit")
            }
    
            expect:
            cannotLoadClass(Test)
            cannotSeePackage("org.junit")
            cannotSeePackage("org.junit.subpackage")
        }
    
        void "disallow wins over allow packages"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top