text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func WithTLSClientSecretName(s *string) ReconcilerOption {
return func(r *Reconciler) {
r.tlsClientSecretName = s
}
} | [
1.3230899572372437,
-1.2595349550247192,
0.35973283648490906,
-0.5370296835899353,
-0.46627673506736755,
0.16016823053359985,
-0.36565637588500977,
-0.3082248866558075,
-0.3262517750263214,
0.28160619735717773,
-0.7606548070907593,
-0.9705976247787476,
1.284080982208252,
-0.294744223356246... |
func WithNewPackageFn(f func() v1.Package) ReconcilerOption {
return func(r *Reconciler) {
r.newPackage = f
}
} | [
-0.26373404264450073,
-0.255705326795578,
0.4820006489753723,
0.5359386205673218,
0.156341090798378,
-0.9557420611381531,
0.6177906394004822,
0.6318334341049194,
0.2702033817768097,
0.16383139789104462,
-0.35254454612731934,
-1.0959757566452026,
1.0335694551467896,
0.2243020087480545,
-1... |
func WithNewPackageRevisionFn(f func() v1.PackageRevision) ReconcilerOption {
return func(r *Reconciler) {
r.newPackageRevision = f
}
} | [
-0.24179957807064056,
-0.14131662249565125,
0.3571379482746124,
0.06344103813171387,
-0.42134779691696167,
-0.9297594428062439,
-0.10437918454408646,
0.8536359667778015,
-0.09497992694377899,
-0.2608168423175812,
-0.0893079936504364,
-0.8529275059700012,
1.1597254276275635,
0.4040050506591... |
func WithNewPackageRevisionListFn(f func() v1.PackageRevisionList) ReconcilerOption {
return func(r *Reconciler) {
r.newPackageRevisionList = f
}
} | [
-0.29453611373901367,
0.12436720728874207,
0.16618254780769348,
0.09453804790973663,
-0.004909492563456297,
-0.8494036793708801,
-0.563168466091156,
0.8502110838890076,
0.0919741690158844,
0.06453671306371689,
-0.7848883867263794,
-0.904376745223999,
1.221171259880066,
0.69846510887146,
... |
func WithRevisioner(d Revisioner) ReconcilerOption {
return func(r *Reconciler) {
r.pkg = d
}
} | [
0.4145389497280121,
0.10248206555843353,
0.4174369275569916,
-0.2853703796863556,
-0.3658992052078247,
-0.026227565482258797,
0.43626710772514343,
0.39237457513809204,
0.9323359131813049,
-0.5394657254219055,
-0.009458730928599834,
-1.225163459777832,
1.193058967590332,
0.6768795847892761,... |
func WithLogger(log logging.Logger) ReconcilerOption {
return func(r *Reconciler) {
r.log = log
}
} | [
0.2658175230026245,
0.3613237738609314,
0.42070305347442627,
-0.6295534372329712,
0.10144784301519394,
-0.6752412915229797,
0.6514321565628052,
0.16685952246189117,
0.9487703442573547,
-0.506918728351593,
0.175656259059906,
-1.1931804418563843,
0.13798178732395172,
0.3979676067829132,
-0... |
func WithRecorder(er event.Recorder) ReconcilerOption {
return func(r *Reconciler) {
r.record = er
}
} | [
0.5833092927932739,
-0.06561136990785599,
0.5929172039031982,
-0.03425484150648117,
-0.21918360888957977,
-0.35106417536735535,
0.5030696392059326,
-0.21078220009803772,
0.8836118578910828,
-0.33433881402015686,
0.272635817527771,
-0.8999875783920288,
0.9704685211181641,
0.510283350944519,... |
func SetupProvider(mgr ctrl.Manager, o controller.Options) error {
name := "packages/" + strings.ToLower(v1.ProviderGroupKind)
np := func() v1.Package { return &v1.Provider{} }
nr := func() v1.PackageRevision { return &v1.ProviderRevision{} }
nrl := func() v1.PackageRevisionList { return &v1.ProviderRevisionList{} ... | [
-0.04430745542049408,
0.16693979501724243,
0.809651255607605,
-0.16165174543857574,
0.3074294924736023,
-0.6442466974258423,
0.11180198937654495,
-0.25225839018821716,
0.5078033208847046,
0.5113597512245178,
0.4474337697029114,
-0.2840949296951294,
0.11262843012809753,
0.9834875464439392,
... |
func SetupConfiguration(mgr ctrl.Manager, o controller.Options) error {
name := "packages/" + strings.ToLower(v1.ConfigurationGroupKind)
np := func() v1.Package { return &v1.Configuration{} }
nr := func() v1.PackageRevision { return &v1.ConfigurationRevision{} }
nrl := func() v1.PackageRevisionList { return &v1.Con... | [
0.2472398430109024,
0.4553172290325165,
0.6925358176231384,
-0.2717546224594116,
0.21279209852218628,
-1.2620189189910889,
0.2575289011001587,
-0.34552648663520813,
0.052252981811761856,
0.4896945059299469,
0.2855241298675537,
-0.6672267317771912,
-0.1087118461728096,
0.5580981373786926,
... |
func NewReconciler(mgr ctrl.Manager, opts ...ReconcilerOption) *Reconciler {
r := &Reconciler{
client: resource.ClientApplicator{
Client: mgr.GetClient(),
Applicator: resource.NewAPIPatchingApplicator(mgr.GetClient()),
},
pkg: NewNopRevisioner(),
log: logging.NewNopLogger(),
record: event.New... | [
-0.009072327986359596,
-0.49454960227012634,
0.4042675793170929,
0.002233245875686407,
-0.6561508774757385,
-0.23836678266525269,
0.06350996345281601,
0.6987946033477783,
0.05009520798921585,
-0.42013636231422424,
0.5748738646507263,
-0.1641402393579483,
-0.3660118579864502,
0.777520716190... |
func getSecretName(name, suffix string) *string {
// 2 chars for '%s' in suffix
if len(name) > 251-len(suffix) {
name = name[0 : 251-len(suffix)]
}
s := fmt.Sprintf(suffix, name)
return &s
} | [
0.26551344990730286,
-0.38860949873924255,
0.6294622421264648,
0.1544126570224762,
-0.8820156455039978,
-0.486380934715271,
-1.0714622735977173,
-0.1193888708949089,
-0.15642042458057404,
0.22253181040287018,
-0.5867593884468079,
1.3597195148468018,
0.2992372512817383,
-0.5243210196495056,... |
func waitTimeout(wg *sync.WaitGroup, timeout time.Duration) bool {
c := make(chan struct{})
go func() {
defer close(c)
wg.Wait()
}()
select {
case <-c:
return false // wait succeeded
case <-time.After(timeout):
return true // wait timed out
}
} | [
0.2137545645236969,
0.7160052061080933,
0.4661519527435303,
-0.13126085698604584,
-0.35348623991012573,
0.25265198945999146,
-0.44420894980430603,
0.04303440824151039,
-0.8614292740821838,
0.33963754773139954,
-0.17189641296863556,
-0.41080647706985474,
-0.2959880530834198,
-0.156731247901... |
func NewOperation(size int) Operation {
if size < 1 {
panic("Operation size must be greater than zero")
}
Op := Operation{}
Op.Size = size
for i := 0; i < size; i++ {
Op.Values = append(Op.Values, 0.0)
}
Op.cumm = make([]float64, len(Op.Values))
return Op
} | [
0.08613480627536774,
0.6540878415107727,
0.4226401746273041,
0.5989674925804138,
-0.730949342250824,
-0.5022779107093811,
0.816839337348938,
-0.7152635455131531,
0.7580019235610962,
-0.09334046393632889,
-0.5896686315536499,
-0.8315930962562561,
-0.3996806740760803,
0.11225015670061111,
... |
func (o *Operation) LoadOperation(data []float64) {
for i, v := range data {
o.RunOperation(v, i, i)
}
computeValues(o)
} | [
-0.6003751158714294,
1.1879521608352661,
0.4046589434146881,
0.8226969242095947,
-0.22456464171409607,
-0.4539366662502289,
0.83274245262146,
0.2699633836746216,
0.39864689111709595,
0.39706099033355713,
-0.47790834307670593,
-1.1673091650009155,
-0.36802971363067627,
0.40087252855300903,
... |
func (o *Operation) RunOperation(v float64, l, u int) bool {
if l < 0 || l > u || u >= o.Size {
return false
}
o.cumm[u] += v
if l > 0 {
o.cumm[l-1] -= v
}
computeValues(o)
return true
} | [
-0.9787282347679138,
1.0076625347137451,
0.6521962285041809,
0.5002260804176331,
-0.33957338333129883,
-0.03303803503513336,
0.8472962379455566,
0.6365798115730286,
0.22276358306407928,
-0.036285728216171265,
-0.9346656203269958,
-0.5978112816810608,
-1.0004353523254395,
-0.330319166183471... |
func computeValues(o *Operation) {
o.Values[o.Size-1] = o.cumm[o.Size-1]
for i := o.Size - 2; i >= 0; i-- {
o.Values[i] = o.Values[i+1] + o.cumm[i]
}
} | [
0.19302479922771454,
1.2041118144989014,
0.43399009108543396,
0.5630864500999451,
0.3452549874782562,
-0.5411468148231506,
0.9594826698303223,
0.6720550060272217,
-0.052759695798158646,
0.3065127432346344,
-0.2766551673412323,
-0.0016398135339841247,
0.08924932777881622,
0.0743524804711341... |
func (o *Operation) Reset() {
*o = NewOperation(o.Size)
} | [
-0.17439958453178406,
0.9298703074455261,
0.29488593339920044,
0.39630526304244995,
-0.08498691767454147,
-0.9313538670539856,
1.44753897190094,
-0.643162190914154,
-0.5191003084182739,
0.1534361094236374,
-0.9010713696479797,
0.072419673204422,
0.14788290858268738,
-1.3341445922851562,
... |
func (st *simpleTokenizer) parseSource(source io.Reader, lproc vertigo.LineProcessor) error {
brd := bufio.NewScanner(source)
ch := make(chan []interface{})
chunk := make([]interface{}, channelChunkSize)
go func() {
i := 0
for brd.Scan() {
line := st.parseLine(brd.Text())
for _, token := range line {
... | [
0.5823347568511963,
-0.39016979932785034,
0.6108667850494385,
-0.48194193840026855,
-0.6608008742332458,
-1.4550403356552124,
-0.28672170639038086,
0.6985644698143005,
0.3923302888870239,
-0.15578484535217285,
-0.25694161653518677,
0.45185595750808716,
-0.7894420027732849,
0.99382907152175... |
func ParseFile(conf *vertigo.ParserConf, lproc vertigo.LineProcessor) error {
st, stErr := newSimpleTokenizer(conf.Encoding)
if stErr != nil {
return stErr
}
rd, err := files.NewReader(conf.InputFilePath)
if err == nil {
return st.parseSource(rd, lproc)
}
return err
} | [
1.0545796155929565,
0.20767100155353546,
0.1337980479001999,
-0.23528321087360382,
-0.30628502368927,
-0.023163242265582085,
0.0011790390126407146,
0.669249951839447,
-0.9685157537460327,
-0.4237043857574463,
-0.4462459087371826,
-0.5263004302978516,
-0.4692542254924774,
0.3232115507125854... |
func (r *AWSEC2SpotFleet_GroupIdentifier) AWSCloudFormationType() string {
return "AWS::EC2::SpotFleet.GroupIdentifier"
} | [
-0.2872432768344879,
0.3138040602207184,
0.2762003540992737,
0.33778586983680725,
0.07942228764295578,
0.2846033573150635,
0.08356819301843643,
0.1268959790468216,
0.2622465491294861,
-0.5829163789749146,
-0.02872411720454693,
0.2551099956035614,
0.5844101309776306,
1.288983702659607,
1.... |
func NewIsNil() *IsNil {
isNil := &IsNil{}
isNil.OperatorImpl = NewOperator("ISNIL", "EXPR.Operator.ISNIL", booleanType, []interface{}{stringType, "ISNIL"})
return isNil
} | [
0.18368364870548248,
-0.8181899189949036,
0.4444989264011383,
0.3517972528934479,
-1.1860164403915405,
-0.6865901350975037,
0.03187710419297218,
0.21120843291282654,
0.17652563750743866,
0.4278770089149475,
-1.0577398538589478,
0.5692515969276428,
-0.2708512544631958,
-0.6066898703575134,
... |
func (i *isNilInstance) GetBoolean(ob interface{}) bool {
ctx := EvaluationContextImpl{
object: ob,
}
result := i.evaluate(&ctx)
return result
} | [
-0.8082054853439331,
0.5993732810020447,
0.644368588924408,
0.14556817710399628,
-0.2815965712070465,
1.0325530767440796,
0.7067253589630127,
-0.1521061360836029,
-0.08101337403059006,
-0.7031901478767395,
-0.5245507955551147,
0.9171671867370605,
-0.7995442748069763,
-0.546435534954071,
... |
func New(db *gorm.DB) *Repository {
return &Repository{
db: db,
}
} | [
0.2460900843143463,
0.05963989719748497,
-0.2544303238391876,
-0.06479209661483765,
-0.5331192016601562,
-0.577095627784729,
-0.8817046880722046,
0.7844526171684265,
-0.5580282211303711,
-0.0820264220237732,
-0.23922495543956757,
0.024175450205802917,
0.4003625810146332,
1.3789323568344116... |
func HomeHandler(w http.ResponseWriter, r *http.Request) {
start := time.Now()
defer func() {
duration := time.Since(start)
go latencyEndpoint(r.URL.Path, http.StatusOK, duration)
}()
time.Sleep(time.Duration(rand.Intn(1000)) * time.Millisecond)
fmt.Fprintln(w, "Hi there!, You are in ", r.URL.Path)
} | [
0.2190738022327423,
-0.4808752238750458,
0.6619325876235962,
0.4607830345630646,
-0.4457464814186096,
0.7850622534751892,
0.3956723213195801,
0.4359860122203827,
0.5553113222122192,
0.4409964978694916,
-0.13854865729808807,
0.016775550320744514,
-0.7421295046806335,
-0.36589422821998596,
... |
func VersionName() string {
return "2.06.09"
} | [
0.11164572834968567,
-1.7608239650726318,
0.5512266159057617,
1.0170379877090454,
-0.7656041383743286,
0.5351879000663757,
0.38198021054267883,
0.5222873687744141,
-0.4915410280227661,
1.1228348016738892,
-0.505664050579071,
-0.24536791443824768,
0.7975091934204102,
0.0779152661561966,
-... |
func (cc *Game) Init(stub shim.ChaincodeStubInterface) peer.Response {
return shim.Success(nil)
} | [
-0.5687277317047119,
-0.23765012621879578,
0.6332998275756836,
-0.30517253279685974,
0.4514227509498596,
0.268137127161026,
0.09269560873508453,
-0.2988722324371338,
-0.337176650762558,
-0.2390647977590561,
-0.2560059726238251,
0.2467811405658722,
-1.0108383893966675,
0.5539326071739197,
... |
func (cc *Game) Invoke(stub shim.ChaincodeStubInterface) peer.Response {
function, args := stub.GetFunctionAndParameters()
var result []byte
var err error
if function == SETUPGAME {
result, err = setupGame(stub, args)
} else if function == PLAY {
result, err = play(stub, args)
} else if function == GETPLAY... | [
-1.0599480867385864,
-0.026668237522244453,
1.1983802318572998,
0.31748446822166443,
0.37635567784309387,
-0.7088752388954163,
0.14473548531532288,
-0.5692850947380066,
-0.5869924426078796,
0.4738011956214905,
0.16858506202697754,
0.2787955105304718,
-1.3477860689163208,
-0.067276425659656... |
func (rb *redisBackend) CreateTicket(ctx context.Context, ticket *pb.Ticket) error {
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return status.Errorf(codes.Unavailable, "CreateTicket, id: %s, failed to connect to redis: %v", ticket.GetId(), err)
}
defer handleConnectionClose(&redisConn)
valu... | [
-0.33846285939216614,
0.37704241275787354,
0.5822492837905884,
-0.6104868650436401,
0.500967264175415,
0.15923401713371277,
-0.7612978219985962,
-0.42574673891067505,
-0.10006366670131683,
-0.007424349896609783,
-0.02994249016046524,
-0.06001594662666321,
-0.7784159183502197,
0.38939186930... |
func (rb *redisBackend) GetTicket(ctx context.Context, id string) (*pb.Ticket, error) {
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return nil, status.Errorf(codes.Unavailable, "GetTicket, id: %s, failed to connect to redis: %v", id, err)
}
defer handleConnectionClose(&redisConn)
value, err :... | [
-0.36078688502311707,
0.4601878821849823,
0.6395653486251831,
-0.28196728229522705,
0.05415695533156395,
-0.311604768037796,
-0.28501594066619873,
-0.48099595308303833,
0.1919187754392624,
-0.2049340307712555,
0.49415263533592224,
0.7352715730667114,
-0.40814319252967834,
0.004234104882925... |
func (rb *redisBackend) DeleteTicket(ctx context.Context, id string) error {
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return status.Errorf(codes.Unavailable, "DeleteTicket, id: %s, failed to connect to redis: %v", id, err)
}
defer handleConnectionClose(&redisConn)
value, err := redis.Int(r... | [
-0.25074151158332825,
0.5125327110290527,
0.5504822731018066,
-0.6956650614738464,
0.1288786232471466,
-0.24624976515769958,
-0.6245784759521484,
-0.3681354224681854,
0.326992392539978,
-0.30097001791000366,
0.20440533757209778,
0.4105525612831116,
-0.5620527863502502,
0.6607555150985718,
... |
func (rb *redisBackend) IndexTicket(ctx context.Context, ticket *pb.Ticket) error {
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return status.Errorf(codes.Unavailable, "IndexTicket, id: %s, failed to connect to redis: %v", ticket.GetId(), err)
}
defer handleConnectionClose(&redisConn)
err = r... | [
-0.396493136882782,
0.2870591878890991,
0.789352536201477,
-0.5001896023750305,
0.1618357002735138,
0.2890927195549011,
0.039876390248537064,
0.020001543685793877,
0.11670993268489838,
0.3131326735019684,
0.06033250316977501,
0.28889209032058716,
-1.1001038551330566,
0.04824017360806465,
... |
func (rb *redisBackend) DeindexTicket(ctx context.Context, id string) error {
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return status.Errorf(codes.Unavailable, "DeindexTicket, id: %s, failed to connect to redis: %v", id, err)
}
defer handleConnectionClose(&redisConn)
err = redisConn.Send("S... | [
0.11836151033639908,
0.19835898280143738,
0.896727979183197,
-0.8594904541969299,
-0.45620957016944885,
0.2836303412914276,
-0.6242033243179321,
0.34161505103111267,
-0.16923676431179047,
-0.5596345663070679,
-0.178623765707016,
-0.0062811304815113544,
-1.2437132596969604,
0.48139104247093... |
func (rb *redisBackend) GetIndexedIDSet(ctx context.Context) (map[string]struct{}, error) {
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return nil, status.Errorf(codes.Unavailable, "GetIndexedIDSet, failed to connect to redis: %v", err)
}
defer handleConnectionClose(&redisConn)
ttl := getBack... | [
-0.6661125421524048,
-0.6020914316177368,
1.0057369470596313,
-0.8924542665481567,
-0.8069931268692017,
-0.2622242271900177,
-0.0020627621561288834,
-0.2957082986831665,
-0.5206498503684998,
0.16059507429599762,
-0.2241099625825882,
0.5156159996986389,
-0.7247585654258728,
0.13805992901325... |
func (rb *redisBackend) GetTickets(ctx context.Context, ids []string) ([]*pb.Ticket, error) {
if len(ids) == 0 {
return nil, nil
}
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return nil, status.Errorf(codes.Unavailable, "GetTickets, failed to connect to redis: %v", err)
}
defer handleConne... | [
-0.8865289688110352,
0.5225328207015991,
0.5204329490661621,
-0.20686756074428558,
0.19334186613559723,
-0.410418301820755,
-0.4650360643863678,
-0.33233198523521423,
0.3064253330230713,
0.0890897735953331,
0.28475746512413025,
0.0926210954785347,
-0.7145857810974121,
0.4978375732898712,
... |
func (rb *redisBackend) UpdateAssignments(ctx context.Context, req *pb.AssignTicketsRequest) (*pb.AssignTicketsResponse, []*pb.Ticket, error) {
resp := &pb.AssignTicketsResponse{}
if len(req.Assignments) == 0 {
return resp, []*pb.Ticket{}, nil
}
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
r... | [
-1.5307443141937256,
-0.35806724429130554,
0.8755630254745483,
-0.38078752160072327,
-0.5736227631568909,
-0.09811866283416748,
0.044716235250234604,
-0.30317893624305725,
-0.5510116815567017,
0.41427871584892273,
0.8676150441169739,
-0.2951072156429291,
-1.0845290422439575,
1.092365860939... |
func (rb *redisBackend) GetAssignments(ctx context.Context, id string, callback func(*pb.Assignment) error) error {
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return status.Errorf(codes.Unavailable, "GetAssignments, id: %s, failed to connect to redis: %v", id, err)
}
defer handleConnectionClos... | [
-0.36919718980789185,
0.39545467495918274,
0.8247019052505493,
-0.3384452164173126,
-0.4506063163280487,
-0.422953337430954,
-0.48621076345443726,
-0.3928212821483612,
-0.22329215705394745,
0.31540948152542114,
0.38150331377983093,
0.20589099824428558,
-0.9048041105270386,
-0.1079515591263... |
func (rb *redisBackend) AddTicketsToPendingRelease(ctx context.Context, ids []string) error {
if len(ids) == 0 {
return nil
}
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return status.Errorf(codes.Unavailable, "AddTicketsToPendingRelease, failed to connect to redis: %v", err)
}
defer handl... | [
-1.3398895263671875,
-0.0389656238257885,
0.8915830254554749,
-0.6219159364700317,
0.04160350188612938,
-0.4048667848110199,
-0.8502138257026672,
0.426135778427124,
-0.39683499932289124,
0.4550953209400177,
0.5754964351654053,
-0.40213826298713684,
-0.7445481419563293,
0.7757253646850586,
... |
func (rb *redisBackend) DeleteTicketsFromPendingRelease(ctx context.Context, ids []string) error {
if len(ids) == 0 {
return nil
}
redisConn, err := rb.redisPool.GetContext(ctx)
if err != nil {
return status.Errorf(codes.Unavailable, "DeleteTicketsFromPendingRelease, failed to connect to redis: %v", err)
}
d... | [
-0.36316558718681335,
-0.15731054544448853,
0.7095445394515991,
-0.044646210968494415,
-0.6386502385139465,
-0.6306619048118591,
-0.4016084671020508,
0.6666748523712158,
-0.22577470541000366,
0.3389793038368225,
0.7836433053016663,
-0.32581260800361633,
-0.8219226598739624,
0.9261590838432... |
func (rb *redisBackend) newExponentialBackoffStrategy() backoff.BackOff {
backoffStrat := backoff.NewExponentialBackOff()
backoffStrat.InitialInterval = rb.cfg.GetDuration("backoff.initialInterval")
backoffStrat.RandomizationFactor = rb.cfg.GetFloat64("backoff.randFactor")
backoffStrat.Multiplier = rb.cfg.GetFloat6... | [
0.5827588438987732,
-0.3039877712726593,
0.5797561407089233,
-0.8089689016342163,
-0.3479982316493988,
-0.26696330308914185,
-0.9376807808876038,
0.3048090934753418,
0.19009310007095337,
0.5481541156768799,
0.6161141991615295,
0.06649981439113617,
0.14189454913139343,
-0.36527368426322937,... |
func LineReader(file *os.File, bus ChannelBus) {
r := openReader(file)
for line, err := r.ReadString('\n'); err == nil; line, err = r.ReadString('\n') {
bus.CurrentLine <- line
}
file.Close()
close(bus.CurrentLine)
} | [
0.10600586980581284,
-1.4528242349624634,
0.5238812565803528,
-0.43997490406036377,
0.13413207232952118,
0.7375249266624451,
-0.14922943711280823,
1.0119813680648804,
-0.9717782139778137,
-0.23373842239379883,
0.7311278581619263,
0.012698783539235592,
-0.5390354990959167,
0.359383136034011... |
func LineParser(bus ChannelBus, combineFiles bool) {
onTableScheme, onTableData, pastHeader := false, false, false
headerMetaData := fmt.Sprintf("-- Generated with mysqldumpsplit on %s\n\n", time.Now())
for line := range bus.CurrentLine {
// The beginning of a mysqldump has some flags at the top of the file. Captu... | [
-0.12162797152996063,
-0.3408028781414032,
0.8096098899841309,
0.06549889594316483,
0.41577446460723877,
0.49011778831481934,
0.2675016224384308,
0.3789326548576355,
-0.7115803956985474,
-0.1808156818151474,
0.01478715892881155,
-0.6092907190322876,
-0.14136898517608643,
0.7632553577423096... |
func Writer(outputDir string, skipData []string, skipTables []string, bus ChannelBus) {
os.Mkdir(outputDir, os.ModePerm)
numTables := 0
for tableName := range bus.TableName {
var skipTableData bool
skipTable := StringInArray(tableName, &skipTables)
if skipTable {
// also skip the data for the table.
sk... | [
-0.18480591475963593,
0.45206180214881897,
0.5132555961608887,
0.560607373714447,
-0.2188808023929596,
0.1021193265914917,
1.124893069267273,
0.3837902545928955,
-0.5365346670150757,
-0.2855713665485382,
0.019665634259581566,
-0.14787361025810242,
-0.1009245216846466,
0.23411571979522705,
... |
func CombineFiles(filePath, outputDir string, bus ChannelBus) {
combineFile, _ := os.Create(filePath)
cleanUpOutputDir := true
files, _ := ioutil.ReadDir(outputDir)
bus.Log <- fmt.Sprintf("Combining all %d files into %s\n", len(files), filePath)
for _, file := range files {
fullPath := path.Join(outputDir, fil... | [
0.3699237108230591,
-0.309414803981781,
0.7798335552215576,
0.5448167324066162,
0.10044112056493759,
-0.49745601415634155,
1.0521806478500366,
0.5174504518508911,
-1.0954207181930542,
0.6492576003074646,
0.6971063613891602,
-0.788844883441925,
-0.5037117004394531,
0.9319785833358765,
-0.... |
func Logger(bus ChannelBus) {
for msg := range bus.Log {
if msg != "" {
log.Output(3, msg)
}
}
} | [
0.39718684554100037,
0.38355955481529236,
0.22853760421276093,
-0.11283890157938004,
0.41890525817871094,
-0.022356992587447166,
-0.1674937903881073,
0.5976755023002625,
-0.7564414143562317,
-0.21367903053760529,
-0.41657838225364685,
-0.13098204135894775,
-0.8387556076049805,
1.3254468441... |
func BubbleSort(list []int) {
var sorted bool = false
var lastUnsorted int = len(list)-1
for !sorted{
sorted = true
for i := 0; i<lastUnsorted; i++{
if list[1]>list[i+1]{
i, i+1 = swap(i+1,i)
sorted = false
}
}
}
} | [
-0.8840691447257996,
0.5615953207015991,
0.9012748003005981,
0.00007060982898110524,
-0.7461055517196655,
0.843808650970459,
1.1121914386749268,
0.008130740374326706,
0.09658757597208023,
-0.40060773491859436,
-1.4177879095077515,
0.25558432936668396,
-1.4738826751708984,
1.135790228843689... |
func NewDataExportQuery() *DataExportQuery {
this := DataExportQuery{}
return &this
} | [
0.5364782810211182,
0.1943226009607315,
0.03043510764837265,
0.77143394947052,
-0.9538733959197998,
-0.9229207038879395,
-0.05710058659315109,
0.44666537642478943,
0.25674688816070557,
-0.5175595283508301,
-0.3751184344291687,
0.33431771397590637,
0.18714958429336548,
0.8210361003875732,
... |
func NewDataExportQueryWithDefaults() *DataExportQuery {
this := DataExportQuery{}
return &this
} | [
0.340407133102417,
0.5706886053085327,
-0.1297769546508789,
0.6373457908630371,
0.06660612672567368,
-0.7902258038520813,
-0.7124527096748352,
0.01948394626379013,
0.3475876450538635,
-0.6446654796600342,
-0.7237304449081421,
-0.8902341723442078,
-0.22148160636425018,
0.5397021174430847,
... |
func (o *DataExportQuery) GetArchived() string {
if o == nil || o.Archived == nil {
var ret string
return ret
}
return *o.Archived
} | [
1.287734031677246,
-0.06841468065977097,
0.45671477913856506,
0.40170955657958984,
0.15348835289478302,
0.3970852196216583,
0.7780274152755737,
0.20265500247478485,
0.5293005704879761,
-0.820106565952301,
-0.27390122413635254,
-0.35820022225379944,
-0.128027081489563,
0.3030901253223419,
... |
func (o *DataExportQuery) GetArchivedOk() (*string, bool) {
if o == nil || o.Archived == nil {
return nil, false
}
return o.Archived, true
} | [
0.5957285165786743,
-0.3556826114654541,
0.49295875430107117,
0.24501021206378937,
0.40226641297340393,
0.6927915811538696,
0.6177667379379272,
1.1534262895584106,
-0.24806645512580872,
-0.26587560772895813,
-0.9499971866607666,
0.3148406744003296,
0.28253623843193054,
-0.02375688403844833... |
func (o *DataExportQuery) HasArchived() bool {
if o != nil && o.Archived != nil {
return true
}
return false
} | [
1.434971570968628,
0.16768628358840942,
0.4539012014865875,
-0.26100337505340576,
0.9035739898681641,
0.14791154861450195,
-0.058973364531993866,
1.1077991724014282,
-0.07916640490293503,
-0.90622478723526,
-1.1255546808242798,
-0.3637727200984955,
0.36089879274368286,
0.05279891937971115,... |
func (o *DataExportQuery) SetArchived(v string) {
o.Archived = &v
} | [
1.314776062965393,
-0.4405162036418915,
0.021152498200535774,
-0.4508567452430725,
-0.6361914873123169,
0.14784105122089386,
-0.35924288630485535,
-0.48626962304115295,
-0.37619733810424805,
-0.6484042406082153,
-0.5032461285591125,
1.4301588535308838,
-0.09264224022626877,
-0.738785505294... |
func (o *DataExportQuery) GetUnitReference() int32 {
if o == nil || o.UnitReference == nil {
var ret int32
return ret
}
return *o.UnitReference
} | [
-0.3993825912475586,
0.36342260241508484,
0.4924550950527191,
0.237057626247406,
0.3626968264579773,
0.042196642607450485,
0.6426463723182678,
-0.1710711568593979,
0.45553869009017944,
-0.5189573168754578,
-0.10016266256570816,
-0.7875845432281494,
-1.0890693664550781,
-0.06560731679201126... |
func (o *DataExportQuery) GetUnitReferenceOk() (*int32, bool) {
if o == nil || o.UnitReference == nil {
return nil, false
}
return o.UnitReference, true
} | [
-0.6430457234382629,
0.2925014793872833,
0.7810595631599426,
-0.27987033128738403,
0.6630393266677856,
-0.0659966692328453,
0.9548266530036926,
0.785831868648529,
0.2638436555862427,
0.18257392942905426,
-0.16943423449993134,
-0.4725443720817566,
0.11916668713092804,
-0.0016878864262253046... |
func (o *DataExportQuery) HasUnitReference() bool {
if o != nil && o.UnitReference != nil {
return true
}
return false
} | [
-0.23295944929122925,
0.31169989705085754,
0.40646544098854065,
-0.7018943428993225,
0.8888369798660278,
-0.6144679188728333,
0.32563140988349915,
0.7246597409248352,
0.16355590522289276,
-0.6113895177841187,
-0.6491646766662598,
-0.7574918866157532,
-0.431538462638855,
0.05749179795384407... |
func (o *DataExportQuery) SetUnitReference(v int32) {
o.UnitReference = &v
} | [
-0.5387441515922546,
0.27553150057792664,
0.03945435211062431,
-1.1571937799453735,
-0.345570832490921,
0.4048061966896057,
-0.16048021614551544,
-0.6450928449630737,
-0.13379864394664764,
0.10982833057641983,
0.11130326241254807,
0.35154712200164795,
-0.3647356331348419,
-0.63499605655670... |
func (o *DataExportQuery) GetLinkDeeplinks() string {
if o == nil || o.LinkDeeplinks == nil {
var ret string
return ret
}
return *o.LinkDeeplinks
} | [
0.0620587021112442,
0.3415045142173767,
0.4269922971725464,
-0.005394970066845417,
0.03135953098535538,
0.236702099442482,
0.7442647814750671,
-0.3024939000606537,
0.9742472767829895,
-1.1029150485992432,
-0.7978109121322632,
-0.6881442666053772,
-0.5737676024436951,
-0.21264491975307465,
... |
func (o *DataExportQuery) GetLinkDeeplinksOk() (*string, bool) {
if o == nil || o.LinkDeeplinks == nil {
return nil, false
}
return o.LinkDeeplinks, true
} | [
0.013651632703840733,
-0.18958193063735962,
0.3959145247936249,
-0.4950287342071533,
-0.20742356777191162,
0.28422224521636963,
0.9417961835861206,
-0.11815651506185532,
0.15629775822162628,
-0.38582471013069153,
-1.2648192644119263,
-0.5725961327552795,
0.5014848113059998,
0.0225908029824... |
func (o *DataExportQuery) HasLinkDeeplinks() bool {
if o != nil && o.LinkDeeplinks != nil {
return true
}
return false
} | [
0.35427534580230713,
0.2840120494365692,
0.5737897157669067,
-0.7481908798217773,
0.8927348852157593,
-0.36387842893600464,
0.4279917776584625,
0.20454147458076477,
0.3656516671180725,
-1.395196557044983,
-1.0011417865753174,
-0.9940010905265808,
0.038865964859724045,
0.3373318910598755,
... |
func (o *DataExportQuery) SetLinkDeeplinks(v string) {
o.LinkDeeplinks = &v
} | [
0.36451971530914307,
-0.08454921096563339,
0.03136328235268593,
-0.9197801351547241,
-0.21808156371116638,
-0.04389931261539459,
0.32041049003601074,
-0.6260198354721069,
0.3379349708557129,
-1.1087898015975952,
-0.4730800986289978,
1.0822265148162842,
-0.25849249958992004,
-0.919056951999... |
func (o *DataExportQuery) GetTags() []string {
if o == nil || o.Tags == nil {
var ret []string
return ret
}
return *o.Tags
} | [
0.6768661141395569,
1.1134095191955566,
-0.15295647084712982,
0.5946798324584961,
0.5911100506782532,
-0.5797020792961121,
-0.1807580292224884,
-0.7742061018943787,
0.817697286605835,
-0.6070334315299988,
-0.193474680185318,
-1.147898554801941,
-0.5573429465293884,
1.147168755531311,
0.1... |
func (o *DataExportQuery) GetTagsOk() (*[]string, bool) {
if o == nil || o.Tags == nil {
return nil, false
}
return o.Tags, true
} | [
0.7938984632492065,
1.723190426826477,
0.09696615487337112,
0.6186382174491882,
0.7302032709121704,
-0.9415952563285828,
-0.3237217366695404,
-0.3792072832584381,
-0.23784133791923523,
0.4365055561065674,
-1.1717314720153809,
-0.976922869682312,
0.3881768584251404,
0.43176713585853577,
-... |
func (o *DataExportQuery) HasTags() bool {
if o != nil && o.Tags != nil {
return true
}
return false
} | [
1.0281646251678467,
1.3499243259429932,
-0.20182836055755615,
-0.15371714532375336,
0.5524385571479797,
-0.6942929029464722,
-0.40020331740379333,
-0.04068504646420479,
0.25019365549087524,
-0.9178977012634277,
-0.3949032127857208,
-0.9407253265380859,
-0.160409078001976,
0.658145904541015... |
func (o *DataExportQuery) SetTags(v []string) {
o.Tags = &v
} | [
0.4719122648239136,
0.9755194783210754,
-0.4164210259914398,
0.17572858929634094,
-0.5393840670585632,
-0.38954776525497437,
-1.32391357421875,
-1.33781898021698,
0.09040888398885727,
-0.04276799410581589,
-0.10631399601697922,
0.6151285171508789,
-0.6212838292121887,
0.44265466928482056,
... |
func (o *DataExportQuery) GetCampaignIds() []string {
if o == nil || o.CampaignIds == nil {
var ret []string
return ret
}
return *o.CampaignIds
} | [
-0.14108692109584808,
-0.2976028621196747,
0.1720879226922989,
0.4324575364589691,
0.007392677012830973,
-0.05737895146012306,
0.044464897364377975,
0.37561431527137756,
0.7773559093475342,
0.24193884432315826,
-0.2675670385360718,
-0.33556193113327026,
-0.730800211429596,
0.63225185871124... |
func (o *DataExportQuery) GetCampaignIdsOk() (*[]string, bool) {
if o == nil || o.CampaignIds == nil {
return nil, false
}
return o.CampaignIds, true
} | [
0.023070743307471275,
-0.7023318409919739,
-0.12540337443351746,
-0.3252817988395691,
-0.5147510170936584,
-0.06170675903558731,
0.1354493349790573,
0.5563578009605408,
-0.4743344485759735,
1.3091245889663696,
-1.044419765472412,
0.20583119988441467,
0.11148091405630112,
0.1889183521270752... |
func (o *DataExportQuery) HasCampaignIds() bool {
if o != nil && o.CampaignIds != nil {
return true
}
return false
} | [
0.2416047304868698,
-0.09391526877880096,
-0.0012119731400161982,
-0.44941937923431396,
0.15193653106689453,
-0.4906752109527588,
-0.6280844807624817,
0.7631716728210449,
0.04185293987393379,
0.4797135293483734,
-0.7215989232063293,
-0.36043286323547363,
-0.1700499951839447,
0.529817700386... |
func (o *DataExportQuery) SetCampaignIds(v []string) {
o.CampaignIds = &v
} | [
-0.060783762484788895,
-0.6716495156288147,
-0.3788020610809326,
-0.36331918835639954,
-0.5578243732452393,
0.04394873231649399,
-0.8124950528144836,
-0.20510593056678772,
0.057383038103580475,
0.9580579996109009,
-0.0976032242178917,
1.0092377662658691,
-0.7440652847290039,
-0.11371480673... |
func (o *DataExportQuery) GetModifiedAfter() int32 {
if o == nil || o.ModifiedAfter == nil {
var ret int32
return ret
}
return *o.ModifiedAfter
} | [
0.6610297560691833,
-0.38576388359069824,
0.05999434366822243,
0.9449792504310608,
-0.9631738066673279,
0.1885852813720703,
0.12980496883392334,
0.05037020891904831,
0.30437958240509033,
-1.0874676704406738,
-0.7435977458953857,
-0.7010513544082642,
-0.8406071066856384,
1.2378127574920654,... |
func (o *DataExportQuery) GetModifiedAfterOk() (*int32, bool) {
if o == nil || o.ModifiedAfter == nil {
return nil, false
}
return o.ModifiedAfter, true
} | [
0.0761931985616684,
-0.39705896377563477,
0.2856661081314087,
0.46746626496315,
-0.6307753324508667,
0.30823904275894165,
0.565332293510437,
0.6846339106559753,
0.10411003977060318,
-0.14336168766021729,
-1.5296083688735962,
-0.3920820653438568,
0.20105019211769104,
1.208951711654663,
0.... |
func (o *DataExportQuery) HasModifiedAfter() bool {
if o != nil && o.ModifiedAfter != nil {
return true
}
return false
} | [
0.4360749423503876,
-0.10272835940122604,
-0.007814917713403702,
0.2661948800086975,
-0.06218263879418373,
-0.45652613043785095,
-0.6017591953277588,
1.126379132270813,
-0.30662208795547485,
-0.8456079363822937,
-1.3968538045883179,
-0.4769297242164612,
-0.18044820427894592,
1.375535368919... |
func (o *DataExportQuery) SetModifiedAfter(v int32) {
o.ModifiedAfter = &v
} | [
0.3840487003326416,
0.033535152673721313,
-0.24036303162574768,
-0.6070597171783447,
-1.0743252038955688,
0.808471143245697,
-0.5576748847961426,
-0.8249385356903076,
-0.28476667404174805,
-0.40569594502449036,
-0.6468015909194946,
0.4852693974971771,
-0.48801159858703613,
0.58604866266250... |
func (o *DataExportQuery) GetKeyword() string {
if o == nil || o.Keyword == nil {
var ret string
return ret
}
return *o.Keyword
} | [
0.6290832757949829,
0.5842623710632324,
0.22523662447929382,
0.9720268845558167,
-0.21191294491291046,
0.08438488095998764,
0.5288679003715515,
-0.6856284737586975,
0.9461323618888855,
-0.39269766211509705,
-0.3400895595550537,
-1.1077455282211304,
-0.4227323830127716,
0.7461403012275696,
... |
func (o *DataExportQuery) GetKeywordOk() (*string, bool) {
if o == nil || o.Keyword == nil {
return nil, false
}
return o.Keyword, true
} | [
0.6380213499069214,
0.0887182205915451,
0.37795355916023254,
0.5205528736114502,
-0.6407066583633423,
0.4608392119407654,
0.1720929592847824,
0.6774192452430725,
0.21802206337451935,
0.6901713013648987,
-0.8403570652008057,
-0.2951999604701996,
0.04681390896439552,
0.5624248385429382,
0.... |
func (o *DataExportQuery) HasKeyword() bool {
if o != nil && o.Keyword != nil {
return true
}
return false
} | [
0.9850335121154785,
0.4601048231124878,
0.040365107357501984,
0.6908515095710754,
0.01517272274941206,
0.15616317093372345,
0.17509223520755768,
0.24290871620178223,
0.710044264793396,
-0.2619575262069702,
-0.7345017790794373,
-0.7044061422348022,
-0.049147333949804306,
0.5485401153564453,... |
func (o *DataExportQuery) SetKeyword(v string) {
o.Keyword = &v
} | [
0.8578937649726868,
0.14516817033290863,
-0.3003063499927521,
0.26841244101524353,
-1.0563329458236694,
0.060509178787469864,
-0.4380023181438446,
-0.9261607527732849,
0.42567315697669983,
0.04377328231930733,
-0.27365389466285706,
1.0097073316574097,
-0.03982158005237579,
-0.4680366516113... |
func (o *DataExportQuery) GetCreatedAfter() int32 {
if o == nil || o.CreatedAfter == nil {
var ret int32
return ret
}
return *o.CreatedAfter
} | [
1.5971662998199463,
-0.11175159364938736,
0.09747663140296936,
1.0978350639343262,
-0.5718284845352173,
0.706741213798523,
0.25868552923202515,
-0.6856623888015747,
-0.17852674424648285,
-1.6805170774459839,
-1.0580177307128906,
-0.8404831290245056,
-0.5110446810722351,
1.0548374652862549,... |
func (o *DataExportQuery) GetCreatedAfterOk() (*int32, bool) {
if o == nil || o.CreatedAfter == nil {
return nil, false
}
return o.CreatedAfter, true
} | [
0.9479675889015198,
-0.36388570070266724,
0.18892881274223328,
0.4783775806427002,
-0.06894378364086151,
0.9461234211921692,
0.9538923501968384,
0.06587126851081848,
-0.615055501461029,
-0.948938250541687,
-1.9749089479446411,
-0.481982558965683,
0.3926295042037964,
1.1053199768066406,
0... |
func (o *DataExportQuery) HasCreatedAfter() bool {
if o != nil && o.CreatedAfter != nil {
return true
}
return false
} | [
1.3480050563812256,
0.22472524642944336,
-0.29661038517951965,
0.41241294145584106,
0.5132012963294983,
0.0027405659202486277,
-0.3950349688529968,
0.29786381125450134,
-0.7144957184791565,
-1.7401559352874756,
-1.5924574136734009,
-0.9657459259033203,
0.14590422809123993,
0.99858313798904... |
func (o *DataExportQuery) SetCreatedAfter(v int32) {
o.CreatedAfter = &v
} | [
1.3183505535125732,
0.12216787785291672,
-0.32733699679374695,
-0.24221788346767426,
-1.0404384136199951,
1.119659423828125,
-0.2871062159538269,
-1.3192049264907837,
-0.5994075536727905,
-1.029417634010315,
-0.9189015030860901,
0.17104294896125793,
-0.09823353588581085,
0.4426293969154358... |
func (o *DataExportQuery) GetCustomBitlink() string {
if o == nil || o.CustomBitlink == nil {
var ret string
return ret
}
return *o.CustomBitlink
} | [
0.01519148051738739,
0.16483093798160553,
0.3180025517940521,
0.5924325585365295,
-0.3560634255409241,
-0.08940956741571426,
0.27362337708473206,
-0.5677576065063477,
0.05676201730966568,
-0.18139348924160004,
-0.5996464490890503,
-0.22049805521965027,
-1.1756173372268677,
0.54771959781646... |
func (o *DataExportQuery) GetCustomBitlinkOk() (*string, bool) {
if o == nil || o.CustomBitlink == nil {
return nil, false
}
return o.CustomBitlink, true
} | [
0.3034912347793579,
-0.24146156013011932,
0.4313712418079376,
-0.23103924095630646,
-0.4326699376106262,
0.2931603789329529,
0.6336745619773865,
0.6678356528282166,
-0.28309059143066406,
0.5304587483406067,
-1.3418190479278564,
0.22106865048408508,
-0.39161965250968933,
0.7228206396102905,... |
func (o *DataExportQuery) HasCustomBitlink() bool {
if o != nil && o.CustomBitlink != nil {
return true
}
return false
} | [
0.1554960310459137,
0.31820717453956604,
0.23256129026412964,
-0.2582629919052124,
0.37618523836135864,
-0.7284597158432007,
0.036369405686855316,
0.11273734271526337,
-0.3174298405647278,
-0.4945850968360901,
-1.4018560647964478,
0.2296397089958191,
-0.28297320008277893,
0.839454233646392... |
func (o *DataExportQuery) SetCustomBitlink(v string) {
o.CustomBitlink = &v
} | [
0.4468845725059509,
-0.1794038861989975,
-0.3230153024196625,
-0.6800069808959961,
-0.7912814021110535,
-0.09092091768980026,
0.03079572319984436,
-0.9695566296577454,
-0.25590842962265015,
0.08986178785562515,
-0.5335538983345032,
1.762407660484314,
-0.8622686266899109,
-0.381659030914306... |
func (o *DataExportQuery) GetUnits() int32 {
if o == nil || o.Units == nil {
var ret int32
return ret
}
return *o.Units
} | [
0.16518183052539825,
1.4129945039749146,
-0.0228243637830019,
-0.08071931451559067,
0.46800944209098816,
0.028150571510195732,
0.8486577272415161,
-0.827185332775116,
0.9843615293502808,
-1.3183674812316895,
0.7806132435798645,
-1.5804270505905151,
-0.23732922971248627,
0.5314643383026123,... |
func (o *DataExportQuery) GetUnitsOk() (*int32, bool) {
if o == nil || o.Units == nil {
return nil, false
}
return o.Units, true
} | [
-0.2948814332485199,
0.7224072813987732,
0.11638448387384415,
0.5222664475440979,
0.15534330904483795,
-0.2680509090423584,
0.5908767580986023,
-0.5418262481689453,
0.2519301772117615,
-0.18904466927051544,
-0.014246676117181778,
-1.0856084823608398,
0.7928429841995239,
0.3430686593055725,... |
func (o *DataExportQuery) HasUnits() bool {
if o != nil && o.Units != nil {
return true
}
return false
} | [
0.46224406361579895,
1.2950700521469116,
0.06940355151891708,
-0.6726844310760498,
0.7686188817024231,
-0.17020049691200256,
0.18403708934783936,
0.04151489585638046,
0.1357770711183548,
-1.4132466316223145,
0.4380347728729248,
-1.4463177919387817,
0.11904004216194153,
0.4554451107978821,
... |
func (o *DataExportQuery) SetUnits(v int32) {
o.Units = &v
} | [
0.12549929320812225,
1.2268089056015015,
-0.34143370389938354,
-1.0806286334991455,
-0.6107478737831116,
0.4145766496658325,
-0.3028976321220398,
-1.4725335836410522,
0.012189183384180069,
-0.6333452463150024,
0.7210075855255127,
0.2546108365058899,
-0.10235199332237244,
-0.308227688074111... |
func (o *DataExportQuery) GetQuery() string {
if o == nil || o.Query == nil {
var ret string
return ret
}
return *o.Query
} | [
0.7766498327255249,
0.5808719992637634,
0.034180473536252975,
0.8711643218994141,
-0.04333922266960144,
-0.522468626499176,
0.009234996512532234,
-0.5317660570144653,
1.2324856519699097,
-0.609787106513977,
0.263896644115448,
-1.2995637655258179,
-0.5225452184677124,
0.2688392996788025,
... |
func (o *DataExportQuery) GetQueryOk() (*string, bool) {
if o == nil || o.Query == nil {
return nil, false
}
return o.Query, true
} | [
0.6997108459472656,
-0.11874359846115112,
0.2288370132446289,
-0.21585462987422943,
0.08139809966087341,
0.29584839940071106,
0.3199272155761719,
0.6670940518379211,
0.4604710638523102,
0.28156208992004395,
-0.584097683429718,
-0.44323039054870605,
0.21118134260177612,
0.155116006731987,
... |
func (o *DataExportQuery) HasQuery() bool {
if o != nil && o.Query != nil {
return true
}
return false
} | [
0.9597782492637634,
0.13342046737670898,
-0.031051507219672203,
0.5154613852500916,
0.5632045865058899,
-0.2968485653400421,
-0.5479127764701843,
0.13912735879421234,
0.9267512559890747,
-1.0466673374176025,
-0.12529607117176056,
-0.9577245712280273,
0.01720374822616577,
-0.229241967201232... |
func (o *DataExportQuery) SetQuery(v string) {
o.Query = &v
} | [
0.712565541267395,
-0.00021077807468827814,
-0.687161386013031,
0.19307386875152588,
-0.9432258009910583,
-0.42020681500434875,
-1.057700753211975,
-0.5186144113540649,
0.5980962514877319,
-0.13833723962306976,
-0.010867995209991932,
0.7295814156532288,
-0.38959407806396484,
-1.10007464885... |
func (o *DataExportQuery) GetReportType() string {
if o == nil || o.ReportType == nil {
var ret string
return ret
}
return *o.ReportType
} | [
0.69443678855896,
0.875919759273529,
0.27979180216789246,
0.8311060070991516,
0.976763904094696,
-0.5657851099967957,
0.5520927309989929,
-0.6093534231185913,
1.1459263563156128,
0.16640125215053558,
-0.11273957043886185,
-1.5542495250701904,
-1.1285613775253296,
1.0895318984985352,
0.39... |
func (o *DataExportQuery) GetReportTypeOk() (*string, bool) {
if o == nil || o.ReportType == nil {
return nil, false
}
return o.ReportType, true
} | [
0.134942889213562,
0.6362157464027405,
0.4580582082271576,
0.6156572103500366,
0.7222620844841003,
-0.20362569391727448,
0.8770563006401062,
-0.020577192306518555,
0.4413139522075653,
1.402458906173706,
-0.6482047438621521,
-1.4163440465927124,
-0.3511568009853363,
0.9169588685035706,
0.... |
func (o *DataExportQuery) HasReportType() bool {
if o != nil && o.ReportType != nil {
return true
}
return false
} | [
0.9166385531425476,
1.2352098226547241,
0.19529688358306885,
0.028016414493322372,
1.4337539672851562,
-0.9350199103355408,
0.04771943390369415,
-0.09301219135522842,
0.5569887161254883,
-0.08202040940523148,
-0.7546592354774475,
-1.6039396524429321,
-0.4171818494796753,
1.0196666717529297... |
func (o *DataExportQuery) SetReportType(v string) {
o.ReportType = &v
} | [
0.9766826629638672,
0.7834417223930359,
-0.24117235839366913,
-0.08778312057256699,
0.17407570779323578,
-0.3713573217391968,
-0.04202823340892792,
-1.2639726400375366,
0.6248619556427002,
0.6054925918579102,
0.12193480134010315,
0.21047402918338776,
-0.6792473196983337,
0.0192197300493717... |
func (o *DataExportQuery) GetCreatedBefore() int32 {
if o == nil || o.CreatedBefore == nil {
var ret int32
return ret
}
return *o.CreatedBefore
} | [
1.5202734470367432,
0.6566689610481262,
0.16433928906917572,
0.78277987241745,
0.6883475184440613,
0.16181644797325134,
0.4009169340133667,
-0.9958115816116333,
-0.5604953169822693,
-1.1075677871704102,
-0.4518420398235321,
-0.6727731227874756,
-0.83441162109375,
0.795881986618042,
0.372... |
func (o *DataExportQuery) GetCreatedBeforeOk() (*int32, bool) {
if o == nil || o.CreatedBefore == nil {
return nil, false
}
return o.CreatedBefore, true
} | [
0.4988247752189636,
0.6474207639694214,
0.3197965621948242,
0.6535924077033997,
1.5768109560012817,
-0.04713590070605278,
0.9307370781898499,
-0.20716819167137146,
-0.7581450343132019,
-0.7977738380432129,
-0.8880871534347534,
-0.8173604011535645,
0.18036626279354095,
0.5346533060073853,
... |
func (o *DataExportQuery) HasCreatedBefore() bool {
if o != nil && o.CreatedBefore != nil {
return true
}
return false
} | [
1.1124018430709839,
0.9047134518623352,
-0.025917306542396545,
0.13016897439956665,
1.5683245658874512,
-0.5346372723579407,
-0.23197469115257263,
-0.4905315339565277,
-0.9758599400520325,
-1.1239715814590454,
-1.1942659616470337,
-0.8448134064674377,
-0.3051561713218689,
0.481598705053329... |
func (o *DataExportQuery) SetCreatedBefore(v int32) {
o.CreatedBefore = &v
} | [
1.1276283264160156,
0.8906740546226501,
-0.12899382412433624,
-0.41588640213012695,
0.12518993020057678,
0.4530676305294037,
-0.11994027346372604,
-1.7285797595977783,
-0.8970010876655579,
-0.5395464301109314,
-0.339775949716568,
0.337433785200119,
-0.4648493826389313,
0.06024577468633652,... |
func (o *DataExportQuery) GetEmails() []string {
if o == nil || o.Emails == nil {
var ret []string
return ret
}
return *o.Emails
} | [
-0.0199379064142704,
0.887673556804657,
0.16745677590370178,
0.19884748756885529,
0.1848086267709732,
-0.4895535111427307,
0.11561251431703568,
-0.2209061235189438,
1.2778884172439575,
-0.29363003373146057,
0.23018492758274078,
-1.0084205865859985,
-0.6060868501663208,
0.26215511560440063,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.