- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 651 for Once (0.02 seconds)
-
cmd/http-stats.go
if w == nil { // when response recorder nil, this is an active request hstats.currentS3Requests.Inc(api) bh.httpStats[bucket] = hstats return } // else { hstats.currentS3Requests.Dec(api) // decrement this once we have the response recorder. hstats.totalS3Requests.Inc(api) code := w.StatusCode switch { case code == 0: case code == 499: // 499 is a good error, shall be counted as canceled.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 11.4K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeVisitor.java
* } * protected void visitWildcardType(WildcardType t) { * throw new IllegalArgumentException("Cannot contain wildcard type."); * } * }.visit(type); * } * * <p>One {@code Type} is visited at most once. The second time the same type is visited, it's * ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds. * * <p>This class is not thread safe. * * @author Ben Yu */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Queues.java
// multiple elements already available (e.g. LinkedBlockingQueue#drainTo locks only once) added += q.drainTo(buffer, numElements - added); if (added < numElements) { // not enough elements immediately available; will have to poll E e; // written exactly once, by a successful (uninterrupted) invocation of #poll while (true) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 18.2K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
import java.util.logging.Logger; import org.apache.commons.io.output.DeferredFileOutputStream; /** * ContentOutputStream is a custom output stream that extends DeferredFileOutputStream. * It writes data to a temporary file once the data size exceeds a specified threshold. * * <p>This class ensures that the temporary file is deleted if it is not needed. * It uses a logger to log warnings if there are issues deleting the temporary file.</p> *
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/RequestTest.java
assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value."); verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once } @Test void testSetRequestCredits() { // Test case for setRequestCredits method int credits = 5; mockRequest.setRequestCredits(credits);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionDownloadPlugin.java
); } return null; })); } /** * Will be removed once this is backported to all unreleased branches. */ private static String getProjectConfig(ElasticsearchDistribution distribution, BwcVersions.UnreleasedVersionInfo info) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Aug 20 19:11:05 GMT 2021 - 8.8K bytes - Click Count (0) -
src/main/java/jcifs/context/SingletonContext.java
private static SingletonContext INSTANCE; /** * Initialize singleton context using custom properties * * This method can only be called once. * * @param props the properties to use for initialization * @throws CIFSException if the singleton context is already initialized or there is an error during initialization */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
* events to it. * * <p>Two subscribers are equivalent when they refer to the same method on the same object (not * class). This property is used to ensure that no subscriber method is registered more than once. * * @author Colin Decker */ class Subscriber { /** Creates a {@code Subscriber} for {@code method} on {@code listener}. */ static Subscriber create(EventBus bus, Object listener, Method method) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
"network interceptor ${interceptors[index - 1]} must retain the same host and port" } check(calls == 1) { "network interceptor ${interceptors[index - 1]} must call proceed() exactly once" } } // Call the next interceptor in the chain. val next = copy(index = index + 1, request = request) val interceptor = interceptors[index] @Suppress("USELESS_ELVIS")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 12.8K bytes - Click Count (0) -
cmd/callhome.go
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) callhomeTimer := time.NewTimer(globalCallhomeConfig.FrequencyDur()) defer callhomeTimer.Stop() for { if !globalCallhomeConfig.Enabled() {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)