text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (dsc *DefaultConsumerStatsCollector) AddGetRecordsCalled(count int) { dsc.GetRecordsCalled.Inc(int64(count)) }
[ 0.30011191964149475, 0.5488550662994385, 0.5454109907150269, -0.7169753313064575, 1.1008856296539307, 0.3504902720451355, -0.27967649698257446, -0.6624954342842102, 0.12249050289392471, -0.7030804753303528, -0.27347370982170105, 0.2800745666027069, -0.11741674691438675, 0.26886484026908875...
func (dsc *DefaultConsumerStatsCollector) AddReadProvisionedThroughputExceeded(count int) { dsc.ReadProvisionedThroughputExceeded.Inc(int64(count)) }
[ -0.15928258001804352, 0.5698647499084473, 0.26043832302093506, -0.7808536887168884, -0.8915809392929077, 1.6448230743408203, 0.8524098992347717, -0.05823298543691635, -0.4637411832809448, -0.6438358426094055, 0.9887866973876953, -0.4767865538597107, -0.41144701838493347, 0.2213365733623504...
func (dsc *DefaultConsumerStatsCollector) AddGetRecordsTimeout(count int) { dsc.GetRecordsTimeout.Inc(int64(count)) }
[ 0.4246011972427368, 0.4873950779438019, 0.3923967182636261, -0.6011413335800171, 1.1513736248016357, 0.07828661799430847, 0.2619885504245758, -0.02342907339334488, -0.17509856820106506, -0.19387038052082062, 0.05898186191916466, 0.2658427357673645, -0.2224515825510025, 0.08558403700590134,...
func (dsc *DefaultConsumerStatsCollector) AddGetRecordsReadTimeout(count int) { dsc.GetRecordsReadTimeout.Inc(int64(count)) }
[ 0.6429456472396851, 0.16686877608299255, 0.5125749707221985, -0.7610504627227783, 0.9480904340744019, 0.3415428102016449, -0.12378738820552826, 0.024920888245105743, -0.1684819757938385, -0.45271429419517517, 0.32898515462875366, 0.23782046139240265, -0.12049683928489685, -0.05919365584850...
func (dsc *DefaultConsumerStatsCollector) UpdateProcessedDuration(duration time.Duration) { dsc.ProcessedDuration.Update(duration.Nanoseconds()) }
[ -0.563027024269104, -0.17497394979000092, 0.12037394195795059, -0.26099610328674316, -0.30123913288116455, 0.3443738520145416, 0.3724800646305084, -0.48409995436668396, -0.18938611447811127, 0.10873932391405106, -0.12112217396497726, 0.4548662006855011, 0.09998567402362823, 1.0584559440612...
func (dsc *DefaultConsumerStatsCollector) UpdateGetRecordsDuration(duration time.Duration) { dsc.GetRecordsDuration.Update(duration.Nanoseconds()) }
[ -0.051110267639160156, 0.0127333989366889, 0.18321755528450012, -0.40683016180992126, 0.5691127777099609, 0.023236189037561417, -0.09955684840679169, -0.33117544651031494, 0.0901762992143631, 0.848735511302948, -0.039409130811691284, 0.5869495868682861, -0.10171924531459808, 0.480786681175...
func (dsc *DefaultConsumerStatsCollector) UpdateGetRecordsReadResponseDuration(duration time.Duration) { dsc.GetRecordsReadResponseDuration.Update(duration.Nanoseconds()) }
[ 0.30675357580184937, -0.8560245633125305, 0.2299703061580658, -0.8530312180519104, 0.2855079770088196, -0.04080340266227722, 0.018368519842624664, -0.25394994020462036, 0.33333781361579895, 0.5277513861656189, 0.3355562388896942, 0.08720873296260834, 0.17176584899425507, -0.096341609954833...
func (dsc *DefaultConsumerStatsCollector) UpdateGetRecordsUnmarshalDuration(duration time.Duration) { dsc.GetRecordsUnmarshalDuration.Update(duration.Nanoseconds()) }
[ 0.5343598127365112, 0.2800513803958893, 0.12186095863580704, -1.227473258972168, 0.16421185433864594, -0.003603910095989704, -0.08257156610488892, 0.5347751379013062, -0.07731089740991592, 0.468963086605072, 0.17519298195838928, 0.7953023910522461, 0.40270179510116577, 0.17168916761875153,...
func (dsc *DefaultConsumerStatsCollector) AddCheckpointInsert(count int) { dsc.CheckpointInsert.Inc(int64(count)) }
[ -0.15875209867954254, 0.06643839180469513, 0.2654566168785095, 0.2395087629556656, 0.665303647518158, 0.7634807825088501, 0.06252927333116531, 0.06014437973499298, -0.5928375720977783, 0.19800865650177002, -0.27177417278289795, -1.4897277355194092, -0.6589910387992859, 0.3198586404323578, ...
func (dsc *DefaultConsumerStatsCollector) AddCheckpointDone(count int) { dsc.CheckpointDone.Inc(int64(count)) }
[ 0.24887527525424957, -0.19353289902210236, 0.3711303472518921, 0.746144711971283, 0.936349630355835, 1.116750955581665, 0.2405201643705368, -0.2618994414806366, -0.860539436340332, 0.20042762160301208, -0.3215334713459015, -1.4306681156158447, -0.1960262656211853, 0.5343696475028992, -0....
func (dsc *DefaultConsumerStatsCollector) UpdateCheckpointSize(size int) { dsc.CheckpointSize.Update(int64(size)) }
[ -0.38339635729789734, -0.158882275223732, 0.17885048687458038, 0.34901678562164307, -0.17112968862056732, 0.48436638712882996, 0.02404603734612465, 0.02295805886387825, 0.1482723206281662, 0.8793306946754456, -0.2573360800743103, -0.6629586815834045, -0.1872730851173401, 0.4409897923469543...
func (dsc *DefaultConsumerStatsCollector) AddCheckpointSent(count int) { dsc.CheckpointSent.Inc(int64(count)) }
[ 0.1925686150789261, -0.5011054277420044, 0.13861699402332306, -0.08577293902635574, 0.8108329176902771, 0.6215307712554932, 0.1250070333480835, -0.5111768841743469, -0.6218953728675842, 0.5268011689186096, -0.07639902830123901, -0.5915489792823792, -0.08805347979068756, 0.2681008577346802,...
func (dsc *DefaultConsumerStatsCollector) AddCheckpointSuccess(count int) { dsc.CheckpointSuccess.Inc(int64(count)) }
[ -0.09565366804599762, 0.22623474895954132, 0.31385141611099243, 0.6525102257728577, 0.4360053539276123, 1.078231930732727, -0.0016203875420615077, 0.021646028384566307, -0.31657153367996216, 0.3315214216709137, -0.3159661293029785, -1.387163519859314, 0.42755448818206787, -0.00820375420153...
func (dsc *DefaultConsumerStatsCollector) PrintStats() { log.Printf("Consumer stats: Consumed: [%d]\n", dsc.Consumed.Count()) log.Printf("Consumer stats: Delivered: [%d]\n", dsc.Delivered.Count()) log.Printf("Consumer stats: Processed: [%d]\n", dsc.Processed.Count()) log.Printf("Consumer stats: Batch Size: [%d]\n",...
[ 1.0160024166107178, -0.00006701572419842705, 0.7693138718605042, -0.7358992695808411, 0.7214221954345703, -0.20871935784816742, 0.33800026774406433, -0.9499031901359558, -0.4924374222755432, -0.12701916694641113, 0.41313695907592773, 0.5874677896499634, 0.6860175132751465, 0.39682492613792...
func LoadYAML(yamlContent []byte) (*Dataset, error) { var input []map[string]interface{} if err := yaml.Unmarshal(yamlContent, &input); err != nil { return nil, err } return internalLoadFromDict(input) }
[ 0.03694989159703255, -0.2585369348526001, 0.3203575611114502, -0.2975333333015442, -1.2851181030273438, -0.7211730480194092, 0.25171959400177, 0.5757808685302734, 0.56215900182724, -0.626189649105072, -0.05615454539656639, 0.19284841418266296, -0.6629837155342102, -0.23328521847724915, -...
func (d *Dataset) YAML() (string, error) { back := d.Dict() b, err := yaml.Marshal(back) if err != nil { return "", err } return string(b), nil }
[ 0.04029841721057892, 0.28062674403190613, 0.20985674858093262, -0.8376773595809937, -0.8512544631958008, 0.43448302149772644, -0.6510637998580933, 0.6083540916442871, 0.6856597661972046, -0.021085426211357117, 0.911880612373352, 1.3144121170043945, 0.7328253984451294, -0.43914854526519775,...
func (d *Databook) YAML() (string, error) { y := make([]map[string]interface{}, len(d.sheets)) i := 0 for _, s := range d.sheets { y[i] = make(map[string]interface{}) y[i]["title"] = s.title y[i]["dataset"] = s.dataset.Dict() } b, err := yaml.Marshal(y) if err != nil { return "", err } return string(b),...
[ -0.2965741455554962, -0.35596761107444763, 0.361639142036438, -0.626878023147583, -0.7470552325248718, 1.2129846811294556, -0.8457871675491333, 0.799003541469574, -0.16560322046279907, -0.26966163516044617, 0.274399995803833, 0.6601919531822205, 0.5552029013633728, 0.4391038715839386, 0....
func Multiplex(carrier Carrier, even bool, configuration *Configuration) *Multiplexer { // If no configuration was provided, then use default values, otherwise // normalize any out-of-range values provided by the caller. if configuration == nil { configuration = DefaultConfiguration() } else { configuration.nor...
[ -0.42971521615982056, 0.11051317304372787, 0.8374210000038147, 0.0684061348438263, -0.09342104941606522, -0.4338332414627075, 0.24365268647670746, -0.05276697129011154, 0.23853251338005066, -0.46616029739379883, -0.1581667810678482, 0.12497858703136444, -0.9074035882949829, 0.9149535298347...
func (m *Multiplexer) run(carrier Carrier) { // Start the reader Goroutine and monitor for its termination. heartbeats := make(chan struct{}, 1) readErrors := make(chan error, 1) go func() { readErrors <- m.read(carrier, heartbeats) }() // Start the writer Goroutine and monitor for its termination. writeError...
[ -0.7319355607032776, -0.3103216886520386, 1.0183131694793701, -0.18705938756465912, -0.4029289186000824, 0.03137316554784775, 0.31040874123573303, -0.07525279372930527, -0.06766483187675476, -0.2250269651412964, 0.3348536789417267, -0.47454115748405457, -0.5115964412689209, 0.1245589852333...
func (m *Multiplexer) read(reader Carrier, heartbeats chan<- struct{}) error { // Create a buffer for reading stream data lengths, which are encoded as // 16-bit unsigned integers. var lengthBuffer [2]byte // Track the range of stream identifiers used by the remote. var largestOpenedInboundStreamIdentifier uint64...
[ -0.5300732254981995, -0.521693229675293, 0.9003275036811829, -0.21857790648937225, -0.5925974249839783, 0.1493728756904602, 0.4134427309036255, -0.7089097499847412, 0.14997577667236328, -0.4284727871417999, -0.005133176688104868, 0.9077876806259155, -0.8712795376777649, 0.6586352586746216,...
func (m *Multiplexer) write(writer Carrier) error { // If outbound heartbeats are enabled, then create a ticker to regulate // heartbeat transmission, defer its shutdown, and craft a reusable // heartbeat message. var heartbeatTicker *time.Ticker var writeHeartbeat <-chan time.Time var heartbeat []byte if m.conf...
[ -1.0873574018478394, 0.3276187777519226, 0.6895909905433655, 0.22824816405773163, 0.4741665720939636, -0.11305929720401764, 0.46935492753982544, -0.3018779456615448, -0.28998157382011414, -0.1621682494878769, 0.09706124663352966, -0.350536048412323, -0.6811152696609497, 0.8384402394294739,...
func (m *Multiplexer) enqueue() { // Track pending updates. windowIncrements := make(map[uint64]uint64) writeCloses := make(map[uint64]bool) closes := make(map[uint64]bool) // Loop and process updates until failure. for { // Determine whether or not to poll for write buffer availability (based // on whether ...
[ 0.052375443279743195, -0.7241485714912415, 1.013899803161621, -0.35441693663597107, -0.44666966795921326, -0.8332786560058594, 0.8501031994819641, -0.6356620192527771, -0.25602689385414124, -0.13493338227272034, 0.31678253412246704, 0.8609729409217834, -1.2535765171051025, 0.85749948024749...
func (m *Multiplexer) OpenStream(ctx context.Context) (*Stream, error) { // Create and register the local side of the stream. If we've already // exhausted local stream identifiers, then we can't open a new stream. m.streamLock.Lock() if m.nextOutboundStreamIdentifier == 0 { m.streamLock.Unlock() return nil, er...
[ -0.11211903393268585, -0.13178905844688416, 0.8651092648506165, 0.1628999412059784, -1.18107008934021, -0.5597703456878662, 0.5980928540229797, -0.01237992849200964, 0.27460524439811707, -0.8559908270835876, 0.06946609914302826, 0.43800950050354004, -1.0214895009994507, 0.6535907983779907,...
func (m *Multiplexer) acceptOneStream(ctx context.Context) (*Stream, error) { // Grab the oldest pending stream identifier. var streamIdentifier uint64 select { case streamIdentifier = <-m.pendingInboundStreamIdentifiers: case <-ctx.Done(): return nil, context.Canceled case <-m.closed: return nil, ErrMultiple...
[ -0.11532089859247208, -0.57097989320755, 0.9574404358863831, -0.3043910264968872, -0.7328732013702393, -0.48304858803749084, 0.7093380689620972, -0.517117440700531, 0.11651661247015, -0.2143348902463913, 0.3422960937023163, 0.4903167486190796, -1.0323623418807983, 1.0808374881744385, 0.2...
func (m *Multiplexer) AcceptStream(ctx context.Context) (*Stream, error) { // Loop until we find a pending stream that's not stale or encounter some // other error. for { stream, err := m.acceptOneStream(ctx) if err == errStaleInboundStream { continue } return stream, err } }
[ -0.5243971347808838, -0.12174437195062637, 0.6933894753456116, 0.7117108702659607, -0.7699684500694275, -0.06118929758667946, 0.09768426418304443, -0.2716824412345886, 0.29535388946533203, -0.7338070869445801, 1.1384961605072021, 0.4166626036167145, -0.8045809864997864, 1.304992914199829, ...
func (m *Multiplexer) Accept() (net.Conn, error) { stream, err := m.AcceptStream(context.Background()) return stream, err }
[ -0.1815604418516159, -0.5474882125854492, 0.623767077922821, 0.6037715673446655, -1.066676139831543, -0.41403520107269287, 0.37997564673423767, 0.3580903708934784, -0.29512667655944824, -0.04115346819162369, 0.3072488605976105, 0.32647672295570374, -1.311475157737732, 1.0377914905548096, ...
func (m *Multiplexer) Closed() <-chan struct{} { return m.closed }
[ -0.5152508020401001, -1.1779485940933228, 0.44004300236701965, -0.3133837878704071, -0.9282251000404358, 0.20451168715953827, -0.13952019810676575, -0.8284249305725098, 0.31517231464385986, -1.138710856437683, -0.41144296526908875, 0.7430989742279053, -0.2644645571708679, 0.307883858680725...
func (m *Multiplexer) Close() error { return m.closeWithError(nil) }
[ 0.04872917756438255, -0.3473527133464813, 0.45955413579940796, 0.6070762872695923, -1.0811411142349243, 0.060726311057806015, -0.36827775835990906, -0.42709991335868835, -0.010513379238545895, -0.510021984577179, 0.2279115468263626, -0.5721744894981384, -1.2110567092895508, 1.2219688892364...
func init() { hostifService = &HostifService{ instances: make(map[string]*HostifInstance), done: make(chan struct{}), port: -1, } if l, err := vlog.New(moduleName); err == nil { log = l } else { log.Fatalf("Can't create logger: %s", moduleName) } rp := &vswitch.RingParam{ Count: C.MAX_H...
[ 0.03304101899266243, 0.8641819953918457, 0.5412725210189819, 0.04209252819418907, 0.5561869740486145, 0.6081240773200989, -0.30881187319755554, 0.4931353032588959, -0.7854659557342529, 0.38211601972579956, -0.2575790584087372, 0.3913898766040802, -0.2938828766345978, 0.8042548894882202, ...
func Open(args ...interface{}) (dbc *QData, err error) { lenArgs := len(args) if lenArgs == 0 { err = errors.New("dataq: invalid database source") } var ( connectString string dbConn QInterface dbName string config Config ok bool ) switch value := args[0].(type) { cas...
[ -0.3292224407196045, 0.31847083568573, 0.9131765365600586, -0.15426403284072876, -0.8712485432624817, 0.9504530429840088, 0.025944361463189125, 0.11338438838720322, 0.0499325729906559, -0.53250652551651, -0.252758264541626, 0.19658201932907104, -0.5482147932052612, 0.24184925854206085, -...
func (dbc *QData) DBName() string { return dbc.dbName }
[ 0.02827289327979088, -0.06620965152978897, 0.16175071895122528, -0.3884507417678833, -0.33146488666534424, 0.3959444463253021, 0.04054827615618706, -0.3579942584037781, -0.08895871788263321, -0.3312824070453644, 0.26302585005760193, 0.46699458360671997, -0.48466214537620544, 0.451766401529...
func (dbc *QData) Model(model interface{}) *QStat { stat := QStat{ dbc: dbc.clone(), preparedStmt: false, Variables: map[string]string{}, } stat.Model(model) return &stat }
[ 0.3854912519454956, 0.36626940965652466, 0.1704748570919037, -0.6053835153579712, -0.9903821349143982, 1.0737247467041016, 0.13171204924583435, -0.9293381571769714, 0.8559169173240662, -0.7187173366546631, -0.6282785534858704, -0.21722981333732605, 0.065708689391613, 0.24282802641391754, ...
func (c *QData) Begin() *QData { newc := c.clone() tx, err := newc.db.Begin() if err != nil { panic(err) } newc.tx = tx newc.preparedStmt = &sync.Map{} return newc }
[ 0.5814329385757446, 0.07773879915475845, 0.5452181100845337, 0.1763509064912796, -1.2339789867401123, 0.6417340636253357, -0.02070700377225876, -0.5681524276733398, 0.10092438012361526, -0.2864883840084076, 0.23992662131786346, 1.087221622467041, -0.2662385106086731, 0.2689793109893799, ...
func (c *QData) Commit() error { if c.tx != nil { err := c.tx.Commit() c.tx = nil return err } return nil }
[ 0.5795868635177612, -0.3570563793182373, 0.46643537282943726, -0.29231226444244385, 0.21353566646575928, 0.6272315382957458, 0.2360694408416748, -0.003934244625270367, -0.889582097530365, 0.9005476832389832, 0.12324222177267075, 0.009118514135479927, -0.5917574763298035, 0.0674505680799484...
func (c *QData) Rollback() error { if c.tx != nil { err := c.tx.Rollback() c.tx = nil return err } return nil }
[ 0.9574946165084839, 0.5941042304039001, 0.6217557191848755, -0.501006543636322, 0.651511549949646, 0.6271036267280579, 0.2685997784137726, 0.45247721672058105, 0.05814244970679283, 0.010780921205878258, 0.3446500301361084, 0.5957691073417664, -0.7148756384849548, -0.9078108072280884, -0....
func Change(amount int) map[int]int { usedCoins := map[int]int{25: 0, 10: 0, 5: 0, 1: 0} if amount == 0 { return usedCoins } remain := amount for _, coin := range coins { if remain == 0 { return usedCoins } mod := remain % coin if mod != remain { usedCoins[coin] = int(remain / coin) remain =...
[ -1.296085000038147, -0.09790971875190735, 0.8265359997749329, -0.4587076008319855, -0.47309035062789917, -0.723393976688385, 0.9155521392822266, -0.5069621205329895, -0.2845487594604492, 0.9085609912872314, -0.6464157104492188, 0.38330575823783875, -0.41474470496177673, 1.3950941562652588,...
func unwrapSMIME(smime []byte) ([]byte, error) { tr := textproto.NewReader(bufio.NewReader(bytes.NewReader(smime))) if _, err := tr.ReadMIMEHeader(); err != nil { return nil, err } dec := base64.NewDecoder(base64.StdEncoding, tr.DotReader()) buf := new(bytes.Buffer) io.Copy(buf, dec) return buf.Bytes(), nil }
[ -0.18679657578468323, 0.10874424129724503, 0.5999767780303955, -0.686266303062439, -1.7874115705490112, -0.3175763785839081, -0.635091245174408, 0.6242912411689758, 0.8196318745613098, 0.8937827348709106, -0.933497965335846, 0.2516946494579315, -0.8972413539886475, -0.5001513361930847, 0...
func unwrapTokenJSON(wrapped []byte) ([]byte, error) { tr := textproto.NewReader(bufio.NewReader(bytes.NewReader(wrapped))) if _, err := tr.ReadMIMEHeader(); err != nil { return nil, err } tokenJSON := new(bytes.Buffer) for { line, err := tr.ReadLineBytes() if err != nil && err == io.EOF { break } else ...
[ -0.2042863517999649, -0.7304115891456604, 0.835213303565979, -1.438148856163025, -1.3538049459457397, -0.5291903018951416, 0.030381932854652405, 0.25204014778137207, -0.2573930323123932, 0.8833598494529724, -0.8482797145843506, 1.157012701034546, -0.47647157311439514, -0.11079803109169006,...
func TestSubprocessExample_UseWithCommandCollector(t *testing.T) { res := td.RunTestSteps(t, false, func(ctx context.Context) error { mock := exec.CommandCollector{} // In other code, this would be exec.NewContext(ctx, mock.Run), but that doesn't work with // task driver's setup. // TODO(borenet) Could this be...
[ 0.028129978105425835, -0.36377963423728943, 0.825402021408081, 0.02839997410774231, 0.5110098123550415, 0.30606064200401306, 0.3304500877857208, -0.5207817554473877, 0.12175114452838898, -0.7652750015258789, -0.41292688250541687, -0.6074475049972534, 0.44585686922073364, 0.5659031271934509...
func NewGetOutagesParams() *GetOutagesParams { return &GetOutagesParams{ timeout: cr.DefaultTimeout, } }
[ -0.05007980391383171, 0.03829989209771156, 0.3789396584033966, 0.5228963494300842, -0.37780439853668213, 0.03186218813061714, -0.3835402727127075, 0.14171786606311798, -0.7055965065956116, 1.0419813394546509, 0.026246795430779457, 0.07413019239902496, 0.10707346349954605, 0.439086526632308...
func NewGetOutagesParamsWithTimeout(timeout time.Duration) *GetOutagesParams { return &GetOutagesParams{ timeout: timeout, } }
[ 0.3303945064544678, -0.5778448581695557, 0.6153096556663513, 0.5306932330131531, -0.46426019072532654, 0.7808133959770203, -1.3021917343139648, 0.044719062745571136, -0.45944681763648987, 1.8865046501159668, 0.20853130519390106, 0.48448631167411804, 0.3381180763244629, 0.3742452561855316, ...
func NewGetOutagesParamsWithContext(ctx context.Context) *GetOutagesParams { return &GetOutagesParams{ Context: ctx, } }
[ 0.050346460193395615, -0.27308061718940735, 0.6132733225822449, 0.0946887955069542, -0.47988754510879517, 0.8610415458679199, -0.9507387280464172, -0.8313326239585876, -0.005355352070182562, 1.1869850158691406, 0.09638553112745285, 0.29399174451828003, 0.2662167251110077, -0.04798977077007...
func NewGetOutagesParamsWithHTTPClient(client *http.Client) *GetOutagesParams { return &GetOutagesParams{ HTTPClient: client, } }
[ 0.07492872327566147, -0.400041788816452, 0.8738899827003479, 0.19047950208187103, -0.2933520972728729, 0.9249547719955444, -0.2452016919851303, 0.17490443587303162, -0.6359454989433289, 0.9185196757316589, -0.07014813274145126, 0.20770281553268433, 0.3755863904953003, -0.003075704909861088...
func (o *GetOutagesParams) WithDefaults() *GetOutagesParams { o.SetDefaults() return o }
[ 0.18363407254219055, 0.5915917158126831, 0.10489282757043839, -0.11456098407506943, 0.3843117356300354, -0.6637606620788574, -0.685337483882904, -0.16203437745571136, 0.4369806945323944, 0.3884986340999603, 0.469063937664032, -0.9226493239402771, 0.47027134895324707, -0.13713589310646057, ...
func (o *GetOutagesParams) SetDefaults() { // no default values defined for this parameter }
[ -0.5973277688026428, 0.8074461817741394, 0.1448337286710739, -0.21193884313106537, 0.9651985168457031, -0.08093912899494171, 0.07578008621931076, -0.10061520338058472, -0.24798311293125153, 0.18942642211914062, 0.20134642720222473, 0.10995067656040192, -0.4643406867980957, 0.01978810131549...
func (o *GetOutagesParams) WithTimeout(timeout time.Duration) *GetOutagesParams { o.SetTimeout(timeout) return o }
[ 0.3796803653240204, 0.39425742626190186, 0.44075870513916016, -0.2673744857311249, -0.24736721813678741, 0.3184412121772766, -0.4312041699886322, 0.20026221871376038, 0.2583642601966858, 1.4009126424789429, 0.8279336094856262, 0.22590266168117523, 0.8925480246543884, 0.2596583068370819, ...
func (o *GetOutagesParams) SetTimeout(timeout time.Duration) { o.timeout = timeout }
[ -0.07496994733810425, 0.559299886226654, 0.29257550835609436, -0.08123823255300522, 0.2637665569782257, 0.469910204410553, 0.1296045482158661, 0.5193968415260315, -0.10315864533185959, 1.2833054065704346, 0.5542246699333191, 0.48833245038986206, 0.15993088483810425, 0.22355742752552032, ...
func (o *GetOutagesParams) WithContext(ctx context.Context) *GetOutagesParams { o.SetContext(ctx) return o }
[ -0.32449865341186523, 0.5459232330322266, 0.5156517028808594, -0.35787659883499146, -0.4382985234260559, 0.34353479743003845, -0.4726982116699219, -0.5148262977600098, 0.6206732988357544, 0.8070746660232544, 0.7780354022979736, 0.13479109108448029, 0.28648561239242554, -0.33982640504837036...
func (o *GetOutagesParams) SetContext(ctx context.Context) { o.Context = ctx }
[ -0.6384497284889221, 0.5945655703544617, 0.3654313385486603, -0.04706558212637901, 0.12861157953739166, 0.3304150402545929, 0.13059011101722717, -0.06770888715982437, 0.7456028461456299, 0.6778530478477478, 0.38185179233551025, 0.45233938097953796, -0.17621798813343048, -0.3374830782413482...
func (o *GetOutagesParams) WithHTTPClient(client *http.Client) *GetOutagesParams { o.SetHTTPClient(client) return o }
[ 0.031586941331624985, -0.3814440965652466, 0.5879267454147339, -0.5397123098373413, -0.3311662971973419, 0.06050748750567436, 0.1933271437883377, -0.16357874870300293, -0.21749110519886017, 0.2897809147834778, 0.5668598413467407, 0.015998121351003647, 0.8621596097946167, -0.317525863647460...
func (o *GetOutagesParams) SetHTTPClient(client *http.Client) { o.HTTPClient = client }
[ 0.13255363702774048, -0.06962297111749649, 0.4172879159450531, -0.9506516456604004, -0.4873727858066559, -0.12105564773082733, 0.6053640246391296, -0.05174851790070534, -0.49181434512138367, 0.43437227606773376, 0.11463798582553864, 0.4398113489151001, 0.07233157008886337, -0.6551305055618...
func (o *GetOutagesParams) WithCount(count float64) *GetOutagesParams { o.SetCount(count) return o }
[ 0.13260266184806824, 0.4682437479496002, 0.34995436668395996, 0.3958406150341034, 0.2954958975315094, -0.33918166160583496, 0.29242759943008423, -0.2882320284843445, -0.8387845158576965, 1.0197434425354004, 0.6172657012939453, -0.8584939241409302, 0.875149130821228, 0.024480778723955154, ...
func (o *GetOutagesParams) SetCount(count float64) { o.Count = count }
[ -0.1488879770040512, 0.49765461683273315, 0.22801627218723297, 0.5983142256736755, 0.4772644639015198, -0.042514074593782425, 0.3471190631389618, 0.15706777572631836, -1.121964693069458, 0.9325369596481323, 0.4181184470653534, -0.38903552293777466, 0.02144797332584858, 0.5237300992012024, ...
func (o *GetOutagesParams) WithDeviceID(deviceID *string) *GetOutagesParams { o.SetDeviceID(deviceID) return o }
[ -0.3981076180934906, 0.07050342112779617, 0.35568174719810486, -0.1846340447664261, -0.6419971585273743, 0.9362019300460815, 0.14186197519302368, -0.31680482625961304, 1.3217713832855225, 1.0771170854568481, 1.4987016916275024, -0.19566147029399872, 0.9327295422554016, 0.9938167333602905, ...
func (o *GetOutagesParams) SetDeviceID(deviceID *string) { o.DeviceID = deviceID }
[ -0.9390212893486023, -0.11693431437015533, 0.4435303211212158, 0.17636266350746155, -0.2065591663122177, 1.0571895837783813, 0.943730890750885, 0.2604691684246063, 0.8808109760284424, 0.7526050806045532, 1.0279710292816162, 0.4755246639251709, 0.021870436146855354, 1.373841404914856, -0....
func (o *GetOutagesParams) WithInProgress(inProgress *bool) *GetOutagesParams { o.SetInProgress(inProgress) return o }
[ -0.28040260076522827, -0.2825199067592621, 0.4636474549770355, 0.16041699051856995, -1.3084698915481567, 0.04692754149436951, -0.026481743901968002, -0.1501418650150299, -0.4322882294654846, 0.3277948796749115, 0.5818316340446472, 0.04730771481990814, -1.1456632614135742, -0.82806175947189...
func (o *GetOutagesParams) SetInProgress(inProgress *bool) { o.InProgress = inProgress }
[ -0.4835395812988281, -0.2519141137599945, 0.5684870481491089, 0.0684368833899498, -0.9564524292945862, -0.08825714886188507, 0.2929607629776001, 0.1458982229232788, -0.6854570508003235, 0.5311025381088257, -0.019264187663793564, -0.060380786657333374, -1.3188591003417969, -0.18372756242752...
func (o *GetOutagesParams) WithPage(page float64) *GetOutagesParams { o.SetPage(page) return o }
[ -0.5145113468170166, 0.32105550169944763, 0.27923792600631714, -0.6813743710517883, 0.31661975383758545, 0.03137202188372612, 0.661342442035675, -0.039132554084062576, -0.2493916153907776, 0.8856272101402283, 1.2730653285980225, -1.3094911575317383, -0.0081240925937891, 0.2439132183790207,...
func (o *GetOutagesParams) SetPage(page float64) { o.Page = page }
[ -0.8037946820259094, 0.4870951473712921, 0.2446533590555191, -0.19794043898582458, 0.4582405984401703, -0.013281996361911297, 0.7683982849121094, 0.440864622592926, -0.4393211305141449, 0.8256739377975464, 0.9072092771530151, -0.5102619528770447, -0.7278860211372375, 0.5281686782836914, ...
func (o *GetOutagesParams) WithPeriod(period *float64) *GetOutagesParams { o.SetPeriod(period) return o }
[ 0.4332152009010315, -0.3168722093105316, 0.3782602846622467, 0.26367563009262085, 0.06449078768491745, 0.557233452796936, 0.7339310646057129, -0.1900317221879959, 0.38423964381217957, -0.1950134038925171, 1.5586187839508057, -0.12906961143016815, 0.25437474250793457, 0.2765972912311554, ...
func (o *GetOutagesParams) SetPeriod(period *float64) { o.Period = period }
[ -0.1345100700855255, -0.26901331543922424, 0.3503047525882721, 0.4071628749370575, 0.35339096188545227, 0.6871660947799683, 1.1863956451416016, 0.3381815254688263, 0.1749500334262848, 0.029962852597236633, 1.1939748525619507, 0.38435113430023193, -0.503017246723175, 0.6334198713302612, 0...
func (o *GetOutagesParams) WithQuery(query *string) *GetOutagesParams { o.SetQuery(query) return o }
[ -0.19580574333667755, 0.11137382686138153, 0.24946579337120056, -0.4283837676048279, -0.27309107780456543, -0.3646101653575897, -0.48343968391418457, -0.08661748468875885, 0.7898988723754883, 0.5847745537757874, 1.242751121520996, -0.1935708075761795, 0.7335799932479858, -0.120797105133533...
func (o *GetOutagesParams) SetQuery(query *string) { o.Query = query }
[ -0.6316601634025574, 0.02855708822607994, 0.07710696756839752, 0.1533004194498062, 0.04555514454841614, 0.07902257889509201, -0.11257615685462952, 0.612060010433197, 0.2948746979236603, 0.4425946772098541, 0.6269462704658508, 0.028066469356417656, -0.22739261388778687, 0.09688962996006012,...
func (o *GetOutagesParams) WithType(typeVar *string) *GetOutagesParams { o.SetType(typeVar) return o }
[ -0.5866361260414124, 0.30077874660491943, 0.33070698380470276, 0.10840126127004623, 0.7878156304359436, -0.25629791617393494, 0.27809855341911316, -0.6808061003684998, 0.2818354070186615, 0.9797509908676147, 0.927249014377594, 0.13479536771774292, 0.07760760188102722, 0.4074430763721466, ...
func (o *GetOutagesParams) SetType(typeVar *string) { o.Type = typeVar }
[ -0.9038718342781067, 0.13789132237434387, 0.2452588677406311, 0.20383137464523315, 0.712886393070221, -0.15681810677051544, 0.6162631511688232, -0.34775280952453613, -0.12194753438234329, 0.9110175371170044, 0.3633961081504822, 0.3855704367160797, -0.7224212288856506, 0.4759593605995178, ...
func (o *GetOutagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error { if err := r.SetTimeout(o.timeout); err != nil { return err } var res []error // query param count qrCount := o.Count qCount := swag.FormatFloat64(qrCount) if qCount != "" { if err := r.SetQueryParam("count", qC...
[ -1.0632879734039307, -0.10038737207651138, 1.0699278116226196, -0.9083322286605835, 0.08188372105360031, -0.04655340313911438, 0.7826263308525085, -0.39475148916244507, -0.03683023899793625, 0.1529817134141922, 0.6289159655570984, 0.4615144431591034, 0.0025747749023139477, 0.62944746017456...
func resourceAuthenticatorCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { if isClassicOrg(m) { return resourceOIEOnlyFeatureError(authenticator) } var err error // soft create if the authenticator already exists authenticator, _ := findAuthenticator(ctx, m, "", d.Get("key")...
[ -1.2711118459701538, -0.39690157771110535, 0.3787224590778351, 0.08052467554807663, -0.883336067199707, -0.32884860038757324, 0.2934558093547821, 0.42886146903038025, 0.535661518573761, 0.34664085507392883, 0.023878972977399826, -0.1774478256702423, 0.06765850633382797, -0.0025516229216009...
func resourceAuthenticatorDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { if isClassicOrg(m) { return resourceOIEOnlyFeatureError(authenticator) } _, _, err := getOktaClientFromMetadata(m).Authenticator.DeactivateAuthenticator(ctx, d.Id()) if err != nil { logger(m).Warn(fm...
[ -1.2579562664031982, -0.24105627834796906, 0.39023271203041077, 0.10969198495149612, -1.165574550628662, -0.24337592720985413, 0.7210986614227295, 0.012566069141030312, 0.7746652364730835, 0.25771600008010864, 0.4964906573295593, -0.13353301584720612, 0.4926980137825012, -0.312740921974182...
func (p URLMethod) MarshalText() (text []byte, err error) { return []byte(fmt.Sprintf("%s %s", p.Path, p.Method)), nil }
[ 0.34994998574256897, 0.5323806405067444, 0.13632717728614807, -0.22295521199703217, -0.22249023616313934, -0.35228580236434937, -0.1356101781129837, 0.2052188515663147, 0.4866630733013153, 0.3606260120868683, 0.20376677811145782, 0.6873831152915955, -0.5906230211257935, -0.0032137609086930...
func NewSpecAnalyser() *SpecAnalyser { return &SpecAnalyser{ Diffs: SpecDifferences{}, ReferencedDefinitions: map[string]bool{}, } }
[ -0.13979601860046387, -1.0387581586837769, 0.21859607100486755, 0.256208598613739, -1.0307270288467407, -0.021825632080435753, 0.5945022702217102, -0.7830519080162048, -0.14956778287887573, -0.32179465889930725, -0.26662853360176086, -0.20827220380306244, 0.1331842839717865, 1.566564559936...
func (sd *SpecAnalyser) Analyse(spec1, spec2 *spec.Swagger) error { sd.schemasCompared = make(map[string]struct{}) sd.Definitions1 = spec1.Definitions sd.Definitions2 = spec2.Definitions sd.Info1 = spec1.Info sd.Info2 = spec2.Info sd.urlMethods1 = getURLMethodsFor(spec1) sd.urlMethods2 = getURLMethodsFor(spec2) ...
[ -0.19850026071071625, -0.3943403661251068, 0.7537406086921692, 0.019060280174016953, 0.2679307460784912, -0.24212896823883057, 0.1424417793750763, -0.622917890548706, -0.7927184700965881, -0.4841591715812683, -0.3130163252353668, 0.8813852667808533, 0.07571542263031006, 0.8061721324920654,...
func (sd *SpecAnalyser) AnalyseDefinitions() { alreadyReferenced := map[string]bool{} for k := range sd.ReferencedDefinitions { alreadyReferenced[k] = true } location := DifferenceLocation{Node: &Node{Field: "Spec Definitions"}} for name1, sch := range sd.Definitions1 { schema1 := sch if _, ok := alreadyRefe...
[ -0.12744173407554626, -0.10676734149456024, 0.6009909510612488, -0.5384551286697388, 0.6768952012062073, -0.375451922416687, 1.198968529701233, -0.685732364654541, 0.2712809443473816, -0.11388556659221649, -0.5377833247184753, 0.2645775377750397, 0.5075844526290894, 1.8071092367172241, 0...
func (sd *SpecAnalyser) CompareProps(type1, type2 *spec.SchemaProps) []TypeDiff { diffs := []TypeDiff{} diffs = CheckToFromPrimitiveType(diffs, type1, type2) if len(diffs) > 0 { return diffs } if isArray(type1) { maxItemDiffs := CompareIntValues("MaxItems", type1.MaxItems, type2.MaxItems, WidenedType, Narr...
[ -0.8168922066688538, -1.2214884757995605, 0.8523558378219604, -0.07569892704486847, 0.30373653769493103, -0.11600648611783981, 0.20459303259849548, -1.2461252212524414, 0.05913519114255905, 0.27867457270622253, 0.36369460821151733, 0.6297261714935303, -0.27467721700668335, 0.55545723438262...
func Server(l log.Logger) middleware.Middleware { logger := log.NewHelper("middleware/logging", l) return func(handler middleware.Handler) middleware.Handler { return func(ctx context.Context, req interface{}) (interface{}, error) { var ( path string method string args string compone...
[ -0.313819944858551, -0.41505706310272217, 0.9414318203926086, 0.17195262014865875, 0.3643590807914734, 0.290772408246994, 0.5383858680725098, -0.1207134798169136, 0.2224792242050171, 0.21466033160686493, -0.17179979383945465, 0.6554089784622192, -0.7719957828521729, 0.6470426321029663, 0...
func Client(l log.Logger) middleware.Middleware { logger := log.NewHelper("middleware/logging", l) return func(handler middleware.Handler) middleware.Handler { return func(ctx context.Context, req interface{}) (interface{}, error) { var ( path string method string args string compone...
[ 0.1987583041191101, -0.324555903673172, 0.977523922920227, -0.28001585602760315, -0.2919207215309143, 0.5813210010528564, 0.8432936072349548, -0.6741224527359009, 0.0639210194349289, -0.04066893085837364, -0.07199233770370483, 0.8166793584823608, -0.1642594039440155, 0.029596606269478798, ...
func (rdq *ResultsDefinitionQuery) Where(ps ...predicate.ResultsDefinition) *ResultsDefinitionQuery { rdq.predicates = append(rdq.predicates, ps...) return rdq }
[ 0.37111347913742065, 0.045912906527519226, 0.28152644634246826, -0.18019509315490723, -0.0372796431183815, 0.5529342293739319, -0.22954638302326202, -0.5259484648704529, -0.7558378577232361, -0.780946671962738, 0.5012954473495483, 0.6993408799171448, 0.06932828575372696, 0.5672536492347717...
func (rdq *ResultsDefinitionQuery) Limit(limit int) *ResultsDefinitionQuery { rdq.limit = &limit return rdq }
[ -0.026947347447276115, 0.749893069267273, 0.33100128173828125, -0.008934639394283295, 0.12894859910011292, 0.39562273025512695, 0.6084238886833191, -0.026916678994894028, 0.7777726650238037, -0.720912516117096, 0.3977588415145874, 0.30887216329574585, -0.44565722346305847, 0.33459940552711...
func (rdq *ResultsDefinitionQuery) Offset(offset int) *ResultsDefinitionQuery { rdq.offset = &offset return rdq }
[ 0.03652586415410042, 0.33162298798561096, 0.15564659237861633, -0.41006794571876526, -0.807124674320221, 1.562891960144043, 0.9260329604148865, 0.2996103763580322, 0.5828627943992615, -0.5083222389221191, 0.2550954520702362, 0.36369428038597107, 0.07050641626119614, 0.8238853216171265, -...
func (rdq *ResultsDefinitionQuery) Unique(unique bool) *ResultsDefinitionQuery { rdq.unique = &unique return rdq }
[ -0.03427475318312645, 0.6441433429718018, 0.24120700359344482, -0.1856873482465744, -0.022813603281974792, 0.690702497959137, 1.0315253734588623, 0.4966648519039154, 0.12717305123806, -0.5782939791679382, -0.20872057974338531, 0.8394913077354431, -0.2380465418100357, 0.4873252809047699, ...
func (rdq *ResultsDefinitionQuery) Order(o ...OrderFunc) *ResultsDefinitionQuery { rdq.order = append(rdq.order, o...) return rdq }
[ -0.20842915773391724, 0.754116952419281, 0.2805515229701996, 0.9958657622337341, 0.566851794719696, 0.2674740254878998, -0.22468878328800201, -0.46210330724716187, -0.12081045657396317, -0.5202303528785706, -0.2058955579996109, 0.06515397131443024, 0.6575343608856201, 0.8671611547470093, ...
func (rdq *ResultsDefinitionQuery) QueryParent() *ClinicalTrialQuery { query := &ClinicalTrialQuery{config: rdq.config} query.path = func(ctx context.Context) (fromU *sql.Selector, err error) { if err := rdq.prepareQuery(ctx); err != nil { return nil, err } selector := rdq.sqlQuery(ctx) if err := selector....
[ 0.8447051048278809, -0.10706991702318192, 0.5596193671226501, -0.2814277112483978, -0.47097399830818176, -0.15707267820835114, 0.4147554039955139, -0.7842394113540649, -0.05790087953209877, -0.6722583174705505, 0.7437138557434082, 0.39934131503105164, 0.05126141011714935, 0.296948879957199...
func (rdq *ResultsDefinitionQuery) QueryParticipantFlowModule() *ParticipantFlowModuleQuery { query := &ParticipantFlowModuleQuery{config: rdq.config} query.path = func(ctx context.Context) (fromU *sql.Selector, err error) { if err := rdq.prepareQuery(ctx); err != nil { return nil, err } selector := rdq.sqlQ...
[ 0.23692212998867035, -0.8375293612480164, 0.332476943731308, -0.33509230613708496, 0.28954920172691345, 0.30984973907470703, 0.6150234937667847, 0.05895611643791199, 0.7123268842697144, 0.09795994311571121, 0.29003310203552246, 0.03785533085465431, -0.8229753971099854, -0.3411593437194824,...
func (rdq *ResultsDefinitionQuery) QueryBaselineCharacteristicsModule() *BaselineCharacteristicsModuleQuery { query := &BaselineCharacteristicsModuleQuery{config: rdq.config} query.path = func(ctx context.Context) (fromU *sql.Selector, err error) { if err := rdq.prepareQuery(ctx); err != nil { return nil, err ...
[ -0.34340760111808777, -0.6875599026679993, 0.5600140690803528, -0.8179218769073486, 0.8410518765449524, 0.32675427198410034, -0.10880639404058456, -0.19182978570461273, -0.1275961697101593, -0.13096201419830322, -0.04490530863404274, 1.1947298049926758, -0.5297625064849854, -0.123014070093...
func (rdq *ResultsDefinitionQuery) QueryOutcomeMeasuresModule() *OutcomeMeasuresModuleQuery { query := &OutcomeMeasuresModuleQuery{config: rdq.config} query.path = func(ctx context.Context) (fromU *sql.Selector, err error) { if err := rdq.prepareQuery(ctx); err != nil { return nil, err } selector := rdq.sqlQ...
[ 0.28479331731796265, 0.1911662071943283, 0.47081246972084045, -0.7072077393531799, 0.24851682782173157, 0.635574221611023, 0.94634610414505, -0.27174827456474304, 0.46726536750793457, 0.47974318265914917, 0.40922048687934875, 0.38629215955734253, 0.3586060404777527, 0.42050182819366455, ...
func (rdq *ResultsDefinitionQuery) QueryAdverseEventsModule() *AdverseEventsModuleQuery { query := &AdverseEventsModuleQuery{config: rdq.config} query.path = func(ctx context.Context) (fromU *sql.Selector, err error) { if err := rdq.prepareQuery(ctx); err != nil { return nil, err } selector := rdq.sqlQuery(c...
[ 0.25560086965560913, -0.34537795186042786, 0.6920011639595032, -0.9492522478103638, 0.22940178215503693, 0.419145792722702, 0.4964647591114044, -0.3526056706905365, 0.22474578022956848, 0.36462393403053284, 0.11640635132789612, 1.082899570465088, -0.2899340093135834, 0.36684852838516235, ...
func (rdq *ResultsDefinitionQuery) QueryMoreInfoModule() *MoreInfoModuleQuery { query := &MoreInfoModuleQuery{config: rdq.config} query.path = func(ctx context.Context) (fromU *sql.Selector, err error) { if err := rdq.prepareQuery(ctx); err != nil { return nil, err } selector := rdq.sqlQuery(ctx) if err :=...
[ -0.49671971797943115, -0.35173627734184265, 0.4122920036315918, -0.5898845195770264, 0.4784131944179535, 0.18937081098556519, -0.00013401458272710443, -1.0152982473373413, 0.1940648853778839, -0.06050601974129677, -0.1482054442167282, 0.3188174068927765, 0.14416944980621338, 0.471097558736...
func (rdq *ResultsDefinitionQuery) FirstX(ctx context.Context) *ResultsDefinition { node, err := rdq.First(ctx) if err != nil && !IsNotFound(err) { panic(err) } return node }
[ 0.7917214632034302, 0.8100591897964478, 0.2722584903240204, 0.015113486908376217, 0.33565017580986023, -0.0185307115316391, -0.7718992233276367, -0.5481113195419312, 0.5155783295631409, -0.6967026591300964, 0.6277744770050049, 0.2834615111351013, -0.18763726949691772, 0.7331746816635132, ...
func (rdq *ResultsDefinitionQuery) FirstIDX(ctx context.Context) int { id, err := rdq.FirstID(ctx) if err != nil && !IsNotFound(err) { panic(err) } return id }
[ 0.5629022121429443, 0.12213940918445587, 0.18373535573482513, -0.4019046723842621, 0.1809426099061966, -0.3034842312335968, -0.2509106993675232, -0.37496039271354675, 0.3794770836830139, -0.8178836703300476, 0.2978408634662628, -0.03202705457806587, -0.30804842710494995, 1.0162690877914429...
func (rdq *ResultsDefinitionQuery) OnlyX(ctx context.Context) *ResultsDefinition { node, err := rdq.Only(ctx) if err != nil { panic(err) } return node }
[ 0.04614049196243286, 1.3031890392303467, 0.2679123878479004, 0.35787275433540344, -0.5191071033477783, 0.6771429181098938, -0.46317991614341736, -0.055179838091135025, 0.8923631310462952, -0.637781023979187, 0.5592360496520996, 0.6765469312667847, -0.391765832901001, 0.5362530946731567, ...
func (rdq *ResultsDefinitionQuery) OnlyIDX(ctx context.Context) int { id, err := rdq.OnlyID(ctx) if err != nil { panic(err) } return id }
[ -0.25339585542678833, 0.5614754557609558, 0.2326798141002655, -0.05424586683511734, -0.3815290331840515, 0.36050066351890564, -0.02655787207186222, 0.4073536694049835, 0.8193984031677246, -0.7334806323051453, 0.2543133497238159, 0.4574669301509857, -0.8994460701942444, 0.6195586919784546, ...
func (rdq *ResultsDefinitionQuery) All(ctx context.Context) ([]*ResultsDefinition, error) { if err := rdq.prepareQuery(ctx); err != nil { return nil, err } return rdq.sqlAll(ctx) }
[ 0.6497905850410461, 0.0900556892156601, 0.2003384530544281, 0.6790210008621216, 0.8891475200653076, 0.6952446699142456, -0.5811899900436401, -0.346964567899704, -0.5760772228240967, -0.16764754056930542, 0.2175830751657486, 0.813025951385498, 0.1344306915998459, 1.4775044918060303, -0.48...
func (rdq *ResultsDefinitionQuery) AllX(ctx context.Context) []*ResultsDefinition { nodes, err := rdq.All(ctx) if err != nil { panic(err) } return nodes }
[ 0.16524851322174072, 0.8244686126708984, 0.20335893332958221, 0.5594340562820435, -0.1889517456293106, 0.36330536007881165, -1.1002708673477173, -0.07797334343194962, 0.7597958445549011, -0.1478063464164734, 0.49312952160835266, 0.9677100777626038, 0.19168101251125336, 0.365139901638031, ...
func (rdq *ResultsDefinitionQuery) IDs(ctx context.Context) ([]int, error) { var ids []int if err := rdq.Select(resultsdefinition.FieldID).Scan(ctx, &ids); err != nil { return nil, err } return ids, nil }
[ -0.5000780820846558, 0.6937411427497864, 0.04563087224960327, -0.24755211174488068, 0.5664342641830444, -0.5456477403640747, -0.10952679812908173, -0.6747630834579468, 0.023716403171420097, -0.23943625390529633, -0.17245161533355713, 0.11020126193761826, -0.3468359410762787, 0.229333370923...
func (rdq *ResultsDefinitionQuery) IDsX(ctx context.Context) []int { ids, err := rdq.IDs(ctx) if err != nil { panic(err) } return ids }
[ -0.6607575416564941, 0.9527136087417603, 0.2065015286207199, 0.16443680226802826, 0.05382215604186058, -0.2016381323337555, -0.852699339389801, -0.15968337655067444, 0.6750693917274475, 0.11995942890644073, -0.4236249327659607, 0.07932493090629578, -0.1482861489057541, -0.23155227303504944...
func (rdq *ResultsDefinitionQuery) Count(ctx context.Context) (int, error) { if err := rdq.prepareQuery(ctx); err != nil { return 0, err } return rdq.sqlCount(ctx) }
[ 0.5448954105377197, 0.7306783199310303, 0.5720657110214233, 0.1898883879184723, 0.19016827642917633, -0.1783459335565567, 0.08811093121767044, -0.46680429577827454, -0.6675032377243042, 0.04595440253615379, 0.11574555933475494, -0.5609808564186096, 0.18350434303283691, 1.5024592876434326, ...
func (rdq *ResultsDefinitionQuery) CountX(ctx context.Context) int { count, err := rdq.Count(ctx) if err != nil { panic(err) } return count }
[ 0.20953142642974854, 0.9232421517372131, 0.4289490878582001, 0.2631204128265381, -0.07715925574302673, 0.8473185896873474, -0.4357406198978424, -0.10001180320978165, 0.09508094191551208, -0.028906604275107384, -0.23529139161109924, 0.02133520320057869, 0.4433273375034332, 0.599117755889892...
func (rdq *ResultsDefinitionQuery) Exist(ctx context.Context) (bool, error) { if err := rdq.prepareQuery(ctx); err != nil { return false, err } return rdq.sqlExist(ctx) }
[ -0.10192282497882843, 0.5434179902076721, 0.5847926735877991, -0.06271349638700485, 0.6148801445960999, 0.4422158896923065, -0.09563232213258743, -0.4982438087463379, -0.6967189908027649, 0.8769727945327759, 0.8146791458129883, -0.9239258766174316, -0.4461195170879364, 1.2505122423171997, ...
func (rdq *ResultsDefinitionQuery) ExistX(ctx context.Context) bool { exist, err := rdq.Exist(ctx) if err != nil { panic(err) } return exist }
[ -0.41805270314216614, 0.9381855726242065, 0.6876574158668518, -0.14055515825748444, 0.3050181567668915, 1.175860047340393, -0.5775247812271118, -0.2033289521932602, -0.14824000000953674, 0.9053099155426025, 0.03436734899878502, -0.26850029826164246, -0.21336515247821808, 0.5574449300765991...
func (rdq *ResultsDefinitionQuery) Clone() *ResultsDefinitionQuery { if rdq == nil { return nil } return &ResultsDefinitionQuery{ config: rdq.config, limit: rdq.limit, offset: rdq.offset, order: ap...
[ 0.32613468170166016, -0.13596300780773163, 0.5528262853622437, 0.29673999547958374, -0.24427859485149384, 0.4445739984512329, 0.05834895744919777, -1.1723613739013672, 0.12959912419319153, -0.009200509637594223, 0.23948416113853455, 0.5213926434516907, -0.46092116832733154, 0.4335272908210...
func (rdq *ResultsDefinitionQuery) WithParent(opts ...func(*ClinicalTrialQuery)) *ResultsDefinitionQuery { query := &ClinicalTrialQuery{config: rdq.config} for _, opt := range opts { opt(query) } rdq.withParent = query return rdq }
[ 1.0704082250595093, 0.11279524117708206, 0.3186357617378235, -0.4407122731208801, -0.2571830749511719, 0.06836581230163574, 0.16321127116680145, -1.122727394104004, 0.065709188580513, -0.8834179639816284, 1.0087848901748657, 0.13033458590507507, 0.1884886473417282, 0.5323442816734314, -1...