Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for positive (0.41 sec)

  1. src/cmd/cgo/godefs.go

    // a semicolon. We only have to worry about cases that can occur in an
    // expression passed through gofmt, which means composite literals and
    // (due to the printer possibly inserting newlines because of position
    // information) operators.
    var gofmtLineReplacer = strings.NewReplacer(
    	// Want to replace \n without ; after everything from
    	// https://golang.org/ref/spec#Operators_and_punctuation
    	// EXCEPT ++ -- ) ] }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg text/scanner, method (Position) String() string
    pkg text/scanner, method (Scanner) String() string
    pkg text/scanner, type Position struct
    pkg text/scanner, type Position struct, Column int
    pkg text/scanner, type Position struct, Filename string
    pkg text/scanner, type Position struct, Line int
    pkg text/scanner, type Position struct, Offset int
    pkg text/scanner, type Scanner struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  3. api/go1.16.txt

    pkg go/build, type Package struct, IgnoredOtherFiles []string
    pkg go/build, type Package struct, TestEmbedPatterns []string
    pkg go/build, type Package struct, TestEmbedPatternPos map[string][]token.Position
    pkg go/build, type Package struct, XTestEmbedPatterns []string
    pkg go/build, type Package struct, XTestEmbedPatternPos map[string][]token.Position
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  4. src/bytes/reader.go

    		abs = r.i + offset
    	case io.SeekEnd:
    		abs = int64(len(r.s)) + offset
    	default:
    		return 0, errors.New("bytes.Reader.Seek: invalid whence")
    	}
    	if abs < 0 {
    		return 0, errors.New("bytes.Reader.Seek: negative position")
    	}
    	r.i = abs
    	return abs, nil
    }
    
    // WriteTo implements the [io.WriterTo] interface.
    func (r *Reader) WriteTo(w io.Writer) (n int64, err error) {
    	r.prevRune = -1
    	if r.i >= int64(len(r.s)) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (1)
  5. doc/go_spec.html

      -Inf      y         -Inf            y    // negative infinity is smaller than any other number
      +Inf      y            y         +Inf    // positive infinity is larger than any other number
       NaN      y          NaN          NaN    // if any argument is a NaN, the result is a NaN
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. src/bytes/reader_test.go

    		{seek: io.SeekStart, off: 1, n: 1, want: "1"},
    		{seek: io.SeekCurrent, off: 1, wantpos: 3, n: 2, want: "34"},
    		{seek: io.SeekStart, off: -1, seekerr: "bytes.Reader.Seek: negative position"},
    		{seek: io.SeekStart, off: 1 << 33, wantpos: 1 << 33, readerr: io.EOF},
    		{seek: io.SeekCurrent, off: 1, wantpos: 1<<33 + 1, readerr: io.EOF},
    		{seek: io.SeekStart, n: 5, want: "01234"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    				// we're not getting lots of false positives.
    				o := IndexByte(s[i+1:t], c0)
    				if o < 0 {
    					return -1
    				}
    				i += o + 1
    			}
    			if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    				return i
    			}
    			fails++
    			i++
    			// Switch to bytealg.Index when IndexByte produces too many false positives.
    			if fails > bytealg.Cutover(i) {
    				r := bytealg.Index(s[i:], sep)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/input.go

    	//	#define A (x)
    	// distinctly: the first is a macro with arguments, the second without.
    	// Distinguish these cases using the column number, since we don't
    	// see the space itself. Note that text/scanner reports the position at the
    	// end of the token. It's where you are now, and you just read this token.
    	if tok == '(' && in.Stack.Col() == prevCol+1 {
    		// Macro has arguments. Scan list of formals.
    		acceptArg := true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    type sparseFileWriter struct {
    	fw  fileWriter  // Underlying fileWriter
    	sp  sparseDatas // Normalized list of data fragments
    	pos int64       // Current position in sparse file
    }
    
    func (sw *sparseFileWriter) Write(b []byte) (n int, err error) {
    	overwrite := int64(len(b)) > sw.logicalRemaining()
    	if overwrite {
    		b = b[:sw.logicalRemaining()]
    	}
    
    	b0 := b
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg text/template/parse, method (FieldNode) Position() Pos
    pkg text/template/parse, method (IdentifierNode) Position() Pos
    pkg text/template/parse, method (IfNode) Position() Pos
    pkg text/template/parse, method (ListNode) Position() Pos
    pkg text/template/parse, method (NilNode) Position() Pos
    pkg text/template/parse, method (NumberNode) Position() Pos
    pkg text/template/parse, method (PipeNode) Position() Pos
    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)
Back to top