Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 2,742 for throws (0.08 sec)

  1. guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java

      @CheckReturnValue
      @Override
      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().awaitTermination(timeout, unit);
      }
    
      @Override
      public <T extends @Nullable Object> List<Future<T>> invokeAll(
          Collection<? extends Callable<T>> tasks) throws InterruptedException {
        return delegate().invokeAll(tasks);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

        }
    
    
        /**
         * 
         * @param type
         * @return the info
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileInformation> T getInfo ( Class<T> type ) throws CIFSException {
            if ( !type.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) this.info;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteSinkTest.java

      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/BaseMavenParser.java

            }
            return result;
        }
    
        protected O parseMavenCliOptions(List<String> args) throws ParserException {
            return parseArgs(Options.SOURCE_CLI, args);
        }
    
        protected O parseMavenConfigOptions(Path configFile) throws ParserException, IOException {
            try (Stream<String> lines = Files.lines(configFile, Charset.defaultCharset())) {
                List<String> args =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

        public static ArtifactRepository buildArtifactRepository(org.apache.maven.settings.Repository repo)
                throws InvalidRepositoryException {
            return buildArtifactRepository(fromSettingsRepository(repo));
        }
    
        public static ArtifactRepository buildArtifactRepository(org.apache.maven.model.Repository repo)
                throws InvalidRepositoryException {
            if (repo != null) {
                String id = repo.getId();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

      public void testCrc32_equalsChecksumValue() throws Exception {
        assertChecksum(CRC_32, "");
        assertChecksum(CRC_32, "Z");
        assertChecksum(CRC_32, "foobar");
      }
    
      public void testAdler32_equalsChecksumValue() throws Exception {
        assertChecksum(ADLER_32, "");
        assertChecksum(ADLER_32, "Z");
        assertChecksum(ADLER_32, "foobar");
      }
    
      public void testCrc32_knownValues() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 30 14:33:12 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
            new ArrayBasedCharEscaper(NO_REPLACEMENTS, 'A', 'Z') {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

         *            コンストラクタ。{@literal null}であってはいけません
         * @param args
         *            コンストラクタ呼び出しに引数として渡すオブジェクトの配列
         * @return コンストラクタを呼び出すことで作成される新規オブジェクト
         * @throws InstantiationRuntimeException
         *             基本となるコンストラクタを宣言するクラスが{@code abstract}クラスを表す場合
         * @throws IllegalAccessRuntimeException
         *             実パラメータ数と仮パラメータ数が異なる場合、 プリミティブ引数のラップ解除変換が失敗した場合、 またはラップ解除後、
         *             メソッド呼び出し変換によってパラメータ値を対応する仮パラメータ型に変換できない場合、
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper");
            try (InputStream is = getContentInputStream(out)) {
                return mimeTypeHelper.getContentType(is, filename);
            }
        }
    
        protected InputStream getContentInputStream(final DeferredFileOutputStream out) throws IOException {
            if (out.isInMemory()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top