- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,027 for RAW (0.04 sec)
-
src/vendor/golang.org/x/net/route/sys_netbsd.go
// Sys implements the Sys method of Message interface. func (m *InterfaceMessage) Sys() []Sys { return []Sys{ &InterfaceMetrics{ Type: int(m.raw[m.extOff]), MTU: int(nativeEndian.Uint32(m.raw[m.extOff+8 : m.extOff+12])), }, } } func probeRoutingStack() (int, map[int]*wireFormat) { rtm := &wireFormat{extOff: 40, bodyOff: sizeofRtMsghdrNetBSD7}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 2.2K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/interface_openbsd.go
} m := &InterfaceMessage{ Version: int(b[2]), Type: int(b[3]), Flags: int(nativeEndian.Uint32(b[16:20])), Index: int(nativeEndian.Uint16(b[6:8])), Addrs: make([]Addr, syscall.RTAX_MAX), raw: b[:l], } ll := int(nativeEndian.Uint16(b[4:6])) if len(b) < ll { return nil, errInvalidMessage } a, err := parseLinkAddr(b[ll:]) if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 2.2K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/sys_freebsd.go
func (m *RouteMessage) Sys() []Sys { if kernelAlign == 8 { return []Sys{ &RouteMetrics{ PathMTU: int(nativeEndian.Uint64(m.raw[m.extOff+8 : m.extOff+16])), }, } } return []Sys{ &RouteMetrics{ PathMTU: int(nativeEndian.Uint32(m.raw[m.extOff+4 : m.extOff+8])), }, } } // InterfaceMetrics represents interface metrics. type InterfaceMetrics struct { Type int // interface type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 4.7K bytes - Viewed (0) -
src/net/rawconn_windows_test.go
// at the bound address to the raw connection // and to classify the address family of the // underlying socket by the bound address: // // - When IP.To16() != nil and IP.To4() == nil, // we can assume that the raw connection // consists of an IPv6 socket using only // IPv6 addresses. // // - When IP.To16() == nil and IP.To4() != nil, // the raw connection consists of an IPv4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 18 08:47:18 UTC 2020 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testdata/swagger-merge-item.json
}, "io.k8s.apimachinery.pkg.runtime.RawExtension": { "description": "RawExtension is used to hold extensions in external versions.", "required": [ "Raw" ], "properties": { "Raw": { "description": "Raw is the underlying serialization of this object.", "type": "string", "format": "byte" } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 20 22:35:14 UTC 2017 - 4.7K bytes - Viewed (0) -
internal/hash/checksum.go
func NewChecksumFromData(t ChecksumType, data []byte) *Checksum { if !t.IsSet() { return nil } h := t.Hasher() h.Write(data) raw := h.Sum(nil) c := Checksum{Type: t, Encoded: base64.StdEncoding.EncodeToString(raw), Raw: raw} if !c.Valid() { return nil } return &c } // ReadCheckSums will read checksums from b and return them.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 08 16:18:34 UTC 2024 - 12.6K bytes - Viewed (0) -
src/compress/lzw/reader_test.go
// partial decoded result. if n == 0 || !strings.HasPrefix(tt.raw, s) { t.Errorf("got %d bytes (%q), want a non-empty prefix of %q", n, s, tt.raw) } } continue } if s != tt.raw { t.Errorf("%s: got %d-byte %q want %d-byte %q", tt.desc, n, s, len(tt.raw), tt.raw) } } } func TestReaderReset(t *testing.T) { var b bytes.Buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 16:57:58 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/go/internal/cmdflag/flag.go
func ParseOne(fs *flag.FlagSet, args []string) (f *flag.Flag, remainingArgs []string, err error) { // This function is loosely derived from (*flag.FlagSet).parseOne. raw, args := args[0], args[1:] arg := raw if strings.HasPrefix(arg, "--") { if arg == "--" { return nil, args, ErrFlagTerminator } arg = arg[1:] // reduce two minuses to one } switch arg { case "-?", "-h", "-help":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 06 02:38:04 UTC 2022 - 3.6K bytes - Viewed (0) -
src/cmd/go/internal/modindex/index_test.go
"crypto", "encoding", "unsafe", "encoding/json", "runtime", "net", } var raws []*rawPackage for _, pkg := range pkgs { raw := importRaw(src, pkg) raws = append(raws, raw) t.Run(pkg, func(t *testing.T) { data := encodeModuleBytes([]*rawPackage{raw}) m, err := fromBytes(src, data) if err != nil { t.Fatal(err) } checkPkg(t, m, pkg, data) }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 28 23:35:08 UTC 2022 - 2.3K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/sys_darwin.go
// Sys implements the Sys method of Message interface. func (m *InterfaceMessage) Sys() []Sys { return []Sys{ &InterfaceMetrics{ Type: int(m.raw[m.extOff]), MTU: int(nativeEndian.Uint32(m.raw[m.extOff+8 : m.extOff+12])), }, } } func probeRoutingStack() (int, map[int]*wireFormat) { rtm := &wireFormat{extOff: 36, bodyOff: sizeofRtMsghdrDarwin15}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 2.8K bytes - Viewed (0)