Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for uint16 (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/crypto/tls/key_schedule.go

    // expandLabel implements HKDF-Expand-Label from RFC 8446, Section 7.1.
    func (c *cipherSuiteTLS13) expandLabel(secret []byte, label string, context []byte, length int) []byte {
    	var hkdfLabel cryptobyte.Builder
    	hkdfLabel.AddUint16(uint16(length))
    	hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
    		b.AddBytes([]byte("tls13 "))
    		b.AddBytes([]byte(label))
    	})
    	hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
    		b.AddBytes(context)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(int8(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int16(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int32(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int64(0)), -1, 0, 1),
    	ct(reflect.TypeOf(uint(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint8(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint16(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint32(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint64(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uintptr(0)), 0, 1, 5),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/net/resolverdialfunc_test.go

    		panic(err)
    	}
    }
    
    type SRVWriter struct{ ResponseWriter }
    
    // AddSRV adds a SRV record. The target name must end in a period and
    // be 63 bytes or fewer.
    func (w SRVWriter) AddSRV(priority, weight, port uint16, target string) error {
    	targetName, err := dnsmessage.NewName(target)
    	if err != nil {
    		return err
    	}
    	w.a.wrote = true
    	err = w.a.builder.SRVResource(w.header(), dnsmessage.SRVResource{
    		Priority: priority,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/runtime/mksizeclasses.go

    		panic("size class requires more than 32 bits of precision")
    	}
    
    	// Brute force double-check with the exact computation that will be
    	// done by the runtime.
    	m := ^uint32(0)/uint32(c.size) + 1
    	for n := 0; n <= max; n++ {
    		if uint32((uint64(n)*uint64(m))>>32) != uint32(n/c.size) {
    			fmt.Printf("d=%d max=%d m=%d n=%d\n", d, max, m, n)
    			panic("bad 32-bit multiply magic")
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/reflect/type_test.go

    			_ S
    		}{})}, true},
    		{"struct{i int; _ S}", args{reflect.TypeOf(struct {
    			i int
    			_ S
    		}{})}, false},
    		{"struct{a int16; b int32}", args{reflect.TypeOf(struct {
    			a int16
    			b int32
    		}{})}, false},
    		{"struct {x int32; y int16}", args{reflect.TypeOf(struct {
    			x int32
    			y int16
    		}{})}, false},
    		{"struct {_ int32 }", args{reflect.TypeOf(struct{ _ int32 }{})}, false},
    	}
    	for _, tt := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/loong64/a.out.go

    	REGTMP  = REG_R30 // used by the assembler
    	FREGRET = REG_F0  // not use
    )
    
    var LOONG64DWARFRegisters = map[int16]int16{}
    
    func init() {
    	// f assigns dwarfregisters[from:to] = (base):(to-from+base)
    	f := func(from, to, base int16) {
    		for r := int16(from); r <= to; r++ {
    			LOONG64DWARFRegisters[r] = (r - from) + base
    		}
    	}
    	f(REG_R0, REG_R31, 0)
    	f(REG_F0, REG_F31, 32)
    
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/ppc64.go

    		ppc64.ASUBME, ppc64.ASUBZECC, ppc64.ASUBZEVCC, ppc64.ASUBZEV,
    		ppc64.ASUBZE:
    		return true
    	}
    	return false
    }
    
    func ppc64RegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "CR":
    		if 0 <= n && n <= 7 {
    			return ppc64.REG_CR0 + n, true
    		}
    	case "A":
    		if 0 <= n && n <= 8 {
    			return ppc64.REG_A0 + n, true
    		}
    	case "VS":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top