Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 258 for nindent (0.16 sec)

  1. operator/cmd/mesh/testdata/manifest-generate/output/all_on.golden-show-in-gh-pull-request.yaml

              labels:
                {{- toJsonMap
                  .InfrastructureLabels
                  (strdict
                    "gateway.networking.k8s.io/gateway-name" .Name
                    "istio.io/gateway-name" .Name
                  ) | nindent 4 }}
            ---
            apiVersion: apps/v1
            kind: Deployment
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 506.8K bytes
    - Viewed (0)
  2. src/encoding/json/indent.go

    // if src ends in a trailing newline, so will dst.
    func Indent(dst *bytes.Buffer, src []byte, prefix, indent string) error {
    	dst.Grow(indentGrowthFactor * len(src))
    	b := dst.AvailableBuffer()
    	b, err := appendIndent(b, src, prefix, indent)
    	dst.Write(b)
    	return err
    }
    
    func appendIndent(dst, src []byte, prefix, indent string) ([]byte, error) {
    	origLen := len(dst)
    	scan := newScanner()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:19:31 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. src/go/printer/printer.go

    		switch ch := p.wsbuf[i]; ch {
    		case ignore:
    			// ignore!
    		case indent:
    			p.indent++
    		case unindent:
    			p.indent--
    			if p.indent < 0 {
    				p.internalError("negative indentation:", p.indent)
    				p.indent = 0
    			}
    		case newline, formfeed:
    			// A line break immediately followed by a "correcting"
    			// unindent is swapped with the unindent - this permits
    			// proper label positioning. If a comment is between
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs-asciidoctor-extensions-base/src/main/java/org/gradle/docs/asciidoctor/SampleIncludeProcessor.java

            int minIndent = Integer.MAX_VALUE;
            for (String line : lines) {
                if (line.trim().isEmpty()) {
                    continue;
                }
    
                int indent = 0;
                while (indent < line.length() && Character.isWhitespace(line.charAt(indent))) {
                    indent++;
                }
                if (indent < line.length()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 10:45:07 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/common/dependency-reports/src/main/java/com/example/GraphResolvedComponents.java

            Set<ResolvedComponentResult> seen,
            String indent
        ) {
            writer.print(component.getId().getDisplayName());
            if (seen.add(component)) {
                writer.println();
                String newIndent = indent + "  ";
                for (DependencyResult dependency : component.getDependencies()) {
                    writer.print(newIndent);
                    writer.print(dependency.getRequested().getDisplayName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/common/dependency-reports/src/main/java/com/example/GraphResolvedComponentsAndFiles.java

            String indent
        ) {
            writer.print(component.getId().getDisplayName());
            File file = filesByIdentifiers.get(component.getId());
            if (file != null) {
                writer.print(" => ");
                writer.print(file.getName());
            }
            if (seen.add(component)) {
                writer.println();
                String newIndent = indent + "  ";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

                    return true;
                }
            }
            return false;
        }
    
        /**
         * Indents every line of {@code text} by {@code indent}. Empty lines
         * and lines that only contain whitespace are not indented.
         */
        public static String indent(String text, String indent) {
            logDeprecation();
            StringBuilder builder = new StringBuilder();
            String[] lines = text.split("\n");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/config.go

    			c.RemoteClusterValues = c.ControlPlaneValues
    		}
    	}
    }
    
    // Indent indents a block of text with an indent string
    func Indent(text, indent string) string {
    	if text[len(text)-1:] == "\n" {
    		result := ""
    		for _, j := range strings.Split(text[:len(text)-1], "\n") {
    			result += indent + j + "\n"
    		}
    		return result
    	}
    	result := ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

                    return true;
                }
            }
            return false;
        }
    
        /**
         * Indents every line of {@code text} by {@code indent}. Empty lines
         * and lines that only contain whitespace are not indented.
         */
        public static String indent(String text, String indent) {
            StringBuilder builder = new StringBuilder();
            String[] lines = text.split("\n");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

        if (kernel_support) {
          os.indent(6) << "\"" << op_name << "\",\n";
        } else {
          weight_only.push_back(op_name.str());
        }
      }
    
      os.indent(4) << "});";
      os.indent(2) << "return *result;\n";
      os.indent(0) << "}\n";
    
      os.indent(0)
          << "const std::set<std::string> &ExportDynamicRangeWeightOnlySpec() {\n";
      os.indent(2) << "static const std::set<std::string> * result =\n";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top