- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 441 for goroutines (0.31 sec)
-
src/internal/runtime/atomic/atomic_andor_test.go
} } // Set every bit in array to 1. a := make([]uint32, 1<<12) for i := range a { a[i] = 0xffffffff } // Clear array bit-by-bit in different goroutines. done := make(chan bool) for i := 0; i < 32; i++ { m := ^uint32(1 << i) go func() { for i := range a { atomic.And(&a[i], m) } done <- true }() } for i := 0; i < 32; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 27 20:49:32 UTC 2024 - 5.2K bytes - Viewed (0) -
src/runtime/netpoll_stub.go
} unlock(&netpollBrokenLock) } // Polls for ready network connections. // Returns list of goroutines that become runnable. func netpoll(delay int64) (gList, int32) { // Implementation for platforms that do not support // integrated network poller. if delay != 0 { // This lock ensures that only one goroutine tries to use // the note. It should normally be completely uncontended. lock(&netpollStubLock)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/go/internal/cfg/lookpath.go
package cfg import ( "cmd/go/internal/par" "os/exec" ) var lookPathCache par.ErrCache[string, string] // LookPath wraps exec.LookPath and caches the result // which can be called by multiple Goroutines at the same time. func LookPath(file string) (path string, err error) { return lookPathCache.Do(file, func() (string, error) { return exec.LookPath(file) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 11 20:12:18 UTC 2023 - 534 bytes - Viewed (0) -
manifests/addons/dashboards/lib/queries.libsonnet
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 7.7K bytes - Viewed (0) -
src/runtime/testdata/testprognet/signal.go
//go:build !windows && !plan9 // +build !windows,!plan9 // This is in testprognet instead of testprog because testprog // must not import anything (like net, but also like os/signal) // that kicks off background goroutines during init. package main import ( "os/signal" "syscall" ) func init() { register("SignalIgnoreSIGTRAP", SignalIgnoreSIGTRAP) } func SignalIgnoreSIGTRAP() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 646 bytes - Viewed (0) -
src/archive/zip/register.go
// The WriteCloser's Close method must be used to flush pending data to w. // The Compressor itself must be safe to invoke from multiple goroutines // simultaneously, but each returned writer will be used only by // one goroutine at a time. type Compressor func(w io.Writer) (io.WriteCloser, error) // A Decompressor returns a new decompressing reader, reading from r.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0) -
test/fixedbugs/issue44370.dir/a.go
// Copyright 2021 The Go Authors. All rights reserved. Use of this // source code is governed by a BSD-style license that can be found in // the LICENSE file. package a // A StoppableWaitGroup waits for a collection of goroutines to finish. type StoppableWaitGroup struct { // i is the internal counter which can store tolerate negative values // as opposed the golang's library WaitGroup. i *int64 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 26 02:11:50 UTC 2021 - 682 bytes - Viewed (0) -
pkg/wasm/leak_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 14 19:26:09 UTC 2021 - 789 bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/leak_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 796 bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/leak_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 14 19:26:09 UTC 2021 - 792 bytes - Viewed (0)