- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Give (0.02 sec)
-
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
@Override public void run() { thirdSignal.countDown(); result.set(1, cache.getUnchecked(key)); doneSignal.countDown(); } }.start(); // give the second get a chance to run; it is okay for this to be racy // as the end result should be the same either way thirdSignal.await(); Thread.yield(); // Expand!Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
cmd/batch-handlers.go
skipReplicate = obj.IsDeleteMarker && s3Type } if skipReplicate { continue } wk.Take() go func() { defer wk.Give() stopFn := globalBatchJobsMetrics.trace(batchJobMetricReplication, job.ID, attempts) success := true if err := r.ReplicateFromSource(ctx, api, core, oi, retry); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.5K bytes - Viewed (0) -
cmd/xl-storage_test.go
} } } func TestXLStorageIsDirEmpty(t *testing.T) { tmp := t.TempDir() // Should give false on non-existent directory. dir1 := slashpath.Join(tmp, "non-existent-directory") if isDirEmpty(dir1, true) { t.Error("expected false for non-existent directory, got true") } // Should give false for not-a-directory. dir2 := slashpath.Join(tmp, "file") err := os.WriteFile(dir2, []byte("hello"), 0o777)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0) -
.bazelrc
# Test-related settings below this point. test:release_linux_base --build_tests_only --keep_going --test_output=errors --verbose_failures=true test:release_linux_base --local_test_jobs=HOST_CPUS # Give only the list of failed tests at the end of the log test:release_linux_base --test_summary=short # Use the Clang toolchain to compile build:release_cpu_linux --config=release_linux_base # Target the AVX instruction set
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Aug 22 21:03:34 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
file.createNewFile(); assertTrue(file.exists(), "File should exist after creation"); // Ensure proper cleanup before delete file.close(); Thread.sleep(500); // Give more time for handle release System.gc(); // Force garbage collection Thread.sleep(200); // Delete using a completely new context to avoid handle issues
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
cmd/peer-rest-server.go
n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte) atomic.AddUint64(&globalNetPerfRX.RX, uint64(n)) if err != nil && err != io.EOF { // If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec) // would mean the network is not stable. Logging here will help in debugging network issues. if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) { peersLogIf(ctx, err)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 53.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
// Ping every 500 ms, starting at 500 ms. client = client .newBuilder() .pingInterval(Duration.ofMillis(500)) .build() // Delay the response to give 1 ping enough time to be sent and replied to. server.enqueue( MockResponse .Builder() .bodyDelay(750, TimeUnit.MILLISECONDS) .body("ABC") .build(), )Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_RST_STREAM) } @Test fun writeTimesOutAwaitingConnectionWindow() { // Set the peer's receive window to 5 bytes. Give the stream 5 bytes back, so only the // connection-level window is applicable. val peerSettings = Settings().set(Settings.INITIAL_WINDOW_SIZE, 5) // Write the mocking script.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
cmd/erasure-server-pool.go
wk, _ := workers.New(3) for idx, set := range erasureSet.sets { if opts.Set != nil && *opts.Set != idx { continue } wk.Take() go func(idx int, set *erasureObjects) { defer wk.Give() errs[idx] = set.listAndHeal(ctx, bucket, prefix, opts.Recursive, opts.ScanMode, healEntry) }(idx, set) } wk.Wait() poolErrs[idx] = errs } for _, errs := range poolErrs {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
public void clear() { multimap.clear(); } } /** * Returns a multimap containing the mappings in {@code unfiltered} whose keys satisfy a * predicate. The returned multimap is a live view of {@code unfiltered}; changes to one affect * the other. * * <p>The resulting multimap's views have iterators that don't support {@code remove()}, but all
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0)