content stringlengths 4 1.04M | lang stringclasses 358 values | score int64 0 5 | repo_name stringlengths 5 114 | repo_path stringlengths 4 229 | repo_licenses listlengths 1 8 |
|---|---|---|---|---|---|
package ron
import "fmt"
import "errors"
%% machine RON;
%% write data;
%% access ps.;
%% variable data frame.Body;
%% variable cs ps.state;
const (
// The parser reached end-of-input (in block mode) or
// the closing dot (in streaming mode) successfully.
// The rest of the input is frame.Rest()
RON_FULL_STOP = -1
RON_OPEN uint64 = 1919905842 // https://play.golang.org/p/vo74Pf-DKh2
RON_CLOSED uint64 = 1919905330
opFlag uint64 = 3 << 62
)
// Parse consumes one op from data[], unless the buffer ends earlier.
// Fills atoms[]
func (frame *Frame) Parse() {
ps := &frame.Parser
switch ps.state {
case RON_error:
if ps.pos!=0 {
return
}
%% write init;
frame.position = -1
frame.atoms = frame._atoms[:4]
case RON_FULL_STOP:
ps.state = RON_error
return
case RON_start:
ps.off = ps.pos;
frame.atoms = frame._atoms[:4];
ps.atm, ps.hlf, ps.dgt = 0, VALUE, 0;
}
if ps.pos >= len(frame.Body) {
if !ps.streaming {
ps.state = RON_error
}
return
}
pe, eof := len(frame.Body), len(frame.Body)
n := 0
_ = eof
_ = pe // FIXME kill
if ps.streaming {
eof = -1
}
atm, hlf, dgt, p, atoms := ps.atm, ps.hlf, ps.dgt, ps.pos, frame.atoms;
frame.descriptor[VALUE] = RON_CLOSED // ?
frame.descriptor[ORIGIN] = 0
frame.descriptor.setType(opFlag)
frame.descriptor.setFrom(p)
%%{
include FRAME "./op-grammar.rl";
main := FRAME ;
write exec;
}%%
frame.descriptor.setTill(p)
frame.descriptor[VALUE] |= uint64(len(atoms)) << 32
ps.atm, ps.hlf, ps.dgt, ps.pos, frame.atoms = atm, hlf, dgt, p, atoms;
switch {
case ps.state==RON_error:
frame.position = -1
case ps.state>=RON_first_final: // one of end states
if !ps.streaming && p>=eof {
// in the block mode, the final dot is optional/implied
ps.state = RON_FULL_STOP
}
case ps.state==RON_FULL_STOP:
case ps.state==RON_start:
default:
if !ps.streaming {
ps.state = RON_error
frame.position = -1
}
}
//fmt.Println("omits", frame.IsComplete(), frame.term!=TERM_REDUCED, ps.omitted, frame.Parser.state, ps.pos)
if frame.IsComplete() && frame.term!=TERM_REDUCED && ps.omitted!=0 {
for u := uint(0); u<4; u++ {
if ps.omitted&(1<<u) != 0 {
frame.atoms[u] = Atom(ZERO_UUID)
}
}
}
}
func (ctx_uuid UUID) Parse (data []byte) (UUID, error) {
%% machine UUID;
%% write data;
cs, p, pe, eof := 0, 0, len(data), len(data)
_ = eof
atm, hlf, dgt := 0, 0, 0
atoms := [1]Atom{Atom(ctx_uuid)}
%%{
include UUID "./uuid-grammar.rl";
main := UUID ;
write init;
write exec;
}%%
if cs < UUID_first_final || dgt>10 {
return ERROR_UUID, errors.New(fmt.Sprintf("parse error at pos %d", p))
} else {
return UUID(atoms[0]), nil
}
}
| Ragel in Ruby Host | 4 | gritzko/ron | dfa.rl | [
"Apache-2.0"
] |
export class CustomMacros
(generator) ->
@g = generator
args = @args = {}
args.\myMacro = <[ H o? ]>
\myMacro : (o) ->
[ "-", o, "-" ]
export { default: CustomMacros } | LiveScript | 3 | fgborges/latex2e-js | test/api/CustomMacros.ls | [
"MIT"
] |
package
public val configurations1: kotlin.collections.List<() -> kotlin.Int>
public val configurations2: kotlin.collections.Map<kotlin.Int, kotlin.collections.List<() -> kotlin.Int>>
public val configurations3: kotlin.collections.List<kotlin.Pair<kotlin.Int, kotlin.collections.Map<kotlin.Int, kotlin.collections.List<() -> kotlin.Int>>>>
public val configurations4: kotlin.collections.List<kotlin.Pair<kotlin.Int, kotlin.collections.Map<kotlin.Int, kotlin.collections.List<kotlin.Pair<kotlin.Int, kotlin.collections.List<() -> kotlin.Int>>>>>>
| Text | 1 | punzki/kotlin | compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/nestedLambdaInferenceWithListMap.txt | [
"ECL-2.0",
"Apache-2.0"
] |
@0xb9523c11cf10d3bd;
using Rust = import "rust.capnp";
using Other = import "in-other-submodule.capnp";
$Rust.parentModule("foo::bar");
struct Foo {
recursive @0 :Foo;
other @1: Other.Baz;
}
| Cap'n Proto | 2 | tomkris/capnproto-rust | capnpc/test/in-submodule.capnp | [
"MIT"
] |
'use strict';
/**
* A set of functions called "actions" for `{{id}}`
*/
module.exports = {
// exampleAction: async (ctx, next) => {
// try {
// ctx.body = 'ok';
// } catch (err) {
// ctx.body = err;
// }
// }
};
| Handlebars | 3 | Mithenks/strapi | packages/generators/generators/lib/templates/controller.js.hbs | [
"MIT"
] |
(kicad_pcb (version 20211014) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.Cu" signal)
(31 "B.Cu" signal)
(32 "B.Adhes" user "B.Adhesive")
(33 "F.Adhes" user "F.Adhesive")
(34 "B.Paste" user)
(35 "F.Paste" user)
(36 "B.SilkS" user "B.Silkscreen")
(37 "F.SilkS" user "F.Silkscreen")
(38 "B.Mask" user)
(39 "F.Mask" user)
(40 "Dwgs.User" user "User.Drawings")
(41 "Cmts.User" user "User.Comments")
(42 "Eco1.User" user "User.Eco1")
(43 "Eco2.User" user "User.Eco2")
(44 "Edge.Cuts" user)
(45 "Margin" user)
(46 "B.CrtYd" user "B.Courtyard")
(47 "F.CrtYd" user "F.Courtyard")
(48 "B.Fab" user)
(49 "F.Fab" user)
(50 "User.1" user)
(51 "User.2" user)
(52 "User.3" user)
(53 "User.4" user)
(54 "User.5" user)
(55 "User.6" user)
(56 "User.7" user)
(57 "User.8" user)
(58 "User.9" user)
)
(setup
(pad_to_mask_clearance 0)
(pcbplotparams
(layerselection 0x00010fc_ffffffff)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes true)
(usegerberadvancedattributes true)
(creategerberjobfile true)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15.000000)
(dxfpolygonmode true)
(dxfimperialunits true)
(dxfusepcbnewfont true)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotinvisibletext false)
(sketchpadsonfab false)
(subtractmaskfromsilk false)
(outputformat 1)
(mirror false)
(drillshape 1)
(scaleselection 1)
(outputdirectory "")
)
)
(net 0 "")
(net 1 "/Nested sheet/D")
(net 2 "/Nested sheet/C")
(footprint "Resistor_SMD:R_0603_1608Metric" (layer "F.Cu")
(tedit 5F68FEEE) (tstamp 3407ba38-2003-402f-8cd8-af6be07272ed)
(at 142.24 93.98)
(descr "Resistor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "LCSC" "LCSC_R1")
(property "Sheetfile" "assembly_project1.kicad_sch")
(property "Sheetname" "")
(path "/2ed3e124-ffee-4b53-b636-eb08b8fa844c")
(attr smd)
(fp_text reference "R1" (at 0 -1.43) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 58eb495a-d8d5-44d3-a98d-d107550adfb0)
)
(fp_text value "R1_VAL" (at 0 1.43) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ad2306f6-00ee-4c64-9c44-136eb66c20cb)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.4 0.4) (thickness 0.06)))
(tstamp c0f20967-23ac-4ed6-910c-f32e24501240)
)
(fp_line (start -0.237258 0.5225) (end 0.237258 0.5225) (layer "F.SilkS") (width 0.12) (tstamp 19404b6d-45df-4bc7-936c-92a15ff3b0ac))
(fp_line (start -0.237258 -0.5225) (end 0.237258 -0.5225) (layer "F.SilkS") (width 0.12) (tstamp 19efff70-b84a-4fd9-8c93-d1be6f783e7f))
(fp_line (start 1.48 0.73) (end -1.48 0.73) (layer "F.CrtYd") (width 0.05) (tstamp 4a6f3d8a-56bb-4af1-9f5e-db817efbfc55))
(fp_line (start -1.48 0.73) (end -1.48 -0.73) (layer "F.CrtYd") (width 0.05) (tstamp 64f460e6-c38e-48d6-b1da-7e2e70aa3fef))
(fp_line (start 1.48 -0.73) (end 1.48 0.73) (layer "F.CrtYd") (width 0.05) (tstamp 7b43bf19-1e12-4d1f-af49-59251f008e58))
(fp_line (start -1.48 -0.73) (end 1.48 -0.73) (layer "F.CrtYd") (width 0.05) (tstamp 929501c5-3717-4107-9586-f3b2dc551f55))
(fp_line (start -0.8 -0.4125) (end 0.8 -0.4125) (layer "F.Fab") (width 0.1) (tstamp 9a55a9ab-379a-4e33-b64c-91cf25c57e35))
(fp_line (start -0.8 0.4125) (end -0.8 -0.4125) (layer "F.Fab") (width 0.1) (tstamp a80b9e22-1b39-4547-805a-96a46e264939))
(fp_line (start 0.8 -0.4125) (end 0.8 0.4125) (layer "F.Fab") (width 0.1) (tstamp bc4b31f7-8299-4448-844e-8d30fff60196))
(fp_line (start 0.8 0.4125) (end -0.8 0.4125) (layer "F.Fab") (width 0.1) (tstamp c4771860-cfc6-4907-bfa8-8421b3d280ac))
(pad "1" smd roundrect locked (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "/Nested sheet/D") (pintype "passive") (tstamp 85e1df47-b260-4f86-83f1-0c652a702bd8))
(pad "2" smd roundrect locked (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 2 "/Nested sheet/C") (pintype "passive") (tstamp b37fc31e-b6a8-446c-ae85-45a3783e7d02))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0402_1005Metric" (layer "F.Cu")
(tedit 5F68FEEE) (tstamp 4ed5f74f-58ca-4485-91fb-df0e61b29a9f)
(at 141.69 99.56)
(descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "LCSC" "LCSC_R3/R4")
(property "Sheetfile" "bottom_sheet.kicad_sch")
(property "Sheetname" "Right sheet")
(path "/55a3aecb-b068-4d06-8a14-6f2c5720ab84/2efe847a-3a2d-4cd7-89a3-e45002b39eee/59ac1717-4afa-4658-89ee-a2c5488f7ddb")
(attr smd)
(fp_text reference "R4" (at 0 -1.17) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 080ac0b9-25d1-4daf-9e18-19f54e4e5bba)
)
(fp_text value "R3/R4_VAL" (at 0 1.17) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 60fb728f-016d-4d87-a272-b13fcce5690c)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.26 0.26) (thickness 0.04)))
(tstamp eba80936-2661-4e31-82b7-76b2daea093f)
)
(fp_line (start -0.153641 0.38) (end 0.153641 0.38) (layer "F.SilkS") (width 0.12) (tstamp 290bd535-d5e5-48da-b263-685c5460df33))
(fp_line (start -0.153641 -0.38) (end 0.153641 -0.38) (layer "F.SilkS") (width 0.12) (tstamp b95bfd6d-df30-4c26-8375-03c5752ee06b))
(fp_line (start -0.93 -0.47) (end 0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 5a4efd5c-9b51-4545-9b20-2681d4c9f825))
(fp_line (start 0.93 0.47) (end -0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 5f24c1a4-9ffc-4232-b0fd-bd984dd61e1b))
(fp_line (start -0.93 0.47) (end -0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 6d7bc1cf-4cfe-4160-bdef-c823966b6a94))
(fp_line (start 0.93 -0.47) (end 0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp f43b5bab-2bc9-44d3-88ea-573989191fc3))
(fp_line (start -0.525 0.27) (end -0.525 -0.27) (layer "F.Fab") (width 0.1) (tstamp 0d15c3e1-87cb-451a-80a4-6682a8f7b3df))
(fp_line (start 0.525 0.27) (end -0.525 0.27) (layer "F.Fab") (width 0.1) (tstamp b7a837e2-2472-43ac-947b-c6c8247b71e8))
(fp_line (start 0.525 -0.27) (end 0.525 0.27) (layer "F.Fab") (width 0.1) (tstamp c88b790a-2f85-4f7a-985b-13def0a25350))
(fp_line (start -0.525 -0.27) (end 0.525 -0.27) (layer "F.Fab") (width 0.1) (tstamp e1e75c78-f4e2-46f6-b937-81c23d1e0c2a))
(pad "1" smd roundrect locked (at -0.51 0) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 2 "/Nested sheet/C") (pintype "passive") (tstamp b53c7da5-5e6d-400b-8b49-c082255d47b8))
(pad "2" smd roundrect locked (at 0.51 0) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "/Nested sheet/D") (pintype "passive") (tstamp 71c2d9e7-78be-46cb-8131-b78c453d9527))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0603_1608Metric" (layer "F.Cu")
(tedit 5F68FEEE) (tstamp 9b5a77c4-2c4a-4c68-9ccc-b90a10b39d28)
(at 150.31 93.98)
(descr "Resistor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "LCSC" "LCSC_R2")
(property "Sheetfile" "nested.kicad_sch")
(property "Sheetname" "Nested sheet")
(path "/55a3aecb-b068-4d06-8a14-6f2c5720ab84/be616233-c1a5-4d91-85cf-735f13cb101d")
(attr smd)
(fp_text reference "R2" (at 0 -1.43) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp d9a8320a-d1ce-4bad-9003-b652c4558d45)
)
(fp_text value "R2_VAL" (at 0 1.43) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 2ef590d9-ae4b-47f2-a84f-234b719b7895)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.4 0.4) (thickness 0.06)))
(tstamp 1d9b7ee9-48bc-421d-90eb-aff84e42987c)
)
(fp_line (start -0.237258 -0.5225) (end 0.237258 -0.5225) (layer "F.SilkS") (width 0.12) (tstamp 1c6ea1f0-f60d-4e5d-a2d7-2416952d882a))
(fp_line (start -0.237258 0.5225) (end 0.237258 0.5225) (layer "F.SilkS") (width 0.12) (tstamp 4a4d33e5-7f1b-4b84-bc55-c48202bbec13))
(fp_line (start 1.48 0.73) (end -1.48 0.73) (layer "F.CrtYd") (width 0.05) (tstamp 7b49a715-7cc5-4d02-818b-88ffde3651c9))
(fp_line (start -1.48 -0.73) (end 1.48 -0.73) (layer "F.CrtYd") (width 0.05) (tstamp 9c24c084-e451-461e-998b-85bb5bf20978))
(fp_line (start -1.48 0.73) (end -1.48 -0.73) (layer "F.CrtYd") (width 0.05) (tstamp a5a6ccb6-53fd-4964-b423-9b74d210d8ac))
(fp_line (start 1.48 -0.73) (end 1.48 0.73) (layer "F.CrtYd") (width 0.05) (tstamp f08f8feb-93b8-4550-a3f1-841e6c04a8ca))
(fp_line (start -0.8 -0.4125) (end 0.8 -0.4125) (layer "F.Fab") (width 0.1) (tstamp 2ddd4768-4773-410b-8200-292d14d7632a))
(fp_line (start 0.8 0.4125) (end -0.8 0.4125) (layer "F.Fab") (width 0.1) (tstamp 54d7bbdb-df54-422d-a206-f95f7bca53d0))
(fp_line (start -0.8 0.4125) (end -0.8 -0.4125) (layer "F.Fab") (width 0.1) (tstamp 71d5f24e-5a10-49c1-9b38-83e24ebf666a))
(fp_line (start 0.8 -0.4125) (end 0.8 0.4125) (layer "F.Fab") (width 0.1) (tstamp bebd73d2-fdaf-483b-a13f-3dd94cfde5fd))
(pad "1" smd roundrect locked (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 2 "/Nested sheet/C") (pintype "passive") (tstamp 0bc111fe-7d4b-4602-92d1-7202c0817214))
(pad "2" smd roundrect locked (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "/Nested sheet/D") (pintype "passive") (tstamp 96922f28-f93b-4867-9353-5ffe93a44535))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0402_1005Metric" (layer "F.Cu")
(tedit 5F68FEEE) (tstamp 9e3cd07f-b051-406a-9a70-d32b543ce62c)
(at 148.53 99.56)
(descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "LCSC" "LCSC_R3/R4")
(property "Sheetfile" "bottom_sheet.kicad_sch")
(property "Sheetname" "Left sheet")
(path "/55a3aecb-b068-4d06-8a14-6f2c5720ab84/a12e3674-b5af-4a18-96d5-6b5fe6e3dfec/59ac1717-4afa-4658-89ee-a2c5488f7ddb")
(attr smd)
(fp_text reference "R3" (at 0 -1.17) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 632e620e-cc58-423d-a217-f1749c8b152a)
)
(fp_text value "R3/R4_VAL" (at 0 1.17) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp c35014bf-5d5d-41f9-ad93-cb2dd81765ee)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.26 0.26) (thickness 0.04)))
(tstamp 9220f0b4-659a-43e3-a6fd-a8d5d466881d)
)
(fp_line (start -0.153641 -0.38) (end 0.153641 -0.38) (layer "F.SilkS") (width 0.12) (tstamp 3ab2c547-dac6-4ae6-b874-874b837a9086))
(fp_line (start -0.153641 0.38) (end 0.153641 0.38) (layer "F.SilkS") (width 0.12) (tstamp 5c8d7a44-9b29-43f8-ba79-3157e71ed88c))
(fp_line (start -0.93 0.47) (end -0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 461ebbbc-19c7-4a3a-8165-8da049d8f43b))
(fp_line (start 0.93 -0.47) (end 0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 591287bc-f43c-4958-8767-2337265fde19))
(fp_line (start 0.93 0.47) (end -0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp ab510523-1e8e-485e-8e90-0719f131c966))
(fp_line (start -0.93 -0.47) (end 0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp e961e3ed-9af1-4a2d-bf88-a065ec4fa848))
(fp_line (start -0.525 -0.27) (end 0.525 -0.27) (layer "F.Fab") (width 0.1) (tstamp 03ff699b-a3b2-4d03-ac41-3f2f0962105a))
(fp_line (start -0.525 0.27) (end -0.525 -0.27) (layer "F.Fab") (width 0.1) (tstamp 09c37584-a2c8-428a-8b25-9eff609344fc))
(fp_line (start 0.525 -0.27) (end 0.525 0.27) (layer "F.Fab") (width 0.1) (tstamp 9480cb7c-7b53-497f-8e82-dcfda22ae87d))
(fp_line (start 0.525 0.27) (end -0.525 0.27) (layer "F.Fab") (width 0.1) (tstamp e4f12b8c-3b22-48ad-a662-9dece3e6454d))
(pad "1" smd roundrect locked (at -0.51 0) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 2 "/Nested sheet/C") (pintype "passive") (tstamp 861fd85c-a352-49cd-93e3-a6b9eb3d5c64))
(pad "2" smd roundrect locked (at 0.51 0) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "/Nested sheet/D") (pintype "passive") (tstamp ab22a1e0-5bc7-4b0b-8efe-517d120f373b))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
)
| KiCad | 5 | TadeasPilar/KiKit | test/resources/assembly_project1/assembly_project1.kicad_pcb | [
"MIT"
] |
-include ../tools.mk
all:
$(RUSTC) --crate-name foo bar.rs
rm $(TMPDIR)/libfoo.rlib
| Makefile | 3 | Eric-Arellano/rust | src/test/run-make-fulldeps/manual-crate-name/Makefile | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
/*
* Copyright (c) 2012-2021 Daniele Bartolini et al.
* License: https://github.com/dbartolini/crown/blob/master/LICENSE
*/
using Gee;
namespace Crown
{
[Compact]
public struct Vector4
{
public double x;
public double y;
public double z;
public double w;
public Vector4(double x, double y, double z, double w)
{
this.x = x;
this.y = y;
this.z = z;
this.w = w;
}
public Vector4.from_array(ArrayList<Value?> arr)
{
this.x = (double)arr[0];
this.y = (double)arr[1];
this.z = (double)arr[2];
this.w = (double)arr[3];
}
public ArrayList<Value?> to_array()
{
ArrayList<Value?> arr = new ArrayList<Value?>();
arr.add(this.x);
arr.add(this.y);
arr.add(this.z);
arr.add(this.w);
return arr;
}
public double dot(Vector4 b)
{
return this.x * b.x + this.y * b.y + this.z * b.z + this.w * b.w;
}
public double length_squared()
{
return dot(this);
}
public double length()
{
return Math.sqrt(length_squared());
}
public void normalize()
{
double len = length();
double inv_len = 1.0 / len;
this.x *= inv_len;
this.y *= inv_len;
this.z *= inv_len;
this.w *= inv_len;
}
public void set_length(double len)
{
normalize();
this.x *= len;
this.y *= len;
this.z *= len;
this.w *= len;
}
public Vector3 to_vector3()
{
return Vector3(this.x, this.y, this.z);
}
public string to_string()
{
return "%f, %f, %f, %f".printf(x, y, z, w);
}
}
public const Vector4 VECTOR4_ZERO = { 0.0, 0.0, 0.0, 0.0 };
public const Vector4 VECTOR4_ONE = { 1.0, 1.0, 1.0, 1.0 };
}
| Vala | 4 | galek/crown | tools/core/math/vector4.vala | [
"MIT"
] |
/**
*
*/
import Util;
import OpenApi;
import OpenApiUtil;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = 'regional';
@endpointMap = {
cn-qingdao = 'baas.aliyuncs.com',
cn-beijing = 'baas.aliyuncs.com',
cn-zhangjiakou = 'baas.aliyuncs.com',
cn-huhehaote = 'baas.aliyuncs.com',
cn-shanghai = 'baas.aliyuncs.com',
cn-shenzhen = 'baas.aliyuncs.com',
cn-hongkong = 'baas.ap-southeast-1.aliyuncs.com',
ap-southeast-2 = 'baas.ap-southeast-1.aliyuncs.com',
ap-northeast-1 = 'baas.ap-southeast-1.aliyuncs.com',
eu-west-1 = 'baas.ap-southeast-1.aliyuncs.com',
us-west-1 = 'baas.ap-southeast-1.aliyuncs.com',
us-east-1 = 'baas.ap-southeast-1.aliyuncs.com',
eu-central-1 = 'baas.ap-southeast-1.aliyuncs.com',
ap-south-1 = 'baas.ap-southeast-1.aliyuncs.com',
};
checkConfig(config);
@endpoint = getEndpoint('baas', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint);
}
function getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: map[string]string, endpoint: string) throws: string{
if (!Util.empty(endpoint)) {
return endpoint;
}
if (!Util.isUnset(endpointMap) && !Util.empty(endpointMap[regionId])) {
return endpointMap[regionId];
}
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
}
model AcceptFabricInvitationRequest {
code?: string(name='Code'),
isAccepted?: boolean(name='IsAccepted'),
}
model AcceptFabricInvitationResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
}
model AcceptFabricInvitationResponse = {
headers: map[string]string(name='headers'),
body: AcceptFabricInvitationResponseBody(name='body'),
}
async function acceptFabricInvitationWithOptions(request: AcceptFabricInvitationRequest, runtime: Util.RuntimeOptions): AcceptFabricInvitationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('AcceptFabricInvitation', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function acceptFabricInvitation(request: AcceptFabricInvitationRequest): AcceptFabricInvitationResponse {
var runtime = new Util.RuntimeOptions{};
return acceptFabricInvitationWithOptions(request, runtime);
}
model ApplyAntChainCertificateRequest {
antChainId?: string(name='AntChainId'),
uploadReq?: string(name='UploadReq'),
}
model ApplyAntChainCertificateResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model ApplyAntChainCertificateResponse = {
headers: map[string]string(name='headers'),
body: ApplyAntChainCertificateResponseBody(name='body'),
}
async function applyAntChainCertificateWithOptions(request: ApplyAntChainCertificateRequest, runtime: Util.RuntimeOptions): ApplyAntChainCertificateResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ApplyAntChainCertificate', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function applyAntChainCertificate(request: ApplyAntChainCertificateRequest): ApplyAntChainCertificateResponse {
var runtime = new Util.RuntimeOptions{};
return applyAntChainCertificateWithOptions(request, runtime);
}
model ApplyAntChainCertificateWithKeyAutoCreationRequest {
antChainId?: string(name='AntChainId'),
consortiumId?: string(name='ConsortiumId'),
password?: string(name='Password'),
countryName?: string(name='CountryName'),
stateOrProvinceName?: string(name='StateOrProvinceName'),
localityName?: string(name='LocalityName'),
organizationName?: string(name='OrganizationName'),
organizationUnitName?: string(name='OrganizationUnitName'),
commonName?: string(name='CommonName'),
}
model ApplyAntChainCertificateWithKeyAutoCreationResponseBody = {
requestId?: string(name='RequestId'),
result?: {
privateKey?: string(name='PrivateKey'),
downloadPath?: {
caCrtUrl?: string(name='CaCrtUrl'),
sdkUrl?: string(name='SdkUrl'),
clientCrtUrl?: string(name='ClientCrtUrl'),
trustCaUrl?: string(name='TrustCaUrl'),
}(name='DownloadPath'),
}(name='Result'),
}
model ApplyAntChainCertificateWithKeyAutoCreationResponse = {
headers: map[string]string(name='headers'),
body: ApplyAntChainCertificateWithKeyAutoCreationResponseBody(name='body'),
}
async function applyAntChainCertificateWithKeyAutoCreationWithOptions(request: ApplyAntChainCertificateWithKeyAutoCreationRequest, runtime: Util.RuntimeOptions): ApplyAntChainCertificateWithKeyAutoCreationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ApplyAntChainCertificateWithKeyAutoCreation', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function applyAntChainCertificateWithKeyAutoCreation(request: ApplyAntChainCertificateWithKeyAutoCreationRequest): ApplyAntChainCertificateWithKeyAutoCreationResponse {
var runtime = new Util.RuntimeOptions{};
return applyAntChainCertificateWithKeyAutoCreationWithOptions(request, runtime);
}
model BatchAddAntChainMiniAppQRCodeAuthorizedUsersRequest {
antChainId?: string(name='AntChainId'),
phoneList?: map[string]any(name='PhoneList'),
}
model BatchAddAntChainMiniAppQRCodeAuthorizedUsersShrinkRequest {
antChainId?: string(name='AntChainId'),
phoneListShrink?: string(name='PhoneList'),
}
model BatchAddAntChainMiniAppQRCodeAuthorizedUsersResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model BatchAddAntChainMiniAppQRCodeAuthorizedUsersResponse = {
headers: map[string]string(name='headers'),
body: BatchAddAntChainMiniAppQRCodeAuthorizedUsersResponseBody(name='body'),
}
async function batchAddAntChainMiniAppQRCodeAuthorizedUsersWithOptions(tmpReq: BatchAddAntChainMiniAppQRCodeAuthorizedUsersRequest, runtime: Util.RuntimeOptions): BatchAddAntChainMiniAppQRCodeAuthorizedUsersResponse {
Util.validateModel(tmpReq);
var request = new BatchAddAntChainMiniAppQRCodeAuthorizedUsersShrinkRequest{};
OpenApiUtil.convert(tmpReq, request);
if (!Util.isUnset(tmpReq.phoneList)) {
request.phoneListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneList, 'PhoneList', 'json');
}
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('BatchAddAntChainMiniAppQRCodeAuthorizedUsers', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function batchAddAntChainMiniAppQRCodeAuthorizedUsers(request: BatchAddAntChainMiniAppQRCodeAuthorizedUsersRequest): BatchAddAntChainMiniAppQRCodeAuthorizedUsersResponse {
var runtime = new Util.RuntimeOptions{};
return batchAddAntChainMiniAppQRCodeAuthorizedUsersWithOptions(request, runtime);
}
model CheckFabricConsortiumDomainRequest {
domainCode?: string(name='DomainCode'),
}
model CheckFabricConsortiumDomainResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
domain?: string(name='Domain'),
valid?: boolean(name='Valid'),
prompt?: string(name='Prompt'),
}(name='Result'),
}
model CheckFabricConsortiumDomainResponse = {
headers: map[string]string(name='headers'),
body: CheckFabricConsortiumDomainResponseBody(name='body'),
}
async function checkFabricConsortiumDomainWithOptions(request: CheckFabricConsortiumDomainRequest, runtime: Util.RuntimeOptions): CheckFabricConsortiumDomainResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CheckFabricConsortiumDomain', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function checkFabricConsortiumDomain(request: CheckFabricConsortiumDomainRequest): CheckFabricConsortiumDomainResponse {
var runtime = new Util.RuntimeOptions{};
return checkFabricConsortiumDomainWithOptions(request, runtime);
}
model CheckFabricOrganizationDomainRequest {
domainCode?: string(name='DomainCode'),
domain?: string(name='Domain'),
}
model CheckFabricOrganizationDomainResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
domain?: string(name='Domain'),
valid?: boolean(name='Valid'),
prompt?: string(name='Prompt'),
}(name='Result'),
}
model CheckFabricOrganizationDomainResponse = {
headers: map[string]string(name='headers'),
body: CheckFabricOrganizationDomainResponseBody(name='body'),
}
async function checkFabricOrganizationDomainWithOptions(request: CheckFabricOrganizationDomainRequest, runtime: Util.RuntimeOptions): CheckFabricOrganizationDomainResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CheckFabricOrganizationDomain', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function checkFabricOrganizationDomain(request: CheckFabricOrganizationDomainRequest): CheckFabricOrganizationDomainResponse {
var runtime = new Util.RuntimeOptions{};
return checkFabricOrganizationDomainWithOptions(request, runtime);
}
model ConfirmFabricConsortiumMemberRequest {
consortiumId?: string(name='ConsortiumId'),
organization?: [
{
organizationId?: string(name='OrganizationId'),
}
](name='Organization'),
}
model ConfirmFabricConsortiumMemberResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: boolean(name='Result'),
}
model ConfirmFabricConsortiumMemberResponse = {
headers: map[string]string(name='headers'),
body: ConfirmFabricConsortiumMemberResponseBody(name='body'),
}
async function confirmFabricConsortiumMemberWithOptions(request: ConfirmFabricConsortiumMemberRequest, runtime: Util.RuntimeOptions): ConfirmFabricConsortiumMemberResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ConfirmFabricConsortiumMember', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function confirmFabricConsortiumMember(request: ConfirmFabricConsortiumMemberRequest): ConfirmFabricConsortiumMemberResponse {
var runtime = new Util.RuntimeOptions{};
return confirmFabricConsortiumMemberWithOptions(request, runtime);
}
model CopyAntChainContractProjectRequest {
projectId?: string(name='ProjectId'),
projectName?: string(name='ProjectName'),
projectVersion?: string(name='ProjectVersion'),
projectDescription?: string(name='ProjectDescription'),
}
model CopyAntChainContractProjectResponseBody = {
requestId?: string(name='RequestId'),
result?: {
updateTime?: long(name='UpdateTime'),
consortiumId?: string(name='ConsortiumId'),
createTime?: long(name='CreateTime'),
projectId?: string(name='ProjectId'),
projectName?: string(name='ProjectName'),
projectVersion?: string(name='ProjectVersion'),
projectDescription?: string(name='ProjectDescription'),
}(name='Result'),
}
model CopyAntChainContractProjectResponse = {
headers: map[string]string(name='headers'),
body: CopyAntChainContractProjectResponseBody(name='body'),
}
async function copyAntChainContractProjectWithOptions(request: CopyAntChainContractProjectRequest, runtime: Util.RuntimeOptions): CopyAntChainContractProjectResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CopyAntChainContractProject', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function copyAntChainContractProject(request: CopyAntChainContractProjectRequest): CopyAntChainContractProjectResponse {
var runtime = new Util.RuntimeOptions{};
return copyAntChainContractProjectWithOptions(request, runtime);
}
model CreateAntChainAccountRequest {
antChainId?: string(name='AntChainId'),
account?: string(name='Account'),
accountPubKey?: string(name='AccountPubKey'),
accountRecoverPubKey?: string(name='AccountRecoverPubKey'),
}
model CreateAntChainAccountResponseBody = {
requestId?: string(name='RequestId'),
result?: {
account?: string(name='Account'),
antChainId?: string(name='AntChainId'),
}(name='Result'),
}
model CreateAntChainAccountResponse = {
headers: map[string]string(name='headers'),
body: CreateAntChainAccountResponseBody(name='body'),
}
async function createAntChainAccountWithOptions(request: CreateAntChainAccountRequest, runtime: Util.RuntimeOptions): CreateAntChainAccountResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateAntChainAccount', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createAntChainAccount(request: CreateAntChainAccountRequest): CreateAntChainAccountResponse {
var runtime = new Util.RuntimeOptions{};
return createAntChainAccountWithOptions(request, runtime);
}
model CreateAntChainAccountWithKeyPairAutoCreationRequest {
antChainId?: string(name='AntChainId'),
account?: string(name='Account'),
password?: string(name='Password'),
recoverPassword?: string(name='RecoverPassword'),
}
model CreateAntChainAccountWithKeyPairAutoCreationResponseBody = {
requestId?: string(name='RequestId'),
result?: {
accountPublicKey?: string(name='AccountPublicKey'),
account?: string(name='Account'),
accountRecoverPrivateKey?: string(name='AccountRecoverPrivateKey'),
accountRecoverPublicKey?: string(name='AccountRecoverPublicKey'),
accountPrivateKey?: string(name='AccountPrivateKey'),
antChainId?: string(name='AntChainId'),
}(name='Result'),
}
model CreateAntChainAccountWithKeyPairAutoCreationResponse = {
headers: map[string]string(name='headers'),
body: CreateAntChainAccountWithKeyPairAutoCreationResponseBody(name='body'),
}
async function createAntChainAccountWithKeyPairAutoCreationWithOptions(request: CreateAntChainAccountWithKeyPairAutoCreationRequest, runtime: Util.RuntimeOptions): CreateAntChainAccountWithKeyPairAutoCreationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateAntChainAccountWithKeyPairAutoCreation', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createAntChainAccountWithKeyPairAutoCreation(request: CreateAntChainAccountWithKeyPairAutoCreationRequest): CreateAntChainAccountWithKeyPairAutoCreationResponse {
var runtime = new Util.RuntimeOptions{};
return createAntChainAccountWithKeyPairAutoCreationWithOptions(request, runtime);
}
model CreateAntChainConsortiumRequest {
consortiumName?: string(name='ConsortiumName'),
consortiumDescription?: string(name='ConsortiumDescription'),
}
model CreateAntChainConsortiumResponseBody = {
requestId?: string(name='RequestId'),
result?: {
consortiumId?: string(name='ConsortiumId'),
}(name='Result'),
}
model CreateAntChainConsortiumResponse = {
headers: map[string]string(name='headers'),
body: CreateAntChainConsortiumResponseBody(name='body'),
}
async function createAntChainConsortiumWithOptions(request: CreateAntChainConsortiumRequest, runtime: Util.RuntimeOptions): CreateAntChainConsortiumResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateAntChainConsortium', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createAntChainConsortium(request: CreateAntChainConsortiumRequest): CreateAntChainConsortiumResponse {
var runtime = new Util.RuntimeOptions{};
return createAntChainConsortiumWithOptions(request, runtime);
}
model CreateAntChainContractContentRequest {
projectId?: string(name='ProjectId'),
parentContentId?: string(name='ParentContentId'),
contentName?: string(name='ContentName'),
isDirectory?: boolean(name='IsDirectory'),
content?: string(name='Content'),
}
model CreateAntChainContractContentResponseBody = {
requestId?: string(name='RequestId'),
result?: {
contentName?: string(name='ContentName'),
parentContentId?: string(name='ParentContentId'),
updateTime?: string(name='UpdateTime'),
createTime?: string(name='CreateTime'),
projectId?: string(name='ProjectId'),
isDirectory?: boolean(name='IsDirectory'),
content?: string(name='Content'),
contentId?: string(name='ContentId'),
}(name='Result'),
}
model CreateAntChainContractContentResponse = {
headers: map[string]string(name='headers'),
body: CreateAntChainContractContentResponseBody(name='body'),
}
async function createAntChainContractContentWithOptions(request: CreateAntChainContractContentRequest, runtime: Util.RuntimeOptions): CreateAntChainContractContentResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateAntChainContractContent', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createAntChainContractContent(request: CreateAntChainContractContentRequest): CreateAntChainContractContentResponse {
var runtime = new Util.RuntimeOptions{};
return createAntChainContractContentWithOptions(request, runtime);
}
model CreateAntChainContractProjectRequest {
consortiumId?: string(name='ConsortiumId'),
projectName?: string(name='ProjectName'),
projectVersion?: string(name='ProjectVersion'),
projectDescription?: string(name='ProjectDescription'),
}
model CreateAntChainContractProjectResponseBody = {
requestId?: string(name='RequestId'),
result?: {
updateTime?: long(name='UpdateTime'),
consortiumId?: string(name='ConsortiumId'),
createTime?: long(name='CreateTime'),
projectId?: string(name='ProjectId'),
projectName?: string(name='ProjectName'),
projectVersion?: string(name='ProjectVersion'),
projectDescription?: string(name='ProjectDescription'),
}(name='Result'),
}
model CreateAntChainContractProjectResponse = {
headers: map[string]string(name='headers'),
body: CreateAntChainContractProjectResponseBody(name='body'),
}
async function createAntChainContractProjectWithOptions(request: CreateAntChainContractProjectRequest, runtime: Util.RuntimeOptions): CreateAntChainContractProjectResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateAntChainContractProject', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createAntChainContractProject(request: CreateAntChainContractProjectRequest): CreateAntChainContractProjectResponse {
var runtime = new Util.RuntimeOptions{};
return createAntChainContractProjectWithOptions(request, runtime);
}
model CreateFabricChaincodeRequest {
organizationId?: string(name='OrganizationId'),
channelId?: string(name='ChannelId'),
consortiumId?: string(name='ConsortiumId'),
ossBucket?: string(name='OssBucket'),
ossUrl?: string(name='OssUrl'),
endorsePolicy?: string(name='EndorsePolicy'),
location?: string(name='Location'),
}
model CreateFabricChaincodeResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
type?: int32(name='Type'),
endorsePolicy?: string(name='EndorsePolicy'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
chaincodeId?: string(name='ChaincodeId'),
message?: string(name='Message'),
providerName?: string(name='ProviderName'),
chaincodeName?: string(name='ChaincodeName'),
install?: boolean(name='Install'),
input?: string(name='Input'),
providerId?: string(name='ProviderId'),
deployTime?: string(name='DeployTime'),
chaincodeVersion?: string(name='ChaincodeVersion'),
consortiumId?: string(name='ConsortiumId'),
channelName?: string(name='ChannelName'),
path?: string(name='Path'),
}(name='Result'),
}
model CreateFabricChaincodeResponse = {
headers: map[string]string(name='headers'),
body: CreateFabricChaincodeResponseBody(name='body'),
}
async function createFabricChaincodeWithOptions(request: CreateFabricChaincodeRequest, runtime: Util.RuntimeOptions): CreateFabricChaincodeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateFabricChaincode', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createFabricChaincode(request: CreateFabricChaincodeRequest): CreateFabricChaincodeResponse {
var runtime = new Util.RuntimeOptions{};
return createFabricChaincodeWithOptions(request, runtime);
}
model CreateFabricChannelRequest {
consortiumId?: string(name='ConsortiumId'),
channelName?: string(name='ChannelName'),
batchTimeout?: int32(name='BatchTimeout'),
maxMessageCount?: int32(name='MaxMessageCount'),
preferredMaxBytes?: int32(name='PreferredMaxBytes'),
organization?: [
{
id?: string(name='Id'),
}
](name='Organization'),
}
model CreateFabricChannelResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
batchTimeout?: int32(name='BatchTimeout'),
updateTime?: string(name='UpdateTime'),
chaincodeCount?: int32(name='ChaincodeCount'),
state?: string(name='State'),
preferredMaxBytes?: int32(name='PreferredMaxBytes'),
createTime?: string(name='CreateTime'),
ownerName?: string(name='OwnerName'),
ownerUid?: long(name='OwnerUid'),
ownerBid?: string(name='OwnerBid'),
maxMessageCount?: int32(name='MaxMessageCount'),
memberCount?: int32(name='MemberCount'),
requestId?: string(name='RequestId'),
consortiumId?: string(name='ConsortiumId'),
channelName?: string(name='ChannelName'),
supportConfig?: boolean(name='SupportConfig'),
channelId?: string(name='ChannelId'),
consortiumName?: string(name='ConsortiumName'),
blockCount?: int32(name='BlockCount'),
}(name='Result'),
}
model CreateFabricChannelResponse = {
headers: map[string]string(name='headers'),
body: CreateFabricChannelResponseBody(name='body'),
}
async function createFabricChannelWithOptions(request: CreateFabricChannelRequest, runtime: Util.RuntimeOptions): CreateFabricChannelResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateFabricChannel', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createFabricChannel(request: CreateFabricChannelRequest): CreateFabricChannelResponse {
var runtime = new Util.RuntimeOptions{};
return createFabricChannelWithOptions(request, runtime);
}
model CreateFabricChannelMemberRequest {
channelId?: string(name='ChannelId'),
organization?: [
{
organizationId?: string(name='OrganizationId'),
}
](name='Organization'),
}
model CreateFabricChannelMemberResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: boolean(name='Result'),
}
model CreateFabricChannelMemberResponse = {
headers: map[string]string(name='headers'),
body: CreateFabricChannelMemberResponseBody(name='body'),
}
async function createFabricChannelMemberWithOptions(request: CreateFabricChannelMemberRequest, runtime: Util.RuntimeOptions): CreateFabricChannelMemberResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateFabricChannelMember', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createFabricChannelMember(request: CreateFabricChannelMemberRequest): CreateFabricChannelMemberResponse {
var runtime = new Util.RuntimeOptions{};
return createFabricChannelMemberWithOptions(request, runtime);
}
model CreateFabricConsortiumRequest {
location?: string(name='Location'),
ordererType?: string(name='OrdererType'),
zoneId?: string(name='ZoneId'),
consortiumName?: string(name='ConsortiumName'),
domain?: string(name='Domain'),
consortiumDescription?: string(name='ConsortiumDescription'),
channelPolicy?: string(name='ChannelPolicy'),
specName?: string(name='SpecName'),
orderersCount?: int32(name='OrderersCount'),
peersCount?: int32(name='PeersCount'),
paymentDurationUnit?: string(name='PaymentDurationUnit'),
paymentDuration?: int32(name='PaymentDuration'),
organization?: [
{
organizationId?: string(name='OrganizationId'),
}
](name='Organization'),
}
model CreateFabricConsortiumResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
channelCount?: int32(name='ChannelCount'),
domain?: string(name='Domain'),
createTime?: string(name='CreateTime'),
specName?: string(name='SpecName'),
ordererCount?: int32(name='OrdererCount'),
serviceState?: string(name='ServiceState'),
ownerUid?: long(name='OwnerUid'),
clusterState?: string(name='ClusterState'),
codeName?: string(name='CodeName'),
ownerBid?: string(name='OwnerBid'),
regionId?: string(name='RegionId'),
memberCount?: int32(name='MemberCount'),
channelPolicy?: string(name='ChannelPolicy'),
ordererType?: string(name='OrdererType'),
description?: string(name='Description'),
consortiumId?: string(name='ConsortiumId'),
zoneId?: string(name='ZoneId'),
consortiumName?: string(name='ConsortiumName'),
}(name='Result'),
}
model CreateFabricConsortiumResponse = {
headers: map[string]string(name='headers'),
body: CreateFabricConsortiumResponseBody(name='body'),
}
async function createFabricConsortiumWithOptions(request: CreateFabricConsortiumRequest, runtime: Util.RuntimeOptions): CreateFabricConsortiumResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateFabricConsortium', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createFabricConsortium(request: CreateFabricConsortiumRequest): CreateFabricConsortiumResponse {
var runtime = new Util.RuntimeOptions{};
return createFabricConsortiumWithOptions(request, runtime);
}
model CreateFabricConsortiumMemberRequest {
consortiumId?: string(name='ConsortiumId'),
code?: string(name='Code'),
organization?: [
{
organizationId?: string(name='OrganizationId'),
}
](name='Organization'),
}
model CreateFabricConsortiumMemberResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: boolean(name='Result'),
}
model CreateFabricConsortiumMemberResponse = {
headers: map[string]string(name='headers'),
body: CreateFabricConsortiumMemberResponseBody(name='body'),
}
async function createFabricConsortiumMemberWithOptions(request: CreateFabricConsortiumMemberRequest, runtime: Util.RuntimeOptions): CreateFabricConsortiumMemberResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateFabricConsortiumMember', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createFabricConsortiumMember(request: CreateFabricConsortiumMemberRequest): CreateFabricConsortiumMemberResponse {
var runtime = new Util.RuntimeOptions{};
return createFabricConsortiumMemberWithOptions(request, runtime);
}
model CreateFabricOrganizationRequest {
organizationName?: string(name='OrganizationName'),
location?: string(name='Location'),
domain?: string(name='Domain'),
description?: string(name='Description'),
specName?: string(name='SpecName'),
peersCount?: int32(name='PeersCount'),
paymentDuration?: int32(name='PaymentDuration'),
paymentDurationUnit?: string(name='PaymentDurationUnit'),
}
model CreateFabricOrganizationResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
domain?: string(name='Domain'),
peerCount?: int32(name='PeerCount'),
createTime?: string(name='CreateTime'),
consortiumCount?: int32(name='ConsortiumCount'),
specName?: string(name='SpecName'),
ownerName?: string(name='OwnerName'),
serviceState?: string(name='ServiceState'),
ownerUid?: long(name='OwnerUid'),
clusterState?: string(name='ClusterState'),
codeName?: string(name='CodeName'),
ownerBid?: string(name='OwnerBid'),
organizationDescription?: string(name='OrganizationDescription'),
regionId?: string(name='RegionId'),
organizationId?: string(name='OrganizationId'),
requestId?: string(name='RequestId'),
zoneId?: string(name='ZoneId'),
userCount?: int32(name='UserCount'),
organizationName?: string(name='OrganizationName'),
}(name='Result'),
}
model CreateFabricOrganizationResponse = {
headers: map[string]string(name='headers'),
body: CreateFabricOrganizationResponseBody(name='body'),
}
async function createFabricOrganizationWithOptions(request: CreateFabricOrganizationRequest, runtime: Util.RuntimeOptions): CreateFabricOrganizationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateFabricOrganization', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createFabricOrganization(request: CreateFabricOrganizationRequest): CreateFabricOrganizationResponse {
var runtime = new Util.RuntimeOptions{};
return createFabricOrganizationWithOptions(request, runtime);
}
model CreateFabricOrganizationUserRequest {
organizationId?: string(name='OrganizationId'),
username?: string(name='Username'),
password?: string(name='Password'),
attrs?: string(name='Attrs'),
}
model CreateFabricOrganizationUserResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
password?: string(name='Password'),
expireTime?: string(name='ExpireTime'),
createTime?: string(name='CreateTime'),
organizationId?: string(name='OrganizationId'),
username?: string(name='Username'),
fullname?: string(name='Fullname'),
}(name='Result'),
}
model CreateFabricOrganizationUserResponse = {
headers: map[string]string(name='headers'),
body: CreateFabricOrganizationUserResponseBody(name='body'),
}
async function createFabricOrganizationUserWithOptions(request: CreateFabricOrganizationUserRequest, runtime: Util.RuntimeOptions): CreateFabricOrganizationUserResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateFabricOrganizationUser', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createFabricOrganizationUser(request: CreateFabricOrganizationUserRequest): CreateFabricOrganizationUserResponse {
var runtime = new Util.RuntimeOptions{};
return createFabricOrganizationUserWithOptions(request, runtime);
}
model DeleteAntChainConsortiumRequest {
consortiumId?: string(name='ConsortiumId'),
}
model DeleteAntChainConsortiumResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model DeleteAntChainConsortiumResponse = {
headers: map[string]string(name='headers'),
body: DeleteAntChainConsortiumResponseBody(name='body'),
}
async function deleteAntChainConsortiumWithOptions(request: DeleteAntChainConsortiumRequest, runtime: Util.RuntimeOptions): DeleteAntChainConsortiumResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteAntChainConsortium', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteAntChainConsortium(request: DeleteAntChainConsortiumRequest): DeleteAntChainConsortiumResponse {
var runtime = new Util.RuntimeOptions{};
return deleteAntChainConsortiumWithOptions(request, runtime);
}
model DeleteAntChainContractContentRequest {
contentId?: string(name='ContentId'),
}
model DeleteAntChainContractContentResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model DeleteAntChainContractContentResponse = {
headers: map[string]string(name='headers'),
body: DeleteAntChainContractContentResponseBody(name='body'),
}
async function deleteAntChainContractContentWithOptions(request: DeleteAntChainContractContentRequest, runtime: Util.RuntimeOptions): DeleteAntChainContractContentResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteAntChainContractContent', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteAntChainContractContent(request: DeleteAntChainContractContentRequest): DeleteAntChainContractContentResponse {
var runtime = new Util.RuntimeOptions{};
return deleteAntChainContractContentWithOptions(request, runtime);
}
model DeleteAntChainContractProjectRequest {
projectId?: string(name='ProjectId'),
}
model DeleteAntChainContractProjectResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model DeleteAntChainContractProjectResponse = {
headers: map[string]string(name='headers'),
body: DeleteAntChainContractProjectResponseBody(name='body'),
}
async function deleteAntChainContractProjectWithOptions(request: DeleteAntChainContractProjectRequest, runtime: Util.RuntimeOptions): DeleteAntChainContractProjectResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteAntChainContractProject', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteAntChainContractProject(request: DeleteAntChainContractProjectRequest): DeleteAntChainContractProjectResponse {
var runtime = new Util.RuntimeOptions{};
return deleteAntChainContractProjectWithOptions(request, runtime);
}
model DeleteAntChainMiniAppQRCodeAuthorizedUserRequest {
antChainId?: string(name='AntChainId'),
phone?: string(name='Phone'),
}
model DeleteAntChainMiniAppQRCodeAuthorizedUserResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model DeleteAntChainMiniAppQRCodeAuthorizedUserResponse = {
headers: map[string]string(name='headers'),
body: DeleteAntChainMiniAppQRCodeAuthorizedUserResponseBody(name='body'),
}
async function deleteAntChainMiniAppQRCodeAuthorizedUserWithOptions(request: DeleteAntChainMiniAppQRCodeAuthorizedUserRequest, runtime: Util.RuntimeOptions): DeleteAntChainMiniAppQRCodeAuthorizedUserResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteAntChainMiniAppQRCodeAuthorizedUser', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteAntChainMiniAppQRCodeAuthorizedUser(request: DeleteAntChainMiniAppQRCodeAuthorizedUserRequest): DeleteAntChainMiniAppQRCodeAuthorizedUserResponse {
var runtime = new Util.RuntimeOptions{};
return deleteAntChainMiniAppQRCodeAuthorizedUserWithOptions(request, runtime);
}
model DeleteFabricChaincodeRequest {
chaincodeId?: string(name='ChaincodeId'),
}
model DeleteFabricChaincodeResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
}
model DeleteFabricChaincodeResponse = {
headers: map[string]string(name='headers'),
body: DeleteFabricChaincodeResponseBody(name='body'),
}
async function deleteFabricChaincodeWithOptions(request: DeleteFabricChaincodeRequest, runtime: Util.RuntimeOptions): DeleteFabricChaincodeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteFabricChaincode', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteFabricChaincode(request: DeleteFabricChaincodeRequest): DeleteFabricChaincodeResponse {
var runtime = new Util.RuntimeOptions{};
return deleteFabricChaincodeWithOptions(request, runtime);
}
model DescribeAntChainAccountsRequest {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
antChainId?: string(name='AntChainId'),
}
model DescribeAntChainAccountsResponseBody = {
requestId?: string(name='RequestId'),
result?: {
pagination?: {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
totalCount?: int32(name='TotalCount'),
}(name='Pagination'),
accounts?: [
{
accountPublicKey?: string(name='AccountPublicKey'),
account?: string(name='Account'),
accountStatus?: string(name='AccountStatus'),
accountRecoveryKey?: string(name='AccountRecoveryKey'),
antChainId?: string(name='AntChainId'),
}
](name='Accounts'),
}(name='Result'),
}
model DescribeAntChainAccountsResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainAccountsResponseBody(name='body'),
}
async function describeAntChainAccountsWithOptions(request: DescribeAntChainAccountsRequest, runtime: Util.RuntimeOptions): DescribeAntChainAccountsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainAccounts', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainAccounts(request: DescribeAntChainAccountsRequest): DescribeAntChainAccountsResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainAccountsWithOptions(request, runtime);
}
model DescribeAntChainBlockRequest {
antChainId?: string(name='AntChainId'),
height?: long(name='Height'),
}
model DescribeAntChainBlockResponseBody = {
requestId?: string(name='RequestId'),
result?: {
previousHash?: string(name='PreviousHash'),
version?: long(name='Version'),
transactionSize?: int32(name='TransactionSize'),
createTime?: long(name='CreateTime'),
rootTxHash?: string(name='RootTxHash'),
height?: int32(name='Height'),
blockHash?: string(name='BlockHash'),
antChainId?: string(name='AntChainId'),
transSummaryList?: string(name='TransSummaryList'),
}(name='Result'),
}
model DescribeAntChainBlockResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainBlockResponseBody(name='body'),
}
async function describeAntChainBlockWithOptions(request: DescribeAntChainBlockRequest, runtime: Util.RuntimeOptions): DescribeAntChainBlockResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainBlock', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainBlock(request: DescribeAntChainBlockRequest): DescribeAntChainBlockResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainBlockWithOptions(request, runtime);
}
model DescribeAntChainCertificateApplicationsRequest {
antChainId?: string(name='AntChainId'),
status?: string(name='Status'),
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
}
model DescribeAntChainCertificateApplicationsResponseBody = {
requestId?: string(name='RequestId'),
result?: {
pagination?: {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
totalCount?: int32(name='TotalCount'),
}(name='Pagination'),
certificateApplications?: [
{
status?: string(name='Status'),
updatetime?: long(name='Updatetime'),
createtime?: long(name='Createtime'),
bid?: string(name='Bid'),
antChainId?: string(name='AntChainId'),
username?: string(name='Username'),
}
](name='CertificateApplications'),
}(name='Result'),
}
model DescribeAntChainCertificateApplicationsResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainCertificateApplicationsResponseBody(name='body'),
}
async function describeAntChainCertificateApplicationsWithOptions(request: DescribeAntChainCertificateApplicationsRequest, runtime: Util.RuntimeOptions): DescribeAntChainCertificateApplicationsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainCertificateApplications', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainCertificateApplications(request: DescribeAntChainCertificateApplicationsRequest): DescribeAntChainCertificateApplicationsResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainCertificateApplicationsWithOptions(request, runtime);
}
model DescribeAntChainConsortiumsRequest {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
}
model DescribeAntChainConsortiumsResponseBody = {
requestId?: string(name='RequestId'),
result?: {
antConsortiums?: [
{
consortiumDescription?: string(name='ConsortiumDescription'),
status?: string(name='Status'),
consortiumId?: string(name='ConsortiumId'),
createTime?: long(name='CreateTime'),
memberNum?: long(name='MemberNum'),
role?: string(name='Role'),
consortiumName?: string(name='ConsortiumName'),
chainNum?: long(name='ChainNum'),
}
](name='AntConsortiums'),
pagination?: {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
totalCount?: int32(name='TotalCount'),
}(name='Pagination'),
}(name='Result'),
}
model DescribeAntChainConsortiumsResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainConsortiumsResponseBody(name='body'),
}
async function describeAntChainConsortiumsWithOptions(request: DescribeAntChainConsortiumsRequest, runtime: Util.RuntimeOptions): DescribeAntChainConsortiumsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainConsortiums', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainConsortiums(request: DescribeAntChainConsortiumsRequest): DescribeAntChainConsortiumsResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainConsortiumsWithOptions(request, runtime);
}
model DescribeAntChainContractProjectContentTreeRequest {
projectId?: string(name='ProjectId'),
}
model DescribeAntChainContractProjectContentTreeResponseBody = {
requestId?: string(name='RequestId'),
result?: {
children?: [ map[string]any ](name='Children'),
projectId?: string(name='ProjectId'),
projectName?: string(name='ProjectName'),
projectVersion?: string(name='ProjectVersion'),
projectDescription?: string(name='ProjectDescription'),
}(name='Result'),
}
model DescribeAntChainContractProjectContentTreeResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainContractProjectContentTreeResponseBody(name='body'),
}
async function describeAntChainContractProjectContentTreeWithOptions(request: DescribeAntChainContractProjectContentTreeRequest, runtime: Util.RuntimeOptions): DescribeAntChainContractProjectContentTreeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainContractProjectContentTree', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainContractProjectContentTree(request: DescribeAntChainContractProjectContentTreeRequest): DescribeAntChainContractProjectContentTreeResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainContractProjectContentTreeWithOptions(request, runtime);
}
model DescribeAntChainContractProjectsRequest {
consortiumId?: string(name='ConsortiumId'),
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
}
model DescribeAntChainContractProjectsResponseBody = {
requestId?: string(name='RequestId'),
result?: {
pagination?: {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
totalCount?: int32(name='TotalCount'),
}(name='Pagination'),
contractProjects?: [
{
updateTime?: long(name='UpdateTime'),
consortiumId?: string(name='ConsortiumId'),
createTime?: long(name='CreateTime'),
projectId?: string(name='ProjectId'),
projectName?: string(name='ProjectName'),
projectVersion?: string(name='ProjectVersion'),
projectDescription?: string(name='ProjectDescription'),
}
](name='ContractProjects'),
}(name='Result'),
}
model DescribeAntChainContractProjectsResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainContractProjectsResponseBody(name='body'),
}
async function describeAntChainContractProjectsWithOptions(request: DescribeAntChainContractProjectsRequest, runtime: Util.RuntimeOptions): DescribeAntChainContractProjectsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainContractProjects', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainContractProjects(request: DescribeAntChainContractProjectsRequest): DescribeAntChainContractProjectsResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainContractProjectsWithOptions(request, runtime);
}
model DescribeAntChainDownloadPathsRequest {
antChainId?: string(name='AntChainId'),
}
model DescribeAntChainDownloadPathsResponseBody = {
requestId?: string(name='RequestId'),
result?: {
caCrtUrl?: string(name='CaCrtUrl'),
sdkUrl?: string(name='SdkUrl'),
clientCrtUrl?: string(name='ClientCrtUrl'),
trustCaUrl?: string(name='TrustCaUrl'),
}(name='Result'),
}
model DescribeAntChainDownloadPathsResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainDownloadPathsResponseBody(name='body'),
}
async function describeAntChainDownloadPathsWithOptions(request: DescribeAntChainDownloadPathsRequest, runtime: Util.RuntimeOptions): DescribeAntChainDownloadPathsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainDownloadPaths', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainDownloadPaths(request: DescribeAntChainDownloadPathsRequest): DescribeAntChainDownloadPathsResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainDownloadPathsWithOptions(request, runtime);
}
model DescribeAntChainInformationRequest {
antChainId?: string(name='AntChainId'),
}
model DescribeAntChainInformationResponseBody = {
requestId?: string(name='RequestId'),
result?: {
transactionSum?: int32(name='TransactionSum'),
version?: string(name='Version'),
blockHeight?: int32(name='BlockHeight'),
createTime?: long(name='CreateTime'),
nodeNumber?: int32(name='NodeNumber'),
abnormalNodes?: int32(name='AbnormalNodes'),
nodeInfos?: [
{
status?: boolean(name='Status'),
nodeName?: string(name='NodeName'),
version?: string(name='Version'),
blockHeight?: long(name='BlockHeight'),
}
](name='NodeInfos'),
antChainId?: string(name='AntChainId'),
normal?: boolean(name='Normal'),
}(name='Result'),
}
model DescribeAntChainInformationResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainInformationResponseBody(name='body'),
}
async function describeAntChainInformationWithOptions(request: DescribeAntChainInformationRequest, runtime: Util.RuntimeOptions): DescribeAntChainInformationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainInformation', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainInformation(request: DescribeAntChainInformationRequest): DescribeAntChainInformationResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainInformationWithOptions(request, runtime);
}
model DescribeAntChainLatestBlocksRequest {
antChainId?: string(name='AntChainId'),
}
model DescribeAntChainLatestBlocksResponseBody = {
requestId?: string(name='RequestId'),
result?: [ map[string]any ](name='Result'),
}
model DescribeAntChainLatestBlocksResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainLatestBlocksResponseBody(name='body'),
}
async function describeAntChainLatestBlocksWithOptions(request: DescribeAntChainLatestBlocksRequest, runtime: Util.RuntimeOptions): DescribeAntChainLatestBlocksResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainLatestBlocks', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainLatestBlocks(request: DescribeAntChainLatestBlocksRequest): DescribeAntChainLatestBlocksResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainLatestBlocksWithOptions(request, runtime);
}
model DescribeAntChainLatestTransactionDigestsRequest {
antChainId?: string(name='AntChainId'),
}
model DescribeAntChainLatestTransactionDigestsResponseBody = {
requestId?: string(name='RequestId'),
result?: [ map[string]any ](name='Result'),
}
model DescribeAntChainLatestTransactionDigestsResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainLatestTransactionDigestsResponseBody(name='body'),
}
async function describeAntChainLatestTransactionDigestsWithOptions(request: DescribeAntChainLatestTransactionDigestsRequest, runtime: Util.RuntimeOptions): DescribeAntChainLatestTransactionDigestsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainLatestTransactionDigests', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainLatestTransactionDigests(request: DescribeAntChainLatestTransactionDigestsRequest): DescribeAntChainLatestTransactionDigestsResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainLatestTransactionDigestsWithOptions(request, runtime);
}
model DescribeAntChainMembersRequest {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
consortiumId?: string(name='ConsortiumId'),
}
model DescribeAntChainMembersResponseBody = {
requestId?: string(name='RequestId'),
result?: {
members?: [
{
status?: string(name='Status'),
memberName?: string(name='MemberName'),
joinTime?: long(name='JoinTime'),
memberId?: string(name='MemberId'),
role?: string(name='Role'),
}
](name='Members'),
pagination?: {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
totalCount?: int32(name='TotalCount'),
}(name='Pagination'),
}(name='Result'),
}
model DescribeAntChainMembersResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainMembersResponseBody(name='body'),
}
async function describeAntChainMembersWithOptions(request: DescribeAntChainMembersRequest, runtime: Util.RuntimeOptions): DescribeAntChainMembersResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainMembers', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainMembers(request: DescribeAntChainMembersRequest): DescribeAntChainMembersResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainMembersWithOptions(request, runtime);
}
model DescribeAntChainMiniAppBrowserQRCodeAccessLogRequest {
antChainId?: string(name='AntChainId'),
QRCodeType?: string(name='QRCodeType'),
}
model DescribeAntChainMiniAppBrowserQRCodeAccessLogResponseBody = {
requestId?: string(name='RequestId'),
result?: {
accessCount?: long(name='AccessCount'),
accessAlipayAccountCount?: long(name='AccessAlipayAccountCount'),
}(name='Result'),
}
model DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainMiniAppBrowserQRCodeAccessLogResponseBody(name='body'),
}
async function describeAntChainMiniAppBrowserQRCodeAccessLogWithOptions(request: DescribeAntChainMiniAppBrowserQRCodeAccessLogRequest, runtime: Util.RuntimeOptions): DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainMiniAppBrowserQRCodeAccessLog', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainMiniAppBrowserQRCodeAccessLog(request: DescribeAntChainMiniAppBrowserQRCodeAccessLogRequest): DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainMiniAppBrowserQRCodeAccessLogWithOptions(request, runtime);
}
model DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersRequest {
antChainId?: string(name='AntChainId'),
QRCodeType?: string(name='QRCodeType'),
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
}
model DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponseBody = {
requestId?: string(name='RequestId'),
result?: {
QRCodeType?: string(name='QRCodeType'),
pagination?: {
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
totalCount?: int32(name='TotalCount'),
}(name='Pagination'),
authorizationType?: string(name='AuthorizationType'),
authorizedUserList?: [
{
gmtAuthorized?: string(name='GmtAuthorized'),
phone?: string(name='Phone'),
}
](name='AuthorizedUserList'),
antChainId?: string(name='AntChainId'),
}(name='Result'),
}
model DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponseBody(name='body'),
}
async function describeAntChainMiniAppBrowserQRCodeAuthorizedUsersWithOptions(request: DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersRequest, runtime: Util.RuntimeOptions): DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsers', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainMiniAppBrowserQRCodeAuthorizedUsers(request: DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersRequest): DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainMiniAppBrowserQRCodeAuthorizedUsersWithOptions(request, runtime);
}
model DescribeAntChainMiniAppBrowserTransactionQRCodeRequest {
antChainId?: string(name='AntChainId'),
transactionHash?: string(name='TransactionHash'),
}
model DescribeAntChainMiniAppBrowserTransactionQRCodeResponseBody = {
requestId?: string(name='RequestId'),
result?: {
base64QRCodePNG?: string(name='Base64QRCodePNG'),
transactionHash?: string(name='TransactionHash'),
QRCodeContent?: string(name='QRCodeContent'),
antChainId?: string(name='AntChainId'),
}(name='Result'),
}
model DescribeAntChainMiniAppBrowserTransactionQRCodeResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainMiniAppBrowserTransactionQRCodeResponseBody(name='body'),
}
async function describeAntChainMiniAppBrowserTransactionQRCodeWithOptions(request: DescribeAntChainMiniAppBrowserTransactionQRCodeRequest, runtime: Util.RuntimeOptions): DescribeAntChainMiniAppBrowserTransactionQRCodeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainMiniAppBrowserTransactionQRCode', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainMiniAppBrowserTransactionQRCode(request: DescribeAntChainMiniAppBrowserTransactionQRCodeRequest): DescribeAntChainMiniAppBrowserTransactionQRCodeResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainMiniAppBrowserTransactionQRCodeWithOptions(request, runtime);
}
model DescribeAntChainNodesRequest {
antChainId?: string(name='AntChainId'),
}
model DescribeAntChainNodesResponseBody = {
requestId?: string(name='RequestId'),
result?: [ map[string]any ](name='Result'),
}
model DescribeAntChainNodesResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainNodesResponseBody(name='body'),
}
async function describeAntChainNodesWithOptions(request: DescribeAntChainNodesRequest, runtime: Util.RuntimeOptions): DescribeAntChainNodesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainNodes', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainNodes(request: DescribeAntChainNodesRequest): DescribeAntChainNodesResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainNodesWithOptions(request, runtime);
}
model DescribeAntChainQRCodeAuthorizationRequest {
antChainId?: string(name='AntChainId'),
QRCodeType?: string(name='QRCodeType'),
}
model DescribeAntChainQRCodeAuthorizationResponseBody = {
requestId?: string(name='RequestId'),
result?: {
QRCodeType?: string(name='QRCodeType'),
authorizationType?: string(name='AuthorizationType'),
antChainId?: string(name='AntChainId'),
}(name='Result'),
}
model DescribeAntChainQRCodeAuthorizationResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainQRCodeAuthorizationResponseBody(name='body'),
}
async function describeAntChainQRCodeAuthorizationWithOptions(request: DescribeAntChainQRCodeAuthorizationRequest, runtime: Util.RuntimeOptions): DescribeAntChainQRCodeAuthorizationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainQRCodeAuthorization', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainQRCodeAuthorization(request: DescribeAntChainQRCodeAuthorizationRequest): DescribeAntChainQRCodeAuthorizationResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainQRCodeAuthorizationWithOptions(request, runtime);
}
model DescribeAntChainsRequest {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
consortiumId?: string(name='ConsortiumId'),
}
model DescribeAntChainsResponseBody = {
requestId?: string(name='RequestId'),
result?: {
pagination?: {
pageSize?: int32(name='PageSize'),
pageNumber?: int32(name='PageNumber'),
totalCount?: int32(name='TotalCount'),
}(name='Pagination'),
antChains?: [
{
expireTime?: long(name='ExpireTime'),
createTime?: long(name='CreateTime'),
chainType?: string(name='ChainType'),
isAdmin?: boolean(name='IsAdmin'),
merkleTreeSuit?: string(name='MerkleTreeSuit'),
memberStatus?: string(name='MemberStatus'),
regionId?: string(name='RegionId'),
antChainName?: string(name='AntChainName'),
network?: string(name='Network'),
tlsAlgo?: string(name='TlsAlgo'),
version?: string(name='Version'),
cipherSuit?: string(name='CipherSuit'),
resourceSize?: string(name='ResourceSize'),
nodeNum?: int32(name='NodeNum'),
antChainId?: string(name='AntChainId'),
}
](name='AntChains'),
isExist?: boolean(name='IsExist'),
}(name='Result'),
}
model DescribeAntChainsResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainsResponseBody(name='body'),
}
async function describeAntChainsWithOptions(request: DescribeAntChainsRequest, runtime: Util.RuntimeOptions): DescribeAntChainsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChains', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChains(request: DescribeAntChainsRequest): DescribeAntChainsResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainsWithOptions(request, runtime);
}
model DescribeAntChainTransactionRequest {
antChainId?: string(name='AntChainId'),
hash?: string(name='Hash'),
}
model DescribeAntChainTransactionResponseBody = {
requestId?: string(name='RequestId'),
result?: {
hash?: string(name='Hash'),
blockVersion?: string(name='BlockVersion'),
blockHeight?: long(name='BlockHeight'),
createTime?: long(name='CreateTime'),
blockHash?: string(name='BlockHash'),
transaction?: {
hash?: string(name='Hash'),
from?: string(name='From'),
data?: string(name='Data'),
nonce?: string(name='Nonce'),
to?: string(name='To'),
timestamp?: long(name='Timestamp'),
gas?: string(name='Gas'),
period?: long(name='Period'),
value?: string(name='Value'),
extentions?: [ string ](name='Extentions'),
txType?: string(name='TxType'),
signatures?: [ string ](name='Signatures'),
}(name='Transaction'),
}(name='Result'),
}
model DescribeAntChainTransactionResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainTransactionResponseBody(name='body'),
}
async function describeAntChainTransactionWithOptions(request: DescribeAntChainTransactionRequest, runtime: Util.RuntimeOptions): DescribeAntChainTransactionResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainTransaction', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainTransaction(request: DescribeAntChainTransactionRequest): DescribeAntChainTransactionResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainTransactionWithOptions(request, runtime);
}
model DescribeAntChainTransactionReceiptRequest {
antChainId?: string(name='AntChainId'),
hash?: string(name='Hash'),
}
model DescribeAntChainTransactionReceiptResponseBody = {
requestId?: string(name='RequestId'),
result?: {
data?: string(name='Data'),
result?: long(name='Result'),
logs?: [ string ](name='Logs'),
gasUsed?: string(name='GasUsed'),
}(name='Result'),
}
model DescribeAntChainTransactionReceiptResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainTransactionReceiptResponseBody(name='body'),
}
async function describeAntChainTransactionReceiptWithOptions(request: DescribeAntChainTransactionReceiptRequest, runtime: Util.RuntimeOptions): DescribeAntChainTransactionReceiptResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainTransactionReceipt', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainTransactionReceipt(request: DescribeAntChainTransactionReceiptRequest): DescribeAntChainTransactionReceiptResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainTransactionReceiptWithOptions(request, runtime);
}
model DescribeAntChainTransactionStatisticsRequest {
antChainId?: string(name='AntChainId'),
start?: long(name='Start'),
end?: long(name='End'),
}
model DescribeAntChainTransactionStatisticsResponseBody = {
requestId?: string(name='RequestId'),
result?: [
{
creatTime?: long(name='CreatTime'),
transCount?: long(name='TransCount'),
dt?: string(name='Dt'),
lastSumBlockHeight?: long(name='LastSumBlockHeight'),
antChainId?: string(name='AntChainId'),
}
](name='Result'),
}
model DescribeAntChainTransactionStatisticsResponse = {
headers: map[string]string(name='headers'),
body: DescribeAntChainTransactionStatisticsResponseBody(name='body'),
}
async function describeAntChainTransactionStatisticsWithOptions(request: DescribeAntChainTransactionStatisticsRequest, runtime: Util.RuntimeOptions): DescribeAntChainTransactionStatisticsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAntChainTransactionStatistics', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAntChainTransactionStatistics(request: DescribeAntChainTransactionStatisticsRequest): DescribeAntChainTransactionStatisticsResponse {
var runtime = new Util.RuntimeOptions{};
return describeAntChainTransactionStatisticsWithOptions(request, runtime);
}
model DescribeEthereumDeletableRequest {
ethereumId?: string(name='EthereumId'),
}
model DescribeEthereumDeletableResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
deletable?: boolean(name='Deletable'),
ethereumId?: string(name='EthereumId'),
}(name='Result'),
}
model DescribeEthereumDeletableResponse = {
headers: map[string]string(name='headers'),
body: DescribeEthereumDeletableResponseBody(name='body'),
}
async function describeEthereumDeletableWithOptions(request: DescribeEthereumDeletableRequest, runtime: Util.RuntimeOptions): DescribeEthereumDeletableResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEthereumDeletable', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEthereumDeletable(request: DescribeEthereumDeletableRequest): DescribeEthereumDeletableResponse {
var runtime = new Util.RuntimeOptions{};
return describeEthereumDeletableWithOptions(request, runtime);
}
model DescribeFabricCandidateOrganizationsRequest {
location?: string(name='Location'),
}
model DescribeFabricCandidateOrganizationsResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
serviceState?: string(name='ServiceState'),
organizationName?: string(name='OrganizationName'),
clusterState?: string(name='ClusterState'),
organizationId?: string(name='OrganizationId'),
}
](name='Result'),
}
model DescribeFabricCandidateOrganizationsResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricCandidateOrganizationsResponseBody(name='body'),
}
async function describeFabricCandidateOrganizationsWithOptions(request: DescribeFabricCandidateOrganizationsRequest, runtime: Util.RuntimeOptions): DescribeFabricCandidateOrganizationsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricCandidateOrganizations', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricCandidateOrganizations(request: DescribeFabricCandidateOrganizationsRequest): DescribeFabricCandidateOrganizationsResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricCandidateOrganizationsWithOptions(request, runtime);
}
model DescribeFabricChaincodeUploadPolicyRequest {
organizationId?: string(name='OrganizationId'),
}
model DescribeFabricChaincodeUploadPolicyResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
signature?: string(name='Signature'),
host?: string(name='Host'),
policy?: string(name='Policy'),
dir?: string(name='Dir'),
accessId?: string(name='AccessId'),
expire?: int32(name='Expire'),
}(name='Result'),
}
model DescribeFabricChaincodeUploadPolicyResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricChaincodeUploadPolicyResponseBody(name='body'),
}
async function describeFabricChaincodeUploadPolicyWithOptions(request: DescribeFabricChaincodeUploadPolicyRequest, runtime: Util.RuntimeOptions): DescribeFabricChaincodeUploadPolicyResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricChaincodeUploadPolicy', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricChaincodeUploadPolicy(request: DescribeFabricChaincodeUploadPolicyRequest): DescribeFabricChaincodeUploadPolicyResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricChaincodeUploadPolicyWithOptions(request, runtime);
}
model DescribeFabricChannelMembersRequest {
channelId?: string(name='ChannelId'),
}
model DescribeFabricChannelMembersResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
withPeer?: boolean(name='WithPeer'),
acceptTime?: string(name='AcceptTime'),
organizationDomain?: string(name='OrganizationDomain'),
state?: string(name='State'),
inviteTime?: string(name='InviteTime'),
channelId?: string(name='ChannelId'),
organizationName?: string(name='OrganizationName'),
organizationDescription?: string(name='OrganizationDescription'),
organizationId?: string(name='OrganizationId'),
}
](name='Result'),
}
model DescribeFabricChannelMembersResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricChannelMembersResponseBody(name='body'),
}
async function describeFabricChannelMembersWithOptions(request: DescribeFabricChannelMembersRequest, runtime: Util.RuntimeOptions): DescribeFabricChannelMembersResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricChannelMembers', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricChannelMembers(request: DescribeFabricChannelMembersRequest): DescribeFabricChannelMembersResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricChannelMembersWithOptions(request, runtime);
}
model DescribeFabricConsortiumAdminStatusRequest {
location?: string(name='Location'),
}
model DescribeFabricConsortiumAdminStatusResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
consortiumId?: string(name='ConsortiumId'),
consortiumAdministrator?: boolean(name='ConsortiumAdministrator'),
}
](name='Result'),
}
model DescribeFabricConsortiumAdminStatusResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumAdminStatusResponseBody(name='body'),
}
async function describeFabricConsortiumAdminStatusWithOptions(request: DescribeFabricConsortiumAdminStatusRequest, runtime: Util.RuntimeOptions): DescribeFabricConsortiumAdminStatusResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricConsortiumAdminStatus', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiumAdminStatus(request: DescribeFabricConsortiumAdminStatusRequest): DescribeFabricConsortiumAdminStatusResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumAdminStatusWithOptions(request, runtime);
}
model DescribeFabricConsortiumChaincodesRequest {
consortiumId?: string(name='ConsortiumId'),
location?: string(name='Location'),
}
model DescribeFabricConsortiumChaincodesResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
type?: int32(name='Type'),
endorsePolicy?: string(name='EndorsePolicy'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
chaincodeId?: string(name='ChaincodeId'),
message?: string(name='Message'),
providerName?: string(name='ProviderName'),
chaincodeName?: string(name='ChaincodeName'),
input?: string(name='Input'),
install?: boolean(name='Install'),
providerId?: string(name='ProviderId'),
deployTime?: string(name='DeployTime'),
chaincodeVersion?: string(name='ChaincodeVersion'),
consortiumId?: string(name='ConsortiumId'),
channelName?: string(name='ChannelName'),
channelId?: string(name='ChannelId'),
path?: string(name='Path'),
}
](name='Result'),
}
model DescribeFabricConsortiumChaincodesResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumChaincodesResponseBody(name='body'),
}
async function describeFabricConsortiumChaincodesWithOptions(request: DescribeFabricConsortiumChaincodesRequest, runtime: Util.RuntimeOptions): DescribeFabricConsortiumChaincodesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricConsortiumChaincodes', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiumChaincodes(request: DescribeFabricConsortiumChaincodesRequest): DescribeFabricConsortiumChaincodesResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumChaincodesWithOptions(request, runtime);
}
model DescribeFabricConsortiumChannelsRequest {
consortiumId?: string(name='ConsortiumId'),
location?: string(name='Location'),
}
model DescribeFabricConsortiumChannelsResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
batchTimeout?: int32(name='BatchTimeout'),
updateTime?: string(name='UpdateTime'),
chaincodeCount?: int32(name='ChaincodeCount'),
state?: string(name='State'),
memberJoinedCount?: string(name='MemberJoinedCount'),
preferredMaxBytes?: int32(name='PreferredMaxBytes'),
createTime?: string(name='CreateTime'),
supportChannelConfig?: boolean(name='SupportChannelConfig'),
ownerName?: string(name='OwnerName'),
ownerUid?: long(name='OwnerUid'),
ownerBid?: string(name='OwnerBid'),
maxMessageCount?: int32(name='MaxMessageCount'),
memberCount?: int32(name='MemberCount'),
needJoined?: boolean(name='NeedJoined'),
requestId?: string(name='RequestId'),
consortiumId?: string(name='ConsortiumId'),
channelName?: string(name='ChannelName'),
deleteTime?: string(name='DeleteTime'),
channelId?: string(name='ChannelId'),
consortiumChannelId?: int32(name='ConsortiumChannelId'),
deleted?: boolean(name='Deleted'),
consortiumName?: string(name='ConsortiumName'),
blockCount?: int32(name='BlockCount'),
}
](name='Result'),
}
model DescribeFabricConsortiumChannelsResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumChannelsResponseBody(name='body'),
}
async function describeFabricConsortiumChannelsWithOptions(request: DescribeFabricConsortiumChannelsRequest, runtime: Util.RuntimeOptions): DescribeFabricConsortiumChannelsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricConsortiumChannels', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiumChannels(request: DescribeFabricConsortiumChannelsRequest): DescribeFabricConsortiumChannelsResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumChannelsWithOptions(request, runtime);
}
model DescribeFabricConsortiumConfigResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
channelPolicy?: [ string ](name='ChannelPolicy'),
ordererType?: [ string ](name='OrdererType'),
}(name='Result'),
}
model DescribeFabricConsortiumConfigResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumConfigResponseBody(name='body'),
}
async function describeFabricConsortiumConfigWithOptions(runtime: Util.RuntimeOptions): DescribeFabricConsortiumConfigResponse {
var req = new OpenApi.OpenApiRequest{};
return doRPCRequest('DescribeFabricConsortiumConfig', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiumConfig(): DescribeFabricConsortiumConfigResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumConfigWithOptions(runtime);
}
model DescribeFabricConsortiumDeletableRequest {
consortiumId?: string(name='ConsortiumId'),
location?: string(name='Location'),
}
model DescribeFabricConsortiumDeletableResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
deletable?: boolean(name='Deletable'),
domain?: string(name='Domain'),
description?: string(name='Description'),
consortiumId?: string(name='ConsortiumId'),
state?: string(name='State'),
zoneId?: string(name='ZoneId'),
codeName?: string(name='CodeName'),
consortiumName?: string(name='ConsortiumName'),
regionId?: string(name='RegionId'),
}(name='Result'),
}
model DescribeFabricConsortiumDeletableResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumDeletableResponseBody(name='body'),
}
async function describeFabricConsortiumDeletableWithOptions(request: DescribeFabricConsortiumDeletableRequest, runtime: Util.RuntimeOptions): DescribeFabricConsortiumDeletableResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricConsortiumDeletable', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiumDeletable(request: DescribeFabricConsortiumDeletableRequest): DescribeFabricConsortiumDeletableResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumDeletableWithOptions(request, runtime);
}
model DescribeFabricConsortiumMemberApprovalRequest {
consortiumId?: string(name='ConsortiumId'),
location?: string(name='Location'),
}
model DescribeFabricConsortiumMemberApprovalResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
consortiumId?: string(name='ConsortiumId'),
state?: string(name='State'),
channelCreatePolicy?: string(name='ChannelCreatePolicy'),
confirmTime?: string(name='ConfirmTime'),
organizationName?: string(name='OrganizationName'),
consortiumName?: string(name='ConsortiumName'),
domainName?: string(name='DomainName'),
organizationId?: string(name='OrganizationId'),
}
](name='Result'),
}
model DescribeFabricConsortiumMemberApprovalResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumMemberApprovalResponseBody(name='body'),
}
async function describeFabricConsortiumMemberApprovalWithOptions(request: DescribeFabricConsortiumMemberApprovalRequest, runtime: Util.RuntimeOptions): DescribeFabricConsortiumMemberApprovalResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricConsortiumMemberApproval', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiumMemberApproval(request: DescribeFabricConsortiumMemberApprovalRequest): DescribeFabricConsortiumMemberApprovalResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumMemberApprovalWithOptions(request, runtime);
}
model DescribeFabricConsortiumMembersRequest {
consortiumId?: string(name='ConsortiumId'),
location?: string(name='Location'),
}
model DescribeFabricConsortiumMembersResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
domain?: string(name='Domain'),
description?: string(name='Description'),
consortiumId?: string(name='ConsortiumId'),
organizationName?: string(name='OrganizationName'),
joinedTime?: string(name='JoinedTime'),
organizationId?: string(name='OrganizationId'),
}
](name='Result'),
}
model DescribeFabricConsortiumMembersResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumMembersResponseBody(name='body'),
}
async function describeFabricConsortiumMembersWithOptions(request: DescribeFabricConsortiumMembersRequest, runtime: Util.RuntimeOptions): DescribeFabricConsortiumMembersResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricConsortiumMembers', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiumMembers(request: DescribeFabricConsortiumMembersRequest): DescribeFabricConsortiumMembersResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumMembersWithOptions(request, runtime);
}
model DescribeFabricConsortiumOrderersRequest {
consortiumId?: string(name='ConsortiumId'),
location?: string(name='Location'),
}
model DescribeFabricConsortiumOrderersResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
domain?: string(name='Domain'),
updateTime?: string(name='UpdateTime'),
ordererName?: string(name='OrdererName'),
createTime?: string(name='CreateTime'),
port?: int32(name='Port'),
instanceType?: string(name='InstanceType'),
}
](name='Result'),
}
model DescribeFabricConsortiumOrderersResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumOrderersResponseBody(name='body'),
}
async function describeFabricConsortiumOrderersWithOptions(request: DescribeFabricConsortiumOrderersRequest, runtime: Util.RuntimeOptions): DescribeFabricConsortiumOrderersResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricConsortiumOrderers', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiumOrderers(request: DescribeFabricConsortiumOrderersRequest): DescribeFabricConsortiumOrderersResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumOrderersWithOptions(request, runtime);
}
model DescribeFabricConsortiumsRequest {
consortiumId?: string(name='ConsortiumId'),
location?: string(name='Location'),
tag?: [
{
key?: string(name='Key'),
value?: string(name='Value'),
}
](name='Tag'),
}
model DescribeFabricConsortiumsResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
channelCount?: int32(name='ChannelCount'),
domain?: string(name='Domain'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
tags?: [
{
key?: string(name='Key'),
value?: string(name='Value'),
}
](name='Tags'),
specName?: string(name='SpecName'),
supportChannelConfig?: boolean(name='SupportChannelConfig'),
ownerName?: string(name='OwnerName'),
ownerUid?: long(name='OwnerUid'),
codeName?: string(name='CodeName'),
ownerBid?: string(name='OwnerBid'),
regionId?: string(name='RegionId'),
channelPolicy?: string(name='ChannelPolicy'),
requestId?: string(name='RequestId'),
consortiumId?: string(name='ConsortiumId'),
expiredTime?: string(name='ExpiredTime'),
organizationCount?: int32(name='OrganizationCount'),
consortiumName?: string(name='ConsortiumName'),
}
](name='Result'),
}
model DescribeFabricConsortiumsResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumsResponseBody(name='body'),
}
async function describeFabricConsortiumsWithOptions(request: DescribeFabricConsortiumsRequest, runtime: Util.RuntimeOptions): DescribeFabricConsortiumsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricConsortiums', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiums(request: DescribeFabricConsortiumsRequest): DescribeFabricConsortiumsResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumsWithOptions(request, runtime);
}
model DescribeFabricConsortiumSpecsResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
specName?: string(name='SpecName'),
specTitle?: string(name='SpecTitle'),
enable?: boolean(name='Enable'),
}
](name='Result'),
}
model DescribeFabricConsortiumSpecsResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricConsortiumSpecsResponseBody(name='body'),
}
async function describeFabricConsortiumSpecsWithOptions(runtime: Util.RuntimeOptions): DescribeFabricConsortiumSpecsResponse {
var req = new OpenApi.OpenApiRequest{};
return doRPCRequest('DescribeFabricConsortiumSpecs', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricConsortiumSpecs(): DescribeFabricConsortiumSpecsResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricConsortiumSpecsWithOptions(runtime);
}
model DescribeFabricExplorerRequest {
organizationId?: string(name='OrganizationId'),
exMethod?: string(name='ExMethod'),
exUrl?: string(name='ExUrl'),
exBody?: string(name='ExBody'),
}
model DescribeFabricExplorerResponseBody = {
requestId?: string(name='RequestId'),
dynamicCode?: string(name='DynamicCode'),
errorCode?: int32(name='ErrorCode'),
dynamicMessage?: string(name='DynamicMessage'),
success?: boolean(name='Success'),
result?: string(name='Result'),
}
model DescribeFabricExplorerResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricExplorerResponseBody(name='body'),
}
async function describeFabricExplorerWithOptions(request: DescribeFabricExplorerRequest, runtime: Util.RuntimeOptions): DescribeFabricExplorerResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricExplorer', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricExplorer(request: DescribeFabricExplorerRequest): DescribeFabricExplorerResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricExplorerWithOptions(request, runtime);
}
model DescribeFabricInvitationCodeRequest {
consortiumId?: string(name='ConsortiumId'),
}
model DescribeFabricInvitationCodeResponseBody = {
requestId?: string(name='RequestId'),
dynamicCode?: string(name='DynamicCode'),
dynamicMessage?: string(name='DynamicMessage'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
senderId?: long(name='SenderId'),
email?: string(name='Email'),
senderBid?: string(name='SenderBid'),
expireTime?: string(name='ExpireTime'),
consortiumId?: string(name='ConsortiumId'),
invitationId?: int32(name='InvitationId'),
senderName?: string(name='SenderName'),
code?: string(name='Code'),
url?: string(name='Url'),
accepted?: boolean(name='Accepted'),
sendTime?: string(name='SendTime'),
}(name='Result'),
}
model DescribeFabricInvitationCodeResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricInvitationCodeResponseBody(name='body'),
}
async function describeFabricInvitationCodeWithOptions(request: DescribeFabricInvitationCodeRequest, runtime: Util.RuntimeOptions): DescribeFabricInvitationCodeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricInvitationCode', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricInvitationCode(request: DescribeFabricInvitationCodeRequest): DescribeFabricInvitationCodeResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricInvitationCodeWithOptions(request, runtime);
}
model DescribeFabricInviterRequest {
code?: string(name='Code'),
}
model DescribeFabricInviterResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
inviterId?: long(name='InviterId'),
expireTime?: string(name='ExpireTime'),
consortiumId?: string(name='ConsortiumId'),
inviterName?: string(name='InviterName'),
consortiumName?: string(name='ConsortiumName'),
}(name='Result'),
}
model DescribeFabricInviterResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricInviterResponseBody(name='body'),
}
async function describeFabricInviterWithOptions(request: DescribeFabricInviterRequest, runtime: Util.RuntimeOptions): DescribeFabricInviterResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricInviter', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricInviter(request: DescribeFabricInviterRequest): DescribeFabricInviterResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricInviterWithOptions(request, runtime);
}
model DescribeFabricOrdererLogsRequest {
consortiumId?: string(name='ConsortiumId'),
ordererName?: string(name='OrdererName'),
lines?: string(name='Lines'),
}
model DescribeFabricOrdererLogsResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: string(name='Result'),
}
model DescribeFabricOrdererLogsResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricOrdererLogsResponseBody(name='body'),
}
async function describeFabricOrdererLogsWithOptions(request: DescribeFabricOrdererLogsRequest, runtime: Util.RuntimeOptions): DescribeFabricOrdererLogsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricOrdererLogs', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricOrdererLogs(request: DescribeFabricOrdererLogsRequest): DescribeFabricOrdererLogsResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricOrdererLogsWithOptions(request, runtime);
}
model DescribeFabricOrganizationRequest {
organizationId?: string(name='OrganizationId'),
location?: string(name='Location'),
tag?: [
{
key?: string(name='Key'),
value?: string(name='Value'),
}
](name='Tag'),
}
model DescribeFabricOrganizationResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
domain?: string(name='Domain'),
peerCount?: int32(name='PeerCount'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
consortiumCount?: int32(name='ConsortiumCount'),
tags?: [
{
key?: string(name='Key'),
value?: string(name='Value'),
}
](name='Tags'),
specName?: string(name='SpecName'),
ownerName?: string(name='OwnerName'),
ownerUid?: long(name='OwnerUid'),
codeName?: string(name='CodeName'),
ownerBid?: string(name='OwnerBid'),
organizationDescription?: string(name='OrganizationDescription'),
regionId?: string(name='RegionId'),
organizationId?: string(name='OrganizationId'),
MSP?: string(name='MSP'),
requestId?: string(name='RequestId'),
CAUrl?: string(name='CAUrl'),
CANAME?: string(name='CANAME'),
zoneId?: string(name='ZoneId'),
userCount?: int32(name='UserCount'),
organizationName?: string(name='OrganizationName'),
}(name='Result'),
}
model DescribeFabricOrganizationResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricOrganizationResponseBody(name='body'),
}
async function describeFabricOrganizationWithOptions(request: DescribeFabricOrganizationRequest, runtime: Util.RuntimeOptions): DescribeFabricOrganizationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricOrganization', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricOrganization(request: DescribeFabricOrganizationRequest): DescribeFabricOrganizationResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricOrganizationWithOptions(request, runtime);
}
model DescribeFabricOrganizationChaincodesRequest {
organizationId?: string(name='OrganizationId'),
location?: string(name='Location'),
}
model DescribeFabricOrganizationChaincodesResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
endorsePolicy?: string(name='EndorsePolicy'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
chaincodeId?: string(name='ChaincodeId'),
message?: string(name='Message'),
chaincodeName?: string(name='ChaincodeName'),
installed?: string(name='Installed'),
creator?: string(name='Creator'),
deployTime?: string(name='DeployTime'),
chaincodeVersion?: string(name='ChaincodeVersion'),
channelName?: string(name='ChannelName'),
consortiumId?: string(name='ConsortiumId'),
channelId?: string(name='ChannelId'),
}
](name='Result'),
}
model DescribeFabricOrganizationChaincodesResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricOrganizationChaincodesResponseBody(name='body'),
}
async function describeFabricOrganizationChaincodesWithOptions(request: DescribeFabricOrganizationChaincodesRequest, runtime: Util.RuntimeOptions): DescribeFabricOrganizationChaincodesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricOrganizationChaincodes', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricOrganizationChaincodes(request: DescribeFabricOrganizationChaincodesRequest): DescribeFabricOrganizationChaincodesResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricOrganizationChaincodesWithOptions(request, runtime);
}
model DescribeFabricOrganizationDeletableRequest {
organizationId?: string(name='OrganizationId'),
location?: string(name='Location'),
}
model DescribeFabricOrganizationDeletableResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
deletable?: boolean(name='Deletable'),
domain?: string(name='Domain'),
state?: string(name='State'),
zoneId?: string(name='ZoneId'),
organizationName?: string(name='OrganizationName'),
codeName?: string(name='CodeName'),
organizationDescription?: string(name='OrganizationDescription'),
regionId?: string(name='RegionId'),
organizationId?: string(name='OrganizationId'),
}(name='Result'),
}
model DescribeFabricOrganizationDeletableResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricOrganizationDeletableResponseBody(name='body'),
}
async function describeFabricOrganizationDeletableWithOptions(request: DescribeFabricOrganizationDeletableRequest, runtime: Util.RuntimeOptions): DescribeFabricOrganizationDeletableResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricOrganizationDeletable', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricOrganizationDeletable(request: DescribeFabricOrganizationDeletableRequest): DescribeFabricOrganizationDeletableResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricOrganizationDeletableWithOptions(request, runtime);
}
model DescribeFabricOrganizationMembersRequest {
organizationId?: string(name='OrganizationId'),
location?: string(name='Location'),
}
model DescribeFabricOrganizationMembersResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
domain?: string(name='Domain'),
consortiumId?: string(name='ConsortiumId'),
description?: string(name='Description'),
state?: string(name='State'),
organizationName?: string(name='OrganizationName'),
joinedTime?: string(name='JoinedTime'),
consortiumName?: string(name='ConsortiumName'),
organizationId?: string(name='OrganizationId'),
}
](name='Result'),
}
model DescribeFabricOrganizationMembersResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricOrganizationMembersResponseBody(name='body'),
}
async function describeFabricOrganizationMembersWithOptions(request: DescribeFabricOrganizationMembersRequest, runtime: Util.RuntimeOptions): DescribeFabricOrganizationMembersResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricOrganizationMembers', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricOrganizationMembers(request: DescribeFabricOrganizationMembersRequest): DescribeFabricOrganizationMembersResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricOrganizationMembersWithOptions(request, runtime);
}
model DescribeFabricOrganizationPeersRequest {
organizationId?: string(name='OrganizationId'),
location?: string(name='Location'),
}
model DescribeFabricOrganizationPeersResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
updateTime?: string(name='UpdateTime'),
domain?: string(name='Domain'),
internetIp?: string(name='InternetIp'),
createTime?: string(name='CreateTime'),
isAnchor?: boolean(name='IsAnchor'),
instanceType?: string(name='InstanceType'),
port?: int32(name='Port'),
organizationPeerName?: string(name='OrganizationPeerName'),
intranetIp?: string(name='IntranetIp'),
}
](name='Result'),
}
model DescribeFabricOrganizationPeersResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricOrganizationPeersResponseBody(name='body'),
}
async function describeFabricOrganizationPeersWithOptions(request: DescribeFabricOrganizationPeersRequest, runtime: Util.RuntimeOptions): DescribeFabricOrganizationPeersResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricOrganizationPeers', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricOrganizationPeers(request: DescribeFabricOrganizationPeersRequest): DescribeFabricOrganizationPeersResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricOrganizationPeersWithOptions(request, runtime);
}
model DescribeFabricOrganizationsRequest {
location?: string(name='Location'),
tag?: [
{
key?: string(name='Key'),
value?: string(name='Value'),
}
](name='Tag'),
}
model DescribeFabricOrganizationsResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
domain?: string(name='Domain'),
peerCount?: int32(name='PeerCount'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
consortiumCount?: int32(name='ConsortiumCount'),
tags?: [
{
key?: string(name='Key'),
value?: string(name='Value'),
}
](name='Tags'),
specName?: string(name='SpecName'),
ownerName?: string(name='OwnerName'),
ownerUid?: long(name='OwnerUid'),
codeName?: string(name='CodeName'),
ownerBid?: string(name='OwnerBid'),
organizationDescription?: string(name='OrganizationDescription'),
regionId?: string(name='RegionId'),
organizationId?: string(name='OrganizationId'),
requestId?: string(name='RequestId'),
zoneId?: string(name='ZoneId'),
userCount?: int32(name='UserCount'),
organizationName?: string(name='OrganizationName'),
}
](name='Result'),
}
model DescribeFabricOrganizationsResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricOrganizationsResponseBody(name='body'),
}
async function describeFabricOrganizationsWithOptions(request: DescribeFabricOrganizationsRequest, runtime: Util.RuntimeOptions): DescribeFabricOrganizationsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricOrganizations', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricOrganizations(request: DescribeFabricOrganizationsRequest): DescribeFabricOrganizationsResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricOrganizationsWithOptions(request, runtime);
}
model DescribeFabricOrganizationSpecsResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
title?: string(name='Title'),
organizationSpecsName?: string(name='OrganizationSpecsName'),
enable?: boolean(name='Enable'),
}
](name='Result'),
}
model DescribeFabricOrganizationSpecsResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricOrganizationSpecsResponseBody(name='body'),
}
async function describeFabricOrganizationSpecsWithOptions(runtime: Util.RuntimeOptions): DescribeFabricOrganizationSpecsResponse {
var req = new OpenApi.OpenApiRequest{};
return doRPCRequest('DescribeFabricOrganizationSpecs', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricOrganizationSpecs(): DescribeFabricOrganizationSpecsResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricOrganizationSpecsWithOptions(runtime);
}
model DescribeFabricOrganizationUsersRequest {
organizationId?: string(name='OrganizationId'),
location?: string(name='Location'),
}
model DescribeFabricOrganizationUsersResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
expireTime?: string(name='ExpireTime'),
attrs?: string(name='Attrs'),
callerBid?: string(name='CallerBid'),
createTime?: string(name='CreateTime'),
fullName?: string(name='FullName'),
callerUid?: long(name='CallerUid'),
username?: string(name='Username'),
organizationId?: string(name='OrganizationId'),
regionId?: string(name='RegionId'),
}
](name='Result'),
}
model DescribeFabricOrganizationUsersResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricOrganizationUsersResponseBody(name='body'),
}
async function describeFabricOrganizationUsersWithOptions(request: DescribeFabricOrganizationUsersRequest, runtime: Util.RuntimeOptions): DescribeFabricOrganizationUsersResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricOrganizationUsers', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricOrganizationUsers(request: DescribeFabricOrganizationUsersRequest): DescribeFabricOrganizationUsersResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricOrganizationUsersWithOptions(request, runtime);
}
model DescribeFabricPeerLogsRequest {
organizationId?: string(name='OrganizationId'),
peerName?: string(name='PeerName'),
lines?: string(name='Lines'),
}
model DescribeFabricPeerLogsResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: string(name='Result'),
}
model DescribeFabricPeerLogsResponse = {
headers: map[string]string(name='headers'),
body: DescribeFabricPeerLogsResponseBody(name='body'),
}
async function describeFabricPeerLogsWithOptions(request: DescribeFabricPeerLogsRequest, runtime: Util.RuntimeOptions): DescribeFabricPeerLogsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeFabricPeerLogs', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeFabricPeerLogs(request: DescribeFabricPeerLogsRequest): DescribeFabricPeerLogsResponse {
var runtime = new Util.RuntimeOptions{};
return describeFabricPeerLogsWithOptions(request, runtime);
}
model DescribeRegionsRequest {
regionId?: string(name='RegionId'),
acceptLanguage?: string(name='AcceptLanguage'),
}
model DescribeRegionsResponseBody = {
requestId?: string(name='RequestId'),
regions?: [
{
localName?: string(name='LocalName'),
regionEndpoint?: string(name='RegionEndpoint'),
regionId?: string(name='RegionId'),
}
](name='Regions'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
}
model DescribeRegionsResponse = {
headers: map[string]string(name='headers'),
body: DescribeRegionsResponseBody(name='body'),
}
async function describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: Util.RuntimeOptions): DescribeRegionsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeRegions', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeRegions(request: DescribeRegionsRequest): DescribeRegionsResponse {
var runtime = new Util.RuntimeOptions{};
return describeRegionsWithOptions(request, runtime);
}
model DescribeRootDomainResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: string(name='Result'),
}
model DescribeRootDomainResponse = {
headers: map[string]string(name='headers'),
body: DescribeRootDomainResponseBody(name='body'),
}
async function describeRootDomainWithOptions(runtime: Util.RuntimeOptions): DescribeRootDomainResponse {
var req = new OpenApi.OpenApiRequest{};
return doRPCRequest('DescribeRootDomain', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeRootDomain(): DescribeRootDomainResponse {
var runtime = new Util.RuntimeOptions{};
return describeRootDomainWithOptions(runtime);
}
model DescribeTasksResponseBody = {
requestId?: string(name='RequestId'),
dynamicCode?: string(name='DynamicCode'),
dynamicMessage?: string(name='DynamicMessage'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
action?: string(name='Action'),
result?: string(name='Result'),
sender?: string(name='Sender'),
operationType?: string(name='OperationType'),
handled?: boolean(name='Handled'),
responseTime?: string(name='ResponseTime'),
target?: string(name='Target'),
taskId?: int32(name='TaskId'),
requestTime?: long(name='RequestTime'),
}
](name='Result'),
}
model DescribeTasksResponse = {
headers: map[string]string(name='headers'),
body: DescribeTasksResponseBody(name='body'),
}
async function describeTasksWithOptions(runtime: Util.RuntimeOptions): DescribeTasksResponse {
var req = new OpenApi.OpenApiRequest{};
return doRPCRequest('DescribeTasks', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeTasks(): DescribeTasksResponse {
var runtime = new Util.RuntimeOptions{};
return describeTasksWithOptions(runtime);
}
model DownloadFabricOrganizationSDKRequest {
organizationId?: string(name='OrganizationId'),
username?: string(name='Username'),
location?: string(name='Location'),
}
model DownloadFabricOrganizationSDKResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
path?: string(name='Path'),
content?: string(name='Content'),
}
](name='Result'),
}
model DownloadFabricOrganizationSDKResponse = {
headers: map[string]string(name='headers'),
body: DownloadFabricOrganizationSDKResponseBody(name='body'),
}
async function downloadFabricOrganizationSDKWithOptions(request: DownloadFabricOrganizationSDKRequest, runtime: Util.RuntimeOptions): DownloadFabricOrganizationSDKResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DownloadFabricOrganizationSDK', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function downloadFabricOrganizationSDK(request: DownloadFabricOrganizationSDKRequest): DownloadFabricOrganizationSDKResponse {
var runtime = new Util.RuntimeOptions{};
return downloadFabricOrganizationSDKWithOptions(request, runtime);
}
model FreezeAntChainAccountRequest {
antChainId?: string(name='AntChainId'),
account?: string(name='Account'),
}
model FreezeAntChainAccountResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model FreezeAntChainAccountResponse = {
headers: map[string]string(name='headers'),
body: FreezeAntChainAccountResponseBody(name='body'),
}
async function freezeAntChainAccountWithOptions(request: FreezeAntChainAccountRequest, runtime: Util.RuntimeOptions): FreezeAntChainAccountResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('FreezeAntChainAccount', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function freezeAntChainAccount(request: FreezeAntChainAccountRequest): FreezeAntChainAccountResponse {
var runtime = new Util.RuntimeOptions{};
return freezeAntChainAccountWithOptions(request, runtime);
}
model InstallFabricChaincodeRequest {
organizationId?: string(name='OrganizationId'),
chaincodeId?: string(name='ChaincodeId'),
location?: string(name='Location'),
}
model InstallFabricChaincodeResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
type?: int32(name='Type'),
endorsePolicy?: string(name='EndorsePolicy'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
chaincodeId?: string(name='ChaincodeId'),
message?: string(name='Message'),
providerName?: string(name='ProviderName'),
chaincodeName?: string(name='ChaincodeName'),
install?: boolean(name='Install'),
input?: string(name='Input'),
providerId?: string(name='ProviderId'),
deployTime?: string(name='DeployTime'),
chaincodeVersion?: string(name='ChaincodeVersion'),
consortiumId?: string(name='ConsortiumId'),
channelName?: string(name='ChannelName'),
path?: string(name='Path'),
}(name='Result'),
}
model InstallFabricChaincodeResponse = {
headers: map[string]string(name='headers'),
body: InstallFabricChaincodeResponseBody(name='body'),
}
async function installFabricChaincodeWithOptions(request: InstallFabricChaincodeRequest, runtime: Util.RuntimeOptions): InstallFabricChaincodeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('InstallFabricChaincode', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function installFabricChaincode(request: InstallFabricChaincodeRequest): InstallFabricChaincodeResponse {
var runtime = new Util.RuntimeOptions{};
return installFabricChaincodeWithOptions(request, runtime);
}
model InstantiateFabricChaincodeRequest {
organizationId?: string(name='OrganizationId'),
chaincodeId?: string(name='ChaincodeId'),
endorsePolicy?: string(name='EndorsePolicy'),
location?: string(name='Location'),
collectionConfig?: string(name='CollectionConfig'),
}
model InstantiateFabricChaincodeResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
type?: int32(name='Type'),
endorsePolicy?: string(name='EndorsePolicy'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
chaincodeId?: string(name='ChaincodeId'),
message?: string(name='Message'),
providerName?: string(name='ProviderName'),
chaincodeName?: string(name='ChaincodeName'),
install?: boolean(name='Install'),
input?: string(name='Input'),
providerId?: string(name='ProviderId'),
deployTime?: string(name='DeployTime'),
chaincodeVersion?: string(name='ChaincodeVersion'),
consortiumId?: string(name='ConsortiumId'),
channelName?: string(name='ChannelName'),
path?: string(name='Path'),
}(name='Result'),
}
model InstantiateFabricChaincodeResponse = {
headers: map[string]string(name='headers'),
body: InstantiateFabricChaincodeResponseBody(name='body'),
}
async function instantiateFabricChaincodeWithOptions(request: InstantiateFabricChaincodeRequest, runtime: Util.RuntimeOptions): InstantiateFabricChaincodeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('InstantiateFabricChaincode', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function instantiateFabricChaincode(request: InstantiateFabricChaincodeRequest): InstantiateFabricChaincodeResponse {
var runtime = new Util.RuntimeOptions{};
return instantiateFabricChaincodeWithOptions(request, runtime);
}
model JoinFabricChannelRequest {
channelId?: string(name='ChannelId'),
do?: string(name='Do'),
location?: string(name='Location'),
}
model JoinFabricChannelResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: [
{
withPeer?: boolean(name='WithPeer'),
acceptTime?: string(name='AcceptTime'),
state?: string(name='State'),
destroyTime?: string(name='DestroyTime'),
inviteTime?: string(name='InviteTime'),
channelId?: string(name='ChannelId'),
confirmTime?: string(name='ConfirmTime'),
approveTime?: string(name='ApproveTime'),
organizationId?: string(name='OrganizationId'),
}
](name='Result'),
}
model JoinFabricChannelResponse = {
headers: map[string]string(name='headers'),
body: JoinFabricChannelResponseBody(name='body'),
}
async function joinFabricChannelWithOptions(request: JoinFabricChannelRequest, runtime: Util.RuntimeOptions): JoinFabricChannelResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('JoinFabricChannel', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function joinFabricChannel(request: JoinFabricChannelRequest): JoinFabricChannelResponse {
var runtime = new Util.RuntimeOptions{};
return joinFabricChannelWithOptions(request, runtime);
}
model ListTagResourcesRequest {
resourceType?: string(name='ResourceType'),
nextToken?: string(name='NextToken'),
resourceId?: [ string ](name='ResourceId'),
tag?: [
{
key?: string(name='Key'),
value?: string(name='Value'),
}
](name='Tag'),
}
model ListTagResourcesResponseBody = {
nextToken?: string(name='NextToken'),
requestId?: string(name='RequestId'),
tagResources?: [
{
resourceType?: string(name='ResourceType'),
tagValue?: string(name='TagValue'),
resourceId?: string(name='ResourceId'),
tagKey?: string(name='TagKey'),
}
](name='TagResources'),
}
model ListTagResourcesResponse = {
headers: map[string]string(name='headers'),
body: ListTagResourcesResponseBody(name='body'),
}
async function listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: Util.RuntimeOptions): ListTagResourcesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ListTagResources', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function listTagResources(request: ListTagResourcesRequest): ListTagResourcesResponse {
var runtime = new Util.RuntimeOptions{};
return listTagResourcesWithOptions(request, runtime);
}
model ResetAntChainCertificateRequest {
antChainId?: string(name='AntChainId'),
}
model ResetAntChainCertificateResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model ResetAntChainCertificateResponse = {
headers: map[string]string(name='headers'),
body: ResetAntChainCertificateResponseBody(name='body'),
}
async function resetAntChainCertificateWithOptions(request: ResetAntChainCertificateRequest, runtime: Util.RuntimeOptions): ResetAntChainCertificateResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ResetAntChainCertificate', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function resetAntChainCertificate(request: ResetAntChainCertificateRequest): ResetAntChainCertificateResponse {
var runtime = new Util.RuntimeOptions{};
return resetAntChainCertificateWithOptions(request, runtime);
}
model ResetAntChainUserCertificateRequest {
antChainId?: string(name='AntChainId'),
username?: string(name='Username'),
}
model ResetAntChainUserCertificateResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model ResetAntChainUserCertificateResponse = {
headers: map[string]string(name='headers'),
body: ResetAntChainUserCertificateResponseBody(name='body'),
}
async function resetAntChainUserCertificateWithOptions(request: ResetAntChainUserCertificateRequest, runtime: Util.RuntimeOptions): ResetAntChainUserCertificateResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ResetAntChainUserCertificate', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function resetAntChainUserCertificate(request: ResetAntChainUserCertificateRequest): ResetAntChainUserCertificateResponse {
var runtime = new Util.RuntimeOptions{};
return resetAntChainUserCertificateWithOptions(request, runtime);
}
model ResetFabricOrganizationUserPasswordRequest {
organizationId?: string(name='OrganizationId'),
username?: string(name='Username'),
password?: string(name='Password'),
location?: string(name='Location'),
}
model ResetFabricOrganizationUserPasswordResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
password?: string(name='Password'),
expireTime?: string(name='ExpireTime'),
createTime?: string(name='CreateTime'),
organizationId?: string(name='OrganizationId'),
username?: string(name='Username'),
fullname?: string(name='Fullname'),
}(name='Result'),
}
model ResetFabricOrganizationUserPasswordResponse = {
headers: map[string]string(name='headers'),
body: ResetFabricOrganizationUserPasswordResponseBody(name='body'),
}
async function resetFabricOrganizationUserPasswordWithOptions(request: ResetFabricOrganizationUserPasswordRequest, runtime: Util.RuntimeOptions): ResetFabricOrganizationUserPasswordResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ResetFabricOrganizationUserPassword', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function resetFabricOrganizationUserPassword(request: ResetFabricOrganizationUserPasswordRequest): ResetFabricOrganizationUserPasswordResponse {
var runtime = new Util.RuntimeOptions{};
return resetFabricOrganizationUserPasswordWithOptions(request, runtime);
}
model SynchronizeFabricChaincodeRequest {
organizationId?: string(name='OrganizationId'),
chaincodeId?: string(name='ChaincodeId'),
}
model SynchronizeFabricChaincodeResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
type?: int32(name='Type'),
endorsePolicy?: string(name='EndorsePolicy'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
chaincodeId?: string(name='ChaincodeId'),
message?: string(name='Message'),
providerName?: string(name='ProviderName'),
chaincodeName?: string(name='ChaincodeName'),
install?: boolean(name='Install'),
input?: string(name='Input'),
providerId?: string(name='ProviderId'),
deployTime?: string(name='DeployTime'),
chaincodeVersion?: string(name='ChaincodeVersion'),
consortiumId?: string(name='ConsortiumId'),
channelName?: string(name='ChannelName'),
path?: string(name='Path'),
}(name='Result'),
}
model SynchronizeFabricChaincodeResponse = {
headers: map[string]string(name='headers'),
body: SynchronizeFabricChaincodeResponseBody(name='body'),
}
async function synchronizeFabricChaincodeWithOptions(request: SynchronizeFabricChaincodeRequest, runtime: Util.RuntimeOptions): SynchronizeFabricChaincodeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('SynchronizeFabricChaincode', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function synchronizeFabricChaincode(request: SynchronizeFabricChaincodeRequest): SynchronizeFabricChaincodeResponse {
var runtime = new Util.RuntimeOptions{};
return synchronizeFabricChaincodeWithOptions(request, runtime);
}
model TagResourcesRequest {
resourceType?: string(name='ResourceType'),
resourceId?: [ string ](name='ResourceId'),
tag?: [
{
key?: string(name='Key'),
value?: string(name='Value'),
}
](name='Tag'),
}
model TagResourcesResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: boolean(name='Result'),
}
model TagResourcesResponse = {
headers: map[string]string(name='headers'),
body: TagResourcesResponseBody(name='body'),
}
async function tagResourcesWithOptions(request: TagResourcesRequest, runtime: Util.RuntimeOptions): TagResourcesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('TagResources', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function tagResources(request: TagResourcesRequest): TagResourcesResponse {
var runtime = new Util.RuntimeOptions{};
return tagResourcesWithOptions(request, runtime);
}
model UnfreezeAntChainAccountRequest {
antChainId?: string(name='AntChainId'),
account?: string(name='Account'),
}
model UnfreezeAntChainAccountResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model UnfreezeAntChainAccountResponse = {
headers: map[string]string(name='headers'),
body: UnfreezeAntChainAccountResponseBody(name='body'),
}
async function unfreezeAntChainAccountWithOptions(request: UnfreezeAntChainAccountRequest, runtime: Util.RuntimeOptions): UnfreezeAntChainAccountResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UnfreezeAntChainAccount', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function unfreezeAntChainAccount(request: UnfreezeAntChainAccountRequest): UnfreezeAntChainAccountResponse {
var runtime = new Util.RuntimeOptions{};
return unfreezeAntChainAccountWithOptions(request, runtime);
}
model UntagResourcesRequest {
resourceType?: string(name='ResourceType'),
all?: boolean(name='All'),
resourceId?: [ string ](name='ResourceId'),
tagKey?: [ string ](name='TagKey'),
}
model UntagResourcesResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: boolean(name='Result'),
}
model UntagResourcesResponse = {
headers: map[string]string(name='headers'),
body: UntagResourcesResponseBody(name='body'),
}
async function untagResourcesWithOptions(request: UntagResourcesRequest, runtime: Util.RuntimeOptions): UntagResourcesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UntagResources', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function untagResources(request: UntagResourcesRequest): UntagResourcesResponse {
var runtime = new Util.RuntimeOptions{};
return untagResourcesWithOptions(request, runtime);
}
model UpdateAntChainRequest {
antChainId?: string(name='AntChainId'),
antChainName?: string(name='AntChainName'),
}
model UpdateAntChainResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model UpdateAntChainResponse = {
headers: map[string]string(name='headers'),
body: UpdateAntChainResponseBody(name='body'),
}
async function updateAntChainWithOptions(request: UpdateAntChainRequest, runtime: Util.RuntimeOptions): UpdateAntChainResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UpdateAntChain', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function updateAntChain(request: UpdateAntChainRequest): UpdateAntChainResponse {
var runtime = new Util.RuntimeOptions{};
return updateAntChainWithOptions(request, runtime);
}
model UpdateAntChainConsortiumRequest {
consortiumId?: string(name='ConsortiumId'),
consortiumName?: string(name='ConsortiumName'),
consortiumDescription?: string(name='ConsortiumDescription'),
}
model UpdateAntChainConsortiumResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model UpdateAntChainConsortiumResponse = {
headers: map[string]string(name='headers'),
body: UpdateAntChainConsortiumResponseBody(name='body'),
}
async function updateAntChainConsortiumWithOptions(request: UpdateAntChainConsortiumRequest, runtime: Util.RuntimeOptions): UpdateAntChainConsortiumResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UpdateAntChainConsortium', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function updateAntChainConsortium(request: UpdateAntChainConsortiumRequest): UpdateAntChainConsortiumResponse {
var runtime = new Util.RuntimeOptions{};
return updateAntChainConsortiumWithOptions(request, runtime);
}
model UpdateAntChainContractContentRequest {
contentId?: string(name='ContentId'),
parentContentId?: string(name='ParentContentId'),
contentName?: string(name='ContentName'),
content?: string(name='Content'),
}
model UpdateAntChainContractContentResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model UpdateAntChainContractContentResponse = {
headers: map[string]string(name='headers'),
body: UpdateAntChainContractContentResponseBody(name='body'),
}
async function updateAntChainContractContentWithOptions(request: UpdateAntChainContractContentRequest, runtime: Util.RuntimeOptions): UpdateAntChainContractContentResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UpdateAntChainContractContent', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function updateAntChainContractContent(request: UpdateAntChainContractContentRequest): UpdateAntChainContractContentResponse {
var runtime = new Util.RuntimeOptions{};
return updateAntChainContractContentWithOptions(request, runtime);
}
model UpdateAntChainContractProjectRequest {
projectId?: string(name='ProjectId'),
projectName?: string(name='ProjectName'),
projectVersion?: string(name='ProjectVersion'),
projectDescription?: string(name='ProjectDescription'),
}
model UpdateAntChainContractProjectResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model UpdateAntChainContractProjectResponse = {
headers: map[string]string(name='headers'),
body: UpdateAntChainContractProjectResponseBody(name='body'),
}
async function updateAntChainContractProjectWithOptions(request: UpdateAntChainContractProjectRequest, runtime: Util.RuntimeOptions): UpdateAntChainContractProjectResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UpdateAntChainContractProject', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function updateAntChainContractProject(request: UpdateAntChainContractProjectRequest): UpdateAntChainContractProjectResponse {
var runtime = new Util.RuntimeOptions{};
return updateAntChainContractProjectWithOptions(request, runtime);
}
model UpdateAntChainMemberRequest {
memberName?: string(name='MemberName'),
consortiumId?: string(name='ConsortiumId'),
memberId?: string(name='MemberId'),
}
model UpdateAntChainMemberResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model UpdateAntChainMemberResponse = {
headers: map[string]string(name='headers'),
body: UpdateAntChainMemberResponseBody(name='body'),
}
async function updateAntChainMemberWithOptions(request: UpdateAntChainMemberRequest, runtime: Util.RuntimeOptions): UpdateAntChainMemberResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UpdateAntChainMember', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function updateAntChainMember(request: UpdateAntChainMemberRequest): UpdateAntChainMemberResponse {
var runtime = new Util.RuntimeOptions{};
return updateAntChainMemberWithOptions(request, runtime);
}
model UpdateAntChainQRCodeAuthorizationRequest {
antChainId?: string(name='AntChainId'),
QRCodeType?: string(name='QRCodeType'),
authorizationType?: string(name='AuthorizationType'),
}
model UpdateAntChainQRCodeAuthorizationResponseBody = {
requestId?: string(name='RequestId'),
result?: string(name='Result'),
}
model UpdateAntChainQRCodeAuthorizationResponse = {
headers: map[string]string(name='headers'),
body: UpdateAntChainQRCodeAuthorizationResponseBody(name='body'),
}
async function updateAntChainQRCodeAuthorizationWithOptions(request: UpdateAntChainQRCodeAuthorizationRequest, runtime: Util.RuntimeOptions): UpdateAntChainQRCodeAuthorizationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UpdateAntChainQRCodeAuthorization', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function updateAntChainQRCodeAuthorization(request: UpdateAntChainQRCodeAuthorizationRequest): UpdateAntChainQRCodeAuthorizationResponse {
var runtime = new Util.RuntimeOptions{};
return updateAntChainQRCodeAuthorizationWithOptions(request, runtime);
}
model UpgradeFabricChaincodeRequest {
organizationId?: string(name='OrganizationId'),
chaincodeId?: string(name='ChaincodeId'),
endorsePolicy?: string(name='EndorsePolicy'),
location?: string(name='Location'),
collectionConfig?: string(name='CollectionConfig'),
}
model UpgradeFabricChaincodeResponseBody = {
requestId?: string(name='RequestId'),
errorCode?: int32(name='ErrorCode'),
success?: boolean(name='Success'),
result?: {
type?: int32(name='Type'),
endorsePolicy?: string(name='EndorsePolicy'),
state?: string(name='State'),
createTime?: string(name='CreateTime'),
chaincodeId?: string(name='ChaincodeId'),
message?: string(name='Message'),
providerName?: string(name='ProviderName'),
chaincodeName?: string(name='ChaincodeName'),
install?: boolean(name='Install'),
input?: string(name='Input'),
providerId?: string(name='ProviderId'),
deployTime?: string(name='DeployTime'),
chaincodeVersion?: string(name='ChaincodeVersion'),
consortiumId?: string(name='ConsortiumId'),
channelName?: string(name='ChannelName'),
path?: string(name='Path'),
}(name='Result'),
}
model UpgradeFabricChaincodeResponse = {
headers: map[string]string(name='headers'),
body: UpgradeFabricChaincodeResponseBody(name='body'),
}
async function upgradeFabricChaincodeWithOptions(request: UpgradeFabricChaincodeRequest, runtime: Util.RuntimeOptions): UpgradeFabricChaincodeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UpgradeFabricChaincode', '2018-12-21', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function upgradeFabricChaincode(request: UpgradeFabricChaincodeRequest): UpgradeFabricChaincodeResponse {
var runtime = new Util.RuntimeOptions{};
return upgradeFabricChaincodeWithOptions(request, runtime);
}
| Tea | 5 | alibabacloud-sdk-swift/alibabacloud-sdk | baas-20181221/main.tea | [
"Apache-2.0"
] |
#!/bin/sh
set -ev
# PostgreSQL tests currently don't work on some architectures.
if test -z "${ARM64}${S390X}"; then
psql -c "ALTER USER postgres PASSWORD 'postgres';" -U postgres
psql -c "CREATE DATABASE test;" -U postgres
fi
| Shell | 2 | NathanFreeman/php-src | travis/setup-pgsql.sh | [
"PHP-3.01"
] |
//@target: ES6
class C {
[s: symbol]: string;
} | TypeScript | 2 | nilamjadhav/TypeScript | tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer2.ts | [
"Apache-2.0"
] |
fn main() {
let x = 1u8;
match x {
0u8..=3i8 => (), //~ ERROR E0308
_ => ()
}
}
| Rust | 4 | Eric-Arellano/rust | src/test/ui/error-codes/E0308-4.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
syntax = "proto3";
package v2ray.core.transport.internet.websocket;
option csharp_namespace = "V2Ray.Core.Transport.Internet.Websocket";
option go_package = "v2ray.com/core/transport/internet/websocket";
option java_package = "com.v2ray.core.transport.internet.websocket";
option java_multiple_files = true;
message Header {
string key = 1;
string value = 2;
}
message Config {
reserved 1;
// URL path to the WebSocket service. Empty value means root(/).
string path = 2;
repeated Header header = 3;
bool accept_proxy_protocol = 4;
}
| Protocol Buffer | 4 | sjf10050/v2ray-core | transport/internet/websocket/config.proto | [
"MIT"
] |
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -28.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -72.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -74.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -72.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -45.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -23.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -36.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -28.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -72.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -13.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -31.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 -74.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 177.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 119.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 172.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 115.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 141.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 146.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 110.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 121.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 156.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 144.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 148.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 154.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 133.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 170.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 157.00
| Matlab | 1 | yinrun/LOPDC-Benchmarks | strippacking/matlab/sp-15-1-sqrt.matlab | [
"MIT"
] |
types = require "moonscript.types"
import ntype, mtype, is_value, NOOP from types
import comprehension_has_value from require "moonscript.transform.comprehension"
-- A Run is a special statement node that lets a function run and mutate the
-- state of the compiler
class Run
new: (@fn) =>
@[1] = "run"
call: (state) =>
@.fn state
-- extract the last statment from an array of statements
-- is group aware
-- returns: the last statement, the index, the table it was fetched from
last_stm = (stms) ->
last_exp_id = 0
for i = #stms, 1, -1
stm = stms[i]
if stm and mtype(stm) != Run
if ntype(stm) == "group"
return last_stm stm[2]
last_exp_id = i
break
stms[last_exp_id], last_exp_id, stms
-- transform the last stm is a list of stms
-- will puke on group
transform_last_stm = (stms, fn) ->
_, last_idx, _stms = last_stm stms
if _stms != stms
error "cannot transform last node in group"
return for i, stm in ipairs stms
if i == last_idx
{"transform", stm, fn}
else
stm
chain_is_stub = (chain) ->
stub = chain[#chain]
stub and ntype(stub) == "colon"
implicitly_return = (scope) ->
is_top = true
fn = (stm) ->
t = ntype stm
-- expand decorated
if t == "decorated"
stm = scope.transform.statement stm
t = ntype stm
if types.cascading[t]
is_top = false
scope.transform.statement stm, fn
elseif types.manual_return[t] or not is_value stm
-- remove blank return statement
if is_top and t == "return" and stm[2] == ""
NOOP
else
stm
else
if t == "comprehension" and not comprehension_has_value stm
stm
else
{"return", stm}
fn
{:Run, :last_stm, :transform_last_stm, :chain_is_stub, :implicitly_return }
| MoonScript | 4 | Shados/moonscript | moonscript/transform/statements.moon | [
"MIT",
"Unlicense"
] |
--TEST--
Dynamic static call of non-static method
--FILE--
<?php
class Foo {
function test1() {
$method = ['Foo', 'bar'];
$method();
}
function test2() {
$method = 'Foo::bar';
$method();
}
function __call($name, $args) {}
}
$x = new Foo;
try {
$x->test1();
} catch (Error $e) {
echo $e->getMessage(), "\n";
}
try {
$x->test2();
} catch (Error $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
Non-static method Foo::bar() cannot be called statically
Non-static method Foo::bar() cannot be called statically
| PHP | 3 | NathanFreeman/php-src | Zend/tests/dynamic_call_non_static.phpt | [
"PHP-3.01"
] |
frequency,raw
20.00,13.25
20.20,13.20
20.40,13.15
20.61,13.10
20.81,13.06
21.02,13.01
21.23,12.96
21.44,12.91
21.66,12.86
21.87,12.81
22.09,12.77
22.31,12.72
22.54,12.67
22.76,12.63
22.99,12.58
23.22,12.53
23.45,12.49
23.69,12.43
23.92,12.39
24.16,12.34
24.40,12.28
24.65,12.24
24.89,12.19
25.14,12.14
25.39,12.09
25.65,12.04
25.91,11.99
26.16,11.93
26.43,11.88
26.69,11.82
26.96,11.77
27.23,11.72
27.50,11.65
27.77,11.60
28.05,11.54
28.33,11.48
28.62,11.43
28.90,11.36
29.19,11.30
29.48,11.24
29.78,11.18
30.08,11.12
30.38,11.04
30.68,10.98
30.99,10.92
31.30,10.84
31.61,10.77
31.93,10.69
32.24,10.61
32.57,10.53
32.89,10.45
33.22,10.38
33.55,10.29
33.89,10.21
34.23,10.13
34.57,10.06
34.92,9.97
35.27,9.89
35.62,9.80
35.97,9.72
36.33,9.64
36.70,9.55
37.06,9.47
37.43,9.39
37.81,9.30
38.19,9.23
38.57,9.14
38.95,9.06
39.34,8.98
39.74,8.90
40.14,8.81
40.54,8.73
40.94,8.65
41.35,8.57
41.76,8.49
42.18,8.40
42.60,8.32
43.03,8.23
43.46,8.15
43.90,8.07
44.33,7.99
44.78,7.90
45.23,7.82
45.68,7.73
46.13,7.65
46.60,7.56
47.06,7.47
47.53,7.38
48.01,7.29
48.49,7.19
48.97,7.10
49.46,7.01
49.96,6.92
50.46,6.83
50.96,6.74
51.47,6.65
51.99,6.57
52.51,6.48
53.03,6.40
53.56,6.32
54.10,6.25
54.64,6.16
55.18,6.09
55.74,6.02
56.29,5.95
56.86,5.89
57.42,5.83
58.00,5.77
58.58,5.71
59.16,5.67
59.76,5.61
60.35,5.57
60.96,5.52
61.57,5.48
62.18,5.45
62.80,5.41
63.43,5.38
64.07,5.35
64.71,5.33
65.35,5.30
66.01,5.29
66.67,5.28
67.33,5.28
68.01,5.26
68.69,5.27
69.37,5.27
70.07,5.28
70.77,5.29
71.48,5.31
72.19,5.32
72.91,5.35
73.64,5.38
74.38,5.41
75.12,5.45
75.87,5.48
76.63,5.52
77.40,5.57
78.17,5.61
78.95,5.67
79.74,5.72
80.54,5.78
81.35,5.84
82.16,5.90
82.98,5.97
83.81,6.03
84.65,6.09
85.50,6.16
86.35,6.23
87.22,6.29
88.09,6.36
88.97,6.42
89.86,6.49
90.76,6.55
91.66,6.60
92.58,6.66
93.51,6.71
94.44,6.77
95.39,6.81
96.34,6.85
97.30,6.89
98.28,6.93
99.26,6.96
100.25,6.98
101.25,7.00
102.27,7.02
103.29,7.03
104.32,7.03
105.37,7.03
106.42,7.02
107.48,7.02
108.56,7.01
109.64,7.00
110.74,6.98
111.85,6.95
112.97,6.93
114.10,6.89
115.24,6.87
116.39,6.84
117.55,6.79
118.73,6.75
119.92,6.71
121.12,6.66
122.33,6.61
123.55,6.56
124.79,6.50
126.03,6.45
127.29,6.39
128.57,6.32
129.85,6.26
131.15,6.19
132.46,6.12
133.79,6.05
135.12,5.97
136.48,5.89
137.84,5.80
139.22,5.72
140.61,5.63
142.02,5.54
143.44,5.45
144.87,5.35
146.32,5.25
147.78,5.14
149.26,5.04
150.75,4.93
152.26,4.82
153.78,4.71
155.32,4.60
156.88,4.49
158.44,4.39
160.03,4.29
161.63,4.18
163.24,4.09
164.88,4.00
166.53,3.90
168.19,3.80
169.87,3.70
171.57,3.61
173.29,3.50
175.02,3.40
176.77,3.29
178.54,3.19
180.32,3.08
182.13,2.96
183.95,2.84
185.79,2.73
187.65,2.62
189.52,2.49
191.42,2.38
193.33,2.25
195.27,2.13
197.22,2.00
199.19,1.88
201.18,1.75
203.19,1.62
205.23,1.48
207.28,1.36
209.35,1.22
211.44,1.09
213.56,0.95
215.69,0.81
217.85,0.67
220.03,0.54
222.23,0.42
224.45,0.28
226.70,0.15
228.96,0.02
231.25,-0.11
233.57,-0.24
235.90,-0.36
238.26,-0.48
240.64,-0.60
243.05,-0.72
245.48,-0.84
247.93,-0.95
250.41,-1.06
252.92,-1.17
255.45,-1.28
258.00,-1.38
260.58,-1.48
263.19,-1.58
265.82,-1.67
268.48,-1.77
271.16,-1.86
273.87,-1.95
276.61,-2.04
279.38,-2.12
282.17,-2.20
284.99,-2.28
287.84,-2.36
290.72,-2.43
293.63,-2.51
296.57,-2.58
299.53,-2.65
302.53,-2.72
305.55,-2.80
308.61,-2.86
311.69,-2.93
314.81,-2.99
317.96,-3.06
321.14,-3.12
324.35,-3.19
327.59,-3.26
330.87,-3.32
334.18,-3.38
337.52,-3.44
340.90,-3.50
344.30,-3.57
347.75,-3.63
351.23,-3.68
354.74,-3.74
358.28,-3.79
361.87,-3.83
365.49,-3.87
369.14,-3.91
372.83,-3.95
376.56,-3.97
380.33,-4.01
384.13,-4.04
387.97,-4.07
391.85,-4.10
395.77,-4.12
399.73,-4.14
403.72,-4.16
407.76,-4.17
411.84,-4.18
415.96,-4.18
420.12,-4.18
424.32,-4.18
428.56,-4.16
432.85,-4.15
437.18,-4.12
441.55,-4.09
445.96,-4.06
450.42,-4.04
454.93,-4.03
459.48,-4.00
464.07,-3.97
468.71,-3.94
473.40,-3.91
478.13,-3.88
482.91,-3.85
487.74,-3.80
492.62,-3.76
497.55,-3.72
502.52,-3.69
507.55,-3.64
512.62,-3.60
517.75,-3.55
522.93,-3.51
528.16,-3.46
533.44,-3.40
538.77,-3.36
544.16,-3.31
549.60,-3.26
555.10,-3.20
560.65,-3.15
566.25,-3.10
571.92,-3.03
577.64,-2.98
583.41,-2.92
589.25,-2.85
595.14,-2.79
601.09,-2.73
607.10,-2.66
613.17,-2.59
619.30,-2.51
625.50,-2.43
631.75,-2.36
638.07,-2.27
644.45,-2.19
650.89,-2.11
657.40,-2.02
663.98,-1.94
670.62,-1.85
677.32,-1.77
684.10,-1.69
690.94,-1.61
697.85,-1.52
704.83,-1.44
711.87,-1.37
718.99,-1.29
726.18,-1.23
733.44,-1.16
740.78,-1.10
748.19,-1.04
755.67,-0.97
763.23,-0.91
770.86,-0.86
778.57,-0.81
786.35,-0.76
794.22,-0.71
802.16,-0.67
810.18,-0.64
818.28,-0.59
826.46,-0.55
834.73,-0.52
843.08,-0.48
851.51,-0.45
860.02,-0.42
868.62,-0.38
877.31,-0.35
886.08,-0.32
894.94,-0.29
903.89,-0.26
912.93,-0.24
922.06,-0.21
931.28,-0.18
940.59,-0.15
950.00,-0.13
959.50,-0.10
969.09,-0.08
978.78,-0.05
988.57,-0.03
998.46,-0.00
1008.44,0.02
1018.53,0.04
1028.71,0.06
1039.00,0.08
1049.39,0.10
1059.88,0.12
1070.48,0.13
1081.19,0.15
1092.00,0.17
1102.92,0.18
1113.95,0.18
1125.09,0.19
1136.34,0.19
1147.70,0.19
1159.18,0.18
1170.77,0.17
1182.48,0.15
1194.30,0.13
1206.25,0.11
1218.31,0.08
1230.49,0.05
1242.80,0.03
1255.22,0.01
1267.78,-0.01
1280.45,-0.03
1293.26,-0.05
1306.19,-0.07
1319.25,-0.10
1332.45,-0.11
1345.77,-0.15
1359.23,-0.17
1372.82,-0.18
1386.55,-0.20
1400.41,-0.21
1414.42,-0.22
1428.56,-0.21
1442.85,-0.20
1457.28,-0.19
1471.85,-0.16
1486.57,-0.13
1501.43,-0.10
1516.45,-0.06
1531.61,-0.02
1546.93,0.04
1562.40,0.09
1578.02,0.15
1593.80,0.22
1609.74,0.30
1625.84,0.38
1642.10,0.46
1658.52,0.55
1675.10,0.65
1691.85,0.75
1708.77,0.86
1725.86,0.97
1743.12,1.09
1760.55,1.21
1778.15,1.34
1795.94,1.48
1813.90,1.62
1832.03,1.76
1850.36,1.92
1868.86,2.08
1887.55,2.25
1906.42,2.44
1925.49,2.63
1944.74,2.83
1964.19,3.03
1983.83,3.24
2003.67,3.45
2023.71,3.66
2043.94,3.88
2064.38,4.09
2085.03,4.29
2105.88,4.51
2126.94,4.74
2148.20,4.97
2169.69,5.23
2191.38,5.50
2213.30,5.78
2235.43,6.06
2257.78,6.36
2280.36,6.64
2303.17,6.92
2326.20,7.20
2349.46,7.46
2372.95,7.72
2396.68,7.96
2420.65,8.20
2444.86,8.42
2469.31,8.64
2494.00,8.86
2518.94,9.07
2544.13,9.28
2569.57,9.47
2595.27,9.66
2621.22,9.83
2647.43,9.98
2673.90,10.13
2700.64,10.26
2727.65,10.39
2754.93,10.51
2782.48,10.62
2810.30,10.73
2838.40,10.84
2866.79,10.96
2895.46,11.06
2924.41,11.17
2953.65,11.28
2983.19,11.36
3013.02,11.41
3043.15,11.46
3073.58,11.44
3104.32,11.40
3135.36,11.34
3166.72,11.26
3198.38,11.19
3230.37,11.13
3262.67,11.08
3295.30,11.03
3328.25,10.99
3361.53,10.94
3395.15,10.89
3429.10,10.81
3463.39,10.72
3498.03,10.56
3533.01,10.37
3568.34,10.16
3604.02,9.90
3640.06,9.64
3676.46,9.36
3713.22,9.09
3750.36,8.82
3787.86,8.56
3825.74,8.31
3864.00,8.09
3902.64,7.89
3941.66,7.71
3981.08,7.57
4020.89,7.43
4061.10,7.31
4101.71,7.20
4142.73,7.11
4184.15,7.03
4226.00,6.97
4268.26,6.94
4310.94,6.92
4354.05,6.94
4397.59,6.99
4441.56,7.05
4485.98,7.15
4530.84,7.25
4576.15,7.36
4621.91,7.46
4668.13,7.52
4714.81,7.57
4761.96,7.60
4809.58,7.60
4857.67,7.61
4906.25,7.59
4955.31,7.59
5004.87,7.62
5054.91,7.63
5105.46,7.69
5156.52,7.76
5208.08,7.86
5260.16,8.02
5312.77,8.24
5365.89,8.50
5419.55,8.83
5473.75,9.23
5528.49,9.64
5583.77,10.06
5639.61,10.45
5696.00,10.80
5752.96,11.10
5810.49,11.30
5868.60,11.43
5927.28,11.51
5986.56,11.54
6046.42,11.53
6106.89,11.52
6167.96,11.50
6229.64,11.51
6291.93,11.52
6354.85,11.54
6418.40,11.58
6482.58,11.64
6547.41,11.70
6612.88,11.78
6679.01,11.86
6745.80,11.94
6813.26,12.05
6881.39,12.15
6950.21,12.24
7019.71,12.33
7089.91,12.39
7160.81,12.43
7232.41,12.44
7304.74,12.38
7377.79,12.29
7451.56,12.18
7526.08,12.02
7601.34,11.85
7677.35,11.67
7754.13,11.53
7831.67,11.41
7909.98,11.33
7989.08,11.32
8068.98,11.38
8149.67,11.48
8231.16,11.65
8313.47,11.90
8396.61,12.20
8480.57,12.56
8565.38,12.90
8651.03,13.21
8737.54,13.44
8824.92,13.46
8913.17,13.30
9002.30,12.96
9092.32,12.33
9183.25,11.47
9275.08,10.46
9367.83,9.29
9461.51,8.05
9556.12,6.82
9651.68,5.66
9748.20,4.65
9845.68,3.79
9944.14,3.05
10043.58,2.54
10144.02,2.15
10245.46,1.86
10347.91,1.68
10451.39,1.55
10555.91,1.45
10661.46,1.34
10768.08,1.23
10875.76,1.12
10984.52,1.01
11094.36,0.91
11205.31,0.83
11317.36,0.80
11430.53,0.82
11544.84,0.86
11660.29,0.90
11776.89,0.87
11894.66,0.72
12013.60,0.43
12133.74,-0.09
12255.08,-0.70
12377.63,-1.36
12501.41,-2.01
12626.42,-2.54
12752.68,-2.95
12880.21,-3.15
13009.01,-3.12
13139.10,-2.93
13270.49,-2.62
13403.20,-2.17
13537.23,-1.74
13672.60,-1.32
13809.33,-0.95
13947.42,-0.56
14086.90,-0.13
14227.77,0.38
14370.04,0.98
14513.74,1.65
14658.88,2.38
14805.47,3.08
14953.52,3.69
15103.06,4.14
15254.09,4.24
15406.63,4.07
15560.70,3.60
15716.30,2.62
15873.47,1.38
16032.20,-0.08
16192.52,-1.79
16354.45,-3.40
16517.99,-4.90
16683.17,-6.07
16850.01,-6.92
17018.51,-7.52
17188.69,-7.83
17360.58,-8.00
17534.18,-8.14
17709.53,-8.28
17886.62,-8.48
18065.49,-8.73
18246.14,-9.01
18428.60,-9.22
18612.89,-9.22
18799.02,-9.02
18987.01,-8.43
19176.88,-7.59
19368.65,-6.57
19562.33,-5.40
19757.96,-4.26
19955.54,-3.19
| CSV | 1 | vinzmc/AutoEq | measurements/rtings/data/onear/Skullcandy Hesh 3/Skullcandy Hesh 3.csv | [
"MIT"
] |
# Copyright (c) 2016 Snowplow Analytics Ltd. All rights reserved.
#
# This program is licensed to you under the Apache License Version 2.0,
# and you may not use this file except in compliance with the Apache License Version 2.0.
# You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the Apache License Version 2.0 is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
#
# Version: 0.1.0
#
# Authors: Christophe Bogaert, Keane Robinson
# Copyright: Copyright (c) 2016 Snowplow Analytics Ltd
# License: Apache License Version 2.0
- view: scratch_pv_03
derived_table:
sql: |
WITH prep AS (
-- calculate how far a user has scrolled
SELECT
wp.page_view_id,
MAX(ev.doc_width) AS doc_width,
MAX(ev.doc_height) AS doc_height,
MAX(ev.br_viewwidth) AS br_viewwidth,
MAX(ev.br_viewheight) AS br_viewheight,
-- NVL replaces NULL with 0 (because the page view event does send an offset)
-- GREATEST prevents outliers (negative offsets)
-- LEAST also prevents outliers (offsets greater than the docwidth or docheight)
LEAST(GREATEST(MIN(NVL(ev.pp_xoffset_min, 0)), 0), MAX(ev.doc_width)) AS hmin, -- should be zero
LEAST(GREATEST(MAX(NVL(ev.pp_xoffset_max, 0)), 0), MAX(ev.doc_width)) AS hmax,
LEAST(GREATEST(MIN(NVL(ev.pp_yoffset_min, 0)), 0), MAX(ev.doc_height)) AS vmin, -- should be zero (edge case: not zero because the pv event is missing - but these are not in scratch.dev_pv_01 so not an issue)
LEAST(GREATEST(MAX(NVL(ev.pp_yoffset_max, 0)), 0), MAX(ev.doc_height)) AS vmax
FROM atomic.events AS ev
INNER JOIN ${scratch_pv_00.SQL_TABLE_NAME} AS wp
ON ev.event_id = wp.root_id
WHERE ev.event_name IN ('page_view', 'page_ping')
AND ev.doc_height > 0 -- exclude problematic (but rare) edge case
AND ev.doc_width > 0 -- exclude problematic (but rare) edge case
GROUP BY 1
)
SELECT
page_view_id,
doc_width,
doc_height,
br_viewwidth,
br_viewheight,
hmin,
hmax,
vmin,
vmax, -- zero when a user hasn't scrolled
ROUND(100*(GREATEST(hmin, 0)/doc_width::FLOAT)) AS relative_hmin, -- brackets matter: because hmin is of type INT, we need to divide before we multiply by 100 or we risk an overflow
ROUND(100*(LEAST(hmax + br_viewwidth, doc_width)/doc_width::FLOAT)) AS relative_hmax,
ROUND(100*(GREATEST(vmin, 0)/doc_height::FLOAT)) AS relative_vmin,
ROUND(100*(LEAST(vmax + br_viewheight, doc_height)/doc_height::FLOAT)) AS relative_vmax -- not zero when a user hasn't scrolled because it includes the non-zero viewheight
FROM prep
sql_trigger_value: SELECT COUNT(*) FROM ${scratch_pv_02.SQL_TABLE_NAME}
distkey: page_view_id
sortkeys: page_view_id
fields:
# DIMENSIONS #
- dimension_group: page_view_id
type: string
sql: ${TABLE}.page_view_id
# MEASURES #
- measure: count
type: count
| LookML | 4 | chuwy/snowplow-build-test | 5-data-modeling/web-model/looker/web-block-old-lookml/03_scratch_events_scroll_depth.view.lookml | [
"Apache-2.0"
] |
<li class="suggestion_name_li" data-has_argument="{{has_argument}}" data-id={{id}}>{{suggestion}}</li>
| Handlebars | 1 | zadcha/rethinkdb | admin/static/handlebars/dataexplorer_suggestion_name_li.hbs | [
"Apache-2.0"
] |
(print "Hello World")
| Hy | 1 | Gabrielarodrigues10/ga | h/Hy.hy | [
"MIT"
] |
(*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*)
theory Sep_Tactics
imports
Sep_Solve
Sep_Attribs
Sep_ImpI
Sep_Rule_Ext
begin
end
| Isabelle | 4 | pirapira/eth-isabelle | sep_algebra/Sep_Tactics.thy | [
"Apache-2.0"
] |
; Find, retrieve and parse raw page markup
(import
[codecs [open]]
[config [*base-filenames* *base-types* *ignored-folders* *store-path* *timezone*]]
[datetime [datetime]]
[logging [getLogger]]
[os [walk]]
[os.path [join exists splitext getmtime]]
[utils [utc-date]])
(setv log (getLogger --name--))
(defn strip-seq [string-sequence]
; strip whitespace from a sequence of strings
(map (fn [buffer] (.strip buffer)) string-sequence))
(defn split-header-line [string]
; parse a header line from front matter
(if (.startswith "---" string) ; handle Jekyll-style front matter delimiters
["jekyll" "true"]
(let [[parts (list (strip-seq (.split string ":" 1)))]]
[(.lower (get parts 0)) (get parts 1)])))
(defn parse-page [buffer &optional [content-type "text/plain"]]
; parse a page and return a header map and the raw markup
(.debug log buffer)
(if (= content-type "application/x-ipynb+json")
{:headers {"from" "Unknown Author"
"title" "Untitled Notebook"
"content-type" content-type}
:body buffer}
(let [[unix-buffer (.replace buffer "\r\n" "\n")]]
(try
(let [[delimiter "\n\n"]
[parts (.split unix-buffer delimiter 1)]
[header-lines (.splitlines (get parts 0))]
[headers (dict (map split-header-line header-lines))]
[body (.strip (get parts 1))]]
(if (not (in "from" headers))
(assoc headers "from" "Unknown Author"))
(if (not (in "content-type" headers))
(assoc headers "content-type" content-type))
{:headers headers
:body body})
(catch [e Exception]
(.error log (, e "Could not parse page"))
(throw (RuntimeError "Could not parse page")))))))
(defn asset-path [pagename asset]
(join *store-path* pagename asset))
(defn asset-exists? [pagename asset]
(exists (asset-path pagename asset)))
(defn open-asset [pagename asset]
; open a page asset/attachment
(let [[filename (asset-path pagename asset)]]
(open filename "rb")))
(defn page-exists? [pagename]
(is-page? (join *store-path* pagename)))
(defn is-page? [path]
; test if a given path contains an index filename
(if (len (list (filter (fn [item] (exists (join path item))) *base-filenames*)))
true
false))
(defn get-page [pagename]
; return the raw data for a page
(.debug log (join *store-path* pagename))
(try
(let [[path (join *store-path* pagename)]
[page (.next (filter (fn [item] (exists (join path item))) *base-filenames*))]
[filename (join *store-path* pagename page)]
[content-type (get *base-types* (get (splitext page) 1))]
[handle (apply open [filename] {"mode" "r" "encoding" "utf-8"})]
[buffer (.read handle)]]
(.close handle)
(parse-page buffer content-type))
(catch [e StopIteration]
(throw (IOError "page not found")))))
(defn filtered-names [folder-list]
; remove ignored folders from a list
(filter (fn [folder-name] (not (in folder-name *ignored-folders*))) folder-list))
(defn scan-pages [root-path]
; gather all existing pages
(let [[pages {}]]
(reduce
(fn [item]
(assoc pages (:path item) item))
(gen-pages root-path))
pages))
(defn walk-folders [root-path]
; generate a sequence of folder data
(for [(, folder subfolders files) (walk root-path)]
; setting this helps guide os.walk()
(setv subfolders (filtered-names subfolders))
(yield {:path folder
:files files})))
(defn with-index [folder-seq root-path]
; takes a sequence of folders and returns page info
(for [folder folder-seq]
(for [base *base-filenames*]
(if (in base (:files folder))
(yield
{:path (slice (:path folder) (+ 1 (len root-path)))
:filename base
:mtime (int (getmtime (join (:path folder) base)))})))))
(defn gen-pages [root-path]
; generate a lazy sequence of pages
(-> root-path
(walk-folders)
(with-index root-path)))
| Hy | 5 | CyberFlameGO/sushy | sushy/store.hy | [
"MIT"
] |
<span style="color: #555; font-weight: bold;"><?php echo $this->nodePrinter->print($object) ?></span>
| HTML+PHP | 0 | rustamwin/phpbench | templates/html/node/UnitNode.phtml | [
"MIT"
] |
#ifndef GAPI_STREAMING_ONEVPL_EXPORT_HPP
#define GAPI_STREAMING_ONEVPL_EXPORT_HPP
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable : 4201)
#pragma warning(disable : 4302)
#pragma warning(disable : 4311)
#pragma warning(disable : 4312)
#endif // defined(_MSC_VER)
#ifdef HAVE_ONEVPL
#if (MFX_VERSION >= 2000)
#include <vpl/mfxdispatcher.h>
#endif // MFX_VERSION
#include <vpl/mfx.h>
#include <vpl/mfxvideo.h>
#endif // HAVE_ONEVPL
#if defined(_MSC_VER)
#pragma warning(pop)
#endif // defined(_MSC_VER)
#endif // GAPI_STREAMING_ONEVPL_EXPORT_HPP
| C++ | 2 | nowireless/opencv | modules/gapi/src/streaming/onevpl/onevpl_export.hpp | [
"Apache-2.0"
] |
{{$file := .Get "file"}}
{{$icon := index (split $file ".") 1 }}
<div class="code" id="{{$file | urlize}}">
<div class="filename" title="{{$file}}">{{$file}}</div>
<div class="code-copy-content output-content">
<pre><code>{{- .Inner | string -}}</code></pre>
</div>
</div> | HTML | 4 | jlevon/hugo | docs/layouts/shortcodes/output.html | [
"Apache-2.0"
] |
<button (click)="showLinks = !showLinks">Toggle Navigation Links</button>
<main>
<mat-nav-list *ngIf="showLinks">
<a mat-list-item *ngFor="let link of navLinks" [routerLink]="[link.path]">{{link.title}}</a>
</mat-nav-list>
<ng-content></ng-content>
</main>
| HTML | 4 | tungyingwaltz/components | src/e2e-app/e2e-app/e2e-app-layout.html | [
"MIT"
] |
--
-- This example illustrates how one can create a terminal which inputs and outputs lists of numbers using a simple intTerm
-- The input is terminated by a negative number or zero.
--
%handles:
IntTerm =
Get
Put
Close
IntLTerm =
Get
Put
Close
%cohandles:
Console =
Get
Put
Close
%constructors:
Bool =
False 0
True 0
List =
Nil 0
Cons 2
GPt =
Gt 1
Pt 1
Ready 0
%processes:
intlistTerm( d | ch => out) =
load d
case of
GPt.Ready : -- intlistTerm process is ready for input from calling routine
hcase ch of
IntLTerm.Get :
List.Nil; store x
GPt.Gt(x); store y
run intlistTerm( y | ch => out)
IntLTerm.Put :
get ch; store x
GPt.Pt(x); store w
run intlistTerm( w | ch => out)
IntLTerm.Close :
hput out IntTerm.Close
close out
halt ch
GPt.Gt(xs): -- intlistTerm process collecting input until n=<0 is input (must reverse list)
hput out IntTerm.Get
get out; store x
cInt 0
load x
leq ; store b
load b
case of
Bool.True:
call reverse(xs)
put ch
GPt.Ready; store w
run intlistTerm( w | ch => out)
Bool.False:
List.Cons(x,xs); store y
GPt.Gt(y); store w
run intlistTerm( w | ch => out)
GPt.Pt(xs): -- inlistTerm process outputs a list
load xs
case of
List.Nil:
GPt.Ready; store w
run intlistTerm( w | ch => out)
List.Cons(x,xs):
hput out IntTerm.Put
load x; put out
GPt.Pt(xs); store w
run intlistTerm( w | ch => out)
%functions:
append(x,y) = -- appending lists
load x
case of
List.Nil:
load y
ret
List.Cons(x,xs):
call append(xs,y); store w
List.Cons(x,w)
ret
ret
reverse(xx) = -- reversing list
load xx
case of
List.Nil:
List.Nil
ret
List.Cons(x,xs):
call reverse(xs); store rxs
List.Nil; store v
List.Cons(x,v);store vv
call append(rxs,vv)
ret
ret
%run (| console => intTerm1):
plug ch as
with [console]: -- this process collects two lists (outputing [1000] in between)
-- appends the lists and outputs the result
hput ch IntLTerm.Get
get ch; store v1
List.Nil; store n
cInt 1000; store m
List.Cons(m,n)
hput ch IntLTerm.Put
put ch
hput ch IntLTerm.Get
get ch; store v2
call append(v1,v2);store ans
hput ch IntLTerm.Put
load ans; put ch
hput ch IntLTerm.Close
close ch
hput console Console.Close
halt console
with [intTerm1]:
GPt.Ready; store w
run intlistTerm(w|ch => intTerm1)
| AMPL | 4 | prashant007/AMPL | myAMPL/src/test7.ampl | [
"MIT"
] |
url: /v1/query
status: 200
response:
- {result: null, result_type: CommandOk}
- {message: success}
- {result: null, result_type: CommandOk}
query:
type: bulk
args:
- type: run_sql
args:
sql: |
create table hge_tests.t ();
- type: track_table
args:
schema: hge_tests
name: t
- type: run_sql
args:
sql: |
drop table hge_tests.t;
| YAML | 3 | gh-oss-contributor/graphql-engine-1 | server/tests-py/queries/v1/ddl/drop_no_cols_table.yaml | [
"Apache-2.0",
"MIT"
] |
---
title: This page is bars
tags:
- bars
---
Bars | Liquid | 0 | binyamin/eleventy | test/stubs/issue-115/template-bars.liquid | [
"MIT"
] |
'*********************************************************************
'** (c) 2016-2017 Roku, Inc. All content herein is protected by U.S.
'** copyright and other applicable intellectual property laws and may
'** not be copied without the express permission of Roku, Inc., which
'** reserves all rights. Reuse of any of this content for any purpose
'** without the permission of Roku, Inc. is strictly prohibited.
'*********************************************************************
' Player
sub init()
m.video = m.top.CreateChild("Video")
end sub
sub controlChanged()
'handle orders by the parent/owner
control = m.top.control
if control = "play" then
playContent()
else if control = "stop" then
exitPlayer()
end if
end sub
sub playContent()
content = m.top.content
if content <> invalid then
m.video.content = content
m.video.visible = false
m.PlayerTask = CreateObject("roSGNode", "PlayerTask")
m.PlayerTask.observeField("state", "taskStateChanged")
m.PlayerTask.video = m.video
m.PlayerTask.control = "RUN"
end if
end sub
sub exitPlayer()
print "Player: exitPlayer()"
m.video.control = "stop"
m.video.visible = false
m.PlayerTask = invalid
'signal upwards that we are done
m.top.state = "done"
end sub
sub taskStateChanged(event as Object)
print "Player: taskStateChanged(), id = "; event.getNode(); ", "; event.getField(); " = "; event.getData()
state = event.GetData()
if state = "done" or state = "stop"
exitPlayer()
end if
end sub
function onKeyEvent(key as String, press as Boolean) as Boolean
' since m.video is a child of `player` in the scene graph,
' pressing the Back button during play will "bubble up" for us to handle here
print "Player: keyevent = "; key
if press and key = "back" then
'handle Back button, by exiting play
exitPlayer()
return true
end if
return false
end function
| Brightscript | 4 | khangh/samples | advertising/RAF4RSG-sample-master/components/Player.brs | [
"MIT"
] |
# Copyright 2021 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#!/bin/bash
# Runs the main image experiment.
python -m autoregressive_diffusion.experiments.images.main --work_unit_dir=results/images --config autoregressive_diffusion/experiments/images/config.py \
--config.num_epochs 1 --config.architecture.n_channels 64 --config.architecture.num_res_blocks 0
# Runs the main language experiment.
python -m autoregressive_diffusion.experiments.language.main --work_unit_dir=results/language --config autoregressive_diffusion/experiments/language/configs/default.py \
--config.num_train_steps 1 --config.num_layers 0
# Runs the main audio experiment.
python -m autoregressive_diffusion.experiments.audio.main --work_unit_dir=results/audio --config autoregressive_diffusion/experiments/audio/configs/sc09.py \
--config.num_train_steps 1 --config.arch.config.num_blocks 1 --executable_name train_and_evaluate
| Shell | 3 | xxdreck/google-research | autoregressive_diffusion/run.sh | [
"Apache-2.0"
] |
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
// Specializations of ostream::operator<< for API values. These are defined here
// so that they don't need to be linked in executables that need to be kept
// small (and don't use the functionality).
#include <iostream>
#include "tensorflow/cc/experimental/libtf/impl/none.h"
#include "tensorflow/cc/experimental/libtf/impl/string.h"
#include "tensorflow/cc/experimental/libtf/impl/tensor_spec.h"
namespace tf {
namespace libtf {
namespace impl {
std::ostream& operator<<(std::ostream& o, const None& none) {
return o << "None";
}
std::ostream& operator<<(std::ostream& o, const String& str) {
return o << str.str();
}
std::ostream& operator<<(std::ostream& o, const TensorSpec& x) {
o << "TensorSpec(shape = " << x.shape.DebugString() << ", dtype = " << x.dtype
<< ")";
return o;
}
} // namespace impl
} // namespace libtf
} // namespace tf
| C++ | 4 | EricRemmerswaal/tensorflow | tensorflow/cc/experimental/libtf/impl/iostream.cc | [
"Apache-2.0"
] |
/*
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.boot.autoconfigure.web.reactive;
import java.util.Arrays;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProviders;
import org.springframework.context.ApplicationContext;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
import org.springframework.http.MediaType;
import org.springframework.web.reactive.function.server.RouterFunction;
import org.springframework.web.reactive.function.server.RouterFunctions;
import org.springframework.web.reactive.function.server.ServerResponse;
import static org.springframework.web.reactive.function.server.RequestPredicates.GET;
import static org.springframework.web.reactive.function.server.RequestPredicates.accept;
/**
* A {@link RouterFunction} factory for an application's welcome page. Supports both
* static and templated files. If both a static and templated index page are available,
* the static page is preferred.
*
* @author Brian Clozel
*/
final class WelcomePageRouterFunctionFactory {
private final String staticPathPattern;
private final Resource welcomePage;
private final boolean welcomePageTemplateExists;
WelcomePageRouterFunctionFactory(TemplateAvailabilityProviders templateAvailabilityProviders,
ApplicationContext applicationContext, String[] staticLocations, String staticPathPattern) {
this.staticPathPattern = staticPathPattern;
this.welcomePage = getWelcomePage(applicationContext, staticLocations);
this.welcomePageTemplateExists = welcomeTemplateExists(templateAvailabilityProviders, applicationContext);
}
private Resource getWelcomePage(ResourceLoader resourceLoader, String[] staticLocations) {
return Arrays.stream(staticLocations).map((location) -> getIndexHtml(resourceLoader, location))
.filter(this::isReadable).findFirst().orElse(null);
}
private Resource getIndexHtml(ResourceLoader resourceLoader, String location) {
return resourceLoader.getResource(location + "index.html");
}
private boolean isReadable(Resource resource) {
try {
return resource.exists() && (resource.getURL() != null);
}
catch (Exception ex) {
return false;
}
}
private boolean welcomeTemplateExists(TemplateAvailabilityProviders templateAvailabilityProviders,
ApplicationContext applicationContext) {
return templateAvailabilityProviders.getProvider("index", applicationContext) != null;
}
RouterFunction<ServerResponse> createRouterFunction() {
if (this.welcomePage != null && "/**".equals(this.staticPathPattern)) {
return RouterFunctions.route(GET("/").and(accept(MediaType.TEXT_HTML)),
(req) -> ServerResponse.ok().contentType(MediaType.TEXT_HTML).bodyValue(this.welcomePage));
}
else if (this.welcomePageTemplateExists) {
return RouterFunctions.route(GET("/").and(accept(MediaType.TEXT_HTML)),
(req) -> ServerResponse.ok().render("index"));
}
return null;
}
}
| Java | 5 | techAi007/spring-boot | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/WelcomePageRouterFunctionFactory.java | [
"Apache-2.0"
] |
class Module {
ruby_aliases: [ '===, 'instance_methods, 'methods, 'to_s, 'constants ]
forwards_unary_ruby_methods
def [constant_name] {
"""
@constant_name Name (@String@) of constant's name.
@return @constant_name's value.
Returns the value of the constant with the given name in @self.
"""
const_get(constant_name)
}
def [constant_name]: value {
"""
@constant_name Name (@String@) of constant's name.
@value New value of constant to be used.
Sets the value of a constant with the given name in @self.
"""
const_set(constant_name, value)
}
def included: module {
"""
@module @Module@ or @Class@ that has been included into @self.
Gets called when a @Class@ or @Module@ is included into another @Class@.
"""
# do nothing by default
nil
}
def overwrite_method: name with_dynamic: block {
"""
@name @Symbol name of method to overwrite.
@block Block called with @Rubinius Generator@ as argument for generating
bytecode body of method.
Overwrites method of @self with bytecode implementation. Preserves any
@Fancy Documentation@ of method.
"""
overwrite_method: name with: block dynamic: true
}
def overwrite_method: name with: block dynamic: dynamic? (false) {
"""
@name @Symbol@ name of method to overwrite.
@block @Block@ used to generate the method's body.
Overwrites method of @self with new implementation. Preserves any
@Fancy Documentation@ of method.
"""
prev = nil
try {
# Try to get a previous documentation instance
# so that we don't overwrite it.
prev = self method_table lookup(name) method() documentation
} catch ArgumentError { }
# Call to Rubinius to set up the method.
code = match dynamic? {
case true -> dynamic_method(name, &block)
case _ -> define_method(name, &block)
}
if: prev then: {
# Janky since docs method isn't always available when this is called.
docstring = prev instance_variable_get('@docs)
self method_table lookup(name) method() documentation: docstring
}
return code
}
def dynamic_method: method_name with: block {
dynamic_method(method_name, &block)
}
}
| Fancy | 5 | bakkdoor/fancy | lib/rbx/module.fy | [
"BSD-3-Clause"
] |
package {
public class TestTwo {
{
trace("//TestTwo class init");
}
function TestTwo() {
trace("//TestTwo constructor");
}
}
}
trace("//TestTwo.as start");
import TestOne;
new TestOne();
trace("//TestTwo.as end"); | ActionScript | 4 | Sprak1/ruffle | tests/tests/swfs/avm2/lazyinit/TestTwo.as | [
"Apache-2.0",
"Unlicense"
] |
C FILE: CALLBACK.F
SUBROUTINE FOO(FUN,R)
EXTERNAL FUN
INTEGER I
REAL*8 R, FUN
Cf2py intent(out) r
R = 0D0
DO I=-5,5
R = R + FUN(I)
ENDDO
END
C END OF FILE CALLBACK.F
| FORTRAN | 3 | iam-abbas/numpy | doc/source/f2py/code/callback.f | [
"BSD-3-Clause"
] |
#: * `--version`, `-v`
#:
#: Print the version numbers of Homebrew, Homebrew/homebrew-core and Homebrew/homebrew-cask (if tapped) to standard output.
# HOMEBREW_CORE_REPOSITORY, HOMEBREW_CASK_REPOSITORY, HOMEBREW_VERSION are set by brew.sh
# shellcheck disable=SC2154
version_string() {
local repo="$1"
if ! [[ -d "${repo}" ]]
then
echo "N/A"
return
fi
local pretty_revision
pretty_revision="$(git -C "${repo}" rev-parse --short --verify --quiet HEAD)"
if [[ -z "${pretty_revision}" ]]
then
echo "(no Git repository)"
return
fi
local git_last_commit_date
git_last_commit_date="$(git -C "${repo}" show -s --format='%cd' --date=short HEAD)"
echo "(git revision ${pretty_revision}; last commit ${git_last_commit_date})"
}
homebrew-version() {
echo "Homebrew ${HOMEBREW_VERSION}"
echo "Homebrew/homebrew-core $(version_string "${HOMEBREW_CORE_REPOSITORY}")"
if [[ -d "${HOMEBREW_CASK_REPOSITORY}" ]]
then
echo "Homebrew/homebrew-cask $(version_string "${HOMEBREW_CASK_REPOSITORY}")"
fi
}
| Shell | 4 | ykohata/brew | Library/Homebrew/cmd/--version.sh | [
"BSD-2-Clause"
] |
package io.lattekit.css
import com.google.common.base.CaseFormat
import java.util.List
import java.util.regex.Matcher
import java.util.regex.Pattern
class CssCompiler {
var STRING_RE = Pattern.compile('''^(["'])(?:(?=(\\?))\2.)*?\1$''')
var NUM_RE = Pattern.compile('''^(\d+(?:\.\d+)?)(ms|px|dp|dip|pt|sp|sip|mm|in)$''')
var static valueTypes = #{
"PX" -> 0,
"DP" -> 1,
"DIP"->1,
"SP"->2,
"SIP"->2,
"PT"->3,
"IN"->4,
"MM"->5
}
def static String toClass(String file) {
return file.split(".css").get(0).toFirstUpper+"Stylesheet"
}
def toSetter(String property) {
CaseFormat.LOWER_HYPHEN.to(CaseFormat.LOWER_CAMEL,"set-"+property)
}
def String toJava(String va) {
var value = va.trim()
var Matcher matcher;
if (value.matches(STRING_RE.pattern)) {
return value
} else if ( (matcher = NUM_RE.matcher(value)).find) {
if (matcher.group(2) == "ms") {
return matcher.group(1);
}
return '''new NumberValue(«matcher.group(1)»,«valueTypes.get(matcher.group(2).toUpperCase)»)'''
} else if (value.trim().toLowerCase == "match_parent") {
return '''new NumberValue(Style.MATCH_PARENT, 0)'''
} else if (value.trim().toLowerCase == "wrap_content") {
return '''new NumberValue(Style.WRAP_CONTENT, 0)'''
} else if (value.split(",").length > 1) {
'''Arrays.asList(«value.split(",").map['''Arrays.<Object>asList(«toJava»)'''].join(",")»)'''
} else if (value.split(" ").length > 1) {
return value.split(" ").map[toJava].join(",")
} else {
return '''"«value»"'''
}
}
def compile(CssProperty property) '''
_style.«property.name.toSetter»(«property.value.toJava»);
'''
def compileValue(String propertyName, String value) {
}
def compile(String packageName, String fileName, List<CssDefinition> definitions) '''
package «packageName»;
import io.lattekit.plugin.css.declaration.CssValuesKt;
import io.lattekit.plugin.css.declaration.CssValue;
import io.lattekit.plugin.css.declaration.CssDeclaration;
import io.lattekit.plugin.css.declaration.RuleSet;
import io.lattekit.plugin.css.declaration.Stylesheet;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.Arrays;
public class «fileName.toClass» extends Stylesheet {
static {
new «fileName.toClass»();
}
public «fileName.toClass»() {
Stylesheet.register("«fileName»",this);
RuleSet ruleSet;
«FOR definition: definitions»
ruleSet = new RuleSet("«definition.selector»");
«FOR child: definition.childNodes»
ruleSet.add("«child.name»", «IF child.value.startsWith('"') && child.value.endsWith('"')»«child.value»«ELSE»"«child.value»"«ENDIF»);
«ENDFOR»
addRuleSet(ruleSet);
«ENDFOR»
}
}
'''
def compile(String packageName, String fileName, String source) {
return compile(packageName,fileName,new CssParser().parse(source))
}
} | Xtend | 4 | maannajjar/lattek | gradle-plugin/src/main/java/io/lattekit/css/CssCompiler.xtend | [
"Unlicense",
"MIT"
] |
#define TORCH_ASSERT_NO_OPERATORS
#include <ATen/Dispatch.h>
#include <ATen/native/DispatchStub.h>
#include <ATen/native/cuda/Loops.cuh>
#include <ATen/native/TensorIterator.h>
#include <ATen/native/BinaryOps.h>
// NOTE: CUDA on Windows requires that the enclosing function
// of a __device__ lambda not have internal linkage.
namespace at { namespace native {
void lshift_kernel_cuda(TensorIteratorBase& iter) {
if (iter.dtype() == ScalarType::Float ||
iter.dtype() == ScalarType::Double ||
iter.dtype() == ScalarType::Half ||
iter.dtype() == ScalarType::BFloat16) {
AT_DISPATCH_FLOATING_TYPES_AND2(ScalarType::Half, ScalarType::BFloat16, iter.dtype(), "lshift_cuda", [&]() {
gpu_kernel_with_scalars(
iter,
[]GPU_LAMBDA(scalar_t a, scalar_t b) -> scalar_t {
return a * std::pow(static_cast<scalar_t>(2), b);
});
});
} else {
AT_DISPATCH_INTEGRAL_TYPES(iter.dtype(), "lshift_cuda", [&]() {
gpu_kernel_with_scalars(iter,
[]GPU_LAMBDA(scalar_t a, scalar_t b) -> scalar_t {
return static_cast<std::make_unsigned_t<scalar_t>>(a) << b;
});
});
}
}
void rshift_kernel_cuda(TensorIteratorBase& iter) {
if (iter.dtype() == ScalarType::Float ||
iter.dtype() == ScalarType::Double ||
iter.dtype() == ScalarType::Half ||
iter.dtype() == ScalarType::BFloat16) {
AT_DISPATCH_FLOATING_TYPES_AND2(ScalarType::Half, ScalarType::BFloat16, iter.dtype(), "rshift_cuda", [&]() {
gpu_kernel_with_scalars(
iter,
[]GPU_LAMBDA(scalar_t a, scalar_t b) -> scalar_t {
return a / std::pow(static_cast<scalar_t>(2), b);
});
});
} else {
AT_DISPATCH_INTEGRAL_TYPES(iter.dtype(), "rshift_cuda", [&]() {
gpu_kernel_with_scalars(iter,
[]GPU_LAMBDA(scalar_t a, scalar_t b) -> scalar_t {
return a >> b;
});
});
}
}
REGISTER_DISPATCH(lshift_stub, &lshift_kernel_cuda);
REGISTER_DISPATCH(rshift_stub, &rshift_kernel_cuda);
}} // namespace at::native
| Cuda | 4 | xiaohanhuang/pytorch | aten/src/ATen/native/cuda/BinaryShiftOpsKernels.cu | [
"Intel"
] |
(ns wisp.sequence
(:require [wisp.runtime :refer [nil? vector? fn? number? string? dictionary? set?
key-values str int dec inc min merge dictionary get
iterable? = complement identity list? lazy-seq? identity-set?]]))
(def ^:private -wisp-types (aget = '-wisp-types))
;; Implementation of list
(defn- list-iterator []
(let [self this]
{:next #(if (empty? self)
{:done true}
(let [x (first self)]
(set! self (rest self))
{:value x}))}))
(defn- seq->string [lparen rparen]
(fn []
(loop [list this, result ""]
(if (empty? list)
(str lparen (.substr result 1) rparen)
(recur (rest list)
(str result
" "
(let [x (first list)]
(cond (vector? x) (str "[" (.join x " ") "]")
(nil? x) "nil"
(string? x) (.stringify JSON x)
(number? x) (.stringify JSON x)
:else x))))))))
(defn- List
"List type"
[head tail]
(set! this.head head)
(set! this.tail (or tail (list)))
(set! this.length
(if (or (nil? this.tail) (dictionary? this.tail) (number? (.-length this.tail)))
(inc (count this.tail))))
this)
(set! List.prototype.length 0)
(set! List.type (:list -wisp-types))
(set! List.prototype.type List.type)
(set! List.prototype.tail (Object.create List.prototype))
(set! List.prototype.to-string (seq->string "(" ")"))
(aset List.prototype Symbol.iterator list-iterator)
(defn- lazy-seq-value [lazy-seq]
(if (.-realized lazy-seq)
(.-x lazy-seq)
(let [x (.x lazy-seq)]
(set! (.-realized lazy-seq) true)
(if (empty? x)
(set! (.-length lazy-seq) 0))
(set! (.-x lazy-seq) x))))
(defn- LazySeq [realized x]
(set! (.-realized this) (or realized false))
(set! (.-x this) x)
this)
(set! LazySeq.type (:lazy-seq -wisp-types))
(set! LazySeq.prototype.type LazySeq.type)
(aset LazySeq.prototype Symbol.iterator list-iterator)
(defn lazy-seq
[realized body]
(LazySeq. realized body))
(defn- clone-proto-props! [from to]
(apply Object.assign to
(.map (Object.get-own-property-names from.__proto__)
#(let [x (aget from %)]
(dictionary % (if (fn? x) (.bind x from) x))))))
(defn identity-set [& items]
(let [js-set (Set. items)
f #(get js-set %1 %2)]
(clone-proto-props! js-set f)
(set! f.to-string (seq->string "#{" "}"))
(set! f.__proto__ js-set)
(Object.define-property f :length {:value f.size})
(aset f Symbol.iterator f.values)
(aset f :type identity-set.type)
f))
(set! identity-set.type (:set -wisp-types))
(def set identity-set)
(def lazy-seq? lazy-seq?)
(def identity-set? identity-set?)
(def list? list?)
(set! =.*seq=
(fn [x y]
(and (or (vector? x) (seq? x))
(or (vector? y) (seq? y))
(loop [x (seq x), y (seq y)]
(cond (and (vector? x) (vector? y)) (and (= (count x) (count y))
(.every x #(= %1 (aget y %2))))
(or (empty? x) (empty? y)) (and (empty? x) (empty? y))
(not= (first x) (first y)) false
:else (recur (rest x) (rest y)))))))
(defn list
"Creates list of the given items"
[]
(if (identical? (.-length arguments) 0)
(Object.create List.prototype)
(.reduce-right (.call Array.prototype.slice arguments)
(fn [tail head] (cons head tail))
(list))))
(defn cons
"Creates list with `head` as first item and `tail` as rest"
[head tail]
(new List head tail))
(defn ^boolean sequential?
"Returns true if coll satisfies ISequential"
[x] (or (seq? x)
(vector? x)
(dictionary? x)
(set? x)
(string? x)))
(defn- ^boolean native? [sequence]
(or (vector? sequence) (string? sequence) (dictionary? sequence)))
(defn reverse
"Reverse order of items in the sequence"
[sequence]
(if (vector? sequence)
(.reverse (vec sequence))
(into nil sequence)))
(defn range
"Returns a vector of nums from start (inclusive) to end
(exclusive), by step, where start defaults to 0 and step to 1."
([end] (range 0 end 1))
([start end] (range start end 1))
([start end step] (if (< step 0)
(.map (range (- start) (- end) (- step)) #(- %))
(Array.from {:length (-> (+ end step) (- start 1) (/ step))}
(fn [_ i] (+ start (* i step)))))))
(defn mapv
"Returns a vector consisting of the result of applying `f` to the
first items, followed by applying f to the second items, until one of
sequences is exhausted."
[f & sequences]
(let [vectors (.map sequences vec), n (apply min (.map vectors count))]
(.map (range n) (fn [i] (apply f (.map vectors #(aget % i)))))))
(defn map
"Returns a sequence consisting of the result of applying `f` to the
first items, followed by applying f to the second items, until one of
sequences is exhausted."
[f & sequences]
(let [result (apply mapv f sequences)]
(if (native? (first sequences)) result (apply list result))))
(defn map-indexed
"Returns a sequence consisting of the result of applying `f` to 0 and
the first items, followed by applying f to 1 and the second items,
until one of sequences is exhausted."
[f & sequences]
(let [sequence (first sequences), n (count sequence), indices (range n)]
(apply map f (if (native? sequence) indices (apply list indices)) sequences)))
(defn filter
"Returns a sequence of the items in coll for which (f? item) returns true.
f? must be free of side-effects."
[f? sequence]
(cond (nil? sequence) '()
(seq? sequence) (filter-list f? sequence)
(vector? sequence) (.filter sequence #(f? %))
:else (filter f? (seq sequence))))
(defn- filter-list
"Like filter but for lists"
[f? sequence]
(loop [result '()
items sequence]
(if (empty? items)
(reverse result)
(recur (if (f? (first items))
(cons (first items) result)
result)
(rest items)))))
(defn filterv [f? sequence]
(vec (filter f? sequence)))
(defn reduce
[f & params]
(let [has-initial (>= (count params) 2)
initial (if has-initial (first params))
sequence (if has-initial (second params) (first params))]
(if has-initial
(.reduce (vec sequence) f initial)
(.reduce (vec sequence) f))))
(defn count
"Returns number of elements in list"
[sequence]
(if (and sequence (number? (.-length sequence)))
(.-length sequence)
(let [it (seq sequence)]
(cond (nil? it) 0
(lazy-seq? it) (count (vec it))
:else (.-length it)))))
(defn empty?
"Returns true if list is empty"
[sequence]
(let [it (seq sequence)]
(identical? 0 (if-not (lazy-seq? it)
(count it)
(do (first it) ; forcing evaluation
(.-length it))))))
(defn first
"Return first item in a list"
[sequence]
(cond (nil? sequence) nil
(list? sequence) (.-head sequence)
(or (vector? sequence) (string? sequence)) (get sequence 0)
(lazy-seq? sequence) (first (lazy-seq-value sequence))
:else (first (seq sequence))))
(defn second
"Returns second item of the list"
[sequence]
(cond (nil? sequence) nil
(list? sequence) (first (rest sequence))
(or (vector? sequence) (string? sequence)) (get sequence 1)
(lazy-seq? sequence) (second (lazy-seq-value sequence))
:else (first (rest (seq sequence)))))
(defn third
"Returns third item of the list"
[sequence]
(cond (nil? sequence) nil
(list? sequence) (first (rest (rest sequence)))
(or (vector? sequence) (string? sequence)) (get sequence 2)
(lazy-seq? sequence) (third (lazy-seq-value sequence))
:else (second (rest (seq sequence)))))
(defn rest
"Returns list of all items except first one"
[sequence]
(cond (nil? sequence) '()
(list? sequence) (.-tail sequence)
(or (vector? sequence) (string? sequence)) (.slice sequence 1)
(lazy-seq? sequence) (rest (lazy-seq-value sequence))
:else (rest (seq sequence))))
(defn- last-of-list
[list]
(loop [item (first list)
items (rest list)]
(if (empty? items)
item
(recur (first items) (rest items)))))
(defn last
"Return the last item in coll, in linear time"
[sequence]
(cond (or (vector? sequence)
(string? sequence)) (get sequence (dec (count sequence)))
(list? sequence) (last-of-list sequence)
(nil? sequence) nil
(lazy-seq? sequence) (last (lazy-seq-value sequence))
:else (last (seq sequence))))
(defn butlast
"Return a seq of all but the last item in coll, in linear time"
[sequence]
(let [items (cond (nil? sequence) nil
(string? sequence) (subs sequence 0 (dec (count sequence)))
(vector? sequence) (.slice sequence 0 (dec (count sequence)))
(list? sequence) (apply list (butlast (vec sequence)))
(lazy-seq? sequence) (butlast (lazy-seq-value sequence))
:else (butlast (seq sequence)))]
(if-not (empty? items) items)))
(defn take
"Returns a sequence of the first `n` items, or all items if
there are fewer than `n`."
[n sequence]
(cond (nil? sequence) '()
(vector? sequence) (take-from-vector n sequence)
(list? sequence) (take-from-list n sequence)
(lazy-seq? sequence) (if (> n 0) (take n (lazy-seq-value sequence)))
:else (take n (seq sequence))))
(defn take-while
[predicate sequence]
(loop [items sequence, result []]
(let [head (first items), tail (rest items)]
(if (and (not (empty? items))
(predicate head))
(recur tail (conj result head))
(if (native? sequence) result (apply list result))))))
(defn- take-from-vector
"Like take but optimized for vectors"
[n vector]
(.slice vector 0 n))
(defn- take-from-list
"Like take but for lists"
[n sequence]
(loop [taken '()
items sequence
n (or (int n) 0)]
(if (or (<= n 0) (empty? items))
(reverse taken)
(recur (cons (first items) taken)
(rest items)
(dec n)))))
(defn- drop-from-list [n sequence]
(loop [left n
items sequence]
(if (or (< left 1) (empty? items))
items
(recur (dec left) (rest items)))))
(defn drop
[n sequence]
(if (<= n 0)
sequence
(cond (string? sequence) (.substr sequence n)
(vector? sequence) (.slice sequence n)
(list? sequence) (drop-from-list n sequence)
(nil? sequence) '()
(lazy-seq? sequence) (drop n (lazy-seq-value sequence))
:else (drop n (seq sequence)))))
(defn drop-while
[predicate sequence]
(loop [items (seq sequence)]
(if (or (empty? items) (not (predicate (first items))))
items
(recur (rest items)))))
(defn- conj-list
[sequence items]
(reduce (fn [result item] (cons item result)) sequence items))
(defn- ensure-dictionary [x]
(if-not (vector? x)
x
(dictionary (first x) (second x))))
(defn conj
[sequence & items]
(cond (vector? sequence) (.concat sequence items)
(string? sequence) (str sequence (apply str items))
(nil? sequence) (apply list (reverse items))
(seq? sequence) (conj-list sequence items)
(dictionary? sequence) (merge sequence (apply merge (mapv ensure-dictionary items)))
(set? sequence) (apply identity-set (into (vec sequence) items))
:else (throw (TypeError (str "Type can't be conjoined " sequence)))))
(defn disj
[coll & ks]
(let [predicate (complement (apply identity-set ks))]
(cond (empty? ks) coll
(set? coll) (apply identity-set (filterv predicate coll))
(dictionary? coll) (into {} (filter #(predicate (first %)) coll))
:else (throw (TypeError (str "Type can't be disjoined " coll))))))
(defn into
[to from]
(apply conj to (vec from)))
(defn zipmap [keys vals]
(into {} (map vector keys vals)))
(defn assoc
[source & key-values]
;(assert (even? (count key-values)) "Wrong number of arguments")
;(assert (and (not (seq? source))
; (not (vector? source))
; (object? source)) "Can only assoc on dictionaries")
(conj source (apply dictionary key-values)))
(defn dissoc
[coll & ks]
(if (dictionary? coll)
(apply disj coll ks)
(throw (TypeError (str "Can only dissoc on dictionaries")))))
(defn concat
"Returns list representing the concatenation of the elements in the
supplied lists."
[& sequences]
(reduce #(conj-list %1 (reverse %2))
(let [tail (last sequences)]
(if (lazy-seq? tail) tail (apply list (vec tail))))
(rest (reverse sequences))))
(defn mapcat [f & colls]
(apply concat (apply mapv f colls)))
(defn empty
"Produces empty sequence of the same type as argument."
[sequence]
(cond (list? sequence) '()
(vector? sequence) []
(string? sequence) ""
(dictionary? sequence) {}
(set? sequence) #{}
(lazy-seq? sequence) (lazy-seq)))
(defn seq [sequence]
(cond (nil? sequence) nil
(or (vector? sequence) (seq? sequence)) sequence
(string? sequence) (.call Array.prototype.slice sequence)
(dictionary? sequence) (key-values sequence)
(iterable? sequence) (iterator->lseq ((get sequence Symbol.iterator)))
:default (throw (TypeError (str "Can not seq " sequence)))))
(defn seq* [sequence]
(let [it (seq sequence)]
(if-not (empty? it) it)))
(defn seq? [sequence]
(or (list? sequence)
(lazy-seq? sequence)))
(defn- iterator->lseq [iterator]
(unfold #(let [x (.next %)]
(if-not (.-done x) [(.-value x) %]))
iterator))
(defn vec
"Creates a new vector containing the contents of sequence"
[sequence]
(cond (nil? sequence) []
(or (vector? sequence) (list? sequence)) (Array.from sequence)
(lazy-seq? sequence) (let [xs (Array.from sequence)] ; optimizing count
(set! (.-length sequence) (.-length xs))
xs)
:else (vec (seq sequence))))
(defn vector [& sequence] sequence)
(def ^{:private true}
sort-comparator
(if (= [1 2 3] (.sort [2 1 3] (fn [a b] (if (< a b) 0 1))))
#(fn [a b] (if (% b a) 1 0)) ; quicksort (Chrome, Node), mergesort (Firefox)
#(fn [a b] (if (% a b) -1 0)))) ; timsort (Chrome 70+, Node 11+)
(defn sort
"Returns a sorted sequence of the items in coll.
If no comparator is supplied, uses compare."
[f items]
(let [has-comparator (fn? f)
items (if (and (not has-comparator) (nil? items)) f items)
compare (if has-comparator (sort-comparator f))
result (.sort (vec items) compare)]
(cond (nil? items) '()
(vector? items) result
:else (apply list result))))
(defn repeatedly
"Takes a function of no args, presumably with side effects, and
returns vector of given `n` length with calls to it"
[n f]
(Array.from {:length n} f))
(defn repeat
"Returns a vector of given `n` length with given `x`
items. Not compatible with clojure as it's not a lazy
and only finite repeats are supported"
[n x]
(repeatedly n (fn [] x)))
(defn every?
[predicate sequence]
(.every (vec sequence) #(predicate %)))
(defn some
"Returns the first logical true value of (pred x) for any x in coll,
else nil. One common idiom is to use a set as pred, for example
this will return :fred if :fred is in the sequence, otherwise nil:
(some #{:fred} coll)"
[pred coll]
(loop [items (seq coll)]
(if-not (empty? items)
(or (pred (first items)) (recur (rest items))))))
(defn partition
([n coll] (partition n n coll))
([n step coll] (partition n step [] coll))
([n step pad coll]
(loop [result []
items (seq coll)]
(let [chunk (take n items)
size (count chunk)]
(cond (identical? size n) (recur (conj result chunk)
(drop step items))
(identical? 0 size) result
(> n (+ size (count pad))) result
:else (conj result
(take n (vec (concat chunk
pad)))))))))
(defn interleave [& sequences]
(if (empty? sequences)
[]
(loop [result []
sequences sequences]
(if (some empty? sequences)
(vec result)
(recur (concat result (map first sequences))
(map rest sequences))))))
(defn nth
"Returns nth item of the sequence"
[sequence index not-found]
(let [sequence (seq* sequence)]
(cond (nil? sequence) not-found
(seq? sequence) (if-let [it (seq* (drop index sequence))]
(first it)
not-found)
(or (vector? sequence)
(string? sequence)) (if (< index (count sequence))
(aget sequence index)
not-found)
:else (throw (TypeError "Unsupported type")))))
(defn contains?
"Returns true if key is present in the given collection, otherwise
returns false. Note that for numerically indexed collections like
vectors and strings, this tests if the numeric key is within the
range of indexes. 'contains?' operates constant or logarithmic time;
it will not perform a linear search for a value. See also 'some'."
[coll v]
(cond (set? coll) (.has coll v)
(or (dictionary? coll) (vector? coll) (string? coll)) (.has-own-property coll v)
:else false))
(defn union
"Return a set that is the union of the input sets"
[& sets]
(into #{} (apply concat sets)))
(defn difference
"Return a set that is the first set without elements of the remaining sets"
[s1 & sets]
(into #{} (filter (complement (apply union sets))
s1)))
(defn intersection
"Return a set that is the intersection of the input sets"
[& sets]
(let [sets (mapv #(into #{} %) sets)
in-each? (fn [x] (every? #(.has % x) sets))
min-size (apply min (mapv count sets))
smallest (.find sets #(= min-size (count %)))]
(into #{} (filter in-each? smallest))))
(defn subset?
"Is set1 a subset of set2?"
[set1 set2]
(if (set? set2)
(every? #(.has set2 %) set1)
(subset? set1 (into #{} set2))))
(defn superset?
"Is set1 a superset of set2?"
[set1 set2]
(subset? set2 set1))
(defn unfold
"Returns a lazy sequence; (f x) is expected to return either nil (signifying end of sequence)
or [y x1] (where y is next sequence item, and x1 is next value of x)"
[f x]
(lazy-seq (if-let [next (f x)]
(cons (first next) (unfold f (second next))))))
(defn iterate
"Returns a lazy sequence of x, (f x), (f (f x)) etc. f must be free of side-effects"
[f x]
(lazy-seq (cons x (iterate f (f x)))))
(defn cycle
"Returns a lazy (infinite!) sequence of repetitions of the items in coll."
[coll]
(lazy-seq (if-not (empty? coll)
(concat coll (cycle coll)))))
(defn infinite-range
([] (infinite-range 0))
([n] (iterate inc n))
([n step] (iterate #(+ % step) n)))
(defn lazy-map [f & sequences]
(unfold #(if-not (some empty? %)
[(apply f (mapv first %)) (mapv rest %)])
sequences))
(defn lazy-filter [f sequence]
(unfold #(loop [xs %]
(cond (empty? xs) nil
(f (first xs)) [(first xs) (rest xs)]
:else (recur (rest xs))))
(seq sequence)))
(defn lazy-concat [& sequences]
(if-not (empty? sequences)
((fn iter [xs]
(lazy-seq (if (empty? xs)
(apply lazy-concat (rest sequences))
(cons (first xs) (iter (rest xs))))))
(seq (first sequences)))))
(defn lazy-partition
([n coll] (lazy-partition n n coll))
([n step coll] (lazy-partition n step [] coll))
([n step pad coll]
(unfold #(let [chunk (take n (concat (take n %) pad))]
(if (and (not (empty? %)) (identical? n (count chunk)))
[chunk (drop step %)]))
coll)))
(defn run!
"Runs the supplied procedure (via reduce), for purposes of side
effects, on successive items in the collection. Returns nil"
[proc coll]
(reduce (fn [_ x] (proc x) nil) nil coll))
(defn dorun
"When lazy sequences are produced via functions that have side
effects, any effects other than those needed to produce the first
element in the seq do not occur until the seq is consumed. dorun can
be used to force any effects. Walks through the successive nexts of
the seq, does not retain the head and returns nil."
([coll] (dorun Infinity coll))
([n coll] (run! identity (take n coll))))
(defn doall
"When lazy sequences are produced via functions that have side
effects, any effects other than those needed to produce the first
element in the seq do not occur until the seq is consumed. dorun can
be used to force any effects. Walks through the successive nexts of
the seq, retains the head and returns it, thus causing the entire
seq to reside in memory at one time."
([coll] (doall Infinity coll))
([n coll] (dorun n coll) coll))
| wisp | 5 | rcarmo/wisp | src/sequence.wisp | [
"BSD-3-Clause"
] |
--TEST--
Flexible heredoc syntax error 10: unindented variable interpolation (as first value)
--FILE--
<?php
$var = 'Bar';
var_dump(<<<TEST
$var
TEST);
?>
--EXPECTF--
Parse error: Invalid body indentation level (expecting an indentation level of at least 1) in %s on line %d
| PHP | 3 | thiagooak/php-src | Zend/tests/flexible-heredoc-error10.phpt | [
"PHP-3.01"
] |
/*
* Irresistible Gaming (c) 2018
* Developed by Lorenc
* Module: anticheat/autocbug.pwn
* Purpose: rapid fire detection
*/
/* ** Includes ** */
#include < YSI\y_hooks >
/* ** Definitions ** */
#define AUTOCBUG_TICKS_DEAGLE ( 500 ) // prev 600
#define AUTOCBUG_TICKS_SHOTGUN ( 850 )
#define AUTOCBUG_TICKS_COUNTRY ( 750 )
#define AUTOCBUG_TICKS_SNIPER ( 750 )
/* ** Variables ** */
static stock
p_cbugKeyTicks [ MAX_PLAYERS ],
p_cbugFireTicks [ MAX_PLAYERS ],
p_cbugWarns [ MAX_PLAYERS char ]
;
/* ** Callback Hooks ** */
hook OnPlayerConnect( playerid ) {
if ( 0 <= playerid < MAX_PLAYERS ) {
p_cbugWarns{ playerid } = 0;
}
return 1;
}
hook OnPlayerKeyStateChange( playerid, newkeys, oldkeys ) {
if ( 0 <= playerid < MAX_PLAYERS ) {
if( !p_cbugKeyTicks[ playerid ] ) {
p_cbugKeyTicks[ playerid ] = GetTickCount( ), p_cbugWarns{ playerid } = 0;
}
if( ( ( ( newkeys & ( KEY_CROUCH ) ) == ( KEY_CROUCH ) ) || ( ( oldkeys & ( KEY_CROUCH ) ) == ( KEY_CROUCH ) ) ) ) {
p_cbugKeyTicks[ playerid ] = GetTickCount( ), p_cbugWarns{ playerid } = 0;
}
}
return 1;
}
stock AC_CheckForAutoCbug( playerid, weaponid )
{
// Anti-Rapid Fire
if( !p_cbugFireTicks[ playerid ] ) p_cbugFireTicks[ playerid ] = GetTickCount( );
else
{
new
iTicks = GetTickCount( ),
iInterval = iTicks - p_cbugFireTicks[ playerid ],
iKeyInterval = iTicks - p_cbugKeyTicks[ playerid ],
iHardInterval = 1000
;
if( weaponid == WEAPON_DEAGLE || weaponid == WEAPON_SHOTGUN || weaponid == WEAPON_RIFLE || weaponid == WEAPON_SNIPER )
{
new
iCompare = iKeyInterval - iInterval,
Float: fOwnPacketLoss = NetStats_PacketLossPercent( playerid )
;
switch( weaponid )
{
case WEAPON_DEAGLE: iHardInterval = AUTOCBUG_TICKS_DEAGLE;
case WEAPON_SHOTGUN: iHardInterval = AUTOCBUG_TICKS_SHOTGUN;
case WEAPON_RIFLE: iHardInterval = AUTOCBUG_TICKS_COUNTRY;
case WEAPON_SNIPER: iHardInterval = AUTOCBUG_TICKS_SNIPER;
}
if( iInterval < iHardInterval && iCompare > 1500 && fOwnPacketLoss < 0.8 ) {
if( p_cbugWarns{ playerid }++ >= 2 ) {
printf( "[autocbug detect] %d detected (wep %d, interval %d, compare %d, warns %d)", playerid, weaponid, iInterval, iCompare, p_cbugWarns{ playerid });
CallLocalFunction( "OnPlayerCheatDetected", "ddd", playerid, CHEAT_TYPE_AUTOCBUG, 0 );
}
}
}
p_cbugFireTicks[ playerid ] = iTicks;
}
}
| PAWN | 4 | omcho420/gta-open | gamemodes/core/anti-cheat/autocbug.pwn | [
"Apache-2.0"
] |
some.cname.target
another.cname.target
2606:2800:220:1:248:1893:25c8:1946
| DIGITAL Command Language | 0 | multani/inspec | test/unit/mock/cmd/dig-AAAA-example.com | [
"Apache-2.0"
] |
#!/usr/bin/awk -f
BEGIN {
FS=","
format_string="%s,%s,%s,%s\n"
if (ARGV[1] == "-t") {
format_string="%-30s\t%s\t%13s\t%13s\n"
delete ARGV[1]
}
printf format_string, "function", "count", "tot lat", "self lat"
}
{
if (NR==0) { next }
names[$1] = $1
counts[$1] += 1
fnlat[$1] += $3 / 1000
selflat[$1] += $4 / 1000
}
END {
for (n in names) {
f = fnlat[n]
s = selflat[n]
printf format_string, n, counts[n], f, s
}
}
| Awk | 4 | nsharma1231/nanos | tools/trace-utilities/summarize-trace.awk | [
"Apache-2.0"
] |
% Using java fragment grammar
include "java.grm"
%keys
% 'x
%end keys
% Redefinitions
% Redifined enum such that it conformed to the same format as other grammar
% components. This is done so that a fragment can be the inner portion of
% an enumeration.
% The body of enum redifined to capture its interanls in a single non-terminal
redefine enum_body
'{ [IN]
[enum_body_inner]
'} [opt ';] [NL][NL]
end define
% The inner portion of a enum
define enum_body_inner
[list enum_element] [opt ',]
[repeat class_body_declaration] [EX]
end define
% Redefine program to be any syntatically complete java code fragment
% Syntatically complete fragment is one that does not bridge seperate
% scopes. Additionally, each { in the fragment must have a matching }
% in the fragment. The fragment is not necissarilly compilable.
redefine program
[package_declaration] % a whole java file
| [repeat type_declaration] % whole java type(s) (class, interface, or enumeration)
| [class_body] % whole body of a class (incl { } but discluding header)
| [interface_body] % whole body of an interface (incl { } but discluding header)
| [enum_body] % whole body of an enumeration (incl { } but discluding header)
| [repeat class_body_declaration] % partial body of a class/interface (some portion within the { } of the class)
| [method_declaration] % a whole method
| [constructor_declaration] % a whole constructor
| [method_body] % the body of a method (incl { } but discluding header)
| [constructor_body] % the body of a constructor (incl { } but discluding header)
| [block] % a code block (including { })
| [repeat declaration_or_statement] % a series of statements
end define
| TXL | 4 | pseudoPixels/SourceFlow | txl_features/txl_features/java/JavaFragmentGrammar.txl | [
"MIT"
] |
#!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import math
import torch
from torch.utils.data.distributed import DistributedSampler
class ElasticDistributedSampler(DistributedSampler):
"""
Sampler that restricts data loading to a subset of
the dataset for elastic training.
It is especially useful in conjunction with
:class:`torch.nn.parallel.DistributedDataParallel`. In such case, each
process can pass a DistributedSampler instance as a DataLoader sampler,
and load a subset of the original dataset that is exclusive to it.
.. note::
Dataset is assumed to be of constant size.
Args:
dataset: Dataset used for sampling.
num_replicas (optional): Number of processes participating in
distributed training.
rank (optional): Rank of the current process within num_replicas.
start_index (optional): Which index of the dataset to start sampling from
"""
def __init__(self, dataset, num_replicas=None, rank=None, start_index=0):
super().__init__(dataset=dataset, num_replicas=num_replicas, rank=rank)
if start_index >= len(dataset):
raise ValueError(
"Start index {} should be less than dataset size {}".format(
start_index, len(dataset)
)
)
self.start_index = start_index
self.num_samples = int(
math.ceil(float(len(self.dataset) - self.start_index) / self.num_replicas)
)
self.total_size = self.num_samples * self.num_replicas
def __iter__(self):
# deterministically shuffle based on epoch
g = torch.Generator()
g.manual_seed(self.epoch)
indices = (
torch.randperm(len(self.dataset) - self.start_index, generator=g)
.add(self.start_index)
.tolist()
)
# add extra samples to make it evenly divisible
indices += indices[: (self.total_size - len(indices))]
assert len(indices) == self.total_size
# subsample
indices = indices[self.rank : self.total_size : self.num_replicas]
assert len(indices) == self.num_samples
return iter(indices)
def __len__(self):
return self.num_samples
| Python | 4 | Hacky-DH/pytorch | torch/distributed/elastic/utils/data/elastic_distributed_sampler.py | [
"Intel"
] |
--
-- aPLib compression library - the smaller the better :)
--
-- Ada binding for aplib.a
--
-- Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
-- All Rights Reserved
--
-- http://www.ibsensoftware.com/
--
-- Ada binding by Gautier de Montmollin - gdemont@hotmail.com, gdm@mydiax.ch
--
package aPLib is
-- Give the maximum "packed" size possible - it can be more than
-- the unpacked size in case of uncompressible data:
function Evaluate_max_packed_space( unpacked_size: Integer ) return Integer;
pragma Import(C, Evaluate_max_packed_space, "aP_max_packed_size");
-- Was, before v0.34 b4: (((unpacked_size * 9) / 8) + 16)
-- A template for packing data:
generic
type packed_data is private;
type unpacked_data is private;
with procedure Call_back( unpacked_bytes, packed_bytes: in integer;
continue : out boolean );
procedure Pack( source : in unpacked_data;
destination : out packed_data;
packed_length: out integer );
-- A template for unpacking data:
generic
type packed_data is private;
type unpacked_data is private;
procedure Depack( source : in packed_data;
destination: out unpacked_data );
-- Exceptions for errors that could occur:
pack_failed, unpack_failed: exception;
-- Just for information
function aP_workmem_size(inputsize: integer) return integer;
pragma Import(C, aP_workmem_size, "aP_workmem_size");
end aPLib;
| Ada | 4 | nehalem501/gendev | tools/files/applib/contrib/ada/aplib.ads | [
"BSD-3-Clause"
] |
class MyClass extends OtherComponent {
state = {
test: 1
}
constructor() {
test();
}
otherfunction = (a, b = {
default: false
}) => {
more();
}
}
| JavaScript | 3 | Embodimentgeniuslm3/BDB11A0E2DE062D2E39E4C5301B2FE5E | spec/fixtures/indentation/classes.js | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************* -->
<!-- -->
<!-- © Copyright IBM Corp. 2010, 2011 -->
<!-- -->
<!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
<!-- you may not use this file except in compliance with the License. -->
<!-- You may obtain a copy of the License at: -->
<!-- -->
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
<!-- -->
<!-- Unless required by applicable law or agreed to in writing, software -->
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -->
<!-- implied. See the License for the specific language governing -->
<!-- permissions and limitations under the License. -->
<!-- -->
<!-- ******************************************************************* -->
<faces-config>
<faces-config-extension>
<namespace-uri>http://www.ibm.com/xsp/coreex</namespace-uri>
<default-prefix>xe</default-prefix>
<designer-extension>
<control-subpackage-name>dynamicview</control-subpackage-name>
</designer-extension>
</faces-config-extension>
<component>
<description>A view panel that dynamically creates its columns based on the view definition</description>
<display-name>Dynamic View Panel</display-name>
<!-- propose changing to include ext lib -->
<component-type>com.ibm.xsp.extlib.dynamicview.DynamicViewPanel</component-type>
<component-class>com.ibm.xsp.extlib.component.dynamicview.UIDynamicViewPanel</component-class>
<!-- Overridden to remove the designer default-value -->
<property>
<description>%/javax.faces.Data/rows/descr%</description>
<display-name>%/javax.faces.Data/rows/name%</display-name>
<property-name>rows</property-name>
<property-class>int</property-class>
<property-extension>
<designer-extension>
<category>data</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>This property defines the customizer to use, as a managed bean or a class name</description>
<display-name>Customizer Bean</display-name>
<property-name>customizerBean</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<localizable>false</localizable>
<designer-extension>
<category>basics</category>
<tags>
todo
</tags>
</designer-extension>
</property-extension>
</property>
<property>
<description>This event allows you to receive notifications of mouse click events on a column. Note that this event will be added, and executed, as an onclick event for the column. Thus, it gives access to the current row being clicked.</description>
<display-name>On Column Click</display-name>
<property-name>onColumnClick</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>events</category>
<event>true</event>
<subcategory>mouse-event</subcategory>
</designer-extension>
</property-extension>
</property>
<property>
<description>Shows a check box that allows the selection of the row</description>
<display-name>Show Check Box</display-name>
<property-name>showCheckbox</property-name>
<property-class>boolean</property-class>
<property-extension>
<designer-extension>
<category>format</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Shows a check box in the header that selects all the rows</description>
<display-name>Show Check Box in Header</display-name>
<property-name>showHeaderCheckbox</property-name>
<property-class>boolean</property-class>
<property-extension>
<designer-extension>
<category>format</category>
</designer-extension>
</property-extension>
</property>
<component-extension>
<base-component-type>com.ibm.xsp.ViewPanel</base-component-type>
<component-family>javax.faces.Data</component-family>
<renderer-type>com.ibm.xsp.ViewPanel</renderer-type>
<tag-name>dynamicViewPanel</tag-name>
<designer-extension>
<in-palette>true</in-palette>
<category>Extension Library</category>
</designer-extension>
</component-extension>
</component>
</faces-config>
| XPages | 4 | jesse-gallagher/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.controls/src/com/ibm/xsp/extlib/config/raw-extlib-dynamicview.xsp-config | [
"Apache-2.0"
] |
{-# LANGUAGE CPP, RankNTypes, UndecidableInstances, GADTs, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts, ScopedTypeVariables #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Graphics.UI.FLTK.LowLevel.TableRow
(
-- * Hierarchy
--
-- $hierarchy
-- * Widget Functions
--
-- $functions
)
where
#include "Fl_ExportMacros.h"
#include "Fl_Types.h"
#include "Fl_Table_RowC.h"
import C2HS hiding (cFromEnum, cFromBool, cToBool,cToEnum)
import Graphics.UI.FLTK.LowLevel.Fl_Enumerations
import Graphics.UI.FLTK.LowLevel.Fl_Types
import Graphics.UI.FLTK.LowLevel.Utils
import Graphics.UI.FLTK.LowLevel.Dispatch
import Graphics.UI.FLTK.LowLevel.Hierarchy
{# fun Fl_Table_Row_set_cols as setCols' { id `Ptr ()',`Int' } -> `()' #}
instance (impl ~ (Columns -> IO ())) => Op (SetCols ()) TableRow orig impl where
runOp _ _ table (Columns val) = withRef table $ \tablePtr -> setCols' tablePtr val
{# fun Fl_Table_Row_set_rows as setRows' { id `Ptr ()',`Int' } -> `()' #}
instance (impl ~ (Rows -> IO ())) => Op (SetRows ()) TableRow orig impl where
runOp _ _ table (Rows val) = withRef table $ \tablePtr -> setRows' tablePtr val
{# fun Fl_Table_Row_draw as draw'' { id `Ptr ()' } -> `()' #}
instance (impl ~ ( IO ())) => Op (Draw ()) TableRow orig impl where
runOp _ _ tableRow = withRef tableRow $ \tableRowPtr -> draw'' tableRowPtr
{# fun Fl_Table_Row_hide as hide' { id `Ptr ()' } -> `()' #}
instance (impl ~ ( IO ())) => Op (Hide ()) TableRow orig impl where
runOp _ _ tableRow = withRef tableRow $ \tableRowPtr -> hide' tableRowPtr
{# fun Fl_Table_Row_show as show' { id `Ptr ()' } -> `()' #}
instance (impl ~ ( IO ())) => Op (ShowWidget ()) TableRow orig impl where
runOp _ _ tableRow = withRef tableRow $ \tableRowPtr -> show' tableRowPtr
{# fun Fl_Table_Row_resize as resize' { id `Ptr ()',`Int',`Int',`Int',`Int' } -> `()' #}
instance (impl ~ (Rectangle -> IO ())) => Op (Resize ()) TableRow orig impl where
runOp _ _ table rectangle = let (x_pos', y_pos', width', height') = fromRectangle rectangle in withRef table $ \tablePtr -> resize' tablePtr x_pos' y_pos' width' height'
{# fun Fl_Table_Row_clear as clear' { id `Ptr ()' } -> `()' #}
instance (impl ~ ( IO ())) => Op (Clear ()) TableRow orig impl where
runOp _ _ table = withRef table $ \tablePtr -> clear' tablePtr
{# fun Fl_Table_Row_handle as handle' { id `Ptr ()', cFromEnum `Event' } -> `Int' #}
instance (impl ~ (Event -> IO(Either UnknownEvent ()))) => Op (Handle ()) TableRow orig impl where
runOp _ _ table event = withRef table $ \tablePtr -> handle' tablePtr event >>= return . successOrUnknownEvent
-- $hierarchy
-- @
-- "Graphics.UI.FLTK.LowLevel.Base.Widget"
-- |
-- v
-- "Graphics.UI.FLTK.LowLevel.Base.Group"
-- |
-- v
-- "Graphics.UI.FLTK.LowLevel.Base.Table"
-- |
-- v
-- "Graphics.UI.FLTK.LowLevel.Base.TableRow"
-- |
-- v
-- "Graphics.UI.FLTK.LowLevel.TableRow"
-- @
-- $functions
-- @
-- clear :: 'Ref' 'TableRow' -> 'IO' ()
--
-- draw :: 'Ref' 'TableRow' -> 'IO' ()
--
-- handle :: 'Ref' 'TableRow' -> 'Event' -> 'IO(Either' 'UnknownEvent' ())
--
-- hide :: 'Ref' 'TableRow' -> 'IO' ()
--
-- resize :: 'Ref' 'TableRow' -> 'Rectangle' -> 'IO' ()
--
-- setCols :: 'Ref' 'TableRow' -> 'Columns' -> 'IO' ()
--
-- setRows :: 'Ref' 'TableRow' -> 'Rows' -> 'IO' ()
--
-- showWidget :: 'Ref' 'TableRow' -> 'IO' ()
-- @
| C2hs Haskell | 5 | ericu/fltkhs | src/Graphics/UI/FLTK/LowLevel/TableRow.chs | [
"MIT"
] |
BEGIN {
FS = " \\| "
printf "Test Name"
}
$1 !~ /\[DB BENCHMARK\]/ { next }
$2 == "Begin" {
testName = $3
next
}
$2 == "End" {
testName = ""
next
}
{
if (substr($2, 1, 1) == ">")
next
item = $2
value = $3
if (!(item in itemMapping)) {
itemMapping[item] = itemMapping[0] += 1
printf ",%s", item
}
idxItem = itemMapping[item]
idx = bench[testName][idxItem][0] += 1
bench[testName][idxItem][idx] = value
}
END {
printf "\n"
for (testName in bench) {
for (itemId in bench[testName]) {
delete bench[testName][itemId][0]
total = 0
count = 0
for (idx in bench[testName][itemId]) {
total += bench[testName][itemId][idx]
count += 1
}
delete bench[testName][itemId]
bench[testName][itemId] = total / count / 1000000
}
printf "%s", testName
for (i = 1; i <= itemMapping[0]; i++) {
printf ",%.0f", bench[testName][i]
}
printf "\n"
}
} | Awk | 3 | zhangqushun/wcdb | android/samples/benchmark/summary.awk | [
"Apache-2.0"
] |
// RUN: %target-swift-frontend -emit-ir %s | %FileCheck %s
// rdar://problem/46632723
public struct Foo<T>: Hashable { }
public struct Bar<U, V> {
public subscript<W> (foo: W) -> Int {
return 0
}
// CHECK-LABEL: define {{.*}} @"$s17keypath_subscript3FooVyqd__Gr0__lTh"
// CHECK: call swiftcc %swift.metadata_response @"$s17keypath_subscript3FooVMa"
public func blah<W>(_: W) -> AnyKeyPath {
return \Bar<U, V>.[Foo<W>()] as AnyKeyPath
}
}
| Swift | 4 | lwhsu/swift | test/IRGen/keypath_subscript.swift | [
"Apache-2.0"
] |
# This file is part of NIT ( http://www.nitlanguage.org ).
#
# Copyright 2013 Alexis Laferrière <alexis.laf@xymus.net>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Example using the privileges module to drop privileges from root
module drop_privileges
import privileges
# basic command line options
var opts = new OptionContext
var opt_ug = new OptionUserAndGroup.for_dropping_privileges
opt_ug.mandatory = true
opts.add_option(opt_ug)
# parse and check command line options
opts.parse(args)
if not opts.errors.is_empty then
print opts.errors
print "Usage: drop_privileges [options]"
opts.usage
exit 1
end
# original user
print "before {sys.uid}:{sys.gid}"
# make the switch
var user_group = opt_ug.value
assert user_group != null
user_group.drop_privileges
# final user
print "after {sys.uid}:{sys.egid}"
| Nit | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Nit/drop_privileges.nit | [
"MIT"
] |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import pathlib
import subprocess
from dotenv import Dotenv
def get_dotenv(filename='.env'):
return Dotenv(str(pathlib.Path(__file__).parent / filename))
def sh(*args):
proc = subprocess.Popen(args, stdout=subprocess.PIPE)
stdout, _ = proc.communicate()
return stdout
def get_log_path(name):
path = pathlib.Path(__file__).parent / 'logs' / name
path.parent.mkdir(parents=True, exist_ok=True)
return path
| Python | 4 | johndemlon/hacker-scripts | python3/hackerutils.py | [
"WTFPL"
] |
integer paused = 0;
key botID;
default
{
state_entry()
{
//Creates the bot in the sim
botID = botCreateBot("Test", "Bot", "", llGetPos(), BOT_CREATE_DEFAULT);
//Causes the bot to begin following the given avatar.
key avatarToFollow = llGetOwner();
//Contains a list of options that will change how the
// bot will follow the avatar.
// The options are the following:
// BOT_ALLOW_RUNNING - Sets whether the bot is allowed to run
// when attempting to follow the avatar. Takes a boolean
// (TRUE or FALSE) as to whether the bot can run.
// BOT_ALLOW_FLYING - Sets whether the bot is allowed to fly
// when attempting to follow the avatar. Takes a boolean
// (TRUE or FALSE) as to whether the bot can fly.
// BOT_ALLOW_JUMPING - Sets whether the bot is allowed to jump
// when attempting to follow the avatar. Takes a boolean
// (TRUE or FALSE) as to whether the bot can jump.
// BOT_FOLLOW_OFFSET - Causes the bot to attempt to stay some
// offset away from the avatar rather than attempting to get
// as close to the avatar as possible. Takes a vector parameter
// as the distance away to follow.
// BOT_REQUIRES_LINE_OF_SIGHT - Causes the bot to only follow
// the avatar if the avatar is within sight and will
// trigger the lost avatar event when the avatar leaves sight.
// Takes a boolean parameter (TRUE or FALSE).
// BOT_START_FOLLOWING_DISTANCE - The distance before the bot
// will begin moving after the avatar once the bot has gotten
// to the avatar and stopped. Takes a float that is the distance
// away from the avatar.
// BOT_STOP_FOLLOWING_DISTANCE - The distance before the bot
// will stop moving closer to the avatar. Takes a float that
// is the distance away from the avatar.
// BOT_LOST_AVATAR_DISTANCE - The distance before
// the bot gives up attempting to follow the avatar and
// triggers the lost avatar event. Takes a float that is the
// distance away from the avatar.
list botFollowingOptions = [BOT_ALLOW_FLYING, FALSE];
botFollowAvatar(botID, avatarToFollow, botFollowingOptions);
}
touch_start(integer n)
{
if(paused)
{
//Resumes the bot's movement once it has been paused by
// botPauseMovement.
botResumeMovement(botID);
}
else
{
//Stops the bot's movements from either botFollowAvatar or
// botSetNavigationPath until botResumeMovement is called.
botPauseMovement(botID);
}
paused = !paused;
}
}
| LSL | 4 | Asterionworld/ether | doc/bot LSL Functions/Examples/bot Follow Avatar.lsl | [
"BSD-3-Clause"
] |
#include <ATen/native/FunctionOfAMatrixUtils.h>
#include <ATen/native/cuda/Loops.cuh>
#include <ATen/cuda/detail/OffsetCalculator.cuh>
#include <ATen/cuda/Atomic.cuh>
#include <ATen/cuda/CUDAContext.h>
namespace at { namespace native {
namespace {
template <int n_threads, int n_elems_per_thread, typename func_t>
C10_LAUNCH_BOUNDS_2(n_threads, n_elems_per_thread)
__global__ void _elemwise_kernel(int total_n_elems, func_t f) {
constexpr int total_work_block = n_threads * n_elems_per_thread;
int idx = total_work_block * blockIdx.x + threadIdx.x;
#pragma unroll
for (int i = 0; i < n_elems_per_thread; ++i) {
if (idx < total_n_elems) {
f(idx);
idx += n_threads;
}
}
}
template <int n_threads, int n_elems_per_thread, typename func_t>
void _lauch_kernel(int total_n_elems, const func_t& f) {
TORCH_INTERNAL_ASSERT(
total_n_elems >= 0 && total_n_elems <= std::numeric_limits<int32_t>::max()
);
dim3 block(n_threads);
constexpr int total_work_block = n_threads * n_elems_per_thread;
dim3 grid((total_n_elems + total_work_block - 1) / total_work_block);
auto stream = at::cuda::getCurrentCUDAStream();
_elemwise_kernel<n_threads, n_elems_per_thread, func_t>
<<<grid, block, 0, stream>>>(total_n_elems, f);
C10_CUDA_KERNEL_LAUNCH_CHECK();
}
template <typename scalar_t>
void _compute_linear_combination_internal_kernel(
TensorIterator& iter,
int32_t in_stride,
int32_t coeff_stride,
int32_t num_summations
) {
if (iter.numel() == 0) {
return;
}
if (!iter.can_use_32bit_indexing()) {
for (auto& sub_iter : iter.with_32bit_indexing()) {
_compute_linear_combination_internal_kernel<scalar_t>(
sub_iter, in_stride, coeff_stride, num_summations
);
}
return;
}
auto offset_calc = make_offset_calculator<3>(iter);
char* __restrict__ out_ptr = reinterpret_cast<char*>(iter.data_ptr(0));
char* __restrict__ in_ptr = reinterpret_cast<char*>(iter.data_ptr(1));
char* __restrict__ coeff_ptr = reinterpret_cast<char*>(iter.data_ptr(2));
auto loop = [=]C10_DEVICE(int idx) {
auto offsets = offset_calc.get(idx);
auto* __restrict__ out_data = reinterpret_cast<scalar_t*>(
out_ptr + offsets[0]
);
auto* __restrict__ in_data = reinterpret_cast<scalar_t*>(
in_ptr + offsets[1]
);
using primitive_t = typename scalar_value_type<scalar_t>::type;
auto* __restrict__ coeff_data = reinterpret_cast<primitive_t*>(
coeff_ptr + offsets[2]
);
// perform summation
for (int32_t i = 0; i < num_summations; ++i) {
*out_data += in_data[i * in_stride] * coeff_data[i * coeff_stride];
}
};
_lauch_kernel<num_threads, thread_work_size>(iter.numel(), loop);
}
void _compute_linear_combination_cuda_kernel(
TensorIterator& iter,
int64_t in_stride,
int64_t coeff_stride,
int64_t num_summations
) {
AT_DISPATCH_ALL_TYPES_AND_COMPLEX_AND3(
at::ScalarType::Half, at::ScalarType::Bool, at::ScalarType::BFloat16,
iter.dtype(),
"_compute_linear_combination_cuda", [&] () {
_compute_linear_combination_internal_kernel<scalar_t>(
iter, in_stride, coeff_stride, num_summations
);
}
);
}
}
REGISTER_DISPATCH(_compute_linear_combination_stub, &_compute_linear_combination_cuda_kernel);
}} // namespace at::native
| Cuda | 4 | sanchitintel/pytorch | aten/src/ATen/native/cuda/FunctionOfAMatrixUtilsKernel.cu | [
"Intel"
] |
// Copyright (c) 2011, XMOS Ltd., All rights reserved
// This software is freely distributable under a derivative of the
// University of Illinois/NCSA Open Source License posted in
// LICENSE.txt and at <http://github.xcore.com/>
// SPI master and SPI slave loopback demo
#include <xs1.h>
#include <print.h>
#include "spi_master.h"
#include "spi_slave.h"
#define DEMO_RUNS 3
spi_master_interface spi_mif =
{
XS1_CLKBLK_1,
XS1_CLKBLK_2,
XS1_PORT_1A,
XS1_PORT_1E,
XS1_PORT_1C
};
out port spi_ss = XS1_PORT_1G; // Single select line, not part of SPI master API
spi_slave_interface spi_sif =
{
XS1_CLKBLK_3,
XS1_PORT_1H,
XS1_PORT_1B,
XS1_PORT_1D,
XS1_PORT_1F
};
void slave_select()
{
spi_ss <: 0;
}
void slave_deselect()
{
spi_ss <: 1;
}
#define BYTE_VALUE 0xA1
#define SHORT_VALUE 0xB1B2
#define INT_VALUE 0xC1C2C3C4
#define BUFFER_VALUE {0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, 0xD8}
#define BUFFER_LENGTH 8
int check_buffer(unsigned char buffer[], int num_bytes)
{
unsigned char tmp_buff[BUFFER_LENGTH] = BUFFER_VALUE;
for (int i = 0; i < num_bytes; i++)
{
if (buffer[i] != tmp_buff[i])
{
return 1;
}
}
return 0;
}
void check_data(unsigned char b, unsigned short s, unsigned int i, unsigned char buffer[], int num_bytes)
{
int errorCount = 0;
if (b != BYTE_VALUE)
{
errorCount++;
printstr("master sent byte:\t");
printhexln(BYTE_VALUE);
printstr("master received byte:\t");
printhexln(b);
}
if (s != SHORT_VALUE)
{
errorCount++;
printstr("master sent short:\t");
printhexln(SHORT_VALUE);
printstr("master received short:\t");
printhexln(s);
}
if (i != INT_VALUE)
{
errorCount++;
printstr("master sent word:\t");
printhexln(INT_VALUE);
printstr("master received word:\t");
printhexln(i);
}
if (check_buffer(buffer, num_bytes))
{
unsigned char tmp_buff[BUFFER_LENGTH] = BUFFER_VALUE;
errorCount++;
printstr("master sent buffer:\t{");
for (int j = 0; j < BUFFER_LENGTH-1; j++)
{
printhex(tmp_buff[j]);
printstr(", ");
}
printhex(tmp_buff[BUFFER_LENGTH-1]);
printstrln("}");
printstr("master received buffer:\t{");
for (int j = 0; j < BUFFER_LENGTH-1; j++)
{
printhex(buffer[j]);
printstr(", ");
}
printhex(buffer[BUFFER_LENGTH-1]);
printstrln("}");
}
if (errorCount)
{
printint(errorCount);
printstrln(" errors detected");
}
else
{
printstrln("All data returned from slave received correctly");
}
}
void master_demo(spi_master_interface &spi_mif)
{
unsigned char b = BYTE_VALUE;
unsigned short s = SHORT_VALUE;
unsigned int i = INT_VALUE;
unsigned char buff[BUFFER_LENGTH] = BUFFER_VALUE;
// Enable slave
slave_select();
// Write to slave
spi_master_out_byte(spi_mif, b);
spi_master_out_short(spi_mif, s);
spi_master_out_word(spi_mif, i);
spi_master_out_buffer(spi_mif, buff, BUFFER_LENGTH);
// Read from slave
b = spi_master_in_byte(spi_mif);
s = spi_master_in_short(spi_mif);
i = spi_master_in_word(spi_mif);
spi_master_in_buffer(spi_mif, buff, BUFFER_LENGTH);
// Disable slave
slave_deselect();
// Check the data received is correct
check_data(b, s, i, buff, BUFFER_LENGTH);
}
void slave_demo(spi_slave_interface &spi_sif)
{
unsigned char b;
unsigned short s;
unsigned int i;
unsigned char buff[BUFFER_LENGTH];
select
{
// Wait for slave to be enabled
case spi_sif.ss when pinseq(1) :> void : // SS port inversion enabled, slave expected to be active low
// Read from master
b = spi_slave_in_byte(spi_sif);
s = spi_slave_in_short(spi_sif);
i = spi_slave_in_word(spi_sif);
spi_slave_in_buffer(spi_sif, buff, BUFFER_LENGTH);
// Write to master
spi_slave_out_byte(spi_sif, b);
spi_slave_out_short(spi_sif, s);
spi_slave_out_word(spi_sif, i);
spi_slave_out_buffer(spi_sif, buff, BUFFER_LENGTH);
break;
}
}
void run_master(spi_master_interface &spi_mif)
{
spi_master_init(spi_mif, SPI_CLOCK_DIV);
slave_deselect(); // Ensure slave select is in correct start state
for (int i = 0; i < DEMO_RUNS; i++)
{
printstr("Demo run ");
printintln(i+1);
master_demo(spi_mif);
}
spi_master_shutdown(spi_mif);
}
void run_slave(spi_slave_interface &spi_sif)
{
spi_slave_init(spi_sif);
for (int i = 0; i < DEMO_RUNS; i++)
{
slave_demo(spi_sif);
}
spi_slave_shutdown(spi_sif);
}
int main(void)
{
printstr("Running in SPI mode ");
printintln(SPI_MODE);
printstr("with SPI frequency ");
printint((100/(2*SPI_CLOCK_DIV)));
printstrln("MHz");
printstr("for ");
printint(DEMO_RUNS);
printstrln(" demo runs");
// Run SPI master and slave on seperate logical cores
par
{
run_master(spi_mif);
run_slave(spi_sif);
}
return 0;
}
| XC | 4 | smola/language-dataset | data/github.com/xcore/sc_spi/195c6bb6e82e6fef775a1ecceec872c264341a7b/app_spi_loopback_demo/src/spi_loopback_demo.xc | [
"MIT"
] |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict
* @format
*/
// Declarations for functionality exposed by the Hermes VM.
//
// For backwards-compatibility, code that uses such functionality must also
// check explicitly at run-time whether the object(s) and method(s) exist, and
// fail safely if not.
/**
* HermesInternalType is an object containing functions used to interact with
* the VM in a way that is not standardized by the JS spec.
* There are limited guarantees about these functions, and they should not be
* widely used. Consult with the Hermes team before using any of these.
* There may be other visible properties on this object; however, those are
* only exposed for testing purposes: do not use them.
*/
declare type $HermesInternalType = {
// All members are optional because they may not exist when OTA'd to older
// VMs.
+getNumGCs?: () => number,
+getGCTime?: () => number,
+getNativeCallTime?: () => number,
+getNativeCallCount?: () => number,
+getGCCPUTime?: () => number,
/**
* Hermes can embed an "epilogue" to the bytecode file with arbitrary bytes.
* At most one epilogue will exist per bytecode module (which can be
* different than a JS module).
* Calling this function will return all such epilogues and convert the
* bytes to numbers in the range of 0-255.
*/
+getEpilogues?: () => Array<Array<number>>,
/**
* Query the VM for various statistics about performance.
* There are no guarantees about what keys exist in it, but they can be
* printed for informational purposes.
* @return An object that maps strings to various types of performance
* statistics.
*/
+getInstrumentedStats?: () => {[string]: number | string, ...},
/**
* Query the VM for any sort of runtime properties that it wants to report.
* There are no guarantees about what keys exist in it, but they can be
* printed for informational purposes.
* @return An object that maps strings to various types of runtime properties.
*/
+getRuntimeProperties?: () => {
'OSS Release Version': string,
Build: string,
[string]: mixed,
},
/**
* Tell Hermes that at this point the surface has transitioned from TTI to
* post-TTI. The VM can change some of its internal behavior to optimize for
* post-TTI scenarios.
* This can be called several times but will have no effect after the first
* call.
*/
+ttiReached?: () => void,
/**
* Tell Hermes that at this point the surface has transitioned from TTRC to
* post-TTRC. The VM can change some of its internal behavior to optimize for
* post-TTRC scenarios.
* This can be called several times but will have no effect after the first
* call.
*/
+ttrcReached?: () => void,
/**
* Query the VM to see whether or not it enabled Promise.
*/
+hasPromise?: () => boolean,
/**
* Enable promise rejection tracking with the given options.
* The API mirrored the `promise` npm package, therefore it's typed same as
* the `enable` function of module `promise/setimmediate/rejection-tracking`
* declared in ./flow-typed/npm/promise_v8.x.x.js.
*/
+enablePromiseRejectionTracker?: (
options: ?{
whitelist?: ?Array<mixed>,
allRejections?: ?boolean,
onUnhandled?: ?(number, mixed) => void,
onHandled?: ?(number, mixed) => void,
},
) => void,
/**
* Query the VM to see whether or not it use the engine Job queue.
*/
+useEngineQueue?: () => boolean,
/**
* Enqueue a JavaScript callback function as a Job into the engine Job queue.
*/
+enqueueJob?: <TArguments: Array<mixed>>(
jobCallback: (...args: TArguments) => mixed,
) => void,
};
| JavaScript | 5 | MikeyAlmighty/react-native | flow/HermesInternalType.js | [
"CC-BY-4.0",
"MIT"
] |
#require "hbtest"
#pragma linenumber=on
#include "hbclass.ch"
#stdout "stdout"
#warning "warning"
#define MYCONST 100
#undef MYCONST
#ifdef __HARBOUR__
#else
#endif
#if defined( __HARBOUR__ ) .OR. .T.
#elif defined( __HARBOUR__ )
#endif
THREAD STATIC t_var := "thread"
REQUEST AllTrim
ANNOUNCE my_module
PROCEDURE Main()
MEMVAR p_var, m_var
FIELD fld
STATIC s_test := "static"
LOCAL o := TTest():New( "one", "two" ), tmp
LOCAL oError
LOCAL bBlock := {| tmp | QOut( tmp ) }
LOCAL hHash := { "name" => "value", "name2" => "value2", 2 => 1 }
PUBLIC p_var := "public"
PRIVATE m_var := "private"
PARAMETERS p1
Set( _SET_DATEFORMAT, "yyyy-mm-dd" )
CLS
@ 10, 10 SAY "Hello world!"
? hb_ValToExp( o )
? m->p1
? hHash[ "name" ], hHash[ 2 ]
FOR tmp := 1 TO 10 STEP 2
? tmp
NEXT
FOR EACH tmp IN { "a", "b" } DESCEND
? tmp
NEXT
? 10.01 + 2 - 3 / 4 * 5 ^ 6 ** 1
? 2 < 1, 2 > 1, 2 >= 1, 2 <= 1, 2 == 1, 2 = 1, 2 != 1, 2 <> 1, 2 # 1
? -( 1 + 2 ), "a" $ "ab", 10 % 2
tmp := 0
DO WHILE tmp < 2
? tmp++
ENDDO
tmp := 0
WHILE tmp < 2
? ++tmp
IF tmp >= 0xFF
LOOP
ENDIF
EXIT
ENDDO
--tmp
tmp--
IF tmp < -10.0
? NIL
ELSEIF .F.
? 0d19800101
ELSE
? "string"
ENDIF
DO CASE
CASE tmp == 1
? "A"
OTHERWISE
? "B"
ENDCASE
SWITCH tmp
CASE 1
? "A"
EXIT
OTHERWISE
? "B"
ENDSWITCH
BEGIN SEQUENCE WITH __BreakBlock()
BREAK
RECOVER USING oError
END /* SEQUENCE */
local_func( @hHash )
RETURN
INIT PROCEDURE init_proc()
RETURN
EXIT PROCEDURE exit_proc()
RETURN
PROCEDURE returning_nothing()
RETURN
FUNCTION pub_func()
RETURN .T.
STATIC FUNCTION local_func()
RETURN .F.
CREATE CLASS TTest INHERIT TParent
VAR One, Two
METHOD New( One )
METHOD Test() INLINE QOut( "Hello" )
METHOD MethProc()
ENDCLASS
METHOD PROCEDURE MethProc()
RETURN
METHOD New( One ) CLASS TTest
::super:New()
::One := One
RETURN Self
CREATE CLASS TParent
VAR One
METHOD New()
ENDCLASS
METHOD New() CLASS TParent
? "TParent:New()"
RETURN Self
// This is a comment
/* This is a comment */
/* This is
a comment */
* This is a comment
&& This is a comment
NOTE This is a comment
note This is a comment
NOTE
FUNCTION pub_func2()
? "hello world!"
? 'hello world!'
? "hello\world!"
? "\"
? "hello world!"
RETURN .T.
| xBase | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/xBase/sample.prg | [
"MIT"
] |
(module
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $i64_=>_i64 (func (param i64) (result i64)))
(type $none_=>_none (func))
(type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32)))
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
(global $~lib/memory/__data_end i32 (i32.const 76))
(global $~lib/memory/__stack_pointer (mut i32) (i32.const 16460))
(global $~lib/memory/__heap_base i32 (i32.const 16460))
(memory $0 1)
(data (i32.const 12) "<\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00 \00\00\00s\00t\00d\00/\00p\00o\00l\00y\00f\00i\00l\00l\00s\00.\00t\00s\00\00\00\00\00\00\00\00\00\00\00\00\00")
(table $0 1 funcref)
(elem $0 (i32.const 1))
(export "memory" (memory $0))
(start $~start)
(func $~lib/polyfills/bswap<u8> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 1
i32.const 1
i32.eq
drop
local.get $0
return
)
(func $~lib/polyfills/bswap<i8> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 1
i32.const 1
i32.eq
drop
local.get $0
return
)
(func $~lib/polyfills/bswap<u16> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 2
i32.const 1
i32.eq
drop
i32.const 2
i32.const 2
i32.eq
drop
local.get $0
i32.const 8
i32.const 15
i32.and
i32.shl
local.get $0
i32.const 65535
i32.and
i32.const 8
i32.const 15
i32.and
i32.shr_u
i32.or
return
)
(func $~lib/polyfills/bswap<i16> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 2
i32.const 1
i32.eq
drop
i32.const 2
i32.const 2
i32.eq
drop
local.get $0
i32.const 8
i32.const 15
i32.and
i32.shl
local.get $0
i32.const 65535
i32.and
i32.const 8
i32.const 15
i32.and
i32.shr_u
i32.or
return
)
(func $~lib/polyfills/bswap<u32> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 4
i32.const 1
i32.eq
drop
i32.const 4
i32.const 2
i32.eq
drop
i32.const 4
i32.const 4
i32.eq
drop
local.get $0
i32.const -16711936
i32.and
i32.const 8
i32.rotl
local.get $0
i32.const 16711935
i32.and
i32.const 8
i32.rotr
i32.or
return
)
(func $~lib/polyfills/bswap<i32> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 4
i32.const 1
i32.eq
drop
i32.const 4
i32.const 2
i32.eq
drop
i32.const 4
i32.const 4
i32.eq
drop
local.get $0
i32.const -16711936
i32.and
i32.const 8
i32.rotl
local.get $0
i32.const 16711935
i32.and
i32.const 8
i32.rotr
i32.or
return
)
(func $~lib/polyfills/bswap<u64> (param $0 i64) (result i64)
(local $1 i64)
(local $2 i64)
(local $3 i64)
i32.const 1
drop
i32.const 8
i32.const 1
i32.eq
drop
i32.const 8
i32.const 2
i32.eq
drop
i32.const 8
i32.const 4
i32.eq
drop
i32.const 8
i32.const 8
i32.eq
drop
local.get $0
i64.const 8
i64.shr_u
i64.const 71777214294589695
i64.and
local.set $1
local.get $0
i64.const 71777214294589695
i64.and
i64.const 8
i64.shl
local.set $2
local.get $1
local.get $2
i64.or
local.set $3
local.get $3
i64.const 16
i64.shr_u
i64.const 281470681808895
i64.and
local.set $1
local.get $3
i64.const 281470681808895
i64.and
i64.const 16
i64.shl
local.set $2
local.get $1
local.get $2
i64.or
i64.const 32
i64.rotr
return
)
(func $~lib/polyfills/bswap<i64> (param $0 i64) (result i64)
(local $1 i64)
(local $2 i64)
(local $3 i64)
i32.const 1
drop
i32.const 8
i32.const 1
i32.eq
drop
i32.const 8
i32.const 2
i32.eq
drop
i32.const 8
i32.const 4
i32.eq
drop
i32.const 8
i32.const 8
i32.eq
drop
local.get $0
i64.const 8
i64.shr_u
i64.const 71777214294589695
i64.and
local.set $1
local.get $0
i64.const 71777214294589695
i64.and
i64.const 8
i64.shl
local.set $2
local.get $1
local.get $2
i64.or
local.set $3
local.get $3
i64.const 16
i64.shr_u
i64.const 281470681808895
i64.and
local.set $1
local.get $3
i64.const 281470681808895
i64.and
i64.const 16
i64.shl
local.set $2
local.get $1
local.get $2
i64.or
i64.const 32
i64.rotr
return
)
(func $~lib/polyfills/bswap<usize> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 4
i32.const 1
i32.eq
drop
i32.const 4
i32.const 2
i32.eq
drop
i32.const 4
i32.const 4
i32.eq
drop
local.get $0
i32.const -16711936
i32.and
i32.const 8
i32.rotl
local.get $0
i32.const 16711935
i32.and
i32.const 8
i32.rotr
i32.or
return
)
(func $~lib/polyfills/bswap<isize> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 4
i32.const 1
i32.eq
drop
i32.const 4
i32.const 2
i32.eq
drop
i32.const 4
i32.const 4
i32.eq
drop
local.get $0
i32.const -16711936
i32.and
i32.const 8
i32.rotl
local.get $0
i32.const 16711935
i32.and
i32.const 8
i32.rotr
i32.or
return
)
(func $~lib/polyfills/bswap16<u8> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 1
i32.const 1
i32.eq
drop
local.get $0
return
)
(func $~lib/polyfills/bswap16<i8> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 1
i32.const 1
i32.eq
drop
local.get $0
return
)
(func $~lib/polyfills/bswap16<u16> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 2
i32.const 1
i32.eq
drop
i32.const 2
i32.const 2
i32.eq
drop
local.get $0
i32.const 8
i32.const 15
i32.and
i32.shl
local.get $0
i32.const 65535
i32.and
i32.const 8
i32.const 15
i32.and
i32.shr_u
i32.or
return
)
(func $~lib/polyfills/bswap16<i16> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 2
i32.const 1
i32.eq
drop
i32.const 2
i32.const 2
i32.eq
drop
local.get $0
i32.const 8
i32.const 15
i32.and
i32.shl
local.get $0
i32.const 65535
i32.and
i32.const 8
i32.const 15
i32.and
i32.shr_u
i32.or
return
)
(func $~lib/polyfills/bswap16<u32> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 4
i32.const 1
i32.eq
drop
i32.const 4
i32.const 2
i32.eq
drop
i32.const 4
i32.const 4
i32.eq
drop
local.get $0
i32.const 255
i32.and
i32.const 8
i32.shl
local.get $0
i32.const 8
i32.shr_u
i32.const 255
i32.and
i32.or
local.get $0
i32.const -65536
i32.and
i32.or
return
)
(func $~lib/polyfills/bswap16<i32> (param $0 i32) (result i32)
i32.const 1
drop
i32.const 4
i32.const 1
i32.eq
drop
i32.const 4
i32.const 2
i32.eq
drop
i32.const 4
i32.const 4
i32.eq
drop
local.get $0
i32.const 255
i32.and
i32.const 8
i32.shl
local.get $0
i32.const 8
i32.shr_u
i32.const 255
i32.and
i32.or
local.get $0
i32.const -65536
i32.and
i32.or
return
)
(func $start:std/polyfills
i32.const 170
call $~lib/polyfills/bswap<u8>
i32.const 255
i32.and
i32.const 170
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 4
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const 170
call $~lib/polyfills/bswap<i8>
i32.extend8_s
i32.const 170
i32.extend8_s
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 5
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const 43707
call $~lib/polyfills/bswap<u16>
i32.const 65535
i32.and
i32.const 48042
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 8
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const 43707
call $~lib/polyfills/bswap<i16>
i32.extend16_s
i32.const 48042
i32.extend16_s
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 9
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const -1430532899
call $~lib/polyfills/bswap<u32>
i32.const -573785174
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 12
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const -1430532899
call $~lib/polyfills/bswap<i32>
i32.const -573785174
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 13
i32.const 1
call $~lib/builtins/abort
unreachable
end
i64.const 4822679907192029
call $~lib/polyfills/bswap<u64>
i64.const -2464388556401798912
i64.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 16
i32.const 1
call $~lib/builtins/abort
unreachable
end
i64.const 4822679907192029
call $~lib/polyfills/bswap<i64>
i64.const -2464388556401798912
i64.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 17
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const -1430532899
call $~lib/polyfills/bswap<usize>
i32.const -573785174
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 20
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const -1430532899
call $~lib/polyfills/bswap<isize>
i32.const -573785174
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 21
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const 170
call $~lib/polyfills/bswap16<u8>
i32.const 255
i32.and
i32.const 170
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 24
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const 170
call $~lib/polyfills/bswap16<i8>
i32.extend8_s
i32.const 170
i32.extend8_s
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 25
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const 43707
call $~lib/polyfills/bswap16<u16>
i32.const 65535
i32.and
i32.const 48042
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 28
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const 43707
call $~lib/polyfills/bswap16<i16>
i32.extend16_s
i32.const 48042
i32.extend16_s
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 29
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const -7820613
call $~lib/polyfills/bswap16<u32>
i32.const -7816278
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 32
i32.const 1
call $~lib/builtins/abort
unreachable
end
i32.const -7820613
call $~lib/polyfills/bswap16<i32>
i32.const -7816278
i32.eq
i32.eqz
if
i32.const 0
i32.const 32
i32.const 33
i32.const 1
call $~lib/builtins/abort
unreachable
end
)
(func $~start
call $start:std/polyfills
)
)
| WebAssembly | 2 | romdotdog/assemblyscript | tests/compiler/std/polyfills.untouched.wat | [
"Apache-2.0"
] |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:shared_preferences/shared_preferences.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
group('$SharedPreferences', () {
const String testString = 'hello world';
const bool testBool = true;
const int testInt = 42;
const double testDouble = 3.14159;
const List<String> testList = <String>['foo', 'bar'];
const String testString2 = 'goodbye world';
const bool testBool2 = false;
const int testInt2 = 1337;
const double testDouble2 = 2.71828;
const List<String> testList2 = <String>['baz', 'quox'];
late SharedPreferences preferences;
setUp(() async {
preferences = await SharedPreferences.getInstance();
});
tearDown(() {
preferences.clear();
});
testWidgets('reading', (WidgetTester _) async {
expect(preferences.get('String'), isNull);
expect(preferences.get('bool'), isNull);
expect(preferences.get('int'), isNull);
expect(preferences.get('double'), isNull);
expect(preferences.get('List'), isNull);
expect(preferences.getString('String'), isNull);
expect(preferences.getBool('bool'), isNull);
expect(preferences.getInt('int'), isNull);
expect(preferences.getDouble('double'), isNull);
expect(preferences.getStringList('List'), isNull);
});
testWidgets('writing', (WidgetTester _) async {
await Future.wait(<Future<bool>>[
preferences.setString('String', testString2),
preferences.setBool('bool', testBool2),
preferences.setInt('int', testInt2),
preferences.setDouble('double', testDouble2),
preferences.setStringList('List', testList2)
]);
expect(preferences.getString('String'), testString2);
expect(preferences.getBool('bool'), testBool2);
expect(preferences.getInt('int'), testInt2);
expect(preferences.getDouble('double'), testDouble2);
expect(preferences.getStringList('List'), testList2);
});
testWidgets('removing', (WidgetTester _) async {
const String key = 'testKey';
await preferences.setString(key, testString);
await preferences.setBool(key, testBool);
await preferences.setInt(key, testInt);
await preferences.setDouble(key, testDouble);
await preferences.setStringList(key, testList);
await preferences.remove(key);
expect(preferences.get('testKey'), isNull);
});
testWidgets('clearing', (WidgetTester _) async {
await preferences.setString('String', testString);
await preferences.setBool('bool', testBool);
await preferences.setInt('int', testInt);
await preferences.setDouble('double', testDouble);
await preferences.setStringList('List', testList);
await preferences.clear();
expect(preferences.getString('String'), null);
expect(preferences.getBool('bool'), null);
expect(preferences.getInt('int'), null);
expect(preferences.getDouble('double'), null);
expect(preferences.getStringList('List'), null);
});
testWidgets('simultaneous writes', (WidgetTester _) async {
final List<Future<bool>> writes = <Future<bool>>[];
const int writeCount = 100;
for (int i = 1; i <= writeCount; i++) {
writes.add(preferences.setInt('int', i));
}
final List<bool> result = await Future.wait(writes, eagerError: true);
// All writes should succeed.
expect(result.where((bool element) => !element), isEmpty);
// The last write should win.
expect(preferences.getInt('int'), writeCount);
});
});
}
| Dart | 5 | coral-labs/plugins | packages/shared_preferences/shared_preferences/example/integration_test/shared_preferences_test.dart | [
"BSD-3-Clause"
] |
<nav id="search-section" class="section project-section" class="initially-hidden">
<form action="#" method="get" accept-charset="utf-8">
<h3 class="section-header">
<input type="text" name="search" placeholder="Search" id="search-field"
title="Type to search, Up and Down to navigate, Enter to load">
</h3>
</form>
<ul id="search-results" class="initially-hidden"></ul>
</nav>
| RHTML | 3 | trolldbois/metasploit-framework | lib/gemcache/ruby/1.9.1/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml | [
"OpenSSL",
"Unlicense"
] |
#include "caffe2/operators/batch_matmul_op.h"
#include "caffe2/core/context_gpu.h"
namespace caffe2 {
template <>
bool BatchMatMulOp<CUDAContext, DefaultEngine>::RunOnDevice() {
return DispatchHelper<TensorTypes<float, at::Half>>::call(this, Input(0));
}
REGISTER_CUDA_OPERATOR(BatchMatMul, BatchMatMulOp<CUDAContext>);
#if !defined(USE_ROCM)
template <>
bool BatchMatMulOp<CUDAContext, TensorCoreEngine>::RunOnDevice() {
return DispatchHelper<TensorTypes<float, at::Half>>::call(this, Input(0));
}
REGISTER_CUDA_OPERATOR_WITH_ENGINE(
BatchMatMul,
TENSORCORE,
BatchMatMulOp<CUDAContext, TensorCoreEngine>);
#endif
} // namespace caffe2
| Cuda | 3 | xiaohanhuang/pytorch | caffe2/operators/batch_matmul_op.cu | [
"Intel"
] |
CREATE TABLE `double` (
`ref` INT NOT NULL,
`pk` DOUBLE NOT NULL PRIMARY KEY
); | SQL | 1 | cuishuang/tidb | br/tests/lightning_various_types/data/vt.double-schema.sql | [
"Apache-2.0"
] |
(*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
val with_memory_profiling_lwt : profiling:Profiling_js.running -> (unit -> 'a Lwt.t) -> 'a Lwt.t
val with_memory_timer_lwt :
?options:Options.t -> string -> Profiling_js.running -> (unit -> 'a Lwt.t) -> 'a Lwt.t
| OCaml | 4 | zhangmaijun/flow | src/services/inference/memory_utils.mli | [
"MIT"
] |
const ExistingNameIgnoreInput = null;
const ExistingNameIgnoreInputComponent = null;
export default () => <div>Anonymous function</div>;
| JavaScript | 2 | blomqma/next.js | packages/next-codemod/transforms/__testfixtures__/name-default-component/existing-name-ignore.input.js | [
"MIT"
] |
%!PS-Adobe-3.0 Resource-Encoding
%%Title: VIM-cp1255
%%Version: 1.0 0
%%EndComments
/VIM-cp1255[
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle
/parenleft /parenright /asterisk /plus /comma /minus /period /slash
/zero /one /two /three /four /five /six /seven
/eight /nine /colon /semicolon /less /equal /greater /question
/at /A /B /C /D /E /F /G
/H /I /J /K /L /M /N /O
/P /Q /R /S /T /U /V /W
/X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
/grave /a /b /c /d /e /f /g
/h /i /j /k /l /m /n /o
/p /q /r /s /t /u /v /w
/x /y /z /braceleft /bar /braceright /asciitilde /.notdef
/.notdef /.notdef /quotesinglbase /florin /quotedblbase /ellipsis /dagger /daggerdbl
/circumflex /perthousand /.notdef /guilsinglleft /.notdef /.notdef /.notdef /.notdef
/.notdef /quoteleft /quoteright /quotedblleft /quotedblright /bullet /endash /emdash
/tilde /trademark /.notdef /guilsinglright /.notdef /.notdef /.notdef /.notdef
/space /.notdef /cent /sterling /newsheqelsign /yen /brokenbar /section
/dieresis /copyright /.notdef /guillemotleft /logicalnot /hyphen /registered /macron
/degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered
/.notdef /onesuperior /.notdef /guillemotright /onequarter /onehalf /threequarters /.notdef
/sheva /hatafsegol /hatafpatah /hatafqamats /hiriq /tsere /segol /patah
/qamats /holam /.notdef /qubuts /dagesh /meteg /maqaf /rafe
/paseq /shindot /sindot /sofpasuq /doublevav /vavyod /doubleyod /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/alef /bet /gimel /dalet /he /vav /zayin /het
/tet /yod /finalkaf /kaf /lamed /finalmem /mem /finalnun
/nun /samekh /ayin /finalpe /pe /finaltsadi /tsadi /qof
/resh /shin /tav /.notdef /.notdef /.notdef /.notdef /.notdef]
/Encoding defineresource pop
% vim:ff=unix:
%%EOF
| PostScript | 2 | uga-rosa/neovim | runtime/print/cp1255.ps | [
"Vim"
] |
<%--
Copyright 2012 Netflix, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--%>
<tr class="prop">
<td class="name"><label>Auto Scaling Group:</label></td>
<td class="value"><g:linkObject type="autoScaling" name="${group}"/></td>
</tr>
<tr class="prop" title="The Adjustment Type dictates how the scaling adjustment will be applied.">
<td class="name">
<label for="adjustmentType">Adjustment Type:</label>
</td>
<td>
<g:select name="adjustmentType" from="${adjustmentTypes}" value="${adjustmentType}"/>
</td>
</tr>
<tbody class="numbers">
<tr class="prop">
<td class="name">
<label for="adjustment">Adjustment:</label>
</td>
<td class="value">
<g:textField name="adjustment" value="${adjustment}"/>
</td>
</tr>
<tr class="prop" title="A change in capacity of at least this amount will occur.">
<td class="name">
<label for="minAdjustmentStep">Minimum Adjustment:</label>
</td>
<td class="value">
<g:textField name="minAdjustmentStep" value="${minAdjustmentStep}"/>
</td>
</tr>
<tr class="prop">
<td class="name">
<label for="cooldown">Cooldown:</label>
</td>
<td class="value">
<g:textField name="cooldown" value="${cooldown}"/> seconds
</td>
</tr>
</tbody>
| Groovy Server Pages | 3 | michaelneale/asgard | grails-app/views/scalingPolicy/_policyOptions.gsp | [
"Apache-2.0"
] |
.SetupWizard__Step {
display: none;
flex-direction: column;
max-width: 350px;
margin: 2rem auto;
transition: opacity 1s;
opacity: 1;
&--active {
display: flex;
}
&--working {
opacity: 0.5;
}
}
@media (width <= 760px) {
.SetupWizard__Step {
margin: 0 auto;
}
}
| CSS | 2 | subramanir2143/Rocket.Chat | client/views/setupWizard/Step.css | [
"MIT"
] |
{"v":"5.4.3","fr":60,"ip":0,"op":300,"w":1000,"h":1000,"nm":"Comp 1","ddd":0,"assets":[],"fonts":{"list":[{"fName":"GillSans-UltraBold","fFamily":"Gill Sans","fStyle":"UltraBold","ascent":75.49951171875}]},"layers":[{"ddd":0,"ind":1,"ty":5,"nm":"Hello World","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[168,548,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"t":{"d":{"k":[{"s":{"s":88,"f":"GillSans-UltraBold","t":"Hello World","j":0,"tr":58,"lh":105.6,"ls":0,"fc":[0.141,0.141,0.141],"sc":[0.38,0,0],"sw":1,"of":true},"t":0}]},"p":{},"m":{"g":1,"a":{"a":0,"k":[0,0],"ix":2}},"a":[{"nm":"Animator 1","s":{"t":0,"xe":{"a":0,"k":0,"ix":7},"ne":{"a":0,"k":0,"ix":8},"a":{"a":0,"k":100,"ix":4},"b":1,"rn":0,"sh":1,"r":1},"a":{"t":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[-24]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":235,"s":[-24],"e":[802]},{"t":299}],"ix":89}}}]},"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,532,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,117.226,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[1038.812,443.781],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":8},"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[6.438,-243.719],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[113.01,120.397],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[1038.812,443.781],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":1,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":8},"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.292861521244,0.292861521244,0.292861521244,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[6.438,280.604],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[113.01,120.397],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 2","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":300,"st":0,"bm":0}],"markers":[],"chars":[{"ch":"H","size":88,"style":"UltraBold","w":96.92,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[6.982,-74.512],[6.982,0],[39.99,0],[39.99,-27.686],[56.787,-27.686],[56.787,0],[89.795,0],[89.795,-74.512],[56.787,-74.512],[56.787,-47.217],[39.99,-47.217],[39.99,-74.512]],"c":true},"ix":2},"nm":"H","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"H","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Gill Sans"},{"ch":"e","size":88,"style":"UltraBold","w":69.82,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.72,-2.571],[2.604,-4.59],[0,-5.762],[-0.716,-2.734],[-1.384,-2.295],[-2.002,-1.839],[-2.539,-1.27],[-3.011,-0.667],[-3.386,0.032],[-4.72,2.068],[-3.484,4.525],[0,0],[1.204,-0.797],[1.383,-0.537],[1.562,-0.293],[1.595,0],[1.514,0.439],[1.27,0.83],[0.944,1.189],[0.52,1.465],[0,0],[0,0],[2.702,5.046],[4.883,2.605],[6.055,0]],"o":[[-4.655,2.507],[-2.572,4.525],[-0.033,3.06],[0.716,2.734],[1.383,2.295],[2.002,1.839],[2.539,1.27],[3.011,0.667],[6.087,0],[4.72,-2.067],[0,0],[-0.945,1.009],[-1.205,0.798],[-1.384,0.537],[-1.562,0.293],[-1.726,0],[-1.514,-0.439],[-1.27,-0.83],[-0.945,-1.188],[0,0],[0,0],[0,-6.38],[-2.67,-5.013],[-4.851,-2.637],[-5.99,0]],"v":[[18.359,-56.152],[7.471,-45.508],[3.613,-30.078],[4.639,-21.387],[7.788,-13.843],[12.866,-7.642],[19.678,-2.979],[28.003,-0.073],[37.598,0.879],[53.809,-2.222],[66.113,-12.109],[66.113,-22.412],[62.891,-19.702],[59.009,-17.7],[54.59,-16.455],[49.854,-16.016],[44.995,-16.675],[40.82,-18.579],[37.5,-21.606],[35.303,-25.586],[66.162,-25.586],[66.162,-27.49],[62.109,-44.629],[50.781,-56.055],[34.424,-60.01]],"c":true},"ix":2},"nm":"e","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[-1.302,1.595],[-1.953,0],[-1.318,-1.676],[-0.098,-2.864],[0,0]],"o":[[0,-2.539],[1.302,-1.66],[2.18,0],[1.318,1.677],[0,0],[0,0]],"v":[[33.496,-36.523],[35.449,-42.725],[40.332,-45.215],[45.581,-42.7],[47.705,-35.889],[33.496,-35.889]],"c":true},"ix":2},"nm":"e","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"e","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Gill Sans"},{"ch":"l","size":88,"style":"UltraBold","w":41.7,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[5.713,-74.512],[5.713,0],[35.889,0],[35.889,-74.512]],"c":true},"ix":2},"nm":"l","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"l","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Gill Sans"},{"ch":"o","size":88,"style":"UltraBold","w":71.92,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.221,1.237],[0,1.986],[-0.326,0.83],[-0.57,0.603],[-0.798,0.326],[-0.977,0],[-1.221,-1.221],[0,-2.051],[1.204,-1.204],[2.051,0]],"o":[[-1.221,-1.237],[0,-0.977],[0.325,-0.83],[0.569,-0.602],[0.797,-0.325],[2.051,0],[1.221,1.221],[0,2.051],[-1.205,1.205],[-1.953,0]],"v":[[31.128,-25.244],[29.297,-30.078],[29.785,-32.788],[31.128,-34.937],[33.179,-36.328],[35.84,-36.816],[40.747,-34.985],[42.578,-30.078],[40.771,-25.195],[35.889,-23.389]],"c":true},"ix":2},"nm":"o","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[4.85,-2.571],[2.734,-4.655],[0,-5.924],[-2.767,-4.622],[-4.883,-2.506],[-5.99,0],[-3.955,1.514],[-2.832,2.702],[-1.579,3.711],[0,4.395],[1.595,3.744],[2.848,2.702],[3.955,1.514],[4.688,0]],"o":[[-4.851,2.539],[-2.702,4.655],[0,6.023],[2.799,4.59],[4.948,2.507],[4.752,0],[3.955,-1.514],[2.832,-2.702],[1.579,-3.711],[0,-4.427],[-1.595,-3.743],[-2.849,-2.702],[-3.955,-1.514],[-6.25,0]],"v":[[19.238,-56.152],[7.861,-45.361],[3.809,-29.492],[7.959,-13.525],[19.482,-2.881],[35.889,0.879],[48.95,-1.392],[59.131,-7.715],[65.747,-17.334],[68.115,-29.492],[65.723,-41.748],[59.058,-51.416],[48.853,-57.739],[35.889,-60.01]],"c":true},"ix":2},"nm":"o","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"o","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Gill Sans"},{"ch":" ","size":88,"style":"UltraBold","w":33.3,"data":{},"fFamily":"Gill Sans"},{"ch":"W","size":88,"style":"UltraBold","w":122.9,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[0,-74.512],[26.318,0],[50.586,0],[61.523,-29.492],[73.291,0],[97.607,0],[122.705,-74.512],[90.479,-74.512],[82.324,-50.195],[72.803,-74.512],[49.902,-74.512],[40.82,-50.195],[32.178,-74.512]],"c":true},"ix":2},"nm":"W","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"W","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Gill Sans"},{"ch":"r","size":88,"style":"UltraBold","w":66.7,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.669,2.637],[4.004,0],[2.799,-2.197],[1.855,-4.264],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-0.716,2.295],[-1.562,1.367],[-4.655,0],[-2.605,2.637],[0,4.33]],"o":[[-2.67,-2.669],[-3.548,0],[-2.8,2.197],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,-3.157],[0.716,-2.295],[3.483,3.581],[4.102,0],[2.637,-2.637],[0,-4.134]],"v":[[57.08,-55.273],[47.07,-59.277],[37.549,-55.981],[30.566,-46.289],[30.371,-46.289],[30.371,-58.789],[0.195,-58.789],[0.195,0],[30.371,0],[30.371,-22.412],[31.445,-30.591],[34.863,-36.084],[47.07,-30.713],[57.129,-34.668],[61.084,-45.117]],"c":true},"ix":2},"nm":"r","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"r","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Gill Sans"},{"ch":"d","size":88,"style":"UltraBold","w":80.18,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.172,1.433],[-1.823,0],[-0.912,-0.26],[-0.652,-0.455],[0,0],[0,0],[1.432,1.123],[0,2.572]],"o":[[1.172,-1.432],[0.879,0],[0.911,0.261],[0,0],[0,0],[-3.158,0],[-1.433,-1.123],[0,-2.116]],"v":[[34.766,-33.936],[39.258,-36.084],[41.943,-35.693],[44.287,-34.619],[44.287,-21.387],[42.041,-21.387],[35.156,-23.071],[33.008,-28.613]],"c":true},"ix":2},"nm":"d","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-2.8,-4.655],[-5.176,-2.473],[-6.738,0],[0,0],[0,0],[0,0],[0,0],[2.116,0.423],[2.311,0],[4.427,-2.571],[2.539,-4.524],[0,-5.436]],"o":[[2.832,4.655],[5.176,2.474],[0,0],[0,0],[0,0],[0,0],[-0.945,-0.52],[-2.214,-0.455],[-5.404,0],[-4.395,2.539],[-2.507,4.525],[0,5.664]],"v":[[8.203,-14.404],[20.215,-3.711],[38.086,0],[74.512,0],[74.512,-74.512],[44.287,-74.512],[44.287,-57.178],[39.697,-58.594],[32.91,-59.277],[18.164,-55.42],[7.764,-44.824],[4.004,-29.883]],"c":true},"ix":2},"nm":"d","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"d","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Gill Sans"}]} | JSON | 1 | liuxinghudiejie/lottie-ios | Example/lottie-swift/TestAnimations/FirstText.json | [
"Apache-2.0"
] |
interface Foo<T> {
x: T;
}
function bar<T>(x: Foo<T> | string): T {
return bar(x);
}
| TypeScript | 3 | nilamjadhav/TypeScript | tests/cases/compiler/recursiveUnionTypeInference.ts | [
"Apache-2.0"
] |
use("ispec")
describe("Struct",
it("should be a lexical block",
Struct should mimic(LexicalBlock)
)
it("should return a new object when called with arguments",
x = Struct(:foo)
x should not be(Origin)
x should not be(LexicalBlock)
x should not be nil
x should not be true
x should not be false
x should not be(Struct)
)
it("should return something that mimics Struct",
Struct(:foo) should mimic(Struct)
)
it("should return something that is a lexical block",
Struct(:foo) should mimic(LexicalBlock)
)
it("should take keyword arguments to give the default values",
Struct(:foo, bar: 42)
)
it("should return something that when called will return a new struct object that mimics the original creator",
X = Struct(:foo)
x = X(42)
x should mimic(X)
x should mimic(Struct)
)
it("should return something that can be called with regular arguments",
X = Struct(:foo)
X(42)
)
it("should return something that can be called with keyword arguments",
X = Struct(:foo)
X(foo: 42)
)
it("should create something that has the default values provided when creating the struct",
X = Struct(:foo, bar: 42)
X(15) bar should == 42
)
it("should create something that has the values given to it by positional arguments",
X = Struct(:foo, :bar, :quux)
x = X(42, 55, "blarg")
x foo should == 42
x bar should == 55
x quux should == "blarg"
)
it("should create something that has the values given to it by keyword arguments",
X = Struct(:foo, :bar, :quux)
x = X(bar: 42, quux: 55, foo: "blarg")
x bar should == 42
x quux should == 55
x foo should == "blarg"
)
it("should create something that has the values given to it by a mix of positional and keyword arguments",
X = Struct(:foo, :bar, :quux)
x = X(42, quux: 55, bar: "blarg")
x foo should == 42
x quux should == 55
x bar should == "blarg"
)
it("should handle activatable values correctly",
X = Struct(:foo)
x = X(method(error!("blah")))
x cell(:foo) kind should == "DefaultMethod"
fn(x foo) should signal(Condition Error)
)
it("should be possible to create a struct with nonstandard cell names",
X = Struct(:"blarg fogus")
x = X(42)
x cell(:"blarg fogus") should == 42
)
it("should be possible to call a struct instance and get a new instance that is similar to this",
X = Struct(:foo, :bar)
x = X(42, 55)
y = x(foo: 66)
x foo should == 42
x bar should == 55
y foo should == 66
y bar should == 55
)
it("should return something that is a sequence",
X = Struct(:foo, :bar, :quux)
x = X(42, 55, 66)
x should mimic(Mixins Sequenced)
x seq asList should == [:foo => 42, :bar => 55, :quux => 66]
x bar = 6464
x seq asList should == [:foo => 42, :bar => 6464, :quux => 66]
)
it("should return something that is enumerable",
X = Struct(:foo, :bar, :quux)
x = X(42, 55, 66)
x should mimic(Mixins Enumerable)
x asList should == [:foo => 42, :bar => 55, :quux => 66]
x bar = 6464
x asList should == [:foo => 42, :bar => 6464, :quux => 66]
)
describe("create",
it("should return a new instance of the struct",
X = Struct(:foo, :bar, :quux)
x = X create
x should mimic(X)
x should not be(X)
)
it("should take positional arguments",
X = Struct(:foo, :bar, :quux)
x = X create(42, 55)
x foo should == 42
x bar should == 55
)
it("should take keyword arguments",
X = Struct(foo:, bar:, quux:)
x = X create(bar: 42, foo: 55)
x bar should == 42
x foo should == 55
)
)
describe("attributeNames",
it("should return all positional attribute names",
X = Struct(:foo, :bar, :quux)
X attributeNames should == [:foo, :bar, :quux]
x = X(42, 55)
x attributeNames should == [:foo, :bar, :quux]
)
it("should return all defaulted attribute names",
X = Struct(foo: 42, bar: 55)
X attributeNames sort should == [:foo, :bar] sort
x = X(42, 55)
x attributeNames sort should == [:foo, :bar] sort
)
it("should have all the defaulted attribute names after the positional attribute names",
X = Struct(:foo, mama: "hoho", :bar, blux: 42, :quux)
X attributeNames[0..2] should == [:foo, :bar, :quux]
X attributeNames[3..-1] sort should == [:blux, :mama]
x = X(42, 55)
x attributeNames[0..2] should == [:foo, :bar, :quux]
x attributeNames[3..-1] sort should == [:blux, :mama]
)
)
describe("attributes",
it("should return all the attributes with values as a dictionary",
X = Struct(:foo, mama: "hoho", :bar, blux: 42, :quux)
x = X(42, 55)
x attributes should == {foo: 42, bar: 55, quux: nil, mama: "hoho", blux: 42}
)
)
describe("valuesAt",
it("should return an empty array when given no arguments",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x valuesAt should == []
x valuesAt() should == []
)
it("should use positional arguments zero-indexed",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x valuesAt(2, 0) should == [nil, 42]
)
it("should return an array with a specified positional attribute",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x valuesAt(1) should == [55]
)
it("should return an array with a specified keyword attribute",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x valuesAt(:bar) should == [55]
Y = Struct(foo: 42, bar: 5555, six: 'seven)
y = Y(bar: 32)
y valuesAt(:six) should == ['seven]
)
it("should return an array with all the elements specified by position",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x valuesAt(1, 1, 1, 0, 1, 0) should == [55, 55, 55, 42, 55, 42]
)
it("should return an array with all the elements specified by keyword",
Y = Struct(foo: 42, bar: 5555, six: 'seven)
y = Y(bar: 32)
y valuesAt(:six, :bar, :foo, :six) should == ['seven, 32, 42, 'seven]
)
it("should be possible to mix positional and keyword arguments",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x valuesAt(1, :foo, 1, 0, :bar, 0) should == [55, 42, 55, 42, 55, 42]
)
)
describe("[]",
it("should take a positional zero-indexed argument",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x[0] should == 42
x[1] should == 55
x[2] should be nil
)
it("should take a keyword argument",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x[:foo] should == 42
x[:bar] should == 55
x[:quux] should be nil
)
)
describe("[]=",
it("should take a positional zero-indexed argument",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x[0] = 15345
x[1] = 444
x[2] = 11133
x foo should == 15345
x bar should == 444
x quux should == 11133
)
it("should take a keyword argument",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x[:foo] = 15345
x[:bar] = 444
x[:quux] = 11133
x foo should == 15345
x bar should == 444
x quux should == 11133
)
)
describe("==",
it("should defer equality to the defined attributes",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x2 = X(42, 55)
x should == x2
x foo = 43
x should not == x2
x foo = 42
x bar = 56
x should not == x2
x bar = 55
x quux = "blurg"
x should not == x2
x quux = nil
x should == x2
)
it("should work when given base as argument",
(Struct(:x) create(42) == Base) should be false
)
it("should work when given basebehavior as argument",
(Struct(:x) create(42) == DefaultBehavior BaseBehavior) should be false
)
)
describe("hash",
it("should defer hashing to the defined attributes",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x2 = X(42, 55)
x hash should == x2 hash
x foo = 43
x hash should not == x2 hash
x foo = 42
x bar = 56
x hash should not == x2 hash
x bar = 55
x quux = "blurg"
x hash should not == x2 hash
x quux = nil
x hash should == x2 hash
)
)
describe("asText",
it("should return the attribute names for a Struct",
X = Struct(:foo, :bar, :quux)
X asText should == "Struct(foo, bar, quux)"
)
it("should return a text representation based on the attributes",
X = Struct(:foo, :bar, :quux)
x = X(42, 55)
x asText should == "(foo: 42, bar: 55, quux: nil)"
x quux = "blarg"
x asText should == "(foo: 42, bar: 55, quux: blarg)"
)
)
describe("inspect",
it("should return the attribute names for a Struct",
X = Struct(:foo, :bar, :quux)
X inspect should == "Struct(foo, bar, quux)"
)
it("should return an inspect representation based on the attributes",
X = Struct(:foo, :bar, :quux)
x = X(method("blarg"), 55)
x inspect should == "(foo: foo:method(\"blarg\"), bar: 55, quux: nil)"
x foo = ["blarg"]
x bar = ["blurg"]
x quux = ["blerg"]
x inspect should == "(foo: [\"blarg\"], bar: [\"blurg\"], quux: [\"blerg\"])"
)
)
describe("notice",
it("should return the attribute names for a Struct",
X = Struct(:foo, :bar, :quux)
X notice should == "Struct(foo, bar, quux)"
)
it("should return a notice representation based on the attributes",
X = Struct(:foo, :bar, :quux)
x = X(method("blarg"), 55)
x notice should == "(foo: foo:method(...), bar: 55, quux: nil)"
x foo = ["blarg"]
x bar = ["blurg"]
x quux = ["blerg"]
x notice should == "(foo: [\"blarg\"], bar: [\"blurg\"], quux: [\"blerg\"])"
)
)
)
| Ioke | 5 | olabini/ioke | test/struct_spec.ik | [
"ICU",
"MIT"
] |
import * as _i from "./i.ts";
import * as _j from "./j.ts";
const k = globalThis.value ? _i : _j;
export const i = _i;
export const j = _j;
export const {
a,
} = k;
| TypeScript | 3 | Preta-Crowz/deno | cli/tests/bundle/file_tests-subdir-k.ts | [
"MIT"
] |
/**
* ESP32S3 ROM address table
* Generated for ROM with MD5sum: d20fb231463ce337432b1fa9cba0b3c9
*/
PROVIDE ( ets_update_cpu_frequency = 0x40043164 );
| Linker Script | 3 | DCNick3/esp-idf | components/bootloader/subproject/main/ld/esp32s3/bootloader.rom.ld | [
"Apache-2.0"
] |
// Copyright 2020 The Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "algorithm.h"
bool Algorithm::Feasible(std::vector<std::pair<int, int>> elements) {
std::vector<int> element_from_colors(bounds_.size(), 0);
for (const auto& element : elements) {
element_from_colors[element.second]++;
}
int extra_elements_needed = 0;
for (int i = 0; i < element_from_colors.size(); i++) {
if (bounds_[i].second < element_from_colors[i]) {
return false;
}
extra_elements_needed +=
std::max(0, bounds_[i].first - element_from_colors[i]);
}
if (elements.size() + extra_elements_needed > cardinality_k_) {
return false;
}
return true;
}
| C++ | 4 | deepneuralmachine/google-research | fair_submodular_maximization_2020/algorithm.cc | [
"Apache-2.0"
] |
/*
* Copyright (c) 2012-2021 Daniele Bartolini et al.
* License: https://github.com/dbartolini/crown/blob/master/LICENSE
*/
using Gdk;
using Gee;
using Gtk;
#if CROWN_PLATFORM_LINUX
extern uint gdk_x11_window_get_xid (Gdk.Window window);
#elif CROWN_PLATFORM_WINDOWS
extern uint gdk_win32_window_get_handle (Gdk.Window window);
#endif
namespace Crown
{
public class EditorView : Gtk.EventBox
{
// Data
private ConsoleClient _client;
private Gtk.Allocation _allocation;
private uint _resize_timer_id;
private int _mouse_curr_x;
private int _mouse_curr_y;
private bool _mouse_left;
private bool _mouse_middle;
private bool _mouse_right;
private uint _window_id;
public uint window_id
{
get { return (uint)_window_id; }
}
private HashMap<uint, bool> _keys;
// Signals
public signal void realized();
private string key_to_string(uint k)
{
switch (k)
{
case Gdk.Key.w: return "w";
case Gdk.Key.a: return "a";
case Gdk.Key.s: return "s";
case Gdk.Key.d: return "d";
case Gdk.Key.Alt_L: return "alt_left";
case Gdk.Key.Alt_R: return "alt_right";
default: return "<unknown>";
}
}
private bool camera_modifier_pressed()
{
return _keys[Gdk.Key.Alt_L]
|| _keys[Gdk.Key.Alt_R]
;
}
private void camera_modifier_reset()
{
_keys[Gdk.Key.Alt_L] = false;
_keys[Gdk.Key.Alt_R] = false;
}
public EditorView(ConsoleClient client, bool input_enabled = true)
{
_client = client;
_allocation = { 0, 0, 0, 0 };
_resize_timer_id = 0;
_mouse_curr_x = 0;
_mouse_curr_y = 0;
_mouse_left = false;
_mouse_middle = false;
_mouse_right = false;
_window_id = 0;
_keys = new HashMap<uint, bool>();
_keys[Gdk.Key.w] = false;
_keys[Gdk.Key.a] = false;
_keys[Gdk.Key.s] = false;
_keys[Gdk.Key.d] = false;
_keys[Gdk.Key.Alt_L] = false;
_keys[Gdk.Key.Alt_R] = false;
// Widgets
this.can_focus = true;
this.events |= Gdk.EventMask.POINTER_MOTION_MASK
| Gdk.EventMask.KEY_PRESS_MASK
| Gdk.EventMask.KEY_RELEASE_MASK
| Gdk.EventMask.FOCUS_CHANGE_MASK
| Gdk.EventMask.SCROLL_MASK
;
this.focus_out_event.connect(on_event_box_focus_out_event);
this.size_allocate.connect(on_size_allocate);
if (input_enabled)
{
this.button_release_event.connect(on_button_release);
this.button_press_event.connect(on_button_press);
this.key_press_event.connect(on_key_press);
this.key_release_event.connect(on_key_release);
this.motion_notify_event.connect(on_motion_notify);
this.scroll_event.connect(on_scroll);
}
this.realize.connect(on_event_box_realized);
this.set_visual(Gdk.Screen.get_default().get_system_visual());
this.set_size_request(128, 128);
this.events |= Gdk.EventMask.STRUCTURE_MASK; // map_event
this.map_event.connect(() => {
device_frame_delayed(16, _client);
return Gdk.EVENT_PROPAGATE;
});
}
private bool on_button_release(Gdk.EventButton ev)
{
_mouse_left = ev.button == Gdk.BUTTON_PRIMARY ? false : _mouse_left;
_mouse_middle = ev.button == Gdk.BUTTON_MIDDLE ? false : _mouse_middle;
_mouse_right = ev.button == Gdk.BUTTON_SECONDARY ? false : _mouse_right;
string str = LevelEditorApi.set_mouse_state(_mouse_curr_x
, _mouse_curr_y
, _mouse_left
, _mouse_middle
, _mouse_right
);
if (ev.button == Gdk.BUTTON_PRIMARY)
str += LevelEditorApi.mouse_up((int)ev.x, (int)ev.y);
if (camera_modifier_pressed())
{
if (!_mouse_left || !_mouse_middle || !_mouse_right)
str += "LevelEditor:camera_drag_start('idle')";
}
if (str.length != 0)
{
_client.send_script(str);
_client.send(DeviceApi.frame());
}
return Gdk.EVENT_PROPAGATE;
}
private bool on_button_press(Gdk.EventButton ev)
{
// Grab keyboard focus
this.grab_focus();
_mouse_left = ev.button == Gdk.BUTTON_PRIMARY ? true : _mouse_left;
_mouse_middle = ev.button == Gdk.BUTTON_MIDDLE ? true : _mouse_middle;
_mouse_right = ev.button == Gdk.BUTTON_SECONDARY ? true : _mouse_right;
string str = LevelEditorApi.set_mouse_state(_mouse_curr_x
, _mouse_curr_y
, _mouse_left
, _mouse_middle
, _mouse_right
);
if (camera_modifier_pressed())
{
if (_mouse_left)
str += "LevelEditor:camera_drag_start('tumble')";
if (_mouse_middle)
str += "LevelEditor:camera_drag_start('track')";
if (_mouse_right)
str += "LevelEditor:camera_drag_start('dolly')";
}
if (ev.button == Gdk.BUTTON_PRIMARY)
str += LevelEditorApi.mouse_down((int)ev.x, (int)ev.y);
if (str.length != 0)
{
_client.send_script(str);
_client.send(DeviceApi.frame());
}
return Gdk.EVENT_PROPAGATE;
}
private bool on_key_press(Gdk.EventKey ev)
{
string str = "";
if (ev.keyval == Gdk.Key.Escape)
{
LevelEditorApplication app = (LevelEditorApplication)((Gtk.Window)this.get_toplevel()).application;
app.activate_last_tool_before_place();
}
if (ev.keyval == Gdk.Key.Up)
str += "LevelEditor:key_down(\"move_up\")";
if (ev.keyval == Gdk.Key.Down)
str += "LevelEditor:key_down(\"move_down\")";
if (ev.keyval == Gdk.Key.Right)
str += "LevelEditor:key_down(\"move_right\")";
if (ev.keyval == Gdk.Key.Left)
str += "LevelEditor:key_down(\"move_left\")";
if (_keys.has_key(ev.keyval))
{
if (!_keys[ev.keyval])
str += LevelEditorApi.key_down(key_to_string(ev.keyval));
_keys[ev.keyval] = true;
}
if (str.length != 0)
{
_client.send_script(str);
_client.send(DeviceApi.frame());
}
return Gdk.EVENT_PROPAGATE;
}
private bool on_key_release(Gdk.EventKey ev)
{
string str = "";
if ((ev.keyval == Gdk.Key.Alt_L || ev.keyval == Gdk.Key.Alt_R))
str += "LevelEditor:camera_drag_start('idle')";
if (_keys.has_key(ev.keyval))
{
if (_keys[ev.keyval])
str += LevelEditorApi.key_up(key_to_string(ev.keyval));
_keys[ev.keyval] = false;
}
if (str.length != 0)
{
_client.send_script(str);
_client.send(DeviceApi.frame());
}
return Gdk.EVENT_PROPAGATE;
}
private bool on_motion_notify(Gdk.EventMotion ev)
{
_mouse_curr_x = (int)ev.x;
_mouse_curr_y = (int)ev.y;
_client.send_script(LevelEditorApi.set_mouse_state(_mouse_curr_x
, _mouse_curr_y
, _mouse_left
, _mouse_middle
, _mouse_right
));
_client.send(DeviceApi.frame());
return Gdk.EVENT_PROPAGATE;
}
private bool on_scroll(Gdk.EventScroll ev)
{
_client.send_script(LevelEditorApi.mouse_wheel(ev.direction == Gdk.ScrollDirection.UP ? 1.0 : -1.0));
return Gdk.EVENT_PROPAGATE;
}
private bool on_event_box_focus_out_event(Gdk.EventFocus ev)
{
camera_modifier_reset();
return Gdk.EVENT_PROPAGATE;
}
private void on_size_allocate(Gtk.Allocation ev)
{
if (_allocation.x == ev.x
&& _allocation.y == ev.y
&& _allocation.width == ev.width
&& _allocation.height == ev.height
)
return;
_allocation = ev;
_client.send(DeviceApi.resize(_allocation.width, _allocation.height));
// Ensure there is some delay between the last resize() and the last frame().
if (_resize_timer_id == 0)
{
_resize_timer_id = GLib.Timeout.add_full(GLib.Priority.DEFAULT, 200, () => {
_client.send(DeviceApi.frame());
_resize_timer_id = 0;
return false; // Destroy the timeout.
});
}
}
private void on_event_box_realized()
{
this.get_window().ensure_native();
#if CROWN_PLATFORM_LINUX
this.get_display().sync();
_window_id = gdk_x11_window_get_xid(this.get_window());
#elif CROWN_PLATFORM_WINDOWS
_window_id = gdk_win32_window_get_handle(this.get_window());
#endif
realized();
}
}
}
| Vala | 5 | galek/crown | tools/level_editor/editor_view.vala | [
"MIT"
] |
vec3() { this }
vec2() { this }
vertex_location_texture_normal(
location : vec3()
texture : vec2()
normal : vec3()
) { this }
t : vec3()
a : vertex_location_texture_normal(
location : vec3()
texture : t
normal : vec3()
) | Objective-J | 2 | justinmann/sj | tests/function28.sj | [
"Apache-2.0"
] |
#include <c10/util/irange.h>
#include <torch/csrc/jit/codegen/cuda/arith.h>
#include <torch/csrc/jit/codegen/cuda/index_compute.h>
#include <torch/csrc/jit/codegen/cuda/ir_iostream.h>
#include <torch/csrc/jit/codegen/cuda/kernel_ir_builder.h>
#include <torch/csrc/jit/codegen/cuda/lower2device.h>
#include <torch/csrc/jit/codegen/cuda/lower_utils.h>
#include <torch/csrc/jit/codegen/cuda/predicate_compute.h>
#include <torch/csrc/jit/codegen/cuda/lower_index.h>
namespace torch {
namespace jit {
namespace fuser {
namespace cuda {
IndexLowering::IndexLowering() : ir_builder_(GpuLower::current()->kernel()) {}
kir::Val* IndexLowering::lowerSrcIndex(kir::Val* val, kir::Val* dst) const {
if (auto tv = dynamic_cast<kir::TensorView*>(val)) {
TORCH_INTERNAL_ASSERT(dst->isA<kir::TensorView>());
return Index::getProducerIndex(
tv->fuserTv(),
dst->as<kir::TensorView>()->fuserTv(),
scope_utils::getLoops(active_scope_expr_));
} else {
return val;
}
}
kir::Val* IndexLowering::lowerDstIndex(kir::Val* dst) const {
if (auto tv = dynamic_cast<kir::TensorView*>(dst)) {
return Index::getConsumerIndex(
tv->fuserTv(), scope_utils::getLoops(active_scope_expr_));
} else {
return dst;
}
}
void IndexLowering::pushBack(kir::Expr* expr) {
if (active_scope_ == nullptr) {
lowered_exprs_.push_back(expr);
} else {
active_scope_->push_back(expr);
}
}
void IndexLowering::visit(const kir::IfThenElse* ite) {
const auto prev_scope_expr = active_scope_expr_;
const auto prev_scope = active_scope_;
// TODO(kir): try to avoid recreating new nodes and leaving old ones around
auto new_ite = ir_builder_.create<kir::IfThenElse>(ite->predicate());
pushBack(new_ite);
active_scope_expr_ = new_ite;
active_scope_ = &new_ite->thenBody();
for (auto expr : ite->thenBody().exprs()) {
expr->accept(this);
}
active_scope_ = &new_ite->elseBody();
for (auto expr : ite->elseBody().exprs()) {
expr->accept(this);
}
active_scope_ = prev_scope;
active_scope_expr_ = prev_scope_expr;
}
void IndexLowering::visit(const kir::ForLoop* for_loop) {
const auto prev_scope_expr = active_scope_expr_;
const auto prev_scope = active_scope_;
auto new_for_loop = ir_builder_.create<kir::ForLoop>(for_loop);
pushBack(new_for_loop);
active_scope_expr_ = new_for_loop;
active_scope_ = &new_for_loop->body();
for (auto expr : for_loop->body().exprs()) {
expr->accept(this);
}
active_scope_ = prev_scope;
active_scope_expr_ = prev_scope_expr;
}
void IndexLowering::visit(const kir::UnaryOp* uop) {
const auto in = lowerSrcIndex(uop->in(), uop->out());
const auto out = lowerDstIndex(uop->out());
pushBack(ir_builder_.create<kir::UnaryOp>(uop->operation(), out, in));
}
void IndexLowering::visit(const kir::BinaryOp* bop) {
const auto lhs = lowerSrcIndex(bop->lhs(), bop->out());
const auto rhs = lowerSrcIndex(bop->rhs(), bop->out());
const auto out = lowerDstIndex(bop->out());
pushBack(ir_builder_.create<kir::BinaryOp>(bop->operation(), out, lhs, rhs));
}
void IndexLowering::visit(const kir::TernaryOp* top) {
const auto in1 = lowerSrcIndex(top->in1(), top->out());
const auto in2 = lowerSrcIndex(top->in2(), top->out());
const auto in3 = lowerSrcIndex(top->in3(), top->out());
const auto out = lowerDstIndex(top->out());
pushBack(
ir_builder_.create<kir::TernaryOp>(top->operation(), out, in1, in2, in3));
}
namespace {
void allocateGridReductionFlag(
kir::TensorView* out_tv,
kir::Expr* current_scope_expr) {
kir::IrBuilder ir_builder(GpuLower::current()->kernel());
const auto flag_name = kir::GridReduction::getPredicateFlagName(out_tv);
const auto flag_var = ir_builder.create<kir::Allocate>(
ir_builder.create<kir::NamedScalar>(flag_name, DataType::Bool),
MemoryType::Local,
ir_builder.create<kir::Int>(1));
// When enclosed by IfThenElse, place the variable outside of the
// IfThenElse. This IfThenElse is assumed to be the prediate for
// this grid reduction expression.
if (current_scope_expr->isA<kir::IfThenElse>()) {
scope_utils::insertBefore(
current_scope_expr->parentScope(), current_scope_expr, flag_var);
} else {
TORCH_INTERNAL_ASSERT(current_scope_expr->isA<kir::ForLoop>());
current_scope_expr->as<kir::ForLoop>()->body().push_back(flag_var);
}
}
} // namespace
void IndexLowering::visit(const kir::ReductionOp* rop) {
TORCH_INTERNAL_ASSERT(ir_utils::isTVOp(rop));
const auto out_tv = rop->out()->as<kir::TensorView>();
const auto out_domain = out_tv->domain();
const bool is_block_reduce = out_domain->hasBlockReduction();
const bool is_grid_reduce = out_domain->hasGridReduction();
// If we do a grid reduction we can't have a reduction axis that is not bound
// to a grid or block dim ()
if (is_grid_reduce) {
TORCH_INTERNAL_ASSERT(
std::none_of(
out_domain->domain().begin(),
out_domain->domain().end(),
[](kir::IterDomain* id) {
return !id->isThread() && id->isReduction() &&
!id->extent()->isOneInt();
}),
"Found a reduction stage that has both a non-parallelized ",
"reduction and a grid reduction. This is not supported, ",
"please use rfactor to do the serialized reduction first, ",
"then the grid reduction.");
}
const auto out = lowerDstIndex(rop->out());
const auto in = lowerSrcIndex(rop->in(), rop->out());
kir::ReductionOp* block_reduction_op = nullptr;
if (is_block_reduce) {
block_reduction_op = ir_builder_.create<kir::ReductionOp>(
rop->operation(), rop->init(), out, in);
if (rop->predicate()) {
block_reduction_op->setPredicate(rop->predicate());
}
if (rop->writePredicate()) {
block_reduction_op->setWritePredicate(rop->writePredicate());
}
pushBack(block_reduction_op);
}
if (is_grid_reduce) {
// First, declare a boolean flag variable storing the return value
// of the gridReduce() helper
allocateGridReductionFlag(out_tv, active_scope_expr_);
auto buffer_ids = out_domain->domain();
buffer_ids.erase(
std::remove_if(
buffer_ids.begin(),
buffer_ids.end(),
[](kir::IterDomain* id) {
return id->isReduction() && !id->isBlockDim();
}),
buffer_ids.end());
kir::Val* buffer_size = buffer_ids.empty() ? ir_builder_.create<kir::Int>(1)
: buffer_ids[0]->extent();
for (const auto i : c10::irange(1, buffer_ids.size())) {
buffer_size = ir_builder_.mulExpr(buffer_size, buffer_ids[i]->extent());
}
auto sync_ids = out_domain->domain();
sync_ids.erase(
std::remove_if(
sync_ids.begin(),
sync_ids.end(),
[](kir::IterDomain* id) {
return id->isReduction() || !id->isBlockDim();
}),
sync_ids.end());
kir::Val* sync_size = sync_ids.empty() ? ir_builder_.create<kir::Int>(1)
: sync_ids[0]->extent();
for (const auto i : c10::irange(1, sync_ids.size())) {
sync_size = ir_builder_.mulExpr(sync_size, sync_ids[i]->extent());
}
const auto zero = ir_builder_.create<kir::Int>(0);
const std::vector<kir::IterDomain*> new_buffer_ids = {
ir_builder_.create<kir::IterDomain>(zero, buffer_size)};
const auto buffer_domain =
ir_builder_.create<kir::TensorDomain>(new_buffer_ids);
const auto reduce_buffer_tv = ir_builder_.create<kir::TensorView>(
out->dtype(), buffer_domain, MemoryType::Global);
const std::vector<kir::IterDomain*> new_sync_ids = {
ir_builder_.create<kir::IterDomain>(zero, sync_size)};
const auto sync_domain =
ir_builder_.create<kir::TensorDomain>(new_sync_ids);
const auto reduce_sync_tv = ir_builder_.create<kir::TensorView>(
DataType::Int, sync_domain, MemoryType::Global);
const auto reduce_buffer = ir_builder_.create<kir::Allocate>(
reduce_buffer_tv, reduce_buffer_tv->memoryType());
const auto sync_buffer = ir_builder_.create<kir::Allocate>(
reduce_sync_tv, reduce_sync_tv->memoryType(), nullptr, true);
const auto grid_reduction_op = (block_reduction_op == nullptr)
? ir_builder_.create<kir::ReductionOp>(
rop->operation(), rop->init(), out, in)
: block_reduction_op;
// The thread predicate for GridReduction needs to be set
// separately from the main predicate. Do not combine them like
// other expressions.
const auto& thread_pred =
GpuLower::current()->threadPredMap().at(out_tv->fuserTv()).pred;
auto grid_reduction = ir_builder_.create<kir::GridReduction>(
grid_reduction_op, reduce_buffer, sync_buffer);
grid_reduction->setThreadPredicate(thread_pred);
if (rop->predicate()) {
// If preceded by a blockReduce, all thread blocks should have
// valid inputs to gridReduce. In fact, using the original
// predicate does not work when the write predicate of the
// blockReduce is different from the read predicate.
if (is_block_reduce) {
grid_reduction->setPredicate(
ir_builder_.create<kir::Predicate>(ir_builder_.trueVal()));
} else {
grid_reduction->setPredicate(rop->predicate());
}
}
if (rop->writePredicate()) {
grid_reduction->setWritePredicate(rop->writePredicate());
}
pushBack(reduce_buffer);
pushBack(sync_buffer);
pushBack(grid_reduction);
}
if (!is_block_reduce && !is_grid_reduce) {
// TODO(kir): this breaks our "SSA" form
pushBack(ir_builder_.create<kir::BinaryOp>(rop->operation(), out, out, in));
}
}
namespace {
template <typename T>
kir::Allocate* allocGlobalBuffer(
kir::IrBuilder& ir_builder,
const kir::TensorDomain* td,
T id_filter,
DataType dtype,
bool zero_init = false) {
auto buffer_ids = td->domain();
buffer_ids.erase(
std::remove_if(buffer_ids.begin(), buffer_ids.end(), id_filter),
buffer_ids.end());
kir::Val* buffer_size = buffer_ids.empty() ? ir_builder.create<kir::Int>(1)
: buffer_ids[0]->extent();
for (size_t i = 1; i < buffer_ids.size(); i++) {
buffer_size = ir_builder.mulExpr(buffer_size, buffer_ids[i]->extent());
}
const auto zero = ir_builder.create<kir::Int>(0);
const std::vector<kir::IterDomain*> new_buffer_ids = {
ir_builder.create<kir::IterDomain>(zero, buffer_size)};
const auto buffer_domain =
ir_builder.create<kir::TensorDomain>(new_buffer_ids);
const auto buffer_tv = ir_builder.create<kir::TensorView>(
dtype, buffer_domain, MemoryType::Global);
return ir_builder.create<kir::Allocate>(
buffer_tv, buffer_tv->memoryType(), nullptr, zero_init);
}
} // namespace
void IndexLowering::visit(const kir::WelfordOp* wop) {
TORCH_INTERNAL_ASSERT(ir_utils::isTVOp(wop));
const auto out_tv = wop->outAvg()->as<kir::TensorView>();
const auto out_domain = out_tv->domain();
const bool is_block_reduce = out_domain->hasBlockReduction();
const bool is_grid_reduce = out_domain->hasGridReduction();
// If we do a grid reduction we can't have a reduction axis that is not bound
// to a grid or block dim ()
if (is_grid_reduce) {
TORCH_INTERNAL_ASSERT(
std::none_of(
out_domain->domain().begin(),
out_domain->domain().end(),
[](kir::IterDomain* id) {
return !id->isThread() && id->isReduction();
}),
"Found a reduction stage that has both a non-parallelized ",
"reduction and a grid reduction. This is not supported, ",
"please use rfactor to do the serialized reduction first, ",
"then the grid reduction.");
}
// lower IO tensors
const auto in_var =
wop->inVar() ? lowerSrcIndex(wop->inVar(), wop->outAvg()) : nullptr;
const auto in_avg = lowerSrcIndex(wop->inAvg(), wop->outAvg());
auto in_N = wop->inN();
// in Rfactor-ed case, the input N is actually a TV
if (!in_N->isScalar()) {
in_N = lowerSrcIndex(in_N, wop->outN());
}
auto out_avg = lowerDstIndex(wop->outAvg());
auto out_var = lowerDstIndex(wop->outVar());
auto out_N = lowerDstIndex(wop->outN());
kir::WelfordOp* welford_op = ir_builder_.create<kir::WelfordOp>(
out_var,
out_avg,
out_N,
wop->initVar(),
wop->initAvg(),
wop->initN(),
in_var,
in_avg,
in_N);
kir::WelfordOp* block_welford_op = nullptr;
if (is_block_reduce) {
block_welford_op = welford_op;
if (wop->predicate()) {
block_welford_op->setPredicate(wop->predicate());
}
if (wop->writePredicate()) {
block_welford_op->setWritePredicate(wop->writePredicate());
}
pushBack(block_welford_op);
}
if (is_grid_reduce) {
// Allocate T_pred
allocateGridReductionFlag(out_tv, active_scope_expr_);
// Buffer allocation
auto buffer_filter = [](const kir::IterDomain* id) {
return id->isReduction() && !id->isBlockDim();
};
const auto out_var_buffer = allocGlobalBuffer(
ir_builder_, out_domain, buffer_filter, out_var->dtype());
const auto out_avg_buffer = allocGlobalBuffer(
ir_builder_, out_domain, buffer_filter, out_avg->dtype());
const auto out_N_buffer = allocGlobalBuffer(
ir_builder_, out_domain, buffer_filter, out_N->dtype());
const auto sync_buffer = allocGlobalBuffer(
ir_builder_, out_domain, buffer_filter, DataType::Int, true);
// Grid Welford instantiation
const auto grid_welford_op =
(block_welford_op == nullptr) ? welford_op : block_welford_op;
// The thread predicate for GridReduction needs to be set
// separately from the main predicate. Do not combine them like
// other expressions.
const auto& thread_pred =
GpuLower::current()->threadPredMap().at(out_tv->fuserTv()).pred;
auto grid_welford = ir_builder_.create<kir::GridWelford>(
grid_welford_op,
out_var_buffer,
out_avg_buffer,
out_N_buffer,
sync_buffer);
grid_welford->setThreadPredicate(thread_pred);
if (wop->predicate()) {
grid_welford->setPredicate(wop->predicate());
}
pushBack(out_var_buffer);
pushBack(out_avg_buffer);
pushBack(out_N_buffer);
pushBack(sync_buffer);
pushBack(grid_welford);
}
if (!is_block_reduce && !is_grid_reduce) {
pushBack(welford_op);
}
}
void IndexLowering::visit(const kir::BroadcastOp* bop) {
TORCH_INTERNAL_ASSERT(ir_utils::isTVOp(bop));
const auto out = lowerDstIndex(bop->out());
const auto in = lowerSrcIndex(bop->in(), bop->out());
auto indexed_expr = ir_builder_.create<kir::BroadcastOp>(out, in);
if (bop->predicate()) {
indexed_expr->setPredicate(bop->predicate());
}
pushBack(indexed_expr);
}
void IndexLowering::visit(const kir::Allocate* allocate) {
// TODO(kir): remove the need for const_cast
pushBack(const_cast<kir::Allocate*>(allocate)); // NOLINT
}
void IndexLowering::visit(const kir::Sync* sync) {
// TODO(kir): remove the need for const_cast
pushBack(const_cast<kir::Sync*>(sync)); // NOLINT
}
void IndexLowering::generate(const std::vector<kir::Expr*>& exprs) {
for (auto expr : exprs) {
expr->accept(this);
}
}
} // namespace cuda
} // namespace fuser
} // namespace jit
} // namespace torch
| C++ | 5 | abishekvashok/pytorch | torch/csrc/jit/codegen/cuda/lower_index.cpp | [
"Intel"
] |
--TEST--
Bug #69893: Strict comparison between integer and empty string keys crashes
--FILE--
<?php
var_dump([0 => 0] === ["" => 0]);
?>
--EXPECT--
bool(false)
| PHP | 4 | thiagooak/php-src | Zend/tests/bug69893.phpt | [
"PHP-3.01"
] |
// Persistence of Vision Ray Tracer Scene Description File
// Vers: 3.7
// Date: 2018/02/22
// Auth: Zhao Liang mathzhaoliang@gmail.com
/*
=========================================
Make Animations of Rotating 3d Polyhedron
=========================================
*/
#version 3.7;
global_settings { assumed_gamma 2.2 }
#include "colors.inc"
#include "polytope-data.inc"
// set background color
background { White }
// size of vertices and edges
#declare vertexRad = 0.035;
#declare edgeRad = 0.02;
// set transparency of faces
#declare face_filter = 0.4;
#declare vertexColor = SkyBlue;
#declare edgeColors = array[3]{ Orange, GreenYellow, Maroon };
#declare faceColors = array[3]{ Pink, LightSteelBlue, Brass };
#declare edgeFinish = finish { ambient 0.2 diffuse 0.5 reflection 0.1 specular 0.6 roughness 0.01 }
#declare faceFinish = finish { ambient 0.5 diffuse 0.5 specular 0.6 roughness 0.005 }
// texture for the faces in the i-th orbit
#macro faceTexture(i)
texture {
pigment { faceColors[i] filter face_filter }
finish { faceFinish }
}
#end
// render the polytope
union {
// get the number of vertices
#local nvertices = dimension_size(vertices, 1);
// render the vertives using spheres
#for (ind, 0, nvertices-1)
sphere {
vertices[ind], vertexRad
texture {
pigment { color vertexColor }
finish { edgeFinish }
}
}
#end
// get the number of orbits of edges
#local edge_types = dimension_size(edges, 1);
// for each orbit of edges
#for (i, 0, edge_types-1)
#local edge_list = edges[i];
// get the number of edges in this orbit
#local nedges = dimension_size(edge_list, 1);
// render each edge by a cylinder connecting its two ends
#for (j, 0, nedges-1)
#local v1 = edge_list[j][0];
#local v2 = edge_list[j][1];
cylinder {
vertices[v1], vertices[v2], edgeRad
texture {
pigment { color edgeColors[i] }
finish { edgeFinish }
}
}
#end
#end
// get the number of orbits of faces
#local face_types = dimension_size(faces, 1);
#for (i, 0, face_types-1)
#local face_list = faces[i];
#local nfaces = dimension_size(face_list, 1);
#local nsides = dimension_size(face_list, 2);
#for (j, 0, nfaces-1)
// if this face is a triangle
#if (nsides = 3)
triangle {
vertices[face_list[j][0]],
vertices[face_list[j][1]],
vertices[face_list[j][2]]
faceTexture(i)
}
// else use the union of successive triangles (center, v_{i}, v_{i+1})
// to render this face, this works for both regular and star polygons.
#else
#local center = <0, 0, 0>;
#for (k ,0, nsides-1)
#local center = center + vertices[face_list[j][k]];
#end
#local center = center / nsides;
#for (ind, 0, nsides-1)
triangle {
center,
vertices[face_list[j][ind]],
vertices[face_list[j][mod(ind+1, nsides)]]
faceTexture(i)
}
#end
#end
#end
#end
rotate <720*clock, 0, 360*clock>
}
camera {
location <0, 0, 3.6>
look_at <0, 0, 0>
angle 40
right x*image_width/image_height
up y
sky y
}
light_source {
<1, 1, 3> * 100
color rgb 1.3
}
| POV-Ray SDL | 5 | wlbksy/pywonderland | src/polytopes/povray/polyhedra_animation.pov | [
"MIT"
] |
global function InitViewStatsMapsMenu
global function setit
struct
{
var menu
GridMenuData gridData
bool isGridInitialized = false
array<string> allMaps
} file
// Why this file is included in Northstar:
// As it turns out, the Respawn developers in all their infinite wisdom decided to add a check to floats for NaN and Inf
// which does not exist in base Squirrel
// The code looks a bit like this:
// if ( strcpy_s(fos + 4, 0x16ui64, "1#QNAN") )
// invoke_watson(0i64, 0i64, 0i64, 0, 0i64);
// goto LABEL_27;
// As if turns out, there is NO way to check if a float is one of these values in script
// This alone, however, wouldn't be that bad, as it would simply result in a 1#QNAN being output to the screen.
// Unfortunately, Respawns universe sized brains did not stop there.
// One day, a dev at Respawn had to write a function to convert an amount of hours into a timestring.
// Now, you and i dear reader would, being mortals, opt for the O(1) time solution of using the floor() and modulo functions
// You may think this would work perfectly, but you would be wrong. This is not the respawn Way!
// Instead, they opted to write the following piece of O(n) time algorithm:
// while ( minutes >= 60 )
// {
// minutes -= 60
// hours++
// }
// Now you may ask: "Is this horribly inefficient and bug-prone?", but you must understand: This is the Respawn Way
// Passing in a NaN does not simply output a NaN to the screen, for that would be too simple.
// Nay, instead, it hangs the UI thread for all eternity, as it tries to subtract 60 from a NaN
// In fact, i think we should thank that developer for all the fun times we have had tracking and fixing this bug
// However, we mortals cannot possibly wield the greatness of Respawn's code, and we must settle for a lowly O(1) algorithm instead
// P.S: The other part of this fix is menu_stats_utility.nut
void function InitViewStatsMapsMenu()
{
var menu = GetMenu( "ViewStats_Maps_Menu" )
file.menu = menu
Hud_SetText( Hud_GetChild( file.menu, "MenuTitle" ), "#STATS_MAPS" )
file.gridData.rows = 5
file.gridData.columns = 1
//file.gridData.numElements // Set in OnViewStatsWeapons_Open after itemdata exists
file.gridData.pageType = eGridPageType.VERTICAL
file.gridData.tileWidth = 224
file.gridData.tileHeight = 112
file.gridData.paddingVert = 6
file.gridData.paddingHorz = 6
Grid_AutoAspectSettings( menu, file.gridData )
file.gridData.initCallback = MapButton_Init
file.gridData.getFocusCallback = MapButton_GetFocus
file.gridData.clickCallback = MapButton_Activate
AddMenuEventHandler( file.menu, eUIEvent.MENU_OPEN, OnViewStatsWeapons_Open )
AddMenuFooterOption( file.menu, BUTTON_B, "#B_BUTTON_BACK", "#BACK" )
}
void function OnViewStatsWeapons_Open()
{
UI_SetPresentationType( ePresentationType.NO_MODELS )
file.allMaps = GetPrivateMatchMaps()
file.gridData.numElements = file.allMaps.len()
if ( !file.isGridInitialized )
{
GridMenuInit( file.menu, file.gridData )
file.isGridInitialized = true
}
file.gridData.currentPage = 0
Grid_InitPage( file.menu, file.gridData )
Hud_SetFocused( Grid_GetButtonForElementNumber( file.menu, 0 ) )
UpdateStatsForMap( file.allMaps[ 0 ] )
}
bool function MapButton_Init( var button, int elemNum )
{
string mapName = file.allMaps[ elemNum ]
asset mapImage = GetMapImageForMapName( mapName )
var rui = Hud_GetRui( button )
RuiSetImage( rui, "buttonImage", mapImage )
Hud_SetEnabled( button, true )
Hud_SetVisible( button, true )
return true
}
void function MapButton_GetFocus( var button, int elemNum )
{
if ( IsControllerModeActive() )
UpdateStatsForMap( file.allMaps[ elemNum ] )
}
void function MapButton_Activate( var button, int elemNum )
{
if ( !IsControllerModeActive() )
UpdateStatsForMap( file.allMaps[ elemNum ] )
}
int function GetGameStatForMapInt( string gameStat, string mapName )
{
array<string> privateMatchModes = GetPrivateMatchModes()
int totalStat = 0
int enumCount = PersistenceGetEnumCount( "gameModes" )
for ( int modeId = 0; modeId < enumCount; modeId++ )
{
string modeName = PersistenceGetEnumItemNameForIndex( "gameModes", modeId )
totalStat += GetGameStatForMapAndModeInt( gameStat, mapName, modeName )
}
return totalStat
}
int function GetGameStatForMapAndModeInt( string gameStat, string mapName, string modeName, string difficulty = "1" )
{
string statString = GetStatVar( "game_stats", gameStat, "" )
string persistentVar = Stats_GetFixedSaveVar( statString, mapName, modeName, difficulty )
return GetUIPlayer().GetPersistentVarAsInt( persistentVar )
}
float function GetGameStatForMapFloat( string gameStat, string mapName )
{
array<string> privateMatchModes = GetPrivateMatchModes()
float totalStat = 0
int enumCount = PersistenceGetEnumCount( "gameModes" )
for ( int modeId = 0; modeId < enumCount; modeId++ )
{
string modeName = PersistenceGetEnumItemNameForIndex( "gameModes", modeId )
if ( (GetGameStatForMapAndModeFloat( gameStat, mapName, modeName ).tostring() ) != "1.#QNAN" )
totalStat += GetGameStatForMapAndModeFloat( gameStat, mapName, modeName )
else
print("Hey buddy, I just saved you from a game freeze. You're welcome :)")
}
return totalStat
}
float function GetGameStatForMapAndModeFloat( string gameStat, string mapName, string modeName )
{
string statString = GetStatVar( "game_stats", gameStat, "" )
string persistentVar = Stats_GetFixedSaveVar( statString, mapName, modeName, "1" )
return expect float( GetUIPlayer().GetPersistentVar( persistentVar ) )
}
void function UpdateStatsForMap( string mapName )
{
entity player = GetUIPlayer()
if ( player == null )
return
Hud_SetText( Hud_GetChild( file.menu, "WeaponName" ), GetMapDisplayName( mapName ) )
// Image
var imageElem = Hud_GetRui( Hud_GetChild( file.menu, "WeaponImageLarge" ) )
RuiSetImage( imageElem, "basicImage", GetMapImageForMapName( mapName ) )
var hoursplayed = GetGameStatForMapFloat( "hoursPlayed", mapName )
string timePlayed = HoursToTimeString( GetGameStatForMapFloat( "hoursPlayed", mapName ) )
string gamesPlayed = string( GetGameStatForMapInt( "game_completed", mapName ) )
SetStatBoxDisplay( Hud_GetChild( file.menu, "Stat0" ), Localize( "#STATS_HEADER_TIME_PLAYED" ), timePlayed )
SetStatBoxDisplay( Hud_GetChild( file.menu, "Stat1" ), Localize( "#STATS_GAMES_PLAYED" ), gamesPlayed )
//SetStatBoxDisplay( Hud_GetChild( file.menu, "Stat2" ), Localize( "#STATS_GAMES_PLAYED" ), gamesPlayed )
//SetStatBoxDisplay( Hud_GetChild( file.menu, "Stat3" ), Localize( "#STATS_GAMES_PLAYED" ), gamesPlayed )
string winPercent = GetPercent( float( GetGameStatForMapInt( "game_won", mapName ) ), float( GetGameStatForMapInt( "game_completed", mapName ) ), 0 )
SetStatsLabelValue( file.menu, "KillsLabel0", "#STATS_GAMES_WIN_PERCENT" )
SetStatsLabelValue( file.menu, "KillsValue0", ("" + winPercent + "%") )
SetStatsLabelValue( file.menu, "KillsLabel1", "#STATS_GAMES_WON" )
SetStatsLabelValue( file.menu, "KillsValue1", GetGameStatForMapInt( "game_won", mapName ) )
SetStatsLabelValue( file.menu, "KillsLabel2", "#STATS_GAMES_MVP" )
SetStatsLabelValue( file.menu, "KillsValue2", GetGameStatForMapInt( "mvp", mapName ) )
SetStatsLabelValue( file.menu, "KillsLabel3", "#STATS_GAMES_TOP3" )
SetStatsLabelValue( file.menu, "KillsValue3", GetGameStatForMapInt( "top3OnTeam", mapName ) )
SetStatsLabelValue( file.menu, "KillsLabel4", "--" )
SetStatsLabelValue( file.menu, "KillsValue4", "--" )
//var anchorElem = Hud_GetChild( file.menu, "WeaponStatsBackground" )
//printt( Hud_GetX( anchorElem ) )
//printt( Hud_GetX( anchorElem ) )
//printt( Hud_GetX( anchorElem ) )
//printt( Hud_GetX( anchorElem ) )
//Hud_SetX( anchorElem, 0 )
//
array<string> gameModesArray = GetPersistenceEnumAsArray( "gameModes" )
array<PieChartEntry> modes
foreach ( modeName in gameModesArray )
{
float modePlayedTime = GetGameStatForMapAndModeFloat( "hoursPlayed", mapName, modeName )
if ( modePlayedTime > 0 )
AddPieChartEntry( modes, GameMode_GetName( modeName ), modePlayedTime, GetGameModeDisplayColor( modeName ) )
}
const MAX_MODE_ROWS = 8
if ( modes.len() > 0 )
{
modes.sort( ComparePieChartEntryValues )
if ( modes.len() > MAX_MODE_ROWS )
{
float otherValue
for ( int i = MAX_MODE_ROWS-1; i < modes.len() ; i++ )
otherValue += modes[i].numValue
modes.resize( MAX_MODE_ROWS-1 )
AddPieChartEntry( modes, "#GAMEMODE_OTHER", otherValue, [127, 127, 127, 255] )
}
}
PieChartData modesPlayedData
modesPlayedData.entries = modes
modesPlayedData.labelColor = [ 255, 255, 255, 255 ]
SetPieChartData( file.menu, "ModesPieChart", "#GAME_MODES_PLAYED", modesPlayedData )
array<string> fdMaps = GetPlaylistMaps( "fd" )
if ( fdMaps.contains( mapName ) )
{
array<var> pveElems = GetElementsByClassname( file.menu, "PvEGroup" )
foreach ( elem in pveElems )
{
Hud_Show( elem )
}
vector perfectColor = TEAM_COLOR_FRIENDLY / 219.0
var iconLegendRui = Hud_GetRui( Hud_GetChild( file.menu, "PvEIconLegend" ) )
RuiSetImage( iconLegendRui, "basicImage", $"rui/menu/gametype_select/playlist_fd_normal" )
RuiSetFloat3( iconLegendRui, "basicImageColor", perfectColor )
var icon0Rui = Hud_GetRui( Hud_GetChild( file.menu, "PvEIcon0" ) )
RuiSetImage( icon0Rui, "basicImage", $"rui/menu/gametype_select/playlist_fd_easy" )
int easyWins = GetGameStatForMapAndModeInt( "games_completed_fd", mapName, "fd", "0" )
SetStatsLabelValue( file.menu, "PvELabel0", "#FD_DIFFICULTY_EASY" )
SetStatsLabelValue( file.menu, "PvEValueA0", easyWins )
if ( GetGameStatForMapAndModeInt( "perfectMatches", mapName, "fd", "0" ) )
RuiSetFloat3( icon0Rui, "basicImageColor", perfectColor )
else
RuiSetFloat3( icon0Rui, "basicImageColor", easyWins > 0 ? <1, 1, 1> : <0.15, 0.15, 0.15> )
var icon1Rui = Hud_GetRui( Hud_GetChild( file.menu, "PvEIcon1" ) )
RuiSetImage( icon1Rui, "basicImage", $"rui/menu/gametype_select/playlist_fd_normal" )
int normalWins = GetGameStatForMapAndModeInt( "games_completed_fd", mapName, "fd", "1" )
SetStatsLabelValue( file.menu, "PvELabel1", "#FD_DIFFICULTY_NORMAL" )
SetStatsLabelValue( file.menu, "PvEValueA1", normalWins )
if ( GetGameStatForMapAndModeInt( "perfectMatches", mapName, "fd", "1" ) )
RuiSetFloat3( icon1Rui, "basicImageColor", perfectColor )
else
RuiSetFloat3( icon1Rui, "basicImageColor", normalWins > 0 ? <1, 1, 1> : <0.15, 0.15, 0.15> )
var icon2Rui = Hud_GetRui( Hud_GetChild( file.menu, "PvEIcon2" ) )
RuiSetImage( icon2Rui, "basicImage", $"rui/menu/gametype_select/playlist_fd_hard" )
int hardWins = GetGameStatForMapAndModeInt( "games_completed_fd", mapName, "fd", "2" )
SetStatsLabelValue( file.menu, "PvELabel2", "#FD_DIFFICULTY_HARD" )
SetStatsLabelValue( file.menu, "PvEValueA2", hardWins )
if ( GetGameStatForMapAndModeInt( "perfectMatches", mapName, "fd", "2" ) )
RuiSetFloat3( icon2Rui, "basicImageColor", perfectColor )
else
RuiSetFloat3( icon2Rui, "basicImageColor", hardWins > 0 ? <1, 1, 1> : <0.15, 0.15, 0.15> )
var icon3Rui = Hud_GetRui( Hud_GetChild( file.menu, "PvEIcon3" ) )
RuiSetImage( icon3Rui, "basicImage", $"rui/menu/gametype_select/playlist_fd_master" )
int masterWins = GetGameStatForMapAndModeInt( "games_completed_fd", mapName, "fd", "3" )
SetStatsLabelValue( file.menu, "PvELabel3", "#FD_DIFFICULTY_MASTER" )
SetStatsLabelValue( file.menu, "PvEValueA3", masterWins )
if ( GetGameStatForMapAndModeInt( "perfectMatches", mapName, "fd", "3" ) )
RuiSetFloat3( icon3Rui, "basicImageColor", perfectColor )
else
RuiSetFloat3( icon3Rui, "basicImageColor", masterWins > 0 ? <1, 1, 1> : <0.15, 0.15, 0.15> )
var icon4Rui = Hud_GetRui( Hud_GetChild( file.menu, "PvEIcon4" ) )
RuiSetImage( icon4Rui, "basicImage", $"rui/menu/gametype_select/playlist_fd_insane" )
int insaneWins = GetGameStatForMapAndModeInt( "games_completed_fd", mapName, "fd", "4" )
SetStatsLabelValue( file.menu, "PvELabel4", "#FD_DIFFICULTY_INSANE" )
SetStatsLabelValue( file.menu, "PvEValueA4", insaneWins )
if ( GetGameStatForMapAndModeInt( "perfectMatches", mapName, "fd", "4" ) )
RuiSetFloat3( icon4Rui, "basicImageColor", perfectColor )
else
RuiSetFloat3( icon4Rui, "basicImageColor", insaneWins > 0 ? <1, 1, 1> : <0.15, 0.15, 0.15> )
}
else
{
array<var> pveElems = GetElementsByClassname( file.menu, "PvEGroup" )
foreach ( elem in pveElems )
{
Hud_Hide( elem )
}
}
}
var function setit( vector color )
{
var iconLegendRui = Hud_GetRui( Hud_GetChild( file.menu, "PvEIconLegend" ) )
RuiSetImage( iconLegendRui, "basicImage", $"rui/menu/gametype_select/playlist_fd_normal" )
RuiSetFloat3( iconLegendRui, "basicImageColor", color )
} | Squirrel | 4 | KanjiuAkuma/NorthstarMods | Northstar.Client/mod/scripts/vscripts/ui/menu_stats_maps.nut | [
"MIT"
] |
<?php
/** @generate-class-entries */
function opcache_reset(): bool {}
/**
* @return array<string, mixed>|false
* @refcount 1
*/
function opcache_get_status(bool $include_scripts = true): array|false {}
function opcache_compile_file(string $filename): bool {}
function opcache_invalidate(string $filename, bool $force = false): bool {}
/**
* @return array<string, mixed>|false
* @refcount 1
*/
function opcache_get_configuration(): array|false {}
function opcache_is_script_cached(string $filename): bool {}
| PHP | 4 | NathanFreeman/php-src | ext/opcache/opcache.stub.php | [
"PHP-3.01"
] |
swhkd(5) "github.com/waycrate/swhkd" "File Formats Manual"
# NAME
swhkd - Hotkey daemon inspired by sxhkd written in rust
# VALID MODIFIERS
- Ctrl
- Control
- Super
- Mod4
- Alt
- Mod1
- Shift
# VALID KEYS
- q
- w
- e
- r
- t
- y
- u
- i
- o
- p
- a
- s
- d
- f
- g
- h
- j
- k
- l
- z
- x
- c
- v
- b
- n
- m
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 0
- escape
- backspace
- capslock
- return
- enter
- tab
- space
- plus
- kp0
- kp1
- kp2
- kp3
- kp4
- kp5
- kp6
- kp7
- kp8
- kp9
- kpasterisk
- kpcomma
- kpdot
- kpenter
- kpequal
- kpjpcomma
- kpleftparen
- kpminus
- kpplusminus
- kprightparen
- minus
- -
- equal
- =
- grave
- `
- print
- volumeup
- xf86audioraisevolume
- volumedown
- xf86audiolowervolume
- mute
- xf86audiomute
- brightnessup
- xf86monbrightnessup
- brightnessdown
- xf86audiomedia
- xf86audiomicmute
- micmute
- xf86audionext
- xf86audioplay
- xf86audioprev
- xf86audiostop
- xf86monbrightnessdown
- ,
- comma
- .
- dot
- period
- /
- question
- slash
- backslash
- leftbrace
- [
- bracketleft
- rightbrace
- ]
- bracketright
- ;
- scroll_lock
- semicolon
- '
- apostrophe
- left
- right
- up
- down
- pause
- home
- delete
- insert
- end
- pause
- prior
- next
- pagedown
- pageup
- f1
- f2
- f3
- f4
- f5
- f6
- f7
- f8
- f9
- f10
- f11
- f12
- f13
- f14
- f15
- f16
- f17
- f18
- f19
- f20
- f21
- f22
- f23
- f24
# AUTHORS
Maintained by Shinyzenith <aakashsensharma@gmail.com>, EdenQwQ <lsahlm1eden@gmail.com>, and Angelo Fallaria <ba.fallaria@gmail.com>.
For more information about development, see <https://github.com/waycrate/swhkd>.
# SEE ALSO
- *swhkd(1)*
- *swhkd(5)*
- *swhks(1)*
| SuperCollider | 3 | waycrate/swhkd | swhkd-keys.5.scd | [
"BSD-2-Clause"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Uniforms {
half4 N;
half4 I;
half4 NRef;
half4 colorGreen;
half4 colorRed;
};
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) {
Outputs _out;
(void)_out;
half4 expectedPos = half4(1.0h, 2.0h, 3.0h, 4.0h);
half4 expectedNeg = half4(-1.0h, -2.0h, -3.0h, -4.0h);
_out.sk_FragColor = ((((((((((_uniforms.NRef.x) * (_uniforms.I.x) < 0) ? 1 : -1) * (_uniforms.N.x)) == expectedNeg.x && all(faceforward(_uniforms.N.xy, _uniforms.I.xy, _uniforms.NRef.xy) == expectedNeg.xy)) && all(faceforward(_uniforms.N.xyz, _uniforms.I.xyz, _uniforms.NRef.xyz) == expectedPos.xyz)) && all(faceforward(_uniforms.N, _uniforms.I, _uniforms.NRef) == expectedPos)) && -1.0h == expectedNeg.x) && all(half2(-1.0h, -2.0h) == expectedNeg.xy)) && all(half3(1.0h, 2.0h, 3.0h) == expectedPos.xyz)) && all(half4(1.0h, 2.0h, 3.0h, 4.0h) == expectedPos) ? _uniforms.colorGreen : _uniforms.colorRed;
return _out;
}
| Metal | 3 | fourgrad/skia | tests/sksl/intrinsics/FaceForward.metal | [
"BSD-3-Clause"
] |
<faces-config>
<faces-config-extension>
<namespace-uri>http://www.openntf.org/xsp/xpt</namespace-uri>
<default-prefix>xpt</default-prefix>
</faces-config-extension>
<component>
<description>XPageAgents Overview and Controll</description>
<display-name>XPageAgentsOverview</display-name>
<component-type>org.openntf.xpt.agents.component.uiagentlist</component-type>
<component-class>org.openntf.xpt.agents.component.UIAgentList</component-class>
<property>
<description>Name of the host</description>
<display-name>Host Name</display-name>
<property-name>hostName</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>basics</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Name of the protocol (http / https)</description>
<display-name>protocol</display-name>
<property-name>protocol</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>basics</category>
</designer-extension>
</property-extension>
</property>
<component-extension>
<component-family>org.openntf.xpt.agents.component.uiagentlist</component-family>
<renderer-type>org.openntf.xpt.agents.uiagentlist</renderer-type>
<tag-name>agentlist</tag-name>
<designer-extension>
<in-palette>true</in-palette>
<category>XPages Toolkit</category>
</designer-extension>
</component-extension>
</component>
<component>
<description>Execute an Agent and display a progressbar</description>
<display-name>XPageAgentsProgressBar</display-name>
<component-type>org.openntf.xpt.agents.component.uiagentprogressbar</component-type>
<component-class>org.openntf.xpt.agents.component.UIAgentProgressbar</component-class>
<group-type-ref>com.ibm.xsp.group.core.prop.style</group-type-ref>
<group-type-ref>com.ibm.xsp.group.core.prop.styleClass</group-type-ref>
<property>
<description>Name of the javascript service</description>
<display-name>ServiceName</display-name>
<property-name>serviceName</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>basics</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Alias of the agent to execute</description>
<display-name>AgentName</display-name>
<property-name>agentName</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>basics</category>
</designer-extension>
</property-extension>
</property>
<property>
<description>Style Title</description>
<display-name>styleTitle</display-name>
<property-name>styleTitle</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>styling</category>
<editor>com.ibm.workplace.designer.property.editors.StylesEditor</editor>
</designer-extension>
</property-extension>
</property>
<property>
<description>Class Title</description>
<display-name>classTitle</display-name>
<property-name>styleClassTitle</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>styling</category>
<editor>com.ibm.workplace.designer.property.editors.StyleClassEditor</editor>
</designer-extension>
</property-extension>
</property>
<property>
<description>Style Task</description>
<display-name>styleTaks</display-name>
<property-name>styleTask</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>styling</category>
<editor>com.ibm.workplace.designer.property.editors.StylesEditor</editor>
</designer-extension>
</property-extension>
</property>
<property>
<description>Class Task</description>
<display-name>classTask</display-name>
<property-name>styleClassTask</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>styling</category>
<editor>com.ibm.workplace.designer.property.editors.StyleClassEditor</editor>
</designer-extension>
</property-extension>
</property>
<property>
<description>Style ProgressBar</description>
<display-name>styleProgressBar</display-name>
<property-name>styleProgressBar</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>styling</category>
<editor>com.ibm.workplace.designer.property.editors.StylesEditor</editor>
</designer-extension>
</property-extension>
</property>
<property>
<description>Class ProgressBar</description>
<display-name>classProgressBar</display-name>
<property-name>styleClassProgressBar</property-name>
<property-class>java.lang.String</property-class>
<property-extension>
<designer-extension>
<category>styling</category>
<editor>com.ibm.workplace.designer.property.editors.StyleClassEditor</editor>
</designer-extension>
</property-extension>
</property>
<property>
<description>Agent Properties</description>
<display-name>agentProperties</display-name>
<property-name>agentProperties</property-name>
<property-class>java.util.List</property-class>
<property-extension>
<allow-run-time-binding>false</allow-run-time-binding>
<collection-property>true</collection-property>
<property-item-class>org.openntf.xpt.agents.component.UIAgentProperty</property-item-class>
<property-add-method>addAgentProperty</property-add-method>
<designer-extension>
<category>XPageAgents</category>
</designer-extension>
</property-extension>
</property>
<component-extension>
<component-family>org.openntf.xpt.agents.component.uiagentprogressbar</component-family>
<renderer-type>org.openntf.xpt.agents.component.uiagentprogressbar</renderer-type>
<tag-name>agentprogressbar</tag-name>
<designer-extension>
<in-palette>true</in-palette>
<category>XPages Toolkit</category>
<render-markup><?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:image url="/icons/ui_progressbar.png" id="uiprogressbar"></xp:image>
</xp:view>
</render-markup>
</designer-extension>
</component-extension>
</component>
<complex-type>
<description>Agent Properties</description>
<display-name>agentProperty</display-name>
<complex-id>org.openntf.xpt.agents.component.UIAgentProperty</complex-id>
<complex-class>org.openntf.xpt.agents.component.UIAgentProperty</complex-class>
<property>
<description>Key of the values</description>
<display-name>key</display-name>
<property-name>key</property-name>
<property-class>java.lang.String</property-class>
</property>
<property>
<description>Value</description>
<display-name>value</display-name>
<property-name>value</property-name>
<property-class>java.lang.String</property-class>
</property>
<complex-extension>
<tag-name>agentProperty</tag-name>
</complex-extension>
</complex-type>
</faces-config>
| XPages | 4 | OpenNTF/XPagesToolk | org.openntf.xpt.agents/src/org/openntf/xpt/agents/config/xpt-agent.xsp-config | [
"Apache-2.0"
] |
FROM functions/alpine:latest
USER root
# Populate example here
ENV fprocess="wc"
USER 1000
CMD ["fwatchdog"]
| Dockerfile | 3 | oswalpalash/faas | sample-functions/WordCountFunction/Dockerfile | [
"MIT"
] |
Dict{String,Any}("title" => Dict{String,Any}("value" => Any[Dict{String,Any}("value" => "Client: \"XXXX\", Job: XXXX","type" => "string"), Dict{String,Any}("value" => "Code: XXXX","type" => "string")],"type" => "array")) | Julia | 2 | vanillajonathan/julia | stdlib/TOML/test/testfiles/valid/array-string-quote-comma.jl | [
"Zlib"
] |
<!-- MDL Spinner Component -->
<div class="mdl-spinner mdl-js-spinner is-active"></div>
| HTML | 1 | greatwqs/staffjoy | frontend/third_party/node/material_design_lite/spinner/snippets/spinner-default.html | [
"MIT"
] |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Windows;
using System.Windows.Media.Animation;
using Microsoft.Xaml.Behaviors;
namespace ColorPicker.Behaviors
{
public class ResizeBehavior : Behavior<FrameworkElement>
{
// animation behavior variables
// used when size is getting bigger
private static readonly TimeSpan _animationTime = TimeSpan.FromMilliseconds(200);
private static readonly IEasingFunction _easeFunction = new SineEase() { EasingMode = EasingMode.EaseOut };
// used when size is getting smaller
private static readonly TimeSpan _animationTimeSmaller = _animationTime;
private static readonly IEasingFunction _easeFunctionSmaller = new QuadraticEase() { EasingMode = EasingMode.EaseIn };
private static void CustomAnimation(DependencyProperty prop, IAnimatable sender, double fromValue, double toValue)
{
// if the animation is to/from a value of 0, it will cancel the current animation
DoubleAnimation move = null;
if (toValue > 0 && fromValue > 0)
{
// if getting bigger
if (fromValue < toValue)
{
move = new DoubleAnimation(fromValue, toValue, new Duration(_animationTime), FillBehavior.Stop)
{
EasingFunction = _easeFunction,
};
}
else
{
move = new DoubleAnimation(fromValue, toValue, new Duration(_animationTimeSmaller), FillBehavior.Stop)
{
EasingFunction = _easeFunctionSmaller,
};
}
}
// HandoffBehavior must be SnapshotAndReplace
// Compose does not allow cancellation
sender.BeginAnimation(prop, move, HandoffBehavior.SnapshotAndReplace);
}
public static readonly DependencyProperty WidthProperty = DependencyProperty.Register("Width", typeof(double), typeof(ResizeBehavior), new PropertyMetadata(new PropertyChangedCallback(WidthPropertyChanged)));
private static void WidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var sender = ((ResizeBehavior)d).AssociatedObject;
var fromValue = sender.Width;
var toValue = (double)e.NewValue;
// setting Width before animation prevents jumping
sender.Width = toValue;
CustomAnimation(FrameworkElement.WidthProperty, sender, fromValue, toValue);
}
public static readonly DependencyProperty HeightProperty = DependencyProperty.Register("Height", typeof(double), typeof(ResizeBehavior), new PropertyMetadata(new PropertyChangedCallback(HeightPropertyChanged)));
private static void HeightPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var sender = ((ResizeBehavior)d).AssociatedObject;
var fromValue = sender.Height;
var toValue = (double)e.NewValue;
// setting Height before animation prevents jumping
sender.Height = toValue;
CustomAnimation(FrameworkElement.HeightProperty, sender, fromValue, toValue);
}
public double Width
{
get
{
return (double)GetValue(WidthProperty);
}
set
{
SetValue(WidthProperty, value);
}
}
public double Height
{
get
{
return (double)GetValue(HeightProperty);
}
set
{
SetValue(HeightProperty, value);
}
}
}
}
| C# | 5 | tameemzabalawi/PowerToys | src/modules/colorPicker/ColorPickerUI/Behaviors/ResizeBehavior.cs | [
"MIT"
] |
// force-host
// no-prefer-dynamic
#![feature(proc_macro_quote)]
#![crate_type = "proc-macro"]
extern crate proc_macro as proc_macro_renamed; // This does not break `quote!`
use proc_macro_renamed::{TokenStream, quote};
#[proc_macro]
pub fn hello(input: TokenStream) -> TokenStream {
quote!(hello_helper!($input))
//^ `hello_helper!` always resolves to the following proc macro,
//| no matter where `hello!` is used.
}
#[proc_macro]
pub fn hello_helper(input: TokenStream) -> TokenStream {
quote! {
extern crate hygiene_example; // This is never a conflict error
let string = format!("hello {}", $input);
//^ `format!` always resolves to the prelude macro,
//| even if a different `format!` is in scope where `hello!` is used.
hygiene_example::print(&string)
}
}
| Rust | 4 | Eric-Arellano/rust | src/test/ui/proc-macro/auxiliary/hygiene_example_codegen.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
class_name SymmetryGuide extends Guide
var _texture = preload("res://assets/graphics/dotted_line.png")
func _ready() -> void:
has_focus = false
visible = false
texture = _texture
texture_mode = Line2D.LINE_TEXTURE_TILE
width = Global.camera.zoom.x * 4
yield(get_tree().create_timer(0.01), "timeout")
modulate = Global.guide_color
func _input(_event : InputEvent) -> void:
._input(_event)
if type == Types.HORIZONTAL:
project.y_symmetry_point = points[0].y * 2 - 1
elif type == Types.VERTICAL:
project.x_symmetry_point = points[0].x * 2 - 1
yield(get_tree().create_timer(0.01), "timeout")
func outside_canvas() -> bool:
if type == Types.HORIZONTAL:
points[0].y = clamp(points[0].y, 0, Global.current_project.size.y)
points[1].y = clamp(points[1].y, 0, Global.current_project.size.y)
elif type == Types.VERTICAL:
points[0].x = clamp(points[0].x, 0, Global.current_project.size.x)
points[1].x = clamp(points[1].x, 0, Global.current_project.size.x)
return false
| GDScript | 3 | triptych/Pixelorama | src/UI/Canvas/Rulers/SymmetryGuide.gd | [
"MIT"
] |
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
;TEST_INIT_EXEC nfp-mem i32.ctm:0x80 0x01020304 0x05060708 0x090a0b0c 0x0d0e0f10
;TEST_INIT_EXEC nfp-mem i32.ctm:0x90 0x11121314 0x15161718 0x191a1b1c 0x1d1e1f20
;TEST_INIT_EXEC nfp-mem i32.ctm:0xa0 0x21222324 0x25262728 0x292a2b2c 0x2d2e2f30
;TEST_INIT_EXEC nfp-mem i32.ctm:0xb0 0x31323334 0x35363738 0x393a3b3c 0x3d3e3f40
;TEST_INIT_EXEC nfp-mem i32.ctm:0xc0 0x41424344 0x45464748 0x494a4b4c 0x4d4e4f50
;TEST_INIT_EXEC nfp-mem i32.ctm:0xd0 0x51525354 0x55565758 0x595a5b5c 0x5d5e5f60
;TEST_INIT_EXEC nfp-mem i32.ctm:0xe0 0x61626364 0x65666768 0x696a6b6c 0x6d6e6f70
;TEST_INIT_EXEC nfp-mem i32.ctm:0xf0 0x71727374 0x75767778 0x797a7b7c 0x7d7e7f80
;TEST_INIT_EXEC nfp-mem i32.ctm:0x100 0x81828384 0x85868788 0x898a8b8c 0x8d8e8f90
;TEST_INIT_EXEC nfp-mem i32.ctm:0x110 0x91929394 0x95969798 0x999a9b9c 0x9d9e9fa0
;TEST_INIT_EXEC nfp-mem i32.ctm:0x120 0xa1a2a3a4 0xa5a6a7a8 0xa9aaabac 0xadaeafb0
;TEST_INIT_EXEC nfp-mem i32.ctm:0x130 0xb1b2b3b4 0xb5b6b7b8 0xb9babbbc 0xbdbebfc0
;TEST_INIT_EXEC nfp-mem i32.ctm:0x140 0xc1c2c3c4 0xc5c6c7c8 0xc9cacbcc 0xcdcecfd0
;TEST_INIT_EXEC nfp-mem i32.ctm:0x150 0xd1d2d3d4 0xd5d6d7d8 0xd9dadbdc 0xdddedfe0
;TEST_INIT_EXEC nfp-mem i32.ctm:0x160 0xe1e2e3e4 0xe5e6e7e8 0xe9eaebec 0xedeeeff0
;TEST_INIT_EXEC nfp-mem i32.ctm:0x170 0xf1f2f3f4 0xf5f6f7f8 0xf9fafbfc 0xfdff0000
;TEST_INIT_EXEC nfp-mem i32.ctm:0x180 0x102030404 0x106070808 0x10a0b0c0c 0x10e0f1010
#include <aggregate.uc>
#include <stdmac.uc>
#include <pv.uc>
.reg pkt_vec[PV_SIZE_LW]
aggregate_zero(pkt_vec, PV_SIZE_LW)
move(pkt_vec[0], 0xfc)
move(pkt_vec[2], 0x80)
move(pkt_vec[4], 0x3fc0)
| UnrealScript | 1 | pcasconnetronome/nic-firmware | test/datapath/pkt_inc_pat_256B_x80.uc | [
"BSD-2-Clause"
] |
Simple testing support
'use strict'
define [], ->
strFunc = (str)->
if typeof str == 'function' then str
else -> str
assert = (errStr, bool)-> if !bool then throw new Error strFunc(errStr)()
assertEq = (errStr, a, b)-> assert (-> strFunc(errStr)(a, b)), _.isEqual a, b
{
assert
assertEq
}
| Literate CoffeeScript | 3 | zot/Leisure | src/testing.litcoffee | [
"Zlib"
] |
t app appmode photo
t app test vin_rotate 270
sleep 5
t app button shutter PR
d:\autoexec.ash
REBOOT yes
| AGS Script | 0 | waltersgrey/autoexechack | rotation/panorama/270/autoexec.ash | [
"MIT"
] |
$! File: build_libcurl_pc.com
$!
$! $Id:$
$!
$! Build the curl-config file from the config_curl.in file
$!
$! Copyright 2013, John Malmberg
$!
$! Permission to use, copy, modify, and/or distribute this software for any
$! purpose with or without fee is hereby granted, provided that the above
$! copyright notice and this permission notice appear in all copies.
$!
$! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
$! WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
$! MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
$! ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
$! WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
$! ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
$! OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
$!
$!
$! 15-Jun-2013 J. Malmberg
$!
$!===========================================================================
$!
$! Skip this if the curl-config. already exists.
$ if f$search("[--]curl-config.") .nes. "" then goto all_exit
$!
$! Need to know the kit type.
$ kit_name = f$trnlnm("GNV_PCSI_KITNAME")
$ if kit_name .eqs. ""
$ then
$ write sys$output "@MAKE_PCSI_CURL_KIT_NAME.COM has not been run."
$ goto all_exit
$ endif
$!
$!
$! Parse the kit name into components.
$!---------------------------------------
$ producer = f$element(0, "-", kit_name)
$ base = f$element(1, "-", kit_name)
$ product = f$element(2, "-", kit_name)
$ mmversion = f$element(3, "-", kit_name)
$ majorver = f$extract(0, 3, mmversion)
$ minorver = f$extract(3, 2, mmversion)
$ updatepatch = f$element(4, "-", kit_name)
$ if updatepatch .eqs. "-" then updatepatch = ""
$!
$! kit type of "D" means a daily build
$ kit_type = f$edit(f$extract(0, 1, majorver), "upcase")
$!
$ cfg_file_in = "[--]curl-config.in"
$!
$ if f$search(cfg_file_in) .eqs. ""
$ then
$ write sys$output "Can not find curl-config.in."
$ goto all_exit
$ endif
$!
$ if (f$getsyi("HW_MODEL") .lt. 1024)
$ then
$ arch_name = "VAX"
$ else
$ arch_name = ""
$ arch_name = arch_name + f$edit(f$getsyi("ARCH_NAME"), "UPCASE")
$ if (arch_name .eqs. "") then arch_name = "UNK"
$ endif
$!
$!
$ curl_version = "0.0.0"
$ open/read vf [--.include.curl]curlver.h
$version_loop:
$ read vf/end=version_loop_end line_in
$ if line_in .eqs. "" then goto version_loop
$ key = f$element(0, " ", line_in)
$ if key .nes. "#define" then goto version_loop
$ name = f$element(1, " ", line_in)
$ if name .eqs. "LIBCURL_VERSION"
$ then
$ curl_version = f$element(2, " ", line_in) - """" - """"
$ goto version_loop
$ endif
$ if name .eqs. "LIBCURL_VERSION_NUM"
$ then
$ version_num_hex = f$element(2, " ", line_in)
$ version_num = version_num_hex - "0x"
$ goto version_loop
$ endif
$version_loop_end:
$ close vf
$!
$!
$ create [--]curl-config.
$ open/append pco [--]curl-config.
$ open/read pci 'cfg_file_in'
$cfg_file_loop:
$ read pci/end=cfg_file_loop_end line_in
$!
$! blank lines
$ if line_in .eqs. ""
$ then
$ write pco ""
$ goto cfg_file_loop
$ endif
$!
$! comment lines
$ key = f$extract(0, 1, line_in)
$ if key .eqs. "#"
$ then
$ write pco line_in
$ goto cfg_file_loop
$ endif
$!
$! No substitution line
$ line_in_len = f$length(line_in)
$ if f$locate("@", line_in) .ge. line_in_len
$ then
$ write pco line_in
$ goto cfg_file_loop
$ endif
$!
$ if f$locate("@prefix@", line_in) .lt line_in_len
$ then
$ if kit_type .nes. "D"
$ then
$ write pco "prefix=/usr"
$ else
$ write pco "prefix=/beta"
$ endif
$ goto cfg_file_loop
$ endif
$ if f$locate("@exec_prefix@", line_in) .lt line_in_len
$ then
$ if kit_type .nes. "D"
$ then
$ write pco "exec_prefix=/usr"
$ else
$ write pco "exec_prefix=/beta"
$ endif
$ goto cfg_file_loop
$ endif
$ if f$locate("=@includedir@", line_in) .lt line_in_len
$ then
$ write pco "includedir=$(prefix}/include"
$ goto cfg_file_loop
$ endif
$ if f$locate("X@includedir@", line_in) .lt line_in_len
$ then
$ write pco " if test ""X$(prefix}/include""; then"
$ goto cfg_file_loop
$ endif
$ if f$locate("I@includedir@", line_in) .lt line_in_len
$ then
$ write pco " echo "${CPPFLAG_CURL_STATICLIB}-I$(prefix}/include"
$ goto cfg_file_loop
$ endif
$ if f$locate("@CPPFLAG_CURL_STATICLIB@", line_in) .lt line_in_len
$ then
$ write pco "cppflag_curl_staticlib=-DCURL_STATICLIB"
$ goto cfg_file_loop
$ endif
$ if f$locate("@ENABLE_SHARED@", line_in) .lt line_in_len
$ then
$ write pco " echo no"
$ goto cfg_file_loop
$ endif
$ if f$locate("@CURL_CA_BUNDLE@", line_in) .lt line_in_len
$ then
$ write pco " echo """""
$ goto cfg_file_loop
$ endif
$ if f$locate("@CC@", line_in) .lt line_in_len
$ then
$ write pco " echo ""cc"""
$ goto cfg_file_loop
$ endif
$ if f$locate("@SUPPORT_FEATURES@", line_in) .lt line_in_len
$ then
$ if arch_name .eqs. "VAX"
$ then
$ write pco " for feature in SSL libz NTLM ""; do"
$ else
$ write pco " for feature in SSL IPv6 libz NTLM ""; do"
$ endif
$ goto cfg_file_loop
$ endif
$ if f$locate("@SUPPORT_PROTOCOLS@", line_in) .lt line_in_len
$ then
$ proto1 = "DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS"
$ proto2 = " LDAP LDAPS POP3 POP3S RTSP SMTP SMTPS TELNET TFTP"
$ proto = proto1 + proto2
$ write pco " for protocol in " + proto + "; do"
$ goto cfg_file_loop
$ endif
$ if f$locate("libcurl @CURLVERSION@", line_in) .lt line_in_len
$ then
$ write pco " echo libcurl ''curl_version'"
$ goto cfg_file_loop
$ endif
$ if f$locate("existing @CURLVERSION@", line_in) .lt line_in_len
$ then
$ line_start = -
" echo ""requested version $checkfor is newer than existing"
$ write pco "''line_start' ''curl_version'"""
$ goto cfg_file_loop
$ endif
$ if f$locate("`echo @versionnum@", line_in) .lt line_in_len
$ then
$ write pco " numuppercase=`echo ''version_num' | tr 'a-f' 'A-F'`"
$ goto cfg_file_loop
$ endif
$ if f$locate(" echo @versionnum@", line_in) .lt line_in_len
$ then
$ write pco " echo ''version_num'"
$ goto cfg_file_loop
$ endif
$ if f$locate("X@libdir@", line_in) .lt line_in_len
$ then
$ part1 = " if test ""$(exec_prefix}/lib"" != ""X/usr/lib"""
$ part2 = "-a ""X$(exec_prefix}/lib"" != ""X/usr/lib64""; then"
$ write pco part1,part2
$ goto cfg_file_loop
$ endif
$ if f$locate("L@libdir@", line_in) .lt line_in_len
$ then
$ write pco " CURLLIBDIR=""$(exec_prefix}/lib """
$ goto cfg_file_loop
$ endif
$ if f$locate("@REQUIRE_LIB_DEPS@", line_in) .lt line_in_len
$ then
$ write pco " if test "Xyes" = "Xyes"; then"
$ goto cfg_file_loop
$ endif
$ if f$locate("@LIBCURL_LIBS@", line_in) .lt line_in_len
$ then
$ if arch_name .eqs. "VAX"
$ then
$ write pco " echo ${CURLLIBDIR}-lssl -lcrypto -lz"
$ else
$ write pco " echo ${CURLLIBDIR}-lssl -lcrypto -lgssapi -lz"
$ endif
$ goto cfg_file_loop
$ endif
$ if f$locate("@ENABLE_STATIC@", line_in) .lt line_in_len
$ then
$ write pco " if test "Xyes" != "Xno" ; then"
$ goto cfg_file_loop
$ endif
$ if f$locate("@LIBCURL_LIBS@", line_in) .lt line_in_len
$ then
$ part1 = " echo ${exec_prefix}/lib/libcurl.a"
$ part2 = "-L/usr/lib -L/SSL_LIB"
$ if arch_name .eqs. "VAX"
$ then
$ write pco "''part1' ''part2' -lssl -lcrypto -lz"
$ else
$ write pco "''part1' ''part2' -lssl -lcrypto -lgssapi -lz"
$ endif
$ goto cfg_file_loop
$ endif
$ if f$locate("@CONFIGURE_OPTIONS@", line_in) .lt line_in_len
$ then
$ if kit_type .nes. "D"
$ then
$ part1 = " echo "" '--prefix=/usr' '--exec-prefix=/usr' "
$ else
$ part1 = " echo "" '--prefix=/beta' '--exec_prefix=/beta' "
$ endif
$ if arch_name .eqs. "VAX"
$ then
$ part3 = ""
$ else
$ part3 = "'--with-gssapi' "
$ endif
$ part2 = "'--disable-dependency-tracking' '--disable-libtool-lock' "
$ part4 = "'--disable-ntlm-wb' '--with-ca-path=gnv$curl_ca_path'"""
$!
$ write pco part1,part2,part3,part4
$!
$ goto cfg_file_loop
$ endif
$!
$pc_file_loop_end:
$ close pco
$ close pci
$!
$all_exit:
$ exit
| DIGITAL Command Language | 4 | YahooArchive/ygloo-external-curl | packages/vms/build_curl-config_script.com | [
"curl"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CMfcguiDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "mfcgui.h"
ClassCount=3
Class1=CMfcguiApp
Class2=CMfcguiDlg
Class3=CAboutDlg
ResourceCount=3
Resource1=IDD_ABOUTBOX
Resource2=IDR_MAINFRAME
Resource3=IDD_MFCGUI_DIALOG
[CLS:CMfcguiApp]
Type=0
HeaderFile=mfcgui.h
ImplementationFile=mfcgui.cpp
Filter=N
LastObject=CMfcguiApp
[CLS:CMfcguiDlg]
Type=0
HeaderFile=mfcguiDlg.h
ImplementationFile=mfcguiDlg.cpp
Filter=D
BaseClass=CDialog
VirtualFilter=dWC
LastObject=IDOK
[CLS:CAboutDlg]
Type=0
HeaderFile=mfcguiDlg.h
ImplementationFile=mfcguiDlg.cpp
Filter=D
LastObject=IDOK
[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889
[DLG:IDD_MFCGUI_DIALOG]
Type=1
Class=CMfcguiDlg
ControlCount=4
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_BUTTON1,button,1342242816
| Clarion | 1 | dendisuhubdy/grokmachine | Rootkits/vault/vipinkumar/bootkitprivilege/privilege escalation code/driver loader/mfcgui.clw | [
"BSD-3-Clause"
] |
an escaped mustache:
\{{my-component}}
a non-escaped mustache:
\\{{my-component}}
another non-escaped mustache:
\\\{{my-component}}
| Handlebars | 2 | tumido/prettier | tests/format/handlebars/mustache-statement/escaped.hbs | [
"MIT"
] |
Hello there,
Mr. <%= @recipient %>. Be greeted, new member!
| HTML+ERB | 2 | mdesantis/rails | actionmailer/test/fixtures/i18n_test_mailer/mail_with_i18n_subject.erb | [
"MIT"
] |
ruleset io.picolabs.manifold_pico {
meta {
use module io.picolabs.wrangler alias wrangler
use module io.picolabs.subscription alias subscription
shares __testing, getManifoldInfo, isAChild, getThings
provides __testing, getManifoldInfo, getThings
}//end meta
global {
__testing =
{ "queries": [ { "name":"getManifoldPico" },
{ "name": "getManifoldInfo" },
{ "name": "getThings" },
{ "name": "isAChild", "args": ["name"] }],
"events": [ { "domain": "manifold", "type": "create_thing",
"attrs": [ "name" ] },
{ "domain": "manifold", "type": "devReset",
"attrs": [ ] }
,{ "domain": "manifold", "type": "change_thing_name",
"attrs": [ "picoID", "changedName" ] } ] }
thingRids = "io.picolabs.thing;io.picolabs.subscription"
communityRids = "io.picolabs.community;io.picolabs.subscription"
thing_role = "manifold_thing"
community_role = "manifold_community"
max_picos = 30
getManifoldInfo = function() {
{
"things": getThings(),
"communities": getCommunities()
}
}
getThings = function() {
ent:things.defaultsTo({}).map(function(value, key) {
sub = subscription:established("Id", value{"subID"})[0];
sub.put(value)
})
}
hasTutorial = function() {
ent:tutorial.defaultsTo(false);
}
getCommunities = function() {
ent:communities.defaultsTo({}).map(function(value, key) {
sub = subscription:established("Id", value{"subID"})[0];
sub.put(value)
})
}
initiate_subscription = defaction(eci, channel_name, wellKnown, role_type, optionalHost = meta:host) {
every{
event:send({
"eci": eci, "eid": "subscription",
"domain": "wrangler", "type": "subscription",
"attrs": {
"name" : event:attr("name"),
"picoID" : event:attr("id"),
"Rx_role" : role_type,
"Tx_role" : "manifold_pico",
"Tx_Rx_Type" : "Manifold" , // auto_accept
"channel_type": "Manifold",
"wellKnown_Tx": wellKnown, //this should by best practice be the parent's or the pico being requested's wellknown eci
"Tx_host" : meta:host } //allow cross engine subscriptions
}, host = optionalHost)
}
}
subIDFromPicoID = function(picoID, theMapToCheck) {
theMapToCheck.defaultsTo({}){[picoID, "subID"]}
}
isAChild = function(picoID) {
children = wrangler:children();
childIDs = children.map(function(child) {
child{"id"}
});
childIDs >< picoID
}
isAThing = function(picoID) {
ent:things.defaultsTo({}).keys() >< picoID
}
isACommunity = function(picoID) {
ent:communities.defaultsTo({}).keys() >< picoID
}
}//end global
rule updateManifoldVersion {
select when manifold update_version
pre {
needed_rulesets = ["io.picolabs.notifications",
"io.picolabs.prowl_notifications",
"io.picolabs.twilio_notifications",
"io.picolabs.manifold.email_notifications",
"io.picolabs.manifold.text_message_notifications"].difference(wrangler:installedRulesets()).klog("needed");
}
if needed_rulesets.length() > 0 then noop();
fired {
raise wrangler event "install_rulesets_requested"
attributes {
"rids" : needed_rulesets
}
}
}
rule createThing {
select when manifold create_thing
if event:attr("name") && wrangler:children().length() <= max_picos then
send_directive("Attempting to create new Thing", { "thing":event:attr("name") })
fired {
raise wrangler event "new_child_request"
attributes event:attrs.put({ "event_type": "manifold_create_thing" })
.put({ "rids": thingRids })
}
}
rule thingCompleted {
select when wrangler child_initialized
where event_type == "manifold_create_thing" || rs_attrs{"event_type"} == "manifold_create_thing"
initiate_subscription(event:attr("eci"), event:attr("name"), subscription:wellKnown_Rx(){"id"}, thing_role);
}
rule autoAcceptSubscriptions {
select when wrangler inbound_pending_subscription_added
where Tx_Rx_Type == "Manifold" || event:attr("rs_attrs"){"Tx_Rx_Type"} == "Manifold"
always {
raise wrangler event "pending_subscription_approval" attributes event:attrs.klog("sub attrs"); // Simplified and idiomatic subscription acceptance
}
}
rule trackThingSubscription {
select when wrangler subscription_added where event:attr("Tx_role") == thing_role
pre {
subID = event:attr("Id");
name = event:attr("name");
picoID = event:attr("picoID");
obj_structure = {
"name": name,
"subID": subID,
"picoID": picoID,
"color": "#eceff1"//default color
}
}
if subID && name && picoID then
send_directive("Tracking subscription", { "info": obj_structure })
fired {
ent:things := ent:things.defaultsTo({}).put([picoID], obj_structure);
}
}
rule createCommunity {
select when manifold create_community
if event:attr("name") then every {
send_directive("Attempting to create new Community",{"community":event:attr("name")})
}
fired{
raise wrangler event "new_child_request"
attributes event:attrs.put({"event_type": "manifold_create_community"})
.put({"rids": communityRids})
}
}
rule communityCompleted {
select when wrangler child_initialized
where event_type == "manifold_create_community" || rs_attrs{"event_type"} == "manifold_create_community"
initiate_subscription(event:attr("eci"), event:attr("name"), subscription:wellKnown_Rx(){"id"}, community_role);
}
rule trackCommSubscription {
select when wrangler subscription_added where event:attr("Tx_role") == community_role
pre {
subID = event:attr("Id");
name = event:attr("name");
picoID = event:attr("picoID");
obj_structure = {
"name": name,
"subID": subID,
"picoID": picoID,
"color": "#87cefa" //default community color
};
}
if subID && name && picoID then
send_directive("Tracking subscription", { "info": obj_structure })
fired {
ent:communities := ent:communities.defaultsTo({}).put([picoID], obj_structure);
}
}
rule removeThingSubscription {
select when manifold remove_thing
pre {
picoID = event:attr("picoID");
subID = subIDFromPicoID(picoID, ent:things).klog("found subID: ");
sub = subscription:established("Id", subID)[0].klog("found sub: ");
}
if picoID && subID && sub then
every {
event:send({ "eci" : sub{"Tx"}, "domain" : "apps", "type" : "cleanup", "attrs" : {} }); //Jace added this event send to allow each app a chance to clean up.
send_directive("Attempting to cancel subscription to Thing", { "thing": ent:things{[picoID, "name"]} })
}
fired {
raise wrangler event "subscription_cancellation"
attributes {"Id": sub{"Id"}, "picoID": picoID, "event_type": "thing_deletion"}
}
}
rule deleteThing {
select when wrangler subscription_removed where event:attr("event_type") == "thing_deletion"
pre {
picoID = event:attr("picoID");
}
if picoID && isAChild(picoID) then
send_directive("Attempting to remove Thing", { "thing": ent:things{[picoID, "name"]}, "picoID": picoID })
fired {
ent:things := ent:things.filter(function(thing, key){ key != picoID});
raise wrangler event "child_deletion"
attributes { "id": picoID } //lowercase "id" is wrangler's way to delete a child by picoID
}
}
rule removeCommunity {
select when manifold remove_community
pre {
picoID = event:attr("picoID");
subID = subIDFromPicoID(picoID, ent:things).klog("found subID: ");
sub = subscription:established("Id", event:attr("subID"))[0].klog("found sub: ");
}
if picoID && subID && sub then
send_directive("Attempting to cancel subscription to Community", {"community":event:attr("name")})
fired{
raise wrangler event "subscription_cancellation"
attributes { "Id": sub{"Id"}, "picoID": picoID, "event_type": "community_deletion" }
}
}
rule deleteCommunity {
select when wrangler subscription_removed where event:attr("event_type") == "community_deletion"
pre{
picoID = event:attr("picoID");
}
if picoID && isAChild(picoID) then
send_directive("Attempting to remove Community", { "community": ent:communities{[picoID, "name"]}, "picoID": picoID })
fired{
ent:communities := ent:communities.filter(function(thing){ thing{"subID"} != event:attr("Id")});
raise wrangler event "child_deletion"
attributes { "id": picoID } //lowercase "id" is wrangler's way to delete a child by picoID
}
}
rule updateThingLocation {
select when manifold move_thing
pre {
picoID = event:attr("picoID");
}
if picoID && isAThing(picoID) then
send_directive("Updating Thing Location", { "attrs": event:attrs })
fired {
ent:things{[picoID, "pos"]} := {
"x": event:attr("x").as("Number"),
"y": event:attr("y").as("Number"),
"w": event:attr("w").as("Number"),
"h": event:attr("h").as("Number"),
"minw": 3,
"minh": 2.25,
"maxw": 8,
"maxh": 5
};
}
}
rule updateCommunityLocation {
select when manifold move_community
pre {
picoID = event:attr("picoID");
}
if picoID && isACommunity(picoID) then
send_directive("Updating Community Location", { "attrs": event:attrs })
fired {
ent:communities{[picoID, "pos"]} := {
"x": event:attr("x").as("Number"),
"y": event:attr("y").as("Number"),
"w": event:attr("w").as("Number"),
"h": event:attr("h").as("Number"),
"minw": 3,
"minh": 2.25,
"maxw": 8,
"maxh": 5
};
}
}
rule devReset {
select when manifold devReset
always{
clear ent:things;
clear ent:communities;
}
}
rule changeThingName {
select when manifold change_thing_name
pre {
picoID = event:attr("picoID");
changedName = event:attr("changedName");
}
if not (picoID.isnull() || changedName.isnull()) then
send_directive("THINGS", { "things list" : ent:things });
fired {
ent:things := ent:things.put([picoID, "name"], changedName);
}
}
}//end ruleset
| KRL | 5 | Picolab/ManifoldRewrite | Manifold_krl/io.picolabs.manifold_pico.krl | [
"MIT"
] |
--TEST--
Internal enums
--EXTENSIONS--
zend_test
--FILE--
<?php
var_dump($bar = ZendTestUnitEnum::Bar);
var_dump($bar === ZendTestUnitEnum::Bar);
var_dump($bar instanceof UnitEnum);
var_dump($foo = zend_get_unit_enum());
var_dump($foo === ZendTestUnitEnum::Foo);
var_dump(ZendTestUnitEnum::cases());
echo "\n";
var_dump($foo = ZendTestStringEnum::Foo);
var_dump($foo instanceof BackedEnum);
var_dump(ZendTestStringEnum::Foo->value);
var_dump($bar = ZendTestStringEnum::from("Test2"));
var_dump($bar === ZendTestStringEnum::Bar);
var_dump(ZendTestStringEnum::tryFrom("Test3"));
var_dump(ZendTestStringEnum::cases());
var_dump($s = serialize($foo));
var_dump(unserialize($s));
var_dump(unserialize($s) === $foo);
?>
--EXPECT--
enum(ZendTestUnitEnum::Bar)
bool(true)
bool(true)
enum(ZendTestUnitEnum::Foo)
bool(true)
array(2) {
[0]=>
enum(ZendTestUnitEnum::Foo)
[1]=>
enum(ZendTestUnitEnum::Bar)
}
enum(ZendTestStringEnum::Foo)
bool(true)
string(5) "Test1"
enum(ZendTestStringEnum::Bar)
bool(true)
NULL
array(3) {
[0]=>
enum(ZendTestStringEnum::Foo)
[1]=>
enum(ZendTestStringEnum::Bar)
[2]=>
enum(ZendTestStringEnum::Baz)
}
string(30) "E:22:"ZendTestStringEnum:Foo";"
enum(ZendTestStringEnum::Foo)
bool(true)
| PHP | 4 | NathanFreeman/php-src | Zend/tests/enum/internal_enums.phpt | [
"PHP-3.01"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.