Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 2,394 for Batch (0.02 seconds)

  1. src/main/java/org/codelibs/core/io/InputStreamUtil.java

         */
        public static FileInputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileInputStream(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets a byte array from an {@link InputStream}.
         * <p>
         * The input stream is not closed.
         * </p>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

         */
        public static ZipEntry getNextEntry(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
            try {
                return zis.getNextEntry();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * A method that wraps the exception handling of {@link ZipInputStream#reset()}.
         *
         * @param zis
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                context.cwd = getCwd(context);
            } catch (Exception e) {
                context.parsingFailed = true;
                context.cwd = getCanonicalPath(Paths.get("."));
                parserRequest.logger().error("Error determining working directory", e);
            }
            try {
                context.installationDirectory = getInstallationDirectory(context);
            } catch (Exception e) {
                context.parsingFailed = true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                this.rpcHandle.bind();
                this.connected = true;
    
                log.debug("Connected to witness service at {}", serverAddress.getHostAddress());
            } catch (Exception e) {
                throw new IOException("Failed to connect to witness service", e);
            }
        }
    
        /**
         * Builds the RPC URL for the witness service.
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                        } catch (Exception e) {
                            logger.warn("Failed to set originalOutStream.", e);
                        }
                    }
                    if (originalErrStream != null) {
                        try {
                            System.setErr(originalErrStream);
                        } catch (Exception e) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 30.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Internal.java

      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/curl/CurlRequest.java

                            IOUtils.copy(bodyStream, out);
                            out.flush();
                        }
                    }
    
                    actionListener.accept(connection);
                } catch (final Exception e) {
                    exceptionListener.accept(new CurlException("Failed to access to " + finalUrl, e));
                } finally {
                    if (connection != null) {
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  8. tests/test_fastapi_cli.py

    import os
    import subprocess
    import sys
    from unittest.mock import patch
    
    import fastapi.cli
    import pytest
    
    
    def test_fastapi_cli():
        result = subprocess.run(
            [
                sys.executable,
                "-m",
                "coverage",
                "run",
                "-m",
                "fastapi",
                "dev",
                "non_existent_file.py",
            ],
            capture_output=True,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 04:02:38 GMT 2025
    - 866 bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                                }
                            }
                        }
                    }
                }
            } catch (final MaxLengthExceededException e) {
                throw e;
            } catch (final Exception e) {
                if (buf.length() == 0) {
                    throw new ExtractException("Failed to extract content from TAR archive. No entries could be processed.", e);
                }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        equivalenceMock.expectHash(group1Item1, 1);
        equivalenceMock.expectHash(group1Item2, 1);
    
        equivalenceMock.replay();
    
        try {
          tester.addEquivalenceGroup(group1Item1, group1Item2).test();
        } catch (AssertionFailedError expected) {
          assertThat(expected)
              .hasMessageThat()
              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 8.4K bytes
    - Click Count (0)
Back to Top