text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (mr *MockNuvoVMMockRecorder) CloseVol(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseVol", reflect.TypeOf((*MockNuvoVM)(nil).CloseVol), arg0)
} | [
-0.4984031319618225,
0.05683697760105133,
0.13643164932727814,
0.0980909913778305,
-0.4036763310432434,
0.7063036561012268,
-0.048013195395469666,
-0.7516433000564575,
0.4053603708744049,
0.29663610458374023,
0.8286389708518982,
0.3624955415725708,
-0.7703425288200378,
1.106929898262024,
... |
func (m *MockNuvoVM) CreateLogVol(arg0, arg1, arg2 string, arg3 uint64) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateLogVol", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.06341530382633209,
-0.07166526466608047,
0.14344751834869385,
-0.2912899851799011,
1.0048900842666626,
0.1923382431268692,
0.31308647990226746,
-0.6501109004020691,
-1.5352975130081177,
-0.33237898349761963,
-0.9372262954711914,
-0.10605234652757645,
-0.9362372756004333,
0.28146538138389... |
func (mr *MockNuvoVMMockRecorder) CreateLogVol(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogVol", reflect.TypeOf((*MockNuvoVM)(nil).CreateLogVol), arg0, arg1, arg2, arg3)
} | [
0.186184361577034,
0.6054070591926575,
0.1463758945465088,
-0.17026489973068237,
0.1075933426618576,
0.43888235092163086,
-0.9710137844085693,
-1.3435094356536865,
-0.39925307035446167,
0.3873681426048279,
-0.17316420376300812,
0.6280984282493591,
-0.8461291790008545,
0.6082735657691956,
... |
func (m *MockNuvoVM) CreateParcelVol(arg0, arg1, arg2 string) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateParcelVol", arg0, arg1, arg2)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.056118421256542206,
-0.6353302597999573,
0.17670410871505737,
0.060823217034339905,
0.5630560517311096,
0.7531453967094421,
0.5569263100624084,
-0.5746631026268005,
-1.2065911293029785,
-0.44510358572006226,
-0.881207287311554,
-0.3108665943145752,
-0.7805532217025757,
0.5949186086654663... |
func (mr *MockNuvoVMMockRecorder) CreateParcelVol(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateParcelVol", reflect.TypeOf((*MockNuvoVM)(nil).CreateParcelVol), arg0, arg1, arg2)
} | [
0.27160772681236267,
0.07365309447050095,
0.08639988303184509,
0.15124668180942535,
-0.3218141794204712,
0.9123388528823853,
-0.7614845037460327,
-1.2436447143554688,
-0.34544575214385986,
0.4394164979457855,
0.0054462323896586895,
0.5058524012565613,
-0.7051595449447632,
0.860032856464386... |
func (m *MockNuvoVM) CreatePit(arg0, arg1 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreatePit", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.16222351789474487,
0.08113214373588562,
0.20474720001220703,
-0.38927850127220154,
1.0900810956954956,
1.190126895904541,
0.5297598838806152,
-0.5493119359016418,
-0.9376065135002136,
0.35821452736854553,
0.253940612077713,
-1.002972960472107,
-1.1376893520355225,
0.7188582420349121,
... |
func (mr *MockNuvoVMMockRecorder) CreatePit(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePit", reflect.TypeOf((*MockNuvoVM)(nil).CreatePit), arg0, arg1)
} | [
-0.1119890958070755,
0.704567551612854,
0.3585519790649414,
-0.4272186756134033,
0.33432912826538086,
1.3094004392623901,
-0.5884509682655334,
-1.099604606628418,
-0.14216195046901703,
0.9214340448379517,
1.0675643682479858,
0.04657053202390671,
-1.0351661443710327,
0.6202573776245117,
-... |
func (m *MockNuvoVM) DebugTrigger(arg0 nuvoapi.DebugTriggerParams) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DebugTrigger", arg0)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.9698878526687622,
0.4371040165424347,
-0.08634793758392334,
-0.1632605940103531,
0.8546862602233887,
-0.36238306760787964,
-0.3662780225276947,
-0.42895016074180603,
-0.8857237100601196,
-1.15434992313385,
-1.0521705150604248,
-0.4617748260498047,
-0.9026209115982056,
1.355682373046875,... |
func (mr *MockNuvoVMMockRecorder) DebugTrigger(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DebugTrigger", reflect.TypeOf((*MockNuvoVM)(nil).DebugTrigger), arg0)
} | [
-0.5928340554237366,
1.2788746356964111,
0.2151169776916504,
-0.24044495820999146,
0.20315031707286835,
-0.2745509445667267,
-1.1677017211914062,
-1.0712509155273438,
0.2522510290145874,
-0.25468453764915466,
-0.39039838314056396,
0.5047963261604309,
-0.9570186734199524,
1.3648864030838013... |
func (m *MockNuvoVM) DeletePit(arg0, arg1 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeletePit", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.6797433495521545,
0.09477727860212326,
0.18635106086730957,
-0.024643942713737488,
0.9241652488708496,
1.1698051691055298,
0.6869804263114929,
-0.5915253758430481,
-0.45452019572257996,
-0.6339629292488098,
0.6440518498420715,
-0.5690277814865112,
-1.0090495347976685,
0.8366692066192627... |
func (mr *MockNuvoVMMockRecorder) DeletePit(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePit", reflect.TypeOf((*MockNuvoVM)(nil).DeletePit), arg0, arg1)
} | [
-0.5795441269874573,
0.8584906458854675,
0.3954799473285675,
-0.17923924326896667,
-0.16785357892513275,
1.0511735677719116,
-0.41599348187446594,
-0.9079273343086243,
0.42233672738075256,
0.1595408320426941,
1.3060120344161987,
0.6046353578567505,
-0.9750179648399353,
0.6527268290519714,
... |
func (m *MockNuvoVM) DestroyVol(arg0, arg1, arg2 string, arg3 bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DestroyVol", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.1398356705904007,
-0.3596001863479614,
0.327303409576416,
0.19412505626678467,
0.8137286901473999,
0.4149867594242096,
0.6908840537071228,
0.026038814336061478,
-0.8813323974609375,
0.029924485832452774,
-0.40682998299598694,
-0.8196335434913635,
-0.862454891204834,
0.732243537902832,
... |
func (mr *MockNuvoVMMockRecorder) DestroyVol(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestroyVol", reflect.TypeOf((*MockNuvoVM)(nil).DestroyVol), arg0, arg1, arg2, arg3)
} | [
-0.08663945645093918,
0.5428907871246338,
0.379876971244812,
-0.10638922452926636,
0.16184690594673157,
0.31862470507621765,
-0.22573190927505493,
-0.5058203935623169,
0.38617977499961853,
0.4519762098789215,
0.40840208530426025,
-0.06759034097194672,
-1.0384254455566406,
0.874625504016876... |
func (m *MockNuvoVM) DeviceLocation(arg0, arg1 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeviceLocation", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
} | [
-1.6096489429473877,
0.16533537209033966,
0.08881010115146637,
-0.16220326721668243,
0.32184264063835144,
-0.04590071737766266,
2.2208776473999023,
-0.5850076079368591,
-0.44864484667778015,
-0.3179546892642975,
-0.501702606678009,
-0.9681908488273621,
-0.1418413668870926,
0.43530589342117... |
func (mr *MockNuvoVMMockRecorder) DeviceLocation(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeviceLocation", reflect.TypeOf((*MockNuvoVM)(nil).DeviceLocation), arg0, arg1)
} | [
-1.1111823320388794,
0.5823466777801514,
0.17045263946056366,
-0.18261589109897614,
-0.19301509857177734,
-0.1585754156112671,
0.8123098611831665,
-0.8920487761497498,
0.687163233757019,
0.4133276045322418,
0.41452720761299133,
0.031251754611730576,
-0.24229870736598969,
0.8734966516494751... |
func (m *MockNuvoVM) ExportLun(arg0, arg1, arg2 string, arg3 bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ExportLun", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.05952775478363037,
-0.22873555123806,
0.2809467613697052,
0.16180729866027832,
0.43856605887413025,
0.4046582579612732,
0.12746968865394592,
0.2670191824436188,
0.11317330598831177,
-0.01096289698034525,
-0.26405006647109985,
0.07224460691213608,
-1.095523476600647,
0.5177586078643799,
... |
func (mr *MockNuvoVMMockRecorder) ExportLun(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportLun", reflect.TypeOf((*MockNuvoVM)(nil).ExportLun), arg0, arg1, arg2, arg3)
} | [
-0.04814619570970535,
0.3812086582183838,
0.5282546281814575,
0.2199649065732956,
-0.2609749436378479,
0.3021811544895172,
-0.5718516111373901,
-0.25605684518814087,
1.1553903818130493,
0.3413655161857605,
0.2870931029319763,
0.7228425741195679,
-1.0880013704299927,
0.7659816741943359,
0... |
func (m *MockNuvoVM) FormatDevice(arg0, arg1 string, arg2 uint64) (uint64, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "FormatDevice", arg0, arg1, arg2)
ret0, _ := ret[0].(uint64)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-1.1101077795028687,
0.2062661200761795,
0.4203951358795166,
1.0243735313415527,
0.9167689681053162,
0.5508880615234375,
1.4741142988204956,
-0.2786179184913635,
-0.9095540046691895,
-0.8567373156547546,
0.593607485294342,
0.14349885284900665,
-0.5864320397377014,
1.7925077676773071,
0.7... |
func (mr *MockNuvoVMMockRecorder) FormatDevice(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FormatDevice", reflect.TypeOf((*MockNuvoVM)(nil).FormatDevice), arg0, arg1, arg2)
} | [
-0.5714839100837708,
0.7366498708724976,
0.385647714138031,
0.7637003064155579,
0.0986572727560997,
0.6346426606178284,
-0.014554299414157867,
-0.7725942730903625,
0.3489224314689636,
-0.3626047670841217,
1.6453396081924438,
1.2113178968429565,
-0.7279895544052124,
1.8808469772338867,
0.... |
func (m *MockNuvoVM) GetCapabilities() (*nuvoapi.Capabilities, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetCapabilities")
ret0, _ := ret[0].(*nuvoapi.Capabilities)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.3509350121021271,
0.4322183430194855,
0.3524998426437378,
0.4877420663833618,
1.2336547374725342,
-0.11829923093318939,
1.4190294742584229,
-0.8334628939628601,
-0.10664447396993637,
-0.7287643551826477,
-0.28573259711265564,
-1.2050995826721191,
-0.8432881236076355,
1.0930836200714111,... |
func (mr *MockNuvoVMMockRecorder) GetCapabilities() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCapabilities", reflect.TypeOf((*MockNuvoVM)(nil).GetCapabilities))
} | [
-0.10560695827007294,
1.1212199926376343,
0.41747191548347473,
0.43506503105163574,
0.6715309619903564,
-0.3693329095840454,
0.22237421572208405,
-1.0596413612365723,
1.0234686136245728,
0.3459348678588867,
0.6463062167167664,
-0.05445535108447075,
-0.7362788915634155,
1.2754794359207153,
... |
func (m *MockNuvoVM) GetPitDiffs(arg0, arg1, arg2 string, arg3 uint64) ([]nuvoapi.Diff, uint64, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetPitDiffs", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].([]nuvoapi.Diff)
ret1, _ := ret[1].(uint64)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
} | [
-0.8579108715057373,
0.20793502032756805,
0.5390639901161194,
0.028168821707367897,
1.316711187362671,
1.3589774370193481,
0.9262677431106567,
-0.5435625314712524,
-0.9629510641098022,
-1.7369391918182373,
-0.8734325766563416,
-0.2667090892791748,
-1.2104231119155884,
0.7095063924789429,
... |
func (mr *MockNuvoVMMockRecorder) GetPitDiffs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPitDiffs", reflect.TypeOf((*MockNuvoVM)(nil).GetPitDiffs), arg0, arg1, arg2, arg3)
} | [
-0.4097510874271393,
1.1499608755111694,
0.7824259996414185,
0.03958922624588013,
0.7575454711914062,
1.1647655963897705,
-0.026787016540765762,
-1.168755292892456,
-0.19470445811748505,
-0.6653360724449158,
0.2599062919616699,
0.45484134554862976,
-1.0278398990631104,
1.0438907146453857,
... |
func (m *MockNuvoVM) GetStats(arg0, arg1, arg2 bool, arg3 string) (*nuvoapi.StatsIO, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetStats", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*nuvoapi.StatsIO)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.44736629724502563,
0.7811217308044434,
0.5632706880569458,
0.4975847601890564,
1.1204206943511963,
0.6830809116363525,
0.9399980902671814,
-1.0429738759994507,
-0.31051376461982727,
-1.2185219526290894,
0.016603117808699608,
-0.24690745770931244,
-0.40822091698646545,
0.8099443912506104,... |
func (mr *MockNuvoVMMockRecorder) GetStats(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStats", reflect.TypeOf((*MockNuvoVM)(nil).GetStats), arg0, arg1, arg2, arg3)
} | [
0.45175760984420776,
1.5910032987594604,
0.5265998244285583,
0.042508263140916824,
0.8094605803489685,
0.27803799510002136,
-0.06379573047161102,
-1.639441728591919,
0.7139046788215637,
-0.14912687242031097,
1.0890501737594604,
0.5976755023002625,
-0.950038731098175,
1.0108599662780762,
... |
func (m *MockNuvoVM) GetVolumeStats(arg0 bool, arg1 string) (*nuvoapi.StatsCombinedVolume, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetVolumeStats", arg0, arg1)
ret0, _ := ret[0].(*nuvoapi.StatsCombinedVolume)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
0.11842137575149536,
0.12207042425870895,
0.5415558218955994,
-0.05604741349816322,
0.7754237055778503,
0.017222093418240547,
0.7179650068283081,
-1.0553776025772095,
-0.14031656086444855,
-0.5400727987289429,
0.16368535161018372,
-0.5459995865821838,
-0.9263622760772705,
0.557792603969574... |
func (mr *MockNuvoVMMockRecorder) GetVolumeStats(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeStats", reflect.TypeOf((*MockNuvoVM)(nil).GetVolumeStats), arg0, arg1)
} | [
0.19146579504013062,
0.8208901286125183,
0.4385516345500946,
-0.11860546469688416,
0.33301842212677,
-0.12670955061912537,
-0.4385090470314026,
-1.4400439262390137,
0.6907057762145996,
0.22128592431545258,
1.0749092102050781,
0.5225052833557129,
-0.5717049837112427,
0.9679835438728333,
-... |
func (m *MockNuvoVM) HaltCommand() error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HaltCommand")
ret0, _ := ret[0].(error)
return ret0
} | [
0.18374748528003693,
0.11477505415678024,
-0.10337230563163757,
0.528398871421814,
1.3354438543319702,
0.8942667841911316,
0.8693110346794128,
-0.6969295144081116,
-0.7158831357955933,
-0.3780077397823334,
-0.3561342656612396,
-0.2611902952194214,
-0.9616467952728271,
0.8246170878410339,
... |
func (mr *MockNuvoVMMockRecorder) HaltCommand() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HaltCommand", reflect.TypeOf((*MockNuvoVM)(nil).HaltCommand))
} | [
0.8548203706741333,
0.8367578983306885,
-0.04631083831191063,
0.06197409704327583,
0.8703457117080688,
0.9947019219398499,
-0.41909781098365784,
-0.9345690011978149,
0.6499955058097839,
0.2774362564086914,
0.7261303663253784,
0.8201934695243835,
-1.1776719093322754,
0.7779409885406494,
-... |
func (m *MockNuvoVM) ListPits(arg0 string) ([]string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListPits", arg0)
ret0, _ := ret[0].([]string)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.46364930272102356,
-0.39541733264923096,
0.384565144777298,
0.009968101978302002,
0.2124125361442566,
0.8801425099372864,
0.15651659667491913,
-0.896683931350708,
-0.3135101795196533,
-0.6649254560470581,
0.06525817513465881,
0.3427724838256836,
-0.6607031226158142,
0.5974454283714294,
... |
func (mr *MockNuvoVMMockRecorder) ListPits(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPits", reflect.TypeOf((*MockNuvoVM)(nil).ListPits), arg0)
} | [
-0.2785920798778534,
0.6590263247489929,
0.42304879426956177,
0.09917458146810532,
-0.33081114292144775,
0.696066677570343,
-0.598382294178009,
-1.1745007038116455,
0.7133726477622986,
-0.06930579245090485,
0.589730978012085,
0.9909460544586182,
-0.4410947859287262,
0.7367104291915894,
-... |
func (m *MockNuvoVM) ListVols() ([]string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListVols")
ret0, _ := ret[0].([]string)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.20491430163383484,
-0.331231951713562,
0.2254519909620285,
0.14135566353797913,
0.09925144165754318,
0.01994979754090309,
-0.07415758818387985,
-1.4117149114608765,
-0.02587200328707695,
-0.895037055015564,
0.20412003993988037,
-0.753527045249939,
-0.4023585915565491,
0.5885049700737,
... |
func (mr *MockNuvoVMMockRecorder) ListVols() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListVols", reflect.TypeOf((*MockNuvoVM)(nil).ListVols))
} | [
0.14328135550022125,
0.472733736038208,
0.24832378327846527,
0.15693360567092896,
-0.3461349606513977,
-0.2677929103374481,
-1.1608814001083374,
-1.8264905214309692,
1.126584768295288,
-0.16083897650241852,
0.807314395904541,
0.08149402588605881,
-0.17659831047058105,
1.1660076379776,
-1... |
func (m *MockNuvoVM) LogLevel(arg0 string, arg1 uint32) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "LogLevel", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.5753057599067688,
0.2963062822818756,
0.18414129316806793,
0.3371647894382477,
1.5107009410858154,
0.4842756986618042,
0.6829637885093689,
-0.5886431932449341,
-1.3258616924285889,
-0.23188741505146027,
-0.7764127850532532,
0.22909057140350342,
-1.0105018615722656,
0.6002020239830017,
... |
func (mr *MockNuvoVMMockRecorder) LogLevel(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogLevel", reflect.TypeOf((*MockNuvoVM)(nil).LogLevel), arg0, arg1)
} | [
-0.0887126699090004,
0.9756999611854553,
0.14968428015708923,
0.27704668045043945,
0.48530274629592896,
0.3676149845123291,
-0.4926738142967224,
-1.1263436079025269,
0.2889537215232849,
0.3897804319858551,
0.0628552958369255,
0.91872239112854,
-1.043772578239441,
0.9804670810699463,
-0.0... |
func (m *MockNuvoVM) LogSummary(arg0 string, arg1, arg2 uint32) (*nuvoapi.LogSummaryResults, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "LogSummary", arg0, arg1, arg2)
ret0, _ := ret[0].(*nuvoapi.LogSummaryResults)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.6038382649421692,
0.41124051809310913,
0.4017468988895416,
0.03071272373199463,
0.9531536102294922,
-0.240070179104805,
0.28916582465171814,
-0.3961983621120453,
-0.6471572518348694,
-0.03988594189286232,
-0.5864736437797546,
0.405238538980484,
-0.45196300745010376,
-0.14632253348827362... |
func (mr *MockNuvoVMMockRecorder) LogSummary(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogSummary", reflect.TypeOf((*MockNuvoVM)(nil).LogSummary), arg0, arg1, arg2)
} | [
-0.3553331792354584,
0.7575748562812805,
0.45932283997535706,
-0.06036163121461868,
-0.21602469682693481,
-0.043884605169296265,
-0.7775711417198181,
-1.0060808658599854,
0.47344309091567993,
0.8436992168426514,
0.2881791591644287,
1.2638354301452637,
-0.3398049771785736,
-0.02195082604885... |
func (m *MockNuvoVM) LunPath(arg0, arg1 string) string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "LunPath", arg0, arg1)
ret0, _ := ret[0].(string)
return ret0
} | [
-0.2027347981929779,
-0.550275981426239,
-0.01409727893769741,
0.25767114758491516,
-0.08979646861553192,
0.37461182475090027,
-0.06790528446435928,
-0.3230995833873749,
-0.68605637550354,
-0.7975514531135559,
-0.5615954399108887,
-0.5029734373092651,
-1.1859642267227173,
0.047605168074369... |
func (mr *MockNuvoVMMockRecorder) LunPath(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunPath", reflect.TypeOf((*MockNuvoVM)(nil).LunPath), arg0, arg1)
} | [
0.015331031754612923,
0.14703208208084106,
0.11044488102197647,
0.26019254326820374,
-0.4589560031890869,
0.4147970676422119,
-1.0132291316986084,
-0.6557301878929138,
0.2737397253513336,
-0.005248040892183781,
0.362137109041214,
0.5011102557182312,
-1.1341722011566162,
0.4462262690067291,... |
func (m *MockNuvoVM) Manifest(arg0 string, arg1 bool) ([]nuvoapi.Device, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Manifest", arg0, arg1)
ret0, _ := ret[0].([]nuvoapi.Device)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.9573571085929871,
-0.2513595223426819,
0.34671899676322937,
1.189976453781128,
0.2875586748123169,
0.43445050716400146,
0.36606624722480774,
0.45899417996406555,
-0.21034689247608185,
-0.5330356359481812,
-0.13706545531749725,
-0.5159741044044495,
-0.29287075996398926,
1.072941780090332... |
func (mr *MockNuvoVMMockRecorder) Manifest(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Manifest", reflect.TypeOf((*MockNuvoVM)(nil).Manifest), arg0, arg1)
} | [
-0.15473662316799164,
0.5201360583305359,
0.40723687410354614,
0.7682983875274658,
-0.1318797469139099,
0.37824034690856934,
-1.2734827995300293,
-0.2989378273487091,
0.7972337603569031,
-0.03653847053647041,
0.8881821036338806,
0.9315346479415894,
-0.9782464504241943,
1.5293406248092651,
... |
func (m *MockNuvoVM) NodeInitDone(arg0 string, arg1 bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NodeInitDone", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.23921793699264526,
-0.18106460571289062,
0.09841640293598175,
-0.648043155670166,
1.3515924215316772,
0.8800796866416931,
0.31802254915237427,
0.12617450952529907,
-2.124230146408081,
-0.569290816783905,
-0.6397615671157837,
-0.5990350842475891,
-0.7816429138183594,
1.068913221359253,
... |
func (mr *MockNuvoVMMockRecorder) NodeInitDone(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeInitDone", reflect.TypeOf((*MockNuvoVM)(nil).NodeInitDone), arg0, arg1)
} | [
-0.021550660952925682,
0.45731788873672485,
0.04171425476670265,
-0.5362598299980164,
0.8506927490234375,
0.8268653750419617,
-0.4297175407409668,
-0.8427714109420776,
-1.0822473764419556,
0.37662604451179504,
0.11368720978498459,
0.17741870880126953,
-0.5481814742088318,
1.166519522666931... |
func (m *MockNuvoVM) NodeLocation(arg0, arg1 string, arg2 uint16) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NodeLocation", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
} | [
-1.3304990530014038,
0.27520591020584106,
0.10376986116170883,
-0.6017951965332031,
0.5143367052078247,
0.044145699590444565,
1.3029624223709106,
-0.9867550730705261,
-1.1141040325164795,
-0.10005136579275131,
-0.2943955361843109,
-0.5081362128257751,
-0.23438744246959686,
0.46503710746765... |
func (mr *MockNuvoVMMockRecorder) NodeLocation(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeLocation", reflect.TypeOf((*MockNuvoVM)(nil).NodeLocation), arg0, arg1, arg2)
} | [
-0.7875001430511475,
0.6669323444366455,
0.30615875124931335,
-0.49420762062072754,
0.03962427005171776,
0.06539789587259293,
0.047874633222818375,
-1.0365008115768433,
-0.07305289059877396,
0.7205780744552612,
0.5046988129615784,
0.43569204211235046,
-0.20316825807094574,
0.82885915040969... |
func (m *MockNuvoVM) NodeStatus() (nuvoapi.NodeStatusReport, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NodeStatus")
ret0, _ := ret[0].(nuvoapi.NodeStatusReport)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.34407567977905273,
-0.0942877009510994,
-0.09320876747369766,
-0.8185648918151855,
0.8749880194664001,
0.29597997665405273,
0.27946436405181885,
-0.2734609544277191,
-1.1938838958740234,
-0.8556968569755554,
-0.6586980819702148,
-0.16403961181640625,
-0.24206295609474182,
1.078326702117... |
func (mr *MockNuvoVMMockRecorder) NodeStatus() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeStatus", reflect.TypeOf((*MockNuvoVM)(nil).NodeStatus))
} | [
-0.108294278383255,
0.6241190433502197,
-0.11290334910154343,
-0.6793636679649353,
0.13869380950927734,
0.29474177956581116,
-0.9762375354766846,
-0.5247105956077576,
0.2552167773246765,
0.45499488711357117,
0.23386041820049286,
1.1821438074111938,
-0.09161946177482605,
1.0807987451553345,... |
func (m *MockNuvoVM) OpenPassThroughVolume(arg0, arg1 string, arg2 uint64) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "OpenPassThroughVolume", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.9899484515190125,
-0.5111877918243408,
0.459632009267807,
-0.6118245720863342,
0.4854884445667267,
1.0887646675109863,
1.239522099494934,
0.05104023590683937,
-1.1276257038116455,
-0.6397606730461121,
0.12568390369415283,
-0.6555957794189453,
-1.519703984260559,
0.7061607837677002,
1.... |
func (mr *MockNuvoVMMockRecorder) OpenPassThroughVolume(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OpenPassThroughVolume", reflect.TypeOf((*MockNuvoVM)(nil).OpenPassThroughVolume), arg0, arg1, arg2)
} | [
-0.7401064038276672,
0.04801524057984352,
0.41281017661094666,
-0.7337725162506104,
-0.37995049357414246,
0.9555559754371643,
0.30132508277893066,
-0.555464506149292,
-0.2560800015926361,
0.15558288991451263,
0.7915589213371277,
0.06334033608436584,
-1.3681762218475342,
0.6488397717475891,... |
func (m *MockNuvoVM) OpenVol(arg0, arg1, arg2 string, arg3 bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "OpenVol", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.714691162109375,
-0.2710682451725006,
0.36058762669563293,
-0.18107938766479492,
0.39736872911453247,
0.5996196866035461,
0.9775915145874023,
-0.009335094131529331,
-0.7156898975372314,
-0.35648012161254883,
-0.2815588712692261,
-0.6563292741775513,
-0.8669385313987732,
0.57566028833389... |
func (mr *MockNuvoVMMockRecorder) OpenVol(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OpenVol", reflect.TypeOf((*MockNuvoVM)(nil).OpenVol), arg0, arg1, arg2, arg3)
} | [
-0.4210413098335266,
0.41832980513572693,
0.2386128306388855,
-0.24489723145961761,
-0.5496038794517517,
0.41668856143951416,
-0.020544640719890594,
-0.6736524105072021,
0.30700263381004333,
0.21932700276374817,
0.36345142126083374,
0.28564944863319397,
-0.8636715412139893,
0.7447567582130... |
func (m *MockNuvoVM) PauseIo(arg0 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PauseIo", arg0)
ret0, _ := ret[0].(error)
return ret0
} | [
0.05529321730136871,
-0.23475083708763123,
-0.0275863204151392,
0.6763821840286255,
1.2038227319717407,
0.8516979217529297,
0.32887786626815796,
-0.11605419218540192,
-1.2646191120147705,
-0.5005360245704651,
-0.8046642541885376,
-0.8115196824073792,
-0.3897814154624939,
0.2298049032688141... |
func (mr *MockNuvoVMMockRecorder) PauseIo(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PauseIo", reflect.TypeOf((*MockNuvoVM)(nil).PauseIo), arg0)
} | [
0.3762199282646179,
0.582122802734375,
0.026476597413420677,
0.6084551215171814,
0.1441085785627365,
0.5755409002304077,
-0.6990580558776855,
-0.7163694500923157,
0.26576995849609375,
0.27922025322914124,
-0.10362202674150467,
0.08907779306173325,
-0.3715973496437073,
0.6108139753341675,
... |
func (m *MockNuvoVM) ResumeIo(arg0 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ResumeIo", arg0)
ret0, _ := ret[0].(error)
return ret0
} | [
0.5249437093734741,
-0.10976220667362213,
0.13296084105968475,
0.6062797904014587,
1.1987003087997437,
0.3353654742240906,
0.34443145990371704,
-0.21622627973556519,
-1.0328733921051025,
-0.6855727434158325,
-1.1005815267562866,
-0.8553636074066162,
-0.5490884780883789,
-0.0305416584014892... |
func (mr *MockNuvoVMMockRecorder) ResumeIo(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResumeIo", reflect.TypeOf((*MockNuvoVM)(nil).ResumeIo), arg0)
} | [
0.8067338466644287,
0.7319788932800293,
0.1506274938583374,
0.7828588485717773,
0.16047213971614838,
0.131816104054451,
-0.5649152398109436,
-0.8089194893836975,
0.2930772006511688,
0.28312331438064575,
-0.3320940434932709,
-0.11895140260457993,
-0.36092883348464966,
0.18419456481933594,
... |
func (m *MockNuvoVM) UnexportLun(arg0, arg1, arg2 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UnexportLun", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
} | [
-0.16828161478042603,
-0.018815599381923676,
0.4650241434574127,
0.1303863525390625,
0.2748757302761078,
0.010465370491147041,
0.6118351221084595,
0.49013838171958923,
-0.948599100112915,
-0.9454028010368347,
-0.21815603971481323,
-0.00536442082375288,
-1.0044536590576172,
0.31529921293258... |
func (mr *MockNuvoVMMockRecorder) UnexportLun(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnexportLun", reflect.TypeOf((*MockNuvoVM)(nil).UnexportLun), arg0, arg1, arg2)
} | [
-0.05916937440633774,
0.4142630100250244,
0.6380106210708618,
0.0066672684624791145,
-0.5084847807884216,
0.2082512378692627,
-0.5553345084190369,
0.23764783143997192,
0.04900016635656357,
-0.062207430601119995,
0.26030433177948,
0.6422696709632874,
-1.0341376066207886,
0.5194122791290283,... |
func (m *MockNuvoVM) UseCacheDevice(arg0, arg1 string) (uint64, uint64, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UseCacheDevice", arg0, arg1)
ret0, _ := ret[0].(uint64)
ret1, _ := ret[1].(uint64)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
} | [
-0.9756354093551636,
0.5147895812988281,
0.4470480680465698,
0.6889497637748718,
0.752311646938324,
0.20864707231521606,
1.0931836366653442,
0.33765503764152527,
-1.1087456941604614,
-0.9716433882713318,
-0.24166709184646606,
-0.6598514914512634,
-0.9643563032150269,
1.2747693061828613,
... |
func (mr *MockNuvoVMMockRecorder) UseCacheDevice(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UseCacheDevice", reflect.TypeOf((*MockNuvoVM)(nil).UseCacheDevice), arg0, arg1)
} | [
-0.6178008317947388,
1.317152500152588,
0.4490053057670593,
0.7942243218421936,
-0.06478260457515717,
0.3596467673778534,
-0.11707732826471329,
-0.3247734308242798,
-0.12679161131381989,
-0.09758999198675156,
0.9468870759010315,
0.4305746853351593,
-1.0359410047531128,
1.5291481018066406,
... |
func (m *MockNuvoVM) UseDevice(arg0, arg1 string, arg2 ...string) error {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "UseDevice", varargs...)
ret0, _ := ret[0].(error)
return ret0
} | [
-1.0152026414871216,
0.655709981918335,
0.6323991417884827,
0.5558686256408691,
0.9244920015335083,
0.10680700093507767,
1.5071485042572021,
0.06811816245317459,
-0.9413191676139832,
-0.5218850374221802,
0.6519684195518494,
-0.6059882044792175,
-1.3702397346496582,
1.331990361213684,
1.3... |
func (mr *MockNuvoVMMockRecorder) UseDevice(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UseDevice", reflect.TypeOf((*MockNuvoVM)(nil).UseDevice), varargs...)
} | [
-0.4962828457355499,
1.2467756271362305,
0.7088707685470581,
0.5435330867767334,
0.4482853412628174,
0.10003954917192459,
0.31241416931152344,
-0.6368687748908997,
0.05014028027653694,
-0.03294185921549797,
1.5202274322509766,
0.2723039984703064,
-1.4151898622512817,
1.3171321153640747,
... |
func (m *MockNuvoVM) UseNodeUUID(arg0 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UseNodeUUID", arg0)
ret0, _ := ret[0].(error)
return ret0
} | [
-1.2291926145553589,
0.4971790909767151,
0.2502833306789398,
-0.6287602782249451,
1.0139375925064087,
-0.3261618912220001,
1.2461583614349365,
0.1153813973069191,
-1.460402488708496,
-0.25498270988464355,
0.2335854470729828,
-1.1023327112197876,
-1.0797884464263916,
1.1689507961273193,
0... |
func (mr *MockNuvoVMMockRecorder) UseNodeUUID(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UseNodeUUID", reflect.TypeOf((*MockNuvoVM)(nil).UseNodeUUID), arg0)
} | [
-0.8473859429359436,
0.995876669883728,
0.4206380844116211,
-0.4877612292766571,
0.030877958983182907,
-0.34692567586898804,
0.14652660489082336,
-0.33953142166137695,
-0.4042063057422638,
0.5017231106758118,
1.1891855001449585,
-0.19604261219501495,
-0.7606755495071411,
1.0854464769363403... |
func setPsqlite(pSqlite *string) filepath.WalkFunc {
return func(path string, info os.FileInfo, err error) error {
if err != nil {
return nil
}
match, _ := regexp.MatchString("primary.sqlite.(xz|bz2)$", path)
if match {
*pSqlite = path
return nil
}
return nil
}
} | [
0.3942367136478424,
-0.7313780188560486,
0.6919839978218079,
-0.18031543493270874,
-0.8508870005607605,
-0.5190185904502869,
-0.1630198210477829,
-0.5496196746826172,
-0.6775977611541748,
0.20103414356708527,
-0.4806469976902008,
-0.06206789240241051,
-0.44981715083122253,
0.13893024623394... |
func extractXZ(path, pSqlite string) error {
f, err := os.Open(pSqlite)
if err != nil {
return err
}
defer f.Close()
r, err := xz.NewReader(f)
if err != nil {
return err
}
w, err := os.Create(path + "primary.sqlite")
if err != nil {
return err
}
defer w.Close()
if _, err = io.Copy(w, r); err != nil {
... | [
0.8552153706550598,
-0.2387039065361023,
0.724156379699707,
-0.14520040154457092,
-0.7711061239242554,
-0.43857672810554504,
0.3195865750312805,
0.20734629034996033,
0.144639253616333,
0.6665151715278625,
-0.06849931925535202,
-0.20292408764362335,
-0.6291980147361755,
-0.4254438579082489,... |
func extractBZ2(path, pSqlite string) error {
f, err := os.Open(pSqlite)
if err != nil {
return err
}
defer f.Close()
r := bzip2.NewReader(f)
if err != nil {
return err
}
w, err := os.Create(path + "primary.sqlite")
if err != nil {
return err
}
defer w.Close()
if _, err = io.Copy(w, r); err != nil {
... | [
0.6952745914459229,
-0.9088748097419739,
0.7945849895477295,
0.14292661845684052,
-0.8006748557090759,
-0.07552565634250641,
0.3828355371952057,
-0.05903642624616623,
-0.3909773826599121,
0.6038200259208679,
-0.6651842594146729,
0.320024698972702,
-0.8454231023788452,
-0.10566913336515427,... |
func repoSqlite(path string) ([]Repo, error) {
var repo []Repo
db, err := sql.Open("sqlite3", path+"primary.sqlite")
if err != nil {
return nil, err
}
defer db.Close()
sqlStmt := `select name, arch, version, summary from packages;`
rows, err := db.Query(sqlStmt)
if err != nil {
return nil, err
}
defer row... | [
-0.7469107508659363,
0.41254064440727234,
0.6192473769187927,
-1.0229262113571167,
-0.7446807026863098,
-0.333111435174942,
-1.1633436679840088,
-0.5204490423202515,
0.18992334604263306,
1.0667405128479004,
-0.37967416644096375,
-0.6065183281898499,
0.14477777481079102,
-0.8013764023780823... |
func RepoJSON(path string) ([]Repo, error) {
var (
extract error
pSqlite string
)
err := filepath.Walk(path, setPsqlite(&pSqlite))
if err != nil {
return nil, err
}
if pSqlite != "" {
switch filepath.Ext(pSqlite) {
case ".xz":
extract = extractXZ(path, pSqlite)
case ".bz2":
extract = extractBZ2(... | [
-0.2931418716907501,
-0.24005915224552155,
0.7213628888130188,
-0.25545915961265564,
-0.7412242293357849,
-0.43977683782577515,
0.27889734506607056,
0.4065941870212555,
-0.047468554228544235,
0.6700862646102905,
-0.9359126091003418,
-0.619175910949707,
-0.5248127579689026,
0.03186823055148... |
func NewDeploymentsCommand() *cobra.Command {
cmd := createListCommand(cmdListDeployments, "deployments", "")
cmd.Flags().StringVar(&deploymentParams.Name, "name", "", "Filter deployments by name")
cmd.Flags().StringVar(&deploymentParams.StackVersionID, "stack-version-id", "", "Filter deployments by stack_version_i... | [
-0.4470338523387909,
-0.5503474473953247,
0.8459715843200684,
-0.6159237027168274,
0.7002308964729309,
-0.20986148715019226,
0.379772424697876,
-0.7142459154129028,
0.40301376581192017,
0.2590426504611969,
-0.15734867751598358,
-0.6640522480010986,
-0.021029338240623474,
0.9617450833320618... |
func cmdListDeployments(ccmd *cobra.Command, args []string) {
aplSvc := apl.NewClient()
output := runListCommand(&deploymentParams, aplSvc.Deployments.List)
if output != nil {
fields := []string{"ID", "Name", "CreatedTime", "Workload.WorkloadType"}
printTableResultsCustom(output.([]apl.Deployment), fields)
}
... | [
0.022286785766482353,
0.061035383492708206,
0.5740237236022949,
-0.17842668294906616,
0.314680814743042,
0.0300039891153574,
-0.050416603684425354,
0.15591681003570557,
0.4337005317211151,
0.926948070526123,
-0.020933037623763084,
0.17455509305000305,
0.19615745544433594,
1.014050364494323... |
func cmdGetDeployments(ccmd *cobra.Command, args []string) {
aplSvc := apl.NewClient()
output := runGetCommand(args, aplSvc.Deployments.Get)
if output != nil {
fields := []string{"ID", "Name", "CreatedTime", "Workload.WorkloadType"}
printTableResultsCustom(output.(apl.Deployment), fields)
}
} | [
0.015253753401339054,
0.3286295533180237,
0.4149801731109619,
-0.5840137004852295,
0.3781944513320923,
-0.17429979145526886,
0.03634120896458626,
0.03896188735961914,
-0.6215208768844604,
0.7048431634902954,
0.29184862971305847,
-0.11386542022228241,
0.25806716084480286,
0.8224515318870544... |
func deploymentArtifactFactory(aplSvc *apl.Client, stackArtifactIDs []string) apl.Artifact {
var artifact apl.Artifact
for _, saID := range stackArtifactIDs {
sa, _, err := aplSvc.StackArtifacts.Get(saID)
if err != nil {
panic(err.Error())
}
switch sa.StackArtifactType {
case "code":
artifact.Code ... | [
0.14154386520385742,
-0.8772600889205933,
0.25617045164108276,
-0.4733702540397644,
-0.41885632276535034,
0.19238634407520294,
-0.0457986555993557,
0.041940830647945404,
0.21688908338546753,
1.0070816278457642,
0.3372684419155121,
-0.0038753345143049955,
0.030656034126877785,
-0.3358273506... |
func BeginTableV(id string, columnsCount int, flags TableFlags, outerSize Vec2, innerWidth float32) bool {
idArg, idFin := wrapString(id)
defer idFin()
outerSizeArg, _ := outerSize.wrapped()
return C.iggBeginTable(idArg, C.int(columnsCount), C.int(flags), outerSizeArg, C.float(innerWidth)) != 0
} | [
-0.28160569071769714,
-0.052035629749298096,
0.6270575523376465,
-0.06270492821931839,
-1.1970746517181396,
-0.04718327522277832,
0.30586209893226624,
-0.5128753185272217,
-0.7570504546165466,
-0.4361572861671448,
0.22738850116729736,
1.1593527793884277,
0.09535142779350281,
0.370272487401... |
func EndTable() {
C.iggEndTable()
} | [
0.4202030301094055,
0.043150268495082855,
0.2121073305606842,
0.49747246503829956,
0.05322711542248726,
0.37653714418411255,
1.1629960536956787,
0.49026575684547424,
-1.7418031692504883,
0.1419955939054489,
-0.1028582751750946,
0.29573702812194824,
-0.8128753900527954,
0.5773021578788757,
... |
func TableNextRowV(flags TableRowFlags, minRowHeight float32) {
C.iggTableNextRow(C.int(flags), C.float(minRowHeight))
} | [
-0.021152010187506676,
0.8386284708976746,
0.21219509840011597,
0.870434045791626,
-1.092484712600708,
-0.12272307276725769,
-0.08144013583660126,
-0.2928697168827057,
-0.3884330093860626,
-0.2315569818019867,
-0.04405752569437027,
0.5202267169952393,
0.26708531379699707,
0.763682901859283... |
func TableNextRow() {
TableNextRowV(0, 0.0)
} | [
0.39057159423828125,
0.6698222756385803,
0.1575504094362259,
1.5669726133346558,
-0.715002715587616,
-0.15800349414348602,
0.051496487110853195,
0.17451879382133484,
-0.6116935014724731,
-0.13929009437561035,
0.6875087022781372,
0.23738816380500793,
0.8209344744682312,
1.751204490661621,
... |
func TableNextColumn() bool {
return C.iggTableNextColumn() != 0
} | [
-0.6292010545730591,
-0.3081843852996826,
0.32242369651794434,
1.1201071739196777,
-0.957972526550293,
0.4054449200630188,
0.6937236785888672,
-0.3822251260280609,
-1.607155680656433,
-0.2419176995754242,
-0.9107290506362915,
-0.25348687171936035,
0.26016366481781006,
0.049212079495191574,... |
func TableSetColumnIndex(columnN int) bool {
return C.iggTableSetColumnIndex(C.int(columnN)) != 0
} | [
-0.7137956619262695,
-0.5332682728767395,
0.21446442604064941,
0.3463195562362671,
-0.5374690294265747,
-0.1543055772781372,
0.9009056091308594,
-0.606408417224884,
-0.7046956419944763,
0.19369105994701385,
-1.2507071495056152,
-0.763376772403717,
0.1414566934108734,
-0.07947225123643875,
... |
func TableSetupColumnV(label string, flags TableColumnFlags, initWidthOrHeight float32, userID uint) {
labelArg, labelFin := wrapString(label)
defer labelFin()
C.iggTableSetupColumn(labelArg, C.int(flags), C.float(initWidthOrHeight), C.uint(userID))
} | [
-0.5005526542663574,
-0.28428930044174194,
0.5228270888328552,
0.46746596693992615,
-0.2322770208120346,
0.4097602367401123,
0.639393150806427,
-0.4566960632801056,
-0.8912229537963867,
0.5356330871582031,
-0.578472912311554,
0.4440717399120331,
0.3776421844959259,
-0.43300679326057434,
... |
func TableSetupColumn(label string) {
TableSetupColumnV(label, 0, 0.0, 0)
} | [
-0.44462478160858154,
-0.7511636018753052,
0.5528506636619568,
0.6783322095870972,
0.42364174127578735,
0.3284692168235779,
1.4441438913345337,
0.04626401513814926,
-0.7696796655654907,
0.8393863439559937,
-0.7728046178817749,
-0.12659147381782532,
1.057987093925476,
-0.203316330909729,
... |
func TableSetupScrollFreeze(cols int, rows int) {
C.iggTableSetupScrollFreeze(C.int(cols), C.int(rows))
} | [
-0.6171475052833557,
1.0858347415924072,
0.47040292620658875,
0.6649942398071289,
-0.8067259788513184,
0.20007091760635376,
1.1836391687393188,
-1.2217304706573486,
-0.11570993065834045,
0.276646226644516,
-0.07866785675287247,
-0.3625786006450653,
0.19108952581882477,
-0.30773890018463135... |
func TableHeadersRow() {
C.iggTableHeadersRow()
} | [
-0.2833475172519684,
0.17185278236865997,
0.12477731704711914,
0.07159038633108139,
-0.007422426249831915,
-0.26565122604370117,
0.28037822246551514,
-0.8212313652038574,
-0.7011259198188782,
-0.07884442806243896,
1.3532803058624268,
-1.5227822065353394,
0.6305205225944519,
-0.016466373577... |
func TableHeader(label string) {
labelArg, labelFin := wrapString(label)
defer labelFin()
C.iggTableHeader(labelArg)
} | [
-0.4466712474822998,
-0.0009679627837613225,
0.40969574451446533,
0.2378472089767456,
-0.07874251157045364,
0.5660609006881714,
-0.38822463154792786,
-0.571201741695404,
-0.8666422367095947,
0.29930320382118225,
0.12668152153491974,
0.30302000045776367,
0.0706665888428688,
-0.7500104904174... |
func TableGetColumnCount() int {
return int(C.iggTableGetColumnCount())
} | [
0.7335348725318909,
-0.2004542201757431,
0.348855584859848,
0.7427347302436829,
0.4736233651638031,
-0.9721866250038147,
1.4654887914657593,
0.385995477437973,
-1.092383623123169,
-0.5831347107887268,
-0.7742933630943298,
-0.028887318447232246,
0.31850665807724,
-0.7736955881118774,
0.03... |
func TableGetColumnIndex() int {
return int(C.iggTableGetColumnIndex())
} | [
0.25740399956703186,
-0.9449739456176758,
0.15794295072555542,
0.7914678454399109,
0.24462218582630157,
-0.5977517366409302,
1.7269552946090698,
0.30949321389198303,
-1.1305930614471436,
-1.0196982622146606,
-0.969397246837616,
-0.017819780856370926,
0.17354577779769897,
-0.969960570335388... |
func TableGetRowIndex() int {
return int(C.iggTableGetRowIndex())
} | [
-0.2745763063430786,
0.4172990918159485,
-0.0008106607128866017,
0.6279134154319763,
0.17389290034770966,
-0.7552664279937744,
1.3262921571731567,
0.43589088320732117,
-0.38803863525390625,
-0.7888765931129456,
-0.046123310923576355,
0.2082827091217041,
-0.0785859078168869,
0.2000580579042... |
func TableGetColumnNameV(columnN int) string {
return C.GoString(C.iggTableGetColumnName(C.int(columnN)))
} | [
-0.41075170040130615,
-0.3311837911605835,
0.4976878762245178,
0.48291468620300293,
-0.43132686614990234,
-0.6778842806816101,
0.4304741621017456,
-1.2323544025421143,
-0.6624654531478882,
0.4688214957714081,
-0.6572167277336121,
0.09095922857522964,
0.8189954161643982,
-0.6417398452758789... |
func TableGetColumnFlagsV(columnN int) TableColumnFlags {
return TableColumnFlags(C.iggTableGetColumnFlags(C.int(columnN)))
} | [
0.45134437084198,
-0.027798132970929146,
0.236604243516922,
1.0125890970230103,
0.08384057134389877,
-0.4150879383087158,
0.11462307721376419,
-0.4507732689380646,
-0.19366784393787384,
-0.5680762529373169,
-0.7926421761512756,
0.21527577936649323,
0.2631763517856598,
-0.05229666456580162,... |
func TableSetBgColorV(target TableBgTarget, color Vec4, columnN int) {
colorArg, _ := color.wrapped()
C.iggTableSetBgColor(C.int(target), colorArg, C.int(columnN))
} | [
-0.36147552728652954,
0.26326191425323486,
0.46443861722946167,
0.3416416049003601,
0.6028867959976196,
-0.3908699154853821,
0.3520251214504242,
-0.4454626739025116,
-1.1902486085891724,
0.8550181984901428,
-0.4290364980697632,
1.7618789672851562,
-0.3020831346511841,
0.30925503373146057,
... |
func TableSetBgColor(target TableBgTarget, color Vec4) {
TableSetBgColorV(target, color, -1)
} | [
-0.0460132472217083,
0.5551934242248535,
0.2940043807029724,
0.7073858380317688,
0.6747260093688965,
-0.07628659158945084,
0.20294536650180817,
-0.06749798357486725,
-1.5800265073776245,
1.166501522064209,
-0.31350260972976685,
1.359156608581543,
-0.3893935978412628,
1.022355079650879,
-... |
func TableGetSortSpecs() TableSortSpecs {
return TableSortSpecs(C.iggTableGetSortSpecs())
} | [
0.008383055217564106,
-0.10542766004800797,
0.2843659818172455,
0.7933835387229919,
-0.15869246423244476,
-0.14483888447284698,
0.336605429649353,
-0.9729393720626831,
-1.0788503885269165,
-0.6985439658164978,
0.19188860058784485,
0.4720475673675537,
0.5565460920333862,
-0.1510574668645858... |
func (specs TableSortSpecs) Specs() []TableColumnSortSpecs {
count := specs.SpecsCount()
columnSpecs := make([]TableColumnSortSpecs, count)
for i := 0; i < count; i++ {
out := &C.IggTableColumnSortSpecs{}
C.iggTableSortSpecsGetSpec(specs.handle(), C.int(i), out)
columnSpecs[i] = TableColumnSortSpecs{
Colum... | [
-0.7389622330665588,
-0.5148546695709229,
0.28372082114219666,
0.12256418913602829,
-0.18209213018417358,
0.2344125211238861,
0.5397019386291504,
-1.2703726291656494,
-0.6724945306777954,
-0.1406688690185547,
0.25682276487350464,
0.15648750960826874,
0.4815704822540283,
0.071348637342453,
... |
func (specs TableSortSpecs) SpecsCount() int {
if specs == 0 {
return 0
}
return int(C.iggTableSortSpecsGetSpecsCount(specs.handle()))
} | [
-0.005859660916030407,
0.5696527361869812,
0.4507029354572296,
0.23744595050811768,
-0.34419095516204834,
0.3556678593158722,
1.1802767515182495,
-0.42821240425109863,
-0.886833667755127,
-0.28878962993621826,
0.8648205399513245,
-0.3612041771411896,
-0.04197904095053673,
0.708468616008758... |
func (specs TableSortSpecs) SpecsDirty() bool {
if specs == 0 {
return false
}
return C.iggTableSortSpecsGetSpecsDirty(specs.handle()) != 0
} | [
-0.6968070268630981,
0.21389539539813995,
0.6072282195091248,
-0.3041974604129791,
-0.22774526476860046,
0.5856099128723145,
0.6177005171775818,
-1.1778743267059326,
-0.7969450950622559,
-0.7204383015632629,
0.1806536167860031,
0.03663194552063942,
0.4273301362991333,
1.0821597576141357,
... |
func (specs TableSortSpecs) SetSpecsDirty(value bool) {
if specs == 0 {
return
}
C.iggTableSortSpecsSetSpecsDirty(specs.handle(), castBool(value))
} | [
-0.6745282411575317,
0.0545518733561039,
0.5100173354148865,
-0.12076817452907562,
0.14129142463207245,
1.1689584255218506,
1.0073671340942383,
-1.2167048454284668,
-0.9927971959114075,
-0.5990200042724609,
0.16234631836414337,
0.15943510830402374,
0.23488415777683258,
1.483964443206787,
... |
func NewClientEndpoints() []*api.Endpoint {
return []*api.Endpoint{}
} | [
-0.3681975305080414,
-0.8886458873748779,
0.28590089082717896,
0.4655909836292267,
-0.3502788245677948,
-0.03681602701544762,
-0.8969687223434448,
-0.44067004323005676,
0.21091829240322113,
0.0686599612236023,
-1.2528423070907593,
0.49255648255348206,
-0.7461241483688354,
0.131346210837364... |
func NewUser(uid int, phone string) *User {
return &User{
Uid: uid,
Phone: phone,
Pin: GenUserPin(),
ProfileReady: false,
}
} | [
-0.11547496169805527,
-0.3935810923576355,
0.16115763783454895,
1.1744979619979858,
-0.4116997718811035,
0.7915014624595642,
0.08124741911888123,
-0.8709924817085266,
0.9210783243179321,
-0.6422443389892578,
-0.3427710235118866,
0.2186966985464096,
-0.32270053029060364,
-0.2722336053848266... |
func (u *User) EvaluateProfileReady() {
switch empty := 0; empty {
case len(u.Name):
return
case len(u.MBTI):
return
case len(u.Sex):
return
case len(u.Interest):
return
case u.Height:
return
case u.Age:
return
default:
if u.lat != 0 && u.long != 0 {
u.ProfileReady = true
}
}
} | [
-0.503424882888794,
-0.18106885254383087,
0.40755030512809753,
-0.7558316588401794,
-0.10762429982423782,
0.16544435918331146,
-0.38984179496765137,
0.01197874452918768,
-0.06671369075775146,
-0.06532000005245209,
-1.4223895072937012,
-0.1221323162317276,
-0.24890941381454468,
0.6418200731... |
func (u *User) CheckPin(pin int) bool {
return u.Pin == pin
} | [
-0.8783626556396484,
0.11983750760555267,
0.21109747886657715,
1.2498005628585815,
0.13541629910469055,
1.357582926750183,
-0.14926525950431824,
-0.25253942608833313,
0.45673176646232605,
0.4055630564689636,
-0.44639381766319275,
0.2275235652923584,
-0.7102479338645935,
-0.1359838247299194... |
func GenUserPin() int {
return GenInt(0, 99999999)
} | [
-0.7223442196846008,
0.6684020757675171,
0.6114149689674377,
0.1483800858259201,
0.3945031464099884,
0.5689542889595032,
0.8897071480751038,
0.2766801714897156,
-0.276335209608078,
0.11970759928226471,
-0.5005027055740356,
-0.2341957539319992,
0.029414771124720573,
0.16070808470249176,
0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.