- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for ImportMode (0.14 sec)
-
src/go/types/stdlib_test.go
pkg *Package err error } func (c *stdlibChecker) Import(path string) (*Package, error) { panic("unimplemented: use ImportFrom") } func (c *stdlibChecker) ImportFrom(path, dir string, _ ImportMode) (*Package, error) { if path == "unsafe" { // unsafe cannot be type checked normally. return Unsafe, nil } p, err := build.Default.Import(path, dir, build.FindOnly) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 04:39:56 UTC 2023 - 13.7K bytes - Viewed (0) -
src/go/build/build_test.go
ctxt := Default emptyDir := t.TempDir() ctxt.GOPATH = emptyDir ctxt.Dir = emptyDir tests := []struct { label string path, srcDir string mode ImportMode }{ {"Import(full, 0)", "go/build/doesnotexist", "", 0}, {"Import(local, 0)", "./doesnotexist", filepath.Join(ctxt.GOROOT, "src/go/build"), 0}, {"Import(full, FindOnly)", "go/build/doesnotexist", "", FindOnly},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 23.9K bytes - Viewed (0) -
api/go1.4.txt
pkg encoding/xml, method (*Decoder) InputOffset() int64 # CL 124940043 cmd/go, go/build: implement import comment checking, Russ Cox <******@****.***> pkg go/build, const ImportComment = 4 pkg go/build, const ImportComment ImportMode pkg go/build, type Package struct, ImportComment string # CL 155050043 go/build: Return MultiplePackageError on importing a dir containing multiple packages, Jens Frederich <******@****.***>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
} var installgorootAll = godebug.New("installgoroot").Value() == "all" // Import is the equivalent of build.Import given the information in Module. func (rp *IndexPackage) Import(bctxt build.Context, mode build.ImportMode) (p *build.Package, err error) { defer unprotect(protect(), &err) ctxt := (*Context)(&bctxt) p = &build.Package{} p.ImportPath = "." p.Dir = filepath.Join(rp.modroot, rp.dir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/SubsetScriptTransformer.java
AstUtils.filterAndTransformStatements(source, transformer); // Filter imported classes which are not available yet Iterator<ImportNode> iter = source.getAST().getImports().iterator(); while (iter.hasNext()) { ImportNode importedClass = iter.next(); if (!AstUtils.isVisible(source, importedClass.getClassName())) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 08 12:24:19 UTC 2021 - 3.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy
parent.appendChild(child) } def appendChild(Node node) { if (!current) { elements << (Element) document.importNode(node, true) } else { current.appendChild(document.importNode(node, true)) } } def appendChildren(Iterable<? extends Node> nodes) { nodes.each { appendChild(it) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java
ClassNode aliasedNode = null; ImportNode importNode = module.getImport(pname); if (importNode != null && importNode != currImportNode) { aliasedNode = importNode.getType(); } if (aliasedNode == null) { importNode = module.getStaticImports().get(pname); if (importNode != null && importNode != currImportNode) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 67.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java
} } warningsRenderer.renderTo(propertyDoc, "property", section); for (Element element : propertyDoc.getComment()) { section.appendChild(document.importNode(element, true)); } if (!propertyDoc.getAdditionalValues().isEmpty()) { Element segmentedlist = document.createElement("segmentedlist"); section.appendChild(segmentedlist);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.5K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
p, err := packageDataCache.Do(r.path, func() (*build.Package, error) { loaded = true var data struct { p *build.Package err error } if r.dir != "" { var buildMode build.ImportMode buildContext := cfg.BuildContext if !cfg.ModulesEnabled { buildMode = build.ImportComment } else { buildContext.GOPATH = "" // Clear GOPATH so packages are imported as pure module packages }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java
parent.appendChild(document.importNode(element, true)); } NodeList otherContent = classDoc.getClassSection().getChildNodes(); for (int i = 0; i < otherContent.getLength(); i++) { Node child = otherContent.item(i); if (child instanceof Element && !((Element) child).getTagName().equals("section")) { parent.appendChild(document.importNode(child, true)); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0)