Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Khalid (0.19 sec)

  1. src/cmd/cgo/ast.go

    			if !ok {
    				continue
    			}
    			for _, spec := range d.Specs {
    				if s, ok := spec.(*ast.ImportSpec); ok && s.Path.Value == `"C"` {
    					// Replace "C" with _ "unsafe", to keep program valid.
    					// (Deleting import statement or clause is not safe if it is followed
    					// in the source by an explicit semicolon.)
    					f.Edit.Replace(f.offset(s.Path.Pos()), f.offset(s.Path.End()), `_ "unsafe"`)
    				}
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    This program will not compile, but cgo can use the presence or absence
    of an error message on a given line to deduce the information it
    needs. The program is syntactically valid regardless of whether each
    name is a type or an ordinary identifier, so there will be no syntax
    errors that might stop parsing early.
    
    An error on not-declared:1 indicates that foo is undeclared.
    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)
  3. src/archive/tar/common.go

    	AccessTime time.Time // Access time (requires either PAX or GNU support)
    	ChangeTime time.Time // Change time (requires either PAX or GNU support)
    
    	Devmajor int64 // Major device number (valid for TypeChar or TypeBlock)
    	Devminor int64 // Minor device number (valid for TypeChar or TypeBlock)
    
    	// Xattrs stores extended attributes as PAX records under the
    	// "SCHILY.xattr." namespace.
    	//
    	// The following are semantically equivalent:
    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)
  4. src/bytes/buffer.go

    var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read")
    
    const maxInt = int(^uint(0) >> 1)
    
    // Bytes returns a slice of length b.Len() holding the unread portion of the buffer.
    // The slice is valid for use only until the next buffer modification (that is,
    // only until the next call to a method like [Buffer.Read], [Buffer.Write], [Buffer.Reset], or [Buffer.Truncate]).
    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)
  5. api/go1.18.txt

    pkg net, method (*UDPConn) WriteToUDPAddrPort([]uint8, netip.AddrPort) (int, error)
    pkg net, type Error interface, Temporary //deprecated
    pkg net/http, func MaxBytesHandler(Handler, int64) Handler
    pkg net/http, method (*Cookie) Valid() error
    pkg net/netip, func AddrFrom16([16]uint8) Addr
    pkg net/netip, func AddrFrom4([4]uint8) Addr
    pkg net/netip, func AddrFromSlice([]uint8) (Addr, bool)
    pkg net/netip, func AddrPortFrom(Addr, uint16) AddrPort
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    	vectors := []struct {
    		input string // Input stream
    		cnt   int    // Expected number of headers read
    		err   error  // Expected error outcome
    	}{
    		{"", 0, io.EOF}, // Empty file is a "valid" tar file
    		{data1[:511], 0, io.ErrUnexpectedEOF},
    		{data1[:512], 1, io.ErrUnexpectedEOF},
    		{data1[:1024], 1, io.EOF},
    		{data1[:1536], 2, io.ErrUnexpectedEOF},
    		{data1[:2048], 2, io.EOF},
    		{data1, 2, io.EOF},
    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)
  7. src/archive/zip/reader.go

    	if b.uint32() != 0 { // number of the disk with the start of the zip64 end of central directory
    		return -1, nil // the file is not a valid zip64-file
    	}
    	p := b.uint64()      // relative offset of the zip64 end of central directory record
    	if b.uint32() != 1 { // total number of disks
    		return -1, nil // the file is not a valid zip64-file
    	}
    	return int64(p), nil
    }
    
    // readDirectory64End reads the zip64 directory end and updates the
    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)
  8. api/go1.9.txt

    pkg encoding/base32, const StdPadding = 61
    pkg encoding/base32, const StdPadding int32
    pkg encoding/base32, method (Encoding) WithPadding(int32) *Encoding
    pkg encoding/csv, type Reader struct, ReuseRecord bool
    pkg encoding/json, func Valid([]uint8) bool
    pkg go/ast, type TypeSpec struct, Assign token.Pos
    pkg go/types, func SizesFor(string, string) Sizes
    pkg go/types, method (*TypeName) IsAlias() bool
    pkg hash/fnv, func New128() hash.Hash
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  9. src/archive/tar/format.go

    func (b *block) toUSTAR() *headerUSTAR { return (*headerUSTAR)(b) }
    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.
    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)
  10. src/archive/zip/struct.go

    	//
    	// This flag should only be set if the user intends to encode a non-portable
    	// ZIP file for a specific localized region. Otherwise, the Writer
    	// automatically sets the ZIP format's UTF-8 flag for valid UTF-8 strings.
    	NonUTF8 bool
    
    	CreatorVersion uint16
    	ReaderVersion  uint16
    	Flags          uint16
    
    	// Method is the compression method. If zero, Store is used.
    	Method uint16
    
    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)
Back to top