Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 7,747 for jailed (0.2 sec)

  1. src/syscall/exec_freebsd_test.go

    		if err1 != 0 {
    			t.Errorf("failed to cleanup jail: %v", err)
    		}
    	})
    
    	return int(id), root
    }
    
    func TestJailAttach(t *testing.T) {
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		jailed, err := syscall.SysctlUint32("security.jail.jailed")
    		if err != nil {
    			fmt.Fprintln(os.Stderr, err)
    			os.Exit(2)
    		}
    		if jailed != 1 {
    			t.Fatalf("jailed = %d, want 1", jailed)
    		}
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:38:48 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. 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)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

    Bo Zhang <******@****.***> 1660200971 +0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 07:01:27 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Service.java

         *     State#TERMINATED TERMINATED}.
         */
        public void terminated(State from) {}
    
        /**
         * Called when the service transitions to the {@linkplain State#FAILED FAILED} state. The
         * {@linkplain State#FAILED FAILED} state is a terminal state in the transition diagram.
         * Therefore, if this method is called, no other methods will be called on the {@link Listener}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/util/concurrent/Service.java

         *     State#TERMINATED TERMINATED}.
         */
        public void terminated(State from) {}
    
        /**
         * Called when the service transitions to the {@linkplain State#FAILED FAILED} state. The
         * {@linkplain State#FAILED FAILED} state is a terminal state in the transition diagram.
         * Therefore, if this method is called, no other methods will be called on the {@link Listener}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/cgo/internal/testplugin/testdata/host/host.go

    	if err != nil {
    		log.Fatalf("filepath.Abs(%q) failed: %v", subpPath, err)
    	}
    	subp, err := plugin.Open(subpPath)
    	if err != nil {
    		log.Fatalf("plugin.Open(%q) failed: %v", subpPath, err)
    	}
    
    	funcVar, err := subp.Lookup("FuncVar")
    	if err != nil {
    		log.Fatalf(`sub/plugin1.Lookup("FuncVar") failed: %v`, err)
    	}
    	called := false
    	*funcVar.(*func()) = func() {
    		called = true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/uncountedterminatedpods.go

    // If called multiple times, values provided by each call will be appended to the Failed field.
    func (b *UncountedTerminatedPodsApplyConfiguration) WithFailed(values ...types.UID) *UncountedTerminatedPodsApplyConfiguration {
    	for i := range values {
    		b.Failed = append(b.Failed, values[i])
    	}
    	return b
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 08 15:31:59 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top