text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (n *Node) Next() *Node { return n.next }
[ -0.6809372901916504, 0.3463134169578552, -0.1329030990600586, 0.6712201833724976, -0.5647376179695129, 0.6317868828773499, -0.5124269723892212, 0.01138975191861391, 0.24521340429782867, -0.9027968645095825, -0.1215747743844986, 1.3257074356079102, -0.2253466695547104, 0.1936655342578888, ...
func (v *DateRangeQuery) Lucene() bool { return true }
[ -0.9904897809028625, 0.24948854744434357, 0.34517702460289, 0.49856099486351013, 0.042690809816122055, 0.4127739667892456, -0.9352473616600037, 0.23880618810653687, -0.042580559849739075, -0.5365887880325317, -0.05256442725658417, -1.117566466331482, -0.932071328163147, -0.0424289032816886...
func (fn MsgPublisherFunc) Publish(ctx context.Context, spec MsgSpec, msg interface{}) error { return fn(ctx, spec, msg) }
[ -0.05537226051092148, -0.2625068426132202, 0.27346378564834595, 0.46099942922592163, -0.1794675588607788, -0.6940808296203613, 0.616301953792572, 0.9497637748718262, -0.4853592813014984, -0.7544326782226562, 0.6623849868774414, 0.7089604139328003, -0.064670130610466, 1.229222297668457, -...
func NewMsgPublisherWithMWs(publisher MsgPublisher, mws ...MsgPublisherMiddleware) MsgPublisherFunc { p := publisher.Publish for i := len(mws) - 1; i >= 0; i-- { p = mws[i](p) } return MsgPublisherFunc(p) }
[ 0.0906849354505539, -0.7528458833694458, 0.021497828885912895, 0.9647310972213745, -1.4159059524536133, -0.8063616156578064, -0.5266209244728088, 0.27015870809555054, 0.6495876908302307, -0.34056225419044495, 0.1301022619009018, 0.03650027886033058, -1.0464664697647095, 2.4729981422424316,...
func (d *LDB) GetStationCrs(crs string) *Station { var station *Station //_ = d.View(func(tx *bbolt.Tx) error { _ = d.Update(func(tx *bbolt.Tx) error { station = d.getStationCrs(tx, crs) return nil }) return station }
[ -0.8651025295257568, -0.22696107625961304, 0.40459144115448, 0.203915074467659, -0.23063698410987854, -0.6144982576370239, 0.4024902582168579, -0.8100011348724365, -0.005740225315093994, -0.10440565645694733, 0.10378772020339966, 0.007992781698703766, -0.7236907482147217, -0.74694043397903...
func (d *LDB) GetStationTiploc(tiploc string) *Station { crs, exists := d.tiplocs[tiploc] if !exists { return nil } return d.GetStationCrs(crs) /* var station *Station // Try to resolve the crs _ = d.View(func(tx *bbolt.Tx) error { station = d.getStationTiploc(tx, tiploc) return nil }) return...
[ -0.9858221411705017, -0.5282389521598816, 0.7287984490394592, -0.4453701972961426, 0.15128837525844574, -0.8247894048690796, 1.0007330179214478, -0.4783337116241455, 0.4675888419151306, 0.037604864686727524, 0.09135552495718002, -0.6433987021446228, 0.4405851662158966, -1.197859525680542, ...
func (d *LDB) createStation(tx *bbolt.Tx, locations []*darwinref.Location) *Station { if len(locations) == 0 { return nil } // Mark Public if we have a CRS & it doesn't start with X or Z // 2019 June 10 Enable Z for now as Farringdon is known as Farringdon Underground. // This will expose the underground but b...
[ -0.7969977259635925, -0.7030714154243469, 0.6298843026161194, -0.45452967286109924, 0.35422345995903015, -0.1517793834209442, 0.25479236245155334, 0.3716396987438202, 0.3725440204143524, -0.21407850086688995, -0.4585209786891937, -1.0336616039276123, -0.33242422342300415, -0.23976796865463...
func InitTaskManagerApp(a TaskManagerApp) { taskManagerApp = a }
[ 0.7242398858070374, -1.0795190334320068, 0.6154555678367615, 0.4057720899581909, -0.5843033790588379, 0.8784613013267517, 1.0168683528900146, 0.20383639633655548, -0.22895166277885437, 0.2315981537103653, -0.42267584800720215, -0.8355598449707031, 0.02085053361952305, 0.9592379927635193, ...
func GetTaskManagerApp() TaskManagerApp { return taskManagerApp }
[ 0.8843470215797424, -1.355597734451294, 0.37176749110221863, 0.07002504169940948, -0.9200454354286194, 0.9363000392913818, 0.372424840927124, 0.06143411248922348, -0.29093652963638306, 0.06689988076686859, 0.24101147055625916, -0.32452628016471863, -0.4531043469905853, 0.797697901725769, ...
func GetTotalTrackLength(data []Datum) float64 { totalLen := 0.0 for i := 0; i < len(data)-1; i++ { segmentLen := haversine(data[i], data[i+1]) totalLen += segmentLen } return totalLen }
[ 0.5891085267066956, 0.38856786489486694, 0.8577816486358643, -0.7099538445472717, 1.0551276206970215, 0.44970306754112244, 0.5192790031433105, 0.2859830856323242, 0.5339003205299377, 0.12127511203289032, -0.5005819201469421, -0.5865073204040527, -0.24564746022224426, 0.11328550428152084, ...
func haversine(p1, p2 Datum) float64 { R := 6371.0 // km φ1 := degToRad(p1.Lat) φ2 := degToRad(p2.Lat) Δφ := degToRad(p2.Lat - p1.Lat) Δλ := degToRad(p2.Lon - p1.Lon) a := math.Sin(Δφ/2)*math.Sin(Δφ/2) + math.Cos(φ1)*math.Cos(φ2)*math.Sin(Δλ/2)*math.Sin(Δλ/2) c := 2 * math.Atan2(math.Sqrt(a), math.Sqrt(1-a)) ...
[ 0.5258926749229431, -0.1242869421839714, 0.923828661441803, -0.9795174598693848, 0.00036526279291138053, 0.4863433539867401, -1.0690432786941528, 0.35965514183044434, -0.9215383529663086, -0.3314448893070221, 0.14343178272247314, 0.2870399057865143, 0.19837506115436554, -0.7267542481422424...
func (*CollectionDef) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _CollectionDef_OneofMarshaler, _CollectionDef_OneofUnmarshaler, _CollectionDef_OneofSizer, []interface{...
[ 0.11418627947568893, 0.4282114505767822, 0.5716853141784668, -0.6508166193962097, 0.6512585878372192, -0.37124064564704895, 0.6057987213134766, -1.1607863903045654, 0.1212107390165329, -0.5215590000152588, -0.6968647837638855, 0.12198607623577118, -0.40786033868789673, 1.6175050735473633, ...
func (*TensorInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _TensorInfo_OneofMarshaler, _TensorInfo_OneofUnmarshaler, _TensorInfo_OneofSizer, []interface{}{ (*Tenso...
[ -0.14464370906352997, 0.36409032344818115, 0.4561326503753662, -1.1207026243209839, 0.4605664610862732, -0.5506400465965271, 1.0313507318496704, -1.395195484161377, -0.13871371746063232, -0.6200505495071411, -0.5669546723365784, -0.13779988884925842, 0.25599414110183716, 0.6238909959793091...
func NewRSI(inTimePeriod int, warmType WarmupType) *RSI { ema := NewEMA(inTimePeriod+1, warmType) ema.alpha = float64(1) / float64(inTimePeriod) return &RSI{ emaUp: *ema, emaDown: *ema, } }
[ -0.48145821690559387, -0.7953061461448669, 0.35986700654029846, -0.09061066806316376, -1.027854561805725, -0.2067282348871231, -0.2362135499715805, -0.5758655667304993, -0.168577179312706, -0.32665789127349854, -0.37406814098358154, 0.20957469940185547, -0.6822890639305115, 0.6025858521461...
func (rsi RSI) WarmCount() int { return rsi.emaUp.WarmCount() }
[ 0.24610434472560883, 0.0011783570516854525, 0.40249475836753845, -0.7523093819618225, -0.5138412117958069, -1.051522135734558, 0.424612820148468, 0.5577006936073303, 0.5943496227264404, -0.4289249777793884, -1.081283688545227, 0.34208834171295166, 0.49901169538497925, 0.7182327508926392, ...
func (rsi RSI) Warmed() bool { return rsi.emaUp.Warmed() }
[ -0.49388983845710754, 0.07071982324123383, 0.4499480426311493, -0.4483967423439026, -0.49988824129104614, -0.30087628960609436, 0.14341211318969727, 0.1438145637512207, 0.7885957956314087, -0.5300389528274536, -1.6324836015701294, 0.23022864758968353, -0.7242233753204346, 0.224489882588386...
func (rsi RSI) Last() float64 { return 100 - (100 / (1 + rsi.emaUp.Last()/rsi.emaDown.Last())) }
[ -0.017490169033408165, -0.02345333620905876, 0.5057669281959534, -0.34887930750846863, -0.3913666903972626, -0.6203427314758301, 0.14685337245464325, -0.4420977234840393, 0.23091980814933777, 0.39325883984565735, -0.2911849915981293, -0.16978779435157776, -0.6790539026260376, 0.04064582288...
func (rsi *RSI) Add(v float64) float64 { var up float64 var down float64 if v > rsi.lastV { up = v - rsi.lastV } else if v < rsi.lastV { down = rsi.lastV - v } rsi.emaUp.Add(up) rsi.emaDown.Add(down) rsi.lastV = v return rsi.Last() }
[ -0.4157986640930176, -0.22545363008975983, 0.6151662468910217, -0.44149771332740784, -0.20263010263442993, -0.21716678142547607, 0.37444010376930237, -0.28159210085868835, 1.15422523021698, -0.21711686253547668, -0.22569331526756287, 0.46730348467826843, -1.108070731163025, 0.5031133890151...
func (l level) String() string { switch l { case Undefined: return "Undefined" case Fatal: return "Fatal" case Error: return "Error" case Warn: return "Warn" case Info: return "Info" case Debug: return "Debug" case Trace: return "Trace" default: return strconv.Itoa(int(l)) } }
[ 0.014616615138947964, -1.1751059293746948, 0.23649784922599792, -0.5552608370780945, 0.37463638186454773, 0.49523091316223145, -0.06069478020071983, -1.1023666858673096, -0.6702681183815002, 0.1818949431180954, -0.4836682677268982, 0.013281813822686672, -0.3797687590122223, 0.3785967826843...
func (pod *Pod) UniqueName() string { return computeUniqueName(pod.Id, pod.uniqueKey) }
[ -0.2525084316730499, -0.4586826264858246, 0.3328188955783844, -0.08904125541448593, -0.14924705028533936, -0.11571653187274933, -0.46913543343544006, 0.3839544355869293, 0.6382691860198975, 0.40022191405296326, -0.39575886726379395, -0.25792840123176575, 0.38958287239074707, -1.10130107402...
func (pod *Pod) buildRunitServices(launchables []launch.Launchable, newManifest manifest.Manifest) error { // if the service is new, building the runit services also starts them sbTemplate := make(map[string]runit.ServiceTemplate) for _, launchable := range launchables { executables, err := launchable.Executables(...
[ -1.1583930253982544, -0.7113234400749207, 0.5432261824607849, 0.49121278524398804, 0.05196753516793251, 0.34962812066078186, -0.3670088052749634, -0.236324742436409, 0.2308902144432068, -0.35133644938468933, -0.0008167330524884164, -0.07458604872226715, -1.222564697265625, 0.18072743713855...
func (pod *Pod) Install(manifest manifest.Manifest, verifier auth.ArtifactVerifier, artifactRegistry artifact.Registry) error { podHome := pod.home uid, gid, err := user.IDs(manifest.RunAsUser()) if err != nil { return util.Errorf("Could not determine pod UID/GID for %s: %s", manifest.RunAsUser(), err) } err = ...
[ 0.05241185054183006, -0.8489345908164978, 0.5512434840202332, 0.7913718223571777, -0.06361779570579529, 0.09147965162992477, 0.36780819296836853, 0.12367852032184601, -0.06874647736549377, 0.034606657922267914, -0.40316712856292725, -0.516206681728363, -0.03818279877305031, 0.3574560880661...
func (pod *Pod) setupConfig(manifest manifest.Manifest, launchables []launch.Launchable) error { uid, gid, err := user.IDs(manifest.RunAsUser()) if err != nil { return util.Errorf("Could not determine pod UID/GID: %s", err) } var configData bytes.Buffer err = manifest.WriteConfig(&configData) if err != nil { ...
[ -0.5402636528015137, -0.6400392055511475, 0.776596188545227, 0.3583146929740906, 0.1044786274433136, 0.43514513969421387, 0.8886513113975525, 0.8208703994750977, -0.9221906661987305, 0.2952727973461151, -0.10881045460700989, -0.6984524726867676, 0.47091683745384216, 1.0329701900482178, 0...
func writeEnvFile(envDir, name, value string, uid, gid int) error { return writeFileChown(filepath.Join(envDir, name), []byte(value), uid, gid) }
[ -0.12292207032442093, -0.4103604555130005, 0.415105402469635, -0.031631700694561005, 0.4135122001171112, 1.4304535388946533, 0.5992975831031799, 0.04952564835548401, -1.168790340423584, 1.0522992610931396, -0.3147261142730713, -0.27369657158851624, -0.0022709895856678486, 0.476113200187683...
func writeFileChown(filename string, data []byte, uid, gid int) error { file, err := os.OpenFile(filename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644) if err != nil { return err } _, err = file.Write(data) if err != nil { _ = file.Close() return err } err = file.Chown(uid, gid) if err != nil { _ = file.Cl...
[ 0.5269087553024292, -1.2090815305709839, 0.6285079121589661, -0.2767476737499237, 0.49266743659973145, 0.833618700504303, 0.763123631477356, 0.3255946934223175, -0.3542088270187378, -0.16040250658988953, 0.3428492546081543, 0.20156748592853546, 0.3331555724143982, 0.1392933428287506, 0.5...
func (p *Pod) withTimeWarnings(scriptType string, serviceID string, f func()) { doneCh := make(chan struct{}) defer close(doneCh) go func() { warningTimes := []time.Duration{ 1 * time.Minute, 1 * time.Minute, 3 * time.Minute, 5 * time.Minute, } iteration := 0 totalTime := time.Duration(0) var w...
[ -0.3616446256637573, 0.1872386336326599, 0.7266139984130859, -0.07191366702318192, -0.36017340421676636, -0.19429968297481537, -0.5336320400238037, -1.7443257570266724, -0.5353004336357117, 1.20696222782135, 0.37418490648269653, 0.42161494493484497, -0.015866465866565704, 0.585027456283569...
func ToRNA(dna string) string { return strings.Map(transcribeBase, dna) }
[ -0.4607565701007843, -0.9517651796340942, 0.3004210293292999, -0.950885534286499, 0.36995407938957214, -0.8305639624595642, -0.11433269828557968, -0.3539619445800781, 0.4950711727142334, 0.3882388174533844, -0.3464539349079132, 0.16284123063087463, -0.5565460324287415, -0.17188718914985657...
func (point *Point) Expand(dbPoint dbmodels.Point) { point.X = dbPoint.X point.Y = dbPoint.Y }
[ 0.35529208183288574, 0.6305401921272278, 0.27151378989219666, -0.13180668652057648, 0.002068208297714591, 0.9093115329742432, -0.3650919497013092, 0.5511654019355774, 0.5587789416313171, -0.003052094718441367, -0.13432283699512482, 0.22491168975830078, 0.12308520823717117, 0.07312130928039...
func (point *Point) Collapse() *dbmodels.Point { dbPoint := dbmodels.Point{ X: point.X, Y: point.Y, } return &dbPoint }
[ -0.07427048683166504, -0.050274476408958435, 0.3019130229949951, -0.2594420909881592, -0.34498557448387146, 0.34991052746772766, -0.47894591093063354, 0.22254464030265808, -0.07086757570505142, 0.7569044232368469, -0.18899717926979065, -0.02680596336722374, -0.20356518030166626, -0.3113496...
func addParameters(parameters []string, req *pb.AlarmRequest) error { req.Parameters = make([]*pb.AlarmParameter, len(parameters)) for i, kv := range parameters { parts := strings.Split(kv, "=") if len(parts) != 2 { return fmt.Errorf("Invalid parameter %v", kv) } req.Parameters[i] = &pb.AlarmParameter{Key:...
[ -1.6002548933029175, 0.021038003265857697, 0.624849796295166, 0.590272843837738, 0.7045950889587402, 1.2067897319793701, -1.1133105754852295, -0.39052724838256836, -0.3690395951271057, 0.21825441718101501, 0.764433741569519, -0.33020898699760437, -1.5083304643630981, 1.0240092277526855, ...
func CalcularFrete(ctx context.Context, req *FreteRequest) (*FreteResponse, error) { if req == nil { return nil, errors.New("nil request") } // desde 2019, os Correios não aceitam consultas múltiplas caso não seja // informado o código da empresa + senha if len(req.Servicos) > 1 && ((req.Mode == RequestModeAut...
[ 0.06648062914609909, 0.12298943847417831, 0.9753384590148926, 0.49824467301368713, -0.16247685253620148, -0.5876548290252686, 0.5989505648612976, -0.33060866594314575, -0.09612583369016647, -0.10141836106777191, 0.639255702495575, 0.3602070212364197, -0.5062054395675659, 0.4122819602489471...
func parseUUID(src string) (dst [16]byte, err error) { switch len(src) { case 36: src = src[0:8] + src[9:13] + src[14:18] + src[19:23] + src[24:] case 32: // dashes already stripped, assume valid default: // assume invalid. return dst, fmt.Errorf("cannot parse UUID %v", src) } buf, err := hex.DecodeStrin...
[ -0.08030638843774796, 0.13651348650455475, 0.7032439708709717, -0.6017261147499084, -0.8316392302513123, -0.047713205218315125, -0.34873318672180176, 0.9229141473770142, 0.7722209692001343, -0.06272295862436295, -0.5210731625556946, 0.1896272748708725, -0.1363118290901184, -0.7698386311531...
func encodeUUID(src [16]byte) string { return fmt.Sprintf("%x-%x-%x-%x-%x", src[0:4], src[4:6], src[6:8], src[8:10], src[10:16]) }
[ 0.0997694656252861, 0.04659494012594223, 0.5880805850028992, -0.7378915548324585, -0.30992865562438965, 0.16807624697685242, -0.42964568734169006, 0.30777668952941895, 0.5829794406890869, 0.9723497629165649, -0.5626108646392822, 0.12380879372358322, -0.6037161350250244, -0.8953527808189392...
func (dst *UUID) Scan(src interface{}) error { if src == nil { *dst = UUID{Status: Null} return nil } switch src := src.(type) { case string: return dst.DecodeText(nil, []byte(src)) case []byte: srcCopy := make([]byte, len(src)) copy(srcCopy, src) return dst.DecodeText(nil, srcCopy) } return fmt.Er...
[ -1.4483619928359985, 0.6072210669517517, 0.5290799736976624, 0.16381435096263885, -2.0292210578918457, -0.4342123568058014, 0.06948769837617874, 0.42106086015701294, 0.48328831791877747, -0.20236246287822723, -0.21883469820022583, 0.9121084809303284, -0.04364308342337608, -0.13575430214405...
func (src UUID) Value() (driver.Value, error) { return EncodeValueText(src) }
[ -0.8824015259742737, -0.2262299656867981, 0.2862144410610199, 0.2179890125989914, -0.1933237761259079, -0.2194167971611023, -0.37948742508888245, -0.16854961216449738, 0.6317921280860901, 0.8190842866897583, 0.14191287755966187, 0.4264441430568695, -0.24819397926330566, 0.10581118613481522...
func rotate(A [][]int) [][]int { N := len(A) X, Y := N/2, N/2 if N%2 == 1 { X++ } for i := 0; i < X; i++ { for j := 0; j < Y; j++ { A[i][j], A[N-j-1][i], A[N-i-1][N-j-1], A[j][N-i-1] = A[N-j-1][i], A[N-i-1][N-j-1], A[j][N-i-1], A[i][j] } } return A }
[ -0.9754639863967896, 0.6989020109176636, 0.9027315974235535, -0.40063706040382385, 0.044602345675230026, -1.1184684038162231, 1.0636131763458252, -0.9252755045890808, 0.8245976567268372, 0.04964219406247139, 0.12665434181690216, -0.31510019302368164, -0.6375217437744141, -0.170504152774810...
func (tM *TheaterManager) EGRS(event GameSpy.EventClientFESLCommand) { if !event.Client.IsActive { return } log.Noteln("wpwww") answer := make(map[string]string) answer["TID"] = event.Command.Message["TID"] event.Client.WriteFESL("EGRS", answer, 0x0) }
[ -0.2693959176540375, -0.24304237961769104, 0.5443743467330933, -0.9807657599449158, 0.2920474410057068, 0.3251717984676361, 0.21982167661190033, -0.7882360816001892, -0.5829839706420898, 0.5845876336097717, -0.3676423728466034, 0.9757617712020874, -0.8330344557762146, 0.7302466034889221, ...
func (w *WebGl) SetEnv() (rerr error) { log.Debug("Setting emscripten environment variables") emsdkEnv := filepath.Join(conf.EmscriptenSDKRoot, "emsdk_env.sh") output, err := sys.ExecuteEx("bash", "", true, "-c", emsdkEnv) if err != nil { return errorx.Decorate(err, "failed to call emsdk_env.sh: "+output) } ems...
[ -0.12494079768657684, -0.47712191939353943, 0.9286330938339233, 0.04264739900827408, -0.07276427745819092, 0.02763052098453045, 0.6244696378707886, 0.1681385338306427, -0.6712111830711365, 0.5414416790008545, -0.025134867057204247, 0.9785267114639282, 0.4293120503425598, 0.5418699383735657...
func (op *TransitToCyberwayOperation) Type() OpType { return TypeTransitToCyberway }
[ -0.04653143137693405, 0.4575144052505493, 0.15708616375923157, 0.30033552646636963, 0.8550733327865601, 0.08310214430093765, 1.5331178903579712, -0.4975771903991699, 0.4307310879230499, 0.9725742936134338, 0.26721853017807007, -0.5056920051574707, -0.4457418620586395, -0.09947413951158524,...
func (op *TransitToCyberwayOperation) Data() interface{} { return op }
[ -0.5990988612174988, 0.26182520389556885, 0.35966798663139343, 0.4572005867958069, 0.07623013108968735, 0.6141806840896606, 1.287251591682434, -0.055118415504693985, 0.4316270649433136, 0.029044462367892265, -0.4284226894378662, -0.5082522630691528, 0.09878579527139664, -0.0267945732921361...
func (op *TransitToCyberwayOperation) MarshalTransaction(encoder *transaction.Encoder) error { enc := transaction.NewRollingEncoder(encoder) enc.EncodeUVarint(uint64(TypeTransitToCyberway.Code())) enc.Encode(op.Owner) enc.Encode(op.VoteToTransit) return enc.Err() }
[ 0.40869876742362976, 0.5058385729789734, 0.3416563868522644, 0.040413741022348404, 0.5339516401290894, -0.042457740753889084, 0.33918583393096924, 0.4478759765625, 0.14034436643123627, 1.0734422206878662, -0.9770011305809021, 0.06780607253313065, -0.1711416393518448, 0.011275948025286198, ...
func (bc *BlockChain) State() (*state.StateDBManage, error) { return bc.StateAt(bc.CurrentBlock().Root()) }
[ -0.11198641359806061, -0.31923431158065796, 0.3798147439956665, 0.5834302306175232, 0.26640093326568604, -0.8911656141281128, 0.63719642162323, -0.9004921913146973, 0.08084060996770859, -0.2746990919113159, 0.11135518550872803, 0.9064198732376099, -0.9736319184303284, 1.1336599588394165, ...
func (bc *BlockChain) StateAt(root []common.CoinRoot) (*state.StateDBManage, error) { return state.NewStateDBManage(root, bc.db, bc.stateCache) //return bc.getStateCache(root) }
[ -1.1213494539260864, -0.4250549376010895, 0.38922739028930664, -0.36518993973731995, -0.534615159034729, -1.0747534036636353, -0.30143439769744873, -1.596680998802185, 0.6189829707145691, 0.1595267951488495, -0.12179607897996902, 0.3814485967159271, -0.764079749584198, 0.2693890631198883, ...
func main() { fmt.Println(concatenate() / join() * 100, "%") }
[ 0.5653761625289917, 0.08462651073932648, 0.7057059407234192, 1.147060751914978, 0.06669443845748901, 0.2330624759197235, 0.29071077704429626, 0.32370343804359436, -0.8935986161231995, -0.123180091381073, 0.5359749794006348, -0.5181957483291626, -0.5032404065132141, 0.5355399250984192, -0...
func concatenate() (end int64) { var s, sep string start := time.Now() for i := 0; i < len(os.Args); i++ { s += sep + os.Args[i] sep = " || " } end = time.Since(start).Nanoseconds() return }
[ -0.21903085708618164, 0.702631413936615, 0.779627799987793, 0.9819002747535706, -0.1469966024160385, -0.686864972114563, -0.553905189037323, -0.1728619933128357, -2.393084764480591, 0.20084843039512634, 1.0225245952606201, -0.7055180668830872, -0.42723992466926575, 1.4677939414978027, -0...
func join() (end int64) { start := time.Now() strings.Join(os.Args[1:], " ") end = time.Since(start).Nanoseconds() return }
[ 0.36394035816192627, 0.47135138511657715, 0.5399452447891235, 0.12704284489154816, -0.0005346582620404661, 0.10044961422681808, -0.48371294140815735, 0.028070148080587387, -1.7173476219177246, 0.9241745471954346, 0.007973098196089268, 0.4255860149860382, -1.0726966857910156, 1.322041630744...
func ConfigGET(db *sqlx.DB, ctx *gin.Context) { var err error // parse id param var setting string = strings.ToLower(ctx.Param("setting")) var config *Config config, err = GetConfig(db, setting) switch { case err == ErrConfigNoSuchSetting: ctx.JSON(http.StatusNotFound, gin.H{ ...
[ -1.098163366317749, 0.4918022155761719, 0.8896363973617554, 0.10471214354038239, 0.12875831127166748, 0.20221222937107086, -0.3094746768474579, -0.3004186153411865, -0.9451334476470947, 1.211907148361206, 0.1049201712012291, 0.3470895290374756, 0.13342657685279846, 0.8860607743263245, 0....
func ConfigPOST(db *sqlx.DB, ctx *gin.Context) { var ( err error jsonRequest ConfigPOSTRequest ) // parse setting param var setting string = strings.ToLower(ctx.Param("setting")) // parse request err = ctx.BindJSON(&jsonRequest) if err != nil { ctx.JSON(h...
[ -1.0978279113769531, 0.08264940232038498, 0.9552654027938843, 0.20938809216022491, -0.540880560874939, 0.16568875312805176, -0.5159124135971069, -0.37029844522476196, -0.5593969225883484, 1.137341856956482, -0.26152217388153076, -0.3351377546787262, -0.5215672254562378, 0.6096593737602234,...
func Connect (ctx context.Context, controller string) (ClientContext) { var client ClientContext client.Ctx = ctx client.Controller = controller new_client, err := otgclient.NewClientWithResponses( controller, otgclient.WithHTTPClient(&http.Client{ Transport: &http.Transpor...
[ 0.17894487082958221, -0.43903228640556335, 0.8271862268447876, -0.7622238993644714, -0.9067254066467285, -0.08663161844015121, -0.12891465425491333, -1.5531892776489258, -0.18758492171764374, 0.7116572260856628, -0.04640192911028862, 0.03423938900232315, -0.050953783094882965, -0.077837094...
func LoadConfig(client *ClientContext, filename string) { var config otgclient.SetConfigJSONRequestBody data, err := ioutil.ReadFile(filename) if (err != nil) { log.Fatal("failed reading data from %s: %s\n", filename, err) client.Error = err return } myClient := client.Client ...
[ -0.020725244656205177, -0.46339336037635803, 0.7442162036895752, -0.9042698740959167, -0.14542290568351746, -0.04712316766381264, -0.37164807319641113, 0.13796038925647736, -0.5781591534614563, 0.9600375890731812, -0.38604074716567993, 0.3098534643650055, -0.5674772262573242, 0.10934836417...
func GetConfig (client *ClientContext) { ctx := client.Ctx myClient := client.Client get_response, err := myClient.GetConfigWithResponse(ctx) client.Response.Body = get_response.Body client.Response.HTTPResponse = get_response.HTTPResponse client.Response.JSON400 = get_response.JSON400 cli...
[ -0.21323825418949127, -0.30993083119392395, 0.7471768856048584, -0.0818266049027443, 0.5975158214569092, -0.40829265117645264, 0.27900430560112, -0.42006510496139526, 0.13526444137096405, 0.040720898658037186, -0.6672080159187317, 1.1107028722763062, -0.7013137936592102, 0.3571245670318603...
func Traffic(client *ClientContext, flow_names *[]string, state string) { var traffic otgclient.SetTransmitStateJSONRequestBody ctx := client.Ctx myClient := client.Client traffic.State = state traffic.FlowNames = flow_names start_response, err := myClient.SetTransmitStateWithResponse(ctx, tra...
[ -0.916377604007721, -0.722622811794281, 0.8606391549110413, -1.0145596265792847, 0.20705904066562653, -0.5894813537597656, 0.315993070602417, -0.6989795565605164, 0.32150229811668396, 0.7897117733955383, -0.8577563762664795, 0.49082332849502563, -0.7241935133934021, -0.30873727798461914, ...
func (c *Changes) ReadChanges(fs afero.Fs) error { file, err := c.Read(fs) if err != nil { return err } margins := c.GetMargins(file) c.Body = strings.Join(GetContent(margins, file), "\n") return nil }
[ -0.3586806356906891, -0.5007812976837158, 0.5582368969917297, -0.9128229022026062, -0.36272957921028137, 0.7341300249099731, -0.4920930564403534, -0.14721053838729858, -0.41675832867622375, 0.18870209157466888, 0.6590819954872131, 0.4216209650039673, 0.44569534063339233, 1.1433849334716797...
func (c *Changes) SetFile(file string) { c.File = file }
[ 0.36463463306427, 0.1331857442855835, -0.009829504415392876, 0.04505432769656181, -0.0008854809566400945, 0.8673223257064819, 0.39412447810173035, 0.4611685574054718, -0.8109452724456787, -0.5579326748847961, -0.3218305706977844, 0.0466424934566021, -0.13541673123836517, 1.1173064708709717...
func (c *Changes) GetFile() string { return c.File }
[ 0.7693226933479309, -0.09381311386823654, 0.25932157039642334, -0.07272415608167648, 0.3738332986831665, 0.4591696858406067, 0.47813156247138977, -0.15228979289531708, -0.40161705017089844, -0.4552155137062073, 0.4790594279766083, 0.2430305927991867, 0.08498287945985794, 0.5116419792175293...
func (c *Changes) GetBody() string { return c.Body }
[ 0.5183737874031067, -0.242300882935524, 0.4740316569805145, 0.2541627585887909, 0.5900047421455383, 0.6386248469352722, -0.0981183871626854, -1.1635254621505737, 0.690299928188324, 0.2541030943393707, -0.2805563509464264, 0.6074755787849426, 0.07511501759290695, 0.9859821796417236, 0.197...
func StrBytes(s string) int64 { idx := len(s) - 1 num, _ := strconv.ParseInt(s[:idx], 10, 64) unit := string(s[idx]) switch unit { case "c", "C": return num case "k", "K": return num * KiB case "m", "M": return num * MiB case "g", "G": return num * GiB case "t", "T": return num * TiB } return 0 }
[ -0.6124786138534546, -0.2621152997016907, 0.6303863525390625, -0.6850917339324951, -0.43722003698349, -0.4909302592277527, 0.32270732522010803, -0.1623755693435669, -0.09322570264339447, 0.4438508152961731, -0.0998544916510582, 0.1923862099647522, -1.1297366619110107, -0.2225060760974884, ...
func NewSortedQueue(cap int) (oq *SortedQueue) { oq = new(SortedQueue) oq.capacity = cap oq.items = make([]Item, 0, cap) // fixed size return }
[ 0.14322957396507263, -1.3699769973754883, 0.6042510867118835, 0.43145349621772766, -0.773517370223999, -0.16324827075004578, -0.6790932416915894, -0.5861165523529053, 0.18893389403820038, -0.14920808374881744, -0.3020218014717102, 0.13364925980567932, -0.40721428394317627, 0.51531904935836...
func (oq *SortedQueue) Put(it Item) { if len(oq.items) == oq.capacity { if oq.items[0].Val < it.Val { oq.items[0] = it } } else { oq.items = append(oq.items, it) } sort.Sort(oq.items) }
[ 0.06750805675983429, 0.043833889067173004, 0.46078410744667053, -1.0185692310333252, 0.5736132860183716, 0.8137605786323547, -0.21732622385025024, -0.8291240930557251, -0.2203568071126938, 0.04322269558906555, -0.018991021439433098, 0.13636194169521332, -0.6224194169044495, -0.455836147069...
func (oq *SortedQueue) Items() ItemList { return oq.items }
[ -0.5709556937217712, -1.1228227615356445, 0.023798709735274315, -0.114862821996212, 0.2967681884765625, 0.9863660335540771, -0.5828886032104492, -0.5167330503463745, 0.39119040966033936, -0.4456481635570526, -0.6521428227424622, 0.07638372480869293, -0.06971551477909088, 0.3318886458873749...
func ShortNum(n int64) string { x := float64(n) K := float64(1000) M := float64(1000000) B := float64(1000000000) if x < K { return fmt.Sprintf("%d", n) } if x < M { return fmt.Sprintf("%.2f K", x/K) } if x < B { return fmt.Sprintf("%.2f Mi", x/M) } return fmt.Sprintf("%.2f B", x/B) }
[ 0.6419504284858704, -0.13005171716213226, 0.7236721515655518, -0.14490972459316254, 0.07273222506046295, -0.5076829195022583, 0.4502890110015869, -0.6168809533119202, 0.5811597108840942, -0.7601310610771179, 0.42103174328804016, -0.3662654459476471, 0.8539578318595886, 0.05883534252643585,...
func ShortByte(sz int64) string { unitMap := map[string]int64{ "mib": 1 << 20, "gib": 1 << 30, "tib": 1 << 40, "pib": 1 << 50, "eib": 1 << 60, } if sz < unitMap["mib"] { return fmt.Sprintf("%.2f KiB", float64(sz)/float64(1024)) } if sz < unitMap["gib"] { return fmt.Sprintf("%.2f MiB", float64(sz)/fl...
[ 0.6119499802589417, -0.9515395760536194, 0.6381210684776306, -0.49509355425834656, -0.5401255488395691, 0.5298161506652832, 0.327638179063797, -0.3396451473236084, 0.37352725863456726, 0.8095709681510925, 0.47156068682670593, -0.26814553141593933, -0.8402729630470276, 0.5934637188911438, ...
func Comma(v int64) string { sign := "" // Min int64 can't be negated to a usable value, so it has to be special cased. if v == math.MinInt64 { return "-9,223,372,036,854,775,808" } if v < 0 { sign = "-" v = 0 - v } parts := []string{"", "", "", "", "", "", ""} j := len(parts) - 1 for v > 999 { par...
[ -0.3910292387008667, -0.2756647765636444, 0.7818251252174377, -0.18107475340366364, -0.3893526494503021, -0.34622621536254883, -0.7736930251121521, -0.32667016983032227, 0.8603532314300537, 0.5159708857536316, 1.0054547786712646, 0.08125562220811844, 0.32906782627105713, -0.267638653516769...
func Commau(v uint64) string { if v > math.MaxInt64 { log.Fatalln("Exceed max int64") } return Comma(int64(v)) }
[ -0.5972165465354919, -0.1425829827785492, 0.5288394689559937, 0.5342961549758911, -0.05243466794490814, -0.058989815413951874, -0.6598840951919556, 1.1661790609359741, 1.19744074344635, -0.13273516297340393, 0.6474446058273315, 0.5739196538925171, -0.13474991917610168, 0.04250214621424675,...
func InsertLeft(data []int64, counter []int64, x int64) { i := sort.Search(len(data), func(i int) bool { return x <= data[i] }) if i < len(data) { counter[i]++ } else { counter[len(data)-1]++ } }
[ 0.7077332735061646, 0.7137386798858643, 0.5076475739479065, -0.7395568490028381, -0.16988347470760345, 1.0857491493225098, -0.4099825620651245, -0.503056526184082, 0.0308358296751976, 0.536321759223938, -0.5092951655387878, 0.2448788583278656, -1.1710572242736816, 0.5680673122406006, -0....
func HTTPClientWithTLSConfig(conf *tls.Config) *http.Client { return &http.Client{ Timeout: time.Second * 20, Transport: &http.Transport{ Dial: (&net.Dialer{ Timeout: 5 * time.Second, }).Dial, TLSHandshakeTimeout: 5 * time.Second, TLSClientConfig: conf, }, } }
[ 1.4104797840118408, -0.543889582157135, 0.2962948679924011, -0.6393899321556091, -1.3158777952194214, 0.46210455894470215, -0.5115534663200378, -0.062374647706747055, -0.5086820125579834, 0.7894545197486877, -1.3117717504501343, -0.07692119479179382, 0.42111241817474365, -0.074022613465785...
func main() { var e example alignmentBoundary := unsafe.Alignof(e) sizeE := unsafe.Sizeof(e) sizeBool := unsafe.Sizeof(e.flag) offsetBool := unsafe.Offsetof(e.flag) sizeInt := unsafe.Sizeof(e.counter) offsetInt := unsafe.Offsetof(e.counter) sizeBool2 := unsafe.Sizeof(e.flag2) offsetBool2 := unsafe.Offsetof...
[ 0.4579125940799713, -0.9979075789451599, 1.0129088163375854, -0.6845518946647644, -0.2684553861618042, 0.5793775916099548, 0.28110969066619873, 0.3881751298904419, -0.4651367962360382, 0.012166697531938553, -0.17073948681354523, 0.14452295005321503, 0.41503146290779114, -0.4617935419082641...
func (s *setting) Match(exists string) (bool, bool) { for _, o := range s.Options { if o == exists { return true, false } else if o == exists+":" { return true, true } } return false, false }
[ -0.818445086479187, -0.12623754143714905, 0.6534532308578491, -0.12055094540119171, -0.09637673944234848, 0.1285046488046646, -0.31572872400283813, 0.17952989041805267, -0.5121843218803406, 1.085156798362732, -0.4970647096633911, -0.5673739314079285, -0.21189752221107483, -0.47685110569000...
func (s setting) String() string { o := strings.Replace(strings.Join(s.Options, ", "), ":", "", -1) if o == "" { o = s.Env } else if s.Env != "" { o += " (" + s.Env + ")" } return fmt.Sprintf("\t%-30s\n\t\t%s", o, s.Description) }
[ -0.15040257573127747, -0.2859712839126587, 0.44617050886154175, -0.5972756147384644, -0.3278329074382782, 0.22111938893795013, 0.13822919130325317, -0.695671021938324, -0.06225449591875076, 1.0997008085250854, 0.45974934101104736, 1.0028547048568726, -0.11011330038309097, -0.58324170112609...
func Encode(pt string) string { var ( normalized = normalize(pt) c = int(math.Ceil(math.Sqrt(float64(len(normalized))))) r = c - 1 ) if c*r < len(normalized) { r++ } cols := make([]string, c) for i := 0; i < c*r; i++ { s := " " if i < len(normalized) { s = string(normalized[i]) ...
[ 0.32803353667259216, 0.829868495464325, 0.36700817942619324, 0.32293882966041565, -1.208984613418579, 0.44417330622673035, 0.002117390278726816, -0.7697291970252991, 0.13571681082248688, 0.3158603012561798, 0.7315061688423157, 0.2493179887533188, -0.8275655508041382, -0.7644125819206238, ...
func normalize(s string) string { var sb strings.Builder for _, c := range s { if !unicode.IsLetter(c) && !unicode.IsNumber(c) { continue } sb.WriteRune(unicode.ToLower(c)) } return sb.String() }
[ 0.4691908657550812, 0.1195400208234787, 0.4872560501098633, 0.1824890822172165, 0.2234002649784088, -0.0950777679681778, -0.39949584007263184, 0.1049775630235672, 0.43355461955070496, -0.08845564723014832, 0.20069994032382965, -0.08995423465967178, -1.661632776260376, -0.13868218660354614,...
func SimpleCrossing(a, b, c, d Point) bool { // We compute the equivalent of SimpleCCW() for triangles ACB, CBD, BDA, // and DAC. All of these triangles need to have the same orientation // (CW or CCW) for an intersection to exist. ab := a.Vector.Cross(b.Vector) acb := -(ab.Dot(c.Vector)) bda := ab.Dot(d.Vector)...
[ 0.4712934195995331, 0.6979189515113831, 0.7914993762969971, 0.05695784464478493, -0.6178775429725647, 0.7926437258720398, 0.5719088315963745, -0.05451531708240509, 0.45802390575408936, 0.30159446597099304, 0.3933010995388031, -1.045731544494629, 0.4173717796802521, -0.6024057269096375, -...
func NewManager( logger logging.LoggerInterface, synchronizer synchronizerInterface, cfg *conf.AdvancedConfig, feedbackLoop chan<- int64, authAPI service.AuthClient, runtimeTelemetry storage.TelemetryRuntimeProducer, metadata dtos.Metadata, clientKey *string, hcMonitor application.MonitorProducerInterface, // ...
[ 0.03611955791711807, -0.08345739543437958, 0.6670383214950562, -0.1741950511932373, -0.6091480255126953, -0.13957397639751434, -0.15292750298976898, -0.12371660023927689, 0.3104144334793091, 0.04214866831898689, -0.05764186382293701, 0.11625891923904419, -0.09826263785362244, 1.27635073661...
func (m *ManagerImpl) Start() error { if !m.lifecycle.BeginInitialization() { return ErrAlreadyRunning } m.triggerConnectionFlow() return nil }
[ -0.19021618366241455, -0.32494017481803894, -0.09976013004779816, -0.15181124210357666, 0.03723656013607979, -0.048934731632471085, 0.5286747813224792, 0.7819833159446716, 0.038725677877664566, -0.621581494808197, -0.3933400511741638, 0.20603632926940918, 0.08655751496553421, 0.80216497182...
func (m *ManagerImpl) Stop() error { if !m.lifecycle.BeginShutdown() { return ErrNotRunning } m.statusTracker.NotifySSEShutdownExpected() m.withRefreshTokenLock(func() { if m.nextRefresh != nil { m.nextRefresh.Stop() } }) m.StopWorkers() m.sseClient.StopStreaming() m.lifecycle.AwaitShutdownComplete() ...
[ -0.7854099273681641, -0.10707063227891922, 0.3974555432796478, -0.07153129577636719, -0.2333313673734665, 0.5485694408416748, 0.2028377801179886, 0.04579629749059677, -0.3790561258792877, -0.48187583684921265, -0.6268181204795837, 0.12739141285419464, -0.4372422695159912, 0.835429847240448...
func (m *ManagerImpl) StartWorkers() { m.processor.StartWorkers() }
[ -0.39333945512771606, 0.25366467237472534, -0.056142762303352356, -0.5629802346229553, 0.5385341644287109, -0.0738360732793808, 0.4821105897426605, 1.0875544548034668, -0.4566894471645355, -0.0011425924021750689, -0.07252120971679688, 0.8047819137573242, -1.030652642250061, 1.4990450143814...
func (m *ManagerImpl) StopWorkers() { m.processor.StopWorkers() }
[ -1.6843700408935547, 0.05839812010526657, -0.03994215279817581, -1.2770310640335083, 0.4960716962814331, 0.18832097947597504, 0.29171615839004517, 0.7144096493721008, -1.0976978540420532, 0.18222163617610931, -0.20474421977996826, 0.3043808043003082, -1.4859201908111572, 1.1092400550842285...
func (m *ManagerImpl) NextRefresh() time.Time { m.refreshTokenMutex.Lock() defer m.refreshTokenMutex.Unlock() return m.nextRefreshAt }
[ -0.33617401123046875, -0.19366534054279327, 0.2946954369544983, 0.2902941107749939, -1.242262363433838, 0.11994878202676773, -0.735658586025238, -1.2490942478179932, 0.08332780003547668, -1.425540804862976, -0.39488497376441956, 0.38918137550354004, -0.22527751326560974, 0.5342301726341248...
func InitializeDataSource() { DS, err = bigcache.NewBigCache(bigcache.DefaultConfig(10 * time.Minute)) if err != nil { log.Fatal(err) } }
[ -0.010939009487628937, 1.371711254119873, 0.23570659756660461, -0.35916867852211, 1.016596794128418, -1.2834821939468384, -0.25839298963546753, 1.219061017036438, -0.32354992628097534, 0.22744353115558624, -1.8198161125183105, 0.5552000999450684, 0.31895434856414795, 0.6064066886901855, ...
func GetDS() *bigcache.BigCache { return DS }
[ -0.2305113524198532, 1.2661434412002563, 0.23213320970535278, -0.25390341877937317, -0.2199648767709732, -0.12966416776180267, -0.2335185706615448, 0.004030217882245779, 0.8571699261665344, -1.651157021522522, 0.3770696222782135, 1.5028291940689087, 0.6674890518188477, 0.10133866965770721,...
func (s ListJournalKinesisStreamsForLedgerInput) String() string { return awsutil.Prettify(s) }
[ 1.0399690866470337, -0.6984532475471497, -0.0017023020191118121, -0.6455888748168945, -0.2740476131439209, -0.12921322882175446, -0.12484949082136154, -1.1560710668563843, 0.3655044734477997, 0.31885287165641785, 0.6752455830574036, 0.32242465019226074, -0.18781587481498718, 0.955293476581...
func (s *ListJournalKinesisStreamsForLedgerInput) Validate() error { invalidParams := aws.ErrInvalidParams{Context: "ListJournalKinesisStreamsForLedgerInput"} if s.LedgerName == nil { invalidParams.Add(aws.NewErrParamRequired("LedgerName")) } if s.LedgerName != nil && len(*s.LedgerName) < 1 { invalidParams.Add...
[ 0.15579085052013397, 0.05497853085398674, 0.34006816148757935, -0.33781784772872925, -0.3227256238460541, -0.38928791880607605, -0.2902241051197052, -0.7342060208320618, -0.024323720484972, -0.3141201436519623, 0.6532068848609924, 0.11422216147184372, -0.6821566820144653, 1.588063359260559...
func (s ListJournalKinesisStreamsForLedgerInput) MarshalFields(e protocol.FieldEncoder) error { e.SetValue(protocol.HeaderTarget, "Content-Type", protocol.StringValue("application/json"), protocol.Metadata{}) if s.LedgerName != nil { v := *s.LedgerName metadata := protocol.Metadata{} e.SetValue(protocol.PathT...
[ 0.33229830861091614, 0.025570953264832497, 0.2858874797821045, -1.1685899496078491, 0.090420663356781, -0.07057654857635498, -0.36719128489494324, -0.1752312332391739, -0.05685342103242874, -0.13231492042541504, 0.00258842296898365, 0.18963605165481567, -0.46599188446998596, 0.598215758800...
func (s ListJournalKinesisStreamsForLedgerOutput) String() string { return awsutil.Prettify(s) }
[ 1.2213371992111206, -0.8595589995384216, 0.022760629653930664, -0.5890264511108398, -0.5581493973731995, -0.621179461479187, -0.17694875597953796, -1.2090831995010376, 0.09278733283281326, 0.3731251060962677, 0.909332811832428, 0.07393921911716461, 0.17578765749931335, 0.49713340401649475,...
func (s ListJournalKinesisStreamsForLedgerOutput) MarshalFields(e protocol.FieldEncoder) error { if s.NextToken != nil { v := *s.NextToken metadata := protocol.Metadata{} e.SetValue(protocol.BodyTarget, "NextToken", protocol.QuotedValue{ValueMarshaler: protocol.StringValue(v)}, metadata) } if s.Streams != nil...
[ 0.6721115708351135, 0.2289542406797409, 0.19145725667476654, -1.210998296737671, -0.3280387818813324, -0.4267723560333252, -0.6024665832519531, -0.2687634825706482, 0.23378631472587585, -0.08053543418645859, 0.18028804659843445, 0.009673969820141792, -0.6963456273078918, 0.7416337728500366...
func (r ListJournalKinesisStreamsForLedgerRequest) Send(ctx context.Context) (*ListJournalKinesisStreamsForLedgerResponse, error) { r.Request.SetContext(ctx) err := r.Request.Send() if err != nil { return nil, err } resp := &ListJournalKinesisStreamsForLedgerResponse{ ListJournalKinesisStreamsForLedgerOutput:...
[ -0.3817690312862396, -0.6879194378852844, 0.22058922052383423, -0.03010278381407261, 0.12555013597011566, -0.3991141617298126, -0.5982162952423096, -1.0327479839324951, 0.35031062364578247, 0.520832896232605, 0.008174939081072807, 0.6133762001991272, -0.40521514415740967, 1.198581814765930...
func (r *ListJournalKinesisStreamsForLedgerResponse) SDKResponseMetdata() *aws.Response { return r.response }
[ 0.9280464053153992, -0.7906262874603271, 0.12359097599983215, -0.731631875038147, -0.031372349709272385, -0.2109432816505432, -1.1924123764038086, -0.7116439342498779, 1.154688835144043, 0.03797409310936928, 0.22299407422542572, -0.3356352746486664, 0.06459862738847733, 0.3006814122200012,...
func (r *PullsCheckIfMergedReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.11362499743700027, 0.23180043697357178, 0.4315725564956665, 0.6462839841842651, 0.4523192346096039, 0.7807663679122925, 0.022867178544402122, 0.4225943684577942, 0.4893478453159332, -0.14873440563678741, 0.7940155267715454, 0.6454557776451111, -0.6952952146530151, -0.029514439404010773,...
func (r *PullsCheckIfMergedReq) Rel(link RelName, resp *PullsCheckIfMergedResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.2406216710805893, 0.05336770787835121, 0.4823242127895355, 0.2927232086658478, 0.052612826228141785, 0.7276528477668762, 0.017660317942500114, 1.3246830701828003, 0.49114325642585754, -0.9376676082611084, -0.30583566427230835, -0.7513245344161987, -0.9578922986984253, -0.7430583238601685...
func (r *PullsCreateReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.47758543491363525, 0.26347464323043823, 0.3789045214653015, 0.21651192009449005, 0.6091541647911072, 0.7594155669212341, -0.2743379473686218, 0.105626679956913, -0.1611848771572113, -0.8268939256668091, 0.7659726738929749, 0.9135252833366394, 0.01776260696351528, -0.29163312911987305, ...
func (r *PullsCreateReq) Rel(link RelName, resp *PullsCreateResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.043094269931316376, 0.17800761759281158, 0.466871052980423, 0.02303588017821312, -0.17771530151367188, 0.6023157238960266, -0.19534996151924133, 0.6189663410186768, 0.2559587061405182, -0.9431459307670593, -0.5254464149475098, -0.7372949719429016, -0.4586235284805298, -0.7783118486404419...
func (r *PullsCreateReplyForReviewCommentReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.35551032423973083, 0.15362828969955444, 0.49367740750312805, -0.47804465889930725, 0.6309035420417786, 0.7700685262680054, -0.09938342124223709, 0.3277251422405243, -0.28187188506126404, -0.33840641379356384, 0.9346559643745422, 1.0162181854248047, -0.26447319984436035, -0.2131616026163...
func (r *PullsCreateReplyForReviewCommentReq) Rel(link RelName, resp *PullsCreateReplyForReviewCommentResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.14735233783721924, 0.07774258404970169, 0.5816484689712524, -0.37315770983695984, -0.133223757147789, 0.39419683814048767, -0.08131986856460571, 0.5392017960548401, 0.19462566077709198, -0.8739672303199768, -0.2715289294719696, -0.541603147983551, -0.561923086643219, -0.9127102494239807,...
func (r *PullsCreateReviewReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.4997859001159668, 0.34669795632362366, 0.37288257479667664, -0.032228656113147736, 0.6147974729537964, 0.8468638062477112, -0.5804837346076965, 0.24927407503128052, 0.007437692489475012, -0.6613261699676514, 0.9201766848564148, 1.2023138999938965, -0.3151559829711914, -0.299448430538177...
func (r *PullsCreateReviewReq) Rel(link RelName, resp *PullsCreateReviewResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.035316746681928635, 0.2159353494644165, 0.4247598946094513, -0.17457784712314606, -0.264020174741745, 0.5745096802711487, -0.4651648998260498, 0.8359830379486084, 0.3992375135421753, -0.7391258478164673, -0.23741774260997772, -0.7081298828125, -0.6569913625717163, -0.7516871690750122, ...
func (r *PullsCreateReviewCommentReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.2670688331127167, -0.10959392786026001, 0.4582483470439911, -0.22405576705932617, 0.8881098031997681, 0.9607315063476562, -0.13216306269168854, 0.10673371702432632, -0.4640547037124634, -0.26596423983573914, 1.1373438835144043, 1.0324121713638306, -0.4073106050491333, -0.160965994000434...
func (r *PullsCreateReviewCommentReq) Rel(link RelName, resp *PullsCreateReviewCommentResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.13189168274402618, -0.09360551089048386, 0.5592336654663086, -0.22244897484779358, 0.006278257351368666, 0.44470497965812683, 0.005847795866429806, 0.48407530784606934, 0.2089112550020218, -0.8111372590065002, -0.008109234273433685, -0.8387391567230225, -0.7046130895614624, -0.7992826104...
func (r *PullsDeletePendingReviewReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.2875702977180481, 0.08473993092775345, 0.5129825472831726, -0.049511224031448364, 0.266826868057251, 0.7738860249519348, -0.7010470032691956, 0.6094258427619934, -0.1858501434326172, -0.6391292810440063, 1.4629249572753906, 1.0389350652694702, -0.14077456295490265, -0.4349066913127899, ...
func (r *PullsDeletePendingReviewReq) Rel(link RelName, resp *PullsDeletePendingReviewResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.19604617357254028, -0.07311620563268661, 0.6200767159461975, -0.050565823912620544, -0.4508097469806671, 0.4875280559062958, -0.6667209267616272, 0.9068869352340698, 0.23018285632133484, -1.0148760080337524, 0.3086920380592346, -0.6265333294868469, -0.6122193336486816, -0.888898432254791...
func (r *PullsDeleteReviewCommentReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ 0.0371435321867466, -0.10363243520259857, 0.613891065120697, -0.25579285621643066, 0.6640442609786987, 0.6129360198974609, -0.3857169449329376, 0.6872387528419495, 0.09814992547035217, -0.26092642545700073, 1.3364864587783813, 0.9516199231147766, -0.3180205523967743, -0.3486962914466858, ...