- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 112 for pselect (0.09 sec)
-
pkg/kube/krt/filter.go
} if f.selects != nil { attrs = append(attrs, fmt.Sprintf("selects=%v", f.selects)) } if f.labels != nil { attrs = append(attrs, fmt.Sprintf("labels=%v", f.labels)) } if f.generic != nil { attrs = append(attrs, "generic") } res := strings.Join(attrs, ",") return fmt.Sprintf("{%s}", res) } // FilterObjectName selects a Kubernetes object by name.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/listen-notification-handlers.go
go func() { buf := bytes.NewBuffer(grid.GetByteBuffer()[:0]) enc := json.NewEncoder(buf) tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}} for { select { case ev := <-localCh: buf.Reset() tmpEvt.Records[0] = ev if err := enc.Encode(tmpEvt); err != nil { bugLogIf(ctx, err, "event: Encode failed") continue }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6K bytes - Viewed (0) -
src/os/exec_test.go
defer signal.Stop(c) p := &os.Process{Pid: os.Getpid()} if err := p.Signal(os.Interrupt); err != nil { t.Fatalf("Signal got err %v, want nil", err) } // Verify we actually received the signal. select { case <-time.After(1 * time.Second): t.Error("timeout waiting for signal") case <-c: // Good } } func TestProcessReleaseTwice(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/signals.go
shutdownLogIf(context.Background(), srv.Shutdown()) } if globalEventNotifier != nil { globalEventNotifier.RemoveAllBucketTargets() } return true } for { select { case err := <-globalHTTPServerErrorCh: shutdownLogIf(context.Background(), err) exit(stopProcess()) case osSignal := <-globalOSSignalCh: logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String()))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_compat_incompatible.txt
cp go.mod go.mod.orig ! go mod tidy stderr '^go: example\.com/m imports\n\texample\.net/lazy imports\n\texample\.com/retract/incompatible loaded from example\.com/retract/incompatible@v1\.0\.0,\n\tbut go 1\.16 would select v2\.0\.0\+incompatible\n\n'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 5.5K bytes - Viewed (0) -
tools/build-base-images.sh
source "${ROOT}/prow/lib.sh" buildx-create HUBS="${HUBS:?specify a space separated list of hubs}" TAG="${TAG:?specify a tag}" defaultTargets="$(< "${ROOT}/tools/docker.yaml" toJson | toJson | jq '[.images[] | select(.base) | .name] | join(",")' -r)" DOCKER_TARGETS="${DOCKER_TARGETS:-${defaultTargets}}" # For multi architecture building:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 17:24:41 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/proxy/kubemark/hollow_proxy.go
) type HollowProxy struct { ProxyServer *proxyapp.ProxyServer } type FakeProxier struct { proxyconfig.NoopNodeHandler } func (*FakeProxier) Sync() {} func (*FakeProxier) SyncLoop() { select {} } func (*FakeProxier) OnServiceAdd(service *v1.Service) {} func (*FakeProxier) OnServiceUpdate(oldService, service *v1.Service) {}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt
# requirements to match. [short] skip env MODFMT='{{with .Module}}{{.Path}} {{.Version}}{{end}}' # For this module, Go 1.16 selects the same versions of all explicit dependencies # as Go 1.17 does. However, Go 1.16 selects a higher version of an *implicit* # dependency, imported by a test of one of the (external) imported packages.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 5.5K bytes - Viewed (0) -
src/unique/handle_test.go
// Note: this will only run if there's no other active cleanup, so // we can be sure that the next time cleanup runs, it'll see the new // notification. cleanupMu.Lock() cleanupNotify = append(cleanupNotify, func() { select { case wait <- struct{}{}: default: } }) runtime.GC() cleanupMu.Unlock() // Wait until cleanup runs. <-wait } func checkMapsFor[T comparable](t *testing.T, value T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:07 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/speedtest.go
result.Servers = len(globalNotificationSys.peerClients) + 1 result.Version = Version result.Concurrent = concurrency select { case ch <- result: case <-ctx.Done(): return } } for { select { case <-ctx.Done(): // If the client got disconnected stop the speedtest. return default: } sopts := speedTestOpts{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 9.2K bytes - Viewed (0)