- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 3,953 for new3 (0.32 sec)
-
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @return a new instance of {@link ArrayDeque} * @see ArrayDeque#ArrayDeque(int) */ public static <E> ArrayDeque<E> newArrayDeque(final int numElements) { return new ArrayDeque<>(numElements); } /** * Creates and returns a new instance of {@link ArrayList}. * * @param <E> the element type of {@link ArrayList} * @return a new instance of {@link ArrayList}
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
public void setUp() throws Exception { super.setUp(); kuromojiFile = new KuromojiFile("1", "dummy", new Date()); List<KuromojiItem> itemList = new ArrayList<>(); itemList.add(new KuromojiItem(1, "token1", "seg1", "reading1", "pos1")); itemList.add(new KuromojiItem(2, "token2", "seg2", "reading2", "pos2")); itemList.add(new KuromojiItem(3, "token3", "seg3", "reading3", "pos3"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
// Test with a value within the byte range NdrSmall ndrSmall = new NdrSmall(123); assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input."); } @Test void testConstructor_maxValue() { // Test with the maximum byte value NdrSmall ndrSmall = new NdrSmall(255);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
if (masterPassword == null || masterPassword.length == 0) { throw new IllegalArgumentException("Master password cannot be null or empty"); } // Generate salt for key derivation this.salt = new byte[SALT_SIZE]; secureRandom.nextBytes(this.salt); // Derive master key from password
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
mockUrl = new URL("http://test.example.com/path"); // Basic setup for mocks to avoid NullPointerExceptions when(mockConnection.getURL()).thenReturn(mockUrl); when(mockConnection.getRequestProperties()).thenReturn(new HashMap<>()); // Mock CIFSContext behavior NtlmPasswordAuthentication creds = new NtlmPasswordAuthentication(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
public void testList() { assertFreshInstance(new TypeToken<List<String>>() {}); assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {}); } public void testArrayList() { assertFreshInstance(new TypeToken<ArrayList<String>>() {}); assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {}); } public void testLinkedList() { assertFreshInstance(new TypeToken<LinkedList<String>>() {}); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 17.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
// Test that constructor works in different thread final CrawlerEngineClient[] clientHolder = new CrawlerEngineClient[1]; final Exception[] exceptionHolder = new Exception[1]; Thread thread = new Thread(() -> { try { clientHolder[0] = new CrawlerEngineClient(); } catch (Exception e) { exceptionHolder[0] = e; } });
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
ASN1Integer expected = new ASN1Integer(10); vector.add(expected); ASN1Sequence sequence = new DERSequence(vector); ASN1Integer result = ASN1Util.as(ASN1Integer.class, sequence, 0); assertSame(expected, result); } @Test void testAs_ASN1Sequence_Failure() { // Test failed casting from sequence
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@DisplayName("Should return negotiate contexts") void testGetNegotiateContexts() throws Exception { // Given NegotiateContextResponse[] contexts = new NegotiateContextResponse[2]; contexts[0] = new EncryptionNegotiateContext(); contexts[1] = new PreauthIntegrityNegotiateContext(); setPrivateField(response, "negotiateContexts", contexts); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0)