text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (suite *FileSourceInternalTestSuite) TestUniqueForEmptyArray() { input := []int{} resut := unique(input) assert.Len(suite.T(), resut, 0) }
[ -0.6964884996414185, 0.41257306933403015, 0.3735865354537964, -0.49418187141418457, 1.1391104459762573, 0.6469588875770569, 0.7573478817939758, 0.42842286825180054, 0.9325769543647766, -0.8673986196517944, -0.9030241966247559, 0.333420068025589, -0.4086308181285858, 0.23440222442150116, ...
func (suite *FileSourceInternalTestSuite) TestUniqueForDuplicateValues() { input := []int{1, 1} resut := unique(input) assert.Len(suite.T(), resut, 1) }
[ -0.6222597360610962, 0.8192183971405029, 0.4192967712879181, -0.13321788609027863, 0.8932839632034302, -0.09436467289924622, 0.8648649454116821, 0.07360462844371796, 0.30386173725128174, -0.853681743144989, -1.6752039194107056, -0.027193699032068253, -0.04473092034459114, 0.704241514205932...
func (suite *FileSourceInternalTestSuite) TestUniqueForUniqueValues() { input := []int{1, 2} resut := unique(input) assert.Len(suite.T(), resut, 2) }
[ -0.44221875071525574, 0.5653366446495056, 0.42228564620018005, -0.2886439561843872, 0.8072818517684937, -0.0057479823008179665, 0.523490846157074, 0.5622779726982117, -0.04867292195558548, -0.9474655389785767, -1.6454282999038696, 0.02426265738904476, 0.15278485417366028, 0.474008738994598...
func (suite *FileSourceInternalTestSuite) TestUniqueForCombinedValues() { input := []int{1, 2, 2} resut := unique(input) assert.Len(suite.T(), resut, 2) }
[ -0.5875641107559204, 0.4955100417137146, 0.5275363326072693, 0.09940408915281296, 0.842277467250824, 0.5112922787666321, 0.7528952360153198, 0.45178407430648804, 0.08399507403373718, -1.0062224864959717, -1.389672040939331, -0.09508299082517624, -0.12346432358026505, 0.274956077337265, -...
func (suite *FileSourceInternalTestSuite) TestGetFileDetailsWrongInputs() { inputs := []string{ "abcd.json", "1-test.sql", "test.UP.sql", "1.UP.SQL", "3.4-NEW.UP.SQL", "data-data.UP.SQL", } for _, input := range inputs { _, _, _, err := getFileDetails(input) assert.NotNil(suite.T(), err) } }
[ 0.10486800968647003, 0.43370211124420166, 0.5967486500740051, -0.12841331958770752, 1.2055251598358154, 0.8380663394927979, 0.1176837906241417, -0.8717952370643616, -0.8629184365272522, -0.48781871795654297, -0.06785110384225845, 0.32805779576301575, -0.23178702592849731, 0.787476599216461...
func (suite *FileSourceInternalTestSuite) TestGetFileDetailsValidUP() { version, isUp, isDown, err := getFileDetails("15-Testing.UP.sql") assert.Equal(suite.T(), 15, version) assert.Nil(suite.T(), err) assert.True(suite.T(), isUp) assert.False(suite.T(), isDown) }
[ 0.4903697669506073, 0.4280950129032135, 0.6352731585502625, 0.5424033999443054, 0.5674973130226135, 1.058484673500061, -0.06724823266267776, 0.46913185715675354, 0.030592236667871475, -0.45917314291000366, -0.2157958596944809, -0.016686106100678444, -0.21145762503147125, -0.383365929126739...
func (suite *FileSourceInternalTestSuite) TestGetFileDetailsInValidUPOrDown() { version, isUp, isDown, err := getFileDetails("15-Testing.u.sql") assert.Equal(suite.T(), 15, version) assert.Nil(suite.T(), err) assert.False(suite.T(), isUp) assert.False(suite.T(), isDown) }
[ 0.3792305886745453, 0.41793543100357056, 0.46427902579307556, 0.6103719472885132, 0.7440069913864136, 1.182286024093628, -0.10470854490995407, 0.2064482718706131, -0.18771694600582123, -0.8614912629127502, 0.010387097485363483, 0.10027770698070526, -0.4733239412307739, 0.2597563862800598, ...
func (suite *FileSourceInternalTestSuite) TestGetFileDetailsValidDown() { version, isUp, isDown, err := getFileDetails("15-Testing.DOWN.sql") assert.Equal(suite.T(), 15, version) assert.Nil(suite.T(), err) assert.True(suite.T(), isDown) assert.False(suite.T(), isUp) }
[ 0.8327957391738892, 0.314774751663208, 0.6282860040664673, 0.6414368748664856, 0.7337091565132141, 1.1210519075393677, 0.02752874419093132, 0.35804522037506104, 0.016636420041322708, -0.8867500424385071, 0.034705888479948044, 0.15915870666503906, -0.7734134197235107, -0.17105825245380402, ...
func TestFileSourceInternalTestSuite(t *testing.T) { suite.Run(t, new(FileSourceInternalTestSuite)) }
[ -0.6016203761100769, -0.04544695466756821, 0.24537038803100586, -0.6486561298370361, -0.24273206293582916, 0.09845178574323654, 1.0425834655761719, 0.5956557393074036, -0.2662689685821533, -0.8336878418922424, -0.6207678914070129, 0.11185777932405472, -0.23667646944522858, 0.23204971849918...
func NewRouter() http.Handler { router := chi.NewRouter() // Register the API routes router.Get("/search-phrase/{url}/{phrase}", controllers.SearchPhrase) router.Get("/search-tag/{url}/{name}/{content}", controllers.SearchMetatag) router.Post("/search-data", controllers.SearchData) return router }
[ -0.09002487361431122, -0.2611371874809265, 0.45616742968559265, -0.17184846103191376, 0.6619027853012085, 0.12008415907621384, -0.7998136281967163, 0.334236204624176, -0.5195415019989014, -0.1632804572582245, -0.2959137260913849, 0.0001895952591439709, -0.5425057411193848, 0.83581948280334...
func (*SetVolumeDefault) Evaluate(dbRoom structs.Room, room base.PublicRoom, requestor string) ([]base.ActionStructure, int, error) { var actions []base.ActionStructure eventInfo := events.Event{ Key: "volume", User: requestor, } eventInfo.AddToTags(events.CoreState, events.UserGenerated) destination := b...
[ -0.5433688759803772, -0.3379545211791992, 0.7188316583633423, 0.04432014375925064, 0.6239879131317139, -0.9247807264328003, 0.3547353446483612, -0.02506071887910366, -0.20447316765785217, 0.6781166195869446, -0.22450421750545502, 0.6105203628540039, -0.19132794439792633, 0.9633599519729614...
func (p *SetVolumeDefault) Validate(action base.ActionStructure) error { maximum := 100 minimum := 0 return validateSetVolumeMaxMin(action, maximum, minimum) }
[ -0.18081827461719513, -0.1922461837530136, 0.28892770409584045, 0.9082932472229004, 0.6690183877944946, -0.34177911281585693, -0.6112226843833923, -0.7688906192779541, 0.07096438109874725, 0.24686720967292786, -0.27289777994155884, 0.21772798895835876, -0.10519073158502579, 0.3866516351699...
func (p *SetVolumeDefault) GetIncompatibleCommands() []string { return nil }
[ 0.16193680465221405, -0.5994757413864136, 0.44822192192077637, 1.0524060726165771, 1.3925013542175293, -0.6676875352859497, -0.05878068506717682, 0.01743990182876587, -0.22480101883411407, -0.10078327357769012, -0.5660108923912048, -0.44908037781715393, -1.0381258726119995, 0.5803433060646...
func TestGenerateAnalysis(t *testing.T) { var processOASTest = []struct { testName string dirPath string expectedNumOASProcessed int }{ {"falseDir", "fake", 0}, {"dirWSubDir", "../generator/testfiles", 6}, {"dirWMalFile", "../incompatibility/oas-examples/malformed", 0}, {"...
[ -0.531554639339447, 0.2734317183494568, 0.6831044554710388, -0.31497833132743835, 0.814191997051239, 0.21877343952655792, 1.0762656927108765, -0.748022198677063, 0.19820381700992584, -0.7964415550231934, 0.0654267892241478, -0.5293492078781128, 0.4752027094364166, 0.15056702494621277, 0....
func TestFileInformationIncluded(t *testing.T) { var fileTest = []struct { testName string dirPath string openAPI []string }{ {"ImmediateFile", "../incompatibility/oas-examples", []string{ "../incompatibility/oas-examples/petstore.yaml", "../incompatibility/oas-examples/openapi.yaml", }}, {"...
[ -0.08049841225147247, -0.3762328326702118, 0.8052530884742737, -0.10801585018634796, 0.7313509583473206, 0.8760185241699219, 1.2645028829574585, 0.6536136865615845, -0.4995158910751343, -0.7510671615600586, 0.008185433223843575, -0.5194993019104004, 0.1844549924135208, 0.6058262586593628, ...
func (c *SpatialCriteriaCommon) toQueryTokenCommon(sc SpatialCriteria, fieldName string, addQueryParameter func(interface{}) string) queryToken { shapeToken := sc.GetShapeToken(addQueryParameter) var whereOperator whereOperator switch c._relation { case SpatialRelationWithin: whereOperator = whereOperatorSpatia...
[ 0.24205714464187622, -0.34300005435943604, 0.6402477622032166, -0.4004005491733551, -0.36464565992355347, 0.36483457684516907, 0.6665690541267395, -0.23489585518836975, -0.6233793497085571, 0.26418840885162354, -0.10168752074241638, 0.9560845494270325, 0.16611483693122864, -0.4586297273635...
func Start(c *gin.Context) { authorize.Authorize(c, &user) // change here! session := sessions.Default(c) bmlDgkSkuHistoryRequestI := session.Get("bmlDgkSkuHistoryRequest") bmlDgkSkuHistoryRequest, ok := bmlDgkSkuHistoryRequestI.(bmldgkskuhistoryrequest.BmlDgkSkuHistoryRequest) fmt.Println() fmt.Println(`Objec...
[ 0.19060586392879486, 0.19816827774047852, 0.6636769771575928, 0.4482506513595581, 0.1575278341770172, -0.03396850451827049, 0.14239546656608582, 0.8277863264083862, -0.10941940546035767, -0.2064731866121292, 0.5776397585868835, 1.7447659969329834, 0.021210534498095512, 0.0813482478260994, ...
func SeeBmlDgkSkuHistory(c *gin.Context) { authorize.Authorize(c, &user) session := sessions.Default(c) r := c.Request bmlDgkSkuHistoryRequest := &bmldgkskuhistoryrequest.BmlDgkSkuHistoryRequest{ BmlIDCatalogConfig: r.FormValue("BmlIDCatalogConfig"), BmlSKUName: r.FormValue("BmlSKUName"), Bm...
[ 0.06136423349380493, 1.0368516445159912, 1.1189168691635132, -0.19959057867527008, -0.4833534061908722, -0.7040292024612427, 0.18266963958740234, 0.09084662050008774, -0.1354689598083496, 0.08639465272426605, -0.1359388530254364, 0.6957857608795166, -0.09000551700592041, 0.6934618949890137...
func MakeEndpoints(service todo.Service, middleware ...endpoint.Middleware) Endpoints { mw := kitxendpoint.Combine(middleware...) return Endpoints{ CreateTodo: kitxendpoint.OperationNameMiddleware("todo.CreateTodo")(mw(MakeCreateTodoEndpoint(service))), ListTodos: kitxendpoint.OperationNameMiddleware("todo.List...
[ -0.3002922832965851, 0.7246676087379456, 0.38156309723854065, 0.7280005216598511, -0.4891636073589325, 0.34551894664764404, -0.6029503345489502, 0.37879371643066406, 0.8200269937515259, 0.2835608720779419, 0.014855085872113705, -0.34994077682495117, 0.3763997554779053, -0.03894858062267303...
func TraceEndpoints(endpoints Endpoints) Endpoints { return Endpoints{ CreateTodo: kitoc.TraceEndpoint("todo.CreateTodo")(endpoints.CreateTodo), ListTodos: kitoc.TraceEndpoint("todo.ListTodos")(endpoints.ListTodos), MarkAsDone: kitoc.TraceEndpoint("todo.MarkAsDone")(endpoints.MarkAsDone), } }
[ 0.4547417163848877, 0.4496009349822998, 0.3929257392883301, 0.840817928314209, 0.94244784116745, 0.2767179310321808, 0.2697410583496094, -0.20702092349529266, 0.8761498332023621, 0.2399602234363556, -0.4397442638874054, -0.6483175754547119, 0.6323990821838379, -0.5252156257629395, -0.254...
func MakeCreateTodoEndpoint(service todo.Service) endpoint.Endpoint { return func(ctx context.Context, request interface{}) (interface{}, error) { req := request.(CreateTodoRequest) id, err := service.CreateTodo(ctx, req.Text) if err != nil { if endpointErr := endpointError(nil); errors.As(err, &endpointErr...
[ -0.44395995140075684, -0.22789089381694794, 0.6147685050964355, 0.012265339493751526, -0.17785006761550903, 0.5918200016021729, 0.2353271245956421, -0.6183373332023621, -0.4211730360984802, 0.16994813084602356, -0.2386026382446289, 0.17148232460021973, 0.04396449774503708, -0.1593960970640...
func MakeListTodosEndpoint(service todo.Service) endpoint.Endpoint { return func(ctx context.Context, request interface{}) (interface{}, error) { r0, err := service.ListTodos(ctx) if err != nil { if endpointErr := endpointError(nil); errors.As(err, &endpointErr) && endpointErr.EndpointError() { return List...
[ -0.4113695025444031, -0.30163052678108215, 0.7540762424468994, -0.34633272886276245, -0.042350154370069504, -0.027505874633789062, 0.3416716456413269, 0.04045812040567398, 0.5791671872138977, 0.17892485857009888, -0.444343626499176, -0.05012781545519829, 0.635942280292511, 0.08752314001321...
func MakeMarkAsDoneEndpoint(service todo.Service) endpoint.Endpoint { return func(ctx context.Context, request interface{}) (interface{}, error) { req := request.(MarkAsDoneRequest) err := service.MarkAsDone(ctx, req.Id) if err != nil { if endpointErr := endpointError(nil); errors.As(err, &endpointErr) && e...
[ -1.1447616815567017, -0.08554429560899734, 0.6721616983413696, 0.009166717529296875, 0.15922893583774567, 0.142245352268219, 0.1432449370622635, -0.4448133409023285, 0.14104990661144257, 0.30585429072380066, 0.1862318068742752, -0.023609798401594162, 0.23884043097496033, 0.2601497173309326...
func FindIPAddress(addrName string) (string, string, error) { var address string list, err := net.Interfaces() if err != nil { return "", "", err } for _, iface := range list { addrs, err := iface.Addrs() if err != nil { return "", "", err } for _, a := range addrs { if ipnet, ok := a.(*net.IPNet)...
[ -0.5942304730415344, -0.41052791476249695, 0.7554243206977844, -0.44206511974334717, -0.4968826174736023, -1.0229129791259766, 0.3335394561290741, -0.3861095905303955, 0.5661436319351196, 0.3318861424922943, 0.17492546141147614, -0.4922693073749542, -0.40478819608688354, 0.5208708047866821...
func DeserializeDockerCompose(file string) project.APIProject { if Verbose { log.Printf("DeserializeDockerCompose - %v", file) } //read the docker compose file from disk dockerComposeData, err := ioutil.ReadFile(file) if err != nil { log.Fatal(err) } //marshal into compose objects dockerCompose := unmarsh...
[ -0.4458741247653961, -0.7522998452186584, 0.47161516547203064, -0.5260767936706543, -0.66448575258255, -0.7134701013565063, 0.632723331451416, 0.03251073509454727, -0.0922461673617363, -0.18933025002479553, 0.257848858833313, -0.741413950920105, -0.4426892101764679, -0.21066944301128387, ...
func SerializeDockerCompose(dockerCompose DockerCompose, file string) { data := marshalDockerCompose(dockerCompose) if Verbose { log.Printf("writing docker-compose file to %v", file) } //write yaml to docker-compose.yml err := ioutil.WriteFile(file, data, 0644) if err != nil { log.Fatalf("error writing %v: ...
[ 0.08156804740428925, -1.008170485496521, 0.7161481380462646, 0.07649824023246765, -0.04749695956707001, -0.13468730449676514, 1.4830747842788696, 0.3925454914569855, 0.16158179938793182, 0.01732359081506729, -0.18934139609336853, -0.1808432936668396, 0.618121862411499, 0.34342461824417114,...
func (st Student) display() { fmt.Println() fmt.Printf("Name: %s - Age: %d - Address: %s", st.student_name, st.student_age, st.student_address) }
[ 0.20158252120018005, -1.0374537706375122, 0.610710084438324, -0.8316215872764587, -0.817994236946106, 0.9969280958175659, 0.2380029708147049, 0.4661657512187958, -0.8209280371665955, 0.43629008531570435, -0.13826794922351837, 1.144264578819275, 0.7442846298217773, 0.061517369002103806, -...
func (st *Student) display2() { fmt.Println() fmt.Printf("Name: %s - Age: %d - Address: %s", st.student_name, st.student_age, st.student_address) }
[ -0.03704856336116791, -1.4441156387329102, 0.707263708114624, -0.2208438515663147, -1.4367822408676147, 0.8595123291015625, 0.18959182500839233, -0.14090418815612793, -0.9014320373535156, 0.237657368183136, -0.31254956126213074, 1.4714512825012207, 1.0062068700790405, 0.46450647711753845, ...
func (st Student) changeAge(newAge int) { st.student_age = newAge }
[ -1.39984130859375, -0.28125762939453125, 0.41724953055381775, 0.007560823578387499, -0.4963844120502472, 0.6541475057601929, 0.1499764621257782, 1.0190017223358154, -0.33490705490112305, 1.4938459396362305, -0.5191132426261902, 0.63877272605896, -0.19485802948474884, 1.2542040348052979, ...
func (st *Student) changeAge(newAge int) { st.student_age = newAge }
[ -1.3378280401229858, -0.30051708221435547, 0.4094045162200928, -0.06292059272527695, -0.43262845277786255, 0.686366081237793, 0.10257159173488617, 0.9824227094650269, -0.3487916886806488, 1.4660203456878662, -0.4326375424861908, 0.6711985468864441, -0.24766680598258972, 1.3517529964447021,...
func absInt(i int) int { if i > 0 { return i } return i * -1 }
[ -0.08969645947217941, -0.2015242874622345, 0.39025911688804626, -0.05565169081091881, -0.5727414488792419, 0.7896901369094849, 0.08762606233358383, -0.8979673385620117, -0.672711968421936, -0.07858556509017944, 0.5551637411117554, -0.15201491117477417, -0.5422533750534058, -0.1941865980625...
func updateAttackArray(b *engine.Board, p *engine.Piece, a *[8][8]int) { if p.Name == 'p' { captures := [2][2]int{{1, 1 * p.Color}, {-1, 1 * p.Color}} for _, capture := range captures { capx := p.Position.X + capture[0] capy := p.Position.Y + capture[1] if 0 < capx && capx < 9 && 0 < capy && capy < 9 { ...
[ -0.8757361173629761, -1.1021422147750854, 1.0837631225585938, -0.3266676068305969, 0.2878967523574829, -0.01728212460875511, 0.1064707338809967, -0.039306074380874634, 0.7206600904464722, 1.1054041385650635, 0.22880816459655762, 0.745380699634552, -0.2388211190700531, -0.2337203025817871, ...
func AttackRay(p *engine.Piece, b *engine.Board, dir [2]int) int { if p.Captured { return 0 } if !p.Infinite_direction { return 1 } for n := 1; n < 8; n++ { s := &engine.Square{ X: p.Position.X + dir[0]*n, Y: p.Position.Y + dir[1]*n, } if occupied, _ := b.Occupied(s); occupied != 0 { if occupied...
[ -1.235488772392273, -0.577761709690094, 0.9584503173828125, 0.4688742756843567, 0.5523690581321716, -0.3874150514602661, 0.6056866645812988, 0.019658111035823822, -0.022904695942997932, 0.8711948394775391, 0.5251213908195496, 0.7499849796295166, -0.9713426232337952, -0.14042440056800842, ...
func EvalBoard(b *engine.Board) float64 { if over := b.IsOver(); over != 0 { if over == 1 { return DRAW } else { if over > 0 { return WHITEWIN } else { return BLACKWIN } } } attackarray := [8][8]int{} whitepawns := []engine.Square{} blackpawns := []engine.Square{} var score float64 for ...
[ -0.12642477452754974, -0.05126916617155075, 0.9837322235107422, -0.5670756101608276, -0.11877509206533432, 0.16044269502162933, 0.12068898975849152, -0.40545183420181274, 0.461833655834198, 1.2897188663482666, 0.12058575451374054, 0.8260248303413391, -0.5728574395179749, 0.6333498954772949...
func pawnIsPassed(pawn *engine.Piece, oppfullpawns []engine.Square) bool { for _, p := range oppfullpawns { if absInt(p.X-pawn.Position.X) <= 1 { if (pawn.Color == 1 && p.Y > pawn.Position.Y) || (pawn.Color == -1 && p.Y < pawn.Position.Y) { return false } } } return true }
[ -1.1463719606399536, -0.8184337615966797, 0.761366605758667, 0.29153552651405334, -0.3758013844490051, 0.8623121976852417, -0.03710419684648514, -0.765906572341919, 0.37192302942276, 1.0595550537109375, -0.4610074758529663, 0.6524163484573364, -0.6360552310943604, -0.06786726415157318, -...
func updatePawnChainScore(pawnchain int) float64 { var score float64 if pawnchain > 2 { score += float64(pawnchain) * LONGPAWNCHAIN } else if pawnchain != 0 { score += ISOLATEDPAWN / float64(pawnchain) } return score }
[ -0.41955530643463135, -0.3913850784301758, 0.4556216597557068, 0.03552135080099106, -0.24480363726615906, 0.07913921028375626, -1.0706911087036133, -1.1743682622909546, 0.40654319524765015, 0.6548498272895813, -0.3926093280315399, -0.04205254092812538, -1.1273607015609741, -0.4046873152256...
func pawnStructureAnalysis(pawns []engine.Square, color int) float64 { pawnarray := [8]int{} var score float64 for _, p := range pawns { pawnarray[p.X-1] += 1 if color == 1 { score += float64((p.Y - 2)) * ADVANCEDPAWN } else { score += float64((7 - p.Y)) * ADVANCEDPAWN } } var pawnchain int for _, c...
[ -0.5926899909973145, -0.697245717048645, 0.6518294215202332, -0.5679915547370911, -0.16145747900009155, -0.4951877295970917, 0.3081437349319458, -1.540831208229065, 0.975786566734314, 0.48567214608192444, -0.0473315566778183, 0.05207936093211174, 0.12755268812179565, -0.04070481285452843, ...
func checkKingSafety(file int, pawns []engine.Square) float64 { pawnarray := [8]int{} for _, p := range pawns { pawnarray[p.X-1] += 1 } var score float64 for i := -1; i < 2; i++ { if location := file + i; location > -1 && location < 8 { if pawnarray[location] == 0 { score += KINGONOPENFILE } else { ...
[ -0.3697020709514618, -0.31436988711357117, 0.8302838802337646, 0.5380289554595947, -0.2912692725658417, -0.8469780683517456, -0.13763844966888428, -0.25112688541412354, -0.22795288264751434, 0.9376482963562012, 0.2375607043504715, 0.2656109035015106, -0.8247098922729492, 0.0355304144322872...
func (f CommandFlag) FlagString() string { switch f.NumArgs { case 0: return fmt.Sprintf("-%s, --%s", f.ShortFlag, f.LongFlag) case 1: return fmt.Sprintf("-%s, --%s [value]", f.ShortFlag, f.LongFlag) case 2: return fmt.Sprintf("-%s, --%s [key] [value]", f.ShortFlag, f.LongFlag) default: panic("Mis...
[ 0.3006618320941925, -0.12092547863721848, 0.5832372903823853, -0.2723093032836914, 0.3604092299938202, 0.9743621945381165, -0.6595553755760193, -0.41373419761657715, -1.0779428482055664, -0.40944865345954895, 0.6828102469444275, 0.32749679684638977, -0.22305969893932343, 0.4490712881088257...
func (f CommandFlag) DescString() string { return f.Description }
[ 0.460873007774353, -0.12061807513237, 0.21963481605052948, 0.5164457559585571, 0.47208014130592346, 1.173626184463501, -0.28433504700660706, -0.5210376381874084, -0.7934831976890564, -0.3608052730560303, 1.0436580181121826, -0.0733046904206276, 0.04198920354247093, 0.056752417236566544, ...
func Release(path string, change parser.SemVerChange, ch chan Result, options ReleaseOptions) { defer close(ch) // Get Git User user, err := git.GetUser(path) if err != nil { ch <- Result{ Error: fmt.Errorf("[Git] get user: %v", err), } return } ch <- Result{ Phase: PhaseGetGitUser, Message: user....
[ -0.33721059560775757, -0.05058369040489197, 0.8896632790565491, -0.3554254472255707, 0.36544927954673767, -0.5388101935386658, 0.1480017900466919, -0.5810214877128601, 0.05860242247581482, 1.236422061920166, 0.018571102991700172, 0.36546531319618225, -0.12534688413143158, 0.715665936470031...
func IsRepo() bool { out, err := Run("rev-parse", "--is-inside-work-tree") return err == nil && strings.TrimSpace(out) == "true" }
[ -0.24203678965568542, 0.8525402545928955, 0.9194934964179993, 0.4224057197570801, -0.15704478323459625, -0.5369190573692322, -0.5477361679077148, 0.4818958044052124, 0.24526596069335938, -0.6912254691123962, -0.41187843680381775, -0.018336109817028046, -0.32171693444252014, -0.042392570525...
func Run(args ...string) (string, error) { // TODO: use exex.CommandContext here and refactor. /* #nosec */ cmd := exec.Command("git", args...) log.WithField("args", args).Debug("running git") bts, err := cmd.CombinedOutput() log.WithField("output", string(bts)). Debug("git result") if err != nil { return ""...
[ -0.2840457558631897, -0.21749663352966309, 0.6695752143859863, -0.2226921170949936, -0.32948145270347595, 0.4373653531074524, -0.3536264896392822, -0.5298682451248169, -0.8381428122520447, 0.0024930306244641542, -0.33651667833328247, 0.4814780354499817, -0.4982057511806488, 0.0046259462833...
func NewDB() *ScribbleDB { s := &ScribbleDB{} s.collection = "default" return s }
[ 0.014578400179743767, 0.0934460386633873, 0.05475088581442833, 0.9533941745758057, -0.41093409061431885, 1.161703109741211, 0.24060764908790588, -0.09791101515293121, -0.049547694623470306, -0.27523791790008545, -0.5517351031303406, 0.5474926233291626, -1.2329435348510742, 0.26972872018814...
func (b *ScribbleDB) GetAll() (reports []acra.Report, err error) { records, err := b.db.ReadAll(b.collection) if err != nil { return } reports = make([]acra.Report, 0) for i := 0; i < len(records); i++ { b := []byte(records[i]) report := acra.Report{} decoder := acra.NewDecoder(bytes.NewBuffer(b)) er...
[ 1.3884804248809814, -0.06365160644054413, 0.6959825754165649, -0.13729147613048553, 1.015764594078064, 0.2595813274383545, -0.5488925576210022, 0.2543453872203827, -0.2740946412086487, -0.5263603925704956, 0.17442888021469116, 1.0695221424102783, -1.4926409721374512, 0.4238888919353485, ...
func (c *CheckboxCache) win32MenuIDsForWailsMenuID(item wailsMenuItemID) []win32MenuItemID { c.mutex.Lock() result := []win32MenuItemID{} for _, menu := range c.cache { ids := menu[item] if ids != nil { result = append(result, ids...) } } c.mutex.Unlock() return result }
[ -0.7430406808853149, -0.40900757908821106, 0.4598273038864136, -0.22512927651405334, -0.12298880517482758, 0.32151901721954346, -0.4396193027496338, 0.5342890024185181, 0.28339603543281555, 0.10761561244726181, -0.6124739050865173, 0.16116762161254883, -0.4989440441131592, 1.17530202865600...
func fakeExecCommand(command string, args ...string) *exec.Cmd { cs := []string{"-test.run=TestHelperProcess", "--", command} cs = append(cs, args...) cmd := exec.Command(os.Args[0], cs...) cmd.Env = []string{"GO_WANT_HELPER_PROCESS=1"} return cmd }
[ 0.07292500883340836, -0.39478373527526855, 0.43345925211906433, -0.40062883496284485, 1.0387150049209595, 0.13482394814491272, -0.05920853838324547, -0.05570558086037636, -0.16558292508125305, -0.0726933404803276, -0.11892382800579071, 0.873792827129364, -0.08864115178585052, 0.62376570701...
func TestHelperProcess(_ *testing.T) { if os.Getenv("GO_WANT_HELPER_PROCESS") != "1" { return } mockData := `Ambient Temp | 20 degrees C | ok Altitude | 80 feet | ok Avg Power | 210 Watts | ok Planar 3.3V | 3.29 Volts | ok Planar 5V | 4.90 Volts ...
[ 0.8029460906982422, -0.01157389022409916, 0.8662651777267456, -0.03541143983602524, 0.47977882623672485, 0.6691738367080688, 0.5622299909591675, -0.010496564209461212, -0.29476198554039, -0.6990702748298645, -0.3046245872974396, 0.20880496501922607, -0.305391401052475, 0.09676262736320496,...
func fakeExecCommandV2(command string, args ...string) *exec.Cmd { cs := []string{"-test.run=TestHelperProcessV2", "--", command} cs = append(cs, args...) cmd := exec.Command(os.Args[0], cs...) cmd.Env = []string{"GO_WANT_HELPER_PROCESS=1"} return cmd }
[ -0.13850653171539307, -1.045961856842041, 0.4502542018890381, -0.1826275885105133, 0.429476797580719, -0.18964995443820953, -0.3625812232494354, -0.1713307499885559, -0.3369288444519043, 0.17970673739910126, 0.108641117811203, 1.3454920053482056, -0.002881729742512107, 0.5874468088150024, ...
func TestHelperProcessV2(_ *testing.T) { if os.Getenv("GO_WANT_HELPER_PROCESS") != "1" { return } // Curated list of use cases instead of full dumps mockData := `SEL | 72h | ns | 7.1 | No Reading Intrusion | 73h | ok | 7.1 | Fan1 | 30h | ok | 7.1 | 5040 RPM Inlet Temp ...
[ 0.024053780362010002, -0.5044865012168884, 0.7094042301177979, -0.21696530282497406, 0.8461349606513977, 0.322388619184494, 0.9507556557655334, -0.617118239402771, -0.024467049166560173, -0.3281992971897125, -0.1727941483259201, -0.048417478799819946, -0.5380322933197021, -0.08354523777961...
func kthToLast1(n *ds.Node, k int) *ds.Node { return nil }
[ -0.2221226543188095, 0.02800726518034935, 0.21306535601615906, -0.396742582321167, 0.40180638432502747, 0.026512231677770615, -0.48714303970336914, 0.047298043966293335, -0.4119454026222229, 0.900143027305603, -0.6024330854415894, 0.27245989441871643, 0.26072484254837036, -0.02248926088213...
func _escFS(useLocal bool) http.FileSystem { if useLocal { return _escLocal } return _escStatic }
[ 0.3139595091342926, -0.03169047087430954, 0.3723929226398468, -0.6628560423851013, 0.01467584352940321, -1.0972694158554077, 0.15304100513458252, -0.03762798011302948, -0.298956960439682, -0.2660154104232788, 0.6913325786590576, -0.5484196543693542, 0.3910297751426697, -0.20905449986457825...
func _escDir(useLocal bool, name string) http.FileSystem { if useLocal { return _escDirectory{fs: _escLocal, name: name} } return _escDirectory{fs: _escStatic, name: name} }
[ -0.34758317470550537, 0.08152381330728531, 0.601481020450592, -1.071213722229004, -0.7257602214813232, -0.4570923447608948, -0.28022313117980957, 0.16746170818805695, -0.08885221928358078, -0.1066618487238884, 0.6648322939872742, -0.1700594574213028, 0.5860519409179688, 0.07915814965963364...
func _escFSByte(useLocal bool, name string) ([]byte, error) { if useLocal { f, err := _escLocal.Open(name) if err != nil { return nil, err } b, err := ioutil.ReadAll(f) f.Close() return b, err } f, err := _escStatic.prepare(name) if err != nil { return nil, err } return f.data, nil }
[ -0.16619934141635895, -0.10359329730272293, 0.5566434264183044, -0.3006148338317871, -0.170963853597641, -0.8405009508132935, -0.8803297877311707, 0.11186858266592026, -0.6765586733818054, 0.37974709272384644, 0.1187589094042778, -0.17927104234695435, -0.38726019859313965, -0.3582233190536...
func _escFSMustByte(useLocal bool, name string) []byte { b, err := _escFSByte(useLocal, name) if err != nil { panic(err) } return b }
[ -0.5626142024993896, -0.43870073556900024, 0.42943549156188965, 0.14677880704402924, -0.05685433745384216, -0.5671277642250061, -0.7191033959388733, 0.11395187675952911, 0.2018825262784958, 0.6720514297485352, -0.5566601157188416, -0.47077012062072754, -0.9651321172714233, 0.01237320993095...
func _escFSString(useLocal bool, name string) (string, error) { b, err := _escFSByte(useLocal, name) return string(b), err }
[ 0.3854048550128937, -0.4740825891494751, 0.4931719899177551, -0.40863296389579773, -1.2655519247055054, -1.1268502473831177, -0.07119814306497574, -0.22317840158939362, -0.5167198181152344, 0.5299550294876099, 0.3125080168247223, -0.6575257182121277, -0.46201178431510925, -0.86249369382858...
func _escFSMustString(useLocal bool, name string) string { return string(_escFSMustByte(useLocal, name)) }
[ -0.4484093189239502, -0.8911070227622986, 0.41598430275917053, -0.6203064918518066, -0.7676226496696472, -0.6706513166427612, -0.53807133436203, -0.08078516274690628, -0.027116350829601288, 0.4512673318386078, 0.10799098014831543, -0.5269986391067505, -0.63117516040802, -0.2535566091537475...
func (n NotificationType) String() string { if s, ok := notificationTypeStrings[n]; ok { return s } return fmt.Sprintf("Unknown Notification Type (%d)", int(n)) }
[ 0.37701866030693054, 0.006675336509943008, 0.02248229831457138, 0.09325669705867767, -0.10104779899120331, 0.5057006478309631, 0.7281386852264404, -1.8296866416931152, -0.000005513971245818539, 0.25937220454216003, 0.02075568400323391, -0.024724647402763367, -0.2105402797460556, 0.13682968...
func NewNil() NilVal { return NilVal{} }
[ 0.7828353047370911, -0.16727061569690704, 0.10867784917354584, 0.7131648659706116, -1.6635992527008057, 0.15661366283893585, -0.01720813289284706, 0.09732594341039658, 0.22463682293891907, -0.39760103821754456, -0.3269555866718292, 0.4650889039039612, 0.16299335658550262, -0.31900301575660...
func NewUboxNull(nat TyNat) Native { return newUnboxed(nat) }
[ -0.8040798306465149, -0.5134032964706421, 0.2187027931213379, 0.06738123297691345, -0.397102952003479, -0.05015414208173752, -1.366424560546875, -0.3006884753704071, -0.15808553993701935, -0.5015310049057007, -1.219454050064087, -0.09491360187530518, 1.3398643732070923, -0.4964378178119659...
func newWithTypeInfo(args ...interface{}) (rval Native, flag BitFlag) { // no arguments passed, return nil instance if len(args) == 0 { return nil, Nil.Type().Flag() } // multiple arguments have been passed if len(args) > 1 { // allocate slice of natives var nats = make([]Native, 0, len(args)) // range...
[ -0.5004433989524841, -0.6527659893035889, 0.7199856042861938, 0.06270284205675125, -0.1241355612874031, 0.393351286649704, 0.05178801715373993, -0.7768157124519348, -0.4990445375442505, 0.08505748957395554, -0.38090482354164124, 0.10372936725616455, -0.4043368697166443, 0.8741980195045471,...
func conNativeVector(flag BitFlag, args ...Native) (nat Sliceable) { var slice = []Native{} switch { case FlagMatch(flag, Nil.Type().Flag()): for _, v := range args { slice = append(slice, v.(NilVal)) } case FlagMatch(flag, Bool.Type().Flag()): for _, v := range args { slice = append(slice, v.(BoolVal...
[ -0.05694056674838066, -0.35079246759414673, 0.8009389638900757, 0.245561420917511, 0.023614514619112015, -0.06984663009643555, -0.06247008591890335, -0.10516194254159927, -1.2426342964172363, 0.46289634704589844, -0.04451167210936546, 0.34492549300193787, -0.24551363289356232, 0.6297450065...
func NewServer(gsrv *grpc.Server, readHandler ReadHandler, writeHandler WriteHandler) (*Server, error) { if readHandler == nil && writeHandler == nil { return nil, fmt.Errorf("readHandler and writeHandler cannot both be nil") } server := &Server{ status: make(map[string]*pb.QueryWriteStatusResponse), re...
[ -0.4375867247581482, -0.5942887663841248, 0.44370248913764954, -0.39417314529418945, 0.4330660402774811, 0.39233338832855225, 0.5071359276771545, -0.11599221080541611, 0.039923153817653656, -0.5706215500831604, 0.4403955340385437, 1.0628280639648438, -1.5630325078964233, 0.2788134217262268...
func (rpc *grpcService) Write(stream pb.ByteStream_WriteServer) error { for { writeReq, err := stream.Recv() if err == io.EOF { // io.EOF errors are a non-error for the Write() caller. return nil } else if err != nil { return grpc.Errorf(codes.Unknown, "stream.Recv() failed: %v", err) } if rpc.paren...
[ -1.1713522672653198, -0.24235033988952637, 0.8533570766448975, -0.09623769670724869, 0.6969252824783325, -0.13673453032970428, 0.7683160901069641, -0.645367443561554, -0.331819087266922, 0.4883993864059448, -0.0862935334444046, 0.2619883418083191, -0.8323330283164978, 0.9225355982780457, ...
func (rpc *grpcService) QueryWriteStatus(ctx context.Context, request *pb.QueryWriteStatusRequest) (*pb.QueryWriteStatusResponse, error) { s, ok := rpc.parent.status[request.ResourceName] if !ok { return nil, grpc.Errorf(codes.NotFound, "resource_name not found: QueryWriteStatusRequest %v", request) } return s, n...
[ -0.9860239028930664, -0.5333147644996643, 0.4897436499595642, -0.43298789858818054, 0.42770862579345703, 0.10719098895788193, 0.12769097089767456, -0.7947041988372803, 0.15863314270973206, 0.11109668761491776, 0.21113106608390808, 0.7254734039306641, -0.5883874893188477, 0.0259538628160953...
func (rpc *grpcService) Read(request *pb.ReadRequest, stream pb.ByteStream_ReadServer) error { if rpc.parent.readHandler == nil { return grpc.Errorf(codes.Unimplemented, "instance of NewServer(readHandler = nil) rejects all reads") } if request == nil { return grpc.Errorf(codes.Internal, "Read(ReadRequest == nil...
[ -0.6819905042648315, -1.004398226737976, 1.0306994915008545, 0.14244891703128815, -0.3569435477256775, 0.6494492888450623, 0.1549137830734253, -0.8956921696662903, -0.40868136286735535, -0.2974127531051636, 1.2902534008026123, 0.8616464138031006, -0.8705645203590393, 0.8542078733444214, ...
func NewPiggyBankEvent() *PiggyBankEvent { this := PiggyBankEvent{} return &this }
[ 0.7782562971115112, -0.0165567547082901, 0.061050981283187866, 0.7946288585662842, -0.3369760811328888, -0.10218501091003418, 0.285843163728714, -0.004889595787972212, -0.30043619871139526, -0.43040239810943604, -1.5176422595977783, 0.07767220586538315, -0.9225290417671204, 0.6422515511512...
func NewPiggyBankEventWithDefaults() *PiggyBankEvent { this := PiggyBankEvent{} return &this }
[ 0.5249056816101074, 0.12485597282648087, 0.14433039724826813, 0.8181614279747009, 0.8718201518058777, 0.0656697228550911, -0.4193868637084961, -0.20145514607429504, -0.13034355640411377, -0.5244976282119751, -1.4507949352264404, -1.2546075582504272, -1.0392720699310303, 0.3928751051425934,...
func (o *PiggyBankEvent) GetCreatedAt() time.Time { if o == nil || o.CreatedAt == nil { var ret time.Time return ret } return *o.CreatedAt }
[ 0.6745352149009705, 0.21475255489349365, 0.2350163459777832, -0.04487408697605133, 0.10188625007867813, -0.1389230638742447, 0.22637613117694855, -1.1472018957138062, 0.19365344941616058, -1.1393100023269653, -0.050619106739759445, -1.0468288660049438, -0.298528790473938, 1.100274085998535...
func (o *PiggyBankEvent) GetCreatedAtOk() (*time.Time, bool) { if o == nil || o.CreatedAt == nil { return nil, false } return o.CreatedAt, true }
[ -0.002066373825073242, 0.47114527225494385, 0.5033597350120544, 0.5251218676567078, 0.6860007643699646, 0.7070190906524658, 0.5140023827552795, -0.30974018573760986, -0.6778000593185425, -0.9513172507286072, -0.5847036242485046, -0.4835582673549652, 1.1709879636764526, 0.6890427470207214, ...
func (o *PiggyBankEvent) HasCreatedAt() bool { if o != nil && o.CreatedAt != nil { return true } return false }
[ 0.6014207601547241, 0.3980138599872589, 0.19516217708587646, -0.5902642607688904, 0.8804894089698792, -0.24684830009937286, -0.49664032459259033, -0.4891403615474701, -0.5238305926322937, -1.7484276294708252, -0.7040073871612549, -1.5108236074447632, 0.44400903582572937, 0.4067452847957611...
func (o *PiggyBankEvent) SetCreatedAt(v time.Time) { o.CreatedAt = &v }
[ 0.5060030817985535, -0.08667785674333572, -0.08723518997430801, -0.4984741508960724, -0.43104344606399536, 0.03617318719625473, -0.5810860991477966, -1.5334190130233765, 0.07192347198724747, -0.5837061405181885, -0.3515228033065796, 0.02554696425795555, -0.08552961051464081, 0.456156402826...
func (o *PiggyBankEvent) GetUpdatedAt() time.Time { if o == nil || o.UpdatedAt == nil { var ret time.Time return ret } return *o.UpdatedAt }
[ 0.31751003861427307, -0.15510374307632446, 0.6658300161361694, -0.22042912244796753, -0.4323962330818176, 0.21123260259628296, 0.01835317723453045, -0.9392375946044922, 0.47649091482162476, -0.497641921043396, 0.0025552341248840094, -1.0184687376022339, -0.0819917544722557, 0.7074040174484...
func (o *PiggyBankEvent) GetUpdatedAtOk() (*time.Time, bool) { if o == nil || o.UpdatedAt == nil { return nil, false } return o.UpdatedAt, true }
[ -0.7927268743515015, -0.2092997133731842, 0.8832753300666809, 0.2915301024913788, -0.7644751667976379, 0.6088181734085083, -0.19534854590892792, 0.5696435570716858, 0.37521642446517944, -0.2787817418575287, -1.5603886842727661, 0.09337206929922104, 0.97866290807724, 0.15347212553024292, ...
func (o *PiggyBankEvent) HasUpdatedAt() bool { if o != nil && o.UpdatedAt != nil { return true } return false }
[ 0.22087416052818298, -0.20726244151592255, 0.6862144470214844, -0.6722070574760437, 0.022220280021429062, 0.3667811453342438, -0.7933140993118286, 0.037703901529312134, -0.4250130355358124, -0.8081077337265015, -0.9345651268959045, -1.011731505393982, 0.9932193756103516, 0.0797420367598533...
func (o *PiggyBankEvent) SetUpdatedAt(v time.Time) { o.UpdatedAt = &v }
[ 0.3785092234611511, -0.4543522894382477, 0.28341156244277954, -0.5711038112640381, -0.7342497110366821, 0.47261449694633484, -0.8127313852310181, -0.7466244101524353, 0.17428655922412872, 0.00287758931517601, -0.15736518800258636, 0.09465929120779037, 0.4723561108112335, -0.091672301292419...
func (o *PiggyBankEvent) GetCurrencyId() string { if o == nil || o.CurrencyId == nil { var ret string return ret } return *o.CurrencyId }
[ 0.5051532983779907, -0.09571248292922974, 0.17818377912044525, 0.3832961320877075, -0.638708770275116, 0.13935348391532898, 0.48037025332450867, -0.4448392689228058, 1.8102269172668457, 0.7200145721435547, 0.23273608088493347, -1.1734813451766968, -0.6360756754875183, 1.121454119682312, ...
func (o *PiggyBankEvent) GetCurrencyIdOk() (*string, bool) { if o == nil || o.CurrencyId == nil { return nil, false } return o.CurrencyId, true }
[ 0.3185492157936096, 0.31269288063049316, 0.3300371766090393, 0.11063385754823685, 0.09298653155565262, 0.6991667151451111, 0.638327956199646, 0.3734291195869446, 0.7953172922134399, 0.6068676710128784, -0.6697775721549988, -0.9650196433067322, -0.8533185720443726, 0.927966296672821, -0.6...
func (o *PiggyBankEvent) HasCurrencyId() bool { if o != nil && o.CurrencyId != nil { return true } return false }
[ 0.6559446454048157, -0.0643020048737526, 0.12588369846343994, -0.1725042313337326, -0.1538318693637848, -0.2477094531059265, 0.07422628998756409, 0.5407696962356567, 0.9695637822151184, 0.7723152041435242, -0.47823968529701233, -0.7911661267280579, -0.48627322912216187, 1.382204294204712, ...
func (o *PiggyBankEvent) SetCurrencyId(v string) { o.CurrencyId = &v }
[ 0.8378353714942932, -0.5794702172279358, -0.13239023089408875, -0.46568599343299866, -1.4193241596221924, 0.12082113325595856, -0.1498732566833496, -0.6283965110778809, 0.8562843799591064, 1.2149907350540161, 0.04376191645860672, 0.6521111726760864, -0.9941146969795227, 0.35273638367652893...
func (o *PiggyBankEvent) GetCurrencyCode() string { if o == nil || o.CurrencyCode == nil { var ret string return ret } return *o.CurrencyCode }
[ 0.44739630818367004, 0.07475584000349045, 0.1412886679172516, 0.4533371031284332, -0.23769691586494446, -0.7798237800598145, 0.378836065530777, 0.24808155000209808, 1.0597774982452393, 0.5717337727546692, 0.27705806493759155, -1.2463079690933228, -0.37571457028388977, 0.8212307691574097, ...
func (o *PiggyBankEvent) GetCurrencyCodeOk() (*string, bool) { if o == nil || o.CurrencyCode == nil { return nil, false } return o.CurrencyCode, true }
[ 0.33656081557273865, 0.5566889047622681, 0.022367829456925392, -0.4337588846683502, -0.7090456485748291, -0.3158923089504242, 0.4148130714893341, 0.9930390119552612, 0.12220294028520584, 1.6589257717132568, -0.8973338007926941, -1.3156286478042603, -0.1725933849811554, 1.4039238691329956, ...
func (o *PiggyBankEvent) HasCurrencyCode() bool { if o != nil && o.CurrencyCode != nil { return true } return false }
[ 0.711632251739502, 0.24485363066196442, 0.05498228594660759, 0.1061776727437973, 0.24746569991111755, -1.3897686004638672, 0.01859454996883869, 0.8714103698730469, 0.448501855134964, 0.6620396971702576, -0.5120218396186829, -1.04305899143219, -0.580584704875946, 1.3490467071533203, 0.355...
func (o *PiggyBankEvent) SetCurrencyCode(v string) { o.CurrencyCode = &v }
[ 1.032278299331665, -0.3233044445514679, -0.18107585608959198, -0.1268012821674347, -1.0632306337356567, -1.213590383529663, -0.0746334120631218, -0.2703387439250946, 0.34565064311027527, 0.8237602114677429, 0.3119719326496124, 1.1497514247894287, -0.8572491407394409, 0.11902487277984619, ...
func (o *PiggyBankEvent) GetCurrencySymbol() string { if o == nil || o.CurrencySymbol == nil { var ret string return ret } return *o.CurrencySymbol }
[ -0.7395564317703247, 0.9164435267448425, -0.2475098967552185, 0.07028793543577194, -0.2694581151008606, -0.35938429832458496, 0.8346912860870361, -0.35070767998695374, 0.3316628038883209, 0.02342643029987812, -0.9977230429649353, -0.9704233407974243, -0.2921885550022125, 0.3323128521442413...
func (o *PiggyBankEvent) GetCurrencySymbolOk() (*string, bool) { if o == nil || o.CurrencySymbol == nil { return nil, false } return o.CurrencySymbol, true }
[ -0.6246044039726257, 1.0113383531570435, 0.17380715906620026, -0.1831827163696289, -0.450923889875412, -0.6210420727729797, 0.728900671005249, 0.6626459360122681, -0.16290196776390076, 0.03510837256908417, -1.471790075302124, -0.6472958922386169, 0.3519939184188843, 0.2470603734254837, -...
func (o *PiggyBankEvent) HasCurrencySymbol() bool { if o != nil && o.CurrencySymbol != nil { return true } return false }
[ -0.12561878561973572, 0.8066076040267944, -0.029372017830610275, -0.2177550047636032, 0.1369173377752304, -1.080960988998413, 0.46754884719848633, 0.2584446668624878, -0.01098146103322506, -0.14168782532215118, -1.524620771408081, -1.0197867155075073, -0.015773821622133255, 0.8120144605636...
func (o *PiggyBankEvent) SetCurrencySymbol(v string) { o.CurrencySymbol = &v }
[ -0.29375535249710083, 0.3268238306045532, -0.4115138351917267, -0.5335721969604492, -0.7142717838287354, -0.4586575925350189, 0.3527183532714844, -0.8668811917304993, -0.26384639739990234, 0.337088406085968, -1.1858313083648682, 0.5336736440658569, -0.2982790172100067, -0.2407998889684677,...
func (o *PiggyBankEvent) GetCurrencyDecimalPlaces() int32 { if o == nil || o.CurrencyDecimalPlaces == nil { var ret int32 return ret } return *o.CurrencyDecimalPlaces }
[ 0.7541320323944092, 0.7064563632011414, 0.31183674931526184, 0.15671128034591675, -0.6241275668144226, 0.7165299654006958, 1.0900927782058716, -0.19114090502262115, 1.260575771331787, -1.1139904260635376, -0.16899463534355164, -1.2944985628128052, -1.1295181512832642, 0.600180983543396, ...
func (o *PiggyBankEvent) GetCurrencyDecimalPlacesOk() (*int32, bool) { if o == nil || o.CurrencyDecimalPlaces == nil { return nil, false } return o.CurrencyDecimalPlaces, true }
[ 0.7670854330062866, 1.2159302234649658, 0.463225394487381, 0.6994046568870544, -0.7788048982620239, 0.48910605907440186, 1.000318169593811, 0.3041721284389496, 0.686794102191925, -0.5530319809913635, -0.5216044783592224, -0.9859763979911804, -0.10776925832033157, 0.3124060034751892, -1.0...
func (o *PiggyBankEvent) HasCurrencyDecimalPlaces() bool { if o != nil && o.CurrencyDecimalPlaces != nil { return true } return false }
[ 0.8863269090652466, 0.5851410031318665, 0.30364811420440674, 0.04140521585941315, -0.1971394568681717, 0.08905987441539764, 0.8026086091995239, 0.3821278214454651, 0.43606215715408325, -1.1394964456558228, -0.41496890783309937, -1.7258739471435547, -0.4577929675579071, 0.9872299432754517, ...
func (o *PiggyBankEvent) SetCurrencyDecimalPlaces(v int32) { o.CurrencyDecimalPlaces = &v }
[ 0.7875797152519226, 0.34162241220474243, 0.003920160233974457, -0.4610273838043213, -0.9992899298667908, 1.1758345365524292, 0.6544193625450134, -0.6621212959289551, 0.6342531442642212, -0.47808679938316345, -0.0832560583949089, -0.5226683616638184, -0.8902458548545837, 0.4035976529121399,...
func (o *PiggyBankEvent) GetAmount() string { if o == nil || o.Amount == nil { var ret string return ret } return *o.Amount }
[ 1.1852439641952515, 0.10754158347845078, 0.3175612688064575, 0.6330159306526184, -0.09989285469055176, -0.27801239490509033, 1.2568860054016113, -0.10845951735973358, 1.3477115631103516, 0.39661139249801636, 0.36910486221313477, -0.9692980647087097, 0.02399936318397522, 0.29810672998428345...
func (o *PiggyBankEvent) GetAmountOk() (*string, bool) { if o == nil || o.Amount == nil { return nil, false } return o.Amount, true }
[ 0.2849624752998352, -0.5497978925704956, 0.5776981115341187, 0.6930950284004211, -0.39664071798324585, 0.3275802731513977, 0.8552613258361816, 0.37128961086273193, 0.6887531876564026, 1.3930264711380005, -0.39380890130996704, -0.3048938512802124, 0.8909527063369751, 0.9035170674324036, 0...
func (o *PiggyBankEvent) HasAmount() bool { if o != nil && o.Amount != nil { return true } return false }
[ 1.3244662284851074, -0.13364319503307343, 0.4890253245830536, 0.5197504162788391, 0.1313345581293106, -0.5997996926307678, 0.6621608734130859, 0.6174403429031372, 0.6721413731575012, -0.045739416033029556, -0.5487703084945679, -0.5707003474235535, 0.42803794145584106, 0.373811811208725, ...
func (o *PiggyBankEvent) SetAmount(v string) { o.Amount = &v }
[ 1.2495263814926147, -0.2357308715581894, -0.18658356368541718, 0.13738664984703064, -1.2065584659576416, -0.3143812119960785, 0.23151269555091858, -0.7454549670219421, 0.4770762622356415, 0.9676521420478821, 0.038723696023225784, 0.9367305040359497, -0.333481103181839, -0.3501904606819153,...
func (o *PiggyBankEvent) GetTransactionJournalId() string { if o == nil || o.TransactionJournalId == nil { var ret string return ret } return *o.TransactionJournalId }
[ 0.5814326405525208, -0.3794654905796051, -0.40554139018058777, -0.6391400694847107, -0.37070152163505554, -0.5986947417259216, -0.46834731101989746, -0.284818559885025, 0.43203386664390564, 0.40251320600509644, 0.5039088726043701, -1.5010771751403809, -0.5027700066566467, 0.702730596065521...
func (o *PiggyBankEvent) GetTransactionJournalIdOk() (*string, bool) { if o == nil || o.TransactionJournalId == nil { return nil, false } return o.TransactionJournalId, true }
[ 0.23812443017959595, -0.29047319293022156, 0.05786537751555443, -0.9767833948135376, 0.036719076335430145, -0.49938130378723145, -0.31439894437789917, 0.46564826369285583, -0.554172694683075, 1.0193614959716797, -0.33483660221099854, -1.5303879976272583, 0.18178872764110565, 0.350712865591...
func (o *PiggyBankEvent) HasTransactionJournalId() bool { if o != nil && o.TransactionJournalId != nil { return true } return false }
[ 1.0826478004455566, -0.3978135883808136, -0.3491859436035156, -1.1427501440048218, 0.2835431694984436, -1.2915407419204712, -0.8884722590446472, 0.5881147980690002, -0.12144255638122559, 0.18479757010936737, 0.13177351653575897, -1.2972917556762695, 0.25298258662223816, 0.8773499131202698,...
func (o *PiggyBankEvent) SetTransactionJournalId(v string) { o.TransactionJournalId = &v }
[ 0.7725481390953064, -0.8946333527565002, -0.7235742807388306, -1.6776437759399414, -0.6662357449531555, -0.5215809941291809, -1.0833170413970947, -0.3491937518119812, -0.16275018453598022, 1.099815011024475, 0.36844995617866516, -0.17574281990528107, -0.17552131414413452, -0.26079347729682...