Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 958 for wcap (0.09 sec)

  1. internal/bpool/bpool.go

    	}
    	return &BytePoolCap{
    		c:    make(chan []byte, maxSize),
    		w:    width,
    		wcap: capwidth,
    	}
    }
    
    // Populate - populates and pre-warms the byte pool, this function is non-blocking.
    func (bp *BytePoolCap) Populate() {
    	for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) {
    		bp.Put(buf[:bp.w])
    	}
    }
    
    // Get gets a []byte from the BytePool, or creates a new one if none are
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:44:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/wrap.go

    Patrick Ohly <******@****.***> 1700508300 +0100
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/errors/wrap.go

    kenshi kamata <******@****.***> 1716365996 +0900
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:04 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/regexp/backtrack.go

    		b.visited = b.visited[:visitedSize]
    		clear(b.visited) // set to 0
    	}
    
    	if cap(b.cap) < ncap {
    		b.cap = make([]int, ncap)
    	} else {
    		b.cap = b.cap[:ncap]
    	}
    	for i := range b.cap {
    		b.cap[i] = -1
    	}
    
    	if cap(b.matchcap) < ncap {
    		b.matchcap = make([]int, ncap)
    	} else {
    		b.matchcap = b.matchcap[:ncap]
    	}
    	for i := range b.matchcap {
    		b.matchcap[i] = -1
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. src/regexp/exec.go

    func (re *Regexp) doOnePass(ir io.RuneReader, ib []byte, is string, pos, ncap int, dstCap []int) []int {
    	startCond := re.cond
    	if startCond == ^syntax.EmptyOp(0) { // impossible
    		return nil
    	}
    
    	m := newOnePassMachine()
    	if cap(m.matchcap) < ncap {
    		m.matchcap = make([]int, ncap)
    	} else {
    		m.matchcap = m.matchcap[:ncap]
    	}
    
    	matched := false
    	for i := range m.matchcap {
    		m.matchcap[i] = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 04 20:10:54 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  6. src/mdo/model-v3.vm

          #elseif ( $field.to == "String" && $field.type == "java.util.List" && $field.multiplicity == "*" )
            return new WrapperList<String, ${field.to}>(() -> getDelegate().get${cap}(), this::set${cap}, s -> s, s -> s);
          #elseif ( $field.to )
            return getDelegate().${pfx}${cap}() != null ? new ${field.to}(getDelegate().${pfx}${cap}(), this) : null;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Nov 06 19:04:44 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/sys/cpu/hwcap_linux.go

    	_AT_HWCAP2 = 26
    
    	procAuxv = "/proc/self/auxv"
    
    	uintSize = int(32 << (^uint(0) >> 63))
    )
    
    // For those platforms don't have a 'cpuid' equivalent we use HWCAP/HWCAP2
    // These are initialized in cpu_$GOARCH.go
    // and should not be changed after they are initialized.
    var hwCap uint
    var hwCap2 uint
    
    func readHWCAP() error {
    	// For Go 1.21+, get auxv from the Go runtime.
    	if a := getAuxv(); len(a) > 0 {
    		for len(a) >= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/runtime/os_linux_arm.go

    )
    
    func vdsoCall()
    
    func checkgoarm() {
    	// On Android, /proc/self/auxv might be unreadable and hwcap won't
    	// reflect the CPU capabilities. Assume that every Android arm device
    	// has the necessary floating point hardware available.
    	if GOOS == "android" {
    		return
    	}
    	if cpu.HWCap&_HWCAP_VFP == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no floating point hardware, so it cannot run\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/runtime/os_freebsd_arm.go

    	_HWCAP_VFP   = 1 << 6
    	_HWCAP_VFPv3 = 1 << 13
    )
    
    func checkgoarm() {
    	if cpu.HWCap&_HWCAP_VFP == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no floating point hardware, so it cannot run\n")
    		print("a binary compiled for hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM.\n")
    		exit(1)
    	}
    	if goarm > 6 && cpu.HWCap&_HWCAP_VFPv3 == 0 && goarmsoftfp == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. src/internal/zstd/window.go

    func (w *window) appendTo(buf []byte, from, to uint32) []byte {
    	dataLen := uint32(len(w.data))
    	from += uint32(w.off)
    	to += uint32(w.off)
    
    	wrap := false
    	if from > dataLen {
    		from -= dataLen
    		wrap = !wrap
    	}
    	if to > dataLen {
    		to -= dataLen
    		wrap = !wrap
    	}
    
    	if wrap {
    		buf = append(buf, w.data[from:]...)
    		return append(buf, w.data[:to]...)
    	} else {
    		return append(buf, w.data[from:to]...)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:49:23 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top