Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for exercise (0.13 sec)

  1. src/os/user/user_test.go

    			t.Fatalf("Current: %v", err)
    		} else {
    			t.Skipf("skipping: %v", err)
    		}
    	}
    
    	// TODO: Lookup() has a fast path that calls Current() and returns if the
    	// usernames match, so this test does not exercise very much. It would be
    	// good to try and test finding a different user than the current user.
    	got, err := Lookup(want.Username)
    	if err != nil {
    		t.Fatalf("Lookup: %v", err)
    	}
    	compare(t, want, got)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 15:59:43 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginConfigurationCachingIntegrationTest.groovy

    import static org.gradle.internal.enterprise.GradleEnterprisePluginConfig.BuildScanRequest.SUPPRESSED
    
    // Note: most of the other tests are structure to implicitly also exercise configuration caching
    // This tests some specific aspects, and serves as an early smoke test.
    @Requires(IntegTestPreconditions.NotConfigCached)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:49:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. hack/make-rules/test-cmd.sh

      DISABLE_ADMISSION_PLUGINS="ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,StorageObjectInUseProtection"
    
      # Include RBAC (to exercise bootstrapping), and AlwaysAllow to allow all actions
      AUTHORIZATION_MODE="RBAC,AlwaysAllow"
    
      # Enable features
      ENABLE_FEATURE_GATES=""
    
      "${THIS_PLATFORM_BIN}/kube-apiserver" \
        --bind-address="127.0.0.1" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 09:10:14 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access_test.go

    			quota.ResourceVersion = fmt.Sprintf("%d", i)
    			quota.Namespace = action.GetNamespace()
    			resourceQuotaList.Items = append(resourceQuotaList.Items, *quota)
    		}
    		// make the handler slow so concurrent calls exercise the singleflight
    		time.Sleep(time.Second)
    		return true, resourceQuotaList, nil
    	})
    
    	wg := sync.WaitGroup{}
    	for i := 0; i < 10; i++ {
    		wg.Add(2)
    		// simulating concurrent calls after a cache failure
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 13:54:56 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/library_vs_application.adoc

    - however if you are a library, adding <<dependency_downgrade_and_exclude.adoc#sec:excluding-transitive-deps,exclusions>> may prevent consumers from working properly, because they would exercise a path of the code that you don't
    
    Always keep in mind that the solution you choose to fix a problem can "leak" to your consumers.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. src/testing/fstest/mapfs.go

    // methods in terms of helpers that would use them.
    // (In general, implementing these methods using the package fs helpers
    // is redundant and unnecessary, but having the methods may make
    // MapFS exercise more code paths when used in tests.)
    type fsOnly struct{ fs.FS }
    
    func (fsys MapFS) ReadFile(name string) ([]byte, error) {
    	return fs.ReadFile(fsOnly{fsys}, name)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. test/copy.go

    	i |= i << 16
    	return i
    }
    
    func u64(ii int) uint64 {
    	var i = uint64(ii)
    	i = 'a' + i%26
    	i |= i << 8
    	i |= i << 16
    	i |= i << 32
    	return i
    }
    
    func reset() {
    	// swap in and out to exercise copy-up and copy-down
    	input8, output8 = output8, input8
    	input16, output16 = output16, input16
    	input32, output32 = output32, input32
    	input64, output64 = output64, input64
    	in := 0
    	out := 13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 6.6K bytes
    - Viewed (0)
  8. pkg/volume/nfs/nfs.go

    // The nfsPlugin is used to store the volumeConfig and give it, when needed, to the func that creates NFS Recyclers.
    // Tests that exercise recycling should not use this func but instead use ProbeRecyclablePlugins() to override default behavior.
    func ProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin {
    	return []volume.VolumePlugin{
    		&nfsPlugin{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/internal/coverage/test/roundtrip_test.go

    	for k := 0; k < 2; k++ {
    		var fileView []byte
    
    		inf, err := os.Open(mfpath)
    		if err != nil {
    			t.Fatalf("open() on meta-file: %v", err)
    		}
    
    		if k != 0 {
    			// Use fileview to exercise different paths in reader.
    			fi, err := os.Stat(mfpath)
    			if err != nil {
    				t.Fatalf("stat() on meta-file: %v", err)
    			}
    			fileView = make([]byte, fi.Size())
    			if _, err := inf.Read(fileView); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:42:05 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/gotoolchain_local.txt

    # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
    # to exercise all the version selection logic without needing actual toolchains.
    # See gotoolchain_net.txt and gotoolchain_path.txt for tests of network and PATH toolchains.
    
    env TESTGO_VERSION=go1.500
    env TESTGO_VERSION_SWITCH=switch
    
    # GOTOOLCHAIN=auto runs default toolchain without a go.mod or go.work
    env GOTOOLCHAIN=auto
    go version
    stdout go1.500
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 21:19:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top