Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1571 - 1580 of 1,715 for threw (0.02 sec)

  1. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

             */
            public Integer echo(final Integer arg) {
                return arg;
            }
    
            /**
             *
             */
            public void throwException() {
                throw new IllegalStateException("hoge");
            }
        }
    
        /**
         *
         */
        public class MyBean2 {
            /**
             *
             */
            public MyBean2() {
            }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // en space
        assertThat(parse("http://h/\u2002").encodedPath).isEqualTo("/%E2%80%82")
        // em space
        assertThat(parse("http://h/\u2003").encodedPath).isEqualTo("/%E2%80%83")
        // three-per-em space
        assertThat(parse("http://h/\u2004").encodedPath).isEqualTo("/%E2%80%84")
        // four-per-em space
        assertThat(parse("http://h/\u2005").encodedPath).isEqualTo("/%E2%80%85")
        // six-per-em space
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

            try {
                return createProtwordsItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
                throw e;
            }
        }
    
        public static OptionalEntity<ProtwordsItem> createProtwordsItem(final FessBaseAction action, final CreateForm form,
                final VaErrorHook hook) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

        private var delegate: Reader? = null
    
        @Throws(IOException::class)
        override fun read(
          cbuf: CharArray,
          off: Int,
          len: Int,
        ): Int {
          if (closed) throw IOException("Stream closed")
    
          val finalDelegate =
            delegate ?: InputStreamReader(
              source.inputStream(),
              source.readBomAsCharset(charset),
            ).also {
              delegate = it
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        }
      }
    
      private static class ExpectedHashCode {
        final byte[] bytes;
        final int asInt;
        final Long asLong; // null means that asLong should throw an exception
        final String toString;
    
        ExpectedHashCode(byte[] bytes, int asInt, @Nullable Long asLong, String toString) {
          this.bytes = bytes;
          this.asInt = asInt;
          this.asLong = asLong;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ObjectArrays.java

      // We do this instead of Preconditions.checkNotNull to save boxing and array
      // creation cost.
      @CanIgnoreReturnValue
      static Object checkElementNotNull(Object element, int index) {
        if (element == null) {
          throw new NullPointerException("at index " + index);
        }
        return element;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        AtomicDoubleArray aa = new AtomicDoubleArray(0);
        assertEquals(0, aa.length());
        assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0));
      }
    
      /** get and set for out of bound indices throw IndexOutOfBoundsException */
      public void testIndexing() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int index : new int[] {-1, SIZE}) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

         *     despite physically existing in the class path.
         */
        public final URL url() {
          URL url = loader.getResource(resourceName);
          if (url == null) {
            throw new NoSuchElementException(resourceName);
          }
          return url;
        }
    
        /**
         * Returns a {@link ByteSource} view of the resource from which its bytes can be read.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

            for ( int i = 0; i < 8; i++ ) {
                if ( material[ i ] != NTLMSSP_SIGNATURE[ i ] ) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
    
            pos += 8;
            if ( readULong(material, pos) != NTLMSSP_TYPE3 ) {
                throw new IOException("Not a Type 3 message.");
            }
            pos += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals("Ordering.explicit([0])", c.toString());
      }
    
      public void testExplicitMax_b297601553() {
        Ordering<Integer> c = Ordering.explicit(1, 2, 3);
    
        // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed
        assertEquals(0, (int) c.max(asList(0)));
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.max(asList(0, 1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top