- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 6,076 for newE (0.03 seconds)
-
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
/** Returns the underlying implementation, useful for the Footprint benchmark. */ Object getImpl(); } enum Impl { NEW { @Override ExecutionListWrapper newExecutionList() { return new ExecutionListWrapper() { final ExecutionList list = new ExecutionList(); @Override public void add(Runnable runnable, Executor executor) { list.add(runnable, executor);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
when(nameFilter.accept(parent, "bad")).thenThrow(new CIFSException("bad name")); when(nameFilter.accept(parent, "good")).thenReturn(true); FileEntry initial = entry("first"); FileEntry[] page1 = new FileEntry[] { entry("bad"), entry("good") }; TestIterator it = TestIterator.create(tree, parent, "*", nameFilter, 0, initial, List.of(new FileEntry[][] { page1 })); // Act
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "pass"); NameCallback nc = new NameCallback("user:"); PasswordCallback pc = new PasswordCallback("pass:", false); // Exercise callback handler with both callbacks supplied Callback[] cbs = new Callback[] { nc, pc }; auth.handle(cbs);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
@DisplayName("Should handle exception chaining") void testExceptionChaining() { // Given Exception rootCause = new RuntimeException("Root cause"); SmbException intermediateCause = new SmbException("Intermediate", rootCause); // When SmbException finalException = new SmbException("Final error", intermediateCause); // Then assertEquals(intermediateCause, finalException.getCause());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
/** * @throws Exception */ public void testToJarFilePath() throws Exception { final File f = new File("/Program Files/foo.jar"); final URL url = new URL("jar:" + f.toURI().toURL() + "!/"); final String root = new File("/").getCanonicalPath(); assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url)); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/TransportException.java
public class TransportException extends IOException { /** The root cause exception */ private Throwable rootCause; /** * Constructs a new TransportException with no detail message. */ public TransportException() { } /** * Constructs a new TransportException with the specified detail message. * * @param msg the detail message */ public TransportException(final String msg) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
byte[] buffer1 = new byte[100]; byte[] buffer2 = new byte[100]; System.arraycopy(firstData, 0, buffer1, 0, firstData.length); System.arraycopy(secondData, 0, buffer2, 0, secondData.length); // First read response.readDataWireFormat(buffer1, 0, firstData.length); byte[] firstResult = new byte[firstData.length];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
ComponentUtil.register(new LogNotificationHelper(), "logNotificationHelper"); ComponentUtil.getLogNotificationHelper().drainAll(); ComponentUtil.getFessConfig().setLogNotificationEnabled(true); logNotificationTarget = new LogNotificationTarget(); } @Test public void test_constructor() { LogNotificationTarget target = new LogNotificationTarget(); assertNotNull(target);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
new HandleGuid(new byte[8]); // Wrong length }); assertThrows(IllegalArgumentException.class, () -> { new HandleGuid(new byte[20]); // Wrong length }); } @Test public void testHandleGuidEqualsAndHashCode() { UUID uuid = UUID.randomUUID(); HandleGuid guid1 = new HandleGuid(uuid);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
public void test_isAvailable() { // Test default implementation generator = new TestThumbnailGenerator(); assertTrue(generator.isAvailable()); } @Test public void test_isTarget() { // Test isTarget method generator = new TestThumbnailGenerator(); Map<String, Object> docMap = new HashMap<>(); // Note: isTarget requires FessConfig which needs container
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0)