Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for for (0.13 sec)

  1. src/cmd/asm/internal/arch/arch.go

    	register := make(map[string]int16)
    	// Create maps for easy lookup of instruction names etc.
    	// Note that there is no list of names as there is for x86.
    	for i := ppc64.REG_R0; i <= ppc64.REG_R31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_F0; i <= ppc64.REG_F31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_V0; i <= ppc64.REG_V31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    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)
  2. src/bytes/bytes_test.go

    		}
    	}
    }
    
    // make sure Equal returns false for minimally different strings. The data
    // is all zeros except for a single one in one location.
    func TestNotEqual(t *testing.T) {
    	var size = 128
    	if testing.Short() {
    		size = 32
    	}
    	a := make([]byte, size)
    	b := make([]byte, size)
    
    	for len := 0; len <= size; len++ {
    		for x := 0; x <= size-len; x++ {
    			for y := 0; y <= size-len; y++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/godefs.go

    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    	//	// +godefs map struct_in_addr [4]byte
    	//	// +godefs map struct_in_addr6 [16]byte
    	//
    	for _, g := range f.Comments {
    		for _, c := range g.List {
    			i := strings.Index(c.Text, "+godefs map")
    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)
  4. src/bufio/example_test.go

    	w := bufio.NewWriter(os.Stdout)
    	for _, i := range []int64{1, 2, 3, 4} {
    		b := w.AvailableBuffer()
    		b = strconv.AppendInt(b, i, 10)
    		b = append(b, ' ')
    		w.Write(b)
    	}
    	w.Flush()
    	// Output: 1 2 3 4
    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. misc/linkcheck/linkcheck.go

    }
    
    func main() {
    	flag.Parse()
    
    	go crawlLoop()
    	crawl(*root, "")
    
    	wg.Wait()
    	close(urlq)
    	for uf, needers := range neededFrags {
    		if !fragExists[uf] {
    			problems = append(problems, fmt.Sprintf("Missing fragment for %+v from %v", uf, needers))
    		}
    	}
    
    	for _, s := range problems {
    		fmt.Println(s)
    	}
    	if len(problems) > 0 {
    		os.Exit(1)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  6. src/archive/zip/struct.go

    /*
    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
    for normal archives both fields will be the same. For files requiring
    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)
  7. src/bufio/scan.go

    	// unless the user provides an explicit buffer with [Scanner.Buffer].
    	// The actual maximum token size may be smaller as the buffer
    	// may need to include, for instance, a newline.
    	MaxScanTokenSize = 64 * 1024
    
    	startBufSize = 4096 // Size of initial allocation for buffer.
    )
    
    // NewScanner returns a new [Scanner] to read from r.
    // The split function defaults to [ScanLines].
    func NewScanner(r io.Reader) *Scanner {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  8. src/archive/zip/reader.go

    				zipinsecurepath.IncNonDefault()
    				return ErrInsecurePath
    			}
    		}
    	}
    	return nil
    }
    
    // RegisterDecompressor registers or overrides a custom decompressor for a
    // specific method ID. If a decompressor for a given method is not found,
    // [Reader] will default to looking up the decompressor at the package level.
    func (r *Reader) RegisterDecompressor(method uint16, dcomp Decompressor) {
    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)
  9. src/archive/tar/format.go

    // the maximum number of bytes allowed for each string field and
    // the integer type used to store each numeric field
    // (where timestamps are stored as the number of seconds since the Unix epoch).
    //
    // The table's lower portion shows specialized features of each format,
    // such as supported string encodings, support for sub-second timestamps,
    // or support for sparse files.
    //
    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/cmd/asm/main.go

    		fmt.Fprintf(buf, "!\n")
    	}
    
    	// Set macros for GOEXPERIMENTs so we can easily switch
    	// runtime assembly code based on them.
    	if objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI {
    		for _, exp := range buildcfg.Experiment.Enabled() {
    			flags.D = append(flags.D, "GOEXPERIMENT_"+exp)
    		}
    	}
    
    	var ok, diag bool
    	var failedFile string
    	for _, f := range flag.Args() {
    		lexer := lex.NewLexer(f)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
Back to top