text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func getWinsize() (int, int) {
width, height, err := term.GetSize(int(os.Stdout.Fd()))
if err != nil {
return 120, 60
}
return width, height
} | [
-0.2972632050514221,
-0.1017727181315422,
0.874792218208313,
0.11473492532968521,
-0.6203619241714478,
-0.8655379414558411,
0.7610888481140137,
-0.4007655680179596,
-0.6762812733650208,
-0.6031052470207214,
-0.32695460319519043,
1.3418583869934082,
-0.29612112045288086,
0.8733004331588745,... |
func (m *GaragesCreateBody) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCentreID(formats); err != nil {
// prop
res = append(res, err)
}
if err := m.validateLocations(formats); err != nil {
// prop
res = append(res, err)
}
if err := m.validateName(formats); err != nil ... | [
0.017474735155701637,
0.11046098917722702,
0.30615323781967163,
-0.4222642779350281,
0.6609606742858887,
0.35773786902427673,
-0.25139209628105164,
-1.1158767938613892,
-0.6559082269668579,
0.15679745376110077,
0.14005976915359497,
-0.4646688997745514,
-1.05413019657135,
0.8718966841697693... |
func (o DomainTagOutput) Key() pulumi.StringOutput {
return o.ApplyT(func(v DomainTag) string { return v.Key }).(pulumi.StringOutput)
} | [
0.051990170031785965,
0.1518554985523224,
0.18602941930294037,
0.03770425170660019,
0.5488501191139221,
0.31351205706596375,
-0.19711501896381378,
-0.04670262336730957,
-0.609261155128479,
0.0760369598865509,
-0.24553778767585754,
0.3977867364883423,
0.5492298603057861,
-0.2597281038761139... |
func (o DomainTagOutput) Value() pulumi.StringOutput {
return o.ApplyT(func(v DomainTag) string { return v.Value }).(pulumi.StringOutput)
} | [
0.36879438161849976,
0.2285226732492447,
0.29747632145881653,
-0.06392975896596909,
0.7063469886779785,
0.4896497130393982,
-0.07190366834402084,
-0.1484195739030838,
-0.32585248351097107,
-0.2829361855983734,
-0.15408855676651,
0.46611109375953674,
1.455152988433838,
0.15411539375782013,
... |
func dbWait(db *sql.DB) error {
deadline := time.Now().Add(dbTimeout)
var err error
for tries := 0; time.Now().Before(deadline); tries++ {
err = db.Ping()
if err == nil {
return nil
}
level.Warn(util_log.Logger).Log("msg", "db connection not established, retrying...", "err", err)
time.Sleep(time.Second ... | [
-0.3576115369796753,
0.8445003032684326,
0.6725045442581177,
-0.17201994359493256,
0.4284908175468445,
0.39057502150535583,
-0.7290051579475403,
-0.1916014403104782,
-0.238357812166214,
0.04130902513861656,
-0.29974982142448425,
-0.15080562233924866,
-0.05069039389491081,
0.261679142713546... |
func New(uri, migrationsDir string) (DB, error) {
db, err := sql.Open("postgres", uri)
if err != nil {
return DB{}, errors.Wrap(err, "cannot open postgres db")
}
if err := dbWait(db); err != nil {
return DB{}, errors.Wrap(err, "cannot establish db connection")
}
if migrationsDir != "" {
// Add file scheme... | [
-0.43690255284309387,
0.4062159061431885,
0.7152954339981079,
0.22751383483409882,
-0.6758609414100647,
-0.35589393973350525,
-0.10286401957273483,
0.18864022195339203,
-0.2792379856109619,
0.006831600796431303,
0.6759265661239624,
0.2651574909687042,
-0.1952933371067047,
0.525737285614013... |
func (d DB) GetConfig(ctx context.Context, userID string) (userconfig.View, error) {
var cfgView userconfig.View
var cfgBytes []byte
var deletedAt pq.NullTime
err := d.Select("id", "config", "deleted_at").
From("configs").
Where(squirrel.And{allConfigs, squirrel.Eq{"owner_id": userID}}).
OrderBy("id DESC").
... | [
-0.28398463129997253,
0.8459694385528564,
0.7109323740005493,
0.4688301086425781,
-0.6778959631919861,
-1.0000122785568237,
-0.09321364015340805,
0.03343546390533447,
0.46911585330963135,
0.11825408786535263,
0.1981126368045807,
0.6477232575416565,
0.5915274620056152,
0.8311570286750793,
... |
func (d DB) SetConfig(ctx context.Context, userID string, cfg userconfig.Config) error {
if !cfg.RulesConfig.FormatVersion.IsValid() {
return fmt.Errorf("invalid rule format version %v", cfg.RulesConfig.FormatVersion)
}
cfgBytes, err := json.Marshal(cfg)
if err != nil {
return err
}
_, err = d.Insert("config... | [
-0.47201767563819885,
0.7271660566329956,
0.7603543400764465,
0.8214897513389587,
0.3992830812931061,
0.7711257934570312,
0.5974590182304382,
0.7575080394744873,
-0.6164180636405945,
0.8509095311164856,
-0.5180823802947998,
0.0025577466003596783,
0.3804427683353424,
1.0676524639129639,
0... |
func (d DB) GetAllConfigs(ctx context.Context) (map[string]userconfig.View, error) {
return d.findConfigs(allConfigs)
} | [
-0.3201386034488678,
0.7344619631767273,
0.5301418900489807,
1.8738174438476562,
-1.2909404039382935,
-0.37300440669059753,
-0.34123703837394714,
-0.14422322809696198,
0.8082765340805054,
-0.27573010325431824,
-0.6003854274749756,
0.09884597361087799,
-0.08458654582500458,
1.26779985427856... |
func (d DB) GetConfigs(ctx context.Context, since userconfig.ID) (map[string]userconfig.View, error) {
return d.findConfigs(squirrel.And{
allConfigs,
squirrel.Gt{"id": since},
})
} | [
-0.5332993865013123,
1.377102017402649,
0.3521299362182617,
1.3847084045410156,
-0.7629270553588867,
-0.7866820096969604,
0.14334367215633392,
-0.17308710515499115,
0.09295988827943802,
-0.2879200279712677,
-0.3576686978340149,
0.3780288100242615,
0.03638074919581413,
1.1181232929229736,
... |
func (d DB) GetRulesConfig(ctx context.Context, userID string) (userconfig.VersionedRulesConfig, error) {
current, err := d.GetConfig(ctx, userID)
if err != nil {
return userconfig.VersionedRulesConfig{}, err
}
cfg := current.GetVersionedRulesConfig()
if cfg == nil {
return userconfig.VersionedRulesConfig{}, s... | [
0.07826133817434311,
0.8340242505073547,
0.3487529456615448,
0.19555290043354034,
-0.05110766738653183,
-0.25941044092178345,
-0.22924712300300598,
-0.05487269535660744,
0.035126544535160065,
0.5051531195640564,
-0.5398349761962891,
-0.013474822044372559,
-0.04413946717977524,
1.1757074594... |
func (d DB) SetRulesConfig(ctx context.Context, userID string, oldConfig, newConfig userconfig.RulesConfig) (bool, error) {
updated := false
err := d.Transaction(func(tx DB) error {
current, err := d.GetConfig(ctx, userID)
if err != nil && err != sql.ErrNoRows {
return err
}
// The supplied oldConfig must ... | [
-0.004605213645845652,
0.03877627104520798,
0.6113279461860657,
-0.0034477021545171738,
-0.5239912271499634,
0.14578993618488312,
-0.010877800174057484,
0.008245598524808884,
-0.41451168060302734,
0.8573904633522034,
-0.38801059126853943,
0.24880342185497284,
0.11803914606571198,
0.7697013... |
func (d DB) findRulesConfigs(filter squirrel.Sqlizer) (map[string]userconfig.VersionedRulesConfig, error) {
rows, err := d.Select("id", "owner_id", "config ->> 'rules_files'", "config ->> 'rule_format_version'", "deleted_at").
Options("DISTINCT ON (owner_id)").
From("configs").
Where(filter).
// `->>` gets a J... | [
0.12815262377262115,
-0.24246540665626526,
0.5386936664581299,
0.2018287628889084,
-0.055645186454057693,
-0.6362376809120178,
0.03504122421145439,
-0.1337144821882248,
-0.8100950121879578,
0.9876923561096191,
-0.16073277592658997,
-0.2971499264240265,
0.4232921004295349,
1.303031206130981... |
func (d DB) GetAllRulesConfigs(ctx context.Context) (map[string]userconfig.VersionedRulesConfig, error) {
return d.findRulesConfigs(allConfigs)
} | [
0.07149218767881393,
0.08051138371229172,
0.35624033212661743,
1.3355263471603394,
-0.7339482307434082,
0.28122249245643616,
-0.4463612735271454,
0.0825091004371643,
-0.022907737642526627,
0.4341152608394623,
-0.6301894783973694,
0.0830514132976532,
0.14527562260627747,
1.0241857767105103,... |
func (d DB) GetRulesConfigs(ctx context.Context, since userconfig.ID) (map[string]userconfig.VersionedRulesConfig, error) {
return d.findRulesConfigs(squirrel.And{
allConfigs,
squirrel.Gt{"id": since},
})
} | [
-0.2880385220050812,
0.8235210180282593,
0.3320271074771881,
1.036789894104004,
-0.5159552097320557,
0.06486561894416809,
-0.14628589153289795,
-0.04007955268025398,
-0.4388583302497864,
0.47350600361824036,
-0.7306523323059082,
0.15967369079589844,
0.1744338572025299,
0.8579027056694031,
... |
func (d DB) SetDeletedAtConfig(ctx context.Context, userID string, deletedAt pq.NullTime, cfg userconfig.Config) error {
cfgBytes, err := json.Marshal(cfg)
if err != nil {
return err
}
_, err = d.Insert("configs").
Columns("owner_id", "owner_type", "subsystem", "deleted_at", "config").
Values(userID, entityTy... | [
-0.48523685336112976,
0.2848823368549347,
0.6036617159843445,
-0.6616657972335815,
0.27071359753608704,
0.4942448139190674,
-0.46971169114112854,
-0.11766417324542999,
-0.11492306739091873,
-0.39569830894470215,
-0.9208385944366455,
0.7110061049461365,
0.8845755457878113,
0.780955076217651... |
func (d DB) DeactivateConfig(ctx context.Context, userID string) error {
cfg, err := d.GetConfig(ctx, userID)
if err != nil {
return err
}
return d.SetDeletedAtConfig(ctx, userID, pq.NullTime{Time: time.Now(), Valid: true}, cfg.Config)
} | [
-0.7646664977073669,
0.1599210649728775,
0.18650269508361816,
-0.33136633038520813,
-0.16885952651500702,
-0.02874656207859516,
-0.0883791595697403,
0.3429486155509949,
-0.17881444096565247,
0.7307577729225159,
-0.7966555953025818,
0.6938557624816895,
0.12747304141521454,
0.573940575122833... |
func (d DB) Transaction(f func(DB) error) error {
if _, ok := d.dbProxy.(*sql.Tx); ok {
// Already in a nested transaction
return f(d)
}
tx, err := d.dbProxy.(*sql.DB).Begin()
if err != nil {
return err
}
err = f(DB{
dbProxy: tx,
StatementBuilderType: statementBuilder(tx),
})
if err != n... | [
-0.3376917541027069,
0.9830350279808044,
0.9435244798660278,
-0.16844134032726288,
0.06042823940515518,
-0.24682556092739105,
0.7702102065086365,
0.36151596903800964,
0.6150920987129211,
0.798892080783844,
0.42359256744384766,
-0.45375514030456543,
-0.3573113679885864,
-0.5045502781867981,... |
func (d DB) Close() error {
if db, ok := d.dbProxy.(interface {
Close() error
}); ok {
return db.Close()
}
return nil
} | [
-0.40844860672950745,
1.7952722311019897,
0.603576123714447,
0.14227080345153809,
-0.5758542418479919,
-0.11982672661542892,
0.025196857750415802,
-0.5991011261940002,
0.43527254462242126,
-0.5804327130317688,
0.5484586358070374,
-0.37469756603240967,
-1.4701839685440063,
0.851608514785766... |
func Install(cmd *cobra.Command, args InstallFlags) {
fmt.Printf("Installing Argo %s into namespace '%s'\n", argo.GetVersion(), args.Namespace)
clientset = initKubeClient()
kubernetesVersionCheck(clientset)
installCRD(clientset)
if args.ServiceAccount == "" {
if clusterAdminExists(clientset) {
seviceAccountNa... | [
0.4591518044471741,
-0.07742179185152054,
0.587290346622467,
0.15856152772903442,
0.5673812031745911,
0.2648256719112396,
0.16992932558059692,
0.3198680877685547,
-0.726819634437561,
0.5452843308448792,
0.032790470868349075,
0.6314139366149902,
-0.6200476884841919,
1.181169867515564,
1.1... |
func createDeploymentHelper(deployment *appsv1beta2.Deployment, args InstallFlags) {
depClient := clientset.AppsV1beta2().Deployments(args.Namespace)
var result *appsv1beta2.Deployment
var err error
result, err = depClient.Create(deployment)
if err != nil {
if !apierr.IsAlreadyExists(err) {
log.Fatal(err)
}... | [
-0.7116705179214478,
-0.9960352182388306,
0.8853767514228821,
-0.4858323037624359,
1.0853182077407837,
0.21460768580436707,
0.4404672384262085,
-0.5937329530715942,
0.24329106509685516,
1.2321656942367554,
0.36750566959381104,
-0.21662788093090057,
0.32098641991615295,
0.6728067398071289,
... |
func upgradeNeeded(dep1, dep2 *appsv1beta2.Deployment) bool {
if len(dep1.Spec.Template.Spec.Containers) != len(dep2.Spec.Template.Spec.Containers) {
return true
}
for i := 0; i < len(dep1.Spec.Template.Spec.Containers); i++ {
ctr1 := dep1.Spec.Template.Spec.Containers[i]
ctr2 := dep2.Spec.Template.Spec.Contai... | [
-1.2468783855438232,
-1.1144757270812988,
1.0590100288391113,
-0.4577125906944275,
-0.22079704701900482,
0.5044941306114197,
-0.2569550573825836,
-0.3984367549419403,
-0.7042711973190308,
0.18347607553005219,
-0.4251122772693634,
0.2607508599758148,
0.12184016406536102,
0.9596677422523499,... |
func (o *GetCustomersByIDProductListsByIDItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 400:
result := NewGetCustomersByIDProductListsByIDItemsBadRequest()
if err := result.readResponse(response, consumer, o.formats); err... | [
0.019682858139276505,
-1.1071281433105469,
0.6920068264007568,
0.20113538205623627,
0.19494962692260742,
-1.1150743961334229,
0.18093854188919067,
-0.44163721799850464,
0.6101337671279907,
0.7564544677734375,
-0.0313461571931839,
-0.49602362513542175,
-1.0892177820205688,
-0.17922452092170... |
func NewGetCustomersByIDProductListsByIDItemsBadRequest() *GetCustomersByIDProductListsByIDItemsBadRequest {
return &GetCustomersByIDProductListsByIDItemsBadRequest{}
} | [
0.04973471537232399,
-0.32807910442352295,
0.6943118572235107,
1.057714581489563,
-0.2980954647064209,
-0.7671806216239929,
-0.008216207846999168,
-0.6380863785743713,
-0.004688747692853212,
-0.010087634436786175,
-0.3694313168525696,
1.1645402908325195,
-0.569497287273407,
-0.272459149360... |
func NewGetCustomersByIDProductListsByIDItemsNotFound() *GetCustomersByIDProductListsByIDItemsNotFound {
return &GetCustomersByIDProductListsByIDItemsNotFound{}
} | [
0.20590510964393616,
-0.9040557146072388,
0.20204228162765503,
0.5537038445472717,
0.06358283013105392,
-0.13396765291690826,
0.21083663403987885,
0.05865287408232689,
-0.09287223219871521,
0.26244717836380005,
-0.7191206812858582,
0.4551871418952942,
-0.4991755187511444,
0.216954335570335... |
func NewGetCustomersByIDProductListsByIDItemsDefault(code int) *GetCustomersByIDProductListsByIDItemsDefault {
return &GetCustomersByIDProductListsByIDItemsDefault{
_statusCode: code,
}
} | [
0.7994177341461182,
-0.37934568524360657,
0.3429175019264221,
0.6618385910987854,
0.808305561542511,
-0.842261016368866,
-0.10878386348485947,
0.14684447646141052,
-0.15280777215957642,
0.6116617918014526,
-1.1763908863067627,
0.2114492654800415,
-1.102599859237671,
-0.5072751045227051,
... |
func (o *GetCustomersByIDProductListsByIDItemsDefault) Code() int {
return o._statusCode
} | [
0.2606191039085388,
-0.0580669604241848,
0.24569158256053925,
1.3201326131820679,
0.8482202887535095,
-0.44664472341537476,
-0.06502339988946915,
0.581034243106842,
0.06948114931583405,
0.8365142345428467,
-0.7684322595596313,
-0.20534437894821167,
-0.615407407283783,
0.3806174099445343,
... |
func main() {
// devuelve el valor de una clave del path si es que existe
fmt.Println(os.Getenv("USERDOMAIN"))
//devuelve el directorio actual
dir, _ := os.Getwd()
fmt.Println(dir)
//devuelve el hostname
fmt.Println(os.Hostname())
// cRea un directorio
os.Mkdir("Nueva Carpeta", os.ModeDir)
//borra un arc... | [
0.5328348278999329,
-0.3122435212135315,
1.0383063554763794,
1.0991910696029663,
0.16746024787425995,
0.9172948002815247,
0.49941620230674744,
0.2780967354774475,
-0.5627635717391968,
-0.6202398538589478,
0.3912884593009949,
0.6794346570968628,
0.11889813095331192,
-0.07706674188375473,
... |
func retryWithExponentialBackOff(fn func() error) error {
backoff := wait.Backoff{
Duration: retryBackoffInitialDuration,
Factor: retryBackoffFactor,
Jitter: retryBackoffJitter,
Steps: retryBackoffSteps,
}
retryFn := func(fn func() error) func() (bool, error) {
return func() (bool, error) {
err :... | [
0.9461451768875122,
-0.16520893573760986,
0.4158899784088135,
-0.07027371227741241,
-0.9232398271560669,
0.06350880861282349,
-0.9622133374214172,
0.3766186833381653,
-0.2531685531139374,
0.6997731328010559,
-0.40390142798423767,
-0.3460383415222168,
0.6167486906051636,
-0.4774184226989746... |
func RunKibishiiTests(veleroCfg VeleroConfig, backupName, restoreName, backupLocation, kibishiiNamespace string,
useVolumeSnapshots, defaultVolumesToFsBackup bool) error {
pvCount := len(KibishiiPVCNameList)
client := *veleroCfg.ClientToInstallVelero
oneHourTimeout, ctxCancel := context.WithTimeout(context.Backgrou... | [
0.6960096955299377,
0.05508473515510559,
0.9814231991767883,
0.0819971039891243,
0.6088731288909912,
-0.3165777623653412,
-0.07453061640262604,
-0.6968167424201965,
0.3538537323474884,
0.9538715481758118,
-0.29541704058647156,
-0.5072516202926636,
-0.615454375743866,
0.4601300358772278,
... |
func CheckMasterJob(r MasterJob) {
if r.FilePaths == nil ||
r.MapFuncName == "" ||
r.MapOpCount == 0 ||
r.ReduceFuncName == "" ||
r.ReduceOpCount == 0 ||
r.Type == 0 {
panic("Invalid parameters")
}
} | [
0.43951818346977234,
-0.8972893953323364,
0.5833895802497864,
0.7958452701568604,
-0.1622392237186432,
0.7804480195045471,
-0.16776879131793976,
0.6006748676300049,
-0.29110485315322876,
0.0335383303463459,
0.12795275449752808,
-0.13871675729751587,
-0.9841246008872986,
0.8324767351150513,... |
func (r MasterJob) JobCount() uint {
return uint(len(r.FilePaths)) * r.MapOpCount
} | [
0.4183720350265503,
-0.5929965376853943,
0.39182135462760925,
0.2462170124053955,
-0.3676033318042755,
0.43453285098075867,
0.7741803526878357,
1.4326525926589966,
-0.10431049019098282,
-0.9904816150665283,
0.11806975305080414,
-0.8898656964302063,
0.14416489005088806,
0.198142871260643,
... |
func (r MasterJob) MapJobs() []WorkerJob {
requests := make([]WorkerJob, 0)
for ix := range r.FilePaths {
path := r.FilePaths[ix]
for jx := 0; jx < int(r.MapOpCount); jx++ {
request := WorkerJob{
File: path,
MapJobNumber: uint(jx),
MapOpCount: r.MapOpCount,
MapFuncName: r.M... | [
-1.016369342803955,
-0.439995676279068,
0.6853957176208496,
-0.10249432176351547,
-0.7140636444091797,
0.3594873249530792,
-0.30770835280418396,
-0.14314574003219604,
0.5644835233688354,
-0.7662211060523987,
-0.055696044117212296,
-0.7732445001602173,
-0.6625449657440186,
-0.22907172143459... |
func PlaceImg(outName, origImg, cheemsImg, cheemsDimentions, locationDimentions string) {
locaX, locaY := ParseCoordinates(locationDimentions, "x")
src := OpenImage(origImg)
cheemsFit := ResizeImage(cheemsImg, cheemsDimentions)
dst := imaging.Overlay(src, cheemsFit, image.Pt(locaX, locaY), 1.0)
err := imaging.... | [
0.25987011194229126,
-0.22264879941940308,
0.5572696924209595,
-0.4449365437030792,
-0.5499566197395325,
0.44616347551345825,
0.6523831486701965,
1.6114850044250488,
0.17420914769172668,
0.880090594291687,
0.0404789112508297,
-0.20809857547283173,
0.018590305000543594,
0.40421363711357117,... |
func (c *Command) Help() {
if c == nil {
return
}
var w io.Writer = os.Stdout
if c.Flags != nil {
w = c.Flags.Output()
}
// If there is a usage line and it's more than just the name, print it.
if c.Usage != "" && c.Name() != c.Usage {
fmt.Fprintf(w, "Usage: %s\n\n", c.Usage)
}
if c.Flags != nil {
fmt.... | [
1.2078503370285034,
0.016873441636562347,
0.7642698884010315,
-0.26475685834884644,
0.5968450903892517,
0.21396353840827942,
0.7378659844398499,
-0.3151041865348816,
-0.3487643897533417,
-0.33337533473968506,
0.33309289813041687,
0.9696411490440369,
0.3573623597621918,
0.5925105214118958,
... |
func (c *Command) Name() string {
idx := strings.Index(c.Usage, " ")
if idx == -1 {
return c.Usage
}
return c.Usage[:idx]
} | [
-0.3306594491004944,
-0.36790773272514343,
0.5459803938865662,
0.15905585885047913,
-0.0851944163441658,
-0.9789596199989319,
0.45073768496513367,
-0.3661361634731293,
0.06143645942211151,
1.067730188369751,
0.4387010931968689,
0.06297104805707932,
-0.4867098927497864,
-0.1554795354604721,... |
func (c *Command) Exec(args ...string) error {
if c == nil {
return nil
}
if c.Flags != nil {
if !c.Flags.Parsed() {
err := c.Flags.Parse(args)
if err != nil {
return err
}
}
args = c.Flags.Args()
}
if len(args) == 0 {
if c.Run != nil {
return c.Run(c)
}
return ErrNoRun
}
wantCmd :=... | [
0.5523937940597534,
0.10887332260608673,
0.7952460646629333,
0.8917502164840698,
0.15177589654922485,
0.05403226241469383,
-0.0844479352235794,
-0.09724915772676468,
-0.46138209104537964,
-0.3725329637527466,
0.07174844294786453,
0.2540198266506195,
-0.41588014364242554,
0.7210478186607361... |
func MakeTable(poly uint64) *Table {} | [
0.4940187335014343,
0.03583017736673355,
0.3120730519294739,
0.3137270510196686,
-0.9895464181900024,
0.39925986528396606,
1.1630682945251465,
-1.1025933027267456,
0.1360708624124527,
-0.8307668566703796,
-0.9835482835769653,
-0.3328379988670349,
-0.01995992287993431,
-1.1871591806411743,
... |
func New(tab *Table) hash.Hash64 {} | [
0.24297606945037842,
-0.6148552298545837,
0.14968791604042053,
1.9427690505981445,
-0.7825711965560913,
-0.2367771565914154,
-0.38799235224723816,
-0.11792422831058502,
-1.9323687553405762,
-0.42177721858024597,
-0.24951297044754028,
-0.3063479959964752,
1.4389480352401733,
0.3276140689849... |
func Update(crc uint64, tab *Table, p []byte) uint64 {} | [
0.4435234069824219,
-0.3799118995666504,
0.36551499366760254,
0.6641497611999512,
-0.29763659834861755,
0.5311589241027832,
-0.044012345373630524,
0.23617839813232422,
-0.8620713949203491,
0.4558764100074768,
0.10503549873828888,
0.3933863043785095,
-1.212531328201294,
-0.07114305347204208... |
func Checksum(data []byte, tab *Table) uint64 {} | [
-0.06402336061000824,
-0.20094868540763855,
0.18390507996082306,
1.8406853675842285,
0.1993042528629303,
0.07302870601415634,
0.39555349946022034,
0.5352575182914734,
-0.07388199120759964,
0.17779262363910675,
-0.37621161341667175,
-0.0006233579479157925,
-0.17888586223125458,
0.2358880788... |
func New(class int, code Code, v ...interface{}) *Error {
var format, message string
if len(v) == 0 {
format = ""
} else {
var ok bool
format, ok = v[0].(string)
if !ok {
format = strings.Repeat("%v", len(v))
} else {
v = v[1:]
}
}
message = fmt.Sprintf(format, v...)
e := &Error{}
e.Descriptio... | [
-0.8795642256736755,
-0.0365946926176548,
0.6917944550514221,
-0.21464215219020844,
-0.12667134404182434,
-0.4182285666465759,
0.12141494452953339,
-0.3408132791519165,
-0.12643244862556458,
0.16264361143112183,
-0.17780134081840515,
0.5035068392753601,
0.34145596623420715,
0.8192400336265... |
func getStack(skip int) string {
stack := make([]uintptr, 10)
var sb strings.Builder
// skip one system stack, the this current stack line
length := runtime.Callers(2+skip, stack[:])
for i := 0; i < length; i++ {
pc := stack[i]
// pc - 1 because the program counters we use are usually return addresses,
// an... | [
0.19937148690223694,
0.43458840250968933,
0.9012429118156433,
0.007557245437055826,
0.49372628331184387,
0.08558836579322815,
0.8620201945304871,
0.02169705368578434,
-0.38096410036087036,
0.6101912260055542,
0.4950316250324249,
0.3356941342353821,
-0.08430366963148117,
0.23417526483535767... |
func isSystemPath(path string) bool {
if strings.Contains(path, "/github.com/subiz/errors/") {
return true
}
return strings.HasPrefix(path, "/usr/local/go/src")
} | [
-0.5069224238395691,
0.4265305995941162,
0.4682806432247162,
1.4659814834594727,
0.09040830284357071,
-0.18387453258037567,
0.3930234909057617,
-0.49924778938293457,
1.2830924987792969,
0.7696881294250488,
-0.7697806358337402,
0.5822041034698486,
-0.9191968441009521,
0.9018904566764832,
... |
func trimToPrefix(str, prefix string) string {
i := strings.Index(str, prefix)
if i < 0 {
return str
}
return str[i:]
} | [
-0.022234706208109856,
-0.5689612627029419,
0.47024691104888916,
-0.8931649327278137,
-0.5487974286079407,
-0.013859142549335957,
-0.9665727019309998,
-0.08745063096284866,
0.28811293840408325,
0.8311761021614075,
0.7406639456748962,
0.6628519892692566,
-0.29552072286605835,
-1.39631032943... |
func trimOutPrefix(str, prefix string) string {
i := strings.Index(str, prefix)
if i < 0 {
return str
}
return str[i+len(prefix):]
} | [
0.041389349848032,
-0.28588664531707764,
0.43715721368789673,
-0.8706796169281006,
-0.9790072441101074,
-0.08166469633579254,
-1.0341484546661377,
0.7484608292579651,
0.16046325862407684,
0.9814450144767761,
0.8206253051757812,
0.6741810441017151,
-0.4315413534641266,
-1.756527066230774,
... |
func CompareCode(err error, code Code) bool {
mye, ok := err.(*Error)
if !ok {
return false
}
if mye == nil {
return false
}
return mye.Code == code.String()
} | [
0.015372039750218391,
-0.7819294333457947,
0.4160861074924469,
0.4811389148235321,
0.13350437581539154,
-0.6482776999473572,
-0.9656196236610413,
0.21377192437648773,
0.6570055484771729,
0.5763269662857056,
0.33161288499832153,
0.6516717076301575,
-0.3387920558452606,
0.6737034916877747,
... |
func NewKanbanViewView(id int32, tableId int32, name string, order int32, type_ string, table Table, publicViewHasPassword bool, ownershipType string, slug string) *KanbanViewView {
this := KanbanViewView{}
this.Id = id
this.TableId = tableId
this.Name = name
this.Order = order
this.Type = type_
this.Table = tab... | [
0.1679813414812088,
-0.4209780693054199,
0.5371867418289185,
1.6922911405563354,
-1.6339073181152344,
-0.7750437259674072,
-0.5697208046913147,
-0.37279173731803894,
-0.5774296522140503,
-0.9114554524421692,
0.26855233311653137,
0.4263063669204712,
-0.23106694221496582,
0.24595363438129425... |
func NewKanbanViewViewWithDefaults() *KanbanViewView {
this := KanbanViewView{}
return &this
} | [
0.32395532727241516,
0.267769992351532,
0.019869115203619003,
1.2449122667312622,
-0.38624468445777893,
-0.9438939094543457,
-0.5462013483047485,
-0.5264018774032593,
0.10557257384061813,
-1.1550756692886353,
-0.5671859383583069,
-1.2769560813903809,
-0.4248475432395935,
-0.358838111162185... |
func (o *KanbanViewView) GetId() int32 {
if o == nil {
var ret int32
return ret
}
return o.Id
} | [
0.8339591026306152,
0.09595790505409241,
0.26909226179122925,
0.8729372620582581,
0.11788792163133621,
1.2239670753479004,
1.344501256942749,
-0.37664854526519775,
1.4964330196380615,
-0.9720157980918884,
-0.4102626144886017,
-0.7105827331542969,
-0.40653401613235474,
0.24431900680065155,
... |
func (o *KanbanViewView) GetIdOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.Id, true
} | [
-0.6723008751869202,
1.072744607925415,
0.5137874484062195,
1.211803674697876,
0.24364659190177917,
0.32550179958343506,
1.236911416053772,
0.358452707529068,
1.0654793977737427,
-0.5563100576400757,
-1.375909447669983,
-0.5758739709854126,
0.028225289657711983,
-0.10317924618721008,
0.3... |
func (o *KanbanViewView) SetId(v int32) {
o.Id = v
} | [
0.13242179155349731,
0.22405123710632324,
0.2005925476551056,
0.3988316059112549,
-0.6713829040527344,
1.497302770614624,
0.5827858448028564,
-0.4868328273296356,
1.0790412425994873,
-0.02831858955323696,
-1.048169493675232,
-0.3044511079788208,
-0.028416035696864128,
0.14241445064544678,
... |
func (o *KanbanViewView) GetTableId() int32 {
if o == nil {
var ret int32
return ret
}
return o.TableId
} | [
1.2674661874771118,
0.16022959351539612,
0.5750867128372192,
1.4363707304000854,
-0.1563088446855545,
1.438820481300354,
1.2642115354537964,
-0.25119003653526306,
0.9251297116279602,
-0.9606861472129822,
-0.1363295316696167,
-0.5452892780303955,
-0.2137240171432495,
0.5255444049835205,
0... |
func (o *KanbanViewView) GetTableIdOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.TableId, true
} | [
0.2501430809497833,
0.7104455232620239,
0.5732876062393188,
1.4301152229309082,
0.4456743001937866,
0.683620035648346,
0.7792277932167053,
0.5268648862838745,
0.18139855563640594,
-0.5520965456962585,
-1.3717312812805176,
-0.9321632981300354,
0.2075076550245285,
0.6210558414459229,
0.006... |
func (o *KanbanViewView) SetTableId(v int32) {
o.TableId = v
} | [
0.7037180662155151,
0.3045288622379303,
0.3051193058490753,
0.7493641376495361,
-1.3301957845687866,
1.3302029371261597,
0.6400195956230164,
-0.8476315140724182,
0.5051736831665039,
0.3716159462928772,
-0.7418311238288879,
-0.17411603033542633,
0.3360733091831207,
0.6215741038322449,
-0.... |
func (o *KanbanViewView) GetName() string {
if o == nil {
var ret string
return ret
}
return o.Name
} | [
0.16298052668571472,
-0.0281219519674778,
-0.08230771124362946,
0.7256465554237366,
-0.8131559491157532,
-0.24737241864204407,
0.8575546145439148,
-0.448616087436676,
0.5902813673019409,
0.0172280203551054,
-0.29714539647102356,
-1.2112802267074585,
0.010922101326286793,
0.1104232296347618... |
func (o *KanbanViewView) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Name, true
} | [
-0.07127534598112106,
0.08426067978143692,
0.6828586459159851,
0.5438850522041321,
-0.8891471028327942,
0.5150711536407471,
0.31426507234573364,
-0.3083150386810303,
0.023417256772518158,
1.1571431159973145,
-1.5434095859527588,
-1.0199651718139648,
0.4570477306842804,
0.2746494710445404,
... |
func (o *KanbanViewView) SetName(v string) {
o.Name = v
} | [
-0.2006155103445053,
-0.11898018419742584,
0.04809747636318207,
0.3756667971611023,
-1.6587170362472534,
-0.3465488851070404,
0.3591097295284271,
-0.2334376722574234,
0.3533771336078644,
0.7658737897872925,
-1.0439956188201904,
-0.42970600724220276,
0.29641497135162354,
-0.229638934135437,... |
func (o *KanbanViewView) GetOrder() int32 {
if o == nil {
var ret int32
return ret
}
return o.Order
} | [
0.2704581916332245,
0.3483484387397766,
-0.06790931522846222,
1.220164179801941,
0.03474128246307373,
0.6056510806083679,
0.8724787831306458,
-0.4461871385574341,
0.6806142330169678,
-1.463340163230896,
-0.44916588068008423,
-1.0572576522827148,
-0.6332346796989441,
0.3363036811351776,
1... |
func (o *KanbanViewView) GetOrderOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.Order, true
} | [
-0.7304417490959167,
0.9715785384178162,
0.37133607268333435,
1.0488762855529785,
0.32984495162963867,
-0.15430790185928345,
0.8985908627510071,
0.45995062589645386,
0.03495578095316887,
-0.8395430445671082,
-1.0174407958984375,
-0.698096513748169,
-0.17024654150009155,
0.25381433963775635... |
func (o *KanbanViewView) SetOrder(v int32) {
o.Order = v
} | [
-0.21261563897132874,
0.5074711441993713,
-0.09941078722476959,
0.15734678506851196,
-0.9010710716247559,
0.7764535546302795,
0.10412469506263733,
-0.8912075757980347,
0.26795387268066406,
-0.271747350692749,
-0.7923066020011902,
-0.5746780633926392,
0.1426122933626175,
0.28931233286857605... |
func (o *KanbanViewView) GetType() string {
if o == nil {
var ret string
return ret
}
return o.Type
} | [
0.36377042531967163,
0.5595653653144836,
-0.3102381229400635,
0.9344284534454346,
0.2754742205142975,
-0.1002589613199234,
0.9707260131835938,
-0.5673289895057678,
1.3336654901504517,
-0.4757392108440399,
0.0026370633859187365,
-0.6941251754760742,
-0.4567503333091736,
0.000357747077941894... |
func (o *KanbanViewView) GetTypeOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Type, true
} | [
0.027055125683546066,
0.4498960077762604,
0.5627579092979431,
0.6919605135917664,
0.09666189551353455,
0.534822940826416,
0.9147559404373169,
-0.12391430884599686,
0.531779408454895,
1.120383858680725,
-1.1076831817626953,
-0.2903509736061096,
-0.07373292744159698,
0.07767660915851593,
0... |
func (o *KanbanViewView) SetType(v string) {
o.Type = v
} | [
0.07316959649324417,
0.39414361119270325,
-0.13079796731472015,
0.6532468795776367,
-0.5591027736663818,
-0.16984784603118896,
0.577603816986084,
-0.38529810309410095,
1.02542245388031,
0.1328679472208023,
-0.5137047171592712,
0.12271906435489655,
-0.2792838513851166,
-0.3381888270378113,
... |
func (o *KanbanViewView) GetTable() Table {
if o == nil {
var ret Table
return ret
}
return o.Table
} | [
0.822158932685852,
0.13337399065494537,
-0.07927499711513519,
1.1239285469055176,
0.26031431555747986,
0.10775736719369888,
1.2189710140228271,
-0.3915309011936188,
1.001173496246338,
-1.3963478803634644,
0.21354134380817413,
-0.5770271420478821,
0.11955390870571136,
-0.2041565626859665,
... |
func (o *KanbanViewView) GetTableOk() (*Table, bool) {
if o == nil {
return nil, false
}
return &o.Table, true
} | [
0.4445550739765167,
0.6050735712051392,
0.5773933529853821,
1.3892390727996826,
-0.22333216667175293,
0.1976030170917511,
0.7539414763450623,
0.4300456643104553,
-0.24627408385276794,
-0.022040044888854027,
-1.1232818365097046,
-0.8592087626457214,
0.7194005250930786,
0.25817471742630005,
... |
func (o *KanbanViewView) SetTable(v Table) {
o.Table = v
} | [
0.4071434736251831,
0.04976679012179375,
0.1697196513414383,
1.0549253225326538,
-0.8176361918449402,
-0.04117363318800926,
0.6043916940689087,
-0.2113550752401352,
0.5778073668479919,
-0.4985339641571045,
-0.25303494930267334,
-0.15526655316352844,
0.40050628781318665,
-0.2185604125261306... |
func (o *KanbanViewView) GetFilterType() ConditionTypeEnum {
if o == nil || IsNil(o.FilterType) {
var ret ConditionTypeEnum
return ret
}
return *o.FilterType
} | [
0.29608720541000366,
0.7372673749923706,
0.19590462744235992,
1.4370545148849487,
0.2620511054992676,
-0.6158943176269531,
0.8382962346076965,
-0.8917296528816223,
0.9767338633537292,
-0.26726311445236206,
-0.05887942016124725,
-0.5578831434249878,
-1.057905912399292,
1.4696241617202759,
... |
func (o *KanbanViewView) GetFilterTypeOk() (*ConditionTypeEnum, bool) {
if o == nil || IsNil(o.FilterType) {
return nil, false
}
return o.FilterType, true
} | [
0.3061929941177368,
0.25654202699661255,
0.22707431018352509,
1.041133999824524,
-0.06984716653823853,
-0.47316238284111023,
0.871888279914856,
0.08257264643907547,
0.29997679591178894,
1.2849045991897583,
-1.0632920265197754,
-0.3711075186729431,
-0.05159378424286842,
1.0121822357177734,
... |
func (o *KanbanViewView) HasFilterType() bool {
if o != nil && !IsNil(o.FilterType) {
return true
}
return false
} | [
0.49626484513282776,
0.957239031791687,
-0.03703651204705238,
0.4014924466609955,
0.5022379755973816,
-1.4714082479476929,
-0.0020193278323858976,
-0.44444531202316284,
0.4217642843723297,
-0.2667815089225769,
-1.2004097700119019,
-0.29024678468704224,
-0.026417884975671768,
1.568268895149... |
func (o *KanbanViewView) SetFilterType(v ConditionTypeEnum) {
o.FilterType = &v
} | [
0.020849598571658134,
0.6780089139938354,
-0.3145044147968292,
0.5630113482475281,
0.048480141907930374,
-0.33068060874938965,
-0.11592782288789749,
-1.4292885065078735,
0.10804499685764313,
0.2623569369316101,
0.3040417432785034,
0.6149658560752869,
-0.26459187269210815,
0.881340205669403... |
func (o *KanbanViewView) GetFilters() []ViewFilter {
if o == nil || IsNil(o.Filters) {
var ret []ViewFilter
return ret
}
return o.Filters
} | [
-0.08144883066415787,
0.26925235986709595,
0.22717049717903137,
1.1092078685760498,
0.4023745357990265,
-0.4822837710380554,
0.5541209578514099,
-1.3368566036224365,
1.5725585222244263,
-1.052973747253418,
0.1379716396331787,
0.19883908331394196,
-0.34357988834381104,
0.9048730731010437,
... |
func (o *KanbanViewView) GetFiltersOk() ([]ViewFilter, bool) {
if o == nil || IsNil(o.Filters) {
return nil, false
}
return o.Filters, true
} | [
-0.30521315336227417,
1.202309250831604,
0.3712922930717468,
1.0039875507354736,
0.17015695571899414,
-0.9288182258605957,
0.24562819302082062,
-0.21564169228076935,
0.8848817944526672,
0.0768250823020935,
-0.915829062461853,
-0.6277828216552734,
0.5646404027938843,
0.662062406539917,
-0... |
func (o *KanbanViewView) HasFilters() bool {
if o != nil && !IsNil(o.Filters) {
return true
}
return false
} | [
0.30487391352653503,
0.767644464969635,
0.06192699074745178,
0.1963246762752533,
0.5183470249176025,
-0.7680776715278625,
-0.07443272322416306,
-0.5993603467941284,
0.4768078327178955,
-1.1391031742095947,
-0.6020146608352661,
-0.8058328032493591,
-0.45069122314453125,
0.5612111687660217,
... |
func (o *KanbanViewView) SetFilters(v []ViewFilter) {
o.Filters = v
} | [
-1.0111596584320068,
0.13226942718029022,
0.03394860774278641,
0.7745926380157471,
-0.556215226650238,
-0.2301074117422104,
0.03628303483128548,
-1.5665136575698853,
0.6186402440071106,
-0.3212731182575226,
-0.49732911586761475,
0.0528307743370533,
-0.2783631980419159,
0.33355721831321716,... |
func (o *KanbanViewView) GetSortings() []ViewSort {
if o == nil || IsNil(o.Sortings) {
var ret []ViewSort
return ret
}
return o.Sortings
} | [
-0.08541661500930786,
1.791959524154663,
0.41127368807792664,
1.1115086078643799,
0.1444055289030075,
-0.1621256172657013,
0.5698012113571167,
-0.8858366012573242,
1.2247153520584106,
-1.3238308429718018,
0.5270179510116577,
-0.9863085150718689,
-0.5066641569137573,
0.6629105806350708,
-... |
func (o *KanbanViewView) GetSortingsOk() ([]ViewSort, bool) {
if o == nil || IsNil(o.Sortings) {
return nil, false
}
return o.Sortings, true
} | [
-0.36626970767974854,
1.3741792440414429,
0.6714346408843994,
1.3513299226760864,
-0.633165180683136,
-0.0315852016210556,
0.4987136423587799,
-0.015744833275675774,
0.26512661576271057,
0.4156629741191864,
-0.6871865391731262,
-1.1295241117477417,
0.01019387599080801,
0.4054000675678253,
... |
func (o *KanbanViewView) HasSortings() bool {
if o != nil && !IsNil(o.Sortings) {
return true
}
return false
} | [
0.0021017014514654875,
1.952116847038269,
0.33986854553222656,
0.6620944738388062,
-0.1226917952299118,
-0.25787609815597534,
0.13002333045005798,
-0.06752905994653702,
-0.1932479739189148,
-0.8942186236381531,
-0.05382751300930977,
-1.1150875091552734,
-0.47405970096588135,
0.827937781810... |
func (o *KanbanViewView) SetSortings(v []ViewSort) {
o.Sortings = v
} | [
-0.8631430268287659,
1.3598496913909912,
0.023542873561382294,
0.8470422625541687,
-0.9117929339408875,
-0.05667594447731972,
0.3162027895450592,
-1.033538818359375,
0.7244020104408264,
-0.3817386031150818,
0.02540803886950016,
-0.9095275402069092,
-0.3006175756454468,
0.20898959040641785,... |
func (o *KanbanViewView) GetDecorations() []ViewDecoration {
if o == nil || IsNil(o.Decorations) {
var ret []ViewDecoration
return ret
}
return o.Decorations
} | [
0.1903190314769745,
1.320732831954956,
0.26045072078704834,
1.132775068283081,
0.4053414463996887,
-0.5084441900253296,
0.9166223406791687,
-0.767991304397583,
1.474047064781189,
-1.2981925010681152,
0.13574208319187164,
-0.6895115375518799,
-0.017449652776122093,
1.4870827198028564,
0.5... |
func (o *KanbanViewView) GetDecorationsOk() ([]ViewDecoration, bool) {
if o == nil || IsNil(o.Decorations) {
return nil, false
}
return o.Decorations, true
} | [
-0.11405805498361588,
1.1943432092666626,
0.3867573142051697,
0.5681708455085754,
-0.4078540503978729,
-0.4705581068992615,
1.3829448223114014,
-0.20070157945156097,
0.6546539664268494,
0.22829671204090118,
-1.1184611320495605,
-1.0198640823364258,
0.8576136827468872,
1.2648439407348633,
... |
func (o *KanbanViewView) HasDecorations() bool {
if o != nil && !IsNil(o.Decorations) {
return true
}
return false
} | [
0.2378414124250412,
1.8493605852127075,
0.03242117911577225,
0.09780191630125046,
0.38684532046318054,
-0.8400359749794006,
0.5366761684417725,
-0.12021300941705704,
0.7558580040931702,
-0.9744657278060913,
-0.6647157073020935,
-1.2915732860565186,
0.0040041604079306126,
1.4971177577972412... |
func (o *KanbanViewView) SetDecorations(v []ViewDecoration) {
o.Decorations = v
} | [
-0.9779658913612366,
1.1589082479476929,
-0.03755266219377518,
0.5675079226493835,
-0.45624232292175293,
-0.5675566792488098,
0.7412254810333252,
-0.8708046674728394,
0.868964433670044,
-0.34647348523139954,
-0.26017820835113525,
-0.18229137361049652,
0.2604098618030548,
1.0188111066818237... |
func (o *KanbanViewView) GetFiltersDisabled() bool {
if o == nil || IsNil(o.FiltersDisabled) {
var ret bool
return ret
}
return *o.FiltersDisabled
} | [
0.5755436420440674,
0.06531468033790588,
0.4406818747520447,
0.3897360563278198,
-0.42576098442077637,
0.28890261054039,
0.43340441584587097,
-0.08104708045721054,
0.7002610564231873,
-1.222541332244873,
-0.6641138195991516,
-0.7705913186073303,
-1.2291669845581055,
0.5379319190979004,
0... |
func (o *KanbanViewView) GetFiltersDisabledOk() (*bool, bool) {
if o == nil || IsNil(o.FiltersDisabled) {
return nil, false
}
return o.FiltersDisabled, true
} | [
0.6749582886695862,
0.3670976758003235,
0.6467100381851196,
0.36499759554862976,
-0.7058618068695068,
0.4038732349872589,
0.38400670886039734,
0.7036387920379639,
0.1295141875743866,
-0.1567450314760208,
-1.2595653533935547,
-1.1140916347503662,
-0.3249940574169159,
0.18836446106433868,
... |
func (o *KanbanViewView) HasFiltersDisabled() bool {
if o != nil && !IsNil(o.FiltersDisabled) {
return true
}
return false
} | [
0.8098645806312561,
0.462771475315094,
0.22624757885932922,
-0.17157761752605438,
0.34271571040153503,
-0.2881869673728943,
-0.13803628087043762,
0.47443026304244995,
0.09015611559152603,
-0.9515354037284851,
-0.9070208668708801,
-0.7423273324966431,
-0.5815654397010803,
0.5898150205612183... |
func (o *KanbanViewView) SetFiltersDisabled(v bool) {
o.FiltersDisabled = &v
} | [
0.5515110492706299,
0.39218664169311523,
0.13795650005340576,
-0.0039280131459236145,
-0.5648515224456787,
0.5145426988601685,
-0.050686296075582504,
-0.5307765603065491,
0.009055938571691513,
-0.24730715155601501,
-0.527977466583252,
0.12747564911842346,
-0.7245777249336243,
-0.1882712990... |
func (o *KanbanViewView) GetPublicViewHasPassword() bool {
if o == nil {
var ret bool
return ret
}
return o.PublicViewHasPassword
} | [
0.23904335498809814,
-0.03531162068247795,
-0.040668003261089325,
0.8607026934623718,
-0.8758989572525024,
0.21147039532661438,
-0.09329992532730103,
0.4847106337547302,
-0.1704292595386505,
-0.8885807394981384,
-0.5147882699966431,
-0.2610588073730469,
-0.3369360566139221,
0.8299546241760... |
func (o *KanbanViewView) GetPublicViewHasPasswordOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.PublicViewHasPassword, true
} | [
0.45489805936813354,
0.02225811406970024,
0.2738035321235657,
0.48261669278144836,
-0.7805911898612976,
0.33729544281959534,
0.10329179465770721,
0.6776602268218994,
-0.48499956727027893,
0.09376801550388336,
-0.7958269715309143,
-0.9653652310371399,
0.4798049032688141,
1.3039368391036987,... |
func (o *KanbanViewView) SetPublicViewHasPassword(v bool) {
o.PublicViewHasPassword = v
} | [
0.5296803116798401,
-0.16364406049251556,
-0.016665896400809288,
0.6925733089447021,
-0.9708349704742432,
0.2668403685092926,
0.17291170358657837,
0.30891770124435425,
-0.49771055579185486,
-0.06442867964506149,
-0.4845755398273468,
-0.7652081251144409,
0.3462550938129425,
0.60211944580078... |
func (o *KanbanViewView) GetShowLogo() bool {
if o == nil || IsNil(o.ShowLogo) {
var ret bool
return ret
}
return *o.ShowLogo
} | [
0.8906309604644775,
0.780194878578186,
0.423816978931427,
0.8538023233413696,
-1.3825186491012573,
-0.8269941806793213,
0.7742908596992493,
0.16860894858837128,
0.5575339794158936,
-0.17619621753692627,
-1.2165238857269287,
-0.24602293968200684,
0.20901504158973694,
0.7126411199569702,
0... |
func (o *KanbanViewView) GetShowLogoOk() (*bool, bool) {
if o == nil || IsNil(o.ShowLogo) {
return nil, false
}
return o.ShowLogo, true
} | [
1.104865312576294,
0.6249892115592957,
0.588968813419342,
0.6592371463775635,
-1.0962718725204468,
-0.5265035033226013,
0.793959379196167,
0.29301074147224426,
0.45281481742858887,
-0.12574473023414612,
-0.5584234595298767,
0.32691624760627747,
0.4594012200832367,
0.8702834248542786,
0.1... |
func (o *KanbanViewView) HasShowLogo() bool {
if o != nil && !IsNil(o.ShowLogo) {
return true
}
return false
} | [
1.5624465942382812,
0.8389516472816467,
0.4258269667625427,
0.03857523947954178,
-1.1178948879241943,
-0.8409127593040466,
-0.0225682370364666,
0.9203221797943115,
-0.052578508853912354,
-0.5847508311271667,
-1.4331557750701904,
-0.12979911267757416,
1.443387746810913,
0.850906252861023,
... |
func (o *KanbanViewView) SetShowLogo(v bool) {
o.ShowLogo = &v
} | [
1.3802752494812012,
0.9204759001731873,
0.12544679641723633,
0.40803763270378113,
-1.6336476802825928,
-0.8966529965400696,
0.5715401768684387,
-0.1601254642009735,
-0.1383344680070877,
0.4078049063682556,
-1.022957444190979,
0.4109152853488922,
0.6945093870162964,
-0.057914331555366516,
... |
func (o *KanbanViewView) GetOwnershipType() string {
if o == nil {
var ret string
return ret
}
return o.OwnershipType
} | [
0.36256223917007446,
0.16640456020832062,
0.018198033794760704,
0.737299382686615,
0.22041180729866028,
0.3788721263408661,
0.2930302321910858,
0.006105491425842047,
0.5273318290710449,
-0.6336249709129333,
0.25795093178749084,
-0.6537907719612122,
-0.11711817234754562,
0.1196196898818016,... |
func (o *KanbanViewView) GetOwnershipTypeOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.OwnershipType, true
} | [
-0.3411824107170105,
-0.3024815618991852,
0.4137350916862488,
0.7047891616821289,
-0.24713793396949768,
0.43832826614379883,
0.3221370577812195,
0.36395105719566345,
0.04773023724555969,
0.9587206244468689,
-0.7924343943595886,
-1.4823001623153687,
0.713841438293457,
0.4952162206172943,
... |
func (o *KanbanViewView) SetOwnershipType(v string) {
o.OwnershipType = v
} | [
0.2538461983203888,
-0.23276463150978088,
-0.24075162410736084,
0.24767223000526428,
-0.7209597229957581,
0.03520249202847481,
0.5120242238044739,
-0.31602156162261963,
0.17348100244998932,
0.013455819338560104,
0.2642020285129547,
-0.45774900913238525,
0.4556220769882202,
0.19063211977481... |
func (o *KanbanViewView) GetSingleSelectField() int32 {
if o == nil || IsNil(o.SingleSelectField.Get()) {
var ret int32
return ret
}
return *o.SingleSelectField.Get()
} | [
-0.6242519617080688,
0.8730143308639526,
0.19766633212566376,
-0.1950550079345703,
-0.10928051173686981,
-0.09446349740028381,
0.9870488047599792,
-0.21237421035766602,
0.9408137202262878,
-0.28052547574043274,
-0.6186648011207581,
-0.3960723280906677,
-0.7018888592720032,
-0.0012061704182... |
func (o *KanbanViewView) GetSingleSelectFieldOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.SingleSelectField.Get(), o.SingleSelectField.IsSet()
} | [
-0.7200826406478882,
0.28536880016326904,
0.3506280183792114,
-0.466717928647995,
-0.11179433763027191,
0.5266019701957703,
0.9784240126609802,
0.9145451188087463,
0.5117085576057434,
1.0664737224578857,
-1.562690019607544,
-0.7616753578186035,
0.5386675000190735,
0.042369015514850616,
-... |
func (o *KanbanViewView) HasSingleSelectField() bool {
if o != nil && o.SingleSelectField.IsSet() {
return true
}
return false
} | [
-0.5686919093132019,
0.615064799785614,
0.3045485019683838,
-0.43149426579475403,
0.6894065141677856,
-0.32448679208755493,
0.36925745010375977,
0.9498805403709412,
0.5397239923477173,
-0.4571550190448761,
-1.285663366317749,
-0.5021904110908508,
0.036069609224796295,
0.25106462836265564,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.