- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,014 for Handles (0.15 sec)
-
src/cmd/cgo/internal/test/issue8517_windows.go
t.Fatal(err) } return int(c) } func test8517(t *testing.T) { c1 := processHandleCount(t) C.testHandleLeaks() c2 := processHandleCount(t) if c1+issue8517counter <= c2 { t.Fatalf("too many handles leaked: issue8517counter=%v c1=%v c2=%v", issue8517counter, c1, c2) } } //export testHandleLeaksCallback func testHandleLeaksCallback() { issue8517counter++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 990 bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/WindowsInstallationSupplierTest.groovy
} def "handles absent adoptopenjdk keys"() { given: registry.getSubkeys(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, _) >> { throw new MissingRegistryEntryException() } def supplier = createSupplier() when: def locations = supplier.get() then: locations.isEmpty() } def "gracefully handles unavailable native integration"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 22:14:10 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/test/failer.go
// functions that take in a Failer and those that take an error. // The function must be called within a goroutine, or calls to Fatal will try to terminate the outer // test context, which will cause the test to panic. The Wrap function handles this automatically type errorWrapper struct { mu sync.RWMutex failed error cleanup func() } // Wrap executes a function with a fake Failer, and returns an error if the test failed. This allows
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Jul 15 23:58:50 UTC 2023 - 3.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/PathLimitationIntegrationTest.groovy
public void setup() { broadcast.add(listenerMock) } @Requires(UnitTestPreconditions.NotWindows) def "WorkerProcessBuilder handles workingDir with absolute path length #absolutePathLength"() { when: def testWorkingDir = generateTestWorkingDirectory(absolutePathLength) then: assert testWorkingDir.exists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/chdir.txt
# basic -C functionality cd $GOROOT/src/math go list -C ../strings stdout strings ! go list -C ../nonexist stderr 'chdir.*nonexist' # check for -C in subcommands with custom flag parsing # cmd/go/chdir_test.go handles the normal ones more directly. # go doc go doc -C ../strings HasPrefix # go env go env -C $OLD/custom GOMOD stdout 'custom[\\/]go.mod' ! go env -C ../nonexist stderr '^go: chdir ../nonexist: '
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:23:42 UTC 2023 - 744 bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/clientbacked_dryrun.go
if err != nil { return nil, errors.Wrap(err, "failed to create API client configuration from kubeconfig") } return NewClientBackedDryRunGetter(clientConfig) } // HandleGetAction handles GET actions to the dryrun clientset this interface supports func (clg *ClientBackedDryRunGetter) HandleGetAction(action core.GetAction) (bool, runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 16 10:29:45 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_dup_cache.txt
[!fuzz] skip [short] skip env GOCACHE=$WORK/cache # This test checks that cached corpus loading properly handles duplicate entries (this can # happen when a f.Add value has a duplicate entry in the cached corpus.) Duplicate entries # should be discarded, and the rest of the cache should be loaded as normal. env GOCACHE=$WORK/cache env GODEBUG=fuzzdebug=1 mkdir -p $GOCACHE/fuzz/fuzztest/FuzzTarget go run ./populate $GOCACHE/fuzz/fuzztest/FuzzTarget
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1K bytes - Viewed (0) -
pkg/kubeapiserver/admission/initializer_test.go
) type doNothingAdmission struct{} func (doNothingAdmission) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error { return nil } func (doNothingAdmission) Handles(o admission.Operation) bool { return false } func (doNothingAdmission) Validate() error { return nil } type WantsCloudConfigAdmissionPlugin struct { doNothingAdmission cloudConfig []byte }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceMethodFactory.java
*/ package org.gradle.internal.service; import java.lang.reflect.Method; import static org.gradle.internal.Cast.uncheckedNonnullCast; /** * A service method factory that will try to use method handles if available, otherwise fallback on reflection. */ class DefaultServiceMethodFactory implements ServiceMethodFactory { private final ServiceMethodFactory delegate = getOptimalServiceMethodFactory();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/traces.go
"k8s.io/apiserver/pkg/endpoints/request" tracing "k8s.io/component-base/tracing" ) // WithTracing adds tracing to requests if the incoming request is sampled func WithTracing(handler http.Handler, tp trace.TracerProvider) http.Handler { opts := []otelhttp.Option{ otelhttp.WithPropagators(tracing.Propagators()), otelhttp.WithPublicEndpoint(), otelhttp.WithTracerProvider(tp),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 15 01:42:42 UTC 2024 - 2.5K bytes - Viewed (0)