Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 127 for compiler (0.15 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       *
       * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}.
       */
      // Use (first, rest) so that `of(someDoubleArray)` won't compile (they should use copyOf), which
      // is okay since we have to copy the just-created array anyway.
      public static ImmutableDoubleArray of(double first, double... rest) {
        checkArgument(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

      }
    
      static final int LAST_COLOR_ADDED = 0x00BFFF;
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        // javac won't compile this without "this.<Integer>"
        ImmutableSet.Builder<Integer> webSafeColorsBuilder = this.<Integer>builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. android/guava-tests/pom.xml

          <artifactId>caliper</artifactId>
          <version>1.0-beta-3</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-test-sources</id>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 07 19:01:53 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @Generates
      Comparable<?> generateComparable() {
        return generateString();
      }
    
      @Generates
      Pattern generatePattern() {
        return Pattern.compile(generateString());
      }
    
      @Generates
      Charset generateCharset() {
        return pickInstance(Charset.availableCharsets().values(), Charsets.UTF_8);
      }
    
      @Generates
      Locale generateLocale() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
       * creating a lot of compile errors that users would not find to be informative, we're giving in
       * and allowing callers to pass arguments that a nullness checker believes could be null.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. LICENSE

          source, and configuration files.
    
          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
          and conversions to other media types.
    
          "Work" shall mean the work of authorship, whether in Source or
          Object form, made available under the License, as indicated by a
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

      }
    
      private TypeToken<? super T> getArraySupertype(Class<? super T> supertype) {
        // with component type, we have lost generic type information
        // Use raw type so that compiler allows us to call getSupertype()
        @SuppressWarnings("rawtypes")
        TypeToken componentType = getComponentType();
        // TODO(cpovirk): checkArgument?
        if (componentType == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        /*
         * Futures should be collected even if combiner never runs. This is kind of a silly test, since
         * the combiner is almost certain to hold its own reference to the futures, and a real app would
         * hold a reference to the executor and thus to the combiner. What we really care about is that
         * the futures are released once the combiner is done running. But we happen to provide this
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      interface Y {}
    
      static class A implements X, Y {}
    
      static class B implements X, Y {}
    
      /**
       * This test passes if the {@code concat(…).filter(…).filter(…)} statement at the end compiles.
       * That statement compiles only if {@link FluentIterable#concat concat(aIterable, bIterable)}
       * returns a {@link FluentIterable} of elements of an anonymous type whose supertypes are the <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  10. guava-gwt/src/com/google/common/ForceGuavaCompilationEntryPoint.java

     * limitations under the License.
     */
    
    package com.google.common;
    
    import com.google.gwt.core.client.EntryPoint;
    
    /**
     * A dummy entry point to convince Maven to compile our classes.
     *
     * @author Chris Povirk
     */
    public class ForceGuavaCompilationEntryPoint implements EntryPoint {
      @Override public void onModuleLoad() {
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 05 21:14:56 GMT 2012
    - 893 bytes
    - Viewed (0)
Back to top