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 |
|---|---|---|---|---|---|---|---|---|
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/qchar.go | vendor/github.com/jackc/pgtype/qchar.go | package pgtype
import (
"fmt"
"math"
"strconv"
)
// QChar is for PostgreSQL's special 8-bit-only "char" type more akin to the C
// language's char type, or Go's byte type. (Note that the name in PostgreSQL
// itself is "char", in double-quotes, and not char.) It gets used a lot in
// PostgreSQL's system tables to ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/tstzrange.go | vendor/github.com/jackc/pgtype/tstzrange.go | package pgtype
import (
"database/sql/driver"
"fmt"
"github.com/jackc/pgio"
)
type Tstzrange struct {
Lower Timestamptz
Upper Timestamptz
LowerType BoundType
UpperType BoundType
Status Status
}
func (dst *Tstzrange) Set(src interface{}) error {
// untyped nil and typed nil interfaces are differe... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/numrange.go | vendor/github.com/jackc/pgtype/numrange.go | package pgtype
import (
"database/sql/driver"
"fmt"
"github.com/jackc/pgio"
)
type Numrange struct {
Lower Numeric
Upper Numeric
LowerType BoundType
UpperType BoundType
Status Status
}
func (dst *Numrange) Set(src interface{}) error {
// untyped nil and typed nil interfaces are different
if src... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int4.go | vendor/github.com/jackc/pgtype/int4.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"encoding/json"
"fmt"
"math"
"strconv"
"github.com/jackc/pgio"
)
type Int4 struct {
Int int32
Status Status
}
func (dst *Int4) Set(src interface{}) error {
if src == nil {
*dst = Int4{Status: Null}
return nil
}
if value, ok := src.(... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/name.go | vendor/github.com/jackc/pgtype/name.go | package pgtype
import (
"database/sql/driver"
)
// Name is a type used for PostgreSQL's special 63-byte
// name data type, used for identifiers like table names.
// The pg_class.relname column is a good example of where the
// name data type is used.
//
// Note that the underlying Go data type of pgx.Name is string,... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/date.go | vendor/github.com/jackc/pgtype/date.go | package pgtype
import (
"database/sql"
"database/sql/driver"
"encoding/binary"
"encoding/json"
"fmt"
"strings"
"time"
"github.com/jackc/pgio"
)
type Date struct {
Time time.Time
Status Status
InfinityModifier InfinityModifier
}
const (
negativeInfinityDayOffset = -2147483648
infin... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/point.go | vendor/github.com/jackc/pgtype/point.go | package pgtype
import (
"bytes"
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"strings"
"github.com/jackc/pgio"
)
type Vec2 struct {
X float64
Y float64
}
type Point struct {
P Vec2
Status Status
}
func (dst *Point) Set(src interface{}) error {
if src == nil {
dst.Status = Null... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int8range.go | vendor/github.com/jackc/pgtype/int8range.go | package pgtype
import (
"database/sql/driver"
"fmt"
"github.com/jackc/pgio"
)
type Int8range struct {
Lower Int8
Upper Int8
LowerType BoundType
UpperType BoundType
Status Status
}
func (dst *Int8range) Set(src interface{}) error {
// untyped nil and typed nil interfaces are different
if src == ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/hstore_array.go | vendor/github.com/jackc/pgtype/hstore_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type HstoreArray struct {
Elements []Hstore
Dimensions []ArrayDimension
Status Status
}
func (dst *HstoreArray) Set(src interface{}) error {
// untyped nil... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/macaddr.go | vendor/github.com/jackc/pgtype/macaddr.go | package pgtype
import (
"database/sql/driver"
"fmt"
"net"
)
type Macaddr struct {
Addr net.HardwareAddr
Status Status
}
func (dst *Macaddr) Set(src interface{}) error {
if src == nil {
*dst = Macaddr{Status: Null}
return nil
}
if value, ok := src.(interface{ Get() interface{} }); ok {
value2 := valu... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/interval.go | vendor/github.com/jackc/pgtype/interval.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"strconv"
"strings"
"time"
"github.com/jackc/pgio"
)
const (
microsecondsPerSecond = 1000000
microsecondsPerMinute = 60 * microsecondsPerSecond
microsecondsPerHour = 60 * microsecondsPerMinute
microsecondsPerDay = 24 * microseconds... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/macaddr_array.go | vendor/github.com/jackc/pgtype/macaddr_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"net"
"reflect"
"github.com/jackc/pgio"
)
type MacaddrArray struct {
Elements []Macaddr
Dimensions []ArrayDimension
Status Status
}
func (dst *MacaddrArray) Set(src interface{}) error {
// u... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/record.go | vendor/github.com/jackc/pgtype/record.go | package pgtype
import (
"fmt"
"reflect"
)
// Record is the generic PostgreSQL record type such as is created with the
// "row" function. Record only implements BinaryDecoder and Value. The text
// format output format from PostgreSQL does not include type information and is
// therefore impossible to decode. No enc... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/text_array.go | vendor/github.com/jackc/pgtype/text_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type TextArray struct {
Elements []Text
Dimensions []ArrayDimension
Status Status
}
func (dst *TextArray) Set(src interface{}) error {
// untyped nil and t... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/tid.go | vendor/github.com/jackc/pgtype/tid.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"strconv"
"strings"
"github.com/jackc/pgio"
)
// TID is PostgreSQL's Tuple Identifier type.
//
// When one does
//
// select ctid, * from some_table;
//
// it is the data type of the ctid hidden system column.
//
// It is currently implemen... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/jsonb.go | vendor/github.com/jackc/pgtype/jsonb.go | package pgtype
import (
"database/sql/driver"
"fmt"
)
type JSONB JSON
func (dst *JSONB) Set(src interface{}) error {
return (*JSON)(dst).Set(src)
}
func (dst JSONB) Get() interface{} {
return (JSON)(dst).Get()
}
func (src *JSONB) AssignTo(dst interface{}) error {
return (*JSON)(src).AssignTo(dst)
}
func (JSO... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/tsrange_array.go | vendor/github.com/jackc/pgtype/tsrange_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type TsrangeArray struct {
Elements []Tsrange
Dimensions []ArrayDimension
Status Status
}
func (dst *TsrangeArray) Set(src interface{}) error {
// untyped ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/lseg.go | vendor/github.com/jackc/pgtype/lseg.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"strings"
"github.com/jackc/pgio"
)
type Lseg struct {
P [2]Vec2
Status Status
}
func (dst *Lseg) Set(src interface{}) error {
return fmt.Errorf("cannot convert %v to Lseg", src)
}
func (dst Lseg) Get() interface{... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/hstore.go | vendor/github.com/jackc/pgtype/hstore.go | package pgtype
import (
"bytes"
"database/sql/driver"
"encoding/binary"
"errors"
"fmt"
"strings"
"unicode"
"unicode/utf8"
"github.com/jackc/pgio"
)
// Hstore represents an hstore column that can be null or have null values
// associated with its keys.
type Hstore struct {
Map map[string]Text
Status Sta... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/bytea_array.go | vendor/github.com/jackc/pgtype/bytea_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type ByteaArray struct {
Elements []Bytea
Dimensions []ArrayDimension
Status Status
}
func (dst *ByteaArray) Set(src interface{}) error {
// untyped nil an... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int4_multirange.go | vendor/github.com/jackc/pgtype/int4_multirange.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"github.com/jackc/pgio"
)
type Int4multirange struct {
Ranges []Int4range
Status Status
}
func (dst *Int4multirange) Set(src interface{}) error {
//untyped nil and typed nil interfaces are different
if src == nil {
*dst = Int4multirange... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/numeric.go | vendor/github.com/jackc/pgtype/numeric.go | package pgtype
import (
"bytes"
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"math/big"
"strconv"
"strings"
"github.com/jackc/pgio"
)
// PostgreSQL internal numeric storage uses 16-bit "digits" with base of 10,000
const nbase = 10000
const (
pgNumericNaN = 0x00000000c0000000
pgNumericNaNSign ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/oid.go | vendor/github.com/jackc/pgtype/oid.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"strconv"
"github.com/jackc/pgio"
)
// OID (Object Identifier Type) is, according to
// https://www.postgresql.org/docs/current/static/datatype-oid.html, used
// internally by PostgreSQL as a primary key for various system tables. It is
// cu... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/numeric_array.go | vendor/github.com/jackc/pgtype/numeric_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type NumericArray struct {
Elements []Numeric
Dimensions []ArrayDimension
Status Status
}
func (dst *NumericArray) Set(src interface{}) error {
// untyped ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/pgtype.go | vendor/github.com/jackc/pgtype/pgtype.go | package pgtype
import (
"database/sql"
"encoding/binary"
"errors"
"fmt"
"math"
"net"
"reflect"
"time"
)
// PostgreSQL oids for common types
const (
BoolOID = 16
ByteaOID = 17
QCharOID = 18
NameOID = 19
Int8OID = 20
Int2OID = 21
Int4O... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/bit.go | vendor/github.com/jackc/pgtype/bit.go | package pgtype
import (
"database/sql/driver"
)
type Bit Varbit
func (dst *Bit) Set(src interface{}) error {
return (*Varbit)(dst).Set(src)
}
func (dst Bit) Get() interface{} {
return (Varbit)(dst).Get()
}
func (src *Bit) AssignTo(dst interface{}) error {
return (*Varbit)(src).AssignTo(dst)
}
func (dst *Bit) ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/varchar_array.go | vendor/github.com/jackc/pgtype/varchar_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type VarcharArray struct {
Elements []Varchar
Dimensions []ArrayDimension
Status Status
}
func (dst *VarcharArray) Set(src interface{}) error {
// untyped ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/inet.go | vendor/github.com/jackc/pgtype/inet.go | package pgtype
import (
"database/sql/driver"
"encoding"
"fmt"
"net"
"strings"
)
// Network address family is dependent on server socket.h value for AF_INET.
// In practice, all platforms appear to have the same value. See
// src/include/utils/inet.h for more information.
const (
defaultAFInet = 2
defaultAFIn... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/oid_value.go | vendor/github.com/jackc/pgtype/oid_value.go | package pgtype
import (
"database/sql/driver"
)
// OIDValue (Object Identifier Type) is, according to
// https://www.postgresql.org/docs/current/static/datatype-OIDValue.html, used
// internally by PostgreSQL as a primary key for various system tables. It is
// currently implemented as an unsigned four-byte integer.... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/daterange.go | vendor/github.com/jackc/pgtype/daterange.go | package pgtype
import (
"database/sql/driver"
"fmt"
"github.com/jackc/pgio"
)
type Daterange struct {
Lower Date
Upper Date
LowerType BoundType
UpperType BoundType
Status Status
}
func (dst *Daterange) Set(src interface{}) error {
// untyped nil and typed nil interfaces are different
if src == ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/range.go | vendor/github.com/jackc/pgtype/range.go | package pgtype
import (
"bytes"
"encoding/binary"
"fmt"
)
type BoundType byte
const (
Inclusive = BoundType('i')
Exclusive = BoundType('e')
Unbounded = BoundType('U')
Empty = BoundType('E')
)
func (bt BoundType) String() string {
return string(bt)
}
type UntypedTextRange struct {
Lower string
Upp... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/generic_text.go | vendor/github.com/jackc/pgtype/generic_text.go | package pgtype
import (
"database/sql/driver"
)
// GenericText is a placeholder for text format values that no other type exists
// to handle.
type GenericText Text
func (dst *GenericText) Set(src interface{}) error {
return (*Text)(dst).Set(src)
}
func (dst GenericText) Get() interface{} {
return (Text)(dst).Ge... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/uuid_array.go | vendor/github.com/jackc/pgtype/uuid_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type UUIDArray struct {
Elements []UUID
Dimensions []ArrayDimension
Status Status
}
func (dst *UUIDArray) Set(src interface{}) error {
// untyped nil and t... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/enum_array.go | vendor/github.com/jackc/pgtype/enum_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"fmt"
"reflect"
)
type EnumArray struct {
Elements []GenericText
Dimensions []ArrayDimension
Status Status
}
func (dst *EnumArray) Set(src interface{}) error {
// untyped nil and typed nil interfaces are different
if ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/json_array.go | vendor/github.com/jackc/pgtype/json_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"encoding/json"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type JSONArray struct {
Elements []JSON
Dimensions []ArrayDimension
Status Status
}
func (dst *JSONArray) Set(src interface{}) error {
// ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/array_type.go | vendor/github.com/jackc/pgtype/array_type.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
// ArrayType represents an array type. While it implements Value, this is only in service of its type conversion duties
// when registered as a data type in a ConnType. It should not be used directly as a V... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/generic_binary.go | vendor/github.com/jackc/pgtype/generic_binary.go | package pgtype
import (
"database/sql/driver"
)
// GenericBinary is a placeholder for binary format values that no other type exists
// to handle.
type GenericBinary Bytea
func (dst *GenericBinary) Set(src interface{}) error {
return (*Bytea)(dst).Set(src)
}
func (dst GenericBinary) Get() interface{} {
return (B... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/database_sql.go | vendor/github.com/jackc/pgtype/database_sql.go | package pgtype
import (
"database/sql/driver"
"errors"
)
func DatabaseSQLValue(ci *ConnInfo, src Value) (interface{}, error) {
if valuer, ok := src.(driver.Valuer); ok {
return valuer.Value()
}
if textEncoder, ok := src.(TextEncoder); ok {
buf, err := textEncoder.EncodeText(ci, nil)
if err != nil {
ret... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/cid.go | vendor/github.com/jackc/pgtype/cid.go | package pgtype
import (
"database/sql/driver"
)
// CID is PostgreSQL's Command Identifier type.
//
// When one does
//
// select cmin, cmax, * from some_table;
//
// it is the data type of the cmin and cmax hidden system columns.
//
// It is currently implemented as an unsigned four byte integer.
// Its definition ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/multirange.go | vendor/github.com/jackc/pgtype/multirange.go | package pgtype
import (
"bytes"
"fmt"
)
type UntypedTextMultirange struct {
Elements []string
}
func ParseUntypedTextMultirange(src string) (*UntypedTextMultirange, error) {
utmr := &UntypedTextMultirange{}
utmr.Elements = make([]string, 0)
buf := bytes.NewBufferString(src)
skipWhitespace(buf)
r, _, err :... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/dsn.go | vendor/github.com/go-sql-driver/mysql/dsn.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2016 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/driver.go | vendor/github.com/go-sql-driver/mysql/driver.go | // Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
// Package mysql provides a MySQL driver for G... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/transaction.go | vendor/github.com/go-sql-driver/mysql/transaction.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/statement.go | vendor/github.com/go-sql-driver/mysql/statement.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/result.go | vendor/github.com/go-sql-driver/mysql/result.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/buffer.go | vendor/github.com/go-sql-driver/mysql/buffer.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2013 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/nulltime_go113.go | vendor/github.com/go-sql-driver/mysql/nulltime_go113.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2013 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/errors.go | vendor/github.com/go-sql-driver/mysql/errors.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2013 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/utils.go | vendor/github.com/go-sql-driver/mysql/utils.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/connection.go | vendor/github.com/go-sql-driver/mysql/connection.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/nulltime_legacy.go | vendor/github.com/go-sql-driver/mysql/nulltime_legacy.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2013 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/packets.go | vendor/github.com/go-sql-driver/mysql/packets.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/infile.go | vendor/github.com/go-sql-driver/mysql/infile.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2013 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/rows.go | vendor/github.com/go-sql-driver/mysql/rows.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/const.go | vendor/github.com/go-sql-driver/mysql/const.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/auth.go | vendor/github.com/go-sql-driver/mysql/auth.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2018 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/conncheck_dummy.go | vendor/github.com/go-sql-driver/mysql/conncheck_dummy.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2019 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/collations.go | vendor/github.com/go-sql-driver/mysql/collations.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2014 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/connector.go | vendor/github.com/go-sql-driver/mysql/connector.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2018 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/conncheck.go | vendor/github.com/go-sql-driver/mysql/conncheck.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2019 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/nulltime.go | vendor/github.com/go-sql-driver/mysql/nulltime.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2013 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-sql-driver/mysql/fields.go | vendor/github.com/go-sql-driver/mysql/fields.go | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2017 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-asn1-ber/asn1-ber/content_int.go | vendor/github.com/go-asn1-ber/asn1-ber/content_int.go | package ber
func encodeUnsignedInteger(i uint64) []byte {
n := uint64Length(i)
out := make([]byte, n)
var j int
for ; n > 0; n-- {
out[j] = byte(i >> uint((n-1)*8))
j++
}
return out
}
func uint64Length(i uint64) (numBytes int) {
numBytes = 1
for i > 255 {
numBytes++
i >>= 8
}
return
}
| go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-asn1-ber/asn1-ber/length.go | vendor/github.com/go-asn1-ber/asn1-ber/length.go | package ber
import (
"errors"
"fmt"
"io"
)
func readLength(reader io.Reader) (length int, read int, err error) {
// length byte
b, err := readByte(reader)
if err != nil {
if Debug {
fmt.Printf("error reading length byte: %v\n", err)
}
return 0, 0, err
}
read++
switch {
case b == 0xFF:
// Invalid... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-asn1-ber/asn1-ber/util.go | vendor/github.com/go-asn1-ber/asn1-ber/util.go | package ber
import "io"
func readByte(reader io.Reader) (byte, error) {
bytes := make([]byte, 1)
_, err := io.ReadFull(reader, bytes)
if err != nil {
if err == io.EOF {
return 0, io.ErrUnexpectedEOF
}
return 0, err
}
return bytes[0], nil
}
func isEOCPacket(p *Packet) bool {
return p != nil &&
p.Tag ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-asn1-ber/asn1-ber/identifier.go | vendor/github.com/go-asn1-ber/asn1-ber/identifier.go | package ber
import (
"errors"
"fmt"
"io"
)
func readIdentifier(reader io.Reader) (Identifier, int, error) {
identifier := Identifier{}
read := 0
// identifier byte
b, err := readByte(reader)
if err != nil {
if Debug {
fmt.Printf("error reading identifier byte: %v\n", err)
}
return Identifier{}, read... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-asn1-ber/asn1-ber/header.go | vendor/github.com/go-asn1-ber/asn1-ber/header.go | package ber
import (
"errors"
"fmt"
"io"
)
func readHeader(reader io.Reader) (identifier Identifier, length int, read int, err error) {
var (
c, l int
i Identifier
)
if i, c, err = readIdentifier(reader); err != nil {
return Identifier{}, 0, read, err
}
identifier = i
read += c
if l, c, err = rea... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-asn1-ber/asn1-ber/real.go | vendor/github.com/go-asn1-ber/asn1-ber/real.go | package ber
import (
"bytes"
"errors"
"fmt"
"math"
"strconv"
"strings"
)
func encodeFloat(v float64) []byte {
switch {
case math.IsInf(v, 1):
return []byte{0x40}
case math.IsInf(v, -1):
return []byte{0x41}
case math.IsNaN(v):
return []byte{0x42}
case v == 0.0:
if math.Signbit(v) {
return []byte{... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-asn1-ber/asn1-ber/ber.go | vendor/github.com/go-asn1-ber/asn1-ber/ber.go | package ber
import (
"bytes"
"errors"
"fmt"
"io"
"math"
"os"
"reflect"
"time"
"unicode/utf8"
)
// MaxPacketLengthBytes specifies the maximum allowed packet size when calling ReadPacket or DecodePacket. Set to 0 for
// no limit.
var MaxPacketLengthBytes int64 = math.MaxInt32
type Packet struct {
Identifier
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/go-asn1-ber/asn1-ber/generalizedTime.go | vendor/github.com/go-asn1-ber/asn1-ber/generalizedTime.go | package ber
import (
"bytes"
"errors"
"fmt"
"strconv"
"time"
)
// ErrInvalidTimeFormat is returned when the generalizedTime string was not correct.
var ErrInvalidTimeFormat = errors.New("invalid time format")
var zeroTime = time.Time{}
// ParseGeneralizedTime parses a string value and if it conforms to
// Gene... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/pprof/profile/merge.go | vendor/github.com/google/pprof/profile/merge.go | // Copyright 2014 Google Inc. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/pprof/profile/index.go | vendor/github.com/google/pprof/profile/index.go | // Copyright 2016 Google Inc. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/pprof/profile/profile.go | vendor/github.com/google/pprof/profile/profile.go | // Copyright 2014 Google Inc. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/pprof/profile/filter.go | vendor/github.com/google/pprof/profile/filter.go | // Copyright 2014 Google Inc. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/pprof/profile/proto.go | vendor/github.com/google/pprof/profile/proto.go | // Copyright 2014 Google Inc. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/pprof/profile/encode.go | vendor/github.com/google/pprof/profile/encode.go | // Copyright 2014 Google Inc. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/pprof/profile/legacy_profile.go | vendor/github.com/google/pprof/profile/legacy_profile.go | // Copyright 2014 Google Inc. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/pprof/profile/prune.go | vendor/github.com/google/pprof/profile/prune.go | // Copyright 2014 Google Inc. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/pprof/profile/legacy_java_profile.go | vendor/github.com/google/pprof/profile/legacy_java_profile.go | // Copyright 2014 Google Inc. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/jsonschema/base.go | vendor/github.com/google/gnostic-models/jsonschema/base.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/jsonschema/models.go | vendor/github.com/google/gnostic-models/jsonschema/models.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/jsonschema/writer.go | vendor/github.com/google/gnostic-models/jsonschema/writer.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/jsonschema/reader.go | vendor/github.com/google/gnostic-models/jsonschema/reader.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/jsonschema/operations.go | vendor/github.com/google/gnostic-models/jsonschema/operations.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/jsonschema/display.go | vendor/github.com/google/gnostic-models/jsonschema/display.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/extensions/extension.pb.go | vendor/github.com/google/gnostic-models/extensions/extension.pb.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/extensions/extensions.go | vendor/github.com/google/gnostic-models/extensions/extensions.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/openapiv2/document.go | vendor/github.com/google/gnostic-models/openapiv2/document.go | // Copyright 2020 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.go | vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.go | // Copyright 2020 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.pb.go | vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.pb.go | // Copyright 2020 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/openapiv3/document.go | vendor/github.com/google/gnostic-models/openapiv3/document.go | // Copyright 2020 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.go | vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.go | // Copyright 2020 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.pb.go | vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.pb.go | // Copyright 2020 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/compiler/error.go | vendor/github.com/google/gnostic-models/compiler/error.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/compiler/reader.go | vendor/github.com/google/gnostic-models/compiler/reader.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/compiler/extensions.go | vendor/github.com/google/gnostic-models/compiler/extensions.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/compiler/context.go | vendor/github.com/google/gnostic-models/compiler/context.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/compiler/helpers.go | vendor/github.com/google/gnostic-models/compiler/helpers.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/gnostic-models/compiler/main.go | vendor/github.com/google/gnostic-models/compiler/main.go | // Copyright 2017 Google LLC. All Rights Reserved.
//
// 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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/google/shlex/shlex.go | vendor/github.com/google/shlex/shlex.go | /*
Copyright 2012 Google Inc. All Rights Reserved.
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 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.