Searched refs:as (Results 1 - 25 of 130) sorted by relevance

123456

/openjdk10/jdk/test/java/lang/annotation/
H A DTypeParamAnnotation.java6 * under the terms of the GNU General Public License version 2 only, as
52 Annotation[] as;
54 as = ts[0].getAnnotations();
55 check(as.length == 2);
56 check(((ParamAnno)as[0]).value().equals("t"));
57 check(((ParamAnno2)as[1]).value() == 1);
59 as = ts[1].getAnnotations();
60 check(as.length == 0);
62 as = ts[2].getAnnotations();
63 check(as
[all...]
/openjdk10/langtools/test/tools/javac/generics/wildcards/neg/
H A DParamCast.java14 void f(A<String> as) { argument
15 Object o = (B<?, Integer>) as;
/openjdk10/langtools/test/tools/javac/generics/wildcards/pos/
H A DParamCast.java6 * under the terms of the GNU General Public License version 2 only, as
37 void f(A<String> as) { argument
38 Object o = (B<?, String>) as;
/openjdk10/jdk/test/java/io/File/
H A DWinMaxPath.java6 * under the terms of the GNU General Public License version 2 only, as
38 char[] as = new char[65000];
39 java.util.Arrays.fill(as, 'a');
40 FileOutputStream out = new FileOutputStream(new String(as));
/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/atomic/
H A DLongAdder.java5 * under the terms of the GNU General Public License version 2 only, as
7 * particular file as subject to the "Classpath" exception as provided
27 * License version 2 only, as published by the Free Software Foundation.
32 * Expert Group and released to the public domain, as explained at
50 * as collecting statistics, not for fine-grained synchronization
64 * methods such as {@code equals}, {@code hashCode} and {@code
66 * not useful as collection keys.
86 Cell[] as; long b, v; int m; Cell a;
87 if ((as
[all...]
H A DDoubleAccumulator.java5 * under the terms of the GNU General Public License version 2 only, as
7 * particular file as subject to the "Classpath" exception as provided
27 * License version 2 only, as published by the Free Software Foundation.
32 * Expert Group and released to the public domain, as explained at
53 * threads update a common value that is used for purposes such as
62 * with an existing value (or identity) as one argument, and a given
63 * update as the other argument. For example, to maintain a running
65 * {@code Double.NEGATIVE_INFINITY} as the identity. The order of
77 * methods such as {
[all...]
H A DLongAccumulator.java5 * under the terms of the GNU General Public License version 2 only, as
7 * particular file as subject to the "Classpath" exception as provided
27 * License version 2 only, as published by the Free Software Foundation.
32 * Expert Group and released to the public domain, as explained at
51 * as collecting statistics, not for fine-grained synchronization
64 * function is applied with an existing value (or identity) as one
65 * argument, and a given update as the other argument. For example,
67 * Long::max} along with {@code Long.MIN_VALUE} as the identity.
75 * methods such as {
[all...]
H A DDoubleAdder.java5 * under the terms of the GNU General Public License version 2 only, as
7 * particular file as subject to the "Classpath" exception as provided
27 * License version 2 only, as published by the Free Software Foundation.
32 * Expert Group and released to the public domain, as explained at
52 * threads update a common value that is used for purposes such as
57 * methods such as {@code equals}, {@code hashCode} and {@code
59 * not useful as collection keys.
71 * the same as double-precision equals. However, we use CAS only
90 Cell[] as; lon
[all...]
H A DStriped64.java5 * under the terms of the GNU General Public License version 2 only, as
7 * particular file as subject to the "Classpath" exception as provided
27 * License version 2 only, as published by the Free Software Foundation.
32 * Expert Group and released to the public domain, as explained at
78 * resizing the table, as well as populating slots with new Cells.
85 * as per-thread hash codes. We let them remain uninitialized as
110 * once hashed to it terminate, as wel
[all...]
/openjdk10/langtools/test/tools/javac/lambda/
H A DTargetType24.java31 void test(Array<String> as, final Array<Character> ac) { argument
32 final boolean b1 = as.forAll((String s) -> ac.forAll((Character c) -> false)); //ok
33 final boolean b2 = as.forAll(s -> ac.forAll(c -> false)); //ambiguous
34 final boolean b3 = as.forAll((String s) -> ac.forAll(c -> false)); //ambiguous
35 final boolean b4 = as.forAll(s -> ac.forAll((Character c) -> false)); //ambiguous
36 final String s1 = as.forAll2(s -> ac.forAll2(c -> "")); //ok
37 final boolean b5 = as.forAll(s -> ac.forAll(c -> "" )); //fail
38 final String s2 = as.forAll2(s -> ac.forAll2(c -> false)); //fail
39 final boolean b6 = as.forAll((F<String, Boolean>)s -> ac.forAll((F<Character, Boolean>)c -> "")); //fail
40 final String s3 = as
[all...]
/openjdk10/langtools/test/tools/javadoc/generics/genericClass/pkg1/
H A DA.java6 * under the terms of the GNU General Public License version 2 only, as
29 public A<String> as; field in class:A
33 public void m3(A<String> as) {} argument
/openjdk10/jdk/src/java.base/share/classes/java/text/
H A DFormat.java6 * under the terms of the GNU General Public License version 2 only, as
8 * particular file as subject to the "Classpath" exception as provided
45 * information such as dates, messages, and numbers.
78 * specific input types as well as <code>parse</code> methods for specific
172 * @return the string buffer passed in as <code>toAppendTo</code>,
186 * to build the resulting String, as well as to determine information
193 * key is also used as th
[all...]
H A DCharacterIteratorFieldDelegate.java6 * under the terms of the GNU General Public License version 2 only, as
8 * particular file as subject to the "Classpath" exception as provided
65 AttributedString as = attributedStrings.
67 int newIndex = index - as.length();
70 as.addAttribute(attr, value, aStart, Math.min(
71 end - start, as.length() - aStart) +
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DMuxingAttributeSet.java6 * under the terms of the GNU General Public License version 2 only, as
8 * particular file as subject to the "Classpath" exception as provided
72 * Inserts <code>as</code> at <code>index</code>. This assumes
76 protected synchronized void insertAttributeSetAt(AttributeSet as, argument
93 newAttrs[index] = as;
133 AttributeSet[] as = getAttributes();
135 for (int i = 0; i < as.length; i++) {
136 n += as[i].getAttributeCount();
152 AttributeSet[] as
[all...]
/openjdk10/jdk/test/java/awt/print/PrinterJob/
H A DPaintText.java6 * under the terms of the GNU General Public License version 2 only, as
145 AttributedString as = new AttributedString(s);
146 as.addAttribute(TextAttribute.FONT, f);
147 as.addAttribute(TextAttribute.FOREGROUND, c);
148 g2d.drawString(as.getIterator(), x, y);
152 as = new AttributedString(s);
153 as.addAttribute(TextAttribute.FONT, f);
154 as.addAttribute(TextAttribute.FOREGROUND, p);
155 g2d.drawString(as.getIterator(), x, y);
159 as
[all...]
H A DPrintAttributeUpdateTest.java6 * under the terms of the GNU General Public License version 2 only, as
56 HashPrintRequestAttributeSet as = new HashPrintRequestAttributeSet();
59 as.add(DialogTypeSelection.NATIVE);
60 j.printDialog(as);
61 if (as.containsKey(PageRanges.class) == false) {
65 Attribute attrs[] = as.toArray();
69 j.print(as);
/openjdk10/nashorn/test/script/nosecurity/treeapi/
H A Dmodules.js6 * under the terms of the GNU General Public License version 2 only, as
36 import myDef, * as myMod from "my-mod";
/openjdk10/jdk/test/java/awt/font/TextLayout/
H A DVisibleAdvance.java6 * under the terms of the GNU General Public License version 2 only, as
70 AttributedString as = new AttributedString (text);
71 as.addAttribute (TextAttribute.FONT, font);
72 as.addAttribute (TextAttribute.RUN_DIRECTION, direction);
75 as.addAttribute (TextAttribute.FOREGROUND, Color.RED, startOfTextB, endOfTextB);
77 return as;
88 AttributedString as,
91 TextLayout layout = new TextLayout (as.getIterator (), fontRenderContext);
87 showAndCalculateAdvance(String what, AttributedString as, float advances[]) argument
/openjdk10/jdk/test/java/text/AttributedString/
H A DgetRunStartLimitTest.java6 * under the terms of the GNU General Public License version 2 only, as
42 AttributedString as = new AttributedString(text);
45 as.addAttribute(TextAttribute.WEIGHT,
49 as.addAttribute(TextAttribute.WEIGHT,
53 as.addAttribute(TextAttribute.WEIGHT,
59 as.addAttribute(TextAttribute.WIDTH,
63 as.addAttribute(TextAttribute.WIDTH,
68 AttributedCharacterIterator aci = as.getIterator(null, 2, 4);
/openjdk10/jdk/test/java/rmi/activation/nonLocalActivation/
H A DNonLocalActivationTest.java6 * under the terms of the GNU General Public License version 2 only, as
35 * The test is manual because the (non-local) host running rmid must be supplied as a property.
103 ActivationSystem as = (ActivationSystem) registry.lookup("java.rmi.activation.ActivationSystem");
108 as.registerGroup(null);
114 as.getActivationDesc(null);
120 as.getActivationGroupDesc(null);
126 as.registerObject(null);
132 as.unregisterGroup(null);
138 as.unregisterObject(null);
144 as
[all...]
/openjdk10/langtools/test/tools/javac/generics/diamond/neg/
H A DNeg13.java16 static void foo(A<String> as) {} argument
H A DNeg14.java16 static void foo(A<String> as) {} argument
/openjdk10/hotspot/test/compiler/c2/
H A DTest6851282.java6 * under the terms of the GNU General Public License version 2 only, as
39 void foo(A a, A[] as) { argument
40 for (A a1 : as) {
52 List<A> as = new ArrayList<A>();
57 as.add(new A(bs.toArray(new B[0])));
59 new Test6851282().foo(as.get(0), as.subList(1, as.size()).toArray(new A[0]));
/openjdk10/jdk/src/java.desktop/share/classes/javax/accessibility/
H A DAccessibleEditableText.java6 * under the terms of the GNU General Public License version 2 only, as
8 * particular file as subject to the "Classpath" exception as provided
122 * @param as the attribute set
125 public void setAttributes(int startIndex, int endIndex, AttributeSet as); argument
/openjdk10/jdk/test/javax/swing/JList/8161483/
H A DBug8161483.java6 * under the terms of the GNU General Public License version 2 only, as
75 AccessibleSelection as = acList.getAccessibleSelection();
76 int asc = as.getAccessibleSelectionCount();
80 boolean isSelected = as.isAccessibleChildSelected(0);
84 isSelected = as.isAccessibleChildSelected(1);

Completed in 273 milliseconds

123456