- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,229 for Chan (0.17 sec)
-
internal/grid/benchmark_test.go
// Register a single handler which echos the payload. errFatal(remote.RegisterStreamingHandler(handlerTest, StreamHandler{ // Send 10x response. Handle: func(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) *RemoteErr { for i := 0; i < responses; i++ { toSend := GetByteBuffer()[:0] toSend = append(toSend, byte(i)) toSend = append(toSend, payload...) select {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 12.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSet.java
* limitations under the License. */ package com.google.common.collect; import java.util.Collections; import java.util.Set; /** * GWT emulation of {@link RegularImmutableSet}. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> { static final RegularImmutableSet<Object> EMPTY = new RegularImmutableSet<Object>(Collections.emptySet());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1K bytes - Viewed (0) -
cmd/speedtest.go
} // Get the max throughput and iops numbers. func objectSpeedTest(ctx context.Context, opts speedTestOpts) chan madmin.SpeedTestResult { ch := make(chan madmin.SpeedTestResult, 1) go func() { defer xioutil.SafeClose(ch) concurrency := opts.concurrencyStart if opts.autotune { // if we have less drives than concurrency then choose // only the concurrency to be number of drives to start
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sun Jan 28 18:04:17 GMT 2024 - 9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMap.java
* limitations under the License. */ package com.google.common.collect; import java.util.Map; /** * GWt emulation of {@link RegularImmutableMap}. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class RegularImmutableMap<K, V> extends ForwardingImmutableMap<K, V> { static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<Object, Object>();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.3K bytes - Viewed (0) -
cmd/consolelogger.go
func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool { return sys != nil && sys.pubsub.Subscribers() > 0 } // Subscribe starts console logging for this node. func (sys *HTTPConsoleLoggerSys) Subscribe(subCh chan log.Info, doneCh <-chan struct{}, node string, last int, logKind madmin.LogMask, filter func(entry log.Info) bool) error { // Enable console logging for remote client. if !sys.HasLogListeners() { logger.AddSystemTarget(GlobalContext, sys)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Feb 02 00:13:57 GMT 2024 - 5.4K bytes - Viewed (0) -
cmd/batch-handlers.go
ctx: ctx, objLayer: o, jobCh: make(chan *BatchJobRequest, 10000), workerKillCh: make(chan struct{}, workers), jobCancelers: make(map[string]context.CancelFunc), } jpool.ResizeWorkers(workers) jpool.resume() return jpool } func (j *BatchJobPool) resume() { results := make(chan ObjectInfo, 100) ctx, cancel := context.WithCancel(j.ctx) defer cancel()
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Apr 08 14:11:38 GMT 2024 - 55.2K bytes - Viewed (0) -
internal/s3select/message.go
getProgressFunc func() (int64, int64) bytesReturned int64 payloadBuffer []byte payloadBufferIndex int payloadCh chan *bytes.Buffer finBytesScanned, finBytesProcessed int64 errCh chan []byte doneCh chan struct{} } func (writer *messageWriter) write(data []byte) bool { if _, err := writer.writer.Write(data); err != nil { return false }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Aug 30 15:26:43 GMT 2022 - 15.2K bytes - Viewed (0) -
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()
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 3.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java
import static com.google.common.base.Preconditions.checkNotNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * GWT emulation of {@link SingletonImmutableSet}. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class SingletonImmutableSet<E> extends ImmutableSet<E> { // This reference is used both by the custom field serializer, and by the
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingImmutableCollection.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; /** * Dummy class that makes the GWT serialization policy happy. It isn't used on the server-side. * * @author Hayward Chan */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault class ForwardingImmutableCollection { private ForwardingImmutableCollection() {}
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 972 bytes - Viewed (0)