Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 50 for bogus (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testToArray_withNull() {
        List<@Nullable Double> list = Arrays.asList(0.0, 1.0, null);
        assertThrows(NullPointerException.class, () -> Doubles.toArray(list));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                     * issue on the host. There's not much we can do about it. Just
                     * to suppress NPEs that would result we can create a possibly bogus
                     * address. Pretty sure the below cannot actually thrown a UHE tho.
                     */
                    try {
                        localInetAddress = InetAddress.getByName("127.0.0.1");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertThrows(
            IllegalArgumentException.class, () -> mediaType.withParameters("a", ImmutableSet.of("…")));
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testWithParametersIterable_nullValue() {
        MediaType mediaType = MediaType.parse("text/plain");
        assertThrows(
            NullPointerException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher isNot(char match) {
        return new IsNot(match);
      }
    
      /**
       * Returns a {@code char} matcher that matches any BMP character present in the given character
       * sequence. Returns a bogus matcher if the sequence contains supplementary characters.
       */
      public static CharMatcher anyOf(CharSequence sequence) {
        switch (sequence.length()) {
          case 0:
            return none();
          case 1:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/base/SplitterTest.java

     */
    @NullMarked
    @GwtCompatible
    public class SplitterTest extends TestCase {
    
      private static final Splitter COMMA_SPLITTER = Splitter.on(',');
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testSplitNullString() {
        assertThrows(NullPointerException.class, () -> COMMA_SPLITTER.split(null));
      }
    
      public void testCharacterSimpleSplit() {
        String simple = "a,b,c";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher isNot(char match) {
        return new IsNot(match);
      }
    
      /**
       * Returns a {@code char} matcher that matches any BMP character present in the given character
       * sequence. Returns a bogus matcher if the sequence contains supplementary characters.
       */
      public static CharMatcher anyOf(CharSequence sequence) {
        switch (sequence.length()) {
          case 0:
            return none();
          case 1:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/ShortsTest.java

            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testToArray_withNull() {
        List<@Nullable Short> list = Arrays.asList((short) 0, (short) 1, null);
        assertThrows(NullPointerException.class, () -> Shorts.toArray(list));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/DoublesTest.java

            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testToArray_withNull() {
        List<@Nullable Double> list = Arrays.asList(0.0, 1.0, null);
        assertThrows(NullPointerException.class, () -> Doubles.toArray(list));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testToArray_withNull() {
        List<@Nullable Float> list = Arrays.asList(0.0f, 1.0f, null);
        assertThrows(NullPointerException.class, () -> Floats.toArray(list));
      }
    
    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)
  10. guava-tests/test/com/google/common/primitives/FloatsTest.java

            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testToArray_withNull() {
        List<@Nullable Float> list = Arrays.asList(0.0f, 1.0f, null);
        assertThrows(NullPointerException.class, () -> Floats.toArray(list));
      }
    
    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)
Back to Top