- Sort Score
- Result 10 results
- Languages All
Results 1371 - 1380 of 2,711 for create (0.04 sec)
-
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
SimpleCircuitBreaker breaker = new SimpleCircuitBreaker("concurrent", 5, 3, 100); AtomicInteger successCount = new AtomicInteger(0); AtomicInteger failureCount = new AtomicInteger(0); // Create multiple threads Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) { final int index = i; threads[i] = new Thread(() -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java
@GwtCompatible @NullMarked final class ObjectCountLinkedHashMap<K extends @Nullable Object> extends ObjectCountHashMap<K> { /** Creates an empty {@code ObjectCountLinkedHashMap} instance. */ static <K extends @Nullable Object> ObjectCountLinkedHashMap<K> create() { return new ObjectCountLinkedHashMap<K>(); } /** * Creates a {@code ObjectCountLinkedHashMap} instance, with a high enough "initial capacity" that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java
this.id = id; this.token = token; this.segmentation = segmentation; this.reading = reading; this.pos = pos; if (id == 0) { // create newToken = token; newSegmentation = segmentation; newReading = reading; newPos = pos; } } /** * Returns the new token. *Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java
} @Override public LaJobRunner createRunner() { return new LaJobRunner().useAccessContext( resource -> accessContextLogic.create(resource, OptionalThing::empty, OptionalThing::empty, () -> APP_TYPE)); } /** * Sets the job class to be executed by this scheduler. * * @param jobClass the job class to set */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMultiset.java
final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> { static final RegularImmutableMultiset<Object> EMPTY = new RegularImmutableMultiset<>(ObjectCountHashMap.create()); final transient ObjectCountHashMap<E> contents; private final transient int size; @LazyInit private transient @Nullable ImmutableSet<E> elementSet;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
out[2 * i] = (byte) (chars[i] & 0xFF); out[2 * i + 1] = (byte) ((chars[i] >> 8) & 0xFF); } return out; } /** * Helper: create a buffer containing the parameter and data segments */ private static byte[] createBuffer(int dataLen, byte[] dataBytes, String params) throws UnsupportedEncodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
} } @Test @DisplayName("Should evict oldest leases when max limit reached") void testMaxLeaseEviction() throws InterruptedException { // Create a context with low max lease limit Configuration limitedConfig = mock(Configuration.class); CIFSContext limitedContext = mock(CIFSContext.class); when(limitedContext.getConfig()).thenReturn(limitedConfig);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
.execute() .actionGet(this.settings.getIndicesTimeout()); } /** * Creates the analyzer settings index name. * @param settingsIndexName The base settings index name. * @return The created analyzer settings index name. */ protected String createAnalyzerSettingsIndexName(final String settingsIndexName) {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 26.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
verify(mockRequest).setSignSeq(10); } @Test @DisplayName("Test verify method with valid signature") void testVerifyWithValidSignature() { // Create digest for signing SMB1SigningDigest signDigest = new SMB1SigningDigest(testMacSigningKey, false, 10); byte[] data = new byte[100]; // Prepare mock requestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
tests/table_test.go
if !regexp.MustCompile("SELECT .name. FROM .gorm.\\..user. WHERE .user.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) } r = dryDB.Create(&UserWithTable{}).Statement if DB.Dialector.Name() != "sqlite" { if !regexp.MustCompile(`INSERT INTO .gorm.\..user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 12.7K bytes - Viewed (0)