Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for extend (0.23 sec)

  1. src/cmd/cgo/godefs.go

    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    				override[n.Mangle] = s.Name.Name
    			}
    		}
    	}
    
    	// Extend overrides using typedefs:
    	// If we know that C.xxx should format as T
    	// and xxx is a typedef for yyy, make C.yyy format as T.
    	for typ, def := range typedef {
    		if new := override[typ]; new != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. src/archive/tar/format.go

    package tar
    
    import "strings"
    
    // Format represents the tar archive format.
    //
    // The original tar format was introduced in Unix V7.
    // Since then, there have been multiple competing formats attempting to
    // standardize or extend the V7 format to overcome its limitations.
    // The most common formats are the USTAR, PAX, and GNU formats,
    // each with their own advantages and limitations.
    //
    // The following table captures the capabilities of each format:
    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)
  3. src/archive/zip/struct.go

    	//
    	// See http://mdfs.net/Docs/Comp/Archiving/Zip/ExtraField
    	zip64ExtraID       = 0x0001 // Zip64 extended information
    	ntfsExtraID        = 0x000a // NTFS
    	unixExtraID        = 0x000d // UNIX
    	extTimeExtraID     = 0x5455 // Extended timestamp
    	infoZipUnixExtraID = 0x5855 // Info-ZIP Unix extension
    )
    
    // FileHeader describes a file within a ZIP file.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    		// If legacy MS-DOS timestamps are set, we can use the delta between
    		// the legacy and extended versions to estimate timezone offset.
    		//
    		// A non-UTC timezone is always used (even if offset is zero).
    		// Thus, FileHeader.Modified.Location() == time.UTC is useful for
    		// determining whether extended timestamps are present.
    		// This is necessary for users that need to do additional time
    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)
  5. src/archive/tar/writer.go

    		var buf strings.Builder
    		for _, k := range keys {
    			rec, err := formatPAXRecord(k, paxHdrs[k])
    			if err != nil {
    				return err
    			}
    			buf.WriteString(rec)
    		}
    
    		// Write the extended header file.
    		var name string
    		var flag byte
    		if isGlobal {
    			name = realName
    			if name == "" {
    				name = "GlobalHead.0.0"
    			}
    			flag = TypeXGlobalHeader
    		} else {
    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)
  6. src/cmd/asm/internal/asm/parse.go

    	isAmount := true // Amount is zero by default
    	ext := ""
    	if p.peek() == lex.LSH {
    		// (Rn)(Rm<<2), the shifted offset register.
    		ext = "LSL"
    	} else {
    		// (Rn)(Rm.UXTW<1), the extended offset register.
    		// Rm.UXTW<<3, the extended register.
    		p.get('.')
    		tok := p.next()
    		ext = tok.String()
    	}
    	if p.peek() == lex.LSH {
    		// parses left shift amount applied after extension: <<Amount
    		p.get(lex.LSH)
    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)
  7. src/cmd/cgo/doc.go

    	//export MyFunction2
    	func MyFunction2(arg1, arg2 int, arg3 string) (int64, *C.char) {...}
    
    They will be available in the C code as:
    
    	extern GoInt64 MyFunction(int arg1, int arg2, GoString arg3);
    	extern struct MyFunction2_return MyFunction2(int arg1, int arg2, GoString arg3);
    
    found in the _cgo_export.h generated header, after any preambles
    copied from the cgo input files. Functions with multiple
    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)
  8. src/cmd/asm/internal/asm/operand_test.go

    	{"X13", "X13"},
    	{"X14", "X14"},
    	{"X15", "X15"},
    	{"X2", "X2"},
    	{"X3", "X3"},
    	{"X4", "X4"},
    	{"X5", "X5"},
    	{"X6", "X6"},
    	{"X7", "X7"},
    	{"X8", "X8"},
    	{"X9", "X9"},
    	{"_expand_key_128<>(SB)", "_expand_key_128<>(SB)"},
    	{"_seek<>(SB)", "_seek<>(SB)"},
    	{"a2+16(FP)", "a2+16(FP)"},
    	{"addr2+24(FP)", "addr2+24(FP)"},
    	{"asmcgocall<>(SB)", "asmcgocall<>(SB)"},
    	{"b+24(FP)", "b+24(FP)"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    			return false // Negative values are never okay
    		case cur.Offset > math.MaxInt64-cur.Length:
    			return false // Integer overflow with large length
    		case cur.endOffset() > size:
    			return false // Region extends beyond the actual size
    		case pre.endOffset() > cur.Offset:
    			return false // Regions cannot overlap and must be in order
    		}
    		pre = cur
    	}
    	return true
    }
    
    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/archive/tar/reader_test.go

    		sparse := gnu.sparse()
    		copy(gnu.realSize(), size)
    		sps = populateSparseMap(sparse, sps)
    		if format != FormatUnknown {
    			blk.setFormat(format)
    		}
    		out = append(out, blk[:]...)
    
    		// Write extended sparse blocks.
    		for len(sps) > 0 {
    			var blk block
    			sps = populateSparseMap(blk.toSparse(), sps)
    			out = append(out, blk[:]...)
    		}
    		return out
    	}
    
    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)
Back to top