Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 312 for ccompile (0.05 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertThrows(NullPointerException.class, () -> ImmutableList.of("a", null, "b"));
      }
    
      public void testCreation_generic() {
        List<String> a = ImmutableList.of("a");
        // only verify that there is no compile warning
        ImmutableList<List<String>> unused = ImmutableList.of(a, a);
      }
    
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertNotNull(ArbitraryInstances.get(AnnotatedElement.class));
        assertNotNull(ArbitraryInstances.get(GenericDeclaration.class));
      }
    
      public void testGet_regex() {
        assertEquals(Pattern.compile("").pattern(), ArbitraryInstances.get(Pattern.class).pattern());
        assertEquals(0, ArbitraryInstances.get(MatchResult.class).groupCount());
      }
    
      public void testGet_usePublicConstant() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/PreconditionsTest.java

      }
    
      // 'test' to demonstrate some potentially ambiguous overloads.  This 'test' is kind of strange,
      // but essentially each line will be a call to a Preconditions method that, but for a documented
      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      }
    
      public void testValueSetHashTableExpansion() {
        LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create();
        for (int z = 1; z <= 100; z++) {
          multimap.put("a", z);
          // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        private void privateVarArgsMethod(String... varargs) {}
      }
    
      private static class SubPrepender extends Prepender {
        @SuppressWarnings("unused") // needed to satisfy compiler, never called
        public SubPrepender() throws NullPointerException {
          throw new AssertionError();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/InvokableTest.java

        private void privateVarArgsMethod(String... varargs) {}
      }
    
      private static class SubPrepender extends Prepender {
        @SuppressWarnings("unused") // needed to satisfy compiler, never called
        public SubPrepender() throws NullPointerException {
          throw new AssertionError();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        implements SortedMap<K, V> {
    
      @SuppressWarnings("unchecked")
      static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
      // This reference is only used by GWT compiler to infer the keys and values
      // of the map that needs to be serialized.
      private @Nullable Comparator<? super K> unusedComparatorForSerialization;
      private @Nullable K unusedKeyForSerialization;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        }
    
        @Test
        void testScopeUpdate() throws InvalidVersionSpecificationException, ArtifactResolutionException {
            /* farthest = compile */
            checkScopeUpdate(Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE);
            checkScopeUpdate(Artifact.SCOPE_COMPILE, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_COMPILE);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * Returns an immutable array containing the given values, in order.
       *
       * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}.
       */
      // Use (first, rest) so that `of(someIntArray)` won't compile (they should use copyOf), which is
      // okay since we have to copy the just-created array anyway.
      public static ImmutableIntArray of(int first, int... rest) {
        checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     * every module to patch.</p>
     *
     * <p>Path types are often exclusive. For example, a dependency should not be both on the Java class-path
     * and on the Java module-path.</p>
     *
     * <h2>Relationship with Java compiler standard location</h2>
     * This enumeration is closely related to the {@link JavaFileManager.Location} enumerations.
     * A difference is that the latter enumerates input and output files, while {@code JavaPathType}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top