Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 99 for exit_1 (0.59 sec)

  1. src/cmd/link/internal/ld/util.go

    	}
    	atExitFuncs = nil
    }
    
    // Exit exits with code after executing all atExitFuncs.
    func Exit(code int) {
    	runAtExitFuncs()
    	os.Exit(code)
    }
    
    // Exitf logs an error message then calls Exit(2).
    func Exitf(format string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, os.Args[0]+": "+format+"\n", a...)
    	nerrors++
    	if *flagH {
    		panic("error")
    	}
    	Exit(2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:39:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/TransformErrorHandlerTest.groovy

            handler.enterClassLoadingScope("some/Class")
            handler.exitClassLoadingScope()
    
            then:
            noExceptionThrown()
        }
    
        def "rethrows the #expectedExceptionClass.simpleName if the scope exits with #exception.class.simpleName"() {
            given:
            TransformErrorHandler handler = handler()
    
            when:
            handler.enterClassLoadingScope("some/Class")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcarchive/testdata/main8.c

    // license that can be found in the LICENSE file.
    
    // Test preemption.
    
    #include <stdlib.h>
    
    #include "libgo8.h"
    
    int main() {
    	GoFunction8();
    
    	// That should have exited the program.
    	abort();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 306 bytes
    - Viewed (0)
  4. pkg/kubelet/pleg/pleg.go

    	ContainerStarted PodLifeCycleEventType = "ContainerStarted"
    	// ContainerDied - event type when the new state of container is exited.
    	ContainerDied PodLifeCycleEventType = "ContainerDied"
    	// ContainerRemoved - event type when the old state of container is exited.
    	ContainerRemoved PodLifeCycleEventType = "ContainerRemoved"
    	// PodSync is used to trigger syncing of a pod when the observed change of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 16:14:26 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. pkg/envoy/agent.go

    }
    
    // Run starts the envoy and waits until it terminates.
    // There are a few exit paths:
    //  1. Envoy exits. In this case, we simply log and exit.
    //  2. /quitquitquit (on agent, not Envoy) is called. We will set skipDrain and cancel the context, which triggers us to exit immediately.
    //  3. SIGTERM. We will drain, wait termination drain duration, then exit. This is the standard pod shutdown; SIGTERM arrives when pod shutdown starts.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_container_deletor.go

    			}
    		}
    	}, 0, wait.NeverStop)
    
    	return &podContainerDeletor{
    		worker:           buffer,
    		containersToKeep: containersToKeep,
    	}
    }
    
    // getContainersToDeleteInPod returns the exited containers in a pod whose name matches the name inferred from filterContainerId (if not empty), ordered by the creation time from the latest to the earliest.
    // If filterContainerID is empty, all dead containers in the pod are returned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/base/base.go

    			Error(e)
    		}
    		return
    	}
    	Errorf("go: %v", err)
    }
    
    func Fatal(err error) {
    	Error(err)
    	Exit()
    }
    
    var exitStatus = 0
    var exitMu sync.Mutex
    
    func SetExitStatus(n int) {
    	exitMu.Lock()
    	if exitStatus < n {
    		exitStatus = n
    	}
    	exitMu.Unlock()
    }
    
    func GetExitStatus() int {
    	return exitStatus
    }
    
    // Run runs the command, with stdout and stderr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/runtime/signal_windows_test.go

    	}
    	if err := cmd.Start(); err != nil {
    		t.Fatalf("Start failed: %v", err)
    	}
    	defer func() {
    		cmd.Process.Kill()
    		cmd.Wait()
    	}()
    
    	// check child exited gracefully, did not timeout
    	if err := cmd.Wait(); err != nil {
    		t.Fatalf("Program exited with error: %v\n%s", err, &stderr)
    	}
    
    	// check child received, handled SIGTERM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/mips/obj.go

    			// .dynamic section.
    			DynamicReadOnly: true,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    	case objabi.Hlinux: /* mips elf */
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. misc/wasm/wasm_exec_node.js

    go.argv = process.argv.slice(2);
    go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env);
    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:49:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top