/dports/biology/jalview/jalview/test/jalview/analysis/ |
H A D | AnnotationSorterTest.java | 121 anns[0].sequenceRef = al.getSequenceAt(1); anns[0].label = "label0"; in testSortBySequenceAndType_autocalcLast() 123 anns[2].sequenceRef = al.getSequenceAt(3); anns[2].label = "iron"; in testSortBySequenceAndType_autocalcLast() 126 anns[5].sequenceRef = al.getSequenceAt(0); anns[5].label = "label5"; in testSortBySequenceAndType_autocalcLast() 127 anns[6].sequenceRef = al.getSequenceAt(3); anns[6].label = "IRP"; in testSortBySequenceAndType_autocalcLast() 148 anns[0].sequenceRef = al.getSequenceAt(1); anns[0].label = "label0"; in testSortBySequenceAndType_autocalcFirst() 150 anns[2].sequenceRef = al.getSequenceAt(3); anns[2].label = "iron"; in testSortBySequenceAndType_autocalcFirst() 154 anns[6].sequenceRef = al.getSequenceAt(3); anns[6].label = "IRP"; in testSortBySequenceAndType_autocalcFirst() 186 anns[2].sequenceRef = al.getSequenceAt(3); anns[2].label = "iron"; in testSortByTypeAndSequence_autocalcLast() 189 anns[5].sequenceRef = al.getSequenceAt(0); anns[5].label = "IRON"; in testSortByTypeAndSequence_autocalcLast() 213 anns[2].sequenceRef = al.getSequenceAt(3); anns[2].label = "iron"; in testSortByTypeAndSequence_autocalcFirst() [all …]
|
H A D | AlignmentAnnotationUtilsTest.java | 190 anns[4].visible = false; in testGetShownHiddenTypes_forSelectionGroup() 192 anns[7].visible = true; in testGetShownHiddenTypes_forSelectionGroup() 198 anns[2].visible = false; in testGetShownHiddenTypes_forSelectionGroup() 200 anns[3].visible = false; in testGetShownHiddenTypes_forSelectionGroup() 203 anns[4].visible = false; in testGetShownHiddenTypes_forSelectionGroup() 207 anns[8].visible = false; in testGetShownHiddenTypes_forSelectionGroup() 214 anns[6].visible = true; in testGetShownHiddenTypes_forSelectionGroup() 216 anns[9].visible = true; in testGetShownHiddenTypes_forSelectionGroup() 303 anns[5].visible = true; in testGetShownHiddenTypes_withGraphGroups() 320 anns[0].visible = true; in testGetShownHiddenTypes_withGraphGroups() [all …]
|
H A D | ParsePropertiesTest.java | 92 assertEquals(1, anns.length); in testGetScoresFromDescription() 97 assertEquals(1, anns.length); in testGetScoresFromDescription() 102 assertEquals(1, anns.length); in testGetScoresFromDescription() 105 assertEquals(1, anns.length); in testGetScoresFromDescription() 128 assertEquals(2, anns.length); in testGetScoresFromDescription_twoScores() 148 assertEquals(2, anns.length); in testGetScoresFromDescription_twoScores() 162 assertEquals(2, anns.length); in testGetScoresFromDescription_twoScores() 194 assertNull(anns); in testGetScoresFromDescription_wordBoundaries() 200 assertEquals(1, anns.length); in testGetScoresFromDescription_wordBoundaries() 209 assertEquals(1, anns.length); in testGetScoresFromDescription_wordBoundaries() [all …]
|
/dports/biology/jalview/jalview/test/jalview/gui/ |
H A D | AnnotationChooserTest.java | 361 int autocalc = countAutocalc(anns); in testSelectType_hideForAll() 401 int autocalc = countAutocalc(anns); in testSelectType_hideForSelected() 443 int autocalc = countAutocalc(anns); in testDeselectType_hideForAll() 449 for (AlignmentAnnotation ann : anns) in testDeselectType_hideForAll() 464 for (AlignmentAnnotation ann : anns) in countAutocalc() 534 int autocalc = countAutocalc(anns); in testSelectType_showForAll() 572 int autocalc = countAutocalc(anns); in testSelectType_showForSelected() 610 int autocalc = countAutocalc(anns); in testDeselectType_showForAll() 653 int autocalc = countAutocalc(anns); in testDeselectType_showForSelected() 743 int autocalc = countAutocalc(anns); in testIsInActionScope_selectedScope() [all …]
|
H A D | AnnotationPanelTest.java | 17 AlignmentAnnotation[] anns = new AlignmentAnnotation[] {}; in testGetRowIndex() local 18 assertEquals(AnnotationPanel.getRowIndex(0, anns), -1); in testGetRowIndex() 29 anns = new AlignmentAnnotation[] { ann1, ann2, ann3 }; in testGetRowIndex() 31 assertEquals(AnnotationPanel.getRowIndex(0, anns), 0); in testGetRowIndex() 32 assertEquals(AnnotationPanel.getRowIndex(9, anns), 0); in testGetRowIndex() 33 assertEquals(AnnotationPanel.getRowIndex(10, anns), 1); in testGetRowIndex() 34 assertEquals(AnnotationPanel.getRowIndex(29, anns), 1); in testGetRowIndex() 35 assertEquals(AnnotationPanel.getRowIndex(30, anns), 2); in testGetRowIndex() 40 assertEquals(AnnotationPanel.getRowIndex(0, anns), 0); in testGetRowIndex() 41 assertEquals(AnnotationPanel.getRowIndex(9, anns), 0); in testGetRowIndex() [all …]
|
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/dialyzer/test/opaque_SUITE_data/src/recrec/ |
H A D | core_parse.hrl | 25 -record(c_alias, {anno=[] :: cerl:anns(), 29 -record(c_apply, {anno=[] :: cerl:anns(), 33 -record(c_binary, {anno=[] :: cerl:anns(), 46 -record(c_case, {anno=[] :: cerl:anns(), 52 -record(c_clause, {anno=[] :: cerl:anns(), 57 -record(c_cons, {anno=[] :: cerl:anns(), 61 -record(c_fun, {anno=[] :: cerl:anns(), 65 -record(c_let, {anno=[] :: cerl:anns(), 70 -record(c_letrec, {anno=[] :: cerl:anns(), 76 -record(c_map, {anno=[] :: cerl:anns(), [all …]
|
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/dialyzer/test/opaque_SUITE_data/src/recrec/ |
H A D | core_parse.hrl | 25 -record(c_alias, {anno=[] :: cerl:anns(), 29 -record(c_apply, {anno=[] :: cerl:anns(), 33 -record(c_binary, {anno=[] :: cerl:anns(), 46 -record(c_case, {anno=[] :: cerl:anns(), 52 -record(c_clause, {anno=[] :: cerl:anns(), 57 -record(c_cons, {anno=[] :: cerl:anns(), 61 -record(c_fun, {anno=[] :: cerl:anns(), 65 -record(c_let, {anno=[] :: cerl:anns(), 70 -record(c_letrec, {anno=[] :: cerl:anns(), 76 -record(c_map, {anno=[] :: cerl:anns(), [all …]
|
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/dialyzer/test/opaque_SUITE_data/src/recrec/ |
H A D | core_parse.hrl | 25 -record(c_alias, {anno=[] :: cerl:anns(), 29 -record(c_apply, {anno=[] :: cerl:anns(), 33 -record(c_binary, {anno=[] :: cerl:anns(), 46 -record(c_case, {anno=[] :: cerl:anns(), 52 -record(c_clause, {anno=[] :: cerl:anns(), 57 -record(c_cons, {anno=[] :: cerl:anns(), 61 -record(c_fun, {anno=[] :: cerl:anns(), 65 -record(c_let, {anno=[] :: cerl:anns(), 70 -record(c_letrec, {anno=[] :: cerl:anns(), 76 -record(c_map, {anno=[] :: cerl:anns(), [all …]
|
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/dialyzer/test/opaque_SUITE_data/src/recrec/ |
H A D | core_parse.hrl | 25 -record(c_alias, {anno=[] :: cerl:anns(), 29 -record(c_apply, {anno=[] :: cerl:anns(), 33 -record(c_binary, {anno=[] :: cerl:anns(), 46 -record(c_case, {anno=[] :: cerl:anns(), 52 -record(c_clause, {anno=[] :: cerl:anns(), 57 -record(c_cons, {anno=[] :: cerl:anns(), 61 -record(c_fun, {anno=[] :: cerl:anns(), 65 -record(c_let, {anno=[] :: cerl:anns(), 70 -record(c_letrec, {anno=[] :: cerl:anns(), 76 -record(c_map, {anno=[] :: cerl:anns(), [all …]
|
/dports/lang/erlang/otp-OTP-24.1.7/lib/dialyzer/test/opaque_SUITE_data/src/recrec/ |
H A D | core_parse.hrl | 25 -record(c_alias, {anno=[] :: cerl:anns(), 29 -record(c_apply, {anno=[] :: cerl:anns(), 33 -record(c_binary, {anno=[] :: cerl:anns(), 46 -record(c_case, {anno=[] :: cerl:anns(), 52 -record(c_clause, {anno=[] :: cerl:anns(), 57 -record(c_cons, {anno=[] :: cerl:anns(), 61 -record(c_fun, {anno=[] :: cerl:anns(), 65 -record(c_let, {anno=[] :: cerl:anns(), 70 -record(c_letrec, {anno=[] :: cerl:anns(), 76 -record(c_map, {anno=[] :: cerl:anns(), [all …]
|
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/dialyzer/test/opaque_SUITE_data/src/recrec/ |
H A D | core_parse.hrl | 25 -record(c_alias, {anno=[] :: cerl:anns(), 29 -record(c_apply, {anno=[] :: cerl:anns(), 33 -record(c_binary, {anno=[] :: cerl:anns(), 46 -record(c_case, {anno=[] :: cerl:anns(), 52 -record(c_clause, {anno=[] :: cerl:anns(), 57 -record(c_cons, {anno=[] :: cerl:anns(), 61 -record(c_fun, {anno=[] :: cerl:anns(), 65 -record(c_let, {anno=[] :: cerl:anns(), 70 -record(c_letrec, {anno=[] :: cerl:anns(), 76 -record(c_map, {anno=[] :: cerl:anns(), [all …]
|
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/dialyzer/test/opaque_SUITE_data/src/recrec/ |
H A D | core_parse.hrl | 25 -record(c_alias, {anno=[] :: cerl:anns(), 29 -record(c_apply, {anno=[] :: cerl:anns(), 33 -record(c_binary, {anno=[] :: cerl:anns(), 46 -record(c_case, {anno=[] :: cerl:anns(), 52 -record(c_clause, {anno=[] :: cerl:anns(), 57 -record(c_cons, {anno=[] :: cerl:anns(), 61 -record(c_fun, {anno=[] :: cerl:anns(), 65 -record(c_let, {anno=[] :: cerl:anns(), 70 -record(c_letrec, {anno=[] :: cerl:anns(), 76 -record(c_map, {anno=[] :: cerl:anns(), [all …]
|
/dports/editors/o/o-2.46.0/vendor/github.com/sourcegraph/annotate/annotate-f4cad6c6324d/ |
H A D | annotate_test.go | 24 anns Annotations 250 anns := annsByFile[name] 251 sort.Sort(anns) 291 anns := make(Annotations, n) 297 if anns[i].Start < 0 { 298 anns[i].Start = 0 299 anns[i].End = i 307 anns[i].WantInner = i % 5 309 sort.Sort(anns) 310 return input, anns [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/ssd/dataset/pycocotools/ |
H A D | coco.py | 110 self.anns = anns 144 … anns = anns if len(catIds) == 0 else [ann for ann in anns if ann['category_id'] in catIds] 145 …anns = anns if len(areaRng) == 0 else [ann for ann in anns if ann['area'] > areaRng[0] and ann['ar… 228 def showAnns(self, anns): argument 234 if len(anns) == 0: 236 if 'segmentation' in anns[0] or 'keypoints' in anns[0]: 247 for ann in anns: 276 for ann in anns: 295 anns = resFile 300 if 'caption' in anns[0]: [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/example/ssd/dataset/pycocotools/ |
H A D | coco.py | 110 self.anns = anns 144 … anns = anns if len(catIds) == 0 else [ann for ann in anns if ann['category_id'] in catIds] 145 …anns = anns if len(areaRng) == 0 else [ann for ann in anns if ann['area'] > areaRng[0] and ann['ar… 228 def showAnns(self, anns): argument 234 if len(anns) == 0: 236 if 'segmentation' in anns[0] or 'keypoints' in anns[0]: 247 for ann in anns: 276 for ann in anns: 295 anns = resFile 300 if 'caption' in anns[0]: [all …]
|
/dports/biology/jalview/jalview/test/MCview/ |
H A D | PDBfileTest.java | 165 assertEquals(4, anns.length); in testParse_withAnnotations_noSS() 170 AlignmentAnnotation chainAnnotation = anns[0]; in testParse_withAnnotations_noSS() 185 chainAnnotation = anns[1]; in testParse_withAnnotations_noSS() 194 chainAnnotation = anns[2]; in testParse_withAnnotations_noSS() 203 chainAnnotation = anns[3]; in testParse_withAnnotations_noSS() 227 assertEquals(4, anns.length); in testParse_withJmol_noAnnotations() 256 assertEquals(8, anns.length); in testParse_withJmolAddAlignmentAnnotations() 277 assertSame(pf.getSeqs().get(0), anns[0].sequenceRef); in testParse_withJmolAddAlignmentAnnotations() 278 assertSame(pf.getSeqs().get(1), anns[2].sequenceRef); in testParse_withJmolAddAlignmentAnnotations() 279 assertSame(pf.getSeqs().get(2), anns[4].sequenceRef); in testParse_withJmolAddAlignmentAnnotations() [all …]
|
/dports/biology/p5-BioPerl/BioPerl-1.7.7/t/Annotation/ |
H A D | AnnotationAdaptor.t | 35 my @anns = $anncoll->get_Annotations("tag1"); 38 is (scalar(@anns), scalar(@vals)); 39 for(my $i = 0; $i < @anns; $i++) { 40 is ($anns[$i]->value(), $vals[$i]); 43 @anns = $anncoll->get_Annotations("tag2"); 48 is (scalar(@anns), 2); 50 is ($anns[0]->value(), $vals[0]); 65 @anns = $anncoll->get_Annotations("tag2"); 70 is (scalar(@anns), 3); 72 is ($anns[0]->value(), $vals[0]); [all …]
|
/dports/java/jasmin/jasmin-2.4/src/jas/ |
H A D | AnnotParamAttr.java | 17 Vector anns; // Vector<Vector<Annotation>> field in AnnotParamAttr 23 anns = new Vector(); in AnnotParamAttr() 29 int top = anns.size(); in add() 30 if(paramnum < top) ap = (Vector)anns.elementAt(paramnum); in add() 32 if(paramnum >= top) anns.setSize(paramnum+1); in add() 33 anns.set(paramnum, ap = new Vector()); in add() 41 for(int i = 0, top = anns.size(); i < top; i++) { in resolve() 42 Vector ap = (Vector)anns.elementAt(i); in resolve() 53 int top = anns.size(), len = 1 + 2*top; in write() 55 Vector ap = (Vector)anns.elementAt(i); in write() [all …]
|
H A D | AnnotationAttr.java | 17 Vector anns; field in AnnotationAttr 23 anns = new Vector(); in AnnotationAttr() 27 { anns.add(annotation); } in add() 32 for(Enumeration en = anns.elements(); en.hasMoreElements(); ) in resolve() 41 for(Enumeration en = anns.elements(); en.hasMoreElements(); ) in write() 44 out.writeShort((short)anns.size()); in write() 45 for(Enumeration en = anns.elements(); en.hasMoreElements(); ) in write()
|
/dports/biology/jalview/jalview/test/jalview/datamodel/ |
H A D | AlignmentAnnotationTests.java | 206 "secondary structure", anns); in testAdjustForAlignment() 248 Annotation[] anns = new Annotation[20]; in testGetDefaultRnaHelixSymbol() local 249 ann.annotations = anns; in testGetDefaultRnaHelixSymbol() 252 anns[1] = new Annotation("(", "S", '(', 0f); in testGetDefaultRnaHelixSymbol() 261 anns[1] = new Annotation("(", "S", '(', 0f); in testGetDefaultRnaHelixSymbol() 262 anns[3] = new Annotation("[", "S", '[', 0f); in testGetDefaultRnaHelixSymbol() 263 anns[5] = new Annotation("{", "S", '{', 0f); in testGetDefaultRnaHelixSymbol() 264 anns[7] = new Annotation("<", "S", '<', 0f); in testGetDefaultRnaHelixSymbol() 265 anns[9] = new Annotation("}", "S", '}', 0f); in testGetDefaultRnaHelixSymbol() 280 anns[1] = new Annotation("(", "S", '(', 0f); in testGetDefaultRnaHelixSymbol() [all …]
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.core/src/main/java/org/springframework/core/type/ |
H A D | StandardAnnotationMetadata.java | 69 Annotation[] anns = getIntrospectedClass().getAnnotations(); in getAnnotationTypes() local 70 for (Annotation ann : anns) { in getAnnotationTypes() 77 Annotation[] anns = getIntrospectedClass().getAnnotations(); in getMetaAnnotationTypes() local 78 for (Annotation ann : anns) { in getMetaAnnotationTypes() 95 Annotation[] anns = getIntrospectedClass().getAnnotations(); in hasAnnotation() local 96 for (Annotation ann : anns) { in hasAnnotation() 105 Annotation[] anns = getIntrospectedClass().getAnnotations(); in hasMetaAnnotation() local 106 for (Annotation ann : anns) { in hasMetaAnnotation() 123 Annotation[] anns = getIntrospectedClass().getAnnotations(); in isAnnotated() local 124 for (Annotation ann : anns) { in isAnnotated() [all …]
|
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/retrie-0.1.1.1/Retrie/ |
H A D | ExactPrint.hs | 152 anns <- getAnnsT 215 Right (anns, m) -> return $ unsafeMkA m anns 0 267 Right (anns, x) -> return $ unsafeMkA x anns 0 328 addAllAnns a b anns = 359 anns <- getAnnsT 372 f anns = fromMaybe anns $ do 374 anB <- M.lookup bKey anns 376 return $ M.insert bKey anB' anns 388 setEntryDP x dp anns = M.alter (Just . f . fromMaybe annNone) k anns 404 Right (anns, modl) -> do [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/annotation/ |
H A D | AnnotationsInheritanceOrderRedefinitionTest.java | 127 Annotation[] anns = declaredOnly in annotationsEqualButNotSame() local 131 for (int i = 0; i < anns.length; i++) { in annotationsEqualButNotSame() 132 if (anns[i] == oldAnns[i]) { in annotationsEqualButNotSame() 133 sameAnns.add(anns[i]); in annotationsEqualButNotSame() 149 Annotation[] anns = declaredOnly in annotationsEqual() local 152 if (!Arrays.equals(anns, expectedAnns)) { in annotationsEqual() 155 .append(toSimpleString(anns)).append(", expected: ") in annotationsEqual() 169 private static String toSimpleString(List<Annotation> anns) { in toSimpleString() argument 170 return toSimpleString(anns.toArray(new Annotation[anns.size()])); in toSimpleString() 173 private static String toSimpleString(Annotation[] anns) { in toSimpleString() argument [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/lang/annotation/ |
H A D | AnnotationsInheritanceOrderRedefinitionTest.java | 127 Annotation[] anns = declaredOnly in annotationsEqualButNotSame() local 131 for (int i = 0; i < anns.length; i++) { in annotationsEqualButNotSame() 132 if (anns[i] == oldAnns[i]) { in annotationsEqualButNotSame() 133 sameAnns.add(anns[i]); in annotationsEqualButNotSame() 149 Annotation[] anns = declaredOnly in annotationsEqual() local 152 if (!Arrays.equals(anns, expectedAnns)) { in annotationsEqual() 155 .append(toSimpleString(anns)).append(", expected: ") in annotationsEqual() 169 private static String toSimpleString(List<Annotation> anns) { in toSimpleString() argument 170 return toSimpleString(anns.toArray(new Annotation[anns.size()])); in toSimpleString() 173 private static String toSimpleString(Annotation[] anns) { in toSimpleString() argument [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/annotation/ |
H A D | AnnotationsInheritanceOrderRedefinitionTest.java | 127 Annotation[] anns = declaredOnly in annotationsEqualButNotSame() local 131 for (int i = 0; i < anns.length; i++) { in annotationsEqualButNotSame() 132 if (anns[i] == oldAnns[i]) { in annotationsEqualButNotSame() 133 sameAnns.add(anns[i]); in annotationsEqualButNotSame() 149 Annotation[] anns = declaredOnly in annotationsEqual() local 152 if (!Arrays.equals(anns, expectedAnns)) { in annotationsEqual() 155 .append(toSimpleString(anns)).append(", expected: ") in annotationsEqual() 169 private static String toSimpleString(List<Annotation> anns) { in toSimpleString() argument 170 return toSimpleString(anns.toArray(new Annotation[anns.size()])); in toSimpleString() 173 private static String toSimpleString(Annotation[] anns) { in toSimpleString() argument [all …]
|