Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for details (0.16 sec)

  1. src/archive/zip/struct.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Package zip provides support for reading and writing ZIP archives.
    
    See the [ZIP specification] for details.
    
    This package does not support disk spanning.
    
    A note about ZIP64:
    
    To be backwards compatible the FileHeader has both 32 and 64 bit Size
    fields. The 64 bit fields will always contain the correct value and
    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)
  2. src/builtin/builtin.go

    //	         if v is nil, len(v) is zero.
    //
    // For some arguments, such as a string literal or a simple array expression, the
    // result can be a constant. See the Go language specification's "Length and
    // capacity" section for details.
    func len(v Type) int
    
    // The cap built-in function returns the capacity of v, according to its type:
    //
    //	Array: the number of elements in v (same as len(v)).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arch.go

    			instructions[s] = obj.As(i) + obj.ABaseARM
    		}
    	}
    	// Annoying aliases.
    	instructions["B"] = obj.AJMP
    	instructions["BL"] = obj.ACALL
    	// MCR differs from MRC by the way fields of the word are encoded.
    	// (Details in arm.go). Here we add the instruction so parse will find
    	// it, but give it an opcode number known only to us.
    	instructions["MCR"] = aMCR
    
    	return &Arch{
    		LinkArch:       &arm.Linkarm,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    together. The directive can include a list of build constraints limiting its
    effect to systems satisfying one of the constraints
    (see https://golang.org/pkg/go/build/#hdr-Build_Constraints for details about the constraint syntax).
    For example:
    
    	// #cgo CFLAGS: -DPNG_DEBUG=1
    	// #cgo amd64 386 CFLAGS: -DX86=1
    	// #cgo LDFLAGS: -lpng
    	// #include <png.h>
    	import "C"
    
    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)
  5. src/cmd/cgo/ast.go

    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    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)
  6. src/cmd/cgo/gcc.go

    		}
    
    		fatalf("unresolved names")
    	}
    
    	return needType
    }
    
    // loadDWARF parses the DWARF debug information generated
    // by gcc to learn the details of the constants, variables, and types
    // being referred to as C.xxx.
    func (p *Package) loadDWARF(f *File, conv *typeConv, names []*Name) {
    	// Extract the types from the DWARF section of an object
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. src/bytes/buffer.go

    		return
    	}
    	b.lastRead = opInvalid
    	if n < 0 || n > b.Len() {
    		panic("bytes.Buffer: truncation out of range")
    	}
    	b.buf = b.buf[:b.off+n]
    }
    
    // Reset resets the buffer to be empty,
    // but it retains the underlying storage for use by future writes.
    // Reset is the same as [Buffer.Truncate](0).
    func (b *Buffer) Reset() {
    	b.buf = b.buf[:0]
    	b.off = 0
    	b.lastRead = opInvalid
    }
    
    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)
  8. src/archive/tar/common.go

    // specify the fragments in the file that has data, and treat everything else as
    // having zero bytes. As such, the encoding and decoding logic in this package
    // deals with sparseDatas.
    //
    // However, the external API uses sparseHoles instead of sparseDatas because the
    // zero value of sparseHoles logically represents a normal file (i.e., there are
    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)
  9. src/cmd/asm/internal/arch/arm64.go

    		offset |= 0x2 << 12
    	default:
    		return 0, errors.New("invalid register numbers in ARM64 register list")
    	}
    	offset |= arrangement
    	// arm64 uses the 60th bit to differentiate from other archs
    	// For more details, refer to: obj/arm64/list7.go
    	offset |= 1 << 60
    	return offset, nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  10. misc/go_android_exec/main.go

    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    )
    
    func adbRun(args string) (int, error) {
    	// The exit code of adb is often wrong. In theory it was fixed in 2016
    	// (https://code.google.com/p/android/issues/detail?id=3254), but it's
    	// still broken on our builders in 2023. Instead, append the exitcode to
    	// the output and parse it from there.
    	filter, exitStr := newExitCodeFilter(os.Stdout)
    	args += "; echo -n " + exitStr + "$?"
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top