text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (m *NodeAgentConfig) GetPodAnnotations() map[string]interface{} {
if m != nil {
return m.PodAnnotations
}
return nil
} | [
-1.0345889329910278,
0.6639471054077148,
0.5946345329284668,
0.5387471318244934,
-0.05916066840291023,
0.07616838067770004,
0.11159393936395645,
-0.8477175235748291,
0.22487041354179382,
-0.2994909882545471,
-0.857244074344635,
-0.28058215975761414,
-1.1068695783615112,
0.3196057379245758,... |
func (m *PilotConfig) GetReplicaCount() uint32 {
if m != nil {
return m.ReplicaCount
}
return 0
} | [
0.2431156486272812,
0.8863106966018677,
0.6357186436653137,
0.10902617871761322,
-0.023735957220196724,
0.03622946888208389,
0.4862098693847656,
1.1481984853744507,
0.3015350103378296,
-0.3045117259025574,
-0.4821324646472931,
0.7506752014160156,
-0.2933855950832367,
0.7104568481445312,
... |
func (m *PilotConfig) GetResources() *Resources {
if m != nil {
return m.Resources
}
return nil
} | [
0.4440501928329468,
0.6616443395614624,
0.15005284547805786,
-0.18733015656471252,
1.0877968072891235,
0.4044696092605591,
0.045512765645980835,
-0.28132566809654236,
0.7102001905441284,
-0.566470205783844,
-0.09905875474214554,
-0.9760884046554565,
-0.9777138829231262,
0.37467724084854126... |
func (m *PilotConfig) GetCpu() *CPUTargetUtilizationConfig {
if m != nil {
return m.Cpu
}
return nil
} | [
0.6025267243385315,
0.6191529631614685,
0.37447142601013184,
0.47818711400032043,
0.8961509466171265,
0.22210022807121277,
0.7300015687942505,
0.45961248874664307,
0.2974648177623749,
-0.8978333473205566,
0.699928343296051,
0.7117360830307007,
-0.7286692261695862,
0.004038476385176182,
1... |
func (m *PilotConfig) GetNodeSelector() map[string]interface{} {
if m != nil {
return m.NodeSelector
}
return nil
} | [
-1.3844774961471558,
0.10824854671955109,
0.3583313822746277,
-0.6684311032295227,
0.36410656571388245,
-0.3928433358669281,
0.12214002013206482,
-0.5285941958427429,
0.008813729509711266,
-0.9027450680732727,
-0.244125097990036,
0.34275174140930176,
-0.9631924033164978,
0.7295958995819092... |
func (m *PilotConfig) GetPodAntiAffinityLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityLabelSelector
}
return nil
} | [
-1.0704936981201172,
-0.7725421786308289,
0.2568497955799103,
-0.18883149325847626,
1.8327866792678833,
0.46841421723365784,
-0.017572550103068352,
-0.1762571632862091,
-0.2620851993560791,
-0.5980517864227295,
0.693733274936676,
-0.26823705434799194,
-0.8724595904350281,
0.211484700441360... |
func (m *PilotConfig) GetPodAntiAffinityTermLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityTermLabelSelector
}
return nil
} | [
-0.7247832417488098,
-1.0963019132614136,
0.2583288848400116,
-0.3303276300430298,
1.4970121383666992,
0.6020464897155762,
-0.31263989210128784,
-0.9011187553405762,
-0.37387537956237793,
-0.2239217907190323,
0.7325459122657776,
-0.07245253771543503,
-0.7081713676452637,
-0.136644706130027... |
func (m *PilotConfig) GetRollingMaxSurge() *IntOrStringForPB {
if m != nil {
return m.RollingMaxSurge
}
return nil
} | [
-0.3424030840396881,
0.8279042840003967,
0.3201986253261566,
0.5665072798728943,
-0.6661111116409302,
0.44708582758903503,
-1.5035669803619385,
0.7535396218299866,
0.48069489002227783,
-0.30047574639320374,
-0.0789569541811943,
-0.4113180339336395,
-1.4032413959503174,
0.33996689319610596,... |
func (m *PilotConfig) GetRollingMaxUnavailable() *IntOrStringForPB {
if m != nil {
return m.RollingMaxUnavailable
}
return nil
} | [
-1.0872594118118286,
0.14676769077777863,
0.24030904471874237,
0.449647456407547,
-0.38724300265312195,
1.2004456520080566,
-0.9771373867988586,
1.7873178720474243,
0.36558568477630615,
0.13100330531597137,
-0.640923798084259,
0.47599533200263977,
-0.8345887660980225,
0.1348535120487213,
... |
func (m *PilotConfig) GetTolerations() []map[string]interface{} {
if m != nil {
return m.Tolerations
}
return nil
} | [
0.4437367916107178,
1.3024157285690308,
0.6180738210678101,
-0.09190494567155838,
0.3093821108341217,
-0.07715294510126114,
-0.13689865171909332,
-0.5758559703826904,
0.22205552458763123,
0.1377577781677246,
-0.5827618837356567,
-1.0443377494812012,
-0.9843935966491699,
0.7341630458831787,... |
func (m *PilotConfig) GetPodAnnotations() map[string]interface{} {
if m != nil {
return m.PodAnnotations
}
return nil
} | [
-0.9405531883239746,
0.554054856300354,
0.64533931016922,
0.783818781375885,
-0.03686970844864845,
0.18226735293865204,
0.034259747713804245,
-0.7167432904243469,
0.13811136782169342,
-0.2968985140323639,
-1.1541916131973267,
-0.07212771475315094,
-1.2050777673721313,
0.16371460258960724,
... |
func (m *PrometheusConfig) GetReplicaCount() uint32 {
if m != nil {
return m.ReplicaCount
}
return 0
} | [
0.37408292293548584,
0.842336118221283,
0.6201468706130981,
0.12264349311590195,
0.1375439316034317,
0.03820366412401199,
0.5901203155517578,
1.0495988130569458,
0.1945383995771408,
-0.35338687896728516,
-0.28507307171821594,
0.8396154046058655,
-0.3084065914154053,
0.604839563369751,
0.... |
func (m *PrometheusConfig) GetNodeSelector() map[string]interface{} {
if m != nil {
return m.NodeSelector
}
return nil
} | [
-1.1812940835952759,
0.21747316420078278,
0.29184216260910034,
-0.6263633966445923,
0.5854231119155884,
-0.3760398030281067,
0.2987169623374939,
-0.5651597380638123,
-0.20593300461769104,
-0.8178212642669678,
-0.2881172299385071,
0.5749836564064026,
-0.9544677734375,
0.8146576881408691,
... |
func (m *PrometheusConfig) GetTolerations() []map[string]interface{} {
if m != nil {
return m.Tolerations
}
return nil
} | [
0.6590374112129211,
1.4319632053375244,
0.6276509761810303,
-0.02442515455186367,
0.6158402562141418,
-0.030106568709015846,
0.05592353641986847,
-0.6447016596794128,
0.0044449311681091785,
0.10415749251842499,
-0.48015281558036804,
-0.8345264196395874,
-1.0761489868164062,
0.6254264712333... |
func (m *PrometheusConfig) GetPodAntiAffinityLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityLabelSelector
}
return nil
} | [
-0.9792391657829285,
-0.6925824880599976,
0.20953279733657837,
-0.25787732005119324,
1.9539400339126587,
0.42654740810394287,
0.1296522170305252,
-0.16895999014377594,
-0.5110799670219421,
-0.6530678272247314,
0.6563339233398438,
-0.16859856247901917,
-0.8745476007461548,
0.236451864242553... |
func (m *PrometheusConfig) GetPodAntiAffinityTermLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityTermLabelSelector
}
return nil
} | [
-0.6376132369041443,
-1.0323792695999146,
0.19613176584243774,
-0.4039144217967987,
1.6327226161956787,
0.5327480435371399,
-0.10159768909215927,
-0.8613523840904236,
-0.5849971175193787,
-0.22699537873268127,
0.6387794613838196,
0.013767603784799576,
-0.6632630228996277,
-0.18704535067081... |
func (m *PrometheusConfig) GetResources() *Resources {
if m != nil {
return m.Resources
}
return nil
} | [
0.9478175640106201,
0.8551997542381287,
0.22638006508350372,
0.02515607327222824,
1.5343587398529053,
0.3788731098175049,
0.4789932072162628,
-0.3458130359649658,
0.33598217368125916,
-0.5571668744087219,
-0.2124480903148651,
-0.7118979692459106,
-1.076067328453064,
0.4638932943344116,
0... |
func (m *PrometheusConfig) GetDatasources() []map[string]interface{} {
if m != nil {
return m.Datasources
}
return nil
} | [
-0.025638898834586143,
1.0498236417770386,
0.21802762150764465,
-0.08271124958992004,
0.7033147811889648,
-0.32585608959198,
-0.046279024332761765,
0.36312469840049744,
0.4254465699195862,
-0.6359436511993408,
-1.4543861150741577,
-0.38996410369873047,
-0.6625013947486877,
0.95952808856964... |
func (m *PrometheusConfig) GetPodAnnotations() map[string]interface{} {
if m != nil {
return m.PodAnnotations
}
return nil
} | [
-0.7784498333930969,
0.7197091579437256,
0.6721683740615845,
0.8159365653991699,
0.22482669353485107,
0.30562862753868103,
0.20072497427463531,
-0.7945616245269775,
-0.05206667259335518,
-0.41654694080352783,
-1.0661042928695679,
0.09696400165557861,
-1.237393856048584,
0.14195755124092102... |
func (m *PrometheusConfig) GetImage() string {
if m != nil {
return m.Image
}
return ""
} | [
0.29557499289512634,
0.9123142957687378,
0.16039031744003296,
0.6594918370246887,
0.7922006845474243,
0.9073118567466736,
-0.16012395918369293,
-0.10026396065950394,
-0.5527561902999878,
0.35625284910202026,
1.031156301498413,
-0.44532617926597595,
-1.4305857419967651,
0.7747980356216431,
... |
func (m *ProxyConfig) GetResources() *Resources {
if m != nil {
return m.Resources
}
return nil
} | [
0.5121180415153503,
0.9128953218460083,
0.10969890654087067,
-0.4961737096309662,
0.7602299451828003,
-0.06670569628477097,
0.39211034774780273,
0.3657980263233185,
0.46024373173713684,
-0.7172766327857971,
-0.12400910258293152,
-1.1353325843811035,
-0.9633541703224182,
0.1306656152009964,... |
func (m *ProxyInitConfig) GetResources() *Resources {
if m != nil {
return m.Resources
}
return nil
} | [
0.435528427362442,
0.6212352514266968,
0.07914447039365768,
-0.43586277961730957,
1.058236837387085,
-0.023316873237490654,
0.44387221336364746,
0.19798344373703003,
0.36189448833465576,
-0.8828380703926086,
-0.48433706164360046,
-1.1450862884521484,
-1.070676326751709,
0.1408996433019638,... |
func (m *SecurityConfig) GetReplicaCount() uint32 {
if m != nil {
return m.ReplicaCount
}
return 0
} | [
0.4312227666378021,
0.8580725193023682,
0.5724918246269226,
0.3921279013156891,
-0.1339341253042221,
-0.17208866775035858,
0.607576847076416,
1.1990793943405151,
0.41151878237724304,
-0.21366240084171295,
-0.6772469282150269,
0.6733343005180359,
-0.21046443283557892,
0.36701130867004395,
... |
func (m *SecurityConfig) GetNodeSelector() map[string]interface{} {
if m != nil {
return m.NodeSelector
}
return nil
} | [
-1.1553689241409302,
0.10147732496261597,
0.27961742877960205,
-0.3804440200328827,
0.4051481783390045,
-0.5077461004257202,
0.2246803492307663,
-0.5324429869651794,
0.07162048667669296,
-0.762633204460144,
-0.5026645064353943,
0.23548944294452667,
-0.8603949546813965,
0.46206673979759216,... |
func (m *SecurityConfig) GetPodAnnotations() map[string]interface{} {
if m != nil {
return m.PodAnnotations
}
return nil
} | [
-0.699313759803772,
0.6226349472999573,
0.5906423330307007,
1.00495183467865,
0.0066489363089203835,
0.11516664922237396,
0.07054615020751953,
-0.7620307207107544,
0.15439248085021973,
-0.37579572200775146,
-1.283458948135376,
-0.09343838691711426,
-1.1507457494735718,
-0.08137631416320801... |
func (m *SecurityConfig) GetTolerations() []map[string]interface{} {
if m != nil {
return m.Tolerations
}
return nil
} | [
0.6775476336479187,
1.364593505859375,
0.5538275837898254,
0.1331968605518341,
0.3122749328613281,
-0.21347908675670624,
0.08466064929962158,
-0.5152390003204346,
0.2589953541755676,
0.15213334560394287,
-0.7865642309188843,
-1.1407184600830078,
-0.9325394630432129,
0.33003607392311096,
... |
func (m *SecurityConfig) GetResources() *Resources {
if m != nil {
return m.Resources
}
return nil
} | [
0.8819109201431274,
0.5654932260513306,
0.06752437353134155,
0.2904805541038513,
1.0085378885269165,
0.1496945470571518,
0.42686837911605835,
-0.18686451017856598,
0.7565362453460693,
-0.48059648275375366,
-0.6497081518173218,
-1.1751306056976318,
-0.9044695496559143,
0.12042964994907379,
... |
func (m *SecurityConfig) GetRollingMaxSurge() *IntOrStringForPB {
if m != nil {
return m.RollingMaxSurge
}
return nil
} | [
-0.1281265765428543,
0.7221600413322449,
0.1756046563386917,
0.7926412224769592,
-0.6209327578544617,
0.3082096576690674,
-1.328507900238037,
0.8184816241264343,
0.5467470288276672,
-0.27449703216552734,
-0.30231422185897827,
-0.47084757685661316,
-1.270730972290039,
0.24602526426315308,
... |
func (m *SecurityConfig) GetRollingMaxUnavailable() *IntOrStringForPB {
if m != nil {
return m.RollingMaxUnavailable
}
return nil
} | [
-0.8174083232879639,
0.1470881700515747,
0.08842644840478897,
0.6900448799133301,
-0.3603547513484955,
1.0142416954040527,
-0.8283994793891907,
1.7578974962234497,
0.39135873317718506,
0.13259921967983246,
-0.9789136052131653,
0.38655978441238403,
-0.6811768412590027,
0.004329009912908077,... |
func (m *SecurityConfig) GetPodAntiAffinityLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityLabelSelector
}
return nil
} | [
-0.9113152623176575,
-0.7321692109107971,
0.18049220740795135,
-0.03398456797003746,
1.9618794918060303,
0.3400789499282837,
0.0399588905274868,
-0.16299299895763397,
-0.30265161395072937,
-0.6546036005020142,
0.4866495132446289,
-0.36318114399909973,
-0.8396843075752258,
0.002008983166888... |
func (m *SecurityConfig) GetPodAntiAffinityTermLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityTermLabelSelector
}
return nil
} | [
-0.6226124167442322,
-1.0984257459640503,
0.19996586441993713,
-0.26225584745407104,
1.6222368478775024,
0.48399442434310913,
-0.22190813720226288,
-0.8711792826652527,
-0.4492829144001007,
-0.3019196093082428,
0.47576409578323364,
-0.14182886481285095,
-0.6128554940223694,
-0.365034639835... |
func (m *SidecarInjectorConfig) GetNodeSelector() map[string]interface{} {
if m != nil {
return m.NodeSelector
}
return nil
} | [
-1.3179996013641357,
0.2820267677307129,
0.2963312864303589,
-0.8170239329338074,
0.5933017730712891,
-0.6656301617622375,
0.18091484904289246,
-0.5706363916397095,
-0.2684621214866638,
-0.861712634563446,
-0.45219504833221436,
0.16775257885456085,
-0.9521085023880005,
0.4766739308834076,
... |
func (m *SidecarInjectorConfig) GetPodAntiAffinityLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityLabelSelector
}
return nil
} | [
-1.107977271080017,
-0.5590918660163879,
0.2188938558101654,
-0.3187348544597626,
1.972127914428711,
0.2505466341972351,
0.0487431138753891,
-0.23350302875041962,
-0.571248471736908,
-0.66858971118927,
0.5421827435493469,
-0.33787697553634644,
-0.8203389644622803,
-0.0646093338727951,
0.... |
func (m *SidecarInjectorConfig) GetPodAntiAffinityTermLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityTermLabelSelector
}
return nil
} | [
-0.7999472618103027,
-0.9191453456878662,
0.21789807081222534,
-0.5019158124923706,
1.6537458896636963,
0.37228938937187195,
-0.17760688066482544,
-0.9225978851318359,
-0.672825813293457,
-0.30110567808151245,
0.637189507484436,
-0.11797508597373962,
-0.6563255786895752,
-0.429039031267166... |
func (m *SidecarInjectorConfig) GetReplicaCount() uint32 {
if m != nil {
return m.ReplicaCount
}
return 0
} | [
0.24315465986728668,
1.038787841796875,
0.5489091873168945,
-0.06117361783981323,
0.08040454238653183,
-0.2545568346977234,
0.443612664937973,
1.0301917791366577,
-0.005093441344797611,
-0.3495292663574219,
-0.5323486924171448,
0.4585357904434204,
-0.2162901908159256,
0.36470261216163635,
... |
func (m *SidecarInjectorConfig) GetResources() *Resources {
if m != nil {
return m.Resources
}
return nil
} | [
0.4772970378398895,
0.9928825497627258,
0.16106338798999786,
-0.41234448552131653,
1.2415462732315063,
-0.005618743598461151,
0.3190057873725891,
-0.15042030811309814,
0.2301436960697174,
-0.34991544485092163,
-0.3706420361995697,
-1.2633657455444336,
-0.8923080563545227,
-0.01901989802718... |
func (m *SidecarInjectorConfig) GetTolerations() []map[string]interface{} {
if m != nil {
return m.Tolerations
}
return nil
} | [
0.6253060102462769,
1.574122428894043,
0.5305758714675903,
-0.29893141984939575,
0.5307294726371765,
-0.3118026852607727,
0.01266355812549591,
-0.7037109136581421,
0.02207574062049389,
0.19412831962108612,
-0.6541062593460083,
-1.245821237564087,
-0.9446491599082947,
0.3365733027458191,
... |
func (m *SidecarInjectorConfig) GetPodAnnotations() map[string]interface{} {
if m != nil {
return m.PodAnnotations
}
return nil
} | [
-0.8433936834335327,
0.9111382961273193,
0.6673253774642944,
0.4978008270263672,
0.23879751563072205,
0.09477756917476654,
0.10967014729976654,
-0.7261642217636108,
-0.1554115265607834,
-0.3833059072494507,
-1.058652639389038,
-0.28564292192459106,
-1.2452396154403687,
-0.09980448335409164... |
func (m *SidecarInjectorConfig) GetRollingMaxSurge() *IntOrStringForPB {
if m != nil {
return m.RollingMaxSurge
}
return nil
} | [
-0.2944032549858093,
1.0197311639785767,
0.25491026043891907,
0.5679303407669067,
-0.6250796914100647,
0.3232114017009735,
-1.3643571138381958,
0.6352325081825256,
0.32155901193618774,
-0.33219513297080994,
-0.3776687979698181,
-0.49471405148506165,
-1.2453804016113281,
0.08157669007778168... |
func (m *SidecarInjectorConfig) GetRollingMaxUnavailable() *IntOrStringForPB {
if m != nil {
return m.RollingMaxUnavailable
}
return nil
} | [
-1.016402006149292,
0.40155014395713806,
0.22282345592975616,
0.36424779891967773,
-0.3277438282966614,
0.9154791235923767,
-0.8833690285682678,
1.6161994934082031,
0.10275579988956451,
0.13381682336330414,
-0.8869946599006653,
0.31857675313949585,
-0.7747781276702881,
-0.16009679436683655... |
func (m *TracingConfig) GetNodeSelector() map[string]interface{} {
if m != nil {
return m.NodeSelector
}
return nil
} | [
-1.095653772354126,
0.09673495590686798,
0.37263718247413635,
-0.5599849820137024,
0.4731557071208954,
-0.5593795776367188,
0.4834909737110138,
-0.5140716433525085,
0.09592904895544052,
-0.8859941363334656,
-0.4599395990371704,
0.15448494255542755,
-0.6275905966758728,
0.7226622700691223,
... |
func (m *TracingConfig) GetPodAntiAffinityLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityLabelSelector
}
return nil
} | [
-0.9546787142753601,
-0.7471781373023987,
0.22420954704284668,
-0.17546717822551727,
1.9717721939086914,
0.2859857678413391,
0.19941657781600952,
-0.15528491139411926,
-0.29415884613990784,
-0.6725329160690308,
0.6248346567153931,
-0.34258803725242615,
-0.7249550223350525,
-0.0133382109925... |
func (m *TracingConfig) GetPodAntiAffinityTermLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityTermLabelSelector
}
return nil
} | [
-0.6958215236663818,
-1.132387638092041,
0.23071134090423584,
-0.36491093039512634,
1.6446208953857422,
0.42869457602500916,
-0.09205180406570435,
-0.8907616138458252,
-0.46710047125816345,
-0.3056004047393799,
0.6043198108673096,
-0.12436634302139282,
-0.5022743344306946,
-0.3819716274738... |
func (m *TracingConfig) GetTolerations() []map[string]interface{} {
if m != nil {
return m.Tolerations
}
return nil
} | [
0.6690132021903992,
1.3026409149169922,
0.6173321604728699,
0.09121758490800858,
0.40182623267173767,
-0.2192590981721878,
0.3000040054321289,
-0.6456535458564758,
0.3428463637828827,
0.15398402512073517,
-0.5616328716278076,
-1.0986586809158325,
-0.7054038047790527,
0.5800509452819824,
... |
func (m *TracingOpencensusConfig) GetResources() map[string]interface{} {
if m != nil {
return m.Resources
}
return nil
} | [
0.49535858631134033,
0.2665524184703827,
0.23657222092151642,
-0.20586062967777252,
1.0826282501220703,
-0.09316923469305038,
0.22663594782352448,
-0.40272068977355957,
0.9370676875114441,
-0.41362982988357544,
-0.16332952678203583,
-1.1596341133117676,
-0.3701200485229492,
0.3593924641609... |
func (m *TracingOpencensusConfig) GetPodAnnotations() map[string]interface{} {
if m != nil {
return m.PodAnnotations
}
return nil
} | [
-0.6466249227523804,
0.5754584670066833,
0.5499762892723083,
0.8871597051620483,
0.22044381499290466,
0.2063198983669281,
0.18123136460781097,
-0.8585091233253479,
0.2544168531894684,
-0.5032814741134644,
-1.0225616693496704,
-0.0968097522854805,
-1.1079730987548828,
-0.19362995028495789,
... |
func (m *TracingJaegerConfig) GetResources() map[string]interface{} {
if m != nil {
return m.Resources
}
return nil
} | [
0.2767907977104187,
0.38936346769332886,
0.23902857303619385,
-0.3343464136123657,
0.5812291502952576,
-0.5782530903816223,
0.7362752556800842,
-0.4361851215362549,
0.9551836848258972,
-0.17323163151741028,
-0.2740204930305481,
-1.2269662618637085,
-0.4390614926815033,
0.7323331236839294,
... |
func (m *TracingJaegerConfig) GetPodAnnotations() map[string]interface{} {
if m != nil {
return m.PodAnnotations
}
return nil
} | [
-0.9331152439117432,
0.6544243693351746,
0.6224874258041382,
0.7310754060745239,
-0.08650972694158554,
-0.07016009092330933,
0.433368980884552,
-0.9615370035171509,
0.18772342801094055,
-0.3169495463371277,
-1.062504529953003,
-0.23813891410827637,
-1.160118818283081,
0.1428270787000656,
... |
func (m *TracingZipkinConfig) GetResources() *Resources {
if m != nil {
return m.Resources
}
return nil
} | [
0.6422936916351318,
0.5394747257232666,
0.12296335399150848,
0.07399445027112961,
1.3607478141784668,
-0.2212984710931778,
0.6946704387664795,
-0.15544170141220093,
0.714724600315094,
-0.7170771360397339,
-0.3281401991844177,
-1.3477355241775513,
-0.7210830450057983,
0.21150250732898712,
... |
func (m *TracingZipkinConfig) GetPodAnnotations() map[string]interface{} {
if m != nil {
return m.PodAnnotations
}
return nil
} | [
-0.7879474759101868,
0.46348270773887634,
0.6227483749389648,
0.6807745099067688,
0.2069866806268692,
-0.024409806355834007,
0.2945016324520111,
-0.7424356937408447,
0.15310528874397278,
-0.4481339156627655,
-1.197733998298645,
-0.2937685251235962,
-1.1497539281845093,
0.021237961947917938... |
func (m *KialiConfig) GetReplicaCount() uint32 {
if m != nil {
return m.ReplicaCount
}
return 0
} | [
0.21626682579517365,
0.956948459148407,
0.5691468119621277,
0.25446584820747375,
-0.44606396555900574,
-0.24411289393901825,
0.4404326379299164,
1.2099478244781494,
0.25578805804252625,
-0.22002427279949188,
-0.386245459318161,
0.6590287089347839,
0.006569601595401764,
0.5862825512886047,
... |
func (m *KialiConfig) GetNodeSelector() map[string]interface{} {
if m != nil {
return m.NodeSelector
}
return nil
} | [
-1.345555067062378,
0.10662774741649628,
0.29083889722824097,
-0.5212081074714661,
0.01972542330622673,
-0.6680547595024109,
0.2235564887523651,
-0.37469562888145447,
0.010496160015463829,
-0.9171259999275208,
-0.35836437344551086,
0.2621335983276367,
-0.7155984044075012,
0.691268682479858... |
func (m *KialiConfig) GetPodAnnotations() map[string]interface{} {
if m != nil {
return m.PodAnnotations
}
return nil
} | [
-0.8742306232452393,
0.7359337210655212,
0.6224316358566284,
0.8840574622154236,
-0.24891714751720428,
0.0082287872210145,
0.08088640123605728,
-0.7052367329597473,
0.07647935301065445,
-0.4394115209579468,
-1.1076802015304565,
-0.14047323167324066,
-1.07518470287323,
0.05250850319862366,
... |
func (m *KialiConfig) GetPodAntiAffinityLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityLabelSelector
}
return nil
} | [
-1.102323293685913,
-0.7373498678207397,
0.194680854678154,
-0.15575285255908966,
1.7185202836990356,
0.15630243718624115,
0.0018894840031862259,
-0.15896467864513397,
-0.33117154240608215,
-0.6780791282653809,
0.6417927145957947,
-0.3283255696296692,
-0.6557350754737854,
0.062265861779451... |
func (m *KialiConfig) GetPodAntiAffinityTermLabelSelector() []map[string]interface{} {
if m != nil {
return m.PodAntiAffinityTermLabelSelector
}
return nil
} | [
-0.7639210224151611,
-1.0721062421798706,
0.21425823867321014,
-0.3095758855342865,
1.4410277605056763,
0.29357603192329407,
-0.2628197968006134,
-0.8653948307037354,
-0.4918093681335449,
-0.3084739148616791,
0.6364368796348572,
-0.1415998935699463,
-0.43689462542533875,
-0.312763184309005... |
func (m *KialiConfig) GetTolerations() []map[string]interface{} {
if m != nil {
return m.Tolerations
}
return nil
} | [
0.5537160634994507,
1.4183261394500732,
0.5809441804885864,
0.015053839422762394,
-0.0289729293435812,
-0.31406936049461365,
0.03549603372812271,
-0.47591274976730347,
0.23853512108325958,
0.20912912487983704,
-0.6336264610290527,
-1.0708894729614258,
-0.7508355379104614,
0.493147969245910... |
func (m *KialiConfig) GetImage() string {
if m != nil {
return m.Image
}
return ""
} | [
-0.044844094663858414,
0.7765188813209534,
0.026131335645914078,
0.7357192635536194,
-0.06394662708044052,
0.3694901168346405,
-0.23492422699928284,
0.3123917281627655,
-0.14096786081790924,
0.4359619915485382,
0.7541860342025757,
-0.9453474879264832,
-0.7597941756248474,
0.494355827569961... |
func (m *KialiConfig) GetResources() *Resources {
if m != nil {
return m.Resources
}
return nil
} | [
0.5607709884643555,
0.6516289114952087,
0.04190867394208908,
0.19082501530647278,
0.5907425284385681,
-0.050984594970941544,
0.3531576097011566,
0.014754531905055046,
0.7049603462219238,
-0.48090681433677673,
-0.17969383299350739,
-1.203131914138794,
-0.49779945611953735,
0.261663019657135... |
func RemovePort(host string) string {
shost, _, err := net.SplitHostPort(host)
if err != nil { // Probably doesn't have a port
return host
}
return shost
} | [
0.07888231426477432,
-0.02385806292295456,
0.5603266954421997,
0.21685390174388885,
-0.39604276418685913,
-0.49558237195014954,
0.29187628626823425,
0.7901538014411926,
0.44498372077941895,
-0.10791860520839691,
-0.007273461204022169,
-0.4867321252822876,
-1.1703882217407227,
0.08026672899... |
func SafePath(s string) string {
return tr.Replace(s)
} | [
1.1326394081115723,
-0.0591914989054203,
0.018438760191202164,
-0.9178007245063782,
-1.0056397914886475,
0.6197884678840637,
0.8790637254714966,
0.2140895128250122,
0.5253602266311646,
0.08364883810281754,
0.07738668471574783,
-0.18197259306907654,
-0.19096432626247406,
-1.3841997385025024... |
func PrivateIP(ip string) bool {
addr := net.ParseIP(RemovePort(strings.TrimSpace(ip)))
if addr == nil { // Not an IP address?
return true
}
for _, c := range privateCIDR {
if c.Contains(addr) {
return true
}
}
return false
} | [
-0.28577736020088196,
0.04474388808012009,
0.5224706530570984,
0.20731596648693085,
-0.279809832572937,
-0.42129430174827576,
-0.3625282347202301,
-0.010452058166265488,
0.9949250817298889,
0.41913655400276184,
0.41272926330566406,
-0.7066208124160767,
-0.8903010487556458,
-0.4738735854625... |
func (b *BotWorker) Send(cmd *protocol.Command) error {
b.cmdOutChan <- cmd
// FIXME: figure out what error to check
return nil
} | [
-0.7159181833267212,
0.2856298089027405,
0.2885277569293976,
0.45192745327949524,
0.6821515560150146,
1.1165226697921753,
-0.1542564481496811,
-0.8067907094955444,
-0.613925039768219,
-1.060922384262085,
-0.898196280002594,
0.08213090896606445,
-0.6427037119865417,
0.7885316610336304,
-0... |
func GetJob(conf *entity.JenkinsConfig, jobName string) (job gojenkins.Job, err error) {
debug("[GetJob]conf", *conf)
debug("[GetJob]jobName", jobName)
auth := &gojenkins.Auth{
Username: conf.User,
ApiToken: conf.Token,
}
jenkins := gojenkins.NewJenkins(auth, conf.URL)
job, err = jenkins.GetJob(jobName)
if... | [
-0.043791770935058594,
0.28242227435112,
0.41352376341819763,
0.9810687303543091,
0.2535865902900696,
0.26740244030952454,
-0.2347487360239029,
0.06055394560098648,
-0.4346470534801483,
0.25833573937416077,
0.2689063549041748,
1.2682929039001465,
-0.4304547607898712,
-0.5275682210922241,
... |
func Build(conf *entity.JenkinsConfig, job gojenkins.Job, params url.Values) (err error) {
debug("[Build]conf", *conf)
debug("[Build]job", job)
debug("[Build]params", params)
auth := &gojenkins.Auth{
Username: conf.User,
ApiToken: conf.Token,
}
jenkins := gojenkins.NewJenkins(auth, conf.URL)
err = jenkins.B... | [
-0.8386498093605042,
-0.6096258759498596,
0.44118180871009827,
0.721881091594696,
0.5941276550292969,
0.4302021861076355,
-0.1729218065738678,
0.4878239333629608,
-1.1513335704803467,
0.359717458486557,
-0.4949294626712799,
1.0773146152496338,
-0.04001374542713165,
0.04355202615261078,
0... |
func SelectJob(jobs []gojenkins.Job, number int) (job gojenkins.Job, err error) {
debug("[SelectJob]conf", jobs)
debug("[SelectJob]number", number)
for index, job := range jobs {
if index == number {
return job, nil
}
}
Fatalf("cant selected job from number : %s", err)
return
} | [
0.22792096436023712,
-0.2645832300186157,
0.2873588502407074,
0.9874717593193054,
-0.413974404335022,
-0.2005269080400467,
0.07405321300029755,
-0.5625022649765015,
0.31750261783599854,
0.22416643798351288,
0.44946783781051636,
0.2618524432182312,
-1.0650029182434082,
-0.5596740245819092,
... |
func Provider() *schema.Provider {
return &schema.Provider{
Schema: map[string]*schema.Schema{
"host": &schema.Schema{
Type: schema.TypeString,
Required: true,
Description: "The address of the CDAP instance.",
},
"token": &schema.Schema{
Type: schema.TypeString,
Optional... | [
-0.7829133868217468,
-0.22960862517356873,
0.28302228450775146,
-0.7051892876625061,
-0.5028133988380432,
0.49420028924942017,
0.41307997703552246,
0.22695492208003998,
1.1753274202346802,
-0.019945308566093445,
-0.2210441380739212,
0.11420711129903793,
0.13579170405864716,
-0.126068085432... |
func LogError(message string, err error) {
logrus.Error(message)
if err != nil {
logrus.Error(err.Error())
}
} | [
0.3869955241680145,
0.32585495710372925,
0.15299107134342194,
1.0967602729797363,
0.07143010944128036,
-0.550874650478363,
-0.5695129632949829,
0.729498028755188,
0.12950509786605835,
-0.5815858244895935,
-0.17680707573890686,
1.145171880722046,
-0.2617962956428528,
0.734505832195282,
1.... |
func validateAdapters(adapterMap map[string]Adapter, errs []error) []error {
for adapterName, adapter := range adapterMap {
if !adapter.Disabled {
// Verify that every adapter has a valid endpoint associated with it
errs = validateAdapterEndpoint(adapter.Endpoint, adapterName, errs)
// Verify that valid us... | [
-0.6135328412055969,
-0.6037741303443909,
0.1863856166601181,
0.9804860353469849,
0.014838363975286484,
0.3168552815914154,
-0.11212702095508575,
0.4353913962841034,
0.5738788843154907,
0.2490587681531906,
0.6258766055107117,
0.21970099210739136,
-0.23563449084758759,
0.7071676850318909,
... |
func validateAdapterEndpoint(endpoint string, adapterName string, errs []error) []error {
if endpoint == "" {
return append(errs, fmt.Errorf("There's no default endpoint available for %s. Calls to this bidder/exchange will fail. "+
"Please set adapters.%s.endpoint in your app config", adapterName, adapterName))
... | [
-0.5600318312644958,
-0.5434923768043518,
0.7688105702400208,
0.6400098204612732,
0.2613644599914551,
-0.5246095061302185,
-0.2650856375694275,
0.5413548946380615,
0.24521034955978394,
-0.016747089102864265,
0.4221232533454895,
0.03104017674922943,
-0.4229464530944824,
0.3425155580043793,
... |
func validateAdapterUserSyncURL(userSyncURL string, adapterName string, errs []error) []error {
if userSyncURL != "" {
// Create user_sync URL template
userSyncTemplate, err := template.New("userSyncTemplate").Parse(userSyncURL)
if err != nil {
return append(errs, fmt.Errorf("Invalid user sync URL template: %... | [
-0.4821493923664093,
0.06046709045767784,
0.649299681186676,
0.6902514100074768,
-0.40203040838241577,
-0.29911985993385315,
0.3683673143386841,
0.07245229184627533,
0.4988051950931549,
-0.5686137676239014,
0.02578258328139782,
0.27910810708999634,
0.6416530013084412,
0.011184637434780598,... |
func numDecodings(message string) int {
if len(message) == 0 {
return 0
}
if len(message) == 1 && message == "0" {
return 0
}
if len(message) == 1 && message != "0" {
return 1
}
// take the first digit
firstDigit := message[0:1]
wordFormed := 0
if firstDigit != "0" {
wordFormed = wordFormed + numDe... | [
-0.25890490412712097,
0.9340266585350037,
0.9238524436950684,
-0.6615552306175232,
-0.4911773204803467,
-0.7402281761169434,
0.9825513362884521,
0.03386352211236954,
0.11466065049171448,
-0.3337239921092987,
0.42026227712631226,
0.42917296290397644,
-0.5367537140846252,
1.5230276584625244,... |
func TestDownloadVideo(t *testing.T) {
URL := "https://www.youtube.com/watch?v=UO_QuXr521I"
plataform := "youtube"
downloadVideo(URL, plataform)
cmd := "ls video.mp4"
result, _ := exec.Command("sh", "-c", cmd).Output()
if string(result) == "" {
t.Errorf("Video was not downloaded")
}
deleteVideo()
} | [
0.6324036121368408,
-0.522379457950592,
0.6983248591423035,
1.0598360300064087,
1.128751277923584,
-0.42013296484947205,
0.2565842866897583,
0.14268256723880768,
0.99034583568573,
-1.0668365955352783,
-0.2373294085264206,
0.8723137378692627,
-0.1666775941848755,
0.7270360589027405,
0.291... |
func TestDeleteVideo(t *testing.T) {
cmd := "touch video.mp4"
exec.Command("sh", "-c", cmd).Output()
deleteVideo()
cmd = "ls video.mp4"
result, _ := exec.Command("sh", "-c", cmd).Output()
if string(result) != "" {
t.Errorf("Video was not deleted")
}
} | [
1.1971299648284912,
-0.26988065242767334,
0.7261077761650085,
1.2778692245483398,
0.9183512926101685,
0.24838237464427948,
0.38634899258613586,
0.39093124866485596,
1.2928764820098877,
-1.110698938369751,
0.3737436830997467,
0.8209980726242065,
-0.23068968951702118,
0.8141255974769592,
0... |
func TestGetSupportedPlataforms(t *testing.T) {
plataforms := [4]string{
"facebook",
"twitter",
"youtube",
"instagram",
}
result := getSupportedPlataforms()
for i := range result {
if plataforms[i] != result[i] {
t.Errorf("Plataform was incorrect, got: %s, want: %s.", result[i], plataforms[i])
}
... | [
-0.22318090498447418,
0.14982150495052338,
0.5025463104248047,
0.48040103912353516,
0.20769453048706055,
0.709241509437561,
-0.22013390064239502,
-0.0949237048625946,
0.8935983180999756,
-0.583550751209259,
-1.904457926750183,
0.019523294642567635,
-0.9904397130012512,
-0.8120024800300598,... |
func TestValidateURL(t *testing.T) {
plataforms := [4]string{
"facebook",
"twitter",
"youtube",
"instagram",
}
for _, plataform := range plataforms {
URL := "www." + plataform + ".com/teste"
result := validateURL(URL)
if result != plataform {
t.Errorf("Plataform was incorrect, got: %s, want: %s... | [
-0.4264417886734009,
-0.21040284633636475,
0.47335171699523926,
1.1343215703964233,
1.1097309589385986,
0.6906285285949707,
0.37655559182167053,
0.1305319219827652,
0.38769686222076416,
-0.9078139662742615,
-1.131450891494751,
-0.6228031516075134,
-0.45413267612457275,
0.0887727439403534,
... |
func getFullEntry() (string, []string) {
defer timeTrack(time.Now(), "Got full entry")
type CachedDoc struct {
Files []string
Entries []string
Timestamps []int
}
fullEntry := ""
cache := CachedDoc{[]string{}, []string{}, []int{}}
allEntries := []string{}
gts := []int{}
allFiles := readAllFiles()
... | [
-0.09524752199649811,
-0.8565317392349243,
0.9274699687957764,
-0.17034488916397095,
-0.5419972538948059,
-0.19803276658058167,
-0.06067216396331787,
0.12152710556983948,
-0.5832065939903259,
0.8780563473701477,
-0.15546314418315887,
0.2669285833835602,
0.4640706181526184,
0.98163127899169... |
func parseEntries(text string) ([]string, []int) {
defer timeTrack(time.Now(), "Parsing entries")
entry := ""
entries := make(map[int]string)
var gt int
for _, line := range strings.Split(text, "\n") {
entryWords := strings.Split(strings.TrimSpace(line), " ")
if len(entryWords) > 1 {
isDate, new_gt := parse... | [
0.15590432286262512,
-0.17252220213413239,
0.6897697448730469,
-0.4740150272846222,
-0.4936959743499756,
-0.1190333440899849,
0.22571493685245514,
-0.08062044531106949,
-0.4334276020526886,
0.36532777547836304,
-0.015480246394872665,
0.05504963919520378,
0.06461372971534729,
1.109556436538... |
func sortEntries(entries map[int]string) ([]string, []int) {
// Sort the entries in order
var keys []int
for k := range entries {
keys = append(keys, k)
}
sort.Ints(keys)
entriesInOrder := []string{}
gtsInOrder := []int{}
for _, k := range keys {
entriesInOrder = append(entriesInOrder, entries[k])
gtsInO... | [
-0.5200534462928772,
-0.7715381383895874,
0.5757829546928406,
-1.0120306015014648,
-0.3795642852783203,
-0.19074124097824097,
-0.39101213216781616,
0.29099929332733154,
-0.6636105179786682,
0.5523961782455444,
-0.12853886187076569,
0.42424410581588745,
-0.3180805444717407,
0.50923347473144... |
func writeEntry(fileContents string, forceWrite bool) bool {
// logger.Debug("Entry contains %d bytes.", len(fileContents))
if len(fileContents) < 22 && !forceWrite {
fmt.Println("No data appended.")
return false
}
// Hash date to get fileName
fileNameFrontMatter, dateVal := getFrontMatter(fileContents)
for ... | [
-0.26503413915634155,
-0.4653266966342926,
0.699676513671875,
-0.20270252227783203,
1.1175155639648438,
0.7338894605636597,
0.11082995682954788,
0.4121379852294922,
-0.740037202835083,
0.6964545845985413,
-0.11494556069374084,
-0.14173783361911774,
-0.12111598998308182,
0.6385642886161804,... |
func CreateFactory() ValidationFactory {
return &k8sFactory{}
} | [
0.5118058323860168,
-1.0154556035995483,
0.19240520894527435,
0.5112127065658569,
0.45867517590522766,
-0.11039011180400848,
-0.858261227607727,
-0.21521829068660736,
-0.035367000848054886,
-0.09611690044403076,
-0.012127834372222424,
-0.7889702320098877,
0.10860305279493332,
0.10341555625... |
func (m *UploadTaskWhereInput) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateAND(formats); err != nil {
res = append(res, err)
}
if err := m.validateNOT(formats); err != nil {
res = append(res, err)
}
if err := m.validateOR(formats); err != nil {
res = append(res, err)
}
... | [
0.10821792483329773,
-0.5438745021820068,
0.7879335284233093,
0.11770817637443542,
-0.20114123821258545,
0.6325228214263916,
1.1387722492218018,
-0.9503248333930969,
-1.0929312705993652,
0.01374480128288269,
0.13579480350017548,
-0.15230359137058258,
-0.637097954750061,
0.752118706703186,
... |
func (m *UploadTaskWhereInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
var res []error
if err := m.contextValidateAND(ctx, formats); err != nil {
res = append(res, err)
}
if err := m.contextValidateNOT(ctx, formats); err != nil {
res = append(res, err)
}
if err := m.contextVal... | [
0.03056054748594761,
-0.5858200192451477,
0.9570626020431519,
0.1889442503452301,
-0.205977201461792,
0.8033803701400757,
0.9822527766227722,
-0.7645881772041321,
-0.31705769896507263,
0.06102621182799339,
0.10317052900791168,
0.051376622170209885,
-0.867671549320221,
0.5096879601478577,
... |
func Sqrt(f float64) (float64, error) {
if f < 0 {
return 0, errors.New("Received a negative number")
}
return 42, nil
} | [
0.3618752360343933,
0.6224947571754456,
0.3529534637928009,
0.5463458299636841,
-0.6392614245414734,
0.15033270418643951,
-0.9364451766014099,
-0.27460572123527527,
0.34262025356292725,
-0.2587931752204895,
0.24284522235393524,
0.3531093895435333,
-0.3906781077384949,
1.2138679027557373,
... |
func getLoggerVerbosity(verbosity []bool) zapcore.Level {
switch len(verbosity) {
case 0:
return zap.WarnLevel
case 1:
return zap.InfoLevel
default:
return zap.DebugLevel
}
} | [
-0.6929374933242798,
-0.2756044566631317,
0.4591776728630066,
1.10252845287323,
0.523977518081665,
-0.20236024260520935,
-0.8856661319732666,
-0.12382432073354721,
-0.1792793869972229,
0.41446465253829956,
-0.8228020071983337,
0.4393617808818817,
-0.766920804977417,
0.8659701347351074,
0... |
func (s Server) connectToPeers(nodeList []string) {
ticker := time.NewTicker(PEER_CHECK * time.Millisecond)
go func() {
for _ = range ticker.C {
s.tryToConnectToPeers(nodeList)
}
}()
} | [
-1.3291124105453491,
0.14980320632457733,
0.18571603298187256,
0.5403005480766296,
0.9021808505058289,
0.14533966779708862,
0.3194010257720947,
-0.9453363418579102,
-1.0873651504516602,
1.0917372703552246,
0.2700991928577423,
-0.5345113277435303,
-0.4961371421813965,
1.2079882621765137,
... |
func NewID(service Service, modelIndex string, uuid string) ID {
return &id{service, modelIndex, uuid}
} | [
0.2616775333881378,
-0.5328421592712402,
0.01925106905400753,
0.3875243067741394,
-0.7187365889549255,
0.6911201477050781,
-0.6471541523933411,
-0.1673974245786667,
0.2827122211456299,
0.21881939470767975,
0.23314011096954346,
0.31294605135917664,
-0.6526010632514954,
-1.368257761001587,
... |
func NewString(input string) *string {
return &input
} | [
0.17853401601314545,
-0.6165117025375366,
-0.03318839892745018,
-0.11023393273353577,
-1.7699346542358398,
0.4512943625450134,
0.6659957766532898,
-0.9102863073348999,
0.6869226098060608,
-0.5684558749198914,
0.007508346810936928,
0.685810387134552,
0.15872222185134888,
-0.5197018980979919... |
func NewStringOrNil(input *string) *string {
if input == nil {
return nil
}
return NewString(*input)
} | [
0.05507758632302284,
-0.17704170942306519,
0.18184097111225128,
-0.6157177090644836,
-1.266508936882019,
-0.7640321254730225,
-1.019989013671875,
-0.8162674903869629,
0.32005396485328674,
-0.5875952839851379,
-0.21541841328144073,
0.47040262818336487,
-0.2718757092952728,
0.233479604125022... |
func StringOrDefault(input *string, defaultValue ...string) string {
if input == nil {
if len(defaultValue) > 0 {
return defaultValue[0]
}
return ""
}
return *input
} | [
0.07604469358921051,
-0.18024078011512756,
0.3033483028411865,
0.1715935617685318,
0.5785226225852966,
-0.16443517804145813,
-0.4860256314277649,
0.12408793717622757,
0.3699996769428253,
0.157331645488739,
0.3285194933414459,
-0.1010093167424202,
-0.7081270813941956,
-0.09523391723632812,
... |
func NewInt(input int) *int {
return &input
} | [
0.1520143449306488,
-0.2674667537212372,
0.0794341117143631,
-0.27138417959213257,
-1.6415605545043945,
0.3694640100002289,
0.24158424139022827,
-1.3051544427871704,
0.1080971509218216,
-0.5384881496429443,
0.05763416737318039,
0.24078287184238434,
-0.20194745063781738,
-0.4370614588260650... |
func NewIntOrNil(input *int) *int {
if input == nil {
return nil
}
return NewInt(*input)
} | [
0.03992915898561478,
-0.29765382409095764,
0.15760071575641632,
-0.4948717951774597,
-1.837377667427063,
-0.15300141274929047,
-0.5801939964294434,
-0.21414420008659363,
0.14289358258247375,
-0.7680453658103943,
-0.29679355025291443,
0.0003032106324099004,
-1.0640445947647095,
0.3069822788... |
func IntOrDefault(input *int, defaultValue ...int) int {
if input == nil {
if len(defaultValue) > 0 {
return defaultValue[0]
}
return 0
}
return *input
} | [
-0.09100093692541122,
0.7211882472038269,
0.6504898071289062,
0.5133000612258911,
0.4812333881855011,
-0.27686643600463867,
-0.026871217414736748,
1.1604126691818237,
0.2012728452682495,
-0.49865829944610596,
-0.07941143214702606,
-0.07472006231546402,
-1.379577398300171,
0.699635982513427... |
func NewInt32(input int32) *int32 {
return &input
} | [
0.4324181377887726,
-0.36660587787628174,
0.05576629936695099,
-0.23659375309944153,
-1.301198959350586,
0.8714145421981812,
-0.5165533423423767,
-1.6154897212982178,
0.2517688572406769,
-0.7004150748252869,
-0.24071189761161804,
0.5237092971801758,
-0.4271126389503479,
-0.0204476658254861... |
func NewInt32OrNil(input *int32) *int32 {
if input == nil {
return nil
}
return NewInt32(*input)
} | [
0.0491357184946537,
0.2878459393978119,
0.12895160913467407,
-0.9065470695495605,
-0.9248642921447754,
0.7089349031448364,
-1.0045795440673828,
-1.0240713357925415,
0.252753347158432,
-0.282378226518631,
-0.13828980922698975,
0.2926607131958008,
-0.6208842992782593,
0.5370463132858276,
0... |
func Int32OrDefault(input *int32, defaultValue ...int32) int32 {
if input == nil {
if len(defaultValue) > 0 {
return defaultValue[0]
}
return 0
}
return *input
} | [
-0.4056575298309326,
0.38667476177215576,
0.34320470690727234,
0.08593516051769257,
0.8103554248809814,
0.5906286239624023,
-0.9350720047950745,
0.30414050817489624,
-0.18029677867889404,
0.0648084431886673,
-0.14715442061424255,
-0.1836506873369217,
-1.220028042793274,
0.458753764629364,
... |
func NewUInt16(input uint16) *uint16 {
return &input
} | [
0.8288087248802185,
-0.43850183486938477,
-0.025621289387345314,
-0.12056020647287369,
-0.6581418514251709,
-0.07005114108324051,
-0.38946062326431274,
-0.5254305005073547,
0.49154922366142273,
-0.9047762751579285,
-0.38028985261917114,
-0.06889011710882187,
0.22775492072105408,
-0.1605121... |
func NewUInt16OrNil(input *uint16) *uint16 {
if input == nil {
return nil
}
return NewUInt16(*input)
} | [
0.3005776107311249,
-0.012982874177396297,
-0.07414160668849945,
-0.8616756796836853,
-0.3159932494163513,
-0.007358357310295105,
-0.7922428846359253,
-0.23710589110851288,
0.5959041714668274,
-0.3709218204021454,
-0.22664551436901093,
-0.7364109754562378,
0.5437014102935791,
0.15738247334... |
func UInt16OrDefault(input *uint16, defaultValue ...uint16) uint16 {
if input == nil {
if len(defaultValue) > 0 {
return defaultValue[0]
}
return 0
}
return *input
} | [
0.09237369894981384,
0.8336725234985352,
0.32527920603752136,
0.13141843676567078,
1.1421595811843872,
-0.052021194249391556,
-0.9135379791259766,
0.5130223631858826,
-0.012988791801035404,
0.14891819655895233,
-0.07885068655014038,
-1.0641272068023682,
-0.37544649839401245,
0.087759435176... |
func NewBool(input bool) *bool {
return &input
} | [
0.40314510464668274,
0.11747072637081146,
0.061867013573646545,
1.2619335651397705,
-1.1623116731643677,
0.7009987235069275,
0.3843461275100708,
-0.32138893008232117,
0.3894554078578949,
-0.3919890522956848,
-0.1525506228208542,
0.36058247089385986,
-0.023988541215658188,
-0.62401866912841... |
func NewBoolOrNil(input *bool) *bool {
if input == nil {
return nil
}
return NewBool(*input)
} | [
-0.1599005162715912,
0.2055179625749588,
0.21962374448776245,
0.1469804346561432,
-0.9336667656898499,
0.3255147635936737,
-0.6758425235748291,
-0.8383671641349792,
-0.5140516757965088,
-0.5108246803283691,
-1.2007089853286743,
0.819858968257904,
-0.20071566104888916,
0.47428369522094727,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.