text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (list *List) Remove(index int) {
if !list.withinRange(index) {
return
}
if list.size == 1 {
list.Clear()
return
}
var beforeElement *element
element := list.first
for e := 0; e != index; e, element = e+1, element.next {
beforeElement = element
}
if element == list.first {
list.first = elemen... | [
-1.0491920709609985,
0.7492346167564392,
0.4508132338523865,
-0.6665893793106079,
-0.41393253207206726,
-0.2239866405725479,
0.5536760091781616,
0.8673166036605835,
1.7288942337036133,
-0.029918383806943893,
-1.313736081123352,
0.4073530435562134,
-1.3162943124771118,
0.36127492785453796,
... |
func (list *List) Contains(values ...interface{}) bool {
if len(values) == 0 {
return true
}
if list.size == 0 {
return false
}
for _, value := range values {
found := false
for element := list.first; element != nil; element = element.next {
if element.value == value {
found = true
break
}
... | [
-0.485115110874176,
0.2847137153148651,
0.5175999402999878,
0.5167703032493591,
0.2649705111980438,
0.2418908178806305,
-0.5272798538208008,
0.28494760394096375,
0.07455171644687653,
-1.238058090209961,
-0.5591422915458679,
-0.034378472715616226,
-0.12125304341316223,
1.8462191820144653,
... |
func (list *List) Values() []interface{} {
values := make([]interface{}, list.size, list.size)
for e, element := 0, list.first; element != nil; e, element = e+1, element.next {
values[e] = element.value
}
return values
} | [
-0.6188169121742249,
0.5574938654899597,
0.3406216502189636,
0.12035112082958221,
0.9871214628219604,
-0.4653342664241791,
-0.6404218673706055,
0.6399908661842346,
0.8031579256057739,
-0.584035336971283,
-1.299516201019287,
0.24072138965129852,
0.00878311786800623,
2.299386739730835,
-0.... |
func (list *List) IndexOf(value interface{}) int {
if list.size == 0 {
return -1
}
for index, element := range list.Values() {
if element == value {
return index
}
}
return -1
} | [
-0.9753580093383789,
0.12642566859722137,
0.4988970160484314,
0.14457665383815765,
-0.6973634362220764,
-0.35202300548553467,
0.4319206476211548,
0.29646939039230347,
0.5610089302062988,
0.13165658712387085,
-0.24746645987033844,
-0.3132101595401764,
-0.17805078625679016,
1.074880719184875... |
func (list *List) Empty() bool {
return list.size == 0
} | [
-1.4819022417068481,
-0.019346389919519424,
0.05350496247410774,
-0.10924412310123444,
0.4141414761543274,
0.5097793340682983,
-0.614341139793396,
0.6677400469779968,
0.18850721418857574,
0.3775218427181244,
-1.290441632270813,
-0.31620195508003235,
-0.6299096941947937,
1.0021097660064697,... |
func (list *List) Size() int {
return list.size
} | [
-0.9760528802871704,
0.5525012612342834,
-0.04676535353064537,
0.046391598880290985,
0.014979161322116852,
0.3030969500541687,
0.4333175718784332,
1.1733981370925903,
1.1064794063568115,
-0.7950646877288818,
-1.288258671760559,
0.147987961769104,
-0.6577296853065491,
1.318042278289795,
0... |
func (list *List) Clear() {
list.size = 0
list.first = nil
list.last = nil
} | [
-0.6499930620193481,
0.16786877810955048,
-0.12438973039388657,
-0.23220279812812805,
0.5443193316459656,
0.37994885444641113,
-0.4587623178958893,
0.5995354652404785,
0.4292069375514984,
-0.3164466619491577,
-0.8788612484931946,
0.5218204855918884,
0.30546846985816956,
1.3703678846359253,... |
func (list *List) Sort(comparator utils.Comparator) {
if list.size < 2 {
return
}
values := list.Values()
utils.Sort(values, comparator)
list.Clear()
list.Add(values...)
} | [
-0.9746055603027344,
1.3560616970062256,
0.30155032873153687,
-0.058297909796237946,
-0.4569540023803711,
0.05196523666381836,
-0.7662336826324463,
-0.17108210921287537,
0.16377215087413788,
-0.8839751482009888,
-1.0175018310546875,
0.40977606177330017,
0.21242989599704742,
1.2768903970718... |
func (list *List) Swap(i, j int) {
if list.withinRange(i) && list.withinRange(j) && i != j {
var element1, element2 *element
for e, currentElement := 0, list.first; element1 == nil || element2 == nil; e, currentElement = e+1, currentElement.next {
switch e {
case i:
element1 = currentElement
case j:
... | [
-1.5163484811782837,
0.2292647659778595,
0.4598933160305023,
0.2611425220966339,
-0.01926606334745884,
0.1102318987250328,
0.14121182262897491,
0.6396253108978271,
0.1980205476284027,
-0.40710511803627014,
-0.9673033356666565,
0.42083635926246643,
-0.41867172718048096,
0.8355624675750732,
... |
func (list *List) Insert(index int, values ...interface{}) {
if !list.withinRange(index) {
// Append
if index == list.size {
list.Add(values...)
}
return
}
list.size += len(values)
var beforeElement *element
foundElement := list.first
for e := 0; e != index; e, foundElement = e+1, foundElement.next ... | [
-1.007049322128296,
1.1976426839828491,
0.6829212307929993,
-0.04439616575837135,
0.4121546447277069,
0.25039955973625183,
0.2664490342140198,
0.3984433114528656,
0.5102196931838989,
-0.7518759369850159,
-0.8486310839653015,
-0.3069747984409332,
-1.217556118965149,
1.029279112815857,
-0.... |
func (list *List) Set(index int, value interface{}) {
if !list.withinRange(index) {
// Append
if index == list.size {
list.Add(value)
}
return
}
foundElement := list.first
for e := 0; e != index; {
e, foundElement = e+1, foundElement.next
}
foundElement.value = value
} | [
-0.6903911232948303,
0.7517417669296265,
0.4163626730442047,
-0.24109067022800446,
0.23758575320243835,
0.2950063943862915,
-0.07239898294210434,
-0.38677725195884705,
0.908277690410614,
-0.0430782288312912,
-0.9058876633644104,
0.20828013122081757,
-0.6065534949302673,
0.7075405120849609,... |
func (list *List) String() string {
str := "SinglyLinkedList\n"
values := []string{}
for element := list.first; element != nil; element = element.next {
values = append(values, fmt.Sprintf("%v", element.value))
}
str += strings.Join(values, ", ")
return str
} | [
0.48626425862312317,
-0.3839542865753174,
0.3046157658100128,
-0.12453880161046982,
-0.34024664759635925,
0.4173714220523834,
-0.13348965346813202,
0.440912127494812,
0.8031390905380249,
0.011166215874254704,
-0.3069377839565277,
0.5360559225082397,
-0.08900004625320435,
0.9223958253860474... |
func (list *List) withinRange(index int) bool {
return index >= 0 && index < list.size
} | [
-1.1658331155776978,
-0.25787675380706787,
0.05277885124087334,
-0.27445879578590393,
-0.4197797477245331,
0.12340173125267029,
-0.5456492304801941,
0.029905658215284348,
0.43544846773147583,
-0.45060983300209045,
-0.19819746911525726,
-0.31592294573783875,
-1.0957953929901123,
0.369253933... |
func (j *Job) Status() string {
switch {
case j.ActiveRuns != nil:
return "Running"
case len(j.Schedules) == 0:
return "Unscheduled"
default:
return "Scheduled"
}
} | [
-0.2232065349817276,
-1.275001049041748,
0.27372661232948303,
-0.14739792048931122,
-0.6833974719047546,
0.21995772421360016,
-0.8302269577980042,
0.8539437055587769,
0.05322819575667381,
-0.21364934742450714,
-0.0798751562833786,
0.3567969501018524,
-0.2269730120897293,
0.4709606766700744... |
func (j *Job) LastRunStatus() string {
if j.HistorySummary.LastSuccessAt == "" && j.HistorySummary.LastFailureAt == "" {
return "N/A"
} else if j.HistorySummary.LastFailureAt == "" {
return "Success"
} else if j.HistorySummary.LastSuccessAt == "" {
return "Failure"
}
lastSuccess, err := time.Parse(apiTimeFo... | [
-0.5693718194961548,
-0.6611964702606201,
0.5849726796150208,
-1.0719139575958252,
-0.37611493468284607,
0.38380059599876404,
-0.7568120956420898,
-0.17498977482318878,
0.1996811479330063,
-0.3076736032962799,
0.06321696937084198,
0.38037949800491333,
-0.3811713755130768,
0.322543889284133... |
func UserAsApplicationKeyResponseIncludedItem(v *User) ApplicationKeyResponseIncludedItem {
return ApplicationKeyResponseIncludedItem{User: v}
} | [
0.6952810287475586,
-0.3193489611148834,
0.2141255885362625,
0.5093715190887451,
-1.598288893699646,
0.5887036919593811,
0.21330945193767548,
-0.31594929099082947,
1.5136774778366089,
-0.6751048564910889,
0.06189211830496788,
0.4111293852329254,
-0.07793159037828445,
0.6230353116989136,
... |
func RoleAsApplicationKeyResponseIncludedItem(v *Role) ApplicationKeyResponseIncludedItem {
return ApplicationKeyResponseIncludedItem{Role: v}
} | [
0.4795321822166443,
-0.34929025173187256,
0.09696029126644135,
-0.28609469532966614,
-0.6597041487693787,
0.24903692305088043,
-0.13829569518566132,
0.16284632682800293,
1.7612051963806152,
-0.42365890741348267,
0.7022914886474609,
0.15017224848270416,
-0.37456756830215454,
0.5528092384338... |
func (obj *ApplicationKeyResponseIncludedItem) UnmarshalJSON(data []byte) error {
var err error
match := 0
// try to unmarshal data into User
err = json.Unmarshal(data, &obj.User)
if err == nil {
if obj.User != nil && obj.User.UnparsedObject == nil {
jsonUser, _ := json.Marshal(obj.User)
if string(jsonUser... | [
0.04580129310488701,
-0.26388242840766907,
0.8539873957633972,
-0.966431200504303,
-1.1572083234786987,
-0.6611546874046326,
0.27326059341430664,
-0.05294884368777275,
0.943801760673523,
-0.12216190248727798,
-0.1443917602300644,
-0.017736200243234634,
-0.6802418828010559,
0.12961356341838... |
func (obj ApplicationKeyResponseIncludedItem) MarshalJSON() ([]byte, error) {
if obj.User != nil {
return json.Marshal(&obj.User)
}
if obj.Role != nil {
return json.Marshal(&obj.Role)
}
if obj.UnparsedObject != nil {
return json.Marshal(obj.UnparsedObject)
}
return nil, nil // no data in oneOf schemas
} | [
0.8464615345001221,
-0.6880580186843872,
0.3140885829925537,
-0.16721947491168976,
-0.5387090444564819,
-0.26520732045173645,
-0.2591412365436554,
0.10913652926683426,
1.6039094924926758,
-0.12467940151691437,
-0.3033347725868225,
0.29491323232650757,
-0.37942397594451904,
0.59648227691650... |
func (obj *ApplicationKeyResponseIncludedItem) GetActualInstance() interface{} {
if obj.User != nil {
return obj.User
}
if obj.Role != nil {
return obj.Role
}
// all schemas are nil
return nil
} | [
0.2737830877304077,
-0.6735684275627136,
0.3683854639530182,
-0.3716316819190979,
-0.8583683371543884,
0.4174979329109192,
-0.3114684522151947,
0.5786622166633606,
0.9746745824813843,
0.22955898940563202,
0.6219223141670227,
-0.16566349565982819,
-0.795934796333313,
-0.015650492161512375,
... |
func GenerateSecretDef(cr *redisv1alpha1.Redis, secret *corev1.Secret, scheme *runtime.Scheme) error {
password := []byte(*cr.Spec.GlobalConfig.Password)
secret.Data = map[string][]byte{
"password": password,
}
// Set Redis instance as the owner and controller
if err := ctrl.SetControllerReference(cr, secret, sc... | [
0.08289460837841034,
0.2514035999774933,
0.5681573152542114,
-0.0050256019458174706,
0.6096266508102417,
0.08419252187013626,
-0.6725717186927795,
0.8044615983963013,
0.03692662715911865,
0.20939022302627563,
-1.4692046642303467,
0.6406883597373962,
0.5281790494918823,
1.4084415435791016,
... |
func NewID() string {
return replacer.Replace(NewV4().String())
} | [
1.2225664854049683,
-1.336800217628479,
0.13208670914173126,
0.12523874640464783,
-0.46415451169013977,
0.23041647672653198,
-0.6192603707313538,
0.11329740285873413,
0.8939552307128906,
0.3465764820575714,
0.20224258303642273,
0.05251990258693695,
-0.8528198003768921,
-0.18366442620754242... |
func RepoAbsPath() (string, error) {
// This file is one-deep, so we can return a directory that is one up
// from this file. This is immune from assumed values of os.Getwd().
return filepath.Abs("..")
} | [
-0.25710996985435486,
-0.1562509983778,
0.6877824068069458,
-0.1345568746328354,
-0.8205991983413696,
0.1883602738380432,
0.48459330201148987,
-0.9559001326560974,
-0.05366801470518112,
-0.001288234256207943,
0.7213954329490662,
0.02861705981194973,
0.5584644079208374,
-0.02851331233978271... |
func DistAbsPath() (string, error) {
repo, err := RepoAbsPath()
if err != nil {
return repo, err
}
return filepath.Join(repo, "dist"), nil
} | [
0.3201162815093994,
0.093073770403862,
0.3898104131221771,
0.04655470326542854,
-0.7257888317108154,
1.3089075088500977,
0.2892920970916748,
-0.27395471930503845,
0.01407820638269186,
0.040034256875514984,
0.8605873584747314,
-0.282240629196167,
0.5907614231109619,
0.9207366108894348,
0.... |
func ZQAbsPath() (string, error) {
distdir, err := DistAbsPath()
if err != nil {
return distdir, err
}
return filepath.Join(distdir, "zq"), nil
} | [
0.40870288014411926,
-0.643388032913208,
0.40207135677337646,
-0.6375821828842163,
-0.8335952758789062,
0.6022877097129822,
0.732115626335144,
-1.064011573791504,
0.4815463721752167,
-0.18405380845069885,
1.0248658657073975,
-0.02099340595304966,
0.012624167837202549,
0.21374163031578064,
... |
func ZQSampleDataAbsPath() (string, error) {
repo, err := RepoAbsPath()
if err != nil {
return repo, err
}
return filepath.Join(repo, "zq-sample-data"), nil
} | [
0.6859276294708252,
-0.4838990569114685,
0.14451542496681213,
-0.7096420526504517,
-1.1321263313293457,
0.633679211139679,
0.5465255379676819,
-0.7346014380455017,
0.25245168805122375,
-0.21856831014156342,
0.6437113285064697,
0.6139577627182007,
0.21491862833499908,
0.05979599058628082,
... |
func loadPublicKey(data []byte) (interface{}, error) {
input := data
block, _ := pem.Decode(data)
if block != nil {
input = block.Bytes
}
// Try to load SubjectPublicKeyInfo
pub, err0 := x509.ParsePKIXPublicKey(input)
if err0 == nil {
return pub, nil
}
cert, err1 := x509.ParseCertificate(input)
if err1... | [
1.0529649257659912,
0.6184304356575012,
0.7106221914291382,
0.4849259853363037,
-1.209225058555603,
-0.19235078990459442,
-0.15033596754074097,
-0.38979941606521606,
-0.3019132614135742,
0.3853709101676941,
-0.6569864749908447,
-0.2138761430978775,
-1.037566065788269,
1.1050552129745483,
... |
func GenerateToken(c *gin.Context) {
currentUser := GetCurrentUser(c.Request)
if currentUser == nil {
err := c.AbortWithError(http.StatusUnauthorized, fmt.Errorf("Invalid session"))
banzaiUtils.LogInfo(banzaiConstants.TagAuth, c.ClientIP(), err.Error())
return
}
tokenID := uuid.NewV4().String()
// Create t... | [
-0.3879454433917999,
-0.5106933116912842,
0.7395537495613098,
0.3544524312019348,
0.3482404947280884,
0.24156564474105835,
0.5716709494590759,
0.9017256498336792,
0.13574698567390442,
0.21973766386508942,
-0.49524715542793274,
0.5270787477493286,
-0.02475804276764393,
0.5389439463615417,
... |
func Auth0Handler(c *gin.Context) {
currentUser := Auth.GetCurrentUser(c.Request)
if currentUser != nil {
return
}
accessToken, err := validator.ValidateRequest(c.Request)
if err != nil {
c.AbortWithStatusJSON(http.StatusUnauthorized, gin.H{
cloud.JsonKeyError: "Invalid token",
})
banzaiUtils.LogInfo(b... | [
-0.09382103383541107,
-0.22651341557502747,
0.9086975455284119,
0.07489784806966782,
0.16725078225135803,
0.02065860666334629,
0.26201942563056946,
-0.14047904312610626,
-0.509186327457428,
-0.049021828919649124,
0.6558552384376526,
0.9546006917953491,
0.30398112535476685,
0.64562898874282... |
func DTagStoreKey(dTag string) []byte {
return append(DTagPrefix, []byte(strings.ToLower(dTag))...)
} | [
-0.6357353925704956,
0.6851672530174255,
0.21240758895874023,
-0.735560417175293,
-0.23828765749931335,
-0.6069980263710022,
-0.4968407452106476,
-0.8634397387504578,
0.15341448783874512,
0.5273902416229248,
-1.3548529148101807,
0.15682491660118103,
-0.0896267369389534,
0.1336025595664978,... |
func IncomingDTagTransferRequestsPrefix(recipient string) []byte {
return append(DTagTransferRequestPrefix, []byte(recipient)...)
} | [
-0.672283411026001,
0.3767537474632263,
0.4442618787288666,
-1.2110095024108887,
-0.47452008724212646,
0.19836866855621338,
-0.5406104922294617,
-0.790252149105072,
0.13475489616394043,
0.7116594314575195,
-0.8777157068252563,
0.23106271028518677,
0.31889867782592773,
0.6410610675811768,
... |
func DTagTransferRequestStoreKey(sender, recipient string) []byte {
return append(IncomingDTagTransferRequestsPrefix(recipient), []byte(sender)...)
} | [
-0.43932583928108215,
0.5363364815711975,
0.3729186952114105,
-0.4396616220474243,
-0.2957935333251953,
-0.017838729545474052,
-0.3199652135372162,
-0.53923499584198,
-0.4098682701587677,
0.19011391699314117,
-0.33916500210762024,
0.22194993495941162,
0.5674405097961426,
0.2707390487194061... |
func UserRelationshipsPrefix(user string) []byte {
return append(RelationshipsStorePrefix, []byte(user)...)
} | [
-0.6053112745285034,
0.03398023918271065,
0.3015974760055542,
-0.28582319617271423,
-0.8608062267303467,
0.47275039553642273,
-0.2739737033843994,
-0.7276977896690369,
1.703460693359375,
-0.3227510154247284,
-1.0769962072372437,
0.23319995403289795,
0.05480111762881279,
-0.1468396037817001... |
func UserRelationshipsSubspacePrefix(user, subspace string) []byte {
return append(UserRelationshipsPrefix(user), []byte(subspace)...)
} | [
0.18497823178768158,
0.1327010840177536,
0.29176920652389526,
-0.23897778987884521,
-0.9231597781181335,
0.8328291773796082,
-0.518831193447113,
0.1384563446044922,
1.4190561771392822,
-0.6281790733337402,
-0.9220319390296936,
0.9314565658569336,
0.41747963428497314,
-0.10754762589931488,
... |
func RelationshipsStoreKey(user, subspace, recipient string) []byte {
return append(UserRelationshipsSubspacePrefix(user, subspace), []byte(recipient)...)
} | [
0.23335644602775574,
0.4631822109222412,
0.25367438793182373,
-0.4457079768180847,
-0.3158007264137268,
0.5649600028991699,
-0.09973854571580887,
-0.20468014478683472,
0.7015312314033508,
-1.1188791990280151,
-0.09116775542497635,
0.5838857293128967,
-0.13219252228736877,
-0.26075875759124... |
func BlockerPrefix(blocker string) []byte {
return append(UsersBlocksStorePrefix, []byte(blocker)...)
} | [
-0.7174913287162781,
-0.1168593168258667,
0.2589465379714966,
1.110892653465271,
-1.0513378381729126,
-0.2241853028535843,
-0.5576034784317017,
-0.3842758238315582,
0.7468422055244446,
1.429840326309204,
-0.9131363034248352,
0.5052262544631958,
-0.31175681948661804,
1.1404403448104858,
1... |
func BlockerSubspacePrefix(blocker string, subspace string) []byte {
return append(BlockerPrefix(blocker), []byte(subspace)...)
} | [
0.1327984631061554,
-0.2968568205833435,
0.449947327375412,
0.8137354850769043,
-1.1807286739349365,
0.2508784532546997,
-0.661371111869812,
0.1927797645330429,
0.6021490693092346,
0.8961129188537598,
-0.8377331495285034,
0.8190288543701172,
0.029613792896270752,
1.0569617748260498,
0.63... |
func UserBlockStoreKey(blocker string, subspace string, blockedUser string) []byte {
return append(BlockerSubspacePrefix(blocker, subspace), []byte(blockedUser)...)
} | [
0.20444193482398987,
0.08210856467485428,
0.37439802289009094,
1.2003294229507446,
-1.1790268421173096,
0.08002536743879318,
0.28478923439979553,
-0.5676622986793518,
0.3009253740310669,
0.7705745100975037,
-0.7834019660949707,
0.4809802174568176,
0.059568557888269424,
0.20379260182380676,... |
func UserChainLinksPrefix(user string) []byte {
return append(ChainLinksPrefix, []byte(user)...)
} | [
-0.5460134148597717,
-0.3147082030773163,
0.24745093286037445,
0.20170490443706512,
-0.36227771639823914,
-0.7213463187217712,
-0.6010562777519226,
-0.4025082588195801,
1.0354355573654175,
0.37297627329826355,
-1.4212207794189453,
0.7200354933738708,
-0.46771812438964844,
0.382212698459625... |
func ChainLinksStoreKey(user, chainName, address string) []byte {
return append(UserChainLinksPrefix(user), []byte(chainName+address)...)
} | [
-0.4338982403278351,
-0.20220303535461426,
0.18238936364650726,
0.284656822681427,
-0.11530879884958267,
-0.6128206253051758,
-0.6887315511703491,
0.13426628708839417,
0.5214775800704956,
0.13380612432956696,
-1.0983268022537231,
1.1272550821304321,
-0.3718028664588928,
0.05467260256409645... |
func UserApplicationLinksPrefix(user string) []byte {
return append(UserApplicationLinkPrefix, []byte(user)...)
} | [
-0.448612779378891,
-0.5944089889526367,
0.29705172777175903,
0.8557294607162476,
-0.5786810517311096,
0.34753066301345825,
-0.2840757966041565,
0.059247616678476334,
1.290582537651062,
0.042141132056713104,
-0.3775716722011566,
0.8877854347229004,
0.1026630625128746,
0.8777511715888977,
... |
func UserApplicationLinkKey(user, application, username string) []byte {
return append(UserApplicationLinksPrefix(user), []byte(strings.ToLower(application)+strings.ToLower(username))...)
} | [
-0.41554683446884155,
-0.9655072093009949,
0.35111305117607117,
0.4331633746623993,
-0.2308170050382614,
0.4123550355434418,
-0.0500934012234211,
-0.024570634588599205,
0.4903850257396698,
0.10507205873727798,
-0.2641623318195343,
1.0876765251159668,
0.07865556329488754,
0.8515990376472473... |
func ApplicationLinkClientIDKey(clientID string) []byte {
return append(ApplicationLinkClientIDPrefix, []byte(clientID)...)
} | [
0.7068668007850647,
-1.1069927215576172,
0.03470718860626221,
-1.250715732574463,
0.2077064961194992,
0.07464038580656052,
-0.6153588891029358,
-1.0424710512161255,
0.6925069093704224,
-0.2653505206108093,
-0.31847426295280457,
1.0576432943344116,
-0.20586413145065308,
1.1597506999969482,
... |
func getForm(w http.ResponseWriter, r *http.Request) {
mp_rdr, err := r.MultipartReader()
if err != nil {
showPage(Page{false, nil}, w, r)
return
}
var page Page
var frm FormData
for {
part, err := mp_rdr.NextPart()
if err == io.EOF {
break
}
if part.FormName() == "caption" {
br := new(bytes.Buf... | [
-0.1462867558002472,
-0.6287341713905334,
0.7816917896270752,
-0.20570476353168488,
-0.06492922455072403,
-0.2919802963733673,
-0.07875943928956985,
0.26525387167930603,
-0.2603071928024292,
-0.2199835330247879,
0.5074243545532227,
-0.5838421583175659,
0.4532705843448639,
1.326116085052490... |
func (client *SmnClient) PublishMessage(request *PublishMessageRequest) (response *PublishMessageResponse, err error) {
response = &PublishMessageResponse{
BaseResponse: &BaseResponse{},
}
err = client.SendRequest(request, response)
return
} | [
-1.2020353078842163,
0.2892625331878662,
0.6411774754524231,
0.7146598100662231,
-0.14466893672943115,
-0.8499857187271118,
0.2629411220550537,
-0.22595952451229095,
0.4700011909008026,
0.005528202746063471,
0.030439486727118492,
0.3886990547180176,
-1.224611759185791,
0.8679682016372681,
... |
func (client *SmnClient) NewPublishMessageRequest() (request *PublishMessageRequest) {
request = &PublishMessageRequest{
BaseRequest: &BaseRequest{Headers: make(map[string]string)},
}
return
} | [
-0.9584630727767944,
-0.5762439370155334,
0.5905546545982361,
-0.02278713695704937,
-0.9822500348091125,
-0.5160683393478394,
-0.498543918132782,
0.10582572221755981,
-0.13712283968925476,
0.5050126314163208,
0.39235785603523254,
0.6748990416526794,
-0.6090219020843506,
1.2344697713851929,... |
func (request *PublishMessageRequest) GetUrl() (string, error) {
if request.TopicUrn == "" {
return "", fmt.Errorf("topic urn is null")
}
if !util.ValidateSubject(request.Subject) {
return "", fmt.Errorf("subject is invalid or oversize 512bytes")
}
if !util.ValidateMessage(request.Message) {
return "", fmt... | [
0.2548028528690338,
0.2406422644853592,
0.638965904712677,
0.4206578731536865,
-0.026668554171919823,
-0.049573350697755814,
-0.19592268764972687,
0.186495840549469,
0.10586615651845932,
-0.14264227449893951,
1.0815463066101074,
1.063743233680725,
-1.0735173225402832,
0.40686580538749695,
... |
func (request *PublishMessageRequest) GetMethod() string {
return util.POST
} | [
0.5538808107376099,
0.21758073568344116,
0.5917226076126099,
0.17996567487716675,
0.5186052322387695,
0.43676650524139404,
0.11354703456163406,
-0.7384774684906006,
-0.21126645803451538,
-0.13204653561115265,
1.5078974962234497,
0.10581204295158386,
-0.13036176562309265,
0.7668064832687378... |
func (request *PublishMessageRequest) GetBodyReader() (reader io.Reader, err error) {
return util.GetBodyParams(request)
} | [
-0.874213695526123,
-0.2303391993045807,
0.46460461616516113,
0.1618606448173523,
0.055782124400138855,
0.42087605595588684,
-0.5666940212249756,
-0.39279353618621826,
-0.09657090157270432,
-0.15984703600406647,
0.9962540864944458,
0.9734954237937927,
-0.5345765352249146,
1.251940846443176... |
func (o *Options) Resolve() (Operation, error) {
var base operationBase
if o.schemaPath == "" {
return nil, errors.New("a schema is required")
}
b, err := ioutil.ReadFile(o.schemaPath)
if err != nil {
return nil, fmt.Errorf("unable to read schema %q: %v", o.schemaPath, err)
}
base.parser, err = typed.NewPars... | [
-0.23407138884067535,
-0.1231808066368103,
1.0478636026382446,
0.5439413189888,
0.5380017161369324,
-1.213241457939148,
-0.05600794032216072,
-0.34313592314720154,
-0.07782844454050064,
-0.5617366433143616,
-0.056623656302690506,
-0.6005039811134338,
-1.0190129280090332,
0.1828623563051223... |
func (c Conn) Close() error {
return c.conn.Close()
} | [
0.4884674549102783,
-0.34936171770095825,
0.26018983125686646,
0.6679877638816833,
-0.00430570961907506,
0.07059796154499054,
-0.554862380027771,
0.14819155633449554,
-1.0939501523971558,
-0.9474584460258484,
0.3013208210468292,
-0.18523715436458588,
-0.6969109773635864,
0.4507269561290741... |
func (c Conn) LocalAddr() net.Addr {
return c.conn.LocalAddr()
} | [
1.2466413974761963,
-1.2556326389312744,
0.18662291765213013,
-0.3121068775653839,
-0.8185785412788391,
-0.11905304342508316,
-0.42763811349868774,
0.765303909778595,
0.14542977511882782,
-0.5027833580970764,
0.9330892562866211,
-0.2774246335029602,
-0.4035086929798126,
0.09907828271389008... |
func (c Conn) RemoteAddr() net.Addr {
return c.conn.RemoteAddr()
} | [
1.1101065874099731,
-1.3440296649932861,
0.46335601806640625,
-0.32612746953964233,
-0.8391988277435303,
0.7636433839797974,
-0.6951725482940674,
0.352934867143631,
0.36915522813796997,
-0.5103128552436829,
0.28658539056777954,
0.6348229646682739,
-0.628674328327179,
-0.09036186337471008,
... |
func (c Conn) SetReadDeadline(t time.Time) error {
return c.conn.SetReadDeadline(t)
} | [
-0.5769991278648376,
-0.40286290645599365,
0.43342217803001404,
-0.11963401734828949,
0.12850221991539001,
0.5382946729660034,
-0.4620191752910614,
-0.7265080213546753,
-0.6987648606300354,
0.23763008415699005,
-0.9387335777282715,
-0.3077121675014496,
0.659803032875061,
0.5300952196121216... |
func (c Conn) SetWriteDeadline(t time.Time) error {
return c.conn.SetWriteDeadline(t)
} | [
-0.9811152815818787,
-0.6152724027633667,
0.3523886203765869,
-0.09176351130008698,
1.658660650253296,
0.36791205406188965,
-0.21467934548854828,
-0.03193635120987892,
-1.0416407585144043,
0.26529398560523987,
-0.7890143394470215,
-0.6255773901939392,
-0.005395879037678242,
0.3704133331775... |
func toParams(u *core.Connection) map[string]interface{} {
return map[string]interface{}{
"connection_id": u.ID,
"connection_name": u.Name,
"connection_pid": u.PID,
"connection_data_base": u.DataBase,
"connection_host": u.Host,
"connection_port": u.Port,
"connectio... | [
-0.7194190621376038,
-0.37332916259765625,
0.7649470567703247,
-0.8693135976791382,
-0.2895458936691284,
0.18369236588478088,
-1.0403677225112915,
-0.039264779537916183,
-0.4903956949710846,
0.7518583536148071,
-0.5328469276428223,
-0.16723284125328064,
-0.01956425979733467,
0.409369856119... |
func scanRow(scanner db.Scanner, dest *core.Connection) error {
return scanner.Scan(
&dest.ID,
&dest.Name,
&dest.PID,
&dest.DataBase,
&dest.Host,
&dest.Port,
&dest.User,
&dest.Password,
&dest.Description,
&dest.Created,
&dest.Updated,
)
} | [
-1.258920431137085,
0.04001719877123833,
0.43134605884552,
0.41270360350608826,
-0.9733619093894958,
-0.5824839472770691,
-1.5028380155563354,
-0.17194610834121704,
0.16117385029792786,
-0.5029621124267578,
0.021774552762508392,
-0.02858770452439785,
0.08173030614852905,
0.8171748518943787... |
func scanRows(rows *sql.Rows) ([]*core.Connection, error) {
defer rows.Close()
connections := []*core.Connection{}
for rows.Next() {
connection := new(core.Connection)
err := scanRow(rows, connection)
if err != nil {
return nil, err
}
connections = append(connections, connection)
}
return connections... | [
-1.1298198699951172,
0.08905841410160065,
0.3878481388092041,
1.0787919759750366,
-0.6910566687583923,
-1.325998306274414,
-0.4982002079486847,
-0.3959393799304962,
1.1142373085021973,
-0.07544941455125809,
0.18584702908992767,
-0.4734419286251068,
-0.7998144030570984,
1.1999211311340332,
... |
func waitTimeout(wg *sync.WaitGroup, timeout time.Duration) bool {
c := make(chan struct{})
go func() {
defer close(c)
wg.Wait()
}()
select {
case <-c:
return false // completed normally
case <-time.After(timeout):
return true // timed out
}
} | [
0.09323880076408386,
0.4994160234928131,
0.4038292467594147,
-0.06507278233766556,
-0.7787149548530579,
0.109902523458004,
-0.21467408537864685,
0.13639743626117706,
-0.8665448427200317,
0.6748563051223755,
-0.0783974826335907,
-0.6473401188850403,
-0.3562183082103729,
0.07075422257184982,... |
func NewCfnCustomResource(scope constructs.Construct, id *string, props *CfnCustomResourceProps) CfnCustomResource {
_init_.Initialize()
j := jsiiProxy_CfnCustomResource{}
_jsii_.Create(
"aws-cdk-lib.aws_cloudformation.CfnCustomResource",
[]interface{}{scope, id, props},
&j,
)
return &j
} | [
0.3906607925891876,
-0.581871509552002,
-0.04706066474318504,
-0.4172581434249878,
-1.0059770345687866,
-1.1489506959915161,
0.9028663039207458,
0.5045198798179626,
-0.12932303547859192,
-0.04708750545978546,
-0.6182428598403931,
-0.43173733353614807,
0.18046745657920837,
0.292526721954345... |
func NewCfnCustomResource_Override(c CfnCustomResource, scope constructs.Construct, id *string, props *CfnCustomResourceProps) {
_init_.Initialize()
_jsii_.Create(
"aws-cdk-lib.aws_cloudformation.CfnCustomResource",
[]interface{}{scope, id, props},
c,
)
} | [
0.0355282723903656,
-0.3073701858520508,
0.16168884932994843,
-0.23911195993423462,
-0.5226884484291077,
-1.2112457752227783,
0.5467733144760132,
0.5810840725898743,
-0.16020552814006805,
-0.6917303204536438,
-0.8793684244155884,
-0.8295292258262634,
-0.03321480005979538,
0.096727766096591... |
func CfnCustomResource_IsCfnElement(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"aws-cdk-lib.aws_cloudformation.CfnCustomResource",
"isCfnElement",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.1684388667345047,
0.4829002916812897,
0.41513219475746155,
0.5901999473571777,
-0.5862149596214294,
-0.062285613268613815,
0.8752106428146362,
-0.27446386218070984,
0.6370699405670166,
-0.30296167731285095,
-0.8618963360786438,
0.4451066553592682,
-0.244704931974411,
0.8198772072792053,... |
func CfnCustomResource_IsCfnResource(construct constructs.IConstruct) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"aws-cdk-lib.aws_cloudformation.CfnCustomResource",
"isCfnResource",
[]interface{}{construct},
&returns,
)
return returns
} | [
-0.4952642321586609,
0.07053346186876297,
0.37880995869636536,
0.14659392833709717,
-0.331500768661499,
-1.0029587745666504,
1.0464643239974976,
0.1952667385339737,
-0.10964489728212357,
-0.6341412663459778,
-0.7864581346511841,
-0.44803473353385925,
-0.17440783977508545,
0.368053168058395... |
func CfnCustomResource_IsConstruct(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"aws-cdk-lib.aws_cloudformation.CfnCustomResource",
"isConstruct",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.45156264305114746,
-0.04169351980090141,
0.5189563632011414,
0.1915770322084427,
-0.6592583060264587,
-0.16109031438827515,
0.98520427942276,
-0.5672082304954529,
0.08131483197212219,
-0.45012229681015015,
-0.8303675055503845,
-0.0774456039071083,
0.19357669353485107,
0.5050711035728455... |
func (c *jsiiProxy_CfnCustomResource) AddDeletionOverride(path *string) {
_jsii_.InvokeVoid(
c,
"addDeletionOverride",
[]interface{}{path},
)
} | [
0.8293628692626953,
0.4367217719554901,
0.630578875541687,
0.44955819845199585,
-0.34333691000938416,
-0.17386430501937866,
0.6107886433601379,
0.2964319586753845,
1.0453697443008423,
-0.7766411304473877,
0.08502310514450073,
0.47086626291275024,
-0.19986961781978607,
-0.331849604845047,
... |
func (c *jsiiProxy_CfnCustomResource) AddDependsOn(target awscdk.CfnResource) {
_jsii_.InvokeVoid(
c,
"addDependsOn",
[]interface{}{target},
)
} | [
-0.9727020263671875,
-0.029657786712050438,
0.4503491520881653,
0.01337613258510828,
-0.16235637664794922,
-0.24341821670532227,
1.101133108139038,
0.21980491280555725,
0.32551145553588867,
-1.0907491445541382,
-0.784206211566925,
-0.008573551662266254,
0.08374716341495514,
0.4999482035636... |
func (c *jsiiProxy_CfnCustomResource) AddMetadata(key *string, value interface{}) {
_jsii_.InvokeVoid(
c,
"addMetadata",
[]interface{}{key, value},
)
} | [
-0.49715447425842285,
0.7110736966133118,
0.5016704797744751,
0.39130088686943054,
0.17621006071567535,
0.24839861690998077,
0.08061999827623367,
-0.1509622484445572,
-0.006995986681431532,
0.2181793600320816,
-0.08916953206062317,
0.3840089738368988,
-0.09779009968042374,
-0.0889457985758... |
func (c *jsiiProxy_CfnCustomResource) AddPropertyDeletionOverride(propertyPath *string) {
_jsii_.InvokeVoid(
c,
"addPropertyDeletionOverride",
[]interface{}{propertyPath},
)
} | [
0.9929224252700806,
-0.07437346130609512,
0.677693247795105,
0.7150121927261353,
-0.11379095911979675,
0.12364669889211655,
0.3512149751186371,
0.05049269273877144,
1.3195585012435913,
-0.9662072062492371,
0.5928594470024109,
0.2827872037887573,
-0.47456568479537964,
-0.8205680251121521,
... |
func (c *jsiiProxy_CfnCustomResource) AddPropertyOverride(propertyPath *string, value interface{}) {
_jsii_.InvokeVoid(
c,
"addPropertyOverride",
[]interface{}{propertyPath, value},
)
} | [
-0.3658488690853119,
0.40409067273139954,
0.6628677845001221,
0.5996233820915222,
-0.2459808886051178,
-0.030832987278699875,
0.3119993507862091,
-0.3838542103767395,
0.6273714303970337,
-1.404092788696289,
0.11411553621292114,
-0.6122099161148071,
-0.7495294809341431,
-0.8271001577377319,... |
func (c *jsiiProxy_CfnCustomResource) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) {
_jsii_.InvokeVoid(
c,
"applyRemovalPolicy",
[]interface{}{policy, options},
)
} | [
0.09617764502763748,
0.2814936637878418,
0.550898015499115,
-0.32198581099510193,
-0.13869786262512207,
0.5568350553512573,
0.537452757358551,
0.8340939879417419,
1.1502468585968018,
-0.5754663944244385,
0.012283092364668846,
-0.19143350422382355,
-0.525677502155304,
-0.30015459656715393,
... |
func (c *jsiiProxy_CfnCustomResource) GetAtt(attributeName *string) awscdk.Reference {
var returns awscdk.Reference
_jsii_.Invoke(
c,
"getAtt",
[]interface{}{attributeName},
&returns,
)
return returns
} | [
0.1257081776857376,
0.17605888843536377,
0.3060990869998932,
-0.9577968120574951,
-0.41586267948150635,
-0.7500197887420654,
1.088236927986145,
-1.2885822057724,
0.016234178096055984,
-0.6648387908935547,
1.008922815322876,
1.1379643678665161,
0.6476800441741943,
-0.5504086017608643,
-0.... |
func (c *jsiiProxy_CfnCustomResource) GetMetadata(key *string) interface{} {
var returns interface{}
_jsii_.Invoke(
c,
"getMetadata",
[]interface{}{key},
&returns,
)
return returns
} | [
-0.39932504296302795,
0.895656406879425,
0.5013946890830994,
0.6830592155456543,
-0.12197742611169815,
-0.7161743640899658,
0.6124767661094666,
-0.755120575428009,
0.13886862993240356,
0.3006015717983246,
-0.09536708891391754,
0.7186269164085388,
-0.1018945574760437,
-0.3315648138523102,
... |
func (c *jsiiProxy_CfnCustomResource) Inspect(inspector awscdk.TreeInspector) {
_jsii_.InvokeVoid(
c,
"inspect",
[]interface{}{inspector},
)
} | [
-0.05407647415995598,
0.5762287974357605,
0.41901370882987976,
-0.7273787260055542,
-0.2709335386753082,
-0.9504780173301697,
1.6400970220565796,
0.21471130847930908,
-0.7423954606056213,
-0.13919053971767426,
-0.17804524302482605,
0.16731828451156616,
-0.14714646339416504,
0.3419847190380... |
func (c *jsiiProxy_CfnCustomResource) OverrideLogicalId(newLogicalId *string) {
_jsii_.InvokeVoid(
c,
"overrideLogicalId",
[]interface{}{newLogicalId},
)
} | [
0.9990792870521545,
-0.1767970472574234,
0.5278702974319458,
-0.1512528955936432,
-0.40662771463394165,
-0.4072623550891876,
0.48970553278923035,
0.4233591854572296,
0.31285029649734497,
-0.5066249966621399,
-0.31974536180496216,
0.8811022043228149,
-0.4535754323005676,
-0.6434549689292908... |
func (c *jsiiProxy_CfnCustomResource) ShouldSynthesize() *bool {
var returns *bool
_jsii_.Invoke(
c,
"shouldSynthesize",
nil, // no parameters
&returns,
)
return returns
} | [
-0.09918594360351562,
1.4946238994598389,
0.41350433230400085,
0.17495819926261902,
-0.37419310212135315,
-0.9544653296470642,
1.1865296363830566,
0.09230360388755798,
-0.30681395530700684,
-0.8536588549613953,
-0.716759204864502,
-0.44124215841293335,
-0.7016015648841858,
-0.1782127916812... |
func (c *jsiiProxy_CfnCustomResource) ToString() *string {
var returns *string
_jsii_.Invoke(
c,
"toString",
nil, // no parameters
&returns,
)
return returns
} | [
0.6972987055778503,
0.5443617105484009,
0.46494260430336,
-0.3434029519557953,
0.11372869461774826,
-0.6781514883041382,
1.5699793100357056,
-0.6708233952522278,
-0.20055244863033295,
-0.21674953401088715,
0.002956927986815572,
0.10255540162324905,
-0.16058550775051117,
-0.8876317739486694... |
func NewCfnMacro(scope constructs.Construct, id *string, props *CfnMacroProps) CfnMacro {
_init_.Initialize()
j := jsiiProxy_CfnMacro{}
_jsii_.Create(
"aws-cdk-lib.aws_cloudformation.CfnMacro",
[]interface{}{scope, id, props},
&j,
)
return &j
} | [
-0.188963383436203,
-0.19224844872951508,
0.2732701599597931,
0.05191463977098465,
-1.0889531373977661,
-1.541091799736023,
0.013486444018781185,
-0.11873162537813187,
-1.0297192335128784,
-0.7559511065483093,
-0.7309311032295227,
-0.2825242877006531,
0.31941309571266174,
0.634213566780090... |
func NewCfnMacro_Override(c CfnMacro, scope constructs.Construct, id *string, props *CfnMacroProps) {
_init_.Initialize()
_jsii_.Create(
"aws-cdk-lib.aws_cloudformation.CfnMacro",
[]interface{}{scope, id, props},
c,
)
} | [
-0.1699005663394928,
0.13679873943328857,
0.3312075436115265,
0.07597871869802475,
-0.5084524154663086,
-1.6085484027862549,
0.1162528246641159,
0.12651604413986206,
-0.8318805694580078,
-1.454443097114563,
-1.0373525619506836,
-0.5977780818939209,
0.10159439593553543,
0.5194361805915833,
... |
func CfnMacro_IsCfnElement(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"aws-cdk-lib.aws_cloudformation.CfnMacro",
"isCfnElement",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.3410685062408447,
0.8692547082901001,
0.48033368587493896,
0.982426643371582,
-0.5881826877593994,
-0.311490923166275,
0.5080450177192688,
-0.47888073325157166,
0.31111419200897217,
-0.5107454061508179,
-0.9580514430999756,
0.6193283796310425,
-0.255241721868515,
1.0632717609405518,
-... |
func CfnMacro_IsCfnResource(construct constructs.IConstruct) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"aws-cdk-lib.aws_cloudformation.CfnMacro",
"isCfnResource",
[]interface{}{construct},
&returns,
)
return returns
} | [
-0.5997048616409302,
0.2696094214916229,
0.3635896146297455,
0.3401857316493988,
-0.13517533242702484,
-1.2806975841522217,
0.901972770690918,
0.1421007663011551,
-0.4663535952568054,
-0.8457821607589722,
-0.7017401456832886,
-0.3661133348941803,
-0.2272515445947647,
0.6622076034545898,
... |
func CfnMacro_IsConstruct(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"aws-cdk-lib.aws_cloudformation.CfnMacro",
"isConstruct",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.6955564618110657,
0.32718485593795776,
0.5605022311210632,
0.5606656074523926,
-0.6611839532852173,
-0.45391762256622314,
0.5834587216377258,
-1.0644818544387817,
-0.10498322546482086,
-0.7150937914848328,
-0.8451607823371887,
0.20100469887256622,
0.2471284121274948,
0.8022248148918152,... |
func (c *jsiiProxy_CfnMacro) AddDeletionOverride(path *string) {
_jsii_.InvokeVoid(
c,
"addDeletionOverride",
[]interface{}{path},
)
} | [
0.8080741763114929,
0.6924173831939697,
0.6282114386558533,
0.7001264691352844,
-0.2730627954006195,
-0.36336639523506165,
0.4265751242637634,
0.19719111919403076,
0.7817947864532471,
-1.0199915170669556,
0.07570348680019379,
0.7046698331832886,
-0.39972439408302307,
0.06203646957874298,
... |
func (c *jsiiProxy_CfnMacro) AddDependsOn(target awscdk.CfnResource) {
_jsii_.InvokeVoid(
c,
"addDependsOn",
[]interface{}{target},
)
} | [
-1.1395453214645386,
0.09680618345737457,
0.41754069924354553,
0.20057517290115356,
-0.08551075309515,
-0.5748355984687805,
0.9034560918807983,
0.1673213541507721,
0.053216930478811264,
-1.3310986757278442,
-0.6570173501968384,
0.15417824685573578,
0.08893030881881714,
0.9522148370742798,
... |
func (c *jsiiProxy_CfnMacro) AddMetadata(key *string, value interface{}) {
_jsii_.InvokeVoid(
c,
"addMetadata",
[]interface{}{key, value},
)
} | [
-0.7086337804794312,
1.0744236707687378,
0.5217070579528809,
0.6595563888549805,
0.2820456922054291,
-0.019312476739287376,
-0.28227099776268005,
-0.3122113049030304,
-0.45185112953186035,
-0.03499066084623337,
-0.22055937349796295,
0.733162522315979,
-0.3200173079967499,
0.414638787508010... |
func (c *jsiiProxy_CfnMacro) AddPropertyDeletionOverride(propertyPath *string) {
_jsii_.InvokeVoid(
c,
"addPropertyDeletionOverride",
[]interface{}{propertyPath},
)
} | [
0.897758424282074,
0.10767616331577301,
0.7627888917922974,
0.8857876658439636,
-0.03001636452972889,
-0.008442734368145466,
0.0789123922586441,
0.062278762459754944,
1.1428534984588623,
-1.209071159362793,
0.5353768467903137,
0.4639040231704712,
-0.5832766890525818,
-0.5639156699180603,
... |
func (c *jsiiProxy_CfnMacro) AddPropertyOverride(propertyPath *string, value interface{}) {
_jsii_.InvokeVoid(
c,
"addPropertyOverride",
[]interface{}{propertyPath, value},
)
} | [
-0.4527353048324585,
0.5783843398094177,
0.7544459104537964,
0.9199854731559753,
-0.1155017614364624,
-0.31593430042266846,
0.014250988140702248,
-0.39426562190055847,
0.3648417890071869,
-1.590511679649353,
0.05421426147222519,
-0.3447882831096649,
-0.931790828704834,
-0.4366630017757416,... |
func (c *jsiiProxy_CfnMacro) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) {
_jsii_.InvokeVoid(
c,
"applyRemovalPolicy",
[]interface{}{policy, options},
)
} | [
0.0616934634745121,
0.38463085889816284,
0.5630664229393005,
-0.0813838317990303,
0.028496792539954185,
0.41086345911026,
0.2605896592140198,
0.755919337272644,
1.0231431722640991,
-0.7994712591171265,
-0.04377274215221405,
-0.1381504237651825,
-0.5743120908737183,
-0.0917581096291542,
0... |
func (c *jsiiProxy_CfnMacro) GetAtt(attributeName *string) awscdk.Reference {
var returns awscdk.Reference
_jsii_.Invoke(
c,
"getAtt",
[]interface{}{attributeName},
&returns,
)
return returns
} | [
-0.029476504772901535,
0.41398194432258606,
0.31181830167770386,
-0.5868291854858398,
-0.2743469178676605,
-1.0914386510849,
0.7413961291313171,
-1.3833386898040771,
-0.24250485002994537,
-0.8979040384292603,
1.0355862379074097,
1.3563928604125977,
0.5739341378211975,
-0.17642776668071747,... |
func (c *jsiiProxy_CfnMacro) GetMetadata(key *string) interface{} {
var returns interface{}
_jsii_.Invoke(
c,
"getMetadata",
[]interface{}{key},
&returns,
)
return returns
} | [
-0.660036563873291,
1.2673394680023193,
0.5352552533149719,
1.014843463897705,
0.06181660294532776,
-1.0438581705093384,
0.28278833627700806,
-1.0449254512786865,
-0.27611538767814636,
-0.011943121440708637,
-0.18426834046840668,
1.038087248802185,
-0.3334570825099945,
0.21912528574466705,... |
func (c *jsiiProxy_CfnMacro) Inspect(inspector awscdk.TreeInspector) {
_jsii_.InvokeVoid(
c,
"inspect",
[]interface{}{inspector},
)
} | [
-0.29890021681785583,
0.8258517384529114,
0.3880424499511719,
-0.12511985003948212,
-0.1193055808544159,
-1.2838971614837646,
1.0442675352096558,
-0.016141315922141075,
-1.1006805896759033,
-0.5801332592964172,
-0.20015014708042145,
0.5643582344055176,
-0.27146217226982117,
0.9394550919532... |
func (c *jsiiProxy_CfnMacro) OverrideLogicalId(newLogicalId *string) {
_jsii_.InvokeVoid(
c,
"overrideLogicalId",
[]interface{}{newLogicalId},
)
} | [
0.7789998054504395,
-0.010848882608115673,
0.5669769644737244,
0.13965825736522675,
-0.3907744288444519,
-0.5465018153190613,
0.25204357504844666,
0.4178405702114105,
0.09546554833650589,
-0.598233699798584,
-0.42451012134552,
1.0933104753494263,
-0.6251017451286316,
-0.343911349773407,
... |
func (c *jsiiProxy_CfnMacro) ShouldSynthesize() *bool {
var returns *bool
_jsii_.Invoke(
c,
"shouldSynthesize",
nil, // no parameters
&returns,
)
return returns
} | [
-0.08056095987558365,
1.87457275390625,
0.4883909523487091,
0.5951467156410217,
-0.2807237207889557,
-1.2152621746063232,
0.9454633593559265,
0.06537264585494995,
-0.6634756326675415,
-1.0984681844711304,
-0.8342239260673523,
-0.3071572184562683,
-0.9334205985069275,
0.38345834612846375,
... |
func (c *jsiiProxy_CfnMacro) ToString() *string {
var returns *string
_jsii_.Invoke(
c,
"toString",
nil, // no parameters
&returns,
)
return returns
} | [
0.3988594114780426,
1.0153999328613281,
0.4490480124950409,
0.2528165578842163,
0.26234379410743713,
-1.1656752824783325,
1.0524736642837524,
-1.1515191793441772,
-0.7455544471740723,
-0.6446266770362854,
0.06749032437801361,
0.3991280794143677,
-0.4325684905052185,
-0.4412054419517517,
... |
func NewCfnModuleDefaultVersion(scope constructs.Construct, id *string, props *CfnModuleDefaultVersionProps) CfnModuleDefaultVersion {
_init_.Initialize()
j := jsiiProxy_CfnModuleDefaultVersion{}
_jsii_.Create(
"aws-cdk-lib.aws_cloudformation.CfnModuleDefaultVersion",
[]interface{}{scope, id, props},
&j,
)
... | [
-0.5476829409599304,
0.09614090621471405,
-0.04800500348210335,
0.18303771317005157,
0.7656611800193787,
-0.6594200134277344,
-0.11591684818267822,
-0.45190951228141785,
-0.3124106228351593,
-0.3811635971069336,
-0.7738226652145386,
-0.8945655822753906,
-0.27890023589134216,
0.533887326717... |
func NewCfnModuleDefaultVersion_Override(c CfnModuleDefaultVersion, scope constructs.Construct, id *string, props *CfnModuleDefaultVersionProps) {
_init_.Initialize()
_jsii_.Create(
"aws-cdk-lib.aws_cloudformation.CfnModuleDefaultVersion",
[]interface{}{scope, id, props},
c,
)
} | [
-0.7013473510742188,
0.4380074739456177,
-0.0020098399836570024,
0.6337807178497314,
0.9506427049636841,
-0.7548902630805969,
-0.11451455950737,
-0.16281305253505707,
-0.09518025815486908,
-0.9822260141372681,
-0.9460524916648865,
-1.1382261514663696,
-0.3850741982460022,
0.504905700683593... |
func CfnModuleDefaultVersion_IsCfnElement(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"aws-cdk-lib.aws_cloudformation.CfnModuleDefaultVersion",
"isCfnElement",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.45832639932632446,
0.9082814455032349,
0.43776339292526245,
1.1369075775146484,
0.26201725006103516,
0.050472818315029144,
0.28586411476135254,
-0.4249308407306671,
0.44011443853378296,
0.0020824577659368515,
-1.379597783088684,
0.08101245760917664,
-0.702282726764679,
1.073041439056396... |
func CfnModuleDefaultVersion_IsCfnResource(construct constructs.IConstruct) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"aws-cdk-lib.aws_cloudformation.CfnModuleDefaultVersion",
"isCfnResource",
[]interface{}{construct},
&returns,
)
return returns
} | [
-0.662360429763794,
0.3917006552219391,
0.29535388946533203,
0.5336148142814636,
0.5606043338775635,
-0.6929749250411987,
0.4228590130805969,
0.0022320549469441175,
0.08216562867164612,
-0.3420533835887909,
-1.2580496072769165,
-0.9125881791114807,
-0.5670115351676941,
0.6756186485290527,
... |
func CfnModuleDefaultVersion_IsConstruct(x interface{}) *bool {
_init_.Initialize()
var returns *bool
_jsii_.StaticInvoke(
"aws-cdk-lib.aws_cloudformation.CfnModuleDefaultVersion",
"isConstruct",
[]interface{}{x},
&returns,
)
return returns
} | [
-0.9901729226112366,
0.24911144375801086,
0.48738616704940796,
0.8593447208404541,
0.5362257361412048,
0.16670915484428406,
0.36531442403793335,
-0.8305262923240662,
0.25066035985946655,
-0.05035477131605148,
-1.2183758020401,
-0.4975571930408478,
-0.2726576626300812,
0.8050311207771301,
... |
func (c *jsiiProxy_CfnModuleDefaultVersion) AddDeletionOverride(path *string) {
_jsii_.InvokeVoid(
c,
"addDeletionOverride",
[]interface{}{path},
)
} | [
0.5516417622566223,
0.7835778594017029,
0.6381375789642334,
0.4641224443912506,
0.4446078836917877,
0.1594427078962326,
0.18002808094024658,
0.031248461455106735,
0.8872966170310974,
-0.6827293634414673,
-0.39339423179626465,
0.3755691647529602,
-0.6635927557945251,
-0.06258446723222733,
... |
func (c *jsiiProxy_CfnModuleDefaultVersion) AddDependsOn(target awscdk.CfnResource) {
_jsii_.InvokeVoid(
c,
"addDependsOn",
[]interface{}{target},
)
} | [
-1.211284875869751,
0.264819860458374,
0.4446764588356018,
0.027078580111265182,
0.4785967171192169,
-0.047150563448667526,
0.6275447607040405,
-0.02929050661623478,
0.23713624477386475,
-0.9814339876174927,
-1.0589228868484497,
-0.05446839705109596,
-0.20679260790348053,
0.619479894638061... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.