Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for native (0.27 sec)

  1. src/bufio/bufio.go

    	ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune")
    	ErrBufferFull        = errors.New("bufio: buffer full")
    	ErrNegativeCount     = errors.New("bufio: negative count")
    )
    
    // Buffered input.
    
    // Reader implements buffering for an io.Reader object.
    type Reader struct {
    	buf          []byte
    	rd           io.Reader // reader provided by the client
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  2. src/bufio/scan_test.go

    		}
    		p[c-1] = '\n'
    		*r -= negativeEOFReader(c)
    		return c, nil
    	}
    	return -1, io.EOF
    }
    
    // Test that the scanner doesn't panic and returns ErrBadReadCount
    // on a reader that returns a negative count of bytes read (issue 38053).
    func TestNegativeEOFReader(t *testing.T) {
    	r := negativeEOFReader(10)
    	scanner := NewScanner(&r)
    	c := 0
    	for scanner.Scan() {
    		c++
    		if c > 1 {
    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)
  3. src/cmd/api/main_test.go

    		default:
    			take(&required)
    			take(&features)
    		}
    	}
    
    	return ok
    }
    
    // aliasReplacer applies type aliases to earlier API files,
    // to avoid misleading negative results.
    // This makes all the references to os.FileInfo in go1.txt
    // be read as if they said fs.FileInfo, since os.FileInfo is now an alias.
    // If there are many of these, we could do a more general solution,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. doc/go_mem.html

    </p>
    
    <p>
    This rule generalizes the previous rule to buffered channels.
    It allows a counting semaphore to be modeled by a buffered channel:
    the number of items in the channel corresponds to the number of active uses,
    the capacity of the channel corresponds to the maximum number of simultaneous uses,
    sending an item acquires the semaphore, and receiving an item releases
    the semaphore.
    This is a common idiom for limiting concurrency.
    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)
  5. api/go1.2.txt

    pkg syscall (openbsd-386), const EMEDIUMTYPE Errno
    pkg syscall (openbsd-386), const EMT_TAGOVF ideal-int
    pkg syscall (openbsd-386), const EMUL_ENABLED ideal-int
    pkg syscall (openbsd-386), const EMUL_NATIVE ideal-int
    pkg syscall (openbsd-386), const ENDRUNDISC ideal-int
    pkg syscall (openbsd-386), const ENEEDAUTH Errno
    pkg syscall (openbsd-386), const ENOATTR Errno
    pkg syscall (openbsd-386), const ENOMEDIUM Errno
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
Back to top