Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,270 for jailed (0.12 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top