- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 158 for recycle (0.05 seconds)
-
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.collect.Iterables.cycle; import static com.google.common.collect.Iterables.limit; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.caliper.api.Footprint;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
import okhttp3.internal.toImmutableList /** * Selects routes to connect to an origin server. Each connection requires a choice of proxy server, * IP address, and TLS mode. Connections may also be recycled. */ class RouteSelector internal constructor( private val address: Address, private val routeDatabase: RouteDatabase, private val call: RealCall, private val fastFallback: Boolean, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 7.3K bytes - Click Count (2) -
guava/src/com/google/common/collect/Iterables.java
* elements. * * <p>To cycle over the iterable {@code n} times, use the following: {@code * Iterables.concat(Collections.nCopies(n, iterable))} * * <p><b>Java 8+ users:</b> The {@code Stream} equivalent of this method is {@code * Stream.generate(() -> iterable).flatMap(Streams::stream)}. */ public static <T extends @Nullable Object> Iterable<T> cycle(Iterable<T> iterable) { checkNotNull(iterable);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0) -
cmd/callhome.go
locker := objAPI.NewNSLock(minioMetaBucket, "callhome/runCallhome.lock") lkctx, err := locker.GetLock(ctx, callhomeLeaderLockTimeout) if err != nil { // lock timedout means some other node is the leader, // cycle back return 'true' return true } ctx = lkctx.Context() defer locker.Unlock(lkctx) // Perform callhome once and then keep running it at regular intervals. performCallhome(ctx)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testConcat_infiniteIterable() throws IOException { CharSource source = CharSource.wrap("abcd"); Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source)); CharSource concatenated = CharSource.concat(cycle); String expected = "abcdabcd"; // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java
test.systemProperty("io.netty.noUnsafe", "true"); test.systemProperty("io.netty.noKeySetOptimization", "true"); test.systemProperty("io.netty.recycler.maxCapacityPerThread", "0"); test.testLogging(logging -> { logging.setShowExceptions(true); logging.setShowCauses(true); logging.setExceptionFormat("full");
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 24 22:14:49 GMT 2021 - 10.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
* elements. * * <p>To cycle over the iterable {@code n} times, use the following: {@code * Iterables.concat(Collections.nCopies(n, iterable))} * * <p><b>Java 8+ users:</b> The {@code Stream} equivalent of this method is {@code * Stream.generate(() -> iterable).flatMap(Streams::stream)}. */ public static <T extends @Nullable Object> Iterable<T> cycle(Iterable<T> iterable) { checkNotNull(iterable);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
doFirst { // workaround for https://github.com/gradle/gradle/issues/12247 systemProperty("package.cycle.exclude.patterns", excludePatterns.get().joinToString(",")) } extensions.findByType<DevelocityTestConfiguration>()?.apply {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 10 08:11:56 GMT 2026 - 3.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleStarter.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.lifecycle.internal; import org.apache.maven.execution.MavenSession; /** * Starts the build life cycle * */ public interface LifecycleStarter { void execute(MavenSession session);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1K bytes - Click Count (0) -
api/README
compatibility. Starting with go1.19.txt, each API feature line must end in "#nnnnn" giving the GitHub issue number of the proposal issue that accepted the new API. This helps with our end-of-cycle audit of new APIs. The same requirement applies to next/* (described below), which will become a go1.XX.txt for XX >= 19. The next/ directory contains the only files intended to be mutated.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 31 19:22:50 GMT 2024 - 1.2K bytes - Click Count (0)