Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,727 for exit2 (0.16 sec)

  1. tensorflow/compiler/jit/deadness_analysis_test.cc

                .ok());
        exits[i] = ops::internal::Exit(root.WithOpName(absl::StrCat("exit_", i)),
                                       iv.output);
      }
    
      FixupSourceAndSinkEdges(root.graph());
    
      {
        PredicateMapTy predicate_map;
        TF_ASSERT_OK(ComputePredicates(*root.graph(), &predicate_map));
    
        EXPECT_NE(predicate_map[ControlOutputFor(exits[0])],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/base/tool.go

    // If the tool cannot be found, Tool exits the process.
    func Tool(toolName string) string {
    	toolPath, err := ToolPath(toolName)
    	if err != nil && len(cfg.BuildToolexec) == 0 {
    		// Give a nice message if there is no tool with that name.
    		fmt.Fprintf(os.Stderr, "go: no such tool %q\n", toolName)
    		SetExitStatus(2)
    		Exit()
    	}
    	return toolPath
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:04:09 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. test/fixedbugs/issue11256.go

    // run
    
    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that stack barriers are reset when a goroutine exits without
    // returning.
    
    package main
    
    import (
    	"runtime"
    	"sync/atomic"
    	"time"
    )
    
    func main() {
    	// Let the garbage collector run concurrently.
    	runtime.GOMAXPROCS(2)
    
    	var x [100][]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 29 15:02:30 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/dist/util.go

    	xexit(2)
    }
    
    var atexits []func()
    
    // xexit exits the process with return code n.
    func xexit(n int) {
    	for i := len(atexits) - 1; i >= 0; i-- {
    		atexits[i]()
    	}
    	os.Exit(n)
    }
    
    // xatexit schedules the exit-handler f to be run when the program exits.
    func xatexit(f func()) {
    	atexits = append(atexits, f)
    }
    
    // xprintf prints a message to standard output.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_mutate_fail.txt

    [!fuzz] skip
    
    # Check that if a worker does not call F.Fuzz or calls F.Fail first,
    # 'go test' exits non-zero and no crasher is recorded.
    
    [short] skip
    env GOCACHE=$WORK/cache
    
    ! go test -fuzz=FuzzReturn
    ! exists testdata
    
    ! go test -fuzz=FuzzSkip
    ! exists testdata
    
    ! go test -fuzz=FuzzFail
    ! exists testdata
    
    ! go test -fuzz=FuzzPanic
    ! exists testdata
    
    ! go test -fuzz=FuzzNilPanic
    ! exists testdata
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. hack/lib/logging.sh

        [[ -z ${1-} ]] || {
          echo "  ${1}" >&2
        }
    
        kube::log::stack ${stack_skip}
    
        echo "Exiting with status ${code}" >&2
      fi
    
      exit "${code}"
    }
    
    # Log an error but keep going.  Don't dump the stack or exit.
    kube::log::error() {
      timestamp=$(date +"[%m%d %H:%M:%S]")
      echo "!!! ${timestamp} ${1-}" >&2
      shift
      for message; do
        echo "    ${message}" >&2
      done
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 06 14:40:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

        def "exit hint does not mention enter when not on windows"() {
            when:
            file("a").touch()
            buildScript "task a { inputs.file 'a'; outputs.file 'b'; doLast {} }"
    
            then:
            succeeds "a"
            output.endsWith("(ctrl-d to exit)\n")
        }
    
        @Requires(UnitTestPreconditions.Windows)
        def "exit hint mentions enter when on windows"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

        EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
    
    // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
    
    // Tests that an exit code describes a normal exit with a given exit code.
    class GTEST_API_ ExitedWithCode {
     public:
      explicit ExitedWithCode(int exit_code);
      bool operator()(int exit_status) const;
     private:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

        EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
    
    // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
    
    // Tests that an exit code describes a normal exit with a given exit code.
    class GTEST_API_ ExitedWithCode {
     public:
      explicit ExitedWithCode(int exit_code);
      bool operator()(int exit_status) const;
     private:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. 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)
Back to top