- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 5,459 for New (0.01 sec)
-
src/test/java/jcifs/pac/PacDataInputStreamTest.java
byte[] buffer = new byte[4]; pdis.readFully(buffer); assertArrayEquals(data, buffer); } @Test public void testReadFullyWithOffset() throws IOException { byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; PacDataInputStream pdis = createInputStream(data); byte[] buffer = new byte[6]; pdis.readFully(buffer, 1, 4);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} } public void testBridgeMethodIgnored() { new NullPointerTester().testAllPublicInstanceMethods(new StringFoo()); } private abstract static class DefaultValueChecker { private final Map<Integer, Object> arguments = new HashMap<>(); @CanIgnoreReturnValue final DefaultValueChecker runTester() { new NullPointerTester().testInstanceMethods(this, Visibility.PACKAGE);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 47.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
public void testRotate() { testRotate(new boolean[] {}, -1, new boolean[] {}); testRotate(new boolean[] {}, 0, new boolean[] {}); testRotate(new boolean[] {}, 1, new boolean[] {}); testRotate(new boolean[] {true}, -2, new boolean[] {true}); testRotate(new boolean[] {true}, -1, new boolean[] {true}); testRotate(new boolean[] {true}, 0, new boolean[] {true}); testRotate(new boolean[] {true}, 1, new boolean[] {true});
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 25.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java
@Test public void test() throws Exception { final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null); final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1); final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2); final ClassLoaderIterator it = new ClassLoaderIterator(cl3); assertThat(it.hasNext(), is(true));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
return container; } protected File getProject(String name) throws Exception { File source = new File(new File(getBasedir(), getProjectsDirectory()), name); File target = new File(new File(getBasedir(), "target"), name); FileUtils.copyDirectoryStructureIfModified(source, target); return new File(target, "pom.xml"); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
public ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException { return new MavenArtifactRepository( repository.getId(), repository.getUrl(), new DefaultRepositoryLayout(), new ArtifactRepositoryPolicy(), new ArtifactRepositoryPolicy()); } @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 12K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java
this.upgradeParser = new UpgradeParser(); Map<String, CommandMethods> commandExecute = new HashMap<>(); commandExecute.put("!", new CommandMethods(this::shell, this::defaultCompleter)); commandExecute.put("cd", new CommandMethods(this::cd, this::cdCompleter)); commandExecute.put("pwd", new CommandMethods(this::pwd, this::defaultCompleter));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
Runnable task = new Runnable() { @Override public void run() {} }; service.execute(task); verify(delegate).execute(task); } public void testListeningDecorator_scheduleSuccess() throws Exception { CountDownLatch completed = new CountDownLatch(1); ScheduledThreadPoolExecutor delegate = new ScheduledThreadPoolExecutor(1) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
NtlmPasswordAuthenticator baseAuth = new NtlmPasswordAuthenticator("domain", "user", new String(basePassword)); NtlmPasswordAuthenticator startAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtStart)); NtlmPasswordAuthenticator middleAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtMiddle));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
DummyPlainSMB next = new DummyPlainSMB(); DummyAndXBlock block = new DummyAndXBlock(next); assertNotNull(block); assertSame(next, block.andx, "andx should reference provided SMB"); } @Test @DisplayName("getBatchLimit defaults to 0") void testGetBatchLimitDefault() { DummyAndXBlock block = new DummyAndXBlock();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)