Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 352 for Newlines (0.18 sec)

  1. 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)
  2. src/fmt/scan.go

    		// Space processing.
    		// In the rest of this comment "space" means spaces other than newline.
    		// Newline in the format matches input of zero or more spaces and then newline or end-of-input.
    		// Spaces in the format before the newline are collapsed into the newline.
    		// Spaces in the format after the newline match zero or more spaces after the corresponding input newline.
    		// Other spaces in the format match input of one or more spaces or end-of-input.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go

    // ordered by sort.Strings applied to the file names, where each line consists of
    // the hexadecimal SHA-256 hash of the file content,
    // two spaces (U+0020), the file name, and a newline (U+000A).
    //
    // 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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        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");
        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "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)
  5. guava-tests/test/com/google/common/io/LineBufferTest.java

        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");
        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/go/internal/work/shell_test.go

    		}
    		wantOut := buf.String()
    
    		if strings.Count(wantOut, "\n") != len(args)+bytes.Count(b, []byte("\n")) {
    			// One of the newlines in b was treated as a delimiter and not part of an
    			// argument. Our bash test script would interpret that as a syntax error.
    			t.Skipf("skipping %#q: contains a bare newline", b)
    		}
    
    		// We use the printf shell command to echo the arguments because, per
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 15 15:30:05 UTC 2023
    - 4.5K 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