- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,460 for syncs (0.14 sec)
-
CHANGELOG/CHANGELOG-1.26.md
- Enabled `kube-controller-manager` to support '--concurrent-horizontal-pod-autoscaler-syncs' flag to set the number of horizontal pod autoscaler controller workers. ([#108501](https://github.com/kubernetes/kubernetes/pull/108501), [@zroubalik](https://github.com/zroubalik))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 16:24:51 UTC 2024 - 425.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go
r := c.region if asyncs[r] == nil { regions = append(regions, r) } asyncs[r] = append(asyncs[r], c) } } // Collect all of the go callee() and t.Run(name, callee) extents. inspect.Nodes([]ast.Node{ (*ast.FuncDecl)(nil), (*ast.GoStmt)(nil), (*ast.CallExpr)(nil), }, func(node ast.Node, push bool) bool { if !push { return false } switch node := node.(type) { case *ast.FuncDecl:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight_test.go
const AllowedMutatingInflightRequestsNo = 3 calls := &sync.WaitGroup{} calls.Add(AllowedMutatingInflightRequestsNo) responses := &sync.WaitGroup{} responses.Add(AllowedMutatingInflightRequestsNo) // Block is used to keep requests in flight for as long as we need to. All requests will // be unblocked at the same time. block := &sync.WaitGroup{} block.Add(1) waitForCalls := true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 10.2K bytes - Viewed (0) -
src/archive/zip/register.go
type Decompressor func(r io.Reader) io.ReadCloser var flateWriterPool sync.Pool func newFlateWriter(w io.Writer) io.WriteCloser { fw, ok := flateWriterPool.Get().(*flate.Writer) if ok { fw.Reset(w) } else { fw, _ = flate.NewWriter(w, 5) } return &pooledFlateWriter{fw: fw} } type pooledFlateWriter struct { mu sync.Mutex // guards Close and Write fw *flate.Writer }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/mutex.go
package lockedfile import ( "fmt" "os" "sync" ) // A Mutex provides mutual exclusion within and across processes by locking a // well-known file. Such a file generally guards some other part of the // filesystem: for example, a Mutex file in a directory might guard access to // the entire tree rooted in that directory. // // Mutex does not implement sync.Locker: unlike a sync.Mutex, a lockedfile.Mutex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 17:17:40 UTC 2019 - 2.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/ClientShutdownCrossVersionSpec.groovy
task slow { doLast { ${server.callFromBuild('sync')} } } """ def sync = server.expectAndBlock('sync') withConnection { connection -> connection.model(GradleBuild).setJvmArguments(buildJvmArguments).get() } toolingApi.daemons.daemon.assertIdle() def build = daemonExecutor().withTasks("slow").start() sync.waitForAllPendingCalls()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stacks.go
c2 := make(chan int) go func() { // func6 select { case <-c1: case <-c2: } }() var mu sync.Mutex mu.Lock() go func() { // func7 mu.Lock() mu.Unlock() }() var wg sync.WaitGroup wg.Add(1) go func() { // func8 wg.Wait() }() cv := sync.NewCond(&sync.Mutex{}) go func() { // func9 cv.L.Lock() cv.Wait() cv.L.Unlock() }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.4K bytes - Viewed (0) -
operator/pkg/cache/cache_test.go
}, nil, nil), }, Mu: &sync.RWMutex{}, }, }, objCacheRemovalKey: "cache-foo-key", removalKey: "obj-foo-key", expectedCache: ObjectCache{ Cache: map[string]*object.K8sObject{ "dont-touch-me-key": object.NewK8sObject(&unstructured.Unstructured{ Object: make(map[string]any), }, nil, nil), }, Mu: &sync.RWMutex{}, }, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 20 18:46:12 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
} // The sync() function should either write a correct status which takes the // evictions into account, or re-queue the PDB for another sync (by returning // an error) if err := dc.sync(ctx, pdbKey); err != nil { t.Logf("sync() returned with error: %v", err) } else { t.Logf("sync() returned with no error") } // (C) Whether or not sync() returned an error, the PDB status should reflect
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
src/go/parser/testdata/metrics.go2
package metrics import "sync" type Metric1[T comparable] struct { mu sync.Mutex m map[T]int } func (m *Metric1[T]) Add(v T) { m.mu.Lock() defer m.mu.Unlock() if m.m == nil { m.m = make(map[T]int) } m[v]++ } type key2[T1, T2 comparable] struct { f1 T1 f2 T2 } type Metric2[T1, T2 cmp2] struct { mu sync.Mutex m map[key2[T1, T2]]int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 24 19:44:06 UTC 2020 - 908 bytes - Viewed (0)