Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,262 for jailed (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    					if tc.expectSuccess {
    						t.Errorf("unexpected call to failed")
    					} else {
    						failed = 1
    					}
    				}),
    				tc.apiAuds,
    				nil,
    			)
    			auth.ServeHTTP(httptest.NewRecorder(), &http.Request{Header: map[string][]string{"Authorization": {"Something"}}})
    			if tc.expectSuccess {
    				assert.Equal(t, 1, success)
    				assert.Equal(t, 0, failed)
    			} else {
    				assert.Equal(t, 0, success)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  2. src/os/writeto_linux_test.go

    	n, err := io.Copy(dst, src)
    	if err != nil {
    		t.Fatalf("io.Copy error: %v", err)
    	}
    
    	// We should have called poll.Splice with the right file descriptor arguments.
    	if n > 0 && !hook.called {
    		t.Fatal("expected to called poll.SendFile")
    	}
    	if hook.called && hook.srcfd != int(src.Fd()) {
    		t.Fatalf("wrong source file descriptor: got %d, want %d", hook.srcfd, src.Fd())
    	}
    	sc, ok := dst.(syscall.Conn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/net/sendfile_test.go

    		poll.TestHookDidSendFile = orig
    	}()
    	var (
    		called     bool
    		gotHandled bool
    		gotFD      *poll.FD
    	)
    	poll.TestHookDidSendFile = func(dstFD *poll.FD, src int, written int64, err error, handled bool) {
    		if called {
    			t.Error("internal/poll.SendFile called multiple times, want one call")
    		}
    		called = true
    		gotHandled = handled
    		gotFD = dstFD
    	}
    	f()
    	if !called {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java

                    onFailure(String.format("Failed to execute %s.", command), throwable);
                }
            }
    
            @Override
            public <T> T onExecute(Callable<T> command) throws Exception {
                try {
                    return command.call();
                } catch (Exception exception) {
                    onFailure(String.format("Failed to execute %s.", command), exception);
                    throw exception;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_test.go

    					*called++
    					return checkFields(c, called, "client")
    				}
    			},
    		},
    		{
    			name: "RequestClientCert",
    			configureServer: func(config *Config, called *int) {
    				config.ClientAuth = RequestClientCert
    				config.VerifyConnection = func(c ConnectionState) error {
    					*called++
    					return checkFields(c, called, "server")
    				}
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/dra/plugin/plugin.go

    		return nil, errors.New(
    			log(
    				"%s for DRA plugin %q failed. Plugin returned an empty list for supported versions",
    				callerName,
    				pluginName,
    			),
    		)
    	}
    
    	// Validate version
    	newPluginHighestVersion, err := utilversion.HighestSupportedVersion(versions)
    	if err != nil {
    		return nil, errors.New(
    			log(
    				"%s for DRA plugin %q failed. None of the versions specified %q are supported. err=%v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/testing/fuzz.go

    // (set with -fuzztime), or the test process is interrupted by a signal. F.Fuzz
    // should be called exactly once, unless F.Skip or [F.Fail] is called beforehand.
    func (f *F) Fuzz(ff any) {
    	if f.fuzzCalled {
    		panic("testing: F.Fuzz called more than once")
    	}
    	f.fuzzCalled = true
    	if f.failed {
    		return
    	}
    	f.Helper()
    
    	// ff should be in the form func(*testing.T, ...interface{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        public void healthy() {}
    
        /**
         * Called when the all of the component services have reached a terminal state, either
         * {@linkplain State#TERMINATED terminated} or {@linkplain State#FAILED failed}.
         */
        public void stopped() {}
    
        /**
         * Called when a component service has {@linkplain State#FAILED failed}.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. src/runtime/os_windows.go

    	}
    
    	mp := getg().m
    	lock(&mp.threadLock)
    	mp.thread = thandle
    	mp.procid = uint64(stdcall0(_GetCurrentThreadId))
    
    	// Configure usleep timer, if possible.
    	if mp.highResTimer == 0 && haveHighResTimer {
    		mp.highResTimer = createHighResTimer()
    		if mp.highResTimer == 0 {
    			print("runtime: CreateWaitableTimerEx failed; errno=", getlasterror(), "\n")
    			throw("CreateWaitableTimerEx when creating timer failed")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        public void healthy() {}
    
        /**
         * Called when the all of the component services have reached a terminal state, either
         * {@linkplain State#TERMINATED terminated} or {@linkplain State#FAILED failed}.
         */
        public void stopped() {}
    
        /**
         * Called when a component service has {@linkplain State#FAILED failed}.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top