Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,725 for exit1 (0.23 sec)

  1. src/cmd/go/testdata/script/test_race_install_cgo.txt

    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	if err := json.Unmarshal(b1, &t1); err != nil  {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    
    	var t2 time.Time
    	b2, err := os.ReadFile(os.Args[2])
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	if err := json.Unmarshal(b2, &t2); err != nil  {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    
    	if !t1.Equal(t2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 27 14:03:15 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/testdata/testprog/vdso.go

    }
    
    func signalInVDSO() {
    	f, err := os.CreateTemp("", "timeprofnow")
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(2)
    	}
    
    	if err := pprof.StartCPUProfile(f); err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(2)
    	}
    
    	t0 := time.Now()
    	t1 := t0
    	// We should get a profiling signal 100 times a second,
    	// so running for 1 second should be sufficient.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 30 16:04:50 UTC 2022
    - 1005 bytes
    - Viewed (0)
  9. test/mapclear.go

    	l := len(m)
    	if want := 0; l != want {
    		fmt.Printf("len after map clear = %d want %d\n", l, want)
    		os.Exit(1)
    	}
    
    	m[0] = 0 // To have non empty map and avoid internal map code fast paths.
    	n := 0
    	for range m {
    		n++
    	}
    	if want := 1; n != want {
    		fmt.Printf("number of keys found = %d want %d\n", n, want)
    		os.Exit(1)
    	}
    }
    
    func checkloopvars() {
    	k := 0
    	m := make(map[int]int)
    	m[42] = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 21:15:16 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  10. buildscripts/verify-build.sh

    		exit 1
    	fi
    
    	echo "Testing in Distributed Erasure setup"
    	if ! run_test_dist_erasure; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Erasure setup as sets"
    	if ! run_test_erasure_sets; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Distributed Eraure expanded setup"
    	if ! run_test_pool_erasure_sets; then
    		echo "FAILED"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top