- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AddLineWithoutIndent (0.24 sec)
-
tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.cc
namespace generator { namespace cpp { Renderer::Renderer(RendererContext context) : context_(context) {} Renderer& Renderer::BlankLine() { 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);
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/common/source_code.h
class SourceCode { public: string Render() const; void SetSpacesPerIndent(int spaces_per_indent) { spaces_per_indent_ = spaces_per_indent; } void AddLineWithIndent(const string &line); void AddLineWithoutIndent(const string &line); void AddBlankLine(); void IncreaseIndent(); void DecreaseIndent(); private: struct Line { int indent; string text; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/source_code.cc
line.text, "\n"); } return code; } void SourceCode::AddLineWithIndent(const string& line) { ValidateAndAddLine(current_indent_, line); } void SourceCode::AddLineWithoutIndent(const string& line) { ValidateAndAddLine(0, line); } void SourceCode::AddBlankLine() { ValidateAndAddLine(0, ""); } void SourceCode::IncreaseIndent() { current_indent_++; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 2.1K bytes - Viewed (0)