Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 83 for bitPos (0.11 sec)

  1. src/math/big/int_test.go

    			t.Errorf("SetBits(%v) = %v; want %v", test, got.abs, want)
    		}
    
    		if got.neg {
    			t.Errorf("SetBits(%v): got negative result", test)
    		}
    
    		bits := nat(z.Bits())
    		if bits.cmp(want) != 0 {
    			t.Errorf("%v.Bits() = %v; want %v", z.abs, bits, want)
    		}
    	}
    }
    
    func checkSetBytes(b []byte) bool {
    	hex1 := hex.EncodeToString(new(Int).SetBytes(b).Bytes())
    	hex2 := hex.EncodeToString(b)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  2. src/index/suffixarray/sais2.go

    	// N*8 bits of a word, and then bitwise inverts the result.
    	// That is, the text sequence A B C (hex 41 42 43)
    	// encodes as ^uint64(0x42_43_44).
    	// LMS-substrings can never start or end with 0xFF.
    	// Adding 1 ensures the encoded byte sequence never
    	// starts or ends with 0x00, so that present bytes can be
    	// distinguished from zero-padding in the top bits,
    	// so the length need not be separately encoded.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Non-indexed ops generate DS-form loads and stores when the offset fits in 16 bits,
    // and on power8 and power9, a multiple of 4 is required for MOVW and MOVD ops.
    // On power10, prefixed loads and stores can be used for offsets > 16 bits and <= 32 bits.
    // and support for PC relative addressing must be available if relocation is needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    // Control returns the security descriptor control bits.
    func (sd *SECURITY_DESCRIPTOR) Control() (control SECURITY_DESCRIPTOR_CONTROL, revision uint32, err error) {
    	err = getSecurityDescriptorControl(sd, &control, &revision)
    	return
    }
    
    // SetControl sets the security descriptor control bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug.go

    	"cmd/compile/internal/abt"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/types"
    	"cmd/internal/dwarf"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    	"encoding/hex"
    	"fmt"
    	"internal/buildcfg"
    	"math/bits"
    	"sort"
    	"strings"
    )
    
    type SlotID int32
    type VarID int32
    
    // A FuncDebug contains all the debug information for the variables in a
    // function. Variables are identified by their LocalSlot, which may be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ppc64/asm.go

    }
    
    // Compute the low value (the lower 16 bits of any 32b value) per the ELF ABI.
    // The returned value is always 0 <= x <= 0xFFFF.
    func computeLO(val int32) uint32 {
    	return uint32(uint16(val))
    }
    
    // Compute the high 18 bits of a signed 34b constant. Used to pack the high 18 bits
    // of a prefix34 relocation field. This assumes the input is already restricted to
    // 34 bits.
    func computePrefix34HI(val int64) uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  7. src/reflect/type.go

    	// The methods allowed for each kind are:
    	//
    	//	Int*, Uint*, Float*, Complex*: Bits
    	//	Array: Elem, Len
    	//	Chan: ChanDir, Elem
    	//	Func: In, NumIn, Out, NumOut, IsVariadic.
    	//	Map: Key, Elem
    	//	Pointer: Elem
    	//	Slice: Elem
    	//	Struct: Field, FieldByIndex, FieldByName, FieldByNameFunc, NumField
    
    	// Bits returns the size of the type in bits.
    	// It panics if the type's Kind is not one of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		// Rotate then (and|or|xor|insert) selected bits instructions.
    		//
    		// Aux is an s390x.RotateParams struct containing Start, End and rotation
    		// Amount fields.
    		//
    		// arg1 is rotated left by the rotation amount then the bits from the start
    		// bit to the end bit (inclusive) are combined with arg0 using the logical
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		case 'F':
    			accum := false
    			bits := 0
    			if len(st.str) > 0 && isDigit(st.str[0]) {
    				accum = true
    				bits = st.number()
    			}
    			if len(st.str) > 0 && st.str[0] == '_' {
    				if bits == 0 {
    					st.fail("expected non-zero number of bits")
    				}
    				st.advance(1)
    				ret = &BinaryFP{Bits: bits}
    			} else {
    				base := st.demangleType(isCast)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/validation/validation_test.go

    							HandSize:         8,
    						}}}},
    		},
    		expectedErrors: field.ErrorList{
    			field.Invalid(field.NewPath("spec").Child("limited").Child("limitResponse").Child("queuing").Child("handSize"), int32(8), "required entropy bits of deckSize 512 and handSize 8 should not be greater than 60"),
    		},
    	}, {
    		name: "customized priority level w/ overflowing handSize/queues should fail 2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
Back to top