Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 551 for FIRST (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

      public void testRemove_size1() {
        assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testRemove_sizeMany() {
        assertEquals("sizeManyQueue.remove() should return first element", e0(), getQueue().remove());
        expectMissing(e0());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

        // have this Entry. The value in the map becomes false when this first entry has been copied, so
        // we know not to copy the remaining ones.
        IdentityHashMap<Entry<K, V>, Boolean> duplicates = null;
        int dupCount = 0;
        for (int entryIndex = n - 1; entryIndex >= 0; entryIndex--) {
          // requireNonNull is safe because the first `n` elements have been filled in.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *             IllegalArgumentException} is thrown.
       *       </ol>
       *   <li>If the first character was a low surrogate value, {@link IllegalArgumentException} is
       *       thrown.
       * </ol>
       *
       * @param seq the sequence of characters from which to decode the code point
       * @param index the index of the first character to decode
       * @param end the index beyond the last valid character to decode
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/escape/UnicodeEscaper.java

       *             IllegalArgumentException} is thrown.
       *       </ol>
       *   <li>If the first character was a low surrogate value, {@link IllegalArgumentException} is
       *       thrown.
       * </ol>
       *
       * @param seq the sequence of characters from which to decode the code point
       * @param index the index of the first character to decode
       * @param end the index beyond the last valid character to decode
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

          for (List<Integer> contents : SAMPLE_INPUTS) {
            C filtered = filter(createUnfiltered(contents), EVEN);
    
            try {
              Integer first = filtered.first();
              assertFalse(filtered.isEmpty());
              assertEquals(Ordering.natural().min(filtered), first);
            } catch (NoSuchElementException e) {
              assertTrue(filtered.isEmpty());
            }
          }
        }
    
        public void testLast() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

            ImmutableMap.of(
                'a', "first",
                'z', "last");
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Array length is highest character value + 1
        assertThat(fem.getReplacementArray()).hasLength('z' + 1);
      }
    
      public void testMapping() {
        Map<Character, String> map =
            ImmutableMap.of(
                '\0', "zero",
                'a', "first",
                'b', "second",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java

      public void testPoll_size1() {
        assertEquals("size1Queue.poll() should return first element", e0(), getQueue().poll());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testPoll_sizeMany() {
        assertEquals("sizeManyQueue.poll() should return first element", e0(), getQueue().poll());
        expectMissing(e0());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

      }
    
      private static final class ConverterComposition<A, B, C> extends Converter<A, C>
          implements Serializable {
        final Converter<A, B> first;
        final Converter<B, C> second;
    
        ConverterComposition(Converter<A, B> first, Converter<B, C> second) {
          this.first = first;
          this.second = second;
        }
    
        /*
         * These gymnastics are a little confusing. Basically this class has neither legacy nor
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

            override fun source(): BufferedSource = this@asResponseBody
          }
    
        @JvmStatic
        @Deprecated(
          message = "Moved to extension function. Put the 'content' argument first to fix Java",
          replaceWith =
            ReplaceWith(
              expression = "content.toResponseBody(contentType)",
              imports = ["okhttp3.ResponseBody.Companion.toResponseBody"],
            ),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

    import okio.Source
    import okio.buffer
    
    internal abstract class BasePublicSuffixList : PublicSuffixList {
      /** True after we've attempted to read the list for the first time. */
      private val listRead = AtomicBoolean(false)
    
      /** Used for concurrent threads reading the list for the first time. */
      private val readCompleteLatch = CountDownLatch(1)
    
      // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top