- Sort Score
- Result 10 results
- Languages All
Results 1111 - 1120 of 4,617 for New (0.03 sec)
-
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
DictionaryException exception = new DictionaryException("Serialization test"); assertTrue(exception instanceof java.io.Serializable); } public void test_toString() { // Test toString method String message = "Dictionary parse error"; Exception cause = new NullPointerException("NPE occurred"); DictionaryException exception = new DictionaryException(message, cause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
NtlmChallenge nc = new NtlmChallenge(null, dc); assertNull(nc.challenge); assertSame(dc, nc.dc); } @Test @DisplayName("Constructor accepts null dc") void testConstructorAcceptsNullDc() { byte[] challenge = new byte[] { 1, 2, 3 }; NtlmChallenge nc = new NtlmChallenge(challenge, null);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
switch (previous) { case NEW: snapshot = new StateSnapshot(TERMINATED); enqueueTerminatedEvent(NEW); break; case STARTING: snapshot = new StateSnapshot(STARTING, true, null); enqueueStoppingEvent(STARTING); doCancelStart(); break; case RUNNING: snapshot = new StateSnapshot(STOPPING);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
URL docResource; try { docResource = new File(myClasspathEntry).toURL(); } catch (MalformedURLException e) { throw new ExpressionDocumentationException( "Cannot construct expression documentation classpath" + " resource base.", e); } return new URLClassLoader(new URL[] {docResource}); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
Object one = new Object(); assertNull(map.put(one, one)); assertSame(one, map.get(one)); assertTrue(map.containsKey(one)); assertTrue(map.containsValue(one)); Object two = new Object(); assertSame(one, map.replace(one, two)); assertTrue(map.containsKey(one)); assertFalse(map.containsValue(one)); Object three = new Object();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
byte[] array = new byte[size]; for (int i = 0; i < size; i++) { array[i] = (byte) (offset + i); } return array; } private static void copy(URL url, File file) throws IOException { InputStream in = url.openStream(); try { OutputStream out = new FileOutputStream(file); try { byte[] buf = new byte[4096];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
DummySmbResourceLocator(String urlStr) throws MalformedURLException { if (urlStr == null) { throw new IllegalArgumentException("URL string must not be null"); } if (!urlStr.startsWith("smb://")) { throw new MalformedURLException("Only SMB URLs are supported in the dummy implementation"); } this.urlStr = urlStr;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
void testJavaSerialization() throws Exception { // Given SpnegoException original = new SpnegoException("serialize me", new IllegalArgumentException("iaex")); // When byte[] bytes; try (ByteArrayOutputStream bout = new ByteArrayOutputStream(); ObjectOutputStream oout = new ObjectOutputStream(bout)) { oout.writeObject(original); oout.flush();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* * {@snippet : * static final ImmutableClassToInstanceMap<Handler> HANDLERS = * new ImmutableClassToInstanceMap.Builder<Handler>() * .put(FooHandler.class, new FooHandler()) * .put(BarHandler.class, new SubBarHandler()) * .put(Handler.class, new QuuxHandler()) * .build(); * } * * <p>After invoking {@link #build()} it is still possible to add more entries and build again.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsTest.java
assertTrue(set.isEmpty()); set.add(new DerivedComparable("foo"), 2); set.add(new DerivedComparable("bar"), 3); assertThat(set) .containsExactly( new DerivedComparable("bar"), new DerivedComparable("bar"), new DerivedComparable("bar"), new DerivedComparable("foo"), new DerivedComparable("foo")) .inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.2K bytes - Viewed (0)