Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,947 for threw (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

        }
    
        @Test
        public void testReleaseSendRegion() throws Exception {
            RdmaMemoryRegion region = bufferManager.getSendRegion(1024);
            assertNotNull(region);
    
            // Release should not throw exception
            assertDoesNotThrow(() -> bufferManager.releaseSendRegion(region));
        }
    
        @Test
        public void testGetReceiveRegion() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/internal/Finalizer.java

     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
     * loader and prevent it from being garbage collected. This poses a problem for environments where
     * you want to throw away the class loader. For example, dynamically reloading a web application or
     * unloading an OSGi bundle.
     *
     * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own class
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

        void createContext_rejectsShortNetbiosHost() {
            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
    
            // Using an uppercase short name (no dot) must throw an unsupported operation
            SmbUnsupportedOperationException ex =
                    assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "SERVER", new byte[0], false));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

                        return extractor.getText(is, params);
                    }
                }
            } catch (final CrawlingAccessException e) {
                throw e;
            } catch (final Exception e) {
                throw new ExtractException("Failed to extract data.", e);
            } finally {
                if (dfos != null && !dfos.isInMemory()) {
                    final File file = dfos.getFile();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/UnmodifiableIterator.java

      protected UnmodifiableIterator() {}
    
      /**
       * Guaranteed to throw an exception and leave the underlying data unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void remove() {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      // clean up these threads.
      @SuppressWarnings("deprecation")
      @Override
      public void tearDown() throws Exception {
        stop();
        join();
    
        if (uncaughtThrowable != null) {
          throw new AssertionError("Uncaught throwable in " + getName(), uncaughtThrowable);
        }
      }
    
      /**
       * Causes this thread to call the named void method, and asserts that the call returns normally.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

        super(Preconditions.checkNotNull(in));
      }
    
      /** This method will throw an {@link UnsupportedOperationException}. */
      @CanIgnoreReturnValue // to skip a line
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public String readLine() {
        throw new UnsupportedOperationException("readLine is not supported");
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                    if (baseDir.mkdirs()) {
                        logger.info("Created: {}", baseDir.getAbsolutePath());
                    }
                    if (!baseDir.isDirectory()) {
                        throw new FessSystemException("Not found: " + baseDir.getAbsolutePath());
                    }
                    thumbnailTaskQueue = new LinkedBlockingQueue<>(thumbnailTaskQueueSize);
                    // Don't start thread
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        require(flags shr 15 != 0) { "not a response" }
    
        val responseCode = flags and 0xf
    
        if (responseCode == NXDOMAIN) {
          throw UnknownHostException("$hostname: NXDOMAIN")
        } else if (responseCode == SERVFAIL) {
          throw UnknownHostException("$hostname: SERVFAIL")
        }
    
        val questionCount = buf.readShort().toInt() and 0xffff
        val answerCount = buf.readShort().toInt() and 0xffff
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testGetOrDefault_nullAbsentAndUnsupported() {
        try {
          assertEquals(
              "getOrDefault(null, def) should return default or throw",
              v3(),
              getMap().getOrDefault(null, v3()));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top