Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Vong (0.16 sec)

  1. src/archive/tar/format.go

    	nameSize   = 100 // Max length of the name field in USTAR format
    	prefixSize = 155 // Max length of the prefix field in USTAR format
    
    	// Max length of a special file (PAX header, GNU long name or link).
    	// This matches the limit used by libarchive.
    	maxSpecialFileSize = 1 << 20
    )
    
    // blockPadding computes the number of bytes needed to pad offset up to the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    // as always, holds unprocessed text.
    type SplitFunc func(data []byte, atEOF bool) (advance int, token []byte, err error)
    
    // Errors returned by Scanner.
    var (
    	ErrTooLong         = errors.New("bufio.Scanner: token too long")
    	ErrNegativeAdvance = errors.New("bufio.Scanner: SplitFunc returns negative advance count")
    	ErrAdvanceTooFar   = errors.New("bufio.Scanner: SplitFunc returns advance count beyond input")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	// an old zip32 file that was sharding inputs into the largest chunks
    	// possible (or is just malicious; search the web for 42.zip).
    	// If needUSize is true still, it means we didn't see a zip64 extension.
    	// As long as the compressed size is not also 2³²-1 (implausible)
    	// and the header is not also 2³²-1 (equally implausible),
    	// accept the uncompressed size 2³²-1 as valid.
    	// If nothing else, this keeps archive/zip working with 42.zip.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. doc/asm.html

    look in the source for the <code>obj</code> support library for
    that architecture, located in the directory <code>src/cmd/internal/obj/arm</code>.
    In that directory is a file <code>a.out.go</code>; it contains
    a long list of constants starting with <code>A</code>, like this:
    </p>
    
    <pre>
    const (
    	AAND = obj.ABaseARM + obj.A_ARCHSPECIFIC + iota
    	AEOR
    	ASUB
    	ARSB
    	AADD
    	...
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    The standard C numeric types are available under the names
    C.char, C.schar (signed char), C.uchar (unsigned char),
    C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int),
    C.long, C.ulong (unsigned long), C.longlong (long long),
    C.ulonglong (unsigned long long), C.float, C.double,
    C.complexfloat (complex float), and C.complexdouble (complex double).
    The C type void* is represented by Go's unsafe.Pointer.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. misc/wasm/wasm_exec.js

    			}
    
    			const timeOrigin = Date.now() - performance.now();
    			this.importObject = {
    				_gotest: {
    					add: (a, b) => a + b,
    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  7. src/bytes/buffer_test.go

    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    			// Check no allocation occurs in write, as long as we're single-threaded.
    			if allocs != 0 {
    				t.Errorf("allocation occurred during write")
    			}
    			// Check that buffer has correct data.
    			if !Equal(buf.Bytes()[0:startLen-readBytes], xBytes[readBytes:]) {
    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)
  8. src/archive/tar/reader_test.go

    			Name:     "bar",
    			Linkname: "PAX4/PAX4/long-linkpath-name",
    			ModTime:  time.Unix(0, 0),
    			Typeflag: '2',
    			PAXRecords: map[string]string{
    				"linkpath": "PAX4/PAX4/long-linkpath-name",
    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		// Both BSD and GNU tar truncate long names at first NUL even
    		// if there is data following that NUL character.
    		// This is reasonable as GNU long names are C-strings.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    var tarinsecurepath = godebug.New("tarinsecurepath")
    
    var (
    	ErrHeader          = errors.New("archive/tar: invalid tar header")
    	ErrWriteTooLong    = errors.New("archive/tar: write too long")
    	ErrFieldTooLong    = errors.New("archive/tar: header field too long")
    	ErrWriteAfterClose = errors.New("archive/tar: write after close")
    	ErrInsecurePath    = errors.New("archive/tar: insecure file path")
    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)
  10. src/bytes/buffer.go

    	m, ok := b.tryGrowByReslice(len(s))
    	if !ok {
    		m = b.grow(len(s))
    	}
    	return copy(b.buf[m:], s), nil
    }
    
    // MinRead is the minimum slice size passed to a Read call by
    // [Buffer.ReadFrom]. As long as the [Buffer] has at least MinRead bytes beyond
    // what is required to hold the contents of r, ReadFrom will not grow the
    // underlying buffer.
    const MinRead = 512
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top