text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (e *Expr) String() string {
return e.source
} | [
-0.049436867237091064,
-0.5066652297973633,
-0.046323321759700775,
-0.8405526280403137,
-0.9916072487831116,
0.38940754532814026,
0.8842270374298096,
0.44746991991996765,
0.3798582851886749,
-0.0321415551006794,
-0.13697750866413116,
0.9521616101264954,
0.005762474611401558,
-0.04611968994... |
func WithFilter(filter func(filename string) bool) Option {
return func(c *config) {
c.filter = filter
}
} | [
0.25952479243278503,
0.12761938571929932,
0.3270479440689087,
0.09229039400815964,
-0.9611082673072815,
-0.09065260738134384,
0.28501540422439575,
0.1891334354877472,
-0.6654088497161865,
0.10647915303707123,
0.08190765231847763,
-0.1316603124141693,
0.8117493987083435,
0.44877222180366516... |
func WithS3(api *s3.S3) Option {
return func(c *config) {
c.api = api
}
} | [
0.15021857619285583,
-0.22614701092243195,
0.33916008472442627,
-0.14100737869739532,
-0.4817034900188446,
0.73881995677948,
-0.2640111744403839,
0.2579556405544281,
1.1779932975769043,
-0.19210737943649292,
-0.8486416935920715,
-0.4829622209072113,
0.04108100384473801,
-0.2082710564136505... |
func (r *Replayer) Close() error {
return errors.New("implement me")
} | [
0.11914031207561493,
-0.35913336277008057,
0.5519700646400452,
0.09346620738506317,
-0.8007525205612183,
0.6356326341629028,
0.747191309928894,
-0.724380373954773,
-0.3613865375518799,
-0.09374570846557617,
0.27797240018844604,
0.31508827209472656,
-0.6189248561859131,
0.9866310954093933,
... |
func (r *Replayer) ReadEvent() ([]byte, error) {
return nil, errors.New("implement me")
} | [
0.368344783782959,
-0.48708462715148926,
0.5988367199897766,
0.4738110303878784,
-0.01136108860373497,
0.3015214204788208,
0.23657259345054626,
-0.030271727591753006,
0.4356767535209656,
-0.48619744181632996,
-0.33157914876937866,
0.7678462266921997,
-0.03893692418932915,
0.031242555007338... |
func New(s3uri string, opts ...Option) *Replayer {
c := &config{
filter: func(filename string) bool { return true },
}
for _, opt := range opts {
opt(c)
}
panic("implement me")
} | [
0.11788177490234375,
-0.19071334600448608,
0.5308448076248169,
0.05310323089361191,
-0.6760051250457764,
-0.24354664981365204,
-0.4390853941440582,
0.45472007989883423,
-0.7043257355690002,
0.3117271363735199,
-0.22708141803741455,
0.5426049828529358,
0.20988237857818604,
-0.46742451190948... |
func main() {
fmt.Println("Welcome Gophers ☺") //no semicolon
} | [
0.9913600087165833,
-0.011877685785293579,
0.40486863255500793,
0.4547140300273895,
0.1826958805322647,
1.1159640550613403,
0.20221593976020813,
0.6555278301239014,
-0.24135532975196838,
0.8270700573921204,
-0.6169533729553223,
0.4959149956703186,
-0.9946532249450684,
-0.9231113791465759,
... |
func (d Duration) Type() Type {
return durationType
} | [
-0.29121142625808716,
0.7259369492530823,
0.2504816949367523,
0.46286541223526,
0.06544145196676254,
0.7172235250473022,
0.9816727042198181,
-0.8862318992614746,
0.662108838558197,
0.42244184017181396,
0.12119932472705841,
0.6535096764564514,
-0.22539116442203522,
1.0254918336868286,
0.6... |
func (d Duration) GoValue() any {
return time.Duration(d)
} | [
-0.9295703768730164,
1.2918106317520142,
0.40764319896698,
0.03650256618857384,
-0.024740753695368767,
0.9567371606826782,
-0.6170749068260193,
-0.272556871175766,
-0.5084270238876343,
0.3032333254814148,
0.2777057886123657,
0.8264631628990173,
0.4279386103153229,
1.4711720943450928,
-0.... |
func (d Duration) Neg() (Value, error) {
n := int64(d)
if n == math.MinInt64 {
return nil, fmt.Errorf("-(%d) overflows duration", n)
}
return Duration(-n), nil
} | [
-0.9231762290000916,
1.510910987854004,
0.698499858379364,
0.6348331570625305,
-0.7190514802932739,
0.6933534741401672,
-0.3483157455921173,
-0.2933499217033386,
0.21150118112564087,
-0.20651325583457947,
0.28442293405532837,
0.5114626288414001,
0.8597245216369629,
0.6229047179222107,
0.... |
func (d Duration) Equal(v Value) (LogicalValue, error) {
if e, ok := v.GoValue().(time.Duration); ok {
return Bool(time.Duration(d) == e), nil
}
return Bool(false), ErrOperationNotDefined
} | [
-0.7971305251121521,
0.471506804227829,
0.5812674760818481,
0.5683212280273438,
0.025249497964978218,
0.573405385017395,
0.08154910057783127,
-0.22273564338684082,
-0.2238948941230774,
1.5512195825576782,
-0.5752753615379333,
0.21460884809494019,
0.24894550442695618,
0.6375564932823181,
... |
func (d Duration) Compare(v Value) (Value, error) {
if y, ok := v.GoValue().(time.Duration); ok {
x := time.Duration(d)
if x < y {
return Int(-1), nil
}
if x > y {
return Int(1), nil
}
return Int(0), nil
}
return nil, ErrOperationNotDefined
} | [
-1.189884901046753,
0.5796043872833252,
0.6624695658683777,
0.6242053508758545,
-0.520892322063446,
-0.18311887979507446,
0.26597803831100464,
-1.0178476572036743,
-0.3039020895957947,
0.5686708688735962,
0.3209242820739746,
0.006217653397470713,
0.24456661939620972,
1.1550638675689697,
... |
func (d Duration) Add(v Value) (Value, error) {
x := time.Duration(d)
switch y := v.GoValue().(type) {
case time.Duration:
return Duration(x + y), nil
case time.Time:
return Time(y.Add(x)), nil
}
return nil, ErrOperationNotDefined
} | [
-0.8893514275550842,
0.7231899499893188,
0.5577949285507202,
0.627781093120575,
-0.20103402435779572,
0.6280261874198914,
-0.081830695271492,
-0.7719211578369141,
0.9492366313934326,
0.7065682411193848,
0.5914216041564941,
0.8962098956108093,
0.46403807401657104,
0.7213757634162903,
0.52... |
func (d Duration) Sub(v Value) (Value, error) {
if y, ok := v.GoValue().(time.Duration); ok {
x := time.Duration(d)
return Duration(x - y), nil
}
return nil, ErrOperationNotDefined
} | [
-0.6875143647193909,
0.7743456959724426,
0.35336393117904663,
0.5241147875785828,
-1.3129808902740479,
0.42336907982826233,
0.4474567770957947,
-0.4467071294784546,
0.19367177784442902,
0.3294147551059723,
-0.39453646540641785,
0.548313319683075,
0.6240501999855042,
0.19857752323150635,
... |
func credentials() *centrifuge.Credentials {
// Never show secret to client of your application. Keep it on your application backend only.
secret := "secret"
// Application user ID.
user := "42"
// Current timestamp as string.
timestamp := centrifuge.Timestamp()
// Empty info.
info := ""
// Generate client tok... | [
0.6665635108947754,
-0.8183630108833313,
0.4543222486972809,
-0.11039315909147263,
-0.17020151019096375,
0.012747521512210369,
-0.7642954587936401,
-0.02942299097776413,
-0.5564947724342346,
-0.49507758021354675,
-0.34392014145851135,
-0.09701882302761078,
-0.15152764320373535,
-0.16147895... |
func RunController(host string) {
r := mux.NewRouter()
// album handler
r.HandleFunc("/api/v1/albums", albumPostHandler).Methods("POST")
r.HandleFunc("/api/v1/albums/{albumID}", albumDeleteHandler).Methods("DELETE")
r.HandleFunc("/api/v1/albums", albumGetHandler).Methods("GET")
// image handler
r.HandleFunc("/... | [
-0.14725008606910706,
-0.3171779215335846,
0.9744950532913208,
0.23661871254444122,
0.552806556224823,
0.5394352078437805,
0.8654584288597107,
0.36998996138572693,
-0.5136640667915344,
-1.063098669052124,
-0.27993810176849365,
0.334939181804657,
0.2370384782552719,
0.31072646379470825,
0... |
func cmdUid(source interface{}, params [][]byte) {
s, ok := source.(*server)
if !ok {
return
}
// Servers can only introduce users whose UID begins with their SID.
uid := string(params[7])
if len(uid) != 9 || uid[:3] != s.sid {
// Bad UID, kill.
irc.SendLine(s.local, from(nil), uid, "KILL", ":Bad UID")
r... | [
-0.5323873162269592,
0.624704897403717,
0.9874630570411682,
-0.21380868554115295,
0.3249947428703308,
0.10303784906864166,
0.24974238872528076,
-0.11664799600839615,
0.9152867794036865,
0.014305023476481438,
-0.9470199346542358,
1.0871742963790894,
-0.5134122967720032,
0.275981068611145,
... |
func cmdNick(source interface{}, params [][]byte) {
u, ok := source.(*core.User)
if !ok {
return
}
setNick(u.Owndata(), u, string(params[0]), -1)
} | [
-0.29542598128318787,
0.21652457118034363,
0.43195459246635437,
0.5609117746353149,
0.09489958733320236,
0.257882684469223,
0.7974929809570312,
-0.660362958908081,
-0.3048282861709595,
0.1535346955060959,
-0.5800026655197144,
0.6085795760154724,
-0.33886343240737915,
0.13943950831890106,
... |
func cmdQuit(source interface{}, params [][]byte) {
u, ok := source.(*core.User)
if !ok {
return
}
// Delete the user in question.
u.Delete(u.Owndata(), u, string(params[0]))
} | [
0.21111081540584564,
0.05464715138077736,
0.5061050653457642,
-0.18650396168231964,
0.42246323823928833,
0.23764386773109436,
0.7238421440124512,
-0.8323372006416321,
-0.05313253030180931,
-0.18319274485111237,
0.20378349721431732,
0.7806342840194702,
-0.10596761107444763,
-0.0845803320407... |
func cmdNotice(source interface{}, params [][]byte) {
// u is allowed to be nil here; it means a message from a server, which
// will be translated into a message from this server.
u, _ := source.(*core.User)
t := string(params[0])
// Get the origin of the message.
var origin interface{}
if u != nil {
origin... | [
-0.044542498886585236,
0.0885680541396141,
0.9642033576965332,
-0.5449845194816589,
0.325765997171402,
-0.5086785554885864,
0.6298293471336365,
-0.06194286793470383,
0.022164132446050644,
0.15612445771694183,
0.25600284337997437,
0.792684018611908,
0.1615181714296341,
0.3157733678817749,
... |
func setNick(origin interface{}, u *core.User, nick string, ts int64) bool {
// Set their nick.
// Keep trying until we succeed or lose in a collision.
for u.SetNick(origin, nick, ts) != nil {
// If we can get the colliding user...
if col := core.GetUserByNick(nick); col != nil {
// Get the nick timestamps... | [
-0.7045369744300842,
0.5012848973274231,
0.7550029158592224,
1.0195789337158203,
-0.4976447820663452,
-0.36891159415245056,
0.16074621677398682,
-0.43965643644332886,
-0.4062747359275818,
0.11071749031543732,
-0.7551195621490479,
-0.25604769587516785,
0.2961491644382477,
-0.928065001964569... |
func collideUser(u *core.User) bool {
// If we can change their nick to UID, do so.
perm, _ := perm.CheckNickPerm(me, u, u.ID())
if perm > -1e9 {
u.SetNick(me, u.ID(), -1)
return true
}
// If they are from this package and we have not registered them, we need to
// send their server a kill.
if u.Owner() ==... | [
-0.5071899890899658,
0.11804134398698807,
0.8513943552970886,
0.6971083283424377,
0.054782576858997345,
0.09812231361865997,
0.6590121984481812,
-0.40155094861984253,
0.4343007802963257,
0.053984202444553375,
-0.4195440411567688,
-0.18631193041801453,
-0.5677199959754944,
0.206943958997726... |
func newLinkRule(data *schema.ResourceData) *LinkRule {
return &LinkRule{
Key: data.Get("key").(string),
Name: data.Get("name").(string),
Description: data.Get("description").(string),
LinkTypeKey: data.Get("link_type_key").(string),
StartItemTypeKey: data.Get("start_item_t... | [
-0.1969619244337082,
-0.8039436936378479,
0.3656890094280243,
-0.65106600522995,
-0.03118079900741577,
0.44498708844184875,
-1.190833330154419,
0.8686354160308838,
0.05047573149204254,
0.10031549632549286,
-0.056440260261297226,
0.7793087363243103,
-0.9932494163513184,
-0.2783840298652649,... |
func populateLinkRule(data *schema.ResourceData, linkRule *LinkRule) {
data.SetId(linkRule.Key)
data.Set("key", linkRule.Key)
data.Set("name", linkRule.Name)
data.Set("description", linkRule.Description)
data.Set("link_type_key", linkRule.LinkTypeKey)
data.Set("start_item_type_key", linkRule.StartItemTypeKey)
da... | [
-0.3504348695278168,
-0.1317853182554245,
0.7526187896728516,
-1.3189345598220825,
1.1695209741592407,
0.8070611953735352,
-0.6525606513023376,
0.8495002388954163,
0.014201771467924118,
0.08499214798212051,
-0.3325195610523224,
0.660929262638092,
-0.3226092457771301,
0.3861192762851715,
... |
func sortBookReviews(brs grepbook.BookReviewArray) (ongoing, done grepbook.BookReviewArray) {
og, dn := grepbook.BookReviewArray{}, grepbook.BookReviewArray{}
for _, v := range brs {
if v.IsOngoing {
og = append(og, v)
} else {
dn = append(dn, v)
}
}
sort.Sort(sort.Reverse(og))
sort.Sort(sort.Reverse(d... | [
-1.148000717163086,
-0.8998245000839233,
0.6680078506469727,
0.30556192994117737,
-0.07034464925527573,
0.5663840770721436,
-0.773902952671051,
-0.324008047580719,
-0.9576612710952759,
0.1761118769645691,
0.5100064873695374,
0.36447980999946594,
-0.9443241357803345,
0.4844023585319519,
-... |
func (client *Client) CreateEvaluateTask(request *CreateEvaluateTaskRequest) (response *CreateEvaluateTaskResponse, err error) {
response = CreateCreateEvaluateTaskResponse()
err = client.DoAction(request, response)
return
} | [
-0.8710854649543762,
0.21041768789291382,
0.43413516879081726,
0.6406559944152832,
0.10867637395858765,
0.7009921073913574,
0.10802201181650162,
-0.32145193219184875,
-0.159112349152565,
-0.2817818224430084,
-0.4189499020576477,
1.0696101188659668,
-0.6208150386810303,
0.6708551645278931,
... |
func (client *Client) CreateEvaluateTaskWithChan(request *CreateEvaluateTaskRequest) (<-chan *CreateEvaluateTaskResponse, <-chan error) {
responseChan := make(chan *CreateEvaluateTaskResponse, 1)
errChan := make(chan error, 1)
err := client.AddAsyncTask(func() {
defer close(responseChan)
defer close(errChan)
r... | [
-0.7232661247253418,
-0.1661895364522934,
0.4192117154598236,
-0.2889077961444855,
0.13488826155662537,
0.7561295628547668,
-0.1199304535984993,
-1.0457217693328857,
-0.05898060277104378,
0.052346933633089066,
-0.1538984775543213,
0.7376270294189453,
-0.269392192363739,
0.9223249554634094,... |
func (client *Client) CreateEvaluateTaskWithCallback(request *CreateEvaluateTaskRequest, callback func(response *CreateEvaluateTaskResponse, err error)) <-chan int {
result := make(chan int, 1)
err := client.AddAsyncTask(func() {
var response *CreateEvaluateTaskResponse
var err error
defer close(result)
respo... | [
-0.46447890996932983,
0.3237304389476776,
0.5514042973518372,
0.03919996693730354,
0.11097372323274612,
0.4773860573768616,
0.09724365919828415,
-0.869483470916748,
0.34222128987312317,
-0.055183734744787216,
0.2978125214576721,
0.12777909636497498,
0.0015876076649874449,
1.131400227546692... |
func CreateCreateEvaluateTaskRequest() (request *CreateEvaluateTaskRequest) {
request = &CreateEvaluateTaskRequest{
RpcRequest: &requests.RpcRequest{},
}
request.InitWithApiInfo("Drds", "2019-01-23", "CreateEvaluateTask", "Drds", "openAPI")
return
} | [
-0.2821508049964905,
-0.0003785335866268724,
0.3850780129432678,
0.3949701488018036,
-0.15396180748939514,
0.9660540819168091,
-0.14536581933498383,
-0.2216607630252838,
-0.7701947093009949,
0.06299705058336258,
0.32147783041000366,
1.3856042623519897,
-0.3635290563106537,
1.12634873390197... |
func CreateCreateEvaluateTaskResponse() (response *CreateEvaluateTaskResponse) {
response = &CreateEvaluateTaskResponse{
BaseResponse: &responses.BaseResponse{},
}
return
} | [
-0.1521935909986496,
-0.16452868282794952,
0.08005066215991974,
0.4244897961616516,
0.04324308782815933,
0.5025578141212463,
0.481406033039093,
-0.6864439845085144,
-0.2665974795818329,
-0.1682475209236145,
-0.3246590495109558,
-0.20766618847846985,
-0.4030473232269287,
1.3817811012268066,... |
func (c Config) Validate() error {
if c.PublicKeyPath == "" {
return errors.New("Public Key Path is required")
}
return nil
} | [
0.08334634453058243,
0.9730146527290344,
0.19036179780960083,
0.9054610729217529,
0.3916611671447754,
0.7064158320426941,
-0.21313022077083588,
0.37304580211639404,
-1.1472506523132324,
0.6077646613121033,
0.08519326895475388,
-0.5981273651123047,
-0.9501714706420898,
1.4274317026138306,
... |
func Retry(ctx context.Context, b Backoff, f func() error, c chan<- error) error {
b.Reset()
var timer *time.Timer
for {
err := f()
if err == nil {
return nil
}
next := b.Next()
if next == Stop {
return err
}
if timer == nil {
timer = time.NewTimer(next)
defer timer.Stop()
} else {
/... | [
0.6919320225715637,
0.2666669487953186,
0.7203373908996582,
-0.17113669216632843,
0.009486987255513668,
-0.4895004332065582,
-0.7083331942558289,
-0.9721981883049011,
-0.34167659282684326,
0.7318465709686279,
0.5486359596252441,
0.23316419124603271,
-0.674515962600708,
-0.8935679793357849,... |
func (sanitize *sanitize) isSanitizerExplicitlyDisabled(t cc.SanitizerType) bool {
if sanitize == nil {
return false
}
if Bool(sanitize.Properties.Sanitize.Never) {
return true
}
sanitizerVal := sanitize.getSanitizerBoolPtr(t)
return sanitizerVal != nil && *sanitizerVal == false
} | [
-0.668437123298645,
-0.28929007053375244,
0.267319917678833,
0.6639313697814941,
-0.5283342599868774,
0.38517844676971436,
0.13532574474811554,
0.6448187232017517,
0.14395654201507568,
0.17234769463539124,
-0.6189041137695312,
-0.6395801901817322,
-0.6617846488952637,
1.5835371017456055,
... |
func (sanitize *sanitize) isSanitizerEnabled(t cc.SanitizerType) bool {
if sanitize == nil || !sanitize.Properties.SanitizerEnabled {
return false
}
sanitizerVal := sanitize.getSanitizerBoolPtr(t)
return sanitizerVal != nil && *sanitizerVal == true
} | [
-0.3718724250793457,
-0.1375598907470703,
0.23197178542613983,
1.1894423961639404,
-0.11533288657665253,
-0.6447319984436035,
0.13502594828605652,
0.47919178009033203,
-0.030508829280734062,
0.6560189127922058,
-1.360804796218872,
-0.36610981822013855,
-0.7889110445976257,
1.39426684379577... |
func RunAdmin(option *AdminOption) {
conn, err := grpc.Dial(*option.Master, grpc.WithInsecure())
if err != nil {
glog.Fatalf("fail to dial %v: %v", *option.Master, err)
}
defer conn.Close()
masterClient := pb.NewVastoMasterClient(conn)
var a = &administer{
option: option,
masterClient: masterClient,... | [
-0.09922986477613449,
0.23592767119407654,
0.6597094535827637,
0.14711406826972961,
0.11042312532663345,
0.549856960773468,
-0.04355931654572487,
-0.46898195147514343,
0.3131786584854126,
-0.1392499804496765,
0.07412800937891006,
1.1299333572387695,
-0.8935748934745789,
-0.0365702770650386... |
func New(p spi.Port, dc gpio.PinOut, rst gpio.PinOut, cs gpio.PinIn, o *Opts) (*Dev, error) {
c, err := p.Connect(1000*physic.KiloHertz, spi.Mode0, 8)
if err != nil {
return nil, errors.New("could not connect to device")
}
d := &Dev{
c: c,
dc: dc,
rst: rst,
cs: cs,
}
cmd := [...]byte{
byte(o.Bi... | [
0.5089576244354248,
0.104902483522892,
0.5464206337928772,
0.10276714712381363,
-0.6895132064819336,
0.23476184904575348,
0.24552971124649048,
-0.7537512183189392,
0.3942757844924927,
-0.31264275312423706,
-0.04793141037225723,
0.5229276418685913,
0.407577246427536,
0.2589312791824341,
0... |
func (d *Dev) Halt() error {
return d.reset()
} | [
0.24332353472709656,
0.7460967898368835,
0.24674081802368164,
0.5130269527435303,
0.39902856945991516,
1.3356034755706787,
0.5937408804893494,
-1.2398583889007568,
0.5033336281776428,
-0.2593092620372772,
0.42799830436706543,
1.2354156970977783,
-0.06737878173589706,
-0.256777822971344,
... |
func (d *Dev) SetContrast(value byte) error {
return d.sendCommand([]byte{setContrast, value})
} | [
-0.21116161346435547,
0.08387187123298645,
0.39584359526634216,
-0.17915964126586914,
0.3354234993457794,
0.70976322889328,
0.556130588054657,
-0.4154013991355896,
0.4417298436164856,
0.06364323943853378,
-0.5512170791625977,
0.007643194403499365,
-0.6530327200889587,
0.759226381778717,
... |
func (d *Dev) SetPixel(x, y int, active bool) {
offset := (y / 8 * Width) + x
pageAddress := y % 8
d.pixels[offset] &= ^(1 << byte(pageAddress))
d.pixels[offset] |= bTob(active) & 1 << byte(pageAddress)
} | [
-0.4777630567550659,
0.0060453093610703945,
0.40455037355422974,
-0.2702130973339081,
-0.5786995887756348,
0.9823334813117981,
0.009566756896674633,
-0.2065768986940384,
0.8348522782325745,
0.5810084342956543,
0.12592461705207825,
0.77131187915802,
-0.11699432134628296,
-0.1628087759017944... |
func (d *Dev) Update() error {
if err := d.sendCommand([]byte{enterRMWMode}); err != nil {
return err
}
for i := 0; i < 8; i++ {
offset := i * pageSize
if err := d.sendCommand([]byte{setPageStart | byte(i), setColl, setCollH}); err != nil {
return err
}
if err := d.sendData(d.pixels[offset : offset+page... | [
-0.5328288078308105,
-0.0045011877082288265,
0.7268030643463135,
-0.4532947838306427,
-0.028804156929254532,
0.38979414105415344,
0.38190793991088867,
-1.1090869903564453,
0.45083531737327576,
-0.18962211906909943,
0.1672644466161728,
0.058683089911937714,
-0.6284334659576416,
1.3934726715... |
func (d *Dev) PowerSave() error {
return d.sendCommand([]byte{displayOff, displayEntire})
} | [
-0.4560251832008362,
0.12547972798347473,
0.598624050617218,
0.3072677552700043,
0.7679024934768677,
0.6007965207099915,
-0.01958603784441948,
0.08458153903484344,
-0.11125657707452774,
0.3828482925891876,
-0.1910405457019806,
0.23336613178253174,
-1.6384475231170654,
1.1596108675003052,
... |
func (d *Dev) WakeUp() error {
return d.sendCommand([]byte{displayRAM, displayOn})
} | [
0.15127158164978027,
0.18883483111858368,
0.3162623345851898,
0.4241601228713989,
-0.3511791527271271,
0.10208140313625336,
1.3835194110870361,
0.07283534109592438,
0.7233441472053528,
-0.014673504047095776,
-0.08480105549097061,
1.2672433853149414,
-0.23136919736862183,
0.1903733760118484... |
func RequestContextLogger() Middleware {
return func(h http.HandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
requestID := request.IDFromContext(ctx)
ctx = request.WithID(ctx, requestID)
logger := log.FromContextWithPackageName(ctx, "go-common/middl... | [
-0.7671184539794922,
-0.6025472283363342,
1.0183461904525757,
0.2774147093296051,
-0.9152224659919739,
0.05020137503743172,
-0.9159460067749023,
-0.47056397795677185,
0.7188430428504944,
-0.2311161607503891,
0.15354524552822113,
0.2955208420753479,
-0.2594378590583801,
0.7606615424156189,
... |
func RequestLifetimeLogger() Middleware {
return func(h http.HandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
logger := log.FromContextWithPackageName(r.Context(), "go-common/middleware/request").
With(log.String(LogKeyRemoteIP, request.IPFromAddr(r.RemoteAddr))).
With... | [
-0.5556626319885254,
-0.565585196018219,
1.003870964050293,
-0.5406916737556458,
-0.8602825403213501,
0.2769568860530853,
-1.5087778568267822,
0.13126128911972046,
-0.05378122255206108,
0.042423833161592484,
0.06436291337013245,
-0.08481317013502121,
-0.3905431926250458,
0.9043483734130859... |
func (s CreateTrafficMirrorFilterRuleInput) String() string {
return awsutil.Prettify(s)
} | [
0.05856062471866608,
0.18440307676792145,
-0.005725695751607418,
-1.0045969486236572,
-0.15830077230930328,
0.984683096408844,
0.9841455817222595,
-0.8456190228462219,
-0.956698477268219,
0.8447619080543518,
-0.0038095624186098576,
0.7215542793273926,
-0.08167342841625214,
-0.0838090181350... |
func (s *CreateTrafficMirrorFilterRuleInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "CreateTrafficMirrorFilterRuleInput"}
if s.DestinationCidrBlock == nil {
invalidParams.Add(aws.NewErrParamRequired("DestinationCidrBlock"))
}
if len(s.RuleAction) == 0 {
invalidParams.Add(aws.NewErrPa... | [
-0.6279277205467224,
0.44171103835105896,
0.47219279408454895,
-0.8794684410095215,
-0.10662028938531876,
0.45693501830101013,
0.34547656774520874,
-0.1737004667520523,
-1.048823356628418,
0.6862184405326843,
0.3035697340965271,
0.39651575684547424,
-0.7520169615745544,
0.8732864260673523,... |
func (s CreateTrafficMirrorFilterRuleOutput) String() string {
return awsutil.Prettify(s)
} | [
0.7232764959335327,
-0.015066847205162048,
0.04947753995656967,
-0.9119235277175903,
-0.4423837661743164,
0.22008144855499268,
0.9859412312507629,
-0.547622561454773,
-1.3049848079681396,
0.7646262049674988,
0.09550361335277557,
0.4794335961341858,
0.15799292922019958,
-0.2845267057418823,... |
func (r CreateTrafficMirrorFilterRuleRequest) Send(ctx context.Context) (*CreateTrafficMirrorFilterRuleResponse, error) {
r.Request.SetContext(ctx)
err := r.Request.Send()
if err != nil {
return nil, err
}
resp := &CreateTrafficMirrorFilterRuleResponse{
CreateTrafficMirrorFilterRuleOutput: r.Request.Data.(*Cr... | [
-0.7377121448516846,
0.7888051867485046,
0.26339519023895264,
-0.5950134992599487,
0.08541790395975113,
-0.0529470257461071,
-0.27016496658325195,
-0.5323171615600586,
-0.8829603791236877,
0.8614931106567383,
-0.5962811708450317,
0.7521451115608215,
-0.4600059390068054,
0.38897228240966797... |
func (r *CreateTrafficMirrorFilterRuleResponse) SDKResponseMetdata() *aws.Response {
return r.response
} | [
-0.0565948449075222,
0.27266624569892883,
0.14929986000061035,
-0.8010658621788025,
0.024388452991843224,
0.2494342178106308,
-0.3313058912754059,
-0.10869932174682617,
-0.41317301988601685,
0.4465031325817108,
-0.6793636083602905,
-0.19460855424404144,
-0.10979242622852325,
-0.55953305959... |
func NewLifter(file *bin.File) (*Lifter, error) {
// Prepare x86 to LLVM IR lifter.
dis, err := x86.NewDisasm(file)
if err != nil {
return nil, errors.WithStack(err)
}
l := &Lifter{
Disasm: dis,
Funcs: make(map[bin.Address]*Func),
FuncByName: make(map[string]*ir.Func),
Globals: make(map[bin.A... | [
-0.21920894086360931,
-0.43272900581359863,
0.5442092418670654,
0.10170567035675049,
-0.6704743504524231,
-0.4568603038787842,
0.6898396015167236,
0.15412674844264984,
-0.6580342054367065,
0.043271757662296295,
-0.6691973805427551,
0.4980287253856659,
0.20810385048389435,
1.006489396095275... |
func parseModule(llPath string) (*ir.Module, error) {
if !osutil.Exists(llPath) {
warn.Printf("unable to locate LLVM IR file %q", llPath)
return &ir.Module{}, nil
}
return asm.ParseFile(llPath)
} | [
0.3270973563194275,
-0.035716462880373,
0.16184739768505096,
-0.45054468512535095,
0.1951262205839157,
0.8480440378189087,
0.5598768591880798,
-0.28637996315956116,
0.49654918909072876,
-0.14954562485218048,
0.5900063514709473,
0.17559510469436646,
-0.5289309620857239,
0.45082172751426697,... |
func findMetadataAttachment(mds []*metadata.Attachment, name string) (metadata.MDNode, bool) {
for _, md := range mds {
if md.Name == name {
return md.Node, true
}
}
return nil, false
} | [
-0.4593462646007538,
-0.5385834574699402,
0.6458562016487122,
-0.5390682816505432,
-0.9723071455955505,
0.2960579991340637,
-0.24211165308952332,
-0.7903085947036743,
-0.0660163164138794,
0.873845636844635,
0.5444711446762085,
0.6454411149024963,
-0.5493299961090088,
0.17366227507591248,
... |
func parseMetadataAddr(node metadata.MDNode) (bin.Address, error) {
switch node := node.(type) {
case *metadata.Tuple:
if len(node.Fields) != 1 {
return 0, errors.Errorf(`invalid number of fields in "addr" metadata node, expected 1, got %d`, len(node.Fields))
}
field, ok := node.Fields[0].(*metadata.String)
... | [
-0.8303308486938477,
0.22216269373893738,
0.3929063081741333,
-0.574759840965271,
-0.627102792263031,
0.04190108925104141,
0.32144004106521606,
0.05229920148849487,
-0.2689567506313324,
0.9447518587112427,
0.9342665672302246,
0.7566418051719666,
0.004679523874074221,
-0.2483796626329422,
... |
func generateMatrix(n int) [][]int {
if n == 0 {
return nil
}
if n == 1 {
return [][]int{{1}}
}
result := make([][]int, n)
for i := 0; i < n; i++ {
result[i] = make([]int, n)
}
r0, rn := 0, n-1
c0, cn := 0, n-1
for cur := 1; c0 <= cn && r0 <= rn; {
for i := c0; i <= cn; i++ {
result[r0][i] = cur
... | [
-1.0423698425292969,
0.27133336663246155,
0.8903301358222961,
-0.40758082270622253,
0.31487640738487244,
-0.6184363961219788,
1.1331710815429688,
-0.46455898880958557,
1.080491304397583,
-0.6548702120780945,
-0.8371965289115906,
-0.4095393717288971,
-0.6331787109375,
0.7760160565376282,
... |
func (c Cube) Value() (driver.Value, error) {
if c == nil {
return nil, nil
}
if n := len(c); n > 0 {
// There will be at least two parenthesis, N bytes of values,
// and N-1 bytes of delimiters.
b := make([]byte, 0, 2*n)
b = strconv.AppendFloat(b, c[0], 'f', -1, 64)
for i := 1; i < n; i++ {
b = app... | [
-0.5012067556381226,
0.7534409761428833,
0.6136648654937744,
0.2373153120279312,
0.12662313878536224,
-0.7023078203201294,
0.18643666803836823,
-0.5322933197021484,
-0.02793724276125431,
0.6697321534156799,
0.148985356092453,
0.16989313066005707,
-0.5521917939186096,
0.4075344502925873,
... |
func (c *Cube) Scan(src interface{}) error {
switch src := src.(type) {
case []byte:
return c.scanBytes(src)
case string:
return c.scanBytes([]byte(src))
case nil:
*c = nil
return nil
}
return fmt.Errorf("pq: cannot convert %T to CUBE", src)
} | [
-0.9609254002571106,
0.575987696647644,
0.4932662844657898,
0.21544966101646423,
-1.0943948030471802,
-0.2407330423593521,
0.09613536298274994,
-0.09150941669940948,
0.12739787995815277,
-0.31159642338752747,
-0.602715015411377,
1.0601255893707275,
-0.5105218291282654,
0.30715838074684143,... |
func (i4 I4) String() string {
return i4.IPString() + "/" + fmt.Sprint(i4.maskBits)
} | [
-0.7836195230484009,
-1.2484325170516968,
0.1399238556623459,
0.16490784287452698,
-0.36602556705474854,
0.5307669043540955,
0.9942188262939453,
-1.5074213743209839,
-0.7316167950630188,
0.4741840362548828,
0.24124775826931,
-0.0005046844598837197,
-0.6674961447715759,
-0.8513246774673462,... |
func (i4 I4) CIDRString() string {
return i4.IPString() + "/" + fmt.Sprint(i4.maskBits)
} | [
0.2721981406211853,
-0.6581229567527771,
0.22444547712802887,
-0.28328174352645874,
-0.7581014633178711,
0.42282596230506897,
0.019428225234150887,
-1.189516305923462,
-0.47005000710487366,
0.27546611428260803,
0.361115425825119,
-1.124314308166504,
-0.9281596541404724,
-1.2710418701171875... |
func (i4 I4) DoubleDottedQuad() string {
return i4.IPString() + " " + v4MaskStrings[i4.maskBits]
} | [
-0.9820753335952759,
-1.7256792783737183,
0.5564910769462585,
-1.0804049968719482,
-0.050702378153800964,
0.23756657540798187,
0.25152432918548584,
-1.528945803642273,
0.22626593708992004,
-0.13795709609985352,
-0.7871742248535156,
0.8514869809150696,
-0.3919137716293335,
-0.02008933015167... |
func (i4 I4) DoubleDottedQuadInvertedMask() string {
return i4.IPString() + " " + v4InvertedMaskStrings[i4.maskBits]
} | [
-1.5040174722671509,
-0.8207273483276367,
0.4842204451560974,
-0.3104756474494934,
0.3888477683067322,
0.08850977569818497,
0.18686357140541077,
-1.1224632263183594,
-0.30579936504364014,
-1.24866783618927,
-1.4147433042526245,
0.41330093145370483,
-0.5935930013656616,
-0.05193886533379555... |
func (i4 I4) IPString() string {
var out string
for i := 0; i < 4; i++ {
b := (i4.ip >> uint32(24-8*i)) & 0xFF
out += fmt.Sprintf("%d.", b)
}
return out[0 : len(out)-1]
} | [
-1.0663251876831055,
0.5033518075942993,
0.38711363077163696,
-0.541070282459259,
-0.5476099252700806,
0.0632057934999466,
-0.11237858235836029,
-0.03973480686545372,
-0.7765520215034485,
0.06621702015399933,
0.3815556466579437,
-1.5730379819869995,
-0.9529742002487183,
-1.78033447265625,
... |
func (i4 I4) MaskString() string {
return v4MaskStrings[i4.maskBits]
} | [
-0.5907208323478699,
-0.8536136150360107,
0.17766092717647552,
0.4760647714138031,
0.09199819713830948,
-0.044040217995643616,
0.2935645580291748,
-1.4652466773986816,
-0.20843644440174103,
0.3219015598297119,
0.7292160987854004,
-0.5477675199508667,
-0.8727799654006958,
-1.275815963745117... |
func AuthorizationToken_GrantRead(grantee awsiam.IGrantable) {
_init_.Initialize()
_jsii_.StaticInvokeVoid(
"monocdk.aws_ecr.AuthorizationToken",
"grantRead",
[]interface{}{grantee},
)
} | [
-0.06276816874742508,
0.2878204882144928,
0.6071705222129822,
0.1434215009212494,
0.21987570822238922,
0.11778239160776138,
0.8891263604164124,
-0.16763727366924286,
-0.23574016988277435,
0.012709573842585087,
0.7726337909698486,
1.0556234121322632,
0.5036951899528503,
-1.1375890970230103,... |
func NewCfnPublicRepository(scope awscdk.Construct, id *string, props *CfnPublicRepositoryProps) CfnPublicRepository {
_init_.Initialize()
j := jsiiProxy_CfnPublicRepository{}
_jsii_.Create(
"monocdk.aws_ecr.CfnPublicRepository",
[]interface{}{scope, id, props},
&j,
)
return &j
} | [
0.09361299127340317,
0.24109715223312378,
0.017627162858843803,
-1.0633234977722168,
-0.6476523876190186,
-0.761580228805542,
-0.08766423165798187,
0.257561594247818,
-0.8676347136497498,
-1.003114104270935,
-0.2503625154495239,
-0.6402633190155029,
-0.04407719895243645,
0.1186440661549568... |
func NewCfnPublicRepository_Override(c CfnPublicRepository, scope awscdk.Construct, id *string, props *CfnPublicRepositoryProps) {
_init_.Initialize()
_jsii_.Create(
"monocdk.aws_ecr.CfnPublicRepository",
[]interface{}{scope, id, props},
c,
)
} | [
-0.06667843461036682,
0.6766151785850525,
0.09428399056196213,
-1.066949725151062,
-0.006037600338459015,
-0.9277839660644531,
-0.3507740795612335,
0.45320606231689453,
-0.6586778163909912,
-1.5780768394470215,
-0.3514160215854645,
-0.9218744039535522,
-0.19842033088207245,
-0.027680058032... |
func CfnPublicRepository_IsCfnElement(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"monocdk.aws_ecr.CfnPublicRepository",
"isCfnElement",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.32239773869514465,
1.345716953277588,
0.3748720586299896,
0.11493697762489319,
-0.056608960032463074,
0.0956762284040451,
0.25369489192962646,
-0.34370145201683044,
0.5863772630691528,
-0.5378472208976746,
-1.0482115745544434,
0.3308960795402527,
-0.5413874983787537,
0.4169045686721802,... |
func CfnPublicRepository_IsCfnResource(construct constructs.IConstruct) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"monocdk.aws_ecr.CfnPublicRepository",
"isCfnResource",
[]interface{}{construct},
&returns,
)
return returns
} | [
-0.5023277401924133,
0.6281383037567139,
0.29893597960472107,
-0.31284356117248535,
0.4476037323474884,
-0.7358967065811157,
0.5279940366744995,
0.12143605202436447,
-0.09868977218866348,
-0.881138265132904,
-0.7328976392745972,
-0.45492175221443176,
-0.33417385816574097,
0.024653468281030... |
func CfnPublicRepository_IsConstruct(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"monocdk.aws_ecr.CfnPublicRepository",
"isConstruct",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.729686975479126,
0.7715015411376953,
0.4179386794567108,
-0.3818320035934448,
-0.06505216658115387,
0.017150916159152985,
0.12421783804893494,
-0.6342393755912781,
0.017359573394060135,
-0.8386858701705933,
-0.7908871173858643,
-0.1521538943052292,
-0.14409703016281128,
-0.0022040705662... |
func (c *jsiiProxy_CfnPublicRepository) AddDeletionOverride(path *string) {
_jsii_.InvokeVoid(
c,
"addDeletionOverride",
[]interface{}{path},
)
} | [
0.6736814379692078,
0.9170458912849426,
0.5506393313407898,
0.07923237979412079,
0.09577182680368423,
-0.053383681923151016,
0.0492098368704319,
0.11464615911245346,
0.6934846639633179,
-0.9631030559539795,
-0.03722051531076431,
0.5337761640548706,
-0.45484063029289246,
-0.2632147669792175... |
func (c *jsiiProxy_CfnPublicRepository) AddDependsOn(target awscdk.CfnResource) {
_jsii_.InvokeVoid(
c,
"addDependsOn",
[]interface{}{target},
)
} | [
-1.1013802289962769,
0.3682786226272583,
0.3726622462272644,
-0.42043280601501465,
0.23387935757637024,
-0.24135328829288483,
0.6144923567771912,
0.07792678475379944,
0.03651865944266319,
-1.2167047262191772,
-0.8192911744117737,
-0.027719609439373016,
0.11569420993328094,
0.47584098577499... |
func (c *jsiiProxy_CfnPublicRepository) AddMetadata(key *string, value interface{}) {
_jsii_.InvokeVoid(
c,
"addMetadata",
[]interface{}{key, value},
)
} | [
-0.7122526168823242,
1.3479877710342407,
0.37387558817863464,
0.013861889950931072,
0.5630621314048767,
0.3545229732990265,
-0.5306649804115295,
-0.30592623353004456,
-0.5115602016448975,
-0.059490300714969635,
-0.12317264825105667,
0.5339018702507019,
-0.2694645822048187,
-0.0066132890060... |
func (c *jsiiProxy_CfnPublicRepository) AddPropertyDeletionOverride(propertyPath *string) {
_jsii_.InvokeVoid(
c,
"addPropertyDeletionOverride",
[]interface{}{propertyPath},
)
} | [
0.8256276249885559,
0.2620808780193329,
0.6313968300819397,
0.4206148087978363,
0.24327106773853302,
0.2545747756958008,
-0.1578541398048401,
-0.007913046516478062,
1.0515021085739136,
-1.1489007472991943,
0.46256086230278015,
0.30113685131073,
-0.646270751953125,
-0.7902539968490601,
-0... |
func (c *jsiiProxy_CfnPublicRepository) AddPropertyOverride(propertyPath *string, value interface{}) {
_jsii_.InvokeVoid(
c,
"addPropertyOverride",
[]interface{}{propertyPath, value},
)
} | [
-0.5098171234130859,
0.7943114638328552,
0.6213996410369873,
0.295041024684906,
0.22681252658367157,
-0.014444643631577492,
-0.2175358682870865,
-0.5021658539772034,
0.34682223200798035,
-1.5253177881240845,
0.00014469146844930947,
-0.5845053195953369,
-0.864810585975647,
-0.79295271635055... |
func (c *jsiiProxy_CfnPublicRepository) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) {
_jsii_.InvokeVoid(
c,
"applyRemovalPolicy",
[]interface{}{policy, options},
)
} | [
0.0036586616188287735,
0.5812281370162964,
0.48776280879974365,
-0.49066993594169617,
0.2406797558069229,
0.6444870829582214,
0.16175809502601624,
0.6662850379943848,
0.9685773849487305,
-0.7821404933929443,
-0.10367248952388763,
-0.2162228226661682,
-0.5383680462837219,
-0.31568643450737,... |
func (c *jsiiProxy_CfnPublicRepository) GetAtt(attributeName *string) awscdk.Reference {
var returns awscdk.Reference
_jsii_.Invoke(
c,
"getAtt",
[]interface{}{attributeName},
&returns,
)
return returns
} | [
-0.01460051815956831,
0.6138652563095093,
0.32538267970085144,
-1.2787526845932007,
0.02129887230694294,
-0.6219308972358704,
0.5620332956314087,
-1.3921129703521729,
-0.27877888083457947,
-0.8078144788742065,
1.025216817855835,
1.1348012685775757,
0.5003184676170349,
-0.5829628705978394,
... |
func (c *jsiiProxy_CfnPublicRepository) GetMetadata(key *string) interface{} {
var returns interface{}
_jsii_.Invoke(
c,
"getMetadata",
[]interface{}{key},
&returns,
)
return returns
} | [
-0.7174394726753235,
1.5729578733444214,
0.436189740896225,
0.21710072457790375,
0.3891817331314087,
-0.5823069214820862,
0.018258996307849884,
-0.9376178979873657,
-0.29959261417388916,
-0.10210630297660828,
-0.1355617791414261,
0.7579682469367981,
-0.40935227274894714,
-0.173647701740264... |
func (c *jsiiProxy_CfnPublicRepository) Inspect(inspector awscdk.TreeInspector) {
_jsii_.InvokeVoid(
c,
"inspect",
[]interface{}{inspector},
)
} | [
-0.28150004148483276,
1.044201374053955,
0.296572208404541,
-0.9958950877189636,
0.30785104632377625,
-0.8040449023246765,
0.8050740957260132,
0.02061745896935463,
-1.1034512519836426,
-0.580755352973938,
0.002302629640325904,
0.17062623798847198,
-0.3275148868560791,
0.14374561607837677,
... |
func (c *jsiiProxy_CfnPublicRepository) OnPrepare() {
_jsii_.InvokeVoid(
c,
"onPrepare",
nil, // no parameters
)
} | [
0.3370596468448639,
1.1669355630874634,
0.2709922194480896,
-0.34586456418037415,
0.3426268696784973,
-1.501217007637024,
0.20221596956253052,
-0.6724505424499512,
-0.27616727352142334,
-0.3394223153591156,
-0.4018879532814026,
-0.16146411001682281,
-0.24051989614963531,
0.4126562476158142... |
func (c *jsiiProxy_CfnPublicRepository) OnSynthesize(session constructs.ISynthesisSession) {
_jsii_.InvokeVoid(
c,
"onSynthesize",
[]interface{}{session},
)
} | [
-0.20829825103282928,
0.7803994417190552,
0.21223804354667664,
-0.6877323389053345,
0.34622204303741455,
-2.289480686187744,
0.7085039615631104,
-0.45910656452178955,
0.1255396604537964,
0.02661389671266079,
-1.1140562295913696,
-0.16415190696716309,
-0.1169181689620018,
-0.021656265482306... |
func (c *jsiiProxy_CfnPublicRepository) OnValidate() *[]*string {
var returns *[]*string
_jsii_.Invoke(
c,
"onValidate",
nil, // no parameters
&returns,
)
return returns
} | [
0.03886601701378822,
0.65583336353302,
0.2985915243625641,
-0.058964863419532776,
0.2844174802303314,
-1.2491310834884644,
-0.37456077337265015,
-0.9480118155479431,
-0.3709254860877991,
-0.04739908501505852,
-0.14832468330860138,
-0.2851007282733917,
-0.7207209467887878,
-0.24896529316902... |
func (c *jsiiProxy_CfnPublicRepository) OverrideLogicalId(newLogicalId *string) {
_jsii_.InvokeVoid(
c,
"overrideLogicalId",
[]interface{}{newLogicalId},
)
} | [
0.7421337962150574,
0.15947802364826202,
0.4527365565299988,
-0.4956393539905548,
-0.03519890084862709,
-0.24665474891662598,
-0.09597285836935043,
0.2798987925052643,
0.03236851468682289,
-0.6356055736541748,
-0.5320087671279907,
1.053188681602478,
-0.6315271854400635,
-0.5894985795021057... |
func (c *jsiiProxy_CfnPublicRepository) Prepare() {
_jsii_.InvokeVoid(
c,
"prepare",
nil, // no parameters
)
} | [
0.38669082522392273,
1.513283610343933,
0.10665994137525558,
-0.28136318922042847,
0.5451703667640686,
-1.3348040580749512,
0.48589611053466797,
-0.2677530348300934,
-0.5285881757736206,
-0.9600272178649902,
-0.3645517826080322,
-0.002485843375325203,
-0.2089395374059677,
0.154219835996627... |
func (c *jsiiProxy_CfnPublicRepository) ShouldSynthesize() *bool {
var returns *bool
_jsii_.Invoke(
c,
"shouldSynthesize",
nil, // no parameters
&returns,
)
return returns
} | [
-0.277486652135849,
2.1104190349578857,
0.37608668208122253,
-0.2680032253265381,
0.06834772229194641,
-0.7550307512283325,
0.4838811755180359,
0.03776008263230324,
-0.4772956371307373,
-1.0110523700714111,
-0.7560253739356995,
-0.2967303991317749,
-0.9186220765113831,
-0.20827601850032806... |
func (c *jsiiProxy_CfnPublicRepository) Synthesize(session awscdk.ISynthesisSession) {
_jsii_.InvokeVoid(
c,
"synthesize",
[]interface{}{session},
)
} | [
-0.10982298851013184,
2.008535623550415,
-0.013036235235631466,
-0.740487813949585,
0.539546549320221,
-1.6457892656326294,
0.45551589131355286,
-0.9239091873168945,
-0.4356231987476349,
-1.0301178693771362,
-0.9220510125160217,
0.7095516324043274,
0.409349262714386,
-1.0262947082519531,
... |
func (c *jsiiProxy_CfnPublicRepository) ToString() *string {
var returns *string
_jsii_.Invoke(
c,
"toString",
nil, // no parameters
&returns,
)
return returns
} | [
0.25339269638061523,
1.2928171157836914,
0.3642970025539398,
-1.054348111152649,
0.6688320636749268,
-0.6116331815719604,
0.6138029098510742,
-0.8986688852310181,
-0.5444243550300598,
-0.5966353416442871,
-0.027602823451161385,
0.18980218470096588,
-0.49481746554374695,
-1.0059822797775269... |
func (c *jsiiProxy_CfnPublicRepository) Validate() *[]*string {
var returns *[]*string
_jsii_.Invoke(
c,
"validate",
nil, // no parameters
&returns,
)
return returns
} | [
-0.12547649443149567,
1.527717113494873,
0.21889860928058624,
-0.1290164589881897,
1.181799292564392,
-1.0410261154174805,
0.2609836757183075,
-0.7899360656738281,
-0.7202463746070862,
-0.8500643372535706,
-0.1136564239859581,
-0.10084504634141922,
-0.8638002872467041,
-0.27235761284828186... |
func NewCfnRegistryPolicy(scope awscdk.Construct, id *string, props *CfnRegistryPolicyProps) CfnRegistryPolicy {
_init_.Initialize()
j := jsiiProxy_CfnRegistryPolicy{}
_jsii_.Create(
"monocdk.aws_ecr.CfnRegistryPolicy",
[]interface{}{scope, id, props},
&j,
)
return &j
} | [
-0.04742540046572685,
0.8104365468025208,
0.03389093279838562,
-0.3218440115451813,
0.31356799602508545,
-0.6738288998603821,
0.9775136709213257,
0.49560943245887756,
0.17328202724456787,
-0.48158156871795654,
-0.5790459513664246,
-0.12844809889793396,
0.4180602729320526,
0.208665728569030... |
func NewCfnRegistryPolicy_Override(c CfnRegistryPolicy, scope awscdk.Construct, id *string, props *CfnRegistryPolicyProps) {
_init_.Initialize()
_jsii_.Create(
"monocdk.aws_ecr.CfnRegistryPolicy",
[]interface{}{scope, id, props},
c,
)
} | [
-0.11544511467218399,
0.796143114566803,
0.11317785829305649,
-0.23936721682548523,
0.6260663270950317,
-0.6315171718597412,
0.8023536801338196,
0.660162627696991,
0.25696802139282227,
-0.8002465963363647,
-0.8576306104660034,
-0.42155221104621887,
0.24348391592502594,
0.0753784328699112,
... |
func CfnRegistryPolicy_IsCfnElement(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"monocdk.aws_ecr.CfnRegistryPolicy",
"isCfnElement",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.3462700843811035,
1.4485328197479248,
0.38504552841186523,
0.6279110908508301,
0.05195138603448868,
0.14119648933410645,
0.7094817161560059,
-0.2787416875362396,
1.1868078708648682,
-0.28699803352355957,
-1.0667643547058105,
0.62666916847229,
-0.538915753364563,
0.6338326930999756,
-0... |
func CfnRegistryPolicy_IsCfnResource(construct constructs.IConstruct) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"monocdk.aws_ecr.CfnRegistryPolicy",
"isCfnResource",
[]interface{}{construct},
&returns,
)
return returns
} | [
-0.45068398118019104,
0.814597487449646,
0.26578661799430847,
0.16504691541194916,
0.5705776214599609,
-0.5866085886955261,
1.0515576601028442,
0.33257952332496643,
0.45515650510787964,
-0.5641218423843384,
-0.6601657271385193,
-0.12174469232559204,
-0.32950031757354736,
0.3350151479244232... |
func CfnRegistryPolicy_IsConstruct(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"monocdk.aws_ecr.CfnRegistryPolicy",
"isConstruct",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.5457012057304382,
0.8717581629753113,
0.40012866258621216,
-0.07902448624372482,
0.40712690353393555,
0.4082334041595459,
0.6875532865524292,
-0.5786314010620117,
0.492983877658844,
-0.2702430784702301,
-0.8378435969352722,
0.30193135142326355,
0.07482410967350006,
0.3098987936973572,
... |
func (c *jsiiProxy_CfnRegistryPolicy) AddDeletionOverride(path *string) {
_jsii_.InvokeVoid(
c,
"addDeletionOverride",
[]interface{}{path},
)
} | [
0.6781542301177979,
0.8844077587127686,
0.5850428938865662,
0.15568268299102783,
0.3073224723339081,
0.3136410117149353,
0.5355711579322815,
0.2547246813774109,
1.1884740591049194,
-0.7060631513595581,
-0.20574530959129333,
0.6412996649742126,
-0.5302832722663879,
-0.13535945117473602,
-... |
func (c *jsiiProxy_CfnRegistryPolicy) AddDependsOn(target awscdk.CfnResource) {
_jsii_.InvokeVoid(
c,
"addDependsOn",
[]interface{}{target},
)
} | [
-1.079676866531372,
0.39015993475914,
0.3972298800945282,
-0.22072747349739075,
0.5339893102645874,
0.16988016664981842,
0.9966009855270386,
0.3119063675403595,
0.5866551995277405,
-0.8105446100234985,
-0.9116503596305847,
0.3149113953113556,
-0.09660809487104416,
0.5953623056411743,
0.9... |
func (c *jsiiProxy_CfnRegistryPolicy) AddMetadata(key *string, value interface{}) {
_jsii_.InvokeVoid(
c,
"addMetadata",
[]interface{}{key, value},
)
} | [
-0.7897122502326965,
1.3499391078948975,
0.39944061636924744,
0.09380228817462921,
0.8122562766075134,
0.8387265801429749,
-0.20085473358631134,
-0.1285201907157898,
0.17193280160427094,
0.2314109355211258,
-0.3199748992919922,
0.7124882936477661,
-0.44164127111434937,
0.20865637063980103,... |
func (c *jsiiProxy_CfnRegistryPolicy) AddPropertyDeletionOverride(propertyPath *string) {
_jsii_.InvokeVoid(
c,
"addPropertyDeletionOverride",
[]interface{}{propertyPath},
)
} | [
0.7351627349853516,
0.25993943214416504,
0.6625847816467285,
0.4336055517196655,
0.38920682668685913,
0.5074865221977234,
0.24765385687351227,
0.15162916481494904,
1.3715490102767944,
-0.8946702480316162,
0.2658478021621704,
0.39716604351997375,
-0.7482964992523193,
-0.6725261807441711,
... |
func (c *jsiiProxy_CfnRegistryPolicy) AddPropertyOverride(propertyPath *string, value interface{}) {
_jsii_.InvokeVoid(
c,
"addPropertyOverride",
[]interface{}{propertyPath, value},
)
} | [
-0.5944793820381165,
0.815805196762085,
0.6274029612541199,
0.334381103515625,
0.3391052186489105,
0.3342910408973694,
0.04380391910672188,
-0.3275287449359894,
0.6994146108627319,
-1.315743088722229,
-0.20084801316261292,
-0.4429335594177246,
-1.0347826480865479,
-0.6174471378326416,
-0... |
func (c *jsiiProxy_CfnRegistryPolicy) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) {
_jsii_.InvokeVoid(
c,
"applyRemovalPolicy",
[]interface{}{policy, options},
)
} | [
-0.1754295378923416,
0.7108942866325378,
0.582507848739624,
-0.41167357563972473,
0.17582975327968597,
0.6443473100662231,
0.5729928016662598,
0.8128470778465271,
1.164305567741394,
-0.6542916297912598,
-0.3194935917854309,
-0.06682921946048737,
-0.6459163427352905,
-0.1625627726316452,
... |
func (c *jsiiProxy_CfnRegistryPolicy) GetAtt(attributeName *string) awscdk.Reference {
var returns awscdk.Reference
_jsii_.Invoke(
c,
"getAtt",
[]interface{}{attributeName},
&returns,
)
return returns
} | [
0.015123054385185242,
0.5841482281684875,
0.3068985342979431,
-1.1756786108016968,
0.1818145215511322,
-0.2903953790664673,
0.8405730128288269,
-1.1610537767410278,
0.21161210536956787,
-0.4377979338169098,
0.9663636684417725,
1.3543366193771362,
0.4459607005119324,
-0.31884410977363586,
... |
func (c *jsiiProxy_CfnRegistryPolicy) GetMetadata(key *string) interface{} {
var returns interface{}
_jsii_.Invoke(
c,
"getMetadata",
[]interface{}{key},
&returns,
)
return returns
} | [
-0.6613537073135376,
1.5258537530899048,
0.455541729927063,
0.3557128310203552,
0.6092308759689331,
-0.3214026093482971,
0.2965473532676697,
-0.8302855491638184,
0.33209851384162903,
0.2955656051635742,
-0.20823675394058228,
1.0983651876449585,
-0.48058173060417175,
0.002190155442804098,
... |
func (c *jsiiProxy_CfnRegistryPolicy) Inspect(inspector awscdk.TreeInspector) {
_jsii_.InvokeVoid(
c,
"inspect",
[]interface{}{inspector},
)
} | [
-0.19383476674556732,
1.0019617080688477,
0.3331596851348877,
-0.8705767393112183,
0.6393707394599915,
-0.5032142400741577,
1.4179925918579102,
0.15551084280014038,
-0.37276479601860046,
-0.06694626063108444,
-0.06917305290699005,
0.410256564617157,
-0.4125913381576538,
0.5144107341766357,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.