Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 242 for w123 (0.02 sec)

  1. guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

       * gets invoked from other immutable collections.
       */
      public void testDoesntCheckForNull() {
        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
        ImmutableList<Integer> unused =
            new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null});
        // shouldn't throw!
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertThrows(NullPointerException.class, () -> builder.put(null, 1));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, Arrays.asList(1, 2, 3)));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, 1, 2, 3));
        assertThrows(
            NullPointerException.class, () -> builder.putAll((Multimap<String, Integer>) toPut));
      }
    
      public void testBuilderPutNullValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Returns a string containing the supplied {@code int} values separated by {@code separator}. For
       * example, {@code join("-", 1, 2, 3)} returns the string {@code "1-2-3"}.
       *
       * @param separator the text that should appear between consecutive values in the resulting string
       *     (but not at the start or end)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

            .build()
        assertThat(url.toString())
          .isEqualTo(
            "http://a%3A%01%40%2F%5C%3F%23%25b:c%3A%01%40%2F%5C%3F%23%25d@ef:8080/" +
              "g:%01@%2F%5C%3F%23%25h?i:%01@/\\?%23%25j#k:%01@/\\?#%25l",
          )
        assertThat(url.scheme).isEqualTo("http")
        assertThat(url.username).isEqualTo("a:\u0001@/\\?#%b")
        assertThat(url.password).isEqualTo("c:\u0001@/\\?#%d")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/resources/poms/validation/bad-snapshot-version.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>foo</groupId>
      <artifactId>bar</artifactId>
      <version>1.2.3.SNAPSHOT</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 917 bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertThrows(IOException.class, () -> okSource.copyTo(out));
        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                  }
                });
    
        List<Integer> actual = newArrayList(result);
        List<Integer> expected = asList(1, 2, 3);
        assertEquals(expected, actual);
        assertCanIterateAgain(result);
        assertEquals("[1, 2, 3]", result.toString());
      }
    
      public void testPoorlyBehavedTransform() {
        List<String> input = asList("1", "not a number", "3");
        Iterable<Integer> result =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

                  }
                });
    
        List<Integer> actual = Lists.newArrayList(result);
        List<Integer> expected = asList(1, 2, 3);
        assertEquals(expected, actual);
      }
    
      public void testTransformRemove() {
        List<String> list = Lists.newArrayList("1", "2", "3");
        Iterator<String> input = list.iterator();
        Iterator<Integer> iterator =
            Iterators.transform(
                input,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        (Integer i) -> i == 0 ? null : IntStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1, 1, 2, 3);
      }
    
      public void testFlatMapToLong_nullStream() {
        SpliteratorTester.ofLong(
                () ->
                    CollectSpliterators.flatMapToLong(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

      data class Inline1(
        override val rangeStart: Int,
        private val mappedTo: ByteString,
      ) : MappedRange {
        val b1: Int
          get() {
            val b3bit8 = mappedTo[0] and 0x80 != 0
            return if (b3bit8) 123 else 122
          }
    
        val b2: Int
          get() = mappedTo[0] and 0x7f
      }
    
      data class Inline2(
        override val rangeStart: Int,
        private val mappedTo: ByteString,
      ) : MappedRange {
        val b1: Int
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top