Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Ruess (0.16 sec)

  1. src/archive/tar/format.go

    func (b *block) toSparse() sparseArray { return sparseArray(b[:]) }
    
    // getFormat checks that the block is a valid tar header based on the checksum.
    // It then attempts to guess the specific format based on magic values.
    // If the checksum fails, then FormatUnknown is returned.
    func (b *block) getFormat() Format {
    	// Verify checksum.
    	var p parser
    	value := p.parseOctal(b.toV7().chksum())
    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/common.go

    	// other fields in Header take precedence over PAXRecords.
    	PAXRecords map[string]string
    
    	// Format specifies the format of the tar header.
    	//
    	// This is set by Reader.Next as a best-effort guess at the format.
    	// Since the Reader liberally reads some non-compliant files,
    	// it is possible for this to be FormatUnknown.
    	//
    	// If the format is unspecified when Writer.WriteHeader is called,
    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)
  3. src/cmd/cgo/gcc.go

    					n.Kind = "sconst"
    					n.Const = n.Define
    				}
    			}
    
    			if n.IsConst() {
    				continue
    			}
    		}
    
    		// If this is a struct, union, or enum type name, no need to guess the kind.
    		if strings.HasPrefix(n.C, "struct ") || strings.HasPrefix(n.C, "union ") || strings.HasPrefix(n.C, "enum ") {
    			n.Kind = "type"
    			needType = append(needType, n)
    			continue
    		}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. src/archive/tar/reader.go

    			// section; there must be a preceding call to handleRegularFile.
    			if err := tr.handleSparseFile(hdr, rawHdr); err != nil {
    				return nil, err
    			}
    
    			// Set the final guess at the format.
    			if format.has(FormatUSTAR) && format.has(FormatPAX) {
    				format.mayOnlyBe(FormatUSTAR)
    			}
    			hdr.Format = format
    			return hdr, nil // This is a file, so stop
    		}
    	}
    }
    
    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