Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tgfmt (0.23 sec)

  1. tensorflow/compiler/mlir/lite/converter_gen.cc

          mlir::tblgen::Pred pred(dyn_cast<llvm::DefInit>(val->getValue()));
          os << tgfmt(
              "  if (!($0)) {\n    "
              "    if (emit_error_on_verify_fail) {\n"
              "      return top.emitOpError(\"failed to verify that $1\");\n"
              "    } else {\n"
              "      return failure();\n  }\n  }\n",
              &verify_ctx, tgfmt(pred.getCondition(), &verify_ctx), desc);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  2. src/math/bits/make_examples.go

    			case "RotateLeft", "Reverse", "ReverseBytes":
    				fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", %d)\n", size, e.in)
    				if e.name == "RotateLeft" {
    					fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d, 2))\n", size, f, e.in)
    					fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d, -2))\n", size, f, e.in)
    				} else {
    					fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d))\n", size, f, e.in)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. src/cmd/link/linkbig_test.go

    	// the main part of the program can be run.
    	fmt.Fprintf(&w, "\tif os.Getenv(\"LINKTESTARG\") != \"\" {\n")
    	for i := 0; i < FN; i++ {
    		fmt.Fprintf(&w, "\t\tbigfn%d()\n", i)
    	}
    	fmt.Fprintf(&w, "\t}\n")
    	fmt.Fprintf(&w, "\tfmt.Printf(\"PASS\\n\")\n")
    	fmt.Fprintf(&w, "}")
    	err := os.WriteFile(tmpdir+"/bigfn.go", w.Bytes(), 0666)
    	if err != nil {
    		t.Fatalf("can't write output: %v\n", err)
    	}
    
    	// Build and run with internal linking.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:14 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top