Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 227 for quint8 (0.11 sec)

  1. src/runtime/pinner.go

    			throw("runtime.Pinner: object already unpinned")
    		}
    	}
    	unlock(&span.speciallock)
    	releasem(mp)
    	return true
    }
    
    type pinState struct {
    	bytep   *uint8
    	byteVal uint8
    	mask    uint8
    }
    
    // nosplit, because it's called by isPinned, which is nosplit
    //
    //go:nosplit
    func (v *pinState) isPinned() bool {
    	return (v.byteVal & v.mask) != 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/util.go

    // CConv formats opcode suffix bits (Prog.Scond).
    func CConv(s uint8) string {
    	if s == 0 {
    		return ""
    	}
    	for i := range opSuffixSpace {
    		sset := &opSuffixSpace[i]
    		if sset.arch == buildcfg.GOARCH {
    			return sset.cconv(s)
    		}
    	}
    	return fmt.Sprintf("SC???%d", s)
    }
    
    // CConvARM formats ARM opcode suffix bits (mostly condition codes).
    func CConvARM(s uint8) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/cmd/internal/dwarf/dwarf.go

    	for {
    		c := uint8(v & 0x7f)
    		v >>= 7
    		if v != 0 {
    			c |= 0x80
    		}
    		b = append(b, c)
    		if c&0x80 == 0 {
    			break
    		}
    	}
    	return b
    }
    
    // AppendSleb128 appends v to b using DWARF's signed LEB128 encoding.
    func AppendSleb128(b []byte, v int64) []byte {
    	for {
    		c := uint8(v & 0x7f)
    		s := uint8(v & 0x40)
    		v >>= 7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  4. src/runtime/stack.go

    type bitvector struct {
    	n        int32 // # of bits
    	bytedata *uint8
    }
    
    // ptrbit returns the i'th bit in bv.
    // ptrbit is less efficient than iterating directly over bitvector bits,
    // and should only be used in non-performance-critical code.
    // See adjustpointers for an example of a high-efficiency walk of a bitvector.
    func (bv *bitvector) ptrbit(i uintptr) uint8 {
    	b := *(addb(bv.bytedata, i/8))
    	return (b >> (i % 8)) & 1
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  5. src/crypto/tls/ticket.go

    	//       uint16 version;
    	//       SessionStateType type;
    	//       uint16 cipher_suite;
    	//       uint64 created_at;
    	//       opaque secret<1..2^8-1>;
    	//       Extra extra<0..2^24-1>;
    	//       uint8 ext_master_secret = { 0, 1 };
    	//       uint8 early_data = { 0, 1 };
    	//       CertificateEntry certificate_list<0..2^24-1>;
    	//       CertificateChain verified_chains<0..2^24-1>; /* excluding leaf */
    	//       select (SessionState.early_data) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/crypto/tls/key_agreement.go

    // the sigType (for earlier TLS versions). For Ed25519 signatures, which don't
    // do pre-hashing, it returns the concatenation of the slices.
    func hashForServerKeyExchange(sigType uint8, hashFunc crypto.Hash, version uint16, slices ...[]byte) []byte {
    	if sigType == signatureEd25519 {
    		var signed []byte
    		for _, slice := range slices {
    			signed = append(signed, slice...)
    		}
    		return signed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/encoding/gob/encode.go

    		}
    	}
    }
    
    // encInt encodes the signed integer (int int8 int16 int32 int64) referenced by v.
    func encInt(i *encInstr, state *encoderState, v reflect.Value) {
    	value := v.Int()
    	if value != 0 || state.sendZero {
    		state.update(i)
    		state.encodeInt(value)
    	}
    }
    
    // encUint encodes the unsigned integer (uint uint8 uint16 uint32 uint64 uintptr) referenced by v.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/check.go

    			case auxNone:
    			case auxBool:
    				if v.AuxInt < 0 || v.AuxInt > 1 {
    					f.Fatalf("bad bool AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt8:
    				if v.AuxInt != int64(int8(v.AuxInt)) {
    					f.Fatalf("bad int8 AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt16:
    				if v.AuxInt != int64(int16(v.AuxInt)) {
    					f.Fatalf("bad int16 AuxInt value for %v", v)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/objfile.go

    		for p := s.Func().Text; p != nil; p = p.Link {
    			fmt.Fprintf(ctxt.Bso, "\t%#04x ", uint(int(p.Pc)))
    			if ctxt.Debugasm > 1 {
    				io.WriteString(ctxt.Bso, p.String())
    			} else {
    				p.InnermostString(ctxt.Bso)
    			}
    			fmt.Fprintln(ctxt.Bso)
    		}
    	}
    	for i := 0; i < len(s.P); i += 16 {
    		fmt.Fprintf(ctxt.Bso, "\t%#04x", uint(i))
    		j := i
    		for ; j < i+16 && j < len(s.P); j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loader/loader_test.go

    	if es1x != es1 {
    		t.Fatalf("LookupOrCreateSym lookup: expected %d got %d for second lookup", es1, es1x)
    	}
    	es2 := ldr.LookupOrCreateSym("go:info.type.uint8", 0)
    	if es2 == 0 {
    		t.Fatalf("LookupOrCreateSym failed for go.info.type.uint8")
    	}
    	// Create a nameless symbol
    	es3 := ldr.CreateStaticSym("")
    	if es3 == 0 {
    		t.Fatalf("CreateStaticSym failed for nameless sym")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top