Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 776 for indents (0.12 sec)

  1. doc/next/4-runtime.md

    ## Runtime {#runtime}
    
    The traceback printed by the runtime after an unhandled panic or other
    fatal error now indents the second and subsequent lines of the error
    message (for example, the argument to panic) by a single tab, so that
    it can be unambiguously distinguished from the stack trace of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 359 bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java

                            BuildOperationRecord record = children.remove();
    
                            stringBuilder.setLength(0);
    
                            int indents = stack.size() - 1;
    
                            for (int i = 0; i < indents; ++i) {
                                stringBuilder.append("  ");
                            }
    
                            if (!record.children.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

            formatter.endChildren()
    
            then:
            formatter.toString() == toPlatformLineSeparators("""Some things: child 1.
    Some other things:
      - child 1.
      - child 2.""")
        }
    
        def "indents nested children that span multiple lines"() {
            when:
            formatter.node(toPlatformLineSeparators("Multiple\nlines"))
            formatter.startChildren()
            formatter.node("child 1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. 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)
  6. ci/official/utilities/extract_resultstore_links.py

              break
          k -= 1
          continue
        previous_end_line = lines.get('end') or start_line
    
      return result_store_links
    
    
    def indent_xml(elem, level=0) -> None:
      """Indents and newlines the XML for better output."""
      indent_str = '\n' + level * '  '
      if len(elem):  # pylint: disable=g-explicit-length-test  # `if elem` not valid
        if not elem.text or not elem.text.strip():
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/yaml/yaml_test.go

    			error: "max depth",
    			data:  []byte("x: " + strings.Repeat(`{`, 3*1024*1024)),
    		},
    		{
    			name:  "deeply nested indents",
    			error: "max depth",
    			data:  []byte(strings.Repeat(`- `, 3*1024*1024)),
    		},
    		{
    			name:      "3MB of 1000-indent lines",
    			data:      []byte(strings.Repeat(strings.Repeat(`- `, 1000)+"\n", 3*1024/2)),
    			benchmark: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 06 20:18:22 UTC 2020
    - 14.3K bytes
    - Viewed (0)
  9. src/encoding/gob/debug.go

    func (deb *debugger) printWireType(indent tab, wire *wireType) {
    	fmt.Fprintf(os.Stderr, "%stype definition {\n", indent)
    	indent++
    	switch {
    	case wire.ArrayT != nil:
    		deb.printCommonType(indent, "array", &wire.ArrayT.CommonType)
    		fmt.Fprintf(os.Stderr, "%slen %d\n", indent+1, wire.ArrayT.Len)
    		fmt.Fprintf(os.Stderr, "%selemid %d\n", indent+1, wire.ArrayT.Elem)
    	case wire.MapT != nil:
    		deb.printCommonType(indent, "map", &wire.MapT.CommonType)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 09:34:41 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  10. hack/update-codegen.sh

            CODEGEN_PKG="${codegen}" \
            UPDATE_API_KNOWN_VIOLATIONS="${UPDATE_API_KNOWN_VIOLATIONS}" \
            API_KNOWN_VIOLATIONS_DIR="${API_KNOWN_VIOLATIONS_DIR}" \
                ./hack/update-codegen.sh > >(indent) 2> >(indent >&2)
            popd >/dev/null
        done
    }
    
    function codegen::protobindings() {
        # Each element of this array is a directory containing subdirectories which
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
Back to top