- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 4,230 for new2 (0.24 sec)
-
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
public void testDurableHandleReconnectInvalidFileId() { assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[8]); // Wrong length }); assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[20]); // Wrong length }); } @Test public void testHandleType() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
StringCatcher stringCatcher = new StringCatcher(); List<Object> objectEvents = new ArrayList<>(); Object objCatcher = new Object() { @Subscribe public void eat(Object food) { objectEvents.add(food); } }; List<Comparable<?>> compEvents = new ArrayList<>(); Object compCatcher = new Object() { @Subscribe
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessHtmlPath.java
/** The path of the HTML: /error/notFound.jsp */ HtmlNext path_Error_NotFoundJsp = new HtmlNext("/error/notFound.jsp"); /** The path of the HTML: /error/redirect.jsp */ HtmlNext path_Error_RedirectJsp = new HtmlNext("/error/redirect.jsp"); /** The path of the HTML: /error/system.jsp */ HtmlNext path_Error_SystemJsp = new HtmlNext("/error/system.jsp");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.3K 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 Sep 07 03:35:12 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 Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
throw new UnsupportedOperationException(); } @Override public String getScheme() { throw new UnsupportedOperationException(); } @Override public String getServerName() { throw new UnsupportedOperationException(); } @Override public int getServerPort() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
void testRoundTripFull() throws IOException { // Arrange – create a fully populated token ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); byte[] tokenArray = new byte[] { 1, 2, 3 }; byte[] mic = new byte[] { 9, 9, 9 }; NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic); // Act – serialise and parse back
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
Process mockProcess = createMockProcess("callback test\nanother line"); List<String> callbackResults = new ArrayList<>(); Consumer<String> callback = line -> callbackResults.add(line); JobProcess jobProcess = new JobProcess(mockProcess, 50, callback); assertNotNull(jobProcess); assertSame(mockProcess, jobProcess.getProcess());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 8.5K bytes - Viewed (0)