Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 712 for Fmask (0.04 sec)

  1. src/image/draw/bench_test.go

    				}
    			}
    		}
    		mask = mask1
    	default:
    		b.Fatal("unknown mask color model", mcm)
    	}
    
    	b.StartTimer()
    	for i := 0; i < b.N; i++ {
    		// Scatter the destination rectangle to draw into.
    		x := 3 * i % (dstw - srcw)
    		y := 7 * i % (dsth - srch)
    
    		DrawMask(dst, dst.Bounds().Add(image.Pt(x, y)), src, image.Point{}, mask, image.Point{}, op)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/runtime/iface.go

    	// Implemented using quadratic probing.
    	// Probe sequence is h(i) = h0 + i*(i+1)/2 mod 2^k.
    	// We're guaranteed to hit all table entries using this probe sequence.
    	mask := t.size - 1
    	h := itabHashFunc(inter, typ) & mask
    	for i := uintptr(1); ; i++ {
    		p := (**itab)(add(unsafe.Pointer(&t.entries), h*goarch.PtrSize))
    		// Use atomic read here so if we see m != nil, we also see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. src/syscall/syscall_wasip1.go

    	return 0, 0, ENOSYS
    }
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	return 0, ENOSYS
    }
    
    func Umask(mask int) int {
    	return 0
    }
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    func (ts *Timespec) timestamp() timestamp {
    	return timestamp(ts.Sec*1e9) + timestamp(ts.Nsec)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/policy_single_numa_node_test.go

    	}{
    		{
    			name:              "filter empty resources",
    			allResources:      [][]TopologyHint{},
    			expectedResources: [][]TopologyHint(nil),
    		},
    		{
    			name: "filter hints with nil socket mask 1/2",
    			allResources: [][]TopologyHint{
    				{
    					{NUMANodeAffinity: nil, Preferred: false},
    				},
    				{
    					{NUMANodeAffinity: nil, Preferred: true},
    				},
    			},
    			expectedResources: [][]TopologyHint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  5. src/go/doc/comment/parse.go

    	// and this function will return false.
    	const mask = 0 |
    		1<<'.' |
    		1<<',' |
    		1<<':' |
    		1<<';' |
    		1<<'?' |
    		1<<'!'
    
    	return ((uint64(1)<<c)&(mask&(1<<64-1)) |
    		(uint64(1)<<(c-64))&(mask>>64)) != 0
    }
    
    // isPath reports whether c is a (non-punctuation) path byte.
    func isPath(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  6. src/hash/crc32/gen_const_ppc64le.go

    	var mod, mask, high, div uint64
    
    	if n < deg {
    		div = 0
    		return poly, div
    	}
    	mask = 1<<deg - 1
    	poly &= mask
    	mod = poly
    	div = 1
    	deg--
    	n--
    	for n > deg {
    		high = (mod >> deg) & 1
    		div = (div << 1) | high
    		mod <<= 1
    		if high != 0 {
    			mod ^= poly
    		}
    		n--
    	}
    	return mod & mask, div
    }
    
    func main() {
    	w := new(bytes.Buffer)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go

    import (
    	"encoding/binary"
    	"fmt"
    	"log"
    )
    
    const debugDecode = false
    
    const prefixOpcode = 1
    
    // instFormat is a decoding rule for one specific instruction form.
    // an instruction ins matches the rule if ins&Mask == Value
    // DontCare bits should be zero, but the machine might not reject
    // ones in those bits, they are mainly reserved for future expansion
    // of the instruction set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.s

    	VX     d3, d1, d1  \
    	VERLLF $7, a1, a1  \
    	VERLLF $7, b1, b1  \
    	VERLLF $7, c1, c1  \
    	VERLLF $7, d1, d1
    
    #define PERMUTE(mask, v0, v1, v2, v3) \
    	VPERM v0, v0, mask, v0 \
    	VPERM v1, v1, mask, v1 \
    	VPERM v2, v2, mask, v2 \
    	VPERM v3, v3, mask, v3
    
    #define ADDV(x, v0, v1, v2, v3) \
    	VAF x, v0, v0 \
    	VAF x, v1, v1 \
    	VAF x, v2, v2 \
    	VAF x, v3, v3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. src/math/rand/gen_cooked.go

    // which is used for seeding all instances of rand.Source.
    // a 64bit and a 63bit version of the array is printed to
    // the standard output.
    
    package main
    
    import "fmt"
    
    const (
    	length = 607
    	tap    = 273
    	mask   = (1 << 63) - 1
    	a      = 48271
    	m      = (1 << 31) - 1
    	q      = 44488
    	r      = 3399
    )
    
    var (
    	rngVec          [length]int64
    	rngTap, rngFeed int
    )
    
    func seedrand(x int32) int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  10. src/os/signal/signal.go

    type stopping struct {
    	c chan<- os.Signal
    	h *handler
    }
    
    type handler struct {
    	mask [(numSig + 31) / 32]uint32
    }
    
    func (h *handler) want(sig int) bool {
    	return (h.mask[sig/32]>>uint(sig&31))&1 != 0
    }
    
    func (h *handler) set(sig int) {
    	h.mask[sig/32] |= 1 << uint(sig&31)
    }
    
    func (h *handler) clear(sig int) {
    	h.mask[sig/32] &^= 1 << uint(sig&31)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top