Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for Read (0.2 sec)

  1. src/cmd/asm/internal/lex/input.go

    	// 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
    		args = []string{} // Zero length but not nil.
    	Loop:
    		for {
    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)
  2. api/go1.14.txt

    pkg syscall (freebsd-arm64), const EVFILT_PROC = -5
    pkg syscall (freebsd-arm64), const EVFILT_PROC ideal-int
    pkg syscall (freebsd-arm64), const EVFILT_READ = -1
    pkg syscall (freebsd-arm64), const EVFILT_READ ideal-int
    pkg syscall (freebsd-arm64), const EVFILT_SIGNAL = -6
    pkg syscall (freebsd-arm64), const EVFILT_SIGNAL ideal-int
    pkg syscall (freebsd-arm64), const EVFILT_SYSCOUNT = 11
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    // reads in Scanner.Scan.
    type slowReader struct {
    	max int
    	buf io.Reader
    }
    
    func (sr *slowReader) Read(p []byte) (n int, err error) {
    	if len(p) > sr.max {
    		p = p[0:sr.max]
    	}
    	return sr.buf.Read(p)
    }
    
    // genLine writes to buf a predictable but non-trivial line of text of length
    // n, including the terminal newline and an occasional carriage return.
    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)
  4. src/archive/tar/common.go

    // 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"
    	"fmt"
    	"internal/godebug"
    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)
  5. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const EVFILT_PROC = -5 #53466
    pkg syscall (freebsd-riscv64), const EVFILT_PROC ideal-int #53466
    pkg syscall (freebsd-riscv64), const EVFILT_READ = -1 #53466
    pkg syscall (freebsd-riscv64), const EVFILT_READ ideal-int #53466
    pkg syscall (freebsd-riscv64), const EVFILT_SIGNAL = -6 #53466
    pkg syscall (freebsd-riscv64), const EVFILT_SIGNAL ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    	c = append(c, p.gccMachine()...)
    	if goos == "aix" {
    		c = append(c, "-maix64")
    		c = append(c, "-mcmodel=large")
    	}
    	// disable LTO so we get an object whose symbols we can read
    	c = append(c, "-fno-lto")
    	c = append(c, "-") //read input from standard input
    	return c
    }
    
    // gccDebug runs gcc -gdwarf-2 over the C program stdin and
    // returns the corresponding DWARF data and, if present, debug data block.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. src/archive/tar/tar_test.go

    type testFile struct {
    	ops fileOps
    	pos int64
    }
    
    func (f *testFile) Read(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, io.EOF
    	}
    	s, ok := f.ops[0].(string)
    	if !ok {
    		return 0, errors.New("unexpected Read operation")
    	}
    
    	n := copy(b, s)
    	if len(s) > n {
    		f.ops[0] = s[n:]
    	} else {
    		f.ops = f.ops[1:]
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. lib/time/update.bash

    echo Updated for $CODE/$DATA: $files
    
    commitmsg="lib/time: update to $CODE/$DATA
    
    Commit generated by update.bash.
    
    For #22487.
    "
    
    if [ "$1" = "-commit" ]; then
    	echo "Creating commit. Run 'git reset HEAD^' to undo commit."
    	echo
    	git commit -m "$commitmsg" $files
    	echo
    	git log -n1 --stat
    	echo
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. doc/go_spec.html

    <code>E</code>
    [<a href="#Go_1.18">Go 1.18</a>].
    </p>
    
    <pre>
    type Reader interface {
    	Read(p []byte) (n int, err error)
    	Close() error
    }
    
    type Writer interface {
    	Write(p []byte) (n int, err error)
    	Close() error
    }
    
    // ReadWriter's methods are Read, Write, and Close.
    type ReadWriter interface {
    	Reader  // includes methods of Reader in ReadWriter's method set
    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)
  10. src/cmd/asm/internal/asm/parse.go

    		panic(fmt.Errorf(format, args...))
    	}
    	if p.lineNum == p.errorLine {
    		// Only one error per line.
    		return
    	}
    	p.errorLine = p.lineNum
    	if p.lex != nil {
    		// Put file and line information on head of message.
    		format = "%s:%d: " + format + "\n"
    		args = append([]interface{}{p.lex.File(), p.lineNum}, args...)
    	}
    	fmt.Fprintf(p.errorWriter, format, args...)
    	p.errorCount++
    	if p.errorCount > 10 && !*flags.AllErrors {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top