Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for 0xF (0.97 sec)

  1. src/testing/testing.go

    // Functions of the form
    //
    //	func FuzzXxx(*testing.F)
    //
    // are considered fuzz tests.
    //
    // For example:
    //
    //	func FuzzHex(f *testing.F) {
    //	  for _, seed := range [][]byte{{}, {0}, {9}, {0xa}, {0xf}, {1, 2, 3, 4}} {
    //	    f.Add(seed)
    //	  }
    //	  f.Fuzz(func(t *testing.T, in []byte) {
    //	    enc := hex.EncodeToString(in)
    //	    out, err := hex.DecodeString(enc)
    //	    if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/obj.go

    }
    
    // encodeBImmediate encodes an immediate for a B-type RISC-V instruction.
    func encodeBImmediate(imm uint32) uint32 {
    	return (imm>>12)<<31 | ((imm>>5)&0x3f)<<25 | ((imm>>1)&0xf)<<8 | ((imm>>11)&0x1)<<7
    }
    
    // encodeB encodes a B-type RISC-V instruction.
    func encodeB(ins *instruction) uint32 {
    	imm := immI(ins.as, ins.imm, 13)
    	rs2 := regI(ins.rs1)
    	rs1 := regI(ins.rs2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    // as can the definition of type info vs payload above.
    //
    #if __LP64__
    #define CF_IS_TAGGED_OBJ(PTR)	((uintptr_t)(PTR) & 0x1)
    #define CF_TAGGED_OBJ_TYPE(PTR)	((uintptr_t)(PTR) & 0xF)
    #else
    #define CF_IS_TAGGED_OBJ(PTR)	0
    #define CF_TAGGED_OBJ_TYPE(PTR)	0
    #endif
    
    enum {
        kCFTaggedObjectID_Invalid = 0,
        kCFTaggedObjectID_Atom = (0 << 1) + 1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top