Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 2,127 for finally (0.05 seconds)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          serverSocket.bind(socketAddress, 50)
    
          // If the local port was 0, it'll be non-zero after bind().
          boundSocketAddress = InetSocketAddress(boundSocketAddress.address, serverSocket.localPort)
        } finally {
          this.socketAddress_ = boundSocketAddress
        }
    
        taskRunner.newQueue().execute(toString(), cancelable = false) {
          try {
            logger.fine("$this starting to accept connections")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

      }
    
      fun run() {
        try {
          val count = getTestCount()
          println("Test count: $count")
          for (number in 1..count) {
            runTest(number, count)
          }
          updateReports()
        } finally {
          client.dispatcher.executorService.shutdown()
        }
      }
    
      private fun runTest(
        number: Long,
        count: Long,
      ) {
        val latch = CountDownLatch(1)
        val startNanos = AtomicLong()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

              if (reason != null) {
                write(reason)
              }
              readByteString()
            }
        }
    
        try {
          writeControlFrame(OPCODE_CONTROL_CLOSE, payload)
        } finally {
          writerClosed = true
        }
      }
    
      @Throws(IOException::class)
      private fun writeControlFrame(
        opcode: Int,
        payload: ByteString,
      ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

    @SuppressWarnings("VisibilityModifier")
    public class LookupContext implements AutoCloseable {
        public final InvokerRequest invokerRequest;
        public final CWD cwd;
        public final Path installationDirectory;
        public final Path userDirectory;
        public final boolean containerCapsuleManaged;
        private final Options options;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

            } catch (ProjectBuildingException e) {
                throw new ProjectBuilderException("Unable to build project", e);
            } finally {
                RequestTraceHelper.exit(trace);
            }
        }
    
        private static class SourceWrapper implements ModelSource2 {
            private final Source source;
    
            SourceWrapper(Source source) {
                this.source = source;
            }
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 13 09:44:11 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

    public class ConcurrentLifecycleStarter implements LifecycleStarter {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        private final ExecutionEventCatapult eventCatapult;
        private final DefaultLifecycles defaultLifeCycles;
        private final BuildPlanExecutor executor;
        private final LifecyclePluginResolver lifecyclePluginResolver;
        private final MojoDescriptorCreator mojoDescriptorCreator;
    
        @Inject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                    checkGoal.execute(context);
    
                    // Verify that the Check-specific header is logged
                    verify(context.logger).info("Maven Upgrade Tool - Check");
                } finally {
                    // Clean up - delete all files in the directory first
                    try {
                        Files.walk(tempDir)
                                .sorted(java.util.Comparator.reverseOrder())
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

    import org.apache.maven.project.artifact.ProjectArtifact;
    import org.eclipse.aether.util.artifact.ArtifactIdUtils;
    
    public class DefaultProject implements Project {
    
        private final InternalMavenSession session;
        private final MavenProject project;
        private final Packaging packaging;
    
        public DefaultProject(InternalMavenSession session, MavenProject project) {
            this.session = session;
            this.project = project;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

          test.getMethod("setUp").invoke(testInstance);
          test.getMethod(getName()).invoke(testInstance);
          test.getMethod("tearDown").invoke(testInstance);
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
          throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

                return result;
            } catch (Exception e) {
                context.failure("Strategy execution failed: " + e.getMessage());
                return UpgradeResult.failure(pomMap.keySet(), Set.of());
            } finally {
                context.unindent();
            }
        }
    
        /**
         * Subclasses implement the actual upgrade logic here.
         *
         * @param context the upgrade context
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top