- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 06 16:57:30 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
*/ public static int[] executeBatch(final PreparedStatement ps) throws SQLRuntimeException { assertArgumentNotNull("ps", ps); try { return ps.executeBatch(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * Adds a batch. * * @param psRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.9K bytes - Viewed (0) -
cmd/encryption-v1_test.go
} return o, l, skip, sn, ps } for i, test := range testMPs { { // nil range o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(nil) if err != nil { t.Errorf("Case %d: unexpected err: %v", i, err) } if o != 0 || l != esum(test.oi) || skip != 0 || sn != 0 || ps != 0 { t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps) } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 19.9K 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/s3select/sql/utils.go
jpath := operand.Left.Left.Primary.JPathExpr n := len(jpath.PathExpr) if n > 0 && jpath.PathExpr[n-1].Key == nil { return "", false } ps := jpath.String() if idx := strings.LastIndex(ps, "."); idx >= 0 { // Get last part of path string. ps = ps[idx+1:] } return ps, true } // HasKeypath returns if the from clause has a key path - // e.g. S3object[*].id func (from *TableExpression) HasKeypath() bool {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Nov 10 16:12:50 UTC 2021 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
void testHexdump() { // Capture output ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos); // Test with 16 bytes (one complete line) byte[] data1 = createTestData(16); Hexdump.hexdump(ps, data1, 0, 16); String output1 = baos.toString(); assertNotNull(output1); assertTrue(output1.contains("00000:"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java
ByteArrayOutputStream os = new ByteArrayOutputStream(1024); PrintStream ps = new PrintStream(os); ps.println( "A required class was missing while executing " + mojoDescriptor.getId() + ": " + e.getMessage()); pluginRealm.display(ps); Exception wrapper = new PluginContainerException(mojoDescriptor, pluginRealm, os.toString(), e);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 16:01:38 UTC 2025 - 11.5K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/eml/sample1.eml
-------------------------------------------------------------------------------- 最新作『ヱヴァンゲリヲン新劇場版:Q』の劇場公開を記念して、 "PS Home"では『ヱヴァ』主要キャラクターの「なりきりコスチューム」をリリース! ウィッグセットとプラグスーツセットを着けて 碇シンジ、綾波レイ、式波・アスカ・ラングレー、真希波・マリ・イラストリアスに なりきるのも、制服セットを着けてクラスメイト気分になるのも楽しいですよ! ▼"PS Home"オフィシャルサイト内「ヱヴァンゲリヲン新劇場版:Q スペシャルコラボ」 http://www.jp.playstation.com/R/m21111_NEWS002 ▼"PS Home"オフィシャルサイト http://www.jp.playstation.com/R/m21111_NEWS003
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Jan 16 07:50:35 UTC 2016 - 9.3K 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 arn, err } if ps[1] != string(arnPartitionMinio) { err = errors.New("invalid ARN - bad partition field") return arn, err } if ps[2] != string(arnServiceIAM) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.5K bytes - Viewed (0)