Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for bkts (0.05 sec)

  1. cmd/storage-datatypes_gen.go

    	}
    	bts, err = z.ReplicationState.UnmarshalMsg(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "ReplicationState")
    		return
    	}
    	if msgp.IsNil(bts) {
    		bts = bts[1:]
    		z.Data = nil
    	} else {
    		z.Data, bts, err = msgp.ReadBytesBytes(bts, z.Data)
    		if err != nil {
    			err = msgp.WrapError(err, "Data")
    			return
    		}
    	}
    	z.NumVersions, bts, err = msgp.ReadIntBytes(bts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  2. src/reflect/value.go

    }
    
    // makeInt returns a Value of type t equal to bits (possibly truncated),
    // where t is a signed or unsigned int type.
    func makeInt(f flag, bits uint64, t Type) Value {
    	typ := t.common()
    	ptr := unsafe_New(typ)
    	switch typ.Size() {
    	case 1:
    		*(*uint8)(ptr) = uint8(bits)
    	case 2:
    		*(*uint16)(ptr) = uint16(bits)
    	case 4:
    		*(*uint32)(ptr) = uint32(bits)
    	case 8:
    		*(*uint64)(ptr) = bits
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/asm9.go

    //
    // Note, me is inclusive.
    func decodeMask32(mask uint32) (mb, me uint32, valid bool) {
    	mb = uint32(bits.LeadingZeros32(mask))
    	me = uint32(32 - bits.TrailingZeros32(mask))
    	mbn := uint32(bits.LeadingZeros32(^mask))
    	men := uint32(32 - bits.TrailingZeros32(^mask))
    	// Check for a wrapping mask (e.g bits at 0 and 31)
    	if mb == 0 && me == 32 {
    		// swap the inverted values
    		mb, me = men, mbn
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Less8  (Const8  <t> [math.MaxInt8 -1]) x) => (Eq8  x (Const8  <t> [math.MaxInt8 ]))
    
    // Ands clear bits. Ors set bits.
    // If a subsequent Or will set all the bits
    // that an And cleared, we can skip the And.
    // This happens in bitmasking code like:
    //   x &^= 3 << shift // clear two old bits
    //   x  |= v << shift // set two new bits
    // when shift is a small constant and v ends up a constant 3.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/asm7.go

    // x is known to be a bitcon
    // a bitcon is a sequence of n ones at low bits (i.e. 1<<n-1), right rotated
    // by R bits, and repeated with period of 64, 32, 16, 8, 4, or 2.
    // it is encoded in logical instructions with 3 bitfields
    // N (1 bit) : R (6 bits) : S (6 bits), where
    // N=1           -- period=64
    // N=0, S=0xxxxx -- period=32
    // N=0, S=10xxxx -- period=16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    	heapBits := GCBits(data.Interface())
    	// Repeat the bitmap for the slice size, trimming scalars in
    	// the last element.
    	bits = trimBitmap(rep(cap, bits))
    	if bytes.Equal(heapBits, bits) {
    		return
    	}
    	if len(heapBits) > len(bits) && bytes.Equal(heapBits[:len(bits)], bits) {
    		// Just the prefix matching is OK.
    		return
    	}
    	_, _, line, _ := runtime.Caller(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    // On ARM64 the bitmask can fit into an instruction.
    (SRLconst [c] (SLLconst [c] x)) && 0 < c && c < 64 => (ANDconst [1<<uint(64-c)-1] x) // mask out high bits
    (SLLconst [c] (SRLconst [c] x)) && 0 < c && c < 64 => (ANDconst [^(1<<uint(c)-1)] x) // mask out low bits
    
    // Special case setting bit as 1. An example is math.Copysign(c,-1)
    (ORconst [c1] (ANDconst [c2] x)) && c2|c1 == ^0  => (ORconst [c1] x)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
        // using variant of single-word Wang/Jenkins hash.
        // TODO(kevinb): use Hashing/move this to Hashing?
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		ft.Accum, ft.Sat,
    		ft.Base.goString(indent+2, "Base: "))
    }
    
    // BinaryFP is a binary floating-point type.
    type BinaryFP struct {
    	Bits int
    }
    
    func (bfp *BinaryFP) print(ps *printState) {
    	fmt.Fprintf(&ps.buf, "_Float%d", bfp.Bits)
    }
    
    func (bfp *BinaryFP) Traverse(fn func(AST) bool) {
    	fn(bfp)
    }
    
    func (bfp *BinaryFP) Copy(fn func(AST) AST, skip func(AST) bool) AST {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
        // using variant of single-word Wang/Jenkins hash.
        // TODO(kevinb): use Hashing/move this to Hashing?
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top