Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for print_string (0.23 sec)

  1. tensorflow/cc/framework/cc_op_gen_util.h

    string ToTitle(StringPiece name);
    
    // Change:     Into:
    //   ABC         /// ABC
    //               ///
    //   DEF         /// DEF
    string MakeComment(StringPiece text, StringPiece indent);
    
    string PrintString(StringPiece str);
    
    string PrintTensorShape(const TensorShapeProto& shape_proto);
    
    template <typename T>
    string PrintArray(int64_t num_elts, const T* array) {
      string ret;
      for (int64_t i = 0; i < num_elts; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/cc_op_gen_util.cc

        } else {
          strings::StrAppend(&ret, indent, "/// ",
                             text.substr(0, last_non_space + 1), "\n");
        }
        text.remove_prefix(newline + 1);
      }
      return ret;
    }
    
    string PrintString(StringPiece str) {
      return strings::StrCat("\"", absl::CEscape(str), "\"");
    }
    
    string PrintTensorShape(const TensorShapeProto& shape_proto) {
      PartialTensorShape shape(shape_proto);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinter.java

     * <p>
     * The printer additionally allows reacting to each frame to be printed via a {@link FailurePrinterListener}.
     */
    public class FailurePrinter {
    
        public static String printToString(Failure failure) {
            StringBuilder output = new StringBuilder();
            print(output, failure, FailurePrinterListener.NO_OP);
            return output.toString();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.goPanicSliceConvert", 1},
    	{"runtime.printbool", 1},
    	{"runtime.printfloat", 1},
    	{"runtime.printint", 1},
    	{"runtime.printhex", 1},
    	{"runtime.printuint", 1},
    	{"runtime.printcomplex", 1},
    	{"runtime.printstring", 1},
    	{"runtime.printpointer", 1},
    	{"runtime.printuintptr", 1},
    	{"runtime.printiface", 1},
    	{"runtime.printeface", 1},
    	{"runtime.printslice", 1},
    	{"runtime.printnl", 1},
    	{"runtime.printsp", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

    FailureOr<std::string> QuantizationMethodToTextProto(const Method& method) {
      TextFormat::Printer printer;
      printer.SetSingleLineMode(true);
    
      std::string method_txtpb;
      if (!printer.PrintToString(method, &method_txtpb)) {
        LLVM_DEBUG(llvm::dbgs() << "Failed to convert Method to textproto\n.");
        return failure();
      }
    
      // Single line mode might have an extra space at the end, due to the internal
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

      EXPECT_EQ(TF_GetCode(status), TF_OK);
    
      ServerDef actual;
      ASSERT_TRUE(actual.ParseFromArray(result->data, result->length));
      string actual_text_proto;
      tensorflow::protobuf::TextFormat::PrintToString(actual, &actual_text_proto);
      EXPECT_EQ(expected_text_proto, actual_text_proto);
    
      const string malformed_text_proto(R"(cluster {
      job {
        name: "worker")");
      TF_Buffer* null_result =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func goPanicSliceConvert(x int, y int)
    
    func printbool(bool)
    func printfloat(float64)
    func printint(int64)
    func printhex(uint64)
    func printuint(uint64)
    func printcomplex(complex128)
    func printstring(string)
    func printpointer(any)
    func printuintptr(uintptr)
    func printiface(any)
    func printeface(any)
    func printslice(any)
    func printnl()
    func printsp()
    func printlock()
    func printunlock()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/builtin.go

    	{"printbool", funcTag, 19},
    	{"printfloat", funcTag, 21},
    	{"printint", funcTag, 23},
    	{"printhex", funcTag, 25},
    	{"printuint", funcTag, 25},
    	{"printcomplex", funcTag, 27},
    	{"printstring", funcTag, 29},
    	{"printpointer", funcTag, 30},
    	{"printuintptr", funcTag, 31},
    	{"printiface", funcTag, 30},
    	{"printeface", funcTag, 30},
    	{"printslice", funcTag, 30},
    	{"printnl", funcTag, 9},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

    // We also provide some convenient wrappers:
    //
    //   // Prints a value to a string.  For a (const or not) char
    //   // pointer, the NUL-terminated string (but not the pointer) is
    //   // printed.
    //   std::string ::testing::PrintToString(const T& value);
    //
    //   // Prints a value tersely: for a reference type, the referenced
    //   // value (but not the address) is printed; for a (const or not) char
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    func (r *TXTResource) GoString() string {
    	s := "dnsmessage.TXTResource{TXT: []string{"
    	if len(r.TXT) == 0 {
    		return s + "}}"
    	}
    	s += `"` + printString([]byte(r.TXT[0]))
    	for _, t := range r.TXT[1:] {
    		s += `", "` + printString([]byte(t))
    	}
    	return s + `"}}`
    }
    
    func unpackTXTResource(msg []byte, off int, length uint16) (TXTResource, error) {
    	txts := make([]string, 0, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
Back to top