text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (client IotHubResourceClient) ListJobsSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.6613857746124268,
0.08650444447994232,
0.42022350430488586,
0.4272005558013916,
0.07917452603578568,
-0.4487419128417969,
-0.632435142993927,
-0.6220527291297913,
-0.47220417857170105,
0.019320661202073097,
-0.4981280267238617,
0.3222794830799103,
-0.5579002499580383,
0.867108166217804,... |
func (client IotHubResourceClient) ListJobsResponder(resp *http.Response) (result JobResponseListResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp}
... | [
-0.369928240776062,
-1.3320215940475464,
0.4642452001571655,
-0.31702589988708496,
-0.3208380937576294,
-0.7243743538856506,
0.22154855728149414,
-0.716550886631012,
0.696036696434021,
-0.2835359275341034,
-0.40193507075309753,
-1.2083815336227417,
-0.933768630027771,
0.007665072567760944,... |
func (client IotHubResourceClient) listJobsNextResults(ctx context.Context, lastResults JobResponseListResult) (result JobResponseListResult, err error) {
req, err := lastResults.jobResponseListResultPreparer(ctx)
if err != nil {
return result, autorest.NewErrorWithError(err, "devices.IotHubResourceClient", "listJo... | [
-0.9317489862442017,
0.31171098351478577,
0.07581724971532822,
-0.5339218378067017,
-0.18771156668663025,
-0.3660077750682831,
-0.07345298677682877,
-1.5077028274536133,
0.4039039611816406,
-0.779277503490448,
-0.16527502238750458,
-0.3376273214817047,
-1.231589436531067,
0.429955214262008... |
func (client IotHubResourceClient) ListJobsComplete(ctx context.Context, resourceGroupName string, resourceName string) (result JobResponseListResultIterator, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListJobs")
defer func() {
sc := -1
if result.Response()... | [
-0.2034900188446045,
0.049572233110666275,
0.5472517609596252,
-0.7961854934692383,
-0.5081114768981934,
-0.18015120923519135,
-0.14629757404327393,
-1.4374111890792847,
-0.1233125776052475,
0.7863399386405945,
0.29801198840141296,
-0.7610421180725098,
-0.7284975051879883,
0.10476756840944... |
func (client IotHubResourceClient) ListKeys(ctx context.Context, resourceGroupName string, resourceName string) (result SharedAccessSignatureAuthorizationRuleListResultPage, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListKeys")
defer func() {
sc := -1
if re... | [
-0.7138295769691467,
0.39573171734809875,
0.4422172009944916,
-0.7368277907371521,
-0.26243892312049866,
-0.6060900688171387,
0.6319401860237122,
-0.7795199155807495,
0.4254395663738251,
0.8954316973686218,
0.7780713438987732,
0.6764642596244812,
-0.772187352180481,
0.2790347933769226,
1... |
func (client IotHubResourceClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceName": autorest.Encode("path", resourceName),
"... | [
-1.1167716979980469,
-0.3773174583911896,
0.7201154232025146,
-0.9435262680053711,
-1.017874002456665,
-0.7690536975860596,
-0.8177328109741211,
-0.2629407048225403,
0.527718186378479,
0.7068203091621399,
-0.21760304272174835,
0.53457111120224,
-0.6110334992408752,
0.45044463872909546,
0... |
func (client IotHubResourceClient) ListKeysSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-1.0121617317199707,
0.09728541970252991,
0.5366795659065247,
0.05315542221069336,
0.14701876044273376,
-0.6419529318809509,
-1.0742197036743164,
-0.7701961994171143,
-0.35885563492774963,
0.7295125722885132,
-0.6797006726264954,
1.1933428049087524,
-0.841792643070221,
0.7442492246627808,
... |
func (client IotHubResourceClient) ListKeysResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRuleListResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest... | [
-0.7763219475746155,
-0.8739364743232727,
0.32330819964408875,
-0.27148157358169556,
-0.5016859173774719,
-1.0384459495544434,
0.11662306636571884,
-0.03624989464879036,
0.8717281222343445,
0.7004877328872681,
-0.6142387986183167,
-0.20854420959949493,
-0.518463134765625,
0.438314318656921... |
func (client IotHubResourceClient) listKeysNextResults(ctx context.Context, lastResults SharedAccessSignatureAuthorizationRuleListResult) (result SharedAccessSignatureAuthorizationRuleListResult, err error) {
req, err := lastResults.sharedAccessSignatureAuthorizationRuleListResultPreparer(ctx)
if err != nil {
retur... | [
-0.878470778465271,
0.5072897672653198,
0.12668053805828094,
-0.3037068247795105,
-0.44335871934890747,
-0.6296625733375549,
-0.08564029633998871,
-0.825862467288971,
0.491150438785553,
0.03939080238342285,
-0.15755164623260498,
0.37786173820495605,
-0.7989943027496338,
0.4754790961742401,... |
func (client IotHubResourceClient) ListKeysComplete(ctx context.Context, resourceGroupName string, resourceName string) (result SharedAccessSignatureAuthorizationRuleListResultIterator, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListKeys")
defer func() {
sc :=... | [
-0.6940677165985107,
-0.010334744118154049,
0.44735851883888245,
-0.654820442199707,
-0.19632402062416077,
-0.8136964440345764,
-0.45261114835739136,
-0.6721450090408325,
-0.04990268498659134,
1.8943663835525513,
-0.10434160381555557,
0.11711302399635315,
-0.4425365626811981,
0.39040747284... |
func (client IotHubResourceClient) TestAllRoutes(ctx context.Context, input TestAllRoutesInput, iotHubName string, resourceGroupName string) (result TestAllRoutesResult, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.TestAllRoutes")
defer func() {
sc := -1
if r... | [
-0.16737422347068787,
0.24428017437458038,
0.8939992189407349,
0.1330871880054474,
0.190568745136261,
-0.12806260585784912,
0.577106237411499,
-0.759089469909668,
0.8083316087722778,
-0.49649062752723694,
0.4206097424030304,
0.10126608610153198,
-1.3261327743530273,
0.5110945701599121,
0... |
func (client IotHubResourceClient) TestAllRoutesPreparer(ctx context.Context, input TestAllRoutesInput, iotHubName string, resourceGroupName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"iotHubName": autorest.Encode("path", iotHubName),
"resourceGroupName": autorest.Encode("pat... | [
-0.2525397837162018,
-0.1915246993303299,
0.7767550349235535,
-0.3673091530799866,
-0.5152990818023682,
-0.3258373439311981,
-0.21798019111156464,
-0.054125525057315826,
0.5790227651596069,
-0.1904446929693222,
0.1601446270942688,
0.16979406774044037,
-0.5650951266288757,
0.809246242046356... |
func (client IotHubResourceClient) TestAllRoutesSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.13799746334552765,
0.38733378052711487,
0.6883096694946289,
0.9485549330711365,
0.6319320797920227,
-0.1770145297050476,
-0.6478158831596375,
0.3917872905731201,
0.3682307004928589,
-0.11618922650814056,
-0.590442955493927,
0.20628367364406586,
-0.9315282702445984,
1.217925786972046,
... |
func (client IotHubResourceClient) TestAllRoutesResponder(resp *http.Response) (result TestAllRoutesResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp... | [
0.0053545464761555195,
-1.0145529508590698,
0.7291520833969116,
0.10380350798368454,
-0.0887504443526268,
-0.501769483089447,
0.29665541648864746,
0.2522459030151367,
1.3987971544265747,
-0.6205805540084839,
-0.6707251667976379,
-0.8029965758323669,
-1.091354489326477,
0.2452186495065689,
... |
func (client IotHubResourceClient) TestRoute(ctx context.Context, input TestRouteInput, iotHubName string, resourceGroupName string) (result TestRouteResult, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.TestRoute")
defer func() {
sc := -1
if result.Response.R... | [
-0.38827934861183167,
0.17100825905799866,
0.9219526052474976,
-0.18770714104175568,
0.5107970833778381,
0.11042124778032303,
0.6821502447128296,
-0.48533836007118225,
0.2834351360797882,
0.14711035788059235,
0.37870705127716064,
-0.1736822873353958,
-1.0506871938705444,
0.3937751054763794... |
func (client IotHubResourceClient) TestRoutePreparer(ctx context.Context, input TestRouteInput, iotHubName string, resourceGroupName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"iotHubName": autorest.Encode("path", iotHubName),
"resourceGroupName": autorest.Encode("path", reso... | [
-0.5440966486930847,
-0.3132263422012329,
0.7210420370101929,
-0.8301921486854553,
-0.11652675271034241,
-0.2131163775920868,
0.0460863895714283,
-0.5794015526771545,
0.18059399724006653,
0.05176171287894249,
0.2624189257621765,
0.20339490473270416,
-0.6097212433815002,
0.21713906526565552... |
func (client IotHubResourceClient) TestRouteSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.17971493303775787,
0.41967618465423584,
0.381958544254303,
0.19756004214286804,
0.9304038882255554,
-0.03213215991854668,
0.0057871523313224316,
-0.27924537658691406,
-0.12046263366937637,
0.24627889692783356,
-0.5037579536437988,
0.008133587427437305,
-0.8629508018493652,
0.44263026118... |
func (client IotHubResourceClient) TestRouteResponder(resp *http.Response) (result TestRouteResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp}
retur... | [
-0.4082910418510437,
-1.275172233581543,
0.621951162815094,
-0.3579186499118805,
0.17249059677124023,
-0.28940415382385254,
0.9568922519683838,
-0.1792059689760208,
0.7515804171562195,
-0.5212719440460205,
-0.7572237253189087,
-0.653074324131012,
-1.04519522190094,
0.10699307918548584,
0... |
func (client IotHubResourceClient) Update(ctx context.Context, resourceGroupName string, resourceName string, iotHubTags TagsResource) (result IotHubResourceUpdateFuture, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.Update")
defer func() {
sc := -1
if result.... | [
-0.6848390698432922,
0.2802949845790863,
0.30841153860092163,
-0.27501583099365234,
-0.34282687306404114,
-0.15447823703289032,
0.04198199138045311,
-0.584462583065033,
-0.7165958881378174,
0.2498033493757248,
-0.012658036313951015,
-0.17393676936626434,
-0.8688658475875854,
0.060847215354... |
func (client IotHubResourceClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, iotHubTags TagsResource) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceName": autorest.Encode("pa... | [
-0.9418975114822388,
-0.7629879117012024,
0.7300999164581299,
-0.7033768892288208,
-1.1245501041412354,
-0.35151976346969604,
-0.4117375314235687,
-0.4892985224723816,
-0.18664535880088806,
0.5430598855018616,
0.3945174217224121,
0.34818652272224426,
-0.09380248934030533,
0.240540608763694... |
func (client IotHubResourceClient) UpdateSender(req *http.Request) (future IotHubResourceUpdateFuture, err error) {
var resp *http.Response
future.FutureAPI = &azure.Future{}
resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client))
if err != nil {
return
}
var azf azure.Future
azf, err = azur... | [
-1.3215312957763672,
-0.36191537976264954,
0.6048946976661682,
0.5188252925872803,
-0.37802764773368835,
-0.29953622817993164,
-0.26772138476371765,
0.39812353253364563,
-0.7307713627815247,
0.025260504335165024,
-0.7353821992874146,
0.04856804013252258,
-0.6808337569236755,
0.357325077056... |
func (client IotHubResourceClient) UpdateResponder(resp *http.Response) (result IotHubDescription, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp}
return... | [
-1.054530382156372,
-1.458825707435608,
0.6889039278030396,
-0.20046626031398773,
0.2692459523677826,
-0.4383145570755005,
-0.15806090831756592,
-0.22837281227111816,
0.5732841491699219,
0.278902530670166,
0.1090887188911438,
-0.49676358699798584,
-1.2474013566970825,
0.23903198540210724,
... |
func (o *ListBuckets) Execute(args []string) error {
client, err := Client()
if err != nil {
return err
}
response, err := client.ListBuckets()
if err != nil {
return err
}
if opts.Verbose {
fmt.Printf("%-30s%-35s%-15s\n", "Name", "Id", "Type")
for _, bucket := range response {
fmt.Printf("%-30s%-35... | [
-0.2269199788570404,
-0.0900246798992157,
0.898320198059082,
-0.3872779905796051,
0.9486667513847351,
0.34295061230659485,
-1.0120739936828613,
-1.1654928922653198,
-0.8661057353019714,
0.9211927652359009,
-0.09237149357795715,
0.1543261557817459,
-0.35548675060272217,
-0.48810961842536926... |
func (v ServerResponse) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.31206774711608887,
-0.5139464735984802,
0.1942628026008606,
-0.2796188294887543,
-0.36504220962524414,
-0.5599225163459778,
0.8836873173713684,
-0.2326602339744568,
0.2842278778553009,
0.42723384499549866,
-1.3252685070037842,
0.5664182305335999,
-1.0990679264068604,
0.3475157618522644,... |
func (v ServerResponse) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes(w, v)
} | [
-0.3878032863140106,
-0.4726603031158447,
0.4052451550960541,
-0.7179514765739441,
-0.2067004144191742,
-0.932787299156189,
0.7058038115501404,
-0.8803993463516235,
0.36578309535980225,
0.29780441522598267,
-1.42307448387146,
0.6979053616523743,
-0.6336261034011841,
1.0564323663711548,
0... |
func (v *ServerResponse) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes(&r, v)
return r.Error()
} | [
-0.15663966536521912,
-0.16202394664287567,
0.3217662274837494,
-1.2047028541564941,
-0.5748032331466675,
-0.48273199796676636,
0.5276609063148499,
-0.18281026184558868,
0.044259876012802124,
0.5107020735740662,
-0.9283302426338196,
0.17046627402305603,
-1.2983553409576416,
0.1884143501520... |
func (v *ServerResponse) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes(l, v)
} | [
0.10272256284952164,
-0.33948251605033875,
0.4284059405326843,
-1.1463772058486938,
-0.15092667937278748,
-1.3720444440841675,
0.6802406311035156,
-0.04405396804213524,
0.2214873731136322,
0.3043464422225952,
-1.4161763191223145,
0.4194532036781311,
-0.7315113544464111,
0.742637574672699,
... |
func (v GameOver) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes1(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-1.210198998451233,
-0.1512501984834671,
0.49867263436317444,
0.10012494772672653,
-0.9846674799919128,
-0.17456287145614624,
0.0539533905684948,
-0.16318659484386444,
-0.1447402834892273,
0.8616896271705627,
-0.6419625282287598,
0.3424503207206726,
-0.5275570154190063,
0.06790664792060852... |
func (v GameOver) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes1(w, v)
} | [
-0.9913820624351501,
-0.022620998322963715,
0.5248340368270874,
-0.6004194617271423,
-0.6078031659126282,
-0.6829958558082581,
-0.005120318382978439,
-0.7965531349182129,
0.08838982880115509,
0.7907992601394653,
-0.8347830176353455,
0.46815356612205505,
-0.13648059964179993,
0.756157994270... |
func (v *GameOver) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes1(&r, v)
return r.Error()
} | [
-1.1000652313232422,
0.23306915163993835,
0.6755642294883728,
-0.7339243292808533,
-1.2185572385787964,
-0.01777244731783867,
-0.24228820204734802,
0.06806313991546631,
-0.3277759850025177,
0.9247674345970154,
-0.4000706970691681,
-0.06722887605428696,
-0.688811719417572,
-0.03535064682364... |
func (v *GameOver) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes1(l, v)
} | [
-0.7280359268188477,
0.08975868672132492,
0.6058396697044373,
-0.8596158027648926,
-0.708835244178772,
-0.9003035426139832,
0.08409426361322403,
0.10714486986398697,
-0.16199083626270294,
0.7847187519073486,
-0.901265561580658,
0.16319608688354492,
-0.23963908851146698,
0.6288318634033203,... |
func (v WeaponChangeRequest) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes2(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-1.0376287698745728,
-0.08982057869434357,
0.35659584403038025,
-0.6291866302490234,
-0.40864139795303345,
-0.7696032524108887,
-0.09176069498062134,
-0.4367578625679016,
-0.44203683733940125,
0.7091516852378845,
-0.2636685371398926,
1.4166914224624634,
-0.20223723351955414,
1.184205412864... |
func (v WeaponChangeRequest) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes2(w, v)
} | [
-0.99997478723526,
-0.04860702529549599,
0.5409071445465088,
-0.900063693523407,
-0.3253203332424164,
-1.4187920093536377,
-0.11347576975822449,
-1.023295283317566,
-0.14685942232608795,
0.5772837400436401,
-0.5603547096252441,
1.267306923866272,
0.10460662841796875,
1.5726966857910156,
... |
func (v *WeaponChangeRequest) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes2(&r, v)
return r.Error()
} | [
-0.9427563548088074,
-0.013273981399834156,
0.3946070075035095,
-1.3858469724655151,
-0.8320895433425903,
-0.7859110236167908,
-0.2585265636444092,
-0.4453822076320648,
-0.5708659291267395,
0.6381658315658569,
-0.014197533018887043,
0.9406696557998657,
-0.31216961145401,
0.9682624936103821... |
func (v *WeaponChangeRequest) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes2(l, v)
} | [
-0.7065941691398621,
-0.026881344616413116,
0.480729877948761,
-1.207250714302063,
-0.42474564909935,
-1.6892257928848267,
-0.04823099076747894,
-0.33710983395576477,
-0.29588550329208374,
0.5066702961921692,
-0.5085784196853638,
0.8642102479934692,
-0.053572338074445724,
1.282887816429138... |
func (v AddWeapon) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes3(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.04554450511932373,
0.04382164031267166,
0.4350644052028656,
-0.34279629588127136,
-0.26644402742385864,
0.09298545122146606,
0.33864283561706543,
-0.5951824188232422,
0.25438573956489563,
0.5365431904792786,
-0.9354727864265442,
0.8209932446479797,
-0.38671764731407166,
0.29644861817359... |
func (v AddWeapon) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes3(w, v)
} | [
-0.1348077654838562,
-0.009633956477046013,
0.5328384041786194,
-0.6251727342605591,
0.021509816870093346,
-0.5246706604957581,
0.13894712924957275,
-1.2508968114852905,
0.2583640515804291,
0.4689592123031616,
-1.1984632015228271,
0.7811065912246704,
-0.0668073445558548,
0.8431203961372375... |
func (v *AddWeapon) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes3(&r, v)
return r.Error()
} | [
-0.13985151052474976,
0.34314489364624023,
0.5360811352729797,
-1.17425537109375,
-0.4293871819972992,
0.17489323019981384,
0.040048129856586456,
-0.5670506954193115,
-0.07107781618833542,
0.7937029600143433,
-0.7550737261772156,
0.49513131380081177,
-0.4334680140018463,
0.2560253143310547... |
func (v *AddWeapon) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes3(l, v)
} | [
0.1500471532344818,
0.17287501692771912,
0.5466954112052917,
-0.985382616519928,
0.01731264404952526,
-0.8727355599403381,
0.29796862602233887,
-0.4848107099533081,
0.09027207642793655,
0.705735445022583,
-1.3688286542892456,
0.5844453573226929,
-0.08171346783638,
0.7052634358406067,
0.7... |
func (v Attack) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes4(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.22906330227851868,
-0.4078991413116455,
0.35636380314826965,
-0.06875937432050705,
-0.20542314648628235,
-0.7648303508758545,
0.9524089097976685,
-0.11562224477529526,
0.3674958050251007,
0.9144306182861328,
-0.5079991221427917,
0.975002110004425,
-0.5630890727043152,
-0.349032402038574... |
func (v Attack) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes4(w, v)
} | [
-0.3049812912940979,
-0.3434388339519501,
0.48735180497169495,
-0.6902680397033691,
-0.040523577481508255,
-1.223923683166504,
0.4982844889163971,
-0.8769174814224243,
0.36928918957710266,
0.6572666764259338,
-0.8864040374755859,
0.9582075476646423,
-0.1544506698846817,
0.3847200572490692,... |
func (v *Attack) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes4(&r, v)
return r.Error()
} | [
-0.32809561491012573,
-0.19669757783412933,
0.4926939010620117,
-0.9941182136535645,
-0.5128578543663025,
-0.6926749348640442,
0.48813921213150024,
-0.0348917655646801,
0.10086308419704437,
0.7585523128509521,
-0.37616726756095886,
0.6149315237998962,
-0.8928654789924622,
-0.41310739517211... |
func (v *Attack) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes4(l, v)
} | [
-0.07975442707538605,
-0.2988349199295044,
0.5120725035667419,
-0.8772868514060974,
-0.18043994903564453,
-1.682871699333191,
0.5966759324073792,
-0.01922631449997425,
0.12813404202461243,
0.6222935318946838,
-0.9688716530799866,
0.7823808193206787,
-0.37564316391944885,
0.2377376407384872... |
func (v AttackingСharacter) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes5(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.3330131769180298,
-0.2814643085002899,
0.2951279580593109,
0.01244500931352377,
-0.6597761511802673,
-0.7039554715156555,
0.7631683945655823,
0.20095686614513397,
-0.11835622042417526,
0.8027237057685852,
-0.964939534664154,
1.3385483026504517,
-0.2218569815158844,
-0.32630759477615356,... |
func (v AttackingСharacter) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes5(w, v)
} | [
-0.42068639397621155,
-0.11673285067081451,
0.4255503714084625,
-0.5817004442214966,
-0.3773648738861084,
-1.0518823862075806,
0.544247567653656,
-0.5739526748657227,
-0.08352965116500854,
0.5525872111320496,
-1.3349108695983887,
1.2662755250930786,
-0.03695617616176605,
0.2544687390327453... |
func (v *AttackingСharacter) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes5(&r, v)
return r.Error()
} | [
-0.4009406566619873,
0.06719830632209778,
0.42850571870803833,
-0.9729191064834595,
-1.1092205047607422,
-0.4471297264099121,
0.5507740378379822,
0.24796824157238007,
-0.47498083114624023,
0.7447842955589294,
-0.6942094564437866,
1.0704662799835205,
-0.43148884177207947,
-0.612213432788848... |
func (v *AttackingСharacter) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes5(l, v)
} | [
-0.17988178133964539,
-0.08140405267477036,
0.4807640612125397,
-0.843539834022522,
-0.6299731731414795,
-1.313820481300354,
0.6779660582542419,
0.23028700053691864,
-0.3056511878967285,
0.595758855342865,
-1.3393630981445312,
1.1085641384124756,
-0.1623888611793518,
0.0028064821381121874,... |
func (v MoveCharacter) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes6(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.646953821182251,
-0.7122887969017029,
0.45023950934410095,
-0.056923724710941315,
-0.8182421922683716,
-0.6113731861114502,
0.7130808234214783,
-0.041821159422397614,
-0.013785756193101406,
0.9350048303604126,
-1.3039419651031494,
0.6870465278625488,
-0.7281284332275391,
0.1835754066705... |
func (v MoveCharacter) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes6(w, v)
} | [
-0.6287443041801453,
-0.6466989517211914,
0.5638275146484375,
-0.5718176960945129,
-0.5488827228546143,
-1.1394578218460083,
0.5602443814277649,
-0.8270910382270813,
0.13786345720291138,
0.5687160491943359,
-1.4397722482681274,
0.7256662249565125,
-0.3482246696949005,
0.7470881342887878,
... |
func (v *MoveCharacter) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes6(&r, v)
return r.Error()
} | [
-0.6247378587722778,
-0.5209648013114929,
0.5389529466629028,
-1.1247814893722534,
-1.15377938747406,
-0.6658039093017578,
0.40965405106544495,
0.17159713804721832,
0.06554751843214035,
0.7440895438194275,
-0.8275260329246521,
0.2955234944820404,
-0.9216682314872742,
-0.055470000952482224,... |
func (v *MoveCharacter) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes6(l, v)
} | [
-0.30063506960868835,
-0.6203573942184448,
0.6353667378425598,
-0.9758118391036987,
-0.6390286684036255,
-1.587601900100708,
0.5563645958900452,
0.041311562061309814,
0.18761374056339264,
0.6099734902381897,
-1.373969316482544,
0.41988253593444824,
-0.37468770146369934,
0.5012913346290588,... |
func (v DownloadMap) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes7(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.054489921778440475,
-0.17349079251289368,
0.2992471158504486,
-0.5540167689323425,
-0.1318655014038086,
-0.5181143879890442,
0.7648677229881287,
0.08648603409528732,
0.4859895408153534,
0.19540372490882874,
-0.5373099446296692,
0.7345300912857056,
-0.4045504331588745,
0.3452922105789184... |
func (v DownloadMap) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes7(w, v)
} | [
-0.18170994520187378,
-0.25289344787597656,
0.43657103180885315,
-0.9025307297706604,
0.0024650588165968657,
-0.9345381855964661,
0.5453970432281494,
-0.7235966920852661,
0.5336142778396606,
0.076484814286232,
-0.7528688907623291,
0.6477664709091187,
-0.02665955387055874,
1.022532343864441... |
func (v *DownloadMap) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes7(&r, v)
return r.Error()
} | [
-0.16789381206035614,
-0.25183337926864624,
0.383661150932312,
-1.2818228006362915,
-0.4257410764694214,
-0.46912163496017456,
0.34846994280815125,
0.08268485963344574,
0.3066558837890625,
-0.03370152413845062,
-0.03000820428133011,
0.32473471760749817,
-0.4876730442047119,
0.5924852490425... |
func (v *DownloadMap) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes7(l, v)
} | [
0.1479709893465042,
-0.23595470190048218,
0.47707483172416687,
-1.1525344848632812,
0.061265259981155396,
-1.3512624502182007,
0.5903418660163879,
0.14127559959888458,
0.37207701802253723,
0.011293385177850723,
-0.6366228461265564,
0.42701107263565063,
-0.05463932082056999,
0.9645646214485... |
func (v MapCell) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes8(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.5599233508110046,
0.2181224822998047,
0.37009188532829285,
0.2971670925617218,
-0.5656397342681885,
-0.12339279800653458,
0.06930741667747498,
-0.3813117742538452,
0.49598225951194763,
0.33782675862312317,
-0.6113001108169556,
0.5726619958877563,
-0.13779327273368835,
0.2803857326507568... |
func (v MapCell) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes8(w, v)
} | [
-0.5706471800804138,
0.09660614281892776,
0.48966556787490845,
-0.23956581950187683,
-0.28027665615081787,
-0.6491189002990723,
0.02393801137804985,
-0.9596011638641357,
0.5520715713500977,
0.34579917788505554,
-0.7695590257644653,
0.4916277825832367,
0.13335591554641724,
0.976987063884735... |
func (v *MapCell) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes8(&r, v)
return r.Error()
} | [
-0.5526829361915588,
0.11537037789821625,
0.6164610385894775,
-0.7773022651672363,
-1.1320286989212036,
-0.16772694885730743,
-0.1777276247739792,
-0.11858101189136505,
0.26867684721946716,
0.36998048424720764,
-0.1799667924642563,
0.2507137060165405,
-0.17219588160514832,
0.38203805685043... |
func (v *MapCell) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes8(l, v)
} | [
-0.1838928610086441,
-0.015665626153349876,
0.6677029132843018,
-0.6443410515785217,
-0.5552998781204224,
-1.1415669918060303,
0.07947684824466705,
0.05720995366573334,
0.3771778643131256,
0.2765054404735565,
-0.7795858383178711,
0.3985193073749542,
0.18291783332824707,
0.8284121751785278,... |
func (v ReassignWeapons) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes9(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.18879370391368866,
-0.5452024936676025,
0.10267728567123413,
-0.3233930170536041,
0.30641210079193115,
-1.0719642639160156,
1.180417776107788,
-0.3815878927707672,
-0.46559253334999084,
1.174981951713562,
-1.4148153066635132,
1.0584813356399536,
-0.19056996703147888,
0.8432961106300354,... |
func (v ReassignWeapons) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes9(w, v)
} | [
-0.25147807598114014,
-0.5290057063102722,
0.33391737937927246,
-0.5916352272033691,
0.38548749685287476,
-1.3329846858978271,
0.9154182076454163,
-1.028393268585205,
-0.11908405274152756,
1.03326416015625,
-1.3615443706512451,
1.0596027374267578,
0.15582652390003204,
1.1444288492202759,
... |
func (v *ReassignWeapons) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes9(&r, v)
return r.Error()
} | [
-0.25907284021377563,
-0.4313499927520752,
0.28152158856391907,
-1.0821411609649658,
-0.2844122350215912,
-0.7086383104324341,
0.7328828573226929,
-0.2830876410007477,
-0.6590682864189148,
1.0629483461380005,
-0.9524898529052734,
0.7278925180435181,
-0.17966172099113464,
0.7630987763404846... |
func (v *ReassignWeapons) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes9(l, v)
} | [
-0.011249681934714317,
-0.46608445048332214,
0.3834068775177002,
-0.9354618787765503,
0.1297188103199005,
-1.5676370859146118,
0.8705872893333435,
-0.19505155086517334,
-0.3754706382751465,
0.9954838752746582,
-1.416736364364624,
0.8028901219367981,
0.18212249875068665,
0.9722136855125427,... |
func (v AttemptGoToCell) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes10(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.8131142258644104,
0.17997312545776367,
0.2927407920360565,
-0.8900575041770935,
0.28704267740249634,
-0.37669503688812256,
0.7669075727462769,
-0.6714819073677063,
-0.4767042100429535,
0.9694647192955017,
-0.43186497688293457,
0.8150599002838135,
-0.22123968601226807,
0.2495688050985336... |
func (v AttemptGoToCell) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes10(w, v)
} | [
-0.8157942891120911,
0.18890029191970825,
0.45110026001930237,
-1.2090452909469604,
0.279168963432312,
-0.8513635993003845,
0.48248255252838135,
-1.0762606859207153,
-0.3248817026615143,
0.7008211612701416,
-0.6601371765136719,
0.7985690236091614,
0.08099670708179474,
0.8164522051811218,
... |
func (v *AttemptGoToCell) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes10(&r, v)
return r.Error()
} | [
-0.9081368446350098,
0.31735870242118835,
0.40902379155158997,
-1.7761948108673096,
-0.19496621191501617,
-0.3931832015514374,
0.37341439723968506,
-0.5506682395935059,
-0.7488000988960266,
0.970041811466217,
0.015351966954767704,
0.3070422112941742,
-0.32959187030792236,
0.388906449079513... |
func (v *AttemptGoToCell) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes10(l, v)
} | [
-0.6772854328155518,
0.21661114692687988,
0.48583292961120605,
-1.688194751739502,
0.11445724219083786,
-1.1700105667114258,
0.5314695835113525,
-0.4600790739059448,
-0.5335308909416199,
0.7574493885040283,
-0.5355335474014282,
0.5178781747817993,
-0.054987452924251556,
0.727078914642334,
... |
func (v UploadMap) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes11(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.36616989970207214,
-0.38915449380874634,
0.5474757552146912,
-0.5097373723983765,
0.005482828710228205,
-0.6329345107078552,
0.6354441046714783,
-0.10281481593847275,
0.3374049961566925,
0.4870266616344452,
-0.804046094417572,
0.9784181714057922,
-1.0610936880111694,
0.47681331634521484... |
func (v UploadMap) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes11(w, v)
} | [
-0.6144293546676636,
-0.3617731034755707,
0.5846307277679443,
-0.9532954692840576,
0.1210997924208641,
-1.0003985166549683,
0.43975138664245605,
-1.0029528141021729,
0.3445982336997986,
0.27136802673339844,
-1.0622776746749878,
0.7200349569320679,
-0.6007040143013,
1.011715054512024,
0.0... |
func (v *UploadMap) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes11(&r, v)
return r.Error()
} | [
-0.522685170173645,
-0.3259808421134949,
0.540083110332489,
-1.3714542388916016,
-0.34352272748947144,
-0.3526560962200165,
0.42873501777648926,
-0.0890175849199295,
0.1041257306933403,
0.233162984251976,
-0.47128477692604065,
0.3851534128189087,
-1.0555799007415771,
0.5735060572624207,
... |
func (v *UploadMap) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes11(l, v)
} | [
-0.18376091122627258,
-0.34347039461135864,
0.6198047995567322,
-1.2517108917236328,
0.12364520877599716,
-1.2562997341156006,
0.5665855407714844,
-0.003570607863366604,
0.1605500429868698,
0.15931406617164612,
-1.0653587579727173,
0.49236083030700684,
-0.5178537964820862,
0.91258800029754... |
func (v Event) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes12(&w, v)
return w.Buffer.BuildBytes(), w.Error
} | [
-0.08563793450593948,
-0.05233730003237724,
0.45527198910713196,
-0.014254927635192871,
-0.36288654804229736,
-0.3012326657772064,
0.6927193999290466,
0.1979113668203354,
0.3127373158931732,
0.45346367359161377,
-1.1273809671401978,
0.9966222643852234,
-0.3499925434589386,
0.47272640466690... |
func (v Event) MarshalEasyJSON(w *jwriter.Writer) {
easyjson6601e8cdEncodeGithubComGoParkMailRu2018242GameServerTypes12(w, v)
} | [
-0.20577888190746307,
-0.15466012060642242,
0.5637409090995789,
-0.6313971281051636,
-0.19321109354496002,
-0.79143887758255,
0.34821757674217224,
-0.5968720316886902,
0.3176233470439911,
0.41811513900756836,
-1.232492208480835,
1.0101795196533203,
0.08018986135721207,
1.221911072731018,
... |
func (v *Event) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes12(&r, v)
return r.Error()
} | [
-0.05862120911478996,
0.16132870316505432,
0.5135526657104492,
-1.0779792070388794,
-0.7006195187568665,
-0.2952655255794525,
0.3306759297847748,
0.478760302066803,
0.09607169777154922,
0.48765042424201965,
-0.6962931156158447,
0.6473758220672607,
-0.5433346033096313,
0.29963383078575134,
... |
func (v *Event) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjson6601e8cdDecodeGithubComGoParkMailRu2018242GameServerTypes12(l, v)
} | [
0.24071075022220612,
-0.06764272600412369,
0.6307543516159058,
-0.9787240028381348,
-0.33573126792907715,
-1.3058772087097168,
0.3863391876220703,
0.47309166193008423,
0.18287497758865356,
0.44409242272377014,
-1.2186806201934814,
0.7917559742927551,
0.05366181582212448,
0.9465458393096924... |
func TimeSecondAt(t time.Time) time.Time {
return t.Local().Truncate(time.Second)
} | [
1.0199668407440186,
-0.14553076028823853,
0.40886110067367554,
-1.1923683881759644,
-0.3297964632511139,
-0.2005334049463272,
-0.578850507736206,
-1.2547917366027832,
-1.1182490587234497,
0.9203383922576904,
-0.7918862700462341,
0.1799522042274475,
1.2337815761566162,
-0.021437739953398705... |
func TimeMinuteAt(t time.Time) time.Time {
return t.Local().Truncate(time.Minute)
} | [
-0.0845293402671814,
-1.4437017440795898,
0.46471458673477173,
-1.747490406036377,
-0.2758854925632477,
0.31345003843307495,
-1.3277316093444824,
-1.1591908931732178,
0.5743176937103271,
1.0047398805618286,
-0.32088199257850647,
-0.7711940407752991,
-0.2146034985780716,
-0.5267326235771179... |
func TimeHourAt(t time.Time) time.Time {
return t.Local().Truncate(time.Hour)
} | [
0.6625661253929138,
-0.7185128927230835,
0.5391684174537659,
-1.2932276725769043,
-0.5415782332420349,
0.8930581212043762,
-0.53684401512146,
-0.165979266166687,
-0.34071779251098633,
1.6623971462249756,
-0.6350154280662537,
-0.8779371380805969,
0.07020942866802216,
-0.7472274303436279,
... |
func TimeDayAt(t time.Time, offset time.Duration) time.Time {
strDay := t.Local().Add(-offset).Format("2006-01-02")
dayAt, _ := time.Parse("2006-01-02", strDay)
return dayAt.Add(offset)
} | [
-0.269881933927536,
-0.6641570925712585,
0.7625149488449097,
-1.4942680597305298,
-0.7682998180389404,
0.3253481388092041,
-0.6086744666099548,
-0.8417577147483826,
-0.7205008864402771,
0.1483328640460968,
-0.1106138527393341,
0.2911064624786377,
1.0330244302749634,
-0.31419098377227783,
... |
func TimeMonthAt(t time.Time, offset time.Duration) time.Time {
strMonth := t.Local().Add(-offset).Format("2006-01") + "-01"
monthAt, _ := time.Parse("2006-01-02", strMonth)
return monthAt.Add(offset)
} | [
0.6596229076385498,
-1.367761492729187,
0.8194707632064819,
-1.0243548154830933,
-0.7484315633773804,
1.099220633506775,
-0.8016085028648376,
-0.4031064212322235,
-0.9634088277816772,
0.8825060725212097,
0.07588180899620056,
0.06382615119218826,
0.31683284044265747,
-0.22601695358753204,
... |
func TimeParseAny(value string) (*time.Time, error) {
if t, err := time.Parse("2006-01-02 15:04:05", value); err == nil {
return &t, nil
} else if t, err = time.Parse(time.RFC3339, value); err == nil {
return &t, nil
} else if t, err = time.Parse(time.RFC3339Nano, value); err == nil {
return &t, nil
} else if... | [
-0.13756750524044037,
-0.4170624315738678,
1.2184476852416992,
-0.059256669133901596,
-0.3574126660823822,
-0.18527625501155853,
-0.8535851836204529,
-0.9153139591217041,
0.005491545423865318,
0.18282723426818848,
-0.7781275510787964,
-0.714769184589386,
-0.6831763982772827,
0.931552231311... |
func main() {
// (Print - Println) - Printf
/* {
var c
} */
/* fmt.Println("Merhaba")
fmt.Print("Merhaba")
fmt.Println("")
fmt.Printf("Merhaba") */
/* name := "Arin" */
/* fmt.Print(name)
fmt.Println(name)
fmt.Printf(name) */
/* fmt.Print("Benim Adım", name)
fmt.Println... | [
-0.020613359287381172,
-0.1400623321533203,
0.9838518500328064,
0.3321011960506439,
0.5570093989372253,
-0.5762220025062561,
0.1992918998003006,
-0.4304198920726776,
-0.5306351780891418,
0.14833082258701324,
-0.7631735801696777,
0.7018856406211853,
0.005427421536296606,
0.20342634618282318... |
func ToGodotResource(tscn *parser.TscnFile) (*godot.Resource, error) {
if tscn.Key != TscnTypeGodotResource {
return nil, fmt.Errorf("can't convert %s to gd_resource", tscn.Key)
}
res := &godot.Resource{
ExtResources: make(map[int64]*godot.ExtResource),
SubResources: make(map[int64]*godot.SubResource),
Fiel... | [
0.08903954923152924,
-0.8417929410934448,
0.5569316148757935,
-1.4821330308914185,
-0.22091148793697357,
-0.27304086089134216,
-0.07725192606449127,
-0.4822869598865509,
-0.4299107789993286,
0.5546879172325134,
0.3552759289741516,
-0.2785198986530304,
0.3410301208496094,
0.2577807009220123... |
func (entry *LogEntry) IsActive() bool {
return !entry.IsRemoved() && !entry.IsDeleted()
} | [
0.40662622451782227,
-1.4745150804519653,
0.5305850505828857,
-0.5946154594421387,
0.20489731431007385,
0.3504820764064789,
-0.4264134466648102,
0.7581148743629456,
0.4559440612792969,
0.05671267956495285,
0.22260141372680664,
0.9567411541938782,
-0.4855826497077942,
-0.44265851378440857,
... |
func (c *changeCache) Init(logCtx context.Context, dbContext *DatabaseContext, channelCache ChannelCache, notifyChange func(channels.Set), options *CacheOptions, metaKeys *base.MetadataKeys) error {
c.db = dbContext
c.logCtx = logCtx
c.notifyChange = notifyChange
c.receivedSeqs = make(map[uint64]struct{})
c.termi... | [
-0.19237765669822693,
0.13663619756698608,
0.6762745976448059,
-0.4929440915584564,
-0.36283522844314575,
-0.5116408467292786,
-0.04646074026823044,
-0.21816949546337128,
0.018192468211054802,
0.5409409999847412,
0.011303736828267574,
0.5512236952781677,
-0.1379014104604721,
1.043150305747... |
func (c *changeCache) Stop() {
if !c.setStopped() {
return
}
// Signal to background goroutines that the changeCache has been stopped, so they can exit
// their loop
close(c.terminator)
// Wait for changeCache background tasks to finish.
waitForBGTCompletion(context.TODO(), BGTCompletionMaxWait, c.backgroun... | [
-0.6414609551429749,
0.39164969325065613,
0.23129722476005554,
-0.11095909774303436,
-0.26529741287231445,
-0.1134381964802742,
0.27225273847579956,
0.38395926356315613,
-0.8388530015945435,
0.9442270398139954,
-0.7272195816040039,
0.5320138335227966,
-0.7078003883361816,
0.442987352609634... |
func (c *changeCache) Clear() error {
c.lock.Lock()
defer c.lock.Unlock()
// Reset initialSequence so that any new channel caches have their validFrom set to the current last sequence
// the point at which the change cache was initialized / re-initialized.
// No need to touch c.nextSequence here, because we don't... | [
-0.6960469484329224,
-0.04287407174706459,
0.5706592798233032,
-0.6147648096084595,
-0.1238800659775734,
-0.30607157945632935,
-0.2702195346355438,
-0.3950294554233551,
0.009082191623747349,
0.3241086006164551,
0.14566296339035034,
0.7282617092132568,
-0.13943132758140564,
1.32296335697174... |
func (c *changeCache) EnableChannelIndexing(enable bool) {
c.lock.Lock()
c.logsDisabled = !enable
c.lock.Unlock()
} | [
0.0018831004854291677,
-0.03318798542022705,
0.4511248469352722,
-0.33385711908340454,
-0.42300447821617126,
0.20894472301006317,
0.5422542095184326,
1.0402780771255493,
-0.04660820960998535,
0.173557311296463,
-0.7804520726203918,
0.17067460715770721,
-1.7190184593200684,
-0.0223160888999... |
func (c *changeCache) CleanSkippedSequenceQueue(ctx context.Context) error {
oldSkippedSequences := c.GetSkippedSequencesOlderThanMaxWait()
if len(oldSkippedSequences) == 0 {
return nil
}
base.InfofCtx(ctx, base.KeyCache, "Starting CleanSkippedSequenceQueue, found %d skipped sequences older than max wait for da... | [
-0.5872507691383362,
-0.18234160542488098,
0.38531291484832764,
-0.7323088049888611,
-0.9505757689476013,
-0.18865595757961273,
0.4162639081478119,
0.18332558870315552,
0.9366372227668762,
1.1682204008102417,
-0.01728467084467411,
0.0678311213850975,
0.1650756597518921,
1.3294310569763184,... |
func (c *changeCache) DocChanged(event sgbucket.FeedEvent) {
docID := string(event.Key)
docJSON := event.Value
changedChannelsCombined := channels.Set{}
// ** This method does not directly access any state of c, so it doesn't lock.
// Is this a user/role doc for this database?
if strings.HasPrefix(docID, c.meta... | [
0.49177831411361694,
-0.23421500623226166,
0.9294362664222717,
-0.2690618932247162,
-0.09477194398641586,
-0.5560461282730103,
0.31422916054725647,
-0.45524510741233826,
0.3819859027862549,
0.5648379325866699,
-0.011800776235759258,
0.5516079068183899,
0.6321234107017517,
1.281373500823974... |
func (c *changeCache) unmarshalCachePrincipal(docJSON []byte) (cachePrincipal, error) {
var principal cachePrincipal
err := base.JSONUnmarshal(docJSON, &principal)
return principal, err
} | [
-0.7077611684799194,
-0.17756089568138123,
0.321891188621521,
-1.284594178199768,
-1.8109300136566162,
0.2679876387119293,
-0.3709487318992615,
0.23707005381584167,
0.5323548316955566,
1.2543376684188843,
-0.2466752529144287,
0.6863356828689575,
-1.1548794507980347,
-0.30624836683273315,
... |
func (c *changeCache) processUnusedSequence(docID string, timeReceived time.Time) {
sequenceStr := strings.TrimPrefix(docID, c.metaKeys.UnusedSeqPrefix())
sequence, err := strconv.ParseUint(sequenceStr, 10, 64)
if err != nil {
base.WarnfCtx(c.logCtx, "Unable to identify sequence number for unused sequence notifica... | [
-1.0519922971725464,
-0.2798292934894562,
0.4840719401836395,
-1.5687761306762695,
-0.1789284199476242,
-1.3955371379852295,
0.6089375615119934,
0.051139719784259796,
0.6700606942176819,
1.1677095890045166,
-0.3508305847644806,
0.23013043403625488,
0.08007276058197021,
1.361992359161377,
... |
func (c *changeCache) processUnusedSequenceRange(docID string) {
// _sync:unusedSequences:fromSeq:toSeq
sequencesStr := strings.TrimPrefix(docID, c.metaKeys.UnusedSeqRangePrefix())
sequences := strings.Split(sequencesStr, ":")
if len(sequences) != 2 {
return
}
fromSequence, err := strconv.ParseUint(sequences[0... | [
-0.8551931381225586,
-0.7607298493385315,
0.525118350982666,
-1.342498779296875,
-0.41194698214530945,
-1.372313141822815,
0.761083722114563,
-0.29921072721481323,
0.43637368083000183,
0.8438605666160583,
-0.4515179395675659,
0.22080101072788239,
0.04900076985359192,
0.8146368265151978,
... |
func (c *changeCache) processEntry(change *LogEntry) channels.Set {
c.lock.Lock()
defer c.lock.Unlock()
if c.logsDisabled {
return nil
}
sequence := change.Sequence
if change.Sequence > c.internalStats.highSeqFeed {
c.internalStats.highSeqFeed = change.Sequence
}
// Duplicate handling - there are a few ca... | [
-0.05325727537274361,
-0.2775109112262726,
0.9295074939727783,
-0.9333293437957764,
-0.1590053290128708,
-0.9523208141326904,
-0.0052832383662462234,
-0.7690240144729614,
0.7723144888877869,
0.5144409537315369,
0.26497790217399597,
0.2658425271511078,
-0.5714213848114014,
0.709813177585601... |
func (c *changeCache) _addToCache(change *LogEntry) []channels.ID {
if change.Sequence >= c.nextSequence {
c.nextSequence = change.Sequence + 1
}
delete(c.receivedSeqs, change.Sequence)
// If unused sequence or principal, we're done after updating sequence
if change.DocID == "" {
return nil
}
if change.Is... | [
-0.8079685568809509,
-0.3023580014705658,
0.6190614104270935,
-1.4282907247543335,
-0.01170394942164421,
-0.9516584873199463,
-0.26323503255844116,
-0.720197319984436,
0.9098475575447083,
0.7136263847351074,
-0.007346831727772951,
0.38152119517326355,
-0.13748668134212494,
0.73953980207443... |
func (c *changeCache) _addPendingLogs() channels.Set {
var changedChannels channels.Set
for len(c.pendingLogs) > 0 {
change := c.pendingLogs[0]
isNext := change.Sequence == c.nextSequence
if isNext {
heap.Pop(&c.pendingLogs)
changedChannels = changedChannels.UpdateWithSlice(c._addToCache(change))
} els... | [
-1.0904393196105957,
-0.16006562113761902,
0.8589852452278137,
-1.0670108795166016,
-0.4113035202026367,
-0.7410158514976501,
-0.6413383483886719,
-0.6858817338943481,
0.18605759739875793,
0.8192568421363831,
0.354234904050827,
-0.12463980168104172,
-0.0675104558467865,
1.0380315780639648,... |
func (c *changeCache) LastSequence() uint64 {
lastSequence := c.getNextSequence() - 1
return lastSequence
} | [
-1.8358361721038818,
-0.03863032907247543,
0.5151465535163879,
-0.3541276752948761,
-0.09935072064399719,
-1.6011548042297363,
-0.4529423713684082,
0.20409433543682098,
0.7358927726745605,
0.8476895093917847,
-0.8309073448181152,
-0.3086477220058441,
-0.9683660268783569,
1.1920394897460938... |
func (c *changeCache) _setInitialSequence(initialSequence uint64) {
c.initialSequence = initialSequence
c.nextSequence = initialSequence + 1
} | [
-1.7303040027618408,
-0.3787255883216858,
0.24442237615585327,
-0.9953498244285583,
-0.32335567474365234,
-0.7202982902526855,
-0.189561665058136,
0.5293397903442383,
0.8279719948768616,
0.9199986457824707,
-1.1231482028961182,
0.4927033483982086,
-0.12810669839382172,
1.141473650932312,
... |
func (c *changeCache) getNextSequence() (nextSequence uint64) {
c.lock.RLock()
nextSequence = c.nextSequence
c.lock.RUnlock()
return nextSequence
} | [
-1.874372124671936,
0.35583534836769104,
0.5035698413848877,
0.6418002247810364,
-1.0191633701324463,
-1.158172845840454,
-0.30929282307624817,
-0.17773398756980896,
0.4125053882598877,
0.19150245189666748,
-0.6192389726638794,
0.0779026672244072,
-0.9518139362335205,
0.8891592025756836,
... |
func (c *changeCache) getInitialSequence() (initialSequence uint64) {
c.lock.RLock()
initialSequence = c.initialSequence
c.lock.RUnlock()
return initialSequence
} | [
-0.8441380858421326,
-0.20163482427597046,
0.4368385970592499,
0.35244500637054443,
-0.1643584668636322,
-0.8714362382888794,
-0.24625511467456818,
0.4830933213233948,
0.531393826007843,
0.1031380221247673,
-0.7006663084030151,
0.6285558938980103,
-0.9416344165802002,
1.2052226066589355,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.