Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for contents (0.23 sec)

  1. src/cmd/cgo/gcc.go

    		if n.Define != "" {
    			if i, err := strconv.ParseInt(n.Define, 0, 64); err == nil {
    				n.Kind = "iconst"
    				// Turn decimal into hex, just for consistency
    				// with enum-derived constants. Otherwise
    				// in the cgo -godefs output half the constants
    				// are in hex and half are in whatever the #define used.
    				n.Const = fmt.Sprintf("%#x", i)
    			} else if n.Define[0] == '\'' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    	}
    	if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil {
    		return tw.err
    	}
    	tw.pad = 0
    	return nil
    }
    
    // WriteHeader writes hdr and prepares to accept the file's contents.
    // The Header.Size determines how many bytes can be written for the next file.
    // If the current file is not fully written, then this returns an error.
    // This implicitly flushes any padding necessary before writing the header.
    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. misc/ios/go_ios_exec.go

    	if len(verSplit) > 2 {
    		// Developer images are specific to major.minor ios version.
    		// Cut off the patch version.
    		iosVer = strings.Join(verSplit[:2], ".")
    	}
    	sdkBase := "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport"
    	patterns := []string{fmt.Sprintf("%s (%s)", iosVer, buildVer), fmt.Sprintf("%s (*)", iosVer), fmt.Sprintf("%s*", iosVer)}
    	for _, pattern := range patterns {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  4. src/archive/tar/fuzz_test.go

    		type file struct {
    			header  *Header
    			content []byte
    		}
    		files := []file{}
    		for {
    			hdr, err := r.Next()
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    				return
    			}
    			buf := bytes.NewBuffer(nil)
    			if _, err := io.Copy(buf, r); err != nil {
    				continue
    			}
    			files = append(files, file{header: hdr, content: buf.Bytes()})
    		}
    
    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. doc/go_spec.html

    literal.
    </p>
    
    
    <h2 id="Constants">Constants</h2>
    
    <p>There are <i>boolean constants</i>,
    <i>rune constants</i>,
    <i>integer constants</i>,
    <i>floating-point constants</i>, <i>complex constants</i>,
    and <i>string constants</i>. Rune, integer, floating-point,
    and complex constants are
    collectively called <i>numeric constants</i>.
    </p>
    
    <p>
    A constant value is represented by a
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. src/cmd/buildid/doc.go

    Usage:
    
    	go tool buildid [-w] file
    
    By default, buildid prints the build ID found in the named file.
    If the -w option is given, buildid rewrites the build ID found in
    the file to accurately record a content hash of the file.
    
    This tool is only intended for use by the go command or
    other build systems.
    */
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 558 bytes
    - Viewed (0)
  7. src/cmd/buildid/buildid.go

    	f, err := os.Open(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    	matches, hash, err := buildid.FindAndHash(f, id, 0)
    	f.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// <= go 1.7 doesn't embed the contentID or actionID, so no slash is present
    	if !strings.Contains(id, "/") {
    		log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 06 14:30:53 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/tokenizer.go

    func NewTokenizer(name string, r io.Reader, file *os.File) *Tokenizer {
    	var s scanner.Scanner
    	s.Init(r)
    	// Newline is like a semicolon; other space characters are fine.
    	s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' '
    	// Don't skip comments: we need to count newlines.
    	s.Mode = scanner.ScanChars |
    		scanner.ScanFloats |
    		scanner.ScanIdents |
    		scanner.ScanInts |
    		scanner.ScanStrings |
    		scanner.ScanComments
    	s.Position.Filename = name
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    	ModifiedTime uint16
    
    	// ModifiedDate is an MS-DOS-encoded date.
    	//
    	// Deprecated: Use Modified instead.
    	ModifiedDate uint16
    
    	// CRC32 is the CRC32 checksum of the file content.
    	CRC32 uint32
    
    	// CompressedSize is the compressed size of the file in bytes.
    	// If either the uncompressed or compressed size of the file
    	// does not fit in 32 bits, CompressedSize is set to ^uint32(0).
    	//
    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)
  10. src/cmd/asm/internal/asm/testdata/arm64.s

    	VREV32	V5.B16, V5.B16                  // a508206e
    	VREV64	V2.S2, V3.S2                    // 4308a00e
    	VREV64	V2.S4, V3.S4                    // 4308a04e
    
    // logical ops
    //
    // make sure constants get encoded into an instruction when it could
    	AND	R1@>33, R2
    	AND	$(1<<63), R1                        // AND	$-9223372036854775808, R1       // 21004192
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
Back to top