text
stringlengths
7
2.39k
embedding
listlengths
768
768
var dir, _ = os.Getwd() var pactDir = fmt.Sprintf("../consumer/pacts", dir) const pactDir = "../consumer/pacts" Example Provider Pact: How to run me! 1. cd /examples/v3 2. go test v tags provider .
[ 0.29504716396331787, -0.048307858407497406, 0.4466003179550171, -0.10054830461740494, 0.323503702878952, 0.3398119807243347, 0.10085607320070267, 0.018288780003786087, 0.3908184766769409, 0.571311891078949, 0.07691743969917297, 0.9482250213623047, -0.08084087818861008, -0.6060232520103455,...
SetVaultConfig sets config containing vault config
[ 1.3580656051635742, -0.320639044046402, 0.25879818201065063, 0.8320096731185913, -0.40174397826194763, 0.37111958861351013, -0.4624429941177368, 0.7027485370635986, -0.006908015813678503, 0.49253034591674805, -1.9112372398376465, 0.3987914025783539, 1.105214238166809, 1.1332770586013794, ...
NewVaultInterface reads config from env variables or set them to default values
[ 0.274745911359787, -0.2847587764263153, 0.13668212294578552, 1.1570665836334229, 0.3357435166835785, 0.22822706401348114, -0.32880324125289917, -1.1334704160690308, -1.3455816507339478, 0.4639500677585602, -0.27368444204330444, -0.5575694441795349, 0.3071857690811157, 0.9719430208206177, ...
ProcessInitVault vault, encrypt and store encrypted keys
[ 0.6116577386856079, -0.055696502327919006, 0.07432635873556137, 0.8669995069503784, 0.8914843797683716, -0.841184139251709, -0.4860857129096985, -0.9977338314056396, 0.45755061507225037, 0.7482866644859314, -1.4792479276657104, 0.37960538268089294, 0.12834465503692627, 0.5481132864952087, ...
StoreEncryptedResponse stores the encrypted response in case of failure
[ -0.11777312308549881, -0.2628611922264099, 0.15578222274780273, -0.4395197927951813, 0.1061820462346077, -0.20937521755695343, -0.05010538548231125, -1.2432935237884521, 1.3489561080932617, 0.19969865679740906, -1.8783038854599, 0.14300581812858582, -1.3547120094299316, -1.0782970190048218...
StoreDecryptedResponse stores the decrypted response in cas session for future use
[ 0.2991713583469391, -0.39146146178245544, 0.24684351682662964, -0.05650797486305237, -0.2520947754383087, -0.9216753840446472, 0.6361022591590881, -1.0114377737045288, 1.5937374830245972, -0.6768197417259216, -1.5861823558807373, -0.03749686852097511, -0.23050837218761444, -1.3850362300872...
Run vault init process
[ 0.723888099193573, -1.3914316892623901, 0.14215748012065887, 1.0553069114685059, 0.45878544449806213, 0.4737004339694977, 0.5262399911880493, -0.8296393752098083, -0.09557735919952393, -0.4774857461452484, -1.4696608781814575, 0.39046621322631836, 0.5652661919593811, 0.48283514380455017, ...
DoLogin logs the http client into cas
[ 0.0027988585643470287, -0.0774460881948471, 0.31549522280693054, 0.5750495195388794, -0.10059642791748047, 0.7252179980278015, -0.08259978145360947, 0.15949831902980804, 0.3589881658554077, -0.24476809799671173, -0.8818665146827698, 0.8330152630805969, 1.0289126634597778, -0.74120557308197...
Method retrieves necessary data for the portal login
[ -1.2132209539413452, -0.8082945942878723, 0.33352431654930115, -0.302974134683609, -0.4370855987071991, 1.0335406064987183, -0.8543569445610046, -0.09836776554584503, 0.9273099899291992, -0.552921712398529, 0.01735066808760166, 0.5466325283050537, -0.2750869393348694, -1.019110918045044, ...
Method to download a page with or without cookies
[ 0.16005352139472961, -0.09348557889461517, 0.42862966656684875, 1.1692782640457153, -0.17296285927295685, -1.0054386854171753, -0.7681512832641602, -0.00023354424047283828, 0.46758833527565, 0.6767260432243347, 1.1634571552276611, -0.48703205585479736, -0.8262699246406555, 1.15296089649200...
Given an HTML String and an XPath Expression the matching data is returned
[ -0.013735312037169933, 0.03746723011136055, 0.46845439076423645, 0.35079148411750793, -0.8502863645553589, -0.370248943567276, -1.2643568515777588, 0.9553335905075073, -0.2580757737159729, 0.17700053751468658, 0.5454192757606506, 0.6196355819702148, -0.08504201471805573, -1.276166439056396...
Given an HTML String and an XPath Expression the matching node is returned
[ 0.19259752333164215, -0.021688589826226234, 0.4053574800491333, 0.08969549834728241, -0.597375750541687, -0.5485052466392517, -0.8340278267860413, 1.033673882484436, -0.19820471107959747, 0.5913324356079102, 1.0918594598770142, 0.9650865793228149, -0.26167914271354675, -1.5837370157241821,...
Mirrors the actual authentication process on the Portal2 Homepage via CAS
[ -0.9087965488433838, -0.6747989058494568, 0.24897895753383636, 1.5980234146118164, -1.4232500791549683, 0.1829187572002411, 0.5836187601089478, 0.09958905726671219, 1.3559339046478271, 0.0666617602109909, -0.09340788424015045, 1.0828142166137695, 0.3194596767425537, -0.3057854473590851, ...
Process the Table containing all the Grades
[ 0.589802622795105, 0.36586806178092957, 0.5339316725730896, 0.0025157928466796875, -0.035380907356739044, 0.06416372954845428, -0.27872198820114136, 0.4367559254169464, -1.4366886615753174, 0.25822725892066956, 0.806221604347229, -0.5517580509185791, 0.7647663354873657, 1.0692389011383057,...
Process a single row in the grades table and extract all fields
[ -0.31934118270874023, 0.9294871687889099, 0.5762050747871399, 0.033287953585386276, -0.0688014104962349, -0.2908456325531006, -0.21819409728050232, -0.07938918471336365, 0.1015661358833313, -0.14706222712993622, 0.015235250815749168, -1.4062438011169434, 0.3527478873729706, 0.1350859403610...
newFreeClientPool creates a new free client pool
[ 0.33678218722343445, -0.8471153974533081, -0.1486983746290207, -0.3111385107040405, -1.4308357238769531, -0.03967075049877167, 1.1165274381637573, -1.8072295188903809, -0.2726530134677887, -0.6566176414489746, -0.7962586283683777, 0.5653587579727173, -0.9845371246337891, -0.047956347465515...
connect should be called after a successful handshake. If the connection was rejected, there is no need to call disconnect. Note: the disconnectFn callback should not block.
[ 0.30459392070770264, 0.6923134326934814, 0.5034798383712769, 0.47882288694381714, -0.39529505372047424, 0.06981582194566727, -0.3480200171470642, -0.43932005763053894, 0.022287094965577126, -0.7725263833999634, -0.0036667613312602043, -1.1813212633132935, -0.205910325050354, -0.05305037647...
disconnect should be called when a connection is terminated. If the disconnection was initiated by the pool itself using disconnectFn then calling disconnect is not necessary but permitted.
[ 0.3933705985546112, -0.15953372418880463, 0.45935994386672974, 1.0813350677490234, 0.36201342940330505, -0.3019994795322418, 0.40106400847435, -0.5852002501487732, -0.3478676676750183, -0.4685540199279785, 0.0006588451797142625, -0.29368263483047485, 0.4547472596168518, -0.6208402514457703...
logOffset calculates the timedependent offset for the logarithmic representation of recent usage
[ 0.22678638994693756, -0.282172292470932, 0.35087937116622925, -1.3326513767242432, -1.3192217350006104, -0.221117302775383, 0.43743667006492615, -0.8810625076293945, -0.25810638070106506, 0.15785889327526093, 0.5051823854446411, 0.5649865865707397, 0.6256640553474426, -1.0047826766967773, ...
calcLogUsage converts recent usage from linear to logarithmic representation when disconnecting a peer or closing the client pool
[ 0.24123352766036987, 0.19611512124538422, 0.36990320682525635, -0.9688617587089539, -0.7454116344451904, -0.3460073173046112, -0.5097436308860779, -0.8046107888221741, -0.27515068650245667, 0.6381703019142151, 0.1520349085330963, 0.004865224938839674, -0.41725972294807434, -0.8694358468055...
loadFromDb restores pool status from the database storage (automatically called at initialization)
[ 0.5747803449630737, -1.0447070598602295, 0.15989382565021515, 0.511867105960846, 0.05936051160097122, 0.9879903197288513, 0.10265937447547913, 0.2843361496925354, 0.339484304189682, 0.5262309312820435, -0.33025065064430237, 0.000676572322845459, -0.7189329862594604, 0.42788225412368774, ...
saveToDb saves pool status to the database storage (automatically called during shutdown)
[ -0.8774502277374268, -0.7856698632240295, 0.27080437541007996, 0.9093373417854309, 0.5804588198661804, 1.2278833389282227, 0.4116307497024536, -0.0468461848795414, -0.13454024493694305, 0.75303715467453, -1.4287083148956299, -0.4037576913833618, -0.890457034111023, 0.44692957401275635, 0...
poolSetIndex callback is used by both priority queues to set/update the index of the element in the queue. Index is needed to remove elements other than the top one.
[ -0.5407877564430237, -0.5496410131454468, 0.3921402394771576, -0.5490373969078064, -0.7081870436668396, 0.6851055026054382, 0.9981805682182312, -0.21309730410575867, 0.4735780954360962, 0.6264399886131287, -0.5009921193122864, 0.7584453225135803, 0.19259026646614075, -0.016507098451256752,...
RegisterRoutes defines routes that get registered by the main application
[ 0.8459508419036865, 0.5552315711975098, 0.5399284362792969, 1.0523689985275269, 0.8190517425537109, 0.09112060070037842, 0.028535306453704834, 0.461514413356781, -0.023482993245124817, -0.5051648616790771, -0.898152768611908, 0.15303955972194672, 0.46462973952293396, 0.6120998859405518, ...
Marshal returns the raw form of the PAKEShareServer struct.
[ 0.16722187399864197, -0.07437114417552948, 0.3339826464653015, -0.976840615272522, -0.30091121792793274, 0.25793468952178955, -1.4507153034210205, -0.4786096215248108, 0.5964070558547974, -1.3709373474121094, 0.21015208959579468, 0.48074913024902344, -0.35682275891304016, -0.05364226549863...
Unmarshal puts raw data into fields of a PAKEShareServer struct.
[ -0.44804325699806213, 0.6717278361320496, 0.39307910203933716, -1.39529550075531, 0.23970305919647217, -0.03025059401988983, -0.5680451393127441, 0.2681351602077484, 0.5067977905273438, -0.9732196927070618, -0.6333093643188477, -0.6655848622322083, -0.2764156460762024, -0.6475142240524292,...
Type returns the type of this struct: PAKEShareServer.
[ 0.062378402799367905, 0.6013787984848022, 0.45356485247612, -0.2942866384983063, 1.2451789379119873, 0.01117965579032898, -0.06254172325134277, -1.1657848358154297, 1.4148647785186768, -0.8597320318222046, -0.5251892805099487, 0.011207610368728638, -1.3645133972167969, 0.6655358672142029, ...
Marshal returns the raw form of the PAKEShareClient struct.
[ 0.7900819778442383, -0.019204318523406982, 0.260928213596344, -1.2136256694793701, -0.6112605333328247, 0.0389242023229599, -1.1100683212280273, -0.8771681785583496, -0.11473497748374939, -1.0458664894104004, 0.37164050340652466, 0.3943403661251068, -0.11065004765987396, -0.322887450456619...
Unmarshal puts raw data into fields of a PAKEShareClient struct.
[ 0.17511147260665894, 0.6170778274536133, 0.33675211668014526, -1.7714534997940063, -0.09644507616758347, -0.14912180602550507, -0.35511982440948486, 0.000995905720628798, -0.3437028229236603, -0.6427645683288574, -0.28996580839157104, -0.6043476462364197, -0.2800438404083252, -1.0555691719...
Type returns the type of this struct: PAKEShareClient.
[ 0.9875649213790894, 0.5051604509353638, 0.37102842330932617, -0.3526787757873535, 0.969151496887207, -0.033495549112558365, 0.25051963329315186, -1.3180482387542725, 0.4935537278652191, -0.6149531006813049, -0.1440720409154892, -0.11999233067035675, -1.2697581052780151, 0.3027319610118866,...
Type returns the extension type.
[ 0.6972321271896362, 0.6040860414505005, 0.24018055200576782, 0.8815097808837891, 0.1933158040046692, -0.09021644294261932, 0.29575204849243164, -0.592836856842041, 2.3948004245758057, 0.21282945573329926, -0.32705676555633545, 0.690047025680542, -1.3642055988311768, -0.3341875672340393, ...
Marshal returns the raw form of the struct.
[ 0.5978431701660156, 0.14285773038864136, 0.31935277581214905, -0.8526608943939209, -0.9638115763664246, 0.50599604845047, -1.1363525390625, -0.2070697546005249, 0.7443037033081055, -1.8972288370132446, -0.6004643440246582, 0.6440261602401733, 0.4546339809894562, -0.6197986602783203, -0.8...
Unmarshal puts raw data into fields of a struct.
[ -0.20216168463230133, 0.9242540597915649, 0.4609757959842682, -1.2940986156463623, -0.5593022704124451, -0.004650076385587454, -0.13569338619709015, 0.779350757598877, 0.13349103927612305, -0.8645516633987427, -1.0265038013458252, -0.5014452934265137, 0.4762408137321472, -1.53471040725708,...
Type returns the extension type: PAKEClientAuthExtension.
[ 0.4962400197982788, 0.35313573479652405, 0.33723559975624084, 0.11720079183578491, -0.7300137877464294, 0.017450738698244095, -0.9579859375953674, -0.9974809885025024, 2.119312047958374, 0.3849402964115143, -0.022874513640999794, 0.20093919336795807, -0.7589222192764282, -1.317010879516601...
Marshal returns the raw form of the PAKEClientAuthExtension struct.
[ 0.12040877342224121, 0.0883094072341919, 0.19572073221206665, -0.7900428771972656, -1.5635340213775635, -0.040735114365816116, -1.3979015350341797, -0.8585752248764038, 0.8850354552268982, -0.820303738117218, 0.2206847369670868, 0.595824122428894, 0.2328254133462906, -1.0973702669143677, ...
Unmarshal puts raw data into fields of a PAKEClientAuthExtension struct and returns the number of bytes read.
[ -0.29011213779449463, 1.075752854347229, 0.37869104743003845, -1.3559452295303345, -1.0780253410339355, -0.7498846650123596, -0.5687217712402344, 0.3615400493144989, 0.897577166557312, -0.7295092940330505, -0.22862651944160461, -0.03635181114077568, -0.5329676270484924, -1.3949552774429321...
NewCertificateOPAQUESign returns a new OPAQUESign certificate.
[ 0.6431190967559814, -0.32923832535743713, 0.29262006282806396, 0.4520672559738159, -0.8802226781845093, -0.5126831531524658, 0.1071801483631134, -0.4284306466579437, -0.5304272174835205, 0.022390950471162796, -0.5041528940200806, -0.5240588188171387, 0.23838473856449127, -0.519887566566467...
XXX_OneofFuncs is for the internal use of the proto package.
[ -0.17013224959373474, 1.076125144958496, 0.2091524749994278, -0.6182060241699219, 0.6224390864372253, -0.8975561261177063, 0.786903440952301, -0.6365672945976257, 0.7954606413841248, -1.0330036878585815, 0.006769562605768442, -0.33912980556488037, -0.4915689527988434, 0.021061627194285393,...
XXX_OneofWrappers is for the internal use of the proto package.
[ -0.8683505058288574, 0.18757706880569458, 0.31278854608535767, 0.3240192234516144, 0.22182634472846985, 0.1701114922761917, 0.10144482553005219, -0.2165045291185379, 1.2567822933197021, -0.36039406061172485, 0.41514018177986145, -0.1402577906847, -0.4706617593765259, 0.3434695303440094, ...
XXX_OneofWrappers is for the internal use of the proto package.
[ -0.8683505058288574, 0.18757706880569458, 0.31278854608535767, 0.3240192234516144, 0.22182634472846985, 0.1701114922761917, 0.10144482553005219, -0.2165045291185379, 1.2567822933197021, -0.36039406061172485, 0.41514018177986145, -0.1402577906847, -0.4706617593765259, 0.3434695303440094, ...
XXX_OneofWrappers is for the internal use of the proto package.
[ -0.8683516383171082, 0.18757401406764984, 0.3127884864807129, 0.32401785254478455, 0.2218254655599594, 0.17011336982250214, 0.1014440506696701, -0.21650563180446625, 1.2567812204360962, -0.36039498448371887, 0.415141224861145, -0.1402573585510254, -0.47066307067871094, 0.3434690535068512, ...
XXX_OneofWrappers is for the internal use of the proto package.
[ -0.8683516383171082, 0.18757401406764984, 0.3127884864807129, 0.32401785254478455, 0.2218254655599594, 0.17011336982250214, 0.1014440506696701, -0.21650563180446625, 1.2567812204360962, -0.36039498448371887, 0.415141224861145, -0.1402573585510254, -0.47066307067871094, 0.3434690535068512, ...
Deprecated: Do not use.
[ 0.3124101161956787, 0.5093531608581543, 0.3878593444824219, 0.7513397932052612, 0.05575282499194145, -0.9025124311447144, -0.7612067461013794, -0.4993188977241516, 0.2279137670993805, -1.1424033641815186, -1.2301791906356812, -0.036154523491859436, -0.297693133354187, -0.04473945498466492,...
DisplayPortfolio serves the prtfolio page
[ 1.1204923391342163, 0.4962044358253479, 0.09431018680334091, 1.1818779706954956, 0.270874947309494, -0.23884645104408264, 1.192366361618042, 0.6078945398330688, -0.6162325143814087, 0.6275113224983215, 1.129130244255066, -0.6730508208274841, -0.8016040921211243, -0.7157719731330872, 0.40...
NewEndpointAttachment registers a new resource with the given unique name, arguments, and options.
[ -0.36038902401924133, -0.5738074779510498, 0.2512553632259369, 0.4527183473110199, -0.1966715306043625, 0.7554576396942139, 0.26036950945854187, -0.061595093458890915, -0.09616579860448837, 0.3252484202384949, -0.043750934302806854, -0.15551815927028656, -1.1535565853118896, 0.001211507013...
GetEndpointAttachment gets an existing EndpointAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
[ -0.4187701642513275, -0.6742087602615356, 0.38256147503852844, 0.6373056173324585, -0.4358675181865692, 0.35017964243888855, -0.9764276146888733, -0.42807039618492126, 0.4646521210670471, 0.42530757188796997, 0.8618360161781311, 0.2899867296218872, -0.8962843418121338, -1.1718189716339111,...
State of the endpoint attachment connection to the service attachment.
[ 0.17389121651649475, -1.9122159481048584, 0.3098984658718109, -0.1208801195025444, -0.25772523880004883, 0.5320594310760498, -0.3288276195526123, -1.074633002281189, 0.34420084953308105, 0.09642033278942108, 1.0646889209747314, 0.1790897101163864, -0.3091585040092468, -0.9546327590942383, ...
ID to use for the endpoint attachment. ID must start with a lowercase letter followed by up to 31 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. The minimum length is 2.
[ -0.9448614120483398, -0.9619631171226501, 0.5072881579399109, 0.05640257149934769, -0.30639979243278503, 1.553613305091858, -0.40140578150749207, -0.2556217312812805, 0.5261439085006714, 0.15762078762054443, 0.2506648302078247, 0.8483645915985107, -0.8331571817398071, -0.2950814962387085, ...
Host that can be used in either the HTTP target endpoint directly or as the host in target server.
[ -0.8065098524093628, -1.1417828798294067, 0.4855014681816101, 0.589098334312439, 0.10189097374677658, 0.3652952313423157, -0.44764870405197144, -0.0718659982085228, -0.26847729086875916, -0.019678732380270958, 0.8048867583274841, 1.501346468925476, 0.49311643838882446, -0.9271665215492249,...
Location of the endpoint attachment.
[ -0.05667135491967201, -1.9391127824783325, 0.42277324199676514, 0.06475353240966797, 0.4570657014846802, 0.7966383695602417, 1.0843009948730469, -0.08100199699401855, 0.20547915995121002, 0.2052571326494217, 0.6909864544868469, 0.586377739906311, -0.05505305901169777, -1.6048424243927002, ...
State of the endpoint attachment. Values other than `ACTIVE` mean the resource is not ready to use.
[ -0.5701038241386414, -1.4491461515426636, 0.39260128140449524, -0.01020357571542263, -0.14275076985359192, 1.028023600578308, 0.20346082746982574, -0.8832130432128906, 0.5312200784683228, 0.32631897926330566, -0.18464258313179016, 0.040907423943281174, -0.21989840269088745, -1.009944915771...
toEntryKind coverts a string to an EntryKind
[ 0.18047067523002625, -0.33481523394584656, 0.07698914408683777, -0.07003380358219147, -0.6043497920036316, -0.12692119181156158, -0.36245840787887573, -0.018594499677419662, 0.31984132528305054, -0.09754909574985504, -0.49962949752807617, 1.5508559942245483, -0.28175675868988037, -0.317205...
NewParser creates a new BibTeX parser reading form the given io.Reader. [curToken will be the first token in the stream]
[ 0.51938396692276, -1.6005936861038208, 0.4518536925315857, -0.10056790709495544, -0.9412738680839539, 0.3089514374732971, -0.16929960250854492, 0.35715359449386597, 0.12516385316848755, -0.9561220407485962, -0.14740708470344543, 0.49528491497039795, -0.25493544340133667, -0.055231221020221...
advanceTokens() advances the tokens by one so that the former peek becomes curToken and the new peek is read from the lexer.
[ -0.5609990954399109, -0.43638598918914795, 0.6023779511451721, -0.22025151550769806, -0.010922862216830254, 0.40292394161224365, -0.752897322177887, 0.7510529160499573, -0.555008053779602, -0.9516074657440186, 0.11347906291484833, 0.9130821228027344, 1.0482697486877441, 0.2950524091720581,...
curTokenIs returns true iff the current token is of the given type.
[ -0.518047034740448, -0.7992186546325684, 0.44588544964790344, 0.48768991231918335, -0.5691169500350952, 0.03974857181310654, -0.7675477266311646, -0.6797723770141602, 0.8201169967651367, -0.2003175914287567, -0.10402052849531174, 1.4109158515930176, -0.3368239998817444, -0.6007113456726074...
peekTokenIs returns true iff the peek token is of the given type
[ -1.1262037754058838, 0.035454161465168, 0.4923791289329529, 0.2767624258995056, -0.13731476664543152, -0.34458330273628235, -1.371984601020813, -1.1613669395446777, 0.8613868355751038, 0.2506497800350189, -0.6208457946777344, 1.224036455154419, -0.16821445524692535, 0.13540327548980713, ...
expectPeek asserts that the peek token is of the given type. If it is, then we advance so that the peek becomes the current; otherwise we record a syntax error
[ -0.6223612427711487, 0.6109302639961243, 0.5937288999557495, 0.020314447581768036, 0.4088701903820038, -0.18842971324920654, 0.3347666561603546, -0.7793214321136475, 0.10043048858642578, 0.11527760326862335, 0.4352205693721771, 1.4211477041244507, 0.005278474185615778, 0.868438184261322, ...
reads a tag/value pair in an entry. We expect a sequence of tokens that look like IDENT = [STRING|IDENT] where the first IDENT is in the cur position. Returns true if we read a k/v pair successfully, in which case it will have been added to the given Entry. In wellformed entry, at end, the current token will be either ...
[ -0.47589343786239624, -0.5942032337188721, 0.6515423059463501, -0.04401429370045662, -0.6009195446968079, -0.03406751528382301, -0.9958070516586304, 0.05755661800503731, -0.09969717264175415, 0.6040235161781311, 0.09331320226192474, -0.37309062480926514, 0.03189162164926529, 0.043443541973...
should be called when peekToken is "comment"
[ 0.2913127839565277, -0.395157128572464, 0.331996351480484, -0.11904218047857285, 1.3865199089050293, -0.2411804497241974, 0.39170682430267334, -0.8595624566078186, 0.2575036585330963, 0.15192946791648865, -1.139460563659668, 1.0664764642715454, 0.5588153600692749, 0.3711181581020355, -1....
ParseBibTeX reads the bibtex given to the parser when it was created and returns a database of entries
[ 0.03606756404042244, -0.6915345788002014, 0.18590430915355682, -0.28219375014305115, 0.3298898935317993, 0.2686353623867035, -0.48388952016830444, 0.5342044234275818, -0.4581488072872162, -0.8671005964279175, -0.44174960255622864, 0.04627067595720291, -1.0843391418457031, 0.002122707432135...
/=============================================================================== Output routines =============================================================================== writeTagValue writes a tag = value pair in an entry to w.
[ 0.022084133699536324, -0.8492968082427979, 0.6549186706542969, -0.6755141019821167, -0.0006323042325675488, -0.1894792914390564, 0.4694080352783203, -0.2936696708202362, -1.0830223560333252, 0.6718043684959412, -0.011244762688875198, 0.03026668354868889, 0.2397448718547821, 1.2774469852447...
writeEntry writes an entire entry to w. If the kind of the entry is String or Preamble, the formating will not be correct. The fields will be ordered by first required, then optional, then blessed, then everything else
[ -0.36946386098861694, -0.5839727520942688, 0.5685946941375732, 0.47727471590042114, 0.749384343624115, 0.07134419679641724, 0.44605907797813416, -0.34282568097114563, 0.16061727702617645, 0.2292633354663849, 0.12326451390981674, 0.43757808208465576, -0.17940102517604828, 0.9499117732048035...
writeValue formats and writes the value to the given field
[ -0.7193101644515991, -0.6175019145011902, 0.5908069014549255, -0.5160835981369019, 0.8528447151184082, 0.16016143560409546, -0.24707739055156708, 0.5004979968070984, -0.0016830861568450928, 0.21748416125774384, 0.7839609980583191, 0.23648717999458313, 0.7101950645446777, 0.5773006677627563...
writeDatabase writes the entire database to w
[ -1.2316055297851562, 0.12404949963092804, 0.16421926021575928, 0.16651533544063568, 1.4440416097640991, 0.35625243186950684, 0.7619435787200928, 0.0733049139380455, 0.01822100393474102, -0.32857203483581543, -0.27778807282447815, -0.5740872621536255, -0.9025169610977173, 1.5124481916427612...
/======================================================================================= Author handling routines ====================================================================================== parseVon finds the von part of a last name. The last name should be provided as a list of words
[ 0.6004319190979004, -0.5780805349349976, 0.3999539017677307, -0.7205531001091003, -0.46687039732933044, -1.5535619258880615, -0.5704823136329651, 0.5077537298202515, 0.052113234996795654, 1.1942062377929688, -0.01627296954393387, -0.38007789850234985, -0.910059928894043, 0.6299034953117371...
Given a name (without commas), finds the first, von and last name parts the jr part must be empty in this case
[ -0.24184852838516235, 0.10223738104104996, 0.46204668283462524, 0.6381738781929016, 0.020460505038499832, 0.09885706752538681, -0.24644315242767334, -0.8234722018241882, 0.0655423253774643, 0.8736042976379395, -0.06058195233345032, -1.5788054466247559, -0.9305152893066406, 0.96038621664047...
NormalizeName returns an Author object parsed from a name string We try to follow BibTeX's (rediculous) rules for parsing names
[ 0.5304854512214661, -1.3199890851974487, 0.4087655544281006, -0.04103323817253113, -1.4875819683074951, -1.0376185178756714, -0.29570692777633667, 0.28911489248275757, 0.8293599486351013, 0.05363748222589493, -0.025043819099664688, -0.5455513596534729, -0.49316179752349854, -0.479057073593...
String() converts an author to a normalized name string. We always use the von Last, First or von Last, Jr, First formats depending onn whether Jr is empty or not
[ -0.061454761773347855, -0.5993798971176147, 0.45430228114128113, 0.8950375914573669, -0.6787667870521545, -0.33071714639663696, 0.10597555339336395, -0.7746777534484863, 0.7983934283256531, 1.025582194328308, 0.9512410759925842, 0.03001640923321247, -0.2634722888469696, 0.11055038869380951...
MIScrape scraps market intelligence page and store to db
[ -1.2635409832000732, 0.574697732925415, 0.2772899270057678, 0.7268890142440796, 0.3687320351600647, -0.3904491662979126, -0.5156575441360474, -0.5757896304130554, 0.7963863611221313, 1.3697360754013062, -0.060616135597229004, -1.5050395727157593, -0.07474000751972198, -0.35781604051589966,...
Repeat rune n times and append all in the end of stream (slice of runes) If n is 0, no append If n is 1, no repeating (append 1 time)
[ -0.6844108700752258, 1.4960848093032837, 0.637381911277771, 0.8378366231918335, -0.06025923788547516, 0.048876095563173294, -0.09564045071601868, -0.16856980323791504, -0.1358751356601715, 0.1413191854953766, 0.012321832589805126, 0.16044871509075165, -0.5504438877105713, 2.056339740753174...
Convert rune into digit (as int) and status of converting
[ -0.7888610363006592, -1.132952094078064, 0.2959989011287689, 0.2286808341741562, 0.2898674011230469, -0.14893001317977905, 0.13437429070472717, 0.3447563052177429, 0.26642704010009766, -0.1318662315607071, -1.266442894935608, -0.10645084083080292, 0.24263685941696167, 0.298708975315094, ...
Unpack compact input string represented by stream of digits and symbols Digit has special meaning it says how much times need to repeat previous symbol in output Digit 0 not output previous symbol at all Digit 1 not repeat previous symbol Invalid input string when Two digits go one after another in input Digit is in th...
[ 0.13002395629882812, 0.4222584366798401, 0.646822452545166, -0.32177412509918213, -0.9110274314880371, -0.5896219611167908, 1.9184739589691162, -0.28699764609336853, 0.1501496583223343, -0.5450493097305298, -0.036461565643548965, 0.6228517889976501, -0.058364756405353546, -0.19411164522171...
ProcessMessage Processes Kafka messages from topic and increments the counter
[ -0.3913766145706177, 0.3330591022968292, 0.36492881178855896, 0.4777075946331024, 0.3060987889766693, -0.6315341591835022, 0.35986581444740295, -0.5510691404342651, -0.47037002444267273, -0.4883165955543518, 0.7600182890892029, -0.5916708111763, -1.0843961238861084, 0.8224536180496216, 0...
LogRate Goroutine that writes the counter content every so often.
[ 0.36141806840896606, -0.3092602491378784, 0.22632846236228943, -0.38409188389778137, -0.00394601933658123, -0.3376166522502899, -0.4708316922187805, -0.6577107906341553, -0.6593796610832214, -0.4572925865650177, 0.5106186270713806, -0.7402817010879517, -1.1450506448745728, 0.27941751480102...
New returns a new pipeline instance where input payloads will traverse each one of the specified stages.
[ -0.18482156097888947, -0.06967153400182724, 0.3734697699546814, 0.3080688416957855, -0.780973494052887, -0.2652774751186371, -0.24787715077400208, -1.1554113626480103, -1.186232089996338, -0.6218608617782593, -0.06056143715977669, -0.40233170986175537, 0.5833399891853333, 0.349218130111694...
Process reads the contents of the specified source, sends them through the various stages of the pipeline and directs the results to the specified sink and returns back any errors that may have occurred. Calls to Process block until: all data from the source has been processed OR an error occurs OR the supplied context...
[ 0.07863198220729828, 0.438225120306015, 0.4854494035243988, -0.3922679126262665, -0.6784065961837769, -0.551393449306488, 0.3024415075778961, -0.8920813202857971, 0.6815024614334106, -0.2271127551794052, 0.12255822122097015, 0.10869590938091278, 0.03538820892572403, 0.09201580286026001, ...
sourceWorker implements a worker that reads Payload instances from a Source and pushes them to an output channel that is used as input for the first stage of the pipeline.
[ -0.43877941370010376, 0.10584756731987, 0.6771342158317566, -0.9167866706848145, -1.1438782215118408, 0.1157103180885315, 0.3478568196296692, -0.85679692029953, -0.5761362314224243, 0.40962862968444824, -0.4318694472312927, -0.44195225834846497, 0.37060272693634033, 0.42982566356658936, ...
sinkWorker implements a worker that reads Payload instances from an input channel (the output of the last pipeline stage) and passes them to the provided sink.
[ -0.9960698485374451, -0.35344263911247253, 0.4964296817779541, -0.5443164110183716, -0.33825230598449707, -0.7555640339851379, 0.6098272204399109, -0.8968930244445801, -0.7746081948280334, -0.33365586400032043, 0.06725610792636871, -0.8812888264656067, 0.033115487545728683, -0.114803425967...
Up is executed when this migration is applied
[ 0.4863714575767517, -0.42524048686027527, 0.6130622625350952, 1.0199964046478271, 0.731874942779541, 0.5122830271720886, 0.3456975519657135, 0.07382611930370331, 0.4908519387245178, 0.582579493522644, -0.4132181704044342, 0.14270398020744324, 0.5491183996200562, -0.000728800892829895, -1...
Down is executed when this migration is rolled back
[ 1.6203598976135254, 0.0889555811882019, 0.6197418570518494, 0.6058787107467651, 0.4153177738189697, 0.47889816761016846, 0.911139190196991, 0.5019594430923462, 0.5580475330352783, 0.20655322074890137, 0.10297562181949615, 0.6401864886283875, -0.3063901364803314, -0.2920551896095276, -1.3...
/ NewCurrentRecord generates a CurrentRecord implementation that the caller can use to store data.
[ 0.1741694062948227, -1.2253611087799072, 0.26251518726348877, -0.3634922504425049, -1.3414630889892578, 0.5230286121368408, 0.37273430824279785, 0.43898171186447144, -1.0892820358276367, -0.08448797464370728, 0.32906270027160645, 0.14972743391990662, -0.7535991668701172, 0.2666299343109131...
CheckAPI checks whether or not the API is running. It returns an error if it is not running.
[ -0.6563981175422668, -0.9741034507751465, 0.45110511779785156, 0.9431577324867249, 0.5185981392860413, 0.33189088106155396, -0.7971608638763428, 0.363440603017807, -0.4397268295288086, 0.8507094383239746, 0.14520542323589325, -0.13750186562538147, -0.8100816607475281, 0.0058283754624426365...
Bootstrap returns the bootstrap information of the system (obsolete)
[ -0.4136306941509247, -0.6487375497817993, 0.3196084499359131, 0.6925765872001648, -0.12047836929559708, -0.5303535461425781, -0.562378466129303, -0.8786296248435974, -0.5558427572250366, -0.20813138782978058, -0.24144701659679413, 0.362011581659317, -0.1942770928144455, 0.8347716331481934,...
FireEvent fires an event.
[ 0.18335352838039398, 0.5802111029624939, 0.21457435190677643, 0.6991514563560486, 0.23772373795509338, 0.027701081708073616, -0.38886216282844543, 0.8726873397827148, 0.9504286050796509, -1.4982335567474365, -1.4831898212432861, 0.9804387092590332, 0.250775545835495, 0.745447039604187, -...
CallService calls a service with a domain, service, and entity id.
[ 0.029866941273212433, 0.30382776260375977, 0.11130242794752121, -0.02300281450152397, 0.2519567608833313, -0.09208491444587708, -2.0605616569519043, -1.6492453813552856, -0.26871031522750854, -0.16556446254253387, 0.5765443444252014, 1.795194387435913, 0.019109372049570084, 1.1798795461654...
ListStates gets an array of state objects
[ -0.8129249811172485, -0.6369137167930603, 0.23635652661323547, 0.1784774214029312, 0.0644197016954422, -0.20551925897598267, -0.9804704785346985, -0.5118328332901001, 1.8861217498779297, -0.7950490117073059, -0.23636862635612488, 0.3581661283969879, -0.3241945803165436, 0.5127953290939331,...
GetState retrieves one stateobject for the entity id
[ 0.15930739045143127, -0.26473280787467957, 0.348674476146698, 0.07156923413276672, 1.0568379163742065, -0.8122963905334473, -0.2721213698387146, -1.0034854412078857, 0.6545347571372986, -0.558506965637207, 0.41977667808532715, 0.018435779958963394, 0.21271644532680511, 0.609667181968689, ...
FilterStates returns a list of states filtered by the list of domains
[ -0.40908530354499817, 0.21149688959121704, 0.16782818734645844, 0.29976674914360046, -0.5063092708587646, 0.17902794480323792, -0.033377744257450104, 0.21791474521160126, 1.0922200679779053, -0.23744770884513855, 0.2176361083984375, -0.11398140341043472, -0.16131192445755005, 0.41159087419...
ChangeState changes the state of a device
[ -0.9981368184089661, 0.9478291273117065, 0.17113226652145386, 0.07349085807800293, -0.25303471088409424, -0.12092699110507965, -0.040674321353435516, 0.5564631223678589, 0.8213177919387817, -0.044226326048374176, -0.36227232217788696, 0.9515142440795898, -0.23891356587409973, 0.65662860870...
NewAggregator returns and initializes a new aggregator
[ -0.7703270316123962, -0.8062065839767456, 0.4195646643638611, -0.36969512701034546, -1.236052393913269, -0.585216224193573, -0.3141997456550598, -0.020724456757307053, -0.7355091571807861, -1.114617109298706, 0.3230784237384796, -0.26597675681114197, -0.28522762656211853, 1.636966109275817...
Aggregate takes a channel of statuses, on which it listens and aggregates the success count by application/version
[ 0.07892647385597229, -0.28059467673301697, 0.32425230741500854, -0.38658449053764343, 0.5909127593040466, 0.4251077175140381, -1.0744452476501465, 0.23623742163181305, -0.6533905863761902, -0.02622370608150959, 0.026020312681794167, 0.288765013217926, 0.23515871167182922, 0.949215769767761...
randomInt64() returns a randomly generated int64 from [int64Min, int64Max].
[ -1.4569038152694702, -0.22889268398284912, 0.036004990339279175, 0.7152654528617859, -0.5952979326248169, 0.6738313436508179, -0.7535454630851746, -0.19484394788742065, 0.12687864899635315, -0.7004379034042358, -0.09209830313920975, 0.22680239379405975, -0.7820382714271545, -0.897356033325...
randomUint64() returns a randomly generated uint64 from [0, uint64Max]
[ -1.4113531112670898, 0.03247476741671562, 0.17623306810855865, 1.0644274950027466, -0.27944430708885193, 0.6046046614646912, -0.4230404496192932, 1.0266032218933105, 0.7916553616523743, -1.1822327375411987, 0.07922858744859695, -0.5468509197235107, -0.10642840713262558, -0.487469345331192,...
randomHash() returns a crypto.Hash filled with entirely random values.
[ 1.1436760425567627, 0.33527395129203796, 0.05067906156182289, 0.09084836393594742, -0.15095651149749756, 1.2444121837615967, -0.43541738390922546, -0.22359389066696167, -0.01982959918677807, -1.1720942258834839, -0.6192800998687744, 0.36769899725914, -0.4627540111541748, -0.924554646015167...
TestTypeMarshalling tries to marshal and unmarshal all types, verifying that the marshalling is consistent with the unmarshalling. Right now block is the only type implemented, more may be added later. TODO: there are no transactions that we test the marshalling of, need to add transactions. TODO: We don't test the mar...
[ 0.517661452293396, 0.5542817711830139, 0.6244411468505859, -0.051702626049518585, 0.8415634632110596, -0.13802982866764069, 0.3708316385746002, -0.19720900058746338, 0.6740516424179077, -0.6545031070709229, 0.15618754923343658, -0.06362096220254898, 0.025968696922063828, 0.4724575281143188...
BytesToNewFile : creates file from fileName and writes data
[ -0.23290149867534637, -0.4385790228843689, 0.24362020194530487, 0.05652294680476189, 1.6610323190689087, 0.8108490705490112, -0.2499774992465973, 0.36001986265182495, -0.8079513907432556, -0.8254072666168213, -0.8885729908943176, -0.3646928369998932, 0.1666375696659088, 0.00505861872807145...
BytesFromFile : reads all bytes from file
[ 0.8997876048088074, -0.4334561228752136, 0.4151031970977783, 0.03189609944820404, 0.3349950909614563, 1.2035505771636963, -0.3322640061378479, 0.2649628818035126, -1.5871341228485107, -0.7867185473442078, -0.2718968391418457, 0.1349533200263977, -0.458675742149353, 0.4867628514766693, -0...
loadConfig loads a REST Config as per the rules specified in GetConfig
[ 0.5590857863426208, -0.47669076919555664, 0.4269885718822479, 0.7111342549324036, -0.2581658363342285, -0.7341691255569458, -0.32593464851379395, 0.6533698439598083, 0.10658247768878937, 0.8081365823745728, 0.3090224862098694, -0.05154455825686455, -1.0401242971420288, 0.7782025933265686, ...
getName returns a name given a base ("deployment5") and a suffix ("deploy") It will first attempt to join them with a dash. If the resulting name is longer than maxLength: if the suffix is too long, it will truncate the base name and add an 8character hash of the [base][suffix] string. If the suffix is not too long, it...
[ 0.45175328850746155, -0.16330799460411072, 0.6644032001495361, -0.1639423370361328, -0.2339402288198471, -0.3941328525543213, -1.5964410305023193, 0.29073238372802734, -0.62544184923172, 0.7057589888572693, -0.18030641973018646, 0.8138667345046997, 0.5564321875572205, -0.8298707604408264, ...
max returns the greater of its 2 inputs
[ -0.9260981678962708, 0.7699689865112305, 0.6171587705612183, 1.2964282035827637, 0.3670434057712555, 0.5383687615394592, -1.6586253643035889, -0.8705401420593262, -1.8739848136901855, -0.8767030239105225, 0.44882097840309143, 0.9959090948104858, 0.14881841838359833, -0.32698458433151245, ...