text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func ProductValidationMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
product := data.Product{}
err := product.FromJSON(r.Body)
if err != nil {
http.Error(w, "unable to unmarshal json", http.StatusBadRequest)
return
}
ctx := context.Wi... | [
-0.6626561880111694,
-0.4710281789302826,
0.5871753692626953,
0.9936097860336304,
-1.176123023033142,
1.099757432937622,
-0.16716644167900085,
-0.21823757886886597,
0.4871879816055298,
0.8228719830513,
0.46003100275993347,
0.6466448307037354,
-0.31491637229919434,
-0.042240776121616364,
... |
func (products *Products) GetProducts(w http.ResponseWriter, r *http.Request) {
productsCollections := data.GetProducts()
err := productsCollections.ToJSON(w)
if err != nil {
http.Error(w, "unable to marshal json", http.StatusInternalServerError)
}
} | [
-1.1302173137664795,
0.05160624161362648,
0.5675843358039856,
-0.006465632002800703,
0.8077898621559143,
0.1312478929758072,
0.25186941027641296,
-1.2118831872940063,
0.003124229609966278,
0.11658614128828049,
-0.5171404480934143,
0.5463834404945374,
0.027184246107935905,
0.227851897478103... |
func (products *Products) AddProduct(w http.ResponseWriter, r *http.Request) {
products.logger.Println("post a new product")
product := r.Context().Value(KeyProduct{}).(data.Product)
data.AddProduct(&product)
return
} | [
-1.1361721754074097,
0.3580051362514496,
0.36630064249038696,
0.7219433188438416,
0.736372709274292,
1.0034666061401367,
-0.3555351197719574,
-0.3789823055267334,
0.5295227766036987,
-1.047982931137085,
0.24704739451408386,
0.05601842701435089,
-0.7084820866584778,
0.305890291929245,
-0.... |
func (products *Products) UpdateProduct(w http.ResponseWriter, r *http.Request) {
products.logger.Println("handle PUT request")
vars := mux.Vars(r)
id, err := strconv.Atoi(vars["id"])
if err != nil {
http.Error(w, "unable to parse id", http.StatusBadRequest)
return
}
product := r.Context().Value(KeyProduct{... | [
-1.5032018423080444,
-0.5791124701499939,
0.5126572251319885,
0.20507758855819702,
0.0921640396118164,
0.5393221378326416,
-0.08061346411705017,
-0.17874327301979065,
0.4214530289173126,
0.14648011326789856,
0.5235235691070557,
0.12625658512115479,
-0.784132719039917,
-0.09482283145189285,... |
func makeKvStore(cluster []string, id int, port int, join bool, etcd bool) {
defer wg.Done()
proposeC := make(chan string)
defer close(proposeC)
confChangeC := make(chan raftpb.ConfChange)
defer close(confChangeC)
// raft provides a commit stream for the proposals from the http api
var kvs *kvstore
getSnapshot... | [
-0.18566511571407318,
0.5411219000816345,
0.5742670893669128,
0.39871734380722046,
-0.7385752201080322,
0.33624619245529175,
-0.5983079075813293,
0.2205316126346588,
-0.26608189940452576,
0.38413870334625244,
0.049136802554130554,
0.08212320506572723,
-0.6912460327148438,
0.018202517181634... |
func NewBlockquoteParser() BlockParser {
return defaultBlockquoteParser
} | [
0.40282952785491943,
-0.8627030253410339,
0.3868897259235382,
0.21403655409812927,
-0.30221158266067505,
-0.823560893535614,
-0.9536093473434448,
-0.3919949233531952,
0.35328346490859985,
0.6175247430801392,
-0.09010079503059387,
-0.09403512626886368,
-1.331753134727478,
0.4508495926856994... |
func NewWebsiteClient() Client {
return WebsiteClient{}
} | [
0.27369219064712524,
-0.6337969899177551,
-0.10932821035385132,
0.7726218700408936,
-0.8100489974021912,
-0.32066380977630615,
0.7065132856369019,
-0.22231146693229675,
0.23258575797080994,
-0.03431103006005287,
-1.1770561933517456,
0.7118333578109741,
-1.2354328632354736,
-0.3401253521442... |
func CleanString(s string) (clean string) {
clean = strings.Replace(s, "\n", "", -1)
clean = strings.Trim(clean, " ")
clean = strings.Replace(clean, "\t", "", -1)
clean = html.UnescapeString(clean)
clean = strings.Join(strings.Fields(clean), " ")
return
} | [
0.4165753126144409,
-0.4404984414577484,
0.30600497126579285,
-0.6288459897041321,
-0.8410149216651917,
-0.3194865584373474,
0.01906130276620388,
-0.2810225784778595,
-0.7781805396080017,
0.43411993980407715,
-0.1473737210035324,
-0.3792492747306824,
0.6081217527389526,
-0.3443912267684936... |
func (c WebsiteClient) StationInfo(code string, destination string) (*t.StationDepartures, error) {
resp, err := getResponse(code, destination)
if err != nil {
return nil, err
}
doc, err := goquery.NewDocumentFromResponse(resp)
if err != nil {
return nil, err
}
stationName := getStation(doc)
departures, er... | [
-0.7235154509544373,
-0.19114616513252258,
0.49884387850761414,
-0.9065430760383606,
-0.3861696422100067,
0.21825839579105377,
-0.01184416189789772,
0.007656957022845745,
-0.3619038164615631,
0.7213721871376038,
-0.7421688437461853,
-0.7659659385681152,
-0.07543151080608368,
0.085441179573... |
func (sw *ScrapeWork) key() string {
// Do not take into account OriginalLabels, since they can be changed with relabeling.
// Do not take into account RelabelConfigs, since it is already applied to Labels.
// Take into account JobNameOriginal in order to capture the case when the original job_name is changed via re... | [
-0.6006121635437012,
-0.25777527689933777,
0.7472643852233887,
-0.5450727343559265,
-0.06737714260816574,
1.0124356746673584,
0.5119807124137878,
0.36487480998039246,
-0.384086549282074,
0.7541989684104919,
-0.07876451313495636,
-0.0054114097729325294,
0.07118573784828186,
0.08620807528495... |
func (sw *ScrapeWork) Job() string {
return sw.Labels.Get("job")
} | [
-0.8139451146125793,
0.18817315995693207,
0.2909879684448242,
0.6398789882659912,
-0.23759061098098755,
1.5896633863449097,
-0.05904197692871094,
0.2562561631202698,
0.11798631399869919,
-0.39587581157684326,
0.48702993988990784,
-0.23363079130649567,
-0.6645210385322571,
0.081044137477874... |
func (sw *scrapeWork) getTargetResponse() ([]byte, error) {
// use stream reader when stream mode enabled
if *streamParse || sw.Config.StreamParse || sw.mustSwitchToStreamParseMode(sw.prevBodyLen) {
// Read the response in stream mode.
sr, err := sw.GetStreamReader()
if err != nil {
return nil, err
}
dat... | [
-0.8746905326843262,
-0.558150053024292,
0.8742595911026001,
0.14440827071666718,
0.1917157918214798,
-0.039736777544021606,
0.1613418608903885,
-0.5860450267791748,
0.44631659984588623,
-0.3150476813316345,
0.11381982266902924,
0.097181037068367,
-0.6689894199371338,
-0.7740837335586548,
... |
func (sw *scrapeWork) addAutoTimeseries(wc *writeRequestCtx, name string, value float64, timestamp int64) {
sw.tmpRow.Metric = name
sw.tmpRow.Tags = nil
sw.tmpRow.Value = value
sw.tmpRow.Timestamp = timestamp
sw.addRowToTimeseries(wc, &sw.tmpRow, timestamp, false)
} | [
-0.7300449013710022,
0.7055110335350037,
0.35355785489082336,
-0.1862386018037796,
-0.052365027368068695,
-0.2207958698272705,
-0.05124304071068764,
-0.7086653709411621,
-0.11636162549257278,
-0.07866805791854858,
-0.17632664740085602,
-0.14972516894340515,
0.6830657720565796,
0.2766203284... |
func AMPBoilerplate(e *Context) error {
// Remove <style> and <noscript> tags keeping only the amp-runtime and
// amp-custom style tag. amp-runtime may be removed later by the
// AMPRuntimeCSS transformer.
for n := e.DOM.HeadNode; n != nil && n.DataAtom != atom.Body; n = htmlnode.Next(n) {
sw... | [
0.020991435274481773,
-0.16229064762592316,
0.8645815849304199,
-0.8016169667243958,
-0.745882511138916,
-1.09977126121521,
-0.19803856313228607,
0.17814363539218903,
0.20553480088710785,
0.7299630641937256,
-0.41847309470176697,
0.7085263729095459,
-0.6408170461654663,
0.6330041885375977,... |
func ShuffledIndex(index uint32, indexCount uint32, seed [32]byte, shuffleRoundCount uint8) (uint32, error) {
return computeShuffledIndex(index, indexCount, seed, true /* shuffle */, shuffleRoundCount)
} | [
-0.4365687668323517,
0.19667230546474457,
0.3049772083759308,
-0.6683400869369507,
-0.3027661442756653,
-0.09753341972827911,
0.6832787394523621,
0.41199418902397156,
0.7499173879623413,
-0.6110514998435974,
-0.8758643865585327,
0.8816801309585571,
-0.2030753642320633,
-0.4111256003379822,... |
func ShuffleList(input []uint32, seed [32]byte, shuffleRoundCount uint8) ([]uint32, error) {
return innerShuffleList(input, seed, true /* shuffle */, shuffleRoundCount)
} | [
-0.7086659669876099,
0.13714882731437683,
0.26813170313835144,
-0.10053373128175735,
-0.087399922311306,
0.18155816197395325,
0.08744903653860092,
0.7355713844299316,
0.6853624582290649,
-0.3462025225162506,
-0.784519612789154,
-0.13227210938930511,
0.2187412530183792,
0.9600264430046082,
... |
func computeShuffledIndex(index uint32, indexCount uint32, seed [32]byte, shuffle bool, shuffleRoundCount uint8) (uint32, error) {
if index >= indexCount {
return 0, fmt.Errorf("input index %d out of bounds: %d",
index, indexCount)
}
if indexCount > maxShuffleListSize {
return 0, fmt.Errorf("list size %d out ... | [
-0.2361091673374176,
0.5713580250740051,
0.6468902230262756,
-0.2037639319896698,
-0.12082486599683762,
-0.2588803172111511,
0.6404933333396912,
0.4161117374897003,
0.7823238968849182,
-0.19331322610378265,
-0.7520970702171326,
-0.11071030050516129,
-0.43699103593826294,
-0.180454015731811... |
func innerShuffleList(input []uint32, seed [32]byte, shuffle bool, shuffleRoundCount uint8) ([]uint32, error) {
if len(input) <= 1 {
return input, nil
}
if uint32(len(input)) > maxShuffleListSize {
return nil, fmt.Errorf("list size %d out of bounds",
len(input))
}
rounds := shuffleRoundCount
hashfunc := sh... | [
-0.6135507822036743,
0.7460362911224365,
0.6950188279151917,
-0.31094595789909363,
-0.7184221148490906,
-0.22087682783603668,
-0.12594114243984222,
0.34758231043815613,
0.9182780385017395,
0.3564714193344116,
-0.8421750068664551,
-0.07485968619585037,
-0.46758195757865906,
0.30501794815063... |
func swapOrNot(buf []byte, byteV byte, i uint32, input []uint32,
j uint32, source [32]byte, hashFunc func([]byte) [32]byte) (byte, [32]byte) {
if j&0xff == 0xff {
// just overwrite the last part of the buffer, reuse the start (seed, round)
binary.LittleEndian.PutUint32(buf[pivotViewSize:], uint32(j>>8))
source ... | [
-0.46130678057670593,
0.0826767235994339,
0.5044976472854614,
-0.8997354507446289,
-0.25409698486328125,
-0.23441371321678162,
0.12400198727846146,
-0.12642788887023926,
0.540614128112793,
0.11646559834480286,
-0.7256258726119995,
-0.027705520391464233,
-0.11784053593873978,
-0.04562761634... |
func fromBytes8(x []byte) uint32 {
return binary.LittleEndian.Uint32(x)
} | [
0.7066775560379028,
-0.14713136851787567,
0.21627861261367798,
-0.8541445732116699,
-0.9056623578071594,
0.9384342432022095,
-0.9411554336547852,
-0.4359320104122162,
1.7488937377929688,
-0.3563220202922821,
-0.9876549243927002,
-0.20033112168312073,
0.8884555101394653,
0.05419027432799339... |
func checkNode(c *cli.Context) error {
monitoringData := nagiosPlugin.NewMonitoring()
// Check global parameters
err := manageGlobalParameters()
if err != nil {
return cli.NewExitError(fmt.Sprintf("%v", err), nagiosPlugin.STATUS_UNKNOWN)
}
// Check current parameters
if c.String("cluster-name") == "" {
re... | [
0.3536894619464874,
-0.12958434224128723,
0.9799495339393616,
0.4372134506702423,
0.16360247135162354,
0.5598025321960449,
0.2660861909389496,
0.5727981328964233,
-0.45825496315956116,
1.3708568811416626,
0.4272596538066864,
1.6665340662002563,
-0.5826454758644104,
0.39076778292655945,
1... |
func (m *ExpressionMachine) Step() {
m.Exp = m.Exp.Reduce(m.Env)
} | [
0.0877695083618164,
0.6780036687850952,
0.2024524062871933,
-0.36810392141342163,
0.49936643242836,
0.6759633421897888,
0.758003830909729,
1.3085848093032837,
-0.7364770174026489,
-0.7556430101394653,
-0.46748775243759155,
0.27111995220184326,
-0.3628993034362793,
1.1440339088439941,
-0.... |
func (m *ExpressionMachine) Run(w io.Writer) {
for m.Exp.Reducible() {
fmt.Fprintln(w, m.Exp)
m.Step()
}
fmt.Fprintln(w, m.Exp)
} | [
-0.8291840553283691,
-0.00017633514653425664,
0.5196813344955444,
-0.21218815445899963,
-0.05004420503973961,
0.7476567029953003,
0.8321303129196167,
0.9826728105545044,
-0.8329758644104004,
-0.44588226079940796,
-0.5460941791534424,
-0.03229057788848877,
-0.1029597744345665,
1.43495321273... |
func (m *Machine) Step() {
m.Stmt, m.Env = m.Stmt.Reduce(m.Env)
} | [
-0.2589714527130127,
0.9575605988502502,
0.29512083530426025,
-0.42843958735466003,
0.4219542443752289,
0.5143665075302124,
0.09199775010347366,
0.7888849973678589,
-1.664106011390686,
-0.12478227913379669,
-0.1490432769060135,
0.27202799916267395,
-0.577738344669342,
1.502434492111206,
... |
func (m *Machine) Run(w io.Writer) {
for m.Stmt.Reducible() {
fmt.Fprintln(w, m.Stmt, m.Env)
m.Step()
}
fmt.Fprintln(w, m.Stmt, m.Env)
} | [
-0.801999032497406,
-0.22020988166332245,
0.5785369873046875,
-0.21057045459747314,
0.020514968782663345,
0.7631970047950745,
0.35991358757019043,
0.5615622401237488,
-1.7116073369979858,
-0.0936780795454979,
-0.3207069933414459,
-0.127727672457695,
-0.08299444615840912,
1.8066939115524292... |
func fcxds0_1(sdb, ddb *bolt.DB) (err error) {
fmt.Println("[CXDS] fix 0 -> 1, #128")
var objsBucket = []byte("o")
// create necessary buckets
err = ddb.Update(func(tx *bolt.Tx) (err error) {
// objects
if _, err = tx.CreateBucketIfNotExists(objsBucket); err != nil {
return
}
var info *bolt.Bucket
... | [
-0.6057971119880676,
0.130949467420578,
1.1041302680969238,
-0.04061398655176163,
-0.3411388695240021,
-0.017798928543925285,
0.8748218417167664,
0.16774322092533112,
0.24795062839984894,
0.3111046254634857,
-0.09134102612733841,
0.35170358419418335,
0.1850184053182602,
0.2764278054237366,... |
func fidxdb0_1(sdb, ddb *bolt.DB) (err error) {
fmt.Println("[IdxDB] fix 0 -> 1, #128")
var feedsBucket = []byte("f")
// create necessary buckets
err = ddb.Update(func(tx *bolt.Tx) (err error) {
// feeds
if _, err = tx.CreateBucketIfNotExists(feedsBucket); err != nil {
return
}
var info *bolt.Bucket... | [
-0.27791380882263184,
0.17965877056121826,
1.1398600339889526,
0.08464870601892471,
-0.24141700565814972,
-0.10449420660734177,
0.7776120901107788,
0.036697857081890106,
-0.10339781641960144,
0.37558695673942566,
-0.18569347262382507,
-0.31666961312294006,
-0.0773453488945961,
0.4452726244... |
func NewUSERS(config configuration_pkg.CONFIGURATION) *USERS_IMPL {
client := new(USERS_IMPL)
client.config = config
return client
} | [
-0.4685749113559723,
0.08449413627386093,
0.0019500998314470053,
-0.8311406373977661,
-0.5566686391830444,
-0.27199476957321167,
0.5414950847625732,
0.3262842893600464,
0.045899517834186554,
0.32792359590530396,
-0.33006006479263306,
0.025746753439307213,
-0.17987655103206635,
0.2551691830... |
func (*UnreadyTargetsDumps) Descriptor() ([]byte, []int) {
return file_envoy_admin_v4alpha_init_dump_proto_rawDescGZIP(), []int{0}
} | [
-1.0072178840637207,
0.25214260816574097,
0.2567577362060547,
-0.8371022939682007,
0.21680617332458496,
-0.5410404205322266,
0.574831485748291,
-0.4226510524749756,
0.05275951698422432,
-0.9694200754165649,
0.024910330772399902,
0.20855888724327087,
0.503774881362915,
-0.5247609615325928,
... |
func (*UnreadyTargetsDumps_UnreadyTargetsDump) Descriptor() ([]byte, []int) {
return file_envoy_admin_v4alpha_init_dump_proto_rawDescGZIP(), []int{0, 0}
} | [
-0.9410682916641235,
0.7068792581558228,
0.2920951843261719,
-0.7646516561508179,
0.2789388597011566,
-0.7748180031776428,
0.3642629384994507,
-0.29427599906921387,
0.33493104577064514,
-1.0017026662826538,
-0.009056555107235909,
0.0265479888767004,
0.8316594958305359,
-0.9628825783729553,... |
func ValidateParams(k, m uint8) (*Params, error) {
if k < 1 {
return nil, errors.New("k cannot be zero")
}
if m < 1 {
return nil, errors.New("m cannot be zero")
}
if k+m > 255 {
return nil, errors.New("(k + m) cannot be bigger than Galois field GF(2^8) - 1")
}
return &Params{
K: k,
M: m,
}, nil
} | [
-0.10712844133377075,
0.43766361474990845,
0.28114211559295654,
0.2820705771446228,
-0.42986243963241577,
0.6602203845977783,
-0.35142114758491516,
-0.3093852996826172,
-0.34499800205230713,
0.3608080744743347,
0.6544885635375977,
-0.10616367310285568,
-0.9146968126296997,
0.62341892719268... |
func NewErasure(ep *Params) *Erasure {
var k = C.int(ep.K)
var m = C.int(ep.M)
var encodeMatrix *C.uchar
var encodeTbls *C.uchar
C.minio_init_encoder(k, m, &encodeMatrix, &encodeTbls)
return &Erasure{
params: ep,
encodeMatrix: encodeMatrix,
encodeTbls: encodeTbls,
decodeMatrix: nil,
decodeTbl... | [
0.11152075976133347,
-0.6681041717529297,
0.5210910439491272,
-0.26606371998786926,
-1.0764714479446411,
-0.674227774143219,
-0.8498235940933228,
0.15514937043190002,
-0.07782889157533646,
0.2643068730831146,
0.14295141398906708,
0.8130046129226685,
-0.46678921580314636,
0.3066170811653137... |
func GetEncodedBlocksLen(inputLen int, k, m uint8) (outputLen int) {
outputLen = GetEncodedBlockLen(inputLen, k) * int(k+m)
return outputLen
} | [
0.8216662406921387,
-0.13307112455368042,
0.41526785492897034,
0.6803717017173767,
-0.7677410244941711,
-0.42731210589408875,
-0.4791710376739502,
-0.3700218200683594,
0.11591187119483948,
-0.2216823846101761,
-1.1363815069198608,
0.3173239827156067,
-1.128311276435852,
0.13709641993045807... |
func GetEncodedBlockLen(inputLen int, k uint8) (encodedOutputLen int) {
alignment := int(k) * SIMDAlign
remainder := inputLen % alignment
paddedInputLen := inputLen
if remainder != 0 {
paddedInputLen = inputLen + (alignment - remainder)
}
encodedOutputLen = paddedInputLen / int(k)
return encodedOutputLen
} | [
0.6241908073425293,
0.5042961239814758,
0.47633877396583557,
0.5228106379508972,
-0.5245287418365479,
0.14557097852230072,
-0.058665961027145386,
-0.017194705083966255,
0.17472481727600098,
0.1073165163397789,
-0.7001015543937683,
0.12679512798786163,
-0.6210097670555115,
0.086481310427188... |
func (e *Erasure) Encode(inputData []byte) (encodedBlocks [][]byte, err error) {
e.mutex.Lock()
defer e.mutex.Unlock()
k := int(e.params.K) // "k" data blocks
m := int(e.params.M) // "m" parity blocks
n := k + m // "n" total encoded blocks
// Length of a single encoded chunk.
// Total number of encod... | [
0.5977990627288818,
0.1835152804851532,
0.9827075004577637,
0.518378734588623,
-0.904975950717926,
0.34360000491142273,
0.734803318977356,
0.18279235064983368,
0.7288429141044617,
0.4897215962409973,
0.10967212170362473,
0.7918506264686584,
-0.8934839963912964,
0.6064265370368958,
0.2272... |
func NewInputSystem() *InputSystem {
system := new(InputSystem)
return system
} | [
-0.6558964848518372,
-0.42521536350250244,
-0.08840442448854446,
-0.07531173527240753,
-0.5554600358009338,
-0.4999275505542755,
0.32919564843177795,
-1.2987210750579834,
0.40520012378692627,
-1.4236376285552979,
-0.37700265645980835,
0.7547889947891235,
-0.9530218839645386,
0.105661608278... |
func (s *InputSystem) Initialize(w *glfw.Window) {
s.mainWindow = w
// set the callback functions for key input
s.kbModel = input.NewKeyboardModel(s.mainWindow)
s.kbModel.BindTrigger(glfw.KeyEscape, setShouldClose)
s.kbModel.SetupCallbacks()
} | [
-0.23005938529968262,
0.6915726661682129,
0.5242237448692322,
0.6696099042892456,
-0.05757375806570053,
0.1272525042295456,
0.2981811761856079,
-0.3835570812225342,
0.09454070031642914,
-0.621533989906311,
-0.2437281608581543,
0.12293144315481186,
-0.46204572916030884,
1.6943559646606445,
... |
func (s *InputSystem) Update(frameDelta float32) {
// advise GLFW to poll for input. without this the window appears to hang.
glfw.PollEvents()
// handle any keyboard input
s.kbModel.CheckKeyPresses()
} | [
-0.4050438404083252,
-0.3244752585887909,
0.37763315439224243,
0.15718962252140045,
-0.2729503810405731,
0.5841261148452759,
0.5326334834098816,
-1.0647331476211548,
-0.0879305750131607,
-0.6620478630065918,
0.10857504606246948,
-0.5002820491790771,
-0.39065787196159363,
1.3548004627227783... |
func (s *InputSystem) OnAddEntity(newEntity scene.Entity) {
// NOP
} | [
-0.13927040994167328,
-1.7457760572433472,
0.25332432985305786,
0.2726837694644928,
0.37347158789634705,
0.5758375525474548,
0.15686534345149994,
-0.9764061570167542,
0.9772530198097229,
-0.4077730178833008,
-0.313904732465744,
-0.5099895000457764,
-0.17921538650989532,
1.8094536066055298,... |
func (s *InputSystem) OnRemoveEntity(oldEntity scene.Entity) {
// NOP
} | [
-0.2351260632276535,
-1.757747769355774,
0.4238264262676239,
0.2154911309480667,
-0.0011103324359282851,
-0.207809180021286,
0.30203160643577576,
-0.16379769146442413,
1.2793033123016357,
-0.1323423683643341,
-0.5669587850570679,
-1.0601474046707153,
0.08263545483350754,
1.631964921951294,... |
func (s *InputSystem) GetRequestedPriority() float32 {
return inputSystemPriority
} | [
-0.8271801471710205,
0.10820288956165314,
0.36625468730926514,
1.2359437942504883,
0.01256544329226017,
-0.17288872599601746,
-0.15324237942695618,
-1.2421815395355225,
0.5979145169258118,
-2.3863582611083984,
0.03139522671699524,
0.2699342668056488,
-1.321898341178894,
1.2054885625839233,... |
func (s *InputSystem) GetName() string {
return inputSystemName
} | [
-0.7907001972198486,
-0.215358167886734,
0.4891497492790222,
0.46955662965774536,
-0.11534400284290314,
0.44507408142089844,
0.415101557970047,
-0.9189320802688599,
0.2594084143638611,
-0.2585948407649994,
-0.04364373907446861,
0.25813013315200806,
-0.48000743985176086,
0.8057708740234375,... |
func setShouldClose() {
system := sceneMan.GetSystemByName(inputSystemName)
inputSystem := system.(*InputSystem)
inputSystem.mainWindow.SetShouldClose(true)
} | [
-0.023593563586473465,
0.1406501978635788,
0.6377468705177307,
0.35079842805862427,
-0.2831072509288788,
1.3816285133361816,
0.10107654333114624,
-0.8582364916801453,
0.0852990671992302,
0.25233182311058044,
0.4861695170402527,
0.8617570996284485,
-0.6615933775901794,
2.113534688949585,
... |
func (rsa *RuleSetApplier) applyDefaultFilterPolicies() {
var model Model
for _, eventType := range model.GetEventTypes() {
if !rsa.config.EnableKernelFilters {
_ = rsa.applyFilterPolicy(eventType, PolicyModeNoFilter, math.MaxUint8)
} else {
_ = rsa.applyFilterPolicy(eventType, PolicyModeDeny, math.MaxUint8... | [
-0.1819695681333542,
0.2943667471408844,
0.4833201467990875,
0.5275009870529175,
0.5586736798286438,
0.09304549545049667,
-0.14158648252487183,
0.1273709237575531,
0.7935627102851868,
0.6990476250648499,
0.301326721906662,
-0.004854555707424879,
-0.7263855934143066,
0.980159342288971,
-0... |
func (rsa *RuleSetApplier) Apply(rs *rules.RuleSet, approvers map[eval.EventType]rules.Approvers) (*Report, error) {
if rsa.probe != nil {
// based on the ruleset and the requested rules, select the probes that need to be activated
if err := rsa.probe.SelectProbes(rs); err != nil {
return nil, fmt.Errorf("faile... | [
0.04589932784438133,
0.18743161857128143,
0.4606342017650604,
-0.2930068075656891,
0.09228593856096268,
-0.4115716814994812,
-0.3483218848705292,
0.17897430062294006,
0.22556008398532867,
0.7934188842773438,
1.6051111221313477,
0.6212420463562012,
-0.9176856279373169,
0.4709460437297821,
... |
func NewRuleSetApplier(cfg *config.Config, probe *Probe) *RuleSetApplier {
return &RuleSetApplier{
config: cfg,
probe: probe,
reporter: NewReporter(),
}
} | [
0.12030526250600815,
-0.3739554286003113,
0.1499614119529724,
-0.345169335603714,
-0.5717378258705139,
-0.2432830035686493,
0.008533190935850143,
0.16004371643066406,
0.23557350039482117,
0.6867051720619202,
0.4307461380958557,
0.28597700595855713,
-0.028155436739325523,
0.3230350315570831... |
func NewKafkaConnectProvider(kclister listers.KafkaConnectLister, kmclient custommetrics.KafkaMetricsClient) provider.CustomMetricsProvider {
return &kafkaConnectProvider{
kclister: kclister,
kafkaMetricsClient: kmclient,
}
} | [
0.7544710636138916,
-0.2978461682796478,
0.2748940885066986,
0.11803777515888214,
-1.3623096942901611,
0.32334771752357483,
-0.1068536639213562,
-0.12759247422218323,
0.31812170147895813,
1.4106559753417969,
0.7492051124572754,
-0.5350531935691833,
-0.7866039276123047,
-0.261065810918808,
... |
func (p *kafkaConnectProvider) GetMetricByName(name types.NamespacedName, info provider.CustomMetricInfo, metricSelector labels.Selector) (*custom_metrics.MetricValue, error) {
klog.Infof("Received request for custom metric: groupresource: %s, namespace: %s, metric name: %s, object name: %s", info.GroupResource.Strin... | [
0.037084490060806274,
-0.3118804097175598,
0.6483539342880249,
-0.48132526874542236,
-0.9889146685600281,
-0.5234335064888,
0.15581685304641724,
-1.0605711936950684,
-0.7407097816467285,
0.7034540176391602,
0.33140602707862854,
0.13549798727035522,
-0.4225102663040161,
-0.3011256754398346,... |
func (p *kafkaConnectProvider) ListAllMetrics() []provider.CustomMetricInfo {
lists, err := p.kclister.List(labels.Everything())
if err != nil {
klog.Error("cannot get kafka connect", err)
return nil
}
res := make([]provider.CustomMetricInfo, 0)
gr := schema.GroupResource{Group: "kafkaconnect.operator.io", R... | [
0.6159014105796814,
-0.5735827088356018,
0.4432554244995117,
0.10377615690231323,
-1.2353644371032715,
0.13229681551456451,
-0.4972855746746063,
0.2656228542327881,
-0.023434152826666832,
1.0023473501205444,
0.18538644909858704,
0.14397883415222168,
-0.5912371873855591,
0.7983706593513489,... |
func admitPod(req *v1beta1.AdmissionRequest) ([]patchOperation, error) {
raw := req.Object.Raw
logReq(raw)
// This handler should only get called on Pod objects as per the MutatingWebhookConfiguration in the YAML file.
// However, if (for whatever reason) this gets invoked on an object of a different kind, issue a ... | [
-0.5542764067649841,
-0.3537099361419678,
0.7121947407722473,
0.22434639930725098,
0.06989625096321106,
0.0849466472864151,
1.0241252183914185,
-0.6418095231056213,
0.4948475956916809,
0.7529135346412659,
0.37162694334983826,
0.3164115846157074,
-0.4103178083896637,
0.4588422179222107,
-... |
func doSlicesIntersect(s1, s2 []string) bool {
if s1 == nil || s2 == nil {
return false
}
for _, str := range s1 {
if isElementInSlice(str, s2) {
return true
}
}
return false
} | [
0.13984383642673492,
-0.6641156077384949,
0.9876082539558411,
-0.058272916823625565,
-0.3334096670150757,
0.11421974748373032,
-0.8353299498558044,
0.2555181384086609,
-0.5695844292640686,
0.9667963981628418,
0.19358514249324799,
0.5368441939353943,
-0.3893866240978241,
0.8308451175689697,... |
func (client *Client) GetMultiRateConfig(request *GetMultiRateConfigRequest) (response *GetMultiRateConfigResponse, err error) {
response = CreateGetMultiRateConfigResponse()
err = client.DoAction(request, response)
return
} | [
-0.7239331603050232,
0.8240094184875488,
0.4298715889453888,
0.3761712312698364,
-0.242777481675148,
-1.2661311626434326,
0.03214319422841072,
-0.29477351903915405,
0.08150840550661087,
0.08774775266647339,
-0.6937953233718872,
0.8018187880516052,
-0.3899133503437042,
0.05209125578403473,
... |
func (client *Client) GetMultiRateConfigWithChan(request *GetMultiRateConfigRequest) (<-chan *GetMultiRateConfigResponse, <-chan error) {
responseChan := make(chan *GetMultiRateConfigResponse, 1)
errChan := make(chan error, 1)
err := client.AddAsyncTask(func() {
defer close(responseChan)
defer close(errChan)
r... | [
-0.6047055125236511,
0.2520551383495331,
0.6682552099227905,
-0.41216450929641724,
-0.28660425543785095,
-0.5654535889625549,
-0.05705884099006653,
-0.5447468757629395,
-0.010454016737639904,
0.2548505961894989,
-0.3877774775028229,
0.8044602274894714,
-0.3380064070224762,
0.23323835432529... |
func (client *Client) GetMultiRateConfigWithCallback(request *GetMultiRateConfigRequest, callback func(response *GetMultiRateConfigResponse, err error)) <-chan int {
result := make(chan int, 1)
err := client.AddAsyncTask(func() {
var response *GetMultiRateConfigResponse
var err error
defer close(result)
respo... | [
-0.43189090490341187,
0.7794670462608337,
0.7985778450965881,
-0.08141984790563583,
-0.45440447330474854,
-1.0066243410110474,
0.15595382452011108,
-0.23180292546749115,
0.5988308191299438,
0.3627450168132782,
-0.20614759624004364,
-0.04146561026573181,
-0.07944896817207336,
0.470871329307... |
func CreateGetMultiRateConfigRequest() (request *GetMultiRateConfigRequest) {
request = &GetMultiRateConfigRequest{
RpcRequest: &requests.RpcRequest{},
}
request.InitWithApiInfo("live", "2016-11-01", "GetMultiRateConfig", "live", "openAPI")
request.Method = requests.POST
return
} | [
-0.2773323059082031,
0.012652656063437462,
0.5390973687171936,
0.170665442943573,
-0.04291542246937752,
-0.3851076662540436,
-0.40577027201652527,
-0.0007394628482870758,
-0.5526936650276184,
-0.20142748951911926,
-0.3642890453338623,
0.5367885231971741,
-0.6262603402137756,
0.738963365554... |
func CreateGetMultiRateConfigResponse() (response *GetMultiRateConfigResponse) {
response = &GetMultiRateConfigResponse{
BaseResponse: &responses.BaseResponse{},
}
return
} | [
-0.528232991695404,
-0.36209291219711304,
0.26487860083580017,
-0.07574375718832016,
-0.11644449084997177,
-0.7228245735168457,
0.07365140318870544,
-0.46513208746910095,
-0.10942383110523224,
0.17809653282165527,
-0.6038490533828735,
-0.5881748795509338,
-0.8057539463043213,
0.53171354532... |
func PrebuiltApisFactory() android.Module {
module := &prebuiltApis{}
module.AddProperties(&module.properties)
android.InitAndroidModule(module)
android.AddLoadHook(module, createPrebuiltApiModules)
return module
} | [
-0.45450231432914734,
-0.5139026045799255,
0.339257150888443,
-0.1322113573551178,
0.0447520986199379,
0.5807034969329834,
0.7637180685997009,
-0.32928910851478577,
0.8925563097000122,
-0.8568825125694275,
-0.43612566590309143,
0.3391905725002289,
0.2957249581813812,
-0.019290758296847343,... |
func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error {
return c.WaitUntilBucketExistsWithContext(aws.BackgroundContext(), input)
} | [
-0.20979607105255127,
-0.4376094937324524,
0.36919844150543213,
0.12459623068571091,
0.3520278334617615,
0.7846949100494385,
-0.4054132103919983,
-0.7648584842681885,
0.28063926100730896,
-0.4644984006881714,
-0.7410888075828552,
0.29838451743125916,
0.041281554847955704,
-0.50420200824737... |
func (c *S3) WaitUntilBucketExistsWithContext(ctx aws.Context, input *HeadBucketInput, opts ...request.WaiterOption) error {
w := request.Waiter{
Name: "WaitUntilBucketExists",
MaxAttempts: 20,
Delay: request.ConstantWaiterDelay(5 * time.Second),
Acceptors: []request.WaiterAcceptor{
{
State... | [
-0.7009877562522888,
-0.27103301882743835,
0.9065341949462891,
-0.04626711085438728,
-0.14724187552928925,
0.3784550726413727,
-0.37479954957962036,
-1.0609761476516724,
0.8131073117256165,
-0.2581046223640442,
-0.3346462845802307,
0.5301414132118225,
-0.2523060142993927,
-0.07748787850141... |
func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error {
return c.WaitUntilBucketNotExistsWithContext(aws.BackgroundContext(), input)
} | [
-0.4939046800136566,
-0.11850422620773315,
0.21570615470409393,
-0.019690504297614098,
0.38258495926856995,
1.0140175819396973,
-0.5463160276412964,
-0.9180437922477722,
-0.07946266233921051,
-0.7784217000007629,
-0.47978833317756653,
0.18519356846809387,
-0.1792302280664444,
0.22863543033... |
func (c *S3) WaitUntilBucketNotExistsWithContext(ctx aws.Context, input *HeadBucketInput, opts ...request.WaiterOption) error {
w := request.Waiter{
Name: "WaitUntilBucketNotExists",
MaxAttempts: 20,
Delay: request.ConstantWaiterDelay(5 * time.Second),
Acceptors: []request.WaiterAcceptor{
{
... | [
-0.7945560812950134,
0.04675905779004097,
0.7190478444099426,
-0.21466504037380219,
-0.16800910234451294,
0.523583173751831,
-0.3909439742565155,
-1.2283161878585815,
0.5179417729377747,
-0.4792463481426239,
-0.47353634238243103,
0.5411379337310791,
-0.3925934433937073,
0.40964406728744507... |
func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error {
return c.WaitUntilObjectExistsWithContext(aws.BackgroundContext(), input)
} | [
-0.12111295759677887,
-1.1651469469070435,
0.5476952791213989,
-0.34075161814689636,
0.12531256675720215,
1.0650874376296997,
0.07160037755966187,
-0.32748767733573914,
-0.02664620243012905,
-0.17958813905715942,
-0.9273472428321838,
0.25467291474342346,
-0.18769250810146332,
-1.1802059412... |
func (c *S3) WaitUntilObjectExistsWithContext(ctx aws.Context, input *HeadObjectInput, opts ...request.WaiterOption) error {
w := request.Waiter{
Name: "WaitUntilObjectExists",
MaxAttempts: 20,
Delay: request.ConstantWaiterDelay(5 * time.Second),
Acceptors: []request.WaiterAcceptor{
{
State... | [
-0.6086380481719971,
-0.735058069229126,
0.9829626679420471,
-0.22420819103717804,
-0.02534485049545765,
0.52167147397995,
-0.019416568800807,
-0.5579841136932373,
0.7592489123344421,
0.09134864062070847,
-0.5421743392944336,
0.416335791349411,
-0.4492098391056061,
-0.6647260785102844,
-... |
func (c *S3) WaitUntilObjectNotExists(input *HeadObjectInput) error {
return c.WaitUntilObjectNotExistsWithContext(aws.BackgroundContext(), input)
} | [
-0.5820115208625793,
-0.8446241617202759,
0.4129021167755127,
-0.372544527053833,
0.21716471016407013,
1.0553666353225708,
-0.32039567828178406,
-0.38615021109580994,
-0.05783321335911751,
-0.36813560128211975,
-0.9545467495918274,
0.09694159030914307,
-0.3175826370716095,
-0.5746398568153... |
func (c *S3) WaitUntilObjectNotExistsWithContext(ctx aws.Context, input *HeadObjectInput, opts ...request.WaiterOption) error {
w := request.Waiter{
Name: "WaitUntilObjectNotExists",
MaxAttempts: 20,
Delay: request.ConstantWaiterDelay(5 * time.Second),
Acceptors: []request.WaiterAcceptor{
{
... | [
-0.7742040753364563,
-0.3906637728214264,
0.8146480917930603,
-0.36299458146095276,
-0.20248888432979584,
0.5976144075393677,
-0.19611451029777527,
-0.773529052734375,
0.6320716738700867,
-0.14858432114124298,
-0.6815353631973267,
0.3472425043582916,
-0.5478017926216125,
-0.225639000535011... |
func (o FunctionBuildConfigOutput) Build() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfig) *string { return v.Build }).(pulumi.StringPtrOutput)
} | [
0.24079802632331848,
-0.37831494212150574,
0.22339211404323578,
0.21340976655483246,
0.7355607151985168,
0.7078330516815186,
0.08221512287855148,
0.6330923438072205,
0.095551036298275,
-0.7313864231109619,
-0.4474189579486847,
1.0998648405075073,
0.3383599519729614,
-0.9421720504760742,
... |
func (o FunctionBuildConfigOutput) DockerRepository() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfig) *string { return v.DockerRepository }).(pulumi.StringPtrOutput)
} | [
-0.19499917328357697,
0.11902046203613281,
0.20682545006275177,
-0.6671265959739685,
0.4267781674861908,
-0.19325602054595947,
0.6274354457855225,
1.301863431930542,
0.8220140933990479,
-0.9524023532867432,
-0.25937211513519287,
0.6197788715362549,
0.8654662370681763,
-0.7852650880813599,
... |
func (o FunctionBuildConfigOutput) EntryPoint() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfig) *string { return v.EntryPoint }).(pulumi.StringPtrOutput)
} | [
1.0670948028564453,
-0.626029908657074,
0.3314644992351532,
0.14253829419612885,
0.7802951335906982,
0.6759475469589233,
0.47810906171798706,
0.8493610620498657,
0.6215157508850098,
-0.12790696322917938,
-0.25133997201919556,
0.9513428211212158,
-0.07865434885025024,
-0.6519618630409241,
... |
func (o FunctionBuildConfigOutput) EnvironmentVariables() pulumi.StringMapOutput {
return o.ApplyT(func(v FunctionBuildConfig) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput)
} | [
-0.3343696892261505,
-0.4478521943092346,
0.38705047965049744,
-0.5746851563453674,
0.24143685400485992,
1.0994017124176025,
0.171190544962883,
0.555366039276123,
-0.4324570596218109,
-0.19765959680080414,
-1.227128267288208,
1.2257217168807983,
0.4883740544319153,
-0.33005568385124207,
... |
func (o FunctionBuildConfigOutput) Runtime() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfig) *string { return v.Runtime }).(pulumi.StringPtrOutput)
} | [
0.16861774027347565,
-0.07512536644935608,
0.35813307762145996,
-0.0369560569524765,
0.4802924394607544,
0.27675580978393555,
-0.2807764708995819,
0.49897927045822144,
0.38284435868263245,
-0.5434772968292236,
-0.5380628108978271,
0.6436173319816589,
-0.2829097807407379,
-0.660737633705139... |
func (o FunctionBuildConfigOutput) Source() FunctionBuildConfigSourcePtrOutput {
return o.ApplyT(func(v FunctionBuildConfig) *FunctionBuildConfigSource { return v.Source }).(FunctionBuildConfigSourcePtrOutput)
} | [
-0.3120233118534088,
0.3763255774974823,
0.2964586317539215,
0.06021054834127426,
-0.5208368897438049,
-0.14963681995868683,
0.9703220129013062,
0.960361659526825,
0.8402906060218811,
-0.37943676114082336,
-1.051708459854126,
0.9207048416137695,
0.7775444984436035,
-0.3177890181541443,
0... |
func (o FunctionBuildConfigOutput) WorkerPool() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfig) *string { return v.WorkerPool }).(pulumi.StringPtrOutput)
} | [
0.315746933221817,
-0.1805891990661621,
0.34836164116859436,
-0.21922150254249573,
0.33104410767555237,
0.9377293586730957,
0.9251276254653931,
0.27037498354911804,
0.58481365442276,
-0.6783818006515503,
-0.5979174971580505,
1.3628607988357544,
-0.1503802388906479,
-1.0597862005233765,
-... |
func (o FunctionBuildConfigPtrOutput) Build() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfig) *string {
if v == nil {
return nil
}
return v.Build
}).(pulumi.StringPtrOutput)
} | [
0.29027625918388367,
-0.3454134166240692,
0.2616097629070282,
0.2920229434967041,
0.9552985429763794,
0.34520265460014343,
0.25645893812179565,
0.2371615618467331,
0.08816026896238327,
-0.686657726764679,
-0.29972583055496216,
0.7169701457023621,
0.03765740618109703,
-0.8009294867515564,
... |
func (o FunctionBuildConfigPtrOutput) DockerRepository() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfig) *string {
if v == nil {
return nil
}
return v.DockerRepository
}).(pulumi.StringPtrOutput)
} | [
-0.10633599013090134,
0.1216198205947876,
0.2721254229545593,
-0.6127609014511108,
0.4556264877319336,
-0.4623570144176483,
0.6177701354026794,
1.0761759281158447,
0.8898608684539795,
-1.0068987607955933,
-0.2203500121831894,
0.48732155561447144,
0.7285493016242981,
-0.590326726436615,
-... |
func (o FunctionBuildConfigPtrOutput) EntryPoint() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfig) *string {
if v == nil {
return nil
}
return v.EntryPoint
}).(pulumi.StringPtrOutput)
} | [
1.1242841482162476,
-0.5203960537910461,
0.3682316243648529,
0.18057279288768768,
0.9442774653434753,
0.3427937626838684,
0.623201310634613,
0.5309887528419495,
0.634663462638855,
-0.15119041502475739,
-0.1210414320230484,
0.6479058861732483,
-0.24791599810123444,
-0.4873499870300293,
-0... |
func (o FunctionBuildConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput {
return o.ApplyT(func(v *FunctionBuildConfig) map[string]string {
if v == nil {
return nil
}
return v.EnvironmentVariables
}).(pulumi.StringMapOutput)
} | [
-0.1665498912334442,
-0.4351831078529358,
0.43102574348449707,
-0.43885675072669983,
0.5290261507034302,
0.764205276966095,
0.2440939098596573,
0.31229057908058167,
-0.3912914991378784,
-0.27436357736587524,
-1.1599465608596802,
1.1520799398422241,
0.3301434814929962,
-0.13839265704154968,... |
func (o FunctionBuildConfigPtrOutput) Runtime() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfig) *string {
if v == nil {
return nil
}
return v.Runtime
}).(pulumi.StringPtrOutput)
} | [
0.1992446482181549,
-0.050944048911333084,
0.4329407811164856,
-0.03341617062687874,
0.711418628692627,
-0.06732013821601868,
-0.1331145465373993,
0.13796012103557587,
0.3672225773334503,
-0.5014951229095459,
-0.4249870777130127,
0.3359352648258209,
-0.4450473487377167,
-0.4674653112888336... |
func (o FunctionBuildConfigPtrOutput) Source() FunctionBuildConfigSourcePtrOutput {
return o.ApplyT(func(v *FunctionBuildConfig) *FunctionBuildConfigSource {
if v == nil {
return nil
}
return v.Source
}).(FunctionBuildConfigSourcePtrOutput)
} | [
-0.19359640777111053,
0.4091012477874756,
0.25851520895957947,
0.09081607311964035,
-0.23102617263793945,
-0.2866443991661072,
1.0907931327819824,
0.6525478363037109,
0.8294863700866699,
-0.2675507068634033,
-0.9712725877761841,
0.6981725692749023,
0.5295770764350891,
-0.2652833163738251,
... |
func (o FunctionBuildConfigPtrOutput) WorkerPool() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfig) *string {
if v == nil {
return nil
}
return v.WorkerPool
}).(pulumi.StringPtrOutput)
} | [
0.3870348036289215,
-0.22460126876831055,
0.4054028391838074,
-0.20992490649223328,
0.4970009922981262,
0.6252233386039734,
0.8918893337249756,
-0.03927701711654663,
0.6303202509880066,
-0.701949417591095,
-0.5018216967582703,
1.08144211769104,
-0.3458978831768036,
-0.8601334691047668,
-... |
func (o FunctionBuildConfigSourceOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSource) *FunctionBuildConfigSourceRepoSource { return v.RepoSource }).(FunctionBuildConfigSourceRepoSourcePtrOutput)
} | [
-0.4389030337333679,
0.7340618371963501,
0.22856245934963226,
-0.8244192600250244,
-0.2666167914867401,
-0.5648707151412964,
0.6855543255805969,
1.328643798828125,
0.9505354762077332,
0.06147503852844238,
-1.0477304458618164,
0.5975983738899231,
0.7687645554542542,
-1.0524688959121704,
0... |
func (o FunctionBuildConfigSourceOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSource) *FunctionBuildConfigSourceStorageSource { return v.StorageSource }).(FunctionBuildConfigSourceStorageSourcePtrOutput)
} | [
-0.45943140983581543,
0.2573094964027405,
0.3506222665309906,
0.027339711785316467,
-0.10042034834623337,
-0.6337980031967163,
0.943856418132782,
0.6924169659614563,
0.4345878064632416,
-0.42960405349731445,
-1.121385931968689,
0.44812819361686707,
1.1019659042358398,
-0.8302891850471497,
... |
func (o FunctionBuildConfigSourcePtrOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput {
return o.ApplyT(func(v *FunctionBuildConfigSource) *FunctionBuildConfigSourceRepoSource {
if v == nil {
return nil
}
return v.RepoSource
}).(FunctionBuildConfigSourceRepoSourcePtrOutput)
} | [
-0.508455753326416,
0.8083186149597168,
0.211162731051445,
-0.7326564192771912,
-0.15138672292232513,
-0.6294406652450562,
0.7118990421295166,
1.1267123222351074,
1.0099254846572876,
0.08847355097532272,
-0.9924502968788147,
0.5967131853103638,
0.5266267657279968,
-0.9189224243164062,
0.... |
func (o FunctionBuildConfigSourcePtrOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput {
return o.ApplyT(func(v *FunctionBuildConfigSource) *FunctionBuildConfigSourceStorageSource {
if v == nil {
return nil
}
return v.StorageSource
}).(FunctionBuildConfigSourceStorageSourcePtrOutput)
} | [
-0.36244702339172363,
0.3615286350250244,
0.30934759974479675,
0.07078714668750763,
0.10580967366695404,
-0.7382640838623047,
0.9309942126274109,
0.4462902247905731,
0.5178229808807373,
-0.44189226627349854,
-1.0925099849700928,
0.40248796343803406,
0.8780791163444519,
-0.6927958130836487,... |
func (o FunctionBuildConfigSourceRepoSourceOutput) BranchName() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceRepoSource) *string { return v.BranchName }).(pulumi.StringPtrOutput)
} | [
0.3159481883049011,
0.39447471499443054,
0.26172444224357605,
-0.29208552837371826,
0.164178729057312,
0.5700863599777222,
0.4847809970378876,
1.006428837776184,
0.288567453622818,
-0.2151728719472885,
-0.42790475487709045,
0.30461397767066956,
0.6659670472145081,
-0.762732982635498,
0.8... |
func (o FunctionBuildConfigSourceRepoSourceOutput) CommitSha() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceRepoSource) *string { return v.CommitSha }).(pulumi.StringPtrOutput)
} | [
0.3314477503299713,
0.33067816495895386,
0.502614438533783,
-0.5618177056312561,
0.4316873848438263,
0.692196786403656,
0.5270606875419617,
0.9605861902236938,
0.9344143271446228,
0.47063499689102173,
-0.026927530765533447,
0.905359148979187,
0.6406170725822449,
-0.8468993306159973,
0.74... |
func (o FunctionBuildConfigSourceRepoSourceOutput) Dir() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceRepoSource) *string { return v.Dir }).(pulumi.StringPtrOutput)
} | [
-0.2603338956832886,
0.44338372349739075,
0.2207031100988388,
-0.5887107253074646,
0.6204426884651184,
0.3522409498691559,
1.018652319908142,
0.9542655944824219,
0.9306120276451111,
-0.981645941734314,
-0.30733349919319153,
0.6659248471260071,
0.8486821055412292,
-0.9412716627120972,
0.6... |
func (o FunctionBuildConfigSourceRepoSourceOutput) InvertRegex() pulumi.BoolPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceRepoSource) *bool { return v.InvertRegex }).(pulumi.BoolPtrOutput)
} | [
-0.7161548733711243,
0.2549193799495697,
0.5188745260238647,
-0.6827592849731445,
0.3853810131549835,
0.5846319198608398,
0.21399487555027008,
1.6571414470672607,
0.09470228105783463,
-0.26756712794303894,
-1.2578327655792236,
0.7245144844055176,
-0.7414578795433044,
-1.2071973085403442,
... |
func (o FunctionBuildConfigSourceRepoSourceOutput) ProjectId() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceRepoSource) *string { return v.ProjectId }).(pulumi.StringPtrOutput)
} | [
0.7104066014289856,
0.6087632179260254,
0.09254221618175507,
-0.3093475103378296,
0.20484140515327454,
0.8074485659599304,
0.5730168223381042,
1.2334039211273193,
1.0617637634277344,
-0.008635145612061024,
-0.042217157781124115,
0.40847235918045044,
0.07845039665699005,
-0.8605698347091675... |
func (o FunctionBuildConfigSourceRepoSourceOutput) RepoName() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceRepoSource) *string { return v.RepoName }).(pulumi.StringPtrOutput)
} | [
-0.3001270294189453,
0.2885379195213318,
0.332243412733078,
-0.6396480202674866,
-0.10759634524583817,
-0.057782433927059174,
0.27772000432014465,
1.311760425567627,
0.5795145630836487,
0.32447192072868347,
-0.981114387512207,
0.12775582075119019,
1.225628137588501,
-1.1468056440353394,
... |
func (o FunctionBuildConfigSourceRepoSourceOutput) TagName() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceRepoSource) *string { return v.TagName }).(pulumi.StringPtrOutput)
} | [
0.5854851007461548,
0.6286903023719788,
0.25610673427581787,
-0.7322033047676086,
0.6253179311752319,
-0.20290601253509521,
0.21118447184562683,
0.9747437238693237,
0.09979090094566345,
0.19904017448425293,
-0.7476986646652222,
-0.005404793191701174,
0.8137288093566895,
-0.4457831680774688... |
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) BranchName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfigSourceRepoSource) *string {
if v == nil {
return nil
}
return v.BranchName
}).(pulumi.StringPtrOutput)
} | [
0.3636394739151001,
0.4263056814670563,
0.2862827181816101,
-0.32098156213760376,
0.25661972165107727,
0.2771936357021332,
0.4287716746330261,
0.821218729019165,
0.3157176077365875,
-0.1844078153371811,
-0.4109448194503784,
0.10561757534742355,
0.5150401592254639,
-0.5941402316093445,
0.... |
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) CommitSha() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfigSourceRepoSource) *string {
if v == nil {
return nil
}
return v.CommitSha
}).(pulumi.StringPtrOutput)
} | [
0.39134618639945984,
0.40732407569885254,
0.5050286054611206,
-0.5360966324806213,
0.5535484552383423,
0.4959231913089752,
0.47913745045661926,
0.7004807591438293,
0.9660497307777405,
0.38759711384773254,
0.0369902029633522,
0.723301351070404,
0.5358768105506897,
-0.6601828932762146,
0.9... |
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) Dir() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfigSourceRepoSource) *string {
if v == nil {
return nil
}
return v.Dir
}).(pulumi.StringPtrOutput)
} | [
-0.20788434147834778,
0.4142947494983673,
0.24346652626991272,
-0.5927219390869141,
0.7955453395843506,
0.13866597414016724,
0.9429000616073608,
0.7849088311195374,
0.9871000051498413,
-0.9939959049224854,
-0.3412538766860962,
0.6399118304252625,
0.681930422782898,
-0.8657274842262268,
0... |
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) InvertRegex() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfigSourceRepoSource) *bool {
if v == nil {
return nil
}
return v.InvertRegex
}).(pulumi.BoolPtrOutput)
} | [
-0.8204202651977539,
0.2942101061344147,
0.6109371185302734,
-0.754831850528717,
0.4706939160823822,
0.41340792179107666,
0.2447768598794937,
1.5888564586639404,
0.14165179431438446,
-0.31352195143699646,
-1.3004558086395264,
0.6275094747543335,
-0.8224588632583618,
-1.1476695537567139,
... |
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ProjectId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfigSourceRepoSource) *string {
if v == nil {
return nil
}
return v.ProjectId
}).(pulumi.StringPtrOutput)
} | [
0.7442966103553772,
0.6333560347557068,
0.09070561081171036,
-0.3450583219528198,
0.34527894854545593,
0.5403368473052979,
0.46848589181900024,
0.9944124221801758,
1.1149520874023438,
0.0033883836586028337,
-0.07075207680463791,
0.3670029938220978,
-0.038993462920188904,
-0.699902713298797... |
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) RepoName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfigSourceRepoSource) *string {
if v == nil {
return nil
}
return v.RepoName
}).(pulumi.StringPtrOutput)
} | [
-0.2632180452346802,
0.3492986857891083,
0.34303706884384155,
-0.6380705833435059,
0.08851426839828491,
-0.26958927512168884,
0.19679158926010132,
1.12471604347229,
0.627180278301239,
0.32121649384498596,
-0.9933950901031494,
0.007105770520865917,
1.026611328125,
-0.9845560193061829,
0.5... |
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) TagName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FunctionBuildConfigSourceRepoSource) *string {
if v == nil {
return nil
}
return v.TagName
}).(pulumi.StringPtrOutput)
} | [
0.6365358233451843,
0.6568039655685425,
0.2745457589626312,
-0.7267587780952454,
0.7252256870269775,
-0.48253726959228516,
0.1497030407190323,
0.7907671928405762,
0.18860408663749695,
0.17096032202243805,
-0.7676965594291687,
-0.11398906260728836,
0.6259521842002869,
-0.28675511479377747,
... |
func (o FunctionBuildConfigSourceStorageSourceOutput) Bucket() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceStorageSource) *string { return v.Bucket }).(pulumi.StringPtrOutput)
} | [
0.03461887314915657,
0.48321375250816345,
0.3988429009914398,
-0.3916282653808594,
0.10754643380641937,
0.5572822093963623,
0.8033654093742371,
0.4377944767475128,
0.5901508927345276,
-1.0046454668045044,
-1.0017063617706299,
0.6586809754371643,
1.5770454406738281,
-0.9188373684883118,
0... |
func (o FunctionBuildConfigSourceStorageSourceOutput) Generation() pulumi.IntPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceStorageSource) *int { return v.Generation }).(pulumi.IntPtrOutput)
} | [
-0.7422815561294556,
0.993836522102356,
0.4287698566913605,
-0.4113803505897522,
0.2500508427619934,
0.24969439208507538,
0.9792755842208862,
0.7254457473754883,
-0.13038299977779388,
-0.38911890983581543,
-1.527525782585144,
-0.2756848931312561,
1.0369162559509277,
-0.4523971378803253,
... |
func (o FunctionBuildConfigSourceStorageSourceOutput) Object() pulumi.StringPtrOutput {
return o.ApplyT(func(v FunctionBuildConfigSourceStorageSource) *string { return v.Object }).(pulumi.StringPtrOutput)
} | [
-0.25112035870552063,
-0.04211440309882164,
0.3574018180370331,
-0.4848802387714386,
-0.11701878905296326,
0.42483168840408325,
0.4989604949951172,
0.4629949927330017,
0.7295251488685608,
-0.1767522394657135,
-1.5670801401138306,
0.36024123430252075,
1.498059630393982,
-1.4265621900558472,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.