Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for goTool (0.17 sec)

  1. misc/go_android_exec/main.go

    // and temporary data. Then, it copies relevant parts of GOROOT to the device,
    // including the go tool built for android.
    // A lock file ensures this only happens once, even with concurrent exec
    // wrappers.
    func adbCopyGoroot() error {
    	goTool, err := goTool()
    	if err != nil {
    		return err
    	}
    	cmd := exec.Command(goTool, "version")
    	cmd.Stderr = os.Stderr
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (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)}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. misc/ios/go_ios_exec.go

    // and returns the path to the package source relative to $GOROOT (or $GOPATH).
    func subdir() (pkgpath string, underGoRoot bool, err error) {
    	cwd, err := os.Getwd()
    	if err != nil {
    		return "", false, err
    	}
    	cwd, err = filepath.EvalSymlinks(cwd)
    	if err != nil {
    		log.Fatal(err)
    	}
    	goroot, err := filepath.EvalSymlinks(runtime.GOROOT())
    	if err != nil {
    		return "", false, err
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  4. internal/s3select/sql/value.go

    	case []Value:
    		_, ok = b.value.([]Value)
    	default:
    		ok = reflect.TypeOf(v.value) == reflect.TypeOf(b.value)
    	}
    	return ok
    }
    
    // ToBool returns the bool value; second return value refers to if the bool
    // conversion succeeded.
    func (v Value) ToBool() (val bool, ok bool) {
    	val, ok = v.value.(bool)
    	return
    }
    
    // ToTimestamp returns the timestamp value if present.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  5. internal/s3select/sql/evaluate.go

    	}
    
    	// Compute OR of conditions
    	result := false
    	for _, ex := range e.And {
    		res, err := ex.evalNode(r, tableAlias)
    		if err != nil {
    			return nil, err
    		}
    		b, ok := res.ToBool()
    		if !ok {
    			return nil, errExpectedBool
    		}
    		if b {
    			return FromBool(true), nil
    		}
    		result = result || b
    	}
    	return FromBool(result), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  6. 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
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  7. ci/devinfra/docker_windows/Dockerfile

        [Environment]::SetEnvironmentVariable('HOMEDRIVE', 'C:', 'Machine'); \
        [Environment]::SetEnvironmentVariable('HOMEPATH', '\Users\ContainerAdministrator\', 'Machine'); \
        [Environment]::SetEnvironmentVariable('GOROOT', 'C:\Program Files\Go\', 'Machine'); \
        [Environment]::SetEnvironmentVariable('KOKORO_POSIX_ROOT', '/tmpfs', 'Machine'); \
        [Environment]::SetEnvironmentVariable('KOKORO_ROOT', 'T:\', 'Machine'); \
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  8. 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
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  9. cmd/common-main.go

    			fmt.Println("Press the Enter Key to Exit")
    			fmt.Scanln()
    			os.Exit(1)
    		}
    	}
    
    	logger.Init(GOPATH, GOROOT)
    	logger.RegisterError(config.FmtError)
    
    	globalBatchJobsMetrics = batchJobMetrics{metrics: make(map[string]*batchJobInfo)}
    	go globalBatchJobsMetrics.purgeJobMetrics()
    
    	t, _ := minioVersionToReleaseTime(Version)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  10. cmd/server-main.go

    		})
    
    		// Initialize background replication
    		bootstrapTrace("initBackgroundReplication", func() {
    			initBackgroundReplication(GlobalContext, newObject)
    		})
    
    		// Initialize background ILM worker poool
    		bootstrapTrace("initBackgroundExpiry", func() {
    			initBackgroundExpiry(GlobalContext, newObject)
    		})
    
    		bootstrapTrace("globalTransitionState.Init", func() {
    			globalTransitionState.Init(newObject)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top