Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,446 for jailed (0.16 sec)

  1. pkg/test/failer.go

    	"sync"
    	"testing"
    
    	"istio.io/istio/pkg/log"
    )
    
    var (
    	_ Failer = &testing.T{}
    	_ Failer = &testing.B{}
    	_ Failer = &errorWrapper{}
    )
    
    // Failer is an interface to be provided to test functions of the form XXXOrFail. This is a
    // substitute for testing.TB, which cannot be implemented outside of the testing
    // package.
    type Failer interface {
    	Fail()
    	FailNow()
    	Fatal(args ...any)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 15 23:58:50 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/crd_finder_test.go

    )
    
    func TestCacheCRDFinder(t *testing.T) {
    	called := 0
    	getter := func() ([]schema.GroupKind, error) {
    		called += 1
    		return nil, nil
    	}
    	finder := NewCRDFinder(getter)
    	if called != 0 {
    		t.Fatalf("Creating the finder shouldn't call the getter, has called = %v", called)
    	}
    	_, err := finder.HasCRD(schema.GroupKind{Group: "", Kind: "Pod"})
    	if err != nil {
    		t.Fatalf("Failed to call HasCRD: %v", err)
    	}
    	if called != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestRun.h

    {
      CUF_SuiteInactive = 1,    /**< Inactive suite was run. */
      CUF_SuiteInitFailed,      /**< Suite initialization function failed. */
      CUF_SuiteCleanupFailed,   /**< Suite cleanup function failed. */
      CUF_TestInactive,         /**< Inactive test was run. */
      CUF_AssertFailed          /**< CUnit assertion failed during test run. */
    } CU_FailureType;           /**< Failure type. */
    
    /* CU_FailureRecord type definition. */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 22K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go

    // If called multiple times, the Failed field is set to the value of the last call.
    func (b *JobStatusApplyConfiguration) WithFailed(value int32) *JobStatusApplyConfiguration {
    	b.Failed = &value
    	return b
    }
    
    // WithTerminating sets the Terminating field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 16:34:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. subprojects/core/src/main/java/org/gradle/process/internal/worker/request/ResponseProtocol.java

     */
    public interface ResponseProtocol extends WorkerLoggingProtocol, WorkerProblemProtocol {
        /**
         Called when the method completes successfully
         */
        void completed(Object result);
    
        /**
         Called when the method throws an exception
         */
        void failed(Throwable failure);
    
        /**
         * Called when some other problem occurs
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 14:22:05 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top