- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CodeLines (0.08 sec)
-
tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h
// method convenient for multiline raw strings. // Newlines ('\n') are allowed/expected. Renderer &CodeLines(const string &text); template <typename... Args> Renderer CodeLines(absl::string_view text, const Args &...args) { return CodeLines(absl::Substitute(text, args...)); } // Indent and append a C++ statement. // Note: do *not* include a trailing semicolon in the statement text.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.cc
context_.code.AddLineWithoutIndent(""); return *this; } Renderer& Renderer::CodeLine(const string& text) { context_.code.AddLineWithoutIndent(text); return *this; } Renderer& Renderer::CodeLines(const string& text) { StringPiece trimmed_text(text); str_util::RemoveWhitespaceContext(&trimmed_text); for (const string& line : str_util::Split(trimmed_text, '\n')) { context_.code.AddLineWithoutIndent(line); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/cpp_file_renderer.cc
: Renderer(context), guard_(context), name_space_(context), includes_(context), ops_(ops) {} void CppFileRenderer::Render() { CodeLines(copyright); BlankLine(); CodeLine(machine_generated); BlankLine(); if (context_.mode == RendererContext::kHeader) { guard_.Open(); } else { includes_.SelfHeader(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 2.6K bytes - Viewed (0) -
subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/model/ModelReportParser.groovy
} reportLines = reportLines[firstLine..-1] def nodeLines = reportLines[FIRST_NODE_LINE_NUMBER..-1] return new ParsedModelReport( getTitle(reportLines), reportLines, nodeOnlyLines(nodeLines), parseNodes(nodeLines) ) } private static void validate(String text) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 21 18:45:57 UTC 2018 - 5.3K bytes - Viewed (0)