- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 196 for MASK (0.03 sec)
-
src/math/trig_reduce.go
const PI4 = Pi / 4 if x < PI4 { return 0, x } // Extract out the integer and exponent such that, // x = ix * 2 ** exp. ix := Float64bits(x) exp := int(ix>>shift&mask) - bias - shift ix &^= mask << shift ix |= 1 << shift // Use the exponent to extract the 3 appropriate uint64 digits from mPi4, // B ~ (z0, z1, z2), such that the product leading digit has the exponent -61.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3.3K bytes - Viewed (0) -
src/sync/poolqueue.go
func (d *poolDequeue) unpack(ptrs uint64) (head, tail uint32) { const mask = 1<<dequeueBits - 1 head = uint32((ptrs >> dequeueBits) & mask) tail = uint32(ptrs & mask) return } func (d *poolDequeue) pack(head, tail uint32) uint64 { const mask = 1<<dequeueBits - 1 return (uint64(head) << dequeueBits) | uint64(tail&mask) } // pushHead adds val at the head of the queue. It returns false if the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 18:12:29 UTC 2024 - 8.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
} @Benchmark long timeGetAt(long reps) { long rvalue = 0; int[] stripesLocal = stripes; int mask = numStripes - 1; Striped<Lock> stripedLocal = striped; for (long i = 0; i < reps; i++) { rvalue += stripedLocal.getAt(stripesLocal[(int) (i & mask)]).hashCode(); } return rvalue; } @Benchmark long timeBulkGet(long reps) { long rvalue = 0;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
src/internal/bytealg/compare_386.s
JEQ allsame diff4: BSWAPL BX // reverse order of bytes BSWAPL CX XORL BX, CX // find bit differences BSRL CX, CX // index of highest bit difference SHRL CX, BX // move a's bit to bottom ANDL $1, BX // mask bit LEAL -1(BX*2), BX // 1/0 => +1/-1 MOVL BX, (AX) RET // 0-3 bytes in common small: LEAL (BP*8), CX NEGL CX JEQ allsame // load si CMPB SI, $0xfc JA si_high MOVL (SI), SI
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 23 21:22:58 UTC 2021 - 2.6K bytes - Viewed (0) -
src/math/floor.go
// // func Round(x float64) float64 { // t := Trunc(x) // if Abs(x-t) >= 0.5 { // return t + Copysign(1, x) // } // return t // } bits := Float64bits(x) e := uint(bits>>shift) & mask if e < bias { // Round abs(x) < 1 including denormals. bits &= signMask // +-0 if e == bias-1 { bits |= uvone // +-1 } } else if e < bias+shift {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3.3K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/cpu_linux_s390x.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package cpu const ( // bit mask values from /usr/include/bits/hwcap.h hwcap_ZARCH = 2 hwcap_STFLE = 4 hwcap_MSA = 8 hwcap_LDISP = 16 hwcap_EIMM = 32 hwcap_DFP = 64 hwcap_ETF3EH = 256 hwcap_VX = 2048 hwcap_VXE = 8192 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 02 15:41:00 UTC 2020 - 890 bytes - Viewed (0) -
test/abi/result_regalloc.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Bug: in (*bb).d, the value to be returned was not allocated to // a register that satisfies its register mask. package main type bb struct { r float64 x []float64 } //go:noinline func B(r float64, x []float64) I { return bb{r, x} } func (b bb) d() (int, int) { if b.r == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 28 16:13:40 UTC 2021 - 765 bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) { super.insertEntry(entryIndex, object, hash, mask); setSucceeds(lastEntry, entryIndex); setSucceeds(entryIndex, ENDPOINT); } @Override void moveLastEntry(int dstIndex, int mask) { int srcIndex = size() - 1; super.moveLastEntry(dstIndex, mask); setSucceeds(getPredecessor(dstIndex), getSuccessor(dstIndex));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 05 21:38:59 UTC 2024 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) { super.insertEntry(entryIndex, object, hash, mask); setSucceeds(lastEntry, entryIndex); setSucceeds(entryIndex, ENDPOINT); } @Override void moveLastEntry(int dstIndex, int mask) { int srcIndex = size() - 1; super.moveLastEntry(dstIndex, mask); setSucceeds(getPredecessor(dstIndex), getSuccessor(dstIndex));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 05 21:38:59 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/kubeapiserver/options/options.go
// DefaultServiceIPCIDR is a CIDR notation of IP range from which to allocate service cluster IPs var DefaultServiceIPCIDR = net.IPNet{IP: netutils.ParseIPSloppy("10.0.0.0"), Mask: net.CIDRMask(24, 32)} // DefaultEtcdPathPrefix is the default key prefix of etcd for API Server
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 20 08:42:09 UTC 2021 - 1.1K bytes - Viewed (0)