Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1611 - 1620 of 3,637 for throwIf (0.22 seconds)

  1. android/guava/src/com/google/common/io/LineBuffer.java

       *
       * @param cbuf the character buffer to process
       * @param off the offset into the buffer
       * @param len the number of characters to process
       * @throws IOException if an I/O error occurs
       * @see #finish
       */
      protected void add(char[] cbuf, int off, int len) throws IOException {
        int pos = off;
        if (sawReturn && len > 0) {
          // Last call to add ended with a CR; we can handle the line now.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/lang/ThreadUtilTest.java

     *
     */
    public class ThreadUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test_sleep() throws Exception {
            ThreadUtil.sleep(1L);
            assertTrue(true);
            ThreadUtil.sleepQuietly(1L);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test_sleepQuietly() throws Exception {
            ThreadUtil.sleepQuietly(1L);
            assertTrue(true);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         *
         * @throws RuntimeException If PUT fails for any reason.
         */
        void put(@Nonnull Path source, @Nonnull URI relativeTarget);
    
        /**
         * PUTs the source byte array to target URI. The target MUST BE relative from the
         * {@link RemoteRepository#getUrl()} root.
         *
         * @throws RuntimeException If PUT fails for any reason.
         */
        void putBytes(@Nonnull byte[] source, @Nonnull URI relativeTarget);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        public void write(final int b) throws IOException {
            tmp[0] = (byte) b;
            write(tmp, 0, 1);
        }
    
        @Override
        public void write(final byte[] b) throws IOException {
            write(b, 0, b.length);
        }
    
        @Override
        public void write(final byte[] b, final int off, int len) throws IOException {
            if (len < 0) {
                len = 0;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java

        @Override
        public ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException {
            return delegate.retrieve(request);
        }
    
        @Override
        public ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/net/URLUtilTest.java

     * @author taichi
     *
     */
    public class URLUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
            assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testDecode() throws Exception {
            assertEquals("Program Files", URLUtil.decode("Program+Files", "UTF-8"));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class TimestampConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

    public class PrefixQueryCommandTest extends QueryTestBase {
        private PrefixQueryCommand queryCommand;
        private QueryFieldConfig queryFieldConfig;
    
        @Override
        protected void setUpChild() throws Exception {
            // Get the queryProcessor and queryFieldConfig that were registered in parent class
            queryProcessor = ComponentUtil.getComponent("queryProcessor");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertEquals(unicodeFileName, notifications.get(0).getFileName());
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with non-aligned nextEntryOffset throws exception")
        void testReadParametersWireFormatNonAlignedOffset() throws Exception {
            ByteBuffer buffer = ByteBuffer.allocate(100);
            buffer.order(ByteOrder.LITTLE_ENDIAN);
    
            // Create notification with non-aligned nextEntryOffset
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java

                throws ArtifactResolutionException, PluginVersionResolutionException, ArtifactNotFoundException,
                        InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException,
                        PluginNotFoundException, PluginVersionNotFoundException;
    
        Object getPluginComponent(Plugin plugin, String role, String roleHint)
                throws PluginManagerException, ComponentLookupException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
Back to Top