Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tracker (0.19 sec)

  1. src/archive/tar/format.go

    		return FormatUnknown
    	}
    
    	// Guess the magic values.
    	magic := string(b.toUSTAR().magic())
    	version := string(b.toUSTAR().version())
    	trailer := string(b.toSTAR().trailer())
    	switch {
    	case magic == magicUSTAR && trailer == trailerSTAR:
    		return formatSTAR
    	case magic == magicUSTAR:
    		return FormatUSTAR | FormatPAX
    	case magic == magicGNU && version == versionGNU:
    		return FormatGNU
    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/archive/tar/writer.go

    // then this returns an error.
    func (tw *Writer) Close() error {
    	if tw.err == ErrWriteAfterClose {
    		return nil
    	}
    	if tw.err != nil {
    		return tw.err
    	}
    
    	// Trailer: two zero blocks.
    	err := tw.Flush()
    	for i := 0; i < 2 && err == nil; i++ {
    		_, err = tw.w.Write(zeroBlock[:])
    	}
    
    	// Ensure all future actions are invalid.
    	tw.err = ErrWriteAfterClose
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    //
    // Given asm line:
    //
    //	VP4DPWSSDS Z5, [Z10-Z13], (AX)
    //
    // zmm2 is Z10, and Z13 is the only valid value for it (Z10+3).
    // Only simple ranges are accepted, like [Z0-Z3].
    //
    // The opening bracket has been consumed.
    func (p *Parser) registerList(a *obj.Addr) {
    	if p.arch.InFamily(sys.I386, sys.AMD64) {
    		p.registerListX86(a)
    	} else {
    		p.registerListARM(a)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/archive/tar/fuzz_test.go

    		}
    		if err := w.Close(); err != nil {
    			t.Fatalf("Unable to write archive: %s", err)
    		}
    
    		// TODO: We may want to check if the archive roundtrips. This would require
    		// taking into account addition of the two zero trailer blocks that Writer.Close
    		// appends.
    	})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    	if err != nil || numEntries < 0 || int(2*numEntries) < int(numEntries) {
    		return nil, ErrHeader
    	}
    
    	// Parse for all member entries.
    	// numEntries is trusted after this since a potential attacker must have
    	// committed resources proportional to what this library used.
    	if err := feedTokens(2 * numEntries); err != nil {
    		return nil, err
    	}
    	spd := make(sparseDatas, 0, numEntries)
    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