Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1251 - 1260 of 3,192 for throwIt (0.03 sec)

  1. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

        return delegate().offerLast(e, timeout, unit);
      }
    
      @Override
      public E takeFirst() throws InterruptedException {
        return delegate().takeFirst();
      }
    
      @Override
      public E takeLast() throws InterruptedException {
        return delegate().takeLast();
      }
    
      @Override
      public @Nullable E pollFirst(long timeout, TimeUnit unit) throws InterruptedException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

      private File rootDir;
    
      @Override
      public void setUp() throws IOException {
        rootDir = createTempDir();
      }
    
      public void testFileTraverser_emptyDirectory() throws Exception {
        assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir);
      }
    
      public void testFileTraverser_nonExistingFile() throws Exception {
        File file = new File(rootDir, "file-that-doesnt-exist");
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

        }
    
        /**
         * Ensure encode throws NPE when passed a null buffer.
         */
        @Test
        @DisplayName("Encode with null buffer throws NullPointerException")
        public void testEncodeNullBuffer() throws NdrException {
            NdrHyper hyper = new NdrHyper(5L);
            assertThrows(NullPointerException.class, () -> hyper.encode(null));
        }
    
        /**
         * Ensure decode throws NPE when passed a null buffer.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        public static XmlNode read(InputStream input, @Nullable InputLocationBuilder locationBuilder)
                throws XMLStreamException {
            return getService().doRead(input, locationBuilder);
        }
    
        /**
         * Reads an XML node from a reader.
         */
        @Nonnull
        public static XmlNode read(Reader reader) throws XMLStreamException {
            return read(reader, null);
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

         * @throws PrompterException if an exception occurs
         */
        @Nonnull
        String promptForPassword(@Nullable String message) throws PrompterException;
    
        /**
         * Displays a message to the user.
         *
         * @param message the message to display
         * @throws PrompterException if an exception occurs
         */
        void showMessage(@Nullable String message) throws PrompterException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Longs.java

       *     {@code string} has a length of zero or cannot be parsed as a long value
       * @throws IllegalArgumentException if {@code radix < Character.MIN_RADIX} or {@code radix >
       *     Character.MAX_RADIX}
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      public static @Nullable Long tryParse(String string, int radix) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 29K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                ArtifactMetadataSource source,
                ArtifactFilter filter,
                List<ResolutionListener> listeners,
                List<ConflictResolver> conflictResolvers)
                throws ArtifactResolutionException {
            fireEvent(ResolutionListener.TEST_ARTIFACT, listeners, node);
    
            Object key = node.getKey();
    
            // TODO Does this check need to happen here? Had to add the same call
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         * @return the {@link ProjectBuilderResult} containing the built project and possible errors
         * @throws ProjectBuilderException if the project cannot be created
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         */
        @Nonnull
        ProjectBuilderResult build(ProjectBuilderRequest request) throws ProjectBuilderException;
    
        /**
         * Creates a {@link org.apache.maven.api.Project} from a POM file.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Nov 16 20:36:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

        }
    
        public void test_getDecodeText() throws Exception {
            assertEquals("", emlExtractor.getDecodeText(null));
            assertEquals("", emlExtractor.getDecodeText(""));
            assertEquals("abc123", emlExtractor.getDecodeText("abc123"));
            assertEquals("ใƒ†ใ‚นใƒˆ", emlExtractor.getDecodeText("=?UTF-8?B?44OG44K544OI?="));
        }
    
        public void test_getTextWithAttachment() throws IOException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (1)
  10. src/test/java/org/codelibs/core/io/LineIteratorTest.java

    import java.io.StringReader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class LineIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            final LineIterator it = new LineIterator(reader);
            assertThat(it.hasNext(), is(true));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top