Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1891 - 1900 of 3,670 for throwIf (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java

         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenShellCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

        }
    
        @Override
        public RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException {
            return new TcpRdmaConnection(remote, local);
        }
    
        @Override
        public RdmaConnection connect(String hostname, int port) throws IOException {
            InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

        @Override
        public Model read(File input, Map<String, ?> options) throws IOException {
            return reader.read(input, options);
        }
    
        @Override
        public Model read(Reader input, Map<String, ?> options) throws IOException {
            return reader.read(input, options);
        }
    
        @Override
        public Model read(InputStream input, Map<String, ?> options) throws IOException {
            return reader.read(input, options);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/ReaderInputStream.java

        Java8Compatibility.flip(charBuffer);
    
        byteBuffer = ByteBuffer.allocate(bufferSize);
      }
    
      @Override
      public void close() throws IOException {
        reader.close();
      }
    
      @Override
      public int read() throws IOException {
        return (read(singleByte) == 1) ? toUnsignedInt(singleByte[0]) : -1;
      }
    
      // TODO(chrisn): Consider trying to encode/flush directly to the argument byte
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            if (bc > 0 && errorData != null) {
                System.arraycopy(errorData, 0, buf, 8, bc);
            }
            return buf;
        }
    
        @Test
        void decodesErrorStructureThroughReadBytesWireFormat() throws Exception {
            // For STATUS_INVALID_PARAMETER the override makes isErrorResponseStatus() return false,
            // so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * @return module name of the dependency at the given path, or empty if the dependency is not modular
         * @throws IOException if the module information of the specified dependency cannot be read
         */
        Optional<String> getModuleName(@Nonnull Path dependency) throws IOException;
    
        /**
         * Returns the Java module descriptor of the dependency at the given path.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

     */
    public class RdmaIntegrationTest {
    
        private String testServer;
        private int testPort;
        private CIFSContext testContext;
    
        @BeforeEach
        public void setUp() throws Exception {
            testServer = System.getProperty("rdma.test.server");
            String portStr = System.getProperty("rdma.test.port", "445");
            testPort = Integer.parseInt(portStr);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java

      private final OkHttpClient client;
    
      public ConfigureTimeouts() throws Exception {
        client = new OkHttpClient.Builder()
            .connectTimeout(5, TimeUnit.SECONDS)
            .writeTimeout(5, TimeUnit.SECONDS)
            .readTimeout(5, TimeUnit.SECONDS)
            .callTimeout(10, TimeUnit.SECONDS)
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Sep 28 18:00:26 GMT 2019
    - 1.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionListener.java

     */
    public interface ProjectExecutionListener {
        void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
        void beforeProjectLifecycleExecution(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
        void afterProjectExecutionSuccess(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
        void afterProjectExecutionFailure(ProjectExecutionEvent event);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformation.java

         *
         * @param artifact           Artifact to be transformed.
         * @param request the repositories to check
         */
        void transformForResolve(Artifact artifact, RepositoryRequest request)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
         * Take in an artifact and return the transformed artifact for locating in the remote repository. If no
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top