Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2481 - 2490 of 2,976 for throw (0.02 sec)

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

      private volatile boolean completed = false;
    
      @Override
      public void setUp() {
        builder = new ThreadFactoryBuilder();
      }
    
      public void testThreadFactoryBuilder_defaults() throws InterruptedException {
        ThreadFactory threadFactory = builder.build();
        Thread thread = threadFactory.newThread(monitoredRunnable);
        checkThreadPoolName(thread, 1);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            assertEquals(0, result);
        }
    
        /**
         * Test the writeParametersWireFormat method for NET_SERVER_ENUM2.
         */
        @Test
        void testWriteParametersWireFormat_Enum2() throws UnsupportedEncodingException {
            byte[] dst = new byte[100];
            int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0);
    
            // Verify subcommand
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      /**
       * Creates a table with the specified data.
       *
       * @param data the table data, repeating the sequence row key, column key, value once per mapping
       * @throws IllegalArgumentException if the size of {@code data} isn't a multiple of 3
       * @throws ClassCastException if a data element has the wrong type
       */
      protected abstract Table<String, Integer, C> create(@Nullable Object... data);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * Future was cancelled, its listeners have been run, so its consumers will not hang.
         *
         * Contrast this to the situation we have if setResult() throws, a situation described below.
         */
        I sourceResult;
        try {
          sourceResult = getDone(localInputFuture);
        } catch (CancellationException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TopKSelector.java

      /**
       * Returns a {@code TopKSelector} that collects the lowest {@code k} elements added to it,
       * relative to the natural ordering of the elements, and returns them via {@link #topK} in
       * ascending order.
       *
       * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2}
       */
      public static <T extends Comparable<? super T>> TopKSelector<T> least(int k) {
        return least(k, Ordering.natural());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      // public so that it can be referenced in generated GWT tests.
      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
          tearDown.run();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/PropertyNotFoundRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception thrown when a property cannot be found.
     *
     * @author higa
     *
     */
    public class PropertyNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -5177019197796206774L;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            ssoManager = new SsoManager() {
                @Override
                protected String getSsoType() {
                    return currentSsoType;
                }
            };
            testAuthenticator = new TestSsoAuthenticator();
        }
    
        @Override
        public void tearDown() throws Exception {
            currentSsoType = Constants.NONE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/https/HandlerTest.java

                assertEquals(443, Handler.DEFAULT_HTTPS_PORT);
            }
    
            @Test
            @DisplayName("DEFAULT_HTTPS_PORT should be public static final")
            void testDefaultHttpsPortModifiers() throws NoSuchFieldException {
                // When
                var field = Handler.class.getField("DEFAULT_HTTPS_PORT");
    
                // Then
                assertTrue(Modifier.isPublic(field.getModifiers()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmAuthenticator.java

         * Used internally by jCIFS when an <code>SmbAuthException</code> is trapped to retrieve new user credentials.
         *
         * @param url the URL that requires authentication
         * @param sae the authentication exception that was thrown
         * @return credentials returned by prompt
         */
        public static NtlmPasswordAuthenticator requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top