- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,199 for syncAt (0.3 sec)
-
pkg/controller/deployment/progress.go
} } return conditions } // used for unit testing var nowFn = func() time.Time { return time.Now() } // requeueStuckDeployment checks whether the provided deployment needs to be synced for a progress // check. It returns the time after the deployment will be requeued for the progress check, 0 if it // will be requeued now, or -1 if it does not need to be requeued.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 11:00:44 UTC 2023 - 8.9K bytes - Viewed (0) -
pkg/kube/controllers/example_test.go
// This is typically only needed for leader election controllers, as otherwise the controller lifecycle // is typically the same as the informer. c.pods.ShutdownHandlers() } // HasSynced asserts we have "synced", meaning we have processed the initial state. func (c *Controller) HasSynced() bool { // We could check `c.pods` as well, but it is redundant due to the Run() implementation. // Instead, just check `c.queue`.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7K bytes - Viewed (0) -
test/assign.go
// Does not compile. package main import "sync" type T struct { int sync.Mutex } func main() { { var x, y sync.Mutex x = y // ok _ = x } { var x, y T x = y // ok _ = x } { var x, y [2]sync.Mutex x = y // ok _ = x } { var x, y [2]T x = y // ok _ = x } { x := sync.Mutex{0, 0} // ERROR "assignment.*Mutex" _ = x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 20:13:36 UTC 2020 - 1K bytes - Viewed (0) -
src/runtime/race/testdata/rwmutex_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package race_test import ( "sync" "testing" "time" ) func TestRaceMutexRWMutex(t *testing.T) { var mu1 sync.Mutex var mu2 sync.RWMutex var x int16 = 0 _ = x ch := make(chan bool, 2) go func() { mu1.Lock() defer mu1.Unlock() x = 1 ch <- true }() go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 03 22:09:38 UTC 2017 - 2.1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/testx.c
void lockOSThreadC(void) { lockOSThreadCallback(); } void issue7978c(uint32_t *sync) { while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 0) ; __atomic_add_fetch(sync, 1, __ATOMIC_SEQ_CST); while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 2) ; issue7978cb(); __atomic_add_fetch(sync, 1, __ATOMIC_SEQ_CST); while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 6) ; } void f7665(void) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 582 bytes - Viewed (0) -
pilot/pkg/bootstrap/server.go
} func (s *Server) waitForCacheSync(stop <-chan struct{}) bool { start := time.Now() log.Info("Waiting for caches to be synced") if !kubelib.WaitForCacheSync("server", stop, s.cachesSynced) { log.Errorf("Failed waiting for cache sync") return false } log.Infof("All controller caches have been synced up in %v", time.Since(start)) // At this point, we know that all update events of the initial state-of-the-world have been
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0) -
api/openapi-spec/v3/apis__discovery.k8s.io__v1_openapi.json
NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 146.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_mipsx.s
// will clobber the test pattern created by the caller ADDU $(1024*8), R29 // Ask signaller to setgid MOVW $1, R1 SYNC MOVW R1, ·Baton(SB) SYNC // Wait for setgid completion loop: SYNC MOVW ·Baton(SB), R1 OR R2, R2, R2 // hint that we're in a spin loop BNE R1, loop SYNC // Restore stack ADDU $(-1024*8), R29
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 663 bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy
} """.stripIndent() def sync = server.expectAndBlock("waiting") def resultHandler = new TestResultHandler() when: def connector = toolingApi.connector() ProjectConnection connection = connector.connect() def query = connection.model(EclipseProject) query.get(resultHandler) sync.waitForAllPendingCalls(resultHandler)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/metrics/metrics.go
var ( // EndpointsAddedPerSync tracks the number of endpoints added on each // Endpoints sync. EndpointsAddedPerSync = metrics.NewHistogramVec( &metrics.HistogramOpts{ Subsystem: EndpointSliceMirroringSubsystem, Name: "endpoints_added_per_sync", Help: "Number of endpoints added on each Endpoints sync", StabilityLevel: metrics.ALPHA, Buckets: metrics.ExponentialBuckets(2, 2, 15), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 06 19:43:35 UTC 2020 - 5.2K bytes - Viewed (0)