text
stringlengths
7
2.39k
embedding
listlengths
768
768
NewConnection creates a peer connection struct.
[ -0.6952903270721436, -0.914739727973938, 0.31238940358161926, -0.059922538697719574, -0.7202135920524597, -0.34897756576538086, -0.6629992723464966, -0.12293976545333862, -0.2846754789352417, -0.21299195289611816, -0.07077616453170776, -1.3715953826904297, -1.0513994693756104, 0.0898195430...
NewWriter returns a Writer. It will still need to be initialized by subscribing to the gossip topic with a stream handler, and by running the WriteLoop in a goroutine.
[ 0.15428242087364197, -0.41954419016838074, 0.17244970798492432, 0.5432538986206055, 0.6422539353370667, -0.6695462465286255, 0.190927192568779, -0.7209453582763672, 0.013304561376571655, -0.7756136059761047, 0.6295668482780457, 0.21947361528873444, -1.076101541519165, 0.26922672986984253, ...
ReadMessage reads from the connection.
[ -0.023973101750016212, 0.14297620952129364, 0.39222484827041626, -0.05530049279332161, 0.8302047848701477, -0.5982150435447693, -1.2122793197631836, -0.19602207839488983, -1.2866564989089966, -0.46713346242904663, 1.4666486978530884, -0.25948095321655273, -0.9531995058059692, 0.28859266638...
Connect will perform the protocol handshake with the peer. If successful...
[ -0.7566900849342346, 0.16631849110126495, 0.32938241958618164, 1.0268666744232178, -0.17961791157722473, 0.24013204872608185, -0.6953411102294922, -0.5140420794487, -0.8315834999084473, -0.18843500316143036, 0.10474906116724014, -1.3389408588409424, -0.9241982698440552, -0.1767339110374450...
Accept will perform the protocol handshake with the peer.
[ -0.5382040143013, 0.11907841265201569, 0.34016096591949463, -0.25657957792282104, -0.6340605020523071, 1.0608848333358765, -0.36661696434020996, 0.16661962866783142, -0.8108528852462769, -0.4148876667022705, 0.31063318252563477, -0.8384191393852234, -1.288779616355896, 0.267196387052536, ...
Create twoway communication with a peer. This function will allow both goroutines to run as long as no errors are encountered. Once the first error comes through, the context is canceled, and both goroutines are cleaned up.
[ 0.6925941109657288, -0.3140072226524353, 0.656704306602478, -0.2442263662815094, -0.20654551684856415, -0.2266685664653778, -0.281013548374176, -0.9137035608291626, 0.1621052324771881, -0.37729644775390625, -0.012089972384274006, 0.09602047502994537, -0.7424191832542419, -0.126949995756149...
Serve utilizes two different methods for writing to the open connection.
[ -0.6171857118606567, -0.7641686201095581, 0.06229410693049431, 0.8669761419296265, 0.9805328249931335, -0.019175907596945763, 0.6347360610961914, -0.3876512944698334, -1.414206862449646, -0.9565054178237915, -0.040466561913490295, -0.6539641618728638, -0.35848474502563477, 0.83011025190353...
ReadLoop will block on the read until a message is read, or until the deadline is reached. Should be called in a goroutine, after a successful handshake with a peer. Eventual duplicated messages are silently discarded.
[ 0.16759979724884033, -0.5063780546188354, 0.607509970664978, 0.0678372010588646, -0.05331699177622795, 0.9613685607910156, -0.47332677245140076, -0.3460558354854584, -0.4376944899559021, -0.3184308409690857, 1.0906872749328613, -0.30032360553741455, -0.4316592216491699, -0.4560550451278686...
Write a message to the connection. Conn needs to be locked, as this function can be called both by the WriteLoop, and by the writer on the ring buffer.
[ -0.45733892917633057, 0.11157117038965225, 0.4018111824989319, 0.6517506241798401, 1.2017903327941895, -0.38704362511634827, 1.1258010864257812, -0.5149206519126892, -0.6527277827262878, 0.07535862922668457, -0.2380567342042923, -0.3132822811603546, -1.5966451168060303, 0.00507736718282103...
Addr returns the peer's address as a string.
[ -0.4386993646621704, -1.0427074432373047, 0.6503028869628906, -0.3193237781524658, -0.9175453186035156, 0.8579122424125671, -0.9418754577636719, -0.07237201184034348, 0.7232462167739868, -0.3952869176864624, 1.611051082611084, 0.27737873792648315, -0.4029068946838379, -0.3951575756072998, ...
NewLinkedStack is used to make a new Stack Using Linked Stack
[ 0.5312288999557495, -0.710898756980896, 0.453769713640213, 0.3643460273742676, -0.6063152551651001, 0.2734901010990143, -0.02519005350768566, -1.3146190643310547, 0.8505157828330994, -1.7476489543914795, -0.11880148202180862, -0.0018490751972422004, -0.09715187549591064, 0.2672708034515381...
Size gives the size of the stack
[ 0.4339292049407959, 1.3077406883239746, 0.6611318588256836, -0.011031764559447765, 0.028348669409751892, 0.23104631900787354, 1.1276605129241943, -0.010643023066222668, 0.05740669369697571, -0.0776464119553566, -1.5035728216171265, -0.24069544672966003, -0.9387333989143372, 1.0192406177520...
Empty gives the boolean result based on whether stack is empty or not
[ -0.8320473432540894, 0.7951803803443909, 0.6917945742607117, 0.6049168705940247, -0.02930651232600212, 0.5466574430465698, -0.058357540518045425, -0.21140538156032562, -0.8353326916694641, 0.5968341827392578, -1.445729374885559, -0.40891534090042114, -0.6239362955093384, 0.2823199927806854...
Clear empties the stack
[ 0.7517427206039429, 0.8571831583976746, 0.32829514145851135, 0.38683053851127625, 0.09447547793388367, 0.648592472076416, 0.036746930330991745, -0.8943871259689331, -0.21074752509593964, 0.29040074348449707, -0.5640461444854736, 1.0257468223571777, 0.46617385745048523, 1.0159802436828613, ...
Top gives the topmost item of the stack
[ -0.9074264168739319, 0.8600488305091858, 0.7010919451713562, 0.9281412959098816, -0.2856200635433197, -0.5392097234725952, -0.2379208654165268, -0.08194337040185928, -0.618381142616272, 0.8529473543167114, -0.48672452569007874, -0.6021303534507751, -0.5672893524169922, -0.7550134658813477,...
Push adds new item to the Stack
[ -0.4634527564048767, 1.0838168859481812, 0.3465137183666229, 0.7266297936439514, 0.5295374989509583, 0.45191705226898193, -0.768928587436676, -0.6354238390922546, -0.6729791164398193, 0.3170422315597534, -1.3663914203643799, 0.07846865803003311, -0.5563619136810303, 0.2558394968509674, 0...
Pop exits the item from the stack
[ -0.10104205459356308, 0.7806035280227661, 0.38634008169174194, 0.6933495998382568, -0.11658260226249695, 0.6438232660293579, -0.01956644281744957, -0.23123742640018463, -0.9559503197669983, 1.6423479318618774, -0.8839128017425537, -0.7335070967674255, 0.360531210899353, -1.3636577129364014...
Ltime // the time in the local time zone: 01:23:23 Lmicroseconds // microsecond resolution: 01:23:23.123123. assumes Ltime. Llongfile // full file name and line number: /a/b/c/d.go:23 Lshortfile // final file name element and line number: d.go:23. overrides Llongfile LUTC // if Ldate or Ltime is set, use UTC rather tha...
[ 0.9720712900161743, -0.9039334654808044, 0.48663458228111267, -0.7293538451194763, 0.44639092683792114, 0.5910078883171082, -0.38943424820899963, 0.8389590382575989, -0.40290167927742004, -0.5417260527610779, -0.30128738284111023, -0.18143704533576965, -0.010543586686253548, 0.669424653053...
/ GetStreetViewImage handles the request / response of a v1.GetStreetViewRequest.
[ -1.067050576210022, 0.7003881931304932, 0.1213289126753807, 0.897978663444519, -1.1601176261901855, -0.5463918447494507, 0.17358003556728363, 0.009617328643798828, -0.14226622879505157, -0.034828729927539825, 0.6613084077835083, 0.5854918360710144, 0.028551463037729263, 0.46781259775161743...
ForEachEntry iterates through all entries of a container Return `true` to break
[ 0.6459051966667175, 0.39390280842781067, 0.36302176117897034, 0.021682262420654297, 0.6421842575073242, -0.28580260276794434, -0.33339691162109375, -1.1867889165878296, -0.40584835410118103, -0.0730115994811058, 0.15891389548778534, -1.0532413721084595, 0.07925774157047272, 0.9571912884712...
Clone returns a deep clone of this container
[ 0.24520447850227356, -0.9312324523925781, 0.6573778986930847, 0.926307201385498, -0.6582947373390198, 0.11426319181919098, -0.03997088223695755, -1.3432064056396484, 0.33512282371520996, -0.8852200508117676, -0.25762078166007996, 0.7371493577957153, -0.5604721903800964, -0.2230083495378494...
ValidateShopID validate shop id
[ -0.019144326448440552, -0.4252719283103943, 0.08412449061870575, 1.7749831676483154, -1.392162561416626, 0.4964921474456787, 0.05772126466035843, -0.4320056438446045, 1.1682339906692505, 0.31295275688171387, 0.5329997539520264, 0.6824954748153687, 0.5258153080940247, 0.3130393624305725, ...
ValidateShopIDAndName validate shop id and name
[ -0.45728978514671326, -1.1297454833984375, 0.35757845640182495, 0.7897439002990723, -1.4634218215942383, 0.2947637438774109, -0.48825013637542725, -0.5750745534896851, 0.8887691497802734, 0.6437628269195557, -0.05617222189903259, 0.46536874771118164, 1.0439274311065674, 0.7210820913314819,...
ValidateShopIDAndID validate shop id and name
[ -0.4301378130912781, -1.2304344177246094, 0.3485112190246582, 0.5823514461517334, -1.8590387105941772, 0.7244224548339844, -0.547417402267456, -0.24122655391693115, 1.0351773500442505, 0.4101560711860657, 0.19001218676567078, 0.6374673843383789, 0.9316987991333008, 0.805067777633667, 0.8...
NewRedisTriggerLister returns a new RedisTriggerLister.
[ 0.0776367336511612, -0.48722928762435913, 0.23231616616249084, -0.3377976417541504, -0.14223934710025787, -0.523256242275238, -0.17106692492961884, 0.05440961569547653, 0.09783133119344711, -0.8476079702377319, -1.140926718711853, -0.7424118518829346, 0.0664597824215889, 0.7815703749656677...
List lists all RedisTriggers in the indexer.
[ 0.08551965653896332, 0.5225629210472107, 0.05923910066485405, 0.4032474756240845, 0.698022723197937, -0.8225435614585876, -0.09013288468122482, 0.6900293827056885, 1.0080498456954956, -0.4254170358181, -1.2620964050292969, 0.05213316157460213, -0.10143090784549713, 0.5780404210090637, -0...
RedisTriggers returns an object that can list and get RedisTriggers.
[ 0.18799836933612823, 0.11591868847608566, 0.2703433334827423, -0.5710069537162781, -0.1893284171819687, -1.1233867406845093, -0.4960274398326874, 0.20180833339691162, 1.0165191888809204, -0.8765365481376648, -1.7271660566329956, 0.04360514134168625, 0.1253804862499237, 0.18934902548789978,...
List lists all RedisTriggers in the indexer for a given namespace.
[ -0.2790083885192871, 0.5113416910171509, 0.12972626090049744, -0.1091943308711052, 0.7567304968833923, -1.2311272621154785, -0.7268191576004028, -0.074330173432827, 1.5116009712219238, -0.1501891165971756, -1.2748076915740967, 0.12285143882036209, -0.30035850405693054, 0.9174281358718872, ...
Get retrieves the RedisTrigger from the indexer for a given namespace and name.
[ -0.31356507539749146, 0.7009894847869873, 0.13595876097679138, -0.11205121129751205, -0.17880769073963165, -1.5892107486724854, -1.5441550016403198, -0.18075084686279297, 0.2386985868215561, -0.36732548475265503, -0.41350722312927246, 0.7387901544570923, -0.3507595956325531, -0.43781280517...
Get a Service Perimeter by resource name.
[ 0.2693621814250946, -0.8093036413192749, 0.20717613399028778, -1.109047293663025, -1.2289724349975586, 0.01451890543103218, -0.8763988018035889, -1.4745619297027588, 0.3092728555202484, 0.971631646156311, 0.5708366632461548, -0.785179078578949, -1.0184112787246704, -0.7466751933097839, 0...
Description of the `ServicePerimeter` and its use. Does not affect behavior.
[ 0.5311205983161926, 0.1907220482826233, 0.45582470297813416, -0.11555959284305573, -0.31131547689437866, 0.49935659766197205, -0.11690877377986908, -1.142440676689148, 0.75742107629776, -0.28787827491760254, 0.47317442297935486, 0.5878700017929077, -1.4098871946334839, 0.4161909818649292, ...
Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, restricted/unrestricted service lists as well as access lists...
[ -0.25065580010414124, -0.14663515985012054, 0.3849737048149109, 0.1012548953294754, -0.439836710691452, 1.9441394805908203, 0.3151320517063141, -0.39168474078178406, 0.949824869632721, -0.3813183903694153, 0.5440318584442139, 0.2051173895597458, -2.572340250015259, 0.18566688895225525, 0...
Current ServicePerimeter configuration. Specifies sets of resources, restricted/unrestricted services and access levels that determine perimeter content and boundaries.
[ 0.4461469054222107, -0.6194449663162231, 0.45350182056427, -0.5508858561515808, -1.240070104598999, 0.5461509227752686, 0.29345235228538513, -0.8753853440284729, 0.6632593870162964, -0.09792052209377289, 0.6186544299125671, -0.26989296078681946, -1.0681788921356201, -0.36265045404434204, ...
Human readable title. Must be unique within the Policy.
[ 0.6620578765869141, 0.1177234947681427, 0.4166640043258667, -0.5573756694793701, 0.4787607192993164, 1.5361322164535522, -1.344310998916626, -0.7765077352523804, 0.5104142427444458, 0.5669152140617371, -0.5793799757957458, -0.41409432888031006, -0.578709602355957, -0.6555849313735962, -1...
Scan implements the database/sql Scanner interface.
[ -0.6151013970375061, 0.5580805540084839, 0.1886550635099411, 0.5992856621742249, -0.9942097067832947, 0.26887622475624084, 0.0021517211571335793, -0.006845381576567888, -0.6829594969749451, -1.3031202554702759, -0.49782171845436096, 0.03637171536684036, 0.33134889602661133, 0.6831123232841...
Value implements the database/sql/driver Valuer interface.
[ -0.562218189239502, -0.22947244346141815, 0.3983845114707947, 0.09168463945388794, 0.1662876158952713, 0.10062474012374878, -0.39518505334854126, -0.2492370456457138, 0.3538969159126282, 0.06500782817602158, 0.23792186379432678, -0.2045283019542694, 0.3557145595550537, 1.276031494140625, ...
Scan implements the database/sql Scanner interface.
[ -0.6151013970375061, 0.5580805540084839, 0.1886550635099411, 0.5992856621742249, -0.9942097067832947, 0.26887622475624084, 0.0021517211571335793, -0.006845381576567888, -0.6829594969749451, -1.3031202554702759, -0.49782171845436096, 0.03637171536684036, 0.33134889602661133, 0.6831123232841...
Value implements the database/sql/driver Valuer interface.
[ -0.562218189239502, -0.22947244346141815, 0.3983845114707947, 0.09168463945388794, 0.1662876158952713, 0.10062474012374878, -0.39518505334854126, -0.2492370456457138, 0.3538969159126282, 0.06500782817602158, 0.23792186379432678, -0.2045283019542694, 0.3557145595550537, 1.276031494140625, ...
Scan implements the database/sql Scanner interface.
[ -0.6151013970375061, 0.5580805540084839, 0.1886550635099411, 0.5992856621742249, -0.9942097067832947, 0.26887622475624084, 0.0021517211571335793, -0.006845381576567888, -0.6829594969749451, -1.3031202554702759, -0.49782171845436096, 0.03637171536684036, 0.33134889602661133, 0.6831123232841...
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
[ -0.7469778656959534, 0.9147899150848389, 0.33134159445762634, 0.43779855966567993, 0.4649624228477478, -0.6542012095451355, -0.4234277904033661, 0.3333382308483124, -0.5158656239509583, -0.705716073513031, 0.030433937907218933, 0.2259150594472885, 0.22383441030979156, 1.2512112855911255, ...
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
[ -0.029603375121951103, 0.7971926927566528, -0.08141128718852997, 0.45833370089530945, 1.0044136047363281, -1.2066019773483276, 0.25533828139305115, 0.05223711207509041, 0.054402317851781845, -0.7071775794029236, -0.8710546493530273, -0.38844114542007446, -0.6738443374633789, 0.230687618255...
Returns the node's path string
[ -0.11861271411180496, -0.27496299147605896, 0.10280587524175644, -0.13003377616405487, -0.10169537365436554, 0.659462571144104, 0.5706292986869812, -0.2564346492290497, -0.1606248915195465, 0.29504987597465515, 1.092656135559082, -0.10862673074007034, -0.5643450617790222, -0.73355871438980...
Adds a new node to the tree
[ -0.8976828455924988, 0.35441523790359497, 0.5774503946304321, -0.20522242784500122, 0.3286428451538086, 0.5550004243850708, -1.2242660522460938, 0.4324832260608673, -0.35943999886512756, -0.49493205547332764, 0.02205188386142254, 0.6459692716598511, -0.4664841592311859, 1.1934888362884521,...
Adds a new paramnode
[ -0.3023637533187866, 0.19180616736412048, 0.5149157643318176, 0.6291994452476501, 0.15785543620586395, 0.5084255337715149, -0.6591163873672485, 0.25637590885162354, -0.12495079636573792, 0.2749267518520355, 0.3746810257434845, 1.3108551502227783, -1.1608695983886719, 0.868370771408081, -...
Adds a new pathnode to the tree
[ 0.39472851157188416, -0.06455430388450623, 0.7245606184005737, 0.41224679350852966, -0.19804798066616058, 1.1348785161972046, -0.2664754390716553, 0.38913506269454956, -0.03083943761885166, -0.22652514278888702, -0.2886604964733124, 0.37276309728622437, -1.442705750465393, 0.66183882951736...
traversal finds next node according to supplied URL path segment
[ -0.914630115032196, 0.15626507997512817, 0.2148784101009369, 0.25052469968795776, 0.3465118110179901, -0.18887071311473846, 0.8602368235588074, 0.13950787484645844, -0.4037571847438812, -0.07560747116804123, 0.26745790243148804, -0.4747997224330902, -0.193558007478714, -0.23887449502944946...
methods Allows GET requests to the node's handler
[ -0.758458137512207, 0.03946612402796745, 0.3730815052986145, -0.645965576171875, 0.32859280705451965, -0.16688506305217743, -0.9283842444419861, -0.029645714908838272, -1.330269694328308, -1.1263282299041748, 0.3518279790878296, 0.805074155330658, 0.49477776885032654, 0.26402148604393005, ...
Allows POST requests to the node's handler
[ -0.37100785970687866, 0.21482309699058533, 0.4849242568016052, -0.38291898369789124, -0.5146728157997131, 0.5046398043632507, -0.6630162000656128, -0.00105388299562037, -1.1683167219161987, -1.396105408668518, -0.16914969682693481, 0.4257560968399048, 0.1421618014574051, 0.5505264401435852...
Allows PUT requests to the node's handler
[ -0.9321117401123047, 0.28682374954223633, 0.3343656659126282, -1.142870545387268, -0.14281496405601501, 0.3704334497451782, 0.12478921562433243, 0.036689240485429764, -0.9252499341964722, -0.7444775104522705, -0.0346938893198967, 0.5183852314949036, -0.19031000137329102, -0.203416198492050...
Allows POST requests to the node's handler
[ -0.37100785970687866, 0.21482309699058533, 0.4849242568016052, -0.38291898369789124, -0.5146728157997131, 0.5046398043632507, -0.6630162000656128, -0.00105388299562037, -1.1683167219161987, -1.396105408668518, -0.16914969682693481, 0.4257560968399048, 0.1421618014574051, 0.5505264401435852...
Setup sets up the storage
[ 0.3953571617603302, 0.36768582463264465, 0.2801126539707184, 0.8954720497131348, 0.8188762664794922, -0.6345822215080261, 0.8474230170249939, -0.007112830877304077, 0.6908705234527588, 0.042941730469465256, -0.7913157343864441, -1.2216142416000366, -0.17688025534152985, -0.2455048561096191...
GetChunk stores the contents of a reader and returns the built chunk
[ -0.4803588390350342, -0.7248415350914001, 0.13657714426517487, 0.2063949853181839, 0.17824146151542664, -0.34454450011253357, 0.5322246551513672, -0.09182605147361755, -0.19660837948322296, -2.190833330154419, 1.2327038049697876, 1.2789968252182007, -0.24883680045604706, -0.771923303604126...
GetReadCloser retrieves the contents of a chunk
[ 0.49763616919517517, -1.0230450630187988, 0.920151948928833, -0.6123896837234497, -1.5241087675094604, -0.30441761016845703, -0.8138488531112671, -1.1593987941741943, -0.6668918132781982, -1.326141119003296, 2.219811201095581, 0.4945099949836731, -0.020003903657197952, -0.16965632140636444...
Remove removes a chunk from the storage
[ -0.05901695042848587, -0.4887791872024536, 0.35302072763442993, 0.07559466361999512, -0.1611289381980896, -0.45087647438049316, -0.3227766752243042, 0.561307430267334, -0.5099757313728333, -0.6737299561500549, -0.5477554202079773, 0.04845316708087921, -0.830886960029602, -0.323021501302719...
Return the last error generated by API calls. An nil error will be returned if no error has occured.
[ -0.4241999089717865, -0.043229587376117706, 0.6016442179679871, -0.462009072303772, 0.7936303615570068, -0.5035980939865112, -0.03664514794945717, -0.14211405813694, 0.794291615486145, -0.30504879355430603, 0.6761839389801025, -0.8884340524673462, -0.7900556921958923, -0.515342116355896, ...
Construct an empty/uninitialized ImageBuf. This is relatively useless until you call reset().
[ -0.39908355474472046, -0.9199177622795105, 0.25757330656051636, 0.343535840511322, -0.2552715539932251, -0.16954196989536285, 0.9677149057388306, -0.38228118419647217, -0.08673056215047836, -1.5488200187683105, -1.0756217241287231, 1.085064172744751, -0.47630807757377625, 0.255248814821243...
Construct an ImageBuf to read the named image but don't actually read it yet! The image will actually be read when other methods need to access the spec and/or pixels, or when an explicit call to init_spec() or read() is made, whichever comes first. Uses the global/shared ImageCache.
[ -0.8283326625823975, -0.6638261675834656, 0.465729296207428, 0.2023451179265976, -1.2036231756210327, 0.06895040720701218, 0.5377410054206848, -0.1561329960823059, -0.23983882367610931, -0.4559648931026459, -0.3642009496688843, 0.3231108486652374, -0.09173378348350525, 0.8398984670639038, ...
Construct an ImageBuf to read the named image but don't actually read it yet! The image will actually be read when other methods need to access the spec and/or pixels, or when an explicit call to init_spec() or read() is made, whichever comes first. Uses an explicitly passed ImageCache
[ -0.8511737585067749, -0.7977609038352966, 0.433207631111145, 0.16354000568389893, -1.408969521522522, -0.18644879758358002, 0.14074532687664032, -0.3089722990989685, -0.044882893562316895, -0.661788821220398, -0.41471365094184875, 0.22178275883197784, 0.14857712388038635, 0.786465942859649...
Construct an Imagebuf given a proposed spec describing the image size and type, and allocate storage for the pixels of the image (whose values will be uninitialized).
[ -0.4099823534488678, 0.31010517477989197, 0.2094978243112564, 0.24511884152889252, 0.18644267320632935, -0.3036661148071289, 0.6657180786132812, -0.26443299651145935, -0.21635447442531586, -0.4857872426509857, -0.16555802524089813, 0.6769794821739197, 0.10213246941566467, 0.590287983417511...
Is this ImageBuf object initialized?
[ -0.03256886079907417, -1.4186114072799683, 0.20293404161930084, 0.13232670724391937, 0.6796829700469971, 0.022445857524871826, 0.4923229217529297, -0.43482521176338196, 0.4435197710990906, -0.9497268795967102, -1.4274994134902954, -0.026159903034567833, -0.48720550537109375, 1.178617477416...
Destroy the object immediately instead of waiting for GC.
[ 0.7640971541404724, -0.48024076223373413, 0.5416088700294495, -0.010449995286762714, 0.22535061836242676, 0.507464587688446, 0.36735111474990845, -0.8519261479377747, -0.7248020768165588, -0.12726712226867676, -0.7134782671928406, -0.18728969991207123, 0.028393762186169624, 0.2069905996322...
Restore the ImageBuf to an uninitialized state.
[ 0.23753120005130768, -1.897762656211853, 0.19995591044425964, -0.32878628373146057, 0.198448047041893, -0.5079585909843445, 0.9260156750679016, 0.11236976087093353, 0.3339358866214752, -1.0912837982177734, -0.8011017441749573, 0.7455810904502869, -1.101220965385437, 0.39540717005729675, ...
Initialize this ImageBuf with the named image file, and read its header to fill out the spec correctly. Return true if this succeeded, false if the file could not be read. But don't allocate or read the pixels.
[ -0.34094277024269104, -0.13696371018886566, 0.610418975353241, -0.13426323235034943, -0.5466502904891968, 0.8868511915206909, 0.4473130404949188, -0.6833779811859131, -0.6124270558357239, -0.20550070703029633, -0.5028847455978394, -0.9923269152641296, -0.17957650125026703, 0.51548326015472...
Reset forgets all previous info, and resets this ImageBuf to a new image that is uninitialized (no pixel values, no size or spec). 'cache' may be nil, or can be a specific cache to use instead of the global.
[ -1.0307765007019043, 0.02574111334979534, 0.4440615475177765, 0.5494207739830017, -0.0863882377743721, 0.0400116890668869, 0.9925950765609741, -0.4114418923854828, 0.04623432829976082, -0.34680694341659546, -1.3255687952041626, 0.8455237746238708, -0.4811827540397644, 0.6226997375488281, ...
ResetSubImage forgets all previous info, and resets this ImageBuf to a new image that is uninitialized (no pixel values, no size or spec). If 'config' is not nil, it points to an ImageSpec giving requests or special instructions to be passed on to the eventual ImageInput.Open() call. 'cache' may be nil, or can be a spe...
[ -0.011887810193002224, 0.5338605642318726, 0.5182027220726013, 0.987581193447113, -0.22143515944480896, 0.5235641598701477, 1.08887779712677, -0.03336874023079872, -0.08361899107694626, -0.4856629967689514, -1.296440839767456, 0.9757127165794373, -0.05284937098622322, 0.28976696729660034, ...
ResetSpec forgets all previous info, and reset this ImageBuf to a blank image of the given dimensions.
[ 0.305782288312912, 0.3963562846183777, 0.0783526673913002, -0.06208307296037674, 0.46042346954345703, 0.09233061969280243, 0.2251356542110443, -0.6916934847831726, -1.0672920942306519, -0.461879700422287, -0.7410944700241089, 1.3060173988342285, -0.1863068789243698, -0.4799225926399231, ...
ResetNameSpec forgets all previous info, and reset this ImageBuf to a blank image of the given name and dimensions.
[ 0.24868375062942505, 0.056869737803936005, 0.19248978793621063, -0.6600632667541504, -0.14711891114711761, 0.11711026728153229, -0.010207591578364372, -0.955173134803772, -0.9455362558364868, 0.15312854945659637, -1.299481749534607, 0.9530497193336487, 0.07391839474439621, -0.3350843489170...
Read the file from disk. Generally will skip the read if we've already got a current version of the image in memory, unless force==true. This uses ImageInput underneath, so will read any file format for which an appropriate imageio plugin can be found.
[ -0.23153553903102875, -0.5251145958900452, 0.3624330759048462, 0.3029559552669525, -0.18848639726638794, 0.29673826694488525, 0.3306896984577179, -1.0446851253509521, -0.7446197867393494, -0.4070936441421509, 0.5508826971054077, 0.4910249710083008, 0.43772533535957336, 0.5547392964363098, ...
Read the file from disk. Generally will skip the read if we've already got a current version of the image in memory, unless force==true. This uses ImageInput underneath, so will read any file format for which an appropriate imageio plugin can be found.
[ -0.23153553903102875, -0.5251145958900452, 0.3624330759048462, 0.3029559552669525, -0.18848639726638794, 0.29673826694488525, 0.3306896984577179, -1.0446851253509521, -0.7446197867393494, -0.4070936441421509, 0.5508826971054077, 0.4910249710083008, 0.43772533535957336, 0.5547392964363098, ...
Read the file from disk. Generally will skip the read if we've already got a current version of the image in memory, unless force==true. This uses ImageInput underneath, so will read any file format for which an appropriate imageio plugin can be found. This call optionally supports passing a callback pointer to both tr...
[ 0.10473620891571045, 0.12523441016674042, 0.7250990271568298, 0.4783930778503418, -0.35169723629951477, 0.3386051058769226, 0.3409040868282318, -1.2688877582550049, -0.7139350175857544, -0.08705871552228928, 1.0491012334823608, 0.2689415216445923, -0.06080392003059387, 0.6834155321121216, ...
Read the file from disk. Generally will skip the read if we've already got a current version of the image in memory, unless force==true. This uses ImageInput underneath, so will read any file format for which an appropriate imageio plugin can be found. This call optionally supports passing a callback pointer to both tr...
[ 0.10473620891571045, 0.12523441016674042, 0.7250990271568298, 0.4783930778503418, -0.35169723629951477, 0.3386051058769226, 0.3409040868282318, -1.2688877582550049, -0.7139350175857544, -0.08705871552228928, 1.0491012334823608, 0.2689415216445923, -0.06080392003059387, 0.6834155321121216, ...
Read the file from disk. Generally will skip the read if we've already got a current version of the image in memory, unless force==true. This uses ImageInput underneath, so will read any file format for which an appropriate imageio plugin can be found. Specify a specific conversion format or TypeUnknown for automatic h...
[ -0.16632361710071564, -0.04739704355597496, 0.7059465050697327, 0.5084521770477295, -0.16983173787593842, 0.20201541483402252, 0.23020696640014648, -1.318198561668396, -0.7858529090881348, 0.021683603525161743, 0.7855432033538818, 0.3598075807094574, 0.04886341094970703, 0.7381426692008972...
Read the file from disk. Generally will skip the read if we've already got a current version of the image in memory, unless force==true. This uses ImageInput underneath, so will read any file format for which an appropriate imageio plugin can be found. Specify a specific conversion format or TypeUnknown for automatic h...
[ -0.16632361710071564, -0.04739704355597496, 0.7059465050697327, 0.5084521770477295, -0.16983173787593842, 0.20201541483402252, 0.23020696640014648, -1.318198561668396, -0.7858529090881348, 0.021683603525161743, 0.7855432033538818, 0.3598075807094574, 0.04886341094970703, 0.7381426692008972...
Write the image to the named file and file format (fileformat=="" means to infer the type from the filename extension).
[ -0.8333592414855957, -1.1772218942642212, 0.2755809724330902, 0.08847174048423767, 0.34866857528686523, -0.3823423385620117, -0.38756924867630005, 0.33524900674819946, -0.2781897485256195, 0.12577618658542633, -0.16334474086761475, 0.08367041498422623, 0.32563620805740356, 1.21142327785491...
Write the image to the named file and file format (fileformat=="" means to infer the type from the filename extension). This call optionally supports passing a callback pointer to both track the progress, and to optionally abort the processing. The callback function will receive a float32 value indicating the percentag...
[ -0.3275997042655945, -0.06652385741472244, 0.7986083030700684, 0.39020878076553345, -0.08462177217006683, -0.06951777637004852, 0.05259210616350174, -0.9799154996871948, -0.33185482025146484, 0.38138672709465027, 0.6811619997024536, -0.05204642564058304, -0.4654487073421478, 1.167559742927...
Write the image to the open ImageOutput 'out'. Return true if all went ok, false if there were errors writing. It does NOT close the file when it's done (and so may be called in a loop to write a multiimage file).
[ -1.029142141342163, -0.06892804056406021, 0.8246370553970337, 0.26668626070022583, -0.526092529296875, -0.2347220480442047, 0.8940432667732239, 0.43742331862449646, -0.2949555516242981, 0.03468180075287819, -0.08534733206033707, -1.0585410594940186, -0.4924156963825226, 0.3346349000930786,...
Write the image to the open ImageOutput 'out'. Return true if all went ok, false if there were errors writing. It does NOT close the file when it's done (and so may be called in a loop to write a multiimage file). This call optionally supports passing a callback pointer to both track the progress, and to optionally abo...
[ -0.5732148289680481, 0.4235118329524994, 1.0486699342727661, 0.4451169967651367, -0.5626288652420044, 0.03927379474043846, 0.6958853006362915, -0.3096443712711334, -0.16963650286197662, 0.2291712760925293, 0.507430374622345, -0.8329712748527527, -0.6267538666725159, 0.8227136731147766, -...
Inform the ImageBuf what data format you'd like for any subsequent write().
[ -0.2742483913898468, -0.8327224254608154, 0.18090654909610748, -0.4501766562461853, 0.3009800910949707, -0.5754492878913879, 0.4958467483520508, -1.0422353744506836, -0.25832614302635193, -1.5709840059280396, -0.7830727100372314, 1.0830259323120117, -0.6908146739006042, 1.0671101808547974,...
Inform the ImageBuf what tile size (or no tiling, for 0) for any subsequent Write()
[ 0.14848463237285614, 0.40393325686454773, 0.32464414834976196, 0.054924126714468, -0.18050658702850342, -0.03015802800655365, 1.8463069200515747, -0.23422180116176605, -0.5585442781448364, -0.7365391254425049, -1.0669149160385132, -0.46991533041000366, -1.0407111644744873, 1.22950553894042...
Copy all the metadata from src to this (except for pixel data resolution, channel information, and data format).
[ -0.5957660675048828, -0.41003867983818054, 0.4625375270843506, -0.12682202458381653, -0.20715856552124023, 0.510631263256073, -0.3642362952232361, -1.0404986143112183, 0.5127314925193787, -0.18493664264678955, -0.41682958602905273, 1.204530119895935, 0.3057774007320404, 1.1641128063201904,...
Copy the pixel data from src to this, automatically converting to the existing data format of this. It only copies pixels in the overlap regions (and channels) of the two images; pixel data in this that do exist in src will be set to 0, and pixel data in src that do not exist in this will not be copied.
[ -0.8266105651855469, -0.5672145485877991, 0.7153509855270386, 0.16285935044288635, -0.4973162114620209, 0.8038288950920105, 0.2575615644454956, -0.9034944176673889, 0.26803287863731384, -0.055365197360515594, 0.21501687169075012, 0.9372925758361816, 0.11990945041179657, 0.9184861183166504,...
Try to copy the pixels and metadata from src to this, returning true upon success and false upon error/failure. If the previous state of this was uninitialized, owning its own local pixel memory, or referring to a readonly image backed by ImageCache, then local pixel memory will be allocated to hold the new pixels and ...
[ -0.934842586517334, 0.39959779381752014, 0.9189197421073914, 0.13800892233848572, -0.25481149554252625, 0.3464544713497162, 0.1218528300523758, -1.1341969966888428, 0.6347728967666626, 0.052675291895866394, -0.3099059462547302, 0.20795919001102448, -0.25878721475601196, 0.6493623852729797,...
Swap with another ImageBuf.
[ -0.9477143287658691, -1.0027053356170654, 0.2789522111415863, 0.6518397331237793, -0.24657121300697327, 0.05353730544447899, 0.005638280417770147, -0.3302697539329529, 0.26901549100875854, -0.5005853772163391, -0.9727566838264465, 0.8485751748085022, -0.9023461937904358, 0.4196203947067261...
Return a reference to the image spec that describes the buffer.
[ 0.42708152532577515, -0.04844435304403305, 0.4587981700897217, -1.0814638137817383, 0.1028161272406578, 0.18771088123321533, 0.7264279723167419, -0.7845573425292969, 0.17087525129318237, -0.993804931640625, 0.5476459264755249, 1.1988519430160522, 0.3387809991836548, 0.0876539871096611, -...
Return a reference to the "native" image spec (that describes the file, which may be slightly different than the spec of the ImageBuf, particularly if the IB is backed by an ImageCache that is imposing some particular data format or tile size).
[ 0.49743884801864624, -0.12393353879451752, 0.5651893615722656, -0.7581301927566528, -0.9739731550216675, 0.18348808586597443, 0.13770198822021484, -0.9644985795021057, -0.5624373555183411, -0.2852228283882141, 0.6790094971656799, 0.7025769948959351, 0.0914941281080246, 0.21412460505962372,...
Return a writable reference to the image spec that describes the buffer. Use with extreme caution! If you use this for anything other than adding attribute metadata, you are really taking your chances!
[ 0.011933332309126854, -0.5457450747489929, 0.5710480213165283, -1.0686486959457397, 0.0660858154296875, 0.09150944650173187, 0.45404499769210815, -0.8657357096672058, -0.04225914180278778, -0.6342273354530334, 0.6012657284736633, 1.3806170225143433, 0.3714897930622101, -0.0782179906964302,...
Return the name of this image.
[ -0.8462336659431458, -1.1993687152862549, 0.40765780210494995, -0.1308993697166443, -0.691847562789917, 0.20554064214229584, 0.06707635521888733, -0.2314774990081787, 0.17264169454574585, 0.3341260552406311, 0.002451700856909156, 0.4443775713443756, 0.3517915904521942, 0.6814490556716919, ...
Return the name of the image file format of the disk file we read into this image. Returns an empty string if this image was not the result of a Read().
[ -0.12597157061100006, -0.561920166015625, 0.6483789682388306, -0.5319730639457703, -0.6016351580619812, 0.336683452129364, -0.16962473094463348, -0.8395707607269287, -0.4587983191013336, -0.5939499139785767, 1.8001450300216675, -0.2954328656196594, 0.32216694951057434, 0.09235642105340958,...
Return the index of the subimage are we currently viewing
[ -0.5002872943878174, 0.028545452281832695, 0.7989481687545776, -0.04750579595565796, -0.7535907626152039, -0.20769059658050537, 1.0770323276519775, 0.5141029953956604, -0.4455869793891907, -0.20185720920562744, 0.5707680583000183, 1.8017728328704834, -0.23154906928539276, -0.55431258678436...
Return the number of subimages in the file.
[ 0.597081184387207, 0.7009067535400391, 0.42714303731918335, 0.3995259702205658, -0.4916342496871948, -0.17798805236816406, 0.9362189173698425, 1.0568904876708984, -1.1015453338623047, -0.5253886580467224, -1.148135781288147, 0.05645988881587982, 0.34125205874443054, 0.4903336465358734, -...
Return the index of the miplevel are we currently viewing
[ -0.8052303791046143, -0.909932553768158, 0.49022483825683594, -0.17078331112861633, -1.2348415851593018, -0.2543782889842987, 0.9538785219192505, 0.2908210754394531, 0.5020393133163452, 0.10629166662693024, 0.26488131284713745, 1.1336549520492554, -1.3688386678695679, -0.882086992263794, ...
Return the number of miplevels of the current subimage.
[ 0.388910174369812, 0.13808812201023102, 0.48542553186416626, 0.25709646940231323, -1.1690163612365723, -0.4184686541557312, 0.3142101466655731, 0.5202090740203857, 0.5984877347946167, -0.18713898956775665, -1.2257546186447144, -0.619300127029419, -1.1874549388885498, -0.44279590249061584, ...
Return the number of color channels in the image.
[ -0.10483796894550323, 0.5903199315071106, 0.3399578034877777, -0.21888509392738342, 0.9114290475845337, -0.21046458184719086, 0.22449970245361328, -0.04007076099514961, 0.19403007626533508, -0.7184440493583679, 0.0192625243216753, 0.48358604311943054, 0.43612417578697205, 0.465869814157485...
GetFloatPixels retrieves the rectangle of pixels spanning the entire image, at the current subimage and MIPmap level, storing the float pixel values in a []float32
[ -0.2159680277109146, 0.319572389125824, 0.5006571412086487, 0.20576080679893494, 0.2508537471294403, 0.29426610469818115, 0.09132904559373856, -0.9205707311630249, 0.43013808131217957, -0.5806840658187866, 0.036776233464479446, 0.7452565431594849, -1.4726405143737793, 1.0591450929641724, ...
By default, image pixels are ordered from the top of the display to the bottom, and within each scanline, from left to right (i.e., the same ordering as English text and scan progression on a CRT). But the "Orientation" field can suggest that it should be displayed with a different orientation, according to the TIFF/EX...
[ -0.398983359336853, 0.15856501460075378, 0.6195611953735352, -0.2530325949192047, -0.15216079354286194, 0.0373476967215538, 0.7079927325248718, -0.8742387294769287, -0.15791763365268707, 0.591044545173645, 0.21927015483379364, -0.5463706254959106, -0.06301051378250122, 0.039778340607881546...
Return the beginning (minimum) x coordinate of the defined image.
[ 0.041040387004613876, -0.29668909311294556, 0.509411096572876, 0.42417359352111816, -0.2196972668170929, -0.36988335847854614, -0.16174092888832092, -0.25214582681655884, 0.8103740811347961, -0.6301591992378235, 0.16817262768745422, 0.7796981334686279, -0.3317994177341461, -0.0119057670235...
Return the end (one past maximum) x coordinate of the defined image.
[ -0.7167049050331116, 0.6036427617073059, 0.5250189900398254, 0.48399123549461365, -0.44942304491996765, -0.21391107141971588, -0.43630847334861755, -0.04887235164642334, 0.3262765407562256, -0.1822175830602646, -0.0026243410538882017, 0.4115341901779175, -0.23884275555610657, -0.3448441326...
Return the beginning (minimum) y coordinate of the defined image
[ 0.13004837930202484, -0.9491472244262695, 0.6130481362342834, 0.355526864528656, 0.09969812631607056, -0.9381070137023926, 0.44196411967277527, -0.4296168088912964, 0.23705074191093445, -0.9089699983596802, 0.20503541827201843, 1.0598903894424438, -0.35338521003723145, 0.4355912208557129, ...
Return the end (one past maximum) y coordinate of the defined image.
[ -0.5443031191825867, 0.12705565989017487, 0.6386660933494568, 0.45586350560188293, -0.02095617726445198, -0.7846670150756836, 0.1672392040491104, -0.26523932814598083, -0.18950636684894562, -0.5230422019958496, -0.034968458116054535, 0.6255829930305481, -0.127360537648201, 0.28347927331924...
Return the beginning (minimum) z coordinate of the defined image.
[ 0.030699189752340317, -1.10491943359375, 0.3596605360507965, 0.9950927495956421, -0.2675793468952179, -0.531678318977356, 1.2061166763305664, -0.6615570187568665, 1.061950922012329, -0.6718628406524658, 0.5216140747070312, 1.1821311712265015, -0.31414854526519775, 0.272529274225235, -0.5...