Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/bufio/bufio_test.go

    		if err := r.UnreadByte(); err == nil {
    			t.Errorf("n = %d: expected error on UnreadByte", n)
    		}
    	}
    }
    
    func TestUnreadByteOthers(t *testing.T) {
    	// A list of readers to use in conjunction with UnreadByte.
    	var readers = []func(*Reader, byte) ([]byte, error){
    		(*Reader).ReadBytes,
    		(*Reader).ReadSlice,
    		func(r *Reader, delim byte) ([]byte, error) {
    			data, err := r.ReadString(delim)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    			panic(err)
    		}
    		b, err = io.ReadAll(f)
    		if err != nil {
    			panic(err)
    		}
    	}
    	return bytes.NewReader(b), int64(len(b))
    }
    
    func TestIssue8186(t *testing.T) {
    	// Directory headers & data found in the TOC of a JAR file.
    	dirEnts := []string{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			// Otherwise one bad and unneeded field in an otherwise okay struct
    			// makes the whole program not compile. Much of the time these
    			// structs are in system headers that cannot be corrected.
    			continue
    		}
    
    		// Round off up to talign, assumed to be a power of 2.
    		off = (off + talign - 1) &^ (talign - 1)
    
    		if f.ByteOffset > off {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top