Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 749 for kenv (0.07 sec)

  1. src/internal/cpu/cpu.go

    func processOptions(env string) {
    field:
    	for env != "" {
    		field := ""
    		i := indexByte(env, ',')
    		if i < 0 {
    			field, env = env, ""
    		} else {
    			field, env = env[:i], env[i+1:]
    		}
    		if len(field) < 4 || field[:4] != "cpu." {
    			continue
    		}
    		i = indexByte(field, '=')
    		if i < 0 {
    			print("GODEBUG: no value specified for \"", field, "\"\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. pilot/pkg/features/telemetry.go

    // limitations under the License.
    
    package features
    
    import (
    	"time"
    
    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/log"
    )
    
    // Define telemetry related features here.
    var (
    	traceSamplingVar = env.Register(
    		"PILOT_TRACE_SAMPLING",
    		1.0,
    		"Sets the mesh-wide trace sampling percentage. Should be 0.0 - 100.0. Precision to 0.01. "+
    			"Default is 1.0.",
    	)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:36:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. cluster/images/etcd/migrate/options.go

    			"If unset fallbacks to ETCD_CREDS env.")
    }
    
    func lookupEnv(env string) (string, error) {
    	result, ok := os.LookupEnv(env)
    	if !ok || len(result) == 0 {
    		return result, fmt.Errorf("%s variable unset - expected failure", env)
    	}
    	return result, nil
    }
    
    func fallbackToEnv(flag, env string) (string, error) {
    	klog.Infof("--%s unset - falling back to %s variable", flag, env)
    	return lookupEnv(env)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 09:59:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

      const absl::Status write_status =
          WriteStringToFile(dst_file_path, "test_string");
      ASSERT_THAT(write_status, IsOk());
    
      auto* const env = tsl::Env::Default();
      ASSERT_THAT(env->FileExists(dst_file_path), IsOk());
    
      std::string data{};
      ASSERT_THAT(tsl::ReadFileToString(env, dst_file_path, &data), IsOk());
    
      EXPECT_THAT(data, Eq("test_string"));
    }
    
    TEST(IoTest, ReadFileToString) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/env_gomod_issue61455.txt

    env TESTGO_VERSION=go1.500
    env TESTGO_VERSION_SWITCH=mismatch
    
    # go env GOMOD should not trigger a toolchain download
    cd $GOPATH/mod
    go env GOMOD
    stdout mod[/\\]go.mod
    ! stderr 'go: toolchain go1.500 invoked to provide go1.700'
    
    # go env GOWORK should not trigger a toolchain download
    cd $GOPATH/work
    go env GOWORK
    stdout work[/\\]go.work
    ! stderr 'go: toolchain go1.500 invoked to provide go1.700'
    
    -- $GOPATH/mod/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 16:05:39 UTC 2024
    - 510 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver_test.go

    func mustCreateEnv(t testing.TB, envOptions ...cel.EnvOption) *cel.Env {
    	envSet, err := environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true).
    		Extend(environment.VersionedOptions{
    			IntroducedVersion: version.MajorMinor(1, 30),
    			EnvOptions:        envOptions,
    		})
    	if err != nil {
    		t.Fatalf("fail to create env set: %v", err)
    	}
    	env, err := envSet.Env(environment.StoredExpressions)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go

    		},
    	}
    
    	configStore := memory.Make(collections.Pilot)
    
    	env := model.NewEnvironment()
    	env.ServiceDiscovery = serviceDiscovery
    	env.ConfigStore = configStore
    	env.Watcher = mesh.NewFixedWatcher(meshConfig)
    
    	pushContext := model.NewPushContext()
    	env.Init()
    	_ = pushContext.InitContext(env, nil, nil)
    	env.SetPushContext(pushContext)
    	pushContext.SetDestinationRulesForTesting([]config.Config{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/options.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/env"
    )
    
    var (
    	PodNamespace      = env.RegisterStringVar("POD_NAMESPACE", "", "pod's namespace").Get()
    	SystemNamespace   = env.RegisterStringVar("SYSTEM_NAMESPACE", constants.IstioSystemNamespace, "istio system namespace").Get()
    	PodName           = env.RegisterStringVar("POD_NAME", "", "").Get()
    	NodeName          = env.RegisterStringVar("NODE_NAME", "", "").Get()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. pilot/pkg/features/ambient.go

    )
    
    // registerAmbient registers a variable that is allowed only if EnableAmbient is set
    func registerAmbient[T env.Parseable](name string, defaultWithAmbient, defaultWithoutAmbient T, description string) T {
    	if EnableAmbient {
    		return env.Register(name, defaultWithAmbient, description).Get()
    	}
    
    	_, f := env.Register(name, defaultWithoutAmbient, description).Lookup()
    	if f {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 00:02:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. internal/config/scanner/scanner.go

    	delay := env.Get(EnvDelayLegacy, "")
    	if delay == "" {
    		delay = env.Get(EnvDelay, kvs.GetWithDefault(Delay, DefaultKVS))
    	}
    	cfg.Delay, err = strconv.ParseFloat(delay, 64)
    	if err != nil {
    		return err
    	}
    	maxWait := env.Get(EnvMaxWaitLegacy, "")
    	if maxWait == "" {
    		maxWait = env.Get(EnvMaxWait, kvs.GetWithDefault(MaxWait, DefaultKVS))
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top