Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 273 for uint16 (0.17 sec)

  1. pilot/pkg/bootstrap/options.go

    	if err != nil {
    		return err
    	}
    	p.ServerOptions.TLSOptions.CipherSuits = cipherSuits
    	return nil
    }
    
    func allCiphers() map[string]uint16 {
    	acceptedCiphers := make(map[string]uint16, len(tls.CipherSuites())+len(tls.InsecureCipherSuites()))
    	for _, cipher := range tls.InsecureCipherSuites() {
    		acceptedCiphers[cipher.Name] = cipher.ID
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/testing/util.go

    // RS is the RealServer of this expected VirtualServer
    type ExpectedVirtualServer struct {
    	VSNum    int
    	IP       string
    	Port     uint16
    	Protocol string
    	RS       []ExpectedRealServer
    }
    
    // ExpectedRealServer is the expected ipvs RealServer
    type ExpectedRealServer struct {
    	IP   string
    	Port uint16
    }
    
    // ExpectedIptablesChain is a map of expected iptables chain and jump rules
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/internal/zstd/literals.go

    	}
    
    	streamSize1 := binary.LittleEndian.Uint16(data[off:])
    	streamSize2 := binary.LittleEndian.Uint16(data[off+2:])
    	streamSize3 := binary.LittleEndian.Uint16(data[off+4:])
    	off += 6
    
    	tot := uint64(streamSize1) + uint64(streamSize2) + uint64(streamSize3)
    	if tot > uint64(totalStreamsSize)-6 {
    		return nil, r.makeEOFError(off)
    	}
    	streamSize4 := uint32(totalStreamsSize) - 6 - uint32(tot)
    
    	off--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 14:30:10 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/util/ipvs_linux.go

    }
    
    // stringToProtocolType returns the protocol type for the given name
    func stringToProtocol(protocol string) uint16 {
    	switch strings.ToLower(protocol) {
    	case "tcp":
    		return uint16(unix.IPPROTO_TCP)
    	case "udp":
    		return uint16(unix.IPPROTO_UDP)
    	case "sctp":
    		return uint16(unix.IPPROTO_SCTP)
    	}
    	return uint16(0)
    }
    
    // protocolTypeToString returns the name for the given protocol.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/encoding/gob/decgen.go

    		state.b.Drop(n)`,
    	},
    	{
    		"uint",
    		"Uint",
    		`x := state.decodeUint()
    		/*TODO if math.MaxUint32 < x {
    			error_(ovfl)
    		}*/
    		slice[i] = uint(x)`,
    	},
    	{
    		"uint16",
    		"Uint16",
    		`x := state.decodeUint()
    		if math.MaxUint16 < x {
    			error_(ovfl)
    		}
    		slice[i] = uint16(x)`,
    	},
    	{
    		"uint32",
    		"Uint32",
    		`x := state.decodeUint()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/api.go

    	DestinationIps      []string      `json:"destinationIps,omitempty"`
    	NotDestinationIps   []string      `json:"notDestinationIps,omitempty"`
    	DestinationPorts    []uint16      `json:"destinationPorts,omitempty"`
    	NotDestinationPorts []uint16      `json:"notDestinationPorts,omitempty"`
    }
    
    type StringMatch struct {
    	Exact    string `json:"Exact,omitempty"`
    	Suffix   string `json:"Suffix,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. utils/utils_test.go

    		{"int8", int8(math.MaxInt8), "127"},
    		{"int16", int16(math.MaxInt16), "32767"},
    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    		{"uint8", uint8(math.MaxUint8), "255"},
    		{"uint16", uint16(math.MaxUint16), "65535"},
    		{"uint32", uint32(math.MaxUint32), "4294967295"},
    		{"uint64", uint64(math.MaxUint64), "18446744073709551615"},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Feb 19 03:42:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/net/dnsclient.go

    		s += "."
    	}
    	return s
    }
    
    // An SRV represents a single DNS SRV record.
    type SRV struct {
    	Target   string
    	Port     uint16
    	Priority uint16
    	Weight   uint16
    }
    
    // byPriorityWeight sorts SRV records by ascending priority and weight.
    type byPriorityWeight []*SRV
    
    // shuffleByWeight shuffles SRV records by weight using the algorithm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/syscall/netlink_linux.go

    }
    
    func (rr *NetlinkRouteRequest) toWireFormat() []byte {
    	b := make([]byte, rr.Header.Len)
    	*(*uint32)(unsafe.Pointer(&b[0:4][0])) = rr.Header.Len
    	*(*uint16)(unsafe.Pointer(&b[4:6][0])) = rr.Header.Type
    	*(*uint16)(unsafe.Pointer(&b[6:8][0])) = rr.Header.Flags
    	*(*uint32)(unsafe.Pointer(&b[8:12][0])) = rr.Header.Seq
    	*(*uint32)(unsafe.Pointer(&b[12:16][0])) = rr.Header.Pid
    	b[16] = rr.Data.Family
    	return b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/unicode/norm/input.go

    		return copy(buf, in.str[b:e])
    	}
    	return copy(buf, in.bytes[b:e])
    }
    
    func (in *input) charinfoNFC(p int) (uint16, int) {
    	if in.bytes == nil {
    		return nfcData.lookupString(in.str[p:])
    	}
    	return nfcData.lookup(in.bytes[p:])
    }
    
    func (in *input) charinfoNFKC(p int) (uint16, int) {
    	if in.bytes == nil {
    		return nfkcData.lookupString(in.str[p:])
    	}
    	return nfkcData.lookup(in.bytes[p:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top