Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,561 for kenv (0.13 sec)

  1. 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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // Our fake environment is initialized with the current timestamp.
      std::unique_ptr<NowSecondsEnv> env(new NowSecondsEnv);
      uint64 now = Env::Default()->NowSeconds();
      env->SetNowSeconds(now);
      tf_gcs_filesystem::RamFileBlockCache cache(
          8, 32, 1 /* max staleness */, fetcher,
          [&env]() { return env->NowSeconds(); });
      // Read three blocks into the cache, and advance the timestamp by one second
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_GOTMPDIR.txt

    # Set GOCACHE to a clean directory to ensure that 'go build' has work to report.
    [!GOOS:windows] env GOCACHE=$WORK/gocache
    [GOOS:windows] env GOCACHE=$WORK\gocache
    
    # 'go build' should use GOTMPDIR if set.
    [!GOOS:windows] env GOTMPDIR=$WORK/my-favorite-tmpdir
    [GOOS:windows] env GOTMPDIR=$WORK\my-favorite-tmpdir
    mkdir $GOTMPDIR
    go build -x hello.go
    stderr ^WORK=.*my-favorite-tmpdir
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_toolchain.txt

    ! stderr toolchain # already gone, was not added
    grep 'go 1.22.1' go.mod
    ! grep toolchain go.mod
    
    env TESTGO_VERSION=go1.22.1
    env GOTOOLCHAIN=local
    ! go get go@1.22.3
    stderr 'go: updating go.mod requires go >= 1.22.3 \(running go 1.22.1; GOTOOLCHAIN=local\)$'
    
    env TESTGO_VERSION=go1.30
    go get toolchain@1.22.3
    grep 'toolchain go1.22.3' go.mod
    
    go get go@1.22.1
    grep 'go 1.22.1' go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 22:42:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/testdata/script/gotoolchain_loop.txt

    env GOTOOLCHAIN=auto
    env TESTGO_VERSION=go1.21.1
    
    # Basic switch should work.
    env TESTGO_VERSION_SWITCH=switch
    go version
    stdout go1.21.99
    
    # Toolchain target mismatch should be detected.
    env TESTGO_VERSION_SWITCH=mismatch
    ! go version
    stderr '^go: toolchain go1.21.1 invoked to provide go1.21.99$'
    
    # Toolchain loop should be detected.
    env TESTGO_VERSION_SWITCH=loop
    ! go version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:20:23 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_exec_toolchain.txt

    env TESTGO_VERSION=go1.21
    env TESTGO_VERSION_SWITCH=switch
    
    # GOTOOLCHAIN=auto should run the newer toolchain
    env GOTOOLCHAIN=auto
    cp go.mod.new go.mod
    go get rsc.io/needgo121 rsc.io/needgo122 rsc.io/needgo123 rsc.io/needall
    stderr '^go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9$'
    ! stderr '\(running'
    stderr '^go: added rsc.io/needall v0.0.1'
    grep 'go 1.23' go.mod
    grep 'toolchain go1.23.9' go.mod
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/install_cross_gobin.txt

    env GO111MODULE=off
    [short] skip # rebuilds std for alternate architecture
    
    cd mycmd
    go build mycmd
    
    # cross-compile install with implicit GOBIN=$GOPATH/bin can make subdirectory
    env GOARCH=386
    [GOARCH:386] env GOARCH=amd64
    env GOOS=linux
    go install mycmd
    exists $GOPATH/bin/linux_$GOARCH/mycmd
    
    # cross-compile install with explicit GOBIN cannot make subdirectory
    env GOBIN=$WORK/bin
    ! go install mycmd
    ! exists $GOBIN/linux_$GOARCH
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 667 bytes
    - Viewed (0)
  9. src/sort/example_multi_test.go

    	// By user,<lines: [{dmr C 100} {glenda Go 200} {gri Smalltalk 80} {gri Go 100} {ken C 150} {ken Go 200} {r Go 100} {r C 150} {rsc Go 200}]
    	// By user,>lines: [{dmr C 100} {glenda Go 200} {gri Go 100} {gri Smalltalk 80} {ken Go 200} {ken C 150} {r C 150} {r Go 100} {rsc Go 200}]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. operator/pkg/translate/translate_value_test.go

            targetAverageUtilization: 80
          traceSampling: 1.0
          image: pilot
          env:
            GODEBUG: gctrace=1
    `,
    		},
    		{
    			desc: "pilot k8s setting with empty env in values",
    			inIOPSpec: `
    spec:
      components:
        pilot:
          k8s:
            nodeSelector:
              master: "true"
            env:
            - name: SPIFFE_BUNDLE_ENDPOINTS
              value: "SPIFFE_BUNDLE_ENDPOINT"
      values:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top