- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for appendParent (0.2 sec)
-
pilot/pkg/config/kube/gateway/conversion.go
SectionName: ptr.OrEmpty(ref.SectionName), Port: ptr.OrEmpty(ref.Port), } gk := ir if ir.Kind == gvk.Service || ir.Kind == gvk.ServiceEntry { gk = meshParentKey } appendParent := func(pr *parentInfo, pk parentReference) { bannedHostnames := sets.New[string]() for _, gw := range gateways[gk] { if gw == pr { continue // do not ban ourself } if gw.Port != pr.Port {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
src/vendor/golang.org/x/net/http2/hpack/encode.go
n = 6 } else { n = 4 } dst = appendVarInt(dst, n, i) dst[first] |= encodeTypeByte(indexing, f.Sensitive) return appendHpackString(dst, f.Value) } // appendTableSize appends v, as encoded in "Header Table Size Update" // representation, to dst and returns the extended buffer. func appendTableSize(dst []byte, v uint32) []byte { first := len(dst) dst = appendVarInt(dst, 5, uint64(v)) dst[first] |= 0x20
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 7.1K bytes - Viewed (0) -
src/encoding/binary/varint.go
return 0, -(i + 1) // overflow } return x | uint64(b)<<s, i + 1 } x |= uint64(b&0x7f) << s s += 7 } return 0, 0 } // AppendVarint appends the varint-encoded form of x, // as generated by [PutVarint], to buf and returns the extended buffer. func AppendVarint(buf []byte, x int64) []byte { ux := uint64(x) << 1 if x < 0 { ux = ^ux } return AppendUvarint(buf, ux) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 4.8K bytes - Viewed (0) -
src/encoding/binary/varint_test.go
if x != y { t.Errorf("Varint(%d): got %d", x, y) } if n != m { t.Errorf("Varint(%d): got n = %d; want %d", x, m, n) } buf2 := []byte("prefix") buf2 = AppendVarint(buf2, x) if string(buf2) != "prefix"+string(buf[:n]) { t.Errorf("AppendVarint(%d): got %q, want %q", x, buf2, "prefix"+string(buf[:n])) } y, err := ReadVarint(bytes.NewReader(buf)) if err != nil { t.Errorf("ReadVarint(%d): %s", x, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 16 23:09:19 UTC 2023 - 5.5K bytes - Viewed (0) -
api/go1.19.txt
pkg debug/pe, type COFFSymbolAuxFormat5 struct, Size uint32 #51868 pkg encoding/binary, func AppendUvarint([]uint8, uint64) []uint8 #51644 pkg encoding/binary, func AppendVarint([]uint8, int64) []uint8 #51644 pkg encoding/binary, type AppendByteOrder interface { AppendUint16, AppendUint32, AppendUint64, String } #50601
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 17.9K bytes - Viewed (0) -
src/reflect/type.go
if elemPtrs+1 < elemWords { prog = append(prog, 0x81) prog = appendVarint(prog, elemWords-elemPtrs-1) } } // Repeat length-1 times. if elemWords < 0x80 { prog = append(prog, byte(elemWords|0x80)) } else { prog = append(prog, 0x80) prog = appendVarint(prog, elemWords) } prog = appendVarint(prog, uintptr(length)-1) prog = append(prog, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"StdEncoding", Var, 0}, {"StdPadding", Const, 5}, {"URLEncoding", Var, 0}, }, "encoding/binary": { {"AppendByteOrder", Type, 19}, {"AppendUvarint", Func, 19}, {"AppendVarint", Func, 19}, {"BigEndian", Var, 0}, {"ByteOrder", Type, 0}, {"LittleEndian", Var, 0}, {"MaxVarintLen16", Const, 0}, {"MaxVarintLen32", Const, 0}, {"MaxVarintLen64", Const, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)