text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (db *RockDB) ZRangeByScore(key []byte, min float64, max float64, offset int, count int) ([]common.ScorePair, error) { return db.ZRangeByScoreGeneric(key, min, max, offset, count, false) }
[ -1.326243281364441, -0.1711878925561905, 0.47101062536239624, 0.719623327255249, 0.029070723801851273, -0.8614830374717712, 0.05983675643801689, -0.9705868363380432, -0.9981592297554016, 1.0618536472320557, -0.6376454830169678, -0.485346257686615, -0.6960469484329224, 0.07410096377134323, ...
func (db *RockDB) ZRemRangeByScore(ts int64, key []byte, min float64, max float64) (int64, error) { defer db.wb.Clear() rmCnt, err := db.zRemRange(ts, key, min, max, 0, -1, db.wb) if err == nil { err = db.rockEng.Write(db.wb) } return rmCnt, err }
[ -1.2775434255599976, -0.15782330930233002, 0.5316136479377747, 0.041358739137649536, 0.025327764451503754, -1.1471457481384277, 0.6128664016723633, -0.17610383033752441, -0.5681295394897461, 0.7268308401107788, -1.5758342742919922, -0.34948840737342834, -0.9480940103530884, -0.167373538017...
func (db *RockDB) ZRevRangeByScore(key []byte, min float64, max float64, offset int, count int) ([]common.ScorePair, error) { return db.ZRangeByScoreGeneric(key, min, max, offset, count, true) }
[ -1.4900681972503662, 0.41595882177352905, 0.5376057624816895, 0.17656885087490082, -0.4821317195892334, -0.2641655206680298, 0.2659790515899658, -0.307792603969574, -1.0536999702453613, 1.010756492614746, -0.21538732945919037, -0.1845502108335495, -0.6906870007514954, -0.14837326109409332,...
func (db *RockDB) ZRangeByScoreGeneric(key []byte, min float64, max float64, offset int, count int, reverse bool) ([]common.ScorePair, error) { return db.zRange(key, min, max, offset, count, reverse) }
[ -1.6470556259155273, 0.20608918368816376, 0.5635236501693726, 0.8939335346221924, 0.34009572863578796, -0.23724596202373505, 0.13244400918483734, -0.64801424741745, -1.6331043243408203, 1.0317702293395996, -0.3265431821346283, -0.037062134593725204, -0.6874006986618042, 0.33978351950645447...
func (h *Handler) Register(e *echo.Echo) { // Index Handler e.GET("/", h.index) // Groups api := e.Group("/api") admin := e.Group("/admin") u := e.Group("/utils") // middlewares api.Use(h.fireAuthMWare) // Register the routes h.registerUtils(u) h.registerAPI(api) h.registerAdmin(admin) }
[ -0.7540982961654663, 1.488520860671997, 0.5059189200401306, 0.8726145625114441, 1.1176972389221191, 0.5842714905738831, 0.19158361852169037, 0.1046074852347374, -0.537867546081543, -0.7715719938278198, -1.0289757251739502, 0.31294625997543335, 0.3693532943725586, 0.9583443403244019, 0.68...
func NewPGHookStore(store sqlmapper.Mapper, modelMap map[string]map[string]database.Model, db map[string]*gorm.DB) (sqlmapper.Mapper, error) { scriptEngine, err := hook.NewAnkoScriptEngine(db, modelMap) if err != nil { return nil, err } return &pgHookStore{ pgStore: store, hookEngine: scriptEngine, mode...
[ -0.45964333415031433, -0.1362668126821518, 0.13446716964244843, 0.02884499728679657, -0.7923317551612854, 0.6245508790016174, -0.382671058177948, -0.1820063292980194, -0.6895020008087158, 0.18541015684604645, 0.10601357370615005, 0.13810907304286957, -0.6380186676979065, 0.3256268501281738...
func NewCoin( name string, unit string, net *chaincfg.Params, dbFolder string, servers []*rpc.ServerInfo, blockExplorerTxPrefix string, ratesUpdater coinpkg.RatesUpdater, ) *Coin { coin := &Coin{ name: name, unit: unit, net: net, dbFolder: ...
[ -0.07833881676197052, -0.13598331809043884, 0.27868595719337463, -0.17782913148403168, -0.22623008489608765, 0.2811611592769623, -0.41074031591415405, -0.186689093708992, -0.5763015151023865, -0.18601134419441223, 0.1780126392841339, 0.614619255065918, -0.8377959728240967, 0.43292576074600...
func (coin *Coin) Init() { // Init blockchain coin.blockchain = electrum.NewElectrumConnection(coin.servers, coin.log) // Init Headers db, err := headersdb.NewDB( path.Join(coin.dbFolder, fmt.Sprintf("headers-%s.db", coin.name))) if err != nil { coin.log.WithError(err).Panic("Could not open headers DB") } c...
[ 0.04271065816283226, -0.014049842953681946, 0.6650146245956421, -1.1027140617370605, 0.34145647287368774, 0.05968664586544037, -0.7544028162956238, -0.22804616391658783, -0.45026201009750366, 0.15091928839683533, -0.6301805973052979, 0.43918734788894653, 0.07656854391098022, 0.645560383796...
func (coin *Coin) Name() string { return coin.name }
[ -0.7709842920303345, -0.3816465139389038, 0.19956128299236298, -0.3318130373954773, -0.6573514342308044, -0.04298949986696243, -0.14150813221931458, -0.9262927770614624, -0.7096502780914307, 1.2175625562667847, -0.48226603865623474, 0.6205453276634216, -0.14505383372306824, -0.479337573051...
func (coin *Coin) Net() *chaincfg.Params { return coin.net }
[ -0.886225700378418, -0.4042862057685852, 0.06340533494949341, -0.014211217872798443, 0.9632558226585388, -0.08793365955352783, 0.08126334100961685, -0.7509897947311401, -1.8502140045166016, 0.18809697031974792, -0.22738997638225555, 0.3578067719936371, 0.3508419990539551, 0.840523123741149...
func (coin *Coin) RatesUpdater() coinpkg.RatesUpdater { return coin.ratesUpdater }
[ 0.21530048549175262, 0.010290605016052723, 0.11701270937919617, -0.8777885437011719, -0.566246509552002, -0.43866562843322754, -1.1879826784133911, -0.3298756778240204, 0.18150654435157776, 0.21718332171440125, -0.09388650953769684, -0.783012866973877, -1.1697776317596436, 0.23291333019733...
func (coin *Coin) Blockchain() blockchain.Interface { return coin.blockchain }
[ 0.10014524310827255, -0.09088226407766342, 0.3525920510292053, 0.5605209469795227, 0.6720174551010132, -0.11903072893619537, 0.08062313497066498, -0.7935734391212463, 0.10688190162181854, 0.284388929605484, -0.96673184633255, 0.6429585218429565, -0.9868345260620117, 0.0893886387348175, 0...
func (coin *Coin) Headers() *headers.Headers { return coin.headers }
[ -0.8021551966667175, -0.42912793159484863, 0.1639988124370575, -0.1625843644142151, -0.17700570821762085, -0.4966917037963867, -0.6043612957000732, -1.6251230239868164, 0.33717212080955505, -0.016705501824617386, 0.10829313844442368, 0.04764291271567345, -0.693530261516571, -0.889279246330...
func (o *GetEntriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) { switch response.Code() { case 200: result := NewGetEntriesOK() if err := result.readResponse(response, consumer, o.formats); err != nil { return nil, err } return result, nil case 204...
[ 0.030595334246754646, -0.8887263536453247, 0.855270266532898, 0.3925284445285797, 0.2572430670261383, -1.1113502979278564, 0.1695106476545334, -0.35531237721443176, 0.5766129493713379, 0.0009907872881740332, 0.20171639323234558, -0.35942143201828003, -0.6261580586433411, 0.2236116826534271...
func NewGetEntriesOK() *GetEntriesOK { return &GetEntriesOK{} }
[ 0.5920448303222656, -0.17527107894420624, 0.1288783997297287, 0.4360482096672058, -0.055098772048950195, 0.06926279515028, 0.5062854290008545, 0.20953772962093353, -0.5422314405441284, 0.2104177474975586, -0.5456663370132446, -0.8591269850730896, 0.336418092250824, 0.26769107580184937, -...
func NewGetEntriesNoContent() *GetEntriesNoContent { return &GetEntriesNoContent{} }
[ 0.15880073606967926, -0.13568207621574402, -0.3231804072856903, -0.009014006704092026, -0.5748634338378906, -0.5732295513153076, 0.004220214672386646, -0.912122905254364, -0.4661664366722107, -0.7714682817459106, -0.24144144356250763, -0.029047969728708267, -0.7805969715118408, -0.20736502...
func NewGetEntriesBadRequest() *GetEntriesBadRequest { return &GetEntriesBadRequest{} }
[ -0.569227397441864, -0.14216218888759613, 0.2980324625968933, 0.6926074624061584, -0.08067765831947327, -0.3377108573913574, -0.9260467886924744, 0.3711402714252472, -0.36569148302078247, -0.753336489200592, 0.012309352867305279, 0.459421843290329, -0.24306932091712952, 0.598006010055542, ...
func NewGetEntriesUnauthorized() *GetEntriesUnauthorized { return &GetEntriesUnauthorized{} }
[ -0.49148479104042053, -0.21413856744766235, 0.24380522966384888, 0.7828882932662964, -0.43028250336647034, -0.44142067432403564, -0.1229357197880745, 0.8736585378646851, 0.15924383699893951, -1.2250117063522339, -0.14007657766342163, 1.0817805528640747, -0.3762596845626831, -0.117972657084...
func NewGetEntriesForbidden() *GetEntriesForbidden { return &GetEntriesForbidden{} }
[ 0.5554382801055908, 0.018614869564771652, 0.1279786080121994, 0.8157219290733337, -0.10557049512863159, -0.000743140815757215, 0.06080543249845505, -0.34698134660720825, -0.38255661725997925, -1.0445953607559204, -0.5443654656410217, 0.7368956208229065, -0.36891934275627136, -0.24852065742...
func NewGetEntriesNotFound() *GetEntriesNotFound { return &GetEntriesNotFound{} }
[ 0.21830566227436066, -1.2398580312728882, -0.06368158012628555, 0.43037697672843933, 0.0898217037320137, 0.3891105353832245, 0.16590948402881622, 0.30779147148132324, 0.04764680564403534, -0.5359198451042175, -0.6030909419059753, 0.49994730949401855, -0.6104977130889893, 0.2347992658615112...
func NewGetEntriesTooManyRequests() *GetEntriesTooManyRequests { return &GetEntriesTooManyRequests{} }
[ -0.7908909916877747, 0.03241804614663124, 0.06949178129434586, 0.40485429763793945, 0.114690400660038, -0.910481333732605, -0.677155613899231, 0.020806660875678062, 0.28378376364707947, -0.25566115975379944, 0.22284044325351715, -0.4222443699836731, -0.055557072162628174, 0.340805917978286...
func (p *Point) SetX(x int) { p.x = x }
[ -0.7610393762588501, 0.8868448138237, -0.16420570015907288, 0.4951491355895996, -0.7379690408706665, 1.454861044883728, -0.8668306469917297, 0.39355894923210144, 0.5684435963630676, -0.3646772503852844, -1.2324838638305664, 0.46400362253189087, 0.27485451102256775, 0.03703255578875542, 0...
func GetMigrationStore(db *gorm.DB) MigrationStore { return &migrationStore{store: newStore(db)} }
[ 0.6263265609741211, 0.43557053804397583, -0.03270981088280678, 0.5024124383926392, -0.7035849094390869, 0.533209502696991, -1.6019679307937622, -0.0398501381278038, -0.13627523183822632, -0.3188042938709259, -0.34162864089012146, -0.2341960072517395, -0.9554986357688904, 0.6809983253479004...
func (clientSession *ClientCommandsSession) proxyConnections() { return }
[ -0.30267733335494995, -0.45880842208862305, 0.25154751539230347, -0.26884081959724426, -0.19280757009983063, -1.3434786796569824, 1.0072122812271118, 0.16227717697620392, 0.8490690588951111, -0.7071550488471985, 0.23532256484031677, -0.9083236455917358, -0.6735664010047913, -0.082931563258...
func NewSCrypt() Hasher { return SCrypt{ N: 15, R: 8, P: 1, KeyLen: 64, SaltLen: 8, } }
[ 0.5993699431419373, 0.7650097012519836, 0.4831094443798065, 0.5161805152893066, -0.6727802157402039, -0.16603559255599976, -1.547507882118225, -1.4904931783676147, 0.12561564147472382, 0.010402592830359936, -0.7750236392021179, 0.29392996430397034, -0.4351320266723633, 0.007040474563837051...
func (s SCrypt) CreateHash(secretKey string) (string, error) { salt := make([]byte, s.SaltLen) _, err := rand.Read(salt) if err != nil { return "", err } dk, err := scrypt.Key([]byte(secretKey), salt, 1<<s.N, s.R, s.P, s.KeyLen) if err != nil { return "", err } enc := base64.RawStdEncoding.EncodeToString...
[ 0.552277684211731, 0.20095862448215485, 0.6087782382965088, 0.21165581047534943, -0.5818135738372803, 0.6000668406486511, -0.8117187023162842, -0.144292414188385, 0.10802102088928223, 0.74383544921875, 0.04034709557890892, 0.39382830262184143, -0.5029090642929077, -0.7848656177520752, 0....
func (s SCrypt) VerifyHash(hash, secretKey string) error { var ( version, n uint r, p int enc string salt []byte ) _, err := fmt.Sscanf(hash, hashFormat, &version, &salt, &n, &r, &p, &enc) if err != nil { return err } if version != Version { return fmt.Errorf("hash version %d does n...
[ 0.867516279220581, 0.5978363752365112, 0.6349778175354004, 1.3982598781585693, -0.008826705627143383, 0.2762978672981262, -0.7843427062034607, 0.11412763595581055, 0.11293541640043259, 0.1639530211687088, -0.6220007538795471, 1.4324533939361572, -0.3059422969818115, 0.48203086853027344, ...
func (r *DepositWalletRequest) Rules() map[string][]string { return map[string][]string{ "wallet": {"required", "wallet_exists"}, "amount": {"required", "min:0"}, } }
[ -0.8011713027954102, -0.12157176434993744, 0.3336018919944763, -1.3372083902359009, 0.6330046057701111, 0.7212106585502625, -0.601074755191803, -0.5205664038658142, -0.050086505711078644, 0.29103875160217285, 0.8193830251693726, -0.35775530338287354, 0.14927099645137787, 0.7746451497077942...
func (r *DepositWalletRequest) Messages() map[string][]string { return map[string][]string{ "wallet": { "required:wallet is required", "wallet_exists:wallet doesnt exists", }, "amount": { "required:amount is required", "min:amount must be > 0", }, } }
[ -1.3774253129959106, -0.1455785036087036, 0.6539039611816406, -1.267130970954895, 0.5660943984985352, 0.0645754262804985, -0.4872385263442993, -1.175711989402771, -0.20014113187789917, 0.5244523882865906, 0.3237249255180359, -0.5418631434440613, 0.0628427192568779, 1.3721846342086792, -0...
func (*GuidanceResponse) Descriptor() ([]byte, []int) { return file_proto_google_fhir_proto_r5_core_resources_guidance_response_proto_rawDescGZIP(), []int{0} }
[ 0.2131309062242508, 0.5041453242301941, -0.04407968372106552, -0.6464921236038208, 0.3186000883579254, -0.0029291922692209482, 0.8508952856063843, -0.4108778238296509, -0.9119452238082886, 0.030500346794724464, -0.5889996290206909, -0.5269775986671448, -1.2279658317565918, -0.0130485901609...
func (*GuidanceResponse_ModuleX) Descriptor() ([]byte, []int) { return file_proto_google_fhir_proto_r5_core_resources_guidance_response_proto_rawDescGZIP(), []int{0, 0} }
[ -0.34250250458717346, 0.09706199914216995, 0.2217409759759903, -0.7158822417259216, 0.868242621421814, 0.7071117162704468, -0.10526718199253082, -0.4226582646369934, 0.049575075507164, 0.02048887498676777, -0.5494734644889832, 0.5758395195007324, -0.14143739640712738, -0.07216721773147583,...
func (*GuidanceResponse_StatusCode) Descriptor() ([]byte, []int) { return file_proto_google_fhir_proto_r5_core_resources_guidance_response_proto_rawDescGZIP(), []int{0, 1} }
[ 0.25634944438934326, -0.37304046750068665, -0.2878543436527252, -0.3650533854961395, 0.516835629940033, 0.36638593673706055, 0.3616020679473877, 0.28155121207237244, -0.6648722887039185, -0.14535538852214813, -0.2678424119949341, -0.5274604558944702, -0.6935778856277466, -0.622536361217498...
func NewSMTP(opt ...Option) *Mail { m := new(Mail) for _, o := range opt { o(m) } return m }
[ -0.11357957869768143, -0.05153873562812805, 0.5464444160461426, 0.5880489945411682, -0.7474861145019531, 0.06370563805103302, -0.5387932062149048, -1.019287109375, 0.19081206619739532, 1.0242245197296143, -0.660749614238739, 0.03147932514548302, -0.5096393823623657, -0.35254424810409546, ...
func (s *SimpleConnector) GetPageOfDictionary(index int) jsonResponse.Dictionary { requestStr := stringUrlCommon + "userdict/json?groupId=dictionary&filter=learned&page=" + strconv.Itoa(index) requestArgs := url.Values{} resp, err := client.PostForm(requestStr, requestArgs) defer resp.Body.Close() var m lingualeo....
[ -0.9113240838050842, 0.6126729249954224, 0.6940992474555969, -1.6003482341766357, -0.22686876356601715, -0.39410778880119324, -0.3097050189971924, -1.1398329734802246, 0.04207250848412514, 0.007912030443549156, 0.5204705595970154, -0.3536171615123749, -0.20161142945289612, 0.34424832463264...
func (t *Testzzz) Exists() bool { //testzzz return t._exists }
[ -0.7094892859458923, -0.86615389585495, 0.2351895272731781, -0.3273996412754059, 1.1528998613357544, 0.7017188668251038, 1.0569645166397095, 0.2647857069969177, 0.6108519434928894, -0.257535457611084, -1.0044434070587158, -0.27346983551979065, -0.9205291271209717, 0.5252172350883484, -1....
func (t *Testzzz) Deleted() bool { return t._deleted }
[ 0.7319090962409973, -0.8716530799865723, 0.3748590350151062, 0.0296609066426754, 0.9118213653564453, 0.8656737804412842, 1.1370203495025635, 0.5133801698684692, 1.1447148323059082, -0.4143565893173218, -1.5157654285430908, 0.1378684639930725, -0.7170152068138123, -0.050509627908468246, -...
func (t *Testzzz) Insert(ctx context.Context, key ...interface{}) error { var err error var dbConn *sql.DB var res sql.Result // if already exist, bail if t._exists { return errors.New("insert failed: already exists") } tx, err := components.M.GetConnFromCtx(ctx) if err != nil { dbConn, err = components.M....
[ -0.3871553838253021, 0.34401607513427734, 0.7395329475402832, 0.17780525982379913, 0.5197492241859436, 0.15426088869571686, 0.7693115472793579, 0.12443862855434418, -0.23060624301433563, 0.18150754272937775, -0.8497104644775391, -0.6247854232788086, -1.1824300289154053, 0.513763964176178, ...
func (t *Testzzz) Update(ctx context.Context, key ...interface{}) error { var err error var dbConn *sql.DB // if deleted, bail if t._deleted { return errors.New("update failed: marked for deletion") } tx, err := components.M.GetConnFromCtx(ctx) if err != nil { dbConn, err = components.M.GetMasterConn() i...
[ -0.32322755455970764, -0.4825494587421417, 0.49949386715888977, 0.3437986373901367, -0.05053586885333061, 0.18712548911571503, 0.3853876292705536, -0.02616976574063301, -0.030693646520376205, 0.7146306037902832, -0.2209094613790512, -0.3011832535266876, -1.1285638809204102, 0.2369258105754...
func (t *Testzzz) Save(ctx context.Context) error { if t.Exists() { return t.Update(ctx) } return t.Insert(ctx) }
[ 0.27553892135620117, 0.3111051321029663, 0.3192346394062042, -0.2907651662826538, 1.2851417064666748, 0.051736194640398026, 1.0922645330429077, -0.35845550894737244, 0.7582401037216187, 0.5914533734321594, -1.0773769617080688, -0.641602635383606, -1.5142145156860352, 0.33844858407974243, ...
func (t *Testzzz) Delete(ctx context.Context, key ...interface{}) error { var err error var dbConn *sql.DB // if deleted, bail if t._deleted { return nil } tx, err := components.M.GetConnFromCtx(ctx) if err != nil { dbConn, err = components.M.GetMasterConn() if err != nil { return err } } tableNa...
[ 0.4503990411758423, 0.2062235027551651, 0.7592877149581909, 0.8181661367416382, 0.49483606219291687, 0.37279370427131653, 0.6917151212692261, 0.19884411990642548, 0.5055648684501648, 0.9841040372848511, -0.047928329557180405, -0.24146704375743866, -1.2597846984863281, 0.3608281910419464, ...
func TestzzzByID(ctx context.Context, id int, key ...interface{}) (*Testzzz, error) { var err error var dbConn *sql.DB tableName, err := GetTestzzzTableName(key...) if err != nil { return nil, err } // sql query sqlstr := `SELECT ` + `id, a, b, c ` + `FROM ` + tableName + ` WHERE id = ?` // run query...
[ 0.1473008543252945, -0.11048457771539688, 0.5306786298751831, 0.2611320912837982, -0.22906288504600525, -0.3995573818683624, 0.9145748615264893, -0.8686313033103943, 0.5476954579353333, 0.16521981358528137, -0.3841571807861328, -0.279730886220932, -1.295013427734375, 0.13682030141353607, ...
func (api *API) CreateHDWallet(c appengine.Context, req HDWallet) (wal HDWallet, err error) { u, err := api.buildURL("/wallets/hd") if err != nil { return } var data bytes.Buffer enc := json.NewEncoder(&data) if err = enc.Encode(&req); err != nil { return } resp, err := postResponse(c, u, &data) if err != ...
[ -0.3904518783092499, 0.41743290424346924, 0.7128034234046936, 0.07325061410665512, 0.4355599880218506, 0.5195397138595581, -1.619649887084961, -0.769853413105011, -0.3197707235813141, -0.5345252156257629, 0.03594476357102394, 0.6842966675758362, -0.7025400996208191, 1.2220399379730225, 0...
func (api *API) ListHDWallets(c appengine.Context) (names []string, err error) { u, err := api.buildURL("/wallets/hd") resp, err := getResponse(c, u) if err != nil { return } defer resp.Body.Close() jsonResp := new(struct { List []string `json:"hd_wallet_names"` }) dec := json.NewDecoder(resp.Body) err = d...
[ 0.06960435211658478, -0.03517359867691994, 0.6547386646270752, -0.35589903593063354, 0.17946799099445343, -0.2943452000617981, -1.8175995349884033, -0.6580269932746887, 0.3580951690673828, 0.6744521260261536, -0.7779425978660583, 0.90352863073349, -0.8407029509544373, 1.3110851049423218, ...
func (api *API) GetHDWallet(c appengine.Context, name string) (wal HDWallet, err error) { u, err := api.buildURL("/wallets/hd/" + name) resp, err := getResponse(c, u) if err != nil { return } defer resp.Body.Close() //decode JSON into result dec := json.NewDecoder(resp.Body) err = dec.Decode(&wal) return }
[ -0.5627602338790894, 0.7649710774421692, 0.664646565914154, -0.24935144186019897, -0.10030211508274078, -0.12897369265556335, -1.631188154220581, -0.7748548984527588, -0.21934053301811218, -0.15126001834869385, -0.28807052969932556, 1.1783463954925537, -0.7851799130439758, 0.96862322092056...
func (api *API) GetAddrHDWallet(c appengine.Context, name string, used bool, unused bool, zero bool, nonzero bool) (addrs HDWallet, err error) { params := make(map[string]string) if used && unused { err = errors.New("GetAddrHDWallet: Unused and used cannot be the same") return } if zero && nonzero { err = err...
[ -0.6004595160484314, 0.5060485005378723, 0.9911817908287048, -0.38954582810401917, -0.24059979617595673, -0.31236448884010315, -1.1253784894943237, -0.6596043705940247, -0.03547815605998039, 0.42348912358283997, 0.42469558119773865, 1.1484187841415405, -1.250087857246399, 1.113117933273315...
func (api *API) DeriveAddrHDWallet(c appengine.Context, name string, count int, isSub bool, subchainIndex int) (wal HDWallet, err error) { params := map[string]string{"count": strconv.Itoa(count)} if isSub { params["subchain_index"] = strconv.Itoa(subchainIndex) } u, err := api.buildURLParams("/wallets/hd/"+name+...
[ -0.4399561583995819, 0.40240827202796936, 0.9105424284934998, -0.1438351720571518, -0.1788652092218399, 0.38111889362335205, -0.540839672088623, -0.3644784390926361, -0.3568570911884308, -0.27267277240753174, -0.3206360936164856, 0.9377269744873047, -0.7233883142471313, 0.8954212069511414,...
func (api *API) DeleteHDWallet(c appengine.Context, name string) (err error) { u, err := api.buildURL("/wallets/hd/" + name) resp, err := deleteResponse(c, u) if err != nil { return } resp.Body.Close() return }
[ 0.038755424320697784, 0.4471541941165924, 0.5121462345123291, 0.27960142493247986, 0.06989789754152298, 0.06568593531847, -1.2658230066299438, -0.5916393399238586, 0.27687495946884155, 0.21625879406929016, -0.3982277512550354, 0.6204747557640076, -1.0579979419708252, 1.5571364164352417, ...
func (*HtmlBody) Descriptor() ([]byte, []int) { return file_github_com_Ultimate_Super_WebDev_Corp_gateway_services_widget_widget_proto_rawDescGZIP(), []int{0} }
[ -0.6714773774147034, 1.0473053455352783, 0.28115519881248474, -0.1647002249956131, 0.3690660297870636, 0.32601889967918396, -0.4907987415790558, 0.012999902479350567, 0.4353666305541992, -0.1955706924200058, -0.3502497375011444, -0.09721522778272629, -0.3359002470970154, 1.3945386409759521...
func (*ProductPriceRequest) Descriptor() ([]byte, []int) { return file_github_com_Ultimate_Super_WebDev_Corp_gateway_services_widget_widget_proto_rawDescGZIP(), []int{1} }
[ -0.688444972038269, -0.11889300495386124, 0.5071418285369873, 0.10636025667190552, 0.08663715422153473, -0.5953207015991211, 0.3341081440448761, -0.07487577199935913, 0.0249350443482399, 0.4572365880012512, 0.10474804788827896, 0.5641626715660095, -0.29573407769203186, 0.8319771885871887, ...
func (o *DynCoefs) Init(dat *inp.SolverData) { // hmin o.hmin = dat.DtMin // HHT o.HHT = dat.HHT // θ-method o.θ = dat.Theta if o.θ < 1e-5 || o.θ > 1.0 { chk.Panic("θ-method requires 1e-5 <= θ <= 1.0 (θ = %v is incorrect)", o.θ) } // HHT method if dat.HHT { o.α = dat.HHTalp if o.α < -1.0/3.0 || o.α ...
[ -0.6510375142097473, 0.1135903149843216, 0.8320717215538025, -0.06033293530344963, 0.002545057563111186, 0.22061200439929962, 0.8738716840744019, -0.5614773035049438, -0.6433881521224976, -0.17816360294818878, -0.17033745348453522, 0.30338889360427856, 0.3425990045070648, 0.382629066705703...
func (o *DynCoefs) CalcBoth(Δt float64) (err error) { err = o.CalcBetas(Δt) if err != nil { return } err = o.CalcAlphas(Δt) return }
[ -0.6156317591667175, 0.9849919676780701, 0.45271334052085876, 0.09960956126451492, 0.4326454997062683, -0.0923195630311966, 0.9075530767440796, -0.720716118812561, -0.30619513988494873, -0.13824814558029175, -0.3508571982383728, 0.42397263646125793, 0.3204498291015625, 0.7083342671394348, ...
func (o *DynCoefs) CalcBetas(Δt float64) (err error) { // timestep h := Δt if h < o.hmin { return chk.Err("θ-method requires h >= %v (h = %v is incorrect)", o.hmin, h) } // β coefficients o.β1 = 1.0 / (o.θ * h) o.β2 = (1.0 - o.θ) / o.θ return }
[ -0.8359388113021851, 0.682453453540802, 0.5643584728240967, -0.1399376094341278, 0.4420602321624756, -0.3063642084598541, 0.28963273763656616, -0.8814433813095093, -1.1965818405151367, -0.046755351126194, -0.5786256194114685, 0.5180332064628601, 0.34846869111061096, 0.5139432549476624, 0...
func (o *DynCoefs) CalcAlphas(Δt float64) (err error) { // timestep h := Δt if h < o.hmin { return chk.Err("Newmark/HHT method requires h >= %v (h = %v is incorrect)", o.hmin, h) } // α coefficients H := h * h / 2.0 o.α1, o.α2, o.α3 = 1.0/(o.θ2*H), h/(o.θ2*H), 1.0/o.θ2-1.0 o.α4, o.α5, o.α6 = o.θ1*h/(o.θ2*H)...
[ -0.4178660213947296, 0.051057394593954086, 0.9858013987541199, -0.3556089699268341, -0.43113023042678833, 0.10970506817102432, 0.31432482600212097, -0.5516883730888367, -0.11108386516571045, 0.22595326602458954, -0.43767669796943665, -0.2636472284793854, 0.5868189930915833, 1.0872378349304...
func NewMockPersistentState() *MockPersistentState { return &MockPersistentState{ buckets: make(map[string]map[string][]byte), } }
[ -0.23865267634391785, -0.6807910203933716, 0.15596835315227509, 0.19483432173728943, -0.7144923210144043, 0.23749732971191406, 0.8205432295799255, 0.00351346330717206, 0.7695196270942688, -0.05038588121533394, -0.675375759601593, -0.8548446297645569, -0.4454568028450012, -0.925458014011383...
func (d *Drawer) DrawMap(ctx *gg.Context) error { sz := ctx.Height() yCounter := 0 xCounter := 0 drawCounter := 0 drawLimit := math.Pow(float64(sz/squareSize), float64(2)) for i := 0; drawCounter <= int(drawLimit); i += squareSize { drawCounter++ pickColour(ctx, i) drawRectangle(ctx, dimensions{ x: fl...
[ -1.1269932985305786, 0.21768075227737427, 0.7533844113349915, 0.2462790608406067, -0.677543580532074, 0.7242453098297119, 1.001214623451233, -0.08583461493253708, 1.1808184385299683, -0.8182014226913452, -0.46668994426727295, -0.06050710007548332, 0.36160850524902344, 0.34734785556793213, ...
func GetHtlcScriptVersion( protocolVersion loopdb.ProtocolVersion) swap.ScriptVersion { if protocolVersion != loopdb.ProtocolVersionUnrecorded && protocolVersion >= loopdb.ProtocolVersionHtlcV2 { // Use HTLC v2 script only if we know the swap was initiated // with a client that supports HTLC v2. Unrecorded pr...
[ -0.09928952157497406, -0.8481596112251282, 0.6150276064872742, -0.22210435569286346, -0.44068118929862976, -0.07971897721290588, 0.6408991813659668, -0.43967926502227783, -0.49453040957450867, -0.004439279902726412, -0.3888988196849823, 1.0825302600860596, -0.9456961750984192, 0.6828300952...
func (s *swapKit) getHtlc(outputType swap.HtlcOutputType) (*swap.Htlc, error) { return swap.NewHtlc( GetHtlcScriptVersion(s.contract.ProtocolVersion), s.contract.CltvExpiry, s.contract.SenderKey, s.contract.ReceiverKey, s.hash, outputType, s.swapConfig.lnd.ChainParams, ) }
[ 0.2673148810863495, -0.28523775935173035, 0.5096999406814575, 0.2394152134656906, -0.5538375973701477, -0.40965190529823303, 0.5559753775596619, -0.8369390368461609, -0.6743951439857483, -0.1836015284061432, 0.3544404208660126, 0.45958948135375977, -0.4284105896949768, -0.06438356637954712...
func (s *swapKit) swapInfo() *SwapInfo { return &SwapInfo{ SwapContract: *s.contract, SwapHash: s.hash, SwapType: s.swapType, LastUpdate: s.lastUpdateTime, SwapStateData: loopdb.SwapStateData{ State: s.state, Cost: s.cost, }, } }
[ -0.7368008494377136, -0.4841397702693939, 0.2815501093864441, -0.22413739562034607, -1.2040235996246338, 0.39328691363334656, -0.7454767823219299, 0.1141657829284668, -0.08758550882339478, -0.725223958492279, -0.542393147945404, -0.2586233615875244, 0.5208280086517334, 0.020718267187476158...
func mapsengineMain(client *http.Client, argv []string) { if len(argv) != 0 { fmt.Fprintln(os.Stderr, "Usage: mapsengine") return } svc, err := mapsengine.New(client) if err != nil { log.Fatalf("Unable to create Mapsengine service: %v", err) } showMapFeatures(svc, "14137585153106784136-1607118876230971942...
[ -0.3152262270450592, -0.3872615694999695, 1.0259759426116943, -0.07827585190534592, -0.053248945623636246, 0.5343158841133118, 0.18901309370994568, 0.3267199695110321, -0.5417259931564331, -0.3599473536014557, 0.3262905478477478, 0.8598780035972595, -0.15348193049430847, 0.5462501049041748...
func (o *OpenGraph) UnmarshalDOM(src tame.DOMSelection) error { if src == nil { return errors.New("empty DOM Selection") } head := src.Find("head") head.ReadAttr("meta[property=\"og:type\"]", "content", &o.Type) head.ReadAttr("meta[property=\"og:title\"]", "content", &o.Title) head.ReadAttr("meta[property=\"o...
[ -0.27603060007095337, 0.1804027557373047, 0.8453101515769958, -0.7526600956916809, -0.7780571579933167, -0.5721759796142578, 0.8183487057685852, -0.10220324993133545, 0.22751455008983612, 0.021647809073328972, 0.13266848027706146, 0.6371486783027649, 0.7036961913108826, 0.16249415278434753...
func Register(name string, factory DatastoreFactory) { logger := log.WithFields(log.Fields{"name": name}) if factory == nil { logger.Panic("Datastore factory does not exist.") } _, ok := datastoreFactories[name] if ok { logger.Error("Datastore factory already registered. Ignoring.") } datastoreFactories[nam...
[ -0.4131927192211151, 0.4232203960418701, 0.20967525243759155, -0.35609006881713867, -0.10252327471971512, -0.5344175100326538, -0.5723377466201782, 0.05826923996210098, 0.1200958788394928, -0.5027702450752258, -1.400172472000122, 0.465125173330307, 0.6751301288604736, 0.18039008975028992, ...
func GetDatastore(conf map[string]string) (Datastore, error) { engine, ok := conf["DATASTORE"] if !ok { log.Fatal("Undefined SQL engine") } engineFactory, ok := datastoreFactories[engine] if !ok { availableDatastores := make([]string, len(datastoreFactories)) for k := range datastoreFactories { available...
[ -0.1503659337759018, 0.34341806173324585, 0.15711039304733276, -0.18613265454769135, -0.7563165426254272, -0.341579794883728, -0.7693952322006226, 0.8307667374610901, 0.27601540088653564, -0.24010036885738373, -0.14918383955955505, 0.2912765145301819, 0.07342309504747391, 0.333351314067840...
func NewSqliteDatastore(conf map[string]string) (Datastore, error) { logger := log.WithFields(log.Fields{"conf": conf}) file, ok := conf["DATASTORE_SQLITE_FILE"] if !ok { file = "pkg_db.db" } db, err := gorm.Open("sqlite3", file) if err != nil { logger.Fatal("Failed to open a SQLite DB file") return nil, e...
[ 0.8280978202819824, 0.9759457111358643, 0.24770893156528473, -0.3178548812866211, -1.022769808769226, 0.08534909039735794, -0.5495844483375549, -0.3179797828197479, -0.187265083193779, 0.1737564653158188, -0.3916453421115875, -0.3634754717350006, -0.6374337673187256, 0.237593412399292, -...
func NewMySQLDatastore(conf map[string]string) (Datastore, error) { logger := log.WithFields(log.Fields{"conf": conf}) var err error getValue := func(key string) string { if err != nil { return "" } value, ok := conf[key] if !ok { err = fmt.Errorf("%s is required for the mysql datastore", key) retu...
[ 0.17866657674312592, 0.22458672523498535, 0.5068436861038208, -0.6401613354682922, -1.261196255683899, 0.16608813405036926, -0.2195630669593811, 0.8026638031005859, -0.6467705368995667, -0.2836788296699524, -0.5172560214996338, 0.41523516178131104, -0.30468398332595825, 0.6514356732368469,...
func NewGormDatastore(db *gorm.DB) (Datastore, error) { if db == nil { return nil, fmt.Errorf("Failed to create a ORM Datastore") } return &gormDatastore{db}, nil }
[ 0.6442186832427979, 0.37826937437057495, -0.17394055426120758, -0.7826607823371887, -0.8689305782318115, 0.7221116423606873, -0.7200368046760559, -0.0016617923974990845, -0.6406536102294922, -0.45368701219558716, -0.2195059061050415, 0.4099712669849396, -0.9118466973304749, 0.9551438689231...
func Do(threshold time.Duration, sf SlowFunc, cb CallbackFunc) error { // Call the slow function errCh := make(chan error, 1) go func() { errCh <- sf() }() // Wait for it to complete or the threshold to pass select { case err := <-errCh: return err case <-time.After(threshold): // Threshold reached, call...
[ 1.029695987701416, 0.5007781982421875, 0.5264685750007629, 0.027441777288913727, -0.0903848335146904, -0.7266524434089661, -0.6005268096923828, -0.5934419631958008, -0.13515914976596832, 0.06746530532836914, -0.22981742024421692, 0.47887927293777466, 0.22830966114997864, 0.1778082698583603...
func (g *node) findNode(a interface{}, check map[interface{}]bool) *node { if check == nil { check = make(map[interface{}]bool) } if g.data != nil && g.comparer(a, g.data) == 0 { return g } for _, v := range g.children { if check[v.data] { continue } check[v.data] = true f := v.findNode(a, check) ...
[ 0.10609923303127289, 0.44210582971572876, 0.6189215183258057, 0.5085004568099976, 0.03193275257945061, -0.10428397357463837, 0.5880215167999268, 0.27026838064193726, -0.154424250125885, 0.32563140988349915, 1.0529863834381104, -0.15643729269504547, -0.8205171227455139, 1.5063766241073608, ...
func (g *node) findRoute(a, b interface{}) (bool, error) { if g.comparer(a, b) == 0 { return true, nil } na := g.findNode(a, nil) if na == nil { return false, fmt.Errorf("%v is not in graph", a) } nb := na.findNode(b, nil) return nb != nil, nil }
[ 0.18231816589832306, 0.3420424461364746, 0.8704319596290588, 0.3436827063560486, 0.550184428691864, -0.2941841781139374, 0.06972064077854156, -0.41988199949264526, -0.6413636207580566, 1.0330474376678467, 0.5440998077392578, -0.06005864590406418, -1.0847197771072388, 1.0506706237792969, ...
func (g *node) buildOrder() ([]interface{}, error) { m := make(map[interface{}]int) err := g.doBuildOrder(m) if err != nil { return nil, err } ret := make([]interface{}, len(m)) for k, v := range m { ret[v] = k } return ret, nil }
[ -1.7259626388549805, -0.03595346957445145, 0.6547796130180359, 0.794450581073761, 0.4030098021030426, -0.4917956292629242, -0.03068530559539795, -0.0013613860355690122, -0.4730182886123657, 0.044820792973041534, -0.9554064869880676, -0.3136676251888275, -0.2973251938819885, 0.9023398756980...
func NewSitesController(configs []staticPersistence.Config) *sitesController { c := new(sitesController) c.configs = configs return c }
[ -0.08380284905433655, 0.4108685553073883, -0.2744810879230499, 0.06824305653572083, 0.2957891523838043, -0.13253888487815857, 0.7951205968856812, -1.1159484386444092, 0.9925379753112793, 0.21477754414081573, -0.6611204147338867, 0.28966501355171204, 0.2537834346294403, 1.159719467163086, ...
func (s *sitesController) UpdateJsonFiles() { for _, config := range s.configs { RewriteJson(config) } }
[ -1.668030023574829, -0.5899392366409302, 0.33145204186439514, 0.5800319314002991, -0.1644067019224167, -0.6718348860740662, 0.9194434881210327, 0.31866976618766785, -0.2669875919818878, 1.2048308849334717, -0.5431273579597473, 0.22172105312347412, -0.015898272395133972, 0.26339268684387207...
func (s *sitesController) UpdateStaticSites() { for _, config := range s.configs { log.Debug("sites.Controller.UpdateStaticSites - Creating Site:" + config.Domain) siteCreator := NewSiteCreator(config) siteCreator.addSite() siteCreator.addSources() siteCreator.addContainers() siteCreator.addLocations() s...
[ -0.710802435874939, 0.35596489906311035, 0.08776640146970749, 0.7104698419570923, 0.46523886919021606, 0.30286651849746704, 1.0979620218276978, -0.012971656396985054, 0.14342047274112701, 0.1656387746334076, -0.6201575994491577, -0.0787053033709526, 0.19931091368198395, 0.9881500005722046,...
func (p *MetricsInstance) ServiceMonitorSelector() ObjectSelector { return ObjectSelector{ ObjectType: &prom_v1.ServiceMonitor{}, ParentNamespace: p.Namespace, NamespaceSelector: p.Spec.ServiceMonitorNamespaceSelector, Labels: p.Spec.ServiceMonitorSelector, } }
[ 0.15126347541809082, -0.8919007182121277, 0.17758338153362274, -0.6442644596099854, 0.21952122449874878, 0.7682781219482422, 0.2714509665966034, -0.6403955221176147, 0.14711427688598633, -0.6010532379150391, -0.32594403624534607, 0.715276300907135, -1.0650074481964111, -0.30813777446746826...
func (p *MetricsInstance) PodMonitorSelector() ObjectSelector { return ObjectSelector{ ObjectType: &prom_v1.PodMonitor{}, ParentNamespace: p.Namespace, NamespaceSelector: p.Spec.PodMonitorNamespaceSelector, Labels: p.Spec.PodMonitorSelector, } }
[ -0.592728853225708, -0.7990851998329163, 0.22556526958942413, -0.9059345126152039, 0.12806031107902527, 0.33951306343078613, -0.04472688212990761, -0.8588705062866211, 0.31145209074020386, -0.7000023722648621, -0.23765352368354797, 0.23414354026317596, -1.2542260885238647, -0.8406226634979...
func (p *MetricsInstance) ProbeSelector() ObjectSelector { return ObjectSelector{ ObjectType: &prom_v1.Probe{}, ParentNamespace: p.Namespace, NamespaceSelector: p.Spec.ProbeNamespaceSelector, Labels: p.Spec.ProbeSelector, } }
[ -0.2884303629398346, -0.40995997190475464, 0.4492108225822449, -0.6818020343780518, -0.4155960977077484, 0.6328839659690857, 0.5321430563926697, -0.5014406442642212, 0.4873816668987274, 0.2820201814174652, 0.4782479405403137, 0.1689956784248352, -1.0357118844985962, -0.6826056838035583, ...
func (*SendRequest) Descriptor() ([]byte, []int) { return file_internal_protocol_services_proto_rawDescGZIP(), []int{0} }
[ -1.252139925956726, 0.6297364830970764, 0.7558001279830933, 0.06433910131454468, -0.18828201293945312, -0.15274138748645782, 0.28936767578125, 0.21147094666957855, -0.38423362374305725, -0.020599769428372383, 0.07442404329776764, 0.27175742387771606, -0.08938102424144745, 0.513281345367431...
func (*SendReply) Descriptor() ([]byte, []int) { return file_internal_protocol_services_proto_rawDescGZIP(), []int{1} }
[ -1.2941676378250122, 0.3815804719924927, 0.7271642684936523, 0.01884574443101883, 0.09316179156303406, -0.37467318773269653, -0.13330861926078796, -0.14302143454551697, 0.300972580909729, 0.06950200349092484, -0.8643456697463989, 0.6254488229751587, -0.9588672518730164, 0.6557935476303101,...
func DeployGovernmentContract(auth *bind.TransactOpts, backend bind.ContractBackend, appellateAddr common.Address, governmentControllerAddr common.Address, appealFeeAmount *big.Int, requestAppealLength *big.Int, judgeAppealLength *big.Int, appealSupermajorityPercentage *big.Int, constHash [32]byte, constURI string) (co...
[ 0.24587735533714294, -0.2422504723072052, 0.7660669684410095, -0.540802001953125, -0.43726444244384766, -0.03361023962497711, -0.33515116572380066, -0.08862429112195969, -0.16682936251163483, 0.9444084763526917, 0.179140105843544, 0.9144421815872192, -1.288777470588684, 0.7499260306358337,...
func NewGovernmentContract(address common.Address, backend bind.ContractBackend) (*GovernmentContract, error) { contract, err := bindGovernmentContract(address, backend, backend, backend) if err != nil { return nil, err } return &GovernmentContract{GovernmentContractCaller: GovernmentContractCaller{contract: cont...
[ 0.4132113456726074, 0.24494020640850067, 0.588758647441864, -0.07929908484220505, -0.7379950284957886, -0.1275295466184616, -0.9357696175575256, 0.10036090761423111, 0.2596254348754883, 0.5992379784584045, -0.44788557291030884, 1.001914143562317, -1.3219698667526245, 0.987934947013855, 0...
func NewGovernmentContractCaller(address common.Address, caller bind.ContractCaller) (*GovernmentContractCaller, error) { contract, err := bindGovernmentContract(address, caller, nil, nil) if err != nil { return nil, err } return &GovernmentContractCaller{contract: contract}, nil }
[ 0.0109967440366745, 0.24770447611808777, 0.3098064661026001, -0.1446610391139984, -0.5046260952949524, 0.6540603041648865, -0.7208066582679749, -0.4543924927711487, 0.12127025425434113, 1.1020424365997314, -0.3604907989501953, 0.18837043642997742, -0.9110039472579956, 1.3057423830032349, ...
func NewGovernmentContractTransactor(address common.Address, transactor bind.ContractTransactor) (*GovernmentContractTransactor, error) { contract, err := bindGovernmentContract(address, nil, transactor, nil) if err != nil { return nil, err } return &GovernmentContractTransactor{contract: contract}, nil }
[ -0.09961342811584473, 0.13868895173072815, 0.2696492075920105, -0.5484755635261536, -0.5677728056907654, 0.26506900787353516, -0.1607714295387268, -0.28801342844963074, -0.13063094019889832, 1.3380014896392822, -1.2763320207595825, 0.2724522054195404, -0.5415874719619751, 0.489058256149292...
func NewGovernmentContractFilterer(address common.Address, filterer bind.ContractFilterer) (*GovernmentContractFilterer, error) { contract, err := bindGovernmentContract(address, nil, nil, filterer) if err != nil { return nil, err } return &GovernmentContractFilterer{contract: contract}, nil }
[ -0.009197530336678028, 0.2749171555042267, 0.28246474266052246, -0.04233319312334061, -0.7068993449211121, 0.1561608910560608, -0.6559585928916931, -0.38491806387901306, -0.2821829915046692, 1.1988427639007568, -0.4215601980686188, 0.6617426872253418, -1.0264812707901, 1.1681456565856934, ...
func bindGovernmentContract(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) { parsed, err := abi.JSON(strings.NewReader(GovernmentContractABI)) if err != nil { return nil, err } return bind.NewBoundContract(addres...
[ -0.5640265345573425, -0.0944720059633255, 0.5384726524353027, -0.20305469632148743, -0.4545753002166748, 0.26449570059776306, -0.7133158445358276, -0.2882697284221649, 0.11586333811283112, 0.46625611186027527, 0.06749976426362991, 1.3026745319366455, -1.0187431573867798, 0.7312101125717163...
func (_GovernmentContract *GovernmentContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error { return _GovernmentContract.Contract.GovernmentContractCaller.contract.Call(opts, result, method, params...) }
[ -0.8986437916755676, 0.7175049185752869, 0.45720893144607544, 0.48106512427330017, -0.9211185574531555, 0.4428720474243164, -0.44262295961380005, -0.9361677169799805, 0.45049533247947693, 0.020034266635775566, 0.01332294661551714, 0.12070205062627792, -0.9386884570121765, 0.116961516439914...
func (_GovernmentContract *GovernmentContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { return _GovernmentContract.Contract.GovernmentContractTransactor.contract.Transfer(opts) }
[ -0.43358615040779114, 0.08131725341081619, 0.41648414731025696, 0.29559701681137085, -0.09690351784229279, 0.3943778872489929, 0.2991112768650055, -0.6907936930656433, 0.9581577777862549, -0.37809357047080994, -0.37244895100593567, 0.6534374356269836, -0.7357079982757568, -0.46630051732063...
func (_GovernmentContract *GovernmentContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { return _GovernmentContract.Contract.GovernmentContractTransactor.contract.Transact(opts, method, params...) }
[ -0.545527458190918, 0.404211163520813, 0.527861475944519, -0.5329003930091858, 0.263177752494812, -0.11247898638248444, 0.6999423503875732, -0.6837466955184937, 0.3811464309692383, -0.04363364353775978, -0.39286571741104126, 0.785832405090332, -0.37103673815727234, -0.13124963641166687, ...
func (_GovernmentContract *GovernmentContractCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error { return _GovernmentContract.Contract.contract.Call(opts, result, method, params...) }
[ -0.939502477645874, 0.7468093037605286, 0.4852063059806824, 0.5683110952377319, -0.9914870262145996, 0.4495601952075958, -0.3757312595844269, -0.8905370235443115, 0.4534818232059479, -0.007315969560295343, 0.011408789083361626, 0.0350634790956974, -0.8388278484344482, 0.013524758629500866,...
func (_GovernmentContract *GovernmentContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { return _GovernmentContract.Contract.contract.Transfer(opts) }
[ -0.4568270742893219, 0.0994315966963768, 0.38166487216949463, 0.4189143180847168, -0.017090266570448875, 0.2683345377445221, 0.3655526041984558, -0.7288011908531189, 0.9689474105834961, -0.3721553385257721, -0.07296575605869293, 0.3789922595024109, -0.5731058716773987, -0.5472885966300964,...
func (_GovernmentContract *GovernmentContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { return _GovernmentContract.Contract.contract.Transact(opts, method, params...) }
[ -0.5964446663856506, 0.36855581402778625, 0.5314288139343262, -0.42945197224617004, 0.2609667479991913, -0.1460965871810913, 0.6861215829849243, -0.7710124254226685, 0.49999263882637024, -0.0416606105864048, -0.17842161655426025, 0.5786194205284119, -0.21530789136886597, -0.292387872934341...
func (_GovernmentContract *GovernmentContractCaller) Appellate(opts *bind.CallOpts) (common.Address, error) { var ( ret0 = new(common.Address) ) out := ret0 err := _GovernmentContract.contract.Call(opts, out, "appellate") return *ret0, err }
[ 0.006063809152692556, 0.2478109449148178, 0.9188608527183533, 0.31981396675109863, -0.5377858281135559, 0.42926228046417236, 0.393619179725647, -0.544043779373169, 0.25505828857421875, -0.02175501175224781, 0.21233130991458893, 0.30663225054740906, -1.307882308959961, 0.19436153769493103, ...
func (_GovernmentContract *GovernmentContractSession) Appellate() (common.Address, error) { return _GovernmentContract.Contract.Appellate(&_GovernmentContract.CallOpts) }
[ -0.1957169622182846, 0.22824086248874664, 0.7000151872634888, -0.22204257547855377, -0.3541441261768341, 0.2884279191493988, 0.22074462473392487, -1.0158710479736328, 0.6955506801605225, 0.36546674370765686, 0.6464964151382446, 0.26632076501846313, -1.4774203300476074, -0.5202504396438599,...
func (_GovernmentContract *GovernmentContractCallerSession) Appellate() (common.Address, error) { return _GovernmentContract.Contract.Appellate(&_GovernmentContract.CallOpts) }
[ -0.259011834859848, 0.2849317789077759, 0.7087551355361938, -0.11252798140048981, -0.43705469369888306, 0.38588258624076843, 0.14475707709789276, -1.081034779548645, 0.6932315826416016, 0.26807695627212524, 0.6423376202583313, 0.2348911613225937, -1.4657378196716309, -0.347269743680954, ...
func (_GovernmentContract *GovernmentContractCaller) ConstitutionHash(opts *bind.CallOpts) ([32]byte, error) { var ( ret0 = new([32]byte) ) out := ret0 err := _GovernmentContract.contract.Call(opts, out, "constitutionHash") return *ret0, err }
[ 0.7429159283638, 0.6369268894195557, 0.6977005004882812, 0.7666792273521423, -0.38002797961235046, 0.8194922804832458, -0.5246553421020508, -0.6134138107299805, -0.2970888316631317, -0.6169909238815308, -0.6797903180122375, 0.8254762887954712, -0.9338257908821106, -0.16300517320632935, 0...
func (_GovernmentContract *GovernmentContractSession) ConstitutionHash() ([32]byte, error) { return _GovernmentContract.Contract.ConstitutionHash(&_GovernmentContract.CallOpts) }
[ 0.8430753350257874, 0.7139487862586975, 0.4295593202114105, 0.2366575300693512, -0.1275934875011444, 0.7418989539146423, -0.7842336297035217, -0.6294136643409729, 0.13110263645648956, -0.5410022139549255, -0.40269502997398376, 1.0237054824829102, -1.0752818584442139, -0.5886849761009216, ...
func (_GovernmentContract *GovernmentContractCallerSession) ConstitutionHash() ([32]byte, error) { return _GovernmentContract.Contract.ConstitutionHash(&_GovernmentContract.CallOpts) }
[ 0.7471759915351868, 0.7359699606895447, 0.44387489557266235, 0.29578927159309387, -0.21125535666942596, 0.8063278794288635, -0.8770573139190674, -0.641310453414917, 0.15924619138240814, -0.6125091910362244, -0.3947434425354004, 1.0163494348526, -1.0935384035110474, -0.45190417766571045, ...
func (_GovernmentContract *GovernmentContractCaller) ConstitutionURI(opts *bind.CallOpts) (string, error) { var ( ret0 = new(string) ) out := ret0 err := _GovernmentContract.contract.Call(opts, out, "constitutionURI") return *ret0, err }
[ -0.5843442678451538, 0.02625623345375061, 0.8562151789665222, 0.8230122327804565, -0.18825659155845642, 0.27727141976356506, -0.00700207706540823, 0.14845789968967438, 0.18722562491893768, -0.6322926878929138, -0.35744598507881165, 0.2963502109050751, -1.3843445777893066, 0.078997522592544...
func (_GovernmentContract *GovernmentContractSession) ConstitutionURI() (string, error) { return _GovernmentContract.Contract.ConstitutionURI(&_GovernmentContract.CallOpts) }
[ -0.5499135255813599, -0.2737237811088562, 0.5546874403953552, 0.3315756916999817, 0.24292270839214325, 0.13009662926197052, -0.2865615487098694, 0.2629271149635315, 0.5765519738197327, -0.5201947689056396, 0.19941917061805725, 0.4964606761932373, -1.2463726997375488, -0.21212531626224518, ...
func (_GovernmentContract *GovernmentContractCallerSession) ConstitutionURI() (string, error) { return _GovernmentContract.Contract.ConstitutionURI(&_GovernmentContract.CallOpts) }
[ -0.6028206944465637, -0.2511206269264221, 0.5442602038383484, 0.34802401065826416, 0.1526629775762558, 0.2265787273645401, -0.36683788895606995, 0.2176542580127716, 0.6036777496337891, -0.5545196533203125, 0.15214399993419647, 0.5574623346328735, -1.2300394773483276, -0.08864922821521759, ...
func (_GovernmentContract *GovernmentContractCaller) Get(opts *bind.CallOpts, name string) (*big.Int, error) { var ( ret0 = new(*big.Int) ) out := ret0 err := _GovernmentContract.contract.Call(opts, out, "get", name) return *ret0, err }
[ -0.4868805706501007, 0.6811195015907288, 0.9491468667984009, -0.2205534130334854, -0.3589031994342804, -0.3746858835220337, -0.4736570119857788, -0.8414874076843262, 0.21272584795951843, 0.3101665675640106, -1.0681337118148804, 0.4827665388584137, -1.2987630367279053, 0.20047934353351593, ...
func (_GovernmentContract *GovernmentContractSession) Get(name string) (*big.Int, error) { return _GovernmentContract.Contract.Get(&_GovernmentContract.CallOpts, name) }
[ -0.6967228055000305, 0.7447314858436584, 0.5399610996246338, -0.8258548974990845, -0.6553069949150085, -0.5437999963760376, -0.4632241427898407, -1.1135514974594116, 0.6551194190979004, 0.3785264194011688, -0.5535683631896973, 0.5306298732757568, -1.3604103326797485, -0.15183864533901215, ...