- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 190 for goroot (0.08 sec)
-
misc/go_android_exec/main.go
gorootPath = runtime.GOROOT() if gorootPath != "" { return } // runtime.GOROOT is empty — perhaps go_android_exec was built with // -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback, // assuming that the 'go' command in $PATH is the correct one. cmd := exec.Command("go", "env", "GOROOT") cmd.Stderr = os.Stderr out, err := cmd.Output()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
internal/logger/logger.go
} goPathList = strings.Split(goPath, pathSeparator) goRootList = strings.Split(goRoot, pathSeparator) defaultgoPathList = strings.Split(build.Default.GOPATH, pathSeparator) defaultgoRootList = strings.Split(build.Default.GOROOT, pathSeparator) // Add trim string "{GOROOT}/src/" into trimStrings trimStrings = []string{filepath.Join(runtime.GOROOT(), "src") + string(filepath.Separator)}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
src/cmd/api/main_test.go
var exitCode = 0 func Check(t *testing.T) { checkFiles, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/go1*.txt")) if err != nil { t.Fatal(err) } var nextFiles []string if v := runtime.Version(); strings.Contains(v, "devel") || strings.Contains(v, "beta") { next, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/next/*.txt")) if err != nil { t.Fatal(err) } nextFiles = next }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
cmd/common-main.go
// for each directory whether it contains a public.crt and private.key. // If so, we try to add it to certificate manager. root, err := Open(globalCertsDir.Get()) if err != nil { return nil, nil, false, err } defer root.Close() files, err := root.Readdir(-1) if err != nil { return nil, nil, false, err } for _, file := range files { // Ignore all // - regular files
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
src/cmd/cgo/doc.go
declared in the preamble may be used, even if they start with a lower-case letter. Exception: static variables in the preamble may not be referenced from Go code; static functions are permitted. See $GOROOT/cmd/cgo/internal/teststdio and $GOROOT/misc/cgo/gmp for examples. See "C? Go? Cgo!" for an introduction to using cgo: https://golang.org/doc/articles/c_go_cgo.html. CFLAGS, CPPFLAGS, CXXFLAGS, FFLAGS and LDFLAGS may be defined with pseudo
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0) -
cmd/kms-handlers_test.go
// Version test { name: "version as root want success", method: http.MethodGet, path: kmsVersionPath, asRoot: true, wantStatusCode: http.StatusOK, wantResp: []string{"version"}, }, { name: "version as user with no policy want forbidden", method: http.MethodGet, path: kmsVersionPath, asRoot: false, wantStatusCode: http.StatusForbidden,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0) -
cni/pkg/cmd/root.go
John Howard <******@****.***> 1723822427 -0700
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 12.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
/** * @param root The root dependency * @return this request for chaining, never {@code null} */ @Nonnull public DependencyResolverRequestBuilder root(@Nonnull DependencyCoordinates root) { this.root = root; return this; } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
} } return null; } static String[] list ( SmbFile root, String wildcard, int searchAttributes, final SmbFilenameFilter fnf, final SmbFileFilter ff ) throws SmbException { try ( CloseableIterator<SmbResource> it = doEnum(root, wildcard, searchAttributes, fnf == null ? null : new ResourceNameFilter() { @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:41:19 UTC 2019 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
boolean hasNextAddress () { return this.addressIndex < this.addresses.length; } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#isRoot() */ @Override public boolean isRoot () { // length == 0 should not happen return getShare() == null && getUNCPath().length() <= 1; } boolean isRootOrShare () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0)