Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,725 for exit1 (0.04 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    				exit(EXIT_FAILURE);
    			}
    		}
    	}
    
    	if (verbose) {
    		printf("calling setjmp\n");
    	}
    
    	// Test that a SIGSEGV on this thread is delivered to us.
    	if (setjmp(jmp) == 0) {
    		if (verbose) {
    			printf("triggering SIGSEGV\n");
    		}
    
    		*nullPointer = '\0';
    
    		fprintf(stderr, "continued after address error\n");
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue5856.go

    }
    
    func g() {
    	_, file, line, _ := runtime.Caller(2)
    	if !strings.HasSuffix(file, "issue5856.go") || line != 28 {
    		fmt.Printf("BUG: defer called from %s:%d, want issue5856.go:28\n", file, line)
    		os.Exit(1)
    	}
    	os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 28 20:55:36 UTC 2018
    - 586 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_minimize_interesting.txt

    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	for _, ent := range ents {
    		name := filepath.Join(dir, ent.Name())
    		if good, err := checkCacheFile(name); err != nil {
    			fmt.Fprintln(os.Stderr, err)
    			os.Exit(1)
    		} else if good {
    			os.Exit(0)
    		}
    	}
    	fmt.Fprintln(os.Stderr, "no cached inputs were minimized")
    	os.Exit(1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. test/fixedbugs/issue4748.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 4748.
    // This program used to complain because inlining created two exit labels.
    
    package main
    
    func jump() {
            goto exit
    exit:
            return
    }
    func main() {
            jump()
            jump()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 374 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/shortcircuit.go

    			v.SetArgs2(argQ, phi)
    		}
    	}
    
    	// Look for some common CFG structures
    	// in which one outbound path from b exits,
    	// with no other preds joining.
    	// In these cases, we can reconstruct what the value
    	// of any phi in b must be in the path leading to exit,
    	// and move the phi to the non-exit path.
    
    	if len(t.Preds) == 1 && len(u.Preds) == 1 && len(t.Succs) == 0 {
    		// p   q
    		//  \ /
    		//   b
    		//  / \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 03 17:47:02 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  6. tests/integration/create_cluster_gke.sh

          ;;
        n)
          NUM_NODES=${OPTARG}
          ;;
        h)
          usage
          exit 0
          ;;
        \?)
          echo "Invalid option: -$OPTARG" >&2
          usage
          exit 1
          ;;
      esac
    done
    
    if [[ -z "${PROJECT}" ]]; then
      echo "Error: PROJECT (-p) must be specified!"
      usage
      exit 1
    fi
    
    
    
    set -o errexit
    set -o nounset
    set -o pipefail
    set -x # echo on
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 12 16:02:51 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  7. hack/update-translations.sh

          echo " -g sort .po files and generate .mo files"
          exit 0
          ;;
        f)
          KUBECTL_FILES+=("${OPTARG}")
          ;;
        x)
          generate_pot="true"
          ;;
        k)
          fix_translations="true"
          ;;
        g)
          generate_mo="true"
          ;;
        \?)
          echo "[-f <files>] -x -g" >&2
          exit 1
          ;;
      esac
    done
    
    if [[ ${#KUBECTL_FILES} -eq 0 ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 22 03:48:42 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcshared/testdata/main4.c

    	if (handle == NULL) {
    		fprintf(stderr, "%s\n", dlerror());
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		fprintf(stderr, "calling dlsym\n");
    	}
    
    	// Start some goroutines.
    	fn = (void(*)(void))dlsym(handle, "RunGoroutines");
    	if (fn == NULL) {
    		fprintf(stderr, "%s\n", dlerror());
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		fprintf(stderr, "calling RunGoroutines\n");
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. pkg/controller/job/pod_failure_policy_test.go

    							},
    						},
    					},
    				},
    			},
    			wantJobFailureMessage: ptr.To("Container main-container for pod default/mypod failed with exit code 1 matching FailJob rule at index 0"),
    			wantCountFailed:       true,
    			wantAction:            &failJob,
    		},
    		"second jobfail rule matched for exit codes": {
    			podFailurePolicy: &batch.PodFailurePolicy{
    				Rules: []batch.PodFailurePolicyRule{
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_main.txt

    	flag.Parse()
    	found := false
    	flag.VisitAll(func(f *flag.Flag) {
    		if f.Name == "test.count" {
    			found = true
    		}
    	})
    	if !found {
    		fmt.Println("testing flags not registered")
    		os.Exit(1)
    	}
    	os.Exit(m.Run())
    }
    -- standalone_testmain_not_call_os_exit_test.go --
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 17 00:45:15 UTC 2020
    - 2.2K bytes
    - Viewed (0)
Back to top