text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (this *Map) Find(key interface{}) ConstKvIterator {
node := this.tree.FindNode(key)
return &MapIterator{node: node}
} | [
-0.5623739361763,
0.03152117878198624,
0.41644272208213806,
0.3542342185974121,
-1.624197244644165,
-0.36725282669067383,
-0.5426912903785706,
-0.4437785744667053,
-0.7213656902313232,
1.172501802444458,
0.9203054308891296,
0.13216577470302582,
-0.28632652759552,
1.2447617053985596,
-0.9... |
func (this *Map) LowerBound(key interface{}) ConstKvIterator {
node := this.tree.FindLowerBoundNode(key)
return &MapIterator{node: node}
} | [
-0.0015142809133976698,
-1.044595718383789,
0.6515989899635315,
-0.050572000443935394,
-0.6179026365280151,
-0.3698551654815674,
-0.8192862868309021,
-0.37506765127182007,
0.30697351694107056,
0.04687104746699333,
0.8742236495018005,
0.9727437496185303,
-0.8861231803894043,
0.7992138266563... |
func (this *Map) Begin() KvIterator {
return this.First()
} | [
-0.26416704058647156,
-0.6886176466941833,
0.4775742292404175,
-0.02468697912991047,
-1.419856071472168,
-0.19723986089229584,
-0.04165387526154518,
-0.2828562259674072,
-0.283418744802475,
-0.5617705583572388,
0.6867892742156982,
0.674679696559906,
0.12915419042110443,
0.2572738230228424,... |
func (this *Map) First() KvIterator {
return &MapIterator{node: this.tree.First()}
} | [
-0.10276222229003906,
-0.8864226937294006,
0.3882068991661072,
-0.16750237345695496,
-0.4299933910369873,
-0.884961724281311,
-1.1648434400558472,
0.14110684394836426,
-0.8259163498878479,
-0.16094587743282318,
0.574946403503418,
0.3379887044429779,
0.7622452974319458,
0.2626411020755768,
... |
func (this *Map) Last() KvIterator {
return &MapIterator{node: this.tree.Last()}
} | [
-0.6934836506843567,
-1.4739477634429932,
0.6690248847007751,
-0.5591740608215332,
-0.7215638756752014,
-0.7320511937141418,
-0.9986896514892578,
-0.15976889431476593,
-0.4559948444366455,
0.3562234342098236,
0.6482237577438354,
-0.2394164800643921,
0.0032706260681152344,
-0.35249230265617... |
func (this *Map) Clear() {
this.tree.Clear()
} | [
-0.8407102227210999,
-0.6900287866592407,
0.22868841886520386,
-0.5809875726699829,
-0.7570003867149353,
0.9052172303199768,
-0.9394113421440125,
-0.26609355211257935,
-0.2584458887577057,
-0.08500272780656815,
0.6687377691268921,
1.0481376647949219,
0.7328526377677917,
1.4336615800857544,... |
func (this *Map) Contains(key interface{}) bool {
if this.tree.Find(key) != nil {
return true
}
return false
} | [
-0.6996052265167236,
-0.273992121219635,
0.6173983812332153,
-0.09002286195755005,
-0.7385787963867188,
0.18979652225971222,
-1.0150601863861084,
0.03105628862977028,
-0.11427886039018631,
-0.0628463551402092,
-0.008423641324043274,
0.10941242426633835,
-0.2774583101272583,
1.5081888437271... |
func (this *Map) Size() int {
return this.tree.Size()
} | [
-0.9590701460838318,
0.012736701406538486,
0.518106997013092,
-0.9215543270111084,
-0.553017258644104,
0.2733707129955292,
-0.001674935920163989,
0.2016509473323822,
0.12080994248390198,
-0.7760241627693176,
-0.29024985432624817,
0.30504482984542847,
-0.4647619128227234,
0.733741819858551,... |
func (c *GormController) Begin() revel.Result {
txn := Gdb.Begin()
if txn.Error != nil {
panic(txn.Error)
}
c.Txn = txn
return nil
} | [
1.1000515222549438,
0.8111214637756348,
0.4436655342578888,
0.19838203489780426,
0.7312846183776855,
-0.41551998257637024,
0.5377484560012817,
-0.33761557936668396,
-0.7953614592552185,
-0.2932697832584381,
-0.2580700218677521,
0.10346513241529465,
-0.8787943124771118,
0.2556094229221344,
... |
func (c *GormController) Commit() revel.Result {
if c.Txn == nil {
return nil
}
c.Txn.Commit()
if err := c.Txn.Error; err != nil && err != sql.ErrTxDone {
panic(err)
}
c.Txn = nil
return nil
} | [
1.338865041732788,
-0.029506977647542953,
0.7663365602493286,
0.31125330924987793,
0.6568515300750732,
-0.03989351913332939,
0.07375792413949966,
0.010179424658417702,
-0.595543384552002,
0.6268599629402161,
-0.029745111241936684,
-1.0742323398590088,
-1.0026544332504272,
-0.04121168702840... |
func (c *GormController) Rollback() revel.Result {
if c.Txn == nil {
return nil
}
c.Txn.Rollback()
if err := c.Txn.Error; err != nil && err != sql.ErrTxDone {
panic(err)
}
c.Txn = nil
return nil
} | [
1.493414044380188,
0.6911107897758484,
0.7900541424751282,
-0.09219545871019363,
1.1912176609039307,
-0.13985401391983032,
0.17505210638046265,
0.5414567589759827,
0.19628088176250458,
0.04026835039258003,
0.13745222985744476,
-0.4597548842430115,
-0.9394999742507935,
-0.6161035895347595,
... |
func (sf *Factory) Load(ctx context.Context, log *logrus.Entry, recipePath string, filename string, dss datasource.Datasourcers, prov provider.Provider, limitedTags []string, stepNames []string, stepTypes []string, force bool, dryRun bool) (priority uint, forceSequential bool, stepList []common.Steper, err error) { //n... | [
-0.8409866094589233,
0.28268566727638245,
0.7533631324768066,
0.044919006526470184,
0.11179547011852264,
-0.5759499073028564,
-0.12241191416978836,
0.9594589471817017,
-0.8820029497146606,
0.16633687913417816,
-0.7898026704788208,
-0.33977368474006653,
0.05942656099796295,
0.91030579805374... |
func Connect(ctx context.Context, configFile string, st storage.Storage, password string, opt ConnectOptions) error {
formatBytes, err := st.GetBlock(ctx, FormatBlockID, 0, -1)
if err != nil {
return errors.Wrap(err, "unable to read format block")
}
f, err := parseFormatBlock(formatBytes)
if err != nil {
retu... | [
-0.25538837909698486,
-0.045002736151218414,
0.7827237248420715,
0.04575957730412483,
-0.2074323445558548,
-0.08800259977579117,
-0.07416209578514099,
0.004815605003386736,
-0.9176057577133179,
0.4448627829551697,
-0.1512526571750641,
-0.49960219860076904,
0.04505781829357147,
0.2978737056... |
func Disconnect(configFile string) error {
cfg, err := loadConfigFromFile(configFile)
if err != nil {
return err
}
if cfg.Caching.CacheDirectory != "" {
if err = os.RemoveAll(cfg.Caching.CacheDirectory); err != nil {
log.Warningf("unable to to remove cache directory: %v", err)
}
}
return os.Remove(conf... | [
-0.2892874479293823,
0.26431941986083984,
0.7832720279693604,
0.14530819654464722,
-1.0336471796035767,
0.7044282555580139,
0.4172014892101288,
0.7069652676582336,
-0.15719656646251678,
1.2912200689315796,
-0.20533865690231323,
-0.6952515244483948,
-0.7723226547241211,
0.5065260529518127,
... |
func NewRandom(seed int64) *Random {
return &Random{
Seed: seed,
}
} | [
0.264906108379364,
-0.3084661364555359,
-0.18653348088264465,
0.5941593647003174,
-1.640925407409668,
-0.03648170828819275,
-0.26101821660995483,
-0.19108137488365173,
0.6411551833152771,
-0.7801085710525513,
0.4786915183067322,
0.822149932384491,
0.06696932017803192,
0.26270321011543274,
... |
func runES6String(tb testing.TB, ctx context.Context, rt *gojs.Runtime, src string) (goja.Value, error) {
var err error
c := compiler.New() // TODO drop it ? maybe we will drop babel and this will be less needed
src, _, err = c.Transform(src, "__string__")
if err != nil {
return goja.Undefined(), err
}
return ... | [
-0.2965763807296753,
-0.3148554861545563,
0.42613649368286133,
-0.3728612959384918,
-0.9039447903633118,
-0.6266669034957886,
0.284382700920105,
-0.7389904856681824,
-0.2659996747970581,
0.2603936493396759,
-0.45333606004714966,
0.19251945614814758,
0.05097920820116997,
0.3295758068561554,... |
func NewClient( o *ClientOption) *Client {
return &Client{
option: *o,
rcvASDU: make(chan []byte, o.config.RecvUnAckLimitW<<4),
sendASDU: make(chan []byte, o.config.SendUnAckLimitK<<4),
RcvRaw: make(chan []byte, o.config.RecvUnAckLimitW<<5),
sendRaw: make(chan []... | [
0.5222503542900085,
0.005038780625909567,
0.44788068532943726,
0.1339375376701355,
-0.8216325044631958,
-0.5913106799125671,
1.2039788961410522,
-0.7239477038383484,
0.38349106907844543,
0.3866908550262451,
-0.4008826017379761,
0.0773572102189064,
-0.2903965413570404,
-0.9310636520385742,
... |
func (sf *Client) SetOnConnectHandler(f func(c *Client)) *Client {
if f != nil {
sf.onConnect = f
}
return sf
} | [
0.5064903497695923,
-0.4014129340648651,
0.5512693524360657,
-0.11863020062446594,
-0.9992245435714722,
0.048117537051439285,
0.48685213923454285,
-0.14489541947841644,
-0.664486289024353,
0.8336975574493408,
-0.6659157872200012,
-0.8633319735527039,
-0.028462903574109077,
0.38730359077453... |
func (sf *Client) SetConnectionLostHandler(f func(c *Client)) *Client {
if f != nil {
sf.onConnectionLost = f
}
return sf
} | [
0.4009714126586914,
-0.47290176153182983,
0.14852073788642883,
-0.5943595767021179,
-0.21322417259216309,
0.652652382850647,
0.03979625180363655,
0.12409820407629013,
-0.6071676015853882,
-0.5713137984275818,
-0.40833544731140137,
-1.0982545614242554,
0.1399465948343277,
0.6753993034362793... |
func (sf *Client) Start() error {
if sf.option.server == nil {
return errors.New("empty remote server")
}
go sf.running()
return nil
} | [
0.44254976511001587,
0.04586759954690933,
0.2908327281475067,
0.19881217181682587,
0.8556176424026489,
0.7011259198188782,
0.26829227805137634,
0.6750181317329407,
-0.5691184997558594,
-0.1808415800333023,
-0.841580331325531,
1.1721725463867188,
-0.33422234654426575,
0.03674159198999405,
... |
func (sf *Client) run(ctx context.Context) {
sf.Debug("run started!")
// before any thing make sure init
sf.cleanUp()
sf.ctx, sf.cancel = context.WithCancel(ctx)
sf.setConnectStatus(connected)
sf.wg.Add(3)
go sf.recvLoop()
go sf.sendLoop()
//go sf.handlerLoop()
var checkTicker = time.NewTicker(timeoutResol... | [
-0.210890993475914,
0.23833641409873962,
0.9497043490409851,
0.10325735062360764,
-0.49074485898017883,
-0.05092215910553932,
0.9092601537704468,
-0.19630210101604462,
-0.2948143780231476,
-0.07453460991382599,
-0.6497291326522827,
-0.2893736958503723,
-0.6270923614501953,
0.18067651987075... |
func (sf *Client) IsConnected() bool {
return sf.connectStatus() == connected
} | [
0.02455330826342106,
-0.9851760268211365,
0.35344961285591125,
0.9154713153839111,
0.15734393894672394,
-0.32622742652893066,
-0.94948410987854,
0.03876933082938194,
-0.4392150044441223,
-0.12509500980377197,
-0.9954137206077576,
-0.27729955315589905,
0.22293993830680847,
0.184808939695358... |
func (sf *Client) clientHandler(asduPack *asdu.ASDU) error {
defer func() {
if err := recover(); err != nil {
sf.Critical("client handler %+v", err)
}
}()
sf.Debug("ASDU %+v", asduPack)
switch asduPack.Identifier.Type {
case asdu.C_IC_NA_1: // InterrogationCmd
return sf.handler.InterrogationHandler(sf, ... | [
0.07472184300422668,
-0.39780813455581665,
0.5701717138290405,
-0.267490953207016,
-0.6580559611320496,
0.026464639231562614,
1.5848339796066284,
-0.5572090148925781,
0.41204383969306946,
-0.6171697974205017,
0.185700923204422,
-0.11574585735797882,
0.6310239434242249,
-0.20560488104820251... |
func (sf *Client) Params() *asdu.Params {
return &sf.option.params
} | [
0.08313943445682526,
0.5766676068305969,
0.05438496544957161,
-0.4996297359466553,
0.232479527592659,
0.14882999658584595,
0.2577064633369446,
-0.3611663579940796,
0.4405593276023865,
-0.5792185068130493,
1.0284955501556396,
0.8823295831680298,
-0.021724579855799675,
0.19287286698818207,
... |
func (sf *Client) UnderlyingConn() net.Conn {
return sf.conn
} | [
0.5657586455345154,
-0.4720155596733093,
0.3597037196159363,
-0.04674763232469559,
-0.7958045601844788,
0.7873823642730713,
0.529253363609314,
1.4000303745269775,
-0.3594737648963928,
-0.95148104429245,
0.005980266258120537,
0.05575539171695709,
0.35639360547065735,
0.8472778797149658,
0... |
func (sf *Client) SendStartDt() {
sf.startDtActiveSendSince.Store(time.Now())
sf.sendInitFrame()
} | [
0.31173717975616455,
-0.3173593282699585,
0.5342997312545776,
0.40552204847335815,
-0.41214022040367126,
0.27441325783729553,
0.6624935269355774,
-0.5244191288948059,
-0.4543628692626953,
-0.3848966956138611,
-0.7912687659263611,
1.1731494665145874,
-0.3020157516002655,
0.7864670753479004,... |
func (sf *Client) SendStopDt() {
sf.stopDtActiveSendSince.Store(time.Now())
sf.sendInitFrame()
} | [
-0.7563450336456299,
-0.1008233055472374,
0.4487176239490509,
-0.26454830169677734,
-0.4636453092098236,
0.5118619203567505,
0.5186271071434021,
-0.7641075849533081,
-0.7404987215995789,
-0.28397682309150696,
-0.4354298710823059,
0.47379571199417114,
-0.4288463294506073,
0.5922343134880066... |
func (*GetFlowsResponse) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*GetFlowsResponse_Flow)(nil),
}
} | [
-0.4500369429588318,
-0.5833268165588379,
0.44610267877578735,
0.1984192281961441,
0.7093708515167236,
-1.0566926002502441,
0.5481202602386475,
-0.9218754172325134,
2.2898805141448975,
-0.508639931678772,
-0.48365089297294617,
-0.3135647475719452,
-0.5628739595413208,
0.014209697023034096,... |
func NewController(kubeClient client.Client, session *session.Session) *dataplane {
return &dataplane{kubeClient: kubeprovider.New(kubeClient),
launchTemplate: launchtemplate.NewController(
awsprovider.EC2Client(session),
awsprovider.SSMClient(session),
kubeprovider.New(kubeClient),
),
instances: instan... | [
0.492548406124115,
0.15414948761463165,
0.42887845635414124,
-0.6398071050643921,
-0.8698849678039551,
0.733755350112915,
-0.6336750984191895,
-0.5644960403442383,
0.5067175626754761,
-0.5225928425788879,
0.12014694511890411,
0.7748720645904541,
0.37950974702835083,
0.4151524603366852,
1... |
func (d *dataplane) Name() string {
return "dataplane"
} | [
-0.2868947684764862,
-0.011819112114608288,
0.4207102656364441,
-0.6588648557662964,
-1.347998857498169,
1.2526051998138428,
-0.25403350591659546,
-0.743820309638977,
-0.15022766590118408,
0.4449673295021057,
-0.7658872008323669,
0.1562059074640274,
0.6450856924057007,
0.9409735798835754,
... |
func (d *dataplane) For() controllers.Object {
return &v1alpha1.DataPlane{}
} | [
-0.2810358703136444,
-0.1387959122657776,
0.27087947726249695,
-1.3646904230117798,
-0.18557439744472504,
0.7062727212905884,
0.036430973559617996,
-0.9989010095596313,
-0.13628213107585907,
-1.360498070716858,
0.17973631620407104,
0.44782567024230957,
0.8015180826187134,
0.122600480914115... |
func (d *dataplane) Reconcile(ctx context.Context, object controllers.Object) (res *reconcile.Result, err error) {
dp := object.(*v1alpha1.DataPlane)
// Get the control plane object, if not found error, add Owner reference to control plane object
if err := d.setOwnerForDataplane(ctx, dp); err != nil {
return resul... | [
-0.4927522838115692,
0.48865172266960144,
0.7021629214286804,
-0.44918304681777954,
0.12662656605243683,
-0.06545531749725342,
-0.2739788889884949,
0.11190377175807953,
-0.12954092025756836,
-0.15367788076400757,
-0.14286990463733673,
-0.28794044256210327,
-0.3100501298904419,
0.6479720473... |
func (model *SnippetModel) Insert(title, content, expires string) (int, error) {
stmt := `INSERT INTO snippets (title, content, created, expires)
VALUES(?, ?, UTC_TIMESTAMP(), DATE_ADD(UTC_TIMESTAMP(), INTERVAL ? DAY))`
result, err := model.DB.Exec(stmt, title, content, expires)
if err != nil {
return 0, err
}
... | [
-1.0168613195419312,
1.17364501953125,
0.7036818861961365,
-0.15586021542549133,
-0.6088927984237671,
0.18363432586193085,
0.03911694511771202,
0.4502771496772766,
-0.7626506686210632,
0.5275376439094543,
-0.6806322932243347,
-0.7537734508514404,
-1.883589267730713,
0.028090063482522964,
... |
func (model *SnippetModel) Get(id int) (*models.Snippet, error) {
stmt := ` SELECT id, title, content, created, expires FROM snippets
WHERE expires > UTC_TIMESTAMP() AND id = ?`
snippet := &models.Snippet{}
err := model.DB.QueryRow(stmt, id).Scan(&snippet.ID, &snippet.Title, &snippet.Content, &snippet.Created, &s... | [
-0.7091553211212158,
0.5290631651878357,
0.6586818695068359,
-0.1278732568025589,
-0.4642106592655182,
-0.40846753120422363,
-0.9901101589202881,
0.08656226098537445,
0.026853397488594055,
0.6372619867324829,
-0.5672631859779358,
0.2690426707267761,
-0.359792560338974,
-0.265118807554245,
... |
func (model *SnippetModel) Latest() ([]*models.Snippet, error) {
stmt := ` SELECT id, title, content, created, expires FROM snippets
WHERE expires > UTC_TIMESTAMP() ORDER BY created DESC LIMIT 10`
rows, err := model.DB.Query(stmt)
if err != nil {
return nil, err
}
defer rows.Close()
snippets := []*models.Sn... | [
-0.3761973977088928,
0.20527474582195282,
0.46401193737983704,
-0.12804386019706726,
0.19889286160469055,
0.13392691314220428,
-0.8291081786155701,
0.45748698711395264,
-0.4117518961429596,
0.7887354493141174,
-0.7281405329704285,
0.18568402528762817,
-0.03853911906480789,
0.13442751765251... |
func (pkt *ServerStandStateUpdate) ToBytes() ([]byte, error) {
buffer := bytes.NewBufferString("")
binary.Write(buffer, binary.LittleEndian, pkt.State)
return buffer.Bytes(), nil
} | [
0.026816874742507935,
0.33953726291656494,
0.6571741700172424,
-1.0479178428649902,
0.0818452462553978,
-0.23744742572307587,
-1.1988178491592407,
-0.4955044388771057,
0.1683976948261261,
0.4287726879119873,
-1.2643425464630127,
0.2514810860157013,
-0.8020221590995789,
0.16274264454841614,... |
func (*ServerStandStateUpdate) OpCode() static.OpCode {
return static.OpCodeServerStandstateUpdate
} | [
0.395569771528244,
-1.5192452669143677,
0.3938906192779541,
0.388688325881958,
-0.6967963576316833,
0.45098358392715454,
0.3717406988143921,
0.4627037048339844,
0.07501062005758286,
0.2633907198905945,
0.3291456401348114,
1.0558686256408691,
-0.28969651460647583,
-0.17732220888137817,
0.... |
func NewDiffuseLight(emit texture.Texture) *DiffuseLight {
return &DiffuseLight{
emit: emit,
}
} | [
0.6554123759269714,
-0.1579819917678833,
0.12913770973682404,
-0.25586584210395813,
-0.517244815826416,
-0.3235490024089813,
0.4307291507720947,
0.5209319591522217,
0.20289291441440582,
-0.29517608880996704,
-1.0581344366073608,
-0.44783270359039307,
-0.05669895187020302,
1.348652958869934... |
func (dl *DiffuseLight) Scatter(_ ray.Ray, _ *hitrecord.HitRecord, _ *fastrandom.LCG) (*ray.RayImpl, *scatterrecord.ScatterRecord, bool) {
return nil, nil, false
} | [
-0.45166391134262085,
0.6032390594482422,
0.6230476498603821,
-0.6592685580253601,
-0.5127931833267212,
0.5877587795257568,
-0.22594720125198364,
-0.036023616790771484,
0.5191638469696045,
-0.2757233679294586,
-0.3695325255393982,
-0.31958702206611633,
-0.762278139591217,
0.485277503728866... |
func (dl *DiffuseLight) Emitted(rIn ray.Ray, rec *hitrecord.HitRecord, u float64, v float64, p *vec3.Vec3Impl) *vec3.Vec3Impl {
if vec3.Dot(rec.Normal(), rIn.Direction()) < 0.0 {
return dl.emit.Value(u, v, p)
}
return &vec3.Vec3Impl{}
} | [
0.338039755821228,
-0.20761322975158691,
0.40739142894744873,
-0.19858506321907043,
-0.011314617469906807,
0.708609402179718,
0.2341126799583435,
0.559757649898529,
-0.10218743234872818,
-0.24856723845005035,
-0.33823877573013306,
0.3857854902744293,
-0.2161542773246765,
-0.224587023258209... |
func (dl *DiffuseLight) ScatteringPDF(r ray.Ray, hr *hitrecord.HitRecord, scattered ray.Ray) float64 {
return 0
} | [
0.7841707468032837,
-0.3219973146915436,
0.3476768136024475,
-0.48769140243530273,
0.20819540321826935,
-0.09374850988388062,
0.14995408058166504,
0.286037415266037,
-0.6717902421951294,
-0.25277063250541687,
0.2017241269350052,
-0.08715338259935379,
-0.7275275588035583,
0.0239950641989707... |
func (p *RegistrationPage) SetHTML(html template.HTML) {
p.HTML = html
} | [
0.11838328838348389,
1.3865245580673218,
0.19016000628471375,
0.815375804901123,
0.3163934051990509,
0.5546391010284424,
0.5321854948997498,
1.7148401737213135,
-0.28732118010520935,
0.7222228050231934,
-0.3963560461997986,
-0.1847548484802246,
-0.02627640962600708,
0.811161994934082,
0.... |
func (p *EmailConfirmationPage) SetHTML(html template.HTML) {
p.HTML = html
} | [
0.553872287273407,
0.6274930238723755,
0.17904317378997803,
0.6342501044273376,
0.004801416769623756,
1.06283438205719,
0.17155149579048157,
1.3337196111679077,
-0.8782744407653809,
0.8980448842048645,
-0.032837286591529846,
-0.10554331541061401,
0.6097736358642578,
0.7197543382644653,
-... |
func (p *ChangePasswordStep2Page) SetHTML(html template.HTML) {
p.HTML = html
} | [
0.19169436395168304,
0.09067283570766449,
0.3873598873615265,
0.7616085410118103,
0.003938816953450441,
0.8903762698173523,
-0.08155249059200287,
1.7999258041381836,
-1.119541049003601,
0.4408028721809387,
-0.2506256103515625,
-0.33486586809158325,
0.339086651802063,
1.0394781827926636,
... |
func (p *UpdatePage) SetHTML(html template.HTML) {
p.HTML = html
} | [
0.43159979581832886,
0.022670907899737358,
0.35544443130493164,
0.41888269782066345,
-0.3115805983543396,
0.9476727247238159,
-0.15601764619350433,
1.2001628875732422,
-0.09707748889923096,
0.6526287794113159,
0.06094864010810852,
-0.7378430366516113,
-0.1925051063299179,
0.237705349922180... |
func NewUpdateOfficeUserOK() *UpdateOfficeUserOK {
return &UpdateOfficeUserOK{}
} | [
-0.7066381573677063,
-1.3365833759307861,
0.2014894187450409,
1.388675332069397,
-1.5934950113296509,
0.1419147551059723,
0.8361313939094543,
0.8876711130142212,
0.04437185451388359,
1.2580207586288452,
-0.21893632411956787,
-0.47751906514167786,
-0.013687960803508759,
-0.3161104619503021,... |
func (o *UpdateOfficeUserOK) WithPayload(payload *adminmessages.OfficeUser) *UpdateOfficeUserOK {
o.Payload = payload
return o
} | [
-0.4088519811630249,
-0.6763171553611755,
0.07383737713098526,
0.2339925467967987,
-1.5324736833572388,
-0.2614971995353699,
0.5203355550765991,
0.10231714695692062,
0.7063747048377991,
1.1479719877243042,
-0.34207531809806824,
-0.9301632046699524,
-0.4895942509174347,
-0.23970945179462433... |
func (o *UpdateOfficeUserOK) SetPayload(payload *adminmessages.OfficeUser) {
o.Payload = payload
} | [
-0.4791373014450073,
-0.27500855922698975,
0.08730112016201019,
0.12371352314949036,
-1.2893836498260498,
0.29044508934020996,
0.21708114445209503,
-0.2769482731819153,
0.48394808173179626,
1.0673736333847046,
-0.4425218999385834,
-0.6166810393333435,
-1.2337552309036255,
0.165779843926429... |
func (o *UpdateOfficeUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.WriteHeader(200)
if o.Payload != nil {
payload := o.Payload
if err := producer.Produce(rw, payload); err != nil {
panic(err) // let the recovery middleware deal with this
}
}
} | [
-0.6463543176651001,
-0.6903921961784363,
0.20558993518352509,
0.49012818932533264,
0.08867982774972916,
-0.180853471159935,
0.5445237755775452,
0.0764157846570015,
0.659054696559906,
1.0246343612670898,
0.03237169235944748,
-0.8609642386436462,
-0.6838072538375854,
-0.3640771210193634,
... |
func NewUpdateOfficeUserBadRequest() *UpdateOfficeUserBadRequest {
return &UpdateOfficeUserBadRequest{}
} | [
-0.8283866047859192,
-1.2708730697631836,
0.29075857996940613,
1.1148852109909058,
-1.3029489517211914,
-0.09753182530403137,
-0.2318490594625473,
0.749718189239502,
-0.13594283163547516,
0.556582510471344,
0.1592940390110016,
0.2675051987171173,
-0.3508546054363251,
0.12008268386125565,
... |
func (o *UpdateOfficeUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(400)
} | [
-0.8170663714408875,
-1.250749111175537,
0.3284056782722473,
0.5040656924247742,
0.4657635986804962,
-0.2449493706226349,
0.020524146035313606,
-0.5268462896347046,
0.5160585045814514,
0.37247133255004883,
0.24361228942871094,
-0.09605357050895691,
-1.2160452604293823,
-0.05581412091851234... |
func NewUpdateOfficeUserUnauthorized() *UpdateOfficeUserUnauthorized {
return &UpdateOfficeUserUnauthorized{}
} | [
-1.1591646671295166,
-1.270211935043335,
0.36305680871009827,
0.550156831741333,
-1.6350538730621338,
0.016464963555336,
-0.04408261179924011,
0.8449274897575378,
-0.07100279629230499,
-0.01714974269270897,
0.33510586619377136,
0.7912299036979675,
-0.5209612846374512,
-0.7122969031333923,
... |
func (o *UpdateOfficeUserUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(401)
} | [
-0.8684247136116028,
-0.8882452845573425,
0.24384623765945435,
0.44614654779434204,
-0.07714608311653137,
-0.19561320543289185,
0.5153236389160156,
0.31555622816085815,
0.6484646797180176,
0.2354535311460495,
0.21742074191570282,
-0.09520304948091507,
-0.9112062454223633,
-0.59918075799942... |
func NewUpdateOfficeUserForbidden() *UpdateOfficeUserForbidden {
return &UpdateOfficeUserForbidden{}
} | [
-0.016340862959623337,
-0.7791075706481934,
0.061696480959653854,
1.4599162340164185,
-1.468278408050537,
0.36491158604621887,
0.546765923500061,
-0.30328649282455444,
-0.3884059488773346,
0.33517298102378845,
-0.007601611781865358,
0.3698533773422241,
-0.6141026616096497,
-1.0223090648651... |
func (o *UpdateOfficeUserForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(403)
} | [
-0.25466614961624146,
-0.44795849919319153,
0.17643961310386658,
0.42988237738609314,
0.039476677775382996,
-0.039752934128046036,
0.8035535216331482,
-0.7543044686317444,
0.4382120966911316,
0.5498891472816467,
0.2971515357494354,
0.07084321230649948,
-1.2018955945968628,
-0.7819653153419... |
func (o *UpdateOfficeUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(500)
} | [
-1.1364572048187256,
-1.1187647581100464,
0.13291573524475098,
0.016473978757858276,
0.17985233664512634,
-0.3137013018131256,
0.7356076240539551,
-0.19834189116954803,
0.5255380868911743,
0.6762582659721375,
0.368684858083725,
-0.0027047216426581144,
-1.4679105281829834,
0.026410041376948... |
func testGatePipelineGetSuccess() *httptest.Server {
return httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, strings.TrimSpace(pipelineGetJson))
}))
} | [
-0.29401180148124695,
-0.18616808950901031,
0.6716637015342712,
-1.0392926931381226,
0.43657392263412476,
0.3334400951862335,
-0.09178951382637024,
-0.41700682044029236,
-1.0192838907241821,
-0.3498000502586365,
0.034696660935878754,
0.8081420063972473,
-0.3825983703136444,
-0.905392229557... |
func testGatePipelineGetMalformed() *httptest.Server {
return httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, strings.TrimSpace(malformedPipelineGetJson))
}))
} | [
0.010653871111571789,
-0.7348353862762451,
0.5329906344413757,
-1.0886751413345337,
0.6746803522109985,
0.18554659187793732,
-0.24435490369796753,
-0.7775721549987793,
-0.15117247402668,
-0.9281850457191467,
0.4376619756221771,
0.6602628827095032,
-0.21735423803329468,
0.11508208513259888,... |
func testGatePipelineGetMissing() *httptest.Server {
return httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
http.NotFound(w, r)
}))
} | [
-0.17223814129829407,
-0.5126616954803467,
0.49059492349624634,
-0.8282556533813477,
1.2765065431594849,
0.9767286777496338,
0.07639218866825104,
-0.7375502586364746,
-0.6522654294967651,
-0.29877007007598877,
0.04021270200610161,
0.5289508700370789,
-0.15340495109558105,
-0.29510760307312... |
func request(w http.ResponseWriter, r *http.Request) {
t, _ := template.ParseFiles("head.html")
t.Execute(w, nil)
u, _ := template.ParseFiles("footer.html")
u.Execute(w, nil)
} | [
-1.087073802947998,
0.6490163803100586,
0.5402106642723083,
0.8409664630889893,
0.41530686616897583,
0.362396240234375,
0.7738897204399109,
-0.39650559425354004,
-0.28290557861328125,
-0.5767446756362915,
0.6322582364082336,
-0.19336116313934326,
0.6867703795433044,
0.47853395342826843,
... |
func gather(repo *github.Repository, client *github.Client, out chan repos_hash) {
var repos_tmp repos_hash
// Gather them
res, _, err := client.Repositories.ListLanguages(*repo.Owner.Login, *repo.Name)
if err != nil {
fmt.Println(err)
}
repos_tmp.hashtable = res
repos_tmp.url = *repo.HTMLURL
out <- repos_tm... | [
0.6687508225440979,
0.41612231731414795,
0.3543294370174408,
-0.5749410390853882,
-0.13194824755191803,
0.09729286283254623,
-0.6558053493499756,
0.40463486313819885,
-0.6278688907623291,
0.2509092390537262,
-0.4590010941028595,
0.5329680442810059,
0.8948041796684265,
0.9713731408119202,
... |
func search(w http.ResponseWriter, r *http.Request) {
// Get the form content
r.ParseForm()
language := strings.Join(r.Form["Search"], "")
// Start the query on github
ts := oauth2.StaticTokenSource(
&oauth2.Token{AccessToken: "b1abf4e31f153ad21e19cf70dabce2310a731b1c"},
)
tc := oauth2.NewClient(oauth2.NoCon... | [
0.07856347411870956,
0.31538182497024536,
0.9697626829147339,
-0.9207627177238464,
1.0007445812225342,
-0.6481784582138062,
-0.38773542642593384,
-0.00587376207113266,
-0.6866872906684875,
0.4805939793586731,
0.42372623085975647,
-0.38116738200187683,
-0.548076868057251,
0.6185798645019531... |
func NewTodoAdapter(client *mongo.Client, dbName string) *TodoAdapter {
return &TodoAdapter{
client: client,
collection: client.Database(dbName).Collection(CollectionName),
}
} | [
0.1738954484462738,
-0.14653155207633972,
0.12989799678325653,
-0.4925084114074707,
-1.5115512609481812,
0.5617178082466125,
-0.39940667152404785,
-0.5496206283569336,
0.3068181872367859,
0.1646471917629242,
0.2880505323410034,
0.49246081709861755,
-0.18378371000289917,
0.5016747713088989,... |
func (a *TodoAdapter) GetAll(ctx context.Context) ([]todo.Todo, error) {
span, _ := opentracing.StartSpanFromContext(ctx, "TodoAdapter-GetAll")
defer span.Finish()
findOptions := options.Find()
cur, err := a.collection.Find(ctx, bson.D{}, findOptions)
var todos = make([]todo.Todo, 0)
if err != nil {
return ... | [
0.1677064150571823,
-0.14630188047885895,
0.8241660594940186,
0.8923836946487427,
0.25255724787712097,
0.18871177732944489,
0.2740717828273773,
-0.547548770904541,
0.1197955310344696,
0.05829870328307152,
0.4432884156703949,
0.7539579272270203,
0.13998880982398987,
0.3529362380504608,
-0... |
func (a *TodoAdapter) GetByID(ctx context.Context, id domain.ID) (todo.Todo, error) {
span, _ := opentracing.StartSpanFromContext(ctx, "TodoAdapter-GetByID")
defer span.Finish()
var t Todo
oid, err := primitive.ObjectIDFromHex(string(id))
if err != nil {
return todo.DefaultTodo, err
}
filter := bson.M{"_id... | [
0.2800334393978119,
0.4037208557128906,
0.5270744562149048,
-0.03088511899113655,
0.1901082694530487,
-0.10018573701381683,
0.2660600543022156,
-0.6899412274360657,
0.41052284836769104,
0.14838625490665436,
-0.6613526344299316,
1.1862927675247192,
-0.03616912662982941,
-0.25546467304229736... |
func (a *TodoAdapter) Insert(ctx context.Context, t todo.Todo) (domain.ID, error) {
span, _ := opentracing.StartSpanFromContext(ctx, "TodoAdapter-Insert")
defer span.Finish()
var todoItem Todo
err := todoItem.FromModel(&t)
if err != nil {
return domain.ZeroID, err
}
result, err := a.collection.InsertOne(ct... | [
-1.0034223794937134,
0.6258188486099243,
0.7432725429534912,
-0.4409143924713135,
-0.35506805777549744,
0.6478421092033386,
0.3018796443939209,
-0.19933341443538666,
-0.2873104512691498,
-0.15488092601299286,
-0.9250841736793518,
0.028509460389614105,
-0.10019155591726303,
-0.1516504436731... |
func (a *TodoAdapter) Update(ctx context.Context, t todo.Todo) error {
span, _ := opentracing.StartSpanFromContext(ctx, "TodoAdapter-Update")
defer span.Finish()
oid, err := primitive.ObjectIDFromHex(string(t.ID))
if err != nil {
return err
}
//Filter
filter := bson.M{"_id": bson.M{"$eq": oid}}
//Update f... | [
-1.1635127067565918,
-0.005293276626616716,
0.6394374370574951,
-0.394174188375473,
-0.5000210404396057,
0.196738138794899,
-0.39545008540153503,
-0.41094422340393066,
0.08991385251283646,
0.4758439362049103,
-0.6854903101921082,
-0.2359859198331833,
0.14915362000465393,
-0.400822192430496... |
func (a *TodoAdapter) Delete(ctx context.Context, id domain.ID) error {
span, _ := opentracing.StartSpanFromContext(ctx, "TodoAdapter-Delete")
defer span.Finish()
oid, err := primitive.ObjectIDFromHex(string(id))
if err != nil {
return err
}
filter := bson.M{"_id": bson.M{"$eq": oid}}
result, err := a.coll... | [
-0.49439647793769836,
0.5801599025726318,
0.7896113395690918,
0.043232012540102005,
-0.04396553710103035,
-0.23099112510681152,
0.2788550853729248,
-0.571406364440918,
0.9994767308235168,
0.29939308762550354,
-0.15871694684028625,
0.2111992985010147,
-0.3944152593612671,
-0.157584279775619... |
func (a *TodoAdapter) Close(ctx context.Context) error {
return a.client.Disconnect(ctx)
} | [
-0.9180960059165955,
-0.12703539431095123,
0.4492373764514923,
-0.5019670724868774,
-1.2795677185058594,
0.5782254338264465,
-0.45293989777565,
-1.3202157020568848,
0.8717405200004578,
-0.14338319003582,
0.7740898728370667,
0.3037932515144348,
-0.03728073462843895,
-0.5414478182792664,
0... |
func setup(t testing.TB, i int) (redis.Conn, func()) {
var toClose []func()
var addrs []string
for i := 0; i < 5; i++ {
r, a := Redis()
toClose = append(toClose, func() { r.Close() })
addrs = append(addrs, a)
}
// fmt.Printf("tmp redisses: %s\n", addrs)
s := runSquirrels(t, addrs)
toClose = append(toClose... | [
-0.7787026762962341,
-0.03969970718026161,
0.6804439425468445,
-0.7392184138298035,
0.554973840713501,
-0.622112512588501,
0.21759924292564392,
-0.20667137205600739,
0.2493525892496109,
0.1893751174211502,
-0.046457890421152115,
0.1298319548368454,
-0.004917230922728777,
0.0953353866934776... |
func UploadData(ctx context.Context, data []byte, dataType string) error {
//Gets access grant stored in .env
var envs map[string]string
envs, err := godotenv.Read(".env")
if err != nil {
log.Fatal("Error loading .env file")
}
accessGrant := envs["STORJACCESSGRANT"]
// Parse the Access Grant.
access, err ... | [
-0.15019063651561737,
-0.06990590691566467,
1.3507468700408936,
-0.26098814606666565,
0.24944908916950226,
0.35864588618278503,
-0.07773518562316895,
0.16762308776378632,
-0.5046678781509399,
0.20375147461891174,
-0.3092302083969116,
1.248945713043213,
-0.14526814222335815,
-0.119598217308... |
func zgesv(n, nrhs int, a []complex128, lda int, b []complex128, ldb int) error {
ipiv := make([]C.integer, n)
return zgesvHelper(n, nrhs, a, lda, ipiv, b, ldb)
} | [
-0.7332205176353455,
0.3881870210170746,
0.41562438011169434,
0.26531004905700684,
0.35453760623931885,
-0.6208184957504272,
0.5338056683540344,
-0.30417007207870483,
-0.5442030429840088,
-0.05226712301373482,
-0.16969957947731018,
0.48088696599006653,
-0.47217726707458496,
0.2744273543357... |
func Constructor() MinStack {
return MinStack{[]int{}, []int{}}
} | [
-0.06269943714141846,
0.1272706389427185,
0.2761887013912201,
0.9266827702522278,
-0.7830032706260681,
-0.7486026287078857,
0.7615436911582947,
-0.3731344938278198,
0.3349331021308899,
-0.4302612841129303,
-1.1372966766357422,
-0.35541146993637085,
-0.1912601739168167,
0.5950212478637695,
... |
func (o *GetWorkflowTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 200:
result := NewGetWorkflowTemplateOK()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return res... | [
-0.28799736499786377,
-1.1863168478012085,
0.6754311323165894,
0.3301546573638916,
-0.16870182752609253,
-1.4130419492721558,
0.3930210769176483,
-0.3088143765926361,
0.5137708187103271,
0.257631778717041,
0.08968937397003174,
-0.7095561623573303,
-1.2440799474716187,
-0.37502285838127136,... |
func NewGetWorkflowTemplateOK() *GetWorkflowTemplateOK {
return &GetWorkflowTemplateOK{}
} | [
0.2394353300333023,
-0.5327991247177124,
0.29150357842445374,
0.9053910374641418,
-0.20305705070495605,
-1.038291335105896,
0.8111376762390137,
0.8135219216346741,
-0.3839286267757416,
0.7071155309677124,
-1.2657537460327148,
-1.1433740854263306,
-0.305789589881897,
0.08179713785648346,
... |
func NewGetWorkflowTemplateUnauthorized() *GetWorkflowTemplateUnauthorized {
return &GetWorkflowTemplateUnauthorized{}
} | [
-0.32862862944602966,
-0.8502909541130066,
0.6014322638511658,
0.8310440182685852,
-0.6868041753768921,
-0.6708715558052063,
0.3586680591106415,
0.691491425037384,
-0.07700091600418091,
-0.5392533540725708,
-0.5712845921516418,
0.3930635154247284,
-0.6738053560256958,
-0.6704246401786804,
... |
func NewGetWorkflowTemplateNotFound() *GetWorkflowTemplateNotFound {
return &GetWorkflowTemplateNotFound{}
} | [
0.31139686703681946,
-1.3538434505462646,
0.3260847330093384,
0.5063589215278625,
0.06524822860956192,
-0.010242589749395847,
0.65766841173172,
0.14185696840286255,
0.0896739736199379,
0.04142177850008011,
-0.86419278383255,
-0.31445884704589844,
-1.0287100076675415,
-0.16555894911289215,
... |
func CloseAllDatabase() {
mysql.CloseAllDb()
} | [
0.5014793872833252,
-0.3286093771457672,
0.38985389471054077,
1.2920539379119873,
-1.020410418510437,
1.064608097076416,
-0.48220890760421753,
0.09377077966928482,
0.48508891463279724,
-0.15740393102169037,
-0.4182135760784149,
0.06553999334573746,
-0.5724772214889526,
1.7298580408096313,
... |
func (pn *PrimitiveNode) SetDecimalMetadata(scale, precision int32) {
pn.decimalMetadata.Scale = scale
pn.decimalMetadata.Precision = precision
} | [
-0.7347553968429565,
-0.5232688188552856,
0.6693801283836365,
-0.7159733176231384,
0.2620154023170471,
0.9742188453674316,
-1.586729884147644,
-0.27018481492996216,
-0.9116823077201843,
0.15055593848228455,
-1.3163883686065674,
0.6909215450286865,
0.4380820691585541,
0.3999297618865967,
... |
func SelectQuote() (string, error) {
db, err := StartDatabaseUse(os.Getenv("DATABASE_URL"))
if err != nil {
log.Println("SelectQuote StartDatabaseUse error: ", err)
}
defer db.Close()
numberofquote := 1 + rand.Intn(550)
rows, err := db.Query(`SELECT quote FROM "QUOTES" where ser = $1`, numberofquote)
if err ... | [
-0.5069576501846313,
-0.5034565329551697,
0.6035256385803223,
0.6084107756614685,
0.16587011516094208,
-0.4536482095718384,
-0.10057634115219116,
-0.42004695534706116,
0.4354799687862396,
0.6573731899261475,
0.7488174438476562,
-0.03357698395848274,
-1.1105296611785889,
0.13438962399959564... |
func (o *offsetReader) ReadAt(b []byte, i int64) (int, error) {
// This is the line that makes it "not a section reader".
debug("readat %#x base %#x %d bytes....", i, o.base, len(b))
i -= o.base
debug("\treadat %d bytes at %#x", len(b), i)
n, err := o.r.ReadAt(b, i)
debug("\t... i %#x n %d err %v", i, n, err)
if... | [
-0.7296836376190186,
-0.9955521821975708,
0.7939563989639282,
-0.8064615726470947,
-0.4935283362865448,
0.28394603729248047,
-0.34381425380706787,
-0.8050181269645691,
-0.9189337491989136,
0.07877930998802185,
0.588344156742096,
-0.23977474868297577,
0.005007770843803883,
-0.14897635579109... |
func readOneSize(r io.ReaderAt, i interface{}, o int64, n int64) error {
err := binary.Read(io.NewSectionReader(r, o, n), binary.LittleEndian, i)
if err != nil {
return fmt.Errorf("Trying to read section for %T: %v", r, err)
}
return nil
} | [
-0.4076542258262634,
0.1788986623287201,
0.6416760087013245,
-0.6888158917427063,
-0.32973533868789673,
-0.27259162068367004,
0.008610185235738754,
-1.2049967050552368,
-0.3795373737812042,
0.20454275608062744,
0.1832907646894455,
-0.6213079690933228,
-0.17311221361160278,
0.31093677878379... |
func readOne(r io.ReaderAt, i interface{}, o int64) error {
return readOneSize(r, i, o, 65536)
} | [
-0.6496169567108154,
1.00162672996521,
0.40632832050323486,
0.5084704160690308,
-0.024861536920070648,
-0.13469438254833221,
0.6337773203849792,
-0.6442384123802185,
-0.26814883947372437,
0.29385074973106384,
-0.16254250705242157,
-0.2803891897201538,
0.1401219666004181,
-0.481899559497833... |
func SecondaryBinlogToTxn(binlog *pb.Binlog, tableRouter *router.Table, upperColName bool) (*Txn, error) {
txn := new(Txn)
var err error
downStreamSchema := ""
downStreamTable := ""
switch binlog.Type {
case pb.BinlogType_DDL:
data := binlog.DdlData
downStreamSchema = data.GetSchemaName()
downStreamTable = ... | [
-0.5342580676078796,
-0.04012555256485939,
0.8730360865592957,
0.2688639461994171,
-0.18832248449325562,
-0.6326074004173279,
0.6742292642593384,
0.21503375470638275,
-0.27512937784194946,
-0.11558184772729874,
-1.1312209367752075,
0.2258927822113037,
0.6113619804382324,
0.5383026003837585... |
func (o DrillTypeOutput) Spec() DrillSpecPtrOutput {
return o.ApplyT(func(v DrillType) *DrillSpec { return v.Spec }).(DrillSpecPtrOutput)
} | [
0.20038004219532013,
0.10781390964984894,
0.3165220022201538,
-0.2309531718492508,
0.02418939583003521,
-0.10625939816236496,
1.6585568189620972,
-0.8177804350852966,
0.19363421201705933,
0.0840204507112503,
0.336611270904541,
0.1327541172504425,
0.9458920359611511,
-0.7482333183288574,
... |
func (o DrillTypeOutput) Status() DrillStatusPtrOutput {
return o.ApplyT(func(v DrillType) *DrillStatus { return v.Status }).(DrillStatusPtrOutput)
} | [
-0.09018447250127792,
-0.5360033512115479,
0.13186083734035492,
-0.05191798880696297,
0.17434830963611603,
0.3615703582763672,
1.3357665538787842,
-0.791362464427948,
1.0169808864593506,
0.29506850242614746,
-0.8639116287231445,
0.3092796802520752,
0.5602503418922424,
-0.1872875988483429,
... |
func (o DrillSpecOutput) BenchmarkFile() pulumi.StringOutput {
return o.ApplyT(func(v DrillSpec) string { return v.BenchmarkFile }).(pulumi.StringOutput)
} | [
1.5109927654266357,
0.35159215331077576,
0.4222397804260254,
-0.43889063596725464,
1.141356348991394,
1.4362701177597046,
1.4446455240249634,
0.2490784227848053,
-1.245559811592102,
0.2122216522693634,
0.39305320382118225,
0.04693278297781944,
0.4371562600135803,
-0.8113473653793335,
-0.... |
func (o DrillSpecOutput) BenchmarksVolume() pulumi.StringMapOutput {
return o.ApplyT(func(v DrillSpec) map[string]string { return v.BenchmarksVolume }).(pulumi.StringMapOutput)
} | [
0.7924095392227173,
0.2333229035139084,
0.4702454209327698,
-0.6164154410362244,
0.9326704740524292,
0.5549914836883545,
0.5586374998092651,
-0.10758118331432343,
-0.649698793888092,
0.03346242755651474,
-0.05328351631760597,
0.40581265091896057,
0.6607581973075867,
-0.4147772789001465,
... |
func (o DrillSpecOutput) Image() DrillSpecImageOutput {
return o.ApplyT(func(v DrillSpec) DrillSpecImage { return v.Image }).(DrillSpecImageOutput)
} | [
-0.35027211904525757,
-0.23611119389533997,
0.361102432012558,
-0.38846355676651,
-0.1102360412478447,
0.09205719083547592,
1.309095025062561,
-0.1676112711429596,
0.3190874457359314,
0.27520203590393066,
0.6026166081428528,
0.08616059273481369,
1.2405736446380615,
-0.3404766917228699,
-... |
func (o DrillSpecOutput) Options() pulumi.StringPtrOutput {
return o.ApplyT(func(v DrillSpec) *string { return v.Options }).(pulumi.StringPtrOutput)
} | [
0.8607251048088074,
-0.0578865110874176,
0.35027876496315,
-0.7418665289878845,
1.4198647737503052,
0.5930702090263367,
0.7269323468208313,
-0.6169993281364441,
0.5510801672935486,
0.2849140763282776,
0.30122095346450806,
0.3495695888996124,
0.3133748173713684,
-1.1971303224563599,
-0.81... |
func (o DrillSpecOutput) PodConfig() DrillSpecPodConfigPtrOutput {
return o.ApplyT(func(v DrillSpec) *DrillSpecPodConfig { return v.PodConfig }).(DrillSpecPodConfigPtrOutput)
} | [
0.005825133062899113,
-0.02954116277396679,
0.4707603454589844,
-0.596453845500946,
0.007804668974131346,
0.1758161038160324,
1.0537943840026855,
-0.2575099468231201,
-0.12625177204608917,
0.461245596408844,
-0.19762998819351196,
-0.05960635468363762,
0.43689218163490295,
-0.45136177539825... |
func (o DrillSpecPtrOutput) BenchmarkFile() pulumi.StringPtrOutput {
return o.ApplyT(func(v *DrillSpec) *string {
if v == nil {
return nil
}
return &v.BenchmarkFile
}).(pulumi.StringPtrOutput)
} | [
1.6637494564056396,
0.5239460468292236,
0.418861985206604,
-0.4574816823005676,
1.3059741258621216,
1.1778408288955688,
1.447739601135254,
0.17504006624221802,
-1.0046195983886719,
0.06839150935411453,
0.4049101173877716,
-0.07004233449697495,
0.11684071272611618,
-0.6975530385971069,
-0... |
func (o DrillSpecPtrOutput) BenchmarksVolume() pulumi.StringMapOutput {
return o.ApplyT(func(v *DrillSpec) map[string]string {
if v == nil {
return nil
}
return v.BenchmarksVolume
}).(pulumi.StringMapOutput)
} | [
0.9341228008270264,
0.2556684613227844,
0.44115105271339417,
-0.49413517117500305,
1.0679655075073242,
0.46009132266044617,
0.6851340532302856,
-0.33419665694236755,
-0.6500259041786194,
-0.06590072810649872,
0.01858983188867569,
0.14714261889457703,
0.4818042814731598,
-0.1124758124351501... |
func (o DrillSpecPtrOutput) Image() DrillSpecImagePtrOutput {
return o.ApplyT(func(v *DrillSpec) *DrillSpecImage {
if v == nil {
return nil
}
return &v.Image
}).(DrillSpecImagePtrOutput)
} | [
-0.23167754709720612,
-0.059796374291181564,
0.33258548378944397,
-0.2849219739437103,
0.33025532960891724,
-0.1286035180091858,
1.300071120262146,
-0.3700883388519287,
0.3928745687007904,
0.16697530448436737,
0.7172030806541443,
0.07015448808670044,
0.8146895170211792,
-0.3596458733081817... |
func (o DrillSpecPtrOutput) Options() pulumi.StringPtrOutput {
return o.ApplyT(func(v *DrillSpec) *string {
if v == nil {
return nil
}
return v.Options
}).(pulumi.StringPtrOutput)
} | [
1.0248093605041504,
0.125690296292305,
0.3673878312110901,
-0.6328316330909729,
1.747111201286316,
0.3934031128883362,
0.5912907719612122,
-0.8201425075531006,
0.3871021866798401,
0.09803088009357452,
0.2593387961387634,
-0.0643686056137085,
0.07210442423820496,
-1.0580211877822876,
-0.6... |
func (o DrillSpecPtrOutput) PodConfig() DrillSpecPodConfigPtrOutput {
return o.ApplyT(func(v *DrillSpec) *DrillSpecPodConfig {
if v == nil {
return nil
}
return v.PodConfig
}).(DrillSpecPodConfigPtrOutput)
} | [
0.1198580339550972,
0.09019210934638977,
0.4985197186470032,
-0.580440878868103,
0.22943070530891418,
0.1350652426481247,
0.9913293719291687,
-0.45097553730010986,
-0.10353374481201172,
0.34324881434440613,
-0.26296836137771606,
-0.23276479542255402,
0.262759804725647,
-0.40481239557266235... |
func (o DrillSpecImageOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v DrillSpecImage) string { return v.Name }).(pulumi.StringOutput)
} | [
-0.3212033808231354,
-0.3599342405796051,
0.2819156050682068,
-0.6592885851860046,
-0.4143734872341156,
0.2712169885635376,
0.8179458379745483,
-0.3960164785385132,
0.15938730537891388,
1.1421362161636353,
-0.12459972500801086,
0.05474099889397621,
0.9777666926383972,
-0.10978791117668152,... |
func (o DrillSpecImageOutput) PullPolicy() pulumi.StringPtrOutput {
return o.ApplyT(func(v DrillSpecImage) *string { return v.PullPolicy }).(pulumi.StringPtrOutput)
} | [
0.4396531283855438,
0.1130809485912323,
0.2461785227060318,
-0.7151627540588379,
0.37516844272613525,
1.192203402519226,
0.38798972964286804,
0.2899003028869629,
1.127887487411499,
0.10928738862276077,
0.5048171877861023,
0.49980294704437256,
0.42767611145973206,
-1.0873340368270874,
-0.... |
func (o DrillSpecImageOutput) PullSecret() pulumi.StringPtrOutput {
return o.ApplyT(func(v DrillSpecImage) *string { return v.PullSecret }).(pulumi.StringPtrOutput)
} | [
-0.293468177318573,
0.38713958859443665,
0.41496187448501587,
-0.48565492033958435,
0.5279989242553711,
0.4690687358379364,
0.1741316318511963,
-0.02058597467839718,
0.7625104784965515,
-0.2654472589492798,
-0.23970967531204224,
0.13363324105739594,
0.33114829659461975,
-1.6332322359085083... |
func (o DrillSpecImagePtrOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v *DrillSpecImage) *string {
if v == nil {
return nil
}
return &v.Name
}).(pulumi.StringPtrOutput)
} | [
-0.08080121129751205,
-0.22515113651752472,
0.2273782193660736,
-0.6002095341682434,
-0.0864524096250534,
-0.04778072610497475,
0.6912241578102112,
-0.4933517873287201,
0.40652069449424744,
1.1271651983261108,
-0.06701307743787766,
-0.018207525834441185,
0.6160166263580322,
-0.234120294451... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.