text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (s *HsmProvidersService) newRequest(op *request.Operation, params, data interface{}) *request.Request {
req := s.NewRequest(op, params, data)
return req
} | [
-0.7049998044967651,
-0.2026871293783188,
0.4242240786552429,
1.4005067348480225,
0.05697837844491005,
-0.5227175354957581,
-0.5040830969810486,
0.3664249777793884,
0.7117673754692078,
0.1306172013282776,
0.5774093866348267,
0.9071781039237976,
0.19131028652191162,
-0.7488074898719788,
0... |
func (s *HsmProvidersService) GetHsmProvidersCommand(input *GetHsmProvidersCommandInput) (output *models.HsmProviderView, resp *http.Response, err error) {
path := "/hsmProviders"
op := &request.Operation{
Name: "GetHsmProvidersCommand",
HTTPMethod: "GET",
HTTPPath: path,
QueryParams: map[string]strin... | [
-1.3343490362167358,
-0.18414631485939026,
0.7757600545883179,
0.5506100654602051,
0.4794255197048187,
-0.9498597979545593,
-0.28991755843162537,
-0.6204250454902649,
0.45474162697792053,
0.17768555879592896,
-0.40704095363616943,
1.3689634799957275,
-0.7690419554710388,
0.3670785427093506... |
func (s *HsmProvidersService) AddHsmProviderCommand(input *AddHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error) {
path := "/hsmProviders"
op := &request.Operation{
Name: "AddHsmProviderCommand",
HTTPMethod: "POST",
HTTPPath: path,
QueryParams: map[string]stri... | [
-1.8037443161010742,
-0.15647676587104797,
0.6877414584159851,
0.7344657182693481,
0.35082918405532837,
0.02368302457034588,
0.08278221637010574,
-0.38799938559532166,
0.721686601638794,
-0.3851863741874695,
-0.5039838552474976,
0.8258081674575806,
-1.3476437330245972,
0.3794749975204468,
... |
func (s *HsmProvidersService) GetHsmProviderDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error) {
path := "/hsmProviders/descriptors"
op := &request.Operation{
Name: "GetHsmProviderDescriptorsCommand",
HTTPMethod: "GET",
HTTPPath: path,
}
output = &models.DescriptorsV... | [
-0.876177966594696,
-0.08536460995674133,
0.4993644654750824,
0.5100278258323669,
1.1013509035110474,
-0.8267320394515991,
-0.3482033908367157,
0.07136786729097366,
0.08113967627286911,
-0.22377446293830872,
-0.24497786164283752,
1.2412066459655762,
-1.1224576234817505,
0.11901910603046417... |
func (s *HsmProvidersService) DeleteHsmProviderCommand(input *DeleteHsmProviderCommandInput) (resp *http.Response, err error) {
path := "/hsmProviders/{id}"
path = strings.Replace(path, "{id}", input.Id, -1)
op := &request.Operation{
Name: "DeleteHsmProviderCommand",
HTTPMethod: "DELETE",
HTTPPath: ... | [
-1.2874467372894287,
-0.35451486706733704,
0.4442739486694336,
1.044503927230835,
0.39999398589134216,
-0.1302872896194458,
0.35852187871932983,
-0.040966473519802094,
0.7366659045219421,
-0.2870096266269684,
-0.4896911084651947,
0.9151768684387207,
-1.0421983003616333,
0.6430312395095825,... |
func (s *HsmProvidersService) GetHsmProviderCommand(input *GetHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error) {
path := "/hsmProviders/{id}"
path = strings.Replace(path, "{id}", input.Id, -1)
op := &request.Operation{
Name: "GetHsmProviderCommand",
HTTPMethod: "... | [
-1.3909024000167847,
-0.2122342884540558,
0.6229503154754639,
0.8076096177101135,
0.35444656014442444,
-0.6108047366142273,
-0.056219592690467834,
-0.2870420813560486,
0.4691712260246277,
-0.12069328129291534,
-0.28590184450149536,
1.0958997011184692,
-1.2624434232711792,
0.353475749492645... |
func (s *HsmProvidersService) UpdateHsmProviderCommand(input *UpdateHsmProviderCommandInput) (output *models.HsmProviderView, resp *http.Response, err error) {
path := "/hsmProviders/{id}"
path = strings.Replace(path, "{id}", input.Id, -1)
op := &request.Operation{
Name: "UpdateHsmProviderCommand",
HTTPM... | [
-1.9312736988067627,
-0.8944453597068787,
0.510742723941803,
0.4824572205543518,
-0.07563360780477524,
-0.04398689791560173,
0.3012336492538452,
-0.11323745548725128,
0.5274259448051453,
0.2516992688179016,
-0.8137407302856445,
1.1380778551101685,
-1.3813694715499878,
0.3107318580150604,
... |
func (p *Porter) UninstallBundle(opts UninstallOptions) error {
err := p.prepullBundleByTag(&opts.BundleLifecycleOpts)
if err != nil {
return errors.Wrap(err, "unable to pull bundle before uninstall")
}
err = p.applyDefaultOptions(&opts.sharedOptions)
if err != nil {
return err
}
err = p.ensureLocalBundleI... | [
0.09740128368139267,
0.30431509017944336,
0.5036014914512634,
-0.32001522183418274,
-0.0777130052447319,
0.10877299308776855,
0.5736220479011536,
0.557529091835022,
-0.46002569794654846,
0.22211000323295593,
0.000906999281141907,
-0.5353482365608215,
-0.9780787825584412,
-0.063177883625030... |
func fuzz(data []byte) int {
m, err := ParseMessage(data)
if err != nil {
return 0
}
b2, err := MarshalMessage(m)
if err != nil {
panic(fmt.Sprintf("failed to marshal: %v", err))
}
if _, err := ParseMessage(b2); err != nil {
panic(fmt.Sprintf("failed to parse: %v", err))
}
return 1
} | [
0.7563616633415222,
0.25185638666152954,
0.6524675488471985,
0.16259707510471344,
-0.02292720228433609,
-0.9398098587989807,
0.6265644431114197,
0.0759035125374794,
0.14860019087791443,
-0.8660578727722168,
-0.06463415920734406,
0.48751360177993774,
-1.007595181465149,
1.5542163848876953,
... |
func RegisterHelmManagerGwServer(ctx context.Context, mux *runtime.ServeMux, server HelmManagerServer) error {
mux.Handle("GET", pattern_HelmManager_Available_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inbound... | [
-0.8974536657333374,
-0.028844021260738373,
0.8124557733535767,
-0.3250309228897095,
0.5363525748252869,
0.31318339705467224,
0.1472364217042923,
-0.9663665890693665,
-0.3341982960700989,
-0.596449613571167,
-0.473499596118927,
1.067444086074829,
-0.5105392336845398,
1.4946333169937134,
... |
func RegisterHelmManagerGwFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) {
conn, err := grpc.Dial(endpoint, opts...)
if err != nil {
return err
}
defer func() {
if err != nil {
if cerr := conn.Close(); cerr != nil {
grpclog.Infof("Failed to c... | [
0.08491606265306473,
0.17268742620944977,
0.9204328060150146,
0.22817456722259521,
0.44986045360565186,
0.5841169953346252,
-0.6547914147377014,
-0.8388020992279053,
-0.5616950988769531,
0.13860714435577393,
-0.014567621983587742,
0.32430267333984375,
-0.73919278383255,
0.6911171674728394,... |
func RegisterHelmManagerGw(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {
return RegisterHelmManagerGwClient(ctx, mux, NewHelmManagerClient(conn))
} | [
0.01952071115374565,
0.7821317315101624,
0.5460140705108643,
-0.08873923122882843,
0.9777541160583496,
0.7801171541213989,
-0.4118373990058899,
-0.5804520845413208,
-0.9281975030899048,
-0.8388399481773376,
-0.34175509214401245,
1.204955816268921,
-0.4205213785171509,
1.4716914892196655,
... |
func RegisterHelmManagerGwClient(ctx context.Context, mux *runtime.ServeMux, client HelmManagerClient) error {
mux.Handle("GET", pattern_HelmManager_Available_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inbound... | [
-0.5645776391029358,
-0.1378086805343628,
0.825162947177887,
-0.49859559535980225,
0.36376088857650757,
0.1688670516014099,
0.4050116539001465,
-1.3185606002807617,
-0.8074487447738647,
-0.5648607611656189,
-0.5637241005897522,
0.8179835081100464,
-0.29621174931526184,
0.918451726436615,
... |
func (c *FakeSrossrossV1alpha1) RESTClient() rest.Interface {
var ret *rest.RESTClient
return ret
} | [
-0.2207862287759781,
-0.15845987200737,
0.34628865122795105,
0.7502999305725098,
-0.16392093896865845,
0.34871479868888855,
0.6804583072662354,
0.025921477004885674,
0.7837446331977844,
-0.7419081330299377,
-0.6281486749649048,
0.7985373735427856,
-1.3075995445251465,
-0.49091020226478577,... |
func NewInput() *Input {
return &Input{
Samples: []*Sample{},
}
} | [
0.7484509348869324,
-0.894130289554596,
0.1535184383392334,
0.4518718123435974,
-1.27825129032135,
0.5213313102722168,
0.6400354504585266,
-0.18985168635845184,
0.6585153341293335,
-1.0093985795974731,
0.021214859560132027,
0.8400895595550537,
-0.4230839014053345,
-0.10102418810129166,
0... |
func (i *Input) Load(path string) error {
records := Read(path)
samples := make([]*Sample, len(records)-1)
for idx, record := range records[1:] {
valid, err := strconv.ParseBool(record[4])
if err != nil {
return err
}
var sec *int
var row *int
if record[2] != "" {
s, err := strconv.Atoi(record[2... | [
-0.05456405505537987,
-0.096651591360569,
0.884882926940918,
-1.1326043605804443,
-0.6910392045974731,
0.2821636497974396,
0.7353826761245728,
0.16210737824440002,
-0.865203320980072,
-0.2120201140642166,
-0.44738003611564636,
-0.3382432162761688,
-0.714287519454956,
-0.7102730870246887,
... |
func init() {
// Standard routes
router.Get("/userteam", GetAllUserTeams)
router.Get("/userteam/:id", GetUserTeam)
router.Post("/userteam", PostUserTeam)
router.Put("/userteam/:id", PutUserTeam)
router.Delete("/userteam/:id", DeleteUserTeam)
} | [
-0.09408929944038391,
0.5224666595458984,
0.4722633361816406,
0.5783588290214539,
0.448373407125473,
0.2520422339439392,
0.13752305507659912,
0.49630090594291687,
-0.35147932171821594,
-0.15355657041072845,
-0.7876716256141663,
0.4253740608692169,
0.7165743112564087,
-0.6533095240592957,
... |
func TestKnativeEventingKafkaChannelAcceptance(t *testing.T) {
// test meta for the Kafka channel
name := "test-kafka-channel"
namespace := "knative-eventing"
// load cluster config
config := loadConfigOrDie(t)
// prepare a Kafka client
kafkaClient := kafkaclientset.NewForConfigOrDie(config).KafkaChannels(name... | [
0.44911524653434753,
0.00507452804595232,
0.8608596920967102,
-0.060771435499191284,
0.370078980922699,
0.3509344458580017,
0.4917465150356293,
0.39375704526901245,
-0.019067564979195595,
0.10664299875497818,
0.11048763990402222,
-0.07955584675073624,
-0.05477295443415642,
0.00492999516427... |
func loadConfigOrDie(t *testing.T) *rest.Config {
t.Helper()
if _, err := os.Stat(clientcmd.RecommendedHomeFile); os.IsNotExist(err) {
config, err := rest.InClusterConfig()
if err != nil {
t.Fatalf("cannot create in-cluster config: %v", err)
}
return config
}
config, err := clientcmd.BuildConfigFromFla... | [
0.5180944800376892,
-0.3900507092475891,
0.4978136122226715,
0.5596683025360107,
-0.26041388511657715,
0.0939488559961319,
0.21323955059051514,
-0.2109341323375702,
-0.812593936920166,
0.30661246180534363,
0.8131372928619385,
-0.1378069519996643,
-1.4199211597442627,
0.30598530173301697,
... |
func newKafkaChannel(name, namespace string) *kafkav1alpha1.KafkaChannel {
return &kafkav1alpha1.KafkaChannel{
ObjectMeta: v1.ObjectMeta{
Name: name,
Namespace: namespace,
},
}
} | [
-0.1926075518131256,
-0.7240778803825378,
0.5615498423576355,
0.17551985383033752,
-0.9597698450088501,
0.38107502460479736,
-0.914607584476471,
-0.309306800365448,
-0.19484815001487732,
0.724711537361145,
-0.1783127784729004,
0.7373877167701721,
0.2472131997346878,
0.2615763545036316,
-... |
func deleteChannelIfExistsAndWaitUntilDeleted(t *testing.T, interrupted chan bool,
kafkaClient kafkaclientset.KafkaChannelInterface, name string,
duration time.Duration, attempts uint, delayType retry.DelayTypeFunc) error {
t.Helper()
if _, err := kafkaClient.Get(name, v1.GetOptions{}); err == nil {
t.Logf("dele... | [
0.9446244835853577,
-0.6667012572288513,
0.8847795724868774,
-0.6281062364578247,
0.4575434625148773,
-0.4059160649776459,
-0.0010418555466458201,
0.08602535724639893,
0.6299129128456116,
-0.045928362756967545,
0.891132652759552,
0.3637459874153137,
-0.6660361886024475,
-0.1441519558429718... |
func checkChannelReadyWithRetry(t *testing.T, interrupted chan bool,
kafkaClient kafkaclientset.KafkaChannelInterface, name string,
duration time.Duration, attempts uint, delayType retry.DelayTypeFunc) error {
t.Helper()
return retry.Do(func() error {
select {
case <-interrupted:
t.Fatal("cannot continue, t... | [
0.6220026016235352,
-0.44337254762649536,
0.7434060573577881,
-0.2372148483991623,
-0.055468928068876266,
-0.688062846660614,
-0.7655840516090393,
-0.3359774947166443,
0.1399938017129898,
0.5643528699874878,
0.24423645436763763,
0.26058685779571533,
-0.23545914888381958,
-0.118846334517002... |
func deleteChannel(t *testing.T, kafkaClient kafkaclientset.KafkaChannelInterface, name string) {
t.Helper()
err := kafkaClient.Delete(name, &v1.DeleteOptions{})
switch {
case errors.IsGone(err):
case errors.IsNotFound(err):
t.Logf("tried to delete Kafka channel: %s but it was already deleted", name)
case err ... | [
0.5759473443031311,
-0.14517048001289368,
0.4433916509151459,
-0.20723295211791992,
0.20746378600597382,
-0.125230073928833,
0.21638751029968262,
-0.3611873686313629,
0.5715348720550537,
-0.16188617050647736,
0.9393661022186279,
0.22878025472164154,
-0.321217805147171,
0.153816819190979,
... |
func cleanupOnInterrupt(t *testing.T, interruptSignals []os.Signal, cleanup func()) chan bool {
t.Helper()
// to notify the callers if an interrupt signal was received
interrupted := make(chan bool, 1)
ch := make(chan os.Signal, 1)
signal.Notify(ch, interruptSignals...)
go func() {
defer close(ch)
<-ch
i... | [
0.3217841684818268,
-0.30668580532073975,
0.7083560228347778,
-0.46527403593063354,
-0.035413313657045364,
0.1474759578704834,
0.3208942711353302,
0.34069180488586426,
0.1127309501171112,
-0.19029098749160767,
-0.2776029407978058,
-0.7231819033622742,
-1.3354076147079468,
-0.02705184742808... |
func ApplyRoutes(r *gin.Engine, auth *auth.Authenticator, db *gorm.DB) {
models.SetRepoDB(db)
authenticator = auth
apiV1 := r.Group("/v1")
{
apiV1.GET("/ping", pingHandler)
apiV1.POST("/login", loginHandler)
apiV1.POST("/comment", commentHandler)
apiV1.DELETE("/comment", commentHandler)
apiV1.POST("/users... | [
-0.44848090410232544,
0.4434908330440521,
0.6060413718223572,
0.3445338010787964,
0.77385014295578,
0.4599813222885132,
0.11138451844453812,
0.798512876033783,
0.012709517031908035,
-0.33073917031288147,
0.17509441077709198,
-0.34342890977859497,
-0.45966342091560364,
0.7054449319839478,
... |
func GeneroJWT(t models.Usuario)(string,error){
miClave:=[]byte("MastersDelDesarrollo")
payload:=jwt.MapClaims{
"email":t.Email,
"nombres":t.Nombre,
"apellidos":t.Apellidos,
"fecha_nacimiento":t.FechaNacimiento,
"biografia":t.Biografia,
"ubicacion":t.Ubicacion,
"sitioweb":t.SitioWeb,
"_id":t.ID.Hex(),... | [
0.21349593997001648,
-0.18848931789398193,
0.883200466632843,
0.2892376482486725,
-1.195419430732727,
0.3668758273124695,
-0.3768421411514282,
0.39600908756256104,
-1.0510138273239136,
-0.5067410469055176,
-0.605881929397583,
-0.047356609255075455,
0.44260984659194946,
-0.26591721177101135... |
func (s *Scraper) encodeJPEG(img image.Image) *bytes.Buffer {
o := &jpeg.Options{
Quality: int(s.config.ImageQuality),
}
outBuf := &bytes.Buffer{}
if err := jpeg.Encode(outBuf, img, o); err != nil {
return nil
}
return outBuf
} | [
-0.42615509033203125,
0.6991770267486572,
0.27074167132377625,
0.35891038179397583,
-0.46784940361976624,
0.11833254992961884,
-0.004584526643157005,
-0.27435246109962463,
0.13151969015598297,
0.43507638573646545,
-0.39276760816574097,
0.15013374388217926,
-0.2072807401418686,
1.0533851385... |
func (s *Scraper) recodeJPEG(url fmt.Stringer, b []byte) *bytes.Buffer {
inBuf := bytes.NewBuffer(b)
img, err := jpeg.Decode(inBuf)
if err != nil {
return nil
}
outBuf := s.encodeJPEG(img)
if outBuf == nil || outBuf.Len() > len(b) { // only use the new file if it is smaller
return nil
}
s.logger.Debug("Re... | [
-0.2982090711593628,
0.1301223635673523,
0.7445098757743835,
0.15536591410636902,
-0.8009867072105408,
-1.1402190923690796,
0.03779585286974907,
0.011740324087440968,
0.0580168180167675,
0.2815234065055847,
-0.2765209972858429,
0.5024299025535583,
0.09370432794094086,
0.26738113164901733,
... |
func (s *Scraper) recodePNG(url fmt.Stringer, b []byte) *bytes.Buffer {
inBuf := bytes.NewBuffer(b)
img, err := png.Decode(inBuf)
if err != nil {
return nil
}
outBuf := s.encodeJPEG(img)
if outBuf == nil || outBuf.Len() > len(b) { // only use the new file if it is smaller
return nil
}
s.logger.Debug("Reco... | [
-0.4802783727645874,
0.09665583074092865,
0.781197190284729,
-0.3094644248485565,
-0.6396547555923462,
-0.8181286454200745,
-0.29696208238601685,
-0.3105784058570862,
0.1952994465827942,
-0.15599429607391357,
-0.1526496857404709,
0.25120896100997925,
0.4016748070716858,
0.00308445794507861... |
func (b *BucketService) GetBucketByHash(hash entities.Hash) (*entities.Bucket, error) {
if err := hash.Validation(); err != nil {
return nil, err
}
var bucket *entities.Bucket
bucket, err := b.BucketStore.Get(hash)
if err != nil {
return nil, err
}
return bucket, nil
} | [
0.9458666443824768,
0.5015363693237305,
0.34373924136161804,
0.9622499346733093,
0.14776182174682617,
0.13110271096229553,
0.182647243142128,
-0.8708798289299011,
-0.11907177418470383,
-1.0050175189971924,
0.16362623870372772,
0.5215940475463867,
-0.28604719042778015,
0.6967191100120544,
... |
func (b *BucketService) CreateBucket(hash entities.Hash) (*entities.Bucket, error) {
if err := hash.Validation(); err != nil {
return nil, err
}
var bucket *entities.Bucket
duration := time.Second * time.Duration(b.Settings.Duration)
switch hash.Kind {
case entities.Login:
bucket = entities.NewBucket(b.Setti... | [
0.1307550072669983,
0.8049088716506958,
0.5507435202598572,
0.7590416669845581,
0.471956342458725,
0.5386301279067993,
-0.15471585094928741,
-0.6832738518714905,
0.4260846674442291,
-0.3511172831058502,
0.859050989151001,
-0.20376335084438324,
-0.4533287286758423,
0.224654883146286,
1.01... |
func (b *BucketService) CheckBucket(bucket *entities.Bucket) (bool, error) {
if bucket == nil {
return false, fmt.Errorf("CheckBucket: %w", exceptions.NilValue)
}
if !bucket.Counter() {
return false, fmt.Errorf("CheckBucket: %w", exceptions.LimitReached)
}
return true, nil
} | [
-0.467557817697525,
0.8007422685623169,
0.9578735828399658,
0.2470170259475708,
0.48698240518569946,
0.2703499495983124,
0.3875322937965393,
-0.09687090665102005,
0.22821703553199768,
-0.4867536127567291,
0.002634476637467742,
0.48787233233451843,
0.007011936046183109,
0.8054789304733276,
... |
func (b *BucketService) TotalBuckets() int {
return b.BucketStore.TotalBuckets()
} | [
0.23267269134521484,
0.08556963503360748,
0.331295371055603,
0.12976543605327606,
-0.030231818556785583,
-0.12450002878904343,
0.8755480647087097,
-0.38140490651130676,
0.9315977096557617,
-0.5673496127128601,
-0.6447778344154358,
-0.2654193937778473,
-0.5924509763717651,
-0.44764780998229... |
func (b *BucketService) ResetBucket(hash entities.Hash) error {
if err := b.BucketStore.Delete(hash); err != nil {
return err
}
return nil
} | [
0.4304760694503784,
0.9979662895202637,
0.2508775591850281,
0.7114060521125793,
0.9826143980026245,
0.0979408547282219,
0.4696223735809326,
0.6071661710739136,
0.00662601925432682,
-0.780735194683075,
0.2124159336090088,
1.3715064525604248,
-0.1274634748697281,
0.17341190576553345,
0.731... |
func (b *BucketService) CheckOrCreateBucket(request string, kind entities.KindBucket) (bool, error) {
hash := entities.NewHash(kind, request)
bucket, err := b.GetBucketByHash(hash)
if bucket == nil {
bucket, err = b.CreateBucket(hash)
if err != nil {
return false, fmt.Errorf("CheckOrCreateBucket: %w", err)
... | [
-0.7007297873497009,
0.6685330867767334,
0.9452451467514038,
0.3560178577899933,
1.1296603679656982,
0.5390599966049194,
0.1560862809419632,
-0.7289917469024658,
-0.11536481976509094,
0.041628025472164154,
0.8908290863037109,
0.01067389640957117,
-0.009982339106500149,
1.4712245464324951,
... |
func CheckForJSON(r *http.Request) error {
if r.Header.Get("Content-Type") != "application/json" {
return fmt.Errorf("Content-Type must be 'application/json'")
}
return nil
} | [
-0.18539702892303467,
-0.4372657537460327,
0.9467623829841614,
-0.13133107125759125,
0.04285702854394913,
0.19642315804958344,
-0.4491294026374817,
-1.0535097122192383,
-0.6132902503013611,
0.10772525519132614,
0.8844410181045532,
0.2641192376613617,
0.32932204008102417,
1.0528727769851685... |
func DeploySimpleMultiSig(auth *bind.TransactOpts, backend bind.ContractBackend, nonceNum_ uint16, threshold_ *big.Int, owners_ []common.Address, chainId *big.Int) (common.Address, *types.Transaction, *SimpleMultiSig, error) {
parsed, err := abi.JSON(strings.NewReader(SimpleMultiSigABI))
if err != nil {
return comm... | [
-0.3939654231071472,
-0.10723758488893509,
0.575789749622345,
0.24511007964611053,
-0.36629512906074524,
-0.9890278577804565,
-0.6619207859039307,
0.38718080520629883,
0.020572921261191368,
0.6593350172042847,
-1.0749766826629639,
-0.3631933629512787,
-0.6059690117835999,
0.213691443204879... |
func NewSimpleMultiSig(address common.Address, backend bind.ContractBackend) (*SimpleMultiSig, error) {
contract, err := bindSimpleMultiSig(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &SimpleMultiSig{SimpleMultiSigCaller: SimpleMultiSigCaller{contract: contract}, SimpleMultiSigTra... | [
-0.49075847864151,
0.3583933413028717,
0.4059430956840515,
0.33166876435279846,
-1.1287262439727783,
-0.49356499314308167,
-0.7424675822257996,
0.6570163369178772,
0.2582610547542572,
0.5154057741165161,
-1.8089591264724731,
-0.34533625841140747,
-0.4656885862350464,
0.5219841599464417,
... |
func NewSimpleMultiSigCaller(address common.Address, caller bind.ContractCaller) (*SimpleMultiSigCaller, error) {
contract, err := bindSimpleMultiSig(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &SimpleMultiSigCaller{contract: contract}, nil
} | [
0.01874937117099762,
0.6471186280250549,
0.5068730711936951,
0.4322587549686432,
-1.4898570775985718,
0.1860199123620987,
-0.8232828974723816,
0.3245835602283478,
-0.0699191614985466,
0.43410173058509827,
-1.1599957942962646,
-0.05527647212147713,
-0.7580719590187073,
0.9388993978500366,
... |
func NewSimpleMultiSigTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleMultiSigTransactor, error) {
contract, err := bindSimpleMultiSig(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &SimpleMultiSigTransactor{contract: contract}, nil
} | [
-0.8771389126777649,
0.216093510389328,
0.415299654006958,
-0.2511131167411804,
-1.1807749271392822,
-0.5632575154304504,
-0.793369472026825,
0.28146180510520935,
-0.05419159308075905,
0.49498656392097473,
-1.9766508340835571,
-0.4625600576400757,
-0.6551007032394409,
0.32930347323417664,
... |
func NewSimpleMultiSigFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleMultiSigFilterer, error) {
contract, err := bindSimpleMultiSig(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &SimpleMultiSigFilterer{contract: contract}, nil
} | [
-0.45203661918640137,
0.47091856598854065,
0.3923426866531372,
0.4895418584346771,
-1.0686644315719604,
-0.07996155321598053,
-0.7938774228096008,
0.8671028017997742,
-0.1247347891330719,
0.4291308522224426,
-1.339441180229187,
-0.2234772890806198,
-0.7639015913009644,
0.9055657982826233,
... |
func bindSimpleMultiSig(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := abi.JSON(strings.NewReader(SimpleMultiSigABI))
if err != nil {
return nil, err
}
return bind.NewBoundContract(address, parse... | [
-0.8549613356590271,
-0.43179744482040405,
0.5222157835960388,
0.13092228770256042,
-1.318642258644104,
-0.28168314695358276,
-0.7948898673057556,
0.22414511442184448,
0.5273675322532654,
0.19524633884429932,
-1.0878020524978638,
-0.048554401844739914,
-0.7324827313423157,
0.18782711029052... |
func (_SimpleMultiSig *SimpleMultiSigRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
return _SimpleMultiSig.Contract.SimpleMultiSigCaller.contract.Call(opts, result, method, params...)
} | [
-1.0096852779388428,
1.138080358505249,
0.5275309085845947,
1.0765544176101685,
-0.8667677640914917,
0.18350251019001007,
-0.2876216769218445,
-0.7010324001312256,
0.3596833050251007,
0.22352127730846405,
-0.025360438972711563,
-0.3231724202632904,
-0.8669822216033936,
0.14583095908164978,... |
func (_SimpleMultiSig *SimpleMultiSigRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _SimpleMultiSig.Contract.SimpleMultiSigTransactor.contract.Transfer(opts)
} | [
-0.6766061782836914,
0.46331122517585754,
0.4047776460647583,
1.0466430187225342,
-0.2918964624404907,
0.18918028473854065,
0.48225054144859314,
-0.44110366702079773,
0.6954337954521179,
-0.3324126601219177,
-0.40123775601387024,
-0.2040354162454605,
-0.6421602368354797,
-0.257012933492660... |
func (_SimpleMultiSig *SimpleMultiSigRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _SimpleMultiSig.Contract.SimpleMultiSigTransactor.contract.Transact(opts, method, params...)
} | [
-0.7724897861480713,
0.757795512676239,
0.4715975522994995,
0.1668700873851776,
0.12628279626369476,
-0.22757646441459656,
0.8049405813217163,
-0.4909026026725769,
0.34231555461883545,
0.026237040758132935,
-0.20106549561023712,
-0.07451251149177551,
-0.23966218531131744,
0.047272864729166... |
func (_SimpleMultiSig *SimpleMultiSigCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
return _SimpleMultiSig.Contract.contract.Call(opts, result, method, params...)
} | [
-0.7811992764472961,
0.9252489805221558,
0.5222771167755127,
1.0100408792495728,
-0.8126524090766907,
0.22665438055992126,
-0.41516968607902527,
-0.696952223777771,
0.31891700625419617,
0.289121150970459,
0.2513118088245392,
-0.01901247538626194,
-0.7406222224235535,
0.06548167765140533,
... |
func (_SimpleMultiSig *SimpleMultiSigTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _SimpleMultiSig.Contract.contract.Transfer(opts)
} | [
-0.6815114617347717,
0.42904505133628845,
0.25827211141586304,
0.8572431206703186,
-0.1841309517621994,
0.046819306910037994,
0.5978109240531921,
-0.3734857141971588,
0.9346629977226257,
-0.5772254467010498,
-0.1638411283493042,
-0.11025048047304153,
-0.4585731327533722,
-0.405218154191970... |
func (_SimpleMultiSig *SimpleMultiSigTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _SimpleMultiSig.Contract.contract.Transact(opts, method, params...)
} | [
-0.758152425289154,
0.6906837224960327,
0.4285716712474823,
0.037611622363328934,
0.10299533605575562,
-0.21365337073802948,
0.9518839716911316,
-0.38934817910194397,
0.49347123503685,
-0.13268448412418365,
-0.10189881920814514,
0.1459108591079712,
-0.0849112942814827,
-0.12623231112957,
... |
func (_SimpleMultiSig *SimpleMultiSigCaller) GetBucketLength(opts *bind.CallOpts) (uint16, error) {
var (
ret0 = new(uint16)
)
out := ret0
err := _SimpleMultiSig.contract.Call(opts, out, "getBucketLength")
return *ret0, err
} | [
-0.2652489244937897,
1.3420361280441284,
0.9380537271499634,
0.5330197811126709,
0.7568693161010742,
0.308996319770813,
0.22033853828907013,
-0.5756937265396118,
-0.17352092266082764,
-0.3335098624229431,
-0.870917022228241,
-0.061331622302532196,
-0.08287791162729263,
-0.16881811618804932... |
func (_SimpleMultiSig *SimpleMultiSigSession) GetBucketLength() (uint16, error) {
return _SimpleMultiSig.Contract.GetBucketLength(&_SimpleMultiSig.CallOpts)
} | [
0.02939969301223755,
1.548356056213379,
0.5698107481002808,
0.4271485209465027,
0.5551081895828247,
0.14027315378189087,
0.31899574398994446,
-0.6288983821868896,
0.07849381119012833,
0.03847053647041321,
-0.5759708881378174,
0.001598753035068512,
-0.23561683297157288,
0.023494692519307137... |
func (_SimpleMultiSig *SimpleMultiSigCallerSession) GetBucketLength() (uint16, error) {
return _SimpleMultiSig.Contract.GetBucketLength(&_SimpleMultiSig.CallOpts)
} | [
0.17502303421497345,
1.554479956626892,
0.5654144287109375,
0.5036260485649109,
0.504352867603302,
0.17975249886512756,
0.19869878888130188,
-0.5576480031013489,
0.17395031452178955,
0.011316660791635513,
-0.3676398694515228,
0.05491595342755318,
-0.21852557361125946,
-0.14417150616645813,... |
func (_SimpleMultiSig *SimpleMultiSigCaller) GetOwersLength(opts *bind.CallOpts) (uint16, error) {
var (
ret0 = new(uint16)
)
out := ret0
err := _SimpleMultiSig.contract.Call(opts, out, "getOwersLength")
return *ret0, err
} | [
0.15504707396030426,
0.9953470826148987,
0.7394561767578125,
0.37145915627479553,
0.3659316599369049,
0.05811049044132233,
0.053629323840141296,
-0.8721862435340881,
0.5532141327857971,
-0.32591718435287476,
-0.4477147161960602,
-0.06272663921117783,
-0.6278839707374573,
0.4488449990749359... |
func (_SimpleMultiSig *SimpleMultiSigSession) GetOwersLength() (uint16, error) {
return _SimpleMultiSig.Contract.GetOwersLength(&_SimpleMultiSig.CallOpts)
} | [
0.22879987955093384,
0.9205013513565063,
0.4317105710506439,
0.05795478820800781,
0.1663646250963211,
-0.08312839269638062,
-0.029086671769618988,
-0.9638646841049194,
0.6241452693939209,
-0.06700001657009125,
-0.4248669743537903,
0.16239149868488312,
-0.8926444053649902,
0.735063850879669... |
func (_SimpleMultiSig *SimpleMultiSigCallerSession) GetOwersLength() (uint16, error) {
return _SimpleMultiSig.Contract.GetOwersLength(&_SimpleMultiSig.CallOpts)
} | [
0.30219560861587524,
0.9672727584838867,
0.43825241923332214,
0.18698899447917938,
0.05291828513145447,
-0.09149456769227982,
-0.086951345205307,
-0.9131293296813965,
0.6983272433280945,
0.011173640377819538,
-0.2585291862487793,
0.10141713917255402,
-0.8786162734031677,
0.4652132391929626... |
func (_SimpleMultiSig *SimpleMultiSigCaller) GetVersion(opts *bind.CallOpts) (string, error) {
var (
ret0 = new(string)
)
out := ret0
err := _SimpleMultiSig.contract.Call(opts, out, "getVersion")
return *ret0, err
} | [
0.05800765007734299,
0.8987480998039246,
0.7363154888153076,
1.2764744758605957,
0.29818058013916016,
-0.0005596177070401609,
0.48591485619544983,
-0.5365595817565918,
0.5105385780334473,
0.42439642548561096,
-0.859780490398407,
-0.04568192735314369,
-1.133914828300476,
-0.1344781666994094... |
func (_SimpleMultiSig *SimpleMultiSigSession) GetVersion() (string, error) {
return _SimpleMultiSig.Contract.GetVersion(&_SimpleMultiSig.CallOpts)
} | [
0.0034944701474159956,
0.6944009065628052,
0.38339176774024963,
0.9410145282745361,
0.2504219710826874,
-0.18353939056396484,
0.2787221074104309,
-0.743587851524353,
0.6524391174316406,
0.4849138557910919,
-0.5340052843093872,
-0.42237338423728943,
-1.0270905494689941,
0.033490851521492004... |
func (_SimpleMultiSig *SimpleMultiSigCallerSession) GetVersion() (string, error) {
return _SimpleMultiSig.Contract.GetVersion(&_SimpleMultiSig.CallOpts)
} | [
0.2244359701871872,
0.7577760815620422,
0.3961637616157532,
1.023003339767456,
0.2331221103668213,
-0.11533348262310028,
0.1542074978351593,
-0.6704921126365662,
0.5731902122497559,
0.4455976188182831,
-0.3100230097770691,
-0.3571091890335083,
-0.9946199059486389,
-0.12133638560771942,
0... |
func (_SimpleMultiSig *SimpleMultiSigCaller) NonceBucket(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _SimpleMultiSig.contract.Call(opts, out, "nonceBucket", arg0)
return *ret0, err
} | [
-0.7035881876945496,
1.2400747537612915,
1.0299129486083984,
0.18352289497852325,
-0.19121338427066803,
0.4068571925163269,
1.075538992881775,
-0.5603580474853516,
-0.09826331585645676,
-0.30186551809310913,
-0.5995345711708069,
-0.4688709080219269,
-0.8749265670776367,
0.8799317479133606,... |
func (_SimpleMultiSig *SimpleMultiSigSession) NonceBucket(arg0 *big.Int) (*big.Int, error) {
return _SimpleMultiSig.Contract.NonceBucket(&_SimpleMultiSig.CallOpts, arg0)
} | [
-0.732477605342865,
1.4619803428649902,
0.7631589770317078,
0.18749350309371948,
-0.24537184834480286,
0.25448763370513916,
1.1021779775619507,
-0.93739253282547,
-0.003044110257178545,
-0.27911368012428284,
-0.4788479804992676,
-0.5266149640083313,
-1.0131816864013672,
1.0568405389785767,... |
func (_SimpleMultiSig *SimpleMultiSigCallerSession) NonceBucket(arg0 *big.Int) (*big.Int, error) {
return _SimpleMultiSig.Contract.NonceBucket(&_SimpleMultiSig.CallOpts, arg0)
} | [
-0.6923425793647766,
1.4190115928649902,
0.7474915981292725,
0.2586502134799957,
-0.2126239687204361,
0.21195001900196075,
0.9687982797622681,
-0.9165603518486023,
0.055905915796756744,
-0.31637412309646606,
-0.3527296781539917,
-0.5188534259796143,
-1.004930019378662,
0.9283478260040283,
... |
func (_SimpleMultiSig *SimpleMultiSigCaller) OwnersArr(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) {
var (
ret0 = new(common.Address)
)
out := ret0
err := _SimpleMultiSig.contract.Call(opts, out, "ownersArr", arg0)
return *ret0, err
} | [
-1.1890833377838135,
0.5210074782371521,
0.766335666179657,
0.8321446180343628,
-0.38987892866134644,
0.20643797516822815,
0.9052408933639526,
-0.8706547617912292,
0.3481746315956116,
-0.4716462790966034,
0.213607519865036,
0.8095226883888245,
-0.7087669372558594,
0.8672333359718323,
0.3... |
func (_SimpleMultiSig *SimpleMultiSigSession) OwnersArr(arg0 *big.Int) (common.Address, error) {
return _SimpleMultiSig.Contract.OwnersArr(&_SimpleMultiSig.CallOpts, arg0)
} | [
-1.0790103673934937,
0.4697381258010864,
0.3698883652687073,
0.6435522437095642,
-0.6135134696960449,
0.16207122802734375,
0.7447782754898071,
-0.7103095054626465,
0.36222606897354126,
-0.1914619505405426,
0.45217227935791016,
0.6765761375427246,
-0.8022840619087219,
0.9418026804924011,
... |
func (_SimpleMultiSig *SimpleMultiSigCallerSession) OwnersArr(arg0 *big.Int) (common.Address, error) {
return _SimpleMultiSig.Contract.OwnersArr(&_SimpleMultiSig.CallOpts, arg0)
} | [
-0.9311807751655579,
0.5045033693313599,
0.3308175802230835,
0.6941121816635132,
-0.5793753266334534,
0.1659730225801468,
0.6990681290626526,
-0.6619606018066406,
0.3673437535762787,
-0.15370962023735046,
0.5407880544662476,
0.5915374159812927,
-0.8321648836135864,
0.8730264902114868,
0.... |
func (_SimpleMultiSig *SimpleMultiSigCaller) Threshold(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _SimpleMultiSig.contract.Call(opts, out, "threshold")
return *ret0, err
} | [
-0.180129274725914,
1.1900006532669067,
0.7180896997451782,
0.894834578037262,
-0.37717241048812866,
-0.0206224974244833,
0.3395264744758606,
-0.2002979815006256,
0.48397043347358704,
-0.3326748013496399,
-1.1521544456481934,
0.5005064606666565,
-1.057353138923645,
0.0975947231054306,
0.... |
func (_SimpleMultiSig *SimpleMultiSigSession) Threshold() (*big.Int, error) {
return _SimpleMultiSig.Contract.Threshold(&_SimpleMultiSig.CallOpts)
} | [
-0.2763720750808716,
1.4997289180755615,
0.5158255100250244,
0.6604043841362,
-0.4373653531074524,
-0.267477810382843,
0.23041775822639465,
-0.4657200872898102,
0.8216271996498108,
-0.17001990973949432,
-0.6612375378608704,
0.13896268606185913,
-1.1852072477340698,
0.2972433567047119,
0.... |
func (_SimpleMultiSig *SimpleMultiSigCallerSession) Threshold() (*big.Int, error) {
return _SimpleMultiSig.Contract.Threshold(&_SimpleMultiSig.CallOpts)
} | [
-0.0693979263305664,
1.58821702003479,
0.5092662572860718,
0.7582356333732605,
-0.4271145164966583,
-0.18579170107841492,
0.06954479962587357,
-0.3537670969963074,
0.8342540860176086,
-0.2264065146446228,
-0.4691494107246399,
0.11182664334774017,
-1.1647003889083862,
0.1081252172589302,
... |
func (_SimpleMultiSig *SimpleMultiSigTransactor) Execute(opts *bind.TransactOpts, bucketIdx uint16, expireTime *big.Int, sigV []uint8, sigR [][32]byte, sigS [][32]byte, destination common.Address, value *big.Int, data []byte, executor common.Address, gasLimit *big.Int) (*types.Transaction, error) {
return _SimpleMulti... | [
-0.4864910840988159,
0.814941942691803,
0.7505947351455688,
0.21047601103782654,
0.3904256820678711,
-0.29683157801628113,
-0.7228001952171326,
-0.42766740918159485,
-0.29514890909194946,
0.4066825211048126,
-0.5889491438865662,
-0.46471738815307617,
0.011678662151098251,
-0.91183674335479... |
func (_SimpleMultiSig *SimpleMultiSigSession) Execute(bucketIdx uint16, expireTime *big.Int, sigV []uint8, sigR [][32]byte, sigS [][32]byte, destination common.Address, value *big.Int, data []byte, executor common.Address, gasLimit *big.Int) (*types.Transaction, error) {
return _SimpleMultiSig.Contract.Execute(&_Simpl... | [
-0.41596418619155884,
0.6775615215301514,
0.7419276237487793,
0.18435758352279663,
0.3211378753185272,
-0.42414459586143494,
-0.7399410605430603,
-0.4942915737628937,
-0.26275408267974854,
0.40378034114837646,
-0.7792837619781494,
-0.6261979341506958,
-0.07543778419494629,
-0.9401816129684... |
func (_SimpleMultiSig *SimpleMultiSigTransactorSession) Execute(bucketIdx uint16, expireTime *big.Int, sigV []uint8, sigR [][32]byte, sigS [][32]byte, destination common.Address, value *big.Int, data []byte, executor common.Address, gasLimit *big.Int) (*types.Transaction, error) {
return _SimpleMultiSig.Contract.Execu... | [
-0.40226489305496216,
0.6820122003555298,
0.7375263571739197,
0.16910506784915924,
0.3706617057323456,
-0.44971320033073425,
-0.7517925500869751,
-0.5451503992080688,
-0.28512465953826904,
0.32485896348953247,
-0.7161797285079956,
-0.6266568899154663,
-0.005908046383410692,
-0.940909624099... |
func (_SimpleMultiSig *SimpleMultiSigTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error) {
return _SimpleMultiSig.contract.RawTransact(opts, calldata)
} | [
-0.3815475106239319,
1.339837670326233,
0.7439323663711548,
-0.2821640074253082,
-0.7177683115005493,
-0.1589949131011963,
-0.44075140357017517,
-0.7880508899688721,
0.9863878488540649,
0.010434184223413467,
-0.3764835298061371,
-0.18576888740062714,
-0.7336349487304688,
-0.412233144044876... |
func (_SimpleMultiSig *SimpleMultiSigSession) Fallback(calldata []byte) (*types.Transaction, error) {
return _SimpleMultiSig.Contract.Fallback(&_SimpleMultiSig.TransactOpts, calldata)
} | [
0.14745073020458221,
1.2387588024139404,
0.5342922210693359,
0.1130267083644867,
-0.3818056881427765,
-0.41046643257141113,
-0.24077796936035156,
-0.9301727414131165,
0.9500943422317505,
0.1672532558441162,
-0.4751810133457184,
-0.6498028039932251,
-1.221874713897705,
-0.17481251060962677,... |
func (_SimpleMultiSig *SimpleMultiSigTransactorSession) Fallback(calldata []byte) (*types.Transaction, error) {
return _SimpleMultiSig.Contract.Fallback(&_SimpleMultiSig.TransactOpts, calldata)
} | [
0.12944675981998444,
1.136168360710144,
0.48970869183540344,
-0.03952223062515259,
-0.22886361181735992,
-0.460615873336792,
-0.31409937143325806,
-1.0775907039642334,
0.9183543920516968,
0.23584188520908356,
-0.3921198844909668,
-0.7405738234519958,
-1.1201893091201782,
-0.313849866390228... |
func (it *SimpleMultiSigDepositIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.37545210123062134,
0.2366836816072464,
0.13709008693695068,
-0.17759275436401367,
-1.028810977935791,
0.797103226184845,
-0.05174349993467331,
-0.08422812819480896,
-0.6612505912780762,
-0.13279509544372559,
0.21606792509555817,
-0.5021417737007141,
-0.6579731702804565,
0.752573251724243... |
func (_SimpleMultiSig *SimpleMultiSigFilterer) FilterDeposit(opts *bind.FilterOpts, _from []common.Address) (*SimpleMultiSigDepositIterator, error) {
var _fromRule []interface{}
for _, _fromItem := range _from {
_fromRule = append(_fromRule, _fromItem)
}
logs, sub, err := _SimpleMultiSig.contract.FilterLogs(opt... | [
-0.5915504693984985,
0.2555999457836151,
0.8011834621429443,
0.026949046179652214,
-0.9272232055664062,
0.33959636092185974,
0.7095192074775696,
-0.09418676793575287,
-0.24363335967063904,
0.43236443400382996,
0.5266785621643066,
-0.15456265211105347,
0.045119885355234146,
0.27166342735290... |
func (_SimpleMultiSig *SimpleMultiSigFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SimpleMultiSigDeposit, _from []common.Address) (event.Subscription, error) {
var _fromRule []interface{}
for _, _fromItem := range _from {
_fromRule = append(_fromRule, _fromItem)
}
logs, sub, err := _SimpleMultiSig.c... | [
0.13934671878814697,
-0.34425267577171326,
0.8329430222511292,
-0.2579447329044342,
-0.5903515219688416,
-0.1022220253944397,
0.7503004670143127,
-0.5025113821029663,
-0.46020498871803284,
-0.04082002863287926,
-0.20554211735725403,
0.12218979001045227,
0.4843869209289551,
0.16246370971202... |
func (_SimpleMultiSig *SimpleMultiSigFilterer) ParseDeposit(log types.Log) (*SimpleMultiSigDeposit, error) {
event := new(SimpleMultiSigDeposit)
if err := _SimpleMultiSig.contract.UnpackLog(event, "Deposit", log); err != nil {
return nil, err
}
return event, nil
} | [
0.23204730451107025,
0.37131309509277344,
0.40315568447113037,
-0.7440100312232971,
-0.6605311036109924,
-0.24401994049549103,
0.750130295753479,
-0.29485246539115906,
0.5032609701156616,
-0.3316034972667694,
-0.6149745583534241,
-1.0073659420013428,
-0.03367123007774353,
-0.06079769879579... |
func (it *SimpleMultiSigExecuteIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.7058948278427124,
0.5167461037635803,
0.2476578801870346,
0.40106022357940674,
-0.9984356760978699,
0.5880640149116516,
-0.03981136158108711,
-0.27898070216178894,
-0.7438969016075134,
-0.29817095398902893,
0.42067715525627136,
0.35783350467681885,
-0.9719255566596985,
1.1949985027313232... |
func (_SimpleMultiSig *SimpleMultiSigFilterer) FilterExecute(opts *bind.FilterOpts) (*SimpleMultiSigExecuteIterator, error) {
logs, sub, err := _SimpleMultiSig.contract.FilterLogs(opts, "Execute")
if err != nil {
return nil, err
}
return &SimpleMultiSigExecuteIterator{contract: _SimpleMultiSig.contract, event: "... | [
0.33096417784690857,
0.057680387049913406,
0.8564383387565613,
1.2216413021087646,
-0.17475742101669312,
0.07042540609836578,
-0.1848202347755432,
-0.20646247267723083,
0.2758180499076843,
0.9016857743263245,
0.4371175765991211,
0.3184809684753418,
-0.7235914468765259,
-0.5147591233253479,... |
func (_SimpleMultiSig *SimpleMultiSigFilterer) WatchExecute(opts *bind.WatchOpts, sink chan<- *SimpleMultiSigExecute) (event.Subscription, error) {
logs, sub, err := _SimpleMultiSig.contract.WatchLogs(opts, "Execute")
if err != nil {
return nil, err
}
return event.NewSubscription(func(quit <-chan struct{}) error... | [
0.7792170643806458,
-0.31896907091140747,
0.9643537402153015,
0.38643696904182434,
-0.03653981164097786,
-0.5865256190299988,
-0.04111188277602196,
-0.4263284504413605,
-0.0995180532336235,
0.28249576687812805,
-0.041308965533971786,
0.5953469276428223,
-0.18545320630073547,
0.048737950623... |
func (_SimpleMultiSig *SimpleMultiSigFilterer) ParseExecute(log types.Log) (*SimpleMultiSigExecute, error) {
event := new(SimpleMultiSigExecute)
if err := _SimpleMultiSig.contract.UnpackLog(event, "Execute", log); err != nil {
return nil, err
}
return event, nil
} | [
0.40668657422065735,
0.4875711500644684,
0.6601089239120483,
0.4083808958530426,
-0.4865759313106537,
-0.8956435918807983,
-0.11012344807386398,
-0.451943039894104,
0.11039719730615616,
0.5943278074264526,
-0.48589465022087097,
-0.3772110044956207,
-0.46457353234291077,
-0.2311809808015823... |
func (s InitiateDeviceClaimInput) String() string {
return awsutil.Prettify(s)
} | [
0.5732987523078918,
0.15873435139656067,
0.11615750193595886,
-0.7775384783744812,
-0.8401914834976196,
1.037128210067749,
0.259107381105423,
-0.09443750232458115,
0.05460767820477486,
-0.2609802186489105,
0.3774363398551941,
1.2418049573898315,
0.06171201169490814,
-0.6501908302307129,
... |
func (s *InitiateDeviceClaimInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "InitiateDeviceClaimInput"}
if s.DeviceId == nil {
invalidParams.Add(aws.NewErrParamRequired("DeviceId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
} | [
0.3369341492652893,
0.44277337193489075,
0.41047534346580505,
-0.03139287605881691,
-0.6061322689056396,
0.6183986067771912,
0.23619301617145538,
0.7203575968742371,
-0.043315157294273376,
-0.17296329140663147,
0.8804149627685547,
0.6492480039596558,
-0.9432589411735535,
0.9326496124267578... |
func (s InitiateDeviceClaimInput) MarshalFields(e protocol.FieldEncoder) error {
e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/json"), protocol.Metadata{})
if s.DeviceId != nil {
v := *s.DeviceId
metadata := protocol.Metadata{}
e.SetValue(protocol.PathTarget, "deviceId", ... | [
0.5458437204360962,
0.7675427198410034,
0.23847270011901855,
-0.8624987602233887,
-0.27383267879486084,
0.7350794672966003,
0.058811161667108536,
0.5219194293022156,
0.142863467335701,
-0.06172329559922218,
0.16203680634498596,
0.5013588666915894,
-0.7547497749328613,
-0.11995116621255875,... |
func (s InitiateDeviceClaimOutput) String() string {
return awsutil.Prettify(s)
} | [
1.125037431716919,
-0.2904220223426819,
0.09792951494455338,
-0.4590863287448883,
-1.0647248029708862,
0.2880285680294037,
0.29666444659233093,
0.1285628229379654,
-0.5960351824760437,
-0.13993707299232483,
0.494412899017334,
0.977790892124176,
0.11935307830572128,
-0.7479655146598816,
1... |
func (s InitiateDeviceClaimOutput) MarshalFields(e protocol.FieldEncoder) error {
if s.State != nil {
v := *s.State
metadata := protocol.Metadata{}
e.SetValue(protocol.BodyTarget, "state", protocol.QuotedValue{ValueMarshaler: protocol.StringValue(v)}, metadata)
}
return nil
} | [
0.4799673557281494,
0.9185681343078613,
0.05195452645421028,
-1.163248896598816,
0.038982708007097244,
0.3539089858531952,
-0.27157750725746155,
0.5501576066017151,
0.09198842942714691,
0.014788137748837471,
-0.08340306580066681,
0.19631962478160858,
-0.6804850697517395,
-0.239410147070884... |
func (r InitiateDeviceClaimRequest) Send(ctx context.Context) (*InitiateDeviceClaimResponse, error) {
r.Request.SetContext(ctx)
err := r.Request.Send()
if err != nil {
return nil, err
}
resp := &InitiateDeviceClaimResponse{
InitiateDeviceClaimOutput: r.Request.Data.(*InitiateDeviceClaimOutput),
response: ... | [
-0.43221816420555115,
0.038458921015262604,
0.2870061993598938,
-0.07914530485868454,
-0.4905990958213806,
0.04906333237886429,
-0.15373411774635315,
0.05025578290224075,
0.14288611710071564,
-0.12914468348026276,
0.023789528757333755,
1.1365675926208496,
-0.71331787109375,
-0.203139811754... |
func (r *InitiateDeviceClaimResponse) SDKResponseMetdata() *aws.Response {
return r.response
} | [
0.7471126914024353,
-0.4322834014892578,
0.26605740189552307,
-0.5430784821510315,
-0.370412677526474,
0.4013715982437134,
-0.758971095085144,
0.10668221861124039,
0.8812380433082581,
-0.5160448551177979,
-0.002668033353984356,
0.7144762277603149,
-0.22737345099449158,
-1.5823183059692383,... |
func New(relDb *sql.DB, driver string, offset uint64) (*PostSvc, error) {
db, err := postdb.New(relDb, driver, offset)
if err != nil {
return nil, err
}
s := PostSvc{
db: db,
}
return &s, nil
} | [
0.7226725816726685,
-0.060713496059179306,
0.4596419036388397,
0.024874864146113396,
-0.9008672833442688,
0.5844041109085083,
-0.6623967289924622,
-0.14430421590805054,
-0.8321348428726196,
-0.5163958668708801,
-0.2892555296421051,
-0.3475436270236969,
-0.19478638470172882,
1.0577794313430... |
func (s *PostSvc) AddType(ctx context.Context, req *pb.AddTypeReq) (*pb.TypeResp, error) {
return s.db.AddType(ctx, req)
} | [
-0.64788419008255,
0.9968735575675964,
0.6760522723197937,
0.9669014811515808,
1.0486910343170166,
0.1198001578450203,
-0.5677098631858826,
-0.6561895608901978,
0.5459011793136597,
-0.7406010031700134,
0.25160256028175354,
-0.5031392574310303,
-1.8007975816726685,
1.1428556442260742,
-0.... |
func (s *PostSvc) FndTypes(ctx context.Context, req *pb.FndTypesReq) (*pb.TypesResp, error) {
return s.db.FndTypes(ctx, req)
} | [
-1.240801453590393,
0.4221261739730835,
0.21967554092407227,
-0.3553743064403534,
0.3728616237640381,
-0.5480302572250366,
-0.6318856477737427,
-1.1846153736114502,
-0.5417885780334473,
-0.9936872124671936,
0.0639684647321701,
-0.15890221297740936,
-1.0014370679855347,
1.072453260421753,
... |
func (s *PostSvc) AddPost(ctx context.Context, req *pb.AddPostReq) (*pb.PostResp, error) {
return s.db.AddPost(ctx, req)
} | [
-0.654455840587616,
0.7857406139373779,
0.4991520047187805,
1.2531485557556152,
0.6898313164710999,
0.24992118775844574,
-0.9398627281188965,
-0.15957856178283691,
0.6419373154640198,
-1.4633862972259521,
0.2435423731803894,
-1.0334908962249756,
-1.5366401672363281,
0.4259553551673889,
-... |
func (s *PostSvc) FndPosts(ctx context.Context, req *pb.FndPostsReq) (*pb.PostsResp, error) {
return s.db.FndPosts(ctx, req)
} | [
-0.7496943473815918,
0.583231508731842,
0.28421902656555176,
-0.11661558598279953,
0.19855110347270966,
-0.8858330845832825,
-0.35045477747917175,
-0.8805484175682068,
-0.5762691497802734,
-1.0128707885742188,
-0.04006590321660042,
-0.2711926996707916,
-1.0110539197921753,
1.09168100357055... |
func (s *PostSvc) OvrPost(ctx context.Context, req *pb.OvrPostReq) (*pb.PostResp, error) {
return s.db.OvrPost(ctx, req)
} | [
-0.4488295316696167,
0.35485023260116577,
0.6124892234802246,
-0.13158416748046875,
-0.2142205685377121,
-0.3805774748325348,
-0.8824455738067627,
-0.616125762462616,
0.903773307800293,
0.4632427394390106,
-0.20615758001804352,
-0.6339866518974304,
-1.3966078758239746,
-0.5427575707435608,... |
func (s *PostSvc) RmvPost(ctx context.Context, req *pb.RmvPostReq) (*pb.RmvPostResp, error) {
return s.db.RmvPost(ctx, req)
} | [
-0.3713996112346649,
0.22084327042102814,
0.4621429145336151,
0.6515510678291321,
-0.6394206881523132,
-0.27773311734199524,
-1.0775235891342163,
0.05468207597732544,
0.6683956384658813,
0.30433744192123413,
-0.39956381916999817,
-0.6986889243125916,
-1.465663194656372,
0.0986187681555748,... |
func (s *PostSvc) RegisterWithGRPCServer(g *grpc.Server) error {
pb.RegisterPostServer(g, s)
return nil
} | [
-0.9565311670303345,
-0.1774335354566574,
0.4334857165813446,
-0.08215884119272232,
0.2431756556034088,
0.4629741311073303,
-0.23036709427833557,
-1.055653691291809,
-0.5299310088157654,
-0.242001011967659,
-0.9573991894721985,
-0.508019745349884,
-0.9784116744995117,
1.027909278869629,
... |
func New(options ...Option) *Logger {
res := Logger{
now: time.Now,
fatal: func() { os.Exit(1) },
stdout: os.Stdout,
stderr: os.Stderr,
callerDepth: 0,
mapper: nopMapper,
reTrace: reTraceDefault,
}
for _, opt := range options {
opt(&res)
}
if res.format != "" {
... | [
0.2266201376914978,
-0.8132852911949158,
0.6998831629753113,
-0.03666369616985321,
-0.5517929792404175,
-0.8340682983398438,
-0.5462868213653564,
-0.422595739364624,
-0.6116309762001038,
-0.21073228120803833,
0.12919460237026215,
-0.27172914147377014,
-0.3599162697792053,
1.145364642143249... |
func (l *Logger) Logf(format string, args ...interface{}) {
// to align call depth between (*Logger).Logf() and, for example, Printf()
l.logf(format, args...)
} | [
0.2896862328052521,
-0.5333495140075684,
0.5528724193572998,
0.49274447560310364,
0.32199233770370483,
0.2336130440235138,
0.03461049497127533,
0.23103535175323486,
-0.2192050963640213,
-1.3086886405944824,
-0.12098094820976257,
0.4711619019508362,
0.12636159360408783,
1.7218761444091797,
... |
func (l *Logger) reportCaller(calldepth int) (res callerInfo) {
// caller gets file, line number abd function name via runtime.Callers
// file looks like /go/src/github.com/go-pkgz/lgr/logger.go
// file is an empty string if not known.
// funcName looks like:
// main.Test
// foo/bar.Test
// foo/bar.Test.f... | [
-0.13755185902118683,
-0.47779691219329834,
0.8715934753417969,
-0.09726665169000626,
-0.40934765338897705,
-0.6226869821548462,
0.4696306884288788,
-0.424327552318573,
-0.3383293151855469,
-0.42017579078674316,
-0.26549214124679565,
-0.30328142642974854,
-0.3888111412525177,
1.30478334426... |
func (l *Logger) formatWithOptions(elems layout) (res string) {
orElse := func(flag bool, fnTrue func() string, fnFalse func() string) string {
if flag {
return fnTrue()
}
return fnFalse()
}
nothing := func() string { return "" }
parts := make([]string, 0, 4)
parts = append(
parts,
l.mapper.TimeFun... | [
0.18920613825321198,
-0.38792577385902405,
0.7774216532707214,
-0.2731853425502777,
-0.3696536421775818,
-0.4370647668838501,
-0.7135868072509766,
-1.0944452285766602,
0.5276277661323547,
-0.20061518251895905,
0.49824202060699463,
-0.6217692494392395,
-0.013837930746376514,
0.7780158519744... |
func (l *Logger) formatLevel(lv string) string {
spaces := ""
if len(lv) == 4 {
spaces = " "
}
return lv + spaces
} | [
0.4031867980957031,
-0.48938584327697754,
0.3869927227497101,
-0.27316829562187195,
0.008041142486035824,
0.8470549583435059,
-0.19424885511398315,
-0.6657626628875732,
0.760543942451477,
-0.3012025058269501,
0.7260124683380127,
0.14231082797050476,
-0.6621168255805969,
1.6649589538574219,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.