Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 218 for goroot (0.07 seconds)

  1. 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()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  2. 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)}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. 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
    	}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
  4. api/go1.24.txt

    pkg os, func OpenRoot(string) (*Root, error) #67002
    pkg os, method (*Root) Close() error #67002
    pkg os, method (*Root) Create(string) (*File, error) #67002
    pkg os, method (*Root) FS() fs.FS #67002
    pkg os, method (*Root) Lstat(string) (fs.FileInfo, error) #67002
    pkg os, method (*Root) Mkdir(string, fs.FileMode) error #67002
    pkg os, method (*Root) Name() string #67002
    pkg os, method (*Root) Open(string) (*File, error) #67002
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 17 21:28:29 GMT 2024
    - 14.2K bytes
    - Click Count (0)
  5. cmd/common-main.go

    }
    
    // autoGenerateRootCredentials generates root credentials deterministically if
    // a KMS is configured, no manual credentials have been specified and if root
    // access is disabled.
    func autoGenerateRootCredentials() auth.Credentials {
    	if GlobalKMS == nil {
    		return globalActiveCred
    	}
    
    	aKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root access key")})
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.5K bytes
    - Click Count (3)
  6. 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
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 08 22:37:14 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/asm/testdata/arm64sveenc.s

    // Code generated by 'instgen -o=$GOROOT # from go install golang.org/x/arch/arm64/instgen@latest'. DO NOT EDIT.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$-8
    	PAND P4.B, P2.B, P1.Z, P14.B                      // 4e440425
    	PANDS P4.B, P2.B, P1.Z, P14.B                     // 4e444425
    	PBIC P4.B, P2.B, P1.Z, P14.B                      // 5e440425
    	PBICS P4.B, P2.B, P1.Z, P14.B                     // 5e444425
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  8. 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,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  9. 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;
            }
    
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertFalse(base.overlaps(other));
        }
    
        @Test
        @DisplayName("isRoot and isRootOrShare reflect path state")
        void testIsRootAndShare() {
            assertTrue(locator("smb://server/").isRoot());
            assertFalse(locator("smb://server/share/").isRoot());
            assertTrue(locator("smb://server/").isRootOrShare());
            assertTrue(locator("smb://server/share/").isRootOrShare());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top