- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,440 for Fake (0.04 sec)
-
guava-tests/test/com/google/common/collect/QueuesTest.java
Producer producer = new Producer(q, 1); // producing one, will ask for two Future<?> producerThread = threadPool.submit(producer); producer.beganProducing.await(); // make sure we time out Stopwatch timer = Stopwatch.createStarted(); int drained = drain(q, newArrayList(), 2, 10, MILLISECONDS, interruptibly); assertThat(drained).isAtMost(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 12.1K bytes - Viewed (0) -
internal/event/rules_test.go
rulesCase1 := make(Rules) rules2Case1 := make(Rules) expectedResultCase1 := make(Rules) rulesCase2 := make(Rules) rules2Case2 := make(Rules) rules2Case2.Add(NewPattern("*", "*"), TargetID{"1", "webhook"}) expectedResultCase2 := make(Rules) rulesCase3 := make(Rules) rulesCase3.Add(NewPattern("*", "*"), TargetID{"1", "webhook"}) rules2Case3 := make(Rules) expectedResultCase3 := make(Rules)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 8.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
import java.util.Arrays; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Wrapper around either a {@link Method} or a {@link Constructor}. Convenience API is provided to * make common reflective operation easier to deal with, such as {@link #isPublic}, {@link * #getParameters} etc. * * <p>In addition to convenience methods, {@link TypeToken#method} and {@link TypeToken#constructor}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
internal/event/rulesmap_test.go
t.Fatalf("test %v: result: expected: not equal, got: equal", i+1) } } } func TestRulesMapAdd(t *testing.T) { rulesMapCase1 := make(RulesMap) rulesMapToAddCase1 := make(RulesMap) expectedResultCase1 := make(RulesMap) rulesMapCase2 := make(RulesMap) rulesMapToAddCase2 := NewRulesMap([]Name{ObjectCreatedAll}, "*", TargetID{"1", "webhook"})
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jan 05 18:43:06 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/peer-s3-client.go
return nil }, idx) } errs := g.Wait() // The list of buckets in a map to avoid duplication resultMap := make(map[string]BucketInfo) for poolIdx := 0; poolIdx < sys.poolsCount; poolIdx++ { perPoolErrs := make([]error, 0, len(sys.peerClients)) for i, client := range sys.peerClients { if slices.Contains(client.GetPools(), poolIdx) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 15.4K bytes - Viewed (0) -
CONTRIBUTING.md
Getting Started --------------- + Make sure you have a [JIRA account](https://issues.apache.org/jira/). + Make sure you have a [GitHub account](https://github.com/signup/free). + If you're planning to implement a new feature, it makes sense to discuss your changes on the [dev list](https://maven.apache.org/mailing-lists.html) first. This way you can make sure you're not wasting your time on something that isn't
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sun Oct 10 09:48:27 UTC 2021 - 4.7K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
func shuffleDisksAndPartsMetadataByIndex(disks []StorageAPI, metaArr []FileInfo, fi FileInfo) (shuffledDisks []StorageAPI, shuffledPartsMetadata []FileInfo) { shuffledDisks = make([]StorageAPI, len(disks)) shuffledPartsMetadata = make([]FileInfo, len(disks)) distribution := fi.Erasure.Distribution var inconsistent int for i, meta := range metaArr { if disks[i] == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
return@schedule -1L } queue.idleLatch().await(500, TimeUnit.MILLISECONDS) assertThat(log.take()).isEqualTo("failing task running") assertThat(log.take()).isEqualTo("uncaught exception: java.lang.RuntimeException: boom!") assertThat(log.take()).isEqualTo("normal task running") assertThat(log).isEmpty() } @Test fun idleLatchAfterShutdown() { queue.schedule("task") {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
callbacks/helper.go
if v, ok := selectColumns[k]; (ok && v) || (!ok && !restricted) { result[k] = make([]interface{}, len(mapValues)) columns = append(columns, k) } else { continue } } result[k][idx] = v } } sort.Strings(columns) values.Values = make([][]interface{}, len(mapValues)) values.Columns = make([]clause.Column, len(columns)) for idx, column := range columns {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Apr 14 12:32:57 UTC 2022 - 3.7K bytes - Viewed (0) -
cmd/admin-handlers.go
return } updateStatus := madmin.ServerUpdateStatusV2{ DryRun: dryRun, Results: make([]madmin.ServerPeerUpdateStatus, 0, len(globalNotificationSys.allPeerClients)), } peerResults := make(map[string]madmin.ServerPeerUpdateStatus, len(globalNotificationSys.allPeerClients)) failedClients := make(map[int]bool, len(globalNotificationSys.allPeerClients)) if lrTime.Sub(currentReleaseTime) <= 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0)