Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 352 for Newlines (0.5 sec)

  1. src/cmd/gofmt/testdata/stdin3.input

    		//gofmt -stdin
    
    		/* note: no newline at end of file */
    		for i := 0; i < 10; i++ { s += i }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 96 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

      private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();
      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

      private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();
      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/cc_op_gen_util.cc

    string MakeComment(StringPiece text, StringPiece indent) {
      string ret;
      while (!text.empty()) {
        int last_non_space = -1;
        int newline;
        for (newline = 0; newline < static_cast<int>(text.size()); ++newline) {
          if (text[newline] == '\n') break;
          if (text[newline] != ' ') last_non_space = newline;
        }
        if (last_non_space == -1) {
          strings::StrAppend(&ret, indent, "///\n");
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. test/syntax/composite.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    var a = []int{
    	3 // ERROR "need trailing comma before newline in composite literal|possibly missing comma or }"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 00:26:58 UTC 2022
    - 304 bytes
    - Viewed (0)
  6. src/internal/diff/testdata/eof2.txt

    -- old --
    a
    b
    c^D
    -- new --
    a
    b
    c
    -- diff --
    diff old new
    --- old
    +++ new
    @@ -1,3 +1,3 @@
     a
     b
    -c
    \ No newline at end of file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 130 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/term/terminal.go

    	t.queue(op)
    }
    
    const maxLineLength = 4096
    
    func (t *Terminal) setLine(newLine []rune, newPos int) {
    	if t.echo {
    		t.moveCursorToPos(0)
    		t.writeLine(newLine)
    		for i := len(newLine); i < len(t.line); i++ {
    			t.writeLine(space)
    		}
    		t.moveCursorToPos(newPos)
    	}
    	t.line = newLine
    	t.pos = newPos
    }
    
    func (t *Terminal) advanceCursor(places int) {
    	t.cursorX += places
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/testdata/issue20789.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure this doesn't crash the compiler.
    // Line 9 must end in EOF for this test (no newline).
    
    package e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 326 bytes
    - Viewed (0)
  9. test/fixedbugs/bug349.go

    // license that can be found in the LICENSE file.
    
    // issue 1192 - detail in error
    
    package main
    
    func foo() (a, b, c int) {
    	return 0, 1 2.01  // ERROR "unexpected literal 2.01|expected ';' or '}' or newline|not enough arguments to return"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 367 bytes
    - Viewed (0)
  10. .golangci.yml

      exclude-use-default: false
      exclude:
        - "empty-block:"
        - "unused-parameter:"
        - "dot-imports:"
        - should have a package comment
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 07 02:17:03 UTC 2023
    - 689 bytes
    - Viewed (0)
Back to top