text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func SetEventNumber(evtno int) {
C.hepevt_set_event_number(C.int(evtno))
} | [
0.203831747174263,
-0.061878502368927,
0.38869985938072205,
0.1818278282880783,
0.7973121404647827,
0.2349461019039154,
0.8614523410797119,
1.612612009048462,
0.027094075456261635,
-0.2321016490459442,
-1.7617255449295044,
0.1720367670059204,
1.7060446739196777,
1.3556697368621826,
0.961... |
func SetNumberEntries(nentries int) {
C.hepevt_set_number_entries(C.int(nentries))
} | [
-0.14004218578338623,
0.6264102458953857,
0.20630726218223572,
0.04278964549303055,
0.9850856065750122,
0.4149119257926941,
0.23436729609966278,
0.5033764243125916,
0.26691359281539917,
-0.14683538675308228,
-1.5709428787231445,
-0.6583028435707092,
-0.07191422581672668,
1.2397528886795044... |
func SetStatusCode(index, status int) {
C.hepevt_set_status_code(C.int(index+1), C.int(status))
} | [
-0.17993462085723877,
-0.2220766395330429,
0.18093405663967133,
0.28651171922683716,
0.30478033423423767,
0.07139661908149719,
-0.2237289845943451,
0.9335178136825562,
0.2068997025489807,
0.5704392194747925,
-1.121376395225525,
0.19316309690475464,
0.49562352895736694,
0.5113909244537354,
... |
func SetParents(index, firstparent, lastparent int) {
C.hepevt_set_parents(
C.int(index+1),
C.int(firstparent),
C.int(lastparent))
} | [
-0.5951780676841736,
0.7778478264808655,
0.2570575475692749,
-1.145374059677124,
0.5826501250267029,
-0.05953621491789818,
0.35486873984336853,
-0.6791762113571167,
-0.4967326819896698,
0.23168547451496124,
-0.7951228022575378,
-0.17998120188713074,
-0.4200022220611572,
0.14355167746543884... |
func SetChildren(index, firstchild, lastchild int) {
C.hepevt_set_children(
C.int(index+1),
C.int(firstchild),
C.int(lastchild))
} | [
-0.2925923466682434,
0.786464512348175,
0.20058536529541016,
-0.8037175536155701,
0.7262821197509766,
-0.033332861959934235,
0.42543965578079224,
-0.29158085584640503,
-0.5761716365814209,
-0.17837859690189362,
-1.3633815050125122,
0.21962153911590576,
0.12000785022974014,
-0.0659860223531... |
func SetPosition(index int, x, y, z, t float64) {
C.hepevt_set_position(
C.int(index+1),
C.double(x), C.double(y),
C.double(z), C.double(t))
} | [
-0.014263065531849861,
0.2793540060520172,
0.17036090791225433,
-0.24581477046012878,
0.6462741494178772,
0.6443491578102112,
0.06951823830604553,
0.3026246428489685,
-0.31945595145225525,
0.8266938924789429,
-1.2972872257232666,
-1.197320580482483,
0.16164536774158478,
-0.3791124820709228... |
func SizeofInt() int {
return int(C.hepevt_sizeof_int())
} | [
0.8080565929412842,
0.4898492693901062,
0.09301699697971344,
-0.5895465016365051,
0.15366193652153015,
0.2331569939851761,
-0.1473570615053177,
-0.8143112063407898,
-0.6139183044433594,
-0.0998910441994667,
-0.4539245069026947,
-1.0524967908859253,
-0.19572187960147858,
0.28225719928741455... |
func SizeofReal() int {
return int(C.hepevt_sizeof_real())
} | [
0.29187554121017456,
0.505972146987915,
0.24666909873485565,
0.2680470943450928,
-0.18277712166309357,
0.03526730462908745,
-0.09013837575912476,
0.5656592845916748,
-0.7003821134567261,
-0.4752729833126068,
-0.8655638694763184,
-0.6215964555740356,
0.17818224430084229,
0.2021343857049942,... |
func MaxNumberEntries() int {
return int(C.hepevt_max_number_entries())
} | [
0.7312723994255066,
0.3860454857349396,
0.09372303634881973,
1.1227339506149292,
0.5586990714073181,
0.17098064720630646,
0.08457902073860168,
1.2151801586151123,
0.0527280755341053,
-0.14077214896678925,
-0.3086100220680237,
-0.5072457194328308,
-0.3113618493080139,
1.0966262817382812,
... |
func SetSizeofInt(sz int) {
C.hepevt_set_sizeof_int(C.int(sz))
} | [
0.2986788749694824,
0.20328335464000702,
0.12191233038902283,
-0.30117613077163696,
-0.1663234680891037,
0.5536346435546875,
0.312132865190506,
-0.3918488323688507,
0.24420695006847382,
-0.0020108751486986876,
-1.587977409362793,
-1.43288254737854,
-0.5994983315467834,
1.0682787895202637,
... |
func SetSizeofReal(sz int) {
C.hepevt_set_sizeof_real(C.int(sz))
} | [
-0.07486041635274887,
0.20195937156677246,
0.250696063041687,
0.42986029386520386,
-0.4924173653125763,
0.33776822686195374,
0.3166627883911133,
0.7615734934806824,
0.06993789970874786,
-0.27778181433677673,
-1.8460332155227661,
-1.1279020309448242,
-0.14981643855571747,
0.734348714351654,... |
func SetMaxNumberEntries(sz int) {
C.hepevt_set_max_number_entries(C.int(sz))
} | [
0.16913530230522156,
-0.17293673753738403,
0.09265918284654617,
1.011962652206421,
0.048779554665088654,
0.6172488331794739,
0.5266380310058594,
1.2841628789901733,
0.9428407549858093,
0.012604488991200924,
-1.5123709440231323,
-0.4828626215457916,
-0.15430356562137604,
1.3035533428192139,... |
func NewERC721Contract(address common.Address, backend bind.ContractBackend) (*ERC721Contract, error) {
contract, err := bindERC721Contract(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &ERC721Contract{ERC721ContractCaller: ERC721ContractCaller{contract: contract}, ERC721ContractTra... | [
-0.25366026163101196,
-0.9011920690536499,
0.7109519839286804,
-0.029963692650198936,
-1.7021576166152954,
-0.4821251332759857,
-0.9305525422096252,
0.0180467888712883,
1.064414620399475,
-0.0501641109585762,
0.14102034270763397,
0.5394703149795532,
0.018488680943846703,
0.7375476956367493... |
func NewERC721ContractCaller(address common.Address, caller bind.ContractCaller) (*ERC721ContractCaller, error) {
contract, err := bindERC721Contract(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &ERC721ContractCaller{contract: contract}, nil
} | [
-0.7650077939033508,
-0.4216402471065521,
0.5536022186279297,
0.2613542377948761,
-1.4893132448196411,
0.3521771728992462,
-0.5164753794670105,
-0.37673434615135193,
0.8271540403366089,
0.6080581545829773,
0.11838822066783905,
-0.44298097491264343,
0.3622890114784241,
1.0576236248016357,
... |
func NewERC721ContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721ContractTransactor, error) {
contract, err := bindERC721Contract(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &ERC721ContractTransactor{contract: contract}, nil
} | [
-0.8441359996795654,
-0.5603200793266296,
0.6173578500747681,
-0.11307742446660995,
-1.534014344215393,
0.03956288844347,
0.1294475644826889,
-0.06572127342224121,
0.582460343837738,
0.6907258629798889,
-0.8749687671661377,
-0.31468138098716736,
0.6697261333465576,
0.3411637544631958,
0.... |
func NewERC721ContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721ContractFilterer, error) {
contract, err := bindERC721Contract(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &ERC721ContractFilterer{contract: contract}, nil
} | [
-0.925570547580719,
-0.4094979465007782,
0.6306014657020569,
0.41574251651763916,
-1.7235743999481201,
-0.015553654171526432,
-0.40419813990592957,
-0.027846528217196465,
0.5296097993850708,
0.6419416666030884,
0.08428899943828583,
0.124058298766613,
0.34792351722717285,
0.9823322296142578... |
func bindERC721Contract(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := abi.JSON(strings.NewReader(ERC721ContractABI))
if err != nil {
return nil, err
}
return bind.NewBoundContract(address, parse... | [
-0.5680708885192871,
-0.817389965057373,
0.7649295330047607,
0.09737038612365723,
-1.5568417310714722,
0.041126418858766556,
-0.6543725728988647,
-0.07393647730350494,
0.7664464712142944,
0.09529078006744385,
0.1715892106294632,
0.9695586562156677,
-0.30480849742889404,
0.4334670305252075,... |
func (_ERC721Contract *ERC721ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _ERC721Contract.Contract.ERC721ContractCaller.contract.Call(opts, result, method, params...)
} | [
-1.2504178285598755,
0.5747887492179871,
0.7552272081375122,
0.6478959918022156,
-1.0609209537506104,
0.3832501769065857,
-0.3866480886936188,
-0.9020379185676575,
0.8177251815795898,
0.34400805830955505,
0.12884530425071716,
-0.016815250739455223,
-0.25158363580703735,
-0.1008323207497596... |
func (_ERC721Contract *ERC721ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ERC721Contract.Contract.ERC721ContractTransactor.contract.Transfer(opts)
} | [
-0.48969748616218567,
-0.0752117708325386,
0.6554858684539795,
0.45694851875305176,
-0.5968325138092041,
0.4006749093532562,
0.4234074652194977,
-0.7734538316726685,
1.2447056770324707,
-0.20962049067020416,
-0.08141525834798813,
0.3981023132801056,
-0.0831068903207779,
-0.6652840375900269... |
func (_ERC721Contract *ERC721ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _ERC721Contract.Contract.ERC721ContractTransactor.contract.Transact(opts, method, params...)
} | [
-0.4307512044906616,
0.15628358721733093,
0.7818187475204468,
-0.297222375869751,
-0.2745400071144104,
-0.06345280259847641,
0.7404207587242126,
-0.7234307527542114,
0.7501430511474609,
0.15996885299682617,
-0.0763186663389206,
0.6342712640762329,
0.26259279251098633,
-0.33091649413108826,... |
func (_ERC721Contract *ERC721ContractCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _ERC721Contract.Contract.contract.Call(opts, result, method, params...)
} | [
-1.179374098777771,
0.5341566801071167,
0.6967849135398865,
0.6448695659637451,
-0.9035019874572754,
0.38099512457847595,
-0.32037028670310974,
-0.926524817943573,
0.7077147364616394,
0.19442518055438995,
0.12276779115200043,
0.0381714291870594,
-0.4429091513156891,
-0.16188569366931915,
... |
func (_ERC721Contract *ERC721ContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ERC721Contract.Contract.contract.Transfer(opts)
} | [
-0.3240438401699066,
-0.08999501168727875,
0.4629993438720703,
0.39826810359954834,
-0.338216096162796,
0.4400595426559448,
0.5808756351470947,
-0.9698089957237244,
1.1910624504089355,
-0.24480083584785461,
0.2492048740386963,
0.36549070477485657,
-0.24065761268138885,
-0.6417367458343506,... |
func (_ERC721Contract *ERC721ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _ERC721Contract.Contract.contract.Transact(opts, method, params...)
} | [
-0.3926115036010742,
0.15567678213119507,
0.7200732827186584,
-0.3830198049545288,
-0.05179470032453537,
-0.040324535220861435,
0.8079445958137512,
-0.9175233244895935,
0.6683894991874695,
0.0825689435005188,
0.11709596961736679,
0.5335362553596497,
0.15372677147388458,
-0.3842965662479400... |
func (_ERC721Contract *ERC721ContractCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "balanceOf", _owner)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.... | [
-0.8674683570861816,
0.49977561831474304,
0.8651001453399658,
0.10576896369457245,
-0.17859604954719543,
-0.6202811002731323,
0.030336817726492882,
-1.2851781845092773,
0.8526248335838318,
0.2542112171649933,
-0.04481688514351845,
0.2690119445323944,
0.06516432762145996,
0.3583550453186035... |
func (_ERC721Contract *ERC721ContractSession) BalanceOf(_owner common.Address) (*big.Int, error) {
return _ERC721Contract.Contract.BalanceOf(&_ERC721Contract.CallOpts, _owner)
} | [
-0.3968706429004669,
0.5722247958183289,
0.4716225564479828,
-0.2052997648715973,
-0.18672014772891998,
-0.44185173511505127,
0.1699887067079544,
-1.325028896331787,
1.243601679801941,
0.10087836533784866,
0.15312273800373077,
0.15646982192993164,
0.3769061267375946,
0.09802896529436111,
... |
func (_ERC721Contract *ERC721ContractCallerSession) BalanceOf(_owner common.Address) (*big.Int, error) {
return _ERC721Contract.Contract.BalanceOf(&_ERC721Contract.CallOpts, _owner)
} | [
-0.40032678842544556,
0.5457149147987366,
0.4888509213924408,
-0.16073006391525269,
-0.19551920890808105,
-0.2911846935749054,
0.036022983491420746,
-1.4297349452972412,
1.2514530420303345,
0.09458927065134048,
0.19413356482982635,
0.13344219326972961,
0.3693160116672516,
0.113790489733219... |
func (_ERC721Contract *ERC721ContractCaller) GetApproved(opts *bind.CallOpts, _tokenId *big.Int) (common.Address, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "getApproved", _tokenId)
if err != nil {
return *new(common.Address), err
}
out0 := *abi.ConvertType(out[0], new(comm... | [
-0.5352671146392822,
0.5994766354560852,
1.1366071701049805,
-0.12676279246807098,
-0.9447036385536194,
-1.0461797714233398,
-0.6330546140670776,
-1.5781848430633545,
0.3789445161819458,
0.08133275806903839,
-0.261068731546402,
1.448224663734436,
-0.3538517951965332,
0.09108524024486542,
... |
func (_ERC721Contract *ERC721ContractSession) GetApproved(_tokenId *big.Int) (common.Address, error) {
return _ERC721Contract.Contract.GetApproved(&_ERC721Contract.CallOpts, _tokenId)
} | [
-0.2484707534313202,
0.6403933167457581,
0.8748109340667725,
-0.4947400689125061,
-0.7384442687034607,
-1.146541714668274,
-0.7846680879592896,
-1.85942804813385,
0.6590120792388916,
-0.0972013846039772,
-0.28582897782325745,
1.1683433055877686,
-0.4346522390842438,
-0.2178155481815338,
... |
func (_ERC721Contract *ERC721ContractCallerSession) GetApproved(_tokenId *big.Int) (common.Address, error) {
return _ERC721Contract.Contract.GetApproved(&_ERC721Contract.CallOpts, _tokenId)
} | [
-0.21592828631401062,
0.6521438956260681,
0.871766209602356,
-0.48410025238990784,
-0.7768892049789429,
-1.0632915496826172,
-0.816375732421875,
-1.8856698274612427,
0.6583545804023743,
-0.07828927040100098,
-0.35953736305236816,
1.1264508962631226,
-0.38264378905296326,
-0.159915417432785... |
func (_ERC721Contract *ERC721ContractCaller) GetOwnerTokens(opts *bind.CallOpts, _owner common.Address) ([]*big.Int, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "getOwnerTokens", _owner)
if err != nil {
return *new([]*big.Int), err
}
out0 := *abi.ConvertType(out[0], new([]*b... | [
-1.1746488809585571,
0.7863745093345642,
1.1619964838027954,
0.3606560528278351,
-0.22688095271587372,
-0.8729604482650757,
0.5082579255104065,
-0.761651873588562,
0.5121518969535828,
0.11635234206914902,
-1.0081474781036377,
0.7514693737030029,
-0.12006211280822754,
0.42240020632743835,
... |
func (_ERC721Contract *ERC721ContractSession) GetOwnerTokens(_owner common.Address) ([]*big.Int, error) {
return _ERC721Contract.Contract.GetOwnerTokens(&_ERC721Contract.CallOpts, _owner)
} | [
-0.8343366384506226,
0.6303120255470276,
0.9213144779205322,
0.4003792405128479,
-0.1966557502746582,
-0.5481602549552917,
0.7962753176689148,
-0.8745089769363403,
0.7119374871253967,
-0.09579430520534515,
-1.0645860433578491,
0.5581971406936646,
-0.0683411955833435,
0.014828445389866829,
... |
func (_ERC721Contract *ERC721ContractCallerSession) GetOwnerTokens(_owner common.Address) ([]*big.Int, error) {
return _ERC721Contract.Contract.GetOwnerTokens(&_ERC721Contract.CallOpts, _owner)
} | [
-0.8177747130393982,
0.6337710022926331,
0.9179789423942566,
0.4445171058177948,
-0.18146760761737823,
-0.47938913106918335,
0.7296616435050964,
-0.9353821277618408,
0.7442126870155334,
-0.11637955158948898,
-1.067070484161377,
0.48921164870262146,
-0.04004417359828949,
0.07426849007606506... |
func (_ERC721Contract *ERC721ContractCaller) ImplementsERC721(opts *bind.CallOpts) (bool, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "implementsERC721")
if err != nil {
return *new(bool), err
}
out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
return out0, err
} | [
-1.2989341020584106,
0.5694831609725952,
1.1180083751678467,
0.3152777850627899,
-1.2740108966827393,
0.5094990134239197,
-0.1381293088197708,
-0.40809085965156555,
0.3187462091445923,
1.6402560472488403,
-0.6144172549247742,
0.35278376936912537,
0.1728959083557129,
-0.20827901363372803,
... |
func (_ERC721Contract *ERC721ContractSession) ImplementsERC721() (bool, error) {
return _ERC721Contract.Contract.ImplementsERC721(&_ERC721Contract.CallOpts)
} | [
-1.052155613899231,
0.8248487710952759,
1.0050824880599976,
-0.38296809792518616,
-1.3768390417099,
0.3821614384651184,
-0.31329983472824097,
-0.7218015193939209,
0.988652765750885,
1.2726637125015259,
-0.7714519500732422,
-0.01851137913763523,
0.21882237493991852,
-0.21131198108196259,
... |
func (_ERC721Contract *ERC721ContractCallerSession) ImplementsERC721() (bool, error) {
return _ERC721Contract.Contract.ImplementsERC721(&_ERC721Contract.CallOpts)
} | [
-1.0768641233444214,
0.8100935816764832,
1.054369568824768,
-0.35149165987968445,
-1.3951669931411743,
0.57835453748703,
-0.4357049763202667,
-0.8418184518814087,
0.9895966053009033,
1.3055702447891235,
-0.7383326888084412,
-0.05552149936556816,
0.22361989319324493,
-0.15810167789459229,
... |
func (_ERC721Contract *ERC721ContractCaller) Name(opts *bind.CallOpts) (string, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "name")
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*string)
return out0, err
} | [
-0.8424723148345947,
-0.1629551202058792,
1.2682477235794067,
0.6032484769821167,
-1.1538769006729126,
-0.12619730830192566,
-0.24363748729228973,
-1.4804435968399048,
0.44526252150535583,
1.3203861713409424,
-0.2407655268907547,
0.2620391547679901,
-0.41750743985176086,
0.0282589290291070... |
func (_ERC721Contract *ERC721ContractSession) Name() (string, error) {
return _ERC721Contract.Contract.Name(&_ERC721Contract.CallOpts)
} | [
-0.38971972465515137,
-0.1303371787071228,
0.8277007341384888,
0.08026041090488434,
-0.9705154895782471,
0.026027726009488106,
0.04467586800456047,
-1.480298638343811,
1.2468117475509644,
1.1500550508499146,
-0.18716847896575928,
0.13718371093273163,
-0.15185096859931946,
-0.42681917548179... |
func (_ERC721Contract *ERC721ContractCallerSession) Name() (string, error) {
return _ERC721Contract.Contract.Name(&_ERC721Contract.CallOpts)
} | [
-0.5293489098548889,
-0.06480515003204346,
0.8071205615997314,
0.007987529039382935,
-0.9383089542388916,
0.1806245893239975,
-0.20136655867099762,
-1.507178544998169,
1.0878955125808716,
1.0476717948913574,
-0.19208118319511414,
0.04811622202396393,
-0.20756858587265015,
-0.21027675271034... |
func (_ERC721Contract *ERC721ContractCaller) NumTokensTotal(opts *bind.CallOpts) (*big.Int, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "numTokensTotal")
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, e... | [
-0.2241406887769699,
0.25965937972068787,
0.9686498641967773,
-1.0748509168624878,
-0.5813500285148621,
-0.1557503044605255,
-0.32131505012512207,
-0.6439410448074341,
0.42545387148857117,
0.2959916889667511,
-1.3878663778305054,
0.5944990515708923,
-0.1362222582101822,
-0.4064878225326538... |
func (_ERC721Contract *ERC721ContractSession) NumTokensTotal() (*big.Int, error) {
return _ERC721Contract.Contract.NumTokensTotal(&_ERC721Contract.CallOpts)
} | [
0.2910845875740051,
0.5140767693519592,
0.7700421810150146,
-1.3823955059051514,
-0.407345712184906,
0.022423960268497467,
-0.4124351441860199,
-0.6421570181846619,
0.73182612657547,
0.1938486248254776,
-1.2313228845596313,
0.3714904189109802,
-0.1429203301668167,
-0.7021406292915344,
0.... |
func (_ERC721Contract *ERC721ContractCallerSession) NumTokensTotal() (*big.Int, error) {
return _ERC721Contract.Contract.NumTokensTotal(&_ERC721Contract.CallOpts)
} | [
0.24095717072486877,
0.5328075885772705,
0.7783509492874146,
-1.3733329772949219,
-0.4049317240715027,
0.09876803308725357,
-0.4510844051837921,
-0.7018526196479797,
0.7722562551498413,
0.15822111070156097,
-1.194568395614624,
0.3536911606788635,
-0.1120038628578186,
-0.6869089007377625,
... |
func (_ERC721Contract *ERC721ContractCaller) OwnerOf(opts *bind.CallOpts, _tokenId *big.Int) (common.Address, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "ownerOf", _tokenId)
if err != nil {
return *new(common.Address), err
}
out0 := *abi.ConvertType(out[0], new(common.Addre... | [
-0.4782632887363434,
0.29633828997612,
0.619026780128479,
-0.43023890256881714,
-0.5156511664390564,
-1.0022616386413574,
-0.22782288491725922,
-2.1712610721588135,
0.36303454637527466,
0.04636940732598305,
0.03532961755990982,
0.6547170877456665,
0.028302114456892014,
-0.28072094917297363... |
func (_ERC721Contract *ERC721ContractSession) OwnerOf(_tokenId *big.Int) (common.Address, error) {
return _ERC721Contract.Contract.OwnerOf(&_ERC721Contract.CallOpts, _tokenId)
} | [
0.016071351245045662,
0.2722596824169159,
0.3769626319408417,
-0.9007792472839355,
-0.42140844464302063,
-0.8764830827713013,
-0.3633595407009125,
-2.3488125801086426,
0.657221794128418,
0.19122503697872162,
0.15652889013290405,
0.49818116426467896,
0.05322930961847305,
-0.5391237735748291... |
func (_ERC721Contract *ERC721ContractCallerSession) OwnerOf(_tokenId *big.Int) (common.Address, error) {
return _ERC721Contract.Contract.OwnerOf(&_ERC721Contract.CallOpts, _tokenId)
} | [
0.017725059762597084,
0.28789159655570984,
0.3807022273540497,
-0.8432884812355042,
-0.4401808977127075,
-0.7698761224746704,
-0.46820083260536194,
-2.445474147796631,
0.6288519501686096,
0.18630459904670715,
0.12090462446212769,
0.45313629508018494,
0.04657498374581337,
-0.480580806732177... |
func (_ERC721Contract *ERC721ContractCaller) Symbol(opts *bind.CallOpts) (string, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "symbol")
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*string)
return out0, err
} | [
-1.4178048372268677,
0.5568525791168213,
0.675943911075592,
0.5502058267593384,
-0.3506988286972046,
-0.40871918201446533,
0.43402528762817383,
-1.137193202972412,
0.8764315843582153,
0.5674729347229004,
-0.1036229133605957,
1.0651369094848633,
0.031038517132401466,
-0.2645537257194519,
... |
func (_ERC721Contract *ERC721ContractSession) Symbol() (string, error) {
return _ERC721Contract.Contract.Symbol(&_ERC721Contract.CallOpts)
} | [
-1.061292052268982,
0.5887948870658875,
0.33593329787254333,
0.005197346676141024,
-0.11776623874902725,
0.058826107531785965,
0.6262204051017761,
-1.1167651414871216,
1.5167510509490967,
0.21926726400852203,
-0.036027807742357254,
0.8901610374450684,
0.13959355652332306,
-0.98669558763504... |
func (_ERC721Contract *ERC721ContractCallerSession) Symbol() (string, error) {
return _ERC721Contract.Contract.Symbol(&_ERC721Contract.CallOpts)
} | [
-1.1439555883407593,
0.601745069026947,
0.3620433211326599,
-0.017278917133808136,
-0.17495599389076233,
0.19273287057876587,
0.4411436915397644,
-1.1817370653152466,
1.4689794778823853,
0.21361525356769562,
-0.07614924758672714,
0.8110336661338806,
0.10256380587816238,
-0.8289764523506165... |
func (_ERC721Contract *ERC721ContractCaller) TokenMetadata(opts *bind.CallOpts, _tokenId *big.Int) (string, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "tokenMetadata", _tokenId)
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*strin... | [
-0.8510999083518982,
0.2680421769618988,
0.5797126293182373,
-1.030442237854004,
-0.622482419013977,
-0.1760530322790146,
-1.0628060102462769,
-1.5118056535720825,
0.20412831008434296,
1.1176304817199707,
-0.6795800924301147,
0.9784159660339355,
0.13629092276096344,
-0.09172720462083817,
... |
func (_ERC721Contract *ERC721ContractSession) TokenMetadata(_tokenId *big.Int) (string, error) {
return _ERC721Contract.Contract.TokenMetadata(&_ERC721Contract.CallOpts, _tokenId)
} | [
-0.7767010927200317,
0.3002890944480896,
0.5786721110343933,
-1.2149947881698608,
-0.1389244943857193,
-0.027263343334197998,
-0.9265150427818298,
-1.6561126708984375,
0.9658988118171692,
0.9492079615592957,
-0.6632590293884277,
0.7943112850189209,
0.39187416434288025,
-0.4085325598716736,... |
func (_ERC721Contract *ERC721ContractCallerSession) TokenMetadata(_tokenId *big.Int) (string, error) {
return _ERC721Contract.Contract.TokenMetadata(&_ERC721Contract.CallOpts, _tokenId)
} | [
-0.7664762139320374,
0.34095489978790283,
0.5647376775741577,
-1.2008131742477417,
-0.1324240267276764,
0.005920544732362032,
-1.0208989381790161,
-1.6475131511688232,
0.916820228099823,
0.9196730256080627,
-0.6611443161964417,
0.7628086805343628,
0.3394761085510254,
-0.34113016724586487,
... |
func (_ERC721Contract *ERC721ContractCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, _owner common.Address, _index *big.Int) (*big.Int, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "tokenOfOwnerByIndex", _owner, _index)
if err != nil {
return *new(*big.Int), err
}
out0 := *a... | [
-0.9106220602989197,
0.4201830327510834,
0.6079457402229309,
-0.1434668004512787,
-0.18696433305740356,
-1.0158523321151733,
0.5610107779502869,
-0.9517185091972351,
0.28956133127212524,
0.028124120086431503,
-0.4936480224132538,
0.6279121041297913,
0.2580038011074066,
-0.8018079996109009,... |
func (_ERC721Contract *ERC721ContractSession) TokenOfOwnerByIndex(_owner common.Address, _index *big.Int) (*big.Int, error) {
return _ERC721Contract.Contract.TokenOfOwnerByIndex(&_ERC721Contract.CallOpts, _owner, _index)
} | [
-0.4736814498901367,
0.2909199893474579,
0.3338871896266937,
-0.003831640351563692,
-0.0588880255818367,
-0.7758551239967346,
0.7874923348426819,
-0.8925600647926331,
0.416057288646698,
-0.20964817702770233,
-0.3866940438747406,
0.423886775970459,
0.1635863035917282,
-1.1959282159805298,
... |
func (_ERC721Contract *ERC721ContractCallerSession) TokenOfOwnerByIndex(_owner common.Address, _index *big.Int) (*big.Int, error) {
return _ERC721Contract.Contract.TokenOfOwnerByIndex(&_ERC721Contract.CallOpts, _owner, _index)
} | [
-0.512948215007782,
0.3300662934780121,
0.3634430170059204,
0.031046710908412933,
-0.036707982420921326,
-0.7014797925949097,
0.7510939240455627,
-0.9777613878250122,
0.424925297498703,
-0.23231399059295654,
-0.4110002815723419,
0.359775185585022,
0.16378995776176453,
-1.1552257537841797,
... |
func (_ERC721Contract *ERC721ContractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) {
var out []interface{}
err := _ERC721Contract.contract.Call(opts, &out, "totalSupply")
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, err
} | [
-1.3447301387786865,
0.5306158661842346,
1.240821123123169,
-0.30352041125297546,
-0.4616069197654724,
-0.3823721706867218,
0.4734506905078888,
-1.234618902206421,
1.3053163290023804,
0.4457293450832367,
-0.7042807936668396,
0.07390175014734268,
-0.9989410638809204,
-0.5461083650588989,
... |
func (_ERC721Contract *ERC721ContractSession) TotalSupply() (*big.Int, error) {
return _ERC721Contract.Contract.TotalSupply(&_ERC721Contract.CallOpts)
} | [
-0.8889352679252625,
0.8026809096336365,
0.9888059496879578,
-0.5294890403747559,
-0.4722785949707031,
-0.39824050664901733,
0.6245622634887695,
-1.2597334384918213,
1.8117672204971313,
0.2107876092195511,
-0.7349309325218201,
-0.3392319083213806,
-1.0528807640075684,
-0.8691964149475098,
... |
func (_ERC721Contract *ERC721ContractCallerSession) TotalSupply() (*big.Int, error) {
return _ERC721Contract.Contract.TotalSupply(&_ERC721Contract.CallOpts)
} | [
-0.9186801910400391,
0.797731876373291,
1.0016530752182007,
-0.48645883798599243,
-0.5322913527488708,
-0.27706870436668396,
0.516541063785553,
-1.2848241329193115,
1.799710750579834,
0.20837339758872986,
-0.7156555652618408,
-0.45631664991378784,
-1.0434108972549438,
-0.8336178660392761,
... |
func (_ERC721Contract *ERC721ContractTransactor) Approve(opts *bind.TransactOpts, _to common.Address, _tokenId *big.Int) (*types.Transaction, error) {
return _ERC721Contract.contract.Transact(opts, "approve", _to, _tokenId)
} | [
-0.9374960064888,
0.3404656946659088,
0.5339890718460083,
-1.548994779586792,
-0.5606901049613953,
-0.8366910815238953,
-0.6737896800041199,
-1.480955958366394,
-0.3479980528354645,
0.4838376045227051,
-0.5292595624923706,
0.583756685256958,
0.5567963123321533,
-0.6139780879020691,
-0.00... |
func (_ERC721Contract *ERC721ContractSession) Approve(_to common.Address, _tokenId *big.Int) (*types.Transaction, error) {
return _ERC721Contract.Contract.Approve(&_ERC721Contract.TransactOpts, _to, _tokenId)
} | [
-0.7891592383384705,
0.45388782024383545,
0.533197820186615,
-1.4293324947357178,
-0.40981215238571167,
-1.2118808031082153,
-0.43609359860420227,
-1.7412548065185547,
-0.39646631479263306,
0.687239408493042,
-0.6820211410522461,
0.4004543423652649,
0.37359651923179626,
-0.5131478905677795... |
func (_ERC721Contract *ERC721ContractTransactorSession) Approve(_to common.Address, _tokenId *big.Int) (*types.Transaction, error) {
return _ERC721Contract.Contract.Approve(&_ERC721Contract.TransactOpts, _to, _tokenId)
} | [
-0.8357121348381042,
0.45186012983322144,
0.5337091684341431,
-1.478784441947937,
-0.36066731810569763,
-1.2276195287704468,
-0.43633079528808594,
-1.7966593503952026,
-0.3815547525882721,
0.7343366742134094,
-0.6735320091247559,
0.31233540177345276,
0.406858891248703,
-0.5624303817749023,... |
func (_ERC721Contract *ERC721ContractTransactor) Mint(opts *bind.TransactOpts, _owner common.Address, _tokenId *big.Int, _approvedAddress common.Address, _metadata string) (*types.Transaction, error) {
return _ERC721Contract.contract.Transact(opts, "mint", _owner, _tokenId, _approvedAddress, _metadata)
} | [
-0.12996987998485565,
0.24333524703979492,
0.5300301313400269,
-0.7256999015808105,
-0.7122207880020142,
-0.35758650302886963,
-1.189036250114441,
-1.1537113189697266,
0.2904592454433441,
0.6506991386413574,
0.4606190621852875,
1.5306888818740845,
0.72265625,
-0.6498013138771057,
0.42486... |
func (_ERC721Contract *ERC721ContractSession) Mint(_owner common.Address, _tokenId *big.Int, _approvedAddress common.Address, _metadata string) (*types.Transaction, error) {
return _ERC721Contract.Contract.Mint(&_ERC721Contract.TransactOpts, _owner, _tokenId, _approvedAddress, _metadata)
} | [
-0.08773811161518097,
0.2418680042028427,
0.5596358180046082,
-0.6822757720947266,
-0.6623567938804626,
-0.6395432949066162,
-1.092849612236023,
-1.331883430480957,
0.24196596443653107,
0.7720621824264526,
0.38254210352897644,
1.4953244924545288,
0.6307964324951172,
-0.5883081555366516,
... |
func (_ERC721Contract *ERC721ContractTransactorSession) Mint(_owner common.Address, _tokenId *big.Int, _approvedAddress common.Address, _metadata string) (*types.Transaction, error) {
return _ERC721Contract.Contract.Mint(&_ERC721Contract.TransactOpts, _owner, _tokenId, _approvedAddress, _metadata)
} | [
-0.12687760591506958,
0.26284071803092957,
0.5538047552108765,
-0.6916580200195312,
-0.6035174131393433,
-0.6157360672950745,
-1.0692800283432007,
-1.3550794124603271,
0.24699990451335907,
0.7956032156944275,
0.3948143720626831,
1.4094674587249756,
0.659282922744751,
-0.6800929307937622,
... |
func (_ERC721Contract *ERC721ContractTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _tokenId *big.Int) (*types.Transaction, error) {
return _ERC721Contract.contract.Transact(opts, "transfer", _to, _tokenId)
} | [
-0.6218341588973999,
0.2629726827144623,
0.4620331823825836,
-0.8806887865066528,
-0.250505268573761,
-0.17966315150260925,
-0.09888631850481033,
-1.1388646364212036,
0.3222874104976654,
0.26333674788475037,
-0.4398840069770813,
0.8771995306015015,
0.9290819764137268,
-0.5343474745750427,
... |
func (_ERC721Contract *ERC721ContractSession) Transfer(_to common.Address, _tokenId *big.Int) (*types.Transaction, error) {
return _ERC721Contract.Contract.Transfer(&_ERC721Contract.TransactOpts, _to, _tokenId)
} | [
-0.5073280334472656,
0.3728078305721283,
0.4335133731365204,
-0.8450959920883179,
-0.08392570912837982,
-0.5017816424369812,
0.000007987022399902344,
-1.1983823776245117,
0.3883633315563202,
0.38511553406715393,
-0.556928813457489,
0.6822189092636108,
0.6627044081687927,
-0.669926881790161... |
func (_ERC721Contract *ERC721ContractTransactorSession) Transfer(_to common.Address, _tokenId *big.Int) (*types.Transaction, error) {
return _ERC721Contract.Contract.Transfer(&_ERC721Contract.TransactOpts, _to, _tokenId)
} | [
-0.5457013845443726,
0.36633047461509705,
0.44965243339538574,
-0.869917631149292,
-0.0469038225710392,
-0.4511748254299164,
-0.0007217851816676557,
-1.2490358352661133,
0.4144708216190338,
0.38307416439056396,
-0.5087249875068665,
0.6153726577758789,
0.7182065844535828,
-0.739346444606781... |
func (_ERC721Contract *ERC721ContractTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error) {
return _ERC721Contract.contract.Transact(opts, "transferFrom", _from, _to, _tokenId)
} | [
0.05875931680202484,
0.3392908573150635,
0.42188143730163574,
-0.8245953321456909,
-0.40244680643081665,
-0.35477718710899353,
-0.444733202457428,
-1.0502604246139526,
0.0288937296718359,
0.2297159731388092,
-0.13887621462345123,
0.625071108341217,
0.8413885235786438,
-0.752234935760498,
... |
func (_ERC721Contract *ERC721ContractSession) TransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error) {
return _ERC721Contract.Contract.TransferFrom(&_ERC721Contract.TransactOpts, _from, _to, _tokenId)
} | [
0.16902785003185272,
0.350043922662735,
0.47824347019195557,
-0.7347668409347534,
-0.23294098675251007,
-0.6128754615783691,
-0.37375757098197937,
-1.2095530033111572,
0.07785730063915253,
0.21116027235984802,
-0.21101640164852142,
0.492016464471817,
0.7754366397857666,
-0.8207980990409851... |
func (_ERC721Contract *ERC721ContractTransactorSession) TransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error) {
return _ERC721Contract.Contract.TransferFrom(&_ERC721Contract.TransactOpts, _from, _to, _tokenId)
} | [
0.1631912738084793,
0.3778911530971527,
0.46547430753707886,
-0.8101135492324829,
-0.19070525467395782,
-0.5385501980781555,
-0.38913866877555847,
-1.2404228448867798,
0.08875860273838043,
0.24215225875377655,
-0.1773652285337448,
0.41585472226142883,
0.832841157913208,
-0.8970592021942139... |
func (it *ERC721ContractApprovalIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.32406169176101685,
0.08525947481393814,
0.34672001004219055,
0.16928686201572418,
-1.6050053834915161,
1.150959849357605,
-0.4782862961292267,
0.045274823904037476,
-0.17923548817634583,
0.5516769289970398,
1.196920394897461,
0.7061591744422913,
-0.5599114298820496,
0.5399026870727539,
... |
func (_ERC721Contract *ERC721ContractFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _approved []common.Address) (*ERC721ContractApprovalIterator, error) {
var _ownerRule []interface{}
for _, _ownerItem := range _owner {
_ownerRule = append(_ownerRule, _ownerItem)
}
var _approvedRule []i... | [
-0.5639275312423706,
0.04831303656101227,
0.7844390869140625,
0.5761104822158813,
-1.6097679138183594,
-0.006893564015626907,
-0.14732125401496887,
-0.1615540087223053,
-0.07423187792301178,
1.1038782596588135,
1.1163341999053955,
1.128509283065796,
0.16109265387058258,
-0.2795111536979675... |
func (_ERC721Contract *ERC721ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721ContractApproval, _owner []common.Address, _approved []common.Address) (event.Subscription, error) {
var _ownerRule []interface{}
for _, _ownerItem := range _owner {
_ownerRule = append(_ownerRule, _ownerItem)
}
... | [
0.2706328332424164,
-0.29646357893943787,
0.8648186922073364,
0.10895655304193497,
-1.2130235433578491,
-0.271263986825943,
0.10245823115110397,
-0.5242151021957397,
-0.24813151359558105,
0.6767890453338623,
0.608304500579834,
1.241558313369751,
0.6113420128822327,
-0.12097379565238953,
... |
func (_ERC721Contract *ERC721ContractFilterer) ParseApproval(log types.Log) (*ERC721ContractApproval, error) {
event := new(ERC721ContractApproval)
if err := _ERC721Contract.contract.UnpackLog(event, "Approval", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
-0.04537096992135048,
0.2679215371608734,
0.7641486525535583,
-0.4118543565273285,
-1.8884327411651611,
-0.20991936326026917,
0.22205546498298645,
-0.36913955211639404,
0.7792375683784485,
0.97164386510849,
-0.031343620270490646,
0.09585325419902802,
0.27883434295654297,
-0.331394106149673... |
func (it *ERC721ContractMintIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.27537739276885986,
-0.30415651202201843,
0.3054579198360443,
-0.05428561940789223,
-1.354799509048462,
0.5360276103019714,
-0.3265158236026764,
-0.6978270411491394,
-0.32319357991218567,
-0.15506191551685333,
0.2761874496936798,
0.3123265504837036,
-1.0071451663970947,
0.2955473959445953... |
func (_ERC721Contract *ERC721ContractFilterer) FilterMint(opts *bind.FilterOpts, _to []common.Address, _tokenId []*big.Int) (*ERC721ContractMintIterator, error) {
var _toRule []interface{}
for _, _toItem := range _to {
_toRule = append(_toRule, _toItem)
}
var _tokenIdRule []interface{}
for _, _tokenIdItem := ra... | [
-0.4566555321216583,
-0.3200475573539734,
0.7144802808761597,
-1.2390905618667603,
-0.6271771192550659,
-0.1308761090040207,
-0.7473790645599365,
-1.5582917928695679,
-0.10107122361660004,
0.7553874254226685,
0.11131071299314499,
1.1760804653167725,
-0.08038167655467987,
-0.379114866256713... |
func (_ERC721Contract *ERC721ContractFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *ERC721ContractMint, _to []common.Address, _tokenId []*big.Int) (event.Subscription, error) {
var _toRule []interface{}
for _, _toItem := range _to {
_toRule = append(_toRule, _toItem)
}
var _tokenIdRule []interface{}
for... | [
0.1958504468202591,
-0.6259444952011108,
0.7069530487060547,
-1.2136894464492798,
-0.3473548889160156,
-0.27740293741226196,
-0.357060968875885,
-1.7247051000595093,
-0.23918534815311432,
0.3779291808605194,
-0.07339051365852356,
1.4110054969787598,
0.34393346309661865,
-0.1102811396121978... |
func (_ERC721Contract *ERC721ContractFilterer) ParseMint(log types.Log) (*ERC721ContractMint, error) {
event := new(ERC721ContractMint)
if err := _ERC721Contract.contract.UnpackLog(event, "Mint", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
0.004693824332207441,
-0.18720218539237976,
0.668824315071106,
-1.161068320274353,
-1.1327228546142578,
-0.11666995286941528,
-0.20621633529663086,
-1.3566699028015137,
0.8247819542884827,
0.0005765318055637181,
-0.5986368656158447,
0.13807548582553864,
-0.09650170803070068,
-0.12202201783... |
func (it *ERC721ContractTransferIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.3566461503505707,
0.3044584095478058,
0.3660166561603546,
-0.5099897980690002,
-1.0375268459320068,
1.0214999914169312,
0.16269060969352722,
-0.6526297330856323,
-0.6293320059776306,
0.34168630838394165,
0.3242477774620056,
0.38157305121421814,
-0.6264575719833374,
0.7368922233581543,
... |
func (_ERC721Contract *ERC721ContractFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*ERC721ContractTransferIterator, error) {
var _fromRule []interface{}
for _, _fromItem := range _from {
_fromRule = append(_fromRule, _fromItem)
}
var _toRule []interface{}
for _, ... | [
-0.7244126796722412,
-0.0009102202020585537,
0.933203935623169,
-0.17171238362789154,
-1.0154438018798828,
-0.030401723459362984,
0.03343342989683151,
-0.7643879055976868,
-0.4785850942134857,
0.551265299320221,
0.2151978611946106,
0.8794750571250916,
-0.03954140096902847,
-0.0836518183350... |
func (_ERC721Contract *ERC721ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721ContractTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error) {
var _fromRule []interface{}
for _, _fromItem := range _from {
_fromRule = append(_fromRule, _fromItem)
}
var _toRule ... | [
0.2070106714963913,
-0.342559814453125,
0.8624629974365234,
-0.5818998217582703,
-0.6090686321258545,
-0.2650519907474518,
0.2638104557991028,
-0.9012064933776855,
-0.5688433647155762,
0.08227428793907166,
-0.23452337086200714,
0.845262348651886,
0.5045425295829773,
0.001810691668651998,
... |
func (_ERC721Contract *ERC721ContractFilterer) ParseTransfer(log types.Log) (*ERC721ContractTransfer, error) {
event := new(ERC721ContractTransfer)
if err := _ERC721Contract.contract.UnpackLog(event, "Transfer", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
0.1240498498082161,
0.07307343184947968,
0.821129560470581,
-0.49904853105545044,
-1.0874004364013672,
-0.09186439216136932,
0.3692303001880646,
-0.6306411623954773,
0.6104483604431152,
-0.3836488723754883,
-0.6275746822357178,
-0.0683596134185791,
0.3209613263607025,
0.3644934296607971,
... |
func New() *types.Schema {
s := &types.Schema{
EntryPointNames: make(map[string]string),
Types: make(map[string]types.NamedType),
Directives: make(map[string]*types.DirectiveDefinition),
}
m := newMeta()
for n, t := range m.Types {
s.Types[n] = t
}
for n, d := range m.Directives {
s.Direc... | [
0.11217427998781204,
-1.1809815168380737,
0.115903340280056,
-0.2645861506462097,
-0.1397293657064438,
0.2594805955886841,
0.05007655918598175,
0.15063051879405975,
-0.6996187567710876,
0.2631154954433441,
-0.19392192363739014,
0.6999237537384033,
0.6722995638847351,
0.02161393314599991,
... |
func RowToCSV(rows *sql.Rows) (string, error) {
data, err := RowToArr(rows)
if err != nil {
return "", err
}
b := &bytes.Buffer{}
writer := csv.NewWriter(b)
writer.WriteAll(data)
writer.Flush()
return string(b.Bytes()), nil
} | [
0.3527728319168091,
0.08266042917966843,
0.18361584842205048,
0.09148462861776352,
-0.09449205547571182,
-0.1515156328678131,
-0.46313390135765076,
-0.8446599245071411,
1.0661225318908691,
0.01978251338005066,
-0.012562010437250137,
0.6345449686050415,
0.5286600589752197,
-0.06751104444265... |
func RowToMap(rows *sql.Rows) []map[string]string {
columns, _ := rows.Columns()
count := len(columns)
readCols := make([]interface{}, count)
rawCols := make([]interface{}, count)
var records []map[string]string
for rows.Next() {
// resultCols := make(map[string]string, count)
for i := range columns {
read... | [
-0.7110580801963806,
-0.39641106128692627,
0.865479052066803,
0.0005081083509139717,
0.1309393048286438,
-0.34058573842048645,
0.09010297805070877,
-0.43827080726623535,
1.2273207902908325,
0.5080488920211792,
-0.06924737244844437,
-0.44196057319641113,
0.5665068030357361,
-0.2486355155706... |
func RowToArr(rows *sql.Rows) (records [][]string, err error) {
fmt.Printf("RowToArr start at %s", time.Now())
columns, err := rows.Columns()
if err != nil {
return
}
count := len(columns)
readCols := make([]interface{}, count)
rawCols := make([]interface{}, count)
//records = make([]interface{}, 0)
records ... | [
-0.4757716953754425,
-0.39097854495048523,
0.9481256008148193,
-0.025450630113482475,
-0.054625507444143295,
-0.38924169540405273,
0.32250046730041504,
-0.8539068698883057,
0.6051622033119202,
0.365215003490448,
0.41740748286247253,
-0.07043976336717606,
0.022771986201405525,
0.75193005800... |
func RowToRawData(rows *sql.Rows) (r RawData) {
record, _ := RowToArr(rows)
r.Header = record[0]
r.Rows = append(r.Rows, record[1:])
return
} | [
-0.37446096539497375,
0.05234624817967415,
0.42838460206985474,
-1.2090365886688232,
-0.6964623928070068,
-0.05340230092406273,
-0.7756273746490479,
-0.43297287821769714,
1.56866455078125,
0.2292807400226593,
-0.24615682661533356,
0.6963911056518555,
0.7729002833366394,
-0.1900570988655090... |
func New() *WarmerImpl {
return &WarmerImpl{}
} | [
-0.727109432220459,
-1.2533921003341675,
-0.15652556717395782,
0.007801903877407312,
-1.0730470418930054,
-0.12305103242397308,
0.30411791801452637,
0.2052612602710724,
-1.145800232887268,
-0.5100352168083191,
-1.5940717458724976,
-0.36862674355506897,
0.12947769463062286,
1.40726864337921... |
func (w *WarmerImpl) PrecomputeDiffs(summaries summary.SummaryMap, testNames types.TestNameSet, dCounter digest_counter.DigestCounter, diffFinder digesttools.ClosestDiffFinder) {
t := shared.NewMetricsTimer("warmer_loop")
diffFinder.Precompute()
for test, sum := range summaries {
if len(testNames) > 0 && !testName... | [
-0.4251481592655182,
-0.11303239315748215,
0.623525857925415,
-0.11505679041147232,
-0.39470773935317993,
0.22207239270210266,
1.6810405254364014,
0.1076199933886528,
-0.07354091107845306,
-0.5664594173431396,
0.08148393779993057,
-0.4513610005378723,
0.20790080726146698,
1.526263475418090... |
func GetUsersSearch(query url.Values) (*UsersSearch, error) {
res := &UsersSearch{}
err := urlToStruct(fmt.Sprintf("/users?%s", query.Encode()), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-1.4078117609024048,
1.0657415390014648,
0.16978535056114197,
0.2719089984893799,
0.09436414390802383,
-0.2652704417705536,
-0.00993183720856905,
-0.532668948173523,
0.25003448128700256,
-0.4594672620296478,
-0.06123875826597214,
0.278107613325119,
-0.6133086681365967,
0.17348787188529968,... |
func GetUserByID(id int) (*UserByID, error) {
res := &UserByID{}
err := urlToStruct(fmt.Sprintf("/users/userbyid/%d", id), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-0.6381851434707642,
0.3012031316757202,
0.3558932840824127,
0.32329344749450684,
-0.1379452496767044,
-0.374415785074234,
0.6289485692977905,
-1.2116235494613647,
0.5024569034576416,
-0.23243308067321777,
-0.7637532949447632,
-0.15788136422634125,
-0.5345917344093323,
0.5455379486083984,
... |
func GetUserProfile(username string) (*UserProfile, error) {
res := &UserProfile{}
err := urlToStruct(fmt.Sprintf("/users/%s",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-0.38174962997436523,
0.7381714582443237,
0.45351964235305786,
0.40496161580085754,
-0.007416724227368832,
-0.4492526352405548,
0.19125492870807648,
-0.9862204790115356,
-0.27978968620300293,
-0.3884001672267914,
-1.1441808938980103,
-0.18932774662971497,
-1.4884366989135742,
0.13940848410... |
func GetUserStatistics(username string) (*UserStatistics, error) {
res := &UserStatistics{}
err := urlToStruct(fmt.Sprintf("/users/%s/statistics",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-0.7730588316917419,
1.4032750129699707,
0.17094531655311584,
0.5604230761528015,
-0.3728109300136566,
-0.31592535972595215,
0.20198415219783783,
-1.1434059143066406,
0.04745661839842796,
-0.7142261862754822,
-0.7175034284591675,
0.38374263048171997,
-0.3243948221206665,
-0.321709245443344... |
func GetUserFavorites(username string) (*UserFavorites, error) {
res := &UserFavorites{}
err := urlToStruct(fmt.Sprintf("/users/%s/favorites",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-0.8720895051956177,
1.1566890478134155,
0.06879178434610367,
1.0646302700042725,
-0.6144523024559021,
-0.4515337347984314,
-0.5781455636024475,
-0.814106822013855,
-0.20636646449565887,
-0.34569084644317627,
-1.4960957765579224,
0.8277190923690796,
-0.6578472852706909,
-0.1774783730506897... |
func GetUserUpdates(username string) (*UserUpdates, error) {
res := &UserUpdates{}
err := urlToStruct(fmt.Sprintf("/users/%s/userupdates",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-1.4661961793899536,
0.36509281396865845,
0.3166491985321045,
0.7254409790039062,
-0.5835538506507874,
-0.6371760368347168,
0.4270799458026886,
-0.530619204044342,
0.41543811559677124,
-0.36730676889419556,
-1.213387131690979,
-0.012443501502275467,
-1.5327153205871582,
-0.1605953425168991... |
func GetUserAbout(username string) (*UserAbout, error) {
res := &UserAbout{}
err := urlToStruct(fmt.Sprintf("/users/%s/about",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-0.3410911560058594,
0.37176674604415894,
0.5106356143951416,
0.14193996787071228,
-0.23000189661979675,
-0.8765729665756226,
0.3878236711025238,
-0.5653888583183289,
-0.4242771565914154,
-0.47666600346565247,
-0.8925198316574097,
0.722449779510498,
-0.6678895950317383,
0.2764488756656647,... |
func GetUserHistory(username string, filter UserHistoryFilter) (*UserHistory, error) {
res := &UserHistory{}
req := fmt.Sprintf("/users/%s/history", url.QueryEscape(username))
if filter != "" {
req += fmt.Sprintf("?type=%s", filter)
}
err := urlToStruct(req, res)
if err != nil {
return nil, err
}
return res... | [
-0.7216714024543762,
1.1912726163864136,
0.6388483047485352,
0.7191254496574402,
-0.8299257159233093,
-0.16945980489253998,
0.5040324926376343,
-0.2655934989452362,
-0.20317241549491882,
-0.2064511775970459,
-0.9984333515167236,
0.9979220032691956,
-0.7795423865318298,
-0.0799729973077774,... |
func GetUserFriends(username string) (*UserFriends, error) {
res := &UserFriends{}
err := urlToStruct(fmt.Sprintf("/users/%s/friends",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-1.484423279762268,
0.9856061935424805,
0.14042267203330994,
0.5073844194412231,
-0.19179093837738037,
-0.42680174112319946,
0.12526246905326843,
-0.9858925342559814,
-0.4215894341468811,
-0.35504159331321716,
-1.1707546710968018,
0.48851561546325684,
-1.4087517261505127,
-0.55676394701004... |
func GetUserAnimelist(username string) (*UserAnimelist, error) {
res := &UserAnimelist{}
err := urlToStruct(fmt.Sprintf("/users/%s/animelist",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-1.765093445777893,
0.8466243743896484,
0.36298757791519165,
0.3022885024547577,
-0.7850367426872253,
-0.6135547161102295,
0.12793207168579102,
0.007063545752316713,
0.5959237217903137,
0.0221428032964468,
-1.6991417407989502,
0.8944144248962402,
-0.5716801881790161,
0.1603400558233261,
... |
func GetUserMangalist(username string) (*UserMangalist, error) {
res := &UserMangalist{}
err := urlToStruct(fmt.Sprintf("/users/%s/mangalist",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-1.4734492301940918,
0.360758900642395,
0.32950735092163086,
0.1164960116147995,
-0.8354580998420715,
-0.27133679389953613,
-0.8459623456001282,
0.35336214303970337,
0.32517027854919434,
-0.04873102158308029,
-1.1433372497558594,
0.5857657194137573,
-0.35511377453804016,
0.8661410808563232... |
func GetUserReviews(username string) (*UserReviews, error) {
res := &UserReviews{}
err := urlToStruct(fmt.Sprintf("/users/%s/reviews",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-1.143787145614624,
0.5978670716285706,
0.05057258903980255,
0.14425233006477356,
-0.3897970914840698,
-0.3847897946834564,
-0.39312538504600525,
-0.14160935580730438,
-0.16266758739948273,
-0.6187654137611389,
-0.7986114025115967,
0.42356348037719727,
-1.6343454122543335,
-0.1301024407148... |
func GetUserRecommendations(username string) (*UserRecommendations, error) {
res := &UserRecommendations{}
err := urlToStruct(fmt.Sprintf("/users/%s/recommendations",
url.QueryEscape(username)), res)
if err != nil {
return nil, err
}
return res, nil
} | [
-1.6567661762237549,
1.039592981338501,
0.0554756298661232,
0.15337936580181122,
-0.18561650812625885,
-0.3463987410068512,
-0.08746848255395889,
-0.7071462869644165,
-0.4678333103656769,
0.03531822934746742,
-1.127366542816162,
0.8117828965187073,
-1.2831470966339111,
0.1885508894920349,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.