text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (o *Vote) UpsertGP(updateColumns []string, whitelist ...string) {
if err := o.Upsert(boil.GetDB(), updateColumns, whitelist...); err != nil {
panic(boil.WrapErr(err))
}
} | [
-1.6774684190750122,
0.5634928345680237,
0.7281792163848877,
0.3502037823200226,
0.20385655760765076,
0.2118636965751648,
-0.6949150562286377,
-0.06578177213668823,
-0.5349265933036804,
1.707911491394043,
0.17176523804664612,
-0.35770872235298157,
-1.4043229818344116,
-0.030890220776200294... |
func (o *Vote) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string) {
if err := o.Upsert(exec, updateColumns, whitelist...); err != nil {
panic(boil.WrapErr(err))
}
} | [
-0.7963935732841492,
0.3280809223651886,
0.6690689921379089,
0.5332966446876526,
0.23670417070388794,
0.2397405505180359,
-0.6329947710037231,
-0.06641481816768646,
0.1969403475522995,
1.5350353717803955,
0.07306777685880661,
-0.6635794043540955,
-1.0290958881378174,
-0.4336252808570862,
... |
func (o *Vote) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error {
if o == nil {
return errors.New("models: no vote provided for upsert")
}
currTime := time.Now().In(boil.GetLocation())
if o.CreatedAt.IsZero() {
o.CreatedAt = currTime
}
o.UpdatedAt = currTime
if err := o.doBefor... | [
-1.336100459098816,
0.33757683634757996,
0.8373576998710632,
0.2685253322124481,
0.3108833134174347,
-0.36766791343688965,
-0.36574265360832214,
-0.15345999598503113,
-0.37766438722610474,
0.7956787943840027,
-0.613746702671051,
-0.3512325882911682,
-0.5028592348098755,
0.39069288969039917... |
func (o *Vote) DeleteP(exec boil.Executor) {
if err := o.Delete(exec); err != nil {
panic(boil.WrapErr(err))
}
} | [
0.748999297618866,
0.09364467114210129,
0.40090861916542053,
0.7677381038665771,
0.23340041935443878,
0.4254186749458313,
-0.5270285606384277,
0.09450672566890717,
0.42338213324546814,
0.26825255155563354,
0.7289031147956848,
-0.3993838429450989,
-0.841335117816925,
0.06555052101612091,
... |
func (o *Vote) DeleteG() error {
if o == nil {
return errors.New("models: no Vote provided for deletion")
}
return o.Delete(boil.GetDB())
} | [
-0.6909123063087463,
1.3272625207901,
0.05791907012462616,
0.7842392921447754,
0.43191131949424744,
0.8164346218109131,
-0.13671521842479706,
0.9081249237060547,
-0.17775268852710724,
0.4022989869117737,
0.10701017826795578,
-0.6315855979919434,
-0.33779749274253845,
1.4051216840744019,
... |
func (o *Vote) DeleteGP() {
if err := o.DeleteG(); err != nil {
panic(boil.WrapErr(err))
}
} | [
0.012079857289791107,
0.6220691800117493,
0.2898479402065277,
0.6838776469230652,
-0.08619878441095352,
0.10474545508623123,
-0.5505176186561584,
0.32393679022789,
0.08407021313905716,
0.4445109963417053,
0.6631403565406799,
0.5039900541305542,
-1.0248749256134033,
0.7241723537445068,
1.... |
func (o *Vote) Delete(exec boil.Executor) error {
if o == nil {
return errors.New("models: no Vote provided for delete")
}
if err := o.doBeforeDeleteHooks(exec); err != nil {
return err
}
args := queries.ValuesFromMapping(reflect.Indirect(reflect.ValueOf(o)), votePrimaryKeyMapping)
sql := "DELETE FROM `vote... | [
-0.04893113672733307,
0.25750303268432617,
0.6360749006271362,
0.843247652053833,
0.8337384462356567,
-0.12488865107297897,
-0.16381697356700897,
0.2043834775686264,
-0.14257995784282684,
0.9379955530166626,
0.39706212282180786,
-0.021489854902029037,
-0.4710083305835724,
0.466788768768310... |
func (q voteQuery) DeleteAllP() {
if err := q.DeleteAll(); err != nil {
panic(boil.WrapErr(err))
}
} | [
1.4308720827102661,
-0.276178777217865,
0.38761067390441895,
0.5318966507911682,
0.09957264363765717,
0.7176575660705566,
-1.3445731401443481,
0.3372354507446289,
0.9093320965766907,
0.47776901721954346,
0.8701200485229492,
-0.29889556765556335,
-0.6125222444534302,
0.5522996187210083,
0... |
func (q voteQuery) DeleteAll() error {
if q.Query == nil {
return errors.New("models: no voteQuery provided for delete all")
}
queries.SetDelete(q.Query)
_, err := q.Query.Exec()
if err != nil {
return errors.Wrap(err, "models: unable to delete all from vote")
}
return nil
} | [
0.4490090310573578,
-0.48560717701911926,
0.3059817850589752,
0.765909731388092,
0.4716891348361969,
0.7324984669685364,
-1.2126646041870117,
0.012919879518449306,
0.09987635165452957,
0.16210591793060303,
0.7902221083641052,
0.5692698359489441,
0.21537178754806519,
1.4549665451049805,
-... |
func (o VoteSlice) DeleteAllGP() {
if err := o.DeleteAllG(); err != nil {
panic(boil.WrapErr(err))
}
} | [
-0.1996930092573166,
-0.2808242738246918,
0.20181900262832642,
1.1747664213180542,
-0.1874818503856659,
-0.28923359513282776,
-1.1851365566253662,
0.3596371114253998,
0.1861201971769333,
0.6743637323379517,
0.6388619542121887,
0.24384871125221252,
-0.6530145406723022,
1.6280107498168945,
... |
func (o VoteSlice) DeleteAllG() error {
if o == nil {
return errors.New("models: no Vote slice provided for delete all")
}
return o.DeleteAll(boil.GetDB())
} | [
-0.3073759973049164,
0.5431245565414429,
0.3013155460357666,
0.9230661988258362,
-0.24182012677192688,
0.18992891907691956,
-1.1063387393951416,
0.9147031307220459,
0.39297667145729065,
0.5040585994720459,
0.31776702404022217,
-0.533539891242981,
-0.058182232081890106,
2.1480841636657715,
... |
func (o VoteSlice) DeleteAllP(exec boil.Executor) {
if err := o.DeleteAll(exec); err != nil {
panic(boil.WrapErr(err))
}
} | [
0.8087551593780518,
-0.6273740530014038,
0.4734710454940796,
0.8726544976234436,
0.07991006225347519,
0.1451510488986969,
-0.9916626214981079,
0.3706722557544708,
0.7510266304016113,
0.658448338508606,
0.6875258088111877,
-0.2445317506790161,
-0.39789462089538574,
0.722525954246521,
0.60... |
func (o VoteSlice) DeleteAll(exec boil.Executor) error {
if o == nil {
return errors.New("models: no Vote slice provided for delete all")
}
if len(o) == 0 {
return nil
}
if len(voteBeforeDeleteHooks) != 0 {
for _, obj := range o {
if err := obj.doBeforeDeleteHooks(exec); err != nil {
return err
}... | [
-0.2507600784301758,
-0.24210382997989655,
0.8655070662498474,
0.6853936314582825,
0.24543927609920502,
-0.06027979403734207,
-0.12787991762161255,
-0.1534680277109146,
-0.19590699672698975,
0.5133169293403625,
0.49118107557296753,
0.043460309505462646,
0.3002667725086212,
1.03911066055297... |
func (o *Vote) ReloadGP() {
if err := o.ReloadG(); err != nil {
panic(boil.WrapErr(err))
}
} | [
-0.43929606676101685,
0.46168598532676697,
0.2952377498149872,
0.7855471968650818,
-0.3358386754989624,
-0.145121231675148,
-0.5834726095199585,
-0.19767628610134125,
-0.5420644283294678,
0.8962796330451965,
0.6307690739631653,
1.0677932500839233,
-0.9881466627120972,
0.37364786863327026,
... |
func (o *Vote) ReloadP(exec boil.Executor) {
if err := o.Reload(exec); err != nil {
panic(boil.WrapErr(err))
}
} | [
0.2185794562101364,
0.09482131898403168,
0.4347385764122009,
0.8506649136543274,
-0.270675927400589,
0.14700713753700256,
-0.5783450603485107,
-0.14257416129112244,
-0.027443023398518562,
0.5569772720336914,
0.541208803653717,
0.0028575819451361895,
-0.852462649345398,
-0.26161617040634155... |
func (o *Vote) ReloadG() error {
if o == nil {
return errors.New("models: no Vote provided for reload")
}
return o.Reload(boil.GetDB())
} | [
-1.0455245971679688,
1.1422159671783447,
0.3541601896286011,
0.9825037717819214,
-0.00711378687992692,
0.42126500606536865,
-0.4609958231449127,
0.532612144947052,
-0.6447083353996277,
0.8711358904838562,
0.1479627937078476,
0.05935581028461456,
-0.19642217457294464,
1.1105836629867554,
... |
func (o *Vote) Reload(exec boil.Executor) error {
ret, err := FindVote(exec, o.ID)
if err != nil {
return err
}
*o = *ret
return nil
} | [
-0.1454116404056549,
0.022347042337059975,
0.6129527688026428,
0.823319673538208,
0.7538934350013733,
0.03738795965909958,
0.017454372718930244,
0.054107412695884705,
-0.3754701316356659,
0.5896044373512268,
0.0715722143650055,
0.22877953946590424,
-0.24433788657188416,
-0.4124684631824493... |
func (o *VoteSlice) ReloadAllGP() {
if err := o.ReloadAllG(); err != nil {
panic(boil.WrapErr(err))
}
} | [
-0.6493626832962036,
-0.15543082356452942,
0.2581997215747833,
1.1003700494766235,
-0.4908429682254791,
-0.49140632152557373,
-1.2118200063705444,
-0.028966080397367477,
-0.12397432327270508,
0.9333699345588684,
0.7631427049636841,
1.0004031658172607,
-0.7069072723388672,
1.044251680374145... |
func (o *VoteSlice) ReloadAllP(exec boil.Executor) {
if err := o.ReloadAll(exec); err != nil {
panic(boil.WrapErr(err))
}
} | [
0.17838022112846375,
-0.3401375710964203,
0.5205496549606323,
1.0827993154525757,
-0.3369063138961792,
-0.05921784043312073,
-0.8433578014373779,
0.1803746372461319,
0.5086258053779602,
0.9546610713005066,
0.6266536116600037,
0.5076071619987488,
-0.6296640634536743,
0.17070142924785614,
... |
func (o *VoteSlice) ReloadAllG() error {
if o == nil {
return errors.New("models: empty VoteSlice provided for reload all")
}
return o.ReloadAll(boil.GetDB())
} | [
-0.48686930537223816,
0.9359614849090576,
0.5291341543197632,
1.1648908853530884,
-0.5008127093315125,
-0.20344504714012146,
-1.2058290243148804,
0.6541342735290527,
0.14734113216400146,
0.8574464321136475,
0.09962214529514313,
0.15739652514457703,
-0.19909702241420746,
1.7723873853683472,... |
func (o *VoteSlice) ReloadAll(exec boil.Executor) error {
if o == nil || len(*o) == 0 {
return nil
}
votes := VoteSlice{}
var args []interface{}
for _, obj := range *o {
pkeyArgs := queries.ValuesFromMapping(reflect.Indirect(reflect.ValueOf(obj)), votePrimaryKeyMapping)
args = append(args, pkeyArgs...)
}
... | [
-0.5556712746620178,
-0.1324513852596283,
0.8450925946235657,
0.7996912002563477,
-0.04285292327404022,
-0.28115707635879517,
-0.6667307615280151,
-0.21869519352912903,
-0.24100136756896973,
0.609275758266449,
-0.2693028748035431,
0.29745393991470337,
-0.03162366896867752,
1.06829023361206... |
func VoteExists(exec boil.Executor, id int) (bool, error) {
var exists bool
sql := "select exists(select 1 from `vote` where `id`=? limit 1)"
if boil.DebugMode {
fmt.Fprintln(boil.DebugWriter, sql)
fmt.Fprintln(boil.DebugWriter, id)
}
row := exec.QueryRow(sql, id)
err := row.Scan(&exists)
if err != nil {
... | [
-1.0365817546844482,
0.07351715862751007,
0.6053711175918579,
0.08817210793495178,
1.1162070035934448,
-0.15523095428943634,
-1.0578129291534424,
0.24581438302993774,
-0.289143830537796,
0.7007480263710022,
-0.18254603445529938,
-0.2962011694908142,
-0.595555305480957,
0.4159669578075409,
... |
func VoteExistsG(id int) (bool, error) {
return VoteExists(boil.GetDB(), id)
} | [
-1.2833900451660156,
0.8732012510299683,
0.4098970890045166,
0.20961441099643707,
0.717008113861084,
0.726516842842102,
-0.819471001625061,
0.8113545775413513,
-0.61379474401474,
1.4148890972137451,
-0.1925419270992279,
-0.6313678026199341,
-0.5007917881011963,
1.0669794082641602,
-0.696... |
func VoteExistsGP(id int) bool {
e, err := VoteExists(boil.GetDB(), id)
if err != nil {
panic(boil.WrapErr(err))
}
return e
} | [
-0.807533860206604,
0.4094381034374237,
0.3861148953437805,
0.005698388442397118,
0.6112996339797974,
0.4476932883262634,
-1.2220176458358765,
-0.2371700406074524,
-0.3190166652202606,
1.0597256422042847,
0.4512861371040344,
-0.3777907192707062,
-1.2424808740615845,
0.5014652013778687,
-... |
func VoteExistsP(exec boil.Executor, id int) bool {
e, err := VoteExists(exec, id)
if err != nil {
panic(boil.WrapErr(err))
}
return e
} | [
0.07287856191396713,
-0.023802779614925385,
0.39792191982269287,
0.6396303772926331,
0.4004141688346863,
0.326797217130661,
-0.9991158246994019,
0.05020331218838692,
0.33343052864074707,
0.6865689754486084,
-0.21806664764881134,
-0.41480615735054016,
-0.8058075904846191,
0.2000046223402023... |
func (h *Halo) DensityInfo(d DensityType) *DensityInfo {
switch d {
case A200:
return &h.A200
case C200:
return &h.C200
case C500:
return &h.C500
}
panic("DensityInfo given invalid DensityType")
} | [
-0.18817302584648132,
-0.8977521657943726,
0.34445157647132874,
-0.11242076009511948,
-0.1998346894979477,
-0.08683306723833084,
-0.31224700808525085,
-1.2879364490509033,
-0.14632542431354523,
-0.132257878780365,
0.3018959164619446,
0.09006058424711227,
0.622139573097229,
0.11094352602958... |
func (h *Halo) Redshift() float64 { return h.Z } | [
0.07007592916488647,
0.6242417097091675,
0.02866489067673683,
0.6595494747161865,
0.07037828117609024,
0.8202974200248718,
-0.12264411896467209,
-0.4346143901348114,
-0.48253270983695984,
-1.510798692703247,
-0.4135127663612366,
0.6534625887870789,
-1.3672975301742554,
0.6207055449485779,
... |
func (h *Halo) PivotRadius() float64 { return h.Rs } | [
0.1962774693965912,
0.0728445053100586,
0.13899944722652435,
-0.22516301274299622,
0.693130612373352,
0.37585023045539856,
-0.4480977952480316,
-0.1978251338005066,
-0.1468537449836731,
-0.02939639613032341,
0.7450104355812073,
-0.015483013354241848,
-1.7051504850387573,
1.0240356922149658... |
func (h *Halo) MinR() float64 { return 0.0001 * h.Rs } | [
0.5840100646018982,
-0.1560082584619522,
0.11243796348571777,
0.6986091136932373,
-0.7172360420227051,
0.20587661862373352,
-0.48268401622772217,
-0.4245373606681824,
-0.11364095658063889,
-0.7791029810905457,
0.9733556509017944,
-0.019936200231313705,
-1.325174331665039,
1.273812532424926... |
func initDensityInfo(h *Halo, cFunc num.Func1D, m, r float64) {
rho500c := cosmo.RhoCritical(h.Z) * 500
rho200a := cosmo.RhoAverage(h.Z) * 200
// This sets c200 for us.
initSearching(h, cFunc, m, r)
h.A200.R = h.OverdensityRadius(Corrected, rho200a)
h.A200.C = h.A200.R / h.Rs
h.A200.M = haloMass(h.A200.R, rho2... | [
0.42929932475090027,
-0.9708159565925598,
0.5098543167114258,
0.03600284829735756,
-0.01731318049132824,
0.008059727028012276,
0.9322792887687683,
-0.11114669591188431,
-0.7925054430961609,
-0.6542190909385681,
-0.3178562819957733,
0.016321834176778793,
0.7328660488128662,
1.24865388870239... |
func New(fTh RadialFuncType, ppt PressureProfileType, cFunc num.Func1D, bt BiasType, m500c, z float64) *Halo {
if m500c < MinHaloMass || m500c > MaxHaloMass {
panic(fmt.Sprintf("The %.5g is not within halo bounds [%.5g, %.5g]",
m500c, MinHaloMass, MaxHaloMass))
}
h := new(Halo)
h.Z = z
h.ppt = ppt
h.mpt = N... | [
1.0636957883834839,
-0.2627848982810974,
0.43855521082878113,
0.2776322364807129,
-0.5947673916816711,
0.4084779620170593,
0.1644969880580902,
-0.2482680231332779,
-1.1493347883224487,
-0.5174599885940552,
-0.01047914195805788,
0.7250555157661438,
-0.10560446232557297,
0.6475102305412292,
... |
func (*ReadRequest) Descriptor() ([]byte, []int) {
return file_google_bytestream_bytestream_proto_rawDescGZIP(), []int{0}
} | [
-0.7386511564254761,
0.3277556002140045,
0.7292717099189758,
0.2288062870502472,
0.0914737656712532,
-0.025009561330080032,
-0.21887627243995667,
0.09603109955787659,
-0.37570807337760925,
-0.21771739423274994,
0.06664375960826874,
0.5920282602310181,
0.17320480942726135,
0.454413294792175... |
func (*ReadResponse) Descriptor() ([]byte, []int) {
return file_google_bytestream_bytestream_proto_rawDescGZIP(), []int{1}
} | [
-0.05657372623682022,
0.11348827928304672,
0.4246252179145813,
0.15823929011821747,
0.480948269367218,
-0.5084139704704285,
0.5380010008811951,
0.007131369784474373,
0.19481666386127472,
-0.3535819947719574,
-0.3913888931274414,
-0.04520110413432121,
-0.6781907081604004,
-0.049313474446535... |
func (*WriteRequest) Descriptor() ([]byte, []int) {
return file_google_bytestream_bytestream_proto_rawDescGZIP(), []int{2}
} | [
-1.4138727188110352,
0.19541583955287933,
0.7255501747131348,
-0.17979796230793,
1.060760259628296,
-0.7111544013023376,
0.8689630627632141,
0.4811745882034302,
-0.6921117305755615,
0.06368381530046463,
-0.6408464312553406,
0.4494868814945221,
0.06717903167009354,
0.9809597730636597,
0.0... |
func (*WriteResponse) Descriptor() ([]byte, []int) {
return file_google_bytestream_bytestream_proto_rawDescGZIP(), []int{3}
} | [
-0.8625694513320923,
0.3196386694908142,
0.5519878268241882,
-0.005325108300894499,
1.0344184637069702,
-0.7698090672492981,
1.0127328634262085,
-0.02700991742312908,
-0.10379442572593689,
0.012374198995530605,
-0.9679822325706482,
-0.1876361072063446,
-0.9229661822319031,
0.15157224237918... |
func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int) {
return file_google_bytestream_bytestream_proto_rawDescGZIP(), []int{4}
} | [
-0.6022288203239441,
0.2603503167629242,
0.25351035594940186,
-0.27119651436805725,
0.5959406495094299,
0.09101182222366333,
0.33650344610214233,
0.2824004292488098,
-0.40806251764297485,
-0.32443735003471375,
-0.37041521072387695,
0.40353748202323914,
-0.10960374027490616,
0.4596175253391... |
func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int) {
return file_google_bytestream_bytestream_proto_rawDescGZIP(), []int{5}
} | [
-0.1594543159008026,
0.13415029644966125,
-0.03190351650118828,
-0.4350005090236664,
0.7749083042144775,
-0.5078108310699463,
0.311174601316452,
0.1047820970416069,
-0.007591330911964178,
-0.46677762269973755,
-0.6906835436820984,
-0.07910048961639404,
-0.7444797158241272,
-0.1974869519472... |
func main() {
input := os.Args[1:]
var cityAndServer []string
ch := make(chan string)
defer close(ch)
for _, elem := range input {
cityAndServer = strings.Split(elem, "=")
go readTime(cityAndServer[0], cityAndServer[1], ch)
fmt.Println(<-ch)
}
} | [
-0.6330965757369995,
-0.2304292917251587,
0.8503847122192383,
0.018415609374642372,
0.04720407724380493,
0.8218501210212708,
-0.11063802987337112,
-0.5445388555526733,
-0.9048326015472412,
0.7636321187019348,
-0.1616625189781189,
0.8779415488243103,
-0.6744950413703918,
0.9518733024597168,... |
func NewOperationNamesStorage(
session cassandra.Session,
writeCacheTTL time.Duration,
metricsFactory metrics.Factory,
logger *zap.Logger,
) *OperationNamesStorage {
return &OperationNamesStorage{
session: session,
InsertStmt: insertOperationName,
QueryStmt: queryOperationNames,
metrics: ... | [
-0.0013694287044927478,
1.0081722736358643,
0.4833686351776123,
-0.20612560212612152,
-1.0158971548080444,
-0.5072174072265625,
0.42176398634910583,
-0.8732668161392212,
0.22532878816127777,
0.2263399362564087,
-0.5877073407173157,
-1.1502163410186768,
0.7539334893226624,
-0.03944626078009... |
func (s *OperationNamesStorage) Write(serviceName string, operationName string) error {
var err error
query := s.session.Query(s.InsertStmt)
if inCache := checkWriteCache(serviceName+"|"+operationName, s.operationNames, s.writeCacheTTL); !inCache {
q := query.Bind(serviceName, operationName)
err2 := s.metrics.Ex... | [
-0.9973230957984924,
0.795958399772644,
0.5336946845054626,
0.3476018011569977,
0.07239405065774918,
0.10136941075325012,
0.7075344920158386,
-0.5196402072906494,
-0.3470955193042755,
0.6725486516952515,
0.13416118919849396,
-0.3476688265800476,
-0.31622886657714844,
-0.11728771030902863,
... |
func (s *OperationNamesStorage) GetOperations(service string) ([]string, error) {
iter := s.session.Query(s.QueryStmt, service).Iter()
var operation string
var operations []string
for iter.Scan(&operation) {
operations = append(operations, operation)
}
if err := iter.Close(); err != nil {
err = errors.Wrap(e... | [
-0.7616365551948547,
0.7272555828094482,
0.6072276830673218,
0.30662062764167786,
-0.050094880163669586,
-0.5708588361740112,
-0.1930389702320099,
-0.9005902409553528,
0.4364235997200012,
0.5692407488822937,
0.136426642537117,
-0.5843563079833984,
-0.5989763736724854,
0.017684005200862885,... |
func (o *GetCharactersCharacterIDAssetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 200:
result := NewGetCharactersCharacterIDAssetsOK()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return ni... | [
-0.11774251610040665,
-1.3507887125015259,
0.9519647359848022,
-0.4692550599575043,
-0.625400960445404,
-1.0484216213226318,
0.16692043840885162,
-0.17558349668979645,
0.6817079186439514,
-0.08811526000499725,
0.24956877529621124,
0.012016573920845985,
-0.8823807835578918,
-0.5760939717292... |
func NewGetCharactersCharacterIDAssetsOK() *GetCharactersCharacterIDAssetsOK {
return &GetCharactersCharacterIDAssetsOK{
XPages: 1,
}
} | [
0.2064104825258255,
-1.0485528707504272,
0.23539510369300842,
-0.6210536956787109,
-1.0392903089523315,
-0.4196271300315857,
0.12395741790533066,
0.04080120474100113,
-0.2985352575778961,
-0.4206421971321106,
-0.7406327724456787,
0.7077436447143555,
0.24173778295516968,
-1.2080694437026978... |
func NewGetCharactersCharacterIDAssetsNotModified() *GetCharactersCharacterIDAssetsNotModified {
return &GetCharactersCharacterIDAssetsNotModified{}
} | [
-0.8750385642051697,
-1.0073355436325073,
0.17416183650493622,
-0.9564007520675659,
-0.23057948052883148,
0.32609283924102783,
-0.21418586373329163,
0.2637374997138977,
-0.22561076283454895,
-1.0499999523162842,
-0.511386513710022,
0.46517905592918396,
-0.23695853352546692,
-0.851676106452... |
func NewGetCharactersCharacterIDAssetsBadRequest() *GetCharactersCharacterIDAssetsBadRequest {
return &GetCharactersCharacterIDAssetsBadRequest{}
} | [
-0.8382651209831238,
-0.9720454812049866,
0.34499868750572205,
-0.4668700397014618,
-0.5313877463340759,
-0.06667126715183258,
-0.8425248265266418,
0.1959107369184494,
-0.2207208275794983,
-1.1536588668823242,
-0.18429063260555267,
0.9020743370056152,
-0.06438896805047989,
-1.0074535608291... |
func NewGetCharactersCharacterIDAssetsUnauthorized() *GetCharactersCharacterIDAssetsUnauthorized {
return &GetCharactersCharacterIDAssetsUnauthorized{}
} | [
-0.40010520815849304,
-0.7960236668586731,
0.4208662807941437,
-0.9674818515777588,
-1.2674365043640137,
-0.7634493112564087,
-0.7214363217353821,
0.5305404663085938,
-0.24896889925003052,
-0.39306339621543884,
-1.0049386024475098,
2.0765719413757324,
0.09185273200273514,
-1.46941757202148... |
func NewGetCharactersCharacterIDAssetsForbidden() *GetCharactersCharacterIDAssetsForbidden {
return &GetCharactersCharacterIDAssetsForbidden{}
} | [
0.11464191973209381,
-0.5138967633247375,
0.21667829155921936,
-0.4645130932331085,
-0.8384447693824768,
0.540697455406189,
0.04682380333542824,
-0.6749891638755798,
-0.16791103780269623,
-1.1131248474121094,
-0.5470238924026489,
0.8852527141571045,
-0.3861808180809021,
-1.901430368423462,... |
func NewGetCharactersCharacterIDAssetsEnhanceYourCalm() *GetCharactersCharacterIDAssetsEnhanceYourCalm {
return &GetCharactersCharacterIDAssetsEnhanceYourCalm{}
} | [
0.6262773275375366,
-0.5435828566551208,
0.2474317103624344,
-0.4970419704914093,
-0.7845908999443054,
-0.6799857020378113,
-0.271818608045578,
-0.08285345882177353,
-0.7661958336830139,
-0.07748705893754959,
-0.772568941116333,
1.050301194190979,
-0.13161836564540863,
-1.243506908416748,
... |
func NewGetCharactersCharacterIDAssetsServiceUnavailable() *GetCharactersCharacterIDAssetsServiceUnavailable {
return &GetCharactersCharacterIDAssetsServiceUnavailable{}
} | [
-0.8173503279685974,
-1.0276319980621338,
0.3847627341747284,
-1.0053972005844116,
-0.47690021991729736,
-0.03769943490624428,
-0.12399429082870483,
0.4673844873905182,
-0.1854962855577469,
-0.444726824760437,
-0.6200382709503174,
1.0957320928573608,
-0.026048772037029266,
-1.0130014419555... |
func NewGetCharactersCharacterIDAssetsGatewayTimeout() *GetCharactersCharacterIDAssetsGatewayTimeout {
return &GetCharactersCharacterIDAssetsGatewayTimeout{}
} | [
0.69597327709198,
-0.634996771812439,
0.008644813671708107,
-1.3123514652252197,
-0.7210865020751953,
-0.042779985815286636,
-0.012274108827114105,
0.48031970858573914,
-0.048104312270879745,
0.24206359684467316,
-0.2953903377056122,
0.8716647028923035,
-0.01623804122209549,
-0.53695243597... |
func NewCheckTransactionCreditLimitParams() *CheckTransactionCreditLimitParams {
var ()
return &CheckTransactionCreditLimitParams{
timeout: cr.DefaultTimeout,
}
} | [
1.0250194072723389,
-0.7738839387893677,
0.1715133786201477,
0.4108964204788208,
-0.13121993839740753,
0.053725168108940125,
-0.53763747215271,
0.8031101226806641,
-0.9646058082580566,
1.0582650899887085,
0.11475680768489838,
0.5196130275726318,
-0.9567233324050903,
-0.20098932087421417,
... |
func NewCheckTransactionCreditLimitParamsWithTimeout(timeout time.Duration) *CheckTransactionCreditLimitParams {
var ()
return &CheckTransactionCreditLimitParams{
timeout: timeout,
}
} | [
1.7111876010894775,
-0.6950571537017822,
0.3341568112373352,
0.5650048851966858,
-0.1359444409608841,
0.4610365331172943,
-1.2613496780395508,
0.7255106568336487,
-0.742380678653717,
1.6513469219207764,
0.2583138942718506,
0.9212785959243774,
-0.5771151781082153,
0.23893968760967255,
-1.... |
func NewCheckTransactionCreditLimitParamsWithContext(ctx context.Context) *CheckTransactionCreditLimitParams {
var ()
return &CheckTransactionCreditLimitParams{
Context: ctx,
}
} | [
1.094939947128296,
-0.367775022983551,
0.7132061123847961,
0.12960045039653778,
-0.11783170700073242,
0.7544524669647217,
-1.0025681257247925,
0.10782812535762787,
-0.40153053402900696,
1.2554436922073364,
0.07860853523015976,
0.6535453796386719,
-0.8634543418884277,
-0.49494045972824097,
... |
func NewCheckTransactionCreditLimitParamsWithHTTPClient(client *http.Client) *CheckTransactionCreditLimitParams {
var ()
return &CheckTransactionCreditLimitParams{
HTTPClient: client,
}
} | [
1.0867054462432861,
-0.994244396686554,
0.5133366584777832,
0.02020789124071598,
0.172551229596138,
0.647411048412323,
-0.2242167592048645,
0.7547829747200012,
-1.0026341676712036,
0.7431720495223999,
0.09607896208763123,
0.5966443419456482,
-0.7548049688339233,
-0.3713412284851074,
-0.7... |
func (o *CheckTransactionCreditLimitParams) WithTimeout(timeout time.Duration) *CheckTransactionCreditLimitParams {
o.SetTimeout(timeout)
return o
} | [
1.1257177591323853,
-0.0739550068974495,
0.41334131360054016,
-0.2747921347618103,
-0.46137407422065735,
0.06266633421182632,
-0.5081132054328918,
0.4112243354320526,
-0.15882979333400726,
1.3223167657852173,
0.7381025552749634,
0.7242860794067383,
0.3363746702671051,
0.034259382635354996,... |
func (o *CheckTransactionCreditLimitParams) SetTimeout(timeout time.Duration) {
o.timeout = timeout
} | [
0.7404830455780029,
-0.041055139154195786,
0.2563617527484894,
-0.15646934509277344,
0.14276902377605438,
0.588678240776062,
-0.39972031116485596,
0.58331298828125,
-0.5392954349517822,
1.3419227600097656,
0.6603958606719971,
0.9216285347938538,
-0.35026392340660095,
0.04122285917401314,
... |
func (o *CheckTransactionCreditLimitParams) WithContext(ctx context.Context) *CheckTransactionCreditLimitParams {
o.SetContext(ctx)
return o
} | [
0.22498288750648499,
0.01649944670498371,
0.5809884071350098,
-0.4334820806980133,
-0.7756925821304321,
0.12471187859773636,
-0.6494050025939941,
-0.35939449071884155,
0.08945269137620926,
0.8528262376785278,
0.5378704071044922,
0.4380028247833252,
-0.2781631350517273,
-0.6150006651878357,... |
func (o *CheckTransactionCreditLimitParams) SetContext(ctx context.Context) {
o.Context = ctx
} | [
0.019627267494797707,
0.15529155731201172,
0.25121021270751953,
-0.029331836849451065,
0.0775739848613739,
0.47481635212898254,
-0.3654727339744568,
-0.049914468079805374,
0.16928517818450928,
0.9226654171943665,
0.26182425022125244,
0.6997328400611877,
-0.5964605212211609,
-0.433827280998... |
func (o *CheckTransactionCreditLimitParams) WithHTTPClient(client *http.Client) *CheckTransactionCreditLimitParams {
o.SetHTTPClient(client)
return o
} | [
0.508852481842041,
-0.9950982928276062,
0.5147920846939087,
-0.7906801700592041,
-0.4634082615375519,
0.03821510449051857,
0.22109028697013855,
-0.06415431946516037,
-0.5868740677833557,
0.38664743304252625,
0.49780869483947754,
0.17476268112659454,
0.2488984316587448,
-0.8349098563194275,... |
func (o *CheckTransactionCreditLimitParams) SetHTTPClient(client *http.Client) {
o.HTTPClient = client
} | [
0.7322597503662109,
-0.6416648030281067,
0.26883628964424133,
-1.0387951135635376,
-0.30410632491111755,
0.11250422149896622,
0.18591083586215973,
-0.11615866422653198,
-0.9631576538085938,
0.49554896354675293,
0.11239257454872131,
0.7036918997764587,
-0.38004881143569946,
-0.8120136857032... |
func (o *CheckTransactionCreditLimitParams) WithBody(body *platformclientmodels.CreditRequest) *CheckTransactionCreditLimitParams {
o.SetBody(body)
return o
} | [
-0.10789081454277039,
-0.04319702833890915,
0.5426966547966003,
-0.4843299984931946,
0.2505500912666321,
0.1241130530834198,
-0.5777627825737,
-0.8055406808853149,
0.20285668969154358,
1.0886348485946655,
0.3916383385658264,
0.0020561963319778442,
-0.4238660931587219,
0.09303514659404755,
... |
func (o *CheckTransactionCreditLimitParams) SetBody(body *platformclientmodels.CreditRequest) {
o.Body = body
} | [
-0.25712451338768005,
-0.002634939504787326,
0.24274463951587677,
-0.148224875330925,
0.6209419965744019,
0.547017514705658,
-0.4561736285686493,
-0.47486400604248047,
-0.05014735460281372,
1.206512689590454,
0.017644861713051796,
0.5203220248222351,
-1.0934712886810303,
0.5879331827163696... |
func (o *CheckTransactionCreditLimitParams) WithCurrencyCode(currencyCode string) *CheckTransactionCreditLimitParams {
o.SetCurrencyCode(currencyCode)
return o
} | [
0.769695520401001,
-0.3897152543067932,
0.47587713599205017,
-0.29960018396377563,
-0.7048056125640869,
-0.3738485276699066,
0.0023976475931704044,
0.6578025221824646,
0.707229733467102,
1.5967706441879272,
0.7063592076301575,
-0.09586915373802185,
-0.3141220211982727,
-0.13860918581485748... |
func (o *CheckTransactionCreditLimitParams) SetCurrencyCode(currencyCode string) {
o.CurrencyCode = currencyCode
} | [
0.2382945716381073,
-0.4875001013278961,
0.34606030583381653,
-0.5674872994422913,
-0.20339733362197876,
-0.15526315569877625,
0.2958078384399414,
0.7770211100578308,
0.2997133433818817,
1.551052451133728,
0.47739532589912415,
0.2794664800167084,
-0.8199045062065125,
0.023295503109693527,
... |
func (o *CheckTransactionCreditLimitParams) WithNamespace(namespace string) *CheckTransactionCreditLimitParams {
o.SetNamespace(namespace)
return o
} | [
0.12341954559087753,
-0.24894851446151733,
0.4576595723628998,
-0.48800551891326904,
-0.4152553379535675,
-0.37196463346481323,
-0.8001179099082947,
-0.7821238040924072,
1.0699039697647095,
0.4098972976207733,
0.6253214478492737,
0.24626439809799194,
-0.025582637637853622,
0.37904623150825... |
func (o *CheckTransactionCreditLimitParams) SetNamespace(namespace string) {
o.Namespace = namespace
} | [
-0.09113264083862305,
-0.12353745847940445,
0.32459235191345215,
-0.1761724054813385,
0.07440663129091263,
0.10054079443216324,
-0.6765213012695312,
-0.4112851619720459,
0.7266197204589844,
0.44385093450546265,
0.33029791712760925,
0.7304521203041077,
-0.5248146057128906,
0.718733429908752... |
func (o *CheckTransactionCreditLimitParams) WithUserID(userID string) *CheckTransactionCreditLimitParams {
o.SetUserID(userID)
return o
} | [
0.680712878704071,
-0.6802142858505249,
0.36099615693092346,
0.029687823727726936,
-1.1368976831436157,
0.45652884244918823,
0.3164377212524414,
0.1641668677330017,
0.11052292585372925,
1.0334458351135254,
0.5766870975494385,
0.25436487793922424,
-0.013516996055841446,
0.23109616339206696,... |
func (o *CheckTransactionCreditLimitParams) SetUserID(userID string) {
o.UserID = userID
} | [
0.25479456782341003,
-0.5199571251869202,
0.26562145352363586,
0.31179314851760864,
-0.7509512901306152,
0.9169592261314392,
0.3754638731479645,
0.31192582845687866,
-0.18379926681518555,
0.923909604549408,
0.13783855736255646,
0.6280518770217896,
-0.804371178150177,
0.8426366448402405,
... |
func (o *CheckTransactionCreditLimitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
if err := r.SetTimeout(o.timeout); err != nil {
return err
}
var res []error
if o.Body != nil {
if err := r.SetBodyParam(o.Body); err != nil {
return err
}
}
// path param currencyCode
if ... | [
-0.427626371383667,
-0.3602752685546875,
0.9449981451034546,
-0.6406265497207642,
0.5534235835075378,
-0.12130308896303177,
0.6645622253417969,
0.022931618615984917,
-0.5975616574287415,
0.8599831461906433,
0.430494099855423,
0.5689152479171753,
-0.643829882144928,
0.08969620615243912,
0... |
func Uint16Bytes(i uint16) []byte {
b := make([]byte, 2)
IntCoder.PutUint16(b, i)
return b
} | [
0.14244534075260162,
0.7272875905036926,
0.18232262134552002,
0.09609531611204147,
0.206314355134964,
-0.015129417181015015,
-0.9834660887718201,
-0.44656798243522644,
-0.09839216619729996,
-0.4160231947898865,
-1.1234760284423828,
-0.6776279807090759,
-0.5161455273628235,
-0.2375949323177... |
func Uint32Bytes(i uint32) []byte {
b := make([]byte, 4)
IntCoder.PutUint32(b, i)
return b
} | [
-0.011674215085804462,
1.1707805395126343,
0.25697746872901917,
-0.4247421622276306,
-0.3972030580043793,
0.48602962493896484,
-1.0636147260665894,
-1.113467812538147,
-0.07485603541135788,
-0.15846771001815796,
-1.2135158777236938,
-1.1739575862884521,
-0.9074939489364624,
0.1396127343177... |
func BytesToUint32(i []byte) uint32 {
return IntCoder.Uint32(i[:4])
} | [
-0.1874038279056549,
0.05468887463212013,
0.18613994121551514,
-1.2048273086547852,
0.5058643221855164,
1.231984257698059,
-0.33258774876594543,
-0.8277561664581299,
-0.07666097581386566,
-0.2059015929698944,
-1.15909743309021,
-0.8006608486175537,
-0.3276769816875458,
-0.8138383626937866,... |
func Uint64Bytes(i uint64) []byte {
b := make([]byte, 8)
IntCoder.PutUint64(b, i)
return b
} | [
-0.8249969482421875,
0.7544398307800293,
0.306772917509079,
0.8812840580940247,
-0.06091027706861496,
-0.11785938590765,
-0.4148474335670471,
-0.36019715666770935,
0.5027202367782593,
-0.031195392832159996,
-1.0583782196044922,
-1.1394625902175903,
-0.920264720916748,
0.20848357677459717,
... |
func CopySlice(b []byte) []byte {
newB := make([]byte, len(b))
copy(newB, b)
return newB
} | [
-0.05134386196732521,
0.003977444022893906,
0.46547338366508484,
0.9374272227287292,
-0.9386982321739197,
0.16190962493419647,
-0.9474865794181824,
-0.5146883130073547,
0.5508996844291687,
0.44630250334739685,
-0.418059766292572,
0.584081768989563,
-0.3316962718963623,
-0.2760768532752991,... |
func RandomBytes(len int) []byte {
bytes := make([]byte, len)
_, err := rand.Read(bytes)
if err != nil {
panic("error reading random bytes: " + err.Error())
}
return bytes
} | [
0.4350809156894684,
0.1736130714416504,
0.02235063910484314,
-0.2560340166091919,
-0.596219003200531,
0.6445587277412415,
-0.6732422709465027,
-0.8865985870361328,
0.8108817338943481,
0.19376297295093536,
-0.7202271223068237,
0.09617192298173904,
-1.5965461730957031,
-0.12820155918598175,
... |
func ClearBytes(b []byte) {
for i := range b {
b[i] = 0
}
} | [
-0.26749300956726074,
0.35884931683540344,
0.2902151644229889,
0.25964656472206116,
0.5534583330154419,
0.8587660789489746,
-0.5439870953559875,
0.2165045589208603,
0.4720134735107422,
1.2920819520950317,
0.299608439207077,
0.7759484052658081,
-0.9401722550392151,
0.39571717381477356,
-0... |
func DropMilliseconds(t time.Time) time.Time {
return t.Truncate(time.Second)
} | [
0.5995627045631409,
0.0275274571031332,
0.38491708040237427,
-0.3812323808670044,
-0.9650486707687378,
0.8148685097694397,
-0.3641030192375183,
-0.5851688981056213,
0.10665284842252731,
0.7607326507568359,
-0.06327636539936066,
-0.9148477911949158,
-0.9018116593360901,
0.21816447377204895,... |
func DecodeUTime(b []byte) time.Time {
return time.UnixMilli(int64(IntCoder.Uint64(b)))
} | [
-0.2703971266746521,
0.3191184401512146,
0.22200296819210052,
0.1372249871492386,
0.07908550649881363,
-0.247404545545578,
-0.745232343673706,
0.4787726402282715,
0.25521546602249146,
0.21761061251163483,
-0.5791587233543396,
-1.1765567064285278,
-0.9717614650726318,
-0.12332671880722046,
... |
func ExtractPushes(b []byte, preAlloc ...int) ([][]byte, error) {
allocPushes := 2
if len(preAlloc) > 0 {
allocPushes = preAlloc[0]
}
pushes := make([][]byte, 0, allocPushes)
for {
if len(b) == 0 {
break
}
l := int(b[0])
b = b[1:]
if l == 255 {
if len(b) < 2 {
return nil, fmt.Errorf("2 bytes ... | [
-0.19673466682434082,
0.9287295341491699,
0.8912937641143799,
0.4715230166912079,
-0.3641240894794464,
-0.7663853168487549,
-0.1467430293560028,
-0.2516237199306488,
0.679119348526001,
0.9759702682495117,
-0.5805509686470032,
-0.38598236441612244,
-0.31535854935646057,
0.5966928601264954,
... |
func DecodeBlob(b []byte, preAlloc ...int) (byte, [][]byte, error) {
if len(b) == 0 {
return 0, nil, fmt.Errorf("zero length blob not allowed")
}
ver := b[0]
b = b[1:]
pushes, err := ExtractPushes(b, preAlloc...)
return ver, pushes, err
} | [
-0.05069897323846817,
0.5932430624961853,
0.8025660514831543,
1.3541147708892822,
0.13567139208316803,
-0.3687528073787689,
0.7838500738143921,
0.6561106443405151,
0.33032044768333435,
0.41508302092552185,
-1.09819495677948,
-0.18418672680854797,
-0.35225334763526917,
0.4113124907016754,
... |
func (b BuildyBytes) AddData(d []byte) BuildyBytes {
l := len(d)
var lBytes []byte
if l >= 0xff {
if l > MaxDataLen {
panic("cannot use addData for pushes > 16711679 bytes")
}
var i []byte
if l > math.MaxUint16 { // not >= since that is historically in 2 bytes
// We are retrofitting for data longer tha... | [
-0.7328379154205322,
0.8263160586357117,
0.9629974961280823,
-0.05595843121409416,
-0.3492651581764221,
0.3067910075187683,
-0.26938530802726746,
-0.0765608623623848,
0.7847937941551208,
-0.7741602063179016,
-0.1747203916311264,
-0.01043871883302927,
0.176265150308609,
0.9288488030433655,
... |
func FileHash(name string) ([]byte, error) {
f, err := os.Open(name)
if err != nil {
return nil, fmt.Errorf("error opening file %s for hashing: %w", name, err)
}
defer f.Close()
h := sha256.New()
if _, err := io.Copy(h, f); err != nil {
return nil, fmt.Errorf("error copying file %s for hashing: %w", name, err... | [
0.5943648219108582,
-0.2914627194404602,
0.7937889099121094,
0.16168294847011566,
-0.7824150323867798,
0.2798994779586792,
0.18563000857830048,
0.014994964003562927,
-0.32548853754997253,
0.36255455017089844,
-0.5390402674674988,
0.23483654856681824,
-0.31964781880378723,
0.032273732125759... |
func (*SystemUndeleteTransactionBody) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*SystemUndeleteTransactionBody_FileID)(nil),
(*SystemUndeleteTransactionBody_ContractID)(nil),
}
} | [
-0.4295652210712433,
0.02614322118461132,
0.5439602732658386,
-0.18937481939792633,
0.9910533428192139,
-0.24880097806453705,
-0.15649205446243286,
0.4362536072731018,
1.4439966678619385,
0.4708421528339386,
-0.04907720535993576,
-0.021371936425566673,
-0.28290000557899475,
0.8872506022453... |
func (client *Client) ListVirtualImages(req *Request) (*Response, error) {
return client.Execute(&Request{
Method: "GET",
Path: VirtualImagesPath,
QueryParams: req.QueryParams,
Result: &ListVirtualImagesResult{},
})
} | [
-1.1944291591644287,
-0.48152264952659607,
0.21561472117900848,
0.1613747626543045,
0.3191075623035431,
-0.47333213686943054,
-0.48353371024131775,
-0.12930630147457123,
0.40705329179763794,
1.5121488571166992,
-0.6214165687561035,
0.9532447457313538,
-0.37992483377456665,
0.74743646383285... |
func (client *Client) GetVirtualImage(id int64, req *Request) (*Response, error) {
return client.Execute(&Request{
Method: "GET",
Path: fmt.Sprintf("%s/%d", VirtualImagesPath, id),
QueryParams: req.QueryParams,
Result: &GetVirtualImageResult{},
})
} | [
-1.2530426979064941,
0.12361187487840652,
0.13623659312725067,
0.29948270320892334,
-0.09523194283246994,
-0.4343474209308624,
-0.6122560501098633,
-0.3167155981063843,
0.11989100277423859,
1.0271178483963013,
-0.13870982825756073,
1.099665880203247,
-0.919134259223938,
0.599212646484375,
... |
func (client *Client) CreateVirtualImage(req *Request) (*Response, error) {
return client.Execute(&Request{
Method: "POST",
Path: VirtualImagesPath,
QueryParams: req.QueryParams,
Body: req.Body,
Result: &CreateVirtualImageResult{},
})
} | [
-1.2788456678390503,
0.14269505441188812,
0.14971843361854553,
0.2285936325788498,
0.12591977417469025,
0.32597073912620544,
-0.7470569014549255,
-0.2550670802593231,
-0.22851017117500305,
0.919611394405365,
-0.35347452759742737,
0.7130557894706726,
-1.0550541877746582,
0.8613042235374451,... |
func (client *Client) UpdateVirtualImage(id int64, req *Request) (*Response, error) {
return client.Execute(&Request{
Method: "PUT",
Path: fmt.Sprintf("%s/%d", VirtualImagesPath, id),
QueryParams: req.QueryParams,
Body: req.Body,
Result: &UpdateVirtualImageResult{},
})
} | [
-2.0154099464416504,
-0.9860339760780334,
-0.012487806379795074,
-0.07780452817678452,
-0.6653106808662415,
0.11749941855669022,
-0.1392628252506256,
0.04199595004320145,
0.13936109840869904,
1.6431398391723633,
-0.7653260827064514,
0.8728275895118713,
-1.0703257322311401,
0.43927410244941... |
func (client *Client) DeleteVirtualImage(id int64, req *Request) (*Response, error) {
return client.Execute(&Request{
Method: "DELETE",
Path: fmt.Sprintf("%s/%d", VirtualImagesPath, id),
QueryParams: req.QueryParams,
Body: req.Body,
Result: &DeleteVirtualImageResult{},
})
} | [
-1.1999431848526,
-0.3971746563911438,
0.08117560297250748,
0.1103995218873024,
-0.08897717297077179,
-0.13499097526073456,
-0.01651644892990589,
0.2455686330795288,
0.4626398980617523,
1.0227515697479248,
-0.2959612011909485,
0.8804418444633484,
-0.92307049036026,
1.219882845878601,
-0.... |
func (client *Client) FindVirtualImageByName(name string) (*Response, error) {
// Find by name, then get by ID
resp, err := client.ListVirtualImages(&Request{
QueryParams: map[string]string{
"name": name,
"filterType": "All",
},
})
if err != nil {
return resp, err
}
listResult := resp.Result.(*L... | [
-0.15072327852249146,
-0.4550922214984894,
0.3496185541152954,
-0.3590550422668457,
-0.12016581743955612,
-1.1665235757827759,
-0.3875099718570709,
-0.772258996963501,
-0.08648215979337692,
1.7961519956588745,
-0.683516263961792,
0.20461809635162354,
-0.9104680418968201,
1.5470048189163208... |
func NewJobs(r *GoRuntime, script string, parentName string, name string) ([]*JobJs, error) {
var (
filename string
fileModTime time.Time
prev = fmt.Sprintf("init %q jobs, ", parentName)
)
if r == nil {
return nil, errors.New(prev + "js runtime object is not initialized")
}
if script == "" {
re... | [
-0.24814817309379578,
-0.9796496629714966,
1.1982951164245605,
0.029482293874025345,
-0.7702844142913818,
-0.7449942231178284,
0.11084939539432526,
-1.2433927059173584,
-0.18582190573215485,
0.7587253451347351,
-0.055103857070207596,
0.814471960067749,
-0.3083607256412506,
0.72642552852630... |
func Warnf(format string, args ...interface{}) {
Log.Warnf(format, args...)
} | [
1.027134895324707,
-0.12357284128665924,
0.49628686904907227,
0.09075737744569778,
0.7052887678146362,
0.17258813977241516,
-0.06789790838956833,
0.20838336646556854,
-1.0239735841751099,
-0.5536118149757385,
0.5102121829986572,
1.3947519063949585,
0.8035874366760254,
0.4890664517879486,
... |
func Warn(args ...interface{}) {
Log.Warn(args...)
} | [
0.7438159584999084,
0.47340986132621765,
0.5833728909492493,
0.4972537159919739,
0.360380083322525,
0.09381942451000214,
-0.6425790786743164,
-0.4193950593471527,
-0.8365139365196228,
-0.6396335959434509,
0.09635661542415619,
1.5026850700378418,
1.0202174186706543,
0.2481306791305542,
0.... |
func Infof(format string, args ...interface{}) {
Log.Infof(format, args...)
} | [
1.114401936531067,
-0.4646003246307373,
0.6808620691299438,
0.3377213180065155,
1.003255009651184,
0.2892689108848572,
-0.08481688052415848,
0.27382993698120117,
-0.8061380386352539,
-0.7773323655128479,
0.368143767118454,
1.350707769393921,
0.8496630191802979,
0.7374002933502197,
0.1951... |
func Info(args ...interface{}) {
Log.Info(args...)
} | [
0.8916605114936829,
-0.0977185070514679,
0.5994672775268555,
0.8370144367218018,
0.6580578684806824,
0.3526711165904999,
-0.15865960717201233,
-0.41043147444725037,
-1.2465964555740356,
-0.2707346975803375,
-0.3464759886264801,
1.027860164642334,
0.9380372166633606,
0.8567593693733215,
0... |
func Debugf(format string, args ...interface{}) {
Log.Debugf(format, args...)
} | [
0.5484808683395386,
0.36994364857673645,
0.5673970580101013,
0.3550029993057251,
0.4205470681190491,
-0.3383067548274994,
-0.5766441226005554,
-0.016156772151589394,
-0.9982724785804749,
-1.1818270683288574,
-0.0150273023173213,
0.5990727543830872,
0.5261522531509399,
1.055854082107544,
... |
func Debug(args ...interface{}) {
Log.Debug(args...)
} | [
0.8945595026016235,
0.3876802623271942,
0.44897592067718506,
0.5258674621582031,
0.9086987972259521,
0.746818482875824,
-0.2020801603794098,
0.2230151891708374,
-0.26744094491004944,
-0.6920180916786194,
0.15285338461399078,
0.8094927072525024,
0.3022794723510742,
0.3696019947528839,
0.3... |
func gha2es(args []string) {
var (
ctx lib.Ctx
err error
hourFrom int
hourTo int
dFrom time.Time
dTo time.Time
)
// Environment context parse
ctx.Init()
if !ctx.UseESRaw {
return
}
lib.SetupTimeoutSignal(&ctx)
// Connect to ElasticSearch
es := lib.ESConn(&ctx, "d_raw_")
// C... | [
-0.6057891845703125,
-0.249361053109169,
1.124190330505371,
-0.9236134886741638,
0.6701093316078186,
0.253096342086792,
-0.29489871859550476,
-0.3941356837749481,
-1.4478803873062134,
0.7698087692260742,
-0.05738448724150658,
0.6501345634460449,
0.7360451221466064,
0.26390039920806885,
0... |
func (r resourceFactory) setStateID(resourceLocalData *schema.ResourceData, payload map[string]interface{}) error {
resourceSchema, err := r.openAPIResource.getResourceSchema()
if err != nil {
return err
}
identifierProperty, err := resourceSchema.getResourceIdentifier()
if err != nil {
return err
}
if paylo... | [
-0.17162981629371643,
-1.469736933708191,
0.5536742806434631,
-0.9215735197067261,
-0.4078025221824646,
0.38427597284317017,
-0.4751104414463043,
0.1370520144701004,
0.7583237290382385,
0.27865228056907654,
-0.08315650373697281,
0.02505771443247795,
-0.3462628722190857,
0.06524975597858429... |
func (r resourceFactory) updateStateWithPayloadData(remoteData map[string]interface{}, resourceLocalData *schema.ResourceData) error {
resourceSchema, err := r.openAPIResource.getResourceSchema()
if err != nil {
return err
}
for propertyName, propertyValue := range remoteData {
property, err := resourceSchema.g... | [
-0.005584241822361946,
-1.2262932062149048,
0.7382248640060425,
-1.284410834312439,
-1.2665268182754517,
0.6006101965904236,
-0.9595154523849487,
-0.10031629353761673,
0.1782916784286499,
0.2992755174636841,
0.023799797520041466,
-0.320062518119812,
0.18454299867153168,
-0.1775381714105606... |
func (r resourceFactory) createPayloadFromLocalStateData(resourceLocalData *schema.ResourceData) map[string]interface{} {
input := map[string]interface{}{}
resourceSchema, _ := r.openAPIResource.getResourceSchema()
for _, property := range resourceSchema.Properties {
propertyName := property.Name
// IDs and Read... | [
0.43366244435310364,
-1.409279227256775,
0.5687488913536072,
-1.221571683883667,
-0.7237125635147095,
0.2705683410167694,
-0.702907383441925,
-0.3993597626686096,
0.33341503143310547,
-0.14059339463710785,
0.2849671542644501,
-0.4317767918109894,
0.19175992906093597,
-0.0774519219994545,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.