Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for sequence (0.2 sec)

  1. src/bufio/scan_test.go

    		}
    	}
    }
    
    // Test that the rune splitter returns same sequence of runes (not bytes) as for range string.
    func TestScanRune(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanRunes)
    		var i, runeCount int
    		var expect rune
    		// Use a string range loop to validate the sequence of runes.
    		for i, expect = range test {
    			if !s.Scan() {
    				break
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/archive/tar/common.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package tar implements access to tar archives.
    //
    // Tape archives (tar) are a file format for storing a sequence of files that
    // can be read and written in a streaming manner.
    // This package aims to cover most variations of the format,
    // including those produced by GNU and BSD tar tools.
    package tar
    
    import (
    	"errors"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  3. src/cmd/asm/internal/lex/lex.go

    	Line() int
    	// Col reports the source column number of the token.
    	Col() int
    	// Close does any teardown required.
    	Close()
    }
    
    // A Token is a scan token plus its string value.
    // A macro is stored as a sequence of Tokens with spaces stripped.
    type Token struct {
    	ScanToken
    	text string
    }
    
    // Make returns a Token with the given rune (ScanToken) and text representation.
    func Make(token ScanToken, text string) Token {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    		{"foo☺bar", '☺', 3},
    		{"foo☺☻☹bar", '☹', 9},
    		{"a A x", 'A', 2},
    		{"some_text=some_value", '=', 9},
    		{"☺a", 'a', 3},
    		{"a☻☺b", '☺', 4},
    
    		// RuneError should match any invalid UTF-8 byte sequence.
    		{"�", '�', 0},
    		{"\xff", '�', 0},
    		{"☻x�", '�', len("☻x")},
    		{"☻x\xe2\x98", '�', len("☻x")},
    		{"☻x\xe2\x98�", '�', len("☻x")},
    		{"☻x\xe2\x98x", '�', len("☻x")},
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			i+1, i+1, n.C,
    		)
    	}
    	fmt.Fprintf(&b, "#line 1 \"completed\"\n"+
    		"int __cgo__1 = __cgo__2;\n")
    
    	// We need to parse the output from this gcc command, so ensure that it
    	// doesn't have any ANSI escape sequences in it. (TERM=dumb is
    	// insufficient; if the user specifies CGO_CFLAGS=-fdiagnostics-color,
    	// GCC will ignore TERM, and GCC can also be configured at compile-time
    	// to ignore TERM.)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. doc/README.md

    then an `api/next` file with the line
    
        pkg net/http, function F #12345
    
    should have a corresponding file named `doc/next/6-stdlib/99-minor/net/http/12345.md`.
    At a minimum, that file should contain either a full sentence or a TODO,
    ideally referring to a person with the responsibility to complete the note.
    
    Use the following forms in your markdown:
    
    	[http.Request]                     # symbol documentation; auto-linked as in Go doc strings
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. api/go1.1.txt

    pkg regexp/syntax, const ErrInvalidCharClass = "invalid character class"
    pkg regexp/syntax, const ErrInvalidCharRange = "invalid character class range"
    pkg regexp/syntax, const ErrInvalidEscape = "invalid escape sequence"
    pkg regexp/syntax, const ErrInvalidNamedCapture = "invalid named capture"
    pkg regexp/syntax, const ErrInvalidPerlOp = "invalid or unsupported Perl syntax"
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  8. doc/go_mem.html

    	go f()
    	<-c
    	print(a)
    }
    </pre>
    
    <p>
    is guaranteed to print <code>"hello, world"</code>.  The write to <code>a</code>
    is sequenced before the send on <code>c</code>, which is synchronized before
    the corresponding receive on <code>c</code> completes, which is sequenced before
    the <code>print</code>.
    </p>
    
    <p class="rule">
    The closing of a channel is synchronized before a receive that returns a zero value
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/386enc.s

    // license that can be found in the LICENSE file.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	// Instructions that were encoded with BYTE sequences.
    	// Included to simplify validation of CL that fixed that.
    	MOVQ (AX), M0  // 0f6f00
    	MOVQ M0, 8(SP) // 0f7f442408
    	MOVQ 8(SP), M0 // 0f6f442408
    	MOVQ M0, (AX)  // 0f7f00
    	MOVQ M0, (BX)  // 0f7f03
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  10. api/go1.7.txt

    pkg unicode, var Bhaiksuki *RangeTable
    pkg unicode, var Marchen *RangeTable
    pkg unicode, var Newa *RangeTable
    pkg unicode, var Osage *RangeTable
    pkg unicode, var Prepended_Concatenation_Mark *RangeTable
    pkg unicode, var Sentence_Terminal *RangeTable
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Viewed (0)
Back to top