- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 5,460 for _new (0.48 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
@Override public void setUp() { fakePool = new FakeExecutor(); e = new SequentialExecutor(fakePool); } public void testConstructingWithNullExecutor_fails() { assertThrows(NullPointerException.class, () -> new SequentialExecutor(null)); } public void testBasics() { AtomicInteger totalCalls = new AtomicInteger(); Runnable intCounter = new Runnable() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testuser", ""); assertEquals("", auth1.getPassword()); assertNotNull(auth1.getPasswordAsCharArray()); assertEquals(0, auth1.getPasswordAsCharArray().length); // Test with empty char[] password NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("testuser", new char[0]); assertEquals("", auth2.getPassword());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest request = new CurlRequest(Method.GET, url); // Add additional param request.param("new", "value"); assertNotNull(request); } @Test public void testMultipleThreadPoolCalls() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); ForkJoinPool pool1 = new ForkJoinPool(2);
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Given Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path); byte[] buffer = new byte[1024]; // Encode to set headerStart req.encode(buffer, 0); // Then byte[] pathBytes = path.getBytes(StandardCharsets.UTF_16LE); // Verify path is written correctly at body + 8 byte[] actualPath = new byte[pathBytes.length];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 37.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
readings[0] = l.toArray(String[]::new); if (items == null) { items = new ArrayList<>(text.length() * fields.length / field.length()); } final String[] langs = lang == null ? new String[] {} : new String[] { lang }; items.add(new SuggestItem(words, readings, new String[] { field }, 1L, 0, -1, tags, roles, langs,
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5); // Write only 10 bytes instead of 16 baos.write(new byte[10]); byte[] data = baos.toByteArray(); // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data); }); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
lsarpc.LsarRefDomainList domains = new lsarpc.LsarRefDomainList(); domains.count = 1; domains.max_count = 1; domains.domains = new lsarpc.LsarTrustInformation[1]; domains.domains[0] = new lsarpc.LsarTrustInformation(); domains.domains[0].name = new UnicodeString("TESTDOM", false); domains.domains[0].sid = new jcifs.dcerpc.rpc.sid_t();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
config = new PropertyConfiguration(new Properties()); } /** * Test of readParameterWordsWireFormat method */ @Test public void testReadParameterWordsWireFormat() { // Given byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 }; SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception { Executor exec = newCachedThreadPool(); CountDownLatch countDownLatch = new CountDownLatch(3); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0)