Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2561 - 2570 of 5,478 for newE (0.29 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        val pooled1 = planReusePooledConnection()
        if (pooled1 != null) return pooled1
    
        // Attempt a deferred plan before new routes.
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst()
    
        // Do blocking calls to plan a route for a new connection.
        val connect = planConnect()
    
        // Now that we have a set of IP addresses, make another attempt at getting a connection from
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. README.md

    Get a URL
    ---------
    
    This program downloads a URL and prints its contents as a string. [Full source][get_example].
    
    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
          .build();
    
      try (Response response = client.newCall(request).execute()) {
        return response.body().string();
      }
    }
    ```
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

          CompactLinkedHashMap<K, V> create() {
        return new CompactLinkedHashMap<>();
      }
    
      /**
       * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/MoreObjects.java

        return new ToStringHelper(className);
      }
    
      /**
       * Support class for {@link MoreObjects#toStringHelper}.
       *
       * @author Jason Lee
       * @since 18.0 (since 2.0 as {@code Objects.ToStringHelper}).
       */
      public static final class ToStringHelper {
        private final String className;
        private final ValueHolder holderHead = new ValueHolder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

            assertArgumentNotEmpty("name", name);
    
            try {
                final Enumeration<URL> e = loader.getResources(name);
                return new EnumerationIterator<>(e);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Loads the class with the specified binary name.
         *
         * @param loader
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

        private SmartProjectComparator comparator;
        private ProjectDependencyGraph dependencyGraph;
    
        @BeforeEach
        void setUp() {
            dependencyGraph = new ProjectDependencyGraphStub();
            comparator = new SmartProjectComparator(dependencyGraph);
        }
    
        @Test
        void testProjectWeightCalculation() {
            // Test that projects with longer downstream chains get higher weights
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 12:03:40 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. internal/logger/logrotate.go

    		}
    	}
    
    	path := filepath.Join(w.opts.Directory, w.opts.FileNameFunc())
    	f, err := newFile(path)
    	if err != nil {
    		return fmt.Errorf("unable to create new file at %v: %w", path, err)
    	}
    
    	w.f = f
    
    	return nil
    }
    
    // NewDir creates a new concurrency safe Writer which performs log rotation.
    func NewDir(opts Options) (io.WriteCloser, error) {
    	if err := os.MkdirAll(opts.Directory, os.ModePerm); err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            assertEquals(
                    "src/main/mdo/remote-resources.mdo",
                    new MojoExecutionXPathContainer(executions.get(1)).getValue("configuration/models[1]/model"));
            assertEquals(
                    "src/main/mdo/supplemental-model.mdo",
                    new MojoExecutionXPathContainer(executions.get(4)).getValue("configuration/models[1]/model"));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

            List<UpgradeStrategy> strategies = List.of(
                    new ModelUpgradeStrategy(),
                    new CompatibilityFixStrategy(),
                    new PluginUpgradeStrategy(),
                    new InferenceStrategy());
    
            StrategyOrchestrator orchestrator = new StrategyOrchestrator(strategies);
            applyGoal = new Apply(orchestrator);
            checkGoal = new Check(orchestrator);
        }
    
        @Nested
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/NetworkBuilder.java

      Optional<Integer> expectedEdgeCount = Optional.absent();
    
      /** Creates a new instance with the specified edge directionality. */
      private NetworkBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link NetworkBuilder} for building directed networks. */
      public static NetworkBuilder<Object, Object> directed() {
        return new NetworkBuilder<>(true);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top