- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,204 for chan (0.01 seconds)
-
src/builtin/builtin.go
// - Pointer to array: the number of elements in *v (same as len(v)). // - Slice: the maximum length the slice can reach when resliced; // if v is nil, cap(v) is zero. // - Channel: the channel buffer capacity, in units of elements; // if v is nil, cap(v) is zero. // // For some arguments, such as a simple array expression, the result can be a // constant. See the Go language specification's "Length and capacity" section for // details.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 30 23:59:23 GMT 2024 - 12.8K bytes - Click Count (0) -
cmd/admin-heal-ops.go
return nil } // Don't wait for result return nil } // respCh must be set to wait for result. // We make it size 1, so a result can always be written // even if we aren't listening. task.respCh = make(chan healResult, 1) select { case globalBackgroundHealRoutine.tasks <- task: if serverDebugLog { fmt.Printf("Task in the queue: %#v\n", task) } case <-h.ctx.Done():
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
cmd/main.go
// Main main for minio server. func Main(args []string) { // Set the minio app name. appName := filepath.Base(args[0]) if debugNoExit { freeze := func(_ int) { // Infinite blocking op <-make(chan struct{}) } // Override the logger os.Exit() logger.ExitFunc = freeze defer func() { if err := recover(); err != nil { fmt.Println("panic:", err) fmt.Println("")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jul 30 22:59:48 GMT 2024 - 6.5K bytes - Click Count (0) -
internal/config/lambda/target/webhook.go
lazyInit lazyInit id event.TargetID args WebhookArgs transport *http.Transport httpClient *http.Client loggerOnce logger.LogOnce cancel context.CancelFunc cancelCh <-chan struct{} } // ID - returns target ID. func (target *WebhookTarget) ID() event.TargetID { return target.id } // IsActive - Return true if target is up and active
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jul 08 21:39:49 GMT 2024 - 6.7K bytes - Click Count (0) -
cmd/object-api-interface.go
type ObjectLayer interface { // Locking operations on object. NewNSLock(bucket string, objects ...string) RWLocker // Storage operations. Shutdown(context.Context) error NSScanner(ctx context.Context, updates chan<- DataUsageInfo, wantCycle uint32, scanMode madmin.HealScanMode) error BackendInfo() madmin.BackendInfo Legacy() bool // Only returns true for deployments which use CRCMOD as its object distribution algorithm.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.5K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
testCancel := func(fn func()) { t.Helper() defer timeout(5 * time.Second)() rb.Reset() done := make(chan struct{}) go func() { defer close(done) time.Sleep(10 * time.Millisecond) fn() }() rb.CloseWithError(errors.New("test error")) <-done rb.Reset() done = make(chan struct{}) go func() { defer close(done) fn() }() time.Sleep(10 * time.Millisecond)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
cmd/metrics-v3-types.go
} // Describe - implements prometheus.Collector interface. func (mg *MetricsGroup) Describe(ch chan<- *prometheus.Desc) { for _, desc := range mg.Descriptors { ch <- desc.toPromDesc(mg.CollectorPath.metricPrefix(), mg.ExtraLabels) } } // Collect - implements prometheus.Collector interface. func (mg *MetricsGroup) Collect(ch chan<- prometheus.Metric) { metricValues := newMetricValues(mg.descriptorMap) var err error
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link ForwardingMultiset}. * * @author Hayward Chan * @author Louis Wasserman */ @NullUnmarked public class ForwardingMultisetTest extends TestCase { static final class StandardImplForwardingMultiset<T> extends ForwardingMultiset<T> {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 11.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
import java.util.function.Function; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /** * GWT emulation of {@link com.google.common.collect.ImmutableBiMap}. * * @author Hayward Chan */ public abstract class ImmutableBiMap<K, V> extends ForwardingImmutableMap<K, V> implements BiMap<K, V> { public static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 7.1K bytes - Click Count (0) -
docs/debugging/s3-verify/main.go
if err != nil { log.Fatalln(err) } maxObjectModTime := time.Now().Add(-ageDelta) // Next object is used to ignore new objects in the source & target nextObject := func(ch <-chan minio.ObjectInfo) (ctnt minio.ObjectInfo, ok bool) { for { ctnt, ok := <-ch if !ok { return minio.ObjectInfo{}, false } if ctnt.LastModified.Before(maxObjectModTime) { return ctnt, okCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Click Count (0)