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
sequencelengths
1
8
tree grammar DSLMapWalker; options { tokenVocab=DSLMap; ASTLabelType=CommonTree; } @treeparser::header { package org.drools.compiler.lang.dsl; import java.util.Map; import java.util.HashMap; } mapping_file returns [DSLMapping mapping] scope { DSLMapping retval; } @init { $mapping_file::retval = new DefaultDSLMapping() ; } : ^(VT_DSL_GRAMMAR valid_entry*) { $mapping = $mapping_file::retval; } ; valid_entry returns [DSLMappingEntry mappingEntry] : ent=entry {$mappingEntry = ent; } ; entry returns [DSLMappingEntry mappingEntry] scope { Map<String,Integer> variables; AntlrDSLMappingEntry retval; StringBuilder keybuffer; StringBuilder valuebuffer; StringBuilder sentenceKeyBuffer; StringBuilder sentenceValueBuffer; } @init { $entry::retval = new AntlrDSLMappingEntry() ; $entry::variables = new HashMap<String,Integer>(); $entry::keybuffer = new StringBuilder(); $entry::valuebuffer = new StringBuilder(); $entry::sentenceKeyBuffer = new StringBuilder(); $entry::sentenceValueBuffer = new StringBuilder(); } : ^(VT_ENTRY scope_section meta_section? key_section { $entry::retval.setVariables( $entry::variables ); $entry::retval.setMappingKey($entry::sentenceKeyBuffer.toString()); $entry::retval.setKeyPattern($entry::keybuffer.toString()); } value_section?) { $entry::retval.setMappingValue($entry::sentenceValueBuffer.toString()); $entry::retval.setValuePattern($entry::valuebuffer.toString()); $mappingEntry = $entry::retval; $mapping_file::retval.addEntry($mappingEntry); } ; scope_section : ^(thescope=VT_SCOPE condition_key? consequence_key? keyword_key? any_key?) ; meta_section : ^(VT_META metalit=LITERAL?) { if ( $metalit == null || $metalit.text == null || $metalit.text.length() == 0 ) { $entry::retval.setMetaData(DSLMappingEntry.EMPTY_METADATA); } else { $entry::retval.setMetaData(new DSLMappingEntry.DefaultDSLEntryMetaData( $metalit.text )); } } ; key_section : ^(VT_ENTRY_KEY key_sentence+ ) ; key_sentence : variable_definition | vtl=VT_LITERAL { $entry::keybuffer.append($vtl.text); $entry::sentenceKeyBuffer.append($vtl.text); } | VT_SPACE { $entry::keybuffer.append("\\s+"); $entry::sentenceKeyBuffer.append(" "); } ; value_section @after{ $entry::valuebuffer.append(" "); } : ^(VT_ENTRY_VAL value_sentence+ ) ; value_sentence : variable_reference | vtl=VT_LITERAL { $entry::valuebuffer.append($vtl.text); $entry::sentenceValueBuffer.append($vtl.text); } | VT_SPACE { $entry::valuebuffer.append(" "); $entry::sentenceValueBuffer.append(" "); } ; literal : theliteral=VT_LITERAL ; variable_definition : ^(VT_VAR_DEF varname=LITERAL ^(VT_QUAL q=LITERAL?) pattern=VT_PATTERN? ) { $entry::variables.put($varname.text, Integer.valueOf(0)); if($q!=null && $pattern!=null){ $entry::sentenceKeyBuffer.append("{"+$varname.text+":"+$q.text+":"+$pattern.text+"}"); }else if($q==null && $pattern!=null){ $entry::sentenceKeyBuffer.append("{"+$varname.text+":"+$pattern.text+"}"); }else{ $entry::sentenceKeyBuffer.append("{"+$varname.text+"}"); } if($q == null || (!$q.getText().equals("ENUM") && !$q.getText().equals("CF") && !$q.getText().equals("DATE") && !$q.getText().equals("BOOLEAN"))){ $entry::keybuffer.append($pattern != null? "(" + $pattern.text + ")" : "(.*?)"); }else{ $entry::keybuffer.append("(.*?)"); } } ; variable_reference : ^(varref=VT_VAR_REF lit=LITERAL ) { $entry::valuebuffer.append("{" + $lit.text + "}" ); $entry::sentenceValueBuffer.append("{"+$lit.text+"}"); } ; condition_key : VT_CONDITION {$entry::retval.setSection(DSLMappingEntry.CONDITION);} ; consequence_key : VT_CONSEQUENCE {$entry::retval.setSection(DSLMappingEntry.CONSEQUENCE);} ; keyword_key : VT_KEYWORD {$entry::retval.setSection(DSLMappingEntry.KEYWORD);} ; any_key : VT_ANY {$entry::retval.setSection(DSLMappingEntry.ANY);} ;
G-code
4
wtrocki/kogito-runtimes
drools/drools-compiler/src/main/resources/org/drools/compiler/lang/dsl/DSLMapWalker.g
[ "Apache-2.0" ]
{{ formset.management_form }}{% for form in formset %}{{ form.as_p }}{% endfor %}
HTML
3
Joshua-Barawa/My-Photos
venv/lib/python3.8/site-packages/django/forms/templates/django/forms/formsets/p.html
[ "PostgreSQL", "Unlicense" ]
a() ? (b: number, c?: string): void => d() : e;
TypeScript
0
monciego/TypeScript
tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts
[ "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. """Tests for official.nlp.tasks.translation.""" import functools import os import orbit import tensorflow as tf from sentencepiece import SentencePieceTrainer from official.nlp.data import wmt_dataloader from official.nlp.tasks import translation def _generate_line_file(filepath, lines): with tf.io.gfile.GFile(filepath, "w") as f: for l in lines: f.write("{}\n".format(l)) def _generate_record_file(filepath, src_lines, tgt_lines): writer = tf.io.TFRecordWriter(filepath) for src, tgt in zip(src_lines, tgt_lines): example = tf.train.Example( features=tf.train.Features( feature={ "en": tf.train.Feature( bytes_list=tf.train.BytesList( value=[src.encode()])), "reverse_en": tf.train.Feature( bytes_list=tf.train.BytesList( value=[tgt.encode()])), })) writer.write(example.SerializeToString()) writer.close() def _train_sentencepiece(input_path, vocab_size, model_path, eos_id=1): argstr = " ".join([ f"--input={input_path}", f"--vocab_size={vocab_size}", "--character_coverage=0.995", f"--model_prefix={model_path}", "--model_type=bpe", "--bos_id=-1", "--pad_id=0", f"--eos_id={eos_id}", "--unk_id=2" ]) SentencePieceTrainer.Train(argstr) class TranslationTaskTest(tf.test.TestCase): def setUp(self): super(TranslationTaskTest, self).setUp() self._temp_dir = self.get_temp_dir() src_lines = [ "abc ede fg", "bbcd ef a g", "de f a a g" ] tgt_lines = [ "dd cc a ef g", "bcd ef a g", "gef cd ba" ] self._record_input_path = os.path.join(self._temp_dir, "inputs.record") _generate_record_file(self._record_input_path, src_lines, tgt_lines) self._sentencepeice_input_path = os.path.join(self._temp_dir, "inputs.txt") _generate_line_file(self._sentencepeice_input_path, src_lines + tgt_lines) sentencepeice_model_prefix = os.path.join(self._temp_dir, "sp") _train_sentencepiece(self._sentencepeice_input_path, 11, sentencepeice_model_prefix) self._sentencepeice_model_path = "{}.model".format( sentencepeice_model_prefix) def test_task(self): config = translation.TranslationConfig( model=translation.ModelConfig( encoder=translation.EncDecoder(num_layers=1), decoder=translation.EncDecoder(num_layers=1)), train_data=wmt_dataloader.WMTDataConfig( input_path=self._record_input_path, src_lang="en", tgt_lang="reverse_en", is_training=True, static_batch=True, global_batch_size=24, max_seq_length=12), sentencepiece_model_path=self._sentencepeice_model_path) task = translation.TranslationTask(config) model = task.build_model() dataset = task.build_inputs(config.train_data) iterator = iter(dataset) optimizer = tf.keras.optimizers.SGD(lr=0.1) task.train_step(next(iterator), model, optimizer) def test_no_sentencepiece_path(self): config = translation.TranslationConfig( model=translation.ModelConfig( encoder=translation.EncDecoder(num_layers=1), decoder=translation.EncDecoder(num_layers=1)), train_data=wmt_dataloader.WMTDataConfig( input_path=self._record_input_path, src_lang="en", tgt_lang="reverse_en", is_training=True, static_batch=True, global_batch_size=4, max_seq_length=4), sentencepiece_model_path=None) with self.assertRaisesRegex( ValueError, "Setencepiece model path not provided."): translation.TranslationTask(config) def test_sentencepiece_no_eos(self): sentencepeice_model_prefix = os.path.join(self._temp_dir, "sp_no_eos") _train_sentencepiece(self._sentencepeice_input_path, 20, sentencepeice_model_prefix, eos_id=-1) sentencepeice_model_path = "{}.model".format( sentencepeice_model_prefix) config = translation.TranslationConfig( model=translation.ModelConfig( encoder=translation.EncDecoder(num_layers=1), decoder=translation.EncDecoder(num_layers=1)), train_data=wmt_dataloader.WMTDataConfig( input_path=self._record_input_path, src_lang="en", tgt_lang="reverse_en", is_training=True, static_batch=True, global_batch_size=4, max_seq_length=4), sentencepiece_model_path=sentencepeice_model_path) with self.assertRaisesRegex( ValueError, "EOS token not in tokenizer vocab.*"): translation.TranslationTask(config) def test_evaluation(self): config = translation.TranslationConfig( model=translation.ModelConfig( encoder=translation.EncDecoder(num_layers=1), decoder=translation.EncDecoder(num_layers=1), padded_decode=False, decode_max_length=64), validation_data=wmt_dataloader.WMTDataConfig( input_path=self._record_input_path, src_lang="en", tgt_lang="reverse_en", static_batch=True, global_batch_size=4), sentencepiece_model_path=self._sentencepeice_model_path) logging_dir = self.get_temp_dir() task = translation.TranslationTask(config, logging_dir=logging_dir) dataset = orbit.utils.make_distributed_dataset(tf.distribute.get_strategy(), task.build_inputs, config.validation_data) model = task.build_model() strategy = tf.distribute.get_strategy() aggregated = None for data in dataset: distributed_outputs = strategy.run( functools.partial(task.validation_step, model=model), args=(data,)) outputs = tf.nest.map_structure(strategy.experimental_local_results, distributed_outputs) aggregated = task.aggregate_logs(state=aggregated, step_outputs=outputs) metrics = task.reduce_aggregated_logs(aggregated) self.assertIn("sacrebleu_score", metrics) self.assertIn("bleu_score", metrics) if __name__ == "__main__": tf.test.main()
Python
4
NasTul/models
official/nlp/tasks/translation_test.py
[ "Apache-2.0" ]
100 5 0 0 0 1 5 5 4 1 2 3 [0] [0] [0] [0] [0] 1 1 6 27 91 24 45 10 95 [8] [21] [15] [12] [-3] [1] 2 1 10 98 80 14 59 18 11 91 22 71 33 [1] [17] [-1] [12] [15] [12] [-1] [13] [23] [-8] 3 1 5 18 17 35 24 91 [-1] [11] [-2] [-2] [-2] 4 1 8 48 100 98 43 22 73 71 91 [-6] [14] [-7] [25] [7] [14] [26] [26] 5 1 9 22 46 14 71 41 59 7 98 91 [8] [3] [3] [0] [2] [7] [-2] [8] [8] 6 1 10 43 88 98 78 58 65 36 48 38 84 [-4] [6] [16] [19] [15] [0] [1] [13] [-1055] [2] 7 1 7 96 41 78 74 94 95 93 [0] [-598] [4] [-1001] [1] [-2] [15] 8 1 7 6 15 16 53 76 88 92 [7] [9] [1] [1] [8] [4] [9] 9 1 8 71 40 14 81 28 19 91 90 [1] [-582] [-744] [-642] [0] [0] [-514] [0] 10 1 5 38 67 18 9 27 [18] [-4] [0] [9] [-7] 11 1 9 95 9 45 87 76 80 25 48 52 [5] [9] [0] [0] [-1136] [4] [2] [-1] [7] 12 1 10 81 84 39 79 80 52 47 88 71 90 [-1] [0] [4] [11] [15] [4] [3] [14] [-2] [5] 13 1 3 76 30 41 [-1] [8] [12] 14 1 10 100 47 78 9 29 70 93 19 18 64 [0] [-482] [2] [1] [0] [-947] [0] [1] [-1028] [0] 15 1 5 44 21 59 35 71 [-719] [14] [-1179] [-563] [16] 16 1 7 40 15 57 84 74 89 58 [1] [20] [-8] [7] [13] [27] [19] 17 1 7 42 10 99 82 77 61 20 [-1] [8] [15] [22] [4] [-6] [-1] 18 1 10 40 82 94 86 90 97 28 71 47 99 [2] [2] [0] [0] [3] [0] [0] [3] [0] [1] 19 1 10 44 78 93 54 96 85 73 71 26 29 [1] [0] [1] [-654] [0] [-630] [-529] [0] [-709] [0] 20 1 3 27 52 73 [-1] [23] [24] 21 1 5 93 29 96 64 28 [28] [-80] [29] [4] [30] 22 1 12 58 9 54 39 19 78 30 99 7 57 61 85 [0] [-7] [23] [7] [2] [10] [0] [19] [5] [-3] [0] [0] 23 1 4 94 85 60 13 [20] [22] [-628] [28] 24 1 7 63 59 55 69 22 98 56 [11] [0] [10] [24] [4] [-7] [3] 25 1 7 39 52 88 100 7 84 71 [20] [13] [26] [3] [8] [18] [20] 26 1 8 97 49 93 47 16 25 20 30 [6] [5] [9] [7] [11] [0] [-1] [-2] 27 1 3 37 12 68 [15] [0] [-4] 28 1 1 93 [22] 29 1 5 28 96 21 94 64 [3] [-3] [6] [0] [-2] 30 1 10 28 59 21 96 93 94 64 19 84 68 [-4] [-1030] [4] [-9] [2] [-4] [-8] [25] [6] [-7] 31 1 3 11 83 20 [22] [2] [-9] 32 1 5 80 48 43 62 85 [2] [0] [0] [0] [2] 33 1 8 9 78 73 57 80 95 29 85 [17] [20] [0] [2] [17] [0] [21] [7] 34 1 7 47 45 19 84 1 51 40 [6] [-1023] [-3] [16] [-1129] [-799] [5] 35 1 7 90 57 59 88 30 97 14 [9] [8] [-1172] [8] [9] [4] [2] 36 1 3 11 46 53 [-1] [7] [6] 37 1 3 60 86 7 [19] [-2] [20] 38 1 5 66 29 94 8 31 [-2] [7] [-3] [11] [6] 39 1 5 94 78 96 28 93 [14] [12] [2] [2] [8] 40 1 9 85 24 82 78 15 93 84 28 54 [-592] [-809] [-942] [11] [19] [0] [17] [17] [9] 41 1 5 30 25 62 76 65 [4] [0] [3] [4] [0] 42 1 8 2 82 7 79 19 56 94 92 [-958] [2] [2] [0] [2] [0] [2] [3] 43 1 8 58 77 87 12 78 7 49 39 [8] [9] [2] [0] [0] [1] [7] [0] 44 1 17 15 21 86 2 28 68 19 90 94 96 93 67 29 81 78 71 64 [-2] [1] [-540] [-831] [7] [-1069] [-558] [-529] [3] [7] [0] [-1009] [6] [-1032] [0] [-1] [4] 45 1 5 39 19 57 43 40 [-6] [4] [26] [21] [3] 46 1 4 6 67 81 44 [-1170] [-1] [7] [0] 47 1 7 39 85 37 82 15 71 41 [-2] [0] [-1128] [7] [4] [9] [-1069] 48 1 7 7 77 88 84 15 52 57 [0] [4] [10] [0] [0] [12] [11] 49 1 2 88 84 [22] [15] 50 1 6 54 63 19 57 70 87 [-5] [-3] [13] [11] [10] [8] 51 1 3 87 50 32 [7] [12] [15] 52 1 7 49 63 83 96 4 25 8 [7] [-1166] [-598] [16] [-1142] [-629] [-1189] 53 1 5 26 59 92 11 54 [12] [9] [2] [8] [7] 54 1 6 81 28 45 82 14 29 [20] [14] [-874] [-660] [10] [24] 55 1 6 12 50 77 89 31 43 [-4] [2] [-4] [8] [-1104] [4] 56 1 11 34 86 35 28 18 21 95 54 71 58 15 [18] [18] [12] [18] [15] [5] [11] [1] [9] [8] [-1] 57 1 6 71 21 96 39 94 28 [20] [-7] [16] [-4] [-1] [3] 58 1 10 83 28 59 91 52 88 49 77 93 87 [-1105] [1] [-480] [-1139] [5] [11] [7] [-1146] [4] [-866] 59 1 10 99 78 39 19 73 86 82 66 44 58 [0] [0] [6] [0] [0] [2] [7] [2] [4] [6] 60 1 5 67 87 73 72 35 [0] [-1] [0] [0] [6] 61 1 13 9 19 39 81 95 29 64 57 49 97 92 78 100 [8] [21] [30] [18] [26] [23] [25] [4] [7] [12] [20] [20] [6] 62 1 9 44 68 8 50 82 6 80 63 97 [18] [0] [-579] [11] [-2] [-719] [6] [-6] [17] 63 1 6 28 58 96 100 83 95 [7] [-1] [7] [0] [-1162] [-1] 64 1 6 96 93 29 57 28 21 [6] [-8] [-119] [-121] [9] [-52] 65 1 5 93 68 39 46 54 [9] [1] [5] [7] [12] 66 1 5 58 11 45 32 34 [15] [23] [5] [-703] [15] 67 1 3 23 44 55 [-990] [10] [19] 68 1 9 44 100 96 15 29 62 93 57 42 [-7] [29] [27] [8] [-1] [-574] [-3] [17] [-667] 69 1 7 28 7 42 35 63 15 64 [13] [26] [3] [13] [19] [7] [21] 70 1 14 54 51 24 76 7 43 81 49 88 12 29 15 66 27 [1] [-1038] [-1045] [0] [0] [1] [0] [1] [0] [0] [2] [0] [1] [-935] 71 1 4 29 57 94 21 [0] [-111] [0] [2] 72 1 4 99 90 23 14 [6] [6] [3] [3] 73 1 13 64 9 93 94 96 63 28 36 14 15 88 83 25 [3] [10] [-2] [2] [11] [10] [-1] [-732] [26] [24] [23] [10] [7] 74 1 5 75 29 84 67 68 [10] [1] [5] [0] [5] 75 1 6 46 29 60 31 41 70 [0] [6] [3] [8] [-1] [2] 76 1 8 43 74 11 52 100 87 33 83 [1] [-808] [-2] [0] [8] [5] [9] [-1] 77 1 9 91 87 52 4 39 11 71 58 96 [-535] [11] [13] [-651] [12] [-518] [16] [-1] [-3] 78 1 1 94 [-1] 79 1 13 12 53 39 52 29 19 95 2 58 34 70 90 82 [-637] [-617] [-2] [18] [-4] [6] [2] [-900] [16] [12] [-502] [-9] [30] 80 1 8 88 76 84 100 83 21 75 26 [19] [-835] [-4] [15] [11] [0] [-1007] [-1010] 81 1 8 54 93 14 15 29 39 90 78 [-1071] [9] [21] [11] [8] [15] [3] [19] 82 1 13 84 88 81 41 40 3 15 94 21 44 64 9 28 [12] [21] [12] [-1151] [3] [-1091] [-6] [15] [9] [7] [12] [20] [6] 83 1 9 58 78 84 88 80 6 63 96 64 [3] [2] [3] [2] [-572] [-888] [0] [0] [2] 84 1 5 94 93 78 49 96 [-1] [4] [5] [-144] [5] 85 1 10 82 14 29 22 19 52 4 9 96 81 [12] [12] [6] [-501] [5] [4] [-913] [1] [2] [10] 86 1 10 78 40 100 21 35 42 57 19 3 52 [22] [0] [8] [13] [24] [-995] [18] [20] [-897] [22] 87 1 6 27 93 29 64 78 80 [-926] [-8] [2] [11] [25] [5] 88 1 6 94 93 84 78 49 96 [1] [7] [17] [0] [-71] [-6] 89 1 6 50 51 78 47 14 100 [-3] [0] [-3] [5] [0] [14] 90 1 8 44 9 94 93 29 71 19 96 [13] [-841] [19] [2] [16] [7] [15] [21] 91 1 6 61 12 25 77 69 64 [5] [7] [12] [5] [11] [0] 92 1 1 101 [9] 93 1 1 101 [6] 94 1 3 78 49 101 [-72] [-101] [4] 95 1 4 24 101 83 48 [-511] [1] [-498] [-1059] 96 1 4 101 49 29 64 [3] [-97] [-101] [-141] 97 1 1 101 [3] 98 1 1 101 [4] 99 1 4 56 5 101 18 [-732] [-997] [1] [-966] 100 1 9 59 101 83 45 76 4 82 25 8 [-951] [10] [-1050] [-813] [-556] [-753] [-507] [-590] [-710] 101 1 0 0 1 0 0 0 0 0 0 1 1 7 7 3 3 0 8 2 1 9 0 4 0 0 6 3 1 5 6 4 9 9 5 4 1 9 3 4 2 8 6 5 1 3 8 7 9 10 0 6 1 9 2 7 6 0 0 7 1 7 8 3 8 6 5 8 1 4 8 0 3 6 3 9 1 1 8 8 3 8 10 10 1 10 9 0 9 7 10 11 1 3 0 7 4 2 0 12 1 5 0 5 0 7 0 13 1 5 0 2 5 4 8 14 1 1 0 0 0 5 0 15 1 7 6 9 0 0 4 16 1 9 1 0 8 0 8 17 1 9 2 1 3 9 1 18 1 1 10 10 10 2 6 19 1 1 6 0 8 0 0 20 1 8 0 0 8 1 4 21 1 10 1 1 0 8 9 22 1 8 8 10 10 6 4 23 1 10 4 0 0 8 0 24 1 10 3 0 0 10 8 25 1 9 2 3 10 7 2 26 1 5 0 0 9 0 8 27 1 5 8 4 10 4 9 28 1 10 5 1 0 2 6 29 1 5 8 5 6 4 6 30 1 10 0 4 2 10 7 31 1 10 0 0 6 2 0 32 1 1 2 3 2 9 0 33 1 8 5 6 5 7 7 34 1 6 10 1 6 4 0 35 1 3 3 8 0 0 9 36 1 5 2 0 0 1 0 37 1 7 10 6 4 2 2 38 1 4 3 5 1 7 1 39 1 5 1 0 0 5 0 40 1 10 0 0 0 1 6 41 1 3 0 10 2 4 0 42 1 1 5 5 0 0 0 43 1 3 10 10 9 8 3 44 1 3 2 7 10 7 5 45 1 10 0 0 8 1 10 46 1 3 10 8 1 7 6 47 1 4 8 0 0 7 0 48 1 4 7 3 4 0 2 49 1 8 0 1 1 8 1 50 1 7 0 0 0 0 9 51 1 9 2 1 0 1 10 52 1 7 0 1 9 7 7 53 1 4 10 5 7 0 2 54 1 9 6 0 7 0 0 55 1 7 0 4 3 0 5 56 1 6 0 6 0 0 8 57 1 9 0 4 10 7 0 58 1 5 5 7 10 5 2 59 1 3 2 2 9 8 3 60 1 2 7 5 5 0 8 61 1 10 6 2 8 0 2 62 1 7 7 8 2 5 7 63 1 4 8 0 3 0 9 64 1 9 9 2 2 10 2 65 1 9 1 4 6 10 10 66 1 8 3 4 1 6 7 67 1 10 9 2 6 2 7 68 1 10 9 1 4 8 0 69 1 10 1 0 0 0 1 70 1 1 0 8 0 0 0 71 1 1 9 2 5 1 10 72 1 3 0 8 9 2 4 73 1 9 4 6 7 5 0 74 1 4 6 8 6 10 8 75 1 3 2 0 8 9 0 76 1 3 10 10 3 7 1 77 1 9 10 7 0 1 6 78 1 3 5 6 10 7 8 79 1 10 1 2 6 10 1 80 1 7 0 5 0 0 1 81 1 8 2 8 9 8 1 82 1 8 5 4 3 10 10 83 1 1 0 3 8 2 0 84 1 2 9 0 0 7 3 85 1 4 4 9 1 10 7 86 1 9 5 0 3 8 6 87 1 10 6 7 2 9 3 88 1 7 10 0 5 0 0 89 1 5 8 6 1 0 0 90 1 7 7 8 0 0 6 91 1 5 4 7 8 6 8 92 1 9 8 7 1 4 1 93 1 6 3 7 4 4 10 94 1 4 0 5 9 8 2 95 1 1 9 0 5 6 8 96 1 3 2 3 5 8 10 97 1 3 3 0 4 9 0 98 1 4 9 1 1 5 6 99 1 1 0 8 0 7 1 100 1 10 0 3 0 0 2 101 1 0 0 0 0 0 0 14 13 14 16 15
Eagle
1
klorel/or-tools
examples/data/rcpsp/single_mode_max_delay/ubo_100/psp75.sch
[ "Apache-2.0" ]
AdpType=Comadp AdpType=Post AdpType=Prep Aspect=Dur ConjType=Comp ConjType=Oper Connegative=Yes Distance=Prox Distance=Med Distance=Dist Echo=Ech Hyph=Yes NameType=Giv NameType=Sur NameType=Geo NameType=Com NameType=Pro NameType=Prs NameType=Oth Number=Assoc Number[psor]=Plur Number[psor]=Sing NumForm=Armenian NumForm=Digit NumForm=Roman NumForm=Word Person[psor]=1 Person[psor]=2 Person[psor]=3 Style=Arch Style=Coll Style=Expr Style=Rare Style=Slng Style=Vrnc Style=Vulg Subcat=Intr Subcat=Tran Typo=Yes
Hy
1
alvelvis/Interrogat-rio
www/cgi-bin/data/feat_val.hy
[ "MIT" ]
#include "caffe2/core/context_gpu.h" #include "caffe2/operators/assert_op.h" namespace caffe2 { REGISTER_CUDA_OPERATOR(Assert, AssertOp<CUDAContext>); } // namespace caffe2
Cuda
2
Hacky-DH/pytorch
caffe2/operators/assert_op.cu
[ "Intel" ]
/****************************************************************************** * Copyright 2018 The Apollo 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. *****************************************************************************/ #include "modules/perception/fusion/lib/data_fusion/tracker/pbf_tracker/pbf_tracker.h" #include "cyber/common/file.h" #include "modules/common/util/string_util.h" #include "modules/perception/fusion/lib/data_fusion/existence_fusion/dst_existence_fusion/dst_existence_fusion.h" #include "modules/perception/fusion/lib/data_fusion/motion_fusion/kalman_motion_fusion/kalman_motion_fusion.h" #include "modules/perception/fusion/lib/data_fusion/shape_fusion/pbf_shape_fusion/pbf_shape_fusion.h" #include "modules/perception/fusion/lib/data_fusion/type_fusion/dst_type_fusion/dst_type_fusion.h" #include "modules/perception/lib/config_manager/config_manager.h" namespace apollo { namespace perception { namespace fusion { using cyber::common::GetAbsolutePath; // TODO(all) fix the static string lint issue std::string PbfTracker::s_type_fusion_method_ = "DstTypeFusion"; // NOLINT std::string PbfTracker::s_existence_fusion_method_ = // NOLINT "DstExistenceFusion"; std::string PbfTracker::s_motion_fusion_method_ = // NOLINT "KalmanMotionFusion"; std::string PbfTracker::s_shape_fusion_method_ = "PbfShapeFusion"; // NOLINT PbfTracker::PbfTracker() {} PbfTracker::~PbfTracker() {} bool PbfTracker::InitParams() { BaseInitOptions options; if (!GetFusionInitOptions("PbfTracker", &options)) { return false; } std::string woork_root_config = GetAbsolutePath( lib::ConfigManager::Instance()->work_root(), options.root_dir); std::string config = GetAbsolutePath(woork_root_config, options.conf_file); AINFO << "Config file : " << config; PbfTrackerConfig params; if (!cyber::common::GetProtoFromFile(config, &params)) { AERROR << "Read config failed: " << config; return false; } AINFO << "Load PbfTrackerConfig: " << params.type_fusion_method() << "," << params.motion_fusion_method() << "," << params.shape_fusion_method() << "," << params.existence_fusion_method(); s_type_fusion_method_ = params.type_fusion_method(); s_motion_fusion_method_ = params.motion_fusion_method(); s_existence_fusion_method_ = params.existence_fusion_method(); s_shape_fusion_method_ = params.shape_fusion_method(); return true; } bool PbfTracker::InitMethods() { if (s_type_fusion_method_ == "DstTypeFusion") { type_fusion_.reset(new DstTypeFusion(track_)); } else { AERROR << "Unknown type fusion : " << s_type_fusion_method_; return false; } if (s_motion_fusion_method_ == "KalmanMotionFusion") { motion_fusion_.reset(new KalmanMotionFusion(track_)); } else { AERROR << "Unknown motion fusion : " << s_motion_fusion_method_; return false; } if (s_existence_fusion_method_ == "DstExistenceFusion") { existence_fusion_.reset(new DstExistenceFusion(track_)); } else { AERROR << "Unknown existence fusion : " << s_existence_fusion_method_; return false; } if (s_shape_fusion_method_ == "PbfShapeFusion") { shape_fusion_.reset(new PbfShapeFusion(track_)); } else { AERROR << "Unknown shape fusion : " << s_shape_fusion_method_; return false; } return true; } bool PbfTracker::Init(TrackPtr track, SensorObjectPtr measurement) { track_ = track; if (!InitMethods()) { return false; } motion_fusion_->Init(); return true; } void PbfTracker::UpdateWithMeasurement(const TrackerOptions& options, const SensorObjectPtr measurement, double target_timestamp) { std::string sensor_id = measurement->GetSensorId(); ADEBUG << "fusion_updating..." << track_->GetTrackId() << " with " << sensor_id << "..." << measurement->GetBaseObject()->track_id << "@" << FORMAT_TIMESTAMP(measurement->GetTimestamp()); existence_fusion_->UpdateWithMeasurement(measurement, target_timestamp, options.match_distance); motion_fusion_->UpdateWithMeasurement(measurement, target_timestamp); shape_fusion_->UpdateWithMeasurement(measurement, target_timestamp); type_fusion_->UpdateWithMeasurement(measurement, target_timestamp); track_->UpdateWithSensorObject(measurement); } void PbfTracker::UpdateWithoutMeasurement(const TrackerOptions& options, const std::string& sensor_id, double measurement_timestamp, double target_timestamp) { existence_fusion_->UpdateWithoutMeasurement(sensor_id, measurement_timestamp, target_timestamp, options.match_distance); motion_fusion_->UpdateWithoutMeasurement(sensor_id, measurement_timestamp, target_timestamp); shape_fusion_->UpdateWithoutMeasurement(sensor_id, measurement_timestamp, target_timestamp); type_fusion_->UpdateWithoutMeasurement(sensor_id, measurement_timestamp, target_timestamp, options.match_distance); track_->UpdateWithoutSensorObject(sensor_id, measurement_timestamp); } std::string PbfTracker::Name() const { return "PbfTracker"; } } // namespace fusion } // namespace perception } // namespace apollo
C++
4
jzjonah/apollo
modules/perception/fusion/lib/data_fusion/tracker/pbf_tracker/pbf_tracker.cc
[ "Apache-2.0" ]
c scasumsub.f c c The program is a fortran wrapper for scasum. c Witten by Keita Teranishi. 2/11/1998 c subroutine scasumsub(n,x,incx,asum) c external scasum real scasum,asum integer n,incx complex x(*) c asum=scasum(n,x,incx) return end
FORTRAN
4
dnoan/OpenBLAS
lapack-netlib/CBLAS/src/scasumsub.f
[ "BSD-3-Clause" ]
%% -*- prolog -*- %%============================================================================= %% Copyright (C) 2011 by Denys Duchier %% %% This program is free software: you can redistribute it and/or modify it %% under the terms of the GNU Lesser General Public License as published by the %% Free Software Foundation, either version 3 of the License, or (at your %% option) any later version. %% %% This program is distributed in the hope that it will be useful, but WITHOUT %% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or %% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for %% more details. %% %% You should have received a copy of the GNU Lesser General Public License %% along with this program. If not, see <http://www.gnu.org/licenses/>. %%============================================================================= :- use_module(library(gecode)). % S E N D % + M O R E % --------- % M O N E Y send_more_money(Solution) :- Space := space, Letters := intvars(Space,8,0,9), [S,E,N,D,M,O,R,Y] = Letters, Space += rel(M,'IRT_NQ',0), Space += rel(S,'IRT_NQ',0), Space += distinct(Letters), C = [1000, 100, 10, 1, 1000, 100, 10, 1, -10000, -1000, -100, -10, -1], X = [S,E,N,D, M,O,R,E, M,O,N,E,Y], Space += linear(C, X, 'IRT_EQ', 0), Space += branch(Letters, 'INT_VAR_SIZE_MIN', 'INT_VAL_MIN'), SolSpace := search(Space), Solution := val(SolSpace,Letters).
Prolog
3
ryandesign/yap
packages/gecode/examples/send_more_money.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
b ← 8 a ← 2 b ⎕ ← a ⍝ --> [2](2,8) c ← (d+4+e) (d ← 5+e) (e ← 8) ⍝ --> [3](25,13,8) ⎕ ← c 0
APL
1
melsman/apltail
tests/vec.apl
[ "MIT" ]
{$className|buildLinkIfReflectionFound}
Latte
0
pujak17/tets
packages/StringRouting/tests/Latte/Filter/Source/buildLinkIfReflectionFound-template.latte
[ "MIT" ]
-- Copyright (c) 2010 The Chromium Authors. All rights reserved. -- Use of this source code is governed by a BSD-style license that can be -- found in the LICENSE file. -- creates 2 windows, one in normal mode and another in incognito mode. tell application "Chromium" make new window make new window with properties {mode:"incognito"} count windows -- count how many windows are currently open. end tell
AppleScript
3
zealoussnow/chromium
chrome/browser/ui/cocoa/applescript/examples/window_creation.applescript
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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. */ package org.apache.thrift.protocol; import org.apache.thrift.transport.TTransport; /** * Binary Protocol Factory */ class TBinaryProtocolFactory implements TProtocolFactory { private var strictRead_ : Bool = false; private var strictWrite_ : Bool = true; public function new( strictRead : Bool = false, strictWrite : Bool = true) { strictRead_ = strictRead; strictWrite_ = strictWrite; } public function getProtocol( trans : TTransport) : TProtocol { return new TBinaryProtocol( trans, strictRead_, strictWrite_); } }
Haxe
4
Jimexist/thrift
lib/haxe/src/org/apache/thrift/protocol/TBinaryProtocolFactory.hx
[ "Apache-2.0" ]
<GameFile> <PropertyGroup Name="MainFileSelector" Type="Layer" ID="203fa2aa-590f-4f65-83d4-2c4dd4c4af72" Version="3.10.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1.0000" /> <ObjectData Name="Layer" Tag="122" ctype="GameLayerObjectData"> <Size X="1280.0000" Y="720.0000" /> <Children> <AbstractNodeData Name="recentList" ActionTag="-501046127" Tag="124" IconVisible="False" PercentWidthEnable="True" PercentHeightEnable="True" PercentWidthEnabled="True" PercentHeightEnabled="True" HorizontalEdge="LeftEdge" RightMargin="646.4000" TouchEnable="True" ClipAble="True" ComboBoxIndex="1" ColorAngle="90.0000" Scale9Width="1" Scale9Height="1" IsBounceEnabled="True" ScrollDirectionType="0" DirectionType="Vertical" ctype="ListViewObjectData"> <Size X="633.6000" Y="720.0000" /> <AnchorPoint /> <Position /> <Scale ScaleX="1.0000" ScaleY="1.0000" /> <CColor A="255" R="255" G="255" B="255" /> <PrePosition /> <PreSize X="0.4950" Y="1.0000" /> <SingleColor A="255" R="42" G="42" B="42" /> <FirstColor A="255" R="150" G="150" B="255" /> <EndColor A="255" R="255" G="255" B="255" /> <ColorVector ScaleY="1.0000" /> </AbstractNodeData> <AbstractNodeData Name="fileList" ActionTag="-1099973759" Tag="126" IconVisible="False" PositionPercentXEnabled="True" PercentWidthEnable="True" PercentHeightEnable="True" PercentWidthEnabled="True" PercentHeightEnabled="True" LeftMargin="646.4000" TouchEnable="True" ClipAble="False" ComboBoxIndex="1" ColorAngle="90.0000" Scale9Width="1" Scale9Height="1" ctype="PanelObjectData"> <Size X="633.6000" Y="720.0000" /> <AnchorPoint ScaleX="1.0000" /> <Position X="1280.0000" /> <Scale ScaleX="1.0000" ScaleY="1.0000" /> <CColor A="255" R="255" G="255" B="255" /> <PrePosition X="1.0000" /> <PreSize X="0.4950" Y="1.0000" /> <SingleColor A="255" R="42" G="42" B="42" /> <FirstColor A="255" R="150" G="200" B="255" /> <EndColor A="255" R="255" G="255" B="255" /> <ColorVector ScaleY="1.0000" /> </AbstractNodeData> <AbstractNodeData Name="Panel_1" ActionTag="942186096" Tag="25" IconVisible="False" PositionPercentXEnabled="True" PercentWidthEnable="True" PercentHeightEnable="True" PercentWidthEnabled="True" PercentHeightEnabled="True" LeftMargin="633.6000" RightMargin="633.6000" TouchEnable="True" ClipAble="False" ComboBoxIndex="1" ColorAngle="90.0000" ctype="PanelObjectData"> <Size X="12.8000" Y="720.0000" /> <AnchorPoint ScaleX="0.5000" /> <Position X="640.0000" /> <Scale ScaleX="1.0000" ScaleY="1.0000" /> <CColor A="255" R="255" G="255" B="255" /> <PrePosition X="0.5000" /> <PreSize X="0.0100" Y="1.0000" /> <SingleColor A="255" R="121" G="121" B="121" /> <FirstColor A="255" R="150" G="200" B="255" /> <EndColor A="255" R="255" G="255" B="255" /> <ColorVector ScaleY="1.0000" /> </AbstractNodeData> </Children> </ObjectData> </Content> </Content> </GameFile>
Csound
3
A29586a/Kirikiroid2
cocos/kr2/cocosstudio/ui/MainFileSelector.csd
[ "BSD-3-Clause" ]
-- Page 28 -- Successor :: () put Nat top => put Nat top -- Successor inCh => outCh = -- get x on inCh. -- put (Succ x) on outCh -- close inCh -> end outCh -- question :- here intTerm1 and intTerm2 both are output channels -- need to think more about this example %handles: IntTerm = Get Put Close %cohandles: Console = Get Put Close %constructors: Nat = Nil 0 Succ 1 %functions: modulus(x,y) = load y load x rem ret --%run ( | console => intTerm1) : -- get on input channel --hput console Console.Get --get console; store c --load c --cInt 1 --add -- put on output channel --hput intTerm1 IntTerm.Put --put intTerm1 -- close channels --hput intTerm1 IntTerm.Close --close intTerm1 --hput console Console.Close --halt console %run ( | console => intTerm1,intTerm2) : -- get on input channel hput intTerm2 IntTerm.Get get intTerm2; store num load num hput intTerm2 IntTerm.Get get intTerm2; store den load den call modulus(num,den) ; store d load d -- put on output channel hput intTerm1 IntTerm.Put put intTerm1 -- close channels hput intTerm1 IntTerm.Close close intTerm1 hput intTerm2 IntTerm.Close close intTerm2 hput console Console.Close halt console
AMPL
4
prashant007/AMPL
myAMPL/src/test11.ampl
[ "MIT" ]
0 reg32_t "dword" 1 code_t "proc*" 2 num32_t "int" 3 uint32_t "size_t" 4 ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(struct(0:num32_t,4:ptr(reg8_t),8:ptr(reg8_t),12:ptr(reg8_t),16:ptr(reg8_t),20:ptr(reg8_t),24:ptr(reg8_t),28:ptr(reg8_t),32:ptr(reg8_t),36:ptr(reg8_t),40:ptr(reg8_t),44:ptr(reg8_t),48:ptr(TOP),52:ptr(TOP),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))),8:num32_t)),52:ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(TOP),8:num32_t)),52:ptr(TOP),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))) "FILE*" 5 ptr(num8_t) "char*" 6 ptr(TOP) "void*" 7 ptr(struct(0:num32_t,4:num32_t)) "timeval*" 8 ptr(num32_t) "int[]" 9 ptr(ptr(num8_t)) "char**" 10 ptr(struct(0:ptr(TOP),12:reg32_t,16:reg32_t,20:ptr(struct(8:float32_t,12:float32_t)))) "Struct_18*" 11 ptr(reg32_t) "dword[]" 12 num8_t "char" 3 uint32_t "unsigned int" 13 ptr(array(reg8_t,16)) "unknown_128*" 14 ptr(array(reg8_t,56)) "unknown_448*" 15 ptr(array(reg8_t,165)) "unknown_1320*" 16 ptr(array(reg8_t,42)) "unknown_336*" 11 ptr(reg32_t) "dword*" 8 ptr(num32_t) "int*" 17 union(ptr(num8_t),num32_t,ptr(struct(0:reg16_t,2:num8_t))) "Union_3" 18 ptr(uint32_t) "size_t*" 19 ptr(struct(0:reg64_t,8:ptr(TOP))) "StructFrag_6*" 20 ptr(struct(0:ptr(TOP),12:reg32_t)) "Struct_22*" 21 reg64_t "qword" 22 reg16_t "word" 23 num64_t "long long" 24 ptr(struct(0:ptr(TOP),4:ptr(TOP),8:reg32_t,12:reg32_t,16:reg32_t,20:ptr(struct(0:float32_t,4:float32_t,8:float32_t)),36:ptr(struct(0:reg32_t,4:ptr(TOP))))) "Struct_54*" 25 ptr(struct(0:reg32_t,4:ptr(TOP))) "StructFrag_21*" 26 ptr(ptr(struct(0:reg32_t,4:ptr(TOP)))) "StructFrag_21**" 27 union(ptr(num8_t),num32_t,ptr(struct(0:reg16_t,2:num8_t)),ptr(reg32_t)) "Union_4" 28 ptr(struct(0:ptr(struct(0:array(reg8_t,20),20:ptr(TOP))),32:code_t,36:ptr(struct(0:reg32_t,4:ptr(TOP))))) "Struct_73*" 29 ptr(struct(0:ptr(TOP),4:reg32_t,16:reg32_t)) "Struct_69*" 30 ptr(struct(0:ptr(struct(0:reg32_t,4:ptr(TOP))),4:reg32_t)) "Struct_68*" 31 ptr(struct(0:union(ptr(num8_t),num32_t,ptr(struct(0:reg16_t,2:num8_t)),ptr(reg32_t)),4:ptr(struct(0:reg32_t,4:ptr(TOP))))) "Struct_56*" 32 ptr(struct(0:ptr(TOP),12:reg32_t,16:reg32_t,20:ptr(struct(8:float32_t,12:float32_t)),36:ptr(struct(0:reg32_t,4:ptr(TOP))))) "Struct_55*" 33 ptr(struct(0:array(reg8_t,28),28:code_t)) "StructFrag_13*" 34 float64_t "double" 35 ptr(struct(0:ptr(struct(0:reg32_t,4:ptr(TOP))),4:reg32_t,8:reg32_t,12:reg32_t,16:reg32_t)) "Struct_64*" 36 ptr(struct(0:reg64_t,8:float32_t)) "StructFrag_11*" 37 ptr(struct(0:ptr(TOP),4:ptr(TOP),8:reg32_t,12:reg32_t,20:ptr(struct(0:reg64_t,8:float32_t)))) "Struct_59*" 5 ptr(num8_t) "char[]" 18 ptr(uint32_t) "unsigned int[]" 38 ptr(struct(0:ptr(TOP),4:union(ptr(num8_t),uint32_t,uint32_t,ptr(struct(0:reg16_t,2:num8_t))),4294967292:reg32_t)) "Struct_23*" 39 union(ptr(num8_t),uint32_t,uint32_t,ptr(struct(0:reg16_t,2:num8_t))) "Union_2" 40 ptr(struct(0:ptr(num8_t),4:num32_t,8:ptr(num32_t),12:num32_t)) "option*" 41 ptr(struct(0:ptr(TOP),4:uint32_t,8:num32_t,12:num32_t)) "Struct_24*" 42 ptr(struct(0:uint32_t,4:reg32_t,8:ptr(num8_t))) "Struct_9*" 43 ptr(struct(0:reg32_t,40:ptr(num8_t),44:ptr(num8_t))) "Struct_1*" 25 ptr(struct(0:reg32_t,4:ptr(TOP))) "Struct_0*" 44 ptr(struct(0:num32_t,4:reg32_t,40:ptr(num8_t),44:ptr(num8_t))) "Struct_45*" 45 ptr(ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(struct(0:reg32_t,4:ptr(TOP),8:ptr(TOP),12:ptr(TOP),16:ptr(TOP),20:ptr(TOP),24:ptr(TOP),28:ptr(TOP),32:ptr(TOP),36:ptr(TOP),40:ptr(TOP),44:ptr(TOP),48:ptr(TOP),52:ptr(TOP),56:reg32_t,60:reg32_t,64:reg32_t,68:reg16_t,70:reg8_t,71:reg8_t,72:ptr(TOP),76:reg64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:reg32_t,104:reg32_t,108:array(reg8_t,40))),8:num32_t)),52:ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(TOP),8:reg32_t)),52:ptr(TOP),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40)))) "FILE**" 46 ptr(ptr(ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(array(reg8_t,148)),8:num32_t)),52:ptr(struct(0:num32_t,4:ptr(reg8_t),8:ptr(reg8_t),12:ptr(reg8_t),16:ptr(reg8_t),20:ptr(reg8_t),24:ptr(reg8_t),28:ptr(reg8_t),32:ptr(reg8_t),36:ptr(reg8_t),40:ptr(reg8_t),44:ptr(reg8_t),48:ptr(array(reg8_t,12)),52:ptr(TOP),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(reg8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(reg8_t,40))),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))))) "FILE***" 47 ptr(struct(0:ptr(ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(TOP),8:reg32_t)),52:ptr(struct(0:reg32_t,4:ptr(TOP),8:ptr(TOP),12:ptr(TOP),16:ptr(TOP),20:ptr(TOP),24:ptr(TOP),28:ptr(TOP),32:ptr(TOP),36:ptr(TOP),40:ptr(TOP),44:ptr(TOP),48:ptr(TOP),52:ptr(TOP),56:reg32_t,60:reg32_t,64:reg32_t,68:reg16_t,70:reg8_t,71:reg8_t,72:ptr(TOP),76:reg64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:reg32_t,104:reg32_t,108:array(reg8_t,40))),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40)))),4:reg32_t,8:reg32_t,12:reg32_t,16:reg32_t)) "Struct_29*" 48 ptr(struct(0:ptr(TOP),4:uint32_t,8:num32_t,12:uint32_t,16:reg32_t)) "Struct_32*" 49 ptr(struct(0:ptr(struct(0:array(reg8_t,1064),1064:reg32_t)),4:num32_t,8:reg32_t,12:reg32_t)) "Struct_30*" 50 ptr(struct(0:ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(array(reg8_t,148)),8:num32_t)),52:ptr(struct(0:num32_t,4:ptr(reg8_t),8:ptr(reg8_t),12:ptr(reg8_t),16:ptr(reg8_t),20:ptr(reg8_t),24:ptr(reg8_t),28:ptr(reg8_t),32:ptr(reg8_t),36:ptr(reg8_t),40:ptr(reg8_t),44:ptr(reg8_t),48:ptr(array(reg8_t,12)),52:ptr(TOP),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))),2072:reg32_t)) "Struct_49*" 2 num32_t "__pid_t" 3 uint32_t "__uid_t" 3 uint32_t "__gid_t" 51 ptr(struct(0:reg64_t,8:reg32_t)) "StructFrag_12*" 52 ptr(struct(0:reg32_t,4:ptr(num8_t))) "StructFrag_5*" 53 union(ptr(struct(0:uint32_t,4:reg32_t,8:ptr(num8_t))),ptr(struct(0:num32_t,4:reg32_t,8:ptr(num8_t)))) "Union_7" 54 int32_t "signed int" 55 ptr(struct(0:array(reg8_t,18),18:num8_t)) "StructFrag_1*" 56 ptr(struct(0:ptr(struct(0:reg32_t,4:ptr(struct(0:reg32_t,4:ptr(TOP))))),12:reg32_t)) "Struct_63*" 57 ptr(struct(0:reg32_t,4:ptr(struct(0:reg32_t,4:ptr(TOP))))) "Struct_62*" 58 ptr(struct(0:array(reg8_t,3),3:num8_t)) "StructFrag_28*" 18 ptr(uint32_t) "unsigned int*" 59 union(num32_t,ptr(num8_t),ptr(struct(0:reg16_t,2:num8_t)),ptr(reg32_t),ptr(struct(0:reg32_t,4:ptr(TOP)))) "Union_8" 60 ptr(ptr(uint16_t)) "unsigned short**" 61 ptr(struct(0:reg16_t,2:num8_t)) "StructFrag_0*" 62 ptr(struct(0:reg64_t,8:num8_t)) "StructFrag_19*" 63 ptr(ptr(TOP)) "void**" 64 ptr(struct(0:num32_t,4:uint32_t,40:ptr(num8_t),44:ptr(num8_t))) "Struct_50*" 65 ptr(struct(0:num32_t,40:ptr(num8_t),44:ptr(num8_t))) "Struct_47*" 66 union(ptr(num8_t),num32_t,ptr(struct(0:reg16_t,2:num8_t)),ptr(num32_t),ptr(reg32_t),ptr(struct(0:ptr(TOP),4:uint32_t,8:num32_t,12:num32_t))) "Union_6" 67 union(ptr(struct(0:reg32_t,4:ptr(TOP))),ptr(struct(0:reg32_t,4:ptr(TOP))),ptr(struct(0:reg32_t,4:ptr(struct(0:reg32_t,4:ptr(TOP)))))) "Union_10" 56 ptr(struct(0:ptr(struct(0:reg32_t,4:ptr(struct(0:reg32_t,4:ptr(TOP))))),12:reg32_t)) "Struct_65*" 25 ptr(struct(0:reg32_t,4:ptr(TOP))) "StructFrag_7*" 68 ptr(struct(8:float32_t,12:float32_t)) "Struct_15*" 69 ptr(struct(0:float32_t,4:float32_t,8:float32_t)) "Struct_14*" 70 ptr(reg16_t) "word[]" 71 ptr(ptr(struct(0:float32_t,4:float32_t,8:float32_t,12:float32_t))) "Struct_10**" 72 ptr(struct(28:code_t,36:ptr(struct(0:reg32_t,4:ptr(TOP))))) "Struct_58*" 73 ptr(struct(0:reg32_t,8:reg32_t,24:code_t)) "Struct_66*" 74 ptr(struct(12:reg32_t,36:ptr(struct(0:reg32_t,4:ptr(TOP))))) "Struct_60*" 75 ptr(uint16_t) "unsigned short*" 76 ptr(struct(0:array(reg8_t,99082),99082:reg32_t)) "StructFrag_15*" 77 ptr(struct(0:array(reg8_t,536870908),4294967292:reg32_t)) "StructFrag_16*" 78 ptr(struct(0:array(reg8_t,46076),46076:reg32_t)) "StructFrag_17*" 79 ptr(struct(0:array(reg8_t,648),648:reg32_t)) "StructFrag_18*" 80 ptr(struct(0:uint32_t,4:union(ptr(num8_t),num32_t,ptr(struct(0:reg16_t,2:num8_t))))) "Struct_46*" 81 ptr(struct(0:float32_t,4:float32_t,8:float32_t,12:float32_t)) "Struct_10*" 82 ptr(struct(0:num32_t,4:ptr(TOP))) "Struct_27*" 83 ptr(struct(0:reg64_t,8:uint32_t)) "StructFrag_20*" 84 array(reg8_t,4096) "unknown_32768" 85 array(reg8_t,135168) "unknown_1081344" 86 array(reg8_t,30) "unknown_240" 87 array(reg8_t,5) "unknown_40" 88 array(reg8_t,29) "unknown_232" 89 array(reg8_t,16) "unknown_128" 90 array(reg8_t,165) "unknown_1320" 91 array(reg8_t,122) "unknown_976" 92 array(reg8_t,140) "unknown_1120" 93 array(reg8_t,13) "unknown_104" 94 array(reg8_t,60) "unknown_480" 95 array(reg8_t,12) "unknown_96" 96 array(reg8_t,37) "unknown_296" 97 array(reg8_t,53) "unknown_424" 98 array(reg8_t,10) "unknown_80" 99 array(reg8_t,92) "unknown_736" 100 array(reg8_t,25) "unknown_200" 101 array(reg8_t,36) "unknown_288" 102 array(reg8_t,31) "unknown_248" 103 array(reg8_t,52) "unknown_416" 104 array(reg8_t,42) "unknown_336" 105 array(reg8_t,40) "unknown_320" 106 array(reg8_t,78) "unknown_624" 107 array(reg8_t,23) "unknown_184" 108 array(reg8_t,19) "unknown_152" 109 array(reg8_t,49) "unknown_392" 110 array(reg8_t,26) "unknown_208" 111 array(reg8_t,11) "unknown_88" 112 array(reg8_t,43) "unknown_344" 113 array(reg8_t,38) "unknown_304" 114 array(reg8_t,51) "unknown_408" 115 array(reg8_t,35) "unknown_280" 116 array(reg8_t,101) "unknown_808" 117 array(reg8_t,9) "unknown_72" 118 array(reg8_t,62) "unknown_496" 119 array(reg8_t,75) "unknown_600" 120 array(reg8_t,83) "unknown_664" 121 array(reg8_t,45) "unknown_360" 122 array(reg8_t,20) "unknown_160" 123 array(reg8_t,6) "unknown_48" 124 array(reg8_t,17) "unknown_136" 125 array(reg8_t,22) "unknown_176" 126 array(reg8_t,34) "unknown_272" 127 array(reg8_t,32) "unknown_256" 128 array(reg8_t,66) "unknown_528" 129 array(reg8_t,3) "unknown_24" 130 array(reg8_t,47) "unknown_376" 131 array(reg8_t,58) "unknown_464" 132 array(reg8_t,68) "unknown_544" 133 array(reg8_t,57) "unknown_456" 134 array(reg8_t,18) "unknown_144" 135 array(reg8_t,15) "unknown_120" 136 array(reg8_t,63) "unknown_504" 137 array(reg8_t,85) "unknown_680" 138 array(reg8_t,44) "unknown_352" 139 array(reg8_t,116) "unknown_928" 140 array(reg8_t,41) "unknown_328" 141 array(reg8_t,7) "unknown_56" 142 array(reg8_t,333) "unknown_2664" 143 array(reg8_t,65) "unknown_520" 144 array(reg8_t,27) "unknown_216" 145 array(reg8_t,14) "unknown_112" 146 array(reg8_t,24) "unknown_192" 147 array(reg8_t,54) "unknown_432" 148 array(reg8_t,69) "unknown_552" 149 array(reg8_t,56) "unknown_448" 150 array(reg8_t,109) "unknown_872" 151 array(reg8_t,33) "unknown_264" 152 array(reg8_t,39) "unknown_312" 153 array(reg8_t,80) "unknown_640" 154 array(reg8_t,96) "unknown_768" 155 array(reg8_t,112) "unknown_896" 156 array(reg8_t,74) "unknown_592" 157 array(reg8_t,28) "unknown_224" 158 array(reg8_t,21) "unknown_168" 159 array(reg8_t,90) "unknown_720" 160 array(reg8_t,87) "unknown_696" 161 array(reg8_t,162) "unknown_1296" 162 array(reg8_t,48) "unknown_384" 163 array(reg8_t,176) "unknown_1408" 164 array(reg8_t,160) "unknown_1280" 165 array(reg8_t,104) "unknown_832" 166 array(reg8_t,46) "unknown_368" 167 array(reg8_t,50) "unknown_400" 168 array(reg8_t,136) "unknown_1088" 169 array(reg8_t,76) "unknown_608" 170 array(reg8_t,71) "unknown_568" 171 array(reg8_t,128) "unknown_1024" 172 array(reg8_t,114) "unknown_912" 173 array(reg8_t,82) "unknown_656" 174 array(reg8_t,117) "unknown_936" 175 array(reg8_t,138) "unknown_1104" 176 array(reg8_t,248) "unknown_1984" 177 array(reg8_t,256) "unknown_2048" 178 array(reg8_t,88) "unknown_704" 179 array(reg8_t,224) "unknown_1792" 180 array(reg8_t,264) "unknown_2112" 181 array(reg8_t,84) "unknown_672" 182 array(reg8_t,61) "unknown_488" 183 array(reg8_t,64) "unknown_512" 184 array(reg8_t,59) "unknown_472" 185 array(reg8_t,102) "unknown_816" 186 array(reg8_t,214) "unknown_1712" 187 array(reg8_t,153) "unknown_1224" 188 array(reg8_t,108) "unknown_864" 189 array(reg8_t,147) "unknown_1176" 190 array(reg8_t,72) "unknown_576" 191 array(reg8_t,111) "unknown_888" 192 array(num8_t,39) "char[39]" 193 array(num8_t,95) "char[95]" 194 array(num8_t,67) "char[67]" 195 array(num8_t,75) "char[75]" 196 array(num8_t,381) "char[381]" 197 array(num8_t,64) "char[64]" 198 array(num8_t,45) "char[45]" 199 array(num8_t,54) "char[54]" 200 array(num8_t,56) "char[56]" 201 array(num8_t,69) "char[69]" 202 array(num8_t,65) "char[65]" 203 array(num8_t,87) "char[87]" 204 array(num8_t,32) "char[32]" 205 array(num8_t,34) "char[34]" 206 array(num8_t,33) "char[33]" 207 array(num8_t,23) "char[23]" 208 array(num8_t,10) "char[10]" 209 array(num8_t,4) "char[4]" 210 array(num8_t,30) "char[30]" 211 array(num8_t,22) "char[22]" 212 array(num8_t,12) "char[12]" 213 array(num8_t,5) "char[5]" 214 array(num8_t,17) "char[17]" 215 array(num8_t,21) "char[21]" 216 array(num8_t,19) "char[19]" 217 array(num8_t,6) "char[6]" 218 array(num8_t,2) "char[2]" 219 struct(0:ptr(num8_t),4:num32_t,8:ptr(num32_t),12:num32_t) "option" 220 array(reg8_t,144) "unknown_1152" 221 array(num8_t,7) "char[7]" 222 array(num8_t,8) "char[8]" 223 array(num8_t,3) "char[3]" 224 array(reg32_t,9) "dword[9]" 225 array(reg32_t,127) "dword[127]" 226 array(reg32_t,34) "dword[34]" 227 array(num8_t,11) "char[11]" 228 array(num8_t,13) "char[13]" 229 array(num8_t,16) "char[16]" 230 array(num8_t,28) "char[28]" 231 array(num8_t,20) "char[20]" 232 array(num8_t,203) "char[203]" 233 array(num8_t,36) "char[36]" 234 array(num8_t,40) "char[40]" 235 array(num8_t,44) "char[44]" 236 array(num8_t,48) "char[48]" 237 array(num8_t,52) "char[52]" 238 array(num8_t,60) "char[60]" 239 array(ptr(TOP),10) "void*[10]" 240 array(num8_t,47) "char[47]" 241 array(num8_t,14) "char[14]" 242 array(num8_t,38) "char[38]" 243 array(ptr(TOP),54) "void*[54]" 244 array(num8_t,9) "char[9]" 245 array(num8_t,24) "char[24]" 246 float32_t "float" 247 array(num8_t,78) "char[78]" 248 array(reg8_t,1092) "unknown_8736" 249 array(reg8_t,9196) "unknown_73568" 250 array(reg8_t,7892) "unknown_63136" 1 code_t "(void -?-> dword)*" 251 array(reg8_t,232) "unknown_1856" 252 union(ptr(num8_t),ptr(struct(0:reg16_t,2:num8_t))) "Union_0" 253 ptr(struct(0:num32_t,4:reg32_t,8:ptr(num8_t))) "Struct_20*"
BlitzBasic
2
matt-noonan/retypd-data
data/shuf.decls
[ "MIT" ]
import React from 'react'; import RetinaImg from './retina-img'; export const LabelColorizer = { color(label) { return `hsl(${label.hue()}, 50%, 34%)`; }, backgroundColor(label) { return `hsl(${label.hue()}, 62%, 87%)`; }, backgroundColorDark(label) { return `hsl(${label.hue()}, 62%, 57%)`; }, styles(label) { const styles = { color: LabelColorizer.color(label), backgroundColor: LabelColorizer.backgroundColor(label), boxShadow: `inset 0 0 1px hsl(${label.hue()}, 62%, 47%), inset 0 1px 1px rgba(255,255,255,0.5), 0 0.5px 0 rgba(255,255,255,0.5)`, }; if (process.platform !== "win32") { styles.backgroundImage = 'linear-gradient(rgba(255,255,255, 0.4), rgba(255,255,255,0))'; } return styles; }, }; export class MailLabel extends React.Component { static propTypes = { label: React.PropTypes.object.isRequired, onRemove: React.PropTypes.func, }; shouldComponentUpdate(nextProps) { if (nextProps.label.id === this.props.label.id) { return false; } return true; } _removable() { return this.props.onRemove && !this.props.label.isLockedCategory(); } render() { let classname = 'mail-label' let content = this.props.label.displayName let x = null; if (this._removable()) { classname += ' removable' content = <span className="inner">{content}</span> x = ( <RetinaImg className="x" name="label-x.png" style={{backgroundColor: LabelColorizer.color(this.props.label)}} mode={RetinaImg.Mode.ContentIsMask} onClick={this.props.onRemove} /> ); } return ( <div className={classname} style={LabelColorizer.styles(this.props.label)} > {content}{x} </div> ); } }
JSX
4
cnheider/nylas-mail
packages/client-app/src/components/mail-label.jsx
[ "MIT" ]
#include "script_component.hpp" /* Name: TFAR_antennas_fnc_deleteRadioTower Author: Dedmen De-initializes a Radio Tower Arguments: 0: the tower <OBJECT> Return Value: None Example: _this call TFAR_antennas_fnc_deleteRadioTower; Public: yes */ params ["_tower"]; [GVAR(radioTowerList), _tower] call CBA_fnc_hashRem; [_tower] call FUNC(pluginRemoveRadioTower);
SQF
4
MrDj200/task-force-arma-3-radio
addons/antennas/functions/fnc_deleteRadioTower.sqf
[ "RSA-MD" ]
scriptname _DE_ConjuredShelter extends ObjectReference {Generic Conjured Shelter class that other shelter activators extend.} ; #SUMMARY# ===================================================================================================================== ; Name ...................: _DE_ConjuredShelter ; Attached To (EditorID)..: ; Description ............: Generic Conjured Shelter class that other shelter activators extend. ; Author .................: Chesko ; Last Approved (version) : 2.5 ; Status .................: Complete ; Remarks ................: ; =============================================================================================================================== import math import utility import debug bool bTryingToSleep = false bool bTryingToDispel = false ;Misc float property ShelterID auto hidden int property mySoundID auto hidden static property XMarker auto ;Object locations float[] property myOriginAng auto hidden float[] property mySphere_Pos auto hidden float[] property myLight_Pos auto hidden float[] property myLightSource_Pos auto hidden float[] property myPlate_Pos auto hidden float[] property myCup_Pos auto hidden float[] property myTable_Pos auto hidden float[] property myChest_Pos auto hidden float[] property myTanningRack_Pos auto hidden float[] property myEnchanting_Pos auto hidden float[] property myEnchantingTable_Pos auto hidden float[] property myAlchemy_Pos auto hidden float[] property myAlchemyTable_Pos auto hidden float[] property myFireplace_Pos auto hidden ;Manages his own graphics and fuel float[] property myPotHolder_Pos auto hidden float[] property myCookingPot_Pos auto hidden ;Manages his own graphics and functionality float[] property myBase1_Pos auto hidden float[] property myBase2_Pos auto hidden float[] property myBase3_Pos auto hidden float[] property myBase4_Pos auto hidden float[] property myBase5_Pos auto hidden float[] property myBase6_Pos auto hidden float[] property myBase7_Pos auto hidden float[] property myChair_Pos auto hidden float[] property myFirewood_Pos auto hidden float[] property myDeadwood_Pos auto hidden float[] property myBooks_Pos auto hidden float[] property myEmbers_Pos auto hidden float[] property myFireLightSource_Pos auto hidden float[] property mySelf_Pos auto hidden ;Player and actors Actor property PlayerRef auto ;Globals GlobalVariable property GameHour auto GlobalVariable property _DE_Setting_Help auto GlobalVariable property _DE_HelpDone_Tents auto GlobalVariable property _DE_CurrentShelterID auto ;Messages message property _DE_ConjuredShelterMenu auto message property _DE_Shelter_PickUpError auto message property _DE_Combat_Error auto ;Run-time objects ObjectReference property mySphere auto hidden ObjectReference property myLight auto hidden ObjectReference property myLightSource auto hidden ObjectReference property myPlate auto hidden ObjectReference property myCup auto hidden ObjectReference property myTable auto hidden ObjectReference property myTanningRack auto hidden ObjectReference property myEnchanting auto hidden ObjectReference property myEnchantingTable auto hidden ObjectReference property myAlchemy auto hidden ObjectReference property myAlchemyTable auto hidden ObjectReference property myFireplace auto hidden ObjectReference property myPotHolder auto hidden ObjectReference property myCookingPot auto hidden ObjectReference property myCookingPotSteam auto hidden ObjectReference property myBase1 auto hidden ObjectReference property myBase2 auto hidden ObjectReference property myBase3 auto hidden ObjectReference property myBase4 auto hidden ObjectReference property myBase5 auto hidden ObjectReference property myBase6 auto hidden ObjectReference property myBase7 auto hidden ObjectReference property myChair auto hidden ObjectReference property mySteam auto hidden ObjectReference property myFirewoodLit auto hidden ObjectReference property myFirewoodUnlit auto hidden ObjectReference property myDeadwoodLit auto hidden ObjectReference property myDeadwoodUnlit auto hidden ObjectReference property myBooksLit auto hidden ObjectReference property myBooksUnlit auto hidden ObjectReference property myEmbers auto hidden ObjectReference property myAshes auto hidden ObjectReference property myFireLightSource auto hidden ObjectReference property _DE_Shelter_L_Sphere auto ObjectReference property _DE_Shelter_G_Sphere auto ObjectReference property _DE_Shelter_Trigger auto ;Furniture and clutter objects ObjectReference property _DE_ConjurationMasterChest auto Activator property SummonTargetFXActivator auto Activator property _DE_Shelter_FirepitACT auto Activator property _DE_CookingPot_Steam_Shelter auto Activator property _DE_Campfire_Simple_Books_Lit auto Activator property _DE_Campfire_Simple_Books_Unlit auto Activator property _DE_Campfire_Simple_Deadwood_Lit auto Activator property _DE_Campfire_Simple_Deadwood_Unlit auto Activator property _DE_Campfire_Simple_Firewood_Lit_Shelter auto Activator property _DE_Campfire_Simple_Firewood_Unlit_Shelter auto Activator property _DE_Campfire_Simple_Embers auto Activator property _DE_Campfire_Simple_Ashes auto Activator property _DE_Campfire_Simple_Steam auto furniture property _DE_Shelter_L_Controller auto furniture property _DE_Shelter_G_Controller auto furniture property CraftingTanningRackMarker auto furniture property CraftingAlchemyWorkbenchTabletop auto furniture property CraftingEnchantingWorkbenchTabletop auto furniture property _DE_CookingPotFurniture_Shelter auto furniture property _DE_ShelterChairCommon auto furniture property NobleChair02FrontIgnoreSandbox auto Light property _DE_LanternLight auto Light property _DE_Campfire_Light_3 auto Static property NorEnchantedDias01 auto Static property DweAstrolabeExteriorDome01 auto Static property _DE_MageSphere1 auto Static property CommonTableRound01 auto Static property NobleTableSquare01 auto Static property UpperTableRound01 auto Static property CookingSpitFarmhouse01 auto Static property _DE_Tent_LanternOnGround auto Static property SilverCandleStick02 auto Static property ImpPillarBrokenTop01 auto Static property MineScaffoldBase4Sided01 auto Static property MineScaffoldTop0Sided01 auto MiscObject property BasicPlate01 auto MiscObject property BasicTankard01 auto MiscObject property SilverPlate01 auto MiscObject property SilverGoblet02 auto Sound property _DE_ShelterWarpInSound auto Sound property _DE_ShelterWarpInSoundStart auto ;Misc Formlist property _DE_WorldspacesInteriors auto Formlist property _DE_HeatSources_All auto Message property _DE_Help_Tents auto ObjectReference property _DE_Anchor auto EffectShader property ShockDisintegrate01FXS auto VisualEffect property MGTeleportInEffect auto Event OnActivate(ObjectReference akActionRef) if akActionRef == PlayerRef if (akActionRef as Actor).IsInCombat() _DE_Combat_Error.Show() else if bTryingToSleep bTryingToSleep = false self.BlockActivation() else ShowMainMenu() endif endif endif endEvent Event OnUpdate() if _DE_CurrentShelterID.GetValue() != ShelterID DispelShelter(1) elseif bTryingToDispel ;Stop updating else ObjectReference myref = Game.FindClosestReferenceOfAnyTypeInListFromRef(_DE_HeatSources_All, myCookingPot, 260.0) if myref != none && myref.IsEnabled() if myCookingPotSteam myCookingPotSteam.Enable(true) endif else if myCookingPotSteam myCookingPotSteam.Disable(true) endif endif RegisterForSingleUpdate(2) endif endEvent Event OnUpdateGameTime() DispelShelter(2) endEvent function ShowMainMenu() int i = _DE_ConjuredShelterMenu.Show() if i == 0 ;Sleep bTryingToSleep = true self.BlockActivation(false) self.Activate(PlayerRef) ;Spawns sleep menu elseif i == 1 ;Dispel Shelter bTryingToDispel = true DispelShelter() else ;exit endif endFunction function CreatePositionArrays() mySphere_Pos = new float[6] myLight_Pos = new float[6] myLightSource_Pos = new float[6] myPlate_Pos = new float[6] myCup_Pos = new float[6] myTable_Pos = new float[6] myChest_Pos = new float[6] myTanningRack_Pos = new float[6] myEnchanting_Pos = new float[6] myEnchantingTable_Pos = new float[6] myAlchemy_Pos = new float[6] myAlchemyTable_Pos = new float[6] myFireplace_Pos = new float[6] myPotHolder_Pos = new float[6] myCookingPot_Pos = new float[6] myBase1_Pos = new float[6] myBase2_Pos = new float[6] myBase3_Pos = new float[6] myBase4_Pos = new float[6] myBase5_Pos = new float[6] myBase6_Pos = new float[6] myBase7_Pos = new float[6] myChair_Pos = new float[6] myFirewood_Pos = new float[6] myDeadwood_Pos = new float[6] myBooks_Pos = new float[6] myEmbers_Pos = new float[6] myFireLightSource_Pos = new float[6] endFunction float[] function GetAngleData(ObjectReference akObjectReference) float[] myReturnArray = new float[3] myReturnArray[0] = akObjectReference.GetAngleX() myReturnArray[1] = akObjectReference.GetAngleY() myReturnArray[2] = akObjectReference.GetAngleZ() return myReturnArray endFunction float[] function GetRelativePosition(ObjectReference akOrigin, ObjectReference akObject) float[] myRelativePosition = new float[6] myRelativePosition[0] = akObject.GetPositionX() - akOrigin.GetPositionX() myRelativePosition[1] = akObject.GetPositionY() - akOrigin.GetPositionY() myRelativePosition[2] = akObject.GetPositionZ() - akOrigin.GetPositionZ() myRelativePosition[3] = akObject.GetAngleX() myRelativePosition[4] = akObject.GetAngleY() myRelativePosition[5] = akObject.GetAngleZ() ;trace("[FROSTFALL] My relative position is XPos:" + myRelativePosition[0] + ", YPos:" + myRelativePosition[1] + ", ZPos:" + myRelativePosition[2] + "XRot:" + myRelativePosition[3] + ", YRot:" + myRelativePosition[4] + ", ZRot:" + myRelativePosition[5]) return myRelativePosition endFunction ObjectReference function PlaceAtMeRelative(ObjectReference akOrigin, Form akFormToPlace, float[] fOriginAng, float[] fRelativePos, float fZGlobalAngAdjust = 0.0, float fXLocalAngAdjust = 0.0, float fYLocalAngAdjust = 0.0, float fZLocalAngAdjust = 0.0, float fZHangingOffset = 0.0, bool abInvertedLocalY = false, bool abInitiallyDisabled = false, bool abIsPropped = false, bool abIsHanging = false) ObjectReference myObject ObjectReference myTempMarker = akOrigin.PlaceAtMe(XMarker) myTempMarker.MoveTo(myTempMarker, fRelativePos[0], fRelativePos[1], fRelativePos[2]) float[] myNewPos = new float[3] myNewPos = GetPosXYZRotateAroundRef(akOrigin, myTempMarker, fOriginAng[0], fOriginAng[1], fOriginAng[2] + fZGlobalAngAdjust) myTempMarker.MoveTo(akOrigin, myNewPos[0], myNewPos[1], myNewPos[2]) if abIsPropped if abInvertedLocalY myTempMarker.SetAngle(fXLocalAngAdjust, -(fOriginAng[2] + fYLocalAngAdjust), fZLocalAngAdjust) else myTempMarker.SetAngle(fXLocalAngAdjust, fOriginAng[2] + fYLocalAngAdjust, fZLocalAngAdjust) endif elseif abIsHanging myTempMarker.MoveTo(myTempMarker, afZOffset = fZHangingOffset) myTempMarker.SetAngle(0.0, 0.0, myTempMarker.GetAngleZ() + fRelativePos[5] + fZLocalAngAdjust) else myTempMarker.SetAngle(myTempMarker.GetAngleX() + fRelativePos[3] + fXLocalAngAdjust, myTempMarker.GetAngleY() + fRelativePos[4] + fYLocalAngAdjust, myTempMarker.GetAngleZ() + fRelativePos[5] + fZLocalAngAdjust) endif if abInitiallyDisabled myObject = myTempMarker.PlaceAtMe(akFormToPlace, abInitiallyDisabled = true) else myObject = myTempMarker.PlaceAtMe(akFormToPlace) endif myTempMarker.Disable() myTempMarker.Delete() return myObject endFunction float[] function GetPosXYZRotateAroundRef(ObjectReference akOrigin, ObjectReference akObject, float fAngleX, float fAngleY, float fAngleZ) ;-----------\ ;Description \ Author: Chesko ;---------------------------------------------------------------- ;Rotates a point (akObject) offset from the center of ;rotation (akOrigin) by the supplied degrees fAngleX, fAngleY, ;fAngleZ, and returns the new position of the point. ;-------------\ ;Return Values \ ;---------------------------------------------------------------- ; fNewPos[0] = The new X position of the point ; fNewPos[1] = The new Y position of the point ; fNewPos[2] = The new Z position of the point ; |1 0 0 | ;Rx(t) = |0 cos(t) -sin(t) | ; |0 sin(t) cos(t) | ; ; |cos(t) 0 sin(t) | ;Ry(t) = |0 1 0 | ; |-sin(t) 0 cos(t) | ; ; |cos(t) -sin(t) 0 | ;Rz(t) = |sin(t) cos(t) 0 | ; |0 0 1 | ;R * v = Rv, where R = rotation matrix, v = column vector of point [ x y z ], Rv = column vector of point after rotation fAngleX = -(fAngleX) fAngleY = -(fAngleY) fAngleZ = -(fAngleZ) float myOriginPosX = akOrigin.GetPositionX() float myOriginPosY = akOrigin.GetPositionY() float myOriginPosZ = akOrigin.GetPositionZ() float fInitialX = akObject.GetPositionX() - myOriginPosX float fInitialY = akObject.GetPositionY() - myOriginPosY float fInitialZ = akObject.GetPositionZ() - myOriginPosZ float fNewX float fNewY float fNewZ ;Objects in Skyrim are rotated in order of Z, Y, X, so we will do that here as well. ;Z-axis rotation matrix float fVectorX = fInitialX float fVectorY = fInitialY float fVectorZ = fInitialZ fNewX = (fVectorX * cos(fAngleZ)) + (fVectorY * sin(-fAngleZ)) + (fVectorZ * 0) fNewY = (fVectorX * sin(fAngleZ)) + (fVectorY * cos(fAngleZ)) + (fVectorZ * 0) fNewZ = (fVectorX * 0) + (fVectorY * 0) + (fVectorZ * 1) ;Y-axis rotation matrix fVectorX = fNewX fVectorY = fNewY fVectorZ = fNewZ fNewX = (fVectorX * cos(fAngleY)) + (fVectorY * 0) + (fVectorZ * sin(fAngleY)) fNewY = (fVectorX * 0) + (fVectorY * 1) + (fVectorZ * 0) fNewZ = (fVectorX * sin(-fAngleY)) + (fVectorY * 0) + (fVectorZ * cos(fAngleY)) ;X-axis rotation matrix fVectorX = fNewX fVectorY = fNewY fVectorZ = fNewZ fNewX = (fVectorX * 1) + (fVectorY * 0) + (fVectorZ * 0) fNewY = (fVectorX * 0) + (fVectorY * cos(fAngleX)) + (fVectorZ * sin(-fAngleX)) fNewZ = (fVectorX * 0) + (fVectorY * sin(fAngleX)) + (fVectorZ * cos(fAngleX)) ;Return result float[] fNewPos = new float[3] fNewPos[0] = fNewX fNewPos[1] = fNewY fNewPos[2] = fNewZ return fNewPos endFunction function DispelShelter(int iLimited = 0) ;Are any of the bed rolls in use? if iLimited == 0 ;Chose the Dispel option from the menu if self.IsFurnitureInUse() _DE_Shelter_PickUpError.Show() return endif if self.IsFurnitureInUse() _DE_Shelter_PickUpError.Show() return endif elseif iLimited == 1 || iLimited == 2 ;Conjured another shelter elsewhere OR the shelter timed out while self.IsFurnitureInUse() wait(0.1) endWhile while myChair.IsFurnitureInUse() wait(0.1) endWhile endif if iLimited == 0 || iLimited == 2 _DE_Shelter_Trigger.MoveTo(_DE_Anchor) endif ;Destroy fuel objects and other state-based effects if myCookingPotSteam myCookingPotSteam.Disable() myCookingPotSteam.Delete() endif if myFirewoodLit myFirewoodLit.Disable() myFirewoodLit.Delete() endif if myFirewoodUnlit myFirewoodUnlit.Disable() myFirewoodUnlit.Delete() endif if myDeadwoodLit myDeadwoodLit.Disable() myDeadwoodLit.Delete() endif if myDeadwoodUnlit myDeadwoodUnlit.Disable() myDeadwoodUnlit.Delete() endif if myBooksLit myBooksLit.Disable() myBooksLit.Delete() endif if myBooksUnlit myBooksUnlit.Disable() myBooksUnlit.Delete() endif if mySteam mySteam.Disable() mySteam.Delete() endif if myEmbers myEmbers.Disable() myEmbers.Delete() endif if myAshes myAshes.Disable() myAshes.Delete() endif if myFireLightSource myFireLightSource.Disable() myFireLightSource.Delete() endif ;Disintegrate everything! if myLight PlayWarpOutEffect(myLight) endif wait(0.1) if myPlate PlayWarpOutEffect(myPlate) endif wait(0.1) ;0.2 sec if myCup PlayWarpOutEffect(myCup) endif wait(0.2) ;0.4 sec if myTable PlayWarpOutEffect(myTable) endif if myChair PlayWarpOutEffect(myChair) endif wait(0.1) ;0.5 sec if myPotHolder PlayWarpOutEffect(myPotHolder) endif if mySteam mySteam.Disable() mySteam.Delete() endif if myCookingPot PlayWarpOutEffect(myCookingPot) endif wait(0.1) ;0.6 sec if myTanningRack PlayWarpOutEffect(myTanningRack) endif if myEnchanting PlayWarpOutEffect(myEnchanting) endif wait(0.2) ;0.8 sec if myAlchemy PlayWarpOutEffect(myAlchemy) endif wait(0.1) ;0.9 sec if myFireplace PlayWarpOutEffect(myFireplace) endif wait(0.1) ;1.0 sec if myEnchantingTable PlayWarpOutEffect(myEnchantingTable) endif if myAlchemyTable PlayWarpOutEffect(myAlchemyTable) endif if iLimited == 0 || iLimited == 2 PlayWarpOutEffect(_DE_ConjurationMasterChest) endif wait(0.2) ;1.2 sec PlayWarpOutEffect(self) wait(0.1) ;1.3 sec if myBase1 PlayWarpOutEffect(myBase1) endif if myBase2 PlayWarpOutEffect(myBase2) endif if myBase3 PlayWarpOutEffect(myBase3) endif if myBase4 PlayWarpOutEffect(myBase4) endif if myBase5 PlayWarpOutEffect(myBase5) endif if myBase6 PlayWarpOutEffect(myBase6) endif if myBase7 PlayWarpOutEffect(myBase7) endif wait(1.2) ;2.5 sec - Effect is over, start disabling things in order if myLightSource myLightSource.Disable() myLightSource.Delete() endif if myLight myLight.Disable() myLight.Delete() endif wait(0.1) if myPlate myPlate.Disable() myPlate.Delete() endif wait(0.1) if myCup myCup.Disable() myCup.Delete() endif wait(0.2) if myTable myTable.Disable() myTable.Delete() endif if myChair myChair.Disable() myChair.Delete() endif wait(0.1) if myPotHolder myPotHolder.Disable() myPotHolder.Delete() endif if myCookingPot myCookingPot.Disable() myCookingPot.Delete() endif wait(0.1) if myTanningRack myTanningRack.Disable() myTanningRack.Delete() endif if myEnchanting myEnchanting.Disable() myEnchanting.Delete() endif wait(0.2) if myAlchemy myAlchemy.Disable() myAlchemy.Delete() endif wait(0.1) if myFireplace myFireplace.Disable() myFireplace.Delete() endif wait(0.1) if myEnchantingTable myEnchantingTable.Disable() myEnchantingTable.Delete() endif if myAlchemyTable myAlchemyTable.Disable() myAlchemyTable.Delete() endif wait(0.3) if myBase1 myBase1.Disable() myBase1.Delete() endif if myBase2 myBase2.Disable() myBase2.Delete() endif if myBase3 myBase3.Disable() myBase3.Delete() endif if myBase4 myBase4.Disable() myBase4.Delete() endif if myBase5 myBase5.Disable() myBase5.Delete() endif if myBase6 myBase6.Disable() myBase6.Delete() endif if myBase7 myBase7.Disable() myBase7.Delete() endif if iLimited == 0 || iLimited == 2 ;Move the chest back to the holding cell _DE_ConjurationMasterChest.MoveTo(_DE_Anchor) endif if mySoundID != 0 Sound.StopInstance(mySoundID) endif if mySphere ;Suck in the sphere mySphere.PlaceAtMe(SummonTargetFXActivator) wait(1.0) float mySphereScale = _DE_Shelter_L_Sphere.GetScale() float fDivisor = 1.0 while fDivisor < 1.6 mySphere.SetScale(mySphereScale / fDivisor) fDivisor += 0.01 endWhile fDivisor = 1.5 while fDivisor < 20.0 mySphere.SetScale(mySphereScale / fDivisor) fDivisor += 1.0 endWhile mySphere.Disable() mySphere.Delete() endif ;Finally, delete myself self.Disable() self.Delete() endFunction bool function IsPlayerInInterior() if PlayerRef.IsInInterior() return true else if _DE_WorldspacesInteriors.HasForm(PlayerRef.GetWorldSpace()) return true else return false endif endif endFunction bool function Is3DLoadedFinite(ObjectReference akObject) ;Prevents an infinite loop waiting for an object that may ;never load correctly. int i = 0 while !akObject.Is3DLoaded() && i < 500 i += 1 endWhile if i >= 500 return false else return true endif endFunction function PlayWarpInEffect(ObjectReference akObject) if Is3DLoadedFinite(akObject) MGTeleportInEffect.Play(akObject, 3.0) endif endFunction function PlayWarpOutEffect(ObjectReference akObject) if Is3DLoadedFinite(akObject) ShockDisintegrate01FXS.Play(akObject) endif endFunction
Papyrus
4
chesko256/Campfire
Scripts/Source/_DE_ConjuredShelter.psc
[ "MIT" ]
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> <p>Hello, <span th:text="${ T(org.springframework.security.core.context.SecurityContextHolder) .context.authentication.principal.username}"></span>!</p> <form action="/logout" method="post"> <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/> <input type="submit" value="Log Out"> </form> </html>
HTML
3
zeesh49/tutorials
guest/spring-security/src/main/resources/templates/index.html
[ "MIT" ]
=pod =head1 NAME ASN1_EXTERN_FUNCS, ASN1_ex_d2i, ASN1_ex_d2i_ex, ASN1_ex_i2d, ASN1_ex_new_func, ASN1_ex_new_ex_func, ASN1_ex_free_func, ASN1_ex_print_func, IMPLEMENT_EXTERN_ASN1 - ASN.1 external function support =head1 SYNOPSIS #include <openssl/asn1t.h> typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx); typedef int ASN1_ex_d2i_ex(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx, OSSL_LIB_CTX *libctx, const char *propq); typedef int ASN1_ex_i2d(const ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass); typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it); typedef int ASN1_ex_new_ex_func(ASN1_VALUE **pval, const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, const char *propq); typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it); typedef int ASN1_ex_print_func(BIO *out, const ASN1_VALUE **pval, int indent, const char *fname, const ASN1_PCTX *pctx); struct ASN1_EXTERN_FUNCS_st { void *app_data; ASN1_ex_new_func *asn1_ex_new; ASN1_ex_free_func *asn1_ex_free; ASN1_ex_free_func *asn1_ex_clear; ASN1_ex_d2i *asn1_ex_d2i; ASN1_ex_i2d *asn1_ex_i2d; ASN1_ex_print_func *asn1_ex_print; ASN1_ex_new_ex_func *asn1_ex_new_ex; ASN1_ex_d2i_ex *asn1_ex_d2i_ex; }; typedef struct ASN1_EXTERN_FUNCS_st ASN1_EXTERN_FUNCS; #define IMPLEMENT_EXTERN_ASN1(sname, tag, fptrs) =head1 DESCRIPTION ASN.1 data structures templates are typically defined in OpenSSL using a series of macros such as ASN1_SEQUENCE(), ASN1_SEQUENCE_END() and so on. Instead templates can also be defined based entirely on external functions. These external functions are called to perform operations such as creating a new B<ASN1_VALUE> or converting an B<ASN1_VALUE> to or from DER encoding. The macro IMPLEMENT_EXTERN_ASN1() can be used to create such an externally defined structure. The name of the structure should be supplied in the I<sname> parameter. The tag for the structure (e.g. typically B<V_ASN1_SEQUENCE>) should be supplied in the I<tag> parameter. Finally a pointer to an B<ASN1_EXTERN_FUNCS> structure should be supplied in the I<fptrs> parameter. The B<ASN1_EXTERN_FUNCS> structure has the following entries. =over 4 =item I<app_data> A pointer to arbitrary application specific data. =item I<asn1_ex_new> A "new" function responsible for constructing a new B<ASN1_VALUE> object. The newly constructed value should be stored in I<*pval>. The I<it> parameter is a pointer to the B<ASN1_ITEM> template object created via the IMPLEMENT_EXTERN_ASN1() macro. Returns a positive value on success or 0 on error. =item I<asn1_ex_free> A "free" function responsible for freeing the B<ASN1_VALUE> passed in I<*pval> that was previously allocated via a "new" function. The I<it> parameter is a pointer to the B<ASN1_ITEM> template object created via the IMPLEMENT_EXTERN_ASN1() macro. =item I<asn1_ex_clear> A "clear" function responsible for clearing any data in the B<ASN1_VALUE> passed in I<*pval> and making it suitable for reuse. The I<it> parameter is a pointer to the B<ASN1_ITEM> template object created via the IMPLEMENT_EXTERN_ASN1() macro. =item I<asn1_ex_d2i> A "d2i" function responsible for converting DER data with the tag I<tag> and class I<class> into an B<ASN1_VALUE>. If I<*pval> is non-NULL then the B<ASN_VALUE> it points to should be reused. Otherwise a new B<ASN1_VALUE> should be allocated and stored in I<*pval>. I<*in> points to the DER data to be decoded and I<len> is the length of that data. After decoding I<*in> should be updated to point at the next byte after the decoded data. If the B<ASN1_VALUE> is considered optional in this context then I<opt> will be nonzero. Otherwise it will be zero. The I<it> parameter is a pointer to the B<ASN1_ITEM> template object created via the IMPLEMENT_EXTERN_ASN1() macro. A pointer to the current B<ASN1_TLC> context (which may be required for other ASN1 function calls) is passed in the I<ctx> parameter. The I<asn1_ex_d2i> entry may be NULL if I<asn1_ex_d2i_ex> has been specified instead. Returns <= 0 on error or a positive value on success. =item I<asn1_ex_i2d> An "i2d" function responsible for converting an B<ASN1_VALUE> into DER encoding. On entry I<*pval> will contain the B<ASN1_VALUE> to be encoded. If default tagging is to be used then I<tag> will be -1 on entry. Otherwise if implicit tagging should be used then I<tag> and I<aclass> will be the tag and associated class. If I<out> is not NULL then this function should write the DER encoded data to the buffer in I<*out>, and then increment I<*out> to point to immediately after the data just written. If I<out> is NULL then no data should be written but the length calculated and returned as if it were. The I<asn1_ex_i2d> entry may be NULL if I<asn1_ex_i2d_ex> has been specified instead. The return value should be negative if a fatal error occurred, or 0 if a non-fatal error occurred. Otherwise it should return the length of the encoded data. =item I<asn1_ex_print> A "print" function. I<out> is the BIO to print the output to. I<*pval> is the B<ASN1_VALUE> to be printed. I<indent> is the number of spaces of indenting to be printed before any data is printed. I<fname> is currently unused and is always "". I<pctx> is a pointer to the B<ASN1_PCTX> for the print operation. Returns 0 on error or a positive value on success. If the return value is 2 then an additional newline will be printed after the data printed by this function. =item I<asn1_ex_new_ex> This is the same as I<asn1_ex_new> except that it is additionally passed the OSSL_LIB_CTX to be used in I<libctx> and any property query string to be used for algorithm fetching in the I<propq> parameter. See L<crypto(7)/ALGORITHM FETCHING> for further details. If I<asn1_ex_new_ex> is non NULL, then it will always be called in preference to I<asn1_ex_new>. =item I<asn1_ex_d2i_ex> This is the same as I<asn1_ex_d2i> except that it is additionally passed the OSSL_LIB_CTX to be used in I<libctx> and any property query string to be used for algorithm fetching in the I<propq> parameter. See L<crypto(7)/ALGORITHM FETCHING> for further details. If I<asn1_ex_d2i_ex> is non NULL, then it will always be called in preference to I<asn1_ex_d2i>. =back =head1 RETURN VALUES Return values for the various callbacks are as described above. =head1 SEE ALSO L<ASN1_item_new_ex(3)> =head1 HISTORY The I<asn1_ex_new_ex> and I<asn1_ex_d2i_ex> callbacks were added in OpenSSL 3.0. =head1 COPYRIGHT Copyright 2021 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at L<https://www.openssl.org/source/license.html>. =cut
Pod
4
pmesnier/openssl
doc/man3/ASN1_EXTERN_FUNCS.pod
[ "Apache-2.0" ]
using Uno; using Fuse.Scripting; using Uno.Net; using Uno.Net.Sockets; using Uno.Threading; using Uno.IO; using Outracks; using Outracks.Simulator.Protocol; using Outracks.Simulator.Runtime; using Uno.Collections; namespace Fuse.Simulator { delegate T ResultFactory<T>(object[] args); class FactoryClosure<T> { ResultFactory<T> _factory; object[] _args; Promise<T> _promise; public FactoryClosure(ResultFactory<T> factory, object[] args, Promise<T> promise) { _factory = factory; _args = args; _promise = promise; } public void Run() { T res = default(T); try { res = _factory(_args); } catch (Exception e) { _promise.Reject(e); return; } _promise.Resolve(res); } } class RecentProjectsCallback { readonly Context _ctx; readonly Function _callback; Project[] _projects; public RecentProjectsCallback(Context ctx, Function callback) { _ctx = ctx; _callback = callback; } public void Update(IEnumerable<Project> projects) { _projects = FilterOnlyCachedProjects(projects); _ctx.Invoke(UpdateJS); } Project[] FilterOnlyCachedProjects(IEnumerable<Project> projects) { var projectsCached = new List<Project>(); foreach(var proj in projects) { if(SimulatorManager.RecentProjects.IsCached(proj)) projectsCached.Add(proj); } return projectsCached.ToArray(); } void UpdateJS(Context ctx) { _callback.Call(ctx, Converter(ctx, _projects)); } object Converter(Context c, Project []project) { var projObjs = new List<object>(); foreach(var proj in project) { projObjs.Add(CreateProjectObject(proj, c)); } return c.NewArray(projObjs.ToArray()); } static Fuse.Scripting.Object CreateProjectObject(Project project, Context ctx) { var o = ctx.NewObject(); o["id"] = project.Identifier; o["name"] = project.Name; return o; } } public class SimulatorJS : NativeModule { RecentProjectsCallback _recentProjectsCallback; public SimulatorJS() { AddMember(new NativePromise<ProxyConnection,object>("connectToProxy", ConnectToProxy, Converter)); AddMember(new NativeFunction("listenForRecentProjects", ListenForRecentProjects)); AddMember(new NativePromise<ClientInfo,object>("openProject", OpenProject, Converter)); AddMember(new NativePromise<int,object>("restartProjectRuntime", RestartProjectRuntime, Converter)); AddMember(new NativeFunction("requestScreenOrientation", RequestScreenOrientation)); } ProxyConnection ConnectToProxy(object[] args) { if(args[0] is Fuse.Scripting.Array) { var rawAddresses = (Fuse.Scripting.Array)args[0]; var addresses = new IPAddress[rawAddresses.Length]; for(var i = 0;i < addresses.Length;++i) { addresses[i] = IPAddress.Parse((string)rawAddresses[i]); } return ProxyConnection.Connect(addresses); } else { return ProxyConnection.Connect(IPAddress.Parse((string)args[0])); } } object ListenForRecentProjects(Context c, object[] args) { var callback = (Function)args[0]; var recentProjects = SimulatorManager.RecentProjects; if(_recentProjectsCallback != null) recentProjects.RecentProjectsChanged -= _recentProjectsCallback.Update; _recentProjectsCallback = new RecentProjectsCallback(c, callback); recentProjects.RecentProjectsChanged += _recentProjectsCallback.Update; _recentProjectsCallback.Update(recentProjects.Projects); return null; } Future<ClientInfo> OpenProject(object[] args) { var promise = new Promise<ClientInfo>(); UpdateManager.PostAction(new FactoryClosure<ClientInfo>(OpenProjectInternal, args, promise).Run); return promise; } ClientInfo OpenProjectInternal(object[] args) { var id = Marshal.ToInt(args[0]); var proj = SimulatorManager.RecentProjects.GetProject(id); var bc = SimulatorManager.RecentProjects.GetCache(proj); return new ClientInfo(proj.Name, SimulatorManager.AddProjectRuntime(id, new OfflineClient(bc))); } object RequestScreenOrientation(Context c, object[] args) { var orientationRaw = (string)args[0]; ScreenOrientationType orientation; if(!Enum.TryParse(orientationRaw, true, out orientation)) { throw new Exception("Invalid orientation identifier: " + orientationRaw); } UpdateManager.PostAction(Outracks.Simulator.Closure.Apply<ScreenOrientationType>(ScreenOrientation.Request, orientation)); return null; } Future<int> RestartProjectRuntime(object[] args) { var promise = new Promise<int>(); UpdateManager.PostAction(new FactoryClosure<int>(RestartProjectRuntimeInternal, args, promise).Run); return promise; } int RestartProjectRuntimeInternal(object[] args) { return SimulatorManager.RestartRuntime(Marshal.ToInt(args[0])); } object Converter(Context c, ProxyConnection owner) { return c.Unwrap(owner); } object Converter(Context c, ClientInfo owner) { return owner.CreateScriptObject(c); } object Converter(Context c, int owner) { return owner; } } class ProxyConnection { readonly Socket _socket; readonly NetworkStream _networkStream; static ProxyConnection() { ScriptClass.Register(typeof(ProxyConnection), new ScriptPromise<ProxyConnection,ClientInfo,Fuse.Scripting.Object>("connectToHost", ExecutionThread.MainThread, ConnectToHost, Converter), new ScriptMethod<ProxyConnection>("disconnect", Disconnect)); } ProxyConnection(Socket socket) { _socket = socket; _networkStream = new NetworkStream(_socket); } public static ProxyConnection Connect(IPAddress address) { var socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); socket.Connect(ToProxyEndpoint(address)); return new ProxyConnection(socket); } public static ProxyConnection Connect(IPAddress []addresses) { try { var socket = ConnectToFirstRespondingEndpoint.Execute(addresses.Select(ToProxyEndpoint)).Result; return new ProxyConnection(socket); } catch(AggregateException e) { if(e.InnerExceptions != null && e.InnerExceptions.Count > 0) throw e.InnerExceptions.First(); else throw; } } static IPEndPoint ToProxyEndpoint(IPAddress address) { return new IPEndPoint(address, 12124); } static void Disconnect(ProxyConnection owner, object []args) { owner._socket.Dispose(); } static Future<ClientInfo> ConnectToHost(Context context, ProxyConnection owner, object []args) { var promise = new Promise<ClientInfo>(); try { var code = (string)args[0]; promise.Resolve(owner.ConnectToHostInner(code)); } catch(Exception e) { promise.Reject(e); } return promise; } ClientInfo ConnectToHostInner(string code) { var writer = new System.IO.BinaryWriter(_networkStream); var reader = new System.IO.BinaryReader(_networkStream); writer.Write(code); writer.Write(""); // TODO: This is defines! var initialState = reader.ReadString(); if("SUCCESS".Equals(initialState) == false) throw new Exception("Failed to request a preview host"); if ("DESIGNER_NOT_RUNNING".Equals(initialState)) throw new Exception("Incorrect code"); var endpointCount = reader.ReadInt32(); var endpoints = new IPEndPoint[endpointCount]; for (int i = 0; i < endpoints.Length; i++) { var simulatorAddress = reader.ReadString(); var simulatorPort = reader.ReadInt32(); endpoints[i] = new IPEndPoint(IPAddress.Parse(simulatorAddress), simulatorPort); } var projectName = reader.ReadString(); Logger.Info("Project Name: " + projectName); foreach(var endpoint in endpoints) { Logger.Info("Endpoint to host: " + endpoint.ToString()); } var packageCount = reader.ReadInt32(); for(var i = 0;i < packageCount;++i) { var name = reader.ReadString(); var version = reader.ReadString(); Logger.Info("Package: " + name + ", " + version); } var projectCount = reader.ReadInt32(); for(var i = 0;i < projectCount;++i) { var name = reader.ReadString(); Logger.Info("Project: " + name); } var hostSocket = ConnectToFirstRespondingEndpoint.Execute(endpoints).Result; Logger.Info("Made connection to an host!"); var project = FindRecentProjectOrCreate(projectName); // TODO: Base it on a unique identifier... return new ClientInfo(projectName, SimulatorManager.AddProjectRuntime(project.Identifier, new SimulatorClient(hostSocket))); } static Project FindRecentProjectOrCreate(string projectName) { var recentProjects = SimulatorManager.RecentProjects; foreach(var proj in recentProjects.Projects) { if(proj.Name == projectName) return proj; } return recentProjects.AddProject(projectName); } static Fuse.Scripting.Object Converter(Context c, ClientInfo owner) { return owner.CreateScriptObject(c); } } class ClientInfo { readonly int _id; readonly string _projectName; public ClientInfo(string projectName, int id) { _id = id; _projectName = projectName; } public Fuse.Scripting.Object CreateScriptObject(Context c) { var o = c.NewObject(); o["id"] = _id; o["projectName"] = _projectName; return o; } } }
Uno
4
mortend/fuse-studio
Source/Preview/App/Fuse.Simulator/SimulatorJS.uno
[ "MIT" ]
n = 18956251888134383670674909797283145492190249682857271225648059300681610450289065780045478613072429552190902402525718186546315717975774990425764418938322284099579362288083375296029391431472749313291825595487319765433979186982123169833492153488330116822051049637787611093833723833807037901447291681599081947000225889107624683873130783724490622691098991240083278634929761657363219829108886688492233344209291279319686310683281777874252347492241301719331510113561921930755812220941512398122887069727083990278433675206585495594567268869617437008606953911213350117744062715016569545990477117567083508007016872543141956216961 p = 134920249223843186411051701991286017125642135441890260669870225724135430894926738740720061309374473390691543142666967782191751108242483626968729402814204531528430146828148226100484527081942512839492433235634061013770154277297012655523458361685068156165902985872986695979283233974757891019142477491473106337793 pbits = p.nbits() # kbits = floor(n.nbits()*(beta^2-epsilon)) kbits = 512+300 pbar = p & (2^kbits-1) print(f"pbar : {pbar}, {len(bin(pbar))}") print("lower %d bits (of %d bits) is given" % (kbits, pbits)) def known_partial_p(n, p) : beta = 0.5 epsilon = beta^2/7 PR.<x> = PolynomialRing(Zmod(n)) f = x*(2^kbits) + pbar f = f.monic() print(pbar) x0 = f.small_roots(X=2^(pbits-kbits), beta=0.3) # find root < 2^kbits with factor >= n^0.3 print ((x0[0]<<kbits) + pbar == p) # print (pbar) if __name__ == "__main__": pass
Sage
4
bearbear1100/Cryptools
cytro/sage/known_q_lsb.sage
[ "MIT" ]
/* Creation, 2020: - New random number generator using a mersenne twister + tweaked lemire postprocessor. This fixed a convergence issue on windows targets for libsvm and liblinear. Sylvain Marie, Schneider Electric See <https://github.com/scikit-learn/scikit-learn/pull/13511#issuecomment-481729756> */ #ifndef _NEWRAND_H #define _NEWRAND_H #ifdef __cplusplus #include <random> // needed for cython to generate a .cpp file from newrand.h extern "C" { #endif // Scikit-Learn-specific random number generator replacing `rand()` originally // used in LibSVM / LibLinear, to ensure the same behaviour on windows-linux, // with increased speed // - (1) Init a `mt_rand` object std::mt19937 mt_rand(std::mt19937::default_seed); // - (2) public `set_seed()` function that should be used instead of `srand()` to set a new seed. void set_seed(unsigned custom_seed) { mt_rand.seed(custom_seed); } // - (3) New internal `bounded_rand_int` function, used instead of rand() everywhere. inline uint32_t bounded_rand_int(uint32_t range) { // "LibSVM / LibLinear Original way" - make a 31bit positive // random number and use modulo to make it fit in the range // return abs( (int)mt_rand()) % range; // "Better way": tweaked Lemire post-processor // from http://www.pcg-random.org/posts/bounded-rands.html uint32_t x = mt_rand(); uint64_t m = uint64_t(x) * uint64_t(range); uint32_t l = uint32_t(m); if (l < range) { uint32_t t = -range; if (t >= range) { t -= range; if (t >= range) t %= range; } while (l < t) { x = mt_rand(); m = uint64_t(x) * uint64_t(range); l = uint32_t(m); } } return m >> 32; } #ifdef __cplusplus } #endif #endif /* _NEWRAND_H */
C
5
emarkou/scikit-learn
sklearn/svm/src/newrand/newrand.h
[ "BSD-3-Clause" ]
#!/bin/bash # ---------------------------------------------------------- # Automatically push back the generated JavaDocs to gh-pages # ---------------------------------------------------------- # based on https://gist.github.com/willprice/e07efd73fb7f13f917ea # specify the common address for the repository targetRepo=github.com/ReactiveX/RxJava.git # ======================================================================= # get the current build tag if any buildTag="$BUILD_TAG" echo -e "Build tag: '$buildTag'" if [ "$buildTag" == "" ]; then buildTag="snapshot" else buildTag="${buildTag:1}" fi echo -e "JavaDocs pushback for tag: $buildTag" # check if the token is actually there if [ "$JAVADOCS_TOKEN" == "" ]; then echo -e "No access to GitHub, skipping JavaDocs pushback." exit 0 fi # prepare the git information git config --global user.email "[email protected]" git config --global user.name "akarnokd+ci" # setup the remote echo -e "Adding the target repository to git" git remote add origin-pages https://${JAVADOCS_TOKEN}@${targetRepo} > /dev/null 2>&1 # stash changes due to chmod echo -e "Stashing any local non-ignored changes" git stash # get the gh-pages echo -e "Update branches and checking out gh-pages" git fetch --all git branch -a git checkout -b gh-pages origin-pages/gh-pages # releases should update 2 extra locations if [ "$buildTag" != "snapshot" ]; then # for releases, add a new directory with the new version # and carefully replace the others # !!!!!!!!!!!!!!!!!!!!!!!!!!!!! # enable once 3.x is mainstream # vvvvvvvvvvvvvvvvvvvvvvvvvvvvv # 1.) main javadoc # ---------------- # remove the io subdir #echo -e "Removing javadoc/io" #rm -r javadoc/io # remove the html files #echo -e "Removing javadoc/*.html" #rm javadoc/*.html # copy the new doc #echo -e "Copying to javadoc/" #yes | cp -rf ./build/docs/javadoc/ . # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # enable once 3.x is mainstream # !!!!!!!!!!!!!!!!!!!!!!!!!!!!! # 2.) 3.x javadoc # remove the io subdir echo -e "Removing 3.x/javadoc/io" rm -r 3.x/javadoc/io # remove the html files echo -e "Removing 3.x/javadoc/*.html" rm 3.x/javadoc/*.html # copy the new doc echo -e "Copying to 3.x/javadoc/" yes | cp -rf ./build/docs/javadoc/ 3.x/ fi # 3.) create a version/snapshot specific copy of the docs # clear the existing tag echo -e "Removing to 3.x/javadoc/${buildTag}" rm -r 3.x/javadoc/${buildTag} # copy the new doc echo -e "Copying to 3.x/javadoc/${buildTag}" yes | cp -rf ./build/docs/javadoc/ 3.x/javadoc/${buildTag}/ # stage all changed and new files echo -e "Staging new files" git add *.html git add *.css git add *.js git add *package-list* # remove tracked but deleted files echo -e "Removing deleted files" git add -u # commit all echo -e "commit CI build: $CI_BUILD_NUMBER for $buildTag" git commit --message "CI build: $CI_BUILD_NUMBER for $buildTag" # debug file list #find -name "*.html" # push it echo -e "Pushing back changes." git push --quiet --set-upstream origin-pages gh-pages # we are done echo -e "JavaDocs pushback complete."
Shell
4
WilSenwish/RxJava
push_javadoc.sh
[ "Apache-2.0" ]
SELECT [toDateTime64('2000-01-01 01:01:01.123', 3), toDateTime64('2000-01-01 01:01:01.123456', 6)];
SQL
2
pdv-ru/ClickHouse
tests/queries/0_stateless/01341_datetime64_wrong_supertype.sql
[ "Apache-2.0" ]
(ns lt.objs.clients "Provide clients object for managing multiple types of clients e.g. browser or Clojure and their connections" (:refer-clojure :exclude [send]) (:require [lt.object :as object] [lt.util.js :refer [wait]] [lt.objs.notifos :as notifos] [clojure.string :as string]) (:require-macros [lt.macros :refer [behavior]])) (def cs (atom {})) (defn ->id [obj] (object/->id obj)) (defn client! [type] (let [obj (object/create ::client)] (object/add-tags obj [type]) (swap! cs assoc (->id obj) obj) obj)) (defn by-id [n] (when n (@cs n))) (defn by-name [n] (first (filter #(= n (:name @%)) (vals @cs)))) (defn ->name [client] (if (map? client) (:name client) client)) (defn merge-info [client info] (let [{:keys [commands type tags]} info info (dissoc info :tags)] (object/merge! client (merge info {:commands (set (map keyword commands))})) (when tags (object/add-tags client tags)))) (declare clients) (defn handle-connection! [info] (if-let [client (by-id (:client-id info))] (do (merge-info client info) (object/raise client :connect) (object/raise clients :connect client) client) (let [c (client! (:tag info))] (handle-connection! (assoc info :client-id (->id c)))))) (defn rem! [client] (let [cname (:name @client)] (swap! cs dissoc (->id client)) (object/raise client :disconnect) (object/destroy! client) (object/raise clients :disconnect cname))) (defn available? [client] (by-id (->id client))) ;;********************************************************** ;; callbacks ;;********************************************************** (def cb-gc-timeout (* 60 60 1000)) (def callbacks (atom {})) (def cb-id (atom -1)) (defn ->cb [only? cb] (cond (and only? cb) [only? cb] only? [nil only?] :else [only? cb])) (defn store-cb [cb id] (swap! callbacks assoc id cb)) (defn rem-cb [cb] (swap! callbacks #(into {} (remove (fn [[k [_ v]]] (= v cb)) %)))) (defn callback? [id] (when id (@callbacks id))) (defn call [id command data] (let [[only? obj] (callback? id)] (when obj (if (fn? obj) (obj command data) (object/raise obj command data)) (when (and (not only?) (not (fn? obj))) (object/raise clients command data))))) (defn cb->obj [id] (let [[only? obj] (callback? id)] (when obj (when-not (fn? obj) obj)))) (defn ->message [command data only? cb] (let [cb (if-not cb clients cb) cb-id (when (fn? cb) (gensym "client-cb")) [only? cb :as pair] (->cb only? cb)] (when cb (store-cb pair cb-id)) {:cb (or cb-id (object/->id cb)) :command (name command) :data data})) ;;********************************************************** ;; common ;;********************************************************** (defn subpath? [root sub] (when root (= (.indexOf (string/lower-case sub) (string/lower-case root)) 0))) ;;return client based on path and type (defn discover* ([command] (discover* command nil)) ([command {:keys [path]}] (let [all (filter (fn [cur] (let [{:keys [dir commands]} (if (satisfies? IDeref cur) @cur cur)] (and (if (and path dir) (subpath? dir path) true) (get commands command)))) (vals @cs)) with-dir (filter #(@% :dir) all)] (if (and path (seq with-dir)) with-dir all)))) (defn discover [command info] (let [[found & others :as all] (discover* command info)] (cond (not found) [:none] (and found (not (seq others))) [:found found] :else [:select all]))) (defn send [client command & [data only? cb]] (let [message (->message command data only? cb)] (object/raise client :try-send! message))) (defn close! [client] (send client :client.close) (object/raise client :close!)) (defn cancel-all! [client] (send client :client.cancel-all)) ;;********************************************************** ;; object ;;********************************************************** (object/object* ::clients :triggers [:connect :disconnect :message] :behaviors [::handle-message ::notify-connect] :tags #{:clients} :init (fn [] )) (def clients (object/create ::clients)) (behavior ::close-clients-on-closed :triggers #{:closing} :reaction (fn [app] (doseq [[_ c] @cs] (close! c)))) (behavior ::on-destroy-remove-cb :triggers #{:destroy} :reaction (fn [this] (rem-cb this))) (behavior ::raise-on-object :triggers #{:clients.raise-on-object} :reaction (fn [this [id command data]] (object/raise (object/by-id id) (keyword command) data))) (behavior ::handle-message :triggers #{:message} :reaction (fn [obj [cb-id command data :as msg]] (cond (callback? cb-id) (call cb-id (keyword command) data) (object/by-id cb-id) (object/raise (object/by-id cb-id) (keyword command) data) :else (object/raise clients (keyword command) data)))) (behavior ::notify-connect :triggers #{:connect} :reaction (fn [obj client] (notifos/set-msg! (str "Connected to " (:name @client))))) ;;********************************************************** ;; individual Clients ;;********************************************************** (defn placeholder [] (-> (object/create ::client) (object/add-tags [:client.placeholder]))) (defn placeholder? [c] (object/has-tag? c :client.placeholder)) (defn swap-client! [a b] (doseq [item (:queue @a)] (object/raise b :try-send! item)) (object/raise a :swapped b)) (object/object* ::client :queue [] :tags #{:client}) (behavior ::try-send :triggers #{:try-send!} :reaction (fn [this msg] (if (:connected @this) (object/raise this :send! msg) (object/raise this :queue! msg)))) (behavior ::queue! :triggers #{:queue!} :reaction (fn [this msg] (object/update! this [:queue] conj msg))) (behavior ::on-connect-drain :triggers #{:connect} :reaction (fn [this] (object/merge! this {:connected true}) (doseq [q (:queue @this)] (object/raise this :send! q) ;;Tremendous hack to sleep for a tiny bit before sending the next. (doall (range 10000))) (object/merge! this {:queue []}))) (behavior ::remove-placeholder-on-swapped :triggers #{:swapped} :reaction (fn [this] (object/destroy! this)))
Clojure
4
sam-aldis/LightTable
src/lt/objs/clients.cljs
[ "MIT" ]
domain: "[M] -> { S4[i0, i1] : i0 >= 1 and i0 <= M and i1 >= 1 + i0 and i1 <= M; S3[i0, i1, i2] : i0 >= 1 and i0 <= M and i1 >= 1 + i0 and i1 <= M and i2 >= 1 and i2 <= -1 + i0; S1[i0, i1] : i0 >= 1 and i0 <= M and i1 >= 1 and i1 <= -1 + i0; S2[i0] : i0 >= 1 and i0 <= M }" child: context: "[M] -> { [] : M >= 2 }" child: schedule: "[M] -> [{ S2[i0] -> [(0)]; S1[i0, i1] -> [(i0)]; S4[i0, i1] -> [(i1)]; S3[i0, i1, i2] -> [(i0)] }]" options: "[M] -> { separate[i0] }"
Smalltalk
1
chelini/isl-haystack
test_inputs/codegen/cloog/yosr2.st
[ "MIT" ]
package com.baeldung.algorithms.astar; public interface Scorer<T extends GraphNode> { double computeCost(T from, T to); }
Java
3
DBatOWL/tutorials
algorithms-miscellaneous-2/src/test/java/com/baeldung/algorithms/astar/Scorer.java
[ "MIT" ]
// Copyright 2014 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/material.dart'; import 'package:flutter_test/flutter_test.dart'; const ShapeBorder defaultButtonShape = RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(2.0))); const EdgeInsets defaultButtonPadding = EdgeInsets.only(left: 16.0, right: 16.0); const BoxConstraints defaultButtonConstraints = BoxConstraints(minWidth: 88.0, minHeight: 36.0); const Duration defaultButtonDuration = Duration(milliseconds: 200); void main() { group('RaisedButton', () { testWidgets('theme: ThemeData.light(), enabled: true', (WidgetTester tester) async { await tester.pumpWidget( MaterialApp( theme: ThemeData.light(), home: Center( child: RaisedButton( onPressed: () { }, // button.enabled == true child: const Text('button'), ), ), ), ); final RawMaterialButton raw = tester.widget<RawMaterialButton>(find.byType(RawMaterialButton)); expect(raw.textStyle!.color, const Color(0xdd000000)); expect(raw.fillColor, const Color(0xffe0e0e0)); expect(raw.highlightColor, const Color(0x29000000)); // Was Color(0x66bcbcbc) expect(raw.splashColor, const Color(0x1f000000)); // Was Color(0x66c8c8c8) expect(raw.elevation, 2.0); expect(raw.highlightElevation, 8.0); expect(raw.disabledElevation, 0.0); expect(raw.constraints, defaultButtonConstraints); expect(raw.padding, defaultButtonPadding); expect(raw.shape, defaultButtonShape); expect(raw.animationDuration, defaultButtonDuration); expect(raw.materialTapTargetSize, MaterialTapTargetSize.padded); }); testWidgets('theme: ThemeData.light(), enabled: false', (WidgetTester tester) async { await tester.pumpWidget( MaterialApp( theme: ThemeData.light(), home: const Center( child: RaisedButton( onPressed: null, // button.enabled == false child: Text('button'), ), ), ), ); final RawMaterialButton raw = tester.widget<RawMaterialButton>(find.byType(RawMaterialButton)); expect(raw.textStyle!.color, const Color(0x61000000)); expect(raw.fillColor, const Color(0x61000000)); // highlightColor, disabled button can't be pressed // splashColor, disabled button doesn't splash expect(raw.elevation, 2.0); expect(raw.highlightElevation, 8.0); expect(raw.disabledElevation, 0.0); expect(raw.constraints, defaultButtonConstraints); expect(raw.padding, defaultButtonPadding); expect(raw.shape, defaultButtonShape); expect(raw.animationDuration, defaultButtonDuration); expect(raw.materialTapTargetSize, MaterialTapTargetSize.padded); }); }); group('FlatButton', () { testWidgets('theme: ThemeData.light(), enabled: true', (WidgetTester tester) async { await tester.pumpWidget( MaterialApp( theme: ThemeData.light(), home: Center( child: FlatButton( onPressed: () { }, // button.enabled == true child: const Text('button'), ), ), ), ); final RawMaterialButton raw = tester.widget<RawMaterialButton>(find.byType(RawMaterialButton)); expect(raw.textStyle!.color, const Color(0xdd000000)); expect(raw.fillColor, null); expect(raw.highlightColor, const Color(0x29000000)); // Was Color(0x66bcbcbc) expect(raw.splashColor, const Color(0x1f000000)); // Was Color(0x66c8c8c8) expect(raw.elevation, 0.0); expect(raw.highlightElevation, 0.0); expect(raw.disabledElevation, 0.0); expect(raw.constraints, defaultButtonConstraints); expect(raw.padding, defaultButtonPadding); expect(raw.shape, defaultButtonShape); expect(raw.animationDuration, defaultButtonDuration); expect(raw.materialTapTargetSize, MaterialTapTargetSize.padded); }); testWidgets('theme: ThemeData.light(), enabled: false', (WidgetTester tester) async { await tester.pumpWidget( MaterialApp( theme: ThemeData.light(), home: const Center( child: FlatButton( onPressed: null, // button.enabled == false child: Text('button'), ), ), ), ); final RawMaterialButton raw = tester.widget<RawMaterialButton>(find.byType(RawMaterialButton)); expect(raw.textStyle!.color, const Color(0x61000000)); expect(raw.fillColor, null); // highlightColor, disabled button can't be pressed // splashColor, disabled button doesn't splash expect(raw.elevation, 0.0); expect(raw.highlightElevation, 0.0); expect(raw.disabledElevation, 0.0); expect(raw.constraints, defaultButtonConstraints); expect(raw.padding, defaultButtonPadding); expect(raw.shape, defaultButtonShape); expect(raw.animationDuration, const Duration(milliseconds: 200)); expect(raw.materialTapTargetSize, MaterialTapTargetSize.padded); }); }); group('OutlineButton', () { testWidgets('theme: ThemeData.light(), enabled: true, highlightElevation: 2.0', (WidgetTester tester) async { await tester.pumpWidget( MaterialApp( theme: ThemeData.light(), home: Center( child: OutlineButton( onPressed: () { }, // button.enabled == true // Causes the button to be filled with the theme's canvasColor // instead of Colors.transparent before the button material's // elevation is animated to 2.0. highlightElevation: 2.0, child: const Text('button'), ), ), ), ); final RawMaterialButton raw = tester.widget<RawMaterialButton>(find.byType(RawMaterialButton)); expect(raw.textStyle!.color, const Color(0xdd000000)); expect(raw.fillColor, const Color(0x00fafafa)); expect(raw.highlightColor, const Color(0x29000000)); // Was Color(0x66bcbcbc) expect(raw.splashColor, const Color(0x1f000000)); // Was Color(0x66c8c8c8) expect(raw.elevation, 0.0); expect(raw.highlightElevation, 0.0); expect(raw.disabledElevation, 0.0); expect(raw.constraints, defaultButtonConstraints); expect(raw.padding, defaultButtonPadding); // animationDuration can't be configured by the theme/constructor expect(raw.materialTapTargetSize, MaterialTapTargetSize.padded); }); testWidgets('theme: ThemeData.light(), enabled: true', (WidgetTester tester) async { await tester.pumpWidget( MaterialApp( theme: ThemeData.light(), home: Center( child: OutlineButton( onPressed: () { }, // button.enabled == true child: const Text('button'), ), ), ), ); final RawMaterialButton raw = tester.widget<RawMaterialButton>(find.byType(RawMaterialButton)); expect(raw.textStyle!.color, const Color(0xdd000000)); expect(raw.fillColor, Colors.transparent); expect(raw.highlightColor, const Color(0x29000000)); // Was Color(0x66bcbcbc) expect(raw.splashColor, const Color(0x1f000000)); // Was Color(0x66c8c8c8) expect(raw.elevation, 0.0); expect(raw.highlightElevation, 0.0); expect(raw.disabledElevation, 0.0); expect(raw.constraints, defaultButtonConstraints); expect(raw.padding, defaultButtonPadding); // animationDuration can't be configured by the theme/constructor expect(raw.materialTapTargetSize, MaterialTapTargetSize.padded); }); testWidgets('theme: ThemeData.light(), enabled: false', (WidgetTester tester) async { await tester.pumpWidget( MaterialApp( theme: ThemeData.light(), home: const Center( child: OutlineButton( onPressed: null, // button.enabled == false child: Text('button'), ), ), ), ); final RawMaterialButton raw = tester.widget<RawMaterialButton>(find.byType(RawMaterialButton)); expect(raw.textStyle!.color, const Color(0x61000000)); expect(raw.fillColor, const Color(0x00000000)); // highlightColor, disabled button can't be pressed // splashColor, disabled button doesn't splash expect(raw.elevation, 0.0); expect(raw.highlightElevation, 0.0); expect(raw.disabledElevation, 0.0); expect(raw.constraints, defaultButtonConstraints); expect(raw.padding, defaultButtonPadding); // animationDuration can't be configured by the theme/constructor expect(raw.materialTapTargetSize, MaterialTapTargetSize.padded); }); }); group('FloatingActionButton', () { const BoxConstraints defaultFABConstraints = BoxConstraints.tightFor(width: 56.0, height: 56.0); const ShapeBorder defaultFABShape = CircleBorder(); const EdgeInsets defaultFABPadding = EdgeInsets.zero; testWidgets('theme: ThemeData.light(), enabled: true', (WidgetTester tester) async { await tester.pumpWidget( MaterialApp( theme: ThemeData.light(), home: Center( child: FloatingActionButton( onPressed: () { }, // button.enabled == true child: const Icon(Icons.add), ), ), ), ); final RawMaterialButton raw = tester.widget<RawMaterialButton>(find.byType(RawMaterialButton)); expect(raw.enabled, true); expect(raw.textStyle!.color, const Color(0xffffffff)); expect(raw.fillColor, const Color(0xff2196f3)); expect(raw.elevation, 6.0); expect(raw.highlightElevation, 12.0); expect(raw.disabledElevation, 6.0); expect(raw.constraints, defaultFABConstraints); expect(raw.padding, defaultFABPadding); expect(raw.shape, defaultFABShape); expect(raw.animationDuration, defaultButtonDuration); expect(raw.materialTapTargetSize, MaterialTapTargetSize.padded); }); testWidgets('theme: ThemeData.light(), enabled: false', (WidgetTester tester) async { await tester.pumpWidget( MaterialApp( theme: ThemeData.light(), home: const Center( child: FloatingActionButton( onPressed: null, // button.enabled == false child: Icon(Icons.add), ), ), ), ); final RawMaterialButton raw = tester.widget<RawMaterialButton>(find.byType(RawMaterialButton)); expect(raw.enabled, false); expect(raw.textStyle!.color, const Color(0xffffffff)); expect(raw.fillColor, const Color(0xff2196f3)); // highlightColor, disabled button can't be pressed // splashColor, disabled button doesn't splash expect(raw.elevation, 6.0); expect(raw.highlightElevation, 12.0); expect(raw.disabledElevation, 6.0); expect(raw.constraints, defaultFABConstraints); expect(raw.padding, defaultFABPadding); expect(raw.shape, defaultFABShape); expect(raw.animationDuration, defaultButtonDuration); expect(raw.materialTapTargetSize, MaterialTapTargetSize.padded); }); }); }
Dart
5
devansh12b2/flutter
packages/flutter/test/material/theme_defaults_test.dart
[ "BSD-3-Clause" ]
AC_DEFUN([FA_PYTHON], [ AC_ARG_WITH(python, [AS_HELP_STRING([--with-python=<bin>], [use Python binary <bin>])]) case $with_python in "") PYTHON_BIN=python ;; *) PYTHON_BIN="$with_python" esac AC_CHECK_PROG(PYTHON, $PYTHON_BIN, $PYTHON_BIN) fa_python_bin=$PYTHON AC_MSG_CHECKING([for Python C flags]) fa_python_cflags=`$PYTHON -c " import sysconfig paths = [['-I' + sysconfig.get_path(p) for p in ['include', 'platinclude']]] print(' '.join(paths))"` AC_MSG_RESULT($fa_python_cflags) AC_SUBST(PYTHON_CFLAGS, "$PYTHON_CFLAGS $fa_python_cflags") ])dnl FA_PYTHON
M4
3
chriswarnock/milvus
internal/core/src/index/thirdparty/faiss/acinclude/fa_python.m4
[ "Apache-2.0" ]
##### http://autoconf-archive.cryp.to/ax_cflags_strict_prototypes.html # # SYNOPSIS # # AX_CFLAGS_STRICT_PROTOTYPES [(shellvar [,default, [A/NA]] # # DESCRIPTION # # Try to find a compiler option that requires strict prototypes. # # The sanity check is done by looking at sys/signal.h which has a set # of macro-definitions SIG_DFL and SIG_IGN that are cast to the local # signal-handler type. If that signal-handler type is not fully # qualified then the system headers are not seen as strictly # prototype clean. # # For the GNU CC compiler it will be -fstrict-prototypes # -Wstrict-prototypes The result is added to the shellvar being # CFLAGS by default. # # DEFAULTS: # # - $1 shell-variable-to-add-to : CFLAGS # - $2 add-value-if-not-found : nothing # - $3 action-if-found : add value to shellvariable # - $4 action-if-not-found : nothing # # LAST MODIFICATION # # 2006-12-12 # # COPYLEFT # # Copyright (c) 2006 Guido U. Draheim <[email protected]> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # # As a special exception, the respective Autoconf Macro's copyright # owner gives unlimited permission to copy, distribute and modify the # configure scripts that are the output of Autoconf when processing # the Macro. You need not follow the terms of the GNU General Public # License when using or distributing such scripts, even though # portions of the text of the Macro appear in them. The GNU General # Public License (GPL) does govern all other use of the material that # constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the # Autoconf Macro released by the Autoconf Macro Archive. When you # make and distribute a modified version of the Autoconf Macro, you # may extend this special exception to the GPL to apply to your # modified version as well. AC_DEFUN([AX_CFLAGS_STRICT_PROTOTYPES],[dnl AS_VAR_PUSHDEF([FLAGS],[CFLAGS])dnl AS_VAR_PUSHDEF([VAR],[ac_cv_cflags_strict_prototypes])dnl AC_CACHE_CHECK([m4_ifval($1,$1,FLAGS) for strict prototypes], VAR,[VAR="no, unknown" AC_LANG_SAVE AC_LANG_C ac_save_[]FLAGS="$[]FLAGS" for ac_arg dnl in "-pedantic % -fstrict-prototypes -Wstrict-prototypes" dnl GCC "-pedantic % -Wstrict-prototypes" dnl try to warn atleast "-pedantic % -Wmissing-prototypes" dnl or another warning "-pedantic % -Werror-implicit-function-declaration" dnl "-pedantic % -Wimplicit-function-declaration" dnl # do FLAGS="$ac_save_[]FLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` AC_TRY_COMPILE([],[return 0;], [VAR=`echo $ac_arg | sed -e 's,.*% *,,'` ; break]) done case ".$VAR" in .|.no|.no,*) ;; *) # sanity check with signal() from sys/signal.h cp config.log config.tmp AC_TRY_COMPILE([#include <signal.h>],[ if (signal (SIGINT, SIG_IGN) == SIG_DFL) return 1; if (signal (SIGINT, SIG_IGN) != SIG_DFL) return 2;], dnl the original did use test -n `$CC testprogram.c` [if test `diff config.log config.tmp | grep -i warning | wc -l` != 0 then if test `diff config.log config.tmp | grep -i warning | wc -l` != 1 then VAR="no, suppressed, signal.h," ; fi ; fi], [VAR="no, suppressed, signal.h"]) rm config.tmp ;; esac FLAGS="$ac_save_[]FLAGS" AC_LANG_RESTORE ]) case ".$VAR" in .ok|.ok,*) m4_ifvaln($3,$3) ;; .|.no|.no,*) m4_ifvaln($4,$4,[m4_ifval($2,[ AC_RUN_LOG([: m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $2"]) m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $2"])]) ;; *) m4_ifvaln($3,$3,[ if echo " $[]m4_ifval($1,$1,FLAGS) " | grep " $VAR " 2>&1 >/dev/null then AC_RUN_LOG([: m4_ifval($1,$1,FLAGS) does contain $VAR]) else AC_RUN_LOG([: m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $VAR"]) m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $VAR" fi ]) ;; esac AS_VAR_POPDEF([VAR])dnl AS_VAR_POPDEF([FLAGS])dnl ]) dnl the only difference - the LANG selection... and the default FLAGS AC_DEFUN([AX_CXXFLAGS_STRICT_PROTOTYPES],[dnl AS_VAR_PUSHDEF([FLAGS],[CXXFLAGS])dnl AS_VAR_PUSHDEF([VAR],[ac_cv_cxxflags_strict_prototypes])dnl AC_CACHE_CHECK([m4_ifval($1,$1,FLAGS) for strict prototypes], VAR,[VAR="no, unknown" AC_LANG_SAVE AC_LANG_CPLUSPLUS ac_save_[]FLAGS="$[]FLAGS" for ac_arg dnl in "-pedantic -Werror % -fstrict-prototypes -Wstrict-prototypes" dnl GCC "-pedantic -Werror % -Wstrict-prototypes" dnl try to warn atleast "-pedantic -Werror % -Wmissing-prototypes" dnl try to warn atleast "-pedantic -Werror % -Werror-implicit-function-declaration" dnl "-pedantic -Werror % -Wimplicit-function-declaration" dnl "-pedantic % -Wstrict-prototypes %% no, unsupported in C++" dnl oops # do FLAGS="$ac_save_[]FLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` AC_TRY_COMPILE([],[return 0;], [VAR=`echo $ac_arg | sed -e 's,.*% *,,'` ; break]) done case ".$VAR" in .|.no|.no,*) ;; *) # sanity check with signal() from sys/signal.h cp config.log config.tmp AC_TRY_COMPILE([#include <signal.h>],[ if (signal (SIGINT, SIG_IGN) == SIG_DFL) return 1; if (signal (SIGINT, SIG_IGN) != SIG_DFL) return 2;], dnl the original did use test -n `$CC testprogram.c` [if test `diff config.log config.tmp | grep -i warning | wc -l` != 0 then if test `diff config.log config.tmp | grep -i warning | wc -l` != 1 then VAR="no, suppressed, signal.h," ; fi ; fi], [VAR="no, suppressed, signal.h"]) rm config.tmp ;; esac FLAGS="$ac_save_[]FLAGS" AC_LANG_RESTORE ]) case ".$VAR" in .ok|.ok,*) m4_ifvaln($3,$3) ;; .|.no|.no,*) m4_ifvaln($4,$4,[m4_ifval($2,[ AC_RUN_LOG([: m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $2"]) m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $2"])]) ;; *) m4_ifvaln($3,$3,[ if echo " $[]m4_ifval($1,$1,FLAGS) " | grep " $VAR " 2>&1 >/dev/null then AC_RUN_LOG([: m4_ifval($1,$1,FLAGS) does contain $VAR]) else AC_RUN_LOG([: m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $VAR"]) m4_ifval($1,$1,FLAGS)="$m4_ifval($1,$1,FLAGS) $VAR" fi ]) ;; esac AS_VAR_POPDEF([VAR])dnl AS_VAR_POPDEF([FLAGS])dnl ])
M4
4
joshrose/audacity
lib-src/portsmf/autotools/m4/ax_cflags_strict_prototypes.m4
[ "CC-BY-3.0" ]
# Copyright 2019 The Kubernetes 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. Param( [string]$FileName = $(throw "-FileName is required.") ) # read = read data | read attributes $READ_PERMISSIONS = 0x0001 -bor 0x0080 # write = write data | append data | write attributes | write EA $WRITE_PERMISSIONS = 0x0002 -bor 0x0004 -bor 0x0100 -bor 0x0010 # execute = read data | file execute $EXECUTE_PERMISSIONS = 0x0001 -bor 0x0020 function GetFilePermissions($path) { $fileAcl = Get-Acl -Path $path $fileOwner = $fileAcl.Owner $fileGroup = $fileAcl.Group $userMask = 0 $groupMask = 0 $otherMask = 0 foreach ($rule in $fileAcl.Access) { if ($rule.AccessControlType -ne [Security.AccessControl.AccessControlType]::Allow) { # not an allow rule, skipping. continue } $mask = 0 $rights = $rule.FileSystemRights.value__ # convert mask. if ( ($rights -band $READ_PERMISSIONS) -eq $READ_PERMISSIONS ) { $mask = $mask -bor 4 } if ( ($rights -band $WRITE_PERMISSIONS) -eq $WRITE_PERMISSIONS ) { $mask = $mask -bor 2 } if ( ($rights -band $EXECUTE_PERMISSIONS) -eq $EXECUTE_PERMISSIONS ) { $mask = $mask -bor 1 } # detect mask type. if ($rule.IdentityReference.Value.Equals($fileOwner)) { $userMask = $mask } if ($rule.IdentityReference.Value.Equals($fileGroup)) { $groupMask = $mask } if ($rule.IdentityReference.Value.ToLower().Contains("users")) { $otherMask = $mask } } return "$userMask$groupMask$otherMask" } $mask = GetFilePermissions($FileName) if (-not $?) { exit 1 } # print the permission mask Linux-style. echo "0$mask"
PowerShell
5
767829413/kubernetes
test/images/agnhost/mounttest/filePermissions.ps1
[ "Apache-2.0" ]
parser grammar CiscoNxos_mac; import CiscoNxos_common; options { tokenVocab = CiscoNxosLexer; } s_mac : MAC mac_access_list ; mac_access_list : ACCESS_LIST name = mac_access_list_name NEWLINE macl_line* ; macl_line : num = ip_access_list_line_number? ( macll_action ) ; macll_action : action = line_action maclla_src_address_spec maclla_dst_address_spec maclla_protocol_spec? NEWLINE ; maclla_address_spec : address = mac_address_literal wildcard = mac_address_literal | ANY ; maclla_dst_address_spec : maclla_address_spec ; maclla_src_address_spec : maclla_address_spec ; maclla_protocol_spec : hex_uint32 ;
ANTLR
4
zabrewer/batfish
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_nxos/CiscoNxos_mac.g4
[ "Apache-2.0" ]
#include "colors.inc" camera { location <0, 1, -10> look_at 0 angle 36 } light_source { <500, 500, -1000> White } plane { y, -1.5 pigment { checker Green White } }
POV-Ray SDL
4
qeedquan/misc_utilities
gfx/povray/csg.pov
[ "MIT" ]
#define ONFRONTCONNECTED 0 #define ONFRONTDISCONNECTED 1 #define ONHEARTBEATWARNING 2 #define ONPACKAGESTART 3 #define ONPACKAGEEND 4 #define ONRSPSUBSCRIBETOPIC 5 #define ONRSPUSERLOGIN 6 #define ONRSPUSERLOGOUT 7 #define ONRSPUSERPASSWORDUPDATE 8 #define ONRSPSTOCKINSERT 9 #define ONRSPSTOCKCANCEL 10 #define ONRSPOPTIONSINSERT 11 #define ONRSPOPTIONSCANCEL 12 #define ONRSPQUOTEINSERT 13 #define ONRSPFORQUOTE 14 #define ONRSPQUOTECANCEL 15 #define ONRSPSTOCKLOCK 16 #define ONRSPEXERCISE 17 #define ONRSPEXERCISECANCEL 18 #define ONRSPQRYPARTACCOUNT 19 #define ONRSPQRYSTOCKORDER 20 #define ONRSPQRYOPTIONSORDER 21 #define ONRSPQRYQUOTEORDER 22 #define ONRSPQRYSTOCKTRADE 23 #define ONRSPQRYOPTIONSTRADE 24 #define ONRSPQRYPOSITION 25 #define ONRSPQRYTOPIC 26 #define ONRSPQRYSTOCK 27 #define ONRSPQRYOPTIONS 28 #define ONRTNOPTIONSORDER 29 #define ONRTNSTOCKORDER 30 #define ONRTNQUOTEORDER 31 #define ONRTNOPTIONSTRADE 32 #define ONRTNSTOCKTRADE 33 #define ONRTNEXERCISE 34 #define ONRSPQRYRATE 35 #define ONRSPQRYCLIENT 36 #define ONRSPQRYCLIENTMARGIN 37 #define ONRSPQRYEXERCISE 38 #define ONRTNWITHDRAWDEPOSIT 39 #define ONRSPMARGINCOMBACTION 40 #define ONRTNMARGINCOMBACTION 41 #define ONRSPQRYSSECOMBPOSITION 42 #define ONRSPCOMBEXERCISE 43
C
3
funrunskypalace/vnpy
vnpy/api/nh/generator/stock/nh_stock_header_define.h
[ "MIT" ]
.site-name { visibility: hidden; } blockquote { font-size: 1rem; color: #8e8e8e; > p + p { margin-top: 1rem; } } iframe { width: 100%; height: 300px; border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1); } details { border: 1px dotted #ccc; border-radius: 6px; &[open] > summary { border-bottom: 1px dotted #ccc; } > summary { padding: 1rem; cursor: pointer; } > * { padding: 0 1rem; } > ul, > ol { margin-left: 1rem; } > [class*="language-"] { margin: 0 1rem; } } .blm-callout { border-radius: 6px; background: #000; color: white; padding: 1rem; } .gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-column-gap: 1rem; padding: 0; } .gallery li { list-style-type: none; margin-bottom: 1rem; text-align: center; } .theme-default-content:not(.custom) .gallery img { display: block; max-width: 100%; width: auto; } .icon-list { padding: 0; } .icon-list li { clear: left; list-style-type: none; margin-bottom: 0.5rem; padding-left: 2.5rem; /* make space for image, indent text */ } .theme-default-content:not(.custom) .icon-list img { display: block; float: left; margin-right: 0.5rem; margin-left: -2.5rem; /* pull image into margin */ max-height: 28px; /* height of the screenshots */ max-width: 100%; width: auto; } img[alt="Stately member"] { width: 1rem; }
Stylus
4
balrog-typescript/xstate
docs/.vuepress/styles/index.styl
[ "MIT" ]
// // Copyright (c) 2006, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 23 Oct 06 Brian Frank Creation // ** ** ConstantFoldingTest ** class ConstantFoldingTest : CompilerTest { ////////////////////////////////////////////////////////////////////////// // Int ////////////////////////////////////////////////////////////////////////// Void testInt() { compile( "class Foo { static Int star() { return 2 * 3 } static Int slash() { return 8 / 3 } static Int percent() { return 8 % 5 } static Int plus() { return 4 + 3 } static Int minus() { return 10 - 7 } static Int negate() { return -1 } static Str toString(){ return 5.toStr } static Str toHex() { return 0xabcd.toHex } static Str toChar() { return 'w'.toChar } static Int mix() { return 2+10/5-4 } }") verifyMethodReturns("star", 6) verifyMethodReturns("slash", 2) verifyMethodReturns("percent", 3) verifyMethodReturns("plus", 7) verifyMethodReturns("minus", 3) verifyMethodReturns("negate", -1) verifyMethodReturns("toString", "5") verifyMethodReturns("toHex", "abcd") verifyMethodReturns("toChar", "w") verifyMethodReturns("mix", 0) } ////////////////////////////////////////////////////////////////////////// // Float ////////////////////////////////////////////////////////////////////////// Void testFloat() { compile( "class Foo { static Float star() { return 2.0f * 3.0f } static Float slash() { return 8.0f / 4.0f } static Float percent() { return 8.0f % 5.0f } static Float plus() { return 4.0f + 3.0f } static Float minus() { return 10.0f - 7.0f } static Float negate() { return -100.0f } static Float max() { return 6f.max(7f) } static Float min() { return 6f.min(7f) } static Float mix() { return 2f+10f/5f-4f } }") verifyMethodReturns("star", 6.0f) verifyMethodReturns("slash", 2.0f) verifyMethodReturns("percent", 3.0f) verifyMethodReturns("plus", 7.0f) verifyMethodReturns("minus", 3.0f) verifyMethodReturns("negate", -100.0f) //verifyMethodReturns("max", 7.0f) //verifyMethodReturns("min", 6.0f) verifyMethodReturns("mix", 0.0f) } ////////////////////////////////////////////////////////////////////////// // Str ////////////////////////////////////////////////////////////////////////// Void testStr() { compile( "class Foo { static Str plus2() { return \"a\" + \"b\" } static Str plus3() { return \"a\" + \"b\" + \"c\" } static Str trim() { return \" abc \".trim } }") verifyMethodReturns("plus2", "ab") verifyMethodReturns("plus3", "abc") verifyMethodReturns("trim", "abc") } ////////////////////////////////////////////////////////////////////////// // Duration ////////////////////////////////////////////////////////////////////////// Void testDuration() { compile( "class Foo { static Duration plus() { return 1sec + 0.5sec } static Int ticks() { return 1sec.toNanos } static Str toString() { return 5ms.toStr } }") verifyMethodReturns("plus", 1.5sec) verifyMethodReturns("ticks", 1_000_000_000) verifyMethodReturns("toString", "5.ms") } ////////////////////////////////////////////////////////////////////////// // Utils ////////////////////////////////////////////////////////////////////////// Void verifyMethodReturns(Str methodName, Obj val) { m := compiler.types.first.methodDef(methodName) verifyEq(m.code.stmts.first->expr->val, val) } }
Fantom
4
fanx-dev/fanx
compiler/testCompiler/fan/ConstantFoldingTest.fan
[ "AFL-3.0" ]
;; "|this is comment" ; "|comment"
Cirru
0
Cirru/cirru.org
examples/comment.cirru
[ "MIT" ]
- dashboard: customer_lookup title: Customer Lookup layout: newspaper preferred_viewer: dashboards embed_style: background_color: "#f6f8fa" show_title: true title_color: "#3a4245" show_filters_bar: true tile_text_color: "#3a4245" text_tile_text_color: '' elements: - title: User Info name: User Info model: thelook explore: order_items type: looker_single_record fields: [users.id, users.email, users.name, users.traffic_source, users.created_month, users.age, users.gender, users.city, users.state, users.zip] filters: order_items.created_date: 99 years users.id: '' sorts: [users.zip] limit: 1 column_limit: 50 query_timezone: America/Los_Angeles show_null_labels: false show_view_names: false show_row_numbers: true hidden_fields: [] y_axes: [] listen: Email: users.email row: 0 col: 0 width: 7 height: 5 - title: Lifetime Orders name: Lifetime Orders model: thelook explore: order_items type: single_value fields: [order_items.order_count] filters: order_items.created_date: 99 years users.id: '' sorts: [order_items.order_count desc] limit: 500 show_null_labels: false user_access_filters: {} hidden_fields: [] y_axes: [] listen: Email: users.email row: 7 col: 0 width: 7 height: 2 - title: Total Items Returned name: Total Items Returned model: thelook explore: order_items type: single_value fields: [order_items.count] filters: order_items.returned_date: NOT NULL sorts: [order_items.count desc] limit: 500 show_null_labels: false font_size: medium text_color: black hidden_fields: [] y_axes: [] listen: Email: users.email row: 5 col: 0 width: 7 height: 2 - title: Items Order History name: Items Order History model: thelook explore: order_items type: looker_grid fields: [order_items.id, products.item_name, order_items.status, order_items.created_date, order_items.shipped_date, order_items.delivered_date, order_items.returned_date, distribution_centers.name] sorts: [order_items.created_date desc] limit: 500 show_view_names: true show_row_numbers: true hidden_fields: [] y_axes: [] series_types: {} listen: Email: users.email row: 9 col: 0 width: 16 height: 5 - title: Favorite Categories name: Favorite Categories model: thelook explore: order_items type: looker_pie fields: [products.category, order_items.count] filters: order_items.created_date: 99 years sorts: [order_items.count desc] limit: 500 query_timezone: America/Los_Angeles value_labels: legend label_type: labPer colors: ["#64518A", "#8D7FB9", "#EA8A2F", "#F2B431", "#2DA5DE", "#57BEBE", "#7F7977", "#B2A898", "#494C52"] color_application: collection_id: google palette_id: google-categorical-0 options: steps: 5 series_colors: {} show_view_names: true hidden_fields: [] y_axes: [] defaults_version: 1 listen: Email: users.email row: 9 col: 16 width: 8 height: 5 - title: User Location name: User Location model: thelook explore: order_items type: looker_geo_coordinates fields: [users.zip, users.count] sorts: [users.created_month desc, users.zip] limit: 1 query_timezone: America/Los_Angeles map: usa map_projection: '' show_view_names: true point_color: "#4285F4" point_radius: 10 font_size: medium text_color: "#49719a" map_plot_mode: points heatmap_gridlines: true map_tile_provider: positron map_position: custom map_scale_indicator: 'off' map_pannable: true map_zoomable: true map_marker_type: icon map_marker_icon_name: default map_marker_radius_mode: proportional_value map_marker_units: meters map_marker_proportional_scale_type: linear map_marker_color_mode: fixed show_legend: true quantize_map_value_colors: false map_latitude: 42.35930500076174 map_longitude: -71.02283477783203 map_zoom: 11 loading: false hidden_fields: [] y_axes: [] defaults_version: 1 listen: Email: users.email row: 0 col: 7 width: 17 height: 9 filters: - name: Email title: Email type: field_filter default_value: '' allow_multiple_values: true required: false model: thelook explore: order_items listens_to_filters: [] field: users.email
LookML
3
Honcharov12/pylookml
lookml/tests/files/the_look/dashboards/customer_lookup.dashboard.lookml
[ "MIT" ]
央视/null 电信/null 移动/null 网通/null 联通/null 铁通/null 百度/null 环球网/null 长城网/null 新浪/null 腾讯/null 搜搜/soso 谷歌/null 雅虎/null 微软/null 中关村/null 搜狐/null 网易/null 硅谷/null 维基百科/null 巨人网络/null 阿里巴巴/null 阿里旺旺/旺旺 旺旺/null 淘宝/null 赶集网/null 猪八戒网/null 唯你英语/null 拉手网/null 百贯福泰/null 汇划算/null 汇划算网/null 聚划算/null 天猫/null 天猫网/null 亚马逊/null 亚马逊网/null 拍拍/null 拍拍网/null 京东/null 京东商城/null 返利网/null 支付宝/null 支付宝担保/null 支付宝及时到帐/null 支付宝双工能/null 财付通/null 财付通及时到帐/null 网银在线/null 苏宁易购/null 苏宁电器/null 仙童公司/null 开源中国/null 畅想网络/null 快乐大本营/null 越策越开心/null 超级男声/null 超男/null 超级女声/超女 超女/超级女声 好声音/null 快乐男声/快男 快男/快乐男声 快乐女声/null 快女/null 德克士/null 肯德基/null 奥利奥/null 回头客/null 苏波尔/null 苏宁/null 苏宁电器/null 苏宁易购/null 中央银行/null 人民银行/null 工商银行/null 农业银行/null 中国银行/null 建设银行/null 交通银行/null 华夏银行/null 光大银行/null 招商银行/null 中信银行/null 兴业银行/null 民生银行/null 深圳发展银行/null 广东发展银行/null 上海浦东发展银行/null 恒丰银行/null 农业发展银行/null 国家进出口信贷银行/null 国家开发银行/null 北京商业银行/null 上海银行/null 济南商业银行/null 信用社/null 农村信用社/null 邮政局/null 邮政储蓄银行/null
Lex
0
abrookins/RediSearch
src/dep/cndict/lex/lex-company.lex
[ "Apache-2.0", "Ruby", "BSD-3-Clause", "MIT" ]
/****************************************************************************** * Copyright 2019 The Apollo 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. *****************************************************************************/ #include "modules/canbus/vehicle/ge3/protocol/scu_2_302.h" #include "gtest/gtest.h" namespace apollo { namespace canbus { namespace ge3 { class Scu2302Test : public ::testing::Test { public: virtual void SetUp() {} }; TEST_F(Scu2302Test, reset) { Scu2302 scu2302; int32_t length = 8; ChassisDetail chassis_detail; uint8_t bytes[8] = {0x4D, 0x47, 0xFF, 0xEE, 0xDD, 0xCC, 0xBB, 0xAA}; scu2302.Parse(bytes, length, &chassis_detail); EXPECT_DOUBLE_EQ(chassis_detail.ge3().scu_2_302().vin00(), 'M'); // 77 EXPECT_DOUBLE_EQ(chassis_detail.ge3().scu_2_302().vin01(), 71); EXPECT_DOUBLE_EQ(chassis_detail.ge3().scu_2_302().vin02(), 255); EXPECT_DOUBLE_EQ(chassis_detail.ge3().scu_2_302().vin03(), 238); EXPECT_DOUBLE_EQ(chassis_detail.ge3().scu_2_302().vin04(), 221); EXPECT_DOUBLE_EQ(chassis_detail.ge3().scu_2_302().vin05(), 204); EXPECT_DOUBLE_EQ(chassis_detail.ge3().scu_2_302().vin06(), 187); EXPECT_DOUBLE_EQ(chassis_detail.ge3().scu_2_302().vin07(), 170); } } // namespace ge3 } // namespace canbus } // namespace apollo
C++
4
seeclong/apollo
modules/canbus/vehicle/ge3/protocol/scu_2_302_test.cc
[ "Apache-2.0" ]
<body id="top" class="table-of-contents"> <main role="main"> <h1 class="class"><%= h @title %></h1> <% simple_files = @files.select { |f| f.text? } %> <% unless simple_files.empty? then %> <h2 id="pages">Pages</h2> <ul> <% simple_files.sort.each do |file| %> <li class="file"> <a href="<%= file.path %>"><%= h file.page_name %></a> <% # HACK table_of_contents should not exist on Document table = file.parse(file.comment).table_of_contents unless table.empty? then %> <ul> <% table.each do |heading| %> <li><a href="<%= file.path %>#<%= heading.aref %>"><%= heading.plain_html %></a> <% end %> </ul> <% end %> </li> <% end %> </ul> <% end %> <h2 id="classes">Classes and Modules</h2> <ul> <% @modsort.each do |klass| %> <li class="<%= klass.type %>"> <a href="<%= klass.path %>"><%= klass.full_name %></a> <% table = [] table.concat klass.parse(klass.comment_location).table_of_contents table.concat klass.section_contents unless table.empty? then %> <ul> <% table.each do |item| %> <li><a href="<%= klass.path %>#<%= item.aref %>"><%= item.plain_html %></a> <% end %> </ul> <% end %> </li> <% end %> </ul> <h2 id="methods">Methods</h2> <ul> <% @store.all_classes_and_modules.map do |mod| mod.method_list end.flatten.sort.each do |method| %> <li class="method"> <a href="<%= method.path %>"><%= h method.pretty_name %></a> &mdash; <span class="container"><%= method.parent.full_name %></span> <% end %> </ul> </main>
RHTML
3
Bhuvanesh1208/ruby2.6.1
lib/ruby/2.6.0/rdoc/generator/template/darkfish/table_of_contents.rhtml
[ "Ruby" ]
@counter-style identifier { system: cyclic; symbols: "\1F44D"; suffix: " "; } @counter-style identifier { system: cyclic; symbols: "\1F44D"; suffix: " "; } @counter-style identifier{ system: cyclic; symbols: "\1F44D"; suffix: " "; } @counter-style identifier { system: cyclic; symbols: "\1F44D"; suffix: " "; } @counter-style identifier { system : cyclic ; symbols : "\1F44D" ; suffix : " " ; } @counter-style identifier { system : cyclic ; symbols : "\1F44D" ; suffix : " " ; }
CSS
3
fuelingtheweb/prettier
tests/css_atrule/counter-style.css
[ "MIT" ]
#!/bin/sh PATH=/bin:/usr/bin TERM=screen [ -z "$TEST_TMUX" ] && TEST_TMUX=$(readlink -f ../tmux) TMUX="$TEST_TMUX -f/dev/null -Ltest" $TMUX kill-server 2>/dev/null $TMUX new -d -x40 -y10 \ "cat copy-mode-test.txt; printf '\e[9;15H'; cat" || exit 1 $TMUX set -g window-size manual || exit 1 # Enter copy mode and go to the first column of the first row. $TMUX set-window-option -g mode-keys vi $TMUX copy-mode $TMUX send-keys -X history-top $TMUX send-keys -X start-of-line # Test that `previous-word` and `previous-space` # do not go past the start of text. $TMUX send-keys -X begin-selection $TMUX send-keys -X previous-word $TMUX send-keys -X previous-space $TMUX send-keys -X previous-word $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "A" ] || exit 1 # Test that `next-word-end` skips single-letter words # and `previous-word` does not skip multi-letter words. $TMUX send-keys -X next-word-end $TMUX send-keys -X begin-selection $TMUX send-keys -X previous-word $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "line" ] || exit 1 # Test that `next-word-end` wraps around indented line breaks. $TMUX send-keys -X next-word $TMUX send-keys -X next-word $TMUX send-keys -X begin-selection $TMUX send-keys -X next-word-end $TMUX send-keys -X next-word-end $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "$(echo -e "words\n Indented")" ] || exit 1 # Test that `next-word` wraps around un-indented line breaks. $TMUX send-keys -X next-word $TMUX send-keys -X begin-selection $TMUX send-keys -X next-word $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "$(echo -e "line\nA")" ] || exit 1 # Test that `next-word-end` does not treat periods as letters. $TMUX send-keys -X next-word $TMUX send-keys -X begin-selection $TMUX send-keys -X next-word-end $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "line" ] || exit 1 # Test that `next-space-end` treats periods as letters. $TMUX send-keys -X previous-word $TMUX send-keys -X begin-selection $TMUX send-keys -X next-space-end $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "line..." ] || exit 1 # Test that `previous-space` and `next-space` treat periods as letters. $TMUX send-keys -X previous-space $TMUX send-keys -X begin-selection $TMUX send-keys -X next-space $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "$(echo -e "line...\n.")" ] || exit 1 # Test that `next-word` and `next-word-end` do not treat other symbols as letters. $TMUX send-keys -X begin-selection $TMUX send-keys -X next-word $TMUX send-keys -X next-word $TMUX send-keys -X next-word-end $TMUX send-keys -X next-word-end $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "... @nd then" ] || exit 1 # Test that `next-space` wraps around for indented symbols $TMUX send-keys -X next-space $TMUX send-keys -X begin-selection $TMUX send-keys -X next-space $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "$(echo -e "\$ym_bols[]{}\n ?")" ] || exit 1 # Test that `next-word-end` treats digits as letters $TMUX send-keys -X next-word-end $TMUX send-keys -X begin-selection $TMUX send-keys -X next-word-end $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "? 500xyz" ] || exit 1 # Test that `previous-word` treats digits as letters $TMUX send-keys -X begin-selection $TMUX send-keys -X previous-word $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "500xyz" ] || exit 1 # Test that `next-word`, `next-word-end`, # `next-space`, and `next-space-end` stop at the end of text. $TMUX send-keys -X begin-selection $TMUX send-keys -X next-word $TMUX send-keys -X next-word-end $TMUX send-keys -X next-word $TMUX send-keys -X next-space $TMUX send-keys -X next-space-end $TMUX send-keys -X copy-selection [ "$($TMUX show-buffer)" = "500xyz" ] || exit 1 $TMUX kill-server 2>/dev/null exit 0
Shell
4
listx/tmux
regress/copy-mode-test-vi.sh
[ "ISC" ]
#ifndef _OPENCV_FEATURES_H_ #define _OPENCV_FEATURES_H_ #include "imagestorage.h" #include <stdio.h> #define FEATURES "features" #define CV_SUM_OFFSETS( p0, p1, p2, p3, rect, step ) \ /* (x, y) */ \ (p0) = (rect).x + (step) * (rect).y; \ /* (x + w, y) */ \ (p1) = (rect).x + (rect).width + (step) * (rect).y; \ /* (x + w, y) */ \ (p2) = (rect).x + (step) * ((rect).y + (rect).height); \ /* (x + w, y + h) */ \ (p3) = (rect).x + (rect).width + (step) * ((rect).y + (rect).height); #define CV_TILTED_OFFSETS( p0, p1, p2, p3, rect, step ) \ /* (x, y) */ \ (p0) = (rect).x + (step) * (rect).y; \ /* (x - h, y + h) */ \ (p1) = (rect).x - (rect).height + (step) * ((rect).y + (rect).height);\ /* (x + w, y + w) */ \ (p2) = (rect).x + (rect).width + (step) * ((rect).y + (rect).width); \ /* (x + w - h, y + w + h) */ \ (p3) = (rect).x + (rect).width - (rect).height \ + (step) * ((rect).y + (rect).width + (rect).height); float calcNormFactor( const cv::Mat& sum, const cv::Mat& sqSum ); template<class Feature> void _writeFeatures( const std::vector<Feature> features, cv::FileStorage &fs, const cv::Mat& featureMap ) { fs << FEATURES << "["; const cv::Mat_<int>& featureMap_ = (const cv::Mat_<int>&)featureMap; for ( int fi = 0; fi < featureMap.cols; fi++ ) if ( featureMap_(0, fi) >= 0 ) { fs << "{"; features[fi].write( fs ); fs << "}"; } fs << "]"; } class CvParams { public: CvParams(); virtual ~CvParams() {} // from|to file virtual void write( cv::FileStorage &fs ) const = 0; virtual bool read( const cv::FileNode &node ) = 0; // from|to screen virtual void printDefaults() const; virtual void printAttrs() const; virtual bool scanAttr( const std::string prmName, const std::string val ); std::string name; }; class CvFeatureParams : public CvParams { public: enum { HAAR = 0, LBP = 1, HOG = 2 }; CvFeatureParams(); virtual void init( const CvFeatureParams& fp ); virtual void write( cv::FileStorage &fs ) const; virtual bool read( const cv::FileNode &node ); static cv::Ptr<CvFeatureParams> create( int featureType ); int maxCatCount; // 0 in case of numerical features int featSize; // 1 in case of simple features (HAAR, LBP) and N_BINS(9)*N_CELLS(4) in case of Dalal's HOG features }; class CvFeatureEvaluator { public: virtual ~CvFeatureEvaluator() {} virtual void init(const CvFeatureParams *_featureParams, int _maxSampleCount, cv::Size _winSize ); virtual void setImage(const cv::Mat& img, uchar clsLabel, int idx); virtual void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const = 0; virtual float operator()(int featureIdx, int sampleIdx) const = 0; static cv::Ptr<CvFeatureEvaluator> create(int type); int getNumFeatures() const { return numFeatures; } int getMaxCatCount() const { return featureParams->maxCatCount; } int getFeatureSize() const { return featureParams->featSize; } const cv::Mat& getCls() const { return cls; } float getCls(int si) const { return cls.at<float>(si, 0); } protected: virtual void generateFeatures() = 0; int npos, nneg; int numFeatures; cv::Size winSize; CvFeatureParams *featureParams; cv::Mat cls; }; #endif
C
5
thisisgopalmandal/opencv
apps/traincascade/traincascade_features.h
[ "BSD-3-Clause" ]
module JsonStuff { use IO; use List; use Map; enum FooType { GOOD,BAD,UGLY } record Foo { var name: string; var id: int; var isFoo: bool; var fooType: FooType; } record Bar { var name: string; var id: int; var isBar: bool; } record FooBar { var name: string; var id: int; var isFooBar : bool; var foo: Foo; var bar: Bar; proc init(name: string, id: int, isFooBar : bool, foo: Foo, bar: Bar) { this.name=name; this.id=id; this.isFooBar = isFooBar; this.foo = foo; this.bar = bar; } proc init() {} } record FooBarGroup { var name: string; var id: int; var isFooBar : bool; var foos; var bars; proc init(name: string, id: int, isFooBar : bool, foos, bars) { this.name=name; this.id=id; this.isFooBar = isFooBar; this.foos = foos; this.bars = bars; } } proc main() { var foo = new Foo('fooOne', 1, true, FooType.BAD); var fooTwo = new Foo('fooTwo', 2, false, FooType.GOOD); var bar = new Bar('barOne', 1, false); var barTwo = new Bar('barTwo', 2, true); var fb = new FooBar('fbOne', 2, false, foo, bar); var fbTwo = new FooBar('fbTwo', 2, false, foo, bar); try! writeln("Writing FooBar to JSON: %jt".format(fb)); var mem = try! openmem(); var writer = try! mem.writer().write("%jt".format(fb)); var reader = try! mem.reader(); var f = new FooBar(); try! reader.readf("%jt", f); try! writeln("Writing FooBar array to a JSON array %jt".format([fb,fbTwo])); try! writeln("Writing FooBar list to a JSON array %jt".format(new list([fb,fbTwo]))); var fbg = new FooBarGroup('groupOne', 1, true, new list([foo,fooTwo]),new list([bar,barTwo])); var fbgJson = try! "%jt".format(fbg); try! writeln("Writing FooBarGroup to JSON: %jt".format(fbg)); var fbm = new map(keyType=string,valType=FooBar); fbm.add('one', fb); fbm.add('two', fbTwo); try! writeln("Writing FooBar map to JSON: %jt".format(fbm)); } }
Chapel
4
jhh67/chapel
test/io/ferguson/issue-18156.chpl
[ "ECL-2.0", "Apache-2.0" ]
require "c/synchapi" class Mutex enum Protection Checked Reentrant Unchecked end def initialize(@protection : Protection = :checked) end def lock end def unlock end def synchronize lock begin yield ensure unlock end end end enum Signal KILL = 0 end
Crystal
4
jessedoyle/crystal
src/windows_stubs.cr
[ "Apache-2.0" ]
//This file is part of "GZE - GroundZero Engine" //The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0). //For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code. package { import GZ.Gfx.Object; import GZ.Sys.Interface.Window; import GZ.Gfx.Shape; import GZ.Gfx.Face; import GZ.Gfx.Root; import GZ.Gfx.Clip; import GZ.Base.Math.Math; import GZ.Gfx.Triangle; import GZ.File.RcImg; import GZ.Base.PtA; import GZ.Base.Pt; import GZ.Base.Poly4; import GZ.Sys.Interface.Context; import GZ.Gfx.Vector.HalfLine; /** * @author Maeiky */ public class Line extends Clip { public var nSize : Float; public var oPt1 : PtA; public var oPt2 : PtA; public var oHLine1 : HalfLine; public var oHLine2 : HalfLine; public var nAngle : Float; public var nDir : Float; public function Line( _oParent : Root, _oPt1 : PtA, _oPt2 : PtA, _nSize : Float = 1):Void { nSize = _nSize; Clip(_oParent, 0 , 0); oPt1 = _oPt1; oPt2 = _oPt2; nAngle = Math.fATan2(oPt2.vPt.nY - oPt1.vPt.nY, oPt2.vPt.nX - oPt1.vPt.nX); /* nDir = 1; if(oPt2.vPt.nX < oPt1.vPt.nX){ nDir = nDir *-1; } if(oPt2.vPt.nY < oPt1.vPt.nY){ nDir = nDir *-1; }*/ /* if(nAngle > 3.1416*2.0) { nAngle -= 3.1416*2.0; } if(nAngle < 0) { nAngle += 3.1416*2.0; } */ oHLine1 = new HalfLine(this, oPt1, oPt2, nSize, nAngle); oHLine2 = new HalfLine(this, oPt1, oPt2, nSize * -1, nAngle); } public function fSetCapL_Pos(_oLine : Line):Void { oHLine1.fSetCapL_Pos( _oLine.oHLine1); oHLine2.fSetCapL_Pos( _oLine.oHLine2); } public function fSetCapL(_nAngle : Float):Void { oHLine1.fSetCapL( nAngle + Math.nR90 - _nAngle , nSize); oHLine2.fSetCapL( nAngle + Math.nR90 - _nAngle, nSize * -1); } public function fSetCapR(_nAngle : Float):Void{ oHLine1.fSetCapR(nAngle - _nAngle , nSize); oHLine2.fSetCapR(nAngle - _nAngle , nSize * -1); } override public function fUpdateChildToParent():Void { //fApplyPos(); } } }
Redcode
4
VLiance/GZE
src/Lib_GZ/Gfx/Vector/Line.cw
[ "Apache-2.0" ]
#!/usr/bin/env perl6 v6; say "Hello World";
Perl6
2
wenzzai/hello-world
p/Perl6.p6
[ "MIT" ]
/mob/verb/corner_debug() src << "Coordinates: [x], [y]" var/turf/T = get_turf(src) for(var/datum/lighting_corner/L in T.corners) src << "Lighting corner \ref[L]: dir: [dir2text(LIGHTING_CORNER_DIAGONAL[T.corners.Find(L)])], x: [L.x], y: [L.y], lum_r: [L.lum_r], lum_g: [L.lum_g], lum_b: [L.lum_b], [L.active ? "ACTIVE" : "INACTIVE"]" /mob/verb/spawn_corner() var/turf/T = get_turf(src) for(var/i = 1 to 4) if(T.corners[i]) // Already have a corner on this direction. continue T.corners[i] = new/datum/lighting_corner(T, LIGHTING_CORNER_DIAGONAL[i]) /proc/dir2text(var/dir) ASSERT(dir) switch(dir) if(NORTH) return "NORTH" if(SOUTH) return "SOUTH" if(EAST) return "EAST" if(WEST) return "WEST" if(NORTHEAST) return "NORTHEAST" if(SOUTHEAST) return "SOUTHEAST" if(SOUTHWEST) return "SOUTHWEST" if(NORTHWEST) return "NORTHWEST"
DM
4
PJB3005/GoonLight-Heist
ExampleProject/testing_verbs.dm
[ "MIT" ]
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main //#include <errno.h> //#include <string.h> import "C" // #include // void cfunc() {} // uses cgo_topofstack import ( "reflect" "strings" "testplugin/common" ) func init() { _ = strings.NewReplacer() // trigger stack unwind, Issue #18190. C.strerror(C.EIO) // uses cgo_topofstack common.X = 2 } type sameNameReusedInPlugins struct { X string } type sameNameHolder struct { F *sameNameReusedInPlugins } func UnexportedNameReuse() { h := sameNameHolder{} v := reflect.ValueOf(&h).Elem().Field(0) newval := reflect.New(v.Type().Elem()) v.Set(newval) } func main() { panic("plugin1.main called") }
Go
3
SSSDNSY/go
misc/cgo/testplugin/testdata/plugin2/plugin2.go
[ "BSD-3-Clause" ]
use v6; # Euler 8 # # This is based on the solution in # git/euler_bench/perl6/008/01.pl # say qq/ Euler 8: Find the greatest product of five consecutive digits in the 1000-digit number. /; my $e8 = "316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450"; say [max] (0..$e8.chars-1).map({[*] $e8.substr($^a,5).comb});
Perl6
4
Wikunia/hakank
perl6/euler8.p6
[ "MIT" ]
<?xml version='1.0' encoding='UTF-8'?> <Project Type="Project" LVVersion="10008000"> <Property Name="SMProvider.SMVersion" Type="Int">201310</Property> <Item Name="My Computer" Type="My Computer"> <Property Name="IOScan.Faults" Type="Str"></Property> <Property Name="IOScan.NetVarPeriod" Type="UInt">100</Property> <Property Name="IOScan.NetWatchdogEnabled" Type="Bool">false</Property> <Property Name="IOScan.Period" Type="UInt">10000</Property> <Property Name="IOScan.PowerupMode" Type="UInt">0</Property> <Property Name="IOScan.Priority" Type="UInt">9</Property> <Property Name="IOScan.ReportModeConflict" Type="Bool">true</Property> <Property Name="IOScan.StartEngineOnDeploy" Type="Bool">false</Property> <Property Name="server.app.propertiesEnabled" Type="Bool">true</Property> <Property Name="server.control.propertiesEnabled" Type="Bool">true</Property> <Property Name="server.tcp.enabled" Type="Bool">false</Property> <Property Name="server.tcp.port" Type="Int">0</Property> <Property Name="server.tcp.serviceName" Type="Str">My Computer/VI Server</Property> <Property Name="server.tcp.serviceName.default" Type="Str">My Computer/VI Server</Property> <Property Name="server.vi.callsEnabled" Type="Bool">true</Property> <Property Name="server.vi.propertiesEnabled" Type="Bool">true</Property> <Property Name="specify.custom.address" Type="Bool">false</Property> <Item Name="Jenkins-Autobuild-Dev" Type="Folder"> <Item Name="Support VIs" Type="Folder"> <Item Name="build tools" Type="Folder"> <Item Name="BUILD_install and upload core.vi" Type="VI" URL="../Support VIs/build tools/BUILD_install and upload core.vi"/> <Item Name="BUILD_install for dependencies core.vi" Type="VI" URL="../Support VIs/build tools/BUILD_install for dependencies core.vi"/> <Item Name="BUILD_read full file.vi" Type="VI" URL="../Support VIs/build tools/BUILD_read full file.vi"/> <Item Name="BUILD_read vip token.vi" Type="VI" URL="../Support VIs/build tools/BUILD_read vip token.vi"/> <Item Name="BUILD_uninstall core.vi" Type="VI" URL="../Support VIs/build tools/BUILD_uninstall core.vi"/> <Item Name="find most recent vip build.vi" Type="VI" URL="../Support VIs/build tools/find most recent vip build.vi"/> <Item Name="get VIPM version string.vi" Type="VI" URL="../Support VIs/build tools/get VIPM version string.vi"/> <Item Name="write to build log.vi" Type="VI" URL="../Support VIs/build tools/write to build log.vi"/> </Item> <Item Name="Build Action.vi" Type="VI" URL="../Support VIs/Build Action.vi"/> <Item Name="Build Log Handshake.vi" Type="VI" URL="../Support VIs/Build Log Handshake.vi"/> <Item Name="Build VIP.vi" Type="VI" URL="../Support VIs/Build VIP.vi"/> <Item Name="Build VIPB.vi" Type="VI" URL="../Support VIs/Build VIPB.vi"/> <Item Name="Call Set Build Exclusions.vi" Type="VI" URL="../Support VIs/Call Set Build Exclusions.vi"/> <Item Name="Copy Build to Shared Location.vi" Type="VI" URL="../Support VIs/Copy Build to Shared Location.vi"/> <Item Name="Copy Config to All Projects.vi" Type="VI" URL="../Support VIs/Copy Config to All Projects.vi"/> <Item Name="Delete Empty File.vi" Type="VI" URL="../Support VIs/Delete Empty File.vi"/> <Item Name="Merge Directories__ogtk_withSubDirFilter.vi" Type="VI" URL="../Support VIs/Merge Directories__ogtk_withSubDirFilter.vi"/> <Item Name="Parse Autobuild CSV Line.vi" Type="VI" URL="../Support VIs/Parse Autobuild CSV Line.vi"/> <Item Name="Parse autobuild spec.vi" Type="VI" URL="../Support VIs/Parse autobuild spec.vi"/> <Item Name="Run VI.vi" Type="VI" URL="../Support VIs/Run VI.vi"/> <Item Name="Run VIA.vi" Type="VI" URL="../Support VIs/Run VIA.vi"/> <Item Name="Set Build Exclusions.vi" Type="VI" URL="../Support VIs/Set Build Exclusions.vi"/> <Item Name="Validate Build Spec.vi" Type="VI" URL="../Support VIs/Validate Build Spec.vi"/> </Item> <Item Name="Types" Type="Folder"> <Item Name="Job Type.ctl" Type="VI" URL="../Types/Job Type.ctl"/> <Item Name="Task Info.ctl" Type="VI" URL="../Types/Task Info.ctl"/> </Item> <Item Name="Build.vi" Type="VI" URL="../Build.vi"/> <Item Name="Clean Builds.vi" Type="VI" URL="../Clean Builds.vi"/> <Item Name="use this to edit build vi.vi" Type="VI" URL="../use this to edit build vi.vi"/> </Item> <Item Name="Dependencies" Type="Dependencies"> <Item Name="user.lib" Type="Folder"> <Item Name="Build Error Cluster__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/error/error.llb/Build Error Cluster__ogtk.vi"/> <Item Name="Build Path - File Names and Paths Arrays - path__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Build Path - File Names and Paths Arrays - path__ogtk.vi"/> <Item Name="Build Path - File Names and Paths Arrays__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Build Path - File Names and Paths Arrays__ogtk.vi"/> <Item Name="Build Path - File Names Array - path__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Build Path - File Names Array - path__ogtk.vi"/> <Item Name="Build Path - File Names Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Build Path - File Names Array__ogtk.vi"/> <Item Name="Build Path - Traditional - path__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Build Path - Traditional - path__ogtk.vi"/> <Item Name="Build Path - Traditional__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Build Path - Traditional__ogtk.vi"/> <Item Name="Build Path__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Build Path__ogtk.vi"/> <Item Name="Compare Two Paths - Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Compare Two Paths - Array__ogtk.vi"/> <Item Name="Compare Two Paths - Path1 Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Compare Two Paths - Path1 Array__ogtk.vi"/> <Item Name="Compare Two Paths - Path2 Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Compare Two Paths - Path2 Array__ogtk.vi"/> <Item Name="Compare Two Paths - Scalar__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Compare Two Paths - Scalar__ogtk.vi"/> <Item Name="Compare Two Paths__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Compare Two Paths__ogtk.vi"/> <Item Name="Create Dir if Non-Existant__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Create Dir if Non-Existant__ogtk.vi"/> <Item Name="Current VIs Parent Directory__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Current VIs Parent Directory__ogtk.vi"/> <Item Name="Current VIs Parents Ref__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/appcontrol/appcontrol.llb/Current VIs Parents Ref__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (Boolean)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (Boolean)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (CDB)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (CSG)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (CXT)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (DBL)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (EXT)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (I8)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (I16)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (I32)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (I64)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (LVObject)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (LVObject)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (Path)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (SGL)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (String)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (U8)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (U16)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (U32)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (U64)__ogtk.vi"/> <Item Name="Delete Elements from 1D Array (Variant)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 1D Array (Variant)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (Boolean)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (Boolean)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (CDB)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (CSG)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (CXT)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (DBL)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (EXT)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (I8)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (I16)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (I32)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (I64)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (LVObject)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (LVObject)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (Path)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (SGL)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (String)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (U8)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (U16)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (U32)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (U64)__ogtk.vi"/> <Item Name="Delete Elements from 2D Array (Variant)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from 2D Array (Variant)__ogtk.vi"/> <Item Name="Delete Elements from Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Delete Elements from Array__ogtk.vi"/> <Item Name="Delete Recursive__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Delete Recursive__ogtk.vi"/> <Item Name="File Exists - Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/File Exists - Array__ogtk.vi"/> <Item Name="File Exists - Scalar__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/File Exists - Scalar__ogtk.vi"/> <Item Name="File Exists__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/File Exists__ogtk.vi"/> <Item Name="Filter 1D Array (Boolean)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (Boolean)__ogtk.vi"/> <Item Name="Filter 1D Array (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (CDB)__ogtk.vi"/> <Item Name="Filter 1D Array (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (CSG)__ogtk.vi"/> <Item Name="Filter 1D Array (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (CXT)__ogtk.vi"/> <Item Name="Filter 1D Array (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (DBL)__ogtk.vi"/> <Item Name="Filter 1D Array (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (EXT)__ogtk.vi"/> <Item Name="Filter 1D Array (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (I8)__ogtk.vi"/> <Item Name="Filter 1D Array (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (I16)__ogtk.vi"/> <Item Name="Filter 1D Array (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (I32)__ogtk.vi"/> <Item Name="Filter 1D Array (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (I64)__ogtk.vi"/> <Item Name="Filter 1D Array (LVObject)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (LVObject)__ogtk.vi"/> <Item Name="Filter 1D Array (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (Path)__ogtk.vi"/> <Item Name="Filter 1D Array (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (SGL)__ogtk.vi"/> <Item Name="Filter 1D Array (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (String)__ogtk.vi"/> <Item Name="Filter 1D Array (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (U8)__ogtk.vi"/> <Item Name="Filter 1D Array (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (U16)__ogtk.vi"/> <Item Name="Filter 1D Array (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (U32)__ogtk.vi"/> <Item Name="Filter 1D Array (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (U64)__ogtk.vi"/> <Item Name="Filter 1D Array (Variant)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array (Variant)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (Boolean)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (Boolean)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (CDB)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (CSG)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (CXT)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (DBL)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (EXT)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (I8)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (I16)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (I32)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (I64)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (LVObject)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (LVObject)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (Path)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (SGL)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (String)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (U8)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (U16)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (U32)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (U64)__ogtk.vi"/> <Item Name="Filter 1D Array with Scalar (Variant)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array with Scalar (Variant)__ogtk.vi"/> <Item Name="Filter 1D Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Filter 1D Array__ogtk.vi"/> <Item Name="Fit VI window to Largest Dec__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/appcontrol/appcontrol.llb/Fit VI window to Largest Dec__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (Boolean)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (Boolean)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (CDB)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (CSG)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (CXT)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (DBL)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (EXT)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (I8)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (I16)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (I32)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (I64)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (LVObject)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (LVObject)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (Path)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (SGL)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (String)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (U8)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (U16)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (U32)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (U64)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array (Variant)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array (Variant)__ogtk.vi"/> <Item Name="Remove Duplicates from 1D Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Remove Duplicates from 1D Array__ogtk.vi"/> <Item Name="Reorder 1D Array (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array (CDB)__ogtk.vi"/> <Item Name="Reorder 1D Array (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array (CSG)__ogtk.vi"/> <Item Name="Reorder 1D Array (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array (CXT)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (Boolean)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (Boolean)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (CDB)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (CSG)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (CXT)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (DBL)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (EXT)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (I8)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (I16)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (I32)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (I64)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (LVObject)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (LVObject)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (Path)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (SGL)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (String)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (U8)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (U16)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (U32)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (U64)__ogtk.vi"/> <Item Name="Reorder 1D Array2 (Variant)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 1D Array2 (Variant)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (Boolean)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (Boolean)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (CDB)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (CSG)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (CXT)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (DBL)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (EXT)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (I8)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (I16)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (I32)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (I64)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (LVObject)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (LVObject)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (Path)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (SGL)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (String)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (U8)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (U16)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (U32)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (U64)__ogtk.vi"/> <Item Name="Reorder 2D Array2 (Variant)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder 2D Array2 (Variant)__ogtk.vi"/> <Item Name="Reorder Array2__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Reorder Array2__ogtk.vi"/> <Item Name="Search 1D Array (Boolean)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (Boolean)__ogtk.vi"/> <Item Name="Search 1D Array (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (CDB)__ogtk.vi"/> <Item Name="Search 1D Array (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (CSG)__ogtk.vi"/> <Item Name="Search 1D Array (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (CXT)__ogtk.vi"/> <Item Name="Search 1D Array (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (DBL)__ogtk.vi"/> <Item Name="Search 1D Array (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (EXT)__ogtk.vi"/> <Item Name="Search 1D Array (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (I8)__ogtk.vi"/> <Item Name="Search 1D Array (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (I16)__ogtk.vi"/> <Item Name="Search 1D Array (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (I32)__ogtk.vi"/> <Item Name="Search 1D Array (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (I64)__ogtk.vi"/> <Item Name="Search 1D Array (LVObject)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (LVObject)__ogtk.vi"/> <Item Name="Search 1D Array (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (Path)__ogtk.vi"/> <Item Name="Search 1D Array (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (SGL)__ogtk.vi"/> <Item Name="Search 1D Array (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (String)__ogtk.vi"/> <Item Name="Search 1D Array (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (U8)__ogtk.vi"/> <Item Name="Search 1D Array (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (U16)__ogtk.vi"/> <Item Name="Search 1D Array (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (U32)__ogtk.vi"/> <Item Name="Search 1D Array (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (U64)__ogtk.vi"/> <Item Name="Search 1D Array (Variant)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search 1D Array (Variant)__ogtk.vi"/> <Item Name="Search Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Search Array__ogtk.vi"/> <Item Name="Sort 1D Array (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (CDB)__ogtk.vi"/> <Item Name="Sort 1D Array (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (CSG)__ogtk.vi"/> <Item Name="Sort 1D Array (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (CXT)__ogtk.vi"/> <Item Name="Sort 1D Array (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (DBL)__ogtk.vi"/> <Item Name="Sort 1D Array (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (EXT)__ogtk.vi"/> <Item Name="Sort 1D Array (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (I8)__ogtk.vi"/> <Item Name="Sort 1D Array (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (I16)__ogtk.vi"/> <Item Name="Sort 1D Array (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (I32)__ogtk.vi"/> <Item Name="Sort 1D Array (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (I64)__ogtk.vi"/> <Item Name="Sort 1D Array (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (Path)__ogtk.vi"/> <Item Name="Sort 1D Array (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (SGL)__ogtk.vi"/> <Item Name="Sort 1D Array (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (String)__ogtk.vi"/> <Item Name="Sort 1D Array (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (U8)__ogtk.vi"/> <Item Name="Sort 1D Array (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (U16)__ogtk.vi"/> <Item Name="Sort 1D Array (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (U32)__ogtk.vi"/> <Item Name="Sort 1D Array (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 1D Array (U64)__ogtk.vi"/> <Item Name="Sort 2D Array (CDB)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (CDB)__ogtk.vi"/> <Item Name="Sort 2D Array (CSG)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (CSG)__ogtk.vi"/> <Item Name="Sort 2D Array (CXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (CXT)__ogtk.vi"/> <Item Name="Sort 2D Array (DBL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (DBL)__ogtk.vi"/> <Item Name="Sort 2D Array (EXT)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (EXT)__ogtk.vi"/> <Item Name="Sort 2D Array (I8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (I8)__ogtk.vi"/> <Item Name="Sort 2D Array (I16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (I16)__ogtk.vi"/> <Item Name="Sort 2D Array (I32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (I32)__ogtk.vi"/> <Item Name="Sort 2D Array (I64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (I64)__ogtk.vi"/> <Item Name="Sort 2D Array (Path)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (Path)__ogtk.vi"/> <Item Name="Sort 2D Array (SGL)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (SGL)__ogtk.vi"/> <Item Name="Sort 2D Array (String)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (String)__ogtk.vi"/> <Item Name="Sort 2D Array (U8)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (U8)__ogtk.vi"/> <Item Name="Sort 2D Array (U16)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (U16)__ogtk.vi"/> <Item Name="Sort 2D Array (U32)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (U32)__ogtk.vi"/> <Item Name="Sort 2D Array (U64)__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort 2D Array (U64)__ogtk.vi"/> <Item Name="Sort Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/array/array.llb/Sort Array__ogtk.vi"/> <Item Name="Strip Path - Arrays__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Strip Path - Arrays__ogtk.vi"/> <Item Name="Strip Path - Traditional__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Strip Path - Traditional__ogtk.vi"/> <Item Name="Strip Path__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Strip Path__ogtk.vi"/> <Item Name="Valid Path - Array__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Valid Path - Array__ogtk.vi"/> <Item Name="Valid Path - Traditional__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Valid Path - Traditional__ogtk.vi"/> <Item Name="Valid Path__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/file/file.llb/Valid Path__ogtk.vi"/> </Item> <Item Name="vi.lib" Type="Folder"> <Item Name="1D Array to String__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/1D Array to String__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="AB Update Dest Dir.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB Update Dest Dir.vi"/> <Item Name="AB_Add_Destination_CORE.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Add_Destination_CORE.vi"/> <Item Name="AB_API Add Destination.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Add Destination.vi"/> <Item Name="AB_API Add Source Item To Array.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Add Source Item To Array.vi"/> <Item Name="AB_API Add Source Item.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Add Source Item.vi"/> <Item Name="AB_API Apply Setting Type.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Apply Setting Type.ctl"/> <Item Name="AB_API Apply Setting.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Apply Setting.vi"/> <Item Name="AB_API Build Object Type.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Build Object Type.ctl"/> <Item Name="AB_API Build.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Build.vi"/> <Item Name="AB_API Can Add.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Can Add.vi"/> <Item Name="AB_API Create Build Object.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Create Build Object.vi"/> <Item Name="AB_API Create Library For Destination.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Create Library For Destination.vi"/> <Item Name="AB_API Create ProgressBar Events.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Create ProgressBar Events.vi"/> <Item Name="AB_API Default Destinations.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Default Destinations.ctl"/> <Item Name="AB_API Deploy.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Deploy.vi"/> <Item Name="AB_API Destination Type.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Destination Type.ctl"/> <Item Name="AB_API Do Two Step Build.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Do Two Step Build.vi"/> <Item Name="AB_API Generate Error Cluster.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Generate Error Cluster.vi"/> <Item Name="AB_API Get Build Object.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Get Build Object.vi"/> <Item Name="AB_API Get Destination Name.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Get Destination Name.vi"/> <Item Name="AB_API Get Primary Destination Path.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Get Primary Destination Path.vi"/> <Item Name="AB_API Is Source Item Present.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Is Source Item Present.vi"/> <Item Name="AB_API Path Exclusions.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Path Exclusions.ctl"/> <Item Name="AB_API Prepare Two Step Build.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Prepare Two Step Build.vi"/> <Item Name="AB_API Primary Exclusions.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Primary Exclusions.ctl"/> <Item Name="AB_API Rename Source.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Rename Source.vi"/> <Item Name="AB_API Set Check For Broken VIs.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Set Check For Broken VIs.vi"/> <Item Name="AB_API Set Destination Path.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Set Destination Path.vi"/> <Item Name="AB_API Set Destination.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Set Destination.vi"/> <Item Name="AB_API Set Inclusion.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Set Inclusion.vi"/> <Item Name="AB_API Set Password.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Set Password.vi"/> <Item Name="AB_API Set Save Settings.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Set Save Settings.vi"/> <Item Name="AB_API Set Verbose Linker Errors.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_API/common/AB_API Set Verbose Linker Errors.vi"/> <Item Name="AB_Build.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Build/AB_Build.ctl"/> <Item Name="AB_Build.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Build/AB_Build.lvclass"/> <Item Name="AB_CheckApplicationDestinations.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_CheckApplicationDestinations.vi"/> <Item Name="AB_Convert_To_Relative_Path.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Convert_To_Relative_Path.vi"/> <Item Name="AB_CopyFiles_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_CopyFiles_Data.ctl"/> <Item Name="AB_DepSourceDist.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/DepSourceDist/AB_DepSourceDist.lvclass"/> <Item Name="AB_Dest_App.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Destination/Dest_Application/AB_Dest_App.lvclass"/> <Item Name="AB_Dest_LegacyApp.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Destination/Dest_LegacyApplication/AB_Dest_LegacyApp.lvclass"/> <Item Name="AB_Dest_LLB.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Destination/Dest_LLB/AB_Dest_LLB.lvclass"/> <Item Name="AB_Dest_SubDir.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Destination/Dest_SubDirectory/AB_Dest_SubDir.lvclass"/> <Item Name="AB_Destination.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Destination/AB_Destination.ctl"/> <Item Name="AB_Destination.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Destination/AB_Destination.lvclass"/> <Item Name="AB_Destination_Type.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Destination_Type.ctl"/> <Item Name="AB_Engine_AddVisitedVI.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_AddVisitedVI.vi"/> <Item Name="AB_Engine_Call_MathScript.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Call_MathScript.vi"/> <Item Name="AB_Engine_Check_Excluded_Directories.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Check_Excluded_Directories.vi"/> <Item Name="AB_Engine_Check_for_nonVI_Link.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Check_for_nonVI_Link.vi"/> <Item Name="AB_Engine_Check_For_Stress_Chars.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Check_For_Stress_Chars.vi"/> <Item Name="AB_Engine_Compute_Toplevel_Implied_Links.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Compute_Toplevel_Implied_Links.vi"/> <Item Name="AB_Engine_Consolidated_Save_Item_Info.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Consolidated_Save_Item_Info.ctl"/> <Item Name="AB_Engine_Create_Preserve_Hierarchy_Destination.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Create_Preserve_Hierarchy_Destination.vi"/> <Item Name="AB_Engine_CreateMissingVIsTree.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_CreateMissingVIsTree.vi"/> <Item Name="AB_Engine_CreateVisitedVIsStructures.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_CreateVisitedVIsStructures.vi"/> <Item Name="AB_Engine_Disconnect_Typedefs.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Disconnect_Typedefs.vi"/> <Item Name="AB_Engine_Find_Unreferenced_Library_Members.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Find_Unreferenced_Library_Members.vi"/> <Item Name="AB_Engine_FindVisitedVI.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_FindVisitedVI.vi"/> <Item Name="AB_Engine_Get_UD_Refnum_Files.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Get_UD_Refnum_Files.vi"/> <Item Name="AB_Engine_Get_User_Build_Data.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Get_User_Build_Data.vi"/> <Item Name="AB_Engine_HandleLinkerErrorsVerbose.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_HandleLinkerErrorsVerbose.vi"/> <Item Name="AB_Engine_HandleLinkErrors.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_HandleLinkErrors.vi"/> <Item Name="AB_Engine_Is_Instance_VI.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Is_Instance_VI.vi"/> <Item Name="AB_Engine_Is_Private_Data_Control.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Is_Private_Data_Control.vi"/> <Item Name="AB_Engine_Linker_Inclusion.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Linker_Inclusion.ctl"/> <Item Name="AB_Engine_LinkerErrorVerboseShouldAnalyze.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_LinkerErrorVerboseShouldAnalyze.vi"/> <Item Name="AB_Engine_Lock_or_Unlock_Instantiations.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Lock_or_Unlock_Instantiations.vi"/> <Item Name="AB_Engine_New_File_Flags.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_New_File_Flags.ctl"/> <Item Name="AB_Engine_New_File_Info.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_New_File_Info.ctl"/> <Item Name="AB_Engine_PathNode.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_PathNode.ctl"/> <Item Name="AB_Engine_Should_Assume_Refee_Links.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Should_Assume_Refee_Links.vi"/> <Item Name="AB_Engine_Update_Source_from_Linker.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/Engine/AB_Engine_Update_Source_from_Linker.vi"/> <Item Name="AB_Exclusion_Option.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Exclusion_Option.ctl"/> <Item Name="AB_ExportedVI_Define_VI_Prototype.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/ExportedVI/AB_ExportedVI_Define_VI_Prototype.vi"/> <Item Name="AB_Generate_Error_Cluster.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Generate_Error_Cluster.vi"/> <Item Name="AB_Get Current VI Settings.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Get Current VI Settings.vi"/> <Item Name="AB_Get_Default_LVLang.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Get_Default_LVLang.vi"/> <Item Name="AB_Get_VI_Scope.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Get_VI_Scope.vi"/> <Item Name="AB_GetNextLabel.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_GetNextLabel.vi"/> <Item Name="AB_InteropAssembly_DistVI_Proto_Info.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_InteropAssembly_DistVI_Proto_Info.ctl"/> <Item Name="AB_Is_Destination_Present.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Is_Destination_Present.vi"/> <Item Name="AB_LabelType.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_LabelType.ctl"/> <Item Name="AB_Load_Class.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/AB_Load_Class.vi"/> <Item Name="AB_Log_Alloc_Memory.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Alloc_Memory.vi"/> <Item Name="AB_Log_Build_Preview.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Build_Preview.vi"/> <Item Name="AB_Log_ClassData.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_ClassData.vi"/> <Item Name="AB_Log_Close.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Close.vi"/> <Item Name="AB_Log_Copy_File_VI_State.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Copy_File_VI_State.vi"/> <Item Name="AB_Log_Copy_Source_Item.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Copy_Source_Item.vi"/> <Item Name="AB_Log_Destinations.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Destinations.vi"/> <Item Name="AB_Log_Enable_Logging.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Enable_Logging.vi"/> <Item Name="AB_Log_File_Action.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_File_Action.ctl"/> <Item Name="AB_Log_FileIO.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_FileIO.vi"/> <Item Name="AB_Log_Linker_Item.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Linker_Item.vi"/> <Item Name="AB_Log_Linker_Item_No_Class.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Linker_Item_No_Class.vi"/> <Item Name="AB_Log_LinkerInfo.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_LinkerInfo.vi"/> <Item Name="AB_Log_NewBuild.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_NewBuild.vi"/> <Item Name="AB_Log_Open.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Open.vi"/> <Item Name="AB_Log_Save_Action.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Save_Action.ctl"/> <Item Name="AB_Log_SaveClose_Source_Item.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_SaveClose_Source_Item.vi"/> <Item Name="AB_Log_Write_Linker.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_Log_Write_Linker.vi"/> <Item Name="AB_Long_Path_Error.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Long_Path_Error.vi"/> <Item Name="AB_Parent_Applies.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Parent_Applies.ctl"/> <Item Name="AB_Password_Setting.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Password_Setting.ctl"/> <Item Name="AB_ProgressBar_Fire_New_Item.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_ProgressBar_Fire_New_Item.vi"/> <Item Name="AB_ProgressBar_Fire_New_Job.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_ProgressBar_Fire_New_Job.vi"/> <Item Name="AB_Relative_Path_Type.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Relative_Path_Type.ctl"/> <Item Name="AB_Rename_Source_CORE.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Rename_Source_CORE.vi"/> <Item Name="AB_RESTful_Configuration.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/RESTfulVI/Configure_RESTfulVI/AB_RESTful_Configuration.ctl"/> <Item Name="AB_RESTful_OutputFormat.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/RESTfulVI/Configure_RESTfulVI/AB_RESTful_OutputFormat.ctl"/> <Item Name="AB_RESTful_OutputType.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/RESTfulVI/Configure_RESTfulVI/AB_RESTful_OutputType.ctl"/> <Item Name="AB_RESTful_VIType.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/RESTfulVI/Configure_RESTfulVI/AB_RESTful_VIType.ctl"/> <Item Name="AB_RESTfulVI_Configuration_Dialog.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/RESTfulVI/Configure_RESTfulVI/AB_RESTfulVI_Configuration_Dialog.vi"/> <Item Name="AB_RW_Convert_Path_Tags.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Convert_Path_Tags.vi"/> <Item Name="AB_RW_Convert_Path_to_Absolute.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Convert_Path_to_Absolute.vi"/> <Item Name="AB_RW_Convert_Path_to_Relative.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Convert_Path_to_Relative.vi"/> <Item Name="AB_RW_Project_Build_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Build_Data.ctl"/> <Item Name="AB_RW_Project_Build_Info.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Build_Info.vi"/> <Item Name="AB_RW_Project_Destination_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Destination_Data.ctl"/> <Item Name="AB_RW_Project_DestinationItems.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_DestinationItems.vi"/> <Item Name="AB_RW_Project_Destinations.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Destinations.vi"/> <Item Name="AB_RW_Project_PropBag_Action.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_PropBag_Action.ctl"/> <Item Name="AB_RW_Project_PropBag_ArrayAction.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_PropBag_ArrayAction.ctl"/> <Item Name="AB_RW_Project_Source.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source.vi"/> <Item Name="AB_RW_Project_Source_Container.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_Container.vi"/> <Item Name="AB_RW_Project_Source_Container_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_Container_Data.ctl"/> <Item Name="AB_RW_Project_Source_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_Data.ctl"/> <Item Name="AB_RW_Project_Source_ExportedAssemblyVI.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_ExportedAssemblyVI.vi"/> <Item Name="AB_RW_Project_Source_ExportedAssemblyVI_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_ExportedAssemblyVI_Data.ctl"/> <Item Name="AB_RW_Project_Source_ExportedVI.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_ExportedVI.vi"/> <Item Name="AB_RW_Project_Source_ExportedVI_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_ExportedVI_Data.ctl"/> <Item Name="AB_RW_Project_Source_Library.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_Library.vi"/> <Item Name="AB_RW_Project_Source_Library_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_Library_Data.ctl"/> <Item Name="AB_RW_Project_Source_RESTfulVI.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_RESTfulVI.vi"/> <Item Name="AB_RW_Project_Source_RESTfulVI_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_RESTfulVI_Data.ctl"/> <Item Name="AB_RW_Project_Source_VI.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_VI.vi"/> <Item Name="AB_RW_Project_Source_VI_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_Source_VI_Data.ctl"/> <Item Name="AB_RW_Project_SourceItems.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_SourceItems.vi"/> <Item Name="AB_RW_Project_TargetFile_Data.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_TargetFile_Data.ctl"/> <Item Name="AB_RW_Project_TargetFile_Info.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Project_TargetFile_Info.vi"/> <Item Name="AB_RW_Source_Decpwd.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Source_Decpwd.vi"/> <Item Name="AB_RW_Source_Encpwd.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/RW_Project/AB_RW_Source_Encpwd.vi"/> <Item Name="AB_Set_Destination_CORE.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_Destination_CORE.vi"/> <Item Name="AB_Set_Destination_Path_CORE.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_Destination_Path_CORE.vi"/> <Item Name="AB_Set_Destination_Type.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_Destination_Type.vi"/> <Item Name="AB_Set_Exclusions.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_Exclusions.vi"/> <Item Name="AB_Set_Library_Name_For_Destination.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_Library_Name_For_Destination.vi"/> <Item Name="AB_Set_LLB_Caching.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_LLB_Caching.vi"/> <Item Name="AB_Set_Password_CORE.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_Password_CORE.vi"/> <Item Name="AB_Set_Path_Exclusions.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_Path_Exclusions.vi"/> <Item Name="AB_Set_Preserve_Hierarchy.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_Preserve_Hierarchy.vi"/> <Item Name="AB_Set_Source_Property.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Set_Source_Property.vi"/> <Item Name="AB_Source.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/AB_Source.ctl"/> <Item Name="AB_Source.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/AB_Source.lvclass"/> <Item Name="AB_Source_Container.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/Container/AB_Source_Container.ctl"/> <Item Name="AB_Source_Container.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/Container/AB_Source_Container.lvclass"/> <Item Name="AB_Source_Delete_Property.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Delete_Property.vi"/> <Item Name="AB_Source_Delete_Save_Settings.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Delete_Save_Settings.vi"/> <Item Name="AB_Source_ExportedVI.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/ExportedVI/AB_Source_ExportedVI.lvclass"/> <Item Name="AB_Source_Get_Property.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Get_Property.vi"/> <Item Name="AB_Source_Get_SaveLevel.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Get_SaveLevel.vi"/> <Item Name="AB_Source_Inclusion.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Inclusion.ctl"/> <Item Name="AB_Source_Library.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/Library/AB_Source_Library.ctl"/> <Item Name="AB_Source_Library.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/Library/AB_Source_Library.lvclass"/> <Item Name="AB_Source_PackedItem.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/PackedItem/AB_Source_PackedItem.lvclass"/> <Item Name="AB_Source_Processed_Info.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/AB_Source_Processed_Info.ctl"/> <Item Name="AB_Source_Properties.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Properties.ctl"/> <Item Name="AB_Source_Property_CCodeGen.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Property_CCodeGen.ctl"/> <Item Name="AB_Source_Property_CCodeGen_Inline.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Property_CCodeGen_Inline.ctl"/> <Item Name="AB_Source_Property_Type.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Property_Type.ctl"/> <Item Name="AB_Source_Property_WindowBehavior.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Property_WindowBehavior.ctl"/> <Item Name="AB_Source_Property_WindowRunTimePosition.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Property_WindowRunTimePosition.ctl"/> <Item Name="AB_Source_Referenced_Libray_Files.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Referenced_Libray_Files.ctl"/> <Item Name="AB_Source_RESTfulVI.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/RESTfulVI/AB_Source_RESTfulVI.lvclass"/> <Item Name="AB_Source_Set_Property.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Source_Set_Property.vi"/> <Item Name="AB_Source_VI.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/VI/AB_Source_VI.ctl"/> <Item Name="AB_Source_VI.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Source/VI/AB_Source_VI.lvclass"/> <Item Name="AB_SourceDistribution.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/SourceDistribution/AB_SourceDistribution.lvclass"/> <Item Name="AB_SubDirectory.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Destination/Dest_SubDirectory/AB_SubDirectory.ctl"/> <Item Name="AB_User_Log_Errors.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_User_Log_Errors.vi"/> <Item Name="AB_User_Log_FileIO.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_User_Log_FileIO.vi"/> <Item Name="AB_User_Log_Open.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_User_Log_Open.vi"/> <Item Name="AB_User_Log_Output_Item.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_User_Log_Output_Item.vi"/> <Item Name="AB_User_Log_Source_Item.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_User_Log_Source_Item.vi"/> <Item Name="AB_User_Log_Start_Time.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/logging/AB_User_Log_Start_Time.vi"/> <Item Name="ABAPI Dist Boolean to (0,2).vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/ABAPI Dist Boolean to (0,2).vi"/> <Item Name="ABAPI Dist Generate Error Cluster.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/ABAPI Dist Generate Error Cluster.vi"/> <Item Name="ABAPI Dist Get All VIs in Memory.vi" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/ABAPI Dist Get All VIs in Memory.vi"/> <Item Name="ABAPI Dist VI Proto Info.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/ABAPI Dist VI Proto Info.ctl"/> <Item Name="Add State(s) to Queue__jki_lib_state_machine.vi" Type="VI" URL="/&lt;vilib&gt;/addons/_JKI Toolkits/State Machine/_jki_lib_state_machine.llb/Add State(s) to Queue__jki_lib_state_machine.vi"/> <Item Name="Add State(s) to Queue__jki_lib_state_machine16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Add State(s) to Queue__jki_lib_state_machine16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Are Paths Equal.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Are Paths Equal.vi"/> <Item Name="Array of VData to VArray__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Array of VData to VArray__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Array of VData to VCluster__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Array of VData to VCluster__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Array Size(s)__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Array Size(s)__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Build Error Cluster__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Build Error Cluster__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="BuildHelpPath.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/BuildHelpPath.vi"/> <Item Name="Check if File or Folder Exists.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Check if File or Folder Exists.vi"/> <Item Name="Check Special Tags.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Check Special Tags.vi"/> <Item Name="Clear Errors.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Clear Errors.vi"/> <Item Name="Cluster to Array of VData__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Cluster to Array of VData__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Compare Src And Dst Simple.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Compare Src And Dst Simple.vi"/> <Item Name="Compare Src And Dst.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Compare Src And Dst.vi"/> <Item Name="Compare Two Paths.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Compare Two Paths.vi"/> <Item Name="compatCalcOffset.vi" Type="VI" URL="/&lt;vilib&gt;/_oldvers/_oldvers.llb/compatCalcOffset.vi"/> <Item Name="compatFileDialog.vi" Type="VI" URL="/&lt;vilib&gt;/_oldvers/_oldvers.llb/compatFileDialog.vi"/> <Item Name="compatOpenFileOperation.vi" Type="VI" URL="/&lt;vilib&gt;/_oldvers/_oldvers.llb/compatOpenFileOperation.vi"/> <Item Name="Convert property node font to graphics font.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Convert property node font to graphics font.vi"/> <Item Name="Copy From And To VI Library.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Copy From And To VI Library.vi"/> <Item Name="Copy From Folder To Folder.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Copy From Folder To Folder.vi"/> <Item Name="Copy In Or Out Of VI Library.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Copy In Or Out Of VI Library.vi"/> <Item Name="Create Directory Recursive.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Create Directory Recursive.vi"/> <Item Name="Delete Directory Recursive.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Delete Directory Recursive.vi"/> <Item Name="Delete From VI Library.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Delete From VI Library.vi"/> <Item Name="Details Display Dialog.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Details Display Dialog.vi"/> <Item Name="Dflt Data Dir.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/file.llb/Dflt Data Dir.vi"/> <Item Name="DialogType.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/DialogType.ctl"/> <Item Name="DialogTypeEnum.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/DialogTypeEnum.ctl"/> <Item Name="DynPos_Vertically Move Row.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/dynamicPosition.llb/DynPos_Vertically Move Row.vi"/> <Item Name="Encode Section and Key Names__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Encode Section and Key Names__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Error Cluster From Error Code.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Error Cluster From Error Code.vi"/> <Item Name="Error Code Database.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Error Code Database.vi"/> <Item Name="ErrWarn.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/ErrWarn.ctl"/> <Item Name="eventvkey.ctl" Type="VI" URL="/&lt;vilib&gt;/event_ctls.llb/eventvkey.ctl"/> <Item Name="Find Tag.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Find Tag.vi"/> <Item Name="Format Message String.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Format Message String.vi"/> <Item Name="General Error Handler CORE.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/General Error Handler CORE.vi"/> <Item Name="General Error Handler.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/General Error Handler.vi"/> <Item Name="Generate Temporary File Path.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Generate Temporary File Path.vi"/> <Item Name="Get Array Element TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Array Element TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Array Element TDEnum__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Array Element TDEnum__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Cluster Element Names__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Cluster Element Names__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Cluster Elements TDs__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Cluster Elements TDs__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Data Name from TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Data Name from TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Data Name__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Data Name__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Default Data from TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Default Data from TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Element TD from Array TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Element TD from Array TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get File Extension.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Get File Extension.vi"/> <Item Name="Get File System Separator.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/sysinfo.llb/Get File System Separator.vi"/> <Item Name="Get File System.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/sysinfo.llb/Get File System.vi"/> <Item Name="Get Header from TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Header from TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Last PString__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Last PString__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get LV Class Default Value.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/LVClass/Get LV Class Default Value.vi"/> <Item Name="Get PString__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get PString__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get String Text Bounds.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Get String Text Bounds.vi"/> <Item Name="Get Strings from Enum TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Strings from Enum TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Strings from Enum__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Strings from Enum__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get System Directory.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/sysdir.llb/Get System Directory.vi"/> <Item Name="Get TDEnum from Data__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get TDEnum from Data__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get Text Rect.vi" Type="VI" URL="/&lt;vilib&gt;/picture/picture.llb/Get Text Rect.vi"/> <Item Name="Get Variant Attributes__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Variant Attributes__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Get VI Library File Info.vi" Type="VI" URL="/&lt;vilib&gt;/utility/libraryn.llb/Get VI Library File Info.vi"/> <Item Name="Get Waveform Type Enum from TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Get Waveform Type Enum from TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="GetHelpDir.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/GetHelpDir.vi"/> <Item Name="GetRTHostConnectedProp.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/GetRTHostConnectedProp.vi"/> <Item Name="Has LLB Extension.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Has LLB Extension.vi"/> <Item Name="imagedata.ctl" Type="VI" URL="/&lt;vilib&gt;/picture/picture.llb/imagedata.ctl"/> <Item Name="Is Name Multiplatform.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Is Name Multiplatform.vi"/> <Item Name="Librarian Copy.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian Copy.vi"/> <Item Name="Librarian Delete Dialog.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian Delete Dialog.vi"/> <Item Name="Librarian Delete.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian Delete.vi"/> <Item Name="Librarian File Info In.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian File Info In.ctl"/> <Item Name="Librarian File Info Out.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian File Info Out.ctl"/> <Item Name="Librarian File List.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian File List.ctl"/> <Item Name="Librarian OK to Delete.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian OK to Delete.vi"/> <Item Name="Librarian Path Location.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian Path Location.vi"/> <Item Name="Librarian Rename.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian Rename.vi"/> <Item Name="Librarian.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Librarian.vi"/> <Item Name="List Directory and LLBs.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/List Directory and LLBs.vi"/> <Item Name="Longest Line Length in Pixels.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Longest Line Length in Pixels.vi"/> <Item Name="LVBoundsTypeDef.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/miscctls.llb/LVBoundsTypeDef.ctl"/> <Item Name="New VI Library.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/New VI Library.vi"/> <Item Name="NI_AB_API_DSDIST.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_API/DSDIST/NI_AB_API_DSDIST.lvclass"/> <Item Name="NI_AB_API_SDIST.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/AppBuilder/AB_API/SDIST/NI_AB_API_SDIST.lvclass"/> <Item Name="NI_FileType.lvlib" Type="Library" URL="/&lt;vilib&gt;/Utility/lvfile.llb/NI_FileType.lvlib"/> <Item Name="NI_LVConfig.lvlib" Type="Library" URL="/&lt;vilib&gt;/Utility/config.llb/NI_LVConfig.lvlib"/> <Item Name="Not Found Dialog.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Not Found Dialog.vi"/> <Item Name="Open_Create_Replace File.vi" Type="VI" URL="/&lt;vilib&gt;/_oldvers/_oldvers.llb/Open_Create_Replace File.vi"/> <Item Name="Parse State Queue__jki_lib_state_machine.vi" Type="VI" URL="/&lt;vilib&gt;/addons/_JKI Toolkits/State Machine/_jki_lib_state_machine.llb/Parse State Queue__jki_lib_state_machine.vi"/> <Item Name="Parse State Queue__jki_lib_state_machine16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Parse State Queue__jki_lib_state_machine16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Parse String with TDs__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Parse String with TDs__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="PostBuildVIRef.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Build/PostBuildVIRef.ctl"/> <Item Name="PreBuildVIRef.ctl" Type="VI" URL="/&lt;vilib&gt;/AppBuilder/AB_Classes/Build/PreBuildVIRef.ctl"/> <Item Name="Prepare VI Library for Copy.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Prepare VI Library for Copy.vi"/> <Item Name="Read INI Cluster__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Read INI Cluster__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Read Key (Variant)__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Read Key (Variant)__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Read Section Cluster__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Read Section Cluster__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Recursive File List.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Recursive File List.vi"/> <Item Name="Remove Duplicates from 1D Array (Path)__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Remove Duplicates from 1D Array (Path)__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Remove Duplicates from 1D Array (String)__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Remove Duplicates from 1D Array (String)__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Reshape 1D Array__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Reshape 1D Array__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Reshape Array to 1D VArray__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Reshape Array to 1D VArray__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Search and Replace Pattern.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Search and Replace Pattern.vi"/> <Item Name="Set Bold Text.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Set Bold Text.vi"/> <Item Name="Set Busy.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/cursorutil.llb/Set Busy.vi"/> <Item Name="Set Cursor (Cursor ID).vi" Type="VI" URL="/&lt;vilib&gt;/Utility/cursorutil.llb/Set Cursor (Cursor ID).vi"/> <Item Name="Set Cursor (Icon Pict).vi" Type="VI" URL="/&lt;vilib&gt;/Utility/cursorutil.llb/Set Cursor (Icon Pict).vi"/> <Item Name="Set Cursor.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/cursorutil.llb/Set Cursor.vi"/> <Item Name="Set Data Name__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Set Data Name__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Set Enum String Value__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Set Enum String Value__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Set String Value.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Set String Value.vi"/> <Item Name="Set VI Library File Info.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Set VI Library File Info.vi"/> <Item Name="Simple Error Handler.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Simple Error Handler.vi"/> <Item Name="Space Constant.vi" Type="VI" URL="/&lt;vilib&gt;/dlg_ctls.llb/Space Constant.vi"/> <Item Name="Split Cluster TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Split Cluster TD__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="String to 1D Array__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/String to 1D Array__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="Strip Units__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Strip Units__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="System Directory Type.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/sysdir.llb/System Directory Type.ctl"/> <Item Name="System Exec.vi" Type="VI" URL="/&lt;vilib&gt;/Platform/system.llb/System Exec.vi"/> <Item Name="TagReturnType.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/TagReturnType.ctl"/> <Item Name="Temp Backup File.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Temp Backup File.vi"/> <Item Name="Temp Filename.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Temp Filename.vi"/> <Item Name="Temp Restore File.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/libraryn.llb/Temp Restore File.vi"/> <Item Name="Three Button Dialog CORE.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Three Button Dialog CORE.vi"/> <Item Name="Three Button Dialog.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Three Button Dialog.vi"/> <Item Name="Trim Whitespace.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Trim Whitespace.vi"/> <Item Name="Type Descriptor Enumeration__ogtk16290F98F102B0FBD386C52BCC276B65.ctl" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Type Descriptor Enumeration__ogtk16290F98F102B0FBD386C52BCC276B65.ctl"/> <Item Name="Type Descriptor Header__ogtk16290F98F102B0FBD386C52BCC276B65.ctl" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Type Descriptor Header__ogtk16290F98F102B0FBD386C52BCC276B65.ctl"/> <Item Name="Type Descriptor__ogtk16290F98F102B0FBD386C52BCC276B65.ctl" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Type Descriptor__ogtk16290F98F102B0FBD386C52BCC276B65.ctl"/> <Item Name="Unset Busy.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/cursorutil.llb/Unset Busy.vi"/> <Item Name="Variant to Header Info__ogtk16290F98F102B0FBD386C52BCC276B65.vi" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Variant to Header Info__ogtk16290F98F102B0FBD386C52BCC276B65.vi"/> <Item Name="VIPM API_vipm_api.lvlib" Type="Library" URL="/&lt;vilib&gt;/JKI/VIPM API/VIPM API_vipm_api.lvlib"/> <Item Name="Waveform Subtype Enum__ogtk16290F98F102B0FBD386C52BCC276B65.ctl" Type="VI" URL="/&lt;vilib&gt;/JKI/_VIPM API_internal_deps/Waveform Subtype Enum__ogtk16290F98F102B0FBD386C52BCC276B65.ctl"/> <Item Name="whitespace.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/whitespace.ctl"/> </Item> <Item Name="_LaunchHelp.vi" Type="VI" URL="/&lt;helpdir&gt;/_LaunchHelp.vi"/> <Item Name="AB_Create_Build_AppInstance.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_Create_Build_AppInstance.vi"/> <Item Name="AB_Is_TP_Target.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_Is_TP_Target.vi"/> <Item Name="AB_SRdB_Action.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/SRdB/AB_SRdB_Action.ctl"/> <Item Name="AB_SRdB_Destination_Update_with_BasePath.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/SRdB/Destination/AB_SRdB_Destination_Update_with_BasePath.vi"/> <Item Name="AB_SRdB_Destination_Update_with_Label.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/SRdB/Destination/AB_SRdB_Destination_Update_with_Label.vi"/> <Item Name="AB_SRdB_Error.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/SRdB/AB_SRdB_Error.vi"/> <Item Name="AB_SRdB_Source.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/SRdB/Source/AB_SRdB_Source.vi"/> <Item Name="AB_SRdB_Source_pgSource_Remove.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/SRdB/Source/AB_SRdB_Source_pgSource_Remove.vi"/> <Item Name="AB_SRdB_Source_ReadALL.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/SRdB/Source/AB_SRdB_Source_ReadALL.vi"/> <Item Name="AB_UI_Change_Path_from_Label.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Change_Path_from_Label.vi"/> <Item Name="AB_UI_Change_Relative_Paths.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Change_Relative_Paths.vi"/> <Item Name="AB_UI_Page_Advanced_References.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Advanced_References.ctl"/> <Item Name="AB_UI_Page_Destination_References.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Destination_References.ctl"/> <Item Name="AB_UI_Page_Exclusions_References.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Exclusions_References.ctl"/> <Item Name="AB_UI_Page_Info_References.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Info_References.ctl"/> <Item Name="AB_UI_Page_Source_Add_Container.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Source_Add_Container.vi"/> <Item Name="AB_UI_Page_Source_Files_References.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Source_Files_References.ctl"/> <Item Name="AB_UI_Page_Source_Files_ResizeTrees.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Source_Files_ResizeTrees.vi"/> <Item Name="AB_UI_Page_Source_Files_supportedFunctions.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Source_Files_supportedFunctions.ctl"/> <Item Name="AB_UI_Page_Source_Remove_Container.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Source_Remove_Container.vi"/> <Item Name="AB_UI_Page_Source_Settings_References.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Source_Settings_References.ctl"/> <Item Name="AB_UI_Page_Source_Settings_supportedFunctions.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/AppBuilder/AB_UI_Page_Source_Settings_supportedFunctions.ctl"/> <Item Name="BuildMonitor_BuildItems_Close.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/BuildMonitor/BuildMonitor_BuildItems_Close.vi"/> <Item Name="BuildMonitor_BuildItems_Init.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/BuildMonitor/BuildMonitor_BuildItems_Init.vi"/> <Item Name="BUIP_Callback_Files_Filter.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Common/BUIP_Callback_Files_Filter.vi"/> <Item Name="Command Line Args.ctl" Type="VI" URL="../Types/Command Line Args.ctl"/> <Item Name="DEP_Compute_Relative_Paths.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Deploy/DEP_Compute_Relative_Paths.vi"/> <Item Name="DEP_Convert_one_path_to_remote.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Deploy/DEP_Convert_one_path_to_remote.vi"/> <Item Name="DEP_DeployInstructions_fileformat.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Deploy/DEP_DeployInstructions_fileformat.ctl"/> <Item Name="DEP_DeployInstructions_filename.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Deploy/DEP_DeployInstructions_filename.vi"/> <Item Name="DEP_DeployInstructions_item.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Deploy/DEP_DeployInstructions_item.ctl"/> <Item Name="DEP_Dests_convertpaths_to_remote.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Deploy/DEP_Dests_convertpaths_to_remote.vi"/> <Item Name="DEP_Generate_Deploy_HeaderInfo.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Deploy/DEP_Generate_Deploy_HeaderInfo.vi"/> <Item Name="DEP_Generate_Deploy_Instructions.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Deploy/DEP_Generate_Deploy_Instructions.vi"/> <Item Name="DEP_Is_File_Shared_Library.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Builds/Deploy/DEP_Is_File_Shared_Library.vi"/> <Item Name="ItemRef.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/ItemRef.ctl"/> <Item Name="LV Config Read Boolean.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/dialog/lvconfig.llb/LV Config Read Boolean.vi"/> <Item Name="LV Config Read Numeric (I32).vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/dialog/lvconfig.llb/LV Config Read Numeric (I32).vi"/> <Item Name="mxLvBuildCancel.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvBuildCancel.ctl"/> <Item Name="mxLvBuildError.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvBuildError.ctl"/> <Item Name="mxLvBuildNewItem.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvBuildNewItem.ctl"/> <Item Name="mxLvBuildNewJob.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvBuildNewJob.ctl"/> <Item Name="mxLvDebugDisplayCaller.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvDebugDisplayCaller.vi"/> <Item Name="mxLvDeleteProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvDeleteProperty.vi"/> <Item Name="mxLvErrorHandler.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvErrorHandler.vi"/> <Item Name="mxLvGetBinaryProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetBinaryProperty.vi"/> <Item Name="mxLvGetBooleanProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetBooleanProperty.vi"/> <Item Name="mxLvGetIntProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetIntProperty.vi"/> <Item Name="mxLvGetItem.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetItem.vi"/> <Item Name="mxLvGetItemRef.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetItemRef.vi"/> <Item Name="mxLvGetNIIM.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetNIIM.vi"/> <Item Name="mxLvGetPathProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetPathProperty.vi"/> <Item Name="mxLvGetProjectPath.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetProjectPath.vi"/> <Item Name="mxLvGetProjectRef.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetProjectRef.vi"/> <Item Name="mxLvGetRefProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetRefProperty.vi"/> <Item Name="mxLvGetStringProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetStringProperty.vi"/> <Item Name="mxLvGetTarget.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvGetTarget.vi"/> <Item Name="mxLvNIIM.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvNIIM.ctl"/> <Item Name="mxLvProvider.mxx" Type="Document" URL="/&lt;libdir&gt;/resource/Framework/Providers/mxLvProvider.mxx"/> <Item Name="mxLvSetBinaryProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvSetBinaryProperty.vi"/> <Item Name="mxLvSetBooleanProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvSetBooleanProperty.vi"/> <Item Name="mxLvSetIntProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvSetIntProperty.vi"/> <Item Name="mxLvSetPathProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvSetPathProperty.vi"/> <Item Name="mxLvSetRefProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvSetRefProperty.vi"/> <Item Name="mxLvSetStringProperty.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/API/mxLvSetStringProperty.vi"/> <Item Name="provcom_CallbackKeyedArray.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_CallbackKeyedArray.ctl"/> <Item Name="provcom_CheckForInvalidCharacters.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_CheckForInvalidCharacters.vi"/> <Item Name="provcom_ComputeAndCheckRelativePath.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ComputeAndCheckRelativePath.vi"/> <Item Name="provcom_DrawProjectItems.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_DrawProjectItems.vi"/> <Item Name="provcom_DrawSourceAndDependencies.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_DrawSourceAndDependencies.vi"/> <Item Name="provcom_DrawTreeItem.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_DrawTreeItem.vi"/> <Item Name="provcom_EnableDisableControl.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_EnableDisableControl.vi"/> <Item Name="provcom_GetAllChildrenOfItem.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_GetAllChildrenOfItem.vi"/> <Item Name="provcom_GetObjectItemFromProjectItem.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_GetObjectItemFromProjectItem.vi"/> <Item Name="provcom_GetTargetOS.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_GetTargetOS.vi"/> <Item Name="provcom_HideInBuildSpecBehavior.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_HideInBuildSpecBehavior.vi"/> <Item Name="provcom_MassEnableDisableControls.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_MassEnableDisableControls.vi"/> <Item Name="provcom_ProgressBar_Events.ctl" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ProgressBar_Events.ctl"/> <Item Name="provcom_ProgressBar_FireNewJobEvent.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ProgressBar_FireNewJobEvent.vi"/> <Item Name="provcom_ProgressBar_InitializeCancelEvent.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ProgressBar_InitializeCancelEvent.vi"/> <Item Name="provcom_ProgressBar_InitializeErrorCloseEvent.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ProgressBar_InitializeErrorCloseEvent.vi"/> <Item Name="provcom_ProgressBar_InitializeErrorEvent.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ProgressBar_InitializeErrorEvent.vi"/> <Item Name="provcom_ProgressBar_InitializeErrorOpenEvent.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ProgressBar_InitializeErrorOpenEvent.vi"/> <Item Name="provcom_ProgressBar_InitializeProgressBarEvents.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ProgressBar_InitializeProgressBarEvents.vi"/> <Item Name="provcom_ProgressBar_InvokeErrorWindow.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ProgressBar_InvokeErrorWindow.vi"/> <Item Name="provcom_ProgressBar_InvokeProgressBar.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_ProgressBar_InvokeProgressBar.vi"/> <Item Name="provcom_StringGlobals.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_StringGlobals.vi"/> <Item Name="provcom_Utility_IsEmptyOrWhiteSpace.vi" Type="VI" URL="../../../../../../../../../Program Files (x86)/National Instruments/LabVIEW 2010/resource/Framework/Providers/Common/provcom_Utility_IsEmptyOrWhiteSpace.vi"/> </Item> <Item Name="Build Specifications" Type="Build"/> </Item> </Project>
LabVIEW
2
TBDFramework/Jenkins-Autobuild
include project.lvproj
[ "BSD-2-Clause" ]
%% %% Licensed to the Apache Software Foundation (ASF) under one %% or more contributor license agreements. See the NOTICE file %% distributed with this work for additional information %% regarding copyright ownership. The ASF licenses this file %% to you 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. %% -module(thrift_buffered_transport). -behaviour(thrift_transport). %% constructor -export([new/1]). %% protocol callbacks -export([read/2, read_exact/2, write/2, flush/1, close/1]). %% legacy api -export([new_transport_factory/1]). -record(t_buffered, { wrapped, write_buffer }). -type state() :: #t_buffered{}. -spec new(Transport::thrift_transport:t_transport()) -> thrift_transport:t_transport(). new(Wrapped) -> State = #t_buffered{ wrapped = Wrapped, write_buffer = [] }, thrift_transport:new(?MODULE, State). -include("thrift_transport_behaviour.hrl"). %% reads data through from the wrapped transport read(State = #t_buffered{wrapped = Wrapped}, Len) when is_integer(Len), Len >= 0 -> {NewState, Response} = thrift_transport:read(Wrapped, Len), {State#t_buffered{wrapped = NewState}, Response}. %% reads data through from the wrapped transport read_exact(State = #t_buffered{wrapped = Wrapped}, Len) when is_integer(Len), Len >= 0 -> {NewState, Response} = thrift_transport:read_exact(Wrapped, Len), {State#t_buffered{wrapped = NewState}, Response}. write(State = #t_buffered{write_buffer = Buffer}, Data) -> {State#t_buffered{write_buffer = [Buffer, Data]}, ok}. flush(State = #t_buffered{wrapped = Wrapped, write_buffer = Buffer}) -> case iolist_size(Buffer) of %% if write buffer is empty, do nothing 0 -> {State, ok}; _ -> {Written, Response} = thrift_transport:write(Wrapped, Buffer), {Flushed, ok} = thrift_transport:flush(Written), {State#t_buffered{wrapped = Flushed, write_buffer = []}, Response} end. close(State = #t_buffered{wrapped = Wrapped}) -> {Closed, Result} = thrift_transport:close(Wrapped), {State#t_buffered{wrapped = Closed}, Result}. %%-------------------------------------------------------------------- %%% Internal functions %%-------------------------------------------------------------------- %%%% FACTORY GENERATION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% new_transport_factory(WrapFactory) -> F = fun() -> {ok, Wrapped} = WrapFactory(), new(Wrapped) end, {ok, F}.
Erlang
4
asdfsx/thrift-erlang
src/thrift_buffered_transport.erl
[ "Apache-2.0" ]
Prefix(:=<http://example.org/>) Ontology(:TestEquivalentToIntersectionOf Declaration(ObjectProperty(:p)) EquivalentClasses(:definedClass ObjectIntersectionOf( :genus ObjectSomeValuesFrom(:p :fillerClass))) )
Web Ontology Language
3
jmcmurry/SciGraph
SciGraph-core/src/test/resources/ontologies/cases/TestEquivalentToIntersectionOf.owl
[ "Apache-2.0" ]
{ lib , buildPythonPackage , fetchFromGitHub , nose }: buildPythonPackage rec { version = "0.1.4"; pname = "forbiddenfruit"; src = fetchFromGitHub { owner = "clarete"; repo = "forbiddenfruit"; rev = version; sha256 = "16chhrxbbmg6lfbzm532fq0v00z8qihcsj0kg2b5jlgnb6qijwn8"; }; checkInputs = [ nose ]; preBuild = '' export FFRUIT_EXTENSION="true"; ''; # https://github.com/clarete/forbiddenfruit/pull/47 required to switch to pytest checkPhase = '' find ./build -name '*.so' -exec mv {} tests/unit \; nosetests ''; meta = with lib; { description = "Patch python built-in objects"; homepage = "https://github.com/clarete/forbiddenfruit"; license = licenses.mit; }; }
Nix
4
collinwright/nixpkgs
pkgs/development/python-modules/forbiddenfruit/default.nix
[ "MIT" ]
(ns server (:gen-class) (:require [clojure.tools.logging :refer :all] [yada.yada :as yada])) (def index (yada/resource {:methods {:get {:produces "text/plain" :response ""}}})) (def postuser (yada/resource {:methods {:post {:produces "text/plain" :response ""}}})) (def getuser (yada/resource {:parameters {:path {:name String}} :methods {:get {:produces "text/plain" :response (fn [ctx] (let [name (get-in ctx [:parameters :path :name])] name))}}})) (def app ["/" [["" index] ["user" [["" postuser] [["/" :name] getuser]]]]]) (defn -main [& [port]] (yada/listener app {:port (Integer/parseInt port)}))
Clojure
4
mattiapenati/web-frameworks
clojure/yada/src/main/clojure/server.clj
[ "MIT" ]
vec2 v_texcoord0 : TEXCOORD0 = vec2(0.0, 0.0); vec3 v_weye_dir : TEXCOORD1 = vec3(0.0, 0.0, 0.0);
Io
2
ValtoForks/EtherealEngine
engine_data/data/shaders/fs_sphere_reflection_probe.io
[ "BSD-2-Clause" ]
import "./chunk.css";
JavaScript
0
1shenxi/webpack
test/watchCases/plugins/mini-css-extract-plugin/1/chunk.js
[ "MIT" ]
module org-openroadm-xponder { namespace "http://org/openroadm/xponder"; prefix org-openroadm-xponder; import org-openroadm-equipment-states-types { prefix org-openroadm-equipment-states-types; } import org-openroadm-common-types { prefix org-openroadm-common-types; } import ietf-inet-types { prefix inet; } organization "OPEN ROADM MSA"; contact "OpenROADM.org."; description "YANG definitions for xponder Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016, AT&T Intellectual Property. All other rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the Members of the Open ROADM MSA Agreement nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."; revision 2016-10-14 { description "Version 1.2"; } grouping xponder { list xponders { key "clli"; leaf clli { type string; description "Location CLLI where the Xponder resides"; } list ids { key "node-number node-type"; leaf node-number { type uint32; description "Number assigned to an Xponder base unit in a given office, i.e., 1, 2..N"; } leaf node-type { type org-openroadm-common-types:node-types; } leaf node-id { type string; description "Network-wide unique identifier for an Xponder"; } leaf vendor { type string; description "Identifier of the supplier for the xponder"; } leaf customer-code { type string; description "Owner of the xponder"; } leaf domain-subnetwork { type string; description "Specific Domain-Subnetwork in which the ROADM node resides"; } leaf ip { type inet:ip-address; description "IP address assigned to the ROADM node"; } leaf relay-rack { type string; description "Frame Identification Code (FIC)"; } leaf shelf { type uint32; } container input-connection { leaf accumulated-bitrate { type uint32; } list port { key "port-name"; leaf port-name { type string; } leaf customer-code { type string; description "Owner of the input module"; } leaf vendor { type string; description "Supplier of the input module"; } leaf local-lgx { type string; } leaf bit-rate { type uint32; } leaf signal-format { type string; } leaf reach { type string; } leaf optic { type org-openroadm-common-types:optic-types; } leaf state { type org-openroadm-equipment-states-types:states; description "A xponder can be in one of the following states"; } leaf tail-client-equipment { type string; } leaf tail-client-equipmentId { type string; } leaf tail-clfi { type string; } } } container output-connection { leaf clli { type string; } leaf node-number{ type uint32; } leaf node-id { type string; description "ROADM node ID"; } leaf accumulated-bitrate { type uint32; } list port { key "port-name"; leaf port-name { type string; } leaf vendor { type string; description "Supplier of the output module"; } leaf srg-number { type uint16; description "Output module is connected to"; } leaf pp-number { type uint16; } leaf wavelength-number{ type uint32; } leaf local-lgx { type string; } leaf tail-clfi{ type string; } leaf bit-rate { type uint32; } leaf signal-format { type string; } leaf reach { type string; } leaf optic { type org-openroadm-common-types:optic-types; } leaf state { type org-openroadm-equipment-states-types:states; description "A xponder can be in one of the following states"; } } } } } } }
YANG
5
tohotforice/onos-sdwsn
models/openroadm/src/main/yang/org-openroadm-xponder.yang
[ "Apache-2.0" ]
require(httr) headers = c( `Accept` = 'application/json', `user-token` = '75d7ce4350c7d6239347bf23d3a3e668' ) res <- httr::GET(url = 'http://localhost:8080/api/retail/books/list', httr::add_headers(.headers=headers))
R
3
kado0413/curlconverter
fixtures/r/get_long_form_header.r
[ "MIT" ]
import Link from 'next/link' import Container from '../../components/container' import distanceToNow from '../../lib/dateRelative' import { getAllPosts } from '../../lib/getPost' export default function NotePage({ allPosts }) { return ( <Container> {allPosts.length ? ( allPosts.map((post) => ( <article key={post.slug} className="mb-10"> <Link as={`/posts/${post.slug}`} href="/posts/[slug]"> <a className="text-lg leading-6 font-bold">{post.title}</a> </Link> <p>{post.excerpt}</p> <div className="text-gray-400"> <time>{distanceToNow(new Date(post.date))}</time> </div> </article> )) ) : ( <p>No blog posted yet :/</p> )} </Container> ) } export async function getStaticProps() { const allPosts = getAllPosts(['slug', 'title', 'excerpt', 'date']) return { props: { allPosts }, } }
JavaScript
4
blomqma/next.js
examples/blog-with-comment/pages/posts/index.js
[ "MIT" ]
contract GuestBook { mapping (address => string) entryLog; function setEntry(string guestBookEntry) { entryLog[msg.sender] = guestBookEntry; } function getMyEntry() constant returns (string) { return entryLog[msg.sender]; } }
Solidity
4
ramankumarlive/azure-quickstart-templates
go-ethereum-on-ubuntu/GuestBook.sol
[ "MIT" ]
{ name: 'component-2', version: '1.0.0', }
JSON5
0
kazuare/pnpm
packages/find-packages/test/fixtures/many-pkgs-with-different-manifest-types/components/component-2/package.json5
[ "MIT" ]
/// Stack collection (LIFO discipline). /// /// Minimal LIFO (last in first out) implementation, as a class. /// See library `Deque` for mixed LIFO/FIFO behavior. /// import List "List"; module { public class Stack<T>() { var stack : List.List<T> = List.nil<T>(); /// Push an element on the top of the stack. public func push(x:T) { stack := ?(x, stack) }; /// True when the stack is empty. public func isEmpty() : Bool { List.isNil<T>(stack) }; /// Return and retain the top element, or return null. public func peek() : ?T { switch stack { case null { null }; case (?(h, t)) { ?h }; } }; /// Remove and return the top element, or return null. public func pop() : ?T { switch stack { case null { null }; case (?(h, t)) { stack := t; ?h }; } }; }; }
Modelica
5
nomeata/motoko-base
src/Stack.mo
[ "Apache-2.0" ]
# # @expect="/nlist[@name='profile']/boolean[@name='res']='false'" # object template is_valid16; type mytype = { 'entry1': string(3..) 'entry2': long }; variable X = dict('entry1', "Ha", 'entry2', 1); '/res' = is_valid(mytype, X);
Pan
3
aka7/pan
panc/src/test/pan/Functionality/is_valid/is_valid16.pan
[ "Apache-2.0" ]
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "<small> <i> This notebook was prepared by Marco Guajardo. For license visit [github](https://github.com/donnemartin/interactive-coding-challenges) </i> </small>\n", "." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Challenge Notebook\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Problem: Given a string of words, return a string with the words in reverse" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "* [Constraints](#Constraints)\n", "* [Test Cases](#Test-Cases)\n", "* [Algorithm](#Algorithm)\n", "* [Code](#Code)\n", "* [Unit Test](#Unit-Test)\n", "* [Solution Notebook](#Solution-Notebook)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Constraints\n", "* Can we assume the string is ASCII?\n", " * Yes\n", "* Is whitespace important?\n", " * no the whitespace does not change\n", "* Is this case sensitive?\n", " * yes\n", "* What if the string is empty?\n", " * return None\n", "* Is the order of words important?\n", " * yes\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Test Cases\n", "* Empty string -> None\n", "* \"the sun is very hot\" -> \"eht nus si yrev toh\"\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Algorithm\n", "* Refer to the [Solution](https://github.com/donnemartin/interactive-coding-challenges/blob/master/arrays_strings/reverse_words/reverse_words_solution.ipynb) if you are stuck and need a hint, the solution notebook's algorithm discussion might be a good place to start." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Code " ] }, { "cell_type": "code", "execution_count": 21, "metadata": {}, "outputs": [], "source": [ "def reverse_words (S):\n", " #TODO: implement me\n", " pass" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Unit Test\n", "<b> The following unit test is expected to fail until you solve challenge </b>" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import unittest\n", "\n", "\n", "class UnitTest(unittest.TestCase):\n", "\n", " def testReverseWords(self, func):\n", " self.assertEqual(func('the sun is hot'), 'eht nus si toh')\n", " self.assertEqual(func(''), None)\n", " self.assertEqual(func('123 456 789'), '321 654 987')\n", " self.assertEqual(func('magic'), 'cigam')\n", " print('Success: reverse_words')\n", "\n", "\n", "def main():\n", " test = UnitTest()\n", " test.testReverseWords(reverse_words)\n", "\n", "\n", "if __name__==\"__main__\":\n", " main()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Solution Notebook\n", "* Review the [Solution Notebook](https://github.com/donnemartin/interactive-coding-challenges/blob/master/arrays_strings/reverse_words/reverse_words_solution.ipynb) for discussion on algorithms and code solutions." ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.2" } }, "nbformat": 4, "nbformat_minor": 1 }
Jupyter Notebook
4
rubenparedes0796/interactive-coding-challenges
staging/arrays_strings/reverse_words/reverse_words_challenge.ipynb
[ "Apache-2.0" ]
const testing = @import("std").testing; const builtin = @import("builtin"); // Ported from llvm-project 13.0.0 d7b669b3a30345cfcdb2fde2af6f48aa4b94845d // // https://github.com/llvm/llvm-project/blob/llvmorg-13.0.0/compiler-rt/lib/builtins/os_version_check.c // The compiler generates calls to __isPlatformVersionAtLeast() when Objective-C's @available // function is invoked. // // Old versions of clang would instead emit calls to __isOSVersionAtLeast(), which is still // supported in clang's compiler-rt implementation today in case anyone tries to link an object file // produced with an old clang version. This requires dynamically loading frameworks, parsing a // system plist file, and generally adds a fair amount of complexity to the implementation and so // our implementation differs by simply removing that backwards compatability support. We only use // the newer codepath, which merely calls out to the Darwin _availability_version_check API which is // available on macOS 10.15+, iOS 13+, tvOS 13+ and watchOS 6+. inline fn constructVersion(major: u32, minor: u32, subminor: u32) u32 { return ((major & 0xffff) << 16) | ((minor & 0xff) << 8) | (subminor & 0xff); } // Darwin-only pub fn __isPlatformVersionAtLeast(platform: u32, major: u32, minor: u32, subminor: u32) callconv(.C) i32 { return @boolToInt(_availability_version_check(1, &[_]dyld_build_version_t{ .{ .platform = platform, .version = constructVersion(major, minor, subminor), }, })); } // _availability_version_check darwin API support. const dyld_platform_t = u32; const dyld_build_version_t = extern struct { platform: dyld_platform_t, version: u32, }; // Darwin-only extern "c" fn _availability_version_check(count: u32, versions: [*c]const dyld_build_version_t) bool; test "isPlatformVersionAtLeast" { if (!builtin.os.tag.isDarwin()) return error.SkipZigTest; // Note: this test depends on the actual host OS version since it is merely calling into the // native Darwin API. const macos_platform_constant = 1; try testing.expect(__isPlatformVersionAtLeast(macos_platform_constant, 10, 0, 15) == 1); try testing.expect(__isPlatformVersionAtLeast(macos_platform_constant, 99, 0, 0) == 0); }
Zig
4
mogud/zig
lib/std/special/compiler_rt/os_version_check.zig
[ "MIT" ]
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ prelude import init.data.nat.lemmas init.meta.well_founded_tactics universe u namespace nat def bodd_div2 : ℕ → bool × ℕ | 0 := (ff, 0) | (succ n) := match bodd_div2 n with | (ff, m) := (tt, m) | (tt, m) := (ff, succ m) end def div2 (n : ℕ) : ℕ := (bodd_div2 n).2 def bodd (n : ℕ) : bool := (bodd_div2 n).1 @[simp] lemma bodd_zero : bodd 0 = ff := rfl @[simp] lemma bodd_one : bodd 1 = tt := rfl @[simp] lemma bodd_two : bodd 2 = ff := rfl @[simp] lemma bodd_succ (n : ℕ) : bodd (succ n) = bnot (bodd n) := by unfold bodd bodd_div2; cases bodd_div2 n; cases fst; refl @[simp] lemma bodd_add (m n : ℕ) : bodd (m + n) = bxor (bodd m) (bodd n) := begin induction n with n IH, { simp, cases bodd m; refl }, { simp [IH], cases bodd m; cases bodd n; refl } end @[simp] lemma bodd_mul (m n : ℕ) : bodd (m * n) = bodd m && bodd n := begin induction n with n IH, { simp, cases bodd m; refl }, { simp [mul_succ, IH], cases bodd m; cases bodd n; refl } end lemma mod_two_of_bodd (n : ℕ) : n % 2 = cond (bodd n) 1 0 := begin have := congr_arg bodd (mod_add_div n 2), simp [bnot] at this, rw [show ∀ b, ff && b = ff, by intros; cases b; refl, show ∀ b, bxor b ff = b, by intros; cases b; refl] at this, rw [← this], cases mod_two_eq_zero_or_one n with h h; rw h; refl end @[simp] lemma div2_zero : div2 0 = 0 := rfl @[simp] lemma div2_one : div2 1 = 0 := rfl @[simp] lemma div2_two : div2 2 = 1 := rfl @[simp] lemma div2_succ (n : ℕ) : div2 (succ n) = cond (bodd n) (succ (div2 n)) (div2 n) := by unfold bodd div2 bodd_div2; cases bodd_div2 n; cases fst; refl local attribute [simp] add_comm add_assoc add_left_comm mul_comm mul_assoc mul_left_comm theorem bodd_add_div2 : ∀ n, cond (bodd n) 1 0 + 2 * div2 n = n | 0 := rfl | (succ n) := begin simp, refine eq.trans _ (congr_arg succ (bodd_add_div2 n)), cases bodd n; simp [cond, bnot], { rw add_comm; refl }, { rw [succ_mul, add_comm 1] } end theorem div2_val (n) : div2 n = n / 2 := by refine eq_of_mul_eq_mul_left dec_trivial (nat.add_left_cancel (eq.trans _ (mod_add_div n 2).symm)); rw [mod_two_of_bodd, bodd_add_div2] def bit (b : bool) : ℕ → ℕ := cond b bit1 bit0 lemma bit0_val (n : nat) : bit0 n = 2 * n := (two_mul _).symm lemma bit1_val (n : nat) : bit1 n = 2 * n + 1 := congr_arg succ (bit0_val _) lemma bit_val (b n) : bit b n = 2 * n + cond b 1 0 := by { cases b, apply bit0_val, apply bit1_val } lemma bit_decomp (n : nat) : bit (bodd n) (div2 n) = n := (bit_val _ _).trans $ (add_comm _ _).trans $ bodd_add_div2 _ def bit_cases_on {C : nat → Sort u} (n) (h : ∀ b n, C (bit b n)) : C n := by rw [← bit_decomp n]; apply h @[simp] lemma bit_zero : bit ff 0 = 0 := rfl def shiftl' (b : bool) (m : ℕ) : ℕ → ℕ | 0 := m | (n+1) := bit b (shiftl' n) def shiftl : ℕ → ℕ → ℕ := shiftl' ff @[simp] theorem shiftl_zero (m) : shiftl m 0 = m := rfl @[simp] theorem shiftl_succ (m n) : shiftl m (n + 1) = bit0 (shiftl m n) := rfl def shiftr : ℕ → ℕ → ℕ | m 0 := m | m (n+1) := div2 (shiftr m n) def test_bit (m n : ℕ) : bool := bodd (shiftr m n) def binary_rec {C : nat → Sort u} (z : C 0) (f : ∀ b n, C n → C (bit b n)) : Π n, C n | n := if n0 : n = 0 then by rw n0; exact z else let n' := div2 n in have n' < n, begin change div2 n < n, rw div2_val, apply (div_lt_iff_lt_mul _ _ (succ_pos 1)).2, have := nat.mul_lt_mul_of_pos_left (lt_succ_self 1) (lt_of_le_of_ne (zero_le _) (ne.symm n0)), rwa mul_one at this end, by rw [← show bit (bodd n) n' = n, from bit_decomp n]; exact f (bodd n) n' (binary_rec n') def size : ℕ → ℕ := binary_rec 0 (λ_ _, succ) def bits : ℕ → list bool := binary_rec [] (λb _ IH, b :: IH) def bitwise (f : bool → bool → bool) : ℕ → ℕ → ℕ := binary_rec (λn, cond (f ff tt) n 0) (λa m Ia, binary_rec (cond (f tt ff) (bit a m) 0) (λb n _, bit (f a b) (Ia n))) def lor : ℕ → ℕ → ℕ := bitwise bor def land : ℕ → ℕ → ℕ := bitwise band def ldiff : ℕ → ℕ → ℕ := bitwise (λ a b, a && bnot b) def lxor : ℕ → ℕ → ℕ := bitwise bxor @[simp] lemma binary_rec_zero {C : nat → Sort u} (z : C 0) (f : ∀ b n, C n → C (bit b n)) : binary_rec z f 0 = z := by {rw [binary_rec], refl} /- bitwise ops -/ lemma bodd_bit (b n) : bodd (bit b n) = b := by rw bit_val; simp; cases b; cases bodd n; refl lemma div2_bit (b n) : div2 (bit b n) = n := by rw [bit_val, div2_val, add_comm, add_mul_div_left, div_eq_of_lt, zero_add]; cases b; exact dec_trivial lemma shiftl'_add (b m n) : ∀ k, shiftl' b m (n + k) = shiftl' b (shiftl' b m n) k | 0 := rfl | (k+1) := congr_arg (bit b) (shiftl'_add k) lemma shiftl_add : ∀ m n k, shiftl m (n + k) = shiftl (shiftl m n) k := shiftl'_add _ lemma shiftr_add (m n) : ∀ k, shiftr m (n + k) = shiftr (shiftr m n) k | 0 := rfl | (k+1) := congr_arg div2 (shiftr_add k) lemma shiftl'_sub (b m) : ∀ {n k}, k ≤ n → shiftl' b m (n - k) = shiftr (shiftl' b m n) k | n 0 h := rfl | (n+1) (k+1) h := begin simp [shiftl'], rw [add_comm, shiftr_add], simp [shiftr, div2_bit], apply shiftl'_sub (nat.le_of_succ_le_succ h) end lemma shiftl_sub : ∀ m {n k}, k ≤ n → shiftl m (n - k) = shiftr (shiftl m n) k := shiftl'_sub _ lemma shiftl_eq_mul_pow (m) : ∀ n, shiftl m n = m * 2 ^ n | 0 := (mul_one _).symm | (k+1) := show bit0 (shiftl m k) = m * (2^k * 2), by rw [bit0_val, shiftl_eq_mul_pow]; simp lemma shiftl'_tt_eq_mul_pow (m) : ∀ n, shiftl' tt m n + 1 = (m + 1) * 2 ^ n | 0 := by simp [shiftl, shiftl'] | (k+1) := begin change bit1 (shiftl' tt m k) + 1 = (m + 1) * (2^k * 2), rw bit1_val, change 2 * (shiftl' tt m k + 1) = _, rw shiftl'_tt_eq_mul_pow; simp end lemma one_shiftl (n) : shiftl 1 n = 2 ^ n := (shiftl_eq_mul_pow _ _).trans (one_mul _) @[simp] lemma zero_shiftl (n) : shiftl 0 n = 0 := (shiftl_eq_mul_pow _ _).trans (zero_mul _) lemma shiftr_eq_div_pow (m) : ∀ n, shiftr m n = m / 2 ^ n | 0 := (nat.div_one _).symm | (k+1) := (congr_arg div2 (shiftr_eq_div_pow k)).trans $ by rw [div2_val, nat.div_div_eq_div_mul]; refl @[simp] lemma zero_shiftr (n) : shiftr 0 n = 0 := (shiftr_eq_div_pow _ _).trans (nat.zero_div _) @[simp] lemma test_bit_zero (b n) : test_bit (bit b n) 0 = b := bodd_bit _ _ lemma test_bit_succ (m b n) : test_bit (bit b n) (succ m) = test_bit n m := have bodd (shiftr (shiftr (bit b n) 1) m) = bodd (shiftr n m), by dsimp [shiftr]; rw div2_bit, by rw [← shiftr_add, add_comm] at this; exact this lemma binary_rec_eq {C : nat → Sort u} {z : C 0} {f : ∀ b n, C n → C (bit b n)} (h : f ff 0 z = z) (b n) : binary_rec z f (bit b n) = f b n (binary_rec z f n) := begin rw [binary_rec], with_cases { by_cases bit b n = 0 }, case pos : h' { simp [dif_pos h'], generalize : binary_rec._main._pack._proof_1 (bit b n) h' = e, revert e, have bf := bodd_bit b n, have n0 := div2_bit b n, rw h' at bf n0, simp at bf n0, rw [← bf, ← n0, binary_rec_zero], intros, exact h.symm }, case neg : h' { simp [dif_neg h'], generalize : binary_rec._main._pack._proof_2 (bit b n) = e, revert e, rw [bodd_bit, div2_bit], intros, refl} end lemma bitwise_bit_aux {f : bool → bool → bool} (h : f ff ff = ff) : @binary_rec (λ_, ℕ) (cond (f tt ff) (bit ff 0) 0) (λ b n _, bit (f ff b) (cond (f ff tt) n 0)) = λ (n : ℕ), cond (f ff tt) n 0 := begin funext n, apply bit_cases_on n, intros b n, rw [binary_rec_eq], { cases b; try {rw h}; induction fft : f ff tt; simp [cond]; refl }, { rw [h, show cond (f ff tt) 0 0 = 0, by cases f ff tt; refl, show cond (f tt ff) (bit ff 0) 0 = 0, by cases f tt ff; refl]; refl } end @[simp] lemma bitwise_zero_left (f : bool → bool → bool) (n) : bitwise f 0 n = cond (f ff tt) n 0 := by unfold bitwise; rw [binary_rec_zero] @[simp] lemma bitwise_zero_right (f : bool → bool → bool) (h : f ff ff = ff) (m) : bitwise f m 0 = cond (f tt ff) m 0 := by unfold bitwise; apply bit_cases_on m; intros; rw [binary_rec_eq, binary_rec_zero]; exact bitwise_bit_aux h @[simp] lemma bitwise_zero (f : bool → bool → bool) : bitwise f 0 0 = 0 := by rw bitwise_zero_left; cases f ff tt; refl @[simp] lemma bitwise_bit {f : bool → bool → bool} (h : f ff ff = ff) (a m b n) : bitwise f (bit a m) (bit b n) = bit (f a b) (bitwise f m n) := begin unfold bitwise, rw [binary_rec_eq, binary_rec_eq], { induction ftf : f tt ff; dsimp [cond], rw [show f a ff = ff, by cases a; assumption], apply @congr_arg _ _ _ 0 (bit ff), tactic.swap, rw [show f a ff = a, by cases a; assumption], apply congr_arg (bit a), all_goals { apply bit_cases_on m, intros a m, rw [binary_rec_eq, binary_rec_zero], rw [← bitwise_bit_aux h, ftf], refl } }, { exact bitwise_bit_aux h } end theorem bitwise_swap {f : bool → bool → bool} (h : f ff ff = ff) : bitwise (function.swap f) = function.swap (bitwise f) := begin funext m n, revert n, dsimp [function.swap], apply binary_rec _ (λ a m' IH, _) m; intro n, { rw [bitwise_zero_left, bitwise_zero_right], exact h }, apply bit_cases_on n; intros b n', rw [bitwise_bit, bitwise_bit, IH]; exact h end @[simp] lemma lor_bit : ∀ (a m b n), lor (bit a m) (bit b n) = bit (a || b) (lor m n) := bitwise_bit rfl @[simp] lemma land_bit : ∀ (a m b n), land (bit a m) (bit b n) = bit (a && b) (land m n) := bitwise_bit rfl @[simp] lemma ldiff_bit : ∀ (a m b n), ldiff (bit a m) (bit b n) = bit (a && bnot b) (ldiff m n) := bitwise_bit rfl @[simp] lemma lxor_bit : ∀ (a m b n), lxor (bit a m) (bit b n) = bit (bxor a b) (lxor m n) := bitwise_bit rfl @[simp] lemma test_bit_bitwise {f : bool → bool → bool} (h : f ff ff = ff) (m n k) : test_bit (bitwise f m n) k = f (test_bit m k) (test_bit n k) := begin revert m n; induction k with k IH; intros m n; apply bit_cases_on m; intros a m'; apply bit_cases_on n; intros b n'; rw bitwise_bit h, { simp [test_bit_zero] }, { simp [test_bit_succ, IH] } end @[simp] lemma test_bit_lor : ∀ (m n k), test_bit (lor m n) k = test_bit m k || test_bit n k := test_bit_bitwise rfl @[simp] lemma test_bit_land : ∀ (m n k), test_bit (land m n) k = test_bit m k && test_bit n k := test_bit_bitwise rfl @[simp] lemma test_bit_ldiff : ∀ (m n k), test_bit (ldiff m n) k = test_bit m k && bnot (test_bit n k) := test_bit_bitwise rfl @[simp] lemma test_bit_lxor : ∀ (m n k), test_bit (lxor m n) k = bxor (test_bit m k) (test_bit n k) := test_bit_bitwise rfl end nat
Lean
5
JLimperg/lean
library/init/data/nat/bitwise.lean
[ "Apache-2.0" ]
# # @expect="/nlist[@name='profile']/boolean[@name='a']='true' and /nlist[@name='profile']/boolean[@name='b']='true'" # @format=pan # object template variable16; variable A = null; variable B = A; "/a" = is_null(A); "/b" = is_null(B);
Pan
1
aka7/pan
panc/src/test/pan/Functionality/variable/variable16.pan
[ "Apache-2.0" ]
# Copyright 2020 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. # ============================================================================== """Tests for where op.""" # pylint: disable=g-direct-tensorflow-import from tensorflow.compiler.tests import xla_test from tensorflow.python.framework import dtypes from tensorflow.python.ops import array_ops from tensorflow.python.ops import math_ops from tensorflow.python.platform import test # pylint: enable=g-direct-tensorflow-import class WhereOpTest(xla_test.XLATestCase): def testWhere(self): """Test first form of where (return indices).""" with self.session() as sess: with self.test_scope(): x = array_ops.placeholder(dtypes.bool) true_vals = array_ops.where(x) # Output of the computation is dynamic. feed = [[True, False, False], [False, True, True]] self.assertAllEqual([[0, 0], [1, 1], [1, 2]], sess.run(true_vals, {x: feed})) def testWhereGather(self): """Test where followed by a gather.""" with self.session() as sess: with self.test_scope(): x = array_ops.placeholder(dtypes.bool) value = array_ops.constant([[0, 1], [2, 3]], dtypes.float32) true_vals = array_ops.where(x) # Gather 0, 2, 3. gathered = array_ops.gather_nd(value, true_vals) feed = [[True, False], [True, True]] self.assertAllEqual([0, 2, 3], sess.run(gathered, {x: feed})) def testWhereGatherReduce(self): """Test where followed by a gather and a reduce.""" with self.session() as sess: with self.test_scope(): x = array_ops.placeholder(dtypes.bool) value = array_ops.constant([[0, 1], [2, 3]], dtypes.float32) indices = array_ops.where(x) # Reduce to 5 gathered = array_ops.gather_nd(value, indices) reduction = math_ops.reduce_sum(gathered) feed = [[True, False], [True, True]] self.assertAllEqual(5, sess.run(reduction, {x: feed})) def testWhere1D(self): """Test first form of where (return indices).""" with self.session() as sess: with self.test_scope(): x = array_ops.placeholder(dtypes.bool) result = array_ops.where(x) # Output of the computation is dynamic. feed = [True, False, True] self.assertAllEqual([[0], [2]], sess.run(result, {x: feed})) if __name__ == "__main__": test.main()
Python
4
KosingZhu/tensorflow
tensorflow/compiler/tests/where_op_test.py
[ "Apache-2.0" ]
#!/usr/bin/env zsh ### SDKMAN Autocomplete for Oh My Zsh _sdk() { case "${CURRENT}" in 2) compadd -X $'Commands:\n' -- "${${(Mk)functions[@]:#__sdk_*}[@]#__sdk_}" compadd -n rm ;; 3) case "${words[2]}" in l|ls|list|i|install) compadd -X $'Candidates:\n' -- "${SDKMAN_CANDIDATES[@]}" ;; ug|upgrade|h|home|c|current|u|use|d|default|rm|uninstall) compadd -X $'Installed Candidates:\n' -- "${${(u)${(f)$(find -L -- "${SDKMAN_CANDIDATES_DIR}" -mindepth 2 -maxdepth 2 -type d)}[@]:h}[@]:t}" ;; e|env) compadd init ;; offline) compadd enable disable ;; selfupdate) compadd force ;; flush) compadd archives broadcast temp version ;; esac ;; 4) case "${words[2]}" in i|install) setopt localoptions kshglob if [[ "${words[3]}" == 'java' ]]; then compadd -X $'Installable Versions of java:\n' -- "${${${${${(f)$(__sdkman_list_versions "${words[3]}")}[@]:5:-4}[@]:#* | (local only|installed ) | *}[@]##* | | }[@]%%+( )}" else compadd -X "Installable Versions of ${words[3]}:"$'\n' -- "${${(z)${(M)${(f)${$(__sdkman_list_versions "${words[3]}")//[*+>]+( )/-}}[@]:# *}[@]}[@]:#-*}" fi ;; h|home|u|use|d|default|rm|uninstall) compadd -X "Installed Versions of ${words[3]}:"$'\n' -- "${${(f)$(find -L -- "${SDKMAN_CANDIDATES_DIR}/${words[3]}" -mindepth 1 -maxdepth 1 -type d -not -name 'current')}[@]:t}" ;; esac ;; 5) case "${words[2]}" in i|install) _files -X "Path to Local Installation of ${words[3]} ${words[4]}:"$'\n' -/ ;; esac ;; esac } compdef _sdk sdk
Shell
4
chensanle/ohmyzsh
plugins/sdk/sdk.plugin.zsh
[ "MIT" ]
-- ============================================================== -- RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL -- Version: 2020.2 -- Copyright (C) 1986-2020 Xilinx, Inc. All Rights Reserved. -- -- =========================================================== library IEEE; use IEEE.std_logic_1164.all; use IEEE.numeric_std.all; entity Core_Process is port ( ap_clk : IN STD_LOGIC; ap_rst : IN STD_LOGIC; imgblock_0_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); row : IN STD_LOGIC_VECTOR (15 downto 0); col : IN STD_LOGIC_VECTOR (15 downto 0); loop_r : IN STD_LOGIC_VECTOR (3 downto 0); ap_return_0 : OUT STD_LOGIC_VECTOR (31 downto 0); ap_return_1 : OUT STD_LOGIC_VECTOR (31 downto 0); ap_return_2 : OUT STD_LOGIC_VECTOR (31 downto 0); ap_ce : IN STD_LOGIC ); end; architecture behav of Core_Process is constant ap_const_logic_1 : STD_LOGIC := '1'; constant ap_const_logic_0 : STD_LOGIC := '0'; constant ap_const_boolean_1 : BOOLEAN := true; constant ap_const_boolean_0 : BOOLEAN := false; constant ap_const_lv1_0 : STD_LOGIC_VECTOR (0 downto 0) := "0"; constant ap_const_lv1_1 : STD_LOGIC_VECTOR (0 downto 0) := "1"; constant ap_const_lv3_2 : STD_LOGIC_VECTOR (2 downto 0) := "010"; signal grp_g_kernel_fu_800_ap_return : STD_LOGIC_VECTOR (13 downto 0); signal reg_905 : STD_LOGIC_VECTOR (13 downto 0); signal ap_block_state1_pp0_stage0_iter0 : BOOLEAN; signal ap_block_state2_pp0_stage0_iter1 : BOOLEAN; signal ap_block_state3_pp0_stage0_iter2 : BOOLEAN; signal ap_block_state4_pp0_stage0_iter3 : BOOLEAN; signal ap_block_state5_pp0_stage0_iter4 : BOOLEAN; signal ap_block_pp0_stage0_11001 : BOOLEAN; signal trunc_ln123_reg_1555 : STD_LOGIC_VECTOR (0 downto 0); signal trunc_ln123_reg_1555_pp0_iter2_reg : STD_LOGIC_VECTOR (0 downto 0); signal trunc_ln124_reg_1559 : STD_LOGIC_VECTOR (0 downto 0); signal trunc_ln124_reg_1559_pp0_iter2_reg : STD_LOGIC_VECTOR (0 downto 0); signal grp_rgb_bgr_kernel_fu_483_ap_return : STD_LOGIC_VECTOR (13 downto 0); signal grp_rgr_bgb_kernel_fu_588_ap_return : STD_LOGIC_VECTOR (13 downto 0); signal trunc_ln123_fu_923_p1 : STD_LOGIC_VECTOR (0 downto 0); signal trunc_ln123_reg_1555_pp0_iter1_reg : STD_LOGIC_VECTOR (0 downto 0); signal trunc_ln123_reg_1555_pp0_iter3_reg : STD_LOGIC_VECTOR (0 downto 0); signal trunc_ln124_fu_927_p1 : STD_LOGIC_VECTOR (0 downto 0); signal trunc_ln124_reg_1559_pp0_iter1_reg : STD_LOGIC_VECTOR (0 downto 0); signal trunc_ln124_reg_1559_pp0_iter3_reg : STD_LOGIC_VECTOR (0 downto 0); signal trunc_ln129_fu_931_p1 : STD_LOGIC_VECTOR (1 downto 0); signal tmp_80_fu_953_p12 : STD_LOGIC_VECTOR (9 downto 0); signal tmp_80_reg_1571 : STD_LOGIC_VECTOR (9 downto 0); signal tmp_80_reg_1571_pp0_iter1_reg : STD_LOGIC_VECTOR (9 downto 0); signal tmp_80_reg_1571_pp0_iter2_reg : STD_LOGIC_VECTOR (9 downto 0); signal tmp_80_reg_1571_pp0_iter3_reg : STD_LOGIC_VECTOR (9 downto 0); signal tmp_79_fu_993_p12 : STD_LOGIC_VECTOR (9 downto 0); signal tmp_79_reg_1576 : STD_LOGIC_VECTOR (9 downto 0); signal tmp_79_reg_1576_pp0_iter1_reg : STD_LOGIC_VECTOR (9 downto 0); signal tmp_79_reg_1576_pp0_iter2_reg : STD_LOGIC_VECTOR (9 downto 0); signal trunc_ln135_fu_1019_p1 : STD_LOGIC_VECTOR (1 downto 0); signal tmp_78_fu_1039_p12 : STD_LOGIC_VECTOR (9 downto 0); signal tmp_78_reg_1587 : STD_LOGIC_VECTOR (9 downto 0); signal tmp_78_reg_1587_pp0_iter1_reg : STD_LOGIC_VECTOR (9 downto 0); signal tmp_78_reg_1587_pp0_iter2_reg : STD_LOGIC_VECTOR (9 downto 0); signal tmp_77_fu_1079_p12 : STD_LOGIC_VECTOR (9 downto 0); signal tmp_77_reg_1592 : STD_LOGIC_VECTOR (9 downto 0); signal tmp_77_reg_1592_pp0_iter1_reg : STD_LOGIC_VECTOR (9 downto 0); signal tmp_77_reg_1592_pp0_iter2_reg : STD_LOGIC_VECTOR (9 downto 0); signal tmp_77_reg_1592_pp0_iter3_reg : STD_LOGIC_VECTOR (9 downto 0); signal trunc_ln140_fu_1105_p1 : STD_LOGIC_VECTOR (1 downto 0); signal zext_ln131_fu_1111_p1 : STD_LOGIC_VECTOR (13 downto 0); signal zext_ln137_fu_1114_p1 : STD_LOGIC_VECTOR (13 downto 0); signal grp_rgb_bgr_kernel_fu_483_loop_r : STD_LOGIC_VECTOR (1 downto 0); signal grp_rgb_bgr_kernel_fu_483_ap_ce : STD_LOGIC; signal ap_predicate_op70_call_state1 : BOOLEAN; signal ap_predicate_op83_call_state1 : BOOLEAN; signal ap_block_state1_pp0_stage0_iter0_ignore_call0 : BOOLEAN; signal ap_block_state2_pp0_stage0_iter1_ignore_call0 : BOOLEAN; signal ap_block_state3_pp0_stage0_iter2_ignore_call0 : BOOLEAN; signal ap_block_state4_pp0_stage0_iter3_ignore_call0 : BOOLEAN; signal ap_block_state5_pp0_stage0_iter4_ignore_call0 : BOOLEAN; signal ap_block_pp0_stage0_11001_ignoreCallOp70 : BOOLEAN; signal grp_rgr_bgb_kernel_fu_588_loop_r : STD_LOGIC_VECTOR (1 downto 0); signal grp_rgr_bgb_kernel_fu_588_ap_ce : STD_LOGIC; signal ap_predicate_op75_call_state1 : BOOLEAN; signal ap_predicate_op78_call_state1 : BOOLEAN; signal ap_block_state1_pp0_stage0_iter0_ignore_call6 : BOOLEAN; signal ap_block_state2_pp0_stage0_iter1_ignore_call6 : BOOLEAN; signal ap_block_state3_pp0_stage0_iter2_ignore_call6 : BOOLEAN; signal ap_block_state4_pp0_stage0_iter3_ignore_call6 : BOOLEAN; signal ap_block_state5_pp0_stage0_iter4_ignore_call6 : BOOLEAN; signal ap_block_pp0_stage0_11001_ignoreCallOp75 : BOOLEAN; signal grp_rb_kernel_fu_693_loop_r : STD_LOGIC_VECTOR (1 downto 0); signal grp_rb_kernel_fu_693_ap_return : STD_LOGIC_VECTOR (13 downto 0); signal grp_rb_kernel_fu_693_ap_ce : STD_LOGIC; signal ap_predicate_op64_call_state1 : BOOLEAN; signal ap_predicate_op90_call_state1 : BOOLEAN; signal ap_block_pp0_stage0_11001_ignoreCallOp64 : BOOLEAN; signal grp_g_kernel_fu_800_loop_r : STD_LOGIC_VECTOR (1 downto 0); signal grp_g_kernel_fu_800_ap_ce : STD_LOGIC; signal ap_predicate_op65_call_state1 : BOOLEAN; signal ap_predicate_op89_call_state1 : BOOLEAN; signal ap_block_state1_pp0_stage0_iter0_ignore_call1 : BOOLEAN; signal ap_block_state2_pp0_stage0_iter1_ignore_call1 : BOOLEAN; signal ap_block_state3_pp0_stage0_iter2_ignore_call1 : BOOLEAN; signal ap_block_state4_pp0_stage0_iter3_ignore_call1 : BOOLEAN; signal ap_block_state5_pp0_stage0_iter4_ignore_call1 : BOOLEAN; signal ap_block_pp0_stage0_11001_ignoreCallOp65 : BOOLEAN; signal ap_phi_mux_g_write_assign_phi_fu_447_p8 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter4_g_write_assign_reg_444 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter0_g_write_assign_reg_444 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter1_g_write_assign_reg_444 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter2_g_write_assign_reg_444 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter3_g_write_assign_reg_444 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_mux_b_write_assign_phi_fu_460_p8 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter4_b_write_assign_reg_457 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter0_b_write_assign_reg_457 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter1_b_write_assign_reg_457 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter2_b_write_assign_reg_457 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter3_b_write_assign_reg_457 : STD_LOGIC_VECTOR (13 downto 0); signal zext_ln140_fu_1121_p1 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_mux_r_write_assign_phi_fu_473_p8 : STD_LOGIC_VECTOR (13 downto 0); signal zext_ln128_fu_1117_p1 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter4_r_write_assign_reg_470 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter0_r_write_assign_reg_470 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter1_r_write_assign_reg_470 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter2_r_write_assign_reg_470 : STD_LOGIC_VECTOR (13 downto 0); signal ap_phi_reg_pp0_iter3_r_write_assign_reg_470 : STD_LOGIC_VECTOR (13 downto 0); signal ap_block_pp0_stage0 : BOOLEAN; signal trunc_ln544_3_fu_939_p1 : STD_LOGIC_VECTOR (2 downto 0); signal add_ln544_fu_943_p2 : STD_LOGIC_VECTOR (2 downto 0); signal tmp_80_fu_953_p11 : STD_LOGIC_VECTOR (3 downto 0); signal trunc_ln544_2_fu_979_p1 : STD_LOGIC_VECTOR (2 downto 0); signal add_ln544_1_fu_983_p2 : STD_LOGIC_VECTOR (2 downto 0); signal tmp_79_fu_993_p11 : STD_LOGIC_VECTOR (3 downto 0); signal trunc_ln544_1_fu_1025_p1 : STD_LOGIC_VECTOR (2 downto 0); signal add_ln544_2_fu_1029_p2 : STD_LOGIC_VECTOR (2 downto 0); signal tmp_78_fu_1039_p11 : STD_LOGIC_VECTOR (3 downto 0); signal trunc_ln544_fu_1065_p1 : STD_LOGIC_VECTOR (2 downto 0); signal add_ln544_3_fu_1069_p2 : STD_LOGIC_VECTOR (2 downto 0); signal tmp_77_fu_1079_p11 : STD_LOGIC_VECTOR (3 downto 0); signal sext_ln121_1_fu_1129_p1 : STD_LOGIC_VECTOR (31 downto 0); signal sext_ln121_fu_1125_p1 : STD_LOGIC_VECTOR (31 downto 0); signal sext_ln121_2_fu_1133_p1 : STD_LOGIC_VECTOR (31 downto 0); signal ap_ce_reg : STD_LOGIC; signal imgblock_0_0_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_0_1_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_0_2_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_0_3_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_0_4_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_0_5_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_0_6_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_0_7_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_0_8_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_0_9_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_0_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_1_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_2_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_3_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_4_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_5_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_6_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_7_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_8_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_1_9_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_0_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_1_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_2_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_3_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_4_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_5_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_6_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_7_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_8_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_2_9_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_0_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_1_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_2_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_3_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_4_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_5_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_6_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_7_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_8_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_3_9_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_0_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_1_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_2_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_3_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_4_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_5_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_6_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_7_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_8_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal imgblock_4_9_V_read_int_reg : STD_LOGIC_VECTOR (9 downto 0); signal row_int_reg : STD_LOGIC_VECTOR (15 downto 0); signal col_int_reg : STD_LOGIC_VECTOR (15 downto 0); signal loop_r_int_reg : STD_LOGIC_VECTOR (3 downto 0); signal ap_return_0_int_reg : STD_LOGIC_VECTOR (31 downto 0); signal ap_return_1_int_reg : STD_LOGIC_VECTOR (31 downto 0); signal ap_return_2_int_reg : STD_LOGIC_VECTOR (31 downto 0); component rgb_bgr_kernel IS port ( ap_clk : IN STD_LOGIC; ap_rst : IN STD_LOGIC; imgblock_0_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); loop_r : IN STD_LOGIC_VECTOR (1 downto 0); ap_return : OUT STD_LOGIC_VECTOR (13 downto 0); ap_ce : IN STD_LOGIC ); end component; component rgr_bgb_kernel IS port ( ap_clk : IN STD_LOGIC; ap_rst : IN STD_LOGIC; imgblock_0_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); loop_r : IN STD_LOGIC_VECTOR (1 downto 0); ap_return : OUT STD_LOGIC_VECTOR (13 downto 0); ap_ce : IN STD_LOGIC ); end component; component rb_kernel IS port ( ap_clk : IN STD_LOGIC; ap_rst : IN STD_LOGIC; imgblock_0_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); loop_r : IN STD_LOGIC_VECTOR (1 downto 0); ap_return : OUT STD_LOGIC_VECTOR (13 downto 0); ap_ce : IN STD_LOGIC ); end component; component g_kernel IS port ( ap_clk : IN STD_LOGIC; ap_rst : IN STD_LOGIC; imgblock_0_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_0_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_1_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_2_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_3_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_0_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_1_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_2_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_3_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_4_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_5_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_6_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_7_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_8_V_read : IN STD_LOGIC_VECTOR (9 downto 0); imgblock_4_9_V_read : IN STD_LOGIC_VECTOR (9 downto 0); loop_r : IN STD_LOGIC_VECTOR (1 downto 0); ap_return : OUT STD_LOGIC_VECTOR (13 downto 0); ap_ce : IN STD_LOGIC ); end component; component ISPPipeline_accelkbM IS generic ( ID : INTEGER; NUM_STAGE : INTEGER; din0_WIDTH : INTEGER; din1_WIDTH : INTEGER; din2_WIDTH : INTEGER; din3_WIDTH : INTEGER; din4_WIDTH : INTEGER; din5_WIDTH : INTEGER; din6_WIDTH : INTEGER; din7_WIDTH : INTEGER; din8_WIDTH : INTEGER; din9_WIDTH : INTEGER; din10_WIDTH : INTEGER; dout_WIDTH : INTEGER ); port ( din0 : IN STD_LOGIC_VECTOR (9 downto 0); din1 : IN STD_LOGIC_VECTOR (9 downto 0); din2 : IN STD_LOGIC_VECTOR (9 downto 0); din3 : IN STD_LOGIC_VECTOR (9 downto 0); din4 : IN STD_LOGIC_VECTOR (9 downto 0); din5 : IN STD_LOGIC_VECTOR (9 downto 0); din6 : IN STD_LOGIC_VECTOR (9 downto 0); din7 : IN STD_LOGIC_VECTOR (9 downto 0); din8 : IN STD_LOGIC_VECTOR (9 downto 0); din9 : IN STD_LOGIC_VECTOR (9 downto 0); din10 : IN STD_LOGIC_VECTOR (3 downto 0); dout : OUT STD_LOGIC_VECTOR (9 downto 0) ); end component; begin grp_rgb_bgr_kernel_fu_483 : component rgb_bgr_kernel port map ( ap_clk => ap_clk, ap_rst => ap_rst, imgblock_0_0_V_read => imgblock_0_0_V_read_int_reg, imgblock_0_1_V_read => imgblock_0_1_V_read_int_reg, imgblock_0_2_V_read => imgblock_0_2_V_read_int_reg, imgblock_0_3_V_read => imgblock_0_3_V_read_int_reg, imgblock_0_4_V_read => imgblock_0_4_V_read_int_reg, imgblock_0_5_V_read => imgblock_0_5_V_read_int_reg, imgblock_0_6_V_read => imgblock_0_6_V_read_int_reg, imgblock_0_7_V_read => imgblock_0_7_V_read_int_reg, imgblock_0_8_V_read => imgblock_0_8_V_read_int_reg, imgblock_0_9_V_read => imgblock_0_9_V_read_int_reg, imgblock_1_0_V_read => imgblock_1_0_V_read_int_reg, imgblock_1_1_V_read => imgblock_1_1_V_read_int_reg, imgblock_1_2_V_read => imgblock_1_2_V_read_int_reg, imgblock_1_3_V_read => imgblock_1_3_V_read_int_reg, imgblock_1_4_V_read => imgblock_1_4_V_read_int_reg, imgblock_1_5_V_read => imgblock_1_5_V_read_int_reg, imgblock_1_6_V_read => imgblock_1_6_V_read_int_reg, imgblock_1_7_V_read => imgblock_1_7_V_read_int_reg, imgblock_1_8_V_read => imgblock_1_8_V_read_int_reg, imgblock_1_9_V_read => imgblock_1_9_V_read_int_reg, imgblock_2_0_V_read => imgblock_2_0_V_read_int_reg, imgblock_2_1_V_read => imgblock_2_1_V_read_int_reg, imgblock_2_2_V_read => imgblock_2_2_V_read_int_reg, imgblock_2_3_V_read => imgblock_2_3_V_read_int_reg, imgblock_2_4_V_read => imgblock_2_4_V_read_int_reg, imgblock_2_5_V_read => imgblock_2_5_V_read_int_reg, imgblock_2_6_V_read => imgblock_2_6_V_read_int_reg, imgblock_2_7_V_read => imgblock_2_7_V_read_int_reg, imgblock_2_8_V_read => imgblock_2_8_V_read_int_reg, imgblock_2_9_V_read => imgblock_2_9_V_read_int_reg, imgblock_3_0_V_read => imgblock_3_0_V_read_int_reg, imgblock_3_1_V_read => imgblock_3_1_V_read_int_reg, imgblock_3_2_V_read => imgblock_3_2_V_read_int_reg, imgblock_3_3_V_read => imgblock_3_3_V_read_int_reg, imgblock_3_4_V_read => imgblock_3_4_V_read_int_reg, imgblock_3_5_V_read => imgblock_3_5_V_read_int_reg, imgblock_3_6_V_read => imgblock_3_6_V_read_int_reg, imgblock_3_7_V_read => imgblock_3_7_V_read_int_reg, imgblock_3_8_V_read => imgblock_3_8_V_read_int_reg, imgblock_3_9_V_read => imgblock_3_9_V_read_int_reg, imgblock_4_0_V_read => imgblock_4_0_V_read_int_reg, imgblock_4_1_V_read => imgblock_4_1_V_read_int_reg, imgblock_4_2_V_read => imgblock_4_2_V_read_int_reg, imgblock_4_3_V_read => imgblock_4_3_V_read_int_reg, imgblock_4_4_V_read => imgblock_4_4_V_read_int_reg, imgblock_4_5_V_read => imgblock_4_5_V_read_int_reg, imgblock_4_6_V_read => imgblock_4_6_V_read_int_reg, imgblock_4_7_V_read => imgblock_4_7_V_read_int_reg, imgblock_4_8_V_read => imgblock_4_8_V_read_int_reg, imgblock_4_9_V_read => imgblock_4_9_V_read_int_reg, loop_r => grp_rgb_bgr_kernel_fu_483_loop_r, ap_return => grp_rgb_bgr_kernel_fu_483_ap_return, ap_ce => grp_rgb_bgr_kernel_fu_483_ap_ce); grp_rgr_bgb_kernel_fu_588 : component rgr_bgb_kernel port map ( ap_clk => ap_clk, ap_rst => ap_rst, imgblock_0_0_V_read => imgblock_0_0_V_read_int_reg, imgblock_0_1_V_read => imgblock_0_1_V_read_int_reg, imgblock_0_2_V_read => imgblock_0_2_V_read_int_reg, imgblock_0_3_V_read => imgblock_0_3_V_read_int_reg, imgblock_0_4_V_read => imgblock_0_4_V_read_int_reg, imgblock_0_5_V_read => imgblock_0_5_V_read_int_reg, imgblock_0_6_V_read => imgblock_0_6_V_read_int_reg, imgblock_0_7_V_read => imgblock_0_7_V_read_int_reg, imgblock_0_8_V_read => imgblock_0_8_V_read_int_reg, imgblock_0_9_V_read => imgblock_0_9_V_read_int_reg, imgblock_1_0_V_read => imgblock_1_0_V_read_int_reg, imgblock_1_1_V_read => imgblock_1_1_V_read_int_reg, imgblock_1_2_V_read => imgblock_1_2_V_read_int_reg, imgblock_1_3_V_read => imgblock_1_3_V_read_int_reg, imgblock_1_4_V_read => imgblock_1_4_V_read_int_reg, imgblock_1_5_V_read => imgblock_1_5_V_read_int_reg, imgblock_1_6_V_read => imgblock_1_6_V_read_int_reg, imgblock_1_7_V_read => imgblock_1_7_V_read_int_reg, imgblock_1_8_V_read => imgblock_1_8_V_read_int_reg, imgblock_1_9_V_read => imgblock_1_9_V_read_int_reg, imgblock_2_0_V_read => imgblock_2_0_V_read_int_reg, imgblock_2_1_V_read => imgblock_2_1_V_read_int_reg, imgblock_2_2_V_read => imgblock_2_2_V_read_int_reg, imgblock_2_3_V_read => imgblock_2_3_V_read_int_reg, imgblock_2_4_V_read => imgblock_2_4_V_read_int_reg, imgblock_2_5_V_read => imgblock_2_5_V_read_int_reg, imgblock_2_6_V_read => imgblock_2_6_V_read_int_reg, imgblock_2_7_V_read => imgblock_2_7_V_read_int_reg, imgblock_2_8_V_read => imgblock_2_8_V_read_int_reg, imgblock_2_9_V_read => imgblock_2_9_V_read_int_reg, imgblock_3_0_V_read => imgblock_3_0_V_read_int_reg, imgblock_3_1_V_read => imgblock_3_1_V_read_int_reg, imgblock_3_2_V_read => imgblock_3_2_V_read_int_reg, imgblock_3_3_V_read => imgblock_3_3_V_read_int_reg, imgblock_3_4_V_read => imgblock_3_4_V_read_int_reg, imgblock_3_5_V_read => imgblock_3_5_V_read_int_reg, imgblock_3_6_V_read => imgblock_3_6_V_read_int_reg, imgblock_3_7_V_read => imgblock_3_7_V_read_int_reg, imgblock_3_8_V_read => imgblock_3_8_V_read_int_reg, imgblock_3_9_V_read => imgblock_3_9_V_read_int_reg, imgblock_4_0_V_read => imgblock_4_0_V_read_int_reg, imgblock_4_1_V_read => imgblock_4_1_V_read_int_reg, imgblock_4_2_V_read => imgblock_4_2_V_read_int_reg, imgblock_4_3_V_read => imgblock_4_3_V_read_int_reg, imgblock_4_4_V_read => imgblock_4_4_V_read_int_reg, imgblock_4_5_V_read => imgblock_4_5_V_read_int_reg, imgblock_4_6_V_read => imgblock_4_6_V_read_int_reg, imgblock_4_7_V_read => imgblock_4_7_V_read_int_reg, imgblock_4_8_V_read => imgblock_4_8_V_read_int_reg, imgblock_4_9_V_read => imgblock_4_9_V_read_int_reg, loop_r => grp_rgr_bgb_kernel_fu_588_loop_r, ap_return => grp_rgr_bgb_kernel_fu_588_ap_return, ap_ce => grp_rgr_bgb_kernel_fu_588_ap_ce); grp_rb_kernel_fu_693 : component rb_kernel port map ( ap_clk => ap_clk, ap_rst => ap_rst, imgblock_0_0_V_read => imgblock_0_0_V_read_int_reg, imgblock_0_1_V_read => imgblock_0_1_V_read_int_reg, imgblock_0_2_V_read => imgblock_0_2_V_read_int_reg, imgblock_0_3_V_read => imgblock_0_3_V_read_int_reg, imgblock_0_4_V_read => imgblock_0_4_V_read_int_reg, imgblock_0_5_V_read => imgblock_0_5_V_read_int_reg, imgblock_0_6_V_read => imgblock_0_6_V_read_int_reg, imgblock_0_7_V_read => imgblock_0_7_V_read_int_reg, imgblock_0_8_V_read => imgblock_0_8_V_read_int_reg, imgblock_0_9_V_read => imgblock_0_9_V_read_int_reg, imgblock_1_0_V_read => imgblock_1_0_V_read_int_reg, imgblock_1_1_V_read => imgblock_1_1_V_read_int_reg, imgblock_1_2_V_read => imgblock_1_2_V_read_int_reg, imgblock_1_3_V_read => imgblock_1_3_V_read_int_reg, imgblock_1_4_V_read => imgblock_1_4_V_read_int_reg, imgblock_1_5_V_read => imgblock_1_5_V_read_int_reg, imgblock_1_6_V_read => imgblock_1_6_V_read_int_reg, imgblock_1_7_V_read => imgblock_1_7_V_read_int_reg, imgblock_1_8_V_read => imgblock_1_8_V_read_int_reg, imgblock_1_9_V_read => imgblock_1_9_V_read_int_reg, imgblock_2_0_V_read => imgblock_2_0_V_read_int_reg, imgblock_2_1_V_read => imgblock_2_1_V_read_int_reg, imgblock_2_2_V_read => imgblock_2_2_V_read_int_reg, imgblock_2_3_V_read => imgblock_2_3_V_read_int_reg, imgblock_2_4_V_read => imgblock_2_4_V_read_int_reg, imgblock_2_5_V_read => imgblock_2_5_V_read_int_reg, imgblock_2_6_V_read => imgblock_2_6_V_read_int_reg, imgblock_2_7_V_read => imgblock_2_7_V_read_int_reg, imgblock_2_8_V_read => imgblock_2_8_V_read_int_reg, imgblock_2_9_V_read => imgblock_2_9_V_read_int_reg, imgblock_3_0_V_read => imgblock_3_0_V_read_int_reg, imgblock_3_1_V_read => imgblock_3_1_V_read_int_reg, imgblock_3_2_V_read => imgblock_3_2_V_read_int_reg, imgblock_3_3_V_read => imgblock_3_3_V_read_int_reg, imgblock_3_4_V_read => imgblock_3_4_V_read_int_reg, imgblock_3_5_V_read => imgblock_3_5_V_read_int_reg, imgblock_3_6_V_read => imgblock_3_6_V_read_int_reg, imgblock_3_7_V_read => imgblock_3_7_V_read_int_reg, imgblock_3_8_V_read => imgblock_3_8_V_read_int_reg, imgblock_3_9_V_read => imgblock_3_9_V_read_int_reg, imgblock_4_0_V_read => imgblock_4_0_V_read_int_reg, imgblock_4_1_V_read => imgblock_4_1_V_read_int_reg, imgblock_4_2_V_read => imgblock_4_2_V_read_int_reg, imgblock_4_3_V_read => imgblock_4_3_V_read_int_reg, imgblock_4_4_V_read => imgblock_4_4_V_read_int_reg, imgblock_4_5_V_read => imgblock_4_5_V_read_int_reg, imgblock_4_6_V_read => imgblock_4_6_V_read_int_reg, imgblock_4_7_V_read => imgblock_4_7_V_read_int_reg, imgblock_4_8_V_read => imgblock_4_8_V_read_int_reg, imgblock_4_9_V_read => imgblock_4_9_V_read_int_reg, loop_r => grp_rb_kernel_fu_693_loop_r, ap_return => grp_rb_kernel_fu_693_ap_return, ap_ce => grp_rb_kernel_fu_693_ap_ce); grp_g_kernel_fu_800 : component g_kernel port map ( ap_clk => ap_clk, ap_rst => ap_rst, imgblock_0_0_V_read => imgblock_0_0_V_read_int_reg, imgblock_0_1_V_read => imgblock_0_1_V_read_int_reg, imgblock_0_2_V_read => imgblock_0_2_V_read_int_reg, imgblock_0_3_V_read => imgblock_0_3_V_read_int_reg, imgblock_0_4_V_read => imgblock_0_4_V_read_int_reg, imgblock_0_5_V_read => imgblock_0_5_V_read_int_reg, imgblock_0_6_V_read => imgblock_0_6_V_read_int_reg, imgblock_0_7_V_read => imgblock_0_7_V_read_int_reg, imgblock_0_8_V_read => imgblock_0_8_V_read_int_reg, imgblock_0_9_V_read => imgblock_0_9_V_read_int_reg, imgblock_1_0_V_read => imgblock_1_0_V_read_int_reg, imgblock_1_1_V_read => imgblock_1_1_V_read_int_reg, imgblock_1_2_V_read => imgblock_1_2_V_read_int_reg, imgblock_1_3_V_read => imgblock_1_3_V_read_int_reg, imgblock_1_4_V_read => imgblock_1_4_V_read_int_reg, imgblock_1_5_V_read => imgblock_1_5_V_read_int_reg, imgblock_1_6_V_read => imgblock_1_6_V_read_int_reg, imgblock_1_7_V_read => imgblock_1_7_V_read_int_reg, imgblock_1_8_V_read => imgblock_1_8_V_read_int_reg, imgblock_1_9_V_read => imgblock_1_9_V_read_int_reg, imgblock_2_0_V_read => imgblock_2_0_V_read_int_reg, imgblock_2_1_V_read => imgblock_2_1_V_read_int_reg, imgblock_2_2_V_read => imgblock_2_2_V_read_int_reg, imgblock_2_3_V_read => imgblock_2_3_V_read_int_reg, imgblock_2_4_V_read => imgblock_2_4_V_read_int_reg, imgblock_2_5_V_read => imgblock_2_5_V_read_int_reg, imgblock_2_6_V_read => imgblock_2_6_V_read_int_reg, imgblock_2_7_V_read => imgblock_2_7_V_read_int_reg, imgblock_2_8_V_read => imgblock_2_8_V_read_int_reg, imgblock_2_9_V_read => imgblock_2_9_V_read_int_reg, imgblock_3_0_V_read => imgblock_3_0_V_read_int_reg, imgblock_3_1_V_read => imgblock_3_1_V_read_int_reg, imgblock_3_2_V_read => imgblock_3_2_V_read_int_reg, imgblock_3_3_V_read => imgblock_3_3_V_read_int_reg, imgblock_3_4_V_read => imgblock_3_4_V_read_int_reg, imgblock_3_5_V_read => imgblock_3_5_V_read_int_reg, imgblock_3_6_V_read => imgblock_3_6_V_read_int_reg, imgblock_3_7_V_read => imgblock_3_7_V_read_int_reg, imgblock_3_8_V_read => imgblock_3_8_V_read_int_reg, imgblock_3_9_V_read => imgblock_3_9_V_read_int_reg, imgblock_4_0_V_read => imgblock_4_0_V_read_int_reg, imgblock_4_1_V_read => imgblock_4_1_V_read_int_reg, imgblock_4_2_V_read => imgblock_4_2_V_read_int_reg, imgblock_4_3_V_read => imgblock_4_3_V_read_int_reg, imgblock_4_4_V_read => imgblock_4_4_V_read_int_reg, imgblock_4_5_V_read => imgblock_4_5_V_read_int_reg, imgblock_4_6_V_read => imgblock_4_6_V_read_int_reg, imgblock_4_7_V_read => imgblock_4_7_V_read_int_reg, imgblock_4_8_V_read => imgblock_4_8_V_read_int_reg, imgblock_4_9_V_read => imgblock_4_9_V_read_int_reg, loop_r => grp_g_kernel_fu_800_loop_r, ap_return => grp_g_kernel_fu_800_ap_return, ap_ce => grp_g_kernel_fu_800_ap_ce); ISPPipeline_accelkbM_U347 : component ISPPipeline_accelkbM generic map ( ID => 1, NUM_STAGE => 1, din0_WIDTH => 10, din1_WIDTH => 10, din2_WIDTH => 10, din3_WIDTH => 10, din4_WIDTH => 10, din5_WIDTH => 10, din6_WIDTH => 10, din7_WIDTH => 10, din8_WIDTH => 10, din9_WIDTH => 10, din10_WIDTH => 4, dout_WIDTH => 10) port map ( din0 => imgblock_2_0_V_read_int_reg, din1 => imgblock_2_1_V_read_int_reg, din2 => imgblock_2_2_V_read_int_reg, din3 => imgblock_2_3_V_read_int_reg, din4 => imgblock_2_4_V_read_int_reg, din5 => imgblock_2_5_V_read_int_reg, din6 => imgblock_2_6_V_read_int_reg, din7 => imgblock_2_7_V_read_int_reg, din8 => imgblock_2_8_V_read_int_reg, din9 => imgblock_2_9_V_read_int_reg, din10 => tmp_80_fu_953_p11, dout => tmp_80_fu_953_p12); ISPPipeline_accelkbM_U348 : component ISPPipeline_accelkbM generic map ( ID => 1, NUM_STAGE => 1, din0_WIDTH => 10, din1_WIDTH => 10, din2_WIDTH => 10, din3_WIDTH => 10, din4_WIDTH => 10, din5_WIDTH => 10, din6_WIDTH => 10, din7_WIDTH => 10, din8_WIDTH => 10, din9_WIDTH => 10, din10_WIDTH => 4, dout_WIDTH => 10) port map ( din0 => imgblock_2_0_V_read_int_reg, din1 => imgblock_2_1_V_read_int_reg, din2 => imgblock_2_2_V_read_int_reg, din3 => imgblock_2_3_V_read_int_reg, din4 => imgblock_2_4_V_read_int_reg, din5 => imgblock_2_5_V_read_int_reg, din6 => imgblock_2_6_V_read_int_reg, din7 => imgblock_2_7_V_read_int_reg, din8 => imgblock_2_8_V_read_int_reg, din9 => imgblock_2_9_V_read_int_reg, din10 => tmp_79_fu_993_p11, dout => tmp_79_fu_993_p12); ISPPipeline_accelkbM_U349 : component ISPPipeline_accelkbM generic map ( ID => 1, NUM_STAGE => 1, din0_WIDTH => 10, din1_WIDTH => 10, din2_WIDTH => 10, din3_WIDTH => 10, din4_WIDTH => 10, din5_WIDTH => 10, din6_WIDTH => 10, din7_WIDTH => 10, din8_WIDTH => 10, din9_WIDTH => 10, din10_WIDTH => 4, dout_WIDTH => 10) port map ( din0 => imgblock_2_0_V_read_int_reg, din1 => imgblock_2_1_V_read_int_reg, din2 => imgblock_2_2_V_read_int_reg, din3 => imgblock_2_3_V_read_int_reg, din4 => imgblock_2_4_V_read_int_reg, din5 => imgblock_2_5_V_read_int_reg, din6 => imgblock_2_6_V_read_int_reg, din7 => imgblock_2_7_V_read_int_reg, din8 => imgblock_2_8_V_read_int_reg, din9 => imgblock_2_9_V_read_int_reg, din10 => tmp_78_fu_1039_p11, dout => tmp_78_fu_1039_p12); ISPPipeline_accelkbM_U350 : component ISPPipeline_accelkbM generic map ( ID => 1, NUM_STAGE => 1, din0_WIDTH => 10, din1_WIDTH => 10, din2_WIDTH => 10, din3_WIDTH => 10, din4_WIDTH => 10, din5_WIDTH => 10, din6_WIDTH => 10, din7_WIDTH => 10, din8_WIDTH => 10, din9_WIDTH => 10, din10_WIDTH => 4, dout_WIDTH => 10) port map ( din0 => imgblock_2_0_V_read_int_reg, din1 => imgblock_2_1_V_read_int_reg, din2 => imgblock_2_2_V_read_int_reg, din3 => imgblock_2_3_V_read_int_reg, din4 => imgblock_2_4_V_read_int_reg, din5 => imgblock_2_5_V_read_int_reg, din6 => imgblock_2_6_V_read_int_reg, din7 => imgblock_2_7_V_read_int_reg, din8 => imgblock_2_8_V_read_int_reg, din9 => imgblock_2_9_V_read_int_reg, din10 => tmp_77_fu_1079_p11, dout => tmp_77_fu_1079_p12); ap_ce_reg_assign_proc : process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then ap_ce_reg <= ap_ce; end if; end process; ap_phi_reg_pp0_iter4_b_write_assign_reg_457_assign_proc : process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if (((ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg))) then if (((trunc_ln124_reg_1559_pp0_iter2_reg = ap_const_lv1_0) and (trunc_ln123_reg_1555_pp0_iter2_reg = ap_const_lv1_1))) then ap_phi_reg_pp0_iter4_b_write_assign_reg_457 <= grp_rgr_bgb_kernel_fu_588_ap_return; elsif (((trunc_ln124_reg_1559_pp0_iter2_reg = ap_const_lv1_1) and (trunc_ln123_reg_1555_pp0_iter2_reg = ap_const_lv1_0))) then ap_phi_reg_pp0_iter4_b_write_assign_reg_457 <= grp_rgb_bgr_kernel_fu_483_ap_return; elsif ((ap_const_boolean_1 = ap_const_boolean_1)) then ap_phi_reg_pp0_iter4_b_write_assign_reg_457 <= ap_phi_reg_pp0_iter3_b_write_assign_reg_457; end if; end if; end if; end process; ap_phi_reg_pp0_iter4_g_write_assign_reg_444_assign_proc : process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if (((ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg))) then if (((trunc_ln124_reg_1559_pp0_iter2_reg = ap_const_lv1_0) and (trunc_ln123_reg_1555_pp0_iter2_reg = ap_const_lv1_1))) then ap_phi_reg_pp0_iter4_g_write_assign_reg_444 <= zext_ln137_fu_1114_p1; elsif (((trunc_ln124_reg_1559_pp0_iter2_reg = ap_const_lv1_1) and (trunc_ln123_reg_1555_pp0_iter2_reg = ap_const_lv1_0))) then ap_phi_reg_pp0_iter4_g_write_assign_reg_444 <= zext_ln131_fu_1111_p1; elsif ((ap_const_boolean_1 = ap_const_boolean_1)) then ap_phi_reg_pp0_iter4_g_write_assign_reg_444 <= ap_phi_reg_pp0_iter3_g_write_assign_reg_444; end if; end if; end if; end process; ap_phi_reg_pp0_iter4_r_write_assign_reg_470_assign_proc : process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if (((ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg))) then if (((trunc_ln124_reg_1559_pp0_iter2_reg = ap_const_lv1_0) and (trunc_ln123_reg_1555_pp0_iter2_reg = ap_const_lv1_1))) then ap_phi_reg_pp0_iter4_r_write_assign_reg_470 <= grp_rgb_bgr_kernel_fu_483_ap_return; elsif (((trunc_ln124_reg_1559_pp0_iter2_reg = ap_const_lv1_1) and (trunc_ln123_reg_1555_pp0_iter2_reg = ap_const_lv1_0))) then ap_phi_reg_pp0_iter4_r_write_assign_reg_470 <= grp_rgr_bgb_kernel_fu_588_ap_return; elsif ((ap_const_boolean_1 = ap_const_boolean_1)) then ap_phi_reg_pp0_iter4_r_write_assign_reg_470 <= ap_phi_reg_pp0_iter3_r_write_assign_reg_470; end if; end if; end if; end process; process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if (((ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg))) then ap_phi_reg_pp0_iter1_b_write_assign_reg_457 <= ap_phi_reg_pp0_iter0_b_write_assign_reg_457; ap_phi_reg_pp0_iter1_g_write_assign_reg_444 <= ap_phi_reg_pp0_iter0_g_write_assign_reg_444; ap_phi_reg_pp0_iter1_r_write_assign_reg_470 <= ap_phi_reg_pp0_iter0_r_write_assign_reg_470; ap_phi_reg_pp0_iter2_b_write_assign_reg_457 <= ap_phi_reg_pp0_iter1_b_write_assign_reg_457; ap_phi_reg_pp0_iter2_g_write_assign_reg_444 <= ap_phi_reg_pp0_iter1_g_write_assign_reg_444; ap_phi_reg_pp0_iter2_r_write_assign_reg_470 <= ap_phi_reg_pp0_iter1_r_write_assign_reg_470; ap_phi_reg_pp0_iter3_b_write_assign_reg_457 <= ap_phi_reg_pp0_iter2_b_write_assign_reg_457; ap_phi_reg_pp0_iter3_g_write_assign_reg_444 <= ap_phi_reg_pp0_iter2_g_write_assign_reg_444; ap_phi_reg_pp0_iter3_r_write_assign_reg_470 <= ap_phi_reg_pp0_iter2_r_write_assign_reg_470; tmp_77_reg_1592_pp0_iter1_reg <= tmp_77_reg_1592; tmp_77_reg_1592_pp0_iter2_reg <= tmp_77_reg_1592_pp0_iter1_reg; tmp_77_reg_1592_pp0_iter3_reg <= tmp_77_reg_1592_pp0_iter2_reg; tmp_78_reg_1587_pp0_iter1_reg <= tmp_78_reg_1587; tmp_78_reg_1587_pp0_iter2_reg <= tmp_78_reg_1587_pp0_iter1_reg; tmp_79_reg_1576_pp0_iter1_reg <= tmp_79_reg_1576; tmp_79_reg_1576_pp0_iter2_reg <= tmp_79_reg_1576_pp0_iter1_reg; tmp_80_reg_1571_pp0_iter1_reg <= tmp_80_reg_1571; tmp_80_reg_1571_pp0_iter2_reg <= tmp_80_reg_1571_pp0_iter1_reg; tmp_80_reg_1571_pp0_iter3_reg <= tmp_80_reg_1571_pp0_iter2_reg; trunc_ln123_reg_1555 <= trunc_ln123_fu_923_p1; trunc_ln123_reg_1555_pp0_iter1_reg <= trunc_ln123_reg_1555; trunc_ln123_reg_1555_pp0_iter2_reg <= trunc_ln123_reg_1555_pp0_iter1_reg; trunc_ln123_reg_1555_pp0_iter3_reg <= trunc_ln123_reg_1555_pp0_iter2_reg; trunc_ln124_reg_1559 <= trunc_ln124_fu_927_p1; trunc_ln124_reg_1559_pp0_iter1_reg <= trunc_ln124_reg_1559; trunc_ln124_reg_1559_pp0_iter2_reg <= trunc_ln124_reg_1559_pp0_iter1_reg; trunc_ln124_reg_1559_pp0_iter3_reg <= trunc_ln124_reg_1559_pp0_iter2_reg; end if; end if; end process; process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if ((ap_const_logic_1 = ap_ce_reg)) then ap_return_0_int_reg <= sext_ln121_1_fu_1129_p1; ap_return_1_int_reg <= sext_ln121_fu_1125_p1; ap_return_2_int_reg <= sext_ln121_2_fu_1133_p1; end if; end if; end process; process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if ((ap_const_logic_1 = ap_ce)) then col_int_reg <= col; imgblock_0_0_V_read_int_reg <= imgblock_0_0_V_read; imgblock_0_1_V_read_int_reg <= imgblock_0_1_V_read; imgblock_0_2_V_read_int_reg <= imgblock_0_2_V_read; imgblock_0_3_V_read_int_reg <= imgblock_0_3_V_read; imgblock_0_4_V_read_int_reg <= imgblock_0_4_V_read; imgblock_0_5_V_read_int_reg <= imgblock_0_5_V_read; imgblock_0_6_V_read_int_reg <= imgblock_0_6_V_read; imgblock_0_7_V_read_int_reg <= imgblock_0_7_V_read; imgblock_0_8_V_read_int_reg <= imgblock_0_8_V_read; imgblock_0_9_V_read_int_reg <= imgblock_0_9_V_read; imgblock_1_0_V_read_int_reg <= imgblock_1_0_V_read; imgblock_1_1_V_read_int_reg <= imgblock_1_1_V_read; imgblock_1_2_V_read_int_reg <= imgblock_1_2_V_read; imgblock_1_3_V_read_int_reg <= imgblock_1_3_V_read; imgblock_1_4_V_read_int_reg <= imgblock_1_4_V_read; imgblock_1_5_V_read_int_reg <= imgblock_1_5_V_read; imgblock_1_6_V_read_int_reg <= imgblock_1_6_V_read; imgblock_1_7_V_read_int_reg <= imgblock_1_7_V_read; imgblock_1_8_V_read_int_reg <= imgblock_1_8_V_read; imgblock_1_9_V_read_int_reg <= imgblock_1_9_V_read; imgblock_2_0_V_read_int_reg <= imgblock_2_0_V_read; imgblock_2_1_V_read_int_reg <= imgblock_2_1_V_read; imgblock_2_2_V_read_int_reg <= imgblock_2_2_V_read; imgblock_2_3_V_read_int_reg <= imgblock_2_3_V_read; imgblock_2_4_V_read_int_reg <= imgblock_2_4_V_read; imgblock_2_5_V_read_int_reg <= imgblock_2_5_V_read; imgblock_2_6_V_read_int_reg <= imgblock_2_6_V_read; imgblock_2_7_V_read_int_reg <= imgblock_2_7_V_read; imgblock_2_8_V_read_int_reg <= imgblock_2_8_V_read; imgblock_2_9_V_read_int_reg <= imgblock_2_9_V_read; imgblock_3_0_V_read_int_reg <= imgblock_3_0_V_read; imgblock_3_1_V_read_int_reg <= imgblock_3_1_V_read; imgblock_3_2_V_read_int_reg <= imgblock_3_2_V_read; imgblock_3_3_V_read_int_reg <= imgblock_3_3_V_read; imgblock_3_4_V_read_int_reg <= imgblock_3_4_V_read; imgblock_3_5_V_read_int_reg <= imgblock_3_5_V_read; imgblock_3_6_V_read_int_reg <= imgblock_3_6_V_read; imgblock_3_7_V_read_int_reg <= imgblock_3_7_V_read; imgblock_3_8_V_read_int_reg <= imgblock_3_8_V_read; imgblock_3_9_V_read_int_reg <= imgblock_3_9_V_read; imgblock_4_0_V_read_int_reg <= imgblock_4_0_V_read; imgblock_4_1_V_read_int_reg <= imgblock_4_1_V_read; imgblock_4_2_V_read_int_reg <= imgblock_4_2_V_read; imgblock_4_3_V_read_int_reg <= imgblock_4_3_V_read; imgblock_4_4_V_read_int_reg <= imgblock_4_4_V_read; imgblock_4_5_V_read_int_reg <= imgblock_4_5_V_read; imgblock_4_6_V_read_int_reg <= imgblock_4_6_V_read; imgblock_4_7_V_read_int_reg <= imgblock_4_7_V_read; imgblock_4_8_V_read_int_reg <= imgblock_4_8_V_read; imgblock_4_9_V_read_int_reg <= imgblock_4_9_V_read; loop_r_int_reg <= loop_r; row_int_reg <= row; end if; end if; end process; process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if ((((trunc_ln124_reg_1559_pp0_iter2_reg = ap_const_lv1_1) and (trunc_ln123_reg_1555_pp0_iter2_reg = ap_const_lv1_1) and (ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg)) or ((trunc_ln124_reg_1559_pp0_iter2_reg = ap_const_lv1_0) and (trunc_ln123_reg_1555_pp0_iter2_reg = ap_const_lv1_0) and (ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg)))) then reg_905 <= grp_g_kernel_fu_800_ap_return; end if; end if; end process; process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if (((trunc_ln124_fu_927_p1 = ap_const_lv1_1) and (trunc_ln123_fu_923_p1 = ap_const_lv1_1) and (ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg))) then tmp_77_reg_1592 <= tmp_77_fu_1079_p12; end if; end if; end process; process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if (((trunc_ln123_fu_923_p1 = ap_const_lv1_1) and (trunc_ln124_fu_927_p1 = ap_const_lv1_0) and (ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg))) then tmp_78_reg_1587 <= tmp_78_fu_1039_p12; end if; end if; end process; process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if (((trunc_ln124_fu_927_p1 = ap_const_lv1_1) and (trunc_ln123_fu_923_p1 = ap_const_lv1_0) and (ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg))) then tmp_79_reg_1576 <= tmp_79_fu_993_p12; end if; end if; end process; process (ap_clk) begin if (ap_clk'event and ap_clk = '1') then if (((trunc_ln124_fu_927_p1 = ap_const_lv1_0) and (trunc_ln123_fu_923_p1 = ap_const_lv1_0) and (ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_const_logic_1 = ap_ce_reg))) then tmp_80_reg_1571 <= tmp_80_fu_953_p12; end if; end if; end process; add_ln544_1_fu_983_p2 <= std_logic_vector(unsigned(ap_const_lv3_2) + unsigned(trunc_ln544_2_fu_979_p1)); add_ln544_2_fu_1029_p2 <= std_logic_vector(unsigned(ap_const_lv3_2) + unsigned(trunc_ln544_1_fu_1025_p1)); add_ln544_3_fu_1069_p2 <= std_logic_vector(unsigned(ap_const_lv3_2) + unsigned(trunc_ln544_fu_1065_p1)); add_ln544_fu_943_p2 <= std_logic_vector(unsigned(ap_const_lv3_2) + unsigned(trunc_ln544_3_fu_939_p1)); ap_block_pp0_stage0 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_pp0_stage0_11001 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_pp0_stage0_11001_ignoreCallOp64 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_pp0_stage0_11001_ignoreCallOp65 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_pp0_stage0_11001_ignoreCallOp70 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_pp0_stage0_11001_ignoreCallOp75 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state1_pp0_stage0_iter0 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state1_pp0_stage0_iter0_ignore_call0 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state1_pp0_stage0_iter0_ignore_call1 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state1_pp0_stage0_iter0_ignore_call6 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state2_pp0_stage0_iter1 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state2_pp0_stage0_iter1_ignore_call0 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state2_pp0_stage0_iter1_ignore_call1 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state2_pp0_stage0_iter1_ignore_call6 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state3_pp0_stage0_iter2 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state3_pp0_stage0_iter2_ignore_call0 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state3_pp0_stage0_iter2_ignore_call1 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state3_pp0_stage0_iter2_ignore_call6 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state4_pp0_stage0_iter3 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state4_pp0_stage0_iter3_ignore_call0 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state4_pp0_stage0_iter3_ignore_call1 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state4_pp0_stage0_iter3_ignore_call6 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state5_pp0_stage0_iter4 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state5_pp0_stage0_iter4_ignore_call0 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state5_pp0_stage0_iter4_ignore_call1 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_block_state5_pp0_stage0_iter4_ignore_call6 <= not((ap_const_boolean_1 = ap_const_boolean_1)); ap_phi_mux_b_write_assign_phi_fu_460_p8_assign_proc : process(trunc_ln123_reg_1555_pp0_iter3_reg, trunc_ln124_reg_1559_pp0_iter3_reg, grp_rb_kernel_fu_693_ap_return, ap_phi_reg_pp0_iter4_b_write_assign_reg_457, zext_ln140_fu_1121_p1) begin if (((trunc_ln124_reg_1559_pp0_iter3_reg = ap_const_lv1_1) and (trunc_ln123_reg_1555_pp0_iter3_reg = ap_const_lv1_1))) then ap_phi_mux_b_write_assign_phi_fu_460_p8 <= zext_ln140_fu_1121_p1; elsif (((trunc_ln124_reg_1559_pp0_iter3_reg = ap_const_lv1_0) and (trunc_ln123_reg_1555_pp0_iter3_reg = ap_const_lv1_0))) then ap_phi_mux_b_write_assign_phi_fu_460_p8 <= grp_rb_kernel_fu_693_ap_return; else ap_phi_mux_b_write_assign_phi_fu_460_p8 <= ap_phi_reg_pp0_iter4_b_write_assign_reg_457; end if; end process; ap_phi_mux_g_write_assign_phi_fu_447_p8_assign_proc : process(reg_905, trunc_ln123_reg_1555_pp0_iter3_reg, trunc_ln124_reg_1559_pp0_iter3_reg, ap_phi_reg_pp0_iter4_g_write_assign_reg_444) begin if ((((trunc_ln124_reg_1559_pp0_iter3_reg = ap_const_lv1_1) and (trunc_ln123_reg_1555_pp0_iter3_reg = ap_const_lv1_1)) or ((trunc_ln124_reg_1559_pp0_iter3_reg = ap_const_lv1_0) and (trunc_ln123_reg_1555_pp0_iter3_reg = ap_const_lv1_0)))) then ap_phi_mux_g_write_assign_phi_fu_447_p8 <= reg_905; else ap_phi_mux_g_write_assign_phi_fu_447_p8 <= ap_phi_reg_pp0_iter4_g_write_assign_reg_444; end if; end process; ap_phi_mux_r_write_assign_phi_fu_473_p8_assign_proc : process(trunc_ln123_reg_1555_pp0_iter3_reg, trunc_ln124_reg_1559_pp0_iter3_reg, grp_rb_kernel_fu_693_ap_return, zext_ln128_fu_1117_p1, ap_phi_reg_pp0_iter4_r_write_assign_reg_470) begin if (((trunc_ln124_reg_1559_pp0_iter3_reg = ap_const_lv1_1) and (trunc_ln123_reg_1555_pp0_iter3_reg = ap_const_lv1_1))) then ap_phi_mux_r_write_assign_phi_fu_473_p8 <= grp_rb_kernel_fu_693_ap_return; elsif (((trunc_ln124_reg_1559_pp0_iter3_reg = ap_const_lv1_0) and (trunc_ln123_reg_1555_pp0_iter3_reg = ap_const_lv1_0))) then ap_phi_mux_r_write_assign_phi_fu_473_p8 <= zext_ln128_fu_1117_p1; else ap_phi_mux_r_write_assign_phi_fu_473_p8 <= ap_phi_reg_pp0_iter4_r_write_assign_reg_470; end if; end process; ap_phi_reg_pp0_iter0_b_write_assign_reg_457 <= "XXXXXXXXXXXXXX"; ap_phi_reg_pp0_iter0_g_write_assign_reg_444 <= "XXXXXXXXXXXXXX"; ap_phi_reg_pp0_iter0_r_write_assign_reg_470 <= "XXXXXXXXXXXXXX"; ap_predicate_op64_call_state1_assign_proc : process(trunc_ln123_fu_923_p1, trunc_ln124_fu_927_p1) begin ap_predicate_op64_call_state1 <= ((trunc_ln124_fu_927_p1 = ap_const_lv1_0) and (trunc_ln123_fu_923_p1 = ap_const_lv1_0)); end process; ap_predicate_op65_call_state1_assign_proc : process(trunc_ln123_fu_923_p1, trunc_ln124_fu_927_p1) begin ap_predicate_op65_call_state1 <= ((trunc_ln124_fu_927_p1 = ap_const_lv1_0) and (trunc_ln123_fu_923_p1 = ap_const_lv1_0)); end process; ap_predicate_op70_call_state1_assign_proc : process(trunc_ln123_fu_923_p1, trunc_ln124_fu_927_p1) begin ap_predicate_op70_call_state1 <= ((trunc_ln124_fu_927_p1 = ap_const_lv1_1) and (trunc_ln123_fu_923_p1 = ap_const_lv1_0)); end process; ap_predicate_op75_call_state1_assign_proc : process(trunc_ln123_fu_923_p1, trunc_ln124_fu_927_p1) begin ap_predicate_op75_call_state1 <= ((trunc_ln124_fu_927_p1 = ap_const_lv1_1) and (trunc_ln123_fu_923_p1 = ap_const_lv1_0)); end process; ap_predicate_op78_call_state1_assign_proc : process(trunc_ln123_fu_923_p1, trunc_ln124_fu_927_p1) begin ap_predicate_op78_call_state1 <= ((trunc_ln123_fu_923_p1 = ap_const_lv1_1) and (trunc_ln124_fu_927_p1 = ap_const_lv1_0)); end process; ap_predicate_op83_call_state1_assign_proc : process(trunc_ln123_fu_923_p1, trunc_ln124_fu_927_p1) begin ap_predicate_op83_call_state1 <= ((trunc_ln123_fu_923_p1 = ap_const_lv1_1) and (trunc_ln124_fu_927_p1 = ap_const_lv1_0)); end process; ap_predicate_op89_call_state1_assign_proc : process(trunc_ln123_fu_923_p1, trunc_ln124_fu_927_p1) begin ap_predicate_op89_call_state1 <= ((trunc_ln124_fu_927_p1 = ap_const_lv1_1) and (trunc_ln123_fu_923_p1 = ap_const_lv1_1)); end process; ap_predicate_op90_call_state1_assign_proc : process(trunc_ln123_fu_923_p1, trunc_ln124_fu_927_p1) begin ap_predicate_op90_call_state1 <= ((trunc_ln124_fu_927_p1 = ap_const_lv1_1) and (trunc_ln123_fu_923_p1 = ap_const_lv1_1)); end process; ap_return_0_assign_proc : process(sext_ln121_1_fu_1129_p1, ap_ce_reg, ap_return_0_int_reg) begin if ((ap_const_logic_0 = ap_ce_reg)) then ap_return_0 <= ap_return_0_int_reg; elsif ((ap_const_logic_1 = ap_ce_reg)) then ap_return_0 <= sext_ln121_1_fu_1129_p1; end if; end process; ap_return_1_assign_proc : process(sext_ln121_fu_1125_p1, ap_ce_reg, ap_return_1_int_reg) begin if ((ap_const_logic_0 = ap_ce_reg)) then ap_return_1 <= ap_return_1_int_reg; elsif ((ap_const_logic_1 = ap_ce_reg)) then ap_return_1 <= sext_ln121_fu_1125_p1; end if; end process; ap_return_2_assign_proc : process(sext_ln121_2_fu_1133_p1, ap_ce_reg, ap_return_2_int_reg) begin if ((ap_const_logic_0 = ap_ce_reg)) then ap_return_2 <= ap_return_2_int_reg; elsif ((ap_const_logic_1 = ap_ce_reg)) then ap_return_2 <= sext_ln121_2_fu_1133_p1; end if; end process; grp_g_kernel_fu_800_ap_ce_assign_proc : process(ap_block_pp0_stage0_11001_ignoreCallOp65, ap_ce_reg) begin if (((ap_const_boolean_0 = ap_block_pp0_stage0_11001_ignoreCallOp65) and (ap_const_logic_1 = ap_ce_reg))) then grp_g_kernel_fu_800_ap_ce <= ap_const_logic_1; else grp_g_kernel_fu_800_ap_ce <= ap_const_logic_0; end if; end process; grp_g_kernel_fu_800_loop_r_assign_proc : process(trunc_ln129_fu_931_p1, trunc_ln140_fu_1105_p1, ap_predicate_op65_call_state1, ap_predicate_op89_call_state1, ap_block_pp0_stage0) begin if ((ap_const_boolean_0 = ap_block_pp0_stage0)) then if ((ap_predicate_op89_call_state1 = ap_const_boolean_1)) then grp_g_kernel_fu_800_loop_r <= trunc_ln140_fu_1105_p1; elsif ((ap_predicate_op65_call_state1 = ap_const_boolean_1)) then grp_g_kernel_fu_800_loop_r <= trunc_ln129_fu_931_p1; else grp_g_kernel_fu_800_loop_r <= "XX"; end if; else grp_g_kernel_fu_800_loop_r <= "XX"; end if; end process; grp_rb_kernel_fu_693_ap_ce_assign_proc : process(ap_block_pp0_stage0_11001_ignoreCallOp64, ap_ce_reg) begin if (((ap_const_boolean_0 = ap_block_pp0_stage0_11001_ignoreCallOp64) and (ap_const_logic_1 = ap_ce_reg))) then grp_rb_kernel_fu_693_ap_ce <= ap_const_logic_1; else grp_rb_kernel_fu_693_ap_ce <= ap_const_logic_0; end if; end process; grp_rb_kernel_fu_693_loop_r_assign_proc : process(trunc_ln129_fu_931_p1, trunc_ln140_fu_1105_p1, ap_predicate_op64_call_state1, ap_predicate_op90_call_state1, ap_block_pp0_stage0) begin if ((ap_const_boolean_0 = ap_block_pp0_stage0)) then if ((ap_predicate_op90_call_state1 = ap_const_boolean_1)) then grp_rb_kernel_fu_693_loop_r <= trunc_ln140_fu_1105_p1; elsif ((ap_predicate_op64_call_state1 = ap_const_boolean_1)) then grp_rb_kernel_fu_693_loop_r <= trunc_ln129_fu_931_p1; else grp_rb_kernel_fu_693_loop_r <= "XX"; end if; else grp_rb_kernel_fu_693_loop_r <= "XX"; end if; end process; grp_rgb_bgr_kernel_fu_483_ap_ce_assign_proc : process(ap_block_pp0_stage0_11001_ignoreCallOp70, ap_ce_reg) begin if (((ap_const_boolean_0 = ap_block_pp0_stage0_11001_ignoreCallOp70) and (ap_const_logic_1 = ap_ce_reg))) then grp_rgb_bgr_kernel_fu_483_ap_ce <= ap_const_logic_1; else grp_rgb_bgr_kernel_fu_483_ap_ce <= ap_const_logic_0; end if; end process; grp_rgb_bgr_kernel_fu_483_loop_r_assign_proc : process(trunc_ln129_fu_931_p1, trunc_ln135_fu_1019_p1, ap_predicate_op70_call_state1, ap_predicate_op83_call_state1, ap_block_pp0_stage0) begin if ((ap_const_boolean_0 = ap_block_pp0_stage0)) then if ((ap_predicate_op83_call_state1 = ap_const_boolean_1)) then grp_rgb_bgr_kernel_fu_483_loop_r <= trunc_ln135_fu_1019_p1; elsif ((ap_predicate_op70_call_state1 = ap_const_boolean_1)) then grp_rgb_bgr_kernel_fu_483_loop_r <= trunc_ln129_fu_931_p1; else grp_rgb_bgr_kernel_fu_483_loop_r <= "XX"; end if; else grp_rgb_bgr_kernel_fu_483_loop_r <= "XX"; end if; end process; grp_rgr_bgb_kernel_fu_588_ap_ce_assign_proc : process(ap_block_pp0_stage0_11001_ignoreCallOp75, ap_ce_reg) begin if (((ap_const_boolean_0 = ap_block_pp0_stage0_11001_ignoreCallOp75) and (ap_const_logic_1 = ap_ce_reg))) then grp_rgr_bgb_kernel_fu_588_ap_ce <= ap_const_logic_1; else grp_rgr_bgb_kernel_fu_588_ap_ce <= ap_const_logic_0; end if; end process; grp_rgr_bgb_kernel_fu_588_loop_r_assign_proc : process(trunc_ln129_fu_931_p1, trunc_ln135_fu_1019_p1, ap_predicate_op75_call_state1, ap_predicate_op78_call_state1, ap_block_pp0_stage0) begin if ((ap_const_boolean_0 = ap_block_pp0_stage0)) then if ((ap_predicate_op78_call_state1 = ap_const_boolean_1)) then grp_rgr_bgb_kernel_fu_588_loop_r <= trunc_ln135_fu_1019_p1; elsif ((ap_predicate_op75_call_state1 = ap_const_boolean_1)) then grp_rgr_bgb_kernel_fu_588_loop_r <= trunc_ln129_fu_931_p1; else grp_rgr_bgb_kernel_fu_588_loop_r <= "XX"; end if; else grp_rgr_bgb_kernel_fu_588_loop_r <= "XX"; end if; end process; sext_ln121_1_fu_1129_p1 <= std_logic_vector(IEEE.numeric_std.resize(signed(ap_phi_mux_b_write_assign_phi_fu_460_p8),32)); sext_ln121_2_fu_1133_p1 <= std_logic_vector(IEEE.numeric_std.resize(signed(ap_phi_mux_r_write_assign_phi_fu_473_p8),32)); sext_ln121_fu_1125_p1 <= std_logic_vector(IEEE.numeric_std.resize(signed(ap_phi_mux_g_write_assign_phi_fu_447_p8),32)); tmp_77_fu_1079_p11 <= std_logic_vector(IEEE.numeric_std.resize(unsigned(add_ln544_3_fu_1069_p2),4)); tmp_78_fu_1039_p11 <= std_logic_vector(IEEE.numeric_std.resize(unsigned(add_ln544_2_fu_1029_p2),4)); tmp_79_fu_993_p11 <= std_logic_vector(IEEE.numeric_std.resize(unsigned(add_ln544_1_fu_983_p2),4)); tmp_80_fu_953_p11 <= std_logic_vector(IEEE.numeric_std.resize(unsigned(add_ln544_fu_943_p2),4)); trunc_ln123_fu_923_p1 <= row_int_reg(1 - 1 downto 0); trunc_ln124_fu_927_p1 <= col_int_reg(1 - 1 downto 0); trunc_ln129_fu_931_p1 <= loop_r_int_reg(2 - 1 downto 0); trunc_ln135_fu_1019_p1 <= loop_r_int_reg(2 - 1 downto 0); trunc_ln140_fu_1105_p1 <= loop_r_int_reg(2 - 1 downto 0); trunc_ln544_1_fu_1025_p1 <= loop_r_int_reg(3 - 1 downto 0); trunc_ln544_2_fu_979_p1 <= loop_r_int_reg(3 - 1 downto 0); trunc_ln544_3_fu_939_p1 <= loop_r_int_reg(3 - 1 downto 0); trunc_ln544_fu_1065_p1 <= loop_r_int_reg(3 - 1 downto 0); zext_ln128_fu_1117_p1 <= std_logic_vector(IEEE.numeric_std.resize(unsigned(tmp_80_reg_1571_pp0_iter3_reg),14)); zext_ln131_fu_1111_p1 <= std_logic_vector(IEEE.numeric_std.resize(unsigned(tmp_79_reg_1576_pp0_iter2_reg),14)); zext_ln137_fu_1114_p1 <= std_logic_vector(IEEE.numeric_std.resize(unsigned(tmp_78_reg_1587_pp0_iter2_reg),14)); zext_ln140_fu_1121_p1 <= std_logic_vector(IEEE.numeric_std.resize(unsigned(tmp_77_reg_1592_pp0_iter3_reg),14)); end behav;
VHDL
3
hito0512/Vitis-AI
Whole-App-Acceleration/apps/resnet50/build_flow/DPUCVDX8G_vck190/vck190_platform/hw/source/ip/isppipeline_accel/hdl/vhdl/Core_Process.vhd
[ "Apache-2.0" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R06d03*/ proc glm data=sp4r.ameshousing plots=diagnostics; class heating_qc (ref='Fa') central_air (ref='N'); model saleprice = heating_qc|central_air / solution; *Alternative MODEL statement syntax; *model saleprice = heating_qc central_air heating_qc*central_air; lsmeans heating_qc|central_air; estimate 'Main Effect EX vs GD' heating_qc 1 -1 0 0 heating_qc*central_air .5 .5 -.5 -.5 0 0 0 0/ e; run;quit;
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R06d03.sas
[ "CC-BY-4.0" ]
package com.baeldung.closures import spock.lang.Specification class ClosuresUnitTest extends GroovyTestCase { Closures closures = new Closures() void testDeclaration() { closures.print("Hello! Closure") closures.formatToLowerCaseClosure("Hello! Closure") closures.print.call("Hello! Closure") closures.formatToLowerCaseClosure.call("Hello! Closure") } void testClosureVsMethods() { assert closures.formatToLowerCase("TONY STARK") == closures.formatToLowerCaseClosure("Tony STark") } void testParameters() { //implicit parameter assert closures.greet("Alex") == "Hello! Alex" //multiple parameters assert closures.multiply(2, 4) == 8 assert closures.calculate(12, 4, "ADD") == 16 assert closures.calculate(12, 4, "SUB") == 8 assert closures.calculate(43, 8, "DIV") == 5.375 //varags assert closures.addAll(12, 10, 14) == 36 } void testClosureAsAnArgument() { assert closures.volume({ l, b -> return l*b }, 12, 6, 10) == 720 assert closures.volume({ radius -> return Math.PI*radius*radius/3 }, 5, 10) == Math.PI * 250/3 } void testGStringsLazyEvaluation() { def name = "Samwell" def welcomeMsg = "Welcome! $name" assert welcomeMsg == "Welcome! Samwell" // changing the name does not affect original interpolated value name = "Tarly" assert welcomeMsg != "Welcome! Tarly" def fullName = "Tarly Samson" def greetStr = "Hello! ${-> fullName}" assert greetStr == "Hello! Tarly Samson" // this time changing the variable affects the interpolated String's value fullName = "Jon Smith" assert greetStr == "Hello! Jon Smith" } void testClosureInLists() { def list = [10, 11, 12, 13, 14, true, false, "BUNTHER"] list.each { println it } assert [13, 14] == list.findAll{ it instanceof Integer && it >= 13} } void testClosureInMaps() { def map = [1:10, 2:30, 4:5] assert [10, 60, 20] == map.collect{it.key * it.value} } }
Groovy
4
DBatOWL/tutorials
core-groovy/src/test/groovy/com/baeldung/closures/ClosuresUnitTest.groovy
[ "MIT" ]
[CustomMessages] hu.IDP_FormCaption =További fájlok letöltése hu.IDP_FormDescription =Kérjük várjon, amíg a telepítő további fájlokat tölt le az internetről... hu.IDP_TotalProgress =Teljes folyamat: hu.IDP_CurrentFile =Jelenlegi fájl: hu.IDP_File =Fájl: hu.IDP_Speed =Sebesség: hu.IDP_Status =Állapot: hu.IDP_ElapsedTime =Eltelt idő: hu.IDP_RemainingTime =Fennmaradó idő: hu.IDP_DetailsButton =Részletek hu.IDP_HideButton =Elrejtés hu.IDP_RetryButton =Ismét hu.IDP_IgnoreButton =Kihagy hu.IDP_KBs =kB/s hu.IDP_MBs =MB/s hu.IDP_X_of_X =%.2f / %.2f hu.IDP_KB =KB hu.IDP_MB =MB hu.IDP_GB =GB hu.IDP_Initializing =Felkészülés... hu.IDP_GettingFileInformation=A fájlinformációk lekérése... hu.IDP_StartingDownload =A letöltés megkezdése... hu.IDP_Connecting =Csatlakozás... hu.IDP_Downloading =Letöltés... hu.IDP_DownloadComplete =Letöltés befejezve hu.IDP_DownloadFailed =Letöltés megszakítva hu.IDP_CannotConnect =Nem sikert csatlakozni a kiszolgálóhoz hu.IDP_CancellingDownload =A letöltés megszaktása... hu.IDP_Unknown =Ismeretlen hu.IDP_DownloadCancelled =Felhasználó által megszakítva hu.IDP_RetryNext =Ellenőrizze az internetkapcsolatot, majd kattintson az "Ismét" gombra az újrapróbálkozáshoz, vagy a "Tovább" gombra a fájlok kihagyásához. hu.IDP_RetryCancel =Ellenőrizze az internetkapcsolatot, majd kattintson az "Ismét" gombra az újrapróbálkozáshoz, vagy a "Mégse" gombra a telepítés megszakításához. hu.IDP_FilesNotDownloaded =Az alábbi fájlok nem lettek letöltve: hu.IDP_HTTPError_X =HTTP hiba %d hu.IDP_400 =Nem megfelelő kérés (400) hu.IDP_401 =Hozzáférés megtagadva (401) hu.IDP_404 =A fájl nem található (404) hu.IDP_407 =Proxy hitelesítés szükséges (407) hu.IDP_500 =A kiszolgáló belső hibája (500) hu.IDP_502 =Nem megfelelő átjáró (502) hu.IDP_503 =A szolgáltatás átmenetileg nem elérhető (503)
Inno Setup
1
thedruz/WPN-XM
bin/innosetup-download-plugin/unicode/idplang/hungarian.iss
[ "MIT" ]
--- arpd.c.orig Thu Oct 12 09:28:31 2006 +++ arpd.c Thu Oct 12 10:38:06 2006 @@ -181,6 +181,65 @@ return (filter); } +/* geocrime */ +static struct intf_entry self_ifent[3]; +static void arpd_exit(int status); + +static void +arp_add_entry(struct addr *ip, struct addr *mac) +{ + struct arp_req *req; + + if ((req = calloc(1, sizeof(*req))) == NULL) { + syslog(LOG_ERR, "calloc: %m"); + arpd_exit(1); + } + + addr_pack(&req->ha, ADDR_TYPE_ETH, ETH_ADDR_BITS, + &mac->addr_eth, ETH_ADDR_LEN); + addr_pack(&req->pa, ADDR_TYPE_IP, IP_ADDR_BITS, + &ip->addr_ip, IP_ADDR_LEN); + + /* Timeouts skipped here */ + + SPLAY_INSERT(tree, &arpd_reqs, req); +} + +static void +insert_self_entry(intf_t *intf, char *dev) +{ + int i; + struct arp_req *p; + + self_ifent[0].intf_len = sizeof(self_ifent); + strncpy(self_ifent[0].intf_name, dev, sizeof(self_ifent[0].intf_name) - 1); + self_ifent[0].intf_name[sizeof(self_ifent[0].intf_name) - 1] = '\0'; + + if (intf_get(intf, &self_ifent[0]) < 0) + err(1, "intf_get"); + + arp_add_entry(&(self_ifent[0].intf_addr), + &self_ifent[0].intf_link_addr + ); + fprintf(stderr, "mac: %s, main_ip: %s, num_aliases: %lu\n", + addr_ntoa(&self_ifent[0].intf_link_addr), + addr_ntoa(&self_ifent[0].intf_addr), + self_ifent[0].intf_alias_num + ); + for (i = 0; i < self_ifent[0].intf_alias_num; i++) + if (self_ifent[0].intf_alias_addrs[i].addr_type==ADDR_TYPE_IP) { + arp_add_entry(&self_ifent[0].intf_alias_addrs[i], + &self_ifent[0].intf_link_addr + ); + fprintf(stderr,"intf_alias[%d]: %s\n", i, addr_ntoa(&self_ifent[0].intf_alias_addrs[i])); + +#if 0 + SPLAY_FOREACH(p, tree, &arpd_reqs) + fprintf(stderr, "DUMP: %s, %s\n", addr_ntoa(&p->pa), addr_ntoa(&p->ha)); +#endif + } +} + static void arpd_init(char *dev, int naddresses, char **addresses) { @@ -218,6 +277,8 @@ dst ? "and (" : "", dst ? dst : "", dst ? ")" : "", addr_ntoa(&arpd_ifent.intf_link_addr)); + insert_self_entry(intf, dev); + if ((arpd_pcap = pcap_open_live(dev, 128, 0, 500, ebuf)) == NULL) errx(1, "pcap_open_live: %s", ebuf); @@ -275,6 +336,7 @@ syslog(LOG_ERR, "couldn't send packet: %m"); } +#if 0 static int arpd_lookup(struct addr *addr) { @@ -299,6 +361,7 @@ } return (error); } +#endif static void arpd_free(struct arp_req *req) @@ -319,6 +382,7 @@ arpd_free(req); } +#if 0 static void arpd_discover(struct arp_req *req, struct addr *ha) { @@ -343,6 +407,7 @@ arpd_discover(req, NULL); } +#endif static void arpd_recv_cb(u_char *u, const struct pcap_pkthdr *pkthdr, const u_char *pkt) @@ -372,6 +437,7 @@ req = SPLAY_FIND(tree, &arpd_reqs, &tmp); if (req == NULL) { +#if 0 if ((req = calloc(1, sizeof(*req))) == NULL) { syslog(LOG_ERR, "calloc: %m"); arpd_exit(1); @@ -414,6 +480,14 @@ __FUNCTION__, addr_ntoa(&req->pa), req->cnt); } +#else + syslog(LOG_DEBUG, "%s: %s not in cache", + __FUNCTION__, addr_ntoa(&tmp.pa)); + } else { + arpd_send(arpd_eth, ARP_OP_REPLY, + &req->ha, &req->pa, + &src.arp_ha, &src.arp_pa); +#endif } break;
Self
4
ajnavarro/language-dataset
data/github.com/georghe-crihan/arpd/3484202551ce2a793223bdbce7e1c3c4e22ba478/files/patch-arpd.c.self
[ "MIT" ]
import {mixin1, mixin2, mixin3, A, B, C, Y} from "./dep2"; export const A1 = class A1 extends A { render() {return new E();} }; export const B1 = class B1 extends /*#__PURE__*/ mixin1(B) { render() {return new E();} }; export const C1 = class C1 extends mixin2(Y, /*#__PURE__*/ mixin3(C)) { render() {return new D();} }; export class Y1 extends mixin2(Y) { constructor() { super(); this.innerClass = class B2 extends mixin1(B) {}; } render() {return new D();} } export class E {} const D = class D {};
JavaScript
3
1shenxi/webpack
test/cases/inner-graph/extend-class/dep3.js
[ "MIT" ]
export { default } from './PaginationItem'; export * from './PaginationItem'; export { default as paginationItemClasses } from './paginationItemClasses'; export * from './paginationItemClasses';
TypeScript
2
good-gym/material-ui
packages/material-ui/src/PaginationItem/index.d.ts
[ "MIT" ]
defmodule Bar do def hello do :world end end defmodule Bar.Ignore do def world do :hello end end defprotocol Bar.Protocol do def to_uppercase(string) end defimpl Bar.Protocol, for: BitString do def to_uppercase(string), do: String.upcase(string) end
Elixir
4
doughsay/elixir
lib/mix/test/fixtures/umbrella_test/apps/bar/lib/bar.ex
[ "Apache-2.0" ]
}, { "reviewId": "", "reviewDate": { "$date": "2015-09-19T00:00:00.000Z" }, "reviewTitle": "Hampton downtown experience", "reviewText": "Had family w/ us down from Chicago. Wanted to show them the beauty and culture of the Big Easy. Took in several restaurants in the Quarter, the entire St. Charles cable car tour, the Saints game, a carriage ride thru the Quarter and the WWII museum. Also a couple of jazz bars, Cafe Dumond and Jackson Square area. Great time and experience. Thanks for the service and hospitality.", "reviewerCity": "", "reviewerState": "", "reviewRating": 5 }, { "reviewId": "", "reviewDate": { "$date": "2016-07-30T00:00:00.000Z" }, "reviewTitle": "Great Decision", "reviewText": "Loved the locale, bed was super comfortable, employees were nice, free breakfast was awesome. Definitely will return to this hotel.", "reviewerCity": "", "reviewerState": "", "reviewRating": 5 }, { "reviewId": "", "reviewDate": { "$date": "2015-09-22T00:00:00.000Z" }, "reviewTitle": "Close to French Quarter", "reviewText": "Initially nice hotel. Hotel staff very nice and friendly. Valet parking very high 38 per night. No place to park on street except parking garage that costs 15 per night but no in and outs and closed at a certain time. Quick check in process. The room was large and clean. Need some updating but for the price it was nice. Then the AC went out in the middle of the night. I called to the front desk and we were told maintenance would not be in until 7am. Had to change rooms. Went from a larger room to a smaller one. The noise in the room was ridiculous. You could hear traffic and people laughing and talking throughout the night. Informed the front desk and nothing was done about it. No accomodations were made.", "reviewerCity": "", "reviewerState": "", "reviewRating": 3 }, { "reviewId": "", "reviewDate": { "$date": "2016-08-06T00:00:00.000Z" }, "reviewTitle": "Clean and comfortable!", "reviewText": "Great service.", "reviewerCity": "", "reviewerState": "", "reviewRating": 4 }, { "reviewId": "", "reviewDate": { "$date": "2015-09-18T00:00:00.000Z" }, "reviewTitle": "Great hotel!", "reviewText": "Great hotel away from the bars and club but yet super close to be able to walk everywhere", "reviewerCity": "", "reviewerState": "", "reviewRating": 5 }, { "reviewId": "", "reviewDate": { "$date": "2016-07-14T00:00:00.000Z" }, "reviewTitle": "Great Downtown Location.", "reviewText": "Location: Stayed to the hotel for two nights with family of four. The location is perfect if you want to walk around downtown French quarter. Pleanty to do within a 5-10 minute walk and some of the best food in the area. We parked our car the first day and never needed it until we left. Hotel: The room was large and clean. Very modern and could not hear the city life right outside. Staff was great and free breakfast was a good way to start each day. Parking was a bit much 40 day but is expected I guess for downtown. Overall a really great stay at this location. Hampton Inn continues to be a reliable choice for comfort, cleanliness price.", "reviewerCity": "", "reviewerState": "", "reviewRating": 5 }, { "reviewId": "", "reviewDate": { "$date": "2016-10-22T00:00:00.000Z" }, "reviewTitle": "Great Downtown Location.", "reviewText": "Good times", "reviewerCity": "", "reviewerState": "", "reviewRating": 5 }, { "reviewId": "", "reviewDate": { "$date": "2016-09-09T00:00:00.000Z" }, "reviewTitle": "Great Downtown Location.", "reviewText": "The stay was great. The only thing I didn't like about the room was there were no dressers.", "reviewerCity": "", "reviewerState": "", "reviewRating": 4 }] } { "_id": { "$oid": "5cf9dcbd433d2b44c0de3fdc" }, "name": "Mirazur Plus French Quarter Landmark Hotel", "categories": ["Hotel", "Hotels"], "location": { "country": "US", "state": "CT", "city": "New Orleans", "postalCode": "70116-3011", "address": "920 N Rampart St", "coordinates": { "type": "Point", "coordinates": [-90.06636, 29.962454] } }, "reviews": [{ "reviewId": "",
Ox
0
bigdatakid/mongodb-demos
dataLake/data/restaurants/reviews-1-chunk.ox
[ "Apache-2.0" ]
# Displays a prompt def git-status-prompt [] { let not_windows = ($nu.path | first | into string | str contains '/') $"(ansi reset)(ansi green)(if $not_windows {$nu.env.USER} {$nu.env.USERNAME})(ansi reset)@(hostname | str trim):(ansi green_dimmed)(prompt-pwd)(ansi reset)(git-branch-icon)(ansi reset)(char newline)(char prompt) " } # Returns a shortened pwd for use in prompt def prompt-pwd [] { let not_windows = ($nu.path | first | into string | str contains '/') let path = (pwd | if $not_windows { split row "/" } { split row "\" }) let home = (if $not_windows { ($nu.env.HOME | split row "/") } { (echo [$nu.env.HOMEDRIVE $nu.env.HOMEPATH] | path join | split row "\") }) if ($path | length) > 1 { if ($home | reduce { $it in $path }) { let path-without-home = ($path | skip ($home | length)) if ($path-without-home | wrap | compact | length) > 0 { let parent = ($path | skip ($home | length) | drop) if ($parent | wrap | compact | length) > 0 { let short-part = ($parent | each { |part| if ($part | str starts-with ".") { $"($part | str substring [0 2])/" } { $"($part | str substring [0 1])/" } }) $"~/($short-part | str collect)($path | last)" } { $"~/($path | last)" } } { "~" } } { let parent = (echo $path | drop | str substring [0 1] | each { echo $it "/" }) $"/($parent)($path | last)" } } { pwd } } # Map of git status codes to ANSI colour codes def git-prompt-map [] { echo a m r c d "??" u | rotate counter-clockwise | reject Column0 | append ( echo (ansi green) (ansi yellow_bold) (ansi cyan) (ansi blue) (ansi red) (ansi red_dimmed) (ansi red) | rotate counter-clockwise | reject Column0 ) | headers } # Gets an icon and a colour for a given git status code def git-prompt-icons [k] { let icns = ["✚ " "* " "➜ " "⇒ " "✖ " "? " "! "]; git-prompt-map | pivot status colour | each --numbered { |icon| let idx = $icon.index; if $icon.item.status == $k { $"($icon.item.colour)($icns | nth $idx)" } { = $nothing } } | compact } # Checks git status of current working directory and displays an icon def git-branch-icon [] { do -i { let branch = (do -i { git rev-parse --abbrev-ref HEAD } | str trim) if ($branch | str length) > 0 { let modified = (do -i { git status --porcelain } | split row "\n" | str trim | split column " " status file); if ($modified | get | first | empty?) { $"|(ansi green)($branch)(ansi reset):(ansi green)✓(ansi reset)" } { let modified2 = (do -i { git status --porcelain } | split row "\n" | str substring [0 1]) let branch-colour = (if (echo $modified2 | each { $it in [A M R C D] } | reduce { $it || $acc }) { "yellow" } { "red" }) $"|(ansi $branch-colour)($branch)(ansi reset):($modified | get status | uniq | str downcase | each { git-prompt-icons $it })" | str collect } } { "" } } }
Nu
4
x3rAx/nu_scripts
prompt/git_status_prompt.nu
[ "MIT" ]
% See Hentenryck page 165 % we have tasks A, B, C etc. with start dates SA, SB etc., durations and precedence relations. % Eg. task A with duration has to be scheduled before task B, thus SB >=' SA+'7 functor import FD Search export Return define proc {BuildHouse Sol} Sol = [_ _ _ _ _ _ _ _ _ _ _ _] Sol = {FD.dom 0#30} {Precedence Sol} {FD.distribute ff Sol} end proc {GeqOff X Y Off} X >=: Y + Off end proc {Precedence [SA SB SC SD SE SF SG SH _ SJ SK Send]} {GeqOff SB SA 7} {GeqOff SD SA 7} {GeqOff SC SB 3} {GeqOff SE SC 1} {GeqOff SE SD 8} {GeqOff SG SC 1} {GeqOff SG SD 8} {GeqOff SF SD 8} {GeqOff SF SC 1} {GeqOff SH SF 1} {GeqOff SJ SH 3} {GeqOff SK SG 1} {GeqOff SK SE 2} {GeqOff SK SJ 2} {GeqOff Send SK 1} choice Send = {FD.reflect.min Send} end end BuildHouseSol = [[0 7 10 7 15 15 15 16 0 19 21 22]] Return= fd([buildhouse([ one(equal(fun {$} {Search.base.one BuildHouse} end BuildHouseSol) keys: [fd]) one_entailed(entailed(proc {$} {Search.base.one BuildHouse _} end) keys: [fd entailed]) ]) ]) end
Oz
4
Ahzed11/mozart2
platform-test/fd/buildhouse.oz
[ "BSD-2-Clause" ]
pub const NEUTRAL = 0x00; pub const DEFAULT = 0x01; pub const SYS_DEFAULT = 0x02; pub const CUSTOM_DEFAULT = 0x03; pub const CUSTOM_UNSPECIFIED = 0x04; pub const UI_CUSTOM_DEFAULT = 0x05; pub const AFRIKAANS_SOUTH_AFRICA = 0x01; pub const ALBANIAN_ALBANIA = 0x01; pub const ALSATIAN_FRANCE = 0x01; pub const AMHARIC_ETHIOPIA = 0x01; pub const ARABIC_SAUDI_ARABIA = 0x01; pub const ARABIC_IRAQ = 0x02; pub const ARABIC_EGYPT = 0x03; pub const ARABIC_LIBYA = 0x04; pub const ARABIC_ALGERIA = 0x05; pub const ARABIC_MOROCCO = 0x06; pub const ARABIC_TUNISIA = 0x07; pub const ARABIC_OMAN = 0x08; pub const ARABIC_YEMEN = 0x09; pub const ARABIC_SYRIA = 0x0a; pub const ARABIC_JORDAN = 0x0b; pub const ARABIC_LEBANON = 0x0c; pub const ARABIC_KUWAIT = 0x0d; pub const ARABIC_UAE = 0x0e; pub const ARABIC_BAHRAIN = 0x0f; pub const ARABIC_QATAR = 0x10; pub const ARMENIAN_ARMENIA = 0x01; pub const ASSAMESE_INDIA = 0x01; pub const AZERI_LATIN = 0x01; pub const AZERI_CYRILLIC = 0x02; pub const AZERBAIJANI_AZERBAIJAN_LATIN = 0x01; pub const AZERBAIJANI_AZERBAIJAN_CYRILLIC = 0x02; pub const BANGLA_INDIA = 0x01; pub const BANGLA_BANGLADESH = 0x02; pub const BASHKIR_RUSSIA = 0x01; pub const BASQUE_BASQUE = 0x01; pub const BELARUSIAN_BELARUS = 0x01; pub const BENGALI_INDIA = 0x01; pub const BENGALI_BANGLADESH = 0x02; pub const BOSNIAN_BOSNIA_HERZEGOVINA_LATIN = 0x05; pub const BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC = 0x08; pub const BRETON_FRANCE = 0x01; pub const BULGARIAN_BULGARIA = 0x01; pub const CATALAN_CATALAN = 0x01; pub const CENTRAL_KURDISH_IRAQ = 0x01; pub const CHEROKEE_CHEROKEE = 0x01; pub const CHINESE_TRADITIONAL = 0x01; pub const CHINESE_SIMPLIFIED = 0x02; pub const CHINESE_HONGKONG = 0x03; pub const CHINESE_SINGAPORE = 0x04; pub const CHINESE_MACAU = 0x05; pub const CORSICAN_FRANCE = 0x01; pub const CZECH_CZECH_REPUBLIC = 0x01; pub const CROATIAN_CROATIA = 0x01; pub const CROATIAN_BOSNIA_HERZEGOVINA_LATIN = 0x04; pub const DANISH_DENMARK = 0x01; pub const DARI_AFGHANISTAN = 0x01; pub const DIVEHI_MALDIVES = 0x01; pub const DUTCH = 0x01; pub const DUTCH_BELGIAN = 0x02; pub const ENGLISH_US = 0x01; pub const ENGLISH_UK = 0x02; pub const ENGLISH_AUS = 0x03; pub const ENGLISH_CAN = 0x04; pub const ENGLISH_NZ = 0x05; pub const ENGLISH_EIRE = 0x06; pub const ENGLISH_SOUTH_AFRICA = 0x07; pub const ENGLISH_JAMAICA = 0x08; pub const ENGLISH_CARIBBEAN = 0x09; pub const ENGLISH_BELIZE = 0x0a; pub const ENGLISH_TRINIDAD = 0x0b; pub const ENGLISH_ZIMBABWE = 0x0c; pub const ENGLISH_PHILIPPINES = 0x0d; pub const ENGLISH_INDIA = 0x10; pub const ENGLISH_MALAYSIA = 0x11; pub const ENGLISH_SINGAPORE = 0x12; pub const ESTONIAN_ESTONIA = 0x01; pub const FAEROESE_FAROE_ISLANDS = 0x01; pub const FILIPINO_PHILIPPINES = 0x01; pub const FINNISH_FINLAND = 0x01; pub const FRENCH = 0x01; pub const FRENCH_BELGIAN = 0x02; pub const FRENCH_CANADIAN = 0x03; pub const FRENCH_SWISS = 0x04; pub const FRENCH_LUXEMBOURG = 0x05; pub const FRENCH_MONACO = 0x06; pub const FRISIAN_NETHERLANDS = 0x01; pub const FULAH_SENEGAL = 0x02; pub const GALICIAN_GALICIAN = 0x01; pub const GEORGIAN_GEORGIA = 0x01; pub const GERMAN = 0x01; pub const GERMAN_SWISS = 0x02; pub const GERMAN_AUSTRIAN = 0x03; pub const GERMAN_LUXEMBOURG = 0x04; pub const GERMAN_LIECHTENSTEIN = 0x05; pub const GREEK_GREECE = 0x01; pub const GREENLANDIC_GREENLAND = 0x01; pub const GUJARATI_INDIA = 0x01; pub const HAUSA_NIGERIA_LATIN = 0x01; pub const HAWAIIAN_US = 0x01; pub const HEBREW_ISRAEL = 0x01; pub const HINDI_INDIA = 0x01; pub const HUNGARIAN_HUNGARY = 0x01; pub const ICELANDIC_ICELAND = 0x01; pub const IGBO_NIGERIA = 0x01; pub const INDONESIAN_INDONESIA = 0x01; pub const INUKTITUT_CANADA = 0x01; pub const INUKTITUT_CANADA_LATIN = 0x02; pub const IRISH_IRELAND = 0x02; pub const ITALIAN = 0x01; pub const ITALIAN_SWISS = 0x02; pub const JAPANESE_JAPAN = 0x01; pub const KANNADA_INDIA = 0x01; pub const KASHMIRI_SASIA = 0x02; pub const KASHMIRI_INDIA = 0x02; pub const KAZAK_KAZAKHSTAN = 0x01; pub const KHMER_CAMBODIA = 0x01; pub const KICHE_GUATEMALA = 0x01; pub const KINYARWANDA_RWANDA = 0x01; pub const KONKANI_INDIA = 0x01; pub const KOREAN = 0x01; pub const KYRGYZ_KYRGYZSTAN = 0x01; pub const LAO_LAO = 0x01; pub const LATVIAN_LATVIA = 0x01; pub const LITHUANIAN = 0x01; pub const LOWER_SORBIAN_GERMANY = 0x02; pub const LUXEMBOURGISH_LUXEMBOURG = 0x01; pub const MACEDONIAN_MACEDONIA = 0x01; pub const MALAY_MALAYSIA = 0x01; pub const MALAY_BRUNEI_DARUSSALAM = 0x02; pub const MALAYALAM_INDIA = 0x01; pub const MALTESE_MALTA = 0x01; pub const MAORI_NEW_ZEALAND = 0x01; pub const MAPUDUNGUN_CHILE = 0x01; pub const MARATHI_INDIA = 0x01; pub const MOHAWK_MOHAWK = 0x01; pub const MONGOLIAN_CYRILLIC_MONGOLIA = 0x01; pub const MONGOLIAN_PRC = 0x02; pub const NEPALI_INDIA = 0x02; pub const NEPALI_NEPAL = 0x01; pub const NORWEGIAN_BOKMAL = 0x01; pub const NORWEGIAN_NYNORSK = 0x02; pub const OCCITAN_FRANCE = 0x01; pub const ODIA_INDIA = 0x01; pub const ORIYA_INDIA = 0x01; pub const PASHTO_AFGHANISTAN = 0x01; pub const PERSIAN_IRAN = 0x01; pub const POLISH_POLAND = 0x01; pub const PORTUGUESE = 0x02; pub const PORTUGUESE_BRAZILIAN = 0x01; pub const PULAR_SENEGAL = 0x02; pub const PUNJABI_INDIA = 0x01; pub const PUNJABI_PAKISTAN = 0x02; pub const QUECHUA_BOLIVIA = 0x01; pub const QUECHUA_ECUADOR = 0x02; pub const QUECHUA_PERU = 0x03; pub const ROMANIAN_ROMANIA = 0x01; pub const ROMANSH_SWITZERLAND = 0x01; pub const RUSSIAN_RUSSIA = 0x01; pub const SAKHA_RUSSIA = 0x01; pub const SAMI_NORTHERN_NORWAY = 0x01; pub const SAMI_NORTHERN_SWEDEN = 0x02; pub const SAMI_NORTHERN_FINLAND = 0x03; pub const SAMI_LULE_NORWAY = 0x04; pub const SAMI_LULE_SWEDEN = 0x05; pub const SAMI_SOUTHERN_NORWAY = 0x06; pub const SAMI_SOUTHERN_SWEDEN = 0x07; pub const SAMI_SKOLT_FINLAND = 0x08; pub const SAMI_INARI_FINLAND = 0x09; pub const SANSKRIT_INDIA = 0x01; pub const SCOTTISH_GAELIC = 0x01; pub const SERBIAN_BOSNIA_HERZEGOVINA_LATIN = 0x06; pub const SERBIAN_BOSNIA_HERZEGOVINA_CYRILLIC = 0x07; pub const SERBIAN_MONTENEGRO_LATIN = 0x0b; pub const SERBIAN_MONTENEGRO_CYRILLIC = 0x0c; pub const SERBIAN_SERBIA_LATIN = 0x09; pub const SERBIAN_SERBIA_CYRILLIC = 0x0a; pub const SERBIAN_CROATIA = 0x01; pub const SERBIAN_LATIN = 0x02; pub const SERBIAN_CYRILLIC = 0x03; pub const SINDHI_INDIA = 0x01; pub const SINDHI_PAKISTAN = 0x02; pub const SINDHI_AFGHANISTAN = 0x02; pub const SINHALESE_SRI_LANKA = 0x01; pub const SOTHO_NORTHERN_SOUTH_AFRICA = 0x01; pub const SLOVAK_SLOVAKIA = 0x01; pub const SLOVENIAN_SLOVENIA = 0x01; pub const SPANISH = 0x01; pub const SPANISH_MEXICAN = 0x02; pub const SPANISH_MODERN = 0x03; pub const SPANISH_GUATEMALA = 0x04; pub const SPANISH_COSTA_RICA = 0x05; pub const SPANISH_PANAMA = 0x06; pub const SPANISH_DOMINICAN_REPUBLIC = 0x07; pub const SPANISH_VENEZUELA = 0x08; pub const SPANISH_COLOMBIA = 0x09; pub const SPANISH_PERU = 0x0a; pub const SPANISH_ARGENTINA = 0x0b; pub const SPANISH_ECUADOR = 0x0c; pub const SPANISH_CHILE = 0x0d; pub const SPANISH_URUGUAY = 0x0e; pub const SPANISH_PARAGUAY = 0x0f; pub const SPANISH_BOLIVIA = 0x10; pub const SPANISH_EL_SALVADOR = 0x11; pub const SPANISH_HONDURAS = 0x12; pub const SPANISH_NICARAGUA = 0x13; pub const SPANISH_PUERTO_RICO = 0x14; pub const SPANISH_US = 0x15; pub const SWAHILI_KENYA = 0x01; pub const SWEDISH = 0x01; pub const SWEDISH_FINLAND = 0x02; pub const SYRIAC_SYRIA = 0x01; pub const TAJIK_TAJIKISTAN = 0x01; pub const TAMAZIGHT_ALGERIA_LATIN = 0x02; pub const TAMAZIGHT_MOROCCO_TIFINAGH = 0x04; pub const TAMIL_INDIA = 0x01; pub const TAMIL_SRI_LANKA = 0x02; pub const TATAR_RUSSIA = 0x01; pub const TELUGU_INDIA = 0x01; pub const THAI_THAILAND = 0x01; pub const TIBETAN_PRC = 0x01; pub const TIGRIGNA_ERITREA = 0x02; pub const TIGRINYA_ERITREA = 0x02; pub const TIGRINYA_ETHIOPIA = 0x01; pub const TSWANA_BOTSWANA = 0x02; pub const TSWANA_SOUTH_AFRICA = 0x01; pub const TURKISH_TURKEY = 0x01; pub const TURKMEN_TURKMENISTAN = 0x01; pub const UIGHUR_PRC = 0x01; pub const UKRAINIAN_UKRAINE = 0x01; pub const UPPER_SORBIAN_GERMANY = 0x01; pub const URDU_PAKISTAN = 0x01; pub const URDU_INDIA = 0x02; pub const UZBEK_LATIN = 0x01; pub const UZBEK_CYRILLIC = 0x02; pub const VALENCIAN_VALENCIA = 0x02; pub const VIETNAMESE_VIETNAM = 0x01; pub const WELSH_UNITED_KINGDOM = 0x01; pub const WOLOF_SENEGAL = 0x01; pub const XHOSA_SOUTH_AFRICA = 0x01; pub const YAKUT_RUSSIA = 0x01; pub const YI_PRC = 0x01; pub const YORUBA_NIGERIA = 0x01; pub const ZULU_SOUTH_AFRICA = 0x01;
Zig
3
aruniiird/zig
lib/std/os/windows/sublang.zig
[ "MIT" ]
"""Support for Meteoclimatic weather data.""" import logging from meteoclimatic import MeteoclimaticClient from meteoclimatic.exceptions import MeteoclimaticError from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed from .const import CONF_STATION_CODE, DOMAIN, PLATFORMS, SCAN_INTERVAL _LOGGER = logging.getLogger(__name__) async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: """Set up a Meteoclimatic entry.""" station_code = entry.data[CONF_STATION_CODE] meteoclimatic_client = MeteoclimaticClient() async def async_update_data(): """Obtain the latest data from Meteoclimatic.""" try: data = await hass.async_add_executor_job( meteoclimatic_client.weather_at_station, station_code ) return data.__dict__ except MeteoclimaticError as err: raise UpdateFailed(f"Error while retrieving data: {err}") from err coordinator = DataUpdateCoordinator( hass, _LOGGER, name=f"Meteoclimatic weather for {entry.title} ({station_code})", update_method=async_update_data, update_interval=SCAN_INTERVAL, ) await coordinator.async_config_entry_first_refresh() hass.data.setdefault(DOMAIN, {}) hass.data[DOMAIN][entry.entry_id] = coordinator hass.config_entries.async_setup_platforms(entry, PLATFORMS) return True async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: """Unload a config entry.""" unload_ok = await hass.config_entries.async_unload_platforms(entry, PLATFORMS) return unload_ok
Python
5
MrDelik/core
homeassistant/components/meteoclimatic/__init__.py
[ "Apache-2.0" ]
#\-0 {}
CSS
0
kitsonk/swc
css/parser/tests/fixture/esbuild/misc/8R-UUShF-1EmQSj6_GQwrA/input.css
[ "Apache-2.0", "MIT" ]
;; Create "breed" of 'turtle' called cell breed [cells cell] ;; eventually separate mesophyll? breed [vasculars vascular] ;; phloem vascular bundles ;; Create "breed" of 'link' called phloem directed-link-breed [phloems phloem] ;; Note: I know there shouldn't be an s, but it wanted a different plural :( undirected-link-breed [plasmodesmata plasmodesma] ;; Declare global variables globals [ num-infected ;; keep track of number infected num-viruses ;; keep track of the viral particles ] ;; Declare the cell-specific (turtle breed) variables cells-own [ infected? ;; if true, the cell is infectious resistant? ;; if true, cell can't be infected num-plasmodesmata ;; number of connections with other cells viral-count ;; keeps track of the virions in the cell ] ;; Setup procedures to setup clear-all ;; remove anything from previous runs setup-stem ;; make a stem structure to connect the leaves setup-cells ;; set up the cells setup-leaf ;; set up the connections between cells ask n-of multiplicity-of-infection cells ;; infect cells based on moi [ become-infected set viral-count num-colonizing-viruses ;; start with x viruses per infected cell ] ask links [ set color white ] ;; make the symplastic connections white ask phloems [ set color green ;; make the vascular bundles green and thicker set thickness 0.3 ] reset-ticks ;; reset timer from previous run end to setup-stem set-default-shape vasculars "plant" ;; uses stem-looking shape for vasculature ;; Create and position vascular cells create-vasculars 1 [ setxy 0 -16 ] create-vasculars 1 [ setxy 0 -6 create-phloem-from vascular 0 ;; directed stem connection ] create-vasculars 1 [ setxy 0 6 create-phloem-from vascular 1 ;; directed stem connection ] create-vasculars 1 [ setxy 0 16 create-phloem-from vascular 2 ;; directed stem connection ] ask vasculars ;; make the vasculature stand out from the leaf cells [ set color green set size 2.5 ] end to setup-cells set-default-shape cells "circle" ;; uses circle shape for displayed cells create-cells num-cells [ let xguess random-pxcor while [abs xguess < 0.1 * max-pxcor or abs xguess > 0.95 * max-pxcor] [set xguess random-pxcor] let yguess random-pycor while [abs yguess < 0.1 * max-pycor or abs yguess > 0.95 * max-pycor] [set yguess random-pycor] setxy xguess yguess ;; no nodes too close to edges become-susceptible ask cells [ set size 0.5 ] ;; makes the circles smaller for larger scale ] end to setup-leaf ask cells [ ;; using random-possion to give a more realistic distribution of links per cell while [ count my-links < random-poisson avg-num-plasmodesmata ] [ let choice (min-one-of (other cells with [not link-neighbor? myself]) [distance myself]) if choice != nobody [ create-plasmodesma-with choice ] ] ] ;; to make the network look nicer repeat 10 [ layout-spring turtles links 0.3 (world-width / (sqrt num-cells)) 1 ] ;; connect leaves to the vasculature ;; ask vascular 0 ;; [ ;; let choice (min-one-of (other cells with [not link-neighbor? myself]) ;; [distance myself]) ;; if choice != nobody [ create-plasmodesma-with choice ] ;; ] ;; ask vascular 1 ;; [ ;; let choice (min-one-of (other cells with [not link-neighbor? myself]) ;; [distance myself]) ;; if choice != nobody [ create-plasmodesma-with choice ] ;; ] ;; ask vascular 2 ;; [ ;; let choice (min-one-of (other cells with [not link-neighbor? myself]) ;; [distance myself]) ;; if choice != nobody [ create-plasmodesma-with choice ] ;; ] ;; ask vascular 3 ;; [ ;; let choice (min-one-of (other cells with [not link-neighbor? myself]) ;; [distance myself]) ;; if choice != nobody [ create-plasmodesma-with choice ] ;; ] end ;; This is the main process - what is activated when the user clicks "go" to go ;; if the user specified a duration, stop after that if specified-duration [ if ticks > num-ticks [ stop ] ] ;; otherwise, check if all cells are infected if all? cells [ infected? ] [ ;; if they are, run 40 more times (make the graph look nice) let i 0 while [i <= 40] [ spread-virus set i i + 1 tick ] stop ;; stop model completely ] ;; otherwise, continue to spread the virus spread-virus tick end ;; Cell Procedures to become-infected set infected? true set resistant? false set color violet ;; determine number of viruses entering the susceptible cell let new-viruses ( sum [viral-count] of link-neighbors ) set viral-count new-viruses set num-viruses num-viruses + new-viruses end to become-susceptible set infected? false set resistant? false set color green set viral-count 0 end to become-resistant set infected? false set resistant? true set color blue ask my-links [ set color blue - 2 ] ;; make neighbours resistant as well end ;; Virus Procedures to spread-virus ask cells with [infected?] [ ask link-neighbors with [not resistant?] [ if (random-float 100 < viral-spread-chance) and (not infected?) [ become-infected ;; If chance has it, infect the cell set num-infected num-infected + 1 ;; increase the count for infected cells ] ] ] end @#$#@#$#@ GRAPHICS-WINDOW 238 10 672 465 16 16 12.85 1 10 1 1 1 0 0 0 1 -16 16 -16 16 0 0 1 ticks 30.0 BUTTON 99 52 162 85 go go T 1 T OBSERVER NIL NIL NIL NIL 1 SLIDER 18 148 192 181 multiplicity-of-infection multiplicity-of-infection 1 4 3 1 1 NIL HORIZONTAL SLIDER 20 10 192 43 num-cells num-cells 1 1000 287 1 1 NIL HORIZONTAL SLIDER 17 234 205 267 avg-num-plasmodesmata avg-num-plasmodesmata 1 10 8 1 1 NIL HORIZONTAL PLOT 6 424 233 645 #infected over time ticks #infected cells 0.0 50.0 0.0 50.0 true false "set-plot-x-range 0 num-ticks\nset-plot-y-range 0 num-cells" "" PENS "infected" 1.0 0 -13791810 true "" "plot num-infected" BUTTON 21 53 84 86 setup setup NIL 1 T OBSERVER NIL NIL NIL NIL 1 SLIDER 21 292 193 325 viral-spread-chance viral-spread-chance 1 20 2.5 0.5 1 NIL HORIZONTAL SLIDER 23 349 195 382 num-ticks num-ticks 0 500 428 1 1 NIL HORIZONTAL PLOT 463 468 667 647 Systemic Infection probability of SI #primary infection foci 0.0 10.0 0.0 10.0 true false "" "" PENS "default" 1.0 0 -13840069 true "" "plot count turtles" SWITCH 22 101 177 134 specified-duration specified-duration 0 1 -1000 PLOT 245 478 445 628 Number of Viruses ticks #viruses 0.0 10.0 1.0 1000.0 true false "set-plot-x-range 0 num-ticks\nset-plot-y-range 0 num-cells" "" PENS "default" 1.0 0 -16777216 true "" "plot num-viruses" SLIDER 19 184 191 217 num-colonizing-viruses num-colonizing-viruses 1 30 8 1 1 NIL HORIZONTAL @#$#@#$#@ ## WHAT IS IT? (a general understanding of what the model is trying to show or explain) ## HOW IT WORKS (what rules the agents use to create the overall behavior of the model) ## HOW TO USE IT (how to use the model, including a description of each of the items in the Interface tab) ## THINGS TO NOTICE (suggested things for the user to notice while running the model) ## THINGS TO TRY (suggested things for the user to try to do (move sliders, switches, etc.) with the model) ## EXTENDING THE MODEL (suggested things to add or change in the Code tab to make the model more complicated, detailed, accurate, etc.) ## NETLOGO FEATURES (interesting or unusual features of NetLogo that the model uses, particularly in the Code tab; or where workarounds were needed for missing features) ## RELATED MODELS (models in the NetLogo Models Library and elsewhere which are of related interest) ## CREDITS AND REFERENCES (a reference to the model's URL on the web if it has one, as well as any other necessary credits, citations, and links) @#$#@#$#@ default true 0 Polygon -7500403 true true 150 5 40 250 150 205 260 250 airplane true 0 Polygon -7500403 true true 150 0 135 15 120 60 120 105 15 165 15 195 120 180 135 240 105 270 120 285 150 270 180 285 210 270 165 240 180 180 285 195 285 165 180 105 180 60 165 15 arrow true 0 Polygon -7500403 true true 150 0 0 150 105 150 105 293 195 293 195 150 300 150 box false 0 Polygon -7500403 true true 150 285 285 225 285 75 150 135 Polygon -7500403 true true 150 135 15 75 150 15 285 75 Polygon -7500403 true true 15 75 15 225 150 285 150 135 Line -16777216 false 150 285 150 135 Line -16777216 false 150 135 15 75 Line -16777216 false 150 135 285 75 bug true 0 Circle -7500403 true true 96 182 108 Circle -7500403 true true 110 127 80 Circle -7500403 true true 110 75 80 Line -7500403 true 150 100 80 30 Line -7500403 true 150 100 220 30 butterfly true 0 Polygon -7500403 true true 150 165 209 199 225 225 225 255 195 270 165 255 150 240 Polygon -7500403 true true 150 165 89 198 75 225 75 255 105 270 135 255 150 240 Polygon -7500403 true true 139 148 100 105 55 90 25 90 10 105 10 135 25 180 40 195 85 194 139 163 Polygon -7500403 true true 162 150 200 105 245 90 275 90 290 105 290 135 275 180 260 195 215 195 162 165 Polygon -16777216 true false 150 255 135 225 120 150 135 120 150 105 165 120 180 150 165 225 Circle -16777216 true false 135 90 30 Line -16777216 false 150 105 195 60 Line -16777216 false 150 105 105 60 car false 0 Polygon -7500403 true true 300 180 279 164 261 144 240 135 226 132 213 106 203 84 185 63 159 50 135 50 75 60 0 150 0 165 0 225 300 225 300 180 Circle -16777216 true false 180 180 90 Circle -16777216 true false 30 180 90 Polygon -16777216 true false 162 80 132 78 134 135 209 135 194 105 189 96 180 89 Circle -7500403 true true 47 195 58 Circle -7500403 true true 195 195 58 circle false 0 Circle -7500403 true true 0 0 300 circle 2 false 0 Circle -7500403 true true 0 0 300 Circle -16777216 true false 30 30 240 cow false 0 Polygon -7500403 true true 200 193 197 249 179 249 177 196 166 187 140 189 93 191 78 179 72 211 49 209 48 181 37 149 25 120 25 89 45 72 103 84 179 75 198 76 252 64 272 81 293 103 285 121 255 121 242 118 224 167 Polygon -7500403 true true 73 210 86 251 62 249 48 208 Polygon -7500403 true true 25 114 16 195 9 204 23 213 25 200 39 123 cylinder false 0 Circle -7500403 true true 0 0 300 dot false 0 Circle -7500403 true true 90 90 120 face happy false 0 Circle -7500403 true true 8 8 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Polygon -16777216 true false 150 255 90 239 62 213 47 191 67 179 90 203 109 218 150 225 192 218 210 203 227 181 251 194 236 217 212 240 face neutral false 0 Circle -7500403 true true 8 7 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Rectangle -16777216 true false 60 195 240 225 face sad false 0 Circle -7500403 true true 8 8 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Polygon -16777216 true false 150 168 90 184 62 210 47 232 67 244 90 220 109 205 150 198 192 205 210 220 227 242 251 229 236 206 212 183 fish false 0 Polygon -1 true false 44 131 21 87 15 86 0 120 15 150 0 180 13 214 20 212 45 166 Polygon -1 true false 135 195 119 235 95 218 76 210 46 204 60 165 Polygon -1 true false 75 45 83 77 71 103 86 114 166 78 135 60 Polygon -7500403 true true 30 136 151 77 226 81 280 119 292 146 292 160 287 170 270 195 195 210 151 212 30 166 Circle -16777216 true false 215 106 30 flag false 0 Rectangle -7500403 true true 60 15 75 300 Polygon -7500403 true true 90 150 270 90 90 30 Line -7500403 true 75 135 90 135 Line -7500403 true 75 45 90 45 flower false 0 Polygon -10899396 true false 135 120 165 165 180 210 180 240 150 300 165 300 195 240 195 195 165 135 Circle -7500403 true true 85 132 38 Circle -7500403 true true 130 147 38 Circle -7500403 true true 192 85 38 Circle -7500403 true true 85 40 38 Circle -7500403 true true 177 40 38 Circle -7500403 true true 177 132 38 Circle -7500403 true true 70 85 38 Circle -7500403 true true 130 25 38 Circle -7500403 true true 96 51 108 Circle -16777216 true false 113 68 74 Polygon -10899396 true false 189 233 219 188 249 173 279 188 234 218 Polygon -10899396 true false 180 255 150 210 105 210 75 240 135 240 house false 0 Rectangle -7500403 true true 45 120 255 285 Rectangle -16777216 true false 120 210 180 285 Polygon -7500403 true true 15 120 150 15 285 120 Line -16777216 false 30 120 270 120 leaf false 0 Polygon -7500403 true true 150 210 135 195 120 210 60 210 30 195 60 180 60 165 15 135 30 120 15 105 40 104 45 90 60 90 90 105 105 120 120 120 105 60 120 60 135 30 150 15 165 30 180 60 195 60 180 120 195 120 210 105 240 90 255 90 263 104 285 105 270 120 285 135 240 165 240 180 270 195 240 210 180 210 165 195 Polygon -7500403 true true 135 195 135 240 120 255 105 255 105 285 135 285 165 240 165 195 line true 0 Line -7500403 true 150 0 150 300 line half true 0 Line -7500403 true 150 0 150 150 pentagon false 0 Polygon -7500403 true true 150 15 15 120 60 285 240 285 285 120 person false 0 Circle -7500403 true true 110 5 80 Polygon -7500403 true true 105 90 120 195 90 285 105 300 135 300 150 225 165 300 195 300 210 285 180 195 195 90 Rectangle -7500403 true true 127 79 172 94 Polygon -7500403 true true 195 90 240 150 225 180 165 105 Polygon -7500403 true true 105 90 60 150 75 180 135 105 plant false 0 Rectangle -7500403 true true 135 90 165 300 Polygon -7500403 true true 135 255 90 210 45 195 75 255 135 285 Polygon -7500403 true true 165 255 210 210 255 195 225 255 165 285 Polygon -7500403 true true 135 180 90 135 45 120 75 180 135 210 Polygon -7500403 true true 165 180 165 210 225 180 255 120 210 135 Polygon -7500403 true true 135 105 90 60 45 45 75 105 135 135 Polygon -7500403 true true 165 105 165 135 225 105 255 45 210 60 Polygon -7500403 true true 135 90 120 45 150 15 180 45 165 90 sheep false 15 Circle -1 true true 203 65 88 Circle -1 true true 70 65 162 Circle -1 true true 150 105 120 Polygon -7500403 true false 218 120 240 165 255 165 278 120 Circle -7500403 true false 214 72 67 Rectangle -1 true true 164 223 179 298 Polygon -1 true true 45 285 30 285 30 240 15 195 45 210 Circle -1 true true 3 83 150 Rectangle -1 true true 65 221 80 296 Polygon -1 true true 195 285 210 285 210 240 240 210 195 210 Polygon -7500403 true false 276 85 285 105 302 99 294 83 Polygon -7500403 true false 219 85 210 105 193 99 201 83 square false 0 Rectangle -7500403 true true 30 30 270 270 square 2 false 0 Rectangle -7500403 true true 30 30 270 270 Rectangle -16777216 true false 60 60 240 240 star false 0 Polygon -7500403 true true 151 1 185 108 298 108 207 175 242 282 151 216 59 282 94 175 3 108 116 108 target false 0 Circle -7500403 true true 0 0 300 Circle -16777216 true false 30 30 240 Circle -7500403 true true 60 60 180 Circle -16777216 true false 90 90 120 Circle -7500403 true true 120 120 60 tree false 0 Circle -7500403 true true 118 3 94 Rectangle -6459832 true false 120 195 180 300 Circle -7500403 true true 65 21 108 Circle -7500403 true true 116 41 127 Circle -7500403 true true 45 90 120 Circle -7500403 true true 104 74 152 triangle false 0 Polygon -7500403 true true 150 30 15 255 285 255 triangle 2 false 0 Polygon -7500403 true true 150 30 15 255 285 255 Polygon -16777216 true false 151 99 225 223 75 224 truck false 0 Rectangle -7500403 true true 4 45 195 187 Polygon -7500403 true true 296 193 296 150 259 134 244 104 208 104 207 194 Rectangle -1 true false 195 60 195 105 Polygon -16777216 true false 238 112 252 141 219 141 218 112 Circle -16777216 true false 234 174 42 Rectangle -7500403 true true 181 185 214 194 Circle -16777216 true false 144 174 42 Circle -16777216 true false 24 174 42 Circle -7500403 false true 24 174 42 Circle -7500403 false true 144 174 42 Circle -7500403 false true 234 174 42 turtle true 0 Polygon -10899396 true false 215 204 240 233 246 254 228 266 215 252 193 210 Polygon -10899396 true false 195 90 225 75 245 75 260 89 269 108 261 124 240 105 225 105 210 105 Polygon -10899396 true false 105 90 75 75 55 75 40 89 31 108 39 124 60 105 75 105 90 105 Polygon -10899396 true false 132 85 134 64 107 51 108 17 150 2 192 18 192 52 169 65 172 87 Polygon -10899396 true false 85 204 60 233 54 254 72 266 85 252 107 210 Polygon -7500403 true true 119 75 179 75 209 101 224 135 220 225 175 261 128 261 81 224 74 135 88 99 wheel false 0 Circle -7500403 true true 3 3 294 Circle -16777216 true false 30 30 240 Line -7500403 true 150 285 150 15 Line -7500403 true 15 150 285 150 Circle -7500403 true true 120 120 60 Line -7500403 true 216 40 79 269 Line -7500403 true 40 84 269 221 Line -7500403 true 40 216 269 79 Line -7500403 true 84 40 221 269 wolf false 0 Polygon -16777216 true false 253 133 245 131 245 133 Polygon -7500403 true true 2 194 13 197 30 191 38 193 38 205 20 226 20 257 27 265 38 266 40 260 31 253 31 230 60 206 68 198 75 209 66 228 65 243 82 261 84 268 100 267 103 261 77 239 79 231 100 207 98 196 119 201 143 202 160 195 166 210 172 213 173 238 167 251 160 248 154 265 169 264 178 247 186 240 198 260 200 271 217 271 219 262 207 258 195 230 192 198 210 184 227 164 242 144 259 145 284 151 277 141 293 140 299 134 297 127 273 119 270 105 Polygon -7500403 true true -1 195 14 180 36 166 40 153 53 140 82 131 134 133 159 126 188 115 227 108 236 102 238 98 268 86 269 92 281 87 269 103 269 113 x false 0 Polygon -7500403 true true 270 75 225 30 30 225 75 270 Polygon -7500403 true true 30 75 75 30 270 225 225 270 @#$#@#$#@ NetLogo 5.2.0 @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ default 0.0 -0.2 0 0.0 1.0 0.0 1 1.0 0.0 0.2 0 0.0 1.0 link direction true 0 Line -7500403 true 150 150 90 180 Line -7500403 true 150 150 210 180 @#$#@#$#@ 0 @#$#@#$#@
NetLogo
5
igem-waterloo/uwaterloo-igem-2015
models/viralspread/netlogo/TryRodrigo.nlogo
[ "MIT" ]
'reach 0.1'; 'use strict'; const Command = Data({ Get: Null, Set: UInt, }); const IUser = { what: Fun([], Command), get: Fun([UInt], Null), set: Fun([UInt], Null), }; export const main = Reach.App( {}, [ Participant("User", IUser) ], (User) => { User.publish(); var val = 0; invariant( balance() == 0 ); while ( true ) { commit(); User.only(() => { const cmd = declassify(interact.what()); }); User.publish(cmd); switch ( cmd ) { case Get: { User.only(() => interact.get(val)); continue; } case Set: { User.only(() => interact.set(cmd)); val = cmd; continue; } } } commit(); assert(false); exit(); });
RenderScript
3
chikeabuah/reach-lang
examples/pr202105-zet/index.rsh
[ "Apache-2.0" ]
L CCA4758 e_4758cca_err.h e_4758cca_err.c
eC
0
jiangzhu1212/oooii
Ouroboros/External/OpenSSL/openssl-1.0.0e/engines/e_4758cca.ec
[ "MIT" ]
:orphan: *************** NumPy internals *************** .. This document has been moved to ../dev/internals.rst. This document has been moved to :ref:`numpy-internals`.
reStructuredText
0
iam-abbas/numpy
doc/source/reference/internals.rst
[ "BSD-3-Clause" ]
<p>Hello,</p> <p>Your Slack integration has expired. </p> <p>Please reconnect Slack to continue receiving messages on Slack</p> <p> Click <a href="{{action_url}}">here</a> to re-connect. </p>
Liquid
2
Devyani606/chatwoot
app/views/mailers/administrator_notifications/channel_notifications_mailer/slack_disconnect.liquid
[ "MIT" ]
status = [ "test" ] delete_merged_branches = true timeout_sec = 300
TOML
0
paulsputer/hiring-without-whiteboards
bors.toml
[ "MIT" ]
%h3 500 Internal Server Error %hr %p Please try later.
Scaml
0
mohno007/skinny-framework
skinny-blank-app/src/main/webapp/WEB-INF/views/error/500.html.scaml
[ "MIT" ]
(: Query for returning one database entry :) import module namespace req = "http://www.28msec.com/modules/http-request"; import module namespace catalog = "http://guide.com/catalog"; variable $id := (req:param-values("id"), "London")[1]; variable $part := (req:param-values("part"), "main")[1]; catalog:get-data-by-key($id, $part)
JSONiq
3
JavascriptID/sourcerer-app
src/test/resources/samples/langs/JSONiq/detail.jq
[ "MIT" ]
// Unary operator void // operand before void var ANY = ANY void ; //expect error // miss an operand var ANY1 = void ;
TypeScript
2
nilamjadhav/TypeScript
tests/cases/conformance/expressions/unaryOperators/voidOperator/voidOperatorInvalidOperations.ts
[ "Apache-2.0" ]
/** Copyright 2015 Acacia Team 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. */ package org.acacia.partitioner.local; import x10.util.ArrayList; import x10.util.HashMap; import x10.util.HashSet; import x10.interop.Java; import x10.core.Thread; import x10.util.Set; import x10.util.Map.Entry; import x10.util.StringBuilder; import java.util.TreeMap; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.lang.Runtime; import java.io.File; import java.lang.Process; import java.io.IOException; import java.io.InputStreamReader; //import com.google.common.base.Splitter; import org.acacia.server.AcaciaManager; import org.acacia.centralstore.AcaciaHashMapCentralStore; import org.acacia.util.Utils; import x10.interop.Java; import org.acacia.metadata.db.java.MetaDataDBInterface; public class MetisPartitioner { //The following TreeMap loads the entire graph data file into memory. This is plausible because //the size of graph data sets loaded during the non-distributed mode of operation of Acacia is small. private var graphStorage:Rail[TreeMap] = null; //Stores the entire graph used for partitioning. private var outputFilePath:String; private var vertexCount:int; private var edgeCount:int; private var nParts:int; private var zeroVertFlag:boolean = false; private var graphName:String; private var graphID:String; private var partitionIndex:Rail[short]; //We keep the partition index as short because sgraphStoragehort can store //maximum 32,767 values in a short variable. private var partitionIDsList:ArrayList[Short] = new ArrayList[Short](); private var initPartFlag:boolean; private var isDistributedCentralPartitions:boolean; private var initlaPartitionID:int; private var partitionFileList:Rail[String]; private var nThreads:int; private var largestVertex:int; private var nPlaces:int; public def convert(graphName:String, graphID:String, inputFilePath:String, outputFilePath:String, nParts:int, isDistributedCentralPartitions:boolean, nThreads:int, nPlaces:int){ convertWithoutDistribution(graphName, graphID, inputFilePath, outputFilePath, nParts, isDistributedCentralPartitions, nThreads, nPlaces); distributeEdges(); } public def convertWithoutDistribution(graphName:String, graphID:String, inputFilePath:String, outputFilePath:String, nParts:int, isDistributedCentralPartitions:boolean, nThreads:int, nPlaces:int){ this.outputFilePath = outputFilePath; this.nParts = nParts; this.graphName = graphName; this.isDistributedCentralPartitions = isDistributedCentralPartitions; this.graphID = graphID; this.nThreads = nThreads; this.nPlaces = nPlaces; //The following number of Treemap instances is kind of tricky, but it was decided to use nThreads number of TreeMaps to improve the data loading performance. graphStorage = new Rail[TreeMap](nThreads); for(var i:int = 0n; i < nThreads; i++){ graphStorage(i) = new TreeMap(); } loadDataSet(inputFilePath); constructMetisFormat(-1n); partitionWithMetis(nParts); } private def distributeEdges(){ val partitionFilesMap:HashMap[Short, PartitionWriter] = new HashMap[Short, PartitionWriter](); val centralStoresMap:HashMap[Short, AcaciaHashMapCentralStore] = new HashMap[Short, AcaciaHashMapCentralStore](); //First we travers through the partitions index created by Metis and preparegraphStorage PartitionWriter objects //for each partition. //Also we have to create an index for fast reference. This is not possible with the Distributed version //which is aimed for large graphs. But for local mode of operation we can rely on such index. partitionIndex = new Rail[short]((vertexCount + 1) as Int); var br:BufferedReader; try{ br = new BufferedReader(new FileReader(outputFilePath+"/grf.part."+nParts)); //compare this line with .java file var line:String = br.readLine(); var counter:int = 0n; var partitionID:short = 0s; var refToWriter:PartitionWriter = null; initPartFlag = false; while(line != null){ partitionID = Short.parseShort(line); partitionIndex(counter) = partitionID; refToWriter = partitionFilesMap.get(partitionID); if(refToWriter == null){ MetaDataDBInterface.runInsert("INSERT INTO ACACIA_META.PARTITION(GRAPH_IDGRAPH, IDPARTITION) VALUES(" + graphID + "," + partitionID + ")"); //refToWriter = new PartitionWriter(outputFilePath+"/"+graphID+"_"+actualPartitionID); refToWriter = new PartitionWriter(Int.parse(graphID), partitionID, outputFilePath+"/"+graphID+"_"+partitionID); partitionFilesMap.put(partitionID, refToWriter); partitionIDsList.add(partitionID); } line = br.readLine(); counter++; } }catch(e:java.io.IOException){ e.printStackTrace(); } //Next we have to go through the original edgelist and see whether each and every edge falls into the //same partition. If so we can put the edge on to that partition. If not, we have to upload the edge //to the central store. //The first pass is just to get the information of how the data set will be partitioned across Acacia. var same:int = 0n; var different:int = 0n; var numberOfPartitions:int ;//= partitionFilesMap.keySet().size() < nThreads ? nThreads : partitionFilesMap.keySet().size(); if(partitionFilesMap.keySet().size() < nThreads){ numberOfPartitions = nThreads; }else{ numberOfPartitions = partitionFilesMap.keySet().size() as int; } val numVerts:Rail[int] = new Rail[int](numberOfPartitions); var fromVertex :int= 0n; var toVertex:int = 0n; var fromVertexPartition:short = 0s; var toVertexPartition:short = 0s; tArray:Rail[CustomThread] = new Rail[CustomThread](nThreads); finish for(var k:int = 0n; k < nThreads; k++){ val i:Int = k; async{ tArray(i) = new CustomThread(i, numberOfPartitions); //val itr:java.util.Iterator[Map.Entry[Int,java.util.HashSet[Int]]] = graphStorage(i).entrySet().iterator() as java.util.Iterator[Map.Entry[Int,java.util.HashSet[Int]]]; val itrN:java.util.Iterator = graphStorage(i).keySet().iterator() as java.util.Iterator; var toVertexPartition2:Int = 0n; var toVertex2:Int = 0n; while(itrN.hasNext()){ //val entry:java.util.Map.Entry[Int, HashSet[Int]] = itrN.next(); //var fromVertex2:Int = entry.getKey(); var fromVertex2:Int = itrN.next() as Int; var fromVertexPartition2:Int = partitionIndex(fromVertex2); var hs:x10.util.HashSet[Int] = graphStorage(i).get(fromVertex2) as x10.util.HashSet[Int]; if(hs != null){ val itr2:x10.lang.Iterator[Int] = hs.iterator() as x10.lang.Iterator[Int]; while(itr2.hasNext()){ toVertex2 = itr2.next() as Int; toVertexPartition2 = partitionIndex(toVertex2); if(fromVertexPartition2 != toVertexPartition2){ tArray(i).different++; }else{ tArray(i).same++; tArray(i).numVertesPrivate(fromVertexPartition2)++; } } }else{ continue; } } tArray(i).setDone(); } } while(true){ var flag:boolean = true; for(var x:int = 0n; x < nThreads; x++){ if(!tArray(x).isDone()){ flag = false; } } if(flag){ break; } try { System.sleep(100); } catch (e:Exception) { e.printStackTrace(); } } for(var i:int = 0n; i < nThreads; i++){ different += tArray(i).different; same += tArray(i).same; for(var j:int = 0n; j < numberOfPartitions; j++){ numVerts(j) += tArray(i).numVertesPrivate(j); } } Console.OUT.println("---------partitioning strategy---------"); Console.OUT.println("number of edges for central store:"+different); Console.OUT.println("number of edges for local stores:"+same); for(var i:int = 0n; i < numberOfPartitions; i++){ Console.OUT.println("partition("+i+") edges:"+numVerts(i)); } Console.OUT.println("selected central partitioning strategy : " + (isDistributedCentralPartitions ? "distributed":"single")); Console.OUT.println("---------------------------------------"); //In the second run we actually separate the graph data to multiple partitions. //The following code assume there is only single central partition val numberOfCentralPartitions:int = nParts; for(var i:short = 0s; i < numberOfCentralPartitions; i++){ centralStoresMap.put(i, new AcaciaHashMapCentralStore(Int.parseInt(graphID), i)); } val edgesPerCentralStore:int = (different / numberOfCentralPartitions) + 1n; Console.OUT.println("--> edgesPerCentralStore : " + edgesPerCentralStore); MetaDataDBInterface.runUpdate("UPDATE ACACIA_META.GRAPH SET CENTRALPARTITIONCOUNT=" + numberOfCentralPartitions + ", VERTEXCOUNT=" + vertexCount + ", EDGECOUNT=" + edgeCount + " WHERE IDGRAPH=" + graphID); hmapSB:HashMap[Short, StringBuilder] = new HashMap[Short, StringBuilder](); hmapCentral:HashMap[Short, StringBuilder] = new HashMap[Short, StringBuilder](); sbCentral:Rail[StringBuilder] = new Rail[StringBuilder](nThreads); for(var u:int = 0n; u < nThreads; u++){ val itrN:java.util.Iterator = graphStorage(u).keySet().iterator() as java.util.Iterator; for(var i:int = 0n; i < numberOfCentralPartitions; i++){ while(itrN.hasNext()){ fromVertex = itrN.next() as Int; valItem:Set[Int] = graphStorage(u).get(fromVertex) as Set[Int]; fromVertexPartition = partitionIndex(fromVertex); val itr2:Iterator[Int] = valItem.iterator(); while(itr2.hasNext()){ toVertex = itr2.next(); toVertexPartition = partitionIndex(toVertex); if(fromVertexPartition != toVertexPartition){ //Here the assumption is that we will create same number of central store partitions as the number of local store partitions. val central:AcaciaHashMapCentralStore = centralStoresMap.get(fromVertexPartition as short); central.addEdge(fromVertex as Long, toVertex as Long); }else{ var pw:PartitionWriter = partitionFilesMap.get(fromVertexPartition as short); pw.writeEdge(fromVertex, toVertex); } } } } } for(var i:int = 0n; i < numberOfCentralPartitions; i++){ //org.acacia.util.java.Utils_Java.writeToFile("centralStore-part-" + i + ".txt", sbCentral[i]); val central:AcaciaHashMapCentralStore = centralStoresMap.get(i as short); MetaDataDBInterface.runInsert("INSERT INTO ACACIA_META.CPARTITION(IDCPARTITION, IDGRAPH, VERTEXCOUNT, EDGECOUNT) VALUES(" + i + "," + graphID + ",0,0)"); central.storeGraph(); } //Finalize the partitioning process. In the above lines we have written the edges to PartitionWriter objects. //here we are just writing the contents to file system. val pItr:Iterator[Entry[Short, PartitionWriter]] = partitionFilesMap.entries().iterator(); val paths:ArrayList[String] = new ArrayList[String](); partitionFileList = new Rail[String](partitionFilesMap.entries().size()); var k:int = 0n; while(pItr.hasNext()){ val item:Entry[Short, PartitionWriter] = pItr.next(); val pw:PartitionWriter = item.getValue(); paths.add(pw.getOutputFilePath()); pw.compress(); partitionFileList(k) = pw.getOutputFilePath() + ".zip"; k++; pw.close(); } distributeCentralStore(numberOfCentralPartitions,graphID); //MetisPartitioner distributes only central store partitions. //The distribution of the local store partitions happen at the AcaciaSever. See the uploadGraphLocally() method //which calls this method for details. Console.OUT.println("Done partitioning..."); } public def distributeCentralStore(n:int, val graphID:String){ try{ var placeToHostMap:HashMap[Long, String] = new HashMap[Long, String](); val r:Runtime = Runtime.getRuntime(); var hostID:int=0n,hostCount:int = 0n,nPlaces:int=0n; for(var j:Long=0;j<n;j++){ nPlaces = AcaciaManager.getNPlaces(org.acacia.util.Utils.getPrivateHostList()(0)); var hostList:ArrayList[String] = new ArrayList[String](); val f:File = new File("machines.txt"); var br:BufferedReader = new BufferedReader(new FileReader(f)); var str:String = br.readLine(); while(str != null){ hostList.add(str.trim()); str = br.readLine(); } br.close(); hostCount = hostList.size() as int; hostID = (j % hostCount) as int; var hostName:String = hostList.get(hostID); placeToHostMap.put(j, hostName); } val itr2:Iterator[Entry[Long, String]] = placeToHostMap.entries().iterator(); var i:int = 0n; var tArray:Rail[CustomThread] = new Rail[CustomThread](n); while(itr2.hasNext()){ val filePath:String = Utils.call_getAcaciaProperty("org.acacia.server.runtime.location")+"/" + graphID + "_centralstore/"+graphID+"_"+i; //i = i + 1; Console.OUT.println("zip -rj "+filePath+"_trf.zip "+filePath); val process:Process = r.exec("zip -rj "+filePath+"_trf.zip "+filePath); val itemHost:Entry[Long, String] = itr2.next(); if(itemHost==null){ break; } val port:int = org.acacia.util.java.Conts_Java.ACACIA_INSTANCE_PORT;//This is the starting point hostID = (itemHost.getKey() % hostCount) as int; val withinPlaceIndex:int = ((itemHost.getKey() - hostID) as int)/hostCount; val instancePort:int = port + withinPlaceIndex; val fileTransferport:int = instancePort + (nPlaces/hostCount) + 1n; //async{ tArray(i) = new CustomThread(i); // tArray(i) = new CustomThread(i){ // public def run(){ AcaciaManager.batchUploadCentralStore(itemHost.getValue(), instancePort, Long.parseLong(graphID), filePath+"_trf.zip", fileTransferport); hostDI:String = org.acacia.metadata.db.java.MetaDataDBInterface.runSelect("SELECT idhost FROM ACACIA_META.HOST WHERE name LIKE '" + itemHost.getValue() + "'").getObjectArray()(0n) as String; //hostDI:String = org.acacia.metadata.db.java.MetaDataDBInterface.runSelect("SELECT idhost FROM ACACIA_META.HOST WHERE name LIKE '" + itemHost.getValue() + "'")(0).value; MetaDataDBInterface.runInsert("INSERT INTO ACACIA_META.HOST_HAS_CPARTITION(HOST_IDHOST, CPARTITION_IDCPARTITION, CPARTITION_GRAPH_IDCGRAPH) VALUES(" + hostDI + "," + i + "," + graphID + ")"); tArray(i).setDone(); // } // }; //} //tArray(i).start(); i = i + 1n; } Console.OUT.println("---AAAA--------"); while(true){ var flag:boolean = true; for(var x:int = 0n; x < n; x++){ if(!tArray(x).isDone()){ flag = false; } } if(flag){ break; } try { Thread.currentThread().sleep(100); } catch (e:Exception) { e.printStackTrace(); } } //ToDO : The functionality of the following code must be verified. It seems currently it does not work. //next, we need to delete the local copies of the central store to avoid the working directory get filled with temp data. for(var j:Long=0;j<n;j++){ Console.OUT.println("---BBBB--------1"); val filePath:String = Utils.call_getAcaciaProperty("org.acacia.server.runtime.location")+"/" + graphID + "_centralstore/"+graphID+"_"+j; Console.OUT.println("file:" + filePath); val p1:java.lang.Process = r.exec("rm -r "+filePath); Console.OUT.println("---BBBB--------2"); val p2:java.lang.Process = r.exec("rm "+filePath+"_trf.zip"); Console.OUT.println("---BBBB--------3"); Console.OUT.println("|rm -r "+filePath+"|"); Console.OUT.println("|rm "+filePath+"_trf.zip|"); } Console.OUT.println("---BBBB--------"); }catch(e:java.io.IOException){ Console.OUT.println("Error : "+e.getMessage()); } } private def partitionWithMetis(nParts:int){ Console.OUT.println("nParts-->local partitioner:" + nParts); val metisHome:String = Utils.call_getAcaciaProperty("org.acacia.partitioner.metis.home"); val r:Runtime = Runtime.getRuntime(); val p:Process; try{ p = r.exec(metisHome + "/bin/gpmetis "+outputFilePath+"/grf " + nParts); p.waitFor(); val b:BufferedReader = new BufferedReader(new InputStreamReader(p.getInputStream())); var line:String = ""; val sb:StringBuilder = new StringBuilder(); while((line=b.readLine())!= null){ Console.OUT.println(line); sb.add(line); } //Here we have to check whether METIS throws any errors. Sometimes, the number of edges //we have counted is different from what METIS finds. In that case we have to use the edge //count provided by METIS. val notFoundIndex:int = sb.toString().indexOf("However, I only found "); if(notFoundIndex != -1n){ var str:String = sb.toString(); val i1:int = notFoundIndex+22n; str = str.substring(i1); val i2:int = str.indexOf(" "); str = str.substring(0n, i2); Console.OUT.println("Correct metis edge count : " + str); constructMetisFormat(Int.parseInt(str)); //adjustEdgeCount(vertexCount, Long.parseLong(str)); partitionWithMetis(nParts); } }catch (e:IOException) { e.printStackTrace(); } catch (e:java.lang.InterruptedException) { e.printStackTrace(); } } private def adjustEdgeCount(vertexCount:int, newEdgeCount:int){ try{ val r:Runtime = Runtime.getRuntime(); //Note on May 30 2015 : The following call to sed cannot be executed via Java. This is strange... Therefore, have to stick to //file writing base technique. val cmd:Rail[String] = new Rail[String](4n); //{"/bin/sed", "-i", "--expression='1s/.*/" + vertexCount + " " + newEdgeCount + "/'", outputFilePath+"/grf"}; cmd(0n) = "/bin/sed"; cmd(1n) = "-i"; cmd(2n) = "--expression='1s/.*/" + vertexCount + " " + newEdgeCount + "/'"; cmd(3n) = outputFilePath+"/grf"; val p:Process = r.exec(x10.interop.Java.convert(cmd)); p.waitFor(); val b:BufferedReader = new BufferedReader(new InputStreamReader(p.getInputStream())); var line:String = null; while((line=b.readLine())!= null){ Console.OUT.println(line); } }catch(e:IOException){ e.printStackTrace(); }catch(e:java.lang.InterruptedException){ e.printStackTrace(); } } public def getPartitionFileList():Rail[String]{ return partitionFileList; } public def getPartitionIDList():Rail[Short]{ val items:Rail[Short] = new Rail[Short](partitionIDsList.size()); var cntr:int = 0n; for(val i:Short in partitionIDsList){ items(cntr) = i; cntr++; } return items; } public def lst():Rail[String]{ return null; } private def constructMetisFormat(adjustEdgestCount:int){ //if zeroVertFlag is true, The graph has a vertex with id zero. if(!zeroVertFlag){ Console.OUT.println("The graph starts from vertex id 1"); }else{ Console.OUT.println("The graph has zero vertex"); } //int largestVertex = graphStorage.lastEntry().getKey(); file:File = new File(outputFilePath+"/grf"); try{ // if file doesnt exists, then create it if (!file.exists()) { file.createNewFile(); } val fw:FileWriter = new FileWriter(file.getAbsoluteFile()); val bw:BufferedWriter = new BufferedWriter(fw); //Note: in Metis The numbering of the nodes starts from 1 vertexCount = largestVertex; if(adjustEdgestCount == -1n){ bw.write("" + largestVertex + " " + edgeCount); }else{ bw.write("" + largestVertex + " " + adjustEdgestCount); } bw.write("\r\n"); bw.flush(); //Vertex IDs must start from 1 var i:int = 1n; for(; i <= largestVertex; i++){ val itemsList:HashSet[Int] = graphStorage(i%nThreads).get(i) as HashSet[Int]; if(itemsList == null){ if(i == 0n){ bw.write("1 \r\n");//if there are no edges for this vertex, we introduce a self edge to avoid Metis's complain which says it detected different number of edges //this seems to be the only solution at the moment (May 2015) }else{ bw.write("\r\n"); } bw.flush(); //cn++; }else{ val itr:Iterator[Int] = itemsList.iterator(); while(itr.hasNext()){ bw.write(""+(itr.next())); if(!itr.hasNext()){ bw.write("\r\n"); }else{ bw.write(" "); } bw.flush(); } } } bw.close(); }catch(e:IOException){ e.printStackTrace(); } Console.OUT.println("Done"); } private def loadDataSet(filePath:String){ var br:BufferedReader; var firstVertex:int = -1n; var secondVertex:int = -1n; try{ br = new BufferedReader(new FileReader(filePath)); var line:String = br.readLine(); var splitter:com.google.common.base.Splitter = null; if(line != null){ if(line.indexOf(" ")>=0){ Console.OUT.println("space"); splitter = com.google.common.base.Splitter.on(' '); }else if(line.indexOf("\t")>=0){ Console.OUT.println("tab"); splitter = com.google.common.base.Splitter.on('\t'); }else if(line.indexOf(",")>=0){ Console.OUT.println("comma"); splitter = com.google.common.base.Splitter.on(','); }else{ Console.OUT.println("Error : Could not find the required splitter character ..."); } } //Here first we need to scan through the file one round and see whether the file contains a zero vertex. //If it contains a zero vertex we have to treat it separately. So that will be done in the second round. while (line != null) { //val dataStrIterator:Iterator[String] = splitter.split(line).iterator() as Iterator[String]; val dataStrIterator:java.util.Iterator = splitter.split(line).iterator(); // Console.OUT.println("first:" + dataStrIterator.next()); // Console.OUT.println("second:" + dataStrIterator.next()); // firstVertex = x10.interop.Java.convert(dataStrIterator.next()); // secondVertex = x10.interop.Java.convert(dataStrIterator.next()); firstVertex = Int.parse("" + dataStrIterator.next()); secondVertex = Int.parse("" + dataStrIterator.next()); // Console.OUT.println("first:" + firstVertex + " second:" + secondVertex); if((firstVertex == 0n)||(secondVertex == 0n)){ zeroVertFlag = true; //Once we found a zero vertex, we should break break; } line = br.readLine(); while((line != null) && (line.trim().length() == 0n)){ line = br.readLine(); } } br.close(); //Next, we start loading the graph br = new BufferedReader(new FileReader(filePath)); line = br.readLine(); while (line != null) { //val dataStrIterator:Iterator[String] = splitter.split(line).iterator() as Iterator[String]; // firstVertex = Int.parseInt(dataStrIterator.next()); // secondVertex = Int.parseInt(dataStrIterator.next()); val dataStrIterator:java.util.Iterator = splitter.split(line).iterator(); firstVertex = Int.parse("" + dataStrIterator.next()); secondVertex = Int.parse("" + dataStrIterator.next()); if(firstVertex == secondVertex){ line = br.readLine(); while((line != null)&&(line.trim().length() == 0n)){ line = br.readLine(); } continue; } if(zeroVertFlag){ firstVertex = firstVertex + 1n; secondVertex = secondVertex + 1n; } //boolean containsFlag = false; //Treat the first vertex val firstVertexIdx:int = firstVertex%nThreads; var vertexSet:Set[Int] = graphStorage(firstVertexIdx).get(firstVertex) as Set[Int]; if(vertexSet == null){ vertexSet = new HashSet[Int](); vertexSet.add(secondVertex); edgeCount++; graphStorage(firstVertexIdx).put(firstVertex, vertexSet); }else{ if(vertexSet.add(secondVertex)){ edgeCount++; } //Note: we are getting a reference, so no need to put it back. //graphStorage.put(firstVertex, vertexSet); } //Next, treat the second vertex val secondVertexIdx:int = secondVertex%nThreads; vertexSet = graphStorage(secondVertexIdx).get(secondVertex) as Set[Int]; if(vertexSet == null){ vertexSet = new HashSet[Int](); vertexSet.add(firstVertex); edgeCount++; graphStorage(secondVertexIdx).put(secondVertex, vertexSet); }else{ if(vertexSet.add(firstVertex)){ edgeCount++; } //Note: we are getting a reference, so no need to put it back. //graphStorage.put(secondVertex, vertexSet); } if(firstVertex > largestVertex){ largestVertex = firstVertex; } if(secondVertex > largestVertex){ largestVertex = secondVertex; } line = br.readLine(); while((line != null)&&(line.trim().length() == 0n)){ line = br.readLine(); } } }catch(e:IOException){ e.printStackTrace(); } Console.OUT.println("Loaded edges (directed) : " + edgeCount); Console.OUT.println("Loaded edges (undirected) : " + (edgeCount/2)); edgeCount = edgeCount/2n; } public def printGraphContent(){ if(graphStorage != null){ for(var i:int = 0n; i < nThreads; i++){ val entrySet:Set[Entry[Int, Set[Int]]] = graphStorage(i).entrySet() as Set[Entry[Int, Set[Int]]]; val itr:Iterator[Entry[Int, Set[Int]]] = entrySet.iterator(); while(itr.hasNext()){ val entry:Entry[Int, Set[Int]] = itr.next();//(Entry<Integer, HashSet<Integer>>) Console.OUT.print(entry.getKey()); Console.OUT.print("-->["); val itr2:Iterator[Int] = entry.getValue().iterator(); while(itr2.hasNext()){ Console.OUT.print(itr2.next()); if(itr2.hasNext()){ Console.OUT.print(","); } } Console.OUT.println("]"); } } }else{ Console.OUT.println("No data on graph structure..."); } } public def getVertexCount():int{ return vertexCount; } class CustomThread extends Thread{ private var done:boolean; private var i:int = 0n; public var different:int = 0n; public var same:int = 0n; public var numVertesPrivate:Rail[int]; public def this(i2:int){ i = i2; } public def this(i2:int, nParts:int){ i = i2; numVertesPrivate = new Rail[int](nParts); } public def getI():int{ return i; } public def setDone(){ this.done = true; Console.OUT.println("Done:" + i); } public def isDone():boolean{ return done; } } }
X10
4
mdherath/Acacia
src/org/acacia/partitioner/local/MetisPartitioner.x10
[ "Apache-2.0" ]
(% % rowl - 1st generation % Copyright (C) 2010 nineties % % $Id: alloc.rl 2014-04-17 01:39:46 nineties $ %); include(stddef); export(memalloc, finalize_mem); SYS_MMAP2 => 192; SYS_MUNMAP => 91; PROT_READ => 1; PROT_WRITE => 2; PROT_EXEC => 4; PROT_SEM => 8; PROT_NONE => 0; MAP_SHARED => 1; MAP_PRIVATE => 2; MAP_TYPE => 15; MAP_FIXED => 16; (% 0x10 %); MAP_ANONYMOUS => 32; (% 0x20 %); BLOCK_SIZE => 1048576; (% 1Mbyte %); BLOCK_MASK => 1048575; (% BLOCK_SIZE - 1 %); MAX_BLOCKS => 4096; (% 4096 is enough for 32-bit machine %); block_used : int [MAX_BLOCKS]; next_addr : 0; num_bytes: 0; num_block : 0; free_first : 0; free_last : 0; (% mmap2(void *addr, int size) %); mmap2: (p0, p1) { allocate(1); x0 = syscall(SYS_MMAP2, p0, p1, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); if (-128 <= x0) { if (x0 < 0) { panic("mmap2 failed"); } }; return x0; }; (% munmap(void *addr, int size) %); munmap: (p0, p1) { return syscall(SYS_MUNMAP, p0, p1); }; (% alloc_block(size) %); alloc_block: (p0) { allocate (2); (% x0: address of new block %); p0 = p0 + BLOCK_SIZE; x0 = mmap2(0, p0); x1 = x0 & BLOCK_MASK; if (munmap(x0, BLOCK_SIZE - x1) < 0) { panic("munmap failed"); }; if (x1 > 0) { if (munmap(x0 + p0 - x1, x1) < 0) { panic("munmap failed"); } }; x0 = x0 + BLOCK_SIZE - x1; return x0; }; alloc_block_fast: () { allocate(1); (% x0: address of new block %); if (num_block + 1 > MAX_BLOCKS) { panic("too many blocks"); }; if (next_addr == 0) { x0 = alloc_block(BLOCK_SIZE); } else { x0 = mmap2(next_addr, BLOCK_SIZE); if (x0 & BLOCK_MASK != 0) { if (munmap(x0, BLOCK_SIZE) < 0) { panic("munmap failed"); }; x0 = alloc_block(BLOCK_SIZE); } }; next_addr = x0 + BLOCK_SIZE; block_used[x0/BLOCK_SIZE] = TRUE; free_first = x0; free_last = next_addr; num_block = num_block + 1; }; (% memalloc(n): allocate heap memory of n byte %); memalloc: (p0) { allocate(1); (% return addr %); if (p0 == 0) { return NULL; }; if (free_first + p0 >= free_last) { alloc_block_fast(); }; x0 = free_first; free_first = free_first + p0; num_bytes = num_bytes + p0; return x0; }; (% munmap all blocks %); finalize_mem: () { allocate(1); (% fputs(stderr, "[DEBUG] total memory : "); fputi(stderr, num_bytes); fputs(stderr, "bytes ("); fputi(stderr, num_block); fputs(stderr, " blocks)\n"); %); x0 = 0; while (x0 < MAX_BLOCKS) { if (block_used[x0]) { munmap(x0*BLOCK_SIZE, BLOCK_SIZE); }; x0 = x0 + 1; }; };
Ragel in Ruby Host
4
waldo2590/amber-1
amber/alloc.rl
[ "MIT" ]
/* * Copyright (c) 2005 Arched Rock Corporation * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of the Arched Rock Corporation nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ARCHED * ROCK OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. */ /** * @author Phil Buonadonna * */ configuration HplPXA27xOSTimerC { provides { interface Init; interface HplPXA27xOSTimer as OST0; interface HplPXA27xOSTimer as OST0M1; interface HplPXA27xOSTimer as OST0M2; interface HplPXA27xOSTimer as OST0M3; interface HplPXA27xOSTimer as OST4; interface HplPXA27xOSTimer as OST5; interface HplPXA27xOSTimer as OST6; interface HplPXA27xOSTimer as OST7; interface HplPXA27xOSTimer as OST8; interface HplPXA27xOSTimer as OST9; interface HplPXA27xOSTimer as OST10; interface HplPXA27xOSTimer as OST11; interface HplPXA27xOSTimerWatchdog as OSTWDCntl; } } implementation { components HplPXA27xOSTimerM, HplPXA27xInterruptM; Init = HplPXA27xOSTimerM; OST0 = HplPXA27xOSTimerM.PXA27xOST[0]; OST0M1 = HplPXA27xOSTimerM.PXA27xOST[1]; OST0M2 = HplPXA27xOSTimerM.PXA27xOST[2]; OST0M3 = HplPXA27xOSTimerM.PXA27xOST[3]; OST4 = HplPXA27xOSTimerM.PXA27xOST[4]; OST5 = HplPXA27xOSTimerM.PXA27xOST[5]; OST6 = HplPXA27xOSTimerM.PXA27xOST[6]; OST7 = HplPXA27xOSTimerM.PXA27xOST[7]; OST8 = HplPXA27xOSTimerM.PXA27xOST[8]; OST9 = HplPXA27xOSTimerM.PXA27xOST[9]; OST10 = HplPXA27xOSTimerM.PXA27xOST[10]; OST11 = HplPXA27xOSTimerM.PXA27xOST[11]; OSTWDCntl = HplPXA27xOSTimerM.PXA27xWD; HplPXA27xOSTimerM.OST0Irq -> HplPXA27xInterruptM.PXA27xIrq[PPID_OST_0]; HplPXA27xOSTimerM.OST1Irq -> HplPXA27xInterruptM.PXA27xIrq[PPID_OST_1]; HplPXA27xOSTimerM.OST2Irq -> HplPXA27xInterruptM.PXA27xIrq[PPID_OST_2]; HplPXA27xOSTimerM.OST3Irq -> HplPXA27xInterruptM.PXA27xIrq[PPID_OST_3]; HplPXA27xOSTimerM.OST4_11Irq -> HplPXA27xInterruptM.PXA27xIrq[PPID_OST_4_11]; }
nesC
3
mtaghiza/tinyos-main-1
tos/chips/pxa27x/timer/HplPXA27xOSTimerC.nc
[ "BSD-3-Clause" ]