- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 4,787 for _new (0.04 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
final ClassMetaData owner = Mock() final MethodMetaData method = new MethodMetaData('method', owner) def formatsSignature() { method.returnType = new TypeMetaData('ReturnType') method.addParameter('param1', new TypeMetaData('ParamType')) method.addParameter('param2', new TypeMetaData('ParamType2')) expect:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
this.docRoot = docRoot; server = new Server(port); final ResourceHandler resource_handler = new ResourceHandler(); resource_handler.setWelcomeFiles(new String[] { "index.html" }); resource_handler.setResourceBase(docRoot.getAbsolutePath()); Log.info("serving " + resource_handler.getBaseResource()); final HandlerList handlers = new HandlerList();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
if ( nbt != null ) { return new Address[] { new UniAddress(this.replacementNetbios), actual }; } return new Address[] { new UniAddress(this.replacementINET), actual }; } }; return new NSOverrideWrapper(ctx, wrapper); } @Test
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
} catch( UnknownHostException uhe ) { } snd_buf = new byte[SND_BUF_SIZE]; rcv_buf = new byte[RCV_BUF_SIZE]; out = new DatagramPacket( snd_buf, SND_BUF_SIZE, baddr, NAME_SERVICE_UDP_PORT ); in = new DatagramPacket( rcv_buf, RCV_BUF_SIZE ); if( RO == null || RO.length() == 0 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
*/ @Test public void testCopyBeanToBean_converter() throws Exception { final Bean bean = new Bean(); bean.aaa = "1,000"; final Bean2 bean2 = new Bean2(); BeanUtil.copyBeanToBean(bean, bean2, converter(new NumberConverter("#,##0"))); assertThat(bean2.aaa, is(new Integer(1000))); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
final AbstractFuture<String> future = new AbstractFuture<String>() {}; WaiterThread waiter = new WaiterThread(future); waiter.start(); waiter.awaitWaiting(); PollingThread poller = new PollingThread(future); poller.start(); PollingThread poller2 = new PollingThread(future); poller2.start(); PollingThread poller3 = new PollingThread(future); poller3.start();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
public void testRelativeWhitespaceStart () throws Exception { try ( SmbResource r = new SmbFile("smb://0.0.0.0/asdasf/", getContext()); SmbResource c = new SmbFile(r, " test") ) { assertEquals(' ', c.getName().charAt(0)); assertEquals(" test", c.getName()); try ( SmbFile t = new SmbFile(c.getLocator().getURL(), getContext()) ) { assertEquals(" test", t.getName());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
StringReader sReader = new StringReader(serializedModel); MavenStaxReader modelReader = new MavenStaxReader(); try { model = new Model(modelReader.read(sReader)); } catch (XMLStreamException e) { throw new ModelInterpolationException(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.5K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
throw new IllegalArgumentException("failed to build synonyms", e); } } private Reader getReader(final boolean reload) throws IOException { if (reload) { if (reloadableFile == null) { throw new IllegalArgumentException("reloadableFile is null."); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 6.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
assertEquals("http_CLN_/www.example.com/submit_QUEST_a=1_AMP_b=2", new String(resultData.getData(), "UTF-8")); final File file = new File(fileTransformer.baseDir, new String(resultData.getData(), "UTF-8")); assertEquals("xyz", new String(FileUtil.readBytes(file))); } public void test_createFile() throws Exception {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0)