text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func Uint32ToUint32(uint32_ uint32) uint32 {
return uint32_
} | [
0.31274062395095825,
0.3406660258769989,
0.50749272108078,
-1.5235573053359985,
-0.47475990653038025,
1.175148844718933,
-0.5515446662902832,
-0.34528055787086487,
-0.5924385786056519,
-0.6196869611740112,
0.10919728130102158,
-0.6649883389472961,
0.10554271936416626,
-0.832431435585022,
... |
func Uint32ToUint16(uint32_ uint32) (uint16_ uint16) {
uint16_ = uint16(uint32_)
return
} | [
0.40977805852890015,
1.0264493227005005,
0.47440657019615173,
-1.586212158203125,
0.4025605618953705,
0.4006879925727844,
-0.6530864834785461,
-0.20720277726650238,
-0.11328873783349991,
-0.26337721943855286,
-0.3941299021244049,
-0.4797055423259735,
0.3041589558124542,
-0.6377888321876526... |
func Uint32ToUint8(uint32_ uint32) (uint8_ uint8) {
uint8_ = uint8(uint32_)
return
} | [
-0.3865886926651001,
0.8428532481193542,
0.1382814198732376,
-1.1506705284118652,
-0.05385266989469528,
0.9797690510749817,
-0.6538906693458557,
0.014753052964806557,
-0.08924843370914459,
0.1526239961385727,
-0.3162612318992615,
-0.17807796597480774,
-0.45166006684303284,
-0.6899268031120... |
func Uint32ToUint(uint32_ uint32) (uint_ uint) {
uint_ = uint(uint32_)
return
} | [
-0.1269908994436264,
0.38523364067077637,
0.43633410334587097,
-2.320469379425049,
-0.1269425004720688,
0.5205516815185547,
-0.4366779327392578,
-0.3662482798099518,
-0.9639681577682495,
-0.3950919508934021,
-0.5966782569885254,
-0.3614070415496826,
0.1295831799507141,
-0.8750898241996765,... |
func Uint32ToInt64(uint32_ uint32) (int64_ int64) {
int64_ = int64(uint32_)
return
} | [
-0.17958186566829681,
0.6228405833244324,
0.33970803022384644,
-0.6810194253921509,
0.2705684006214142,
-0.19862361252307892,
-0.6450961828231812,
-0.8214454054832458,
-0.5237712264060974,
-0.012595195323228836,
-0.2605747878551483,
-0.8793485760688782,
0.04723877087235451,
0.1821435540914... |
func Uint32ToInt32(uint32_ uint32) (int32_ int32) {
int32_ = int32(uint32_)
return
} | [
0.8033809661865234,
0.25747543573379517,
0.44102904200553894,
-1.561172604560852,
-0.059230219572782516,
0.3963578939437866,
-0.3098415434360504,
-0.9912976026535034,
-0.24506686627864838,
-0.12909024953842163,
-0.5720715522766113,
-0.4080902934074402,
0.14815761148929596,
-0.1988620758056... |
func Uint32ToInt16(uint32_ uint32) (int16_ int16) {
int16_ = int16(uint32_)
return
} | [
0.6702232360839844,
0.582500159740448,
0.39656949043273926,
-1.4511679410934448,
0.331125408411026,
-0.2594657838344574,
-0.2791987359523773,
-0.7129945158958435,
0.08448528498411179,
0.11206817626953125,
-0.8657259941101074,
-0.24953052401542664,
0.2167837768793106,
-0.2334595024585724,
... |
func Uint32ToInt8(uint32_ uint32) (int8_ int8) {
int8_ = int8(uint32_)
return
} | [
0.019040117040276527,
0.5257234573364258,
0.03202201798558235,
-0.6531106233596802,
-0.12766911089420319,
0.35358574986457825,
-0.3472434878349304,
-0.4328443706035614,
0.3889460563659668,
0.5036944150924683,
-0.14028874039649963,
-0.021950412541627884,
-0.3956027925014496,
-0.012537274509... |
func Uint32ToInt(uint32_ uint32) (int_ int) {
int_ = int(uint32_)
return
} | [
0.8593881130218506,
0.2277611643075943,
0.2986946702003479,
-1.9450981616973877,
-0.3500274419784546,
0.2583625912666321,
-0.044057250022888184,
-0.8510187268257141,
-0.813073992729187,
0.09898854792118073,
-0.6484287977218628,
-0.6487094163894653,
-0.04634303227066994,
-0.2180900722742080... |
func Uint32ToBool(uint32_ uint32) (bool_ bool) {
if uint32_ == 0 {
bool_ = false
} else if uint32_ == 1 { // || int_ > 0 {
bool_ = true
} else {
}
return
} | [
-0.2625071108341217,
0.5442733764648438,
0.6545182466506958,
-0.6636648774147034,
-0.1766168624162674,
0.67378169298172,
0.06637458503246307,
-0.5200735926628113,
-0.1582069993019104,
0.12337882071733475,
-0.5747091174125671,
-0.5611464977264404,
0.6053794026374817,
0.3370218873023987,
0... |
func (m Message) String() string {
return fmt.Sprintf("UserID: %v; Timestamp: %v; ChatGUID: %v; Username: %v; Text: %v", m.UserID, m.Timestamp, m.ChatGUID, m.Username, m.Text)
} | [
0.11381843686103821,
-0.9513109922409058,
0.12045760452747345,
-0.47508153319358826,
-0.5681403875350952,
0.6927979588508606,
0.0302167609333992,
-1.1805588006973267,
-1.19076406955719,
0.14484433829784393,
0.1142948642373085,
0.9046646356582642,
-0.6763801574707031,
0.543541669845581,
-... |
func (c Client) String() string {
return fmt.Sprintf("UserID: %v; Username: %v", c.UserID, c.Username)
} | [
0.4975406229496002,
-1.050455093383789,
-0.021751677617430687,
-0.6975237131118774,
-0.6611464023590088,
1.1674543619155884,
0.7473238706588745,
-0.7326972484588623,
-0.9043009281158447,
0.14653858542442322,
-0.13233338296413422,
1.2120201587677002,
-0.2847025394439697,
-0.4723514318466186... |
func IsHostname(str string) bool {
if !rxHostname.MatchString(str) {
return false
}
// the sum of all label octets and label lengths is limited to 255.
if len(str) > 255 {
return false
}
// Each node has a label, which is zero to 63 octets in length
parts := strings.Split(str, ".")
valid := true
for _, p... | [
-0.5592933893203735,
-0.07467877119779587,
0.9331688284873962,
0.8358229994773865,
-0.8651835918426514,
0.18306516110897064,
-0.06595911830663681,
-0.24076338112354279,
0.7030507922172546,
0.23715464770793915,
-0.06393876671791077,
-0.27273717522621155,
-0.8480203747749329,
-0.644561469554... |
func IsUUID(str string) bool {
return rxUUID.MatchString(str)
} | [
-0.13808155059814453,
-0.903473973274231,
0.5118971467018127,
0.20898893475532532,
-0.5728426575660706,
0.24308593571186066,
-0.5727127194404602,
0.6411518454551697,
1.1334341764450073,
-0.17928636074066162,
-0.1537379026412964,
0.3824140429496765,
-1.3757256269454956,
-0.84767746925354,
... |
func IsUUID3(str string) bool {
return rxUUID3.MatchString(str)
} | [
-0.9343660473823547,
-0.1400279849767685,
0.2553790509700775,
0.14470820128917694,
-0.9562951326370239,
0.3826274275779724,
-0.998590886592865,
0.47523045539855957,
1.3320029973983765,
0.019188858568668365,
-0.09980328381061554,
0.2873951494693756,
-1.3817123174667358,
-1.3589508533477783,... |
func IsUUID4(str string) bool {
return rxUUID4.MatchString(str)
} | [
-0.2656055688858032,
-1.0144482851028442,
0.19926828145980835,
0.5112558603286743,
-0.4490938186645508,
-0.4348081350326538,
-0.3421345353126526,
-0.23932400345802307,
0.7177326083183289,
-0.20695462822914124,
0.035890135914087296,
-0.44479554891586304,
-1.610045313835144,
-0.6379097104072... |
func IsUUID5(str string) bool {
return rxUUID5.MatchString(str)
} | [
-0.5752705335617065,
-0.4705820083618164,
0.16166016459465027,
0.4334059953689575,
-1.2311536073684692,
0.11777827888727188,
0.3129599392414093,
0.02490740455687046,
0.4422997832298279,
0.36929118633270264,
-0.36990872025489807,
-0.11904149502515793,
-1.3134723901748657,
-0.879816532135009... |
func IsEmail(str string) bool {
addr, e := mail.ParseAddress(str)
return e == nil && addr.Address != ""
} | [
0.11248096078634262,
-0.36229249835014343,
0.30588820576667786,
0.057013094425201416,
-0.4719105660915375,
-0.11308696866035461,
-0.44789838790893555,
0.6424250602722168,
0.8814085125923157,
0.2618226706981659,
-0.5877655744552612,
1.02870512008667,
-0.29119372367858887,
-0.363830655813217... |
func isIPv4(s string) bool {
ip := netutils.ParseIPSloppy(s)
return ip != nil && strings.Contains(s, ".")
} | [
-0.5422731041908264,
-0.8271083831787109,
0.23058931529521942,
0.6795650720596313,
-0.9755505919456482,
-1.149614930152893,
-0.3347773253917694,
-0.2705304026603699,
1.0280804634094238,
-0.17823687195777893,
-0.16022463142871857,
-0.14980052411556244,
0.047164153307676315,
-0.4627663493156... |
func isCIDR(s string) bool {
_, _, err := netutils.ParseCIDRSloppy(s)
return err == nil
} | [
-0.1525319516658783,
-0.6399696469306946,
0.4437713623046875,
-0.09950776398181915,
-1.1401476860046387,
0.04458409175276756,
-0.6432945132255554,
0.631211519241333,
0.6354747414588928,
0.6529465317726135,
-0.13351839780807495,
-0.9961313605308533,
-0.7585943937301636,
0.13036741316318512,... |
func (b Base64) MarshalText() ([]byte, error) {
enc := base64.URLEncoding
src := []byte(b)
buf := make([]byte, enc.EncodedLen(len(src)))
enc.Encode(buf, src)
return buf, nil
} | [
0.4612199664115906,
0.47344905138015747,
0.17272208631038666,
0.3207736015319824,
-0.27856913208961487,
0.2541126012802124,
-1.2679811716079712,
0.8311610817909241,
1.2470673322677612,
0.3916912376880646,
-0.6260533928871155,
0.4664366543292999,
-1.054319977760315,
0.1615307480096817,
-1... |
func (b *Base64) UnmarshalText(data []byte) error { // validation is performed later on
enc := base64.URLEncoding
dbuf := make([]byte, enc.DecodedLen(len(data)))
n, err := enc.Decode(dbuf, data)
if err != nil {
return err
}
*b = dbuf[:n]
return nil
} | [
0.6675155162811279,
0.38914892077445984,
0.3523927628993988,
-0.34780725836753845,
-0.34171974658966064,
-0.3375515937805176,
-0.31941384077072144,
1.2035737037658691,
0.5083107352256775,
0.19612641632556915,
-0.31288841366767883,
-0.22666971385478973,
-1.0716387033462524,
0.04758679866790... |
func (b *Base64) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
dbuf := make([]byte, base64.StdEncoding.DecodedLen(len(v)))
n, err := base64.StdEncoding.Decode(dbuf, v)
if err != nil {
return err
}
*b = dbuf[:n]
case string:
vv, err := base64.StdEncoding.DecodeString(v)
if err !... | [
-0.5796113610267639,
0.2788822650909424,
0.6758692860603333,
0.9110145568847656,
-0.9960307478904724,
-0.565973162651062,
-0.24489225447177887,
-0.13841143250465393,
-0.02126491256058216,
-0.450949102640152,
-0.070151686668396,
0.8562241196632385,
-0.6446812748908997,
0.09944767504930496,
... |
func (b Base64) MarshalJSON() ([]byte, error) {
return json.Marshal(b.String())
} | [
0.246455579996109,
-0.15977056324481964,
0.1459023505449295,
0.6613903641700745,
-0.2724059820175171,
-0.16342292726039886,
-0.1976737678050995,
1.0396608114242554,
0.3253980875015259,
0.2627794146537781,
-0.8214616775512695,
1.266244888305664,
-0.7639222741127014,
0.4358532726764679,
-0... |
func (b *Base64) UnmarshalJSON(data []byte) error {
var b64str string
if err := json.Unmarshal(data, &b64str); err != nil {
return err
}
vb, err := base64.StdEncoding.DecodeString(b64str)
if err != nil {
return err
}
*b = Base64(vb)
return nil
} | [
-0.33725932240486145,
0.15979012846946716,
0.44659969210624695,
0.0036657738965004683,
-0.2392743080854416,
-0.41946157813072205,
0.30188897252082825,
0.662883996963501,
0.22400496900081635,
0.3074501156806946,
-0.38084957003593445,
0.4061087369918823,
-0.9304746389389038,
0.46898940205574... |
func (b *Base64) DeepCopyInto(out *Base64) {
*out = *b
} | [
0.481444388628006,
0.15917107462882996,
0.22044678032398224,
0.9299299120903015,
-0.828479528427124,
-0.07076187431812286,
0.3583289682865143,
0.7875846028327942,
-1.016045331954956,
-0.40636584162712097,
-0.7294005155563354,
1.124560832977295,
-0.5260918140411377,
-0.18212157487869263,
... |
func (b *Base64) DeepCopy() *Base64 {
if b == nil {
return nil
}
out := new(Base64)
b.DeepCopyInto(out)
return out
} | [
-0.3197971284389496,
0.43512997031211853,
0.22645136713981628,
1.8521087169647217,
0.2640687823295593,
-0.32703569531440735,
0.736785352230072,
0.00560554675757885,
-0.1172855868935585,
-0.4682610332965851,
0.015441850759088993,
0.12379030138254166,
-1.2486662864685059,
-0.3863248825073242... |
func (u URI) MarshalText() ([]byte, error) {
return []byte(string(u)), nil
} | [
0.002244352363049984,
0.806270956993103,
0.13110938668251038,
0.1922225058078766,
-0.6593145132064819,
0.16856786608695984,
-0.7220828533172607,
0.4414522647857666,
1.298077940940857,
-0.29819825291633606,
-0.47660452127456665,
0.45430997014045715,
-0.851301372051239,
-0.4848574101924896,
... |
func (u *URI) UnmarshalText(data []byte) error { // validation is performed later on
*u = URI(string(data))
return nil
} | [
0.4370284676551819,
0.37800416350364685,
0.2909276485443115,
-0.466444730758667,
-0.771175742149353,
0.25916582345962524,
0.15780949592590332,
1.1556634902954102,
0.7295012474060059,
-0.4419201612472534,
-0.2475367784500122,
-0.6156030297279358,
-1.144932746887207,
-0.5039834976196289,
-... |
func (u *URI) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*u = URI(string(v))
case string:
*u = URI(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.URI from: %#v", v)
}
return nil
} | [
-1.0006794929504395,
0.7440390586853027,
0.4717213213443756,
0.8222669959068298,
-1.028367519378662,
-0.09065024554729462,
-0.047658875584602356,
-0.058166805654764175,
0.03604227676987648,
-1.1822535991668701,
-0.189412459731102,
0.4099944233894348,
-0.42384007573127747,
-0.09003091603517... |
func (u URI) MarshalJSON() ([]byte, error) {
return json.Marshal(string(u))
} | [
-0.5882977247238159,
0.38068509101867676,
0.22951838374137878,
-0.026538671925663948,
-0.677952229976654,
-0.17184264957904816,
0.10043268650770187,
0.91365647315979,
0.7618311643600464,
-0.7463563680648804,
-0.8426791429519653,
1.0882596969604492,
-0.3135972321033478,
0.030380170792341232... |
func (u *URI) UnmarshalJSON(data []byte) error {
var uristr string
if err := json.Unmarshal(data, &uristr); err != nil {
return err
}
*u = URI(uristr)
return nil
} | [
-1.4492377042770386,
0.5635762810707092,
0.30256387591362,
-0.7010993361473083,
-0.4887755811214447,
0.038881778717041016,
0.33891916275024414,
1.1686807870864868,
0.49230095744132996,
-0.6065510511398315,
-0.5907501578330994,
-0.11839670687913895,
-0.5651302337646484,
-0.18540926277637482... |
func (u *URI) DeepCopyInto(out *URI) {
*out = *u
} | [
0.07442790269851685,
0.16142922639846802,
0.4328967332839966,
0.3887116611003876,
-1.0707467794418335,
0.6659114956855774,
0.36935847997665405,
0.9288817644119263,
-0.7791911959648132,
-1.0436044931411743,
-0.6961203813552856,
1.0129292011260986,
0.006985100451856852,
-0.649172306060791,
... |
func (u *URI) DeepCopy() *URI {
if u == nil {
return nil
}
out := new(URI)
u.DeepCopyInto(out)
return out
} | [
-0.5268514752388,
0.2909839153289795,
0.332070529460907,
1.664190411567688,
-0.2919873893260956,
0.3173483908176422,
0.42200151085853577,
0.45675450563430786,
0.1520967185497284,
-1.3214466571807861,
-0.0996735692024231,
0.1304914802312851,
-0.6911135315895081,
-0.8993637561798096,
0.393... |
func (e Email) MarshalText() ([]byte, error) {
return []byte(string(e)), nil
} | [
0.1727200746536255,
0.6676822304725647,
0.18327289819717407,
-0.2137027084827423,
-0.6101400256156921,
0.20545941591262817,
-1.0167770385742188,
0.5453764200210571,
1.4614241123199463,
0.8357224464416504,
-0.3669659197330475,
0.8539429903030396,
-0.7162259221076965,
-0.4659922122955322,
... |
func (e *Email) UnmarshalText(data []byte) error { // validation is performed later on
*e = Email(string(data))
return nil
} | [
0.905887246131897,
0.36363962292671204,
0.25905004143714905,
-0.9590417742729187,
-0.8706979751586914,
0.2361530363559723,
-0.012491578236222267,
0.8740905523300171,
0.6929363012313843,
0.24100422859191895,
-0.1117650717496872,
0.050935517996549606,
-1.057579755783081,
-0.4643752872943878,... |
func (e *Email) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*e = Email(string(v))
case string:
*e = Email(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.Email from: %#v", v)
}
return nil
} | [
-0.8247404098510742,
0.4695938527584076,
0.4691848158836365,
0.21439090371131897,
-1.0527030229568481,
-0.18189793825149536,
-0.23582103848457336,
-0.35702353715896606,
0.03382890298962593,
-0.7349013090133667,
-0.18447943031787872,
1.034802794456482,
-0.3165460526943207,
-0.17788732051849... |
func (e Email) MarshalJSON() ([]byte, error) {
return json.Marshal(string(e))
} | [
-0.24541082978248596,
0.17794904112815857,
0.3109186887741089,
-0.6111127138137817,
-0.5707207918167114,
-0.1883355975151062,
-0.19413039088249207,
0.8777191042900085,
0.7788108587265015,
0.4621518552303314,
-0.586993932723999,
1.8053923845291138,
-0.08839084953069687,
0.027844248339533806... |
func (e *Email) UnmarshalJSON(data []byte) error {
var estr string
if err := json.Unmarshal(data, &estr); err != nil {
return err
}
*e = Email(estr)
return nil
} | [
-0.4735279083251953,
0.403075635433197,
0.21418403089046478,
-1.3251436948776245,
-0.645837664604187,
-0.08429823815822601,
0.08690644800662994,
0.6815741062164307,
0.42295193672180176,
0.2660764753818512,
-0.005331509280949831,
1.16056227684021,
-0.7280279397964478,
-0.045407213270664215,... |
func (e *Email) DeepCopyInto(out *Email) {
*out = *e
} | [
0.5221457481384277,
-0.0391792394220829,
0.30196982622146606,
-0.4026075005531311,
-0.9331175684928894,
0.5131491422653198,
0.05986692011356354,
1.2317018508911133,
-1.0777254104614258,
-0.19609081745147705,
-0.31926530599594116,
1.5665748119354248,
0.05022541806101799,
-0.7076534628868103... |
func (e *Email) DeepCopy() *Email {
if e == nil {
return nil
}
out := new(Email)
e.DeepCopyInto(out)
return out
} | [
-0.3318991959095001,
0.43035396933555603,
0.10320380330085754,
0.9196815490722656,
-0.2762543261051178,
0.251699835062027,
0.35400640964508057,
0.6328884959220886,
-0.11893436312675476,
-0.05486322194337845,
0.3040652871131897,
1.0024243593215942,
-0.5856920480728149,
-0.7658039927482605,
... |
func (h Hostname) MarshalText() ([]byte, error) {
return []byte(string(h)), nil
} | [
0.28879785537719727,
0.7890872359275818,
0.21510541439056396,
0.18947914242744446,
-0.5308626294136047,
0.3277004361152649,
-1.087085247039795,
0.548346757888794,
0.29316216707229614,
0.24597108364105225,
-0.6170071363449097,
0.43254342675209045,
-1.0029456615447998,
0.04497789591550827,
... |
func (h *Hostname) UnmarshalText(data []byte) error { // validation is performed later on
*h = Hostname(string(data))
return nil
} | [
0.6725856065750122,
0.46315497159957886,
0.3501645028591156,
-0.6079831123352051,
-1.0395809412002563,
0.442025363445282,
-0.03415977954864502,
1.1461485624313354,
-0.05077795684337616,
-0.14097212255001068,
-0.2765384316444397,
-0.5756730437278748,
-1.124727487564087,
0.07361496984958649,... |
func (h *Hostname) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*h = Hostname(string(v))
case string:
*h = Hostname(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.Hostname from: %#v", v)
}
return nil
} | [
-0.742763340473175,
0.6465479135513306,
0.45892950892448425,
0.8569890260696411,
-1.127280354499817,
0.025252899155020714,
-0.12955884635448456,
-0.02675626613199711,
-0.6351868510246277,
-0.9990960955619812,
-0.41136160492897034,
0.5004310011863708,
-0.06613054126501083,
0.472614884376525... |
func (h Hostname) MarshalJSON() ([]byte, error) {
return json.Marshal(string(h))
} | [
-0.23060503602027893,
0.1325773298740387,
0.28554219007492065,
-0.04265043884515762,
-0.6210097074508667,
0.1223931610584259,
-0.11158696562051773,
1.1097694635391235,
-0.3030126988887787,
-0.052979473024606705,
-0.8057129383087158,
1.1530007123947144,
-0.3464660346508026,
0.67043888568878... |
func (h *Hostname) UnmarshalJSON(data []byte) error {
var hstr string
if err := json.Unmarshal(data, &hstr); err != nil {
return err
}
*h = Hostname(hstr)
return nil
} | [
-0.5517622828483582,
0.40969741344451904,
0.4557467997074127,
-0.970187246799469,
-0.9269921779632568,
0.2096140831708908,
-0.03639204055070877,
0.7597355246543884,
-0.559399425983429,
-0.07802987098693848,
-0.3138682544231415,
0.16489911079406738,
-0.46834853291511536,
0.15312083065509796... |
func (h *Hostname) DeepCopyInto(out *Hostname) {
*out = *h
} | [
0.3610014319419861,
0.2039470076560974,
0.37462854385375977,
0.38626715540885925,
-1.0396486520767212,
1.0264999866485596,
0.2792689800262451,
1.0379059314727783,
-1.8237231969833374,
-0.5124561786651611,
-0.652107834815979,
1.2252426147460938,
0.024479173123836517,
-0.11075203865766525,
... |
func (h *Hostname) DeepCopy() *Hostname {
if h == nil {
return nil
}
out := new(Hostname)
h.DeepCopyInto(out)
return out
} | [
-0.21633844077587128,
0.15192648768424988,
0.3308708071708679,
1.4072368144989014,
-0.37692990899086,
-0.07000341266393661,
0.5660324096679688,
0.7440224289894104,
-0.7552444338798523,
-0.4099971652030945,
-0.16758517920970917,
0.2965950667858124,
-0.8341651558876038,
-0.5424618124961853,
... |
func (u IPv4) MarshalText() ([]byte, error) {
return []byte(string(u)), nil
} | [
-0.1473984718322754,
0.641058087348938,
-0.10561133921146393,
-0.21582312881946564,
-0.7742794156074524,
-0.05721660330891609,
-1.115827202796936,
0.028655370697379112,
1.0440274477005005,
0.20138411223888397,
-0.8226568102836609,
-0.023092322051525116,
-0.8770408034324646,
-0.606231987476... |
func (u *IPv4) UnmarshalText(data []byte) error { // validation is performed later on
*u = IPv4(string(data))
return nil
} | [
0.4527606964111328,
0.08542070537805557,
0.08576236665248871,
-0.7332710027694702,
-0.9349430799484253,
-0.10313407331705093,
0.01990971341729164,
0.7984349131584167,
0.3891543447971344,
0.007489313371479511,
-0.4523217976093292,
-0.9430197477340698,
-1.1433151960372925,
-0.739229381084442... |
func (u *IPv4) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*u = IPv4(string(v))
case string:
*u = IPv4(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.IPv4 from: %#v", v)
}
return nil
} | [
-1.1316838264465332,
0.4448314309120178,
0.3323494493961334,
0.3822585344314575,
-1.259095549583435,
-0.440096914768219,
-0.24233315885066986,
-0.3035632371902466,
-0.14854753017425537,
-0.8842951059341431,
-0.5087568163871765,
0.33923935890197754,
-0.4273874759674072,
-0.20167230069637299... |
func (u IPv4) MarshalJSON() ([]byte, error) {
return json.Marshal(string(u))
} | [
-0.5875091552734375,
-0.01822718419134617,
-0.007298372220247984,
-0.6021203398704529,
-0.7568738460540771,
-0.4648631513118744,
-0.3485570549964905,
0.49277493357658386,
0.35941752791404724,
-0.1454509049654007,
-1.0474178791046143,
0.53324955701828,
-0.46296820044517517,
-0.2212041914463... |
func (u *IPv4) UnmarshalJSON(data []byte) error {
var ustr string
if err := json.Unmarshal(data, &ustr); err != nil {
return err
}
*u = IPv4(ustr)
return nil
} | [
-0.985973060131073,
0.35139766335487366,
0.17594964802265167,
-1.0192534923553467,
-0.8525899052619934,
-0.5959575772285461,
0.27826666831970215,
0.6882027387619019,
-0.13399557769298553,
-0.04068934917449951,
-0.4115962088108063,
-0.08669621497392654,
-0.6946538090705872,
-0.4829553663730... |
func (u *IPv4) DeepCopyInto(out *IPv4) {
*out = *u
} | [
0.27998286485671997,
-0.3277289569377899,
0.15319502353668213,
-0.11200984567403793,
-1.234609603881836,
0.11248370260000229,
0.14188051223754883,
0.5233325958251953,
-1.0055465698242188,
-0.7187500596046448,
-1.0363973379135132,
0.6615236401557922,
-0.228184774518013,
-0.8617533445358276,... |
func (u *IPv4) DeepCopy() *IPv4 {
if u == nil {
return nil
}
out := new(IPv4)
u.DeepCopyInto(out)
return out
} | [
-0.595754086971283,
-0.2131621241569519,
-0.3610379993915558,
0.6065689921379089,
-0.34774330258369446,
-0.38582488894462585,
0.5787842273712158,
-0.0927521288394928,
-0.1103200763463974,
-0.7921745777130127,
-0.1217091828584671,
-0.05729752406477928,
-0.8116250038146973,
-0.89844620227813... |
func (u IPv6) MarshalText() ([]byte, error) {
return []byte(string(u)), nil
} | [
-0.09250938147306442,
0.5049982070922852,
-0.06182261183857918,
0.1624738872051239,
-0.9213546514511108,
-0.17740274965763092,
-0.7463096380233765,
-0.08691319078207016,
1.52541983127594,
0.612220287322998,
-0.8050390481948853,
0.1026434376835823,
-0.565926730632782,
-0.6149531602859497,
... |
func (u *IPv6) UnmarshalText(data []byte) error { // validation is performed later on
*u = IPv6(string(data))
return nil
} | [
0.5942050218582153,
0.05840341001749039,
0.07629214227199554,
-0.3304998278617859,
-0.7835479378700256,
-0.28355494141578674,
0.1649644672870636,
0.8339847326278687,
1.0045075416564941,
0.5208618640899658,
-0.8019359707832336,
-0.915499746799469,
-0.7167550921440125,
-0.8155391812324524,
... |
func (u *IPv6) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*u = IPv6(string(v))
case string:
*u = IPv6(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.IPv6 from: %#v", v)
}
return nil
} | [
-0.9298866391181946,
0.3052740693092346,
0.31611818075180054,
0.6211883425712585,
-1.198730230331421,
-0.3783782124519348,
-0.1587470918893814,
-0.23396791517734528,
0.3254362642765045,
-0.42244184017181396,
-0.6094765663146973,
0.43298375606536865,
-0.19872213900089264,
-0.264491021633148... |
func (u IPv6) MarshalJSON() ([]byte, error) {
return json.Marshal(string(u))
} | [
-0.5787938833236694,
0.08695962280035019,
0.005868431646376848,
-0.20846650004386902,
-0.7923233509063721,
-0.6385473012924194,
0.029486751183867455,
0.23626823723316193,
1.0044019222259521,
0.4041518270969391,
-1.3429826498031616,
0.6175650358200073,
0.11476974189281464,
-0.38143795728683... |
func (u *IPv6) UnmarshalJSON(data []byte) error {
var ustr string
if err := json.Unmarshal(data, &ustr); err != nil {
return err
}
*u = IPv6(ustr)
return nil
} | [
-1.0570179224014282,
0.44743844866752625,
0.1232837587594986,
-0.6803021430969238,
-0.8095689415931702,
-0.6821456551551819,
0.42116600275039673,
0.49875620007514954,
0.6871146559715271,
0.3953621983528137,
-0.849585771560669,
-0.05538016930222511,
-0.12444225698709488,
-0.5810074210166931... |
func (u *IPv6) DeepCopyInto(out *IPv6) {
*out = *u
} | [
0.2718166410923004,
-0.11317291110754013,
0.2105932980775833,
0.14741134643554688,
-1.0448426008224487,
-0.04873393476009369,
0.3776130974292755,
0.5577883124351501,
-0.47911757230758667,
-0.19230416417121887,
-1.2113977670669556,
0.6055505275726318,
0.4678991436958313,
-0.91165691614151,
... |
func (u *IPv6) DeepCopy() *IPv6 {
if u == nil {
return nil
}
out := new(IPv6)
u.DeepCopyInto(out)
return out
} | [
-0.988356351852417,
-0.03008890524506569,
-0.5212464332580566,
0.9987412095069885,
-0.35450196266174316,
-0.6593967080116272,
0.6758190393447876,
0.008381981402635574,
0.6510844826698303,
-0.0740928053855896,
-0.70991051197052,
-0.10870421677827835,
-0.3491443395614624,
-1.0711742639541626... |
func (u CIDR) MarshalText() ([]byte, error) {
return []byte(string(u)), nil
} | [
0.7252470254898071,
0.7493699193000793,
0.04555702209472656,
0.11674781888723373,
-0.6115899682044983,
0.17974644899368286,
-1.106767177581787,
0.2849697470664978,
1.3483232259750366,
0.31669995188713074,
-0.7695348858833313,
-0.06465789675712585,
-1.0744857788085938,
-0.4397365152835846,
... |
func (u *CIDR) UnmarshalText(data []byte) error { // validation is performed later on
*u = CIDR(string(data))
return nil
} | [
1.4658286571502686,
0.09484074264764786,
0.2348536252975464,
-0.7109330296516418,
-0.6147505044937134,
0.11068493872880936,
-0.0889672189950943,
0.9459488987922668,
0.5377634167671204,
0.35287049412727356,
-0.3667621612548828,
-0.946772575378418,
-1.323843240737915,
-0.45022130012512207,
... |
func (u *CIDR) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*u = CIDR(string(v))
case string:
*u = CIDR(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.CIDR from: %#v", v)
}
return nil
} | [
-0.2358979433774948,
0.46371105313301086,
0.38089877367019653,
0.6255950331687927,
-0.8501509428024292,
-0.2117852121591568,
-0.2910254895687103,
-0.11874305456876755,
-0.058402035385370255,
-0.6860533356666565,
-0.3822062611579895,
0.3813386857509613,
-0.717393696308136,
0.092460677027702... |
func (u CIDR) MarshalJSON() ([]byte, error) {
return json.Marshal(string(u))
} | [
0.5329458117485046,
0.40646231174468994,
0.18081611394882202,
-0.2819554805755615,
-0.6901642084121704,
-0.198770210146904,
-0.18260666728019714,
0.6256057024002075,
0.7686866521835327,
0.16009443998336792,
-1.0894712209701538,
0.40984198451042175,
-0.5637439489364624,
0.04014993831515312,... |
func (u *CIDR) UnmarshalJSON(data []byte) error {
var ustr string
if err := json.Unmarshal(data, &ustr); err != nil {
return err
}
*u = CIDR(ustr)
return nil
} | [
0.06175624206662178,
0.3732183873653412,
0.47785165905952454,
-1.1518890857696533,
-0.42300674319267273,
-0.17640042304992676,
0.26032209396362305,
0.5485961437225342,
0.19213569164276123,
0.3013652265071869,
-0.38963583111763,
-0.19515304267406464,
-0.7278780937194824,
-0.3945899903774261... |
func (u *CIDR) DeepCopyInto(out *CIDR) {
*out = *u
} | [
0.9870010018348694,
0.10908602923154831,
0.37893348932266235,
0.2127966284751892,
-0.8106920123100281,
0.4770241379737854,
0.15116719901561737,
0.6915301084518433,
-1.024603247642517,
-0.5281010866165161,
-0.9500319957733154,
0.8332996964454651,
-0.18444669246673584,
-0.46470731496810913,
... |
func (u *CIDR) DeepCopy() *CIDR {
if u == nil {
return nil
}
out := new(CIDR)
u.DeepCopyInto(out)
return out
} | [
0.5072873830795288,
0.49048519134521484,
0.33528363704681396,
1.3157806396484375,
-0.2066052109003067,
0.26388585567474365,
0.3997461795806885,
0.19269141554832458,
0.0252945888787508,
-0.6519389748573303,
0.00020241494348738343,
-0.13648806512355804,
-1.2691998481750488,
-0.46132442355155... |
func (u MAC) MarshalText() ([]byte, error) {
return []byte(string(u)), nil
} | [
0.5146962404251099,
0.48215556144714355,
0.12024405598640442,
0.2981107831001282,
-1.0619652271270752,
0.3500644266605377,
-0.8997629880905151,
0.10232964158058167,
1.191468596458435,
-0.13094118237495422,
-0.5169661045074463,
0.6791262626647949,
-0.6950635313987732,
0.25829261541366577,
... |
func (u *MAC) UnmarshalText(data []byte) error { // validation is performed later on
*u = MAC(string(data))
return nil
} | [
0.8201928734779358,
0.012137861922383308,
0.3325713574886322,
-0.6745892763137817,
-1.0001776218414307,
0.2726210653781891,
0.3653421998023987,
0.8343183398246765,
0.6231839060783386,
-0.611483633518219,
0.05463690683245659,
-0.2778778374195099,
-1.0320605039596558,
0.09582653641700745,
... |
func (u *MAC) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*u = MAC(string(v))
case string:
*u = MAC(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.IPv4 from: %#v", v)
}
return nil
} | [
-1.0004003047943115,
0.5558279156684875,
0.35314157605171204,
0.590324342250824,
-1.1794978380203247,
-0.3011651039123535,
-0.1035635843873024,
-0.17075766623020172,
-0.3595220446586609,
-1.2670488357543945,
-0.15660203993320465,
0.4950787127017975,
-0.23106735944747925,
0.3008607625961303... |
func (u MAC) MarshalJSON() ([]byte, error) {
return json.Marshal(string(u))
} | [
-0.13374967873096466,
-0.05079245939850807,
0.18597063422203064,
-0.0866103544831276,
-1.1215490102767944,
0.0809345468878746,
0.15511299669742584,
0.3621862232685089,
0.7863935232162476,
-0.632838785648346,
-0.6302386522293091,
1.4509215354919434,
-0.07492737472057343,
0.5646213889122009,... |
func (u *MAC) UnmarshalJSON(data []byte) error {
var ustr string
if err := json.Unmarshal(data, &ustr); err != nil {
return err
}
*u = MAC(ustr)
return nil
} | [
-0.8511982560157776,
0.2990400195121765,
0.39342355728149414,
-1.119733452796936,
-0.898229718208313,
0.18600453436374664,
0.6348077058792114,
0.36268702149391174,
0.28523868322372437,
-0.7816482186317444,
-0.03369967266917229,
0.5328170657157898,
-0.5108164548873901,
0.026435527950525284,... |
func (u *MAC) DeepCopyInto(out *MAC) {
*out = *u
} | [
0.5633745193481445,
-0.17065724730491638,
0.29267704486846924,
0.2594847083091736,
-1.1789875030517578,
0.7868694067001343,
0.5313321948051453,
0.6984676122665405,
-1.3079452514648438,
-1.067197561264038,
-0.534110426902771,
1.2765042781829834,
0.05077876150608063,
-0.16191938519477844,
... |
func (u *MAC) DeepCopy() *MAC {
if u == nil {
return nil
}
out := new(MAC)
u.DeepCopyInto(out)
return out
} | [
-0.3278275728225708,
0.06587391346693039,
0.24222229421138763,
1.3102318048477173,
-0.6024347543716431,
0.3052915930747986,
0.8805019855499268,
-0.10084761679172516,
0.24810318648815155,
-1.7275902032852173,
0.24859672784805298,
0.575896680355072,
-0.834518551826477,
-0.8254260420799255,
... |
func (u UUID) MarshalText() ([]byte, error) {
return []byte(string(u)), nil
} | [
-0.12430864572525024,
0.5345221161842346,
0.053380995988845825,
0.00479398388415575,
-1.1532574892044067,
0.15366065502166748,
-0.8466150760650635,
0.7563376426696777,
1.191310167312622,
0.5821233987808228,
-0.7241663336753845,
0.3713943064212799,
-0.7106842398643494,
-0.6549298167228699,
... |
func (u *UUID) UnmarshalText(data []byte) error { // validation is performed later on
*u = UUID(string(data))
return nil
} | [
0.44369205832481384,
-0.08724682033061981,
0.28952258825302124,
-0.8188028335571289,
-1.2006583213806152,
0.27103766798973083,
0.12305489927530289,
1.619954228401184,
0.7046319842338562,
0.33886513113975525,
-0.45948150753974915,
-0.539090633392334,
-1.0137745141983032,
-0.4765659272670746... |
func (u *UUID) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*u = UUID(string(v))
case string:
*u = UUID(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.UUID from: %#v", v)
}
return nil
} | [
-1.1088509559631348,
0.20313598215579987,
0.33548420667648315,
0.4068603217601776,
-1.2653623819351196,
-0.1601688414812088,
-0.06634645164012909,
0.20836156606674194,
-0.09750278294086456,
-0.5110348463058472,
-0.2936469614505768,
0.7067536115646362,
-0.39237087965011597,
-0.1879177987575... |
func (u UUID) MarshalJSON() ([]byte, error) {
return json.Marshal(string(u))
} | [
-0.5114687085151672,
0.032913412898778915,
0.06812523305416107,
-0.3547934293746948,
-1.1546837091445923,
-0.12713569402694702,
0.07053017616271973,
1.4785711765289307,
0.7301856279373169,
0.15174688398838043,
-1.1136317253112793,
1.081033706665039,
-0.11365272849798203,
-0.133222401142120... |
func (u *UUID) UnmarshalJSON(data []byte) error {
if string(data) == jsonNull {
return nil
}
var ustr string
if err := json.Unmarshal(data, &ustr); err != nil {
return err
}
*u = UUID(ustr)
return nil
} | [
-1.0172555446624756,
0.3017668128013611,
0.5089305639266968,
-1.0260001420974731,
-1.0191086530685425,
-0.0582868717610836,
0.5143906474113464,
1.329668641090393,
0.8551160097122192,
0.055353958159685135,
-0.4205000102519989,
0.23743075132369995,
-0.5796723365783691,
-0.20742647349834442,
... |
func (u *UUID) DeepCopyInto(out *UUID) {
*out = *u
} | [
0.15860068798065186,
-0.0659758448600769,
0.3540962040424347,
0.062029872089624405,
-1.3319250345230103,
0.48011142015457153,
0.21170297265052795,
1.3921250104904175,
-1.1793230772018433,
-0.3330722749233246,
-0.9387869238853455,
1.2415058612823486,
0.19248805940151215,
-0.6872172951698303... |
func (u *UUID) DeepCopy() *UUID {
if u == nil {
return nil
}
out := new(UUID)
u.DeepCopyInto(out)
return out
} | [
-0.1634282022714615,
0.15896236896514893,
0.3223543167114258,
0.8591094613075256,
-0.7561643123626709,
0.4832116365432739,
1.0594652891159058,
1.2075269222259521,
0.1111522689461708,
-0.7643083930015564,
0.09571509063243866,
0.7400304079055786,
-0.5885498523712158,
-0.8890572190284729,
-... |
func (u UUID3) MarshalText() ([]byte, error) {
return []byte(string(u)), nil
} | [
0.015672866255044937,
0.9260410666465759,
0.11387401074171066,
-0.022296849638223648,
-0.7476492524147034,
0.695186197757721,
-1.2097946405410767,
0.6737252473831177,
1.3070122003555298,
0.8068431615829468,
-0.6261619329452515,
0.30979323387145996,
-1.241869568824768,
-0.9482498168945312,
... |
func (u *UUID3) UnmarshalText(data []byte) error { // validation is performed later on
*u = UUID3(string(data))
return nil
} | [
0.5781238079071045,
0.4185754656791687,
0.3091434836387634,
-0.9105803370475769,
-1.083516001701355,
0.5665134191513062,
-0.2002738118171692,
1.357269287109375,
0.9786637425422668,
0.49904054403305054,
-0.3958747684955597,
-0.6838260293006897,
-1.2919408082962036,
-0.8672968149185181,
-1... |
func (u *UUID3) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*u = UUID3(string(v))
case string:
*u = UUID3(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.UUID3 from: %#v", v)
}
return nil
} | [
-0.9463127851486206,
0.4896763563156128,
0.3610438108444214,
0.3259480893611908,
-1.2373170852661133,
0.2352852076292038,
-0.403172105550766,
0.166724294424057,
0.25153103470802307,
-0.3487122654914856,
-0.30761057138442993,
0.5601443648338318,
-0.6780982613563538,
-0.4983308017253876,
-... |
func (u UUID3) MarshalJSON() ([]byte, error) {
return json.Marshal(string(u))
} | [
-0.4075688123703003,
0.4486677944660187,
0.1003592386841774,
-0.5213992595672607,
-0.7542765140533447,
0.36398136615753174,
-0.5154903531074524,
1.446329951286316,
1.0176126956939697,
0.44078704714775085,
-0.9625610113143921,
0.9480946063995361,
-0.693651556968689,
-0.5433003902435303,
-... |
func (u *UUID3) UnmarshalJSON(data []byte) error {
if string(data) == jsonNull {
return nil
}
var ustr string
if err := json.Unmarshal(data, &ustr); err != nil {
return err
}
*u = UUID3(ustr)
return nil
} | [
-1.1035572290420532,
0.889872133731842,
0.4337068498134613,
-1.1164289712905884,
-0.940037727355957,
0.12659211456775665,
0.07057008892297745,
1.1432725191116333,
1.004626750946045,
0.3418120741844177,
-0.3645550310611725,
0.1718887835741043,
-0.7461473345756531,
-0.535042405128479,
-0.0... |
func (u *UUID3) DeepCopyInto(out *UUID3) {
*out = *u
} | [
0.14615054428577423,
0.30620652437210083,
0.35029223561286926,
-0.1685999035835266,
-1.1405715942382812,
0.9487153887748718,
-0.06321030110120773,
1.2726318836212158,
-0.6447820663452148,
-0.1274060308933258,
-0.7978128790855408,
0.9574337601661682,
-0.2960626780986786,
-0.9517022967338562... |
func (u *UUID3) DeepCopy() *UUID3 {
if u == nil {
return nil
}
out := new(UUID3)
u.DeepCopyInto(out)
return out
} | [
-0.823476254940033,
0.9533301591873169,
0.1517297476530075,
0.5865547060966492,
-0.6553733944892883,
0.36619114875793457,
0.24400675296783447,
0.6881423592567444,
0.3465694487094879,
-0.0642191618680954,
0.12415061146020889,
0.25694504380226135,
-1.2866724729537964,
-1.0103833675384521,
... |
func (u UUID4) MarshalText() ([]byte, error) {
return []byte(string(u)), nil
} | [
0.07737614959478378,
0.44584786891937256,
-0.14175449311733246,
0.012324929237365723,
-0.69428551197052,
-0.003952741622924805,
-0.981368899345398,
0.3491832911968231,
0.6592987179756165,
0.36842039227485657,
-0.6031688451766968,
-0.14718660712242126,
-1.1932026147842407,
-0.59598505496978... |
func (u *UUID4) UnmarshalText(data []byte) error { // validation is performed later on
*u = UUID4(string(data))
return nil
} | [
0.5293619632720947,
-0.08813060075044632,
0.1857740581035614,
-0.8079318404197693,
-0.9284105896949768,
-0.06444478034973145,
0.16462168097496033,
0.9337856769561768,
0.3829626441001892,
0.07478603720664978,
-0.3443946838378906,
-1.0407060384750366,
-1.4654628038406372,
-0.534938633441925,... |
func (u *UUID4) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*u = UUID4(string(v))
case string:
*u = UUID4(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.UUID4 from: %#v", v)
}
return nil
} | [
-1.086539626121521,
0.23651078343391418,
0.29913491010665894,
0.47998175024986267,
-1.216562271118164,
-0.4110071659088135,
0.0019309393828734756,
-0.12485481798648834,
-0.23578865826129913,
-0.6813996434211731,
-0.3109476864337921,
0.1641412377357483,
-0.7046166062355042,
-0.2028595507144... |
func (u UUID4) MarshalJSON() ([]byte, error) {
return json.Marshal(string(u))
} | [
-0.20054984092712402,
-0.22807112336158752,
-0.11372178792953491,
-0.201412171125412,
-0.742387592792511,
-0.35765060782432556,
-0.20334166288375854,
1.2045388221740723,
0.15319544076919556,
0.1779990941286087,
-0.8078382611274719,
0.5282766819000244,
-0.8349334597587585,
-0.00118229794315... |
func (u *UUID4) UnmarshalJSON(data []byte) error {
if string(data) == jsonNull {
return nil
}
var ustr string
if err := json.Unmarshal(data, &ustr); err != nil {
return err
}
*u = UUID4(ustr)
return nil
} | [
-0.8708328008651733,
0.224206805229187,
0.34356802701950073,
-0.814450204372406,
-0.740328311920166,
-0.5268640518188477,
0.5510805249214172,
0.8669967651367188,
0.13036151230335236,
0.06128320097923279,
-0.22671887278556824,
-0.3075006604194641,
-1.1252899169921875,
-0.15860699117183685,
... |
func (u *UUID4) DeepCopyInto(out *UUID4) {
*out = *u
} | [
0.37020283937454224,
-0.30069828033447266,
0.1141931414604187,
0.08506190031766891,
-1.2267932891845703,
0.20481592416763306,
0.37961503863334656,
0.8574405908584595,
-1.3780685663223267,
-0.45445260405540466,
-0.8452297449111938,
0.6051769256591797,
-0.5023934841156006,
-0.776966631412506... |
func (u *UUID4) DeepCopy() *UUID4 {
if u == nil {
return nil
}
out := new(UUID4)
u.DeepCopyInto(out)
return out
} | [
-0.23070575296878815,
0.04327717795968056,
-0.2782268226146698,
0.7013916373252869,
-0.23944392800331116,
-0.3313997685909271,
0.9909214973449707,
0.2162502408027649,
-0.5952467918395996,
-0.2872438132762909,
0.18277879059314728,
-0.2566244900226593,
-1.3568671941757202,
-0.754297435283660... |
func (u UUID5) MarshalText() ([]byte, error) {
return []byte(string(u)), nil
} | [
-0.043351348489522934,
0.6187937259674072,
-0.04769894853234291,
0.021364850923419,
-1.2117449045181274,
0.2831370532512665,
-0.153879776597023,
-0.06560401618480682,
0.6429950594902039,
0.7766492366790771,
-0.9212184548377991,
0.2941703498363495,
-1.1369727849960327,
-0.38170692324638367,... |
func (u *UUID5) UnmarshalText(data []byte) error { // validation is performed later on
*u = UUID5(string(data))
return nil
} | [
0.4380061626434326,
0.18622075021266937,
0.22335296869277954,
-0.7805929183959961,
-1.4952787160873413,
0.22341901063919067,
0.8141201138496399,
0.8171303272247314,
0.3152702748775482,
0.6576786041259766,
-0.6699925661087036,
-0.7471099495887756,
-1.373475432395935,
-0.42095938324928284,
... |
func (u *UUID5) Scan(raw interface{}) error {
switch v := raw.(type) {
case []byte:
*u = UUID5(string(v))
case string:
*u = UUID5(v)
default:
return fmt.Errorf("cannot sql.Scan() strfmt.UUID5 from: %#v", v)
}
return nil
} | [
-1.033674955368042,
0.38219672441482544,
0.27659180760383606,
0.4478321075439453,
-1.5927027463912964,
-0.18940070271492004,
0.46484947204589844,
-0.2880481481552124,
-0.28629785776138306,
-0.2578434944152832,
-0.5526192784309387,
0.43768560886383057,
-0.7200156450271606,
-0.08707631379365... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.