Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 226 for manny (0.02 sec)

  1. src/encoding/json/bench_test.go

    }
    
    func BenchmarkTypeFieldsCache(b *testing.B) {
    	b.ReportAllocs()
    	var maxTypes int = 1e6
    	if testenv.Builder() != "" {
    		maxTypes = 1e3 // restrict cache sizes on builders
    	}
    
    	// Dynamically generate many new types.
    	types := make([]reflect.Type, maxTypes)
    	fs := []reflect.StructField{{
    		Type:  reflect.TypeFor[string](),
    		Index: []int{0},
    	}}
    	for i := range types {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/dll_windows.go

    	case 15:
    		return syscall.Syscall15(p.Addr(), uintptr(len(a)), a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8], a[9], a[10], a[11], a[12], a[13], a[14])
    	default:
    		panic("Call " + p.Name + " with too many arguments " + itoa(len(a)) + ".")
    	}
    }
    
    // A LazyDLL implements access to a single DLL.
    // It will delay the load of the DLL until the first
    // call to its Handle method or to one of its
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 05 12:36:42 UTC 2020
    - 12K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    	"F28",
    	"F29",
    	"F30",
    	"F31",
    
    	"SP",
    	"g",
    
    	// pseudo-registers
    	"SB",
    }
    
    func init() {
    	// Make map from reg names to reg integers.
    	if len(regNamesWasm) > 64 {
    		panic("too many registers")
    	}
    	num := map[string]int{}
    	for i, name := range regNamesWasm {
    		num[name] = i
    	}
    	buildReg := func(s string) regMask {
    		m := regMask(0)
    		for _, r := range strings.Split(s, " ") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    	pos := uint8(rb.nbyte)
    	rb.nbyte += utf8.UTFMax
    	info.pos = pos
    	b[n] = info
    }
    
    // insertErr is an error code returned by insert. Using this type instead
    // of error improves performance up to 20% for many of the benchmarks.
    type insertErr int
    
    const (
    	iSuccess insertErr = -iota
    	iShortDst
    	iShortSrc
    )
    
    // insertFlush inserts the given rune in the buffer ordered by CCC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/debug/pe/file.go

    			if _, err := io.ReadFull(r, dbuf); err != nil {
    				return nil, err
    			}
    			if err := r.Close(); err != nil {
    				return nil, err
    			}
    			b = dbuf
    		}
    		return b, nil
    	}
    
    	// There are many other DWARF sections, but these
    	// are the ones the debug/dwarf package uses.
    	// Don't bother loading others.
    	var dat = map[string][]byte{"abbrev": nil, "info": nil, "str": nil, "line": nil, "ranges": nil}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  6. src/embed/embed.go

    //
    // The //go:embed directive accepts multiple space-separated patterns for
    // brevity, but it can also be repeated, to avoid very long lines when there are
    // many patterns. The patterns are interpreted relative to the package directory
    // containing the source file. The path separator is a forward slash, even on
    // Windows systems. Patterns may not contain ‘.’ or ‘..’ or empty path elements,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/go/build/constraint/expr.go

    		}
    		split = append(split, ands)
    	}
    
    	// If all the ORs have length 1 (no actual OR'ing going on),
    	// push the top-level ANDs to the bottom level, so that we get
    	// one // +build line instead of many.
    	maxOr := 0
    	for _, or := range split {
    		if maxOr < len(or) {
    			maxOr = len(or)
    		}
    	}
    	if maxOr == 1 {
    		var lits []Expr
    		for _, or := range split {
    			lits = append(lits, or[0]...)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/macho.go

    	if nseg >= len(seg) {
    		Exitf("too many segs")
    	}
    
    	s := &seg[nseg]
    	nseg++
    	s.name = name
    	s.msect = uint32(msect)
    	s.sect = make([]MachoSect, msect)
    	return s
    }
    
    func newMachoSect(seg *MachoSeg, name string, segname string) *MachoSect {
    	if seg.nsect >= seg.msect {
    		Exitf("too many sects in segment %s", seg.name)
    	}
    
    	s := &seg.sect[seg.nsect]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/elf.go

    		elf32shdr(out, shdr[i])
    	}
    	return uint32(ehdr.Shnum) * ELF32SHDRSIZE
    }
    
    func elfsetstring(ctxt *Link, s loader.Sym, str string, off int) {
    	if nelfstr >= len(elfstr) {
    		ctxt.Errorf(s, "too many elf strings")
    		errorexit()
    	}
    
    	elfstr[nelfstr].s = str
    	elfstr[nelfstr].off = off
    	nelfstr++
    }
    
    func elfwritephdrs(out *OutBuf) uint32 {
    	if elf64 {
    		for i := 0; i < int(ehdr.Phnum); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/memcombine.go

    	ptr *Value
    	idx *Value
    }
    
    // splitPtr returns the base address of ptr and any
    // constant offset from that base.
    // BaseAddress{ptr,nil},0 is always a valid result, but splitPtr
    // tries to peel away as many constants into off as possible.
    func splitPtr(ptr *Value) (BaseAddress, int64) {
    	var idx *Value
    	var off int64
    	for {
    		if ptr.Op == OpOffPtr {
    			off += ptr.AuxInt
    			ptr = ptr.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top