- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 782 for count1 (0.04 seconds)
-
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
AtomicInteger counter1 = new AtomicInteger(0); AtomicInteger counter2 = new AtomicInteger(0); executor1.addShutdownListener(() -> counter1.incrementAndGet()); executor2.addShutdownListener(() -> counter2.incrementAndGet()); executor1.shutdown(); assertEquals(1, counter1.get()); assertEquals(0, counter2.get());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
this.session.release(); } } } else if (usage < 0) { log.error("Usage count dropped below zero " + this); dumpResource(); throw new RuntimeCIFSException("Usage count dropped below zero"); } } /** * @param stackTrace * @return */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/DES.java
throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption"); } final byte[] cipherText = new byte[length]; final int count = length / 8; for (int i = 0; i < count; i++) { encrypt(clearText, i * 8, cipherText, i * 8); } return cipherText; } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 22.7K bytes - Click Count (0) -
docs/config/README.md
``` KEY: storage_class define object level redundancy ARGS: standard (string) set the parity count for default standard storage class e.g. "EC:4" rrs (string) set the parity count for reduced redundancy storage class e.g. "EC:2" comment (sentence) optionally add a comment to this setting ``` or environment variables ``` KEY:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.1K bytes - Click Count (1) -
association.go
return association.Error } func (association *Association) Clear() error { return association.Replace() } func (association *Association) Count() (count int64) { if association.Error == nil { association.Error = association.buildCondition().Count(&count).Error } return } type assignBack struct { Source reflect.Value Index int Dest reflect.Value }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0) -
tests/association_generics_test.go
} AssertAssociationCount(t, user, "Languages", 1, "after delete one") // language row remains var count int64 if err := DB.Model(&Language{}).Where("code = ?", "es").Count(&count).Error; err != nil { t.Fatalf("count lang: %v", err) } if count != 1 { t.Fatalf("expected language row still exists, got %d", count) } } // Multi-owners: HasMany update and delete
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java
*/ void store(DataStoreParams paramMap, Map<String, Object> dataMap); /** * Returns the total number of documents processed by this callback. * * @return the document count */ long getDocumentSize(); /** * Returns the total execution time for index update operations. * * @return the execution time in milliseconds */ long getExecuteTime();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
throw new JobProcessingException(new RuntimeException("Test exception")); } return purgeCallCount; } public void setPurgeCallCount(long count) { this.purgeCallCount = count; } public void setThrowException(boolean throwException) { this.throwException = throwException; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (0) -
tests/lru_test.go
t.Fatalf("value differs from expected") } if lc.Resize(0) != 0 { t.Fatalf("evicted count differs from expected") } if lc.Resize(2) != 0 { t.Fatalf("evicted count differs from expected") } lc.Add("key2", "val2") if lc.Resize(1) != 1 { t.Fatalf("evicted count differs from expected") } } func TestLRUEdgeCases(t *testing.T) { lc := lru.NewLRU[string, *string](2, nil, 0)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
// Fail 5 times, succeed on 6th attempt when(mockFuture.actionGet(anyLong(), any(TimeUnit.class))).thenAnswer(invocation -> { int count = attemptCount.incrementAndGet(); if (count <= 5) { throw new RuntimeException("Simulated failure #" + count); } return "Success"; }); final String result = fesenClient.get(c -> mockFuture);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0)