Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for bitPos (0.17 sec)

  1. src/crypto/internal/nistec/fiat/p384_fiat64.go

    	var x72 uint64
    	x72, x71 = bits.Mul64(x1, arg2[4])
    	var x73 uint64
    	var x74 uint64
    	x74, x73 = bits.Mul64(x1, arg2[3])
    	var x75 uint64
    	var x76 uint64
    	x76, x75 = bits.Mul64(x1, arg2[2])
    	var x77 uint64
    	var x78 uint64
    	x78, x77 = bits.Mul64(x1, arg2[1])
    	var x79 uint64
    	var x80 uint64
    	x80, x79 = bits.Mul64(x1, arg2[0])
    	var x81 uint64
    	var x82 uint64
    	x81, x82 = bits.Add64(x80, x77, uint64(0x0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:03 UTC 2022
    - 90.8K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    	}
    	if tp.typ == nil {
    		// Handle small objects.
    		// Clear any bits before the target address.
    		tp.mask &^= (1 << ((target - tp.addr) / goarch.PtrSize)) - 1
    		// Clear any bits past the limit.
    		if tp.addr+goarch.PtrSize*ptrBits > limit {
    			bits := (tp.addr + goarch.PtrSize*ptrBits - limit) / goarch.PtrSize
    			tp.mask &^= ((1 << (bits)) - 1) << (ptrBits - bits)
    		}
    		return tp
    	}
    
    	// Move up elem and addr.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. src/net/netip/netip_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			if prefix.Addr() != test.ip {
    				t.Errorf("IP=%s, want %s", prefix.Addr(), test.ip)
    			}
    			if prefix.Bits() != test.bits {
    				t.Errorf("bits=%d, want %d", prefix.Bits(), test.bits)
    			}
    			for _, ip := range test.contains {
    				if !prefix.Contains(ip) {
    					t.Errorf("does not contain %s", ip)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    		}
    	}
    }
    
    // Test xlStorage.VerifyFile()
    func TestXLStorageVerifyFile(t *testing.T) {
    	// We test 4 cases:
    	// 1) Whole-file bitrot check on proper file
    	// 2) Whole-file bitrot check on corrupted file
    	// 3) Streaming bitrot check on proper file
    	// 4) Streaming bitrot check on corrupted file
    
    	// create xlStorage test setup
    	storage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    	} else if nbits == 32 {
    		mb = bits.LeadingZeros32(uint32(mask))
    		me = 32 - bits.TrailingZeros32(uint32(mask))
    		mbn = bits.LeadingZeros32(^uint32(mask))
    		men = 32 - bits.TrailingZeros32(^uint32(mask))
    	} else {
    		mb = bits.LeadingZeros64(uint64(mask))
    		me = 64 - bits.TrailingZeros64(uint64(mask))
    		mbn = bits.LeadingZeros64(^uint64(mask))
    		men = 64 - bits.TrailingZeros64(^uint64(mask))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/math/big/float_test.go

    	for i := 0; i < 8; i++ {
    		// compute accurate (not rounded) result z
    		bits := Bits{preci - 1}
    		if i&3 != 0 {
    			bits = append(bits, 0)
    		}
    		if i&2 != 0 {
    			bits = append(bits, -1)
    		}
    		if i&1 != 0 {
    			bits = append(bits, -precf)
    		}
    		z := bits.Float()
    
    		// compute accurate x as z*y
    		y := NewFloat(3.14159265358979323e123)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// insert low width bits of arg0 into the result starting at bit lsb, bits to the left of the inserted bit field are set to the high/sign bit of the inserted bit field, bits to the right are zeroed
    		{name: "SBFIZ", argLength: 1, reg: gp11, asm: "SBFIZ", aux: "ARM64BitField"},
    		// extract width bits of arg0 starting at bit lsb and insert at low end of result, remaining high bits are set to the high/sign bit of the extracted bitfield
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/riscv/obj.go

    	// Bit order - [8|4:3|7:6|2:1|5]
    	bits := extractBitAndShift(imm, 8, 7)
    	bits |= extractBitAndShift(imm, 4, 6)
    	bits |= extractBitAndShift(imm, 3, 5)
    	bits |= extractBitAndShift(imm, 7, 4)
    	bits |= extractBitAndShift(imm, 6, 3)
    	bits |= extractBitAndShift(imm, 2, 2)
    	bits |= extractBitAndShift(imm, 1, 1)
    	bits |= extractBitAndShift(imm, 5, 0)
    	return (bits>>5)<<10 | (bits&0x1f)<<2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  9. src/runtime/malloc.go

    	// heapAddrBits is the number of bits in a heap address. On
    	// amd64, addresses are sign-extended beyond heapAddrBits. On
    	// other arches, they are zero-extended.
    	//
    	// On most 64-bit platforms, we limit this to 48 bits based on a
    	// combination of hardware and OS limitations.
    	//
    	// amd64 hardware limits addresses to 48 bits, sign-extended
    	// to 64 bits. Addresses where the top 16 bits are not either
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    		Response:           (h.bits & headerBitQR) != 0,
    		OpCode:             OpCode(h.bits>>11) & 0xF,
    		Authoritative:      (h.bits & headerBitAA) != 0,
    		Truncated:          (h.bits & headerBitTC) != 0,
    		RecursionDesired:   (h.bits & headerBitRD) != 0,
    		RecursionAvailable: (h.bits & headerBitRA) != 0,
    		AuthenticData:      (h.bits & headerBitAD) != 0,
    		CheckingDisabled:   (h.bits & headerBitCD) != 0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
Back to top