- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for printToString (0.2 sec)
-
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/failure/FailurePrinterTest.groovy
def f = toFailure(e) expect: FailurePrinter.printToString(f) == getTraceString(e) } def "prints same as JVM for an exception with cause"() { def e = new RuntimeException("BOOM", SimulatedJavaException.simulateDeeperException()) def f = toFailure(e) expect: FailurePrinter.printToString(f) == getTraceString(e) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:12:10 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc
*quantization_results_.add_results() = std::move(result); } std::string QuantizationReport::ToString() const { std::string results_str{}; TextFormat::PrintToString(quantization_results_, &results_str); return absl::StrCat("===== Quantization Report =====\n\n", results_str, "\n===== Quantization Report End =====\n\n"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
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) -
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) -
testing/performance/src/templates/native-dependents-resources/googleTest/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: Thu Apr 04 07:21:38 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report_test.cc
report.AddQuantizationResult(std::move(result)); // Check that the report string is equivalent to the textproto representation // of the `QuantizationResults`. std::string result_str{}; TextFormat::PrintToString(report.GetQuantizationResults(), &result_str); EXPECT_THAT(report.ToString(), HasSubstr("Quantization Report")); EXPECT_THAT(report.ToString(), HasSubstr(result_str));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 10:10:34 UTC 2024 - 18.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
std::string txt_metadata; if (tpu_compile_metadata_debug) { ::tensorflow::protobuf::TextFormat::Printer printer; printer.SetExpandAny(true); printer.PrintToString(metadata, &txt_metadata); } else { metadata.SerializeToString(&txt_metadata); } auto compile_op = builder->create<TF::_TPUCompileMlirOp>( cluster_func.getLoc(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
MakeAndRegisterTestInfo( test_case_name.c_str(), test_name_stream.GetString().c_str(), NULL, // No type parameter. PrintToString(*param_it).c_str(), GetTestCaseTypeId(), TestCase::SetUpTestCase, TestCase::TearDownTestCase, test_info->test_meta_factory->CreateTestFactory(*param_it));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.6K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h
// The default case. template <typename ToPrint, typename OtherOperand> class FormatForComparison { public: static ::std::string Format(const ToPrint& value) { return ::testing::PrintToString(value); } }; // Array. template <typename ToPrint, size_t N, typename OtherOperand> class FormatForComparison<ToPrint[N], OtherOperand> { public:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 86.4K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis_test.cc
} void VLogGraphIfAsked(const Graph& graph) { if (VLOG_IS_ON(3)) { GraphDef graph_def; graph.ToGraphDef(&graph_def); string serialized; ::tensorflow::protobuf::TextFormat::PrintToString(graph_def, &serialized); LOG(INFO) << serialized; } } struct InductionVarInfo { Output induction_var; Output loop_cond; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0)