Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 6,624 for throws (0.12 sec)

  1. guava/src/com/google/common/io/ByteSource.java

        }
    
        @Override
        public InputStream openStream() throws IOException {
          return sliceStream(ByteSource.this.openStream());
        }
    
        @Override
        public InputStream openBufferedStream() throws IOException {
          return sliceStream(ByteSource.this.openBufferedStream());
        }
    
        private InputStream sliceStream(InputStream in) throws IOException {
          if (offset > 0) {
            long skipped;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  2. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitFileRepository.java

        public static GitFileRepository init(File repoDir) throws GitAPIException {
            GitFileRepository repo = new GitFileRepository(repoDir);
            repo.createGitRepo(repoDir);
            return repo;
        }
    
        @Override
        protected void before() throws GitAPIException {
            createGitRepo(new File(parentDirectory, repoName));
        }
    
        private void createGitRepo(File repoDir) throws GitAPIException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLtrim() throws Exception {
            assertEquals("1", "trim", StringUtil.ltrim("zzzytrim", "xyz"));
            assertEquals("2", "", StringUtil.ltrim("xyz", "xyz"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRtrim() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @throws IOException thrown by <tt>SmbFileInputStream</tt> constructor
     */
        public InputStream getInputStream() throws IOException {
            return new SmbFileInputStream( this );
        }
    
    /**
     * This URLConnection method just returns a new <tt>SmbFileOutputStream</tt> created with this file.
     *
     * @throws IOException thrown by <tt>SmbFileOutputStream</tt> constructor
     */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

    public class TimeConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
            assertThat(toDate(null), is(nullValue()));
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java

            @Override
            public void write(byte[] b, int off, int len) throws IOException {
                if (b == null) {
                    throw new NullPointerException();
                }
    
                if ((off < 0) || (off > b.length) || (len < 0)
                        || ((off + len) > b.length) || ((off + len) < 0)) {
                    throw new IndexOutOfBoundsException();
                }
    
                if (len == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/preconditions/IntegTestPreconditions.groovy

            @Override
            boolean isSatisfied() throws Exception {
                return GradleContextualExecuter.isLongLivingProcess()
            }
        }
    
        static final class IsEmbeddedExecutor implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return GradleContextualExecuter.isEmbedded()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      public void testConstructor() throws Exception {
        Invokable<A, A> invokable = A.constructor();
        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      public void testConstructor() throws Exception {
        Invokable<A, A> invokable = A.constructor();
        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top