repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/conntrack_linux.go
vendor/github.com/vishvananda/netlink/nl/conntrack_linux.go
package nl import "unsafe" // Track the message sizes for the correct serialization/deserialization const ( SizeofNfgenmsg = 4 SizeofNfattr = 4 SizeofNfConntrack = 376 SizeofNfctTupleHead = 52 ) var L4ProtoMap = map[uint8]string{ 6: "tcp", 17: "udp", } // From https://git.netfilter.org/libnetfi...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/mpls_linux.go
vendor/github.com/vishvananda/netlink/nl/mpls_linux.go
package nl import "encoding/binary" const ( MPLS_LS_LABEL_SHIFT = 12 MPLS_LS_S_SHIFT = 8 ) func EncodeMPLSStack(labels ...int) []byte { b := make([]byte, 4*len(labels)) for idx, label := range labels { l := label << MPLS_LS_LABEL_SHIFT if idx == len(labels)-1 { l |= 1 << MPLS_LS_S_SHIFT } binary.B...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/link_linux.go
vendor/github.com/vishvananda/netlink/nl/link_linux.go
package nl import ( "bytes" "encoding/binary" "fmt" "unsafe" ) const ( DEFAULT_CHANGE = 0xFFFFFFFF ) const ( IFLA_INFO_UNSPEC = iota IFLA_INFO_KIND IFLA_INFO_DATA IFLA_INFO_XSTATS IFLA_INFO_SLAVE_KIND IFLA_INFO_SLAVE_DATA IFLA_INFO_MAX = IFLA_INFO_SLAVE_DATA ) const ( IFLA_VLAN_UNSPEC = iota IFLA_VLAN...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/seg6_linux.go
vendor/github.com/vishvananda/netlink/nl/seg6_linux.go
package nl import ( "errors" "fmt" "net" ) type IPv6SrHdr struct { nextHdr uint8 hdrLen uint8 routingType uint8 segmentsLeft uint8 firstSegment uint8 flags uint8 reserved uint16 Segments []net.IP } func (s1 *IPv6SrHdr) Equal(s2 IPv6SrHdr) bool { if len(s1.Segments) != len(s2.Segme...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/genetlink_linux.go
vendor/github.com/vishvananda/netlink/nl/genetlink_linux.go
package nl import ( "unsafe" ) const SizeofGenlmsg = 4 const ( GENL_ID_CTRL = 0x10 GENL_CTRL_VERSION = 2 GENL_CTRL_NAME = "nlctrl" ) const ( GENL_CTRL_CMD_GETFAMILY = 3 ) const ( GENL_CTRL_ATTR_UNSPEC = iota GENL_CTRL_ATTR_FAMILY_ID GENL_CTRL_ATTR_FAMILY_NAME GENL_CTRL_ATTR_VERSION GENL_CTRL_ATTR...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/nl_linux.go
vendor/github.com/vishvananda/netlink/nl/nl_linux.go
// Package nl has low level primitives for making Netlink calls. package nl import ( "bytes" "encoding/binary" "errors" "fmt" "net" "os" "runtime" "sync" "sync/atomic" "syscall" "time" "unsafe" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) const ( // Family type definitions FAMILY_ALL = u...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/route_linux.go
vendor/github.com/vishvananda/netlink/nl/route_linux.go
package nl import ( "unsafe" "golang.org/x/sys/unix" ) type RtMsg struct { unix.RtMsg } func NewRtMsg() *RtMsg { return &RtMsg{ RtMsg: unix.RtMsg{ Table: unix.RT_TABLE_MAIN, Scope: unix.RT_SCOPE_UNIVERSE, Protocol: unix.RTPROT_BOOT, Type: unix.RTN_UNICAST, }, } } func NewRtDelMsg() *...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/xfrm_state_linux.go
vendor/github.com/vishvananda/netlink/nl/xfrm_state_linux.go
package nl import ( "unsafe" ) const ( SizeofXfrmUsersaId = 0x18 SizeofXfrmStats = 0x0c SizeofXfrmUsersaInfo = 0xe0 SizeofXfrmUserSpiInfo = 0xe8 SizeofXfrmAlgo = 0x44 SizeofXfrmAlgoAuth = 0x48 SizeofXfrmAlgoAEAD = 0x48 SizeofXfrmEncapTmpl = 0x18 SizeofXfrmUse...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/xfrm_monitor_linux.go
vendor/github.com/vishvananda/netlink/nl/xfrm_monitor_linux.go
package nl import ( "unsafe" ) const ( SizeofXfrmUserExpire = 0xe8 ) // struct xfrm_user_expire { // struct xfrm_usersa_info state; // __u8 hard; // }; type XfrmUserExpire struct { XfrmUsersaInfo XfrmUsersaInfo Hard uint8 Pad [7]byte } func (msg *XfrmUserExpire) Len() int { return ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/xfrm_linux.go
vendor/github.com/vishvananda/netlink/nl/xfrm_linux.go
package nl import ( "bytes" "net" "unsafe" ) // Infinity for packet and byte counts const ( XFRM_INF = ^uint64(0) ) type XfrmMsgType uint8 type XfrmMsg interface { Type() XfrmMsgType } // Message Types const ( XFRM_MSG_BASE XfrmMsgType = 0x10 XFRM_MSG_NEWSA = 0x10 XFRM_MSG_DELSA ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/syscall.go
vendor/github.com/vishvananda/netlink/nl/syscall.go
package nl // syscall package lack of rule attributes type. // Thus there are defined below const ( FRA_UNSPEC = iota FRA_DST /* destination address */ FRA_SRC /* source address */ FRA_IIFNAME /* interface name */ FRA_GOTO /* target to jump to (FR_ACT_GOTO) */ FRA_UNUSED2 FRA_PRIORITY /* priority/pr...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go
vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go
// +build !linux package nl import "encoding/binary" var SupportedNlFamilies = []int{} func NativeEndian() binary.ByteOrder { return nil }
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/bridge_linux.go
vendor/github.com/vishvananda/netlink/nl/bridge_linux.go
package nl import ( "fmt" "unsafe" ) const ( SizeofBridgeVlanInfo = 0x04 ) /* Bridge Flags */ const ( BRIDGE_FLAGS_MASTER = iota + 1 /* Bridge command to/from master */ BRIDGE_FLAGS_SELF /* Bridge command to/from lowerdev */ ) /* Bridge management nested attributes * [IFLA_AF_SPEC] = { * [IF...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/tc_linux.go
vendor/github.com/vishvananda/netlink/nl/tc_linux.go
package nl import ( "bytes" "encoding/binary" "fmt" "net" "unsafe" "golang.org/x/sys/unix" ) // LinkLayer const ( LINKLAYER_UNSPEC = iota LINKLAYER_ETHERNET LINKLAYER_ATM ) // ATM const ( ATM_CELL_PAYLOAD = 48 ATM_CELL_SIZE = 53 ) const TC_LINKLAYER_MASK = 0x0F // Police const ( TCA_POLICE_UNSPEC =...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
true
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/rdma_link_linux.go
vendor/github.com/vishvananda/netlink/nl/rdma_link_linux.go
package nl const ( RDMA_NL_GET_CLIENT_SHIFT = 10 ) const ( RDMA_NL_NLDEV = 5 ) const ( RDMA_NLDEV_CMD_GET = 1 RDMA_NLDEV_CMD_SET = 2 RDMA_NLDEV_CMD_NEWLINK = 3 RDMA_NLDEV_CMD_DELLINK = 4 RDMA_NLDEV_CMD_SYS_GET = 6 RDMA_NLDEV_CMD_SYS_SET = 7 RDMA_NLDEV_CMD_RES_GET = 9 RDMA_NLDEV_CMD_STAT_GET ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/ip6tnl_linux.go
vendor/github.com/vishvananda/netlink/nl/ip6tnl_linux.go
package nl // id's of route attribute from https://elixir.bootlin.com/linux/v5.17.3/source/include/uapi/linux/lwtunnel.h#L38 // the value's size are specified in https://elixir.bootlin.com/linux/v5.17.3/source/net/ipv4/ip_tunnel_core.c#L928 const ( LWTUNNEL_IP6_UNSPEC = iota LWTUNNEL_IP6_ID LWTUNNEL_IP6_DST LWTUN...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/parse_attr_linux.go
vendor/github.com/vishvananda/netlink/nl/parse_attr_linux.go
package nl import ( "encoding/binary" "fmt" "log" ) type Attribute struct { Type uint16 Value []byte } func ParseAttributes(data []byte) <-chan Attribute { native := NativeEndian() result := make(chan Attribute) go func() { i := 0 for i+4 <= len(data) { length := int(native.Uint16(data[i : i+2])) ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/seg6local_linux.go
vendor/github.com/vishvananda/netlink/nl/seg6local_linux.go
package nl import () // seg6local parameters const ( SEG6_LOCAL_UNSPEC = iota SEG6_LOCAL_ACTION SEG6_LOCAL_SRH SEG6_LOCAL_TABLE SEG6_LOCAL_NH4 SEG6_LOCAL_NH6 SEG6_LOCAL_IIF SEG6_LOCAL_OIF SEG6_LOCAL_BPF SEG6_LOCAL_VRFTABLE __SEG6_LOCAL_MAX ) const ( SEG6_LOCAL_MAX = __SEG6_LOCAL_MAX ) // seg6local action...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/xfrm_policy_linux.go
vendor/github.com/vishvananda/netlink/nl/xfrm_policy_linux.go
package nl import ( "unsafe" ) const ( SizeofXfrmUserpolicyId = 0x40 SizeofXfrmUserpolicyInfo = 0xa8 SizeofXfrmUserTmpl = 0x40 ) // struct xfrm_userpolicy_id { // struct xfrm_selector sel; // __u32 index; // __u8 dir; // }; // type XfrmUserpolicyId struct { Sel XfrmSelector Ind...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/ipset_linux.go
vendor/github.com/vishvananda/netlink/nl/ipset_linux.go
package nl import ( "strconv" "golang.org/x/sys/unix" ) const ( /* The protocol version */ IPSET_PROTOCOL = 6 /* The max length of strings including NUL: set and type identifiers */ IPSET_MAXNAMELEN = 32 /* The maximum permissible comment length we will accept over netlink */ IPSET_MAX_COMMENT_SIZE = 255 )...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netns/netns_others.go
vendor/github.com/vishvananda/netns/netns_others.go
//go:build !linux // +build !linux package netns import "errors" var ErrNotImplemented = errors.New("not implemented") // Setns sets namespace using golang.org/x/sys/unix.Setns on Linux. It // is not implemented on other platforms. // // Deprecated: Use golang.org/x/sys/unix.Setns instead. func Setns(ns NsHandle, n...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netns/nshandle_linux.go
vendor/github.com/vishvananda/netns/nshandle_linux.go
package netns import ( "fmt" "golang.org/x/sys/unix" ) // NsHandle is a handle to a network namespace. It can be cast directly // to an int and used as a file descriptor. type NsHandle int // Equal determines if two network handles refer to the same network // namespace. This is done by comparing the device and i...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netns/nshandle_others.go
vendor/github.com/vishvananda/netns/nshandle_others.go
//go:build !linux // +build !linux package netns // NsHandle is a handle to a network namespace. It can only be used on Linux, // but provides stub methods on other platforms. type NsHandle int // Equal determines if two network handles refer to the same network // namespace. It is only implemented on Linux. func (n...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netns/netns_linux.go
vendor/github.com/vishvananda/netns/netns_linux.go
package netns import ( "fmt" "os" "path" "path/filepath" "strconv" "strings" "golang.org/x/sys/unix" ) // Deprecated: use golang.org/x/sys/unix pkg instead. const ( CLONE_NEWUTS = unix.CLONE_NEWUTS /* New utsname group? */ CLONE_NEWIPC = unix.CLONE_NEWIPC /* New ipcs */ CLONE_NEWUSER = unix.CLONE_NEWUS...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netns/doc.go
vendor/github.com/vishvananda/netns/doc.go
// Package netns allows ultra-simple network namespace handling. NsHandles // can be retrieved and set. Note that the current namespace is thread // local so actions that set and reset namespaces should use LockOSThread // to make sure the namespace doesn't change due to a goroutine switch. // It is best to close NsHan...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/logr.go
vendor/github.com/go-logr/logr/logr.go
/* Copyright 2019 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwa...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/sloghandler.go
vendor/github.com/go-logr/logr/sloghandler.go
//go:build go1.21 // +build go1.21 /* Copyright 2023 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/discard.go
vendor/github.com/go-logr/logr/discard.go
/* Copyright 2020 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwa...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/context_noslog.go
vendor/github.com/go-logr/logr/context_noslog.go
//go:build !go1.21 // +build !go1.21 /* Copyright 2019 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicab...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/slogsink.go
vendor/github.com/go-logr/logr/slogsink.go
//go:build go1.21 // +build go1.21 /* Copyright 2023 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/context_slog.go
vendor/github.com/go-logr/logr/context_slog.go
//go:build go1.21 // +build go1.21 /* Copyright 2019 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/context.go
vendor/github.com/go-logr/logr/context.go
/* Copyright 2023 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwa...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/slogr.go
vendor/github.com/go-logr/logr/slogr.go
//go:build go1.21 // +build go1.21 /* Copyright 2023 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/funcr/funcr.go
vendor/github.com/go-logr/logr/funcr/funcr.go
/* Copyright 2021 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwa...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/logr/funcr/slogsink.go
vendor/github.com/go-logr/logr/funcr/slogsink.go
//go:build go1.21 // +build go1.21 /* Copyright 2023 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/go-logr/stdr/stdr.go
vendor/github.com/go-logr/stdr/stdr.go
/* Copyright 2019 The logr Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwa...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/mistifyio/go-zfs/v3/error.go
vendor/github.com/mistifyio/go-zfs/v3/error.go
package zfs import ( "fmt" ) // Error is an error which is returned when the `zfs` or `zpool` shell // commands return with a non-zero exit code. type Error struct { Err error Debug string Stderr string } // Error returns the string representation of an Error. func (e Error) Error() string { return fmt.Spri...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/mistifyio/go-zfs/v3/utils.go
vendor/github.com/mistifyio/go-zfs/v3/utils.go
package zfs import ( "bytes" "context" "errors" "fmt" "io" "os/exec" "regexp" "runtime" "strconv" "strings" "sync/atomic" "syscall" "time" "github.com/google/uuid" ) // Runner specifies the parameters used when executing ZFS commands. type Runner struct { // Timeout specifies how long to wait before s...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/mistifyio/go-zfs/v3/zfs.go
vendor/github.com/mistifyio/go-zfs/v3/zfs.go
// Package zfs provides wrappers around the ZFS command line tools. package zfs import ( "errors" "fmt" "io" "strconv" "strings" ) // ZFS dataset types, which can indicate if a dataset is a filesystem, snapshot, or volume. const ( DatasetFilesystem = "filesystem" DatasetSnapshot = "snapshot" DatasetVolume ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/mistifyio/go-zfs/v3/utils_solaris.go
vendor/github.com/mistifyio/go-zfs/v3/utils_solaris.go
//go:build solaris // +build solaris package zfs import "strings" var ( // List of ZFS properties to retrieve from zfs list command on a Solaris platform dsPropList = []string{"name", "origin", "used", "available", "mountpoint", "compression", "type", "volsize", "quota", "referenced"} dsPropListOptions = strings...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/mistifyio/go-zfs/v3/utils_notsolaris.go
vendor/github.com/mistifyio/go-zfs/v3/utils_notsolaris.go
//go:build !solaris // +build !solaris package zfs import "strings" var ( // List of ZFS properties to retrieve from zfs list command on a non-Solaris platform. dsPropList = []string{"name", "origin", "used", "available", "mountpoint", "compression", "type", "volsize", "quota", "referenced", "written", "logicaluse...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/mistifyio/go-zfs/v3/zpool.go
vendor/github.com/mistifyio/go-zfs/v3/zpool.go
package zfs // ZFS zpool states, which can indicate if a pool is online, offline, degraded, etc. // // More information regarding zpool states can be found in the ZFS manual: // https://openzfs.github.io/openzfs-docs/man/7/zpoolconcepts.7.html#Device_Failure_and_Recovery const ( ZpoolOnline = "ONLINE" ZpoolDegrade...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/shibumi/go-pathspec/gitignore.go
vendor/github.com/shibumi/go-pathspec/gitignore.go
// // Copyright 2014, Sander van Harmelen // Copyright 2020, Christian Rebischke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // //...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/dbus/subscription_set.go
vendor/github.com/coreos/go-systemd/v22/dbus/subscription_set.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/dbus/dbus.go
vendor/github.com/coreos/go-systemd/v22/dbus/dbus.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/dbus/subscription.go
vendor/github.com/coreos/go-systemd/v22/dbus/subscription.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/dbus/set.go
vendor/github.com/coreos/go-systemd/v22/dbus/set.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/dbus/properties.go
vendor/github.com/coreos/go-systemd/v22/dbus/properties.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/dbus/methods.go
vendor/github.com/coreos/go-systemd/v22/dbus/methods.go
// Copyright 2015, 2018 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
true
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/journal/journal_unix.go
vendor/github.com/coreos/go-systemd/v22/journal/journal_unix.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/journal/journal.go
vendor/github.com/coreos/go-systemd/v22/journal/journal.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/journal/journal_windows.go
vendor/github.com/coreos/go-systemd/v22/journal/journal_windows.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/daemon/sdnotify.go
vendor/github.com/coreos/go-systemd/v22/daemon/sdnotify.go
// Copyright 2014 Docker, Inc. // Copyright 2015-2018 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/daemon/watchdog.go
vendor/github.com/coreos/go-systemd/v22/daemon/watchdog.go
// Copyright 2016 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/activation/listeners.go
vendor/github.com/coreos/go-systemd/v22/activation/listeners.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/activation/packetconns.go
vendor/github.com/coreos/go-systemd/v22/activation/packetconns.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/activation/files_windows.go
vendor/github.com/coreos/go-systemd/v22/activation/files_windows.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-systemd/v22/activation/files_unix.go
vendor/github.com/coreos/go-systemd/v22/activation/files_unix.go
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-semver/semver/sort.go
vendor/github.com/coreos/go-semver/semver/sort.go
// Copyright 2013-2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/coreos/go-semver/semver/semver.go
vendor/github.com/coreos/go-semver/semver/semver.go
// Copyright 2013-2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/circbuf/circbuf.go
vendor/github.com/armon/circbuf/circbuf.go
package circbuf import ( "fmt" ) // Buffer implements a circular buffer. It is a fixed size, // and new writes overwrite older data, such that for a buffer // of size N, for any amount of writes, only the last N bytes // are retained. type Buffer struct { data []byte size int64 writeCursor int64 wr...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/start.go
vendor/github.com/armon/go-metrics/start.go
package metrics import ( "os" "sync" "sync/atomic" "time" iradix "github.com/hashicorp/go-immutable-radix" ) // Config is used to configure metrics settings type Config struct { ServiceName string // Prefixed with keys to separate services HostName string // Hostname to use....
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/const_windows.go
vendor/github.com/armon/go-metrics/const_windows.go
// +build windows package metrics import ( "syscall" ) const ( // DefaultSignal is used with DefaultInmemSignal // Windows has no SIGUSR1, use SIGBREAK DefaultSignal = syscall.Signal(21) )
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/metrics.go
vendor/github.com/armon/go-metrics/metrics.go
package metrics import ( "runtime" "strings" "time" iradix "github.com/hashicorp/go-immutable-radix" ) type Label struct { Name string Value string } func (m *Metrics) SetGauge(key []string, val float32) { m.SetGaugeWithLabels(key, val, nil) } func (m *Metrics) SetGaugeWithLabels(key []string, val float32,...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/statsd.go
vendor/github.com/armon/go-metrics/statsd.go
package metrics import ( "bytes" "fmt" "log" "net" "net/url" "strings" "time" ) const ( // statsdMaxLen is the maximum size of a packet // to send to statsd statsdMaxLen = 1400 ) // StatsdSink provides a MetricSink that can be used // with a statsite or statsd metrics server. It uses // only UDP packets, w...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/sink.go
vendor/github.com/armon/go-metrics/sink.go
package metrics import ( "fmt" "net/url" ) // The MetricSink interface is used to transmit metrics information // to an external system type MetricSink interface { // A Gauge should retain the last value it is set to SetGauge(key []string, val float32) SetGaugeWithLabels(key []string, val float32, labels []Label...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/const_unix.go
vendor/github.com/armon/go-metrics/const_unix.go
// +build !windows package metrics import ( "syscall" ) const ( // DefaultSignal is used with DefaultInmemSignal DefaultSignal = syscall.SIGUSR1 )
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/inmem_signal.go
vendor/github.com/armon/go-metrics/inmem_signal.go
package metrics import ( "bytes" "fmt" "io" "os" "os/signal" "strings" "sync" "syscall" ) // InmemSignal is used to listen for a given signal, and when received, // to dump the current metrics from the InmemSink to an io.Writer type InmemSignal struct { signal syscall.Signal inm *InmemSink w io.Wri...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/inmem_endpoint.go
vendor/github.com/armon/go-metrics/inmem_endpoint.go
package metrics import ( "context" "fmt" "net/http" "sort" "time" ) // MetricsSummary holds a roll-up of metrics info for a given interval type MetricsSummary struct { Timestamp string Gauges []GaugeValue Points []PointValue Counters []SampledValue Samples []SampledValue } type GaugeValue struct {...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/statsite.go
vendor/github.com/armon/go-metrics/statsite.go
package metrics import ( "bufio" "fmt" "log" "net" "net/url" "strings" "time" ) const ( // We force flush the statsite metrics after this period of // inactivity. Prevents stats from getting stuck in a buffer // forever. flushInterval = 100 * time.Millisecond ) // NewStatsiteSinkFromURL creates an Statsit...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/armon/go-metrics/inmem.go
vendor/github.com/armon/go-metrics/inmem.go
package metrics import ( "bytes" "fmt" "math" "net/url" "strings" "sync" "time" ) var spaceReplacer = strings.NewReplacer(" ", "_") // InmemSink provides a MetricSink that does in-memory aggregation // without sending metrics over a network. It can be embedded within // an application to provide profiling inf...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/cenkalti/backoff/v5/exponential.go
vendor/github.com/cenkalti/backoff/v5/exponential.go
package backoff import ( "math/rand/v2" "time" ) /* ExponentialBackOff is a backoff implementation that increases the backoff period for each retry attempt using a randomization function that grows exponentially. NextBackOff() is calculated using the following formula: randomized interval = RetryInterval * ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/cenkalti/backoff/v5/error.go
vendor/github.com/cenkalti/backoff/v5/error.go
package backoff import ( "fmt" "time" ) // PermanentError signals that the operation should not be retried. type PermanentError struct { Err error } // Permanent wraps the given err in a *PermanentError. func Permanent(err error) error { if err == nil { return nil } return &PermanentError{ Err: err, } } ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/cenkalti/backoff/v5/timer.go
vendor/github.com/cenkalti/backoff/v5/timer.go
package backoff import "time" type timer interface { Start(duration time.Duration) Stop() C() <-chan time.Time } // defaultTimer implements Timer interface using time.Timer type defaultTimer struct { timer *time.Timer } // C returns the timers channel which receives the current time when the timer fires. func (...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/cenkalti/backoff/v5/ticker.go
vendor/github.com/cenkalti/backoff/v5/ticker.go
package backoff import ( "sync" "time" ) // Ticker holds a channel that delivers `ticks' of a clock at times reported by a BackOff. // // Ticks will continue to arrive when the previous operation is still running, // so operations that take a while to fail could run in quick succession. type Ticker struct { C ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/cenkalti/backoff/v5/backoff.go
vendor/github.com/cenkalti/backoff/v5/backoff.go
// Package backoff implements backoff algorithms for retrying operations. // // Use Retry function for retrying operations that may fail. // If Retry does not meet your needs, // copy/paste the function into your project and modify as you wish. // // There is also Ticker type similar to time.Ticker. // You can use it i...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/cenkalti/backoff/v5/retry.go
vendor/github.com/cenkalti/backoff/v5/retry.go
package backoff import ( "context" "errors" "time" ) // DefaultMaxElapsedTime sets a default limit for the total retry duration. const DefaultMaxElapsedTime = 15 * time.Minute // Operation is a function that attempts an operation and may be retried. type Operation[T any] func() (T, error) // Notify is a function...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/resultset.go
vendor/github.com/zmap/zlint/v3/resultset.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/zlint.go
vendor/github.com/zmap/zlint/v3/zlint.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/time.go
vendor/github.com/zmap/zlint/v3/util/time.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/algorithm_identifier.go
vendor/github.com/zmap/zlint/v3/util/algorithm_identifier.go
package util import ( "bytes" "encoding/asn1" "errors" "fmt" "github.com/zmap/zcrypto/x509" "golang.org/x/crypto/cryptobyte" cryptobyte_asn1 "golang.org/x/crypto/cryptobyte/asn1" ) // additional OIDs not provided by the x509 package. var ( // 1.2.840.10045.4.3.1 is SHA224withECDSA OidSignatureSHA224withECDS...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/ev.go
vendor/github.com/zmap/zlint/v3/util/ev.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/rdn.go
vendor/github.com/zmap/zlint/v3/util/rdn.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/ku.go
vendor/github.com/zmap/zlint/v3/util/ku.go
package util import "github.com/zmap/zcrypto/x509" var ( // KeyUsageToString maps an x509.KeyUsage bitmask to its name. KeyUsageToString = map[x509.KeyUsage]string{ x509.KeyUsageDigitalSignature: "KeyUsageDigitalSignature", x509.KeyUsageContentCommitment: "KeyUsageContentCommitment", x509.KeyUsageKeyEncipher...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/ca.go
vendor/github.com/zmap/zlint/v3/util/ca.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/names.go
vendor/github.com/zmap/zlint/v3/util/names.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/gtld.go
vendor/github.com/zmap/zlint/v3/util/gtld.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/qc_stmt.go
vendor/github.com/zmap/zlint/v3/util/qc_stmt.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/gtld_map.go
vendor/github.com/zmap/zlint/v3/util/gtld_map.go
// Code generated by go generate; DO NOT EDIT. // This file was generated by zlint-gtld-update. /* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a cop...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
true
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/encodings.go
vendor/github.com/zmap/zlint/v3/util/encodings.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/fqdn.go
vendor/github.com/zmap/zlint/v3/util/fqdn.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/countries.go
vendor/github.com/zmap/zlint/v3/util/countries.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/oid.go
vendor/github.com/zmap/zlint/v3/util/oid.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/primes.go
vendor/github.com/zmap/zlint/v3/util/primes.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/eku.go
vendor/github.com/zmap/zlint/v3/util/eku.go
package util import "github.com/zmap/zcrypto/x509" // HasEKU tests whether an Extended Key Usage (EKU) is present in a certificate. func HasEKU(cert *x509.Certificate, eku x509.ExtKeyUsage) bool { for _, currentEku := range cert.ExtKeyUsage { if currentEku == eku { return true } } return false }
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/util/ip.go
vendor/github.com/zmap/zlint/v3/util/ip.go
/* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/lints/community/lint_san_bare_wildcard.go
vendor/github.com/zmap/zlint/v3/lints/community/lint_san_bare_wildcard.go
package community /* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/lints/community/lint_ian_wildcard_not_first.go
vendor/github.com/zmap/zlint/v3/lints/community/lint_ian_wildcard_not_first.go
package community /* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/lints/community/lint_is_redacted_cert.go
vendor/github.com/zmap/zlint/v3/lints/community/lint_is_redacted_cert.go
package community /* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/zmap/zlint/v3/lints/community/lint_validity_time_not_positive.go
vendor/github.com/zmap/zlint/v3/lints/community/lint_validity_time_not_positive.go
package community /* * ZLint Copyright 2021 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false