Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 92 for quint8 (0.14 sec)

  1. src/text/template/funcs.go

    func indexArg(index reflect.Value, cap int) (int, error) {
    	var x int64
    	switch index.Kind() {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		x = index.Int()
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    		x = int64(index.Uint())
    	case reflect.Invalid:
    		return 0, fmt.Errorf("cannot index slice/array with nil")
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/func.go

    		*a = slot // don't escape slot
    		f.CanonicalLocalSlots[slot] = a
    	}
    	return a
    }
    
    func (f *Func) SplitString(name *LocalSlot) (*LocalSlot, *LocalSlot) {
    	ptrType := types.NewPtr(types.Types[types.TUINT8])
    	lenType := types.Types[types.TINT]
    	// Split this string up into two separate variables.
    	p := f.SplitSlot(name, ".ptr", 0, ptrType)
    	l := f.SplitSlot(name, ".len", ptrType.Size(), lenType)
    	return p, l
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. src/crypto/tls/boring_test.go

    				vers:               VersionTLS12,
    				random:             make([]byte, 32),
    				cipherSuites:       []uint16{id},
    				compressionMethods: []uint8{compressionNone},
    				supportedCurves:    defaultCurvePreferences(),
    				supportedPoints:    []uint8{pointFormatUncompressed},
    			}
    
    			testClientHello(t, serverConfig, clientHello)
    			t.Run("fipstls", func(t *testing.T) {
    				fipstls.Force()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_client.go

    		compressionMethods:           []uint8{compressionNone},
    		random:                       make([]byte, 32),
    		extendedMasterSecret:         true,
    		ocspStapling:                 true,
    		scts:                         true,
    		serverName:                   hostnameInSNI(config.ServerName),
    		supportedCurves:              config.curvePreferences(maxVersion),
    		supportedPoints:              []uint8{pointFormatUncompressed},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_tls13.go

    	// storage to the client in the cookie.) See RFC 8446, Section 4.4.1.
    	chHash := hs.transcript.Sum(nil)
    	hs.transcript.Reset()
    	hs.transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))})
    	hs.transcript.Write(chHash)
    	if err := transcriptMsg(hs.serverHello, hs.transcript); err != nil {
    		return err
    	}
    
    	var isInnerHello bool
    	hello := hs.hello
    	if hs.echContext != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_server.go

    		//
    		// Per RFC 4492, section 5.1.2, implementations MUST support the
    		// uncompressed point format. See golang.org/issue/31943.
    		hs.hello.supportedPoints = []uint8{pointFormatUncompressed}
    	}
    
    	if priv, ok := hs.cert.PrivateKey.(crypto.Signer); ok {
    		switch priv.Public().(type) {
    		case *ecdsa.PublicKey:
    			hs.ecSignOk = true
    		case ed25519.PublicKey:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    		}
    
    		timer := time.NewTimer(randSleepFor())
    		defer timer.Stop()
    
    		var (
    			quit     bool
    			traceMsg string
    		)
    
    		for {
    			select {
    			case rebalErr := <-doneCh:
    				quit = true
    				now := time.Now()
    				var status rebalStatus
    
    				switch {
    				case errors.Is(rebalErr, context.Canceled):
    					status = rebalStopped
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  8. src/runtime/symtab.go

    // pcHeader holds data used by the pclntab lookups.
    type pcHeader struct {
    	magic          uint32  // 0xFFFFFFF1
    	pad1, pad2     uint8   // 0,0
    	minLC          uint8   // min instruction size
    	ptrSize        uint8   // size of a ptr in bytes
    	nfunc          int     // number of functions in the module
    	nfiles         uint    // number of entries in the file tab
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  9. src/encoding/json/decode.go

    		// Map key must either have string kind, have an integer kind,
    		// or be an encoding.TextUnmarshaler.
    		switch t.Key().Kind() {
    		case reflect.String,
    			reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64,
    			reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    		default:
    			if !reflect.PointerTo(t.Key()).Implements(textUnmarshalerType) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		// In these cases an index register is used in addition to a base register
    		// Loads from memory location arg[0] + arg[1].
    		{name: "MOVBZloadidx", argLength: 3, reg: gploadidx, asm: "MOVBZ", typ: "UInt8"},  // zero extend uint8 to uint64
    		{name: "MOVHloadidx", argLength: 3, reg: gploadidx, asm: "MOVH", typ: "Int16"},    // sign extend int16 to int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top