Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,812 for jailed (0.17 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. pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go

    			if err = og.notifyPlugin(client, false, fmt.Sprintf("RegisterPlugin error -- plugin validation failed with err: %v", err)); err != nil {
    				return fmt.Errorf("RegisterPlugin error -- failed to send error at socket %s, err: %v", socketPath, err)
    			}
    			return fmt.Errorf("RegisterPlugin error -- pluginHandler.ValidatePluginFunc failed")
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/os/readfrom_linux_test.go

    			t.Fatalf("failed to read from the file: %v", err)
    		}
    
    		if !hook.called || hook.written != 0 || hook.handled || hook.err != nil {
    			t.Fatalf("poll.CopyFileRange should be called and return the EINVAL error, but got hook.called=%t, hook.err=%v", hook.called, hook.err)
    		}
    
    		// Rewind it.
    		if _, err := f.Seek(0, io.SeekStart); err != nil {
    			t.Fatalf("failed to rewind the file: %v", err)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/execution/TaskExecutionListener.java

        /**
         * This method is called immediately before a task is executed.
         *
         * @param task The task about to be executed. Never null.
         */
        void beforeExecute(Task task);
    
        /**
         * This method is called immediately after a task has been executed. It is always called, regardless of whether the
         * task completed successfully, or failed with an exception.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/runtime/cgo/gcc_signal_ios_arm64.c

    	if (ret) {
    		fprintf(stderr, "runtime/cgo: mach_port_allocate failed: %d\n", ret);
    		abort();
    	}
    	ret = mach_port_insert_right(
    		mach_task_self(),
    		port,
    		port,
    		MACH_MSG_TYPE_MAKE_SEND);
    	if (ret) {
    		fprintf(stderr, "runtime/cgo: mach_port_insert_right failed: %d\n", ret);
    		abort();
    	}
    
    	ret = thread_set_exception_ports(
    		mach_thread_self(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:04:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   cause if this Future has failed.
           *
           * - And this future *has* failed: This method is called only from handleException (through
           *   getOrInitSeenExceptions). handleException tried to call setException and failed, so
           *   either this Future was cancelled (which we ruled out with the isCancelled check above),
           *   or it had already failed. (It couldn't have completed *successfully* or even had
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/taskgraph/TaskListenerInternal.java

    public interface TaskListenerInternal {
        /**
         * This method is called immediately before a task is executed.
         *
         * @param taskIdentity The identity of the task about to be executed. Never null.
         */
        void beforeExecute(TaskIdentity<?> taskIdentity);
    
        /**
         * This method is call immediately after a task has been executed. It is always called, regardless of whether the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top