Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 347 for exit_1 (0.4 sec)

  1. src/runtime/testdata/testprogcgo/lockosthread.go

    		println("requires GOMAXPROCS=1")
    		os.Exit(1)
    	}
    
    	ready := make(chan bool, 1)
    	go func() {
    		// Because GOMAXPROCS=1, this *should* be on the main
    		// thread. Stay there.
    		runtime.LockOSThread()
    		self := C.pthread_self()
    		if C.pthread_equal(mainThread, self) == 0 {
    			println("failed to start goroutine on main thread")
    			os.Exit(1)
    		}
    		// Exit with the thread locked, which should exit the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 20:21:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/error.go

    	// ErrExit is an error returned when kubeadm is about to exit
    	ErrExit = errors.New("exit")
    )
    
    // fatal prints the message if set and then exits.
    func fatal(msg string, code int) {
    	if len(msg) > 0 {
    		// add newline if needed
    		if !strings.HasSuffix(msg, "\n") {
    			msg += "\n"
    		}
    
    		fmt.Fprint(os.Stderr, msg)
    	}
    	os.Exit(code)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/leak_test.go

    package bootstrap
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 794 bytes
    - Viewed (0)
  4. pilot/pkg/status/distribution/leak_test.go

    package distribution
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 797 bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/leak_test.go

    package route
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 790 bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/aggregate/leak_test.go

    package aggregate
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 794 bytes
    - Viewed (0)
  7. pilot/pkg/trustbundle/leak_test.go

    package trustbundle
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 796 bytes
    - Viewed (0)
  8. pkg/config/mesh/kubemesh/leak_test.go

    package kubemesh
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 793 bytes
    - Viewed (0)
  9. pkg/istio-agent/leak_test.go

    package istioagent
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 19 21:39:03 UTC 2021
    - 795 bytes
    - Viewed (0)
  10. pkg/kube/kclient/leak_test.go

    package kclient
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 792 bytes
    - Viewed (0)
Back to top