text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (m *Reminder) GetEventLocation()(Locationable) {
val, err := m.GetBackingStore().Get("eventLocation")
if err != nil {
panic(err)
}
if val != nil {
return val.(Locationable)
}
return nil
} | [
0.5374247431755066,
-0.10965528339147568,
0.33937138319015503,
0.7689275145530701,
0.5873543620109558,
-0.28856202960014343,
1.6434751749038696,
-0.1409180760383606,
0.7956147193908691,
-0.33746135234832764,
0.20388689637184143,
-0.43579554557800293,
-0.26098868250846863,
-0.40554642677307... |
func (m *Reminder) GetEventStartTime()(DateTimeTimeZoneable) {
val, err := m.GetBackingStore().Get("eventStartTime")
if err != nil {
panic(err)
}
if val != nil {
return val.(DateTimeTimeZoneable)
}
return nil
} | [
0.8281816840171814,
0.026273950934410095,
0.38714027404785156,
0.27500924468040466,
0.6480684876441956,
-0.2768033444881439,
0.4978286325931549,
0.0196041539311409,
1.1892588138580322,
0.6090754270553589,
-0.3341253995895386,
-0.36086323857307434,
-0.5988125205039978,
-0.9601377844810486,
... |
func (m *Reminder) GetEventSubject()(*string) {
val, err := m.GetBackingStore().Get("eventSubject")
if err != nil {
panic(err)
}
if val != nil {
return val.(*string)
}
return nil
} | [
0.4705009162425995,
0.4848838448524475,
0.1484946608543396,
-0.05591237545013428,
-0.03848254680633545,
0.1119568794965744,
0.43716880679130554,
-0.8229603171348572,
0.19057507812976837,
-1.0737407207489014,
0.279539555311203,
0.05909474939107895,
0.09662604331970215,
-0.9472604393959045,
... |
func (m *Reminder) GetEventWebLink()(*string) {
val, err := m.GetBackingStore().Get("eventWebLink")
if err != nil {
panic(err)
}
if val != nil {
return val.(*string)
}
return nil
} | [
0.6375434398651123,
0.5421959161758423,
0.10411975532770157,
1.1955593824386597,
0.31501850485801697,
0.06891411542892456,
1.0312466621398926,
0.2272346019744873,
0.5735592246055603,
-0.5062121152877808,
0.05276777967810631,
0.1704426258802414,
0.09899748861789703,
0.4025689661502838,
0.... |
func (m *Reminder) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error))
res["changeKey"] = func (n i878a80d2330e89d26896388a3... | [
0.13018034398555756,
0.22820471227169037,
0.8025229573249817,
-0.8329461216926575,
-0.01099388673901558,
-0.6737696528434753,
0.3336084187030792,
-0.06997805833816528,
-0.7272029519081116,
-0.20671534538269043,
-0.8755006790161133,
0.16677995026111603,
-0.7435618042945862,
0.41310402750968... |
func (m *Reminder) GetReminderFireTime()(DateTimeTimeZoneable) {
val, err := m.GetBackingStore().Get("reminderFireTime")
if err != nil {
panic(err)
}
if val != nil {
return val.(DateTimeTimeZoneable)
}
return nil
} | [
0.2533811628818512,
0.7175129055976868,
0.35039541125297546,
1.1261842250823975,
0.21058644354343414,
-0.2526269555091858,
0.028303366154432297,
0.24370965361595154,
0.03679389879107475,
0.08844507485628128,
-0.8553306460380554,
-0.5304889678955078,
-1.328596830368042,
0.39804700016975403,... |
func (m *Reminder) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
{
err := writer.WriteStringValue("changeKey", m.GetChangeKey())
if err != nil {
return err
}
}
{
err := writer.WriteObjectValue("eve... | [
-0.4147396385669708,
-0.24602292478084564,
0.8481693863868713,
-0.5293309092521667,
0.5201334953308105,
-0.36350539326667786,
0.8026723265647888,
-0.31557971239089966,
-0.056063003838062286,
0.26877114176750183,
-0.8413926362991333,
0.377937912940979,
-0.6540538668632507,
0.548122227191925... |
func (m *Reminder) SetAdditionalData(value map[string]any)() {
err := m.GetBackingStore().Set("additionalData", value)
if err != nil {
panic(err)
}
} | [
0.32969191670417786,
0.41104233264923096,
-0.13709966838359833,
-0.25456827878952026,
-0.6599874496459961,
1.2597877979278564,
0.2150125503540039,
-0.6817148327827454,
0.540153980255127,
-0.37482067942619324,
-0.36131155490875244,
0.5493985414505005,
-0.3461878299713135,
0.4442544281482696... |
func (m *Reminder) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() {
m.backingStore = value
} | [
0.07480089366436005,
0.21064071357250214,
0.20743805170059204,
-0.5579143166542053,
-0.1655617207288742,
0.5665899515151978,
0.9209045171737671,
-0.8490856885910034,
-0.3358166217803955,
-0.11143738031387329,
0.0035936511121690273,
-0.7770993113517761,
-1.0057836771011353,
0.14373217523097... |
func (m *Reminder) SetChangeKey(value *string)() {
err := m.GetBackingStore().Set("changeKey", value)
if err != nil {
panic(err)
}
} | [
-0.5391955375671387,
0.2496112585067749,
0.04758457839488983,
0.23940721154212952,
0.6699097752571106,
0.16711005568504333,
0.595508873462677,
-0.39364388585090637,
-0.3787318170070648,
0.779065728187561,
-0.3975190818309784,
0.5750483274459839,
-0.38189777731895447,
1.223091959953308,
-... |
func (m *Reminder) SetEventEndTime(value DateTimeTimeZoneable)() {
err := m.GetBackingStore().Set("eventEndTime", value)
if err != nil {
panic(err)
}
} | [
-0.11884015053510666,
0.13816478848457336,
0.17977865040302277,
0.09660396724939346,
0.3259352743625641,
0.6468982100486755,
0.3893548846244812,
0.31959977746009827,
-0.12944091856479645,
0.8993337750434875,
-0.5315454602241516,
-1.0151623487472534,
-0.7733007073402405,
0.16016095876693726... |
func (m *Reminder) SetEventId(value *string)() {
err := m.GetBackingStore().Set("eventId", value)
if err != nil {
panic(err)
}
} | [
0.8842851519584656,
-0.2525383234024048,
0.16454243659973145,
0.29037848114967346,
0.3972972631454468,
1.5440012216567993,
0.1830219328403473,
-0.12699681520462036,
0.6385232210159302,
0.41097983717918396,
0.1665574610233307,
-0.26533442735671997,
-0.29234737157821655,
0.6685663461685181,
... |
func (m *Reminder) SetEventLocation(value Locationable)() {
err := m.GetBackingStore().Set("eventLocation", value)
if err != nil {
panic(err)
}
} | [
-0.0006777798407711089,
-0.3031117618083954,
-0.05725976079702377,
0.28539422154426575,
0.6298969984054565,
0.19142110645771027,
1.717868685722351,
-0.03608526661992073,
0.4944561719894409,
0.1577574610710144,
-0.7626415491104126,
-1.0413340330123901,
0.02411167323589325,
0.010990103706717... |
func (m *Reminder) SetEventStartTime(value DateTimeTimeZoneable)() {
err := m.GetBackingStore().Set("eventStartTime", value)
if err != nil {
panic(err)
}
} | [
0.4931342899799347,
-0.4823650121688843,
0.25942301750183105,
-0.2444060742855072,
0.23325860500335693,
0.11846468597650528,
0.3381032347679138,
0.02485710196197033,
0.9711007475852966,
0.6700976490974426,
-0.9675411581993103,
-0.962487518787384,
-0.15585537254810333,
-0.549562394618988,
... |
func (m *Reminder) SetEventSubject(value *string)() {
err := m.GetBackingStore().Set("eventSubject", value)
if err != nil {
panic(err)
}
} | [
0.10418630391359329,
0.48387908935546875,
-0.009114875458180904,
-0.26889654994010925,
-0.07811613380908966,
0.49651873111724854,
0.12998344004154205,
-0.8380602598190308,
-0.5579653382301331,
-0.6059569120407104,
-0.3034138083457947,
-0.6652978658676147,
0.32326534390449524,
-0.2225018292... |
func (m *Reminder) SetEventWebLink(value *string)() {
err := m.GetBackingStore().Set("eventWebLink", value)
if err != nil {
panic(err)
}
} | [
0.4882606267929077,
0.4650712311267853,
-0.04919281601905823,
0.9863201379776001,
0.17936038970947266,
0.26171720027923584,
1.0487487316131592,
0.4201841652393341,
0.10567568242549896,
-0.14154787361621857,
-0.7579360008239746,
-0.4053131639957428,
0.37403616309165955,
0.7863929867744446,
... |
func (m *Reminder) SetReminderFireTime(value DateTimeTimeZoneable)() {
err := m.GetBackingStore().Set("reminderFireTime", value)
if err != nil {
panic(err)
}
} | [
0.01430012471973896,
0.542960524559021,
0.20895178616046906,
0.7947668433189392,
-0.2407875657081604,
-0.0919596403837204,
-0.16116316616535187,
0.286014199256897,
-0.3083615005016327,
0.06339795887470245,
-1.4146536588668823,
-1.2653274536132812,
-1.2194836139678955,
0.8527573347091675,
... |
func decorateFieldGetter(t *TopLevelType) *TopLevelType {
newT := t.DeepCopy().(*TopLevelType)
newT.OriginalType = t.Type
switch tt := newT.Type.(type) {
case *ModeledType:
if tt.IsPtr || tt.Interface != nil || tt.IsBuiltin {
return t
}
tt.IsPtr = true
case *ArrayType:
return t
case *MapType:
return... | [
-0.891185998916626,
-0.12380824238061905,
0.47450217604637146,
0.3433259427547455,
-0.3859446942806244,
0.9099164009094238,
0.01801220141351223,
-0.27958935499191284,
-0.2300117313861847,
0.1800103634595871,
0.09528142213821411,
0.3733435571193695,
-0.4560348689556122,
0.22355659306049347,... |
func InitTenant(ctx context.Context, masterURL string, service tenant.Service, currentTenant *tenant.Tenant) Callback {
var maxResourceQuotaStatusCheck int32 = 50 // technically a global retry count across all ResourceQuota on all Tenant Namespaces
var currentResourceQuotaStatusCheck int32 // default is 0
return fu... | [
-0.3534599244594574,
-0.8206592798233032,
0.8641912937164307,
-0.5190742015838623,
-0.6272231936454773,
0.0040039480663836,
-0.012713870964944363,
-0.3301350474357605,
0.8646844029426575,
0.4801071882247925,
-0.29094746708869934,
0.1656043380498886,
-0.02136211469769478,
0.6929433941841125... |
func fixPadding(b64 string) string {
count := 4 - len(b64)%4
if count > 0 && count < 4 {
return b64 + strings.Repeat("=", count)
}
return b64
} | [
-0.23989039659500122,
1.379787564277649,
0.4731602668762207,
0.23409029841423035,
0.18428316712379456,
0.07355967909097672,
0.02086532860994339,
0.2810395359992981,
-0.08549299836158752,
0.8269954323768616,
-0.05856770649552345,
-0.5058904886245728,
-0.9840102195739746,
1.0644923448562622,... |
func sortedEncode(v url.Values) string {
if v == nil {
return ""
}
parts := make([]string, 0, len(v)) // will be large enough for most uses
for k, vs := range v {
prefix := url.QueryEscape(k) + "="
for _, v := range vs {
parts = append(parts, prefix+url.QueryEscape(v))
}
}
sort.Strings(parts)
return s... | [
0.05780273303389549,
-0.12830756604671478,
0.3538147807121277,
-0.39328357577323914,
-0.8784812092781067,
0.026371659711003304,
-0.3138565421104431,
-0.4045132100582123,
0.5365777611732483,
-0.3411932587623596,
0.08739426732063293,
0.5043492317199707,
-0.01979745179414749,
0.40469595789909... |
func copyValues(source url.Values) url.Values {
dest := url.Values{}
for key, _ := range source {
switch key {
case "action_object_map":
case "action_ref_map":
case "action_type_map":
case "fb_action_ids":
case "fb_action_types":
case "fb_aggregation_id":
case "fb_locale":
case "fb_source":
case "... | [
-0.7589659094810486,
-0.04819208011031151,
0.47083377838134766,
0.13282284140586853,
-0.02716604433953762,
0.18539787828922272,
-0.28976765275001526,
-0.214482843875885,
0.11894053220748901,
0.45150092244148254,
-0.5359640121459961,
0.2151898443698883,
0.7459468245506287,
0.870253980159759... |
func (p *Parser) FromBase64(ctx context.Context, env *rellenv.Env, b64 string) (*Object, error) {
jsonBytes, err := base64.URLEncoding.DecodeString(fixPadding(b64))
if err != nil {
return nil, fmt.Errorf(
"Failed base64 decode of string \"%s\" with error: %s", b64, err)
}
var strSlices [][]interface{}
err = j... | [
-0.47809675335884094,
-0.311759352684021,
0.821464478969574,
0.16131339967250824,
-0.49642568826675415,
-0.4389267563819885,
-0.07715518772602081,
-0.18264704942703247,
-0.5797051191329956,
0.3685334622859955,
-0.06372401118278503,
-0.4425749182701111,
0.04485415294766426,
-0.0141869056969... |
func (p *Parser) FromValues(ctx context.Context, env *rellenv.Env, values url.Values) (*Object, error) {
object := &Object{
context: ctx,
env: env,
static: p.Static,
}
for key, values := range values {
if strings.Contains(key, ":") {
for _, value := range values {
object.AddPair(key, value)
}
... | [
-0.18331989645957947,
-0.6554209589958191,
0.7081677317619324,
0.18331345915794373,
-0.46794143319129944,
0.5241251587867737,
-0.3089889883995056,
-0.7081789374351501,
0.05883556976914406,
-0.05605285242199898,
0.1929369419813156,
0.0006365884328261018,
0.391379714012146,
0.166083797812461... |
func (o *Object) Type() string {
return o.Get("og:type")
} | [
-0.4346964359283447,
0.058103155344724655,
0.2898032069206238,
0.5865256190299988,
0.514839231967926,
0.4206181466579437,
0.5509916543960571,
-2.0271453857421875,
0.5843226313591003,
0.5615594983100891,
-0.09024988114833832,
0.2317420244216919,
-0.24373292922973633,
-0.4427918791770935,
... |
func (o *Object) Title() string {
return o.Get("og:title")
} | [
-0.4441003203392029,
0.19351527094841003,
0.3764415681362152,
0.6584259867668152,
0.13071154057979584,
0.34504735469818115,
-0.26440370082855225,
-1.4913427829742432,
0.5117419958114624,
0.7679699659347534,
0.04723154753446579,
-0.31368863582611084,
-0.3309084177017212,
-1.0725629329681396... |
func (o *Object) URL() string {
return o.Get("og:url")
} | [
-0.4598262310028076,
-0.3217446506023407,
0.2661808431148529,
0.7448042631149292,
0.280962735414505,
0.9956409931182861,
0.46576449275016785,
-0.7765957117080688,
0.3903544545173645,
0.6567782163619995,
-0.2907210886478424,
0.34297406673431396,
0.01851816475391388,
-1.0005110502243042,
-... |
func (o *Object) Description() string {
return o.Get("og:description")
} | [
-0.3300568461418152,
-0.23197820782661438,
0.18914781510829926,
0.8243004679679871,
-0.18125788867473602,
0.5329304933547974,
0.0545073077082634,
-1.5961793661117554,
0.7726680636405945,
0.9261002540588379,
0.07980062812566757,
0.21101461350917816,
0.04630274325609207,
-0.5227755904197693,... |
func (o *Object) ImageURL() string {
return o.Get("og:image")
} | [
-1.2771095037460327,
-0.42374908924102783,
0.2962678074836731,
0.8139322400093079,
0.19040584564208984,
0.26980698108673096,
0.025010375306010246,
-0.7138407826423645,
0.41279956698417664,
1.25446617603302,
0.07819093763828278,
0.2944592535495758,
0.21575690805912018,
-0.28096523880958557,... |
func (o *Object) AppID() string {
return o.Get("fb:app_id")
} | [
1.3053632974624634,
-1.0747766494750977,
0.3280698359012604,
1.331815242767334,
-0.11491844803094864,
1.1025089025497437,
0.22753086686134338,
-0.6425613760948181,
1.633396863937378,
0.4182245433330536,
0.009932833723723888,
-0.065750353038311,
0.23685623705387115,
0.3433118462562561,
0.... |
func (o *Object) LintURL() string {
values := url.Values{}
values.Set("q", o.URL())
u := &fburl.URL{
Scheme: o.env.Scheme,
Env: rellenv.FbEnv(o.context),
SubDomain: fburl.DDevelopers,
Path: "/tools/debug/og/object",
Values: values,
}
return u.String()
} | [
0.6596357226371765,
-0.7002459764480591,
0.6729741096496582,
-0.23467835783958435,
-0.23828092217445374,
1.090283751487732,
0.19985897839069366,
-0.5504015684127808,
0.20404724776744843,
-0.006454580929130316,
-0.003917135763913393,
1.209887146949768,
0.22207504510879517,
-0.05584460124373... |
func (o *Object) LikeURL() string {
values := url.Values{}
values.Set("href", o.URL())
u := &fburl.URL{
Scheme: o.env.Scheme,
Env: rellenv.FbEnv(o.context),
SubDomain: fburl.DWww,
Path: "/plugins/like",
Values: values,
}
return u.String()
} | [
0.11273930221796036,
-0.4664171040058136,
0.3371419608592987,
-0.17341499030590057,
-0.18606965243816376,
0.4096433222293854,
0.2042534202337265,
-0.40228402614593506,
-0.03823219984769821,
0.5019246339797974,
-0.44067880511283875,
1.0570502281188965,
-0.16346147656440735,
-0.0483072958886... |
func (o *Object) Get(key string) string {
for _, pair := range o.Pairs {
if pair.Key == key {
return pair.Value
}
}
return ""
} | [
-0.7383612394332886,
-0.32586222887039185,
0.6267896890640259,
-0.4401445686817169,
-1.1226937770843506,
-0.2922119200229645,
-0.622394323348999,
-0.3420233130455017,
-0.4031353294849396,
0.9071502685546875,
0.422118604183197,
-0.17044559121131897,
-0.16321627795696259,
-0.2365716844797134... |
func (o *Object) GetAll(key string) []string {
results := make([]string, 0)
for _, pair := range o.Pairs {
if pair.Key == key {
results = append(results, pair.Value)
}
}
return results
} | [
0.0737539604306221,
-0.1551101952791214,
0.8672839403152466,
0.8689603805541992,
-0.5606625080108643,
-0.15452177822589874,
-0.8657095432281494,
0.37705639004707336,
0.0073323678225278854,
1.0580836534500122,
0.20355740189552307,
0.6618286371231079,
-0.4696737825870514,
0.9489666819572449,... |
func (o *Object) AddPair(key, value string) {
o.Pairs = append(o.Pairs, Pair{Key: key, Value: value})
} | [
-0.8966438174247742,
0.1546860784292221,
0.6994633078575134,
0.1876574009656906,
-1.0958856344223022,
0.8761035799980164,
-1.033503532409668,
0.4865870475769043,
0.04655620455741882,
-0.6560398936271667,
0.4933722913265228,
-0.19186446070671082,
-0.2958984971046448,
1.0248605012893677,
0... |
func hashedPick(rawurl string, choices []string) string {
var key string
url, err := url.Parse(rawurl)
if err != nil {
log.Printf("Failed to parse URL %s in hashed pick: %s", url, err)
key = ""
} else {
key = url.Path
// TODO figure out if fixing this will break things before removing it
if url.RawQuery =... | [
-0.38109636306762695,
-0.6376044154167175,
0.8041980862617493,
-0.19665959477424622,
-0.08135020732879639,
0.13777942955493927,
0.5710302591323853,
0.2942889928817749,
0.42561525106430054,
-0.12395365536212921,
-0.20949110388755798,
-0.387130469083786,
0.17622320353984833,
-0.5440616607666... |
func NewTimeConstraint()(*TimeConstraint) {
m := &TimeConstraint{
}
m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance();
m.SetAdditionalData(make(map[string]any))
return m
} | [
0.033569641411304474,
-0.3843787610530853,
0.37114715576171875,
-0.7230342626571655,
-0.6260323524475098,
-0.36758342385292053,
-0.20212028920650482,
-0.3616134822368622,
-0.10719291120767593,
0.3576287031173706,
-1.0798152685165405,
0.2989271581172943,
-1.1006746292114258,
0.2359932363033... |
func CreateTimeConstraintFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewTimeConstraint(), nil
} | [
0.39266106486320496,
-0.18526487052440643,
0.4334758520126343,
-0.26537758111953735,
-1.2320950031280518,
-0.2117730975151062,
-0.12833639979362488,
-0.18158286809921265,
0.06787251681089401,
0.24658022820949554,
-0.3364068269729614,
-0.10265025496482849,
-0.14137272536754608,
0.7528828978... |
func (m *TimeConstraint) GetActivityDomain()(*ActivityDomain) {
val, err := m.GetBackingStore().Get("activityDomain")
if err != nil {
panic(err)
}
if val != nil {
return val.(*ActivityDomain)
}
return nil
} | [
-0.18068596720695496,
-0.14854145050048828,
0.12689140439033508,
0.6592082381248474,
0.626273512840271,
0.4399621784687042,
1.101832628250122,
-0.6761854887008667,
0.9135598540306091,
-0.5575006008148193,
-0.04179881513118744,
0.6806623339653015,
-0.7938194870948792,
-0.7195046544075012,
... |
func (m *TimeConstraint) GetAdditionalData()(map[string]any) {
val , err := m.backingStore.Get("additionalData")
if err != nil {
panic(err)
}
if val == nil {
var value = make(map[string]any);
m.SetAdditionalData(value);
}
return val.(map[string]any)
} | [
0.09895681589841843,
0.02777246944606304,
0.31449222564697266,
-0.24054452776908875,
-1.1561275720596313,
0.43657782673835754,
-0.5700362324714661,
-0.30276384949684143,
0.710056722164154,
-0.09100129455327988,
0.053100816905498505,
0.3835676610469818,
-0.12201783061027527,
0.2908251881599... |
func (m *TimeConstraint) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) {
return m.backingStore
} | [
0.223114013671875,
-0.057370107620954514,
0.3499981760978699,
-0.42593497037887573,
-0.3829624652862549,
0.33838170766830444,
0.4845319390296936,
-0.6098586320877075,
0.14294371008872986,
-0.25033342838287354,
0.6048908829689026,
-0.400226354598999,
-1.7270179986953735,
-0.7673171162605286... |
func (m *TimeConstraint) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error))
res["activityDomain"] = func (n i878a80d2330e89... | [
0.070405513048172,
0.558088481426239,
0.7374337911605835,
-0.9691508412361145,
-0.35475966334342957,
-0.34274598956108093,
0.49002522230148315,
-0.2839371860027313,
-0.8029181957244873,
-0.3038540482521057,
-0.4148411452770233,
0.039704665541648865,
-0.7673878073692322,
0.13761451840400696... |
func (m *TimeConstraint) GetTimeSlots()([]TimeSlotable) {
val, err := m.GetBackingStore().Get("timeSlots")
if err != nil {
panic(err)
}
if val != nil {
return val.([]TimeSlotable)
}
return nil
} | [
0.5791882276535034,
0.8928296566009521,
0.2070045918226242,
0.9695180654525757,
-0.3309173882007599,
0.1750968098640442,
0.13955353200435638,
-0.5292521119117737,
0.07245297729969025,
0.47141847014427185,
-0.02456035278737545,
-0.526897668838501,
-0.9682806134223938,
-0.22945137321949005,
... |
func (m *TimeConstraint) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
if m.GetActivityDomain() != nil {
cast := (*m.GetActivityDomain()).String()
err := writer.WriteStringValue("activityDomain", &cast)
if err != nil {
... | [
-0.2884419858455658,
0.254420667886734,
0.6013240814208984,
-0.7474700808525085,
-0.05901109054684639,
-0.21320314705371857,
0.964621365070343,
-0.69737309217453,
-0.3963174521923065,
0.7446174025535583,
-0.22483386099338531,
0.119503915309906,
-0.5104064345359802,
0.3899651765823364,
0.... |
func (m *TimeConstraint) SetActivityDomain(value *ActivityDomain)() {
err := m.GetBackingStore().Set("activityDomain", value)
if err != nil {
panic(err)
}
} | [
-0.5380532741546631,
-0.0005993219092488289,
0.18475085496902466,
0.40129759907722473,
0.1571894884109497,
0.6259910464286804,
1.1706197261810303,
-0.41090527176856995,
0.5362212657928467,
-0.07232002168893814,
-0.6575584411621094,
-0.20161718130111694,
-0.7662797570228577,
-0.195655375719... |
func (m *TimeConstraint) SetAdditionalData(value map[string]any)() {
err := m.GetBackingStore().Set("additionalData", value)
if err != nil {
panic(err)
}
} | [
0.1953352391719818,
0.5487653017044067,
0.15055757761001587,
-0.0003876611590385437,
-0.9770945906639099,
1.2122766971588135,
0.14760959148406982,
-0.6137845516204834,
0.42465242743492126,
-0.03396976366639137,
-0.2275281548500061,
0.10693436861038208,
-0.19059744477272034,
0.6517178416252... |
func (m *TimeConstraint) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() {
m.backingStore = value
} | [
-0.0882946103811264,
0.5283439755439758,
0.28891369700431824,
-0.2467924952507019,
-0.5320371985435486,
0.5326480865478516,
0.8046540021896362,
-0.6185057163238525,
-0.4730946123600006,
0.30849993228912354,
0.05075887590646744,
-1.1175843477249146,
-0.9114051461219788,
0.1563664823770523,
... |
func (m *TimeConstraint) SetTimeSlots(value []TimeSlotable)() {
err := m.GetBackingStore().Set("timeSlots", value)
if err != nil {
panic(err)
}
} | [
0.22780659794807434,
0.9619360566139221,
0.21469184756278992,
0.779737114906311,
-1.0748666524887085,
0.45984596014022827,
0.5451275110244751,
-0.6554902195930481,
-0.10424107313156128,
0.21997074782848358,
-0.46655723452568054,
-1.308004379272461,
-0.698039174079895,
0.2224883884191513,
... |
func NewSimpleUpgrader(ctx context.Context, log *logrus.Entry, cs *api.OpenShiftManagedCluster, initializeStorageClients, disableKeepAlives bool, testConfig api.TestConfig) (Upgrader, error) {
authorizer, err := azureclient.GetAuthorizerFromContext(ctx, api.ContextKeyClientAuthorizer)
if err != nil {
return nil, er... | [
0.5647985339164734,
-0.6072853803634644,
0.784403383731842,
0.4023244380950928,
-0.19342036545276642,
-0.4232199788093567,
-0.4383545517921448,
-0.6484739184379578,
-0.05533073469996452,
0.2912864685058594,
-0.24317237734794617,
-0.009729405865073204,
-0.7012438178062439,
0.8093221783638,
... |
func (rh *RHash) SliceHash(l, r int) uint64 {
begin, length := l, r-l
return rhCalcMod(
rh.hash[begin+length] + _RH_POSITIVIZER - rhMul(rh.hash[begin], _rhPowMemo[length]),
)
} | [
0.725425124168396,
-0.07310635596513748,
0.3507566452026367,
0.5341444611549377,
-0.4197389483451843,
0.2934420108795166,
-0.25779977440834045,
0.09899923950433731,
-0.025005057454109192,
0.6519157886505127,
-0.7058082222938538,
0.04850113019347191,
-0.2851695716381073,
-0.0944989994168281... |
func (rh *RHash) OffsetHash(begin, length int) uint64 {
return rhCalcMod(
rh.hash[begin+length] + _RH_POSITIVIZER - rhMul(rh.hash[begin], _rhPowMemo[length]),
)
} | [
1.0407042503356934,
-0.483877032995224,
0.3036101162433624,
0.22693707048892975,
-1.1714190244674683,
1.2679665088653564,
0.09630575031042099,
0.35254916548728943,
-0.006669697817414999,
-0.126895010471344,
0.08594726026058197,
1.4253876209259033,
-1.0477169752120972,
-0.27356141805648804,... |
func (rh *RHash) Len() int {
return len(rh.hash) - 1
} | [
0.7197465300559998,
-0.5195407271385193,
0.26294493675231934,
-0.04207227751612663,
0.5820614695549011,
0.4156065285205841,
0.5491610169410706,
0.6072496771812439,
-0.42857465147972107,
-0.4711461663246155,
-0.9979227781295776,
0.23086918890476227,
-0.6063925623893738,
-0.05318112671375275... |
func modi(val, m int) int {
res := val % m
if res < 0 {
res += m
}
return res
} | [
-0.1586199700832367,
-0.09945736825466156,
0.15488359332084656,
0.27645182609558105,
-1.084716796875,
0.21489869058132172,
-0.43099433183670044,
-0.13512739539146423,
-0.6639904379844666,
-0.0993761345744133,
0.41712167859077454,
-0.1876581758260727,
-0.8464848399162292,
-0.143874377012252... |
func modll(val, m int64) int64 {
res := val % m
if res < 0 {
res += m
}
return res
} | [
-0.17932993173599243,
0.23033466935157776,
0.251639187335968,
0.10019534081220627,
-1.0463526248931885,
0.14475117623806,
-0.5325950980186462,
-0.2590608596801758,
1.0258852243423462,
0.05928608030080795,
1.0946547985076904,
-0.04640234634280205,
-0.34020087122917175,
0.4507651925086975,
... |
func readi() int {
return int(_readInt64())
} | [
-0.21878594160079956,
-0.13164886832237244,
0.42516830563545227,
0.8429964780807495,
-0.7575408816337585,
0.07615304738283157,
-0.07840735465288162,
0.26094985008239746,
-1.0207558870315552,
-0.27120500802993774,
0.16822315752506256,
-0.48154109716415405,
-0.3391047418117523,
-0.5822330117... |
func readll() int64 {
return _readInt64()
} | [
0.12951543927192688,
-0.09526672214269638,
0.378280907869339,
0.7893210649490356,
-0.1226695254445076,
-0.2424939125776291,
0.30908721685409546,
-0.4171404540538788,
0.8587493896484375,
-0.5751649737358093,
0.6697870492935181,
-0.06064095348119736,
-0.13612429797649384,
0.21157585084438324... |
func readis(n int) []int {
b := make([]int, n)
for i := 0; i < n; i++ {
b[i] = readi()
}
return b
} | [
-1.0358619689941406,
0.8024342656135559,
0.7360218167304993,
0.4504949748516083,
-0.21250979602336884,
-0.3217327892780304,
-0.6850250959396362,
-0.6648663282394409,
0.12866179645061493,
0.08995433896780014,
-0.5473584532737732,
0.3083999752998352,
-0.020044688135385513,
0.3534675538539886... |
func readlls(n int) []int64 {
b := make([]int64, n)
for i := 0; i < n; i++ {
b[i] = readll()
}
return b
} | [
-0.7905768156051636,
0.5182778239250183,
0.6588658094406128,
-0.051885560154914856,
-0.22637006640434265,
-0.25149476528167725,
-0.8471878170967102,
-0.8179324269294739,
0.7264623045921326,
-0.37395089864730835,
0.0524502731859684,
-0.15443630516529083,
0.25193771719932556,
0.8799691200256... |
func readf() float64 {
return float64(_readFloat64())
} | [
0.399137943983078,
0.4689079821109772,
0.1856413334608078,
0.9201478362083435,
-0.10923229157924652,
-0.5198192000389099,
0.37816476821899414,
0.1338587999343872,
-0.8694009184837341,
-1.2124361991882324,
1.3668498992919922,
-0.6927939653396606,
-0.07406383752822876,
0.42134889960289,
-0... |
func readfs(n int) []float64 {
b := make([]float64, n)
for i := 0; i < n; i++ {
b[i] = readf()
}
return b
} | [
-0.9192969799041748,
1.3078628778457642,
0.6400001645088196,
0.5219445824623108,
0.1990424543619156,
-1.0987449884414673,
-0.4159981906414032,
-0.9855129718780518,
-0.39184391498565674,
-0.8769741654396057,
0.36449405550956726,
-0.17427504062652588,
0.10915692150592804,
1.0935537815093994,... |
func readrs() []rune {
return []rune(reads())
} | [
-0.5751325488090515,
-0.44980430603027344,
0.36385267972946167,
-0.32723891735076904,
-0.17595061659812927,
-0.16010570526123047,
-1.347682237625122,
-0.7680225372314453,
-0.0002430394379189238,
-0.45171719789505005,
0.9394800066947937,
0.8137813806533813,
0.057042110711336136,
0.080546125... |
func PrintIntsLine(A ...int) string {
res := []rune{}
for i := 0; i < len(A); i++ {
str := strconv.Itoa(A[i])
res = append(res, []rune(str)...)
if i != len(A)-1 {
res = append(res, ' ')
}
}
return string(res)
} | [
0.007098698057234287,
-0.11452893167734146,
0.8545422554016113,
-0.7049776315689087,
0.35238003730773926,
0.1682099550962448,
-0.565455436706543,
-0.7806618213653564,
-0.5567020773887634,
0.21594028174877167,
0.3669593036174774,
0.41160956025123596,
-1.0302059650421143,
0.23126929998397827... |
func PrintInts64Line(A ...int64) string {
res := []rune{}
for i := 0; i < len(A); i++ {
str := strconv.FormatInt(A[i], 10) // 64bit int version
res = append(res, []rune(str)...)
if i != len(A)-1 {
res = append(res, ' ')
}
}
return string(res)
} | [
-0.3298132121562958,
-0.11924845725297928,
0.8124550580978394,
0.24398596584796906,
0.0973178967833519,
0.16768525540828705,
-0.531396746635437,
-0.3982342481613159,
-0.04666951298713684,
0.4495895802974701,
0.46099939942359924,
0.2666819989681244,
-0.6364316344261169,
0.5194646120071411,
... |
func printf(format string, a ...interface{}) {
fmt.Fprintf(stdout, format, a...)
} | [
0.5671564936637878,
-0.3474424183368683,
0.4990754723548889,
0.5788925886154175,
0.08105480670928955,
-0.5025021433830261,
-0.17437927424907684,
-0.005169774871319532,
-0.6163969039916992,
-0.8769159317016602,
0.8764140009880066,
0.30654048919677734,
0.5692786574363708,
1.1337292194366455,... |
func debugf(format string, a ...interface{}) {
fmt.Fprintf(os.Stderr, format, a...)
} | [
0.3067843019962311,
0.07831722497940063,
0.6088628172874451,
-0.3765634298324585,
0.07905614376068115,
-0.057933956384658813,
-0.9020112752914429,
-0.2537229657173157,
-1.0196444988250732,
-0.7906873822212219,
1.0135942697525024,
0.46485456824302673,
0.6936785578727722,
1.0459133386611938,... |
func ZeroPaddingRuneSlice(n, digitsNum int) []rune {
sn := fmt.Sprintf("%b", n)
residualLength := digitsNum - len(sn)
if residualLength <= 0 {
return []rune(sn)
}
zeros := make([]rune, residualLength)
for i := 0; i < len(zeros); i++ {
zeros[i] = '0'
}
res := []rune{}
res = append(res, zeros...)
res = a... | [
-0.4279872477054596,
0.7563550472259521,
0.4683517813682556,
0.20721353590488434,
0.560016393661499,
-0.458707720041275,
-0.3189323842525482,
0.06494329869747162,
-0.19675038754940033,
0.1050274670124054,
0.02104780077934265,
0.3409293293952942,
-0.8407343626022339,
0.8871806859970093,
0... |
func NewHttpPublisher(ctx Context) EventPublisher {
hp := new(HttpPublisher)
hp.ctx = ctx
hp.protocol = "http"
hp.api = "http"
ctx.AddLogValue("destination", "main_http")
return hp
} | [
0.22244858741760254,
-0.7762624025344849,
0.38345345854759216,
0.2779741585254669,
-0.6252244114875793,
0.7817342281341553,
-1.0320806503295898,
1.059577465057373,
-0.4586744010448456,
-0.04793975129723549,
0.17215891182422638,
-0.41647768020629883,
-0.5786644220352173,
1.0675616264343262,... |
func (osUtils *OsUtils) GetDiskID(pubCtx map[string]string, log *zap.SugaredLogger) (string, error) {
var diskID string
var ok bool
if diskID, ok = pubCtx[common.AttributeFirstClassDiskUUID]; !ok {
return "", logger.LogNewErrorCodef(log, codes.InvalidArgument,
"attribute: %s required in publish context",
com... | [
0.412054181098938,
-0.21273089945316315,
0.7091596722602844,
0.6155406832695007,
-0.0907222181558609,
0.2913082540035248,
0.6913521885871887,
-0.04718085005879402,
0.1261647343635559,
0.22187545895576477,
0.8787418603897095,
0.5925281047821045,
-0.09200046211481094,
1.2098896503448486,
0... |
func (osUtils *OsUtils) EnsureMountVol(ctx context.Context, volCap *csi.VolumeCapability) (string, []string, error) {
log := logger.GetLogger(ctx)
mountVol := volCap.GetMount()
if mountVol == nil {
return "", nil, logger.LogNewErrorCode(log, codes.InvalidArgument, "access type missing")
}
fs, err := osUtils.GetV... | [
0.05272966995835304,
-0.7369332313537598,
0.6218363642692566,
0.48154115676879883,
0.5432297587394714,
-1.0145364999771118,
-0.558464527130127,
-0.5812548398971558,
0.6926230788230896,
0.40496712923049927,
0.14539849758148193,
0.3973093032836914,
0.24084272980690002,
0.8269756436347961,
... |
func AuthorizerExists(id string) (ok bool) {
authorizerslock.RLock()
defer authorizerslock.RUnlock()
_, ok = authorizers[id]
return
} | [
-1.255366325378418,
-0.3729763925075531,
0.1458134949207306,
-0.37827783823013306,
0.15032611787319183,
-0.5837712287902832,
-0.19291993975639343,
0.17500916123390198,
-0.03580920398235321,
0.47106561064720154,
-0.3388311266899109,
0.3852689266204834,
-0.32527124881744385,
0.13090926408767... |
func GetAuthorizers(config *Config) (result Authorizers, err error) {
result = Authorizers{}
authorizerslock.RLock()
defer authorizerslock.RUnlock()
var authorizer Authorizer
for an, ac := range config.Authorizers {
// validate authorizer config
if err = ac.Validate(); err != nil {
return
}
var (
... | [
-1.110303282737732,
0.26150479912757874,
0.5804144740104675,
0.7204591035842896,
-0.22835898399353027,
-0.33931970596313477,
0.32710689306259155,
-0.29560068249702454,
-0.7458155155181885,
0.6552062034606934,
0.1454038769006729,
0.7033412456512451,
-0.25944212079048157,
0.2729654312133789,... |
func (a Authorizers) Authorize(r *http.Request, config *EndpointConfig) (err error) {
check := []string{}
for _, an := range config.Authorizers {
check = append(check, an)
}
for _, an := range config.Methods[r.Method].Authorizers {
check = append(check, an)
}
for _, an := range check {
authorizer := a[an]
... | [
-1.253990650177002,
0.24962662160396576,
0.45486101508140564,
0.9699698090553284,
0.7087918519973755,
-0.553724467754364,
0.5001604557037354,
0.09743103384971619,
-0.47351527214050293,
0.9053432941436768,
0.7717150449752808,
0.07343125343322754,
-0.6782947182655334,
0.9224770665168762,
0... |
func (a Authorizers) Names() []string {
result := make([]string, 0, len(a))
for k, _ := range a {
result = append(result, k)
}
return result
} | [
-0.9590938687324524,
0.21323208510875702,
0.49714091420173645,
-0.19966816902160645,
-0.146194726228714,
-0.1568155437707901,
-0.6691896319389343,
0.0956791564822197,
0.12462695688009262,
1.0140069723129272,
0.005292132496833801,
0.6293048858642578,
-0.023263845592737198,
0.399049311876297... |
func (a *BasicAuthorizer) GetBasicAuth(r *http.Request) (username, password string, err error) {
header := r.Header.Get("Authorization")
splitted := strings.SplitN(header, " ", 2)
if len(splitted) != 2 {
err = ErrInvalidAuthorizationHeader
return
}
if splitted[0] != "Basic" {
err = ErrInvalidAuthorizationH... | [
-0.9708088040351868,
-0.4983254373073578,
0.9457817077636719,
0.8132756352424622,
-0.555789053440094,
-0.38853275775909424,
-0.2763282358646393,
0.023284096270799637,
-0.5239948034286499,
0.20791423320770264,
0.16393466293811798,
0.5769875049591064,
-0.1339268535375595,
-0.0734958872199058... |
func (b *BasicAuthorizer) Authorize(r *http.Request) (err error) {
var username, password string
if username, password, err = b.GetBasicAuth(r); err != nil {
return
}
if username != b.config.Username || password != b.config.Password {
return ErrUnauthorized
}
return
} | [
-1.0718008279800415,
0.44628360867500305,
0.6501547694206238,
1.4287282228469849,
0.23785078525543213,
-0.2648422420024872,
-0.16987065970897675,
-0.44662928581237793,
-0.5294374227523804,
0.5587810277938843,
0.7594585418701172,
0.3349790573120117,
-0.6082635521888733,
0.7408060431480408,
... |
func HttpAuthorizerFactory(ac *AuthorizerConfig) (result Authorizer, err error) {
var (
config *HttpAuthorizerConfig
)
// get config
if config, err = NewHttpAuthorizerConfig(ac); err != nil {
return
}
ha := &HttpAuthorizer{
config: config,
}
result = ha
return
} | [
-0.05339290574193001,
-0.1738099306821823,
0.45215871930122375,
0.1433277279138565,
-1.1724460124969482,
0.19311006367206573,
-0.13012045621871948,
0.27842840552330017,
-0.09896199405193329,
0.18180333077907562,
-0.5778347849845886,
0.3688340187072754,
-0.09942563623189926,
0.6189649701118... |
func (h *HttpAuthorizer) Authorize(r *http.Request) (err error) {
// prepare data for template interpolation
data := map[string]interface{}{
"username": "phonkee",
"password": "password",
}
var (
url, method, body string
)
url, err = h.config.RenderURL(data)
method, err = h.config.RenderMethod(data)
bo... | [
-1.7180590629577637,
0.9396685361862183,
0.8597658276557922,
0.7450087070465088,
-0.2323329895734787,
0.028465067967772484,
-0.06101226434111595,
0.403356671333313,
-0.49204668402671814,
0.1500326246023178,
0.29286912083625793,
0.13326020538806915,
-0.29792940616607666,
0.9150396585464478,... |
func NewHttpAuthorizerConfig(ac *AuthorizerConfig) (hac *HttpAuthorizerConfig, err error) {
hac = &HttpAuthorizerConfig{
Method: "GET",
Data: "",
}
if err = json.Unmarshal(ac.Config, hac); err != nil {
return
}
var (
parsed *url.URL
)
if parsed, err = url.Parse(hac.URL); err != nil {
return
}
/... | [
-0.3589649796485901,
-0.362273633480072,
0.47684189677238464,
-0.7420039176940918,
-1.2337360382080078,
0.015284119173884392,
-0.6007611751556396,
1.018724799156189,
-0.20791925489902496,
0.14040012657642365,
-0.20831504464149475,
0.7005999684333801,
0.6210766434669495,
1.031179666519165,
... |
func (pkg *EnvChangePackage) ReadFrom(ch BytesChannel) error {
length, err := ch.Uint16()
if err != nil {
return ErrNotEnoughBytes
}
var n uint16 = 0
for n < length {
member := EnvChangePackageField{}
i, err := member.ReadFrom(ch)
if err != nil {
return fmt.Errorf("error reading EnvChangePackage member... | [
-0.15274974703788757,
0.05693197250366211,
0.6815745234489441,
-0.4984144866466522,
0.25689786672592163,
0.22012776136398315,
-0.6352994441986084,
-0.43485379219055176,
-0.14562566578388214,
0.30620741844177246,
0.5060500502586365,
0.12393391132354736,
0.18816889822483063,
0.76660406589508... |
func (pkg EnvChangePackage) WriteTo(ch BytesChannel) error {
if err := ch.WriteUint8(byte(TDS_ENVCHANGE)); err != nil {
return fmt.Errorf("error writing TDS token %s: %w", TDS_ENVCHANGE, err)
}
totalLength := 0
for _, member := range pkg.members {
totalLength += member.ByteLength()
}
if err := ch.WriteUint1... | [
-0.8284663558006287,
0.11341626197099686,
0.5866191387176514,
-1.3098516464233398,
1.332413673400879,
-0.11146833747625351,
-0.1492622345685959,
-0.578508734703064,
-0.5457104444503784,
0.18918471038341522,
-0.37001970410346985,
0.39751020073890686,
0.36406582593917847,
0.692368745803833,
... |
func (field *EnvChangePackageField) ReadFrom(ch BytesChannel) (int, error) {
// n is the amount of bytes read from channel
n := 0
typ, err := ch.Uint8()
if err != nil {
return n, ErrNotEnoughBytes
}
field.Type = EnvChangeType(typ)
n++
length, err := ch.Uint8()
if err != nil {
return n, ErrNotEnoughBytes
... | [
-0.20604464411735535,
-0.1251537799835205,
0.8145973682403564,
-1.0418827533721924,
-0.2890127897262573,
-0.1973692774772644,
0.000580795865971595,
-0.39589640498161316,
-0.3354780375957489,
0.5999594330787659,
0.34508997201919556,
0.5960737466812134,
0.13277098536491394,
0.950112164020538... |
func (field EnvChangePackageField) WriteTo(ch BytesChannel) (int, error) {
if err := ch.WriteUint8(uint8(field.Type)); err != nil {
return 0, fmt.Errorf("error writing type: %w", err)
}
n := 1
if err := ch.WriteUint8(uint8(len(field.NewValue))); err != nil {
return n, fmt.Errorf("error writing new value length... | [
-1.0082385540008545,
0.2657984793186188,
0.8777666687965393,
-1.1932966709136963,
0.855094850063324,
-0.6496809720993042,
0.5786211490631104,
-0.3444642126560211,
-1.0509365797042847,
0.44239741563796997,
-0.6291491389274597,
0.6887176632881165,
-0.12673266232013702,
0.887749969959259,
0... |
func (field EnvChangePackageField) ByteLength() int {
// type byte
// + new value length byte + new value length
// + old value length byte + old value length
return 3 + len(field.NewValue) + len(field.OldValue)
} | [
0.3598930835723877,
0.3020135462284088,
0.3238350450992584,
-0.23235417902469635,
0.7951046228408813,
0.6864370703697205,
0.16027307510375977,
0.7791392803192139,
0.654002845287323,
0.9487887620925903,
-0.758516252040863,
0.7315381169319153,
0.16505762934684753,
0.34830421209335327,
-0.1... |
func NewPrivateWalletAPI(b Backend) *PrivateWalletAPI {
return &PrivateWalletAPI{
b: b,
dex: b.GetDex(),
dexDB: b.GetDexDB(),
}
} | [
-0.25461244583129883,
-0.6060556769371033,
0.10124368965625763,
-0.1733744591474533,
-0.31817448139190674,
-0.3531070947647095,
-0.22360356152057648,
-0.859606146812439,
0.5391422510147095,
0.6837203502655029,
-1.0438193082809448,
0.15755093097686768,
-1.188175916671753,
0.3215539157390594... |
func NewDeleteNtpServerParams() *DeleteNtpServerParams {
var ()
return &DeleteNtpServerParams{
timeout: cr.DefaultTimeout,
}
} | [
0.0321972519159317,
-0.9144868850708008,
0.18340155482292175,
0.818755030632019,
-0.38045716285705566,
0.36497044563293457,
-0.4543610215187073,
0.07401955127716064,
-0.34783467650413513,
0.29861631989479065,
-0.28525376319885254,
0.050137560814619064,
-0.678736686706543,
0.815748572349548... |
func NewDeleteNtpServerParamsWithTimeout(timeout time.Duration) *DeleteNtpServerParams {
var ()
return &DeleteNtpServerParams{
timeout: timeout,
}
} | [
0.4771045446395874,
-0.9554696083068848,
0.29963764548301697,
0.5116575360298157,
-0.3168576955795288,
1.0006523132324219,
-1.257199764251709,
-0.15569427609443665,
-0.3671703040599823,
1.0881515741348267,
0.09786823391914368,
0.3628770411014557,
-0.5496618151664734,
0.904439389705658,
-... |
func NewDeleteNtpServerParamsWithContext(ctx context.Context) *DeleteNtpServerParams {
var ()
return &DeleteNtpServerParams{
Context: ctx,
}
} | [
0.012577355839312077,
-0.7158989310264587,
0.5298875570297241,
0.1534430831670761,
-0.20975719392299652,
1.2097830772399902,
-1.0962746143341064,
-0.7779994010925293,
0.06712061166763306,
0.5121991038322449,
0.1048131212592125,
0.059728965163230896,
-0.5166078209877014,
0.23704151809215546... |
func NewDeleteNtpServerParamsWithHTTPClient(client *http.Client) *DeleteNtpServerParams {
var ()
return &DeleteNtpServerParams{
HTTPClient: client,
}
} | [
-0.005473197437822819,
-1.2016775608062744,
0.43404263257980347,
0.3836899995803833,
-0.1931561529636383,
1.3104298114776611,
-0.30047184228897095,
-0.3674280345439911,
-0.657861590385437,
0.1754041463136673,
-0.1703471690416336,
-0.01185305044054985,
-0.3955196738243103,
0.199221476912498... |
func (o *DeleteNtpServerParams) WithTimeout(timeout time.Duration) *DeleteNtpServerParams {
o.SetTimeout(timeout)
return o
} | [
0.0640162006020546,
-0.30360302329063416,
0.35978835821151733,
-0.31558868288993835,
-0.02476263791322708,
0.3829435408115387,
-0.5120454430580139,
-0.29531076550483704,
0.43352583050727844,
1.0616852045059204,
0.08009875565767288,
0.31767722964286804,
-0.06288421899080276,
0.7570753097534... |
func (o *DeleteNtpServerParams) SetTimeout(timeout time.Duration) {
o.timeout = timeout
} | [
-0.3528343737125397,
-0.3967927396297455,
0.22060401737689972,
-0.38261157274246216,
0.3790173828601837,
0.790473461151123,
-0.3301540017127991,
0.039582978934049606,
0.00001700538632576354,
0.9407085180282593,
0.16147391498088837,
0.5865490436553955,
-0.6377332210540771,
0.958026051521301... |
func (o *DeleteNtpServerParams) WithContext(ctx context.Context) *DeleteNtpServerParams {
o.SetContext(ctx)
return o
} | [
-0.7445045113563538,
-0.23719722032546997,
0.5686897039413452,
-0.4722292721271515,
-0.12355886399745941,
0.377019464969635,
-0.5682126879692078,
-0.6937270164489746,
0.824492335319519,
0.6070728302001953,
-0.01817636936903,
0.17473629117012024,
-0.5698898434638977,
-0.03819413483142853,
... |
func (o *DeleteNtpServerParams) SetContext(ctx context.Context) {
o.Context = ctx
} | [
-1.026409387588501,
-0.2070961743593216,
0.3509892523288727,
-0.3001021146774292,
0.4573060870170593,
0.6051217317581177,
-0.504675030708313,
-0.5387561917304993,
0.8208345174789429,
0.34987109899520874,
-0.19268587231636047,
0.4061505198478699,
-0.8343642354011536,
0.3215816617012024,
-... |
func (o *DeleteNtpServerParams) WithHTTPClient(client *http.Client) *DeleteNtpServerParams {
o.SetHTTPClient(client)
return o
} | [
-0.5524193048477173,
-1.0350168943405151,
0.4944312274456024,
-0.5065902471542358,
-0.030584795400500298,
0.4565422236919403,
0.14047680795192719,
-0.6392708420753479,
-0.10412651300430298,
0.0774543285369873,
-0.08815615624189377,
0.12061186134815216,
0.07990878820419312,
-0.2681156098842... |
func (o *DeleteNtpServerParams) SetHTTPClient(client *http.Client) {
o.HTTPClient = client
} | [
-0.20969797670841217,
-0.9093385934829712,
0.2742141783237457,
-1.0669587850570679,
-0.22446562349796295,
0.35705703496932983,
0.13419991731643677,
-0.4850166440010071,
-0.5535982847213745,
0.23168271780014038,
-0.10130292177200317,
0.5165177583694458,
-0.42071545124053955,
-0.204961583018... |
func (o *DeleteNtpServerParams) WithNtpServerID(ntpServerID string) *DeleteNtpServerParams {
o.SetNtpServerID(ntpServerID)
return o
} | [
-0.30226007103919983,
-1.2480887174606323,
0.2603984773159027,
-0.11119550466537476,
-0.8382437229156494,
0.9534111618995667,
-0.6679333448410034,
-0.6705363392829895,
1.0581989288330078,
1.2189756631851196,
-0.2592983841896057,
-0.33307164907455444,
-0.5761690139770508,
1.4068009853363037... |
func (o *DeleteNtpServerParams) SetNtpServerID(ntpServerID string) {
o.NtpServerID = ntpServerID
} | [
-0.6823325753211975,
-1.199401617050171,
0.24944749474525452,
-0.38982656598091125,
-0.2778184711933136,
1.170333743095398,
-0.5151407718658447,
-0.35082805156707764,
0.7130729556083679,
1.1918072700500488,
-0.6244090795516968,
0.11409728229045868,
-0.9658103585243225,
1.5575916767120361,
... |
func (o *DeleteNtpServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
if err := r.SetTimeout(o.timeout); err != nil {
return err
}
var res []error
// path param NtpServerId
if err := r.SetPathParam("NtpServerId", o.NtpServerID); err != nil {
return err
}
if len(res) > 0 {
... | [
-1.3824373483657837,
-0.32615095376968384,
0.7220985293388367,
-0.35633817315101624,
0.6818398237228394,
0.15573981404304504,
0.8571968674659729,
-0.2979806661605835,
-0.2276598960161209,
0.5312601923942566,
0.5469048619270325,
0.29914143681526184,
-0.8069735169410706,
0.4014185667037964,
... |
func NewWeaviateActionsPatchOK() *WeaviateActionsPatchOK {
return &WeaviateActionsPatchOK{}
} | [
-0.1144346073269844,
-1.763192057609558,
0.35507285594940186,
0.20024323463439941,
-0.3814053535461426,
-0.6223462820053101,
1.6629799604415894,
0.6082561612129211,
0.26955294609069824,
0.2630382478237152,
-0.32318633794784546,
-0.05270770564675331,
1.1922223567962646,
0.27343446016311646,... |
func (o *WeaviateActionsPatchOK) WithPayload(payload *models.ActionGetResponse) *WeaviateActionsPatchOK {
o.Payload = payload
return o
} | [
0.18433044850826263,
-1.3153537511825562,
0.18151463568210602,
-0.603034257888794,
-0.281351774930954,
-0.4119960069656372,
0.8462085127830505,
0.17326609790325165,
1.0400865077972412,
0.31322622299194336,
0.36817359924316406,
-0.3903077244758606,
1.000242829322815,
-0.24080508947372437,
... |
func (o *WeaviateActionsPatchOK) SetPayload(payload *models.ActionGetResponse) {
o.Payload = payload
} | [
-0.08762764185667038,
-1.143898844718933,
0.1897548884153366,
-0.3498857915401459,
-0.10182119905948639,
-0.33080485463142395,
0.36346879601478577,
0.027709612622857094,
0.9829468131065369,
0.2590567171573639,
0.020800070837140083,
-0.12055487185716629,
0.5512939691543579,
0.02776239998638... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.