text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (st *State) Clone() *State {
st2 := NewState()
if len(st.vars) != 0 {
st2.vars = make(Vars)
st2.unused = make(map[string]struct{})
}
for k, v := range st.vars {
st2.vars[k] = v
}
for k := range st.unused {
st2.unused[k] = struct{}{}
}
if len(st.states) != 0 {
st2.states = make(map[string][]*State... | [
-0.39577028155326843,
-0.907363772392273,
0.4419728219509125,
-0.3099563717842102,
-1.2244594097137451,
0.02031673863530159,
-0.2678416073322296,
-0.9266989827156067,
0.5056312680244446,
-0.1364622861146927,
-0.3018731474876404,
0.04904911667108536,
0.0251028873026371,
-0.5022934675216675,... |
func (st *State) ApplyFrom(st2 *State) {
if len(st2.vars) != 0 && st.vars == nil {
st.vars = make(Vars)
st.unused = make(map[string]struct{})
}
for k, v := range st2.vars {
if _, ok := st.vars[k]; !ok {
st.vars[k] = v
}
}
for k := range st2.unused {
st.unused[k] = struct{}{}
}
if len(st2.states) != ... | [
-0.25073421001434326,
-0.6732997298240662,
0.4808596968650818,
-0.9587582349777222,
-0.9819746017456055,
-0.57505202293396,
-0.06281428784132004,
0.21961435675621033,
0.4717245101928711,
-0.6346476078033447,
-0.3015648126602173,
0.38635578751564026,
1.0632009506225586,
0.8013622760772705,
... |
func (st *State) GetVar(name string) (nodes.Node, bool) {
n, ok := st.vars[name]
if ok {
delete(st.unused, name)
}
return n, ok
} | [
-0.9561917781829834,
0.47023865580558777,
0.6470133066177368,
-0.6105937361717224,
-0.7528552412986755,
-1.25710129737854,
0.28737884759902954,
-0.075202576816082,
-0.033742934465408325,
0.5237150192260742,
-1.0078238248825073,
0.23592343926429749,
-0.425458699464798,
-0.5807472467422485,
... |
func (st *State) MustGetVar(name string) (nodes.Node, error) {
n, ok := st.GetVar(name)
if !ok {
return nil, ErrVariableNotDefined.New(name)
}
return n, nil
} | [
-0.6994551420211792,
0.2833881974220276,
0.37337473034858704,
0.5792657136917114,
-0.3639691174030304,
0.19257649779319763,
-0.5001266598701477,
-0.34386393427848816,
-0.2518465220928192,
0.13102039694786072,
-0.47016966342926025,
0.8949246406555176,
0.06868163496255875,
0.3595366775989532... |
func (st *State) MustGetVars(vars VarsPtrs) error {
for name, dst := range vars {
n, ok := st.GetVar(name)
if !ok {
return ErrVariableNotDefined.New(name)
}
if err := dst.SetNode(n); err != nil {
return err
}
}
return nil
} | [
-0.8643718361854553,
0.40701523423194885,
0.3913068175315857,
0.12071148306131363,
0.3682229816913605,
0.3269929885864258,
-0.9659427404403687,
-0.5256432294845581,
-0.1248115748167038,
0.3025972843170166,
-0.13260629773139954,
0.8088311553001404,
0.16324001550674438,
0.7642810940742493,
... |
func (st *State) SetVar(name string, val nodes.Node) error {
cur, ok := st.vars[name]
if !ok {
// not declared
if st.vars == nil {
st.vars = make(Vars)
st.unused = make(map[string]struct{})
}
st.vars[name] = val
st.unused[name] = struct{}{}
return nil
}
if nodes.Equal(cur, val) {
// already decl... | [
-0.26648443937301636,
-0.2806859314441681,
0.4796220362186432,
-0.34587302803993225,
-0.4782485067844391,
-0.5405704379081726,
0.045701757073402405,
-0.003956943284720182,
-0.27656424045562744,
-0.5335319638252258,
0.026252198964357376,
1.2479130029678345,
0.22314056754112244,
0.3603805899... |
func (st *State) SetVars(vars Vars) error {
for k, v := range vars {
if err := st.SetVar(k, v); err != nil {
return err
}
}
return nil
} | [
-1.026472568511963,
0.1765575110912323,
-0.10637465864419937,
0.32602962851524353,
0.014326740056276321,
0.2896226644515991,
-0.46450182795524597,
-0.33188503980636597,
0.17695407569408417,
0.05791987106204033,
-0.42729759216308594,
0.6140070557594299,
0.591674268245697,
0.7694172263145447... |
func (st *State) GetStateVar(name string) ([]*State, bool) {
n, ok := st.states[name]
return n, ok
} | [
-1.613281488418579,
-0.12639060616493225,
0.48335251212120056,
0.06480921804904938,
-0.8279092907905579,
-0.6921592354774475,
-0.18975894153118134,
-0.4667457044124603,
0.22899721562862396,
0.6773281097412109,
-1.2337974309921265,
0.3520703911781311,
-0.2560862600803375,
0.0297199729830026... |
func (st *State) SetStateVar(name string, sub []*State) error {
cur, ok := st.states[name]
if ok {
return ErrVariableRedeclared.New(name, cur, sub)
}
if st.states == nil {
st.states = make(map[string][]*State)
}
st.states[name] = sub
return nil
} | [
-0.8058732151985168,
-0.11003050208091736,
0.4894353151321411,
-0.07414119690656662,
-0.7929935455322266,
-0.0999503806233406,
-0.06653321534395218,
-0.25781530141830444,
-0.11280253529548645,
0.07460880279541016,
-0.7857495546340942,
0.9420415759086609,
0.08391844481229782,
0.653486609458... |
func DefaultNamespace(ns string) Transformer {
return TransformFunc(func(n nodes.Node) (nodes.Node, bool, error) {
obj, ok := n.(nodes.Object)
if !ok {
return n, false, nil
}
tp, ok := obj[uast.KeyType].(nodes.String)
if !ok {
return n, false, nil
}
if strings.Contains(string(tp), ":") {
return ... | [
-0.6472204327583313,
0.16799615323543549,
0.494292289018631,
-0.4276829659938812,
-0.6243105530738831,
-0.22469937801361084,
-0.26168060302734375,
-0.8830054998397827,
1.3671754598617554,
0.2870662212371826,
-0.3459741771221161,
-0.003960954025387764,
0.11696222424507141,
0.214926674962043... |
func NewIAMPolicy(ctx *pulumi.Context,
name string, args *IAMPolicyArgs, opts ...pulumi.ResourceOption) (*IAMPolicy, error) {
if args == nil || args.OrgId == nil {
return nil, errors.New("missing required argument 'OrgId'")
}
if args == nil || args.PolicyData == nil {
return nil, errors.New("missing required ar... | [
-0.007390270940959454,
0.254009872674942,
0.5404434204101562,
-0.6050655841827393,
0.3760996162891388,
1.2298203706741333,
-0.13569355010986328,
0.05450088158249855,
0.34628158807754517,
0.9474128484725952,
-0.43877822160720825,
-0.0347801074385643,
-0.44775503873825073,
-0.493963032960891... |
func GetIAMPolicy(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *IAMPolicyState, opts ...pulumi.ResourceOption) (*IAMPolicy, error) {
var resource IAMPolicy
err := ctx.ReadResource("gcp:organizations/iAMPolicy:IAMPolicy", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return... | [
0.21646763384342194,
0.025548284873366356,
0.18188366293907166,
-0.34876909852027893,
0.2389531135559082,
0.5079787373542786,
-0.4078764319419861,
-0.43683624267578125,
1.4824309349060059,
0.522184431552887,
0.5520405173301697,
0.8287428617477417,
-0.1159767359495163,
-1.6160391569137573,
... |
func InitAzureKubeAuth(portalProxy interfaces.PortalProxy) KubeAuthProvider {
return &AzureKubeAuth{*InitCertKubeAuth(portalProxy)}
} | [
0.7624309062957764,
-0.08276106417179108,
0.263346403837204,
1.1390635967254639,
-0.13852539658546448,
0.7154120206832886,
0.48909589648246765,
-0.113453708589077,
0.2851144075393677,
0.24421630799770355,
-0.15245766937732697,
0.6968982219696045,
0.020524412393569946,
-0.5481634736061096,
... |
func (c *AzureKubeAuth) GetName() string {
return authConnectTypeKubeConfigAz
} | [
-0.3861157298088074,
-0.5508487224578857,
0.40536418557167053,
1.8294414281845093,
-0.4554126262664795,
0.3343623876571655,
0.02081437222659588,
-0.8005120158195496,
0.034287724643945694,
1.1627717018127441,
0.4369531273841858,
0.026087194681167603,
-0.47453877329826355,
0.5372127890586853... |
func RegisterCommands(app *cobra.Command, c *client.Client) {
var command, sub *cobra.Command
command = &cobra.Command{
Use: "add",
Short: `add returns the sum of the left and right parameters in the response body`,
}
tmp1 := new(AddOperandsCommand)
sub = &cobra.Command{
Use: "operands",
Short: ``,
R... | [
0.24705953896045685,
0.5893219709396362,
0.6974201202392578,
0.07235664874315262,
1.0640326738357544,
0.541837751865387,
0.3521049916744232,
-0.806180477142334,
-0.4198334515094757,
-0.7025778889656067,
-0.5402763485908508,
0.2794884145259857,
-0.17740975320339203,
1.1034735441207886,
0.... |
func NewDrand(s key.Store, g *key.Group, c *Config) (*Drand, error) {
d, err := initDrand(s, c)
if err != nil {
return nil, err
}
dkgConf := &dkg.Config{
Suite: key.G2.(dkg.Suite),
Group: g,
Timeout: d.opts.dkgTimeout,
}
d.dkg, err = dkg.NewHandler(d.priv, dkgConf, d.dkgNetwork())
d.group = g
return... | [
-0.11058235168457031,
0.03972924128174782,
0.5853531956672668,
-0.32162660360336304,
-0.7752568125724792,
0.9547853469848633,
-0.11475542932748795,
0.023729462176561356,
-0.4632461667060852,
-0.1676018089056015,
0.07635153830051422,
1.310853362083435,
-0.6665841341018677,
0.684161305427551... |
func initDrand(s key.Store, c *Config) (*Drand, error) {
if c.insecure == false && (c.certPath == "" || c.keyPath == "") {
return nil, errors.New("config: need to set WithInsecure if no certificate and private key path given")
}
priv, err := s.LoadKeyPair()
if err != nil {
return nil, err
}
// trick to always... | [
0.2159152328968048,
-0.2548776865005493,
0.8295906186103821,
0.07503874599933624,
-0.6902506351470947,
0.7734452486038208,
-0.07270660251379013,
0.3377504050731659,
0.17684881389141083,
-0.2928333878517151,
0.36628955602645874,
1.661590576171875,
-1.1542328596115112,
0.5820968151092529,
... |
func LoadDrand(s key.Store, c *Config) (*Drand, error) {
d, err := initDrand(s, c)
if err != nil {
return nil, err
}
d.group, err = s.LoadGroup()
if err != nil {
return nil, err
}
d.share, err = s.LoadShare()
if err != nil {
return nil, err
}
d.pub, err = s.LoadDistPublic()
if err != nil {
return nil... | [
0.16370204091072083,
0.09646131098270416,
0.7803754210472107,
-0.4279688596725464,
-0.47173988819122314,
0.9393678307533264,
-0.25910910964012146,
-0.2556301951408386,
0.12449446320533752,
-0.5297622680664062,
-0.08368305116891861,
1.3332544565200806,
-1.1966415643692017,
1.047753810882568... |
func (d *Drand) StartDKG() error {
d.dkg.Start()
return d.WaitDKG()
} | [
-0.2546744644641876,
0.8470599055290222,
0.2190590798854828,
0.84197998046875,
-0.3921159505844116,
0.24121218919754028,
0.30934274196624756,
0.43738704919815063,
0.0074318102560937405,
-0.7575444579124451,
-0.08253205567598343,
-0.07502122968435287,
0.4088497757911682,
0.9978629946708679,... |
func (d *Drand) WaitDKG() error {
var err error
select {
case share := <-d.dkg.WaitShare():
s := key.Share(share)
d.share = &s
case err = <-d.dkg.WaitError():
}
if err != nil {
return err
}
d.store.SaveShare(d.share)
d.store.SaveDistPublic(d.share.Public())
// XXX See if needed to change to qualified gr... | [
-0.5099274516105652,
0.625352680683136,
0.7494063377380371,
0.4795548617839813,
-0.02120714634656906,
0.3010740876197815,
0.6500565409660339,
0.045657139271497726,
-0.12188373506069183,
-0.5635178089141846,
-0.25193849205970764,
-0.48955997824668884,
0.03797490894794464,
0.4444997012615204... |
func (d *Drand) BeaconLoop() {
// heuristic: we catchup when we can retrieve a beacon from the db
// if there is an error we quit, if there is no beacon saved yet, we
// run the loop as usual.
var catchup = true
b, err := d.beaconStore.Last()
if err != nil {
if err == beacon.ErrNoBeaconSaved {
// we are star... | [
0.08471623808145523,
-0.17094822227954865,
0.6299219727516174,
0.5876535177230835,
-0.032487258315086365,
0.5135570168495178,
0.24823608994483948,
-0.5921970009803772,
0.7564315795898438,
0.05855786055326462,
0.678626537322998,
0.09389983862638474,
-0.19946376979351044,
0.274942010641098,
... |
func (d *Drand) isDKGDone() bool {
d.state.Lock()
defer d.state.Unlock()
return d.dkgDone
} | [
-0.8289519548416138,
1.1960058212280273,
0.39137858152389526,
0.27463459968566895,
-0.24739138782024384,
-0.36813780665397644,
-0.45793062448501587,
-0.35500064492225647,
-0.5366082191467285,
0.34733253717422485,
-0.3088763356208801,
-0.4103517234325409,
-0.3345806300640106,
0.746941387653... |
func (d *Drand) sendDkgPacket(p net.Peer, pack *dkg_proto.DKGPacket) error {
_, err := d.gateway.InternalClient.Setup(p, pack)
return err
} | [
-1.307576298713684,
1.3225799798965454,
0.5704440474510193,
-0.2490900307893753,
-0.5450169444084167,
0.013377629220485687,
-0.5326430797576904,
-0.8196806907653809,
-0.11722312867641449,
0.21202315390110016,
-0.23700693249702454,
0.031556472182273865,
-1.0727202892303467,
0.78554719686508... |
func (a Energy) Merged(b Energy, signal Energy) Energy {
return Energy{a.X + b.X*signal.X, a.Y + b.Y*signal.Y, a.Z + b.Z*signal.Z}
} | [
1.0227092504501343,
-0.6970846652984619,
0.5887070894241333,
-0.18681932985782623,
0.35292142629623413,
0.2197716236114502,
-0.5040023922920227,
0.10250462591648102,
-0.09446240216493607,
-0.5872082710266113,
-0.5116690993309021,
0.3139709532260895,
-0.27926188707351685,
-0.321705549955368... |
func (a Energy) Amplified(n float64) Energy {
return Energy{a.X * n, a.Y * n, a.Z * n}
} | [
0.6049984097480774,
-0.5270941853523254,
0.3771681487560272,
-0.357309490442276,
-0.4312554895877838,
-0.714305579662323,
-0.8505148887634277,
-0.31477490067481995,
0.4097956717014313,
-0.39594408869743347,
-0.5891211628913879,
-0.1739998459815979,
0.4000014364719391,
0.15481819212436676,
... |
func (a Energy) RandomGain(rnd *rand.Rand) Energy {
greatest := geom.Vector3(a).Greatest()
if rnd.Float64() > greatest {
return Energy{}
}
return a.Amplified(1 / greatest)
} | [
0.3663947284221649,
0.4264236092567444,
0.41189807653427124,
0.10082316398620605,
-0.47693097591400146,
0.2178473174571991,
-0.1680944561958313,
0.03318752720952034,
0.5742021799087524,
-1.1082770824432373,
0.3008313477039337,
0.42037612199783325,
-0.02058478072285652,
0.7066071629524231,
... |
func (a Energy) Strength(b Energy) Energy {
return Energy{a.X * b.X, a.Y * b.Y, a.Z * b.Z}
} | [
0.3493037819862366,
-1.1649785041809082,
0.33585357666015625,
-0.4741378128528595,
0.016391916200518608,
0.06950967013835907,
-0.005078158341348171,
-0.3634773790836334,
-0.528113603591919,
-0.09433921426534653,
-0.4544562101364136,
-0.47468486428260803,
-0.7348650097846985,
-0.96168857812... |
func (a Energy) Variance(b Energy) float64 {
d := geom.Vector3(a).Minus(geom.Vector3(b))
return d.X*d.X + d.Y*d.Y + d.Z*d.Z
} | [
0.3873100280761719,
-0.6602343320846558,
0.6592452526092529,
-0.418660968542099,
0.5388990640640259,
0.6249854564666748,
0.18447774648666382,
-0.028673140332102776,
-0.6466746926307678,
-0.17962060868740082,
0.2167714387178421,
0.5043846368789673,
0.17272228002548218,
-0.41243577003479004,... |
func (a Energy) Blend(b Energy, n float64) Energy {
return Energy(geom.Vector3(a).Lerp(geom.Vector3(b), n))
} | [
0.12757553160190582,
0.25034213066101074,
0.43599173426628113,
0.21352481842041016,
0.5537850856781006,
0.3940238058567047,
-0.9557516574859619,
-0.22215193510055542,
0.3530750870704651,
0.2408546507358551,
0.7798254489898682,
-0.016126805916428566,
-0.47217628359794617,
-0.446488678455352... |
func (lb *LogBuffer) ReadSince(i int64) ([]LogEntry, int64) {
offset := lb.offset
nRead := int64(0)
entries := []LogEntry{}
if i >= offset {
return entries, offset
}
// if i is so far in the past that we're more than logBufSize
// behind then skip forward until we're caught up with the current
// buffer
if ... | [
0.15443533658981323,
-0.5087543725967407,
0.9954402446746826,
-0.5812185406684875,
-1.501602292060852,
0.052874382585287094,
0.5132005214691162,
-0.23242603242397308,
-0.30220746994018555,
-0.5663272738456726,
-0.1690271645784378,
0.4427279233932495,
-0.23228690028190613,
-0.24748770892620... |
func (a *OrganizationsApiService) OrganizationsOrganizationsAdminsCreate(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsAdminsCreateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
localVarPostBody interface{}
localVarFormFileName string
lo... | [
-1.2124043703079224,
-0.2836574912071228,
0.47411996126174927,
-0.9146134257316589,
-0.006053499411791563,
0.2083364576101303,
-0.16372844576835632,
-1.017287015914917,
0.14900021255016327,
0.5190799832344055,
-0.21724462509155273,
0.6620470881462097,
-0.23062090575695038,
0.62565106153488... |
func (a *OrganizationsApiService) OrganizationsOrganizationsApplicationsCreate(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsApplicationsCreateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
localVarPostBody interface{}
localVarFormFileName... | [
-0.7245767712593079,
-0.475108802318573,
0.8349089026451111,
-0.8743488192558289,
-0.44406363368034363,
0.2908232510089874,
0.21475651860237122,
-1.0548436641693115,
-0.05181724205613136,
0.689339816570282,
-0.446166455745697,
-0.17967551946640015,
-0.12001701444387436,
0.4676775634288788,... |
func (a *OrganizationsApiService) OrganizationsOrganizationsCreate(ctx _context.Context, localVarOptionals *OrganizationsOrganizationsCreateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
localVarPostBody interface{}
localVarFormFileName string
localVarFileName stri... | [
-1.229498028755188,
-0.20773783326148987,
0.8232657313346863,
-0.33309805393218994,
-0.05311408266425133,
0.017544331029057503,
0.05609343945980072,
-0.7219077348709106,
-0.7350051403045654,
0.13792960345745087,
-0.34360095858573914,
-0.14989066123962402,
-0.15050636231899261,
0.2125286757... |
func (a *OrganizationsApiService) OrganizationsOrganizationsDelete(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsDeleteOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodDelete
localVarPostBody interface{}
localVarFormFileName string
localVarFile... | [
-0.9939479827880859,
-0.4174688756465912,
0.7499535083770752,
-0.6890371441841125,
-0.2077890783548355,
0.020881179720163345,
0.14238685369491577,
-0.5537862181663513,
0.014024430885910988,
0.21879257261753082,
-0.0463702417910099,
0.39299800992012024,
-0.5321764349937439,
0.18509188294410... |
func (a *OrganizationsApiService) OrganizationsOrganizationsInstanceGroupsCreate(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsInstanceGroupsCreateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
localVarPostBody interface{}
localVarFormFile... | [
-1.4748380184173584,
0.11471565812826157,
0.6459553837776184,
-1.0792301893234253,
-0.6296830177307129,
0.2742486596107483,
-0.18686030805110931,
-0.6278775334358215,
-0.8243520259857178,
0.41287216544151306,
-0.29891443252563477,
0.5652509331703186,
-0.8506871461868286,
0.3416779637336731... |
func (a *OrganizationsApiService) OrganizationsOrganizationsJobTemplatesCreate(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsJobTemplatesCreateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
localVarPostBody interface{}
localVarFormFileName... | [
-0.6278476119041443,
-0.33666977286338806,
0.7989512085914612,
-0.6992551684379578,
-0.3840269446372986,
0.2927546501159668,
-0.22942610085010529,
-0.5105573534965515,
-0.7386893033981323,
0.25686708092689514,
-0.6263030767440796,
-0.16814933717250824,
-0.6995574235916138,
0.28299945592880... |
func (a *OrganizationsApiService) OrganizationsOrganizationsPartialUpdate(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsPartialUpdateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPatch
localVarPostBody interface{}
localVarFormFileName string
... | [
-0.3726825416088104,
-1.0365943908691406,
0.8272067904472351,
-0.9241514205932617,
-0.7283461093902588,
0.19094422459602356,
-0.097169890999794,
-0.16087627410888672,
0.03842797130346298,
0.3456536531448364,
-0.2432897984981537,
0.42991888523101807,
-0.9814712405204773,
0.09677048772573471... |
func (a *OrganizationsApiService) OrganizationsOrganizationsProjectsCreate(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsProjectsCreateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
localVarPostBody interface{}
localVarFormFileName string
... | [
-0.7874252200126648,
0.021260572597384453,
0.6376156210899353,
-0.825383722782135,
-0.3419020175933838,
0.23959343135356903,
0.08579188585281372,
-0.38665860891342163,
-0.1583051234483719,
0.25327950716018677,
0.07037150114774704,
-0.17368966341018677,
-0.6644449830055237,
0.07065421342849... |
func (a *OrganizationsApiService) OrganizationsOrganizationsRead(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsReadOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodGet
localVarPostBody interface{}
localVarFormFileName string
localVarFileName ... | [
-1.3420019149780273,
-0.3979712128639221,
0.8380338549613953,
-0.8598888516426086,
-0.4639107584953308,
-0.3219505250453949,
-0.11274987459182739,
-0.5970436334609985,
-0.13439957797527313,
0.26827943325042725,
-0.06888361275196075,
0.7431910634040833,
-0.5136739611625671,
-0.1269506067037... |
func (a *OrganizationsApiService) OrganizationsOrganizationsUpdate(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsUpdateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPut
localVarPostBody interface{}
localVarFormFileName string
localVarFileNam... | [
-1.2200713157653809,
-0.7012320160865784,
0.8288982510566711,
-0.9402449727058411,
-0.6322691440582275,
-0.15451307594776154,
-0.2309371680021286,
-0.3520672619342804,
-0.27473488450050354,
0.45101627707481384,
-0.44840604066848755,
0.3434390425682068,
-0.43415629863739014,
0.2236450910568... |
func (a *OrganizationsApiService) OrganizationsOrganizationsUsersCreate(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsUsersCreateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
localVarPostBody interface{}
localVarFormFileName string
loca... | [
-1.2522797584533691,
-0.24380990862846375,
0.6414812207221985,
-0.5181493163108826,
0.025809520855545998,
0.009793097153306007,
0.2142401486635208,
-0.5123679637908936,
-0.24004583060741425,
0.33504241704940796,
-0.5802516937255859,
0.19363144040107727,
-0.30273592472076416,
0.367959976196... |
func (a *OrganizationsApiService) OrganizationsOrganizationsWorkflowJobTemplatesCreate(ctx _context.Context, id string, localVarOptionals *OrganizationsOrganizationsWorkflowJobTemplatesCreateOpts) (*_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
localVarPostBody interface{}
loca... | [
-0.8128881454467773,
-0.157584547996521,
0.6898780465126038,
-0.7487531304359436,
-0.381242573261261,
0.13171754777431488,
-0.19023333489894867,
-0.5256314277648926,
-0.6347141861915588,
0.3421884775161743,
-0.40453797578811646,
-0.25929057598114014,
-0.8698667287826538,
0.3565226495265960... |
func (s *AbsenceRegistrationsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*AbsenceRegistrations, error) {
var entities []*AbsenceRegistrations
u, _ := s.client.ResolvePathWithDivision("/api/v1/{division}/hrm/AbsenceRegistrations", division) // #nosec
api.AddListOptionsToURL(u, o... | [
-0.6132776737213135,
0.22173063457012177,
0.741657555103302,
-0.134113609790802,
0.5574917793273926,
0.057401373982429504,
0.2431267946958542,
0.6065710186958313,
0.20957772433757782,
0.5458420515060425,
-0.324380487203598,
0.20032931864261627,
-0.6034650206565857,
0.9871026873588562,
-0... |
func (s *AbsenceRegistrationsEndpoint) Get(ctx context.Context, division int, id *types.GUID) (*AbsenceRegistrations, error) {
b, _ := s.client.ResolvePathWithDivision("/api/v1/{division}/hrm/AbsenceRegistrations", division) // #nosec
u, err := api.AddOdataKeyToURL(b, id)
if err != nil {
return nil, err
}
e := ... | [
-1.1150785684585571,
0.9359888434410095,
0.5818012356758118,
-0.5772185325622559,
0.24189123511314392,
0.13773664832115173,
-0.00523934792727232,
-0.2554818093776703,
-0.057495489716529846,
-0.02002008631825447,
0.12724484503269196,
1.145825982093811,
-0.7673453092575073,
0.392286568880081... |
func NewArchivedAnalysis() *ArchivedAnalysis {
this := ArchivedAnalysis{}
return &this
} | [
-0.2211393266916275,
-0.013424577191472054,
0.13288861513137817,
0.4229840636253357,
-0.2014148235321045,
-0.6923065185546875,
0.003175528021529317,
0.2404734343290329,
-0.38062360882759094,
-0.5241678357124329,
-0.4629925787448883,
0.8734220862388611,
0.5159106850624084,
0.017813613638281... |
func NewArchivedAnalysisWithDefaults() *ArchivedAnalysis {
this := ArchivedAnalysis{}
return &this
} | [
-0.1909123808145523,
0.5818317532539368,
0.06760678440332413,
0.3060372769832611,
0.8867360949516296,
-0.6791021823883057,
-0.13695059716701508,
-0.13110382854938507,
-0.06728100031614304,
-0.7189704775810242,
-0.5900006890296936,
-0.42786455154418945,
0.35315585136413574,
0.18445616960525... |
func (o *ArchivedAnalysis) GetImageDigest() string {
if o == nil || o.ImageDigest == nil {
var ret string
return ret
}
return *o.ImageDigest
} | [
-0.2849174737930298,
0.6562525033950806,
0.25121793150901794,
-0.7073523998260498,
-0.41443923115730286,
-0.1807120442390442,
0.05531788244843483,
-0.17930012941360474,
0.22031086683273315,
-0.878259539604187,
-0.666175901889801,
-1.3422614336013794,
-0.5094939470291138,
0.6897796988487244... |
func (o *ArchivedAnalysis) GetImageDigestOk() (*string, bool) {
if o == nil || o.ImageDigest == nil {
return nil, false
}
return o.ImageDigest, true
} | [
-0.6828855276107788,
0.9844730496406555,
0.6727244853973389,
-0.4518708288669586,
0.29883256554603577,
-0.70981764793396,
0.036296918988227844,
0.44691047072410583,
0.04955529049038887,
0.1721699982881546,
-1.2511800527572632,
-1.3600866794586182,
0.5945090651512146,
0.34489816427230835,
... |
func (o *ArchivedAnalysis) HasImageDigest() bool {
if o != nil && o.ImageDigest != nil {
return true
}
return false
} | [
0.0861017182469368,
0.8913714289665222,
0.2979415953159332,
-1.1167798042297363,
0.4828370213508606,
-0.818669855594635,
-0.5965712666511536,
0.9575204849243164,
-0.42622101306915283,
-0.9833150506019592,
-1.3244729042053223,
-1.311553955078125,
0.38152068853378296,
0.8561468720436096,
-... |
func (o *ArchivedAnalysis) SetImageDigest(v string) {
o.ImageDigest = &v
} | [
0.15373735129833221,
0.05054131895303726,
-0.14397723972797394,
-1.4986531734466553,
-0.6945992708206177,
-0.1007428988814354,
-1.0216999053955078,
-0.8208150267601013,
-0.5652753114700317,
-0.42145124077796936,
-0.5061246752738953,
0.26369649171829224,
0.11778934299945831,
-0.526631653308... |
func (o *ArchivedAnalysis) GetParentDigest() string {
if o == nil || o.ParentDigest == nil {
var ret string
return ret
}
return *o.ParentDigest
} | [
1.331933617591858,
0.4440805912017822,
0.09181351214647293,
-0.23924273252487183,
-1.0005220174789429,
-0.10621404647827148,
0.3091479539871216,
-0.6528318524360657,
0.02031387947499752,
-1.2830321788787842,
0.3304818570613861,
-0.8382319808006287,
-0.9574825167655945,
0.7287810444831848,
... |
func (o *ArchivedAnalysis) GetParentDigestOk() (*string, bool) {
if o == nil || o.ParentDigest == nil {
return nil, false
}
return o.ParentDigest, true
} | [
0.6764813661575317,
0.5833620429039001,
0.5701338052749634,
0.08826815336942673,
-0.48331522941589355,
-0.4210520088672638,
0.378678560256958,
0.16000764071941376,
-0.1999979168176651,
-0.7771245241165161,
-0.7857636213302612,
-0.6719790101051331,
0.1928478628396988,
0.4684812128543854,
... |
func (o *ArchivedAnalysis) HasParentDigest() bool {
if o != nil && o.ParentDigest != nil {
return true
}
return false
} | [
1.3658865690231323,
0.0991487205028534,
0.39101657271385193,
-0.7495098114013672,
-0.25248077511787415,
-0.6238318681716919,
0.007720015477389097,
0.3820946514606476,
-0.2618653178215027,
-1.166245698928833,
-0.5972734093666077,
-0.9668839573860168,
-0.07256900519132614,
0.8420358300209045... |
func (o *ArchivedAnalysis) SetParentDigest(v string) {
o.ParentDigest = &v
} | [
1.7066349983215332,
0.06996167451143265,
-0.14167267084121704,
-1.3272740840911865,
-1.1306483745574951,
0.011932543478906155,
-0.12812846899032593,
-0.8294812440872192,
-0.5564286708831787,
-0.9263823628425598,
0.12880907952785492,
0.578570544719696,
-0.6928313374519348,
-0.55777132511138... |
func (o *ArchivedAnalysis) GetAnnotations() map[string]interface{} {
if o == nil || o.Annotations == nil {
var ret map[string]interface{}
return ret
}
return o.Annotations
} | [
0.329772025346756,
-0.1569162905216217,
0.47202590107917786,
0.27315574884414673,
0.060567706823349,
-0.6541308760643005,
0.7487618923187256,
-0.4349060356616974,
0.9177846908569336,
-0.6585383415222168,
-0.6853839755058289,
-0.5595834255218506,
-0.137567937374115,
0.9959250688552856,
0.... |
func (o *ArchivedAnalysis) GetAnnotationsOk() (map[string]interface{}, bool) {
if o == nil || o.Annotations == nil {
return nil, false
}
return o.Annotations, true
} | [
0.45191988348960876,
0.19886700809001923,
0.34802404046058655,
0.14580945670604706,
-0.5850876569747925,
-0.2682705819606781,
1.2216105461120605,
-1.055041790008545,
0.04352603480219841,
1.0901427268981934,
-1.0327056646347046,
-1.1979509592056274,
0.5735200047492981,
0.8737624287605286,
... |
func (o *ArchivedAnalysis) HasAnnotations() bool {
if o != nil && o.Annotations != nil {
return true
}
return false
} | [
0.8733367919921875,
0.7161969542503357,
0.4789886474609375,
0.21183903515338898,
0.5282173752784729,
-0.040974970906972885,
0.7687681317329407,
-0.4908982813358307,
0.1982225626707077,
-0.17852537333965302,
-0.709614634513855,
-0.7538381814956665,
-0.2078966200351715,
1.1265579462051392,
... |
func (o *ArchivedAnalysis) GetStatus() string {
if o == nil || o.Status == nil {
var ret string
return ret
}
return *o.Status
} | [
0.8854331374168396,
0.20118871331214905,
0.07627162337303162,
0.7056532502174377,
-0.17840242385864258,
-0.19792339205741882,
0.7999367713928223,
0.10152208805084229,
1.1461546421051025,
-0.6856986880302429,
-0.298261821269989,
-0.7444692254066467,
-0.014477894641458988,
0.4402495920658111... |
func (o *ArchivedAnalysis) GetStatusOk() (*string, bool) {
if o == nil || o.Status == nil {
return nil, false
}
return o.Status, true
} | [
-0.25255826115608215,
0.8510031700134277,
0.3797975480556488,
0.9305269122123718,
-0.03987075760960579,
-0.217135488986969,
0.6466911435127258,
1.0820856094360352,
0.11304692924022675,
-0.2313569039106369,
-1.4216994047164917,
-0.04224330559372902,
1.030253291130066,
0.14961974322795868,
... |
func (o *ArchivedAnalysis) HasStatus() bool {
if o != nil && o.Status != nil {
return true
}
return false
} | [
0.7509422898292542,
0.024153094738721848,
0.2546156346797943,
0.4717702269554138,
0.412561297416687,
0.20641525089740753,
0.04780261591076851,
1.3567460775375366,
0.6907256841659546,
-0.9059025645256042,
-1.1944222450256348,
-0.5112106204032898,
0.39727699756622314,
0.08236389607191086,
... |
func (o *ArchivedAnalysis) SetStatus(v string) {
o.Status = &v
} | [
1.0500258207321167,
0.039141491055488586,
-0.32084864377975464,
-0.20873381197452545,
-1.1183109283447266,
0.19240601360797882,
-0.43630045652389526,
-0.0536399781703949,
0.4091300666332245,
-0.015692848712205887,
-0.5007127523422241,
1.3809510469436646,
0.4427238702774048,
-0.562195241451... |
func (o *ArchivedAnalysis) GetImageDetail() []TagEntry {
if o == nil || o.ImageDetail == nil {
var ret []TagEntry
return ret
}
return o.ImageDetail
} | [
0.7129421830177307,
0.16039858758449554,
0.29461470246315,
0.29527920484542847,
0.9946021437644958,
-0.0012680498184636235,
-0.15660403668880463,
0.11161083728075027,
0.4558658003807068,
-0.10716745257377625,
-0.7431247234344482,
0.0069070132449269295,
0.3078632950782776,
1.598121881484985... |
func (o *ArchivedAnalysis) GetImageDetailOk() ([]TagEntry, bool) {
if o == nil || o.ImageDetail == nil {
return nil, false
}
return o.ImageDetail, true
} | [
-0.05853559449315071,
0.7246651649475098,
0.46935901045799255,
0.18991617858409882,
0.6158067584037781,
-0.03108946606516838,
0.209702730178833,
1.0337789058685303,
0.347275048494339,
0.01395538728684187,
-1.2225019931793213,
-0.7476296424865723,
0.8729501366615295,
0.8453393578529358,
-... |
func (o *ArchivedAnalysis) HasImageDetail() bool {
if o != nil && o.ImageDetail != nil {
return true
}
return false
} | [
1.1646032333374023,
0.843779981136322,
0.3467532992362976,
-0.4381745159626007,
0.7704290747642517,
-0.26659584045410156,
-0.18215876817703247,
1.2980964183807373,
-0.14912274479866028,
-0.4239824414253235,
-0.9912960529327393,
-0.5379886031150818,
0.7886254787445068,
1.342553973197937,
... |
func (o *ArchivedAnalysis) SetImageDetail(v []TagEntry) {
o.ImageDetail = v
} | [
0.18304088711738586,
0.007892036810517311,
-0.11510206013917923,
-0.5274526476860046,
0.6195372939109802,
0.10594283789396286,
-0.6514573693275452,
0.07378435879945755,
0.060363270342350006,
0.5823839902877808,
-0.6621583104133606,
0.35536718368530273,
0.946711540222168,
1.263642430305481,... |
func (o *ArchivedAnalysis) GetCreatedAt() time.Time {
if o == nil || o.CreatedAt == nil {
var ret time.Time
return ret
}
return *o.CreatedAt
} | [
0.7033430337905884,
0.18623486161231995,
0.16916590929031372,
-0.1418922394514084,
0.14286288619041443,
-0.1040353924036026,
0.20231419801712036,
-1.0986998081207275,
0.15422074496746063,
-1.2994930744171143,
-0.026567038148641586,
-0.9594699740409851,
-0.10493402928113937,
1.0644209384918... |
func (o *ArchivedAnalysis) GetCreatedAtOk() (*time.Time, bool) {
if o == nil || o.CreatedAt == nil {
return nil, false
}
return o.CreatedAt, true
} | [
0.025671858340501785,
0.4653642177581787,
0.4922221601009369,
0.5267670154571533,
0.7426827549934387,
0.7058075666427612,
0.5259919762611389,
-0.3130672872066498,
-0.6937124133110046,
-1.0560362339019775,
-0.640357255935669,
-0.49540573358535767,
1.1876945495605469,
0.7612181305885315,
-... |
func (o *ArchivedAnalysis) HasCreatedAt() bool {
if o != nil && o.CreatedAt != nil {
return true
}
return false
} | [
0.6263022422790527,
0.41791921854019165,
0.21006225049495697,
-0.7606139183044434,
0.9342641234397888,
-0.09610967338085175,
-0.41524678468704224,
-0.5028166770935059,
-0.5924803018569946,
-1.8843120336532593,
-0.734921395778656,
-1.4151111841201782,
0.7104436755180359,
0.38466548919677734... |
func (o *ArchivedAnalysis) SetCreatedAt(v time.Time) {
o.CreatedAt = &v
} | [
0.5358221530914307,
-0.10911828279495239,
-0.025734586641192436,
-0.6797083616256714,
-0.2789723873138428,
0.26112642884254456,
-0.36976560950279236,
-1.5355103015899658,
-0.10815929621458054,
-0.9399932026863098,
-0.20471596717834473,
0.043419260531663895,
0.5498540997505188,
0.2188254445... |
func (o *ArchivedAnalysis) GetLastUpdated() time.Time {
if o == nil || o.LastUpdated == nil {
var ret time.Time
return ret
}
return *o.LastUpdated
} | [
0.2478264570236206,
0.11030184477567673,
0.7589372396469116,
-0.1704169362783432,
0.18410144746303558,
-0.5650956630706787,
0.3480299711227417,
0.16010485589504242,
0.9472476243972778,
-0.6719794273376465,
-0.24277418851852417,
-1.3610810041427612,
-0.711298942565918,
0.37098145484924316,
... |
func (o *ArchivedAnalysis) GetLastUpdatedOk() (*time.Time, bool) {
if o == nil || o.LastUpdated == nil {
return nil, false
}
return o.LastUpdated, true
} | [
-0.5138391256332397,
-0.18424001336097717,
0.7058641910552979,
-0.11027776449918747,
-0.15134596824645996,
0.3694329857826233,
0.23065616190433502,
0.8643728494644165,
0.39134058356285095,
0.017839334905147552,
-0.8100366592407227,
-1.1169235706329346,
-0.03623940050601959,
0.3098663985729... |
func (o *ArchivedAnalysis) HasLastUpdated() bool {
if o != nil && o.LastUpdated != nil {
return true
}
return false
} | [
0.4563407897949219,
0.5685345530509949,
0.8195477724075317,
-0.8898053765296936,
0.9350389242172241,
-0.8505343198776245,
-0.37760281562805176,
1.1974960565567017,
0.5793716311454773,
-0.4185468852519989,
-0.9470162391662598,
-1.3615989685058594,
-0.05142786353826523,
-0.10794564336538315,... |
func (o *ArchivedAnalysis) SetLastUpdated(v time.Time) {
o.LastUpdated = &v
} | [
0.27364078164100647,
0.3816934823989868,
0.34271278977394104,
-0.7598707675933838,
0.15219654142856598,
-0.0010825515491887927,
-0.3510203957557678,
-0.4395950734615326,
0.6501818895339966,
-0.19490237534046173,
-0.1116931363940239,
0.10474621504545212,
0.043612804263830185,
-0.48761254549... |
func (o *ArchivedAnalysis) GetAnalyzedAt() time.Time {
if o == nil || o.AnalyzedAt == nil {
var ret time.Time
return ret
}
return *o.AnalyzedAt
} | [
0.19582977890968323,
0.23720216751098633,
0.1881483644247055,
-0.4997166097164154,
0.020556949079036713,
-0.058307670056819916,
0.10255128145217896,
-1.2400267124176025,
0.05736168846487999,
-1.319501519203186,
-0.13240651786327362,
-0.3388785719871521,
-0.2262558937072754,
0.3248766958713... |
func (o *ArchivedAnalysis) GetAnalyzedAtOk() (*time.Time, bool) {
if o == nil || o.AnalyzedAt == nil {
return nil, false
}
return o.AnalyzedAt, true
} | [
-0.27959269285202026,
0.5264418721199036,
0.4809836447238922,
0.14756600558757782,
0.6465955972671509,
0.25026100873947144,
0.4267342686653137,
-0.4173057973384857,
-0.3946489691734314,
-0.9194047451019287,
-0.7564504742622375,
-0.315393328666687,
1.1735366582870483,
0.28636905550956726,
... |
func (o *ArchivedAnalysis) HasAnalyzedAt() bool {
if o != nil && o.AnalyzedAt != nil {
return true
}
return false
} | [
0.7059906125068665,
0.29360708594322205,
0.22586822509765625,
-0.7173401713371277,
0.6390807032585144,
0.2713946998119354,
-0.30092236399650574,
-0.7309008836746216,
-0.6440402865409851,
-0.8264013528823853,
-0.3803207576274872,
-0.6552361845970154,
0.8721739649772644,
0.37139904499053955,... |
func (o *ArchivedAnalysis) SetAnalyzedAt(v time.Time) {
o.AnalyzedAt = &v
} | [
0.14749455451965332,
0.07935294508934021,
-0.050510864704847336,
-1.1245735883712769,
-0.24674174189567566,
0.3211688995361328,
-0.21470649540424347,
-1.4230846166610718,
-0.17404824495315552,
-0.7936193943023682,
-0.45130330324172974,
0.6256312131881714,
0.5186096429824829,
-0.30885308980... |
func (o *ArchivedAnalysis) GetArchiveSizeBytes() int32 {
if o == nil || o.ArchiveSizeBytes == nil {
var ret int32
return ret
}
return *o.ArchiveSizeBytes
} | [
-0.08242463320493698,
0.7795405983924866,
0.34350278973579407,
0.2414262294769287,
0.4936201572418213,
-0.2913365364074707,
0.2474953830242157,
0.6543812155723572,
0.9506905674934387,
-0.15435703098773956,
-0.07434987276792526,
-0.334945946931839,
-1.0346628427505493,
-0.10633135586977005,... |
func (o *ArchivedAnalysis) GetArchiveSizeBytesOk() (*int32, bool) {
if o == nil || o.ArchiveSizeBytes == nil {
return nil, false
}
return o.ArchiveSizeBytes, true
} | [
0.2373725324869156,
0.20436111092567444,
0.28412267565727234,
0.1757929027080536,
0.2530001401901245,
-0.7227463126182556,
0.4838419556617737,
0.9201762080192566,
0.480527400970459,
1.0782219171524048,
-0.8675677180290222,
-0.3478512167930603,
0.4334665834903717,
-0.08454500883817673,
-0... |
func (o *ArchivedAnalysis) HasArchiveSizeBytes() bool {
if o != nil && o.ArchiveSizeBytes != nil {
return true
}
return false
} | [
0.41699379682540894,
0.735801637172699,
0.37668609619140625,
0.008315009996294975,
0.8699763417243958,
-0.9248188734054565,
-0.24413754045963287,
1.273018717765808,
0.5837145447731018,
-0.2833736538887024,
-0.8485767841339111,
-0.4058276414871216,
-0.013370789587497711,
0.4096962511539459,... |
func (o *ArchivedAnalysis) SetArchiveSizeBytes(v int32) {
o.ArchiveSizeBytes = &v
} | [
0.08225765824317932,
0.9141530990600586,
-0.04851243272423744,
-0.4105674922466278,
-0.0033423129934817553,
0.25331592559814453,
-0.07065985351800919,
-0.20719096064567566,
0.23657570779323578,
0.25399020314216614,
0.08049926161766052,
0.5841721892356873,
-0.43119576573371887,
-0.547903954... |
func (ts *Titlescreen) Tick(event tl.Event) {
if event.Type == tl.EventKey {
switch event.Key {
case tl.KeyEnter:
gs = NewGameScreen()
game.Screen().SetLevel(gs)
}
}
} | [
-0.47343823313713074,
0.2548469305038452,
0.7039923071861267,
0.5584757924079895,
-0.10792839527130127,
1.0870611667633057,
-0.3475118577480316,
-0.9012485146522522,
-0.4465399384498596,
1.2985559701919556,
0.08014307171106339,
0.5197007656097412,
0.36392706632614136,
0.6511079668998718,
... |
func (player *Player) Tick(event tl.Event) {
if event.Type == tl.EventKey {
player.X, player.Y = player.Position()
oldX, oldY = player.Position()
crate.X, crate.Y = crate.Position()
oldcrateX, oldcrateY = crate.Position()
switch event.Key {
case tl.KeyArrowUp:
player.CheckCollisions("UP")
case tl.KeyA... | [
-0.4841688871383667,
0.1429816037416458,
0.882222056388855,
0.257458359003067,
-0.2700291574001312,
0.275877445936203,
0.965805172920227,
-0.6121424436569214,
-0.8850839138031006,
1.1711623668670654,
-0.7452453970909119,
-0.48335641622543335,
0.3307631015777588,
-0.24275755882263184,
0.6... |
func (player *Player) CheckCollisions(direction string) {
switch direction {
case "UP":
if player.CheckCrateCollision(oldX, oldY-1) {
if crate.CheckGoalCollision(oldcrateX, oldcrateY-1) {
crate.Y = crate.Y - 1
crate.SetPosition(crate.X, crate.Y)
LevelCompleted()
}
if crate.CheckBorderCollision(... | [
-0.5258400440216064,
-0.36613935232162476,
1.1829158067703247,
-0.20481033623218536,
0.19434165954589844,
0.1539609432220459,
1.0787841081619263,
-0.8711583614349365,
-0.8424069881439209,
1.0423561334609985,
-0.39516347646713257,
-0.8587276935577393,
-0.372275710105896,
0.5772619247436523,... |
func LookupServerSecurityAlertPolicy(ctx *pulumi.Context, args *LookupServerSecurityAlertPolicyArgs, opts ...pulumi.InvokeOption) (*LookupServerSecurityAlertPolicyResult, error) {
var rv LookupServerSecurityAlertPolicyResult
err := ctx.Invoke("azure-native:dbforpostgresql/v20171201:getServerSecurityAlertPolicy", args... | [
0.6315112709999084,
0.5273145437240601,
0.6846922636032104,
0.3040534555912018,
0.40954187512397766,
1.352892518043518,
0.023639004677534103,
-0.09154018014669418,
0.2709927260875702,
0.2611164450645447,
0.5022861957550049,
1.4742380380630493,
-0.5511329174041748,
-0.9529910087585449,
-0... |
func NewSpriteBatch(texture ITexture, size int, usage Usage) *SpriteBatch {
return &SpriteBatch{
size: size,
texture: texture,
usage: usage,
color: []float32{1, 1, 1, 1},
arrayBuf: newVertexBuffer(size*4*8, []float32{}, usage),
quadIndices: newQuadIndices(size),
rangeMin: -1,... | [
0.11103440821170807,
0.031579699367284775,
0.24078303575515747,
0.2864075303077698,
-0.811888575553894,
-0.11957284063100815,
0.06661318987607956,
-0.38588038086891174,
0.6084238290786743,
-0.5150574445724487,
-1.1971160173416138,
0.7373767495155334,
-0.8863176703453064,
-0.058748539537191... |
func (spriteBatch *SpriteBatch) Add(args ...float32) error {
return spriteBatch.addv(spriteBatch.texture.getVerticies(), generateModelMatFromArgs(args), -1)
} | [
-0.15721726417541504,
-0.057431675493717194,
0.3187544047832489,
0.48573631048202515,
0.3705262541770935,
1.0655659437179565,
0.16683794558048248,
0.2857131063938141,
-0.18861068785190582,
-0.11209601163864136,
-0.21095533668994904,
0.02766341343522072,
-0.5235547423362732,
1.0107032060623... |
func (spriteBatch *SpriteBatch) Addq(quad *Quad, args ...float32) error {
return spriteBatch.addv(quad.getVertices(), generateModelMatFromArgs(args), -1)
} | [
-0.7100597023963928,
0.24279488623142242,
0.4047573506832123,
0.8983135223388672,
-0.26131653785705566,
0.7797967791557312,
-0.5057891011238098,
-0.22455166280269623,
-0.23805826902389526,
-0.5106803178787231,
-0.7454467415809631,
-0.07420837134122849,
-0.2869836091995239,
0.42512875795364... |
func (spriteBatch *SpriteBatch) Set(index int, args ...float32) error {
return spriteBatch.addv(spriteBatch.texture.getVerticies(), generateModelMatFromArgs(args), index)
} | [
-0.17189987003803253,
0.3089236915111542,
0.13622181117534637,
-0.3936346471309662,
0.7006319761276245,
0.7570573091506958,
0.3473482131958008,
-0.3917694091796875,
-0.4385005831718445,
0.313485324382782,
-0.8731335401535034,
0.20963355898857117,
-0.3128809630870819,
0.07025016099214554,
... |
func (spriteBatch *SpriteBatch) Setq(index int, quad *Quad, args ...float32) error {
return spriteBatch.addv(quad.getVertices(), generateModelMatFromArgs(args), index)
} | [
-0.8829749226570129,
0.44865044951438904,
0.24379049241542816,
0.5253257751464844,
0.2456965148448944,
0.4939587414264679,
-0.2406567931175232,
-0.46040698885917664,
-0.19183991849422455,
0.004876339808106422,
-1.737888216972351,
0.2741261124610901,
-0.15060415863990784,
-0.178985491394996... |
func (spriteBatch *SpriteBatch) Clear() {
spriteBatch.arrayBuf = newVertexBuffer(spriteBatch.size*4*8, []float32{}, spriteBatch.usage)
spriteBatch.count = 0
} | [
0.4451078474521637,
-0.10151412338018417,
0.3344564139842987,
0.31670838594436646,
-0.03476247191429138,
0.7984441518783569,
0.38118526339530945,
-0.40863245725631714,
0.3006082773208618,
0.014886263757944107,
-0.5863789916038513,
1.2783262729644775,
-0.41238635778427124,
0.527000486850738... |
func (spriteBatch *SpriteBatch) flush() {
spriteBatch.arrayBuf.bufferData()
} | [
0.2627857029438019,
-0.7784997224807739,
0.18343296647071838,
-0.5833598971366882,
0.46768829226493835,
1.4512810707092285,
0.020180802792310715,
-0.4125579595565796,
-0.3536772131919861,
-0.6620098352432251,
-1.0024913549423218,
2.0142691135406494,
-0.3194239139556885,
0.9954835176467896,... |
func (spriteBatch *SpriteBatch) SetTexture(newtexture ITexture) {
spriteBatch.texture = newtexture
} | [
0.1357828676700592,
-0.8023241758346558,
0.15130792558193207,
0.44592201709747314,
-0.2600622773170471,
0.17093665897846222,
-0.4018721282482147,
0.9366141557693481,
0.5762209892272949,
0.1312762051820755,
-1.0927462577819824,
0.40459054708480835,
-0.7968243360519409,
0.4623434245586395,
... |
func (spriteBatch *SpriteBatch) GetTexture() ITexture {
return spriteBatch.texture
} | [
0.7808383107185364,
-0.8895809054374695,
0.25966376066207886,
0.7970291972160339,
-0.08013548702001572,
-0.04624173790216446,
0.03278771787881851,
0.34488773345947266,
0.6668736338615417,
-0.4059554636478424,
-0.31821373105049133,
0.22019803524017334,
-0.751360297203064,
0.0043231807649135... |
func (spriteBatch *SpriteBatch) SetColor(vals ...float32) {
spriteBatch.color = vals
} | [
0.255470335483551,
0.2811211049556732,
0.25561031699180603,
1.0075627565383911,
0.4192766547203064,
1.7760822772979736,
-0.4828174114227295,
0.4225218594074249,
-0.3918740749359131,
-0.6188377737998962,
-1.0295648574829102,
0.1699037253856659,
0.23130834102630615,
1.6703574657440186,
-1.... |
func (spriteBatch *SpriteBatch) ClearColor() {
spriteBatch.color = []float32{1, 1, 1, 1}
} | [
0.11957787722349167,
0.0762818455696106,
0.2764565348625183,
0.3594822287559509,
0.25795063376426697,
1.174682855606079,
-0.28198546171188354,
0.45205679535865784,
-0.2641540467739105,
0.5735548734664917,
-0.12519127130508423,
1.129330039024353,
0.2517991364002228,
0.9923858642578125,
-0... |
func (spriteBatch *SpriteBatch) GetColor() []float32 {
return spriteBatch.color
} | [
0.5881359577178955,
-0.15108846127986908,
0.5390188694000244,
0.9325370192527771,
1.0515035390853882,
1.2533303499221802,
-0.08430541306734085,
0.07832222431898117,
-0.028173791244626045,
-0.2640412449836731,
-0.5130252242088318,
1.031779170036316,
0.03622367978096008,
1.8211313486099243,
... |
func (spriteBatch *SpriteBatch) GetCount() int {
return spriteBatch.count
} | [
0.8118837475776672,
-0.23959481716156006,
0.4722415506839752,
0.32937344908714294,
0.27062782645225525,
0.4135484993457794,
0.37083202600479126,
0.3207704424858093,
-0.6236610412597656,
-0.2441701591014862,
-1.0257982015609741,
0.3687995672225952,
0.15662908554077148,
0.9277735352516174,
... |
func (spriteBatch *SpriteBatch) SetBufferSize(newsize int) error {
if newsize <= 0 {
return fmt.Errorf("invalid SpriteBatch size")
} else if newsize == spriteBatch.size {
return nil
}
spriteBatch.arrayBuf = newVertexBuffer(newsize*4*8, spriteBatch.arrayBuf.data, spriteBatch.usage)
spriteBatch.quadIndices = new... | [
0.42355531454086304,
-0.3999458849430084,
0.5083308219909668,
0.06491676717996597,
-0.520728588104248,
0.036045581102371216,
0.21675603091716766,
-0.054381974041461945,
0.44783198833465576,
-0.3900001347064972,
-1.7742815017700195,
1.1157437562942505,
-0.9141647815704346,
0.812675595283508... |
func (spriteBatch *SpriteBatch) GetBufferSize() int {
return spriteBatch.size
} | [
0.7526751756668091,
0.043970659375190735,
0.7346452474594116,
-0.13417010009288788,
-0.23026089370250702,
0.10155121982097626,
0.18791034817695618,
0.3525659143924713,
-0.1460435688495636,
-1.1088184118270874,
-1.548304796218872,
0.958946704864502,
-0.9816703200340271,
1.0196577310562134,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.