- Sort Score
- Result 10 results
- Languages All
Results 1281 - 1290 of 2,711 for create (0.16 sec)
-
src/test/java/jcifs/SmbTreeHandleTest.java
import org.mockito.junit.jupiter.MockitoExtension; import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; /** * Tests for SmbTreeHandle interface. * This test class uses Mockito to create a mock implementation of the SmbTreeHandle interface. * Each method of the interface is tested to ensure it behaves as expected. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
static String create(String unused) { return "I don't check"; } } private interface InterfaceStaticMethodChecksNull { static String create(String s) { return checkNotNull(s); } } private interface InterfaceDefaultMethodFailsToCheckNull { static InterfaceDefaultMethodFailsToCheckNull create() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java
} }); } return result; } catch (final Exception e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
/** Virtual address of the memory region */ protected final long address; /** Flag indicating if the memory region is still valid */ protected volatile boolean valid; /** * Create new RDMA memory region * * @param buffer memory buffer to register * @param access access permissions */ public RdmaMemoryRegion(ByteBuffer buffer, EnumSet<RdmaAccess> access) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java
mode = JapaneseTokenizer.Mode.EXTENDED; } } return mode; } @Override public Tokenizer create() { JapaneseTokenizer t = new JapaneseTokenizer(userDictionary, discartPunctuation, mode); int nBestCost = this.nBestCost; if (nBestExamples != null) {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
} } @Test @DisplayName("Test setFileInformation method") void testSetFileInformation() { request = new Smb2SetInfoRequest(mockConfig); // Create a mock FileInformation that is also Encodable TestFileInformation mockFileInfo = mock(TestFileInformation.class); byte expectedLevel = (byte) 0x04;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
// Test NTLM Type 1 message handling // This test verifies that when a Type 1 NTLM message is received, // the filter processes it correctly through NtlmSsp.authenticate // Create a minimal filter config that won't try to connect to a real server Map<String, String> initParams = new HashMap<>(); initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
* @param urlQueue The URL queue entry to insert. */ @Override public void insert(final OpenSearchUrlQueue urlQueue) { try { super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX); } catch (final OpenSearchAccessException e) { final Throwable cause = e.getCause(); if (cause != null && "VersionConflictEngineException".equals(cause.getClass().getSimpleName())) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 17K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
return System.currentTimeMillis(); } }; roleQueryHelper.maxAge = 60; // 1 minute Set<String> roleSet = new HashSet<>(); // Create timestamp that's 2 minutes old long expiredTimestamp = System.currentTimeMillis() / 1000 - 120; String value = expiredTimestamp + "\nrole1,role2"; roleQueryHelper.parseRoleSet(value, false, roleSet);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
if (b != last) { assertEquals(shards - 1, b); last = b; } } } public void testConsistentHash_probabilities() { AtomicLongMap<Integer> map = AtomicLongMap.create(); Random r = new Random(9); for (int i = 0; i < ITERS; i++) { countRemaps(r.nextLong(), map); } for (int shard = 2; shard <= MAX_SHARDS; shard++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2)