Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 50 for BOGUS (0.07 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        derived.cancel(false);
        assertTrue(secondary.isCancelled());
        assertFalse(secondary.wasInterrupted());
        fallback.verifyCallCount(1);
      }
    
      // test of a bogus implementation
      @SuppressWarnings({"AsyncFunctionReturnsNull", "nullness"})
      @J2ktIncompatible // Nullability
      public void testCatchingAsync_nullInsteadOfFuture() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        derived.cancel(false);
        assertTrue(secondary.isCancelled());
        assertFalse(secondary.wasInterrupted());
        fallback.verifyCallCount(1);
      }
    
      // test of a bogus implementation
      @SuppressWarnings({"AsyncFunctionReturnsNull", "nullness"})
      @J2ktIncompatible // Nullability
      public void testCatchingAsync_nullInsteadOfFuture() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/IntsTest.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 Integer> list = Arrays.asList((int) 0, (int) 1, null);
        assertThrows(NullPointerException.class, () -> Ints.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)
  4. android/guava-tests/test/com/google/common/primitives/CharsTest.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 Character> list = Arrays.asList((char) 0, (char) 1, null);
        assertThrows(NullPointerException.class, () -> Chars.toArray(list));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/CharsTest.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 Character> list = Arrays.asList((char) 0, (char) 1, null);
        assertThrows(NullPointerException.class, () -> Chars.toArray(list));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb1/netbios/NbtAddress.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 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
Back to Top