Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2051 - 2060 of 3,609 for uint (0.03 sec)

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

     */
    @GwtCompatible(emulated = true)
    public class ByteArrayAsListTest extends TestCase {
    
      private static List<Byte> asList(Byte[] values) {
        byte[] temp = new byte[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Bytes.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

     */
    @GwtCompatible(emulated = true)
    public class LongArrayAsListTest extends TestCase {
    
      private static List<Long> asList(Long[] values) {
        long[] temp = new long[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Longs.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingListIterator.java

      public boolean hasPrevious() {
        return delegate().hasPrevious();
      }
    
      @Override
      public int nextIndex() {
        return delegate().nextIndex();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E previous() {
        return delegate().previous();
      }
    
      @Override
      public int previousIndex() {
        return delegate().previousIndex();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

    /**
     * Wraps an ordinary {@link CharSequence} as a source.
     *
     */
    public class StringSource implements Source {
        private final String content;
    
        private final String location;
    
        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified string.
         *
         * @param content The String representation, may be empty or {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java

    public class ArtifactModelSource extends FileSource implements ModelSource {
        private final String groupId;
    
        private final String artifactId;
    
        private final String version;
    
        private final int hashCode;
    
        @Deprecated
        public ArtifactModelSource(File file, String groupId, String artifactId, String version) {
            super(file);
            this.groupId = groupId;
            this.artifactId = artifactId;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    return new AbstractList<String>() {
                      @Override
                      public int size() {
                        return elements.length;
                      }
    
                      @Override
                      public String get(int index) {
                        return elements[index];
                      }
                    };
                  }
                })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/UtilTest.kt

          },
        ).hasMessage("timeout too small")
        assertThat(
          assertThrows<IllegalArgumentException> {
            checkDuration(
              "timeout",
              1L + Int.MAX_VALUE.toLong(),
              TimeUnit.MILLISECONDS,
            )
          },
        ).hasMessage("timeout too large")
      }
    
      @Test
      fun testDurationDuration() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

    public abstract class ListIteratorTester<E extends @Nullable Object>
        extends AbstractIteratorTester<E, ListIterator<E>> {
      protected ListIteratorTester(
          int steps,
          Iterable<E> elementsToInsert,
          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          int startIndex) {
        super(steps, elementsToInsert, features, expectedElements, KnownOrder.KNOWN_ORDER, startIndex);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

        assertEquals(65536, replacementArray.length);
        // The final element should always be non-null.
        assertNotNull(replacementArray[replacementArray.length - 1]);
        // Exhaustively check all mappings (an int index avoids wrapping).
        for (int n = 0; n < replacementArray.length; ++n) {
          char c = (char) n;
          if (replacementArray[n] != null) {
            assertEquals(map.get(c), new String(replacementArray[n]));
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

      }
    
      @Override
      public E[] createArray(int length) {
        return generator.createArray(length);
      }
    
      @Override
      public T createTestSubject() {
        Collection<E> elements = getSampleElements(getCollectionSize().getNumElements());
        return generator.create(elements.toArray());
      }
    
      @Override
      public Collection<E> getSampleElements(int howMany) {
        SampleElements<E> samples = samples();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top