Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for loaders (0.21 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 23 11:13:09 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 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    			for i, hdr := range hdrs {
    				if i >= len(v.headers) {
    					t.Fatalf("entry %d: unexpected header:\ngot %+v", i, *hdr)
    				}
    				if !reflect.DeepEqual(*hdr, *v.headers[i]) {
    					t.Fatalf("entry %d: incorrect header:\ngot  %+v\nwant %+v", i, *hdr, *v.headers[i])
    				}
    			}
    			if len(hdrs) != len(v.headers) {
    				t.Fatalf("got %d headers, want %d headers", len(hdrs), len(v.headers))
    			}
    
    			for i, sum := range chksums {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    	TypeXHeader = 'x'
    
    	// Type 'g' is used by the PAX format to store key-value records that
    	// are relevant to all subsequent files.
    	// This package only supports parsing and composing such headers,
    	// but does not currently support persisting the global state across files.
    	TypeXGlobalHeader = 'g'
    
    	// Type 'S' indicates a sparse file in the GNU format.
    	TypeGNUSparse = 'S'
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  5. 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg encoding/pem, func EncodeToMemory(*Block) []uint8
    pkg encoding/pem, type Block struct
    pkg encoding/pem, type Block struct, Bytes []uint8
    pkg encoding/pem, type Block struct, Headers map[string]string
    pkg encoding/pem, type Block struct, Type string
    pkg encoding/xml, const Header ideal-string
    pkg encoding/xml, func CopyToken(Token) Token
    pkg encoding/xml, func Escape(io.Writer, []uint8)
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  7. src/cmd/asm/internal/lex/input.go

    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"text/scanner"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    // It also handles #include processing (by pushing onto the input stack)
    // and parses and instantiates macro definitions.
    type Input struct {
    	Stack
    	includes        []string
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    		}
    		data := buf.String()
    		if len(data) > maxSpecialFileSize {
    			return ErrFieldTooLong
    		}
    		if err := tw.writeRawFile(name, data, flag, FormatPAX); err != nil || isGlobal {
    			return err // Global headers return here
    		}
    	}
    
    	// Pack the main header.
    	var f formatter // Ignore errors since they are expected
    	fmtStr := func(b []byte, s string) { f.formatString(b, toASCII(s)) }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  9. LICENSE

       * Neither the name of Google Inc. nor the names of its
    contributors may be used to endorse or promote products derived from
    this software without specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 01 22:40:04 GMT 2016
    - 1.4K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/00-bug.yml

            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
            PKG_CONFIG="pkg-config"
            GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/44/nbbyll_10jd0z8rj_qxm43740000gn/T/go-build2331607515=/tmp/go-build -gno-record-gcc-switches -fno-common"
          render: shell
        validations:
          required: true
    
      - type: textarea
        id: what-did-you-do
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top