text
stringlengths
11
6.3k
embedding
listlengths
768
768
func NewRabbitMQServer(username string, password string, host string) *Server { return &Server{ RabbitMQUsername: username, RabbitMQPassword: password, RabbitMQHost: host, } }
[ -0.6533198952674866, -1.5046583414077759, 0.6262130737304688, -0.21935836970806122, -0.6995739936828613, 0.29694780707359314, -1.196472406387329, -0.03384917601943016, -0.4831155240535736, 0.03793897479772568, -1.3371102809906006, 0.9653165936470032, -0.8949556946754456, -0.075603038072586...
func (s *Server) Connect() { connectionAddr := fmt.Sprintf("amqp://%s:%s@%s", s.RabbitMQUsername, s.RabbitMQPassword, s.RabbitMQHost) conn, err := amqp.Dial(connectionAddr) FailOnError(err, "Failed to connect to RabbitMQ") s.Conn = conn }
[ -0.5193696022033691, -1.1223881244659424, 0.4834231436252594, 0.18357118964195251, -0.5266497135162354, 0.04211660847067833, -1.2905665636062622, 0.6098419427871704, -0.7289137840270996, 0.5305213928222656, -0.49939972162246704, 1.107686161994934, -0.5777158737182617, 0.14413852989673615, ...
func (s *Server) Close() { s.Conn.Close() }
[ -0.2774719297885895, -0.5474094748497009, 0.1578882932662964, 0.14015989005565643, 0.2032003253698349, 0.4492931365966797, -0.30313172936439514, 0.5202402472496033, -0.8648107647895813, -0.7598472237586975, -0.12573394179344177, 0.9336604475975037, -1.0360231399536133, 0.9037088751792908, ...
func (ioc *IOC) Defang() *IOC { copy := *ioc ioc = &copy // Just do a string replace on each if replacements, ok := defangReplacements[ioc.Type]; ok { for _, fangPair := range replacements { ioc.IOC = strings.ReplaceAll(ioc.IOC, fangPair.fanged, fangPair.defanged) } } return ioc }
[ -0.19450518488883972, -0.10630106925964355, 0.40474432706832886, 0.7766528129577637, 0.299346923828125, 0.014675235375761986, 0.6544304490089417, 0.3050091862678528, 0.1087711900472641, -0.17404237389564514, -0.2234238237142563, -0.24732565879821777, -0.5139984488487244, -0.165876924991607...
func (ioc *IOC) Fang() *IOC { copy := *ioc ioc = &copy // String replace all defangs in our standard set if replacements, ok := defangReplacements[ioc.Type]; ok { for _, fangPair := range replacements { ioc.IOC = strings.ReplaceAll(ioc.IOC, fangPair.defanged, fangPair.fanged) } } // Regex replace everyth...
[ 0.1554735153913498, -0.1923397034406662, 0.6481557488441467, -0.10696017742156982, -0.31051746010780334, -0.3984215259552002, 0.8574291467666626, 0.5224986672401428, -0.024456843733787537, -0.38711342215538025, -0.013848187401890755, 0.5000633597373962, -0.7307131886482239, -0.669369161128...
func (ioc *IOC) IsFanged() bool { if ioc.Type == Bitcoin || ioc.Type == MD5 || ioc.Type == SHA1 || ioc.Type == SHA256 || ioc.Type == SHA512 || ioc.Type == File || ioc.Type == CVE { return false } // Basically just check if the fanged version is different from the input // This does label a partially ...
[ -0.24757178127765656, -0.26609742641448975, 0.4662419259548187, 0.8331107497215271, 0.0571061447262764, 0.33881324529647827, 0.7064276933670044, -0.3556908369064331, 0.1270507127046585, -0.23313000798225403, -0.7176040410995483, 0.30932193994522095, -1.6385996341705322, 0.48128312826156616...
func (i *Index) Get(tags []string, all bool) ([]string, error) { switch { case all: err := i.clean() return i.projects(), err case len(tags) > 0: if err := i.clean(); err != nil { return []string{}, err } projectsWithTags := []string{} for _, p := range i.projects() { found, err := i.hasTags(p, tag...
[ -0.5426192283630371, 0.4996560513973236, 0.7182233929634094, 0.022653838619589806, 0.4874749481678009, 0.03632397949695587, -0.6461440324783325, -0.17823190987110138, -0.38707801699638367, 0.6419694423675537, 0.5524569749832153, -0.16141174733638763, -1.1505398750305176, 0.4064866900444031...
func loginAttempt(sess *sessions.Session) { // Log the attempt if sess.Values[sessLoginAttempt] == nil { sess.Values[sessLoginAttempt] = 1 } else { sess.Values[sessLoginAttempt] = sess.Values[sessLoginAttempt].(int) + 1 } }
[ -1.3460973501205444, -0.7375130653381348, 0.541124701499939, -0.7783326506614685, -0.39529523253440857, -0.14988501369953156, 0.08174315840005875, -0.11296026408672333, 0.9818612933158875, 0.1979002207517624, -0.6753323674201965, 0.555690348148346, -0.03476957976818085, 0.26794424653053284...
func jdecrypt( stCuen string , stPass string)(stRes string,err error){ var stEnc []byte stEnc, err = base64.StdEncoding.DecodeString(stPass) if err != nil { log.Println("jdecrypt ", stPass, err ) } else{ lon := len(stEnc) lan := len(stCuen) if lon > ...
[ -0.3160296082496643, 0.4430358111858368, 0.6307411789894104, 0.2930785119533539, -0.6962043642997742, -0.1614743322134018, -0.2890357971191406, -0.812997579574585, 0.3814757466316223, 0.7720687985420227, -0.23354117572307587, 0.35075077414512634, -0.9677135944366455, -0.6159623861312866, ...
func JLoginGET(w http.ResponseWriter, r *http.Request) { var params httprouter.Params sess := model.Instance(r) v := view.New(r) v.Vars["token"] = csrfbanana.Token(w, r, sess) params = context.Get(r, "params").(httprouter.Params) cuenta := params.ByName("cuenta") ...
[ -0.8068951368331909, -0.5504733920097351, 0.8452780246734619, 0.10160927474498749, -0.6303790211677551, -0.6930025219917297, -0.09895458817481995, -1.022204041481018, 0.05430502071976662, 0.8740116357803345, -0.7423028945922852, 0.1450899988412857, -0.4184819161891937, 0.2642069458961487, ...
func LoginGET(w http.ResponseWriter, r *http.Request) { sess := model.Instance(r) v := view.New(r) v.Name = "login/login" v.Vars["token"] = csrfbanana.Token(w, r, sess) // Refill any form fields view.Repopulate([]string{"cuenta","password"}, r.Form, v.Vars) v.Render(w) }
[ -0.22371812164783478, -0.05985773727297783, 0.5771647095680237, -0.49689656496047974, 0.4062442183494568, -0.1429460346698761, -0.6851563453674316, -0.42101266980171204, 0.16839416325092316, -0.41925016045570374, -0.5382338762283325, -0.43583548069000244, 0.2400607466697693, -0.38450407981...
func LoginPOST(w http.ResponseWriter, r *http.Request) { sess := model.Instance(r) // Validate with required fields if validate, missingField := view.Validate(r, []string{"cuenta", "pass"}); !validate { sess.AddFlash(view.Flash{"Falta campo: " + missingField, view.FlashError}) sess.Save(r, w) LoginGET(w, r) ...
[ 0.47327688336372375, -0.017762720584869385, 1.0108580589294434, 1.0962752103805542, -0.5599836111068726, 0.398926705121994, -0.14683490991592407, -0.6398616433143616, 0.28140804171562195, -0.502008318901062, -0.2583670914173126, -0.20435212552547455, -0.2490551471710205, 0.0724054500460624...
func LogoutGET(w http.ResponseWriter, r *http.Request) { // Get session sess := model.Instance(r) // If user is authenticated if sess.Values["id"] != nil { model.Empty(sess) sess.AddFlash(view.Flash{"Goodbye!", view.FlashNotice}) sess.Save(r, w) } http.Redirect(w, r, "/", http.StatusFound) }
[ -1.0593788623809814, -0.2984955310821533, 0.7985199093818665, -0.40924400091171265, 0.3454084098339081, 0.2862803637981415, -0.281158447265625, -0.3441811800003052, 0.5864744782447815, -0.034738991409540176, -0.11100827157497406, -0.07923073321580887, 0.4158581793308258, -0.432641774415969...
func NewJwk(kty string) (j *Jwk, err error) { switch kty { case KeyTypeOct, KeyTypeRSA, KeyTypeEC: j = &Jwk{Type: kty} default: err = errors.New("Key Type Invalid. Must be Oct, RSA or EC") } return }
[ -0.5295493006706238, -0.20482385158538818, 0.4316771924495697, 0.9138384461402893, -0.8914903998374939, 0.08972856402397156, -0.11833526194095612, -1.2044668197631836, 0.4966747760772705, 0.449027419090271, 0.7309229373931885, 0.55069899559021, 0.025948015972971916, 0.7419349551200867, 0...
func CurveByName(curveName string) ec.Curve { switch curveName { case "P-224": return ec.P224() case "P-256": return ec.P256() case "P-384": return ec.P384() case "P-521": return ec.P521() default: return nil } }
[ -0.04585886374115944, -1.2681221961975098, 0.49003082513809204, -0.33422908186912537, -0.3890911340713501, -0.045164890587329865, -0.5555830597877502, -0.8225975632667542, 0.830839991569519, 1.0227543115615845, -0.34518012404441833, 0.42336228489875793, -0.5373592972755432, -1.072323560714...
func (jwk *Jwk) MarshalJSON() (data []byte, err error) { // Remove any potentionally conflicting claims from the JWK's additional members delete(jwk.AdditionalMembers, "kty") delete(jwk.AdditionalMembers, "kid") delete(jwk.AdditionalMembers, "alg") delete(jwk.AdditionalMembers, "use") delete(jwk.AdditionalMember...
[ 0.5618277192115784, -0.2688959538936615, 0.8287798166275024, -0.7491183876991272, -0.7857664227485657, -0.15775440633296967, 0.09739183634519577, -0.8766934871673584, 0.5003929734230042, 0.0521329790353775, -0.14268872141838074, 0.777825653553009, -0.3029663860797882, 1.404618263244629, ...
func (jwk *Jwk) Validate() error { // If the alg parameter is set, make sure it matches the set JWK Type if len(jwk.Algorithm) > 0 { algKeyType := GetKeyType(jwk.Algorithm) if algKeyType != jwk.Type { fmt.Errorf("Jwk Type (kty=%v) doesn't match the algorithm key type (%v)", jwk.Type, algKeyType) } } switc...
[ -0.0220914538949728, 0.3324391543865204, 0.6729296445846558, 0.14034220576286316, -0.2687959671020508, 0.22935084998607635, 0.1620480865240097, -1.3817154169082642, -0.3935436010360718, 0.45972657203674316, 1.0682259798049927, 0.267782986164093, -0.5689805746078491, 2.057469367980957, -0...
func (jwk *Jwk) validateRSAParams() error { if jwk.E < 1 { return errors.New("RSA Required Param (E) is empty/default (<= 0)") } if jwk.N == nil { return errors.New("RSA Required Param (N) is nil") } pOk := jwk.P != nil qOk := jwk.Q != nil dpOk := jwk.Dp != nil dqOk := jwk.Dq != nil qiOk := jwk.Qi != nil ...
[ -0.6280521154403687, -0.2999909222126007, 0.9250816702842712, -0.7278975248336792, 0.010494573041796684, 0.16072525084018707, 0.41785115003585815, -0.6536778211593628, 0.1940927505493164, 0.3302677869796753, 0.4692806601524353, 0.2988729476928711, -0.2767227292060852, 2.0557029247283936, ...
func (jwk *Jwk) validateECParams() error { if jwk.X == nil { return errors.New("EC Required Param (X) is nil") } if jwk.Y == nil { return errors.New("EC Required Param (Y) is nil") } if jwk.Curve == nil { return errors.New("EC Required Param (Crv) is nil") } return nil }
[ -0.1385219842195511, 0.36357352137565613, 0.5838602185249329, -0.6304272413253784, 0.46151503920555115, 0.8183184266090393, 0.2305082529783249, -1.1080992221832275, -1.4158666133880615, 0.8391655683517456, -0.34310224652290344, -0.17190547287464142, 0.06470789760351181, 2.1933577060699463,...
func (jwk *Jwk) validateOctParams() error { if len(jwk.KeyValue) < 1 { return errors.New("Oct Required Param KeyValue (k) is empty") } return nil }
[ -0.7094479203224182, -0.05212197080254555, 0.5522140860557556, -0.17823301255702972, -0.061970967799425125, 1.4307533502578735, 0.12367779016494751, -1.072060227394104, -1.1935101747512817, 0.7243908047676086, 0.34424522519111633, -0.6201424598693848, -0.20354217290878296, 1.40132451057434...
func NewIndexDB(db store.DB, recordStore *RecordDB) *IndexDB { return &IndexDB{db: db, recordStore: recordStore} }
[ 0.2231610268354416, -0.5964263677597046, 0.3300304412841797, 1.3427176475524902, -1.3415095806121826, -0.3086036443710327, -0.031209129840135574, 0.6388109922409058, 0.955876886844635, 0.36423614621162415, 0.10944344103336334, 0.691768229007721, -0.6977111101150513, 0.14587949216365814, ...
func (i *IndexDB) SetIndex(ctx context.Context, pn insolar.PulseNumber, bucket record.Index) error { i.lock.Lock() defer i.lock.Unlock() err := i.setBucket(pn, bucket.ObjID, &bucket) if err != nil { return err } stats.Record(ctx, statIndexesAddedCount.M(1)) inslogger.FromContext(ctx).Debugf("[SetIndex] buck...
[ -1.0303010940551758, 0.1554945707321167, 0.4325730800628662, 0.11595168709754944, 0.5310843586921692, 0.6589113473892212, 0.6053420901298523, 0.4323306083679199, 0.3024197816848755, -0.5699136853218079, -1.4228222370147705, 0.6254783868789673, -0.1416861116886139, -0.15017752349376678, 0...
func (i *IndexDB) UpdateLastKnownPulse(ctx context.Context, topSyncPulse insolar.PulseNumber) error { i.lock.Lock() defer i.lock.Unlock() indexes, err := i.ForPulse(ctx, topSyncPulse) if err != nil && err != ErrIndexNotFound { return errors.Wrapf(err, "failed to get indexes for pulse: %d", topSyncPulse) } for...
[ -1.0295188426971436, -0.8275492787361145, 0.6524922847747803, -0.7270178198814392, -0.011116080917418003, -0.08022072166204453, 0.018088698387145996, 0.24185457825660706, 0.7329508662223816, 0.42151349782943726, -0.7560577392578125, -0.15346792340278625, -0.29502296447753906, 0.27340102195...
func (i *IndexDB) TruncateHead(ctx context.Context, from insolar.PulseNumber) error { i.lock.Lock() defer i.lock.Unlock() it := i.db.NewIterator(&indexKey{objID: *insolar.NewID(pulse.MinTimePulse, nil), pn: from}, false) defer it.Close() var hasKeys bool for it.Next() { hasKeys = true key := newIndexKey(it....
[ -0.8246906995773315, 0.21799686551094055, 0.789621889591217, -0.4474793076515198, 0.08088905364274979, 0.15494437515735626, 0.31906378269195557, -0.1865190863609314, 0.6700582504272461, 0.7868660688400269, -0.46068358421325684, 0.18131840229034424, -1.1801091432571411, -0.5001064538955688,...
func (i *IndexDB) ForID(ctx context.Context, pn insolar.PulseNumber, objID insolar.ID) (record.Index, error) { var buck *record.Index buck, err := i.getBucket(pn, objID) if err == ErrIndexNotFound { lastPN, err := i.getLastKnownPN(objID) if err != nil { return record.Index{}, ErrIndexNotFound } buck, err...
[ -0.33052751421928406, -0.5716342329978943, 0.4156586825847626, -0.6290169358253479, 0.10526822507381439, 0.0032234948594123125, 0.03404630720615387, -0.5219310522079468, 0.3513130247592926, -0.8130639791488647, 0.1359960287809372, 0.6707804799079895, -0.07333511114120483, -0.36673742532730...
func WaitReady(s *state.State) error { if !s.Cluster.MachineController.Deploy { return nil } s.Logger.Infoln("Waiting for machine-controller to come up...") if err := cleanupStaleResources(s.Context, s.DynamicClient); err != nil { return err } if err := waitForWebhook(s.Context, s.DynamicClient); err != ni...
[ 0.22199523448944092, 0.31038349866867065, 0.637408435344696, 0.07150015980005264, 0.6753680109977722, -0.20913833379745483, -0.176827535033226, -0.27042287588119507, -0.3734528422355652, -0.1452506184577942, 0.07584641128778458, -0.15639783442020416, 0.8407577276229858, 0.9113378524780273,...
func waitForCRDs(s *state.State) error { condFn := clientutil.CRDsReadyCondition(s.Context, s.DynamicClient, CRDNames()) err := wait.PollUntilContextTimeout(s.Context, 5*time.Second, 3*time.Minute, false, condFn.WithContext()) return fail.KubeClient(err, "waiting for machine-controller CRDs to became ready") }
[ 0.7299174070358276, 0.4278714656829834, 0.37658482789993286, -1.0744097232818604, 0.23471423983573914, -0.03949255868792534, -1.2510665655136108, -0.7982301712036133, -0.8122586607933044, -0.42700454592704773, -0.00414310023188591, 0.35846424102783203, -0.348530650138855, 0.294485807418823...
func DestroyWorkers(s *state.State) error { if !s.Cluster.MachineController.Deploy { s.Logger.Info("Skipping deleting workers because machine-controller is disabled in configuration.") return nil } if s.DynamicClient == nil { return fail.NoKubeClient() } ctx := context.Background() // Annotate nodes with...
[ -0.681117832660675, 0.40498894453048706, 0.6400492191314697, 0.15744821727275848, 0.46216124296188354, -0.08437317609786987, 0.26358529925346375, 0.2682396173477173, -0.7959691286087036, 0.7367192506790161, 0.47379645705223083, 0.3707890212535858, -0.5498394966125488, 0.8946016430854797, ...
func WaitDestroy(s *state.State) error { s.Logger.Info("Waiting for all machines to get deleted...") return wait.PollUntilContextTimeout(s.Context, 5*time.Second, 5*time.Minute, false, func(ctx context.Context) (bool, error) { list := &clusterv1alpha1.MachineList{} if err := s.DynamicClient.List(ctx, list, dyncl...
[ 0.010610091499984264, 0.3204745948314667, 0.5498522520065308, -0.25693458318710327, 1.1705706119537354, 0.4421510696411133, -0.8197437524795532, -0.6901806592941284, -0.5917565822601318, -0.22925327718257904, 0.07493314892053604, -0.10843417793512344, -0.5601612329483032, 0.640385508537292...
func waitForMachineController(ctx context.Context, client dynclient.Client) error { condFn := clientutil.PodsReadyCondition(ctx, client, dynclient.ListOptions{ Namespace: resources.MachineControllerNameSpace, LabelSelector: labels.SelectorFromSet(map[string]string{ appLabelKey: resources.MachineControllerName, ...
[ -0.5892515182495117, -0.035513196140527725, 0.29397740960121155, -0.7179886102676392, 0.14933717250823975, 0.383856862783432, -1.1494158506393433, -0.9491793513298035, -1.1345405578613281, -0.020580938085913658, -0.5984213948249817, -0.03375484421849251, -0.1565219610929489, 0.736156463623...
func waitForWebhook(ctx context.Context, client dynclient.Client) error { condFn := clientutil.PodsReadyCondition(ctx, client, dynclient.ListOptions{ Namespace: resources.MachineControllerNameSpace, LabelSelector: labels.SelectorFromSet(map[string]string{ appLabelKey: resources.MachineControllerWebhookName, }...
[ 0.10970377177000046, -0.014795636758208275, 0.3819896876811981, -0.4245760142803192, 0.13056647777557373, 0.6434769034385681, -0.4125659167766571, -0.24799062311649323, -0.8248640298843384, -0.046878017485141754, -0.3850046694278717, -0.21456056833267212, -0.04217459633946419, 1.0246111154...
func (id *User) Create(tx *sql.Tx) error { sql := `INSERT INTO "user" DEFAULT VALUES RETURNING id` return tx.QueryRow(sql).Scan(id) }
[ -0.12274690717458725, 1.6848632097244263, 0.12690329551696777, 1.237581729888916, 0.3384789824485779, 0.1808774769306183, -0.23536008596420288, -0.5487786531448364, -0.8377212882041931, -0.3856947124004364, -0.9262911081314087, -1.5913900136947632, -0.5517802238464355, 0.3698301315307617, ...
func appNumAllocatorInit(ctx *zedrouterContext) { pubAppNetworkStatus := ctx.pubAppNetworkStatus pubUuidToNum := ctx.pubUuidToNum items := pubUuidToNum.GetAll() for key, st := range items { status := cast.CastUuidToNum(st) if status.Key() != key { log.Errorf("appNumAllocatorInit key/UUID mismatch %s vs %s;...
[ -0.2405179888010025, -0.839975118637085, 0.587292492389679, -0.2279941439628601, -0.37124377489089966, -0.17431461811065674, 0.15283428132534027, 0.3542350232601166, 0.7062331438064575, 0.6320616602897644, 0.16814561188220978, -0.22077658772468567, 0.052696652710437775, 0.48404425382614136...
func appNumAllocatorGC(ctx *zedrouterContext) { pubUuidToNum := ctx.pubUuidToNum log.Infof("appNumAllocatorGC") freedCount := 0 items := pubUuidToNum.GetAll() for _, st := range items { status := cast.CastUuidToNum(st) if status.NumType != "appNum" { continue } if status.InUse { continue } if s...
[ -0.014024242758750916, 0.07965986430644989, 0.5954279899597168, -0.2277715653181076, -0.27562838792800903, 0.010618354193866253, 0.5269253253936768, -0.5182828903198242, 0.46536344289779663, 0.7907368540763855, 0.42277878522872925, 0.06567370891571045, -0.1025371178984642, 0.82738035917282...
func DefaultKeymap() Keymap { return Keymap{ ansi.NEWLINE: (*Core).Enter, ansi.CARRIAGE_RETURN: (*Core).Enter, ansi.CTRL_C: (*Core).Interrupt, ansi.CTRL_D: (*Core).DeleteOrEOF, ansi.CTRL_H: (*Core).Backspace, ansi.BACKSPACE: (*Core).Backspace, ansi.CTRL_L: ...
[ -0.11616190522909164, -0.4597228765487671, 1.1307417154312134, -0.16380056738853455, -1.0474834442138672, 0.0404697060585022, 0.11386114358901978, -0.460671067237854, 0.18879778683185577, 0.13009211421012878, -1.340232253074646, -0.08515159785747528, -0.5018782615661621, 0.4708850681781769...
func (client *Client) CreateFileSystem(request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error) { response = CreateCreateFileSystemResponse() err = client.DoAction(request, response) return }
[ -0.8133932948112488, 0.2614690959453583, 0.34556055068969727, 0.36030036211013794, 0.6922551989555359, -0.1915341019630432, 0.7233969569206238, -1.5170644521713257, 0.39123696088790894, -1.301408052444458, -0.3565826416015625, 0.12552867829799652, -0.6765673160552979, 0.22604995965957642, ...
func (client *Client) CreateFileSystemWithChan(request *CreateFileSystemRequest) (<-chan *CreateFileSystemResponse, <-chan error) { responseChan := make(chan *CreateFileSystemResponse, 1) errChan := make(chan error, 1) err := client.AddAsyncTask(func() { defer close(responseChan) defer close(errChan) response,...
[ -0.7378720045089722, -0.2313985675573349, 0.49838611483573914, -0.40888315439224243, 0.44810572266578674, -0.08483588695526123, 0.12344463914632797, -1.6800563335418701, 0.39648330211639404, -1.0202299356460571, 0.02678562141954899, 0.04599202424287796, -0.3251230716705322, 0.7121822237968...
func (client *Client) CreateFileSystemWithCallback(request *CreateFileSystemRequest, callback func(response *CreateFileSystemResponse, err error)) <-chan int { result := make(chan int, 1) err := client.AddAsyncTask(func() { var response *CreateFileSystemResponse var err error defer close(result) response, err...
[ -0.5625854730606079, 0.20175616443157196, 0.658721387386322, -0.006877020932734013, 0.41276830434799194, -0.30914950370788574, 0.38417989015579224, -1.3523029088974, 0.7782451510429382, -1.0785136222839355, 0.37814146280288696, -0.9028229713439941, -0.008447202853858471, 0.6228547096252441...
func CreateCreateFileSystemRequest() (request *CreateFileSystemRequest) { request = &CreateFileSystemRequest{ RpcRequest: &requests.RpcRequest{}, } request.InitWithApiInfo("DFS", "2018-06-20", "CreateFileSystem", "alidfs", "openAPI") request.Method = requests.POST return }
[ -1.0736384391784668, -0.1634940356016159, 0.45170024037361145, 0.0436478853225708, 0.9774946570396423, -0.2828218936920166, -0.126874178647995, -1.1056158542633057, -0.48407068848609924, -0.8273010849952698, 0.36121201515197754, 0.4212793707847595, -0.43680712580680847, 0.7153047919273376,...
func CreateCreateFileSystemResponse() (response *CreateFileSystemResponse) { response = &CreateFileSystemResponse{ BaseResponse: &responses.BaseResponse{}, } return }
[ -0.3418411612510681, -0.7455049157142639, -0.00335754849947989, -0.03236672654747963, 0.5878057479858398, -0.7687700390815735, 0.8306243419647217, -1.4410817623138428, 0.7650402188301086, -0.7729722261428833, -0.7000641226768494, -0.7988777756690979, -0.7103632688522339, 0.4153074920177459...
func (f Fetcher) SaveBody() { file, err := os.Create(f.url) check(err) defer file.Close() b := f.processBody() _, err = file.Write(b) check(err) }
[ -0.32260027527809143, -0.2572069466114044, 0.6508277654647827, -0.04269517958164215, 1.4707311391830444, 0.4818075895309448, -0.03000790625810623, 0.18887446820735931, -0.3057810366153717, 0.001380230882205069, -1.0640398263931274, -0.6875141859054565, -0.20297491550445557, 0.9694575667381...
func (f Fetcher) processBody() []byte { b, err := io.ReadAll(f.resp.Body) f.resp.Body.Close() if f.resp.StatusCode >= 300 { log.Fatalf("Response failed with status code: %d\n and body: %s\n", f.resp.StatusCode, b) } check(err) return b }
[ -0.12522734701633453, -0.3325621485710144, 0.8208092451095581, -0.09187939018011093, -0.3090621829032898, 0.5010414719581604, -0.7381604313850403, -0.8105568885803223, 0.7831058502197266, -0.05063395947217941, 0.33404505252838135, -0.41717836260795593, -0.8006681203842163, 0.36874890327453...
func linkerConfigFactory() android.Module { m := &linkerConfig{} m.AddProperties(&m.properties) android.InitAndroidArchModule(m, android.HostAndDeviceSupported, android.MultilibFirst) return m }
[ 0.36117807030677795, -0.4679097831249237, 0.2988032102584839, 0.2515908181667328, -0.2803211212158203, 0.15903843939304352, -0.3147549331188202, 0.20955631136894226, -0.36968159675598145, -0.6726440787315369, -0.15149062871932983, -0.20483891665935516, 0.28704291582107544, 0.83522409200668...
func NewTree(options *Options) *Tree { if options == nil { options = new(Options) } setDefaultOptions(options) idx := &Tree{ newBlocks: make(chan int), done: make(chan bool), blockMap: make(map[int]int), manager: newEpochManager(options.NumAllocators), } idx.allocators = make([]*Allocator, opt...
[ 0.020050600171089172, 0.9213948249816895, 0.48877716064453125, -0.6150654554367065, -0.29396143555641174, -0.32384249567985535, 0.04843202978372574, -0.5937774181365967, 0.7884488701820374, 0.08247257769107819, 0.5190961956977844, 0.08688244968652725, -0.6802309155464172, -0.16911265254020...
func NewTreeFromState(data io.Reader) (*Tree, error) { idx := &Tree{ newBlocks: make(chan int), done: make(chan bool), blockMap: make(map[int]int), } if err := idx.loadState(data); err != nil { return nil, fmt.Errorf("Failed loading index state : %v", err) } go idx.blockAllocator() return idx, nil }
[ -0.006872223690152168, -0.48544541001319885, 0.3138715326786041, -0.49744027853012085, -1.0247397422790527, -0.5022881031036377, -0.1686948984861374, -0.680177628993988, 0.24383406341075897, 0.02805233933031559, -0.05436325445771217, -0.060940567404031754, -0.35649344325065613, -0.05782214...
func (idx *Tree) Len() (count int) { idx.Stop() count = int(idx.liveObjects) for _, a := range idx.allocators { count += int(a.itemCounter) } idx.Start() return }
[ 0.038809847086668015, -0.049261674284935, 0.23233546316623688, -0.5889190435409546, 0.43353521823883057, -0.614597737789154, 1.0778160095214844, 0.3481420576572418, 0.13352063298225403, -0.1883835643529892, -0.1394837349653244, 0.030520042404532433, 0.568409264087677, -0.6982817649841309, ...
func (idx *Tree) Stop() { if !atomic.CompareAndSwapInt32(&idx.stopped, 0, 1) { return } for i := 0; i < len(idx.allocators); i++ { _ = idx.allocatorQueue.get() } }
[ -1.6305208206176758, 0.4589591324329376, 0.41037705540657043, -0.6061767339706421, 0.1269294172525406, 0.1840779185295105, -0.31841567158699036, -0.28344792127609253, -0.20093952119350433, 0.6041749119758606, 0.3553590774536133, 0.40728405117988586, -0.36690977215766907, -0.269782632589340...
func (idx *Tree) Start() { if !atomic.CompareAndSwapInt32(&idx.stopped, 1, 0) { return } for i := 0; i < len(idx.allocators); i++ { idx.allocatorQueue.put(i) } }
[ -0.9991557598114014, 0.5643322467803955, 0.3485509157180786, -0.2639830410480499, 0.054065629839897156, -0.011887352913618088, -0.3044055104255676, 0.24974825978279114, 0.046024106442928314, 0.6332446336746216, 0.24333493411540985, 0.9910715222358704, -0.20924554765224457, -0.1373169571161...
func (idx *Tree) Close() { idx.Stop() close(idx.done) }
[ -1.1914746761322021, 0.10852556675672531, 0.20695319771766663, -0.8449041247367859, -0.036515798419713974, 0.17431867122650146, 0.17098379135131836, -0.6255221366882324, -1.0337648391723633, -0.05360317602753639, 0.16417665779590607, -0.09131835401058197, -0.5943955779075623, 0.21027521789...
func (idx *Tree) WriteState(out io.Writer) (n int, err error) { return idx.writeState(out) }
[ -1.6953730583190918, 0.2984499931335449, 0.2991875112056732, -0.12330466508865356, -0.3680114150047302, -0.8993730545043945, 1.0238994359970093, 0.19257459044456482, -0.2702527344226837, -0.3890784978866577, -0.45757701992988586, 0.22936952114105225, -0.4193611741065979, 0.4684990048408508...
func (idx *Tree) allocateNode(a *Allocator, count int, prefixLen int) (n uint64, data []uint64) { prefixSlots := (prefixLen + 7) >> 3 if prefixLen >= 255 { prefixSlots++ } count += prefixSlots n = a.newNode(count) block := int(n >> blockSlotsShift) offset := int(n & blockSlotsOffsetMask) data = idx.blocks[blo...
[ -0.33868804574012756, 0.5532324910163879, 0.537415623664856, -0.4437048137187958, -0.8132843375205994, -0.6456893682479858, -0.23976139724254608, 0.023320812731981277, 0.5442751049995422, 0.5663580894470215, 0.29625841975212097, 0.46983781456947327, 0.5011287927627563, -0.33215147256851196...
func (idx *Tree) allocateNodeWithPrefix(a *Allocator, count int, prefix []byte) (n uint64, data []uint64) { prefixLen := len(prefix) prefixSlots := (prefixLen + 7) >> 3 if prefixLen >= 255 { prefixSlots++ } count += prefixSlots n = a.newNode(count) block := int(n >> blockSlotsShift) offset := int(n & blockSlo...
[ -0.027207307517528534, 0.3581906855106354, 0.5464913845062256, -0.1433272659778595, -0.8149285316467285, -0.5069382190704346, -0.38096854090690613, -0.3064662218093872, 0.8574948906898499, 0.6163583993911743, 0.3244325518608093, 0.35727232694625854, 0.7193382382392883, 0.001298148883506655...
func (idx *Tree) GetAllocator() *Allocator { return idx.allocators[idx.allocatorQueue.get()] }
[ 0.003985513933002949, -0.5209946632385254, 0.33443865180015564, -0.6068004965782166, -0.8057470917701721, -0.5005871653556824, -0.6097749471664429, -0.6129229068756104, 1.2890000343322754, -0.4167049527168274, 1.5239906311035156, 0.789726972579956, 0.17158818244934082, -0.2723114788532257,...
func (idx *Tree) ReleaseAllocator(a *Allocator) { idx.allocatorQueue.put(a.id) }
[ -0.967926025390625, -0.2583365738391876, 0.2831489145755768, -1.3646386861801147, -1.3626450300216675, -0.2251252681016922, -0.4426579475402832, 0.13516218960285187, 1.3100520372390747, 0.26663556694984436, 0.5709694027900696, 0.6866773962974548, 0.3975331783294678, -0.17025096714496613, ...
func (idx *Tree) Lookup(key []byte) (value uint64, found bool) { id := idx.allocatorQueue.get() value, found = idx.allocators[id].Lookup(key) idx.allocatorQueue.put(id) return }
[ -1.1167020797729492, 0.8644402027130127, 0.3596179485321045, -0.8570874929428101, -0.7229201793670654, -0.3578604757785797, -0.4177930951118469, -0.3815009593963623, 0.5000225901603699, 0.8784311413764954, 0.2512444257736206, -0.11192171275615692, -0.41945603489875793, 0.07251784205436707,...
func (idx *Tree) PrepareUpdate(key []byte) (found bool, op *UpdateOperation) { id := idx.allocatorQueue.get() op = newUpdateOperation(idx, idx.allocators[id], true) return op.prepareUpdate(key), op }
[ -1.239423394203186, 0.08676983416080475, 0.6657760143280029, 0.21746541559696198, -1.1380497217178345, -0.8381800055503845, -0.6036453247070312, -0.21228714287281036, 1.1392937898635864, 1.5148042440414429, 0.2224215269088745, -1.0947412252426147, -0.10289127379655838, -0.33013951778411865...
func (idx *Tree) PrepareDelete(key []byte) (found bool, op *DeleteOperation) { id := idx.allocatorQueue.get() op = newDeleteOperation(idx, idx.allocators[id], true) if op.prepare(key) { return true, op } op.Abort() return false, nil }
[ -0.7653437256813049, 0.7788874506950378, 0.7623729109764099, 0.3630698323249817, -0.4202066957950592, -0.8835293054580688, -0.71832275390625, -0.23980195820331573, 1.1276551485061646, 1.1261789798736572, 0.29723572731018066, -0.9320223927497864, -0.04889139160513878, -0.13949142396450043, ...
func (idx *Tree) MaxKey(searchPrefix []byte) (v uint64, ok bool) { raw, _ := idx.partialSearch(searchPrefix) if raw == 0 { return 0, false } if isLeaf(raw) { return getLeafValue(raw), true } // now find the max searchLoop: for { _, node, count, prefixLen := explodeNode(raw) block := int(node >> blockSlot...
[ -0.5874470472335815, 0.2457328736782074, 1.002632737159729, -0.020956184715032578, -1.0061780214309692, -0.9257429838180542, -0.4631032645702362, -0.046839892864227295, -0.05946562439203262, 0.7954756617546082, 0.1462281048297882, -0.06057950109243393, -0.8416021466255188, 0.39657393097877...
func (idx *Tree) MinKey(searchPrefix []byte) (v uint64, ok bool) { raw, _ := idx.partialSearch(searchPrefix) if raw == 0 { return 0, false } if isLeaf(raw) { return getLeafValue(raw), true } // now find the min searchLoop: for { _, node, count, prefixLen := explodeNode(raw) block := int(node >> blockSlot...
[ -0.39637279510498047, -0.2056731879711151, 0.9324703812599182, -0.20847488939762115, -1.0984163284301758, -0.906495988368988, -0.41221868991851807, -0.3429376780986786, 0.0009921632008627057, 0.46855437755584717, 0.27375558018684387, 0.22998982667922974, -0.9979825615882874, 0.315667480230...
func (idx *Tree) NewIterator(searchPrefix []byte) *Iterator { return NewIterator(idx, searchPrefix) }
[ -0.9093896150588989, -0.7416365146636963, 0.2428659349679947, -0.2910497784614563, -1.098753571510315, -1.2227411270141602, -0.9202178716659546, 0.01310689002275467, 0.48767217993736267, 0.20352710783481598, 0.4033111333847046, 0.4295203387737274, -0.3912622630596161, -0.38358092308044434,...
func (idx *Tree) Count(searchPrefix []byte) (nodes, leaves int) { return NewCounter(idx).Count(searchPrefix) }
[ -0.7545644044876099, -0.48188045620918274, 0.275153249502182, -0.5048180222511292, -0.09173087030649185, -0.6384538412094116, -0.1731209009885788, 0.09201058745384216, -0.08726747334003448, 0.34503600001335144, -0.7912122011184692, 0.1729671061038971, 0.29663342237472534, 0.054491121321916...
func LookupCalled(instr ssa.Instruction, fn *types.Func) ([]ssa.Instruction, bool) { instrs := []ssa.Instruction{} call, ok := instr.(ssa.CallInstruction) if !ok { return instrs, false } ssaCall := call.Value() if ssaCall == nil { return instrs, false } common := ssaCall.Common() if common == nil { ret...
[ -0.4737003743648529, 0.38304784893989563, 0.7625340223312378, 0.1805042028427124, -0.26354140043258667, -0.3318530023097992, -0.08696191757917404, 0.026356423273682594, 0.6767531037330627, 0.15968623757362366, 0.15074539184570312, 0.2820671796798706, 0.34957650303840637, 0.3735654056072235...
func HasArgs(instr ssa.Instruction, typ types.Type) bool { call, ok := instr.(ssa.CallInstruction) if !ok { return false } ssaCall := call.Value() if ssaCall == nil { return false } for _, arg := range ssaCall.Call.Args { if types.Identical(arg.Type(), typ) { return true } } return false }
[ -0.12062681466341019, 0.8146536350250244, 0.6599012613296509, 0.46351194381713867, 0.37083160877227783, 0.3115723729133606, -0.6255123019218445, -0.10387690365314484, -0.4716576635837555, 0.973946213722229, 0.13530030846595764, 0.5353494882583618, -0.5169478058815002, 0.8947029113769531, ...
func Timestamp(createdBy string) (createdAtUnix int64) { timestamp, err := time.Parse(time.RFC3339, createdBy) if err != nil { createdAtUnix = time.Now().Unix() ErrorLog(err) } else { createdAtUnix = timestamp.Unix() } return }
[ 0.8584808707237244, 0.9685561656951904, 0.45846810936927795, 0.37038832902908325, 0.4214667081832886, 0.3098505139350891, 0.3959799110889435, 0.13392864167690277, 0.14135967195034027, -0.490868479013443, -0.44581252336502075, 0.03526783362030983, 0.2573295831680298, -0.46332576870918274, ...
func newTracingMiddleware(tracer opentracing.Tracer) linkManagerMiddleware { return func(next om.LinkManager) om.LinkManager { return tracingMiddleware{next, tracer} } }
[ -0.6801762580871582, -0.3692531883716583, 0.3079277276992798, 0.16895385086536407, -1.2396159172058105, 0.04987946152687073, -0.223859503865242, -0.12780217826366425, 1.1949810981750488, -0.7266727089881897, 0.11559423804283142, -0.313827782869339, -0.7813611626625061, 0.881655216217041, ...
func (registry *Registry) withClerk(queue string, callback func(*clerk) error) error { registry.mutex.Lock() entry, found := registry.queues[queue] if !found { entry = &refCountedClerk{ Clerk: clerk{ // TODO: context Enqueue: make(chan messageSend), Dequeue: make(chan messageReceive), Registry...
[ 0.5510146021842957, -0.21640118956565857, 0.8309071063995361, -0.6931964159011841, -0.5752637386322021, -0.7677447199821472, 0.9541848301887512, -0.9449644684791565, 0.6935437917709351, -0.09260965883731842, 0.7723662257194519, 0.4580656588077545, 0.27135422825813293, 1.331748604774475, ...
func optionalTimeout(deadline *time.Time) <-chan time.Time { var timeout <-chan time.Time if deadline != nil { timeout = time.NewTimer(time.Until(*deadline)).C } return timeout }
[ 0.5488519668579102, 0.32920074462890625, 0.5789620280265808, -0.3376515209674835, -0.136952742934227, 0.35027310252189636, -1.1216723918914795, 0.2783809304237366, 0.2354968786239624, 0.5502792000770569, 0.7620843052864075, 0.39585113525390625, -0.0712500736117363, -0.05462600290775299, ...
func copyHeader(which string, from http.Header, to http.Header) { for _, value := range from.Values(which) { to.Add(which, value) } }
[ -0.40736374258995056, -1.4772939682006836, 0.5032163858413696, -0.5072274804115295, 0.3544096052646637, 0.96223384141922, -0.9764021635055542, -0.33549919724464417, -1.422635555267334, 0.5589871406555176, 0.10367374122142792, 1.1126184463500977, 0.4584544897079468, -0.5777356624603271, 0...
func (registry *Registry) RemoveIfUnused(queue string) (bool, error) { registry.mutex.Lock() defer registry.mutex.Unlock() entry, found := registry.queues[queue] if !found { // "Not found" is unexpected, since I expect only the clerk itself // would be trying to remove its queue (so why, then, is it already ...
[ -0.19102227687835693, -0.08216574043035507, 0.6849193572998047, -0.9784014821052551, -0.0017314082942903042, -1.5306240320205688, 0.09876665472984314, 0.17655371129512787, 0.6936106085777283, 0.218080073595047, -0.21777325868606567, -0.013214195147156715, -0.44644472002983093, 1.3353511095...
func ConnectDB() (db *gorm.DB, err error) { config := GetConfig() dbURI := fmt.Sprintf("host=%s port=%s user=%s dbname=%s password=%s sslmode=disable", config.DB.Host, config.DB.Port, config.DB.Username, config.DB.Name, config.DB.Password) db, err = gorm.Open(config.DB.Dialect, dbURI) if os.Getenv("ENV") ...
[ -0.2587340474128723, 0.010797154158353806, 0.8568955063819885, 1.2759604454040527, -0.013495918363332748, 0.7047911882400513, 0.2012755572795868, -0.0019109320128336549, -0.1642795205116272, 0.6511338949203491, 1.0907938480377197, 0.2767212688922882, -1.1822611093521118, 0.526488721370697,...
func (s NovaSchedulerStatus) GetConditions() condition.Conditions { return s.Conditions }
[ 0.04770989343523979, -0.21067458391189575, 0.033751580864191055, 0.6628955006599426, 0.023011906072497368, -0.1311892420053482, -0.3199947476387024, -0.14761467278003693, -0.2586321234703064, -0.6918597221374512, 0.11542820185422897, -0.298870325088501, -0.3061792254447937, 1.0260015726089...
func (n NovaScheduler) GetSecret() string { return n.Spec.Secret }
[ 0.40816208720207214, 0.6370283961296082, 0.08661229908466339, 0.6052061915397644, 0.5929394960403442, 0.22941121459007263, -0.21550945937633514, -0.557801365852356, -0.4829302430152893, -0.8812090158462524, -0.5553575754165649, 0.5205208659172058, -0.1447359025478363, 0.88813316822052, 1...
func NewTravisBuildListCommand(client *travis.Client) *cobra.Command { cmd := &cobra.Command{ Use: "list", Short: "List all the builds", RunE: func(cmd *cobra.Command, args []string) error { return ListBuilds(client, os.Stdout) }, } return cmd }
[ 0.2406146228313446, -0.08903608471155167, 0.5691071152687073, 0.14308911561965942, 0.07433631271123886, 0.1508568376302719, 0.20278769731521606, 0.456093430519104, 0.8199294805526733, 0.061612118035554886, -0.6601203680038452, 0.38595932722091675, 0.4218595623970032, -0.07086911797523499, ...
func ListBuilds(client *travis.Client, w io.Writer) error { filterBranch := "master" opt := &travis.RepositoryListOptions{Member: viper.GetString("TRAVIS_CI_OWNER"), Active: true} repos, _, err := client.Repositories.Find(opt) if err != nil { return err } tr := tabwriter.NewWriter(w, 0, 0, 1, ' ', tabwriter.F...
[ 0.3748144209384918, -0.48285993933677673, 0.4992276728153229, 0.21494071185588837, -0.09563163667917252, -0.059344734996557236, -0.055385228246450424, -0.14307333528995514, -0.39853793382644653, 0.5876118540763855, 0.12193752080202103, -0.24588602781295776, -0.14103610813617706, 0.15361301...
func (s *DeterminationWithContext) Bind(ctx context.Context, runnable RunnableWithContext) *DeterminationWithContext { defer s.lock.Unlock() /*_*/ s.lock.Lock() s.rctx = ctx s.runn = runnable return s }
[ 0.0955612063407898, -0.5081907510757446, 0.3058612644672394, 0.6144713163375854, -0.023598110303282738, 0.2847421169281006, -0.38344109058380127, -0.17973940074443817, 0.5747093558311462, -1.156080722808838, -0.7180580496788025, 0.7285111546516418, -0.40612396597862244, 0.19118212163448334...
func (s *DeterminationWithContext) State() State { return s.stat.get() }
[ 0.7494341135025024, -0.24605882167816162, 0.1919393241405487, 0.716900110244751, 0.18220815062522888, 0.16318202018737793, 0.8569736480712891, -0.1538693606853485, 0.8502941131591797, -1.4475572109222412, 0.33968645334243774, 0.41473838686943054, 0.28445395827293396, 1.1531870365142822, ...
func (s *DeterminationWithContext) Run() (err error) { return s.run(s.prepare, s.booting, s.running, s.trigger, s.closing) }
[ -0.23252969980239868, -0.5165384411811829, 0.29014351963996887, 1.260805606842041, 0.00916450284421444, -0.08723043650388718, 0.3937656283378601, 0.2605050504207611, 0.04624859243631363, -0.6936856508255005, -0.7754524946212769, -0.19351768493652344, -0.28692877292633057, 1.179885745048523...
func (s *DeterminationWithContext) WhileRunning(do func(context.Context) error) error { return s.whilerunning(func() error { select { case <-s.sctx.Done(): return ErrRunnerIsClosing default: return do(s.sctx) } }) }
[ -0.06855572015047073, -0.10701581835746765, 0.289055198431015, 0.8795614838600159, -0.619541347026825, 0.9975352883338928, -0.11621806770563126, -0.6405797004699707, 0.30923041701316833, 0.03441982343792915, -0.23133285343647003, 0.650287926197052, 0.8185068368911743, 0.20355279743671417, ...
func (s *DeterminationWithContext) CloseAsync() error { return s.closeasync(s.trigger) }
[ 0.4069715738296509, -0.3193023204803467, 0.6677767634391785, 0.5447825193405151, -0.5154184103012085, -0.18757164478302002, 0.39355215430259705, -0.27394405007362366, 0.7202757596969604, -0.7908334136009216, 0.46610307693481445, -0.180717334151268, 0.9347089529037476, 0.8420514464378357, ...
func (s *DeterminationWithContext) Close() error { return s.close(s.trigger) }
[ 0.9215531945228577, -0.2855847179889679, 0.29245176911354065, 0.5044991374015808, -0.6068897247314453, 0.30335649847984314, 0.3606075644493103, -0.3314090967178345, 0.3050203025341034, -1.158577561378479, -0.11977468430995941, 0.03838793560862541, -0.3240123689174652, 0.7750647068023682, ...
func (pr PrometheusRecorder) RecordReqDuration(jenkinsService, operation string, code int, elapsedTime float64) { reportRequestDuration(jenkinsService, operation, code, elapsedTime) }
[ -0.929239809513092, 0.6555193066596985, 0.6641147136688232, 0.525410532951355, 0.23879173398017883, -0.11217150837182999, 0.09985828399658203, 0.5383802652359009, 0.08410730212926865, 0.2132474184036255, 0.060343895107507706, 1.1956125497817993, -0.07369007915258408, 0.8381962776184082, ...
func GenToken() (string, error) { var data [64]byte if _, err := io.ReadFull(rand.Reader, data[:]); err != nil { return "", err } return basex.Base62StdEncoding.EncodeToString(data[:]), nil }
[ -0.01036236621439457, -0.28185102343559265, 0.4581894278526306, 0.2694460153579712, -0.7607759833335876, 0.29280462861061096, -0.6878817081451416, 0.6231334805488586, 0.47854024171829224, -0.38960394263267517, -0.3794039487838745, 0.615375816822052, -0.14968369901180267, -0.583380043506622...
func NewList()(*List) { m := &List{ BaseItem: *NewBaseItem(), } odataTypeValue := "#microsoft.graph.list"; m.SetOdataType(&odataTypeValue); return m }
[ 0.11185310781002045, -0.2417026311159134, 0.2057100236415863, 0.750441312789917, 0.19237209856510162, 0.1491795778274536, -0.2022583782672882, -0.21669772267341614, 0.9508750438690186, -0.3809460997581482, -1.0131887197494507, 0.429411917924881, -0.01627950556576252, -0.3081311881542206, ...
func CreateListFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewList(), nil }
[ 0.5261235237121582, -0.6306194067001343, 0.3974025845527649, -0.18069548904895782, -0.24200977385044098, 0.1789638251066208, -0.2801436185836792, 0.3342086374759674, 0.16052332520484924, -0.05173280090093613, -0.35250383615493774, -0.5077210664749146, 0.46250858902931213, 0.860437095165252...
func (m *List) GetColumns()([]ColumnDefinitionable) { return m.columns }
[ 0.5577829480171204, 0.35778695344924927, -0.013677050359547138, 1.2630362510681152, 1.246958613395691, 0.04219670221209526, 0.43663489818573, -0.17057079076766968, 0.537247896194458, -1.0083779096603394, -1.595384120941162, 0.5505644083023071, -0.4477907717227936, 0.8810057640075684, -0....
func (m *List) GetContentTypes()([]ContentTypeable) { return m.contentTypes }
[ 0.6506199836730957, 0.11704602837562561, 0.13253462314605713, 1.466152548789978, 0.2493152618408203, -0.10693759471178055, 0.17225126922130585, -0.1316203773021698, -0.37230148911476135, 0.04059629514813423, -1.0069358348846436, 0.09126004576683044, -1.6904770135879517, 0.8891134262084961,...
func (m *List) GetDisplayName()(*string) { return m.displayName }
[ 0.31766659021377563, -0.05897880345582962, 0.37506645917892456, 1.337769865989685, -0.4149628281593323, 0.18315351009368896, -0.1980569064617157, 0.5618195533752441, 0.22194448113441467, 0.03216535970568657, -0.7052723169326782, -0.6021775007247925, -0.297385036945343, 0.776616096496582, ...
func (m *List) GetDrive()(Driveable) { return m.drive }
[ 0.47384345531463623, -0.309769868850708, 0.3240256607532501, 1.7516582012176514, 1.372668743133545, 0.5997502207756042, 0.09120254218578339, -0.11546745896339417, -0.11148165911436081, -1.070282220840454, -0.011184905655682087, 0.3472761809825897, -2.108645439147949, 0.8844985365867615, ...
func (m *List) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.BaseItem.GetFieldDeserializers() res["columns"] = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.SetCollectionOfObjectValues(CreateColumnDefin...
[ 0.08166294544935226, -0.03401258960366249, 0.5726419687271118, -0.5796480178833008, -0.20707820355892181, -0.5287716388702393, 0.36709505319595337, 0.46854567527770996, -0.5499955415725708, -0.7560839056968689, -1.228671908378601, -0.16606514155864716, -0.6442981362342834, 0.19987872242927...
func (m *List) GetItems()([]ListItemable) { return m.items }
[ 0.6718959808349609, -0.209394633769989, 0.010410672053694725, 0.8759891986846924, 0.31352606415748596, 0.5335255861282349, -0.5558277368545532, 0.4273795485496521, 0.5030286312103271, -1.0411555767059326, -0.4341594874858856, 0.4602096378803253, -0.77434903383255, 0.021505851298570633, 0...
func (m *List) GetList()(ListInfoable) { return m.list }
[ 0.5621957182884216, -0.3321404755115509, 0.09417832642793655, 1.0772356986999512, 1.2166322469711304, 0.4733918309211731, -0.0015603977954015136, 0.499112069606781, 0.30690011382102966, -0.8022918105125427, -0.7099475264549255, -0.6119759678840637, -0.036410290747880936, 0.455548495054245,...
func (m *List) GetOperations()([]RichLongRunningOperationable) { return m.operations }
[ -0.185155987739563, 0.9057542681694031, 0.44761598110198975, 1.2226347923278809, 0.952069878578186, -0.2495298981666565, 0.44065675139427185, -0.20490695536136627, 1.1085418462753296, -0.6943634748458862, -0.7627612352371216, -0.595383882522583, -1.0311509370803833, 0.3479311168193817, -...
func (m *List) GetSharepointIds()(SharepointIdsable) { return m.sharepointIds }
[ 0.20519988238811493, -0.055026575922966, 0.3576405644416809, 1.2185492515563965, 0.13950106501579285, 0.6167097091674805, 0.23095063865184784, 1.3423255681991577, 0.9215250015258789, 1.1387951374053955, -1.4585283994674683, 0.6222560405731201, -0.46996331214904785, -0.32339775562286377, ...
func (m *List) GetSubscriptions()([]Subscriptionable) { return m.subscriptions }
[ 0.5162398219108582, 0.4893158972263336, 0.3088047504425049, 1.773006558418274, 0.7888248562812805, -0.15464046597480774, -0.10606010258197784, -0.6577423810958862, 0.41309624910354614, -0.45157983899116516, -1.1906265020370483, -0.04732605442404747, -0.7063854336738586, 0.9170085787773132,...
func (m *List) GetSystem()(SystemFacetable) { return m.system }
[ -0.061110761016607285, 0.7034227252006531, 0.3180483877658844, 2.1261911392211914, 0.35791853070259094, -0.25797662138938904, 0.7262164354324341, -0.9537191987037659, 0.6415279507637024, -0.7963317632675171, -0.2984895408153534, 0.027684155851602554, -0.8582765460014343, 1.0219449996948242...
func (m *List) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.BaseItem.Serialize(writer) if err != nil { return err } if m.GetColumns() != nil { cast := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec...
[ -0.4604809582233429, -0.48949217796325684, 0.7335584759712219, 0.08642113208770752, 0.4562973976135254, -0.6004188060760498, 0.7871472835540771, -0.037534505128860474, -0.484073668718338, 0.10732986778020859, -0.96989506483078, -0.2598927915096283, -0.6738605499267578, 0.8774846196174622, ...
func (m *List) SetColumns(value []ColumnDefinitionable)() { m.columns = value }
[ -0.08870454877614975, 0.6030625700950623, 0.008060007356107235, 1.162123680114746, 0.7548639178276062, 0.42684996128082275, 0.5940943956375122, -0.30239883065223694, -0.30139434337615967, -0.6613367795944214, -1.5635000467300415, -0.20451219379901886, 0.06176115572452545, 1.202013492584228...
func (m *List) SetContentTypes(value []ContentTypeable)() { m.contentTypes = value }
[ 0.2976239025592804, 0.28941401839256287, -0.07447446882724762, 0.8895571827888489, -0.05943915620446205, -0.015325424261391163, 0.6315068602561951, -0.4712451100349426, -0.9006542563438416, 0.23425212502479553, -1.1250636577606201, -0.7275828123092651, -1.4022915363311768, 1.15950930118560...
func (m *List) SetDisplayName(value *string)() { m.displayName = value }
[ -0.06359110027551651, 0.11534588783979416, 0.30407118797302246, 1.0969979763031006, -0.9756180047988892, 0.38447484374046326, 0.0498771145939827, 0.30916815996170044, 0.04942181706428528, 0.5322943329811096, -1.2180439233779907, -1.3272308111190796, 0.02835339494049549, 1.0998382568359375,...
func (m *List) SetDrive(value Driveable)() { m.drive = value }
[ 0.2451963871717453, 0.15764611959457397, 0.20095860958099365, 1.2163662910461426, 0.935171902179718, 0.8726165890693665, 0.04875663295388222, 0.4259932339191437, -0.4809768497943878, -0.3996102809906006, -0.7512401938438416, -0.3564075827598572, -1.7217886447906494, 1.3385614156723022, 0...