Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for newgolines (0.16 sec)

  1. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    		var sb strings.Builder
    		dumpFnPreamble(&sb, e, dcsites, instance, atl)
    		ues.newgolines = append(ues.newgolines,
    			strings.Split(strings.TrimSpace(sb.String()), "\n")...)
    	}
    
    	// Write file preamble with "DO NOT EDIT" message and such.
    	var sb strings.Builder
    	dumpFilePreamble(&sb)
    	ues.newgolines = append(ues.newgolines,
    		strings.Split(strings.TrimSpace(sb.String()), "\n")...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/MultiLineBuildProgressArea.java

                label.newLineAdjustment();
            }
        }
    
        public void redraw(AnsiContext ansi) {
            int newLines = 0 - statusAreaPos.row + getHeight() - 1;
            if (isVisible && newLines > 0) {
                ansi.cursorAt(Cursor.newBottomLeft()).newLines(newLines);
            }
    
            // Redraw every entry of this area
            for (int i = 0; i < entries.size(); ++i) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. src/fmt/scan.go

    // returns the number of items successfully parsed.
    // Newlines in the input must match newlines in the format.
    func Sscanf(str string, format string, a ...any) (n int, err error) {
    	return Fscanf((*stringReader)(&str), format, a...)
    }
    
    // Fscan scans text read from r, storing successive space-separated
    // values into successive arguments. Newlines count as space. It
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h

      }
    
      // Append a multiline string of source code, left-justified (not indented).
      // Note: Trims leading/trailing whitespace including newlines, making this
      //       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) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/cmd/doc/pkg.go

    		log.Fatal(err)
    	}
    	pkg.buf.Reset() // Not needed, but it's a flush.
    }
    
    var newlineBytes = []byte("\n\n") // We never ask for more than 2.
    
    // newlines guarantees there are n newlines at the end of the buffer.
    func (pkg *Package) newlines(n int) {
    	for !bytes.HasSuffix(pkg.buf.Bytes(), newlineBytes[:n]) {
    		pkg.buf.WriteRune('\n')
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go

    //
    // File names with newlines (U+000A) are disallowed.
    func Hash1(files []string, open func(string) (io.ReadCloser, error)) (string, error) {
    	h := sha256.New()
    	files = append([]string(nil), files...)
    	sort.Strings(files)
    	for _, file := range files {
    		if strings.Contains(file, "\n") {
    			return "", errors.New("dirhash: filenames with newlines are not supported")
    		}
    		r, err := open(file)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/users/users_linux.go

    	out := file
    	newLines := make([]string, 0, len(entries))
    	for _, e := range entries {
    		newLines = append(newLines, createEntry(e))
    	}
    	newLinesStr := ""
    	if len(newLines) > 0 {
    		if !strings.HasSuffix(out, "\n") { // Append a new line if its missing.
    			newLinesStr = "\n"
    		}
    		newLinesStr += strings.Join(newLines, "\n") + "\n"
    	}
    	return out + newLinesStr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("\n\n", "\n", "\n");
        bufferHelper("\r\n\r\n", "\r\n", "\r\n");
        bufferHelper("\r\r", "\r", "\r");
        bufferHelper("\ra\r\n\n\r\r", "\r", "a\r\n", "\n", "\r", "\r");
        bufferHelper("no newlines at all", "no newlines at all");
        bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end");
        bufferHelper(
            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("\n\n", "\n", "\n");
        bufferHelper("\r\n\r\n", "\r\n", "\r\n");
        bufferHelper("\r\r", "\r", "\r");
        bufferHelper("\ra\r\n\n\r\r", "\r", "a\r\n", "\n", "\r", "\r");
        bufferHelper("no newlines at all", "no newlines at all");
        bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end");
        bufferHelper(
            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cgo_path_space_quote.txt

    # This test checks that the CC environment variable may contain quotes and
    # spaces. Arguments are normally split on spaces, tabs, newlines. If an
    # argument contains these characters, the entire argument may be quoted
    # with single or double quotes. This is the same as -gcflags and similar
    # options.
    
    [short] skip
    [!exec:clang] [!exec:gcc] skip
    [!cgo] skip
    
    env GOENV=$WORK/go.env
    mkdir 'program files'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 16 20:23:26 UTC 2021
    - 1.2K bytes
    - Viewed (0)
Back to top