- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for ps (0.01 sec)
-
internal/pubsub/pubsub.go
totalSubs := atomic.AddInt32(&ps.numSubscribers, 1) if ps.maxSubscribers > 0 && totalSubs > ps.maxSubscribers { atomic.AddInt32(&ps.numSubscribers, -1) return fmt.Errorf("the limit of `%d` subscribers is reached", ps.maxSubscribers) } ps.Lock() defer ps.Unlock() sub := &Sub[T]{ch: subCh, types: Mask(mask.Mask()), filter: filter} ps.subs = append(ps.subs, sub) // We hold a lock, so we are safe to update
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 16:57:30 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/pubsub/pubsub_test.go
ps.Lock() defer ps.Unlock() if len(ps.subs) != 2 || ps.NumSubscribers(MaskAll) != 2 || ps.Subscribers() != 2 { t.Fatalf("expected 2 subscribers") } } func TestNumSubscribersMask(t *testing.T) { ps := New[Maskable, Mask](2) ch1 := make(chan Maskable, 1) ch2 := make(chan Maskable, 1) doneCh := make(chan struct{}) defer close(doneCh) if err := ps.Subscribe(Mask(1), ch1, doneCh, nil); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
* 更新を実行します。 * * @param ps * {@link PreparedStatement}。{@literal null}であってはいけません * @return 更新した結果の行数 * @throws SQLRuntimeException * {@link SQLException}が発生した場合 */ public static int executeUpdate(final PreparedStatement ps) throws SQLRuntimeException { assertArgumentNotNull("ps", ps); try { return ps.executeUpdate();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
istioctl ps --xds-address istio.example.com:15012 --cert-dir ~/.istio-certs # Retrieve proxy status information via XDS from specific control plane in multi-control plane in-cluster configuration # (Select a specific control plane in an in-cluster canary Istio configuration.) istioctl ps --xds-label istio.io/rev=default `, Aliases: []string{"ps"},
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/rebalance-admin.go
totalBytesToRebal := float64(ps.InitCapacity)*meta.PercentFreeGoal - float64(ps.InitFreeSpace) elapsed := time.Since(ps.Info.StartTime) eta := time.Duration(totalBytesToRebal * float64(elapsed) / float64(ps.Bytes)) if !ps.Info.EndTime.IsZero() { stopTime = ps.Info.EndTime } if !stopTime.IsZero() { // rebalance is stopped or completed elapsed = stopTime.Sub(ps.Info.StartTime) eta = 0 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:43 UTC 2023 - 3.8K bytes - Viewed (0) -
internal/arn/arn.go
func Parse(arnStr string) (arn ARN, err error) { ps := strings.Split(arnStr, ":") if len(ps) != 6 || ps[0] != string(arnPrefixArn) { err = errors.New("invalid ARN string format") return } if ps[1] != string(arnPartitionMinio) { err = errors.New("invalid ARN - bad partition field") return } if ps[2] != string(arnServiceIAM) { err = errors.New("invalid ARN - bad service field")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/distributed/iam-import-with-openid.sh
#!/bin/bash if [ -n "$TEST_DEBUG" ]; then set -x fi pkill minio docker rm -f $(docker ps -aq) rm -rf /tmp/openid{1..4} export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:22000" # The service account used below is already present in iam configuration getting imported export MC_HOST_myminio1="http://dillon-service-2:dillon-service-2@localhost:22000" # Start MinIO instance export CI=true if [ ! -f ./mc ]; then
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 2.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
} private static List<String> ps() { return run(determinePsCommand()).assertZeroExit().stdout.lines().collect(Collectors.toList()); } private static String[] determinePsCommand() { if (isWindows()) { return new String[]{"wmic", "process", "get", "processid,commandline"}; } else if (isMacOS()) { return new String[]{"ps", "x", "-o", "pid,command"}; } else {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.6K bytes - Viewed (0) -
manifests/addons/dashboards/lib/lib-grid.libsonnet
|||, args=[ d.arg('panels', d.T.array), d.arg('panelHeight', d.T.number), d.arg('startY', d.T.number), ], ), makeGrid(panels, panelHeight=8, startY=0): local sanitizePanels(ps, row) = std.map( function(p) local sanePanel = panelUtil.sanitizePanel(p); ( if p.type == 'row' then sanePanel + {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
z.rebalMu.Lock() defer z.rebalMu.Unlock() if z.rebalMeta == nil { return } ps := z.rebalMeta.PoolStats[poolIdx] if ps == nil { return } for i, b := range ps.Buckets { if b == bucket { ps.Buckets = append(ps.Buckets[:i], ps.Buckets[i+1:]...) ps.RebalancedBuckets = append(ps.RebalancedBuckets, bucket) break } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 13:20:19 UTC 2024 - 28.4K bytes - Viewed (0)