- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 779 for chan (0.02 sec)
-
cmd/data-scanner_test.go
globalBucketObjectLockSys = &BucketObjectLockSys{} globalBucketVersioningSys = &BucketVersioningSys{} es := newExpiryState(context.Background(), objAPI, 0) workers := []chan expiryOp{make(chan expiryOp)} es.workers.Store(&workers) globalExpiryState = es var wg sync.WaitGroup wg.Add(1) expired := make([]ObjectToDelete, 0, 5) go func() { defer wg.Done()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 03 11:18:58 UTC 2024 - 6.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java
import static java.util.Collections.singletonList; import java.util.List; /** * GWT emulated version of {@link SingletonImmutableList}. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class SingletonImmutableList<E> extends ForwardingImmutableList<E> { final transient List<E> delegate;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Platform.java
package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.Locale; /** * Methods factored out so that they can be emulated differently in GWT. * * <p>This class is emulated in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) { return array.clone(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 04 01:39:13 UTC 2022 - 1.3K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} type updateRequest struct { Update []byte Fd *int Resp chan updateResponse } type ZtunnelConnection struct { u *net.UnixConn Updates chan updateRequest } func newZtunnelConnection(u *net.UnixConn) *ZtunnelConnection { return &ZtunnelConnection{u: u, Updates: make(chan updateRequest, 100)} } func (z *ZtunnelConnection) Close() { z.u.Close() }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 16:08:35 UTC 2024 - 13.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
public List<Character> create(Character[] elements) { char[] chars = Chars.toArray(asList(elements)); return charactersOf(String.copyValueOf(chars)); } } public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator { @Override public List<Character> create(Character[] elements) { char[] chars = Chars.toArray(asList(elements));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
internal/event/target/nsq.go
initOnce once.Init id event.TargetID args NSQArgs producer *nsq.Producer store store.Store[event.Event] config *nsq.Config loggerOnce logger.LogOnce quitCh chan struct{} } // ID - returns target ID. func (target *NSQTarget) ID() event.TargetID { return target.id } // Name - returns the Name of the target. func (target *NSQTarget) Name() string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java
import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * GWT implementation of {@link ImmutableSet} that forwards to another {@code Set} implementation. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault @SuppressWarnings("serial") // Serialization only done in GWT. public abstract class ForwardingImmutableSet<E> extends ImmutableSet<E> { private final transient Set<E> delegate;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/batch-expire.go
} ctx, cancelCause := context.WithCancelCause(ctx) defer cancelCause(nil) results := make(chan itemOrErr[ObjectInfo], workerSize) go func() { prefixes := r.Prefix.F() if len(prefixes) == 0 { prefixes = []string{""} } for _, prefix := range prefixes { prefixResultCh := make(chan itemOrErr[ObjectInfo], workerSize) err := api.Walk(ctx, r.Bucket, prefix, prefixResultCh, WalkOptions{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 21.9K bytes - Viewed (0) -
cmd/signals.go
"strings" "time" "github.com/coreos/go-systemd/v22/daemon" "github.com/minio/minio/internal/logger" ) func shutdownHealMRFWithTimeout() { const shutdownTimeout = time.Minute finished := make(chan struct{}) go func() { globalMRFState.shutdown() close(finished) }() select { case <-time.After(shutdownTimeout): case <-finished: } } func handleSignals() { // Custom exit function
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 04 17:02:39 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
import java.util.Arrays; /** * Minimal GWT emulation of {@code com.google.common.collect.testing.Platform}. * * <p><strong>This .java file should never be consumed by javac.</strong> * * @author Hayward Chan */ final class Platform { // Class.cast is not supported in GWT. static void checkCast(Class<?> clazz, Object obj) {} static <T> T[] clone(T[] array) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.1K bytes - Viewed (0)