Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for kotlinc (0.15 sec)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.toArray(floats)).isEqualTo(array);
        assertThat(Longs.toArray(longs)).isEqualTo(array);
        assertThat(Longs.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        long[] array = {(long) 0, (long) 1};
        List<Long> list = Longs.asList(array);
        list.set(0, (long) 2);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.toArray(floats)).isEqualTo(array);
        assertThat(Doubles.toArray(longs)).isEqualTo(array);
        assertThat(Doubles.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        double[] array = {(double) 0, (double) 1};
        List<Double> list = Doubles.asList(array);
        list.set(0, (double) 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.toArray(floats)).isEqualTo(array);
        assertThat(Longs.toArray(longs)).isEqualTo(array);
        assertThat(Longs.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        long[] array = {(long) 0, (long) 1};
        List<Long> list = Longs.asList(array);
        list.set(0, (long) 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ParametricNullness.java

     * </ul>
     *
     * <p>Consumers of this annotation include:
     *
     * <ul>
     *   <li>Kotlin, for which it makes the type-variable usage (a) a Kotlin platform type when the type
     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/ParametricNullness.java

     * </ul>
     *
     * <p>Consumers of this annotation include:
     *
     * <ul>
     *   <li>Kotlin, for which it makes the type-variable usage (a) a Kotlin platform type when the type
     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ParametricNullness.java

     * </ul>
     *
     * <p>Consumers of this annotation include:
     *
     * <ul>
     *   <li>Kotlin, for which it makes the type-variable usage (a) a Kotlin platform type when the type
     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        assertEquals(String[].class, array.getClass());
        assertThat(array).hasLength(2);
        assertNull(array[0]);
      }
    
      @J2ktIncompatible // Array<String>::class literal not available in Kotlin KMP
      @GwtIncompatible // ObjectArrays.newArray(Class, int)
      public void testNewArray_fromClass_OfArray() {
        String[][] array = ObjectArrays.newArray(String[].class, 1);
        assertEquals(String[][].class, array.getClass());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/ElementTypesAreNonnullByDefault.java

    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/xml/ElementTypesAreNonnullByDefault.java

    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 14 22:01:50 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ElementTypesAreNonnullByDefault.java

    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
Back to top