Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,521 for exit2 (0.05 sec)

  1. docs/en/docs/img/deployment/https/https01.drawio

                <root>
                    <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)
  2. cmd/signals.go

    )
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    	stopProcess := func() bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/internal/runtime/exithook/hooks.go

    )
    
    // Add adds a new exit hook.
    func Add(h Hook) {
    	for !locked.CompareAndSwap(0, 1) {
    		Gosched()
    	}
    	hooks = append(hooks, h)
    	locked.Store(0)
    }
    
    // Run runs the exit hooks.
    //
    // If an exit hook panics, Run will throw with the panic on the stack.
    // If an exit hook invokes exit in the same goroutine, the goroutine will throw.
    // If an exit hook invokes exit in another goroutine, that exit will block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/runtime/signal_windows.go

    				exceptioncode:    gp.sig,
    				numberparameters: 2,
    			}
    			info.exceptioninformation[0] = gp.sigcode0
    			info.exceptioninformation[1] = gp.sigcode1
    		} else {
    			// By default, a failing Go application exits with exit code 2.
    			// Use this value when gp does not contain exception info.
    			info = &exceptionrecord{
    				exceptioncode: 2,
    			}
    		}
    	}
    	const FAIL_FAST_GENERATE_EXCEPTION_ADDRESS = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/nilcheck_test.go

    			Valu("bool1", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"),
    			If("bool1", "secondCheck", "exit")),
    		Bloc("secondCheck",
    			Valu("bool2", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"),
    			If("bool2", "extra", "exit")),
    		Bloc("extra",
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    	nilcheckelim(fun.f)
    
    	// clean up the removed nil check
    	fuse(fun.f, fuseTypePlain)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/tidy.go

    The -e flag causes tidy to attempt to proceed despite errors
    encountered while loading packages.
    
    The -diff flag causes tidy not to modify go.mod or go.sum but
    instead print the necessary changes as a unified diff. It exits
    with a non-zero code if the diff is not empty.
    
    The -go flag causes tidy to update the 'go' directive in the go.mod
    file to the given version, which may change which module dependencies
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/README

    	            	$WORK/d1/src/p11 (from $GOPATH)
    	            	$WORK/d2/src/p11
    	            [exit status 1]
    	            FAIL: unexpected go command failure
    
    	        script_test.go:73: failed at testdata/script/install_rebuild_gopath.txt:15 in $WORK/gopath/src
    
    	FAIL
    	exit status 1
    	FAIL	cmd/go	4.875s
    	$
    
    Note that the commands in earlier phases have been hidden, so that the relevant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/main.go

    		usage()
    	}
    
    	if *FlagD && ctxt.UsesLibc() {
    		Exitf("dynamic linking required on %s; -d flag cannot be used", buildcfg.GOOS)
    	}
    
    	isPowerOfTwo := func(n int64) bool {
    		return n > 0 && n&(n-1) == 0
    	}
    	if *FlagRound != -1 && (*FlagRound < 4096 || !isPowerOfTwo(*FlagRound)) {
    		Exitf("invalid -R value 0x%x", *FlagRound)
    	}
    
    	checkStrictDups = *FlagStrictDups
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/bootstrap/EntryPointTest.groovy

                action.execute(listener)
            }
        }
    
        def "exits with success when action executes successfully"() {
            when:
            entryPoint.run()
    
            then:
            1 * action.execute(!null)
            1 * completer.complete()
            0 * _._
        }
    
        def "exits with failure when action reports a failure"() {
            def failure = new RuntimeException()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/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()
    		if mainTID != 0 && gettid() != mainTID {
    			println("failed to start goroutine on main thread")
    			os.Exit(1)
    		}
    		// Exit with the thread locked, which should exit the
    		// main thread.
    		ready <- true
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top