- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 95 for emitError (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc
std::string bytecode; llvm::raw_string_ostream os(bytecode); if (mlir::failed(stablehlo::serializePortableArtifact( stablehlo_module, stablehlo::getCurrentVersion(), os))) { return stablehlo_module.emitError() << "failed to serialize the pruned stablehlo module"; } return bytecode; } // Serializes the stablehlo functions called by XlaCallModuleOp to bytecode
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc
// Iterate over the sorted list of functions to keep order deterministic. for (func::FuncOp func : GetSortedFunctions(module_op)) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-stablehlo-lift-quantizable-spots-as-functions failed."; signalPassFailure(); } } // Remove all attr_map attributes.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.3K bytes - Viewed (0) -
src/os/exec/exec_windows_test.go
cmd := testenv.Command(t, "cmd", "/c exit 88") cmd.SysProcAttr = &syscall.SysProcAttr{NoInheritHandles: true} err := cmd.Run() exitError, ok := err.(*exec.ExitError) if !ok { t.Fatalf("got error %v; want ExitError", err) } if exitError.ExitCode() != 88 { t.Fatalf("got exit code %d; want 88", exitError.ExitCode()) } } // start a child process without the user code explicitly starting // with a copy of the parent's SYSTEMROOT.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 21 23:07:55 UTC 2023 - 2.4K bytes - Viewed (0) -
pkg/volume/csi/csi_metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_server_journal_windows.go
fmt.Sprintf("Get-WinEvent -ListProvider %s | Format-Table -AutoSize", service)}...) _, err := cmd.CombinedOutput() if err != nil { // Get-WinEvent will return ExitError if the service is not listed as a provider if _, ok := err.(*exec.ExitError); ok { return false } // Other errors imply that CombinedOutput failed before the command was executed,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 15:54:36 UTC 2023 - 2.5K bytes - Viewed (0) -
src/internal/runtime/exithook/hooks.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/lockrank_test.go
testenv.MustHaveGoRun(t) cmd := testenv.CleanCmdEnv(testenv.Command(t, testenv.GoToolPath(t), "run", "mklockrank.go")) want, err := cmd.Output() if err != nil { if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 { t.Fatalf("%v: %v\n%s", cmd, err, ee.Stderr) } t.Fatalf("%v: %v", cmd, err) } got, err := os.ReadFile("lockrank.go") if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 20:57:33 UTC 2023 - 856 bytes - Viewed (0) -
src/internal/platform/zosarch_test.go
// cmd/dist requires GOROOT to be set explicitly in the environment. cmd.Env = append(cmd.Environ(), "GOROOT="+testenv.GOROOT(t)) out, err := cmd.Output() if err != nil { if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 { t.Logf("stderr:\n%s", ee.Stderr) } t.Fatalf("%v: %v", cmd, err) } type listEntry struct { GOOS, GOARCH string CgoSupported bool FirstClass bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:44:52 UTC 2023 - 2.9K bytes - Viewed (0) -
src/runtime/runtime-gdb_unix_test.go
} err = cmd.Wait() t.Logf("child output:\n%s", output.String()) if err == nil { t.Fatalf("Wait succeeded, want SIGABRT") } ee, ok := err.(*exec.ExitError) if !ok { t.Fatalf("Wait err got %T %v, want exec.ExitError", ee, ee) } ws, ok := ee.Sys().(syscall.WaitStatus) if !ok { t.Fatalf("Sys got %T %v, want syscall.WaitStatus", ee.Sys(), ee.Sys()) } if ws.Signal() != syscall.SIGABRT {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:05:30 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/exec.go
cmd := exec.Command(exe, os.Args[1:]...) cmd.Stdin = os.Stdin cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr err := cmd.Run() if err != nil { if e, ok := err.(*exec.ExitError); ok && e.ProcessState != nil { if e.ProcessState.Exited() { os.Exit(e.ProcessState.ExitCode()) } base.Fatalf("exec %s: %s", gotoolchain, e.ProcessState) } base.Fatalf("exec %s: %s", exe, err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 1.6K bytes - Viewed (0)