Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 175 for uint16 (0.2 sec)

  1. src/runtime/iface.go

    	return x
    }
    
    func convT16(val uint16) (x unsafe.Pointer) {
    	if val < uint16(len(staticuint64s)) {
    		x = unsafe.Pointer(&staticuint64s[val])
    		if goarch.BigEndian {
    			x = add(x, 6)
    		}
    	} else {
    		x = mallocgc(2, uint16Type, false)
    		*(*uint16)(x) = val
    	}
    	return
    }
    
    func convT32(val uint32) (x unsafe.Pointer) {
    	if val < uint32(len(staticuint64s)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. src/reflect/type.go

    	// It panics if t's Kind is not Int, Int8, Int16, Int32, or Int64.
    	OverflowInt(x int64) bool
    
    	// OverflowUint reports whether the uint64 x cannot be represented by type t.
    	// It panics if t's Kind is not Uint, Uintptr, Uint8, Uint16, Uint32, or Uint64.
    	OverflowUint(x uint64) bool
    
    	// CanSeq reports whether a [Value] with this type can be iterated over using [Value.Seq].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  3. src/encoding/json/encode.go

    		return string(buf), err
    	}
    	switch k.Kind() {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return strconv.FormatInt(k.Int(), 10), nil
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    		return strconv.FormatUint(k.Uint(), 10), nil
    	}
    	panic("unexpected map key type")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    		return true
    	}
    	// match: (CMPconst [0] z:(ANDconst [c] x))
    	// cond: int64(uint16(c)) == c && v.Block == z.Block
    	// result: (CMPconst [0] convertPPC64OpToOpCC(z))
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		z := v_0
    		if z.Op != OpPPC64ANDconst {
    			break
    		}
    		c := auxIntToInt64(z.AuxInt)
    		if !(int64(uint16(c)) == c && v.Block == z.Block) {
    			break
    		}
    		v.reset(OpPPC64CMPconst)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. internal/http/transports.go

    	LookupHost  LookupHost  // Custom lookupHost, is nil on containerized deployments.
    	DialTimeout time.Duration
    
    	// TLS Settings
    	RootCAs          *x509.CertPool
    	CipherSuites     []uint16
    	CurvePreferences []tls.CurveID
    
    	// HTTP2
    	EnableHTTP2 bool
    
    	// TCP Options
    	TCPOptions TCPOptions
    }
    
    func (s ConnSettings) getDefaultTransport(maxIdleConnsPerHost int) *http.Transport {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/status/server.go

    	// the prober.
    	PodIP string
    	// KubeAppProbers is a json with Kubernetes application prober config encoded.
    	KubeAppProbers      string
    	NodeType            model.NodeType
    	StatusPort          uint16
    	AdminPort           uint16
    	IPv6                bool
    	Probes              []ready.Prober
    	EnvoyPrometheusPort int
    	Context             context.Context
    	FetchDNS            func() *dnsProto.NameTable
    	NoEnvoy             bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  7. pkg/test/framework/components/prometheus/kube.go

    		}
    		pod := pods[0]
    
    		svc, err := cls.Kube().CoreV1().Services(cfg.TelemetryNamespace).Get(context.TODO(), serviceName, metav1.GetOptions{})
    		if err != nil {
    			return nil, err
    		}
    		port := uint16(svc.Spec.Ports[0].Port)
    
    		forwarder, err := cls.NewPortForwarder(pod.Name, pod.Namespace, "", 0, int(port))
    		if err != nil {
    			return nil, err
    		}
    
    		if err := forwarder.Start(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/crypto/tls/conn.go

    	// start with a uint16 length where the MSB is set and the first record
    	// is always < 256 bytes long. Therefore typ == 0x80 strongly suggests
    	// an SSLv2 client.
    	if !handshakeComplete && typ == 0x80 {
    		c.sendAlert(alertProtocolVersion)
    		return c.in.setErrorLocked(c.newRecordHeaderError(nil, "unsupported SSLv2 handshake received"))
    	}
    
    	vers := uint16(hdr[1])<<8 | uint16(hdr[2])
    	expectedVers := c.vers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_server.go

    }
    
    // supportsECDHE returns whether ECDHE key exchanges can be used with this
    // pre-TLS 1.3 client.
    func supportsECDHE(c *Config, version uint16, supportedCurves []CurveID, supportedPoints []uint8) bool {
    	supportsCurve := false
    	for _, curve := range supportedCurves {
    		if c.supportsCurve(version, curve) {
    			supportsCurve = true
    			break
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. src/log/slog/value_test.go

    		{[]Attr{Int("i", 3)}, GroupValue(Int("i", 3))},
    		{IntValue(4), IntValue(4)},
    		{uint(2), Uint64Value(2)},
    		{uint8(3), Uint64Value(3)},
    		{uint16(4), Uint64Value(4)},
    		{uint32(5), Uint64Value(5)},
    		{uint64(6), Uint64Value(6)},
    		{uintptr(7), Uint64Value(7)},
    		{int8(8), Int64Value(8)},
    		{int16(9), Int64Value(9)},
    		{int32(10), Int64Value(10)},
    		{int64(11), Int64Value(11)},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top