/external/guice/core/src/com/google/inject/util/ |
Providers.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 34 * Static utility methods for creating and working with instances of 47 * of unit tests. 53 public static <T> Provider<T> of(final T instance) { method in class:Providers 69 return "of(" + instance + ")";
|
/external/guice/core/test/com/google/inject/ |
TypeListenerTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 126 assertEquals(ImmutableList.of(), injectees); 129 assertEquals(ImmutableList.of(a1), injectees); 132 assertEquals(ImmutableList.of(a1, a2), injectees); 135 assertEquals(ImmutableList.of(a1, a2, b1), injectees); 138 assertEquals(ImmutableList.of(a1, a2, b1), injectees); 141 assertEquals(ImmutableList.of(a1, a2, b1, a3, a4), injectees); 200 "of " + B.class.getName(), 205 "of " + C.class.getName() [all...] |
/external/guice/core/test/com/google/inject/spi/ |
HasDependenciesTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 48 assertEquals(ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(Integer.class))), method 90 return ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(Integer.class))); 97 return ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(Integer.class)));
|
/external/libxml2/doc/ |
libxml-doc.el | 8 ;; modify it under the terms of the GNU General Public License 10 ;; of the License, or (at your option) any later version. 13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of 17 ;; You should have received a copy of the GNU General Public License 72 ;; complete rewrite of libxmldoc-lookup-symbol 74 ;; - Now keeps the list of symbols between calls to speed things up. 81 ;; update README: use autoload instead of load+c-mode-hook 83 ;; string-match of XEmacs when used in completing-read used the 84 ;; minibuffer's value of case-fold-search, and not the one in the 92 ;; - keep (match-string 1) in a variable (libxmldoc-get-list-of-symbols [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
ImmutableClassDef.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 135 public static ImmutableClassDef of(ClassDef classDef) { method in class:ImmutableClassDef [all...] |
ImmutableMethod.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 91 public static ImmutableMethod of(Method method) { method in class:ImmutableMethod [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/ |
ImmutableInstruction25x.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 72 public static ImmutableInstruction25x of(Instruction25x instruction) { method in class:ImmutableInstruction25x [all...] |
ImmutableInstruction35c.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 73 public static ImmutableInstruction35c of(Instruction35c instruction) { method in class:ImmutableInstruction35c [all...] |
ImmutableInstruction35mi.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 70 public static ImmutableInstruction35mi of(Instruction35mi instruction) { method in class:ImmutableInstruction35mi [all...] |
ImmutableInstruction35ms.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 70 public static ImmutableInstruction35ms of(Instruction35ms instruction) { method in class:ImmutableInstruction35ms [all...] |
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/ |
SuperclassChainTest.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 68 ImmutableList.<TypeProto>of(), method 72 ImmutableList.<TypeProto>of(objectClassProto), method 76 ImmutableList.<TypeProto>of(oneClassProto, objectClassProto), method 80 ImmutableList.<TypeProto>of(twoClassProto, oneClassProto, objectClassProto), method 99 ImmutableList.<TypeProto>of(oneClassProto, unknownClassProto), method 103 ImmutableList.<TypeProto>of(twoClassProto, oneClassProto, unknownClassProto), method [all...] |
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicMarkableReference.java | 2 * Written by Doug Lea with assistance from members of JCP JSR-166 19 * @param <V> The type of object referred to by this reference 30 static <T> Pair<T> of(T reference, boolean mark) { method in class:AtomicMarkableReference.Pair 45 pair = Pair.of(initialRef, initialMark); 49 * Returns the current value of the reference. 51 * @return the current value of the reference 58 * Returns the current value of the mark. 60 * @return the current value of the mark 67 * Returns the current values of both the reference and the mark. 70 * @param markHolder an array of size of at least one. On return [all...] |
AtomicStampedReference.java | 2 * Written by Doug Lea with assistance from members of JCP JSR-166 19 * @param <V> The type of object referred to by this reference 30 static <T> Pair<T> of(T reference, int stamp) { method in class:AtomicStampedReference.Pair 45 pair = Pair.of(initialRef, initialStamp); 49 * Returns the current value of the reference. 51 * @return the current value of the reference 58 * Returns the current value of the stamp. 60 * @return the current value of the stamp 67 * Returns the current values of both the reference and the stamp. 70 * @param stampHolder an array of size of at least one. On return [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Optional.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 37 * <p>Additional methods that depend on the presence or absence of a contained 41 * of code if the value is present). 75 * @param <T> Type of the non-existent value 97 * @param <T> the class of the value 102 public static <T> Optional<T> of(T value) { method in class:Optional 110 * @param <T> the class of the value 116 return value == null ? empty() : of(value) [all...] |
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
StreamFlagsTest.java | 6 * under the terms of the GNU General Public License version 2 only, as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 * You should have received a copy of the GNU General Public License version 68 EnumSet.of(ORDERED, SIZED), 69 EnumSet.of(DISTINCT, SORTED, SHORT_CIRCUIT)); 71 EnumSet.of(ORDERED, SIZED), 72 EnumSet.of(DISTINCT, SORTED, SHORT_CIRCUIT)); 74 EnumSet.of(SIZED, DISTINCT), 75 EnumSet.of(ORDERED, SORTED, SHORT_CIRCUIT)); 77 EnumSet.of(ORDERED, SIZED, DISTINCT, SORTED) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestContentAssist.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 74 choices.add(Pair.of(version.getCodename(), version.getCodename())); 76 choices.add(Pair.of(Integer.toString(apiLevel), target.getFullName())); 82 choices.add(Pair.of(Integer.toString(api), name));
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
EmptyImmutableTableTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 29 private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of(); 32 return ImmutableSet.of(INSTANCE); 66 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); 70 assertEquals(ImmutableMap.of(), INSTANCE.column(1)); 74 assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet()); 78 assertEquals(ImmutableMap.of(), INSTANCE.columnMap()); 98 assertEquals(ImmutableMap.of(), INSTANCE.row('a')); 102 assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet()) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
EmptyImmutableTableTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 30 private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of(); 33 return ImmutableSet.of(INSTANCE); 54 .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) 75 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); 79 assertEquals(ImmutableMap.of(), INSTANCE.column(1)); 83 assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet()); 87 assertEquals(ImmutableMap.of(), INSTANCE.columnMap()) [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
MutableTypeToInstanceMapTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 39 * Unit test of {@link MutableTypeToInstanceMap}. 97 map.put(TypeToken.of(Integer.class), new Integer(5)); 104 map.putAll(ImmutableMap.of(TypeToken.of(Integer.class), new Integer(5))); 111 assertEquals(TypeToken.of(String.class), map.entrySet().iterator().next().getKey()); 123 assertEquals(TypeToken.of(String.class), entry.getKey()); 135 assertEquals(TypeToken.of(String.class), entry.getKey()); 151 assertEquals(7, (int) map.getInstance(TypeToken.of(Integer.class))) [all...] |
/external/iproute2/doc/ |
ip-tunnels.tex | 21 \section{Instead of introduction: micro-FAQ.} 51 work in 2.2.0! Moreover, \verb|route| prints a funny error sort of 63 not to check for consistency of gateway address. 81 A: Linux-2.2 has single module \verb|ipip| for both directions of tunneling 86 only skips some number of hops. 93 and you are not afraid of 98 Q: ... Well, list of things, which 2.0 was able to do finishes. 102 \paragraph{Summary of differences between 2.2 and 2.0.} 107 and got set of 4 devices \verb|tunl0| ... \verb|tunl3| or, 122 but address of peering host, which is directly reachabl [all...] |
/external/mockito/src/org/mockito/internal/util/collections/ |
HashCodeAndEqualsSafeSet.java | 3 * This program is made available under the terms of the MIT License. 63 return backingHashSet.contains(HashCodeAndEqualsMockWrapper.of(mock)); 67 return backingHashSet.add(HashCodeAndEqualsMockWrapper.of(mock)); 71 return backingHashSet.remove(HashCodeAndEqualsMockWrapper.of(mock)); 136 hashSet.add(HashCodeAndEqualsMockWrapper.of(mock)); 145 public static HashCodeAndEqualsSafeSet of(Object... mocks) { method 146 return of(Arrays.asList(mocks)); 149 public static HashCodeAndEqualsSafeSet of(Iterable<Object> objects) { method
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestLog.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 34 /** Type of log. */ 41 // This enum restricts the type of logs reported back to the server, 74 /** Type of the log like LOGCAT or BUGREPORT. */ 117 public static TestLog of(TestLogType logType, String url) { method in class:TestLog
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/ |
ComposableFunction.java | 7 * the License. You may obtain a copy of the License at 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 276 * The composed function h created by {@code h = g.of(f)} is such 283 public ComposableFunction of(final UnivariateRealFunction f) { method in class:ComposableFunction 300 * @see #of(UnivariateRealFunction) 424 * elements of an array. 437 * elements of an array. 456 * elements of an array. 463 * elements of an array. 472 * elements of an array [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/config/ |
CaliperConfigTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 52 ImmutableMap.of("vm.args", "-very -special=args")); 67 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( 77 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( 86 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( 103 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( 116 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( 130 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( 140 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableList.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 34 * GWT emulated version of {@link ImmutableList}. 49 public static <E> ImmutableList<E> of() { method in class:ImmutableList 53 public static <E> ImmutableList<E> of(E element) { method in class:ImmutableList 57 public static <E> ImmutableList<E> of(E e1, E e2) { method in class:ImmutableList 62 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { method in class:ImmutableList 67 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { method in class:ImmutableList 72 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { method in class:ImmutableList 77 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) method in class:ImmutableList 82 public static <E> ImmutableList<E> of( method in class:ImmutableList 88 public static <E> ImmutableList<E> of( method in class:ImmutableList 94 public static <E> ImmutableList<E> of( method in class:ImmutableList 100 public static <E> ImmutableList<E> of( method in class:ImmutableList 106 public static <E> ImmutableList<E> of( method in class:ImmutableList 112 public static <E> ImmutableList<E> of( method in class:ImmutableList [all...] |