Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 568 for enum (0.03 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val requestAfter = server.takeRequest()
        assertThat(
          requestAfter.sequenceNumber == 0 ||
            server.requestCount == 3 && server.takeRequest().sequenceNumber == 0,
        ).isTrue()
      }
    
      internal enum class WriteKind {
        BYTE_BY_BYTE,
        SMALL_BUFFERS,
        LARGE_BUFFERS,
      }
    
      @Test
      fun chunkedUpload_byteByByte() {
        doUpload(TransferKind.CHUNKED, WriteKind.BYTE_BY_BYTE)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @since 2.0
       */
      public static Comparator<int[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<int[]> {
        INSTANCE;
    
        @Override
        // A call to bare "min" or "max" would resolve to our varargs method, not to any static import.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          if (newArg == null || Objects.equal(args.get(i), newArg)) {
            if (params.get(i).getType().getRawType().isEnum()) {
              continue; // Nothing better we can do if it's single-value enum
            }
            throw new ParameterHasNoDistinctValueException(params.get(i));
          }
          newArgs.set(i, newArg);
          tester.addEqualityGroup(createInstance(factory, newArgs));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Chars.java

       * char[])}.
       *
       * @since 2.0
       */
      public static Comparator<char[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<char[]> {
        INSTANCE;
    
        @Override
        public int compare(char[] left, char[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

        return (UnmodifiableListIterator<T>) ArrayItr.EMPTY;
      }
    
      /**
       * This is an enum singleton rather than an anonymous class so ProGuard can figure out it's only
       * referenced by emptyModifiableIterator().
       */
      private enum EmptyModifiableIterator implements Iterator<Object> {
        INSTANCE;
    
        @Override
        public boolean hasNext() {
          return false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

              queueIterator.remove();
            }
          }
          assertThat(remaining).isEqualTo(0);
          assertIntact(queue);
          assertThat(queue).containsExactlyElementsIn(elements);
        }
      }
    
      private enum Element {
        ONE,
        TWO,
        THREE,
        FOUR,
        FIVE;
      }
    
      public void testRandomAddsAndRemoves_duplicateElements() {
        Random random = new Random(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Floats.java

       * float[])}.
       *
       * @since 2.0
       */
      public static Comparator<float[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<float[]> {
        INSTANCE;
    
        @Override
        public int compare(float[] left, float[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Doubles.java

       * double[])}.
       *
       * @since 2.0
       */
      public static Comparator<double[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<double[]> {
        INSTANCE;
    
        @Override
        public int compare(double[] left, double[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Floats.java

       * float[])}.
       *
       * @since 2.0
       */
      public static Comparator<float[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<float[]> {
        INSTANCE;
    
        @Override
        public int compare(float[] left, float[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

        `http://` schemes.
    
     *  **RouteDatabase is no longer public API.** OkHttp continues to track which
        routes have failed but this is no exposed in the API.
    
     *  **ResponseSource is gone.** This enum exposed whether a response came from
        the cache, network, or both. OkHttp 2 offers more detail with raw access to
        the cache and network responses in the new `Response` class.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top