Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 210 for getEnd (0.24 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    // $HOME is not set, falls back to os.TempDir().
    func setTmpDir(ui plugin.UI) (string, error) {
    	var dirs []string
    	if profileDir := os.Getenv("PPROF_TMPDIR"); profileDir != "" {
    		dirs = append(dirs, profileDir)
    	}
    	if homeDir := os.Getenv(homeEnv()); homeDir != "" {
    		dirs = append(dirs, filepath.Join(homeDir, "pprof"))
    	}
    	dirs = append(dirs, os.TempDir())
    	for _, tmpDir := range dirs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/go/internal/toolchain/select.go

    		return
    	}
    
    	// Interpret GOTOOLCHAIN to select the Go toolchain to run.
    	gotoolchain := cfg.Getenv("GOTOOLCHAIN")
    	gover.Startup.GOTOOLCHAIN = gotoolchain
    	if gotoolchain == "" {
    		// cfg.Getenv should fall back to $GOROOT/go.env,
    		// so this should not happen, unless a packager
    		// has deleted the GOTOOLCHAIN line from go.env.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/runtime/crash_test.go

    // involving the testing harness.
    func init() {
    	if os.Getenv("GO_TEST_RUNTIME_PANIC") == "1" {
    		defer func() {
    			if r := recover(); r != nil {
    				// We expect to crash, so exit 0
    				// to indicate failure.
    				os.Exit(0)
    			}
    		}()
    		runtime.PanicForTesting(nil, 1)
    		// We expect to crash, so exit 0 to indicate failure.
    		os.Exit(0)
    	}
    	if os.Getenv("GO_TEST_RUNTIME_NPE_READMEMSTATS") == "1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_test.go

    		t.Fatalf("Fchmodat: unexpected error: %v, expected EOPNOTSUPP", err)
    	}
    }
    
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_DEATHSIG_PARENT") == "1" {
    		deathSignalParent()
    	} else if os.Getenv("GO_DEATHSIG_CHILD") == "1" {
    		deathSignalChild()
    	} else if os.Getenv("GO_SYSCALL_NOERROR") == "1" {
    		syscallNoError()
    	}
    
    	os.Exit(m.Run())
    }
    
    func TestParseNetlinkMessage(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/testing/testserver.go

    	}
    
    	pkgPath := filepath.Dir(thisFile)
    
    	// If we find bazel env variables, then -trimpath was passed so we need to
    	// construct the path from the environment.
    	if testSrcdir, testWorkspace := os.Getenv("TEST_SRCDIR"), os.Getenv("TEST_WORKSPACE"); testSrcdir != "" && testWorkspace != "" {
    		t.Logf("Detected bazel env varaiables: TEST_SRCDIR=%q TEST_WORKSPACE=%q", testSrcdir, testWorkspace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 9K bytes
    - Viewed (1)
  6. src/cmd/go/internal/toolchain/switch.go

    }
    
    // HasAuto reports whether the GOTOOLCHAIN setting allows "auto" upgrades.
    func HasAuto() bool {
    	env := cfg.Getenv("GOTOOLCHAIN")
    	return env == "auto" || strings.HasSuffix(env, "+auto")
    }
    
    // HasPath reports whether the GOTOOLCHAIN setting allows "path" upgrades.
    func HasPath() bool {
    	env := cfg.Getenv("GOTOOLCHAIN")
    	return env == "path" || strings.HasSuffix(env, "+path")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

      return to_bool;
    }
    
    // Transform a functional IfOp to a region based IfRegionOp.
    LogicalResult ConvertIfOp(IfOp if_op) {
      Value cond = ConvertConditionToBoolean(if_op, if_op.getCond());
      OpBuilder builder(if_op);
      auto if_region = builder.create<TF::IfRegionOp>(
          if_op.getLoc(), if_op.getResultTypes(), cond, if_op.getIsStateless(),
          builder.getStringAttr(if_op.then_function().getName()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/cmd/dist/test.go

    	fn      func(*distTest) error
    }
    
    func (t *tester) run() {
    	timelog("start", "dist test")
    
    	os.Setenv("PATH", fmt.Sprintf("%s%c%s", gorootBin, os.PathListSeparator, os.Getenv("PATH")))
    
    	t.short = true
    	if v := os.Getenv("GO_TEST_SHORT"); v != "" {
    		short, err := strconv.ParseBool(v)
    		if err != nil {
    			fatalf("invalid GO_TEST_SHORT %q: %v", v, err)
    		}
    		t.short = short
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. cmd/server-main.go

    	if err != nil {
    		logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    			config.EnvArgs, os.Getenv(config.EnvArgs))
    	}
    	if v == "" {
    		v, _, _, err = env.LookupEnv(config.EnvVolumes)
    		if err != nil {
    			logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    				config.EnvVolumes, os.Getenv(config.EnvVolumes))
    		}
    	}
    	if v == "" {
    		// Fall back to older environment value MINIO_ENDPOINTS
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

            Base64.getDecoder().decode(getKeyAsBase64()).let { keyAsBytes ->
                SecretKeySpec(keyAsBytes, encryptionAlgorithm)
            }
        }
    
        private
        fun getKeyAsBase64(): String = System.getenv(GRADLE_ENCRYPTION_KEY_ENV_KEY) ?: ""
    
        override fun getKey(): SecretKey = secretKey
    
        override val sourceDescription: String
            get() = "$GRADLE_ENCRYPTION_KEY_ENV_KEY environment variable"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top