Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 347 for exit_1 (0.12 sec)

  1. src/cmd/compile/internal/ssa/regalloc_test.go

    			Eq("a", "loop2", "exit1"),
    		),
    		Bloc("loop2",
    			Eq("a", "loop1", "exit2"),
    		),
    		Bloc("exit1",
    			// store before call, y is available in a register
    			Valu("mem2", OpAMD64MOVQstore, types.TypeMem, 0, nil, "p", "y", "mem"),
    			Valu("mem3", OpAMD64CALLstatic, types.TypeMem, 0, AuxCallLSym("_"), "mem2"),
    			Exit("mem3"),
    		),
    		Bloc("exit2",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/internal/testlog/exit.go

    import (
    	"sync"
    	_ "unsafe" // for linkname
    )
    
    // PanicOnExit0 reports whether to panic on a call to os.Exit(0).
    // This is in the testlog package because, like other definitions in
    // package testlog, it is a hook between the testing package and the
    // os package. This is used to ensure that an early call to os.Exit(0)
    // does not cause a test to pass.
    func PanicOnExit0() bool {
    	panicOnExit0.mu.Lock()
    	defer panicOnExit0.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. pkg/test/framework/suite_test.go

    	var runCalled bool
    	var runSkipped bool
    	var exitCode int
    	runFn := func(ctx *suiteContext) int {
    		runCalled = true
    		runSkipped = ctx.skipped
    		return -1
    	}
    	exitFn := func(code int) {
    		exitCode = code
    	}
    
    	s := newTestSuite("tid", runFn, exitFn, defaultSettingsFn)
    	s.Run()
    
    	g.Expect(runCalled).To(BeTrue())
    	g.Expect(runSkipped).To(BeFalse())
    	g.Expect(exitCode).To(Equal(-1))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. docs/en/docs/img/deployment/https/https01.drawio

                    <mxCell id="0"/>
                    <mxCell id="1" parent="0"/>
                    <mxCell id="8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=3;exitX=0.092;exitY=1.01;exitDx=0;exitDy=0;dashed=1;exitPerimeter=0;" parent="1" edge="1">
                        <mxGeometry relative="1" as="geometry">
                            <Array as="points">
                                <mxPoint x="800" y="521"/>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/waitgroup_test.go

    	n := 16
    	wg1.Add(n)
    	wg2.Add(n)
    	exited := make(chan bool, n)
    	for i := 0; i != n; i++ {
    		go func(i int) {
    			wg1.Done()
    			wg2.Wait()
    			exited <- true
    		}(i)
    	}
    	wg1.Wait()
    	for i := 0; i != n; i++ {
    		select {
    		case <-exited:
    			t.Fatal("SafeWaitGroup released group too soon")
    		default:
    		}
    		wg2.Done()
    	}
    	for i := 0; i != n; i++ {
    		<-exited // Will block if barrier fails to unlock someone.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 13 05:42:40 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  6. src/runtime/runtime-gdb_test.go

    			// GDB bug: Sometimes it fails to wait for a clone child.
    			testenv.SkipFlaky(t, 60553)
    		case bytes.Contains(got, []byte(" exited normally]\n")):
    			// GDB bug: Sometimes the inferior exits fine,
    			// but then GDB hangs.
    			testenv.SkipFlaky(t, 37405)
    		}
    		t.Fatalf("gdb exited with error: %v", err)
    	}
    
    	// Check that the backtrace matches the source code.
    	bt := []string{
    		"eee",
    		"ddd",
    		"ccc",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. src/runtime/os_plan9.go

    func minit() {
    	if atomic.Load(&exiting) != 0 {
    		exits(&emptystatus[0])
    	}
    	// Mask all SSE floating-point exceptions
    	// when running on the 64-bit kernel.
    	setfpmasks()
    }
    
    // Called from dropm to undo the effect of an minit.
    func unminit() {
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final Runtime runtime;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/os/exec_plan9.go

    }
    
    func (p *ProcessState) String() string {
    	if p == nil {
    		return "<nil>"
    	}
    	return "exit status: " + p.status.Msg
    }
    
    // ExitCode returns the exit code of the exited process, or -1
    // if the process hasn't exited or was terminated by a signal.
    func (p *ProcessState) ExitCode() int {
    	// return -1 if the process hasn't started.
    	if p == nil {
    		return -1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final Runtime runtime;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top