Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for task (0.14 sec)

  1. src/bytes/buffer_test.go

    	for i := 0; i <= 5; i++ {
    		for j := i; j <= 5; j++ {
    			for k := 0; k <= 6; k++ {
    				// 0 <= i <= j <= 5; 0 <= k <= 6
    				// Check that if we start with a buffer
    				// of length j at offset i and ask for
    				// Next(k), we get the right bytes.
    				buf := NewBuffer(b[0:j])
    				n, _ := buf.Read(tmp[0:i])
    				if n != i {
    					t.Fatalf("Read %d returned %d", i, n)
    				}
    				bb := buf.Next(k)
    				want := k
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. doc/asm.html

    and declares <code>runtime·tlsoffset</code>, a 4-byte, implicitly zeroed variable that
    contains no pointers.
    </p>
    
    <p>
    There may be one or two arguments to the directives.
    If there are two, the first is a bit mask of flags,
    which can be written as numeric expressions, added or or-ed together,
    or can be set symbolically for easier absorption by a human.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    func discard(r io.Reader, n int64) error {
    	// If possible, Seek to the last byte before the end of the data section.
    	// Do this because Seek is often lazy about reporting errors; this will mask
    	// the fact that the stream may be truncated. We can rely on the
    	// io.CopyN done shortly afterwards to trigger any IO errors.
    	var seekSkipped int64 // Number of bytes skipped via Seek
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top