Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 301 for _gwt (0.02 seconds)

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

        return ImmutableIntArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThrows(IllegalArgumentException.class, () -> Floats.ensureCapacity(ARRAY1, 1, -1));
      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testJoin() {
        assertThat(Floats.join(",", EMPTY)).isEmpty();
        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThrows(IllegalArgumentException.class, () -> Floats.ensureCapacity(ARRAY1, 1, -1));
      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testJoin() {
        assertThat(Floats.join(",", EMPTY)).isEmpty();
        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        return ImmutableIntArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(transformed.toString()).isEqualTo("{verbose=verbose, sort=nosort}");
      }
    
      // Logically this would accept a NavigableMap, but that won't work under GWT.
      private static <K, V> SortedMap<K, V> sortedNotNavigable(SortedMap<K, V> map) {
        return new ForwardingSortedMap<K, V>() {
          @Override
          protected SortedMap<K, V> delegate() {
            return map;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        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");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

    @NullUnmarked
    public class UnsignedIntegerTest extends TestCase {
      private static final ImmutableSet<Integer> TEST_INTS;
      private static final ImmutableSet<Long> TEST_LONGS;
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    
      static {
        ImmutableSet.Builder<Integer> testIntsBuilder = ImmutableSet.builder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        return ImmutableDoubleArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      @AndroidIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Throwables.java

      /** JavaLangAccess class name to load using reflection */
      @J2ktIncompatible @GwtIncompatible // not used by GWT emulation
      private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess";
    
      /** SharedSecrets class name to load using reflection */
      @J2ktIncompatible
      @GwtIncompatible // not used by GWT emulation
      @VisibleForTesting
      static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets";
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

       * com.google.common.io.ByteStreams#newDataOutput()} to get a growable buffer.
       */
      public static byte[] toByteArray(long value) {
        // Note that this code needs to stay compatible with GWT, which has known
        // bugs when narrowing byte casts of long values occur.
        byte[] result = new byte[8];
        for (int i = 7; i >= 0; i--) {
          result[i] = (byte) (value & 0xffL);
          value >>= 8;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
Back to Top