PageRenderTime 259ms queryTime 53ms sortTime 2ms getByIdsTime 76ms findMatchingLines 64ms

100+ results results for 'helloworld java' (259 ms)

Not the results you expected?
IntrospectionModellerTest.java https://gitlab.com/jaragan/jersey | Java | 235 lines
                    
10 * obtain a copy of the License at
                    
11 * http://glassfish.java.net/public/CDDL+GPL_1_1.html
                    
12 * or packager/legal/LICENSE.txt.  See the License for the specific
                    
41
                    
42import java.util.Collection;
                    
43import java.util.List;
                    
44
                    
45import javax.ws.rs.Consumes;
                    
46import javax.ws.rs.GET;
                    
46import javax.ws.rs.GET;
                    
47import javax.ws.rs.HeaderParam;
                    
48import javax.ws.rs.POST;
                    
48import javax.ws.rs.POST;
                    
49import javax.ws.rs.Path;
                    
50import javax.ws.rs.PathParam;
                    
                
SubDeploymentAvailableInClassPathTestCase.java https://github.com/aminorex/jboss-as.git | Java | 200 lines
                    
37import org.jboss.as.test.spec.ear.classpath.servlet.EjbInvokingServlet;
                    
38import org.jboss.as.test.spec.ear.classpath.servlet.HelloWorldServlet;
                    
39import org.jboss.as.test.spec.ear.classpath.servlet.ServletInOtherWar;
                    
42import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
                    
43import org.jboss.shrinkwrap.api.spec.JavaArchive;
                    
44import org.jboss.shrinkwrap.api.spec.WebArchive;
                    
70    public static EnterpriseArchive createEar() {
                    
71        final JavaArchive ejbJar = ShrinkWrap.create(JavaArchive.class, "ejb.jar");
                    
72        ejbJar.addClasses(EJBBusinessInterface.class, SimpleSLSB.class);
                    
91    public static EnterpriseArchive createEarWithMultipleWars() {
                    
92        final JavaArchive ejbJar = ShrinkWrap.create(JavaArchive.class, "ejb.jar");
                    
93        ejbJar.addClasses(EJBBusinessInterface.class, SimpleSLSB.class);
                    
132
                    
133        final String requestURL = BASE_URL + WEB_APP_CONTEXT_ONE + HelloWorldServlet.URL_PATTERN + "?" + HelloWorldServlet.PARAMETER_NAME + "=" + message;
                    
134        final HttpGet request = new HttpGet(requestURL);
                    
                
CompositeComponentClientBehaviorTestCase.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 274 lines
                    
64    {
                    
65        HelloWorld helloWorld = new HelloWorld(); 
                    
66        
                    
151    {
                    
152        HelloWorld helloWorld = new HelloWorld(); 
                    
153        
                    
180    {
                    
181        HelloWorld helloWorld = new HelloWorld(); 
                    
182        
                    
209    {
                    
210        HelloWorld helloWorld = new HelloWorld(); 
                    
211        
                    
242    {
                    
243        HelloWorld helloWorld = new HelloWorld(); 
                    
244        
                    
                
ExtDynamicClass.as https://github.com/changm/tessa.git | ActionScript | 217 lines
                    
39var SECTION = "Definitions";       // provide a document reference (ie, ECMA section)
                    
40var VERSION = "Clean AS2";  // Version of JavaScript or ECMA
                    
41var TITLE   = "Extend Dynamic Class";       // Provide ECMA section title or a description
                    
54 *
                    
55 * var helloWorld = "Hello World";
                    
56 *
                    
57 * AddTestCase(
                    
58 * "var helloWorld = 'Hello World'",   // description of the test
                    
59 *  "Hello World",                     // expected result
                    
59 *  "Hello World",                     // expected result
                    
60 *  helloWorld );                      // actual result
                    
61 *
                    
                
README.html git://github.com/jersey/jersey-1.x.git | HTML | 178 lines
                    
53<dl>
                    
54    <dt><code>com.sun.jersey.samples.helloworld.HelloWorldResource</code></dt>
                    
55    <dd>that produces a textual response to an HTTP GET</dd>
                    
121Bundle ID: 9
                    
122g! install https://maven.java.net/service/local/artifact/maven/redirect?r=<b>&lt;repository&gt;</b>&g=com.sun.jersey&a=jersey-core&v=<b>&lt;version&gt;</b>&e=jar
                    
123Bundle ID: 10
                    
145   12|Installed  |    1|jersey-servlet (1.18.0)
                    
146   13|Installed  |    1|Helloworld OSGi WebApp - Jersey Sample WAR (1.18.0)
                    
147g! start 5 6 7 8 9 10 11 12 13
                    
153  class com.sun.jersey.samples.helloworld.AnotherResource
                    
154  class com.sun.jersey.samples.helloworld.HelloWorldResource
                    
155Nov 15, 2013 5:05:46 PM com.sun.jersey.api.core.ScanningResourceConfig init
                    
162<ul>
                    
163    <li><a href="http://localhost:8080/helloworld/webresources/helloworld">http://localhost:8080/helloworld/webresources/helloworld</a></li>
                    
164    <li><a href="http://localhost:8080/helloworld/webresources/another">http://localhost:8080/helloworld/webresources/another</a></li>
                    
                
ImplicitReferenceTest.java https://gitlab.com/cde/debian_android-tools_libsmali-java | Java | 260 lines
                    
106                ".super Ljava/lang/Object;\n" +
                    
107                ".field public static field1:Ljava/lang/reflect/Method; = LHelloWorld;->toString()V\n" +
                    
108                ".field public static field2:Ljava/lang/reflect/Method; = LHelloWorld;->V()V\n" +
                    
241                ".super Ljava/lang/Object;\n" +
                    
242                ".field public static field1:Ljava/lang/reflect/Field; = LHelloWorld;->someField:I\n" +
                    
243                ".field public static field2:Ljava/lang/reflect/Field; = LHelloWorld;->V:I\n" +
                    
243                ".field public static field2:Ljava/lang/reflect/Field; = LHelloWorld;->V:I\n" +
                    
244                ".field public static field3:Ljava/lang/reflect/Field; = LHelloWorld;->I:I";
                    
245
                    
249                "# static fields\n" +
                    
250                ".field public static field1:Ljava/lang/reflect/Field; = LHelloWorld;->someField:I\n" +
                    
251                ".field public static field2:Ljava/lang/reflect/Field; = LHelloWorld;->V:I\n" +
                    
251                ".field public static field2:Ljava/lang/reflect/Field; = LHelloWorld;->V:I\n" +
                    
252                ".field public static field3:Ljava/lang/reflect/Field; = LHelloWorld;->I:I\n";
                    
253
                    
                
hello-world.md https://gitlab.com/alx741/book | Markdown | 395 lines
                    
38an underscore to separate them; for example, you'd use *hello_world.rs* rather
                    
39than *helloworld.rs*.
                    
40
                    
153
                    
154If you come from a dynamic language like Ruby, Python, or JavaScript, you may
                    
155not be used to compiling and running a program being separate steps. Rust is an
                    
158you give someone a `.rb` or `.py` or `.js` file, on the other hand, they need
                    
159to have a Ruby, Python, or JavaScript implementation installed (respectively),
                    
160but you only need one command to both compile and run your program. Everything
                    
                
AnimEventListener.html https://github.com/jingchan/jh_rogue.git | HTML | 278 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_22) on Fri Apr 22 12:10:32 EDT 2011 -->
                    
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
                    
102<TR BGCOLOR="white" CLASS="TableRowColor">
                    
103<TD><A HREF="#jme3test.helloworld"><B>jme3test.helloworld</B></A></TD>
                    
104<TD>&nbsp;&nbsp;</TD>
                    
174<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
                    
175Uses of <A HREF="../../../../com/jme3/animation/AnimEventListener.html" title="interface in com.jme3.animation">AnimEventListener</A> in <A HREF="../../../../jme3test/helloworld/package-summary.html">jme3test.helloworld</A></FONT></TH>
                    
176</TR>
                    
182<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
                    
183<TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../jme3test/helloworld/package-summary.html">jme3test.helloworld</A> that implement <A HREF="../../../../com/jme3/animation/AnimEventListener.html" title="interface in com.jme3.animation">AnimEventListener</A></FONT></TH>
                    
184</TR>
                    
187<CODE>&nbsp;class</CODE></FONT></TD>
                    
188<TD><CODE><B><A HREF="../../../../jme3test/helloworld/HelloAnimation.html" title="class in jme3test.helloworld">HelloAnimation</A></B></CODE>
                    
189
                    
                
dispatch-filters.rst https://github.com/MontBlanc-Sucks/docs.git | ReStructuredText | 226 lines
                    
36``AssetDispatcher`` is meant to check whether the request is referring to a theme
                    
37or plugin asset file, such as a css, javascript or image stored on either a
                    
38plugin's webroot folder or the corresponding one for a Theme. It will serve the
                    
115    App::uses('DispatcherFilter', 'Routing');
                    
116    class HelloWorldFilter extends DispatcherFilter {
                    
117
                    
131
                    
132This class should be saved in a file in ``app/Routing/Filter/HelloWorldFilter.php``
                    
133and configured in the bootstrap file according to how it was explained in the
                    
                
PDETemplateMessages.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 316 lines
                    
31
                    
32	public static String HelloWorldNewWizard_wtitle;
                    
33	public static String HelloWorldTemplate_title;
                    
33	public static String HelloWorldTemplate_title;
                    
34	public static String HelloWorldTemplate_desc;
                    
35	public static String HelloRCPNewWizard_title;
                    
44	public static String HelloNonUIRCPTemplate_defaultMessage;
                    
45	public static String HelloWorldTemplate_packageName;
                    
46	public static String HelloWorldTemplate_className;
                    
47	public static String HelloRCPTemplate_windowTitle;
                    
48	public static String HelloWorldTemplate_messageText;
                    
49	public static String HelloWorldTemplate_defaultMessage;
                    
49	public static String HelloWorldTemplate_defaultMessage;
                    
50	public static String HelloWorldTemplate_sampleActionSet;
                    
51	public static String HelloWorldTemplate_sampleMenu;
                    
                
HelloWorldTest.java https://gitlab.com/jaragan/jersey | Java | 253 lines
                    
10 * obtain a copy of the License at
                    
11 * http://glassfish.java.net/public/CDDL+GPL_1_1.html
                    
12 * or packager/legal/LICENSE.txt.  See the License for the specific
                    
39 */
                    
40package org.glassfish.jersey.examples.helloworld;
                    
41
                    
41
                    
42import java.net.HttpURLConnection;
                    
43import java.net.URL;
                    
43import java.net.URL;
                    
44import java.util.concurrent.CountDownLatch;
                    
45import java.util.concurrent.TimeUnit;
                    
45import java.util.concurrent.TimeUnit;
                    
46import java.util.logging.Logger;
                    
47
                    
                
Tutorial4.md https://gitlab.com/vikash.patel/qwertyu | Markdown | 133 lines
                    
14
                    
15```JAVASCRIPT
                    
16model.jsonModel = {
                    
47
                    
48**IMPORTANT: Each time you make a change to a JavaScript, CSS, HTML or properties file related to a widget or service you will need to clear the caches in order to see the change without restarting the server. More information on Aikau caching can be found [here](./ClearingDependencyCaches.md)**
                    
49
                    
49
                    
50Now refresh the page and amongst all the logging will be the output from the HelloWorld widget….. hard to find wasn’t it?
                    
51
                    
51
                    
52![Browser console with highlighted log from HelloWorld widget](../resources/Tutorial4-Image2.png "Browser console with highlighted log from HelloWorld widget")
                    
53
                    
72
                    
73![Browser console with filtered log showing only HelloWorld widget logging](../resources/Tutorial4-Image3.png "Browser console with filtered log showing only HelloWorld widget logging")
                    
74
                    
                
local-helloworld.html.md https://gitlab.com/github-cloud-corporation/incubator-predictionio | Markdown | 546 lines
                    
83
                    
84Create a new file <code>src/main/java/MyTrainingData.java</code>:
                    
85
                    
125  </div>
                    
126  <div data-tab="Java" data-lang="java">
                    
127
                    
326  <div data-tab="Java" data-lang="java">
                    
327Create a new file <code>src/main/java/MyAlgorithm.java</code>:
                    
328
                    
398  </div>
                    
399  <div data-tab="Java" data-lang="java">
                    
400Create a new file <code>src/main/java/MyEngineFactory.java</code>:
                    
544
                    
545Check out [Java Parallel Helloworld tutorial](parallel-helloworld.html)
                    
546if you are interested how things are done on the parallel side.
                    
                
SSLEngineTest.java https://github.com/toddlipcon/jetty-hadoop-fix.git | Java | 398 lines
                    
14
                    
15// JettyTest.java --
                    
16//
                    
21
                    
22import java.io.BufferedReader;
                    
23import java.io.File;
                    
23import java.io.File;
                    
24import java.io.IOException;
                    
25import java.io.InputStream;
                    
25import java.io.InputStream;
                    
26import java.io.InputStreamReader;
                    
27import java.io.OutputStream;
                    
27import java.io.OutputStream;
                    
28import java.io.PrintWriter;
                    
29import java.net.HttpURLConnection;
                    
                
ExamplePlugin.php https://github.com/ntulip/piwik.git | PHP | 170 lines
                    
65	/**
                    
66	 * Go to /piwik/?module=ExamplePlugin&action=helloWorld to execute this method
                    
67	 *
                    
68	 */
                    
69	function helloWorld()
                    
70	{
                    
86		<div id='jsenabled'>You can easily use Jquery in widgets</div>
                    
87		<script type=\"text/javascript\">$('#happycoding').hide().fadeIn(5000);$('#jsenabled').hide().css({'color':'red'}).fadeIn(10000);</script>";
                    
88	}
                    
                
docs.md https://github.com/conzi/lessphp.git | Markdown | 502 lines
                    
22It is based off the original and defunct Ruby implementation
                    
23in addition to the current JavaScript one, [less.js](http://lesscss.org).
                    
24
                    
97        width: 2 * @width / 3;
                    
98        font-family: "hel" + "vetica"; // evaluates to "helloworld"
                    
99    }
                    
                
AbstractJettyServerTestCase.java https://gitlab.com/yinxiaoling/spring-framework | Java | 336 lines
                    
18
                    
19import java.io.IOException;
                    
20import java.util.Collections;
                    
20import java.util.Collections;
                    
21import java.util.List;
                    
22import java.util.Map;
                    
22import java.util.Map;
                    
23import javax.servlet.GenericServlet;
                    
24import javax.servlet.ServletException;
                    
24import javax.servlet.ServletException;
                    
25import javax.servlet.ServletRequest;
                    
26import javax.servlet.ServletResponse;
                    
26import javax.servlet.ServletResponse;
                    
27import javax.servlet.http.HttpServlet;
                    
28import javax.servlet.http.HttpServletRequest;
                    
                
package-summary.html https://bitbucket.org/maxgoebel/tableannotator.git | HTML | 271 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc -->
                    
6<TITLE>
                    
101<TR BGCOLOR="white" CLASS="TableRowColor">
                    
102<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/pdfbox/examples/pdmodel/AddJavascript.html" title="class in org.apache.pdfbox.examples.pdmodel">AddJavascript</A></B></TD>
                    
103<TD>This is an example of how to set some javascript in the document.</TD>
                    
142<TR BGCOLOR="white" CLASS="TableRowColor">
                    
143<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/pdfbox/examples/pdmodel/HelloWorld.html" title="class in org.apache.pdfbox.examples.pdmodel">HelloWorld</A></B></TD>
                    
144<TD>This is an example that creates a simple document.</TD>
                    
146<TR BGCOLOR="white" CLASS="TableRowColor">
                    
147<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/pdfbox/examples/pdmodel/HelloWorldTTF.html" title="class in org.apache.pdfbox.examples.pdmodel">HelloWorldTTF</A></B></TD>
                    
148<TD>This is an example that creates a simple document
                    
151<TR BGCOLOR="white" CLASS="TableRowColor">
                    
152<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/pdfbox/examples/pdmodel/HelloWorldType1AfmPfb.html" title="class in org.apache.pdfbox.examples.pdmodel">HelloWorldType1AfmPfb</A></B></TD>
                    
153<TD>This is an example that creates a simple document
                    
                
helloworld.html https://github.com/victor-homyakov/frameworks.git | HTML | 263 lines
                    
2	<head>
                    
3		<script type="text/javascript" src="../lib/dojo/dojo.js" djConfig="isDebug: true"></script>
                    
4		<script type="text/javascript" src="../lib/dojox/off/offline.js"></script>
                    
23			
                    
24			var helloWorld = {
                    
25				/* hello world messages to be sent */
                    
28				initialize: function(){
                    
29					console.debug("helloWorld.initialize");
                    
30					
                    
181			// is also finished loading.
                    
182			dojo.connect(dojox.off.ui, "onLoad", helloWorld, "initialize");
                    
183			
                    
215			name automatically into the UI based on what you set 
                    
216			dojox.off.ui.appName to in your JavaScript 
                    
217			file; in our case we set it to "Hello World".</p>
                    
                
WTWikitudePlugin.m https://github.com/devgeeks/phonegap-plugins.git | Objective C | 402 lines
                    
162    
                    
163    [self writeJavascript:javaScript];
                    
164}
                    
324            if (self.architectView) {
                    
325                [self.architectView callJavaScript:javascriptToCall];
                    
326            }
                    
341    
                    
342    [self writeJavascript:javaScript];
                    
343}
                    
369    
                    
370    [self writeJavascript:javaScript];
                    
371}
                    
392    
                    
393    [self writeJavascript:javaScriptResult];
                    
394}
                    
                
README.md https://gitlab.com/18runt88/bazel | Markdown | 457 lines
                    
70docker_build(
                    
71    name = "java",
                    
72    base = ":base",
                    
99
                    
100Suppose you have a `docker_build` target `//my/image:helloworld`:
                    
101
                    
103docker_build(
                    
104    name = "helloworld",
                    
105    ...
                    
108
                    
109You can build this with `bazel build my/image:helloworld.tar`.
                    
110This will produce the file `bazel-genfiles/my/image/helloworld.tar`.
                    
111You can load this into my local Docker client by running
                    
112`docker load -i bazel-genfiles/my/image/helloworld.tar`, or simply
                    
113`bazel run my/image:helloworld` (this last command only update the
                    
                
ExtInternalClass.as https://github.com/changm/tessa.git | ActionScript | 263 lines
                    
41var SECTION = "Definitions";       // provide a document reference (ie, ECMA section)
                    
42var VERSION = "Clean AS2";  // Version of JavaScript or ECMA
                    
43var TITLE   = "Extend Default Class";       // Provide ECMA section title or a description
                    
56 *
                    
57 * var helloWorld = "Hello World";
                    
58 *
                    
59 * AddTestCase(
                    
60 * "var helloWorld = 'Hello World'",   // description of the test
                    
61 *  "Hello World",                     // expected result
                    
61 *  "Hello World",                     // expected result
                    
62 *  helloWorld );                      // actual result
                    
63 *
                    
                
VendorInfo.aspx https://bitbucket.org/sourcecode71/arml.git | ASP.NET | 196 lines
                    
3<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
                    
4    <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.js"></script>
                    
5    <script type="text/javascript" src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
                    
5    <script type="text/javascript" src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
                    
6    <script type="text/javascript">
                    
7        $(document).ready(function () {
                    
16                        contentType: "application/json; charset=utf-8",
                    
17                        url: "WebServices/CommonWebService.asmx/HelloWorld",
                    
18                        data: "{" + document.getElementById('<%=txtName.ClientID%>').value + "'}",
                    
173                                 ImageUrl="~/App_Themes/Green/Images/Delete.gif" 
                    
174                                 onclick="imgDelete_Click" CausesValidation="False" OnClientClick="javascript:return confirm('Do you really want to \ndelete the item?')"/>
                    
175                         </ItemTemplate>
                    
                
index.html https://github.com/bartdag/recodoc2.git | HTML | 400 lines
                    
5        <meta name="description" content="This beginner Java tutorial describes getting started with Java and setting up your Netbeans IDE" />
                    
6        <meta name="keywords" content="java programming, learn java, java sample code, getting started with java, development environment setup" />
                    
7<style type="text/css">
                    
30    #TopBar_tr {
                    
31        background: url(../images/java_bar_tr.gif) 100% 0 no-repeat;
                    
32        width: 100%;
                    
263                            <a target="_blank"
                    
264                                href="http://java.sun.com/javase/6/download.jsp">Download
                    
265                                the JDK</a>
                    
315Discusses the "Hello World!" application, describing
                    
316each section of code in detail. It covers source code comments, the <code>HelloWorldApp</code> class definition block, and the <code>main</code> method.
                    
317<p>
                    
351<p class="footertext"><a name="license_info">Your use of this</a> page and all the material on pages under &quot;The Java Tutorials&quot; banner,
                    
352and all the material on pages under &quot;The Java Tutorials&quot; banner is subject to the <a href="../information/license.html">Java SE Tutorial Copyright
                    
353and License</a>.
                    
                
SubDeploymentAvailableInClassPathTestCase.java https://bitbucket.org/cprenzberg/wildfly.git | Java | 203 lines
                    
39import org.jboss.as.test.integration.deployment.classloading.ear.subdeployments.servlet.EjbInvokingServlet;
                    
40import org.jboss.as.test.integration.deployment.classloading.ear.subdeployments.servlet.HelloWorldServlet;
                    
41import org.jboss.as.test.integration.deployment.classloading.ear.subdeployments.servlet.ServletInOtherWar;
                    
44import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
                    
45import org.jboss.shrinkwrap.api.spec.JavaArchive;
                    
46import org.jboss.shrinkwrap.api.spec.WebArchive;
                    
73    public static EnterpriseArchive createEar() {
                    
74        final JavaArchive ejbJar = ShrinkWrap.create(JavaArchive.class, "ejb.jar");
                    
75        ejbJar.addClasses(EJBBusinessInterface.class, SimpleSLSB.class);
                    
94    public static EnterpriseArchive createEarWithMultipleWars() {
                    
95        final JavaArchive ejbJar = ShrinkWrap.create(JavaArchive.class, "ejb.jar");
                    
96        ejbJar.addClasses(EJBBusinessInterface.class, SimpleSLSB.class);
                    
135
                    
136        final String requestURL = managementClient.getWebUri() + "/" + WEB_APP_CONTEXT_ONE + HelloWorldServlet.URL_PATTERN + "?" + HelloWorldServlet.PARAMETER_NAME + "=" + message;
                    
137        final HttpGet request = new HttpGet(requestURL);
                    
                
Server.java https://github.com/kraman/RTZen.git | Java | 340 lines
                    
11
                    
12import java.io.BufferedWriter;
                    
13import java.io.FileWriter;
                    
14
                    
15import javax.realtime.ImmortalMemory;
                    
16import javax.realtime.LTMemory;
                    
16import javax.realtime.LTMemory;
                    
17import javax.realtime.HeapMemory;
                    
18import javax.realtime.PriorityScheduler;
                    
18import javax.realtime.PriorityScheduler;
                    
19import javax.realtime.RealtimeThread;
                    
20
                    
161        try{
                    
162            HelloWorldImpl impl = new HelloWorldImpl(iFactor);
                    
163            org.omg.CORBA.Object obj = poa.servant_to_reference(impl);
                    
                
index.php https://github.com/deepakworld07/xmlvm.svn.git | PHP | 193 lines
                    
137</span><span class="java8">{<br />
                    
138&#xA0;&#xA0;&#xA0; </span><span class="java4">public </span><span class="java9">void </span><span class="java10">applicationDidFinishLaunching</span><span class="java8">(</span><span class="java10">NSNotification aNotification</span><span class="java8">)<br />
                    
139&#xA0;&#xA0;&#xA0; {<br />
                    
140&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; </span><span class="java10">CGRect rect = UIHardware.fullScreenApplicationContentRect</span><span class="java8">()</span><span class="java10">;<br />
                    
141&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; UIWindow window = </span><span class="java4">new </span><span class="java10">UIWindow</span><span class="java8">(</span><span class="java10">rect</span><span class="java8">)</span><span class="java10">;<br />
                    
142&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; window.orderFront</span><span class="java8">(</span><span class="java4">this</span><span class="java8">)</span><span class="java10">;<br />
                    
147&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; window.setContentView</span><span class="java8">(</span><span class="java10">mainView</span><span class="java8">)</span><span class="java10">;<br />
                    
148&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; UITextLabel _title = </span><span class="java4">new </span><span class="java10">UITextLabel</span><span class="java8">(</span><span class="java10">rect</span><span class="java8">)</span><span class="java10">;<br />
                    
149&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; _title.setText</span><span class="java8">(</span><span class="java5">&#34;Hello World!&#34;</span><span class="java8">)</span><span class="java10">;<br />
                    
153<br />
                    
154&#xA0;&#xA0;&#xA0; </span><span class="java4">public static </span><span class="java9">void </span><span class="java10">main</span><span class="java8">(</span><span class="java10">String</span><span class="java8">[] </span><span class="java10">args</span><span class="java8">)<br />
                    
155&#xA0;&#xA0;&#xA0; {<br />
                    
155&#xA0;&#xA0;&#xA0; {<br />
                    
156&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; </span><span class="java10">UIApplication.main</span><span class="java8">(</span><span class="java10">args, HelloWorld.</span><span class="java4">class</span><span class="java8">)</span><span class="java10">;<br />
                    
157&#xA0;&#xA0;&#xA0; </span><span class="java8">}<br />
                    
                
hello_world.wsdl https://github.com/nsaputro/cxf.git | Web Services Description Language | 245 lines
                    
19-->
                    
20<wsdl:definitions name="HelloWorld" targetNamespace="http://apache.org/hello_world" 
                    
21    xmlns="http://schemas.xmlsoap.org/wsdl/" 
                    
184                   
                    
185                   <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
                    
186                   <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61616"/>
                    
                
futures.rst https://github.com/andreum/akka.git | ReStructuredText | 269 lines
                    
1.. _futures-java:
                    
2
                    
2
                    
3Futures (Java)
                    
4===============
                    
21
                    
22.. code-block:: java
                    
23
                    
33
                    
34.. code-block:: java
                    
35
                    
37  import static akka.dispatch.Futures.future;
                    
38  import java.util.concurrent.Callable;
                    
39
                    
46
                    
47In the above code the block passed to ``future`` will be executed by the default ``Dispatcher``, with the return value of the block used to complete the ``Future`` (in this case, the result would be the string: "HelloWorld"). Unlike a ``Future`` that is returned from an ``UntypedActor``, this ``Future`` is properly typed, and we also avoid the overhead of managing an ``UntypedActor``.
                    
48
                    
                
TestPluginSystem.java https://github.com/ufwebadmin/nutch.git | Java | 282 lines
                    
19
                    
20import java.io.File;
                    
21import java.io.FileNotFoundException;
                    
21import java.io.FileNotFoundException;
                    
22import java.io.FileOutputStream;
                    
23import java.io.FileWriter;
                    
23import java.io.FileWriter;
                    
24import java.io.IOException;
                    
25import java.util.LinkedList;
                    
25import java.util.LinkedList;
                    
26import java.util.Locale;
                    
27import java.util.Properties;
                    
56    /*
                    
57     * (non-Javadoc)
                    
58     * 
                    
                
futures.rst https://github.com/migue/akka.git | ReStructuredText | 292 lines
                    
10used to retrieve the result of some concurrent operation. This result can be accessed synchronously (blocking)
                    
11or asynchronously (non-blocking). To be able to use this from Java, Akka provides a java friendly interface
                    
12in ``akka.dispatch.Futures``.
                    
21
                    
22.. includecode:: code/docs/future/FutureDocTest.java
                    
23   :include: imports1,imports7
                    
24
                    
25.. includecode:: code/docs/future/FutureDocTest.java
                    
26   :include: diy-execution-context
                    
147
                    
148.. includecode:: code/docs/future/FutureDocTest.java
                    
149   :include: flat-map
                    
248
                    
249.. includecode:: code/docs/future/FutureDocTest.java
                    
250   :include: fallback-to
                    
                
ajax_search.md https://github.com/sophsec/sophsec.github.io.git | Markdown | 245 lines
                    
15The [Google AJAX Search API](http://code.google.com/apis/ajaxsearch/)
                    
16is a Javascript library that allows web-developers to embed Google Search
                    
17dialogues into web-pages. The API utilizes a publically exposed RESTful
                    
18web-service which returns the search results in
                    
19[JSON (Javascript Serialization Object Notation)][http://www.json.org/]
                    
20format. This fact makes the API particularly easy to interface with in
                    
20format. This fact makes the API particularly easy to interface with in
                    
21non-Javascript environments. 
                    
22
                    
43disecting is the
                    
44[Simple Search Box](http://www.google.com/uds/samples/apidocs/helloworld.html).
                    
45
                    
152
                    
153Wow, that's a huge chunk of Javascript. Clearly this is a Javascript
                    
154callback to update the Search dialogue with the JSON Hash containing the
                    
                
index.js https://gitlab.com/losch/react-presentation | JavaScript | 215 lines
                    
4import MarkdownComponent from '../../components/MarkdownComponent';
                    
5import { HelloWorldEs6Func } from './components/HelloWorld';
                    
6import Soap from './props-and-state/Soap';
                    
33            { <MarkdownComponent
                    
34              contents={'```javascript\n' + src + '\n```'}/> }
                    
35          </div>
                    
47            { <MarkdownComponent
                    
48              contents={'```javascript\n' + src + '\n```'}/> }
                    
49          </div>
                    
74  () => <MarkdownComponent contents={require('raw-loader!./components/3-demo-1-2.md')} />,
                    
75  () => <div className="mui-panel example-panel"><HelloWorldEs6Func /></div>,
                    
76  () => <MarkdownComponent contents={require('raw-loader!./components/3-demo-2-1.md')} />,
                    
                
_index.html https://bitbucket.org/xiangyuan/android_development.git | HTML | 307 lines
                    
16<dl>
                    
17  <dt><a href="HelloWorld.html">Hello World</a></dt>
                    
18  <dd>Demonstrates a basic screen activity.
                    
20  <dt>Code:
                    
21  <dd> <a href="HelloWorld.html">HelloWorld.java</a>
                    
22  <dt>Layout:
                    
248  <dt>Code:
                    
249  <dd> <a href="AlarmController.html">AlarmController.java</a>
                    
250  <dd> <a href="OneShotAlarm.html">OneShotAlarm.java</a>
                    
250  <dd> <a href="OneShotAlarm.html">OneShotAlarm.java</a>
                    
251  <dd> <a href="RepeatingAlarm.html">RepeatingAlarm.java</a>
                    
252  <dt>Layout:
                    
263  <dt>Code:
                    
264  <dd> <a href="AlarmService.html">AlarmService.java</a>
                    
265  <dd> <a href="AlarmService_Service.html">AlarmService_Service.java</a>
                    
                
WebServiceClient.java http://jwebsocket.googlecode.com/svn/trunk/ | Java | 236 lines
                    
1/*
                    
2 * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
                    
3 * Copyright (C) 2007 - Javolution (http://javolution.org/)
                    
10
                    
11import java.io.IOException;
                    
12
                    
12
                    
13import java.lang.CharSequence;
                    
14import java.lang.UnsupportedOperationException;
                    
43 *     }
                    
44 *     WebServiceClient ws = new HelloWorld().setAddress("http://acme.com:80/HelloWorld.jws");
                    
45 *     ws.invoke();
                    
122            /**/    
                    
123            java.net.HttpURLConnection http = (java.net.HttpURLConnection) 
                    
124               ((java.net.URL)_url).openConnection();
                    
                
Upload_test.php https://bitbucket.org/saifshuvo/codeigniter.git | PHP | 268 lines
                    
61		$dir = 'uploads';
                    
62		$isnew = 'helloworld.txt';
                    
63		$exists = 'hello-world.txt';
                    
224		$this->ci_vfs_create($file2, '', $this->ci_vfs_root, $dir);
                    
225		$this->ci_vfs_create($file3, '<script type="text/javascript">alert("Boo! said the billy goat")</script>', $this->ci_vfs_root, $dir);
                    
226
                    
                
project.properties https://github.com/shaeberling/xmlvm.git | Properties File | 181 lines
                    
33dist.jar=${dist.dir}/XMLVM.jar
                    
34dist.javadoc.dir=${dist.dir}/javadoc
                    
35endorsed.classpath=
                    
51file.reference.commons-logging-api-1.1.jar=../../lib/commons-logging-api-1.1.jar
                    
52file.reference.compat-lib-java=../../src/xmlvm2objc/compat-lib/java
                    
53file.reference.csharp-src=../../plugins/csharp/src
                    
64file.reference.ihelloworld-portrait=../../demo/iphone/ihelloworld/portrait
                    
65file.reference.ihelloworld-upsidedown=../../demo/iphone/ihelloworld/upsidedown
                    
66file.reference.ios-src=../../plugins/ios/src
                    
70file.reference.jakarta-regexp.jar=../../lib/jakarta-regexp.jar
                    
71file.reference.javascript-src=../../plugins/javascript/src
                    
72file.reference.jdom.jar=../../lib/jdom.jar
                    
167src.ios.dir=${file.reference.acl-ios}
                    
168src.java.dir=${file.reference.compat-lib-java}
                    
169src.src.dir=${file.reference.c-src}
                    
                
active_admin.rb https://gitlab.com/adamlwalker/resume | Ruby | 246 lines
                    
28  #
                    
29  # This will create resources in the HelloWorld module and
                    
30  # will namespace routes to /hello_world/*
                    
166
                    
167  # == Register Stylesheets & Javascripts
                    
168  #
                    
169  # We recommend using the built in Active Admin layout and loading
                    
170  # up your own stylesheets / javascripts to customize the look
                    
171  # and feel.
                    
179  # To load a javascript file:
                    
180  #   config.register_javascript 'my_javascript.js'
                    
181
                    
                
TestTomcat.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 315 lines
                    
18
                    
19import java.io.File;
                    
20import java.io.IOException;
                    
20import java.io.IOException;
                    
21import java.io.InputStream;
                    
22import java.io.InputStreamReader;
                    
22import java.io.InputStreamReader;
                    
23import java.io.Reader;
                    
24import java.net.URL;
                    
24import java.net.URL;
                    
25import java.net.URLConnection;
                    
26import java.security.Principal;
                    
26import java.security.Principal;
                    
27import java.util.HashMap;
                    
28import java.util.Map;
                    
                
WSInfo.java https://bitbucket.org/lp/programming-multiactivities.git | Java | 255 lines
                    
3 *
                    
4 * ProActive Parallel Suite(TM): The Java(TM) library for
                    
5 *    Parallel, Distributed, Multi-Core Computing for
                    
38
                    
39import java.io.Serializable;
                    
40import java.net.MalformedURLException;
                    
40import java.net.MalformedURLException;
                    
41import java.net.URL;
                    
42
                    
137     * <br>
                    
138     * "http://localhost:8080/proactive/services/Server_HelloWorld(org.objectweb.proactive.core.component.webservices.CXFWSCaller)"
                    
139     * <br>
                    
141     * <br>
                    
142     * "http://localhost:8080/proactive/services/Server_HelloWorld(CXF)"
                    
143     * <br>
                    
                
HelloWorld.html http://rtag.googlecode.com/svn/trunk/ | HTML | 256 lines
                    
61  <A HREF="../../../index.html?it/polimi/rtag/HelloWorld.html" target="_top"><B>FRAMES</B></A>  &nbsp;
                    
62&nbsp;<A HREF="HelloWorld.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
63&nbsp;<SCRIPT type="text/javascript">
                    
99<DL>
                    
100<DT><PRE>public class <B>HelloWorld</B><DT>extends java.lang.Object</DL>
                    
101</PRE>
                    
116<TR BGCOLOR="white" CLASS="TableRowColor">
                    
117<TD><CODE><B><A HREF="../../../it/polimi/rtag/HelloWorld.html#HelloWorld()">HelloWorld</A></B>()</CODE>
                    
118
                    
134<CODE>static&nbsp;void</CODE></FONT></TD>
                    
135<TD><CODE><B><A HREF="../../../it/polimi/rtag/HelloWorld.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
                    
136
                    
140</TABLE>
                    
141&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
                    
142<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
                    
                
PipedWriterTest.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 472 lines
                    
75	/**
                    
76     * @tests java.io.PipedWriter#PipedWriter(java.io.PipedReader)
                    
77     */
                    
78    public void test_ConstructorLjava_io_PipedReader() throws Exception {
                    
79        // Test for method java.io.PipedWriter(java.io.PipedReader)
                    
80        char[] buf = new char[10];
                    
112    /**
                    
113     * @tests java.io.PipedWriter#connect(java.io.PipedReader)
                    
114     */
                    
115    public void test_connectLjava_io_PipedReader() throws Exception {
                    
116        // Test for method void java.io.PipedWriter.connect(java.io.PipedReader)
                    
117        char[] buf = new char[10];
                    
134    public void test_flush() throws Exception {
                    
135        // Test for method void java.io.PipedWriter.flush()
                    
136        char[] buf = new char[10];
                    
                
ResteasyScanResourcesTestCase.java https://bitbucket.org/cprenzberg/wildfly.git | Java | 177 lines
                    
64        return ShrinkWrap.create(WebArchive.class, depNameTrue + ".war")
                    
65                .addClasses(ResteasyScanResourcesTestCase.class, HelloWorldResource.class)
                    
66                .setWebXML(webXmlWithMapping("resteasy.scan.resources", "true"));
                    
71        return ShrinkWrap.create(WebArchive.class, depNameFalse + ".war")
                    
72                .addClasses(ResteasyScanResourcesTestCase.class, HelloWorldResource.class)
                    
73                .setWebXML(webXmlWithMapping("resteasy.scan.resources", "false"));
                    
85        return ShrinkWrap.create(WebArchive.class, depNameTrueApp + ".war")
                    
86                .addClasses(ResteasyScanResourcesTestCase.class, HelloWorldResource.class, HelloWorldApplication.class)
                    
87                .setWebXML(webXml("resteasy.scan.resources", "true"));
                    
92        return ShrinkWrap.create(WebArchive.class, depNameFalseApp + ".war")
                    
93                .addClasses(ResteasyScanResourcesTestCase.class, HelloWorldResource.class, HelloWorldApplication.class)
                    
94                .setWebXML(webXml("resteasy.scan.resources", "false"));
                    
99        return ShrinkWrap.create(WebArchive.class, depNameInvalidApp + ".war")
                    
100                .addClasses(ResteasyScanResourcesTestCase.class, HelloWorldResource.class, HelloWorldApplication.class)
                    
101                .setWebXML(webXml("resteasy.scan.resources", "blah"));
                    
                
HelloWorld.html https://github.com/aleneum/idac.git | HTML | 374 lines
                    
6<TITLE>
                    
7HelloWorld (Javadocs: totemtoolkit)
                    
8</TITLE>
                    
17    if (location.href.indexOf('is-external=true') == -1) {
                    
18        parent.document.title="HelloWorld (Javadocs: totemtoolkit)";
                    
19    }
                    
97<DL>
                    
98<DT><PRE>public class <B>HelloWorld</B><DT>extends java.lang.Object</DL>
                    
99</PRE>
                    
156<TR BGCOLOR="white" CLASS="TableRowColor">
                    
157<TD><CODE><B><A HREF="../template/HelloWorld.html#HelloWorld(PApplet)">HelloWorld</A></B>(PApplet&nbsp;theParent)</CODE>
                    
158
                    
256  size(400,400);
                    
257  HelloWorld hello = new HelloWorld(this);
                    
258  println(hello.getVariable());
                    
                
PipedWriterTest.java https://gitlab.com/cde/debian_android-tools_android-platform-libcore | Java | 477 lines
                    
72    /**
                    
73     * java.io.PipedWriter#PipedWriter(java.io.PipedReader)
                    
74     */
                    
75    public void test_ConstructorLjava_io_PipedReader() throws Exception {
                    
76        // Test for method java.io.PipedWriter(java.io.PipedReader)
                    
77        char[] buf = new char[10];
                    
109    /**
                    
110     * java.io.PipedWriter#connect(java.io.PipedReader)
                    
111     */
                    
112    public void test_connectLjava_io_PipedReader() throws Exception {
                    
113        // Test for method void java.io.PipedWriter.connect(java.io.PipedReader)
                    
114        char[] buf = new char[10];
                    
131    public void test_flush() throws Exception {
                    
132        // Test for method void java.io.PipedWriter.flush()
                    
133        char[] buf = new char[10];
                    
                
FinExtDynamicClass.as https://github.com/changm/tessa.git | ActionScript | 250 lines
                    
54var SECTION = "Definitions\Ext";       			// provide a document reference (ie, ECMA section)
                    
55var VERSION = "AS3";  					// Version of JavaScript or ECMA
                    
56var TITLE   = "Final Class Extends Dynamic Class Default Methods";      // Provide ECMA section title or a description
                    
69 *
                    
70 * var helloWorld = "Hello World";
                    
71 *
                    
72 * AddTestCase(
                    
73 * "var helloWorld = 'Hello World'",   // description of the test
                    
74 *  "Hello World",                     // expected result
                    
74 *  "Hello World",                     // expected result
                    
75 *  helloWorld );                      // actual result
                    
76 *
                    
                
tools.tex https://gitlab.com/essere.lab.public/qualitas.class-corpus | LaTeX | 134 lines
                    
5\subsection{javap}
                    
6{\tt javap} lists the contents of a Java classfile. 
                    
7It's particularly bad at displaying corrupted 
                    
51    ;
                    
52    ; standard initializer (calls java.lang.Object's initializer)
                    
53    ;
                    
62    ;
                    
63    .method public static main([Ljava/lang/String;)V
                    
64       .limit stack 2   ; up to two items can be pushed
                    
66       ; push System.out onto the stack
                    
67       getstatic java/lang/System/out Ljava/io/PrintStream;
                    
68
                    
72       ; call the PrintStream.println() method.
                    
73       invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
                    
74
                    
                
README.md https://gitlab.com/ThomasHunt3r/jboss-eap-quickstarts | Markdown | 224 lines
                    
17
                    
18* A queue named `HELLOWORLDMDBQueue` bound in JNDI as `java:/queue/HELLOWORLDMDBQueue`
                    
19* A topic named `HELLOWORLDMDBTopic` bound in JNDI as `java:/topic/HELLOWORLDMDBTopic`
                    
26
                    
27All you need to build this project is Java 6.0 (Java SDK 1.6) or later, Maven 3.0 or later.
                    
28
                    
63        14:11:01,060 INFO org.jboss.as.ejb3 JBAS014142: Started message driven bean 'HelloWorldQTopicMDB' with 'hornetq-ra' resource adapter
                    
64        14:11:01,070 INFO org.jboss.as.messaging JBAS011601: Bound messaging object to jndi name java:/topic/HELLOWORLDMDBTopic
                    
65
                    
150
                    
151The create command creates a git repository in the current directory with the same name as the application, in this case, `helloworldmdb`. Notice that the output also reports the URL at which the application can be accessed. Make sure it is available by typing the published url <http://helloworldmdb-YOUR_DOMAIN_NAME.rhcloud.com/> into a browser or use command line tools such as curl or wget. Be sure to replace `YOUR_DOMAIN_NAME` with your OpenShift account domain name.
                    
152        
                    
186* <http://helloworldmdb-YOUR_DOMAIN_NAME.rhcloud.com/> to send messages to the queue
                    
187* <http://helloworldmdb-YOUR_DOMAIN_NAME.rhcloud.com/HelloWorldMDBServletClient?topic> to send messages to the topic
                    
188
                    
                
CloudEnvironment.java git://github.com/cloudfoundry/vcap-java.git | Java | 290 lines
                    
2
                    
3import java.lang.reflect.Constructor;
                    
4import java.util.ArrayList;
                    
4import java.util.ArrayList;
                    
5import java.util.HashMap;
                    
6import java.util.HashSet;
                    
6import java.util.HashSet;
                    
7import java.util.List;
                    
8import java.util.Map;
                    
8import java.util.Map;
                    
9import java.util.Map.Entry;
                    
10import java.util.Properties;
                    
10import java.util.Properties;
                    
11import java.util.Set;
                    
12
                    
                
package-summary.html http://rtag.googlecode.com/svn/trunk/ | HTML | 222 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_22) on Sun Sep 25 22:02:38 CEST 2011 -->
                    
6<TITLE>
                    
13
                    
14<SCRIPT type="text/javascript">
                    
15function windowTitle()
                    
62&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
63&nbsp;<SCRIPT type="text/javascript">
                    
64  <!--
                    
143<TR BGCOLOR="white" CLASS="TableRowColor">
                    
144<TD WIDTH="15%"><B><A HREF="../../../it/polimi/rtag/HelloWorld.html" title="class in it.polimi.rtag">HelloWorld</A></B></TD>
                    
145<TD>&nbsp;</TD>
                    
199&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
200&nbsp;<SCRIPT type="text/javascript">
                    
201  <!--
                    
                
dispatch-filters.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 245 lines
                    
35``AssetDispatcher`` is meant to check whether the request is referring to a theme
                    
36or plugin asset file, such as a CSS, JavaScript or image stored on either a
                    
37plugin's webroot folder or the corresponding one for a Theme. It will serve the
                    
130    App::uses('DispatcherFilter', 'Routing');
                    
131    class HelloWorldFilter extends DispatcherFilter {
                    
132
                    
146
                    
147This class should be saved in a file in ``app/Routing/Filter/HelloWorldFilter.php``
                    
148and configured in the bootstrap file according to how it was explained in the
                    
                
HelloWorld.html https://github.com/derickbailey/qedserver.git | HTML | 145 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_22) on Thu Nov 11 09:12:14 EST 2010 -->
                    
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
                    
7<TITLE>
                    
8Uses of Class com.acme.HelloWorld (Jetty Server Project 6.1.26 API)
                    
9</TITLE>
                    
12
                    
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../javadoc.css" TITLE="Style">
                    
14
                    
14
                    
15<SCRIPT type="text/javascript">
                    
16function windowTitle()
                    
18    if (location.href.indexOf('is-external=true') == -1) {
                    
19        parent.document.title="Uses of Class com.acme.HelloWorld (Jetty Server Project 6.1.26 API)";
                    
20    }
                    
                
ZipOutputStreamTest.java https://gitlab.com/cde/debian_android-tools_android-platform-libcore | Java | 292 lines
                    
22import java.io.FileOutputStream;
                    
23import java.io.IOException;
                    
24import java.util.zip.CRC32;
                    
37
                    
38    static final String data = "HelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorld";
                    
39
                    
40    /**
                    
41     * java.util.zip.ZipOutputStream#close()
                    
42     */
                    
92    /**
                    
93     * java.util.zip.ZipOutputStream#putNextEntry(java.util.zip.ZipEntry)
                    
94     */
                    
115    /**
                    
116     * java.util.zip.ZipOutputStream#setComment(java.lang.String)
                    
117     */
                    
                
ClassDataTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 264 lines
                    
39	{
                    
40		a.setSourceFileName("com/example/HelloWorld.java");
                    
41		b.setSourceFileName("com/example/HelloWorld.java");
                    
41		b.setSourceFileName("com/example/HelloWorld.java");
                    
42		c.setSourceFileName("com/example/HelloWorld.java");
                    
43		defPckg.setSourceFileName("DefaultPackageClass.java");
                    
138		assertEquals("com.example", a.getPackageName());
                    
139		assertEquals("com.example.HelloWorld", a.getName());
                    
140		
                    
229		a.setSourceFileName(null);
                    
230		assertEquals("com/example/HelloWorld.java", a.getSourceFileName());
                    
231		a.setSourceFileName("HelloWorld.java");
                    
231		a.setSourceFileName("HelloWorld.java");
                    
232		assertEquals("com/example/HelloWorld.java", a.getSourceFileName());
                    
233
                    
                
ExclusiveBind.java https://github.com/ikeji/openjdk7-jdk.git | Java | 171 lines
                    
28 *
                    
29 * @build VMConnection ExclusiveBind HelloWorld
                    
30 * @run main ExclusiveBind
                    
31 */
                    
32import java.io.InputStream;
                    
33import java.io.IOException;
                    
33import java.io.IOException;
                    
34import java.io.File;
                    
35import java.net.ServerSocket;
                    
39import com.sun.jdi.connect.AttachingConnector;
                    
40import java.util.Map;
                    
41import java.util.List;
                    
41import java.util.List;
                    
42import java.util.Iterator;
                    
43
                    
                
RunningExtendedAppletSamples.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 32 lines
                    
6  <title>Run HelloWorld Extended Applet Sample - Java Card 3 Development
                    
7   </title></head><body class="body"><a name="RunningExtendedAppletSamples"></a><h2>Run <tt>HelloWorld</tt> Extended Applet Sample</h2><p class="p">This <tt>HelloWorld</tt> sample demonstrates the basic structure of a Java Card 3 platform
                    
8extended applet that developers can use to develop, deploy, create, execute, delete, and unload
                    
10and meta-files. This sample contains one project that demonstrates the function of an
                    
11extended applet.</p><p class="p">Running the sample consists of using the IDE to start the <tt>HelloWorld</tt>
                    
12applet. When running, the project installs the applet, processes an incoming APDU, and responds
                    
15<h2>Before You Begin</h2>
                    
16<p class="p">Before performing the following procedure, either download and install the Java Card 3
                    
17Development Kit, Connected Edition on your development system or download the sample from
                    
17Development Kit, Connected Edition on your development system or download the sample from
                    
18the Kenai Java Card 3 repository. See <a href="GetAdditionalExtendedAppletSamples.html">Getting Additional Extended Applet Samples</a> for instructions required to download samples
                    
19from the Kenai Java Card 3 repository.</p>
                    
25<li><b>Click File &#62; Open Project in the main window.</b></li>
                    
26<li><b>Go to the <b></b><tt>\samples\extended_applets </tt>folder and open the <tt>HelloWorld</tt> project.</b></li>
                    
27<li><b>Click the run button in the main window. </b><p>The IDE compiles, builds, and runs the sample. When the sample runs, it
                    
                
OldJarURLConnectionTest.java https://github.com/MIPS/libcore.git | Java | 353 lines
                    
17
                    
18package libcore.java.net;
                    
19
                    
19
                    
20import java.io.BufferedOutputStream;
                    
21import java.io.File;
                    
21import java.io.File;
                    
22import java.io.FileOutputStream;
                    
23import java.io.IOException;
                    
23import java.io.IOException;
                    
24import java.io.InputStream;
                    
25import java.net.JarURLConnection;
                    
25import java.net.JarURLConnection;
                    
26import java.net.MalformedURLException;
                    
27import java.net.URL;
                    
                
index.html https://github.com/aullman/aullman.github.com.git | HTML | 285 lines
                    
116                        * JavaScript QuickStart Guide - http://tokbox.com/opentok/quick-start/
                    
117                        * [JavaScript HelloWorld](http://tokbox.com/opentok/tutorials/hello-world/js/iframe.html?sessionId=2_MX4xMTI3fn5TdW4gT2N0IDIwIDIwOjMzOjAzIFBEVCAyMDEzfjAuNjkzOTA1MjN-) - http://tokbox.com/opentok/tutorials/hello-world/js
                    
118                        * iOS HelloWorld - http://tokbox.com/opentok/tutorials/hello-world/ios/
                    
121                    <section data-markdown>
                    
122                        Client-side JavaScript
                    
123                        --------
                    
124                        
                    
125                        ```javascript
                    
126                        var session = TB.initSession(sessionId);
                    
                
app-engine-part-1.md https://gitlab.com/learn-co-curriculum/cssi-teacher-bootcamp | Markdown | 121 lines
                    
4* Platform as a Service (Paas) to build/run applications hosted on Google's servers
                    
5* App Engine connects the back-end (the Python scripts) and front-end (the HTML/CSS/JavaScript) for you with minimal work on your end
                    
6
                    
68    <h1>Hello World!</h1>
                    
69    <img height="100px" width="150px" src="https://blackgeoscientists.files.wordpress.com/2014/06/helloworld.jpg" alt="A cute Pic of a Dude on the World">
                    
70    <h2>How are ya?</h2>
                    
98    jinja_environment = jinja2.Environment(
                    
99      loader=jinja2.FileSystemLoader(os.path.dirname(__file__)))#this little bit sets jinja's relative directory to match the directory name(dirname) of the current __file__, in this case, helloworld.py
                    
100    ```
                    
109    jinja_environment = jinja2.Environment(
                    
110      loader=jinja2.FileSystemLoader(os.path.dirname(__file__)))#this little bit sets jinja's relative directory to match the directory name(dirname) of the current __file__, in this case, helloworld.py
                    
111    
                    
                
insert_info_repo.php https://github.com/iptomar/codematch_11-12.git | PHP | 255 lines
                    
9//select databases
                    
10$column_hello= new ColumnFamily($conn,'helloworld');
                    
11$lang='C#';
                    
16$lang= array( 1 =>'Asp(C#)',2=>'BATCH',3=>'C',4=>'ActionScript',5=>'ADA',6=>'AspectJ',7=>'Assembly',8=>'autoIt',9=>'awk',10=>'bash',11=>'C++',12=>'C#',13=>'Caml',
                    
1714=>'CUDA',15=>'CSS',16=>'COBOL',17=>'D',18=>'DIFF',19=>'Erlang',20=>'Fortran',21=>'Groovy',22=>'Haskell',23=>'HTML',24=>'InnoSetup',25=>'Java'
                    
18,26=>'JavaScript',27=>'JSP',28=>'KiXtart',29=>'LISP',30=>'Lua',31=>'Matlab',32=>'NSIS',33=>'Objective-C',34=>'Pascal',35=>'Perl',36=>'Php',37=>'Portugol'
                    
23$helloo= array( 1 =>'<%@ Page Language="C#" %><br><% Response.write("Hello World!");%>',2=>'@echo Hello World!',3=>'#include <stdio.h><br>main()<br>{<br>printf ("Hello World!\n");<br>}',4=>'trace ("Hello World!")',5=>'with Ada.Text_IO; <br>
                    
24procedure helloWorld is<br>
                    
25begin<br>
                    
27  Ada.Text_IO.New_Line; <br>
                    
28end helloWorld; 
                    
29',6=>'public aspect HelloFromAspectJ {<br>
                    
53{<br>
                    
54   class HelloWorldApp<br>
                    
55   {<br>
                    
                
Main.java https://gitlab.com/androidopensourceproject/platform-art | Java | 235 lines
                    
16
                    
17import java.util.ArrayList;
                    
18import java.util.Arrays;
                    
18import java.util.Arrays;
                    
19import java.util.Iterator;
                    
20import java.util.List;
                    
132        thread.start();
                    
133        thread.setName("HelloWorld");  // b/17302037 hang if setName called after start
                    
134        if (!thread.getName().equals("HelloWorld")) {
                    
137        thread.join();
                    
138        if (!thread.getName().equals("HelloWorld")) {
                    
139            throw new AssertionError("Unexpected thread name after join: " + thread.getName());
                    
                
package-summary.html https://github.com/IgorCandido/MIB.git | HTML | 287 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_07) on Fri Mar 13 20:01:46 CET 2009 -->
                    
6<TITLE>
                    
13
                    
14<SCRIPT type="text/javascript">
                    
15function windowTitle()
                    
109<TR BGCOLOR="white" CLASS="TableRowColor">
                    
110<TD WIDTH="15%"><B><A HREF="../../../rice/pastry/testing/DistHelloWorld.html" title="class in rice.pastry.testing">DistHelloWorld</A></B></TD>
                    
111<TD>A hello world example for pastry.</TD>
                    
121<TR BGCOLOR="white" CLASS="TableRowColor">
                    
122<TD WIDTH="15%"><B><A HREF="../../../rice/pastry/testing/HelloWorld.html" title="class in rice.pastry.testing">HelloWorld</A></B></TD>
                    
123<TD>A hello world example for pastry.</TD>
                    
125<TR BGCOLOR="white" CLASS="TableRowColor">
                    
126<TD WIDTH="15%"><B><A HREF="../../../rice/pastry/testing/HelloWorldApp.html" title="class in rice.pastry.testing">HelloWorldApp</A></B></TD>
                    
127<TD>A hello world example for pastry.</TD>
                    
                
README.md https://gitlab.com/avinashmx/WildFly | Markdown | 302 lines
                    
1helloworld-client-ssl: Wildfly mutual SSL(two-way) configuration example
                    
2=======================================================================
                    
23
                    
24All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
                    
25
                    
35
                    
36Certificate Authority, server and client keys can be generated either viua traditional openSSL tool or via cross-paltform java keytool.
                    
37
                    
115
                    
116## Setup CA, server and client keys using Java Keytool
                    
117
                    
176        
                    
177else In case keys and certificates have been generated using java keytool
                    
178
                    
263
                    
2644. This will deploy `target/wildfly-helloworld-client-ssl.war` to the running instance of the server.
                    
265
                    
                
SampleController.java https://gitlab.com/perlilja/spring-boot | Java | 78 lines
                    
18
                    
19import java.util.Collections;
                    
20import java.util.Date;
                    
20import java.util.Date;
                    
21import java.util.LinkedHashMap;
                    
22import java.util.Map;
                    
37	@Autowired
                    
38	private HelloWorldService helloWorldService;
                    
39
                    
43		return Collections.singletonMap("message",
                    
44				this.helloWorldService.getHelloMessage());
                    
45	}
                    
                
RobolectricProcessorTest.java git://github.com/pivotal/robolectric.git | Java | 237 lines
                    
4import static com.google.testing.compile.JavaFileObjects.*;
                    
5import static com.google.testing.compile.JavaSourceSubjectFactory.javaSource;
                    
6import static com.google.testing.compile.JavaSourcesSubjectFactory.javaSources;
                    
12
                    
13import java.io.BufferedReader;
                    
14import java.io.IOException;
                    
14import java.io.IOException;
                    
15import java.io.InputStreamReader;
                    
16import java.util.HashMap;
                    
16import java.util.HashMap;
                    
17import java.util.Map;
                    
18
                    
47          SHADOW_EXTRACTOR_SOURCE,
                    
48          forSourceString("HelloWorld", "final class HelloWorld {}")))
                    
49      .processedWith(new RobolectricProcessor())
                    
                
JDKTimerServiceTest.java https://github.com/esteban-aliverti/drools.git | Java | 175 lines
                    
20import java.io.ObjectInput;
                    
21import java.io.ObjectOutput;
                    
22import java.util.ArrayList;
                    
46        Trigger trigger = new DelayedTrigger( 100 );
                    
47        HelloWorldJobContext ctx = new HelloWorldJobContext( "hello world", timeService);
                    
48        timeService.scheduleJob( new HelloWorldJob(), ctx,  trigger);
                    
59        Trigger trigger = new DelayedTrigger(  new long[] { 100, 100, 100} );
                    
60        HelloWorldJobContext ctx = new HelloWorldJobContext( "hello world", timeService);
                    
61        timeService.scheduleJob( new HelloWorldJob(), ctx,  trigger);
                    
73        Trigger trigger = new DelayedTrigger(  new long[] {100, 100, 100, 100, 100, 100, 100, 100} ); 
                    
74        HelloWorldJobContext ctx = new HelloWorldJobContext( "hello world", timeService);
                    
75        ctx.setLimit( 3 );
                    
83        public void execute(JobContext c) {
                    
84            HelloWorldJobContext ctx = (HelloWorldJobContext) c;
                    
85            int counter = ctx.increaseCounter();
                    
                
index.html https://github.com/Seldaiendil/meyeOS.git | HTML | 237 lines
                    
11    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
                    
12    <script type="text/javascript">
                    
13      var DOCUMENTATION_OPTIONS = {
                    
20    </script>
                    
21    <script type="text/javascript" src="_static/jquery.js"></script>
                    
22    <script type="text/javascript" src="_static/underscore.js"></script>
                    
22    <script type="text/javascript" src="_static/underscore.js"></script>
                    
23    <script type="text/javascript" src="_static/doctools.js"></script>
                    
24    <link rel="top" title="qooxdoo v1.5 documentation" href="#" />
                    
86<li class="toctree-l2"><a class="reference internal" href="pages/getting_started/requirements.html">Requirements</a></li>
                    
87<li class="toctree-l2"><a class="reference internal" href="pages/getting_started/helloworld.html">Hello World - &quot;A must-read introduction&quot;</a></li>
                    
88<li class="toctree-l2"><a class="reference internal" href="pages/getting_started/troubleshooting.html">Troubleshooting</a></li>
                    
226          </div>
                    
227          <script type="text/javascript">$('#searchbox').show(0);</script>
                    
228        </div>
                    
                
samsungtv.html https://github.com/codelahoma/joshfire-framework.git | HTML | 219 lines
                    
23<h3>Hello World with the Editor</h3>
                    
24<p>The SDK editor is a modified Eclipse IDE, you can create a new “Hello World” project by right-clicking on the <code>Apps</code> directory in the left panel and selecting “New Javascript project”. Once done, right click on the project and select “Run emulator”.
                    
25	<figure>
                    
36<ol>
                    
37	<li>We will use the “Hello World” example (<code>examples/helloworld</code>) and the build tools so that it can be executed in the Samsung emulator
                    
38		<figure>
                    
38		<figure>
                    
39			<img src="./samsungtv-helloworld.png">
                    
40			<figcaption>Starting point : just 2 files and a symlink</figcaption>
                    
52		<figure>
                    
53			<img src="./samsungtv-helloworld2.png">
                    
54			<figcaption>Check point : build configuration and result</figcaption>
                    
58		<figure>
                    
59			<img src="./samsungtv-helloworld3.png">
                    
60			<figcaption>Ending point : the Samsung files</figcaption>
                    
                
ResourceHandlerTestBase.java https://gitlab.com/bram1/amdatu-web | Java | 393 lines
                    
15
                    
16import java.io.IOException;
                    
17import java.io.InputStream;
                    
17import java.io.InputStream;
                    
18import java.net.HttpURLConnection;
                    
19import java.net.MalformedURLException;
                    
19import java.net.MalformedURLException;
                    
20import java.net.URL;
                    
21import java.util.Collections;
                    
21import java.util.Collections;
                    
22import java.util.List;
                    
23import java.util.Map;
                    
23import java.util.Map;
                    
24import java.util.Properties;
                    
25import java.util.Scanner;
                    
                
AbstractIntegrationTest.java https://github.com/bosschaert/aries.git | Java | 282 lines
                    
18 */
                    
19package org.apache.aries.samples.blueprint.helloworld.itests;
                    
20
                    
24
                    
25import java.io.BufferedReader;
                    
26import java.io.FileNotFoundException;
                    
26import java.io.FileNotFoundException;
                    
27import java.io.IOException;
                    
28import java.io.InputStream;
                    
28import java.io.InputStream;
                    
29import java.io.InputStreamReader;
                    
30import java.net.HttpURLConnection;
                    
30import java.net.HttpURLConnection;
                    
31import java.net.MalformedURLException;
                    
32import java.net.URL;
                    
                
RestTemplateTests.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 633 lines
                    
18
                    
19import java.io.IOException;
                    
20import java.net.URI;
                    
20import java.net.URI;
                    
21import java.util.Collections;
                    
22import java.util.EnumSet;
                    
22import java.util.EnumSet;
                    
23import java.util.HashMap;
                    
24import java.util.Map;
                    
24import java.util.Map;
                    
25import java.util.Set;
                    
26
                    
266		expect(requestFactory.createRequest(new URI("http://example.com"), HttpMethod.POST)).andReturn(request);
                    
267		String helloWorld = "Hello World";
                    
268		expect(converter.canWrite(String.class, null)).andReturn(true);
                    
                
wsdl_customizationschema_2_0.xsd https://gitlab.com/essere.lab.public/qualitas.class-corpus | XML Schema | 393 lines
                    
118
                    
119    <xs:complexType name="tJavaDoc">
                    
120        <xs:annotation></xs:annotation>
                    
121        <xs:sequence>
                    
122            <xs:element name="javadoc" type="xs:string" minOccurs="0"/>
                    
123        </xs:sequence>
                    
199                                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                    
200                                xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
                    
201                                xmlns:jaxb="http://java.sun.com/xml/ns/jaxb">
                    
201                                xmlns:jaxb="http://java.sun.com/xml/ns/jaxb">
                    
202                    <!-- Generate async methods in the generated Java endpoint interface for all the portTypes and
                    
203                    operations in the WSDL's scope.  -->
                    
294
                    
295                    <!-- Renames Java method from hello() to helloWorld() -->
                    
296                    <jaxws:bindings node="wsdl:definitions/wsdl:portType[@name='Hello']/wsdl:operation[@name='Hello']">
                    
                
ConfigurationLogic.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 479 lines
                    
5 *
                    
6 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
                    
7 * Other names may be trademarks of their respective owners.
                    
46
                    
47import java.util.List;
                    
48import java.io.File;
                    
48import java.io.File;
                    
49import java.io.FileOutputStream;
                    
50import java.io.IOException;
                    
50import java.io.IOException;
                    
51import java.io.InputStream;
                    
52import java.util.Locale;
                    
52import java.util.Locale;
                    
53import java.util.Map;
                    
54import org.mycompany.wizard.panels.HelloWorldPanel;
                    
                
UtilsTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 371 lines
                    
5 *
                    
6 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
                    
7 * Other names may be trademarks of their respective owners.
                    
47import junit.framework.*;
                    
48import java.lang.reflect.Constructor;
                    
49import java.lang.reflect.Method;
                    
175        str = "hello-world";                                            //NOI18N
                    
176        assertTrue("helloWorld".equals(utils.eleminateHypen(str)));     //NOI18N
                    
177        str = "hello-whole-world";                                      //NOI18N    
                    
188        String str = "hello";                                           //NOI18N
                    
189        Method method = utils.getMethod("java.lang.String", "length");  //NOI18N
                    
190        int length = ((Integer)utils.invoke(str, method)).intValue();
                    
209        Method method = 
                    
210            utils.getMethod("java.lang.String", "replace",              //NOI18N
                    
211                argumentClass);
                    
                
EditHistoryTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 458 lines
                    
5 *
                    
6 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
                    
7 * Other names may be trademarks of their respective owners.
                    
45import org.netbeans.modules.csl.api.EditHistory;
                    
46import java.util.Random;
                    
47import javax.swing.text.Document;
                    
47import javax.swing.text.Document;
                    
48import javax.swing.text.PlainDocument;
                    
49import junit.framework.TestCase;
                    
112        EditHistory history = new EditHistory();
                    
113        String original = "   HelloWorld";
                    
114        Document doc = getDocument(original);
                    
115        //012345678901234567890
                    
116        //   HelloWorld
                    
117        //   He__lloWorld
                    
                
CompositeComponentAttributeTestCase.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 601 lines
                    
25import java.io.StringWriter;
                    
26import java.util.Map;
                    
27
                    
27
                    
28import javax.el.MethodExpression;
                    
29import javax.el.ValueExpression;
                    
34import javax.faces.component.UIInput;
                    
35import javax.faces.component.UINamingContainer;
                    
36import javax.faces.component.UIViewRoot;
                    
265    {
                    
266        HelloWorld helloWorld = new HelloWorld(); 
                    
267        
                    
268        facesContext.getExternalContext().getRequestMap().put("helloWorldBean",
                    
269                helloWorld);
                    
270        
                    
                
RJavaProgram.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 1012 lines
                    
31<p>
                    
32In the context of this discussion, a "Java program" is the IBM i executable object that is created when the CRTJVAPGM (Create Java Program) CL command is run against a class, JAR, or ZIP file.
                    
33
                    
40<li>{@link #FILE_CHANGE FILE_CHANGE}
                    
41<li>{@link #JAVA_PROGRAMS JAVA_PROGRAMS}
                    
42<li>{@link #JAVA_PROGRAM_CREATION JAVA_PROGRAM_CREATION}
                    
62AS400 system = new AS400("MYSYSTEM", "MYUSERID", "MYPASSWORD");
                    
63RJavaProgram javaProgram = new RJavaProgram(system, "/home/mydir/HelloWorld.class");
                    
64<br>
                    
68// Set the enable peformance collection attribute value to full.
                    
69javaProgram.setAttributeValue(RJavaProgram.ENABLE_PERFORMANCE_COLLECTION, RJavaProgram.ENABLE_PERFORMANCE_COLLECTION_FULL);
                    
70<br>
                    
170        attributes_.add(CLASSES_WITH_CURRENT_JAVA_PROGRAMS, Integer.class, true);
                    
171        getterMap_.add(CLASSES_WITH_CURRENT_JAVA_PROGRAMS, QJVAMAT_, "receiverVariable.numberOfClassesWithCurrentJavaPrograms");
                    
172    }
                    
                
JavaProgram.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 667 lines
                    
4//                                                                             
                    
5// Filename: JavaProgram.java
                    
6//                                                                             
                    
25<p>
                    
26In the context of this discussion, a "Java program" is the IBM i executable object that is created when the CRTJVAPGM (Create Java Program) CL command is run against a class, JAR, or ZIP file.
                    
27<br>
                    
27<br>
                    
28Using the JavaProgram class, you can obtain the following information about an IBM i Java program:
                    
29<ul>
                    
54<blockquote><pre>
                    
55// Create a JavaProgram object to refer to a specific Java program.
                    
56AS400 system = new AS400("MYSYSTEM", "MYUSERID", "MYPASSWORD");
                    
56AS400 system = new AS400("MYSYSTEM", "MYUSERID", "MYPASSWORD");
                    
57JavaProgram javaProgram = new JavaProgram(system, "/home/mydir/HelloWorld.class");
                    
58<br>
                    
                
JavaApplicationCall.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 1382 lines
                    
4//
                    
5// Filename: JavaApplicationCall.java
                    
6//
                    
39 * Java Virtual Machine.  Text-based input/output is provided by
                    
40 * JavaApplicationCall.  Input can be sent to the Java program which
                    
41 * will receive the input via standard input (<b><tt>stdin</tt></b>).
                    
207    /**
                    
208     * Constructs a JavaApplicationCall object. The Java program
                    
209     * is on an IBM i <i>system</i>.
                    
223    /**
                    
224     * Constructs a JavaApplicationCall object. The Java program is namee
                    
225     * <i>application</i> and runs on system <i>system</i>.
                    
242    /**
                    
243     * Constructs a JavaApplicationCall object. The Java program is named
                    
244     * <i>application</i> and runs on system <i>system</i>.  <i>
                    
                
AS400JDBCDriver.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 1169 lines
                    
2//                                                                             
                    
3// JTOpen (IBM Toolbox for Java - OSS version)                                 
                    
4//                                                                             
                    
4//                                                                             
                    
5// Filename: AS400JDBCDriver.java
                    
6//                                                                             
                    
15
                    
16import java.beans.PropertyVetoException;	// @B9A
                    
17import java.net.InetAddress;				// @C2A
                    
17import java.net.InetAddress;				// @C2A
                    
18import java.sql.Connection;
                    
19import java.sql.Driver;
                    
19import java.sql.Driver;
                    
20import java.sql.DriverManager;
                    
21import java.sql.DriverPropertyInfo;
                    
                
AS400JDBCDatabaseMetaData.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 1100 lines
                    
4//
                    
5// Filename: AS400JDBCDatabaseMetaData.java
                    
6//
                    
18import java.sql.DatabaseMetaData;
                    
19import java.sql.ResultSet;
                    
20/* ifdef JDBC40 */
                    
25import java.sql.Types;
                    
26import java.util.Vector;                            // @D0A
                    
27
                    
45<pre>
                    
46HELLOWORLD
                    
47HIWORLD
                    
145    static {
                    
146    	String javaVersionString = System.getProperty("java.version");
                    
147    	if (javaVersionString != null) {
                    
                
Scheduler.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 1330 lines
                    
23
                    
24import java.lang.reflect.Constructor;
                    
25import java.security.InvalidParameterException;
                    
25import java.security.InvalidParameterException;
                    
26import java.text.SimpleDateFormat;
                    
27import java.util.Date;
                    
27import java.util.Date;
                    
28import java.util.StringTokenizer;
                    
29import java.util.Vector;
                    
29import java.util.Vector;
                    
30import java.util.Arrays;
                    
31
                    
31
                    
32import javax.management.InstanceNotFoundException;
                    
33import javax.management.MalformedObjectNameException;
                    
                
flash.js https://gitlab.com/essere.lab.public/qualitas.class-corpus | JavaScript | 703 lines
                    
44		If you want to use Flash 6 features for communication between
                    
45		Flash and JavaScript, use the following:
                    
46		
                    
48		
                    
49		Flash 6 is currently the best way to do Flash/JavaScript communication
                    
50		(see the section "Flash Communication" below for further
                    
112		applet; communication back to Flash is accomplished using a getURL
                    
113		call with a javascript protocol handler, such as "javascript:myMethod()".
                    
114		Strengths: the most cross browser, cross platform pre-Flash 8 method
                    
138		class HelloWorld{
                    
139			function HelloWorld(){
                    
140				// Initialize the DojoExternalInterface class
                    
148				
                    
149				// Call some JavaScript
                    
150				DojoExternalInterface.call("someJavaScriptMethod");
                    
                
bcel-30-April-2003.patch https://gitlab.com/essere.lab.public/qualitas.class-corpus | Patch | 1254 lines
                    
47--- src/java/org/apache/bcel/Repository.java	11 Oct 2002 20:34:47 -0000	1.11
                    
48+++ src/java/org/apache/bcel/Repository.java	30 Apr 2003 17:53:51 -0000
                    
49@@ -88,33 +88,32 @@
                    
238 }
                    
239Index: src/java/org/apache/bcel/classfile/JavaClass.java
                    
240===================================================================
                    
240===================================================================
                    
241RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java,v
                    
242retrieving revision 1.13
                    
244--- src/java/org/apache/bcel/classfile/JavaClass.java	11 Jul 2002 19:39:04 -0000	1.13
                    
245+++ src/java/org/apache/bcel/classfile/JavaClass.java	30 Apr 2003 17:53:51 -0000
                    
246@@ -685,9 +685,13 @@
                    
359diff -u -r1.1.1.1 ObjectType.java
                    
360--- src/java/org/apache/bcel/generic/ObjectType.java	29 Oct 2001 20:00:25 -0000	1.1.1.1
                    
361+++ src/java/org/apache/bcel/generic/ObjectType.java	30 Apr 2003 17:53:51 -0000
                    
                
TestPortletInterface.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 465 lines
                    
6
                    
7import java.util.Locale;
                    
8
                    
8
                    
9import javax.portlet.GenericPortlet;
                    
10import javax.portlet.Portlet;
                    
10import javax.portlet.Portlet;
                    
11import javax.portlet.PortletException;
                    
12import javax.servlet.http.HttpServletRequest;
                    
12import javax.servlet.http.HttpServletRequest;
                    
13import javax.servlet.http.HttpServletResponse;
                    
14import org.exoplatform.container.PortalContainer;
                    
52	public void testPortletUnicity() throws Exception {
                    
53		Portlet p1 = proxy.getPortlet(portletContext, "HelloWorld");
                    
54		Portlet p2 = proxy.getPortlet(portletContext, "HelloWorld");
                    
                
TestManyToManyKeyGen.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 606 lines
                    
17
                    
18import java.util.ArrayList;
                    
19import java.util.Collection;
                    
19import java.util.Collection;
                    
20import java.util.Iterator;
                    
21
                    
154        _person1.setSthelse("Something else");
                    
155        _person1.setHelloworld("Hello World!");
                    
156        _db.create(_person1);
                    
169        _person1.setSthelse("Something else");
                    
170        _person1.setHelloworld("Hello World!");
                    
171
                    
176        _person2.setSthelse("Something else");
                    
177        _person2.setHelloworld("Hello World!");
                    
178
                    
                
tutorial-HelloWorldWithAnt.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 517 lines
                    
54<p>The following simple Java class just prints a fixed message out to STDOUT,
                    
55so just write this code into <tt>src\oata\HelloWorld.java</tt>.</p>
                    
56
                    
69md build\classes
                    
70javac -sourcepath src -d build\classes src\oata\HelloWorld.java
                    
71java -cp build\classes oata.HelloWorld
                    
84jar cfm build\jar\HelloWorld.jar myManifest -C build\classes .
                    
85java -jar build\jar\HelloWorld.jar
                    
86</pre>
                    
123    &lt;target name="run"&gt;
                    
124        &lt;java jar="build/jar/HelloWorld.jar" fork="true"/&gt;
                    
125    &lt;/target&gt;
                    
152    -d build\classes
                    
153    src\oata\HelloWorld.java
                    
154echo Main-Class: oata.HelloWorld>mf
                    
                
chapter.tex https://github.com/paranoia25/DockingFrames.git | LaTeX | 200 lines
                    
8\begin{lstlisting}
                    
9import javax.swing.JFrame;
                    
10
                    
15
                    
16public class HelloWorld {
                    
17	public static void main( String[] args ) {
                    
40  \centering
                    
41    \includegraphics[width=0.5\textwidth]{basics/HelloWorld}
                    
42  \caption{The \src{HelloWorld} application.}
                    
                
TMAHandler.java https://bitbucket.org/haris_peco/debrief.git | Java | 868 lines
                    
23
                    
24  static java.text.DecimalFormat df = new java.text.DecimalFormat("0000.0000");
                    
25
                    
25
                    
26  public native void displayHelloWorld();
                    
27  public native double newCalc(double val);
                    
267//      {
                    
268//        fo = new java.io.FileWriter("c:\\asset.rep");
                    
269//      }
                    
391//      // put our diagnostic string on the clipboard
                    
392////      java.awt.datatransfer.Clipboard cb =
                    
393////        java.awt.Toolkit.getDefaultToolkit().
                    
394////        getSystemClipboard();
                    
395////      java.awt.datatransfer.StringSelection contents =
                    
396////        new java.awt.datatransfer.StringSelection(msg);
                    
                
FutureDocTest.java https://github.com/migue/akka.git | Java | 592 lines
                    
17import akka.japi.Function;
                    
18import java.util.concurrent.Callable;
                    
19import static akka.dispatch.Futures.future;
                    
19import static akka.dispatch.Futures.future;
                    
20import static java.util.concurrent.TimeUnit.SECONDS;
                    
21//#imports2
                    
46import static akka.pattern.Patterns.after;
                    
47import java.util.Arrays;
                    
48//#imports8
                    
49
                    
50import java.util.ArrayList;
                    
51import java.util.List;
                    
51import java.util.List;
                    
52import java.util.concurrent.ExecutorService;
                    
53import java.util.concurrent.Executors;
                    
                
SwiftOSXBinaryIntegrationTest.java https://gitlab.com/smartether/buck | Java | 201 lines
                    
39
                    
40import java.io.IOException;
                    
41import java.nio.file.Path;
                    
41import java.nio.file.Path;
                    
42import java.util.Optional;
                    
43
                    
49  @Test
                    
50  public void swiftHelloWorldRunsAndPrintsMessageOnOSX() throws IOException {
                    
51    assumeThat(
                    
55        this,
                    
56        "helloworld",
                    
57        tmp);
                    
75        this,
                    
76        "helloworld",
                    
77        tmp);
                    
                
DigestTest.java https://github.com/ikeji/openjdk7-jdk.git | Java | 242 lines
                    
30
                    
31import java.io.*;
                    
32import java.util.*;
                    
32import java.util.*;
                    
33import java.net.*;
                    
34import java.security.*;
                    
59        "Transfer-encoding: chunked\r\n\r\n"+
                    
60        "B\r\nHelloWorld1\r\n"+
                    
61        "B\r\nHelloWorld2\r\n"+
                    
61        "B\r\nHelloWorld2\r\n"+
                    
62        "B\r\nHelloWorld3\r\n"+
                    
63        "B\r\nHelloWorld4\r\n"+
                    
63        "B\r\nHelloWorld4\r\n"+
                    
64        "B\r\nHelloWorld5\r\n"+
                    
65        "0\r\n"+
                    
                
index.html https://gitlab.com/Guy1394/chap-links-library | HTML | 398 lines
                    
59    Remove the files <b>GreetingService.java</b>, 
                    
60    <b>GreetingServiceAsync.java</b>, <b>GreetingServiceImpl.java</b>, 
                    
61    and <b>FieldVerifier.java</b>.</li>
                    
111    RootPanel.get("txtName").add(txtName);
                    
112    RootPanel.get("btnHelloWorld").add(btnHelloWorld);
                    
113    txtName.setFocus(true);
                    
136    
                    
137    &lt;script type="text/javascript" language="javascript" 
                    
138           src="timelinedemo1/timelinedemo1.nocache.js"&gt;&lt;/script&gt;
                    
256    
                    
257    &lt;script type="text/javascript" language="javascript" 
                    
258           src="timelinedemo1/timelinedemo1.nocache.js"&gt;&lt;/script&gt;
                    
258           src="timelinedemo1/timelinedemo1.nocache.js"&gt;&lt;/script&gt;
                    
259    &lt;script type="text/javascript" language="javascript" src="timeline.js"&gt;&lt;/script&gt;
                    
260
                    
                
HelloWorld4Resource.java https://gitlab.com/jaragan/jersey | Java | 55 lines
                    
10 * obtain a copy of the License at
                    
11 * http://glassfish.java.net/public/CDDL+GPL_1_1.html
                    
12 * or packager/legal/LICENSE.txt.  See the License for the specific
                    
41
                    
42import javax.ws.rs.Path;
                    
43
                    
47@Path("helloworld4")
                    
48public class HelloWorld4Resource extends AbstractHelloWorldResource {
                    
49
                    
                
HelloWorld2Resource.java https://gitlab.com/jaragan/jersey | Java | 55 lines
                    
10 * obtain a copy of the License at
                    
11 * http://glassfish.java.net/public/CDDL+GPL_1_1.html
                    
12 * or packager/legal/LICENSE.txt.  See the License for the specific
                    
41
                    
42import javax.ws.rs.Path;
                    
43
                    
47@Path("helloworld2")
                    
48public class HelloWorld2Resource extends AbstractHelloWorldResource {
                    
49
                    
                
HelloWorld.java https://github.com/tcoraini/Salsa-Apps-Eclipse.git | Java | 314 lines
                    
69		RunTime.receivedMessage();
                    
70		HelloWorld instance = (HelloWorld)new HelloWorld(uan, ual,null).construct();
                    
71		gc.WeakReference instanceRef=new gc.WeakReference(uan,ual);
                    
87	public static ActorReference getReferenceByLocation(String ual)	{ return HelloWorld.getReferenceByLocation(new UAL(ual)); }
                    
88	public HelloWorld(boolean o, UAN __uan)	{ super(false,__uan); }
                    
89	public HelloWorld(boolean o, UAL __ual)	{ super(false,__ual); }
                    
89	public HelloWorld(boolean o, UAL __ual)	{ super(false,__ual); }
                    
90	public HelloWorld(UAN __uan,UniversalActor.State sourceActor)	{ this(__uan, null, sourceActor); }
                    
91	public HelloWorld(UAL __ual,UniversalActor.State sourceActor)	{ this(null, __ual, sourceActor); }
                    
116			    }
                    
117			    createRemotely(__uan, __ual, "examples.helloworld.HelloWorld", sourceRef);
                    
118			  }
                    
205			super(__uan, __ual);
                    
206			addClassName( "examples.helloworld.HelloWorld$State" );
                    
207			addMethodsForClasses();
                    
                
getting-started.zh-CN.md https://gitlab.com/Blueprint-Marketing/react | Markdown | 148 lines
                    
75
                    
76JavaScript 代码里写着 XML 格式的代码称为 JSX;可以去 [JSX 语法](/react/docs/jsx-in-depth.html) 里学习更多 JSX 相关的知识。为了把 JSX 转成标准的 JavaScript,我们用 `<script type="text/babel">` 标签,并引入 Babel 来完成在浏览器里的代码转换。
                    
77
                    
81
                    
82```javascript
                    
83ReactDOM.render(
                    
88
                    
89然后在 `helloworld.html` 引用该文件:
                    
90
                    
91```html{10}
                    
92<script type="text/babel" src="src/helloworld.js"></script>
                    
93```
                    
104
                    
105然后把你的 `src/helloworld.js` 文件转成标准的 JavaScript:
                    
106
                    
                
JsonReaderTest.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 909 lines
                    
18
                    
19import java.io.IOException;
                    
20import java.io.StringReader;
                    
20import java.io.StringReader;
                    
21import java.util.Arrays;
                    
22import junit.framework.TestCase;
                    
76
                    
77    public void testHelloWorld() throws IOException {
                    
78        String json = "{\n" +
                    
                
ObjectInputStreamTest.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 1166 lines
                    
21import java.io.ByteArrayInputStream;
                    
22import java.io.ByteArrayOutputStream;
                    
23import java.io.Externalizable;
                    
23import java.io.Externalizable;
                    
24import java.io.File;
                    
25import java.io.FileInputStream;
                    
32import java.io.ObjectInput;
                    
33import java.io.ObjectInputStream;
                    
34import java.io.ObjectInputValidation;
                    
49import java.util.Hashtable;
                    
50import java.util.Vector;
                    
51
                    
143    /**
                    
144     * @tests java.io.ObjectInputStream#ObjectInputStream(java.io.InputStream)
                    
145     */
                    
                
tutorial.md https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Markdown | 424 lines
                    
61Save this sample code to
                    
62`<git home>/tools/tradefederation/prod-tests/src/com/android/tradefed/example/HelloWorldTest.java`
                    
63and rebuild tradefed from your shell:
                    
78    <configuration description="Runs the hello world test">
                    
79        <test class="com.android.tradefed.example.HelloWorldTest" />
                    
80    </configuration>
                    
85Note that we've specified the full class name of the HelloWorldTest. Save this data to a
                    
86`helloworld.xml` file anywhere on your local filesystem (eg `/tmp/helloworld.xml`).
                    
87
                    
117
                    
118Move the `helloworld.xml` file into 
                    
119`<git root>/tools/tradefederation/prod-tests/res/config/example/helloworld.xml`.
                    
196
                    
197Here's what the HelloWorldTest implementation looks like with a single failed test result.
                    
198
                    
                
StringTest.java https://gitlab.com/brian0218/rk3188_rk3066_r-box_android4.4.2_sdk | Java | 745 lines
                    
104    /**
                    
105     * @tests java.lang.String#String(byte[], int, int, java.lang.String)
                    
106     */
                    
119    /**
                    
120     * @tests java.lang.String#String(byte[], java.lang.String)
                    
121     */
                    
150    /**
                    
151     * @tests java.lang.String#String(java.lang.String)
                    
152     */
                    
158    /**
                    
159     * @tests java.lang.String#String(java.lang.StringBuffer)
                    
160     */
                    
167    /**
                    
168     * @tests java.lang.String#String(java.lang.StringBuilder)
                    
169     */
                    
                
SerializationStressTest1.java https://gitlab.com/brian0218/rk3188_rk3066_r-box_android4.4.2_sdk | Java | 1650 lines
                    
363		// Test for method void
                    
364		// java.io.ObjectOutputStream.writeObject(java.lang.Object)
                    
365
                    
390		// Test for method void
                    
391		// java.io.ObjectOutputStream.writeObject(java.lang.Object)
                    
392
                    
416		// Test for method void
                    
417		// java.io.ObjectOutputStream.writeObject(java.lang.Object)
                    
418
                    
444		// Test for method void
                    
445		// java.io.ObjectOutputStream.writeObject(java.lang.Object)
                    
446
                    
471		// Test for method void
                    
472		// java.io.ObjectOutputStream.writeObject(java.lang.Object)
                    
473
                    
                
String2Test.java https://gitlab.com/brian0218/rk3288_r-box_android4.4.2_sdk | Java | 976 lines
                    
116    /**
                    
117     * @tests java.lang.String#String(byte[], java.lang.String)
                    
118     */
                    
321    public void test_endsWithLjava_lang_String() {
                    
322        // Test for method boolean java.lang.String.endsWith(java.lang.String)
                    
323        assertTrue("Failed to fine ending string", hw1.endsWith("ld"));
                    
326    /**
                    
327     * @tests java.lang.String#equals(java.lang.Object)
                    
328     */
                    
338    /**
                    
339     * @tests java.lang.String#equalsIgnoreCase(java.lang.String)
                    
340     */
                    
342        // Test for method boolean
                    
343        // java.lang.String.equalsIgnoreCase(java.lang.String)
                    
344        assertTrue("lc version returned unequal to uc", hwlc
                    
                
StateMachine.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 1488 lines
                    
28import java.util.ArrayList;
                    
29import java.util.Calendar;
                    
30import java.util.HashMap;
                    
30import java.util.HashMap;
                    
31import java.util.Vector;
                    
32
                    
132 *
                    
133 * <p>Now for some concrete examples, here is the canonical HelloWorld as a state machine.
                    
134 * It responds with "Hello World" being printed to the log for every message.</p>
                    
142
                    
143    public static HelloWorld makeHelloWorld() {
                    
144        HelloWorld hw = new HelloWorld("hw");
                    
158void testHelloWorld() {
                    
159    HelloWorld hw = makeHelloWorld();
                    
160    hw.sendMessage(hw.obtainMessage());
                    
                
StringBuffer2Test.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 610 lines
                    
46	public void test_ConstructorLjava_lang_String() {
                    
47		// Test for method java.lang.StringBuffer(java.lang.String)
                    
48
                    
168	/**
                    
169	 * @tests java.lang.StringBuffer#append(java.lang.Object)
                    
170	 */
                    
172		// Test for method java.lang.StringBuffer
                    
173		// java.lang.StringBuffer.append(java.lang.Object)
                    
174		StringBuffer sb = new StringBuffer();
                    
183	/**
                    
184	 * @tests java.lang.StringBuffer#append(java.lang.String)
                    
185	 */
                    
187		// Test for method java.lang.StringBuffer
                    
188		// java.lang.StringBuffer.append(java.lang.String)
                    
189		StringBuffer sb = new StringBuffer();
                    
                
PluginBase.java https://gitlab.com/Skull3x/Nukkit | Java | 294 lines
                    
12
                    
13import java.io.File;
                    
14import java.io.IOException;
                    
14import java.io.IOException;
                    
15import java.io.InputStream;
                    
16import java.util.LinkedHashMap;
                    
22 * @author MagicDroidX(code) @ Nukkit Project
                    
23 * @author 粉鞋大妈(javadoc) @ Nukkit Project
                    
24 * @see cn.nukkit.plugin.PluginDescription
                    
155    /**
                    
156     * TODO: FINISH JAVADOC
                    
157     */
                    
268     * A full name of a plugin is composed by {@code name+" v"+version}.for example:</p>
                    
269     * <p>{@code HelloWorld v1.0.0}</p>
                    
270     *
                    
                
README.md https://gitlab.com/avinashmx/WildFly | Markdown | 160 lines
                    
2====================
                    
3Summary: The quickstarts demonstrate Java EE 7 and a few additional technologies from the JBoss stack. They provide small, specific, working examples that can be used as a reference for your own project.  
                    
4
                    
50
                    
51* Regardless of your level of expertise, we suggest you start with the **helloworld** quickstart. It is the simplest example and is an easy way to prove your server is configured and started correctly.
                    
52* If you are a beginner or new to JBoss, start with the quickstarts labeled **Beginner**, then try those marked as **Intermediate**. When you are comfortable with those, move on to the **Advanced** quickstarts.
                    
60
                    
61All you need to build these projects is Java 8.0 (Java SDK 1.8) or later and Maven 3.1.1 or later. See [Configure Maven for WildFly 10](https://github.com/jboss-developer/jboss-developer-shared-resources/blob/master/guides/CONFIGURE_MAVEN_JBOSS_EAP7.md#configure-maven-to-build-and-deploy-the-quickstarts) to make sure you are configured correctly for testing the quickstarts.
                    
62
                    
110
                    
111You can verify the quickstarts build using one command. However, quickstarts that have complex dependencies must be skipped. For example, the `resteasy-jaxrs-client` quickstart is a RESTEasy client that depends on the deployment of the _helloworld-rs_ quickstart. As noted above, the root `pom.xml` file defines a `complex-dependencies` profile to exclude these quickstarts from the root build process. 
                    
112
                    
120
                    
121_Note_: If you see a `java.lang.OutOfMemoryError: PermGen space` error when you run this command, increase the memory by typing the following command for your operating system, then try the above command again.
                    
122
                    
                
frame_apps_testrunner.rst https://github.com/Wkasel/qooxdoo.git | ReStructuredText | 190 lines
                    
5
                    
6"Test Runner" is a `unit testing <http://en.wikipedia.org/wiki/Unit_test>`_ framework that fully supports testing qooxdoo classes. It is similar to but does not require JSUnit or any other JavaScript unit testing framework. If you look at the component section of a qooxdoo distribution under ``component/testrunner/``, you will find the Test Runner sources, together with a mockup test class. In the ``framework/`` section you can create a Test Runner instance with all test classes from the qooxdoo framework by running:
                    
7
                    
26
                    
27This section assumes that your qooxdoo application bears on the structure of the qooxdoo :ref:`skeleton <pages/getting_started/helloworld#create_your_application>` application. Then this is what you have to do:
                    
28
                    
150
                    
151This is the default view used for the GUI, Native and Inline skeletons' `test` and `test-source` jobs. It is the most fully-featured and convenient to use, making heavy use of data binding to list available tests in a Virtual Tree and to visualize the results. The downside is that can it feel sluggish in environments with poor JavaScript performance.
                    
152
                    
164
                    
165Even more bare-bones than the HTML view, the Console view features no visual elements other than the Iframe containing the test application. Tests are started using the browser's JavaScript console. This is mostly intended as a base for specialized views.
                    
166
                    
171
                    
172This view visualizes the results of performance tests using the `qx.test.performance.MMeasure <http://demo.qooxdoo.org/%{version}/apiviewer/#qx.test.performance.MMeasure>`_ mixin. Take a look at the tests in the qx.test.performance namespace and the ``test-performance`` job in framework/config.json to see how you can implement performance tests measuring JavaScript execution and HTML rendering time for your application.
                    
173
                    
                
package-tree.html https://github.com/jingchan/jh_rogue.git | HTML | 161 lines
                    
18    if (location.href.indexOf('is-external=true') == -1) {
                    
19        parent.document.title="jme3test.helloworld Class Hierarchy (jMonkeyEngine3)";
                    
20    }
                    
61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
62  <A HREF="../../index.html?jme3test/helloworld/package-tree.html" target="_top"><B>FRAMES</B></A>  &nbsp;
                    
63&nbsp;<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
63&nbsp;<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
64&nbsp;<SCRIPT type="text/javascript">
                    
65  <!--
                    
98<LI TYPE="circle">com.jme3.app.<A HREF="../../com/jme3/app/SimpleApplication.html" title="class in com.jme3.app"><B>SimpleApplication</B></A><UL>
                    
99<LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloAnimation.html" title="class in jme3test.helloworld"><B>HelloAnimation</B></A> (implements com.jme3.animation.<A HREF="../../com/jme3/animation/AnimEventListener.html" title="interface in com.jme3.animation">AnimEventListener</A>)
                    
100<LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloAssets.html" title="class in jme3test.helloworld"><B>HelloAssets</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloAudio.html" title="class in jme3test.helloworld"><B>HelloAudio</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloCollision.html" title="class in jme3test.helloworld"><B>HelloCollision</B></A> (implements com.jme3.input.controls.<A HREF="../../com/jme3/input/controls/ActionListener.html" title="interface in com.jme3.input.controls">ActionListener</A>)
                    
100<LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloAssets.html" title="class in jme3test.helloworld"><B>HelloAssets</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloAudio.html" title="class in jme3test.helloworld"><B>HelloAudio</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloCollision.html" title="class in jme3test.helloworld"><B>HelloCollision</B></A> (implements com.jme3.input.controls.<A HREF="../../com/jme3/input/controls/ActionListener.html" title="interface in com.jme3.input.controls">ActionListener</A>)
                    
101<LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloEffects.html" title="class in jme3test.helloworld"><B>HelloEffects</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloInput.html" title="class in jme3test.helloworld"><B>HelloInput</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloJME3.html" title="class in jme3test.helloworld"><B>HelloJME3</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloLoop.html" title="class in jme3test.helloworld"><B>HelloLoop</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloMaterial.html" title="class in jme3test.helloworld"><B>HelloMaterial</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloNode.html" title="class in jme3test.helloworld"><B>HelloNode</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloPhysics.html" title="class in jme3test.helloworld"><B>HelloPhysics</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloPicking.html" title="class in jme3test.helloworld"><B>HelloPicking</B></A><LI TYPE="circle">jme3test.helloworld.<A HREF="../../jme3test/helloworld/HelloTerrain.html" title="class in jme3test.helloworld"><B>HelloTerrain</B></A></UL>
                    
102</UL>
                    
                
build.properties https://gitlab.com/essere.lab.public/qualitas.class-corpus | Properties File | 159 lines
                    
5#
                    
6# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
                    
7# Other names may be trademarks of their respective owners.
                    
57# name, the path should be 'engine'
                    
58cvs.path=components/products/helloworld
                    
59
                    
                
StateMachine.java https://bitbucket.org/festevezga/xobotos.git | Java | 1496 lines
                    
24
                    
25import java.util.ArrayList;
                    
26import java.util.HashMap;
                    
26import java.util.HashMap;
                    
27import java.util.Vector;
                    
28
                    
124 *
                    
125 * <p>Now for some concrete examples, here is the canonical HelloWorld as a state machine.
                    
126 * It responds with "Hello World" being printed to the log for every message.</p>
                    
134
                    
135    public static HelloWorld makeHelloWorld() {
                    
136        HelloWorld hw = new HelloWorld("hw");
                    
150void testHelloWorld() {
                    
151    HelloWorld hw = makeHelloWorld();
                    
152    hw.sendMessage(hw.obtainMessage());
                    
                
XmlUtilTest.java https://bitbucket.org/pymma/openesb-components.git | Java | 228 lines
                    
9 * You can obtain a copy of the license at
                    
10 * https://open-jbi-components.dev.java.net/public/CDDLv1.0.html.
                    
11 * See the License for the specific language governing
                    
15 * HEADER in each file and include the License file at
                    
16 * https://open-jbi-components.dev.java.net/public/CDDLv1.0.html.
                    
17 * If applicable add the following below this CDDL HEADER,
                    
23/*
                    
24 * @(#)XmlUtilTest.java 
                    
25 *
                    
32
                    
33import java.io.File;
                    
34import java.io.FileInputStream;
                    
34import java.io.FileInputStream;
                    
35import java.io.InputStream;
                    
36import junit.framework.*;
                    
                
HttpServerTestBase.java https://github.com/derickbailey/qedserver.git | Java | 889 lines
                    
16
                    
17import java.io.BufferedReader;
                    
18import java.io.ByteArrayOutputStream;
                    
18import java.io.ByteArrayOutputStream;
                    
19import java.io.IOException;
                    
20import java.io.InputStream;
                    
20import java.io.InputStream;
                    
21import java.io.InputStreamReader;
                    
22import java.io.LineNumberReader;
                    
22import java.io.LineNumberReader;
                    
23import java.io.OutputStream;
                    
24import java.io.PrintWriter;
                    
24import java.io.PrintWriter;
                    
25import java.io.Writer;
                    
26import java.net.Socket;
                    
                
JNDITest.html https://github.com/derickbailey/qedserver.git | HTML | 514 lines
                    
101<DL>
                    
102<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig</DD>
                    
103</DL>
                    
176<CODE>&nbsp;void</CODE></FONT></TD>
                    
177<TD><CODE><B><A HREF="../../com/acme/JNDITest.html#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doGet</A></B>(javax.servlet.http.HttpServletRequest&nbsp;request,
                    
178      javax.servlet.http.HttpServletResponse&nbsp;response)</CODE>
                    
185<CODE>&nbsp;void</CODE></FONT></TD>
                    
186<TD><CODE><B><A HREF="../../com/acme/JNDITest.html#doMail(java.lang.String, java.lang.String)">doMail</A></B>(java.lang.String&nbsp;mailTo,
                    
187       java.lang.String&nbsp;mailFrom)</CODE>
                    
194<CODE>&nbsp;void</CODE></FONT></TD>
                    
195<TD><CODE><B><A HREF="../../com/acme/JNDITest.html#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doPost</A></B>(javax.servlet.http.HttpServletRequest&nbsp;request,
                    
196       javax.servlet.http.HttpServletResponse&nbsp;response)</CODE>
                    
228<CODE>&nbsp;void</CODE></FONT></TD>
                    
229<TD><CODE><B><A HREF="../../com/acme/JNDITest.html#setMyDatasource2(javax.sql.DataSource)">setMyDatasource2</A></B>(javax.sql.DataSource&nbsp;ds)</CODE>
                    
230
                    
                
serialized-form.html https://github.com/derickbailey/qedserver.git | HTML | 1959 lines
                    
100<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
                    
101<B>Class <A HREF="com/acme/CometServlet.html" title="class in com.acme">com.acme.CometServlet</A> extends javax.servlet.http.HttpServlet implements Serializable</B></FONT></TH>
                    
102</TR>
                    
111<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
                    
112<B>Class <A HREF="com/acme/CookieDump.html" title="class in com.acme">com.acme.CookieDump</A> extends javax.servlet.http.HttpServlet implements Serializable</B></FONT></TH>
                    
113</TR>
                    
221<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
                    
222<B>Class <A HREF="com/acme/HelloWorld.html" title="class in com.acme">com.acme.HelloWorld</A> extends javax.servlet.http.HttpServlet implements Serializable</B></FONT></TH>
                    
223</TR>
                    
266<PRE>
                    
267javax.sql.DataSource <B>myDS99</B></PRE>
                    
268<DL>
                    
412<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
                    
413<B>Class <A HREF="org/mortbay/cometd/MessageImpl.html" title="class in org.mortbay.cometd">org.mortbay.cometd.MessageImpl</A> extends java.util.HashMap&lt;java.lang.String,java.lang.Object&gt; implements Serializable</B></FONT></TH>
                    
414</TR>
                    
                
AbstractSimpleTransportTests.java https://github.com/avar/elasticsearch.git | Java | 437 lines
                    
32
                    
33import java.io.IOException;
                    
34import java.util.concurrent.CountDownLatch;
                    
34import java.util.concurrent.CountDownLatch;
                    
35import java.util.concurrent.TimeUnit;
                    
36
                    
68
                    
69    @Test public void testHelloWorld() {
                    
70        serviceA.registerHandler("sayHello", new BaseTransportRequestHandler<StringMessage>() {
                    
168
                    
169    @Test public void testHelloWorldCompressed() {
                    
170        serviceA.registerHandler("sayHello", new BaseTransportRequestHandler<StringMessage>() {
                    
                
TemplateServlet.java https://github.com/groovy/groovy-core.git | Java | 506 lines
                    
24
                    
25import java.io.File;
                    
26import java.io.FileInputStream;
                    
26import java.io.FileInputStream;
                    
27import java.io.IOException;
                    
28import java.io.InputStream;
                    
28import java.io.InputStream;
                    
29import java.io.InputStreamReader;
                    
30import java.io.Reader;
                    
30import java.io.Reader;
                    
31import java.io.Writer;
                    
32import java.net.URL;
                    
32import java.net.URL;
                    
33import java.util.Date;
                    
34import java.util.Map;
                    
                
ScriptToTreeNodeAdapterTest.groovy https://github.com/groovy/groovy-core.git | Groovy | 561 lines
                    
23
                    
24import javax.swing.tree.TreeNode
                    
25import junit.framework.AssertionFailedError
                    
129
                    
130    void testHelloWorld() {
                    
131
                    
136                        startsWith('ExpressionStatement'),
                    
137                        startsWith('Constant - Hello World : java.lang.String')
                    
138                ])
                    
147                        eq('Fields'),
                    
148                        eq('FieldNode - aField : java.lang.Object'),
                    
149                ]
                    
228
                    
229        assertMapEntry(namedArgList.children[0], 'Constant - foo : java.lang.String', 'Constant - bar : java.lang.String')
                    
230        assertMapEntry(namedArgList.children[1], 'Constant - baz : java.lang.String', 'Constant - qux : java.lang.String')
                    
                
lsp-io-test.el https://gitlab.com/vitalii.dr/lsp-mode | Emacs Lisp | 111 lines
                    
76  (let* ((fn (lsp--create-process-message))
                    
77         (message-in "Content-Length: 1152\r\n\r\n{\"jsonrpc\":\"2.0\",\"method\":\"sts/highlight\",\"params\":{\"doc\":{\"version\":0,\"uri\":\"file:///home/kyoncho/Public/Desktop/hellow/hello-world/src/main/java/com/example/helloworld/HelloWorldController.java\"},\"codeLenses\":[{\"range\":{\"start\":{\"line\":9,\"character\":0},\"end\":{\"line\":9,\"character\":11}},\"command\":{\"title\":\"← SampleBean\",\"command\":\"sts.showHoverAtPosition\",\"arguments\":[{\"line\":9,\"character\":0}]},\"data\":\"← SampleBean\"},{\"range\":{\"start\":{\"line\":14,\"character\":4},\"end\":{\"line\":14,\"character\":14}},\"command\":{\"title\":\"← SampleBean\",\"command\":\"sts.showHoverAtPosition\",\"arguments\":[{\"line\":14,\"character\":4}]},\"data\":\"← SampleBean\"},{\"range\":{\"start\":{\"line\":17,\"character\":4},\"end\":{\"line\":17,\"character\":31}},\"command\":{\"title\":\"http://127.0.0.1:8080/hello-world\",\"command\":\"sts.open.url\",\"arguments\":[\"http://127.0.0.1:8080/hello-world\"]},\"data\":\"http://127.0.0.1:8080/hello-world\"},{\"range\":{\"start\":{\"line\":25,\"character\":4},\"end\":{\"line\":25,\"character\":32}},\"command\":{\"title\":\"http://127.0.0.1:8080/hello-world2\",\"command\":\"sts.open.url\",\"arguments\":[\"http://127.0.0.1:8080/hello-world2\"]},\"data\":\"http://127.0.0.1:8080/hello-world2\"}]}}")
                    
78         (messages (funcall fn message-in)))
                    
78         (messages (funcall fn message-in)))
                    
79    (should (equal messages '("{\"jsonrpc\":\"2.0\",\"method\":\"sts/highlight\",\"params\":{\"doc\":{\"version\":0,\"uri\":\"file:///home/kyoncho/Public/Desktop/hellow/hello-world/src/main/java/com/example/helloworld/HelloWorldController.java\"},\"codeLenses\":[{\"range\":{\"start\":{\"line\":9,\"character\":0},\"end\":{\"line\":9,\"character\":11}},\"command\":{\"title\":\"← SampleBean\",\"command\":\"sts.showHoverAtPosition\",\"arguments\":[{\"line\":9,\"character\":0}]},\"data\":\"← SampleBean\"},{\"range\":{\"start\":{\"line\":14,\"character\":4},\"end\":{\"line\":14,\"character\":14}},\"command\":{\"title\":\"← SampleBean\",\"command\":\"sts.showHoverAtPosition\",\"arguments\":[{\"line\":14,\"character\":4}]},\"data\":\"← SampleBean\"},{\"range\":{\"start\":{\"line\":17,\"character\":4},\"end\":{\"line\":17,\"character\":31}},\"command\":{\"title\":\"http://127.0.0.1:8080/hello-world\",\"command\":\"sts.open.url\",\"arguments\":[\"http://127.0.0.1:8080/hello-world\"]},\"data\":\"http://127.0.0.1:8080/hello-world\"},{\"range\":{\"start\":{\"line\":25,\"character\":4},\"end\":{\"line\":25,\"character\":32}},\"command\":{\"title\":\"http://127.0.0.1:8080/hello-world2\",\"command\":\"sts.open.url\",\"arguments\":[\"http://127.0.0.1:8080/hello-world2\"]},\"data\":\"http://127.0.0.1:8080/hello-world2\"}]}}")))))
                    
80
                    
                
SubDeploymentAvailableInClassPathTestCase.java https://github.com/smcgowan/wildfly.git | Java | 200 lines
                    
37import org.jboss.as.test.integration.deployment.classloading.ear.subdeployments.servlet.EjbInvokingServlet;
                    
38import org.jboss.as.test.integration.deployment.classloading.ear.subdeployments.servlet.HelloWorldServlet;
                    
39import org.jboss.as.test.integration.deployment.classloading.ear.subdeployments.servlet.ServletInOtherWar;
                    
42import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
                    
43import org.jboss.shrinkwrap.api.spec.JavaArchive;
                    
44import org.jboss.shrinkwrap.api.spec.WebArchive;
                    
70    public static EnterpriseArchive createEar() {
                    
71        final JavaArchive ejbJar = ShrinkWrap.create(JavaArchive.class, "ejb.jar");
                    
72        ejbJar.addClasses(EJBBusinessInterface.class, SimpleSLSB.class);
                    
91    public static EnterpriseArchive createEarWithMultipleWars() {
                    
92        final JavaArchive ejbJar = ShrinkWrap.create(JavaArchive.class, "ejb.jar");
                    
93        ejbJar.addClasses(EJBBusinessInterface.class, SimpleSLSB.class);
                    
132
                    
133        final String requestURL = BASE_URL + WEB_APP_CONTEXT_ONE + HelloWorldServlet.URL_PATTERN + "?" + HelloWorldServlet.PARAMETER_NAME + "=" + message;
                    
134        final HttpGet request = new HttpGet(requestURL);
                    
                
Android.common_test.mk https://gitlab.com/androidopensourceproject/platform-art | Makefile | 154 lines
                    
26# List of known broken tests that we won't attempt to execute. The test name must be the full
                    
27# rule name such as test-art-host-oat-optimizing-HelloWorld64.
                    
28ART_TEST_KNOWN_BROKEN :=
                    
30# List of known failing tests that when executed won't cause test execution to not finish.
                    
31# The test name must be the full rule name such as test-art-host-oat-optimizing-HelloWorld64.
                    
32ART_TEST_KNOWN_FAILING :=
                    
68# The command checks prints "PASSED" then checks to see if this was a top-level make target (e.g.
                    
69# "mm test-art-host-oat-HelloWorld32"), if it was then it does nothing, otherwise it creates a file
                    
70# to be printed in the passing test summary.
                    
109# $(1): module prefix, e.g. art-test-dex
                    
110# $(2): input test directory in art/test, e.g. HelloWorld
                    
111# $(3): target output module path (default module path is used on host)
                    
112# $(4): additional dependencies
                    
113# $(5): a make variable used to collate target dependencies, e.g ART_TEST_TARGET_OAT_HelloWorld_DEX
                    
114# $(6): a make variable used to collate host dependencies, e.g ART_TEST_HOST_OAT_HelloWorld_DEX
                    
                
WorkflowServiceTest.java https://github.com/chrcz/openengsb-framework.git | Java | 456 lines
                    
33
                    
34import java.util.ArrayList;
                    
35import java.util.HashMap;
                    
35import java.util.HashMap;
                    
36import java.util.List;
                    
37import java.util.Map;
                    
37import java.util.Map;
                    
38import java.util.concurrent.Callable;
                    
39import java.util.concurrent.ExecutorService;
                    
39import java.util.concurrent.ExecutorService;
                    
40import java.util.concurrent.Executors;
                    
41import java.util.concurrent.Future;
                    
41import java.util.concurrent.Future;
                    
42import java.util.concurrent.atomic.AtomicBoolean;
                    
43import java.util.concurrent.atomic.AtomicReference;
                    
                
TrieTest.java https://github.com/ovidiuiliescu/j2mepolish.git | Java | 407 lines
                    
2
                    
3import java.io.ByteArrayInputStream;
                    
4import java.io.ByteArrayOutputStream;
                    
4import java.io.ByteArrayOutputStream;
                    
5import java.io.DataInputStream;
                    
6import java.io.DataOutputStream;
                    
6import java.io.DataOutputStream;
                    
7import java.io.IOException;
                    
8import java.util.LinkedList;
                    
137	public void testNoMatchWithResult() {
                    
138		String source = "HelloWorld What is going on :-";
                    
139		Trie.TrieSearchResult searchResult = new Trie.TrieSearchResult();
                    
146		
                    
147		source = ":- HelloWorld What is going on";
                    
148		startIndex = 0;
                    
                
HelloWorldDS.html https://github.com/smokestack/smokestack.github.com.git | HTML | 260 lines
                    
92<PRE>
                    
93<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
                    
94  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.github.smokestack.jdbc.ex05.HelloWorldDS</B>
                    
97<DL>
                    
98<DT><PRE>public class <B>HelloWorldDS</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
                    
99</PRE>
                    
137<CODE>static&nbsp;void</CODE></FONT></TD>
                    
138<TD><CODE><B><A HREF="../../../../../com/github/smokestack/jdbc/ex05/HelloWorldDS.html#main(java.lang.String...)">main</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>...&nbsp;args)</CODE>
                    
139
                    
146<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
                    
147<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
                    
148</TR>
                    
149<TR BGCOLOR="white" CLASS="TableRowColor">
                    
150<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
                    
151</TR>
                    
                
toc.yml https://github.com/bluesliverx/grails-doc.git | YAML | 286 lines
                    
14  creatingAnApplication: Creating an Application
                    
15  aHelloWorldExample: A Hello World Example
                    
16  usingInteractiveMode: Using Interactive Mode
                    
21  deployingAnApplication: Deploying an Application
                    
22  supportedJavaEEContainers: Supported Java EE Containers
                    
23  generatingAnApplication: Generating an Application
                    
221  dependencyInjectionServices: Dependency Injection and Services
                    
222  usingServicesFromJava: Using Services from Java
                    
223testing:
                    
                
CharArrayWriterTest.java https://github.com/MIPS/libcore.git | Java | 436 lines
                    
176    public void test_toString() {
                    
177        // Test for method java.lang.String java.io.CharArrayWriter.toString()
                    
178        cw.write("HelloWorld", 5, 5);
                    
265    /**
                    
266     * @tests java.io.CharArrayWriter#write(java.lang.String, int, int)
                    
267     */
                    
274    public void test_writeLjava_lang_StringII() {
                    
275        // Test for method void java.io.CharArrayWriter.write(java.lang.String,
                    
276        // int, int)
                    
289    /**
                    
290     * @tests java.io.CharArrayWriter#write(java.lang.String, int, int)
                    
291     * Regression for HARMONY-387
                    
308    /**
                    
309     * @tests java.io.CharArrayWriter#writeTo(java.io.Writer)
                    
310     */
                    
                
run_new_examples.bat https://github.com/xrl/opensplice.git | Batch | 397 lines
                    
65
                    
66REM :SACHelloWorld
                    
67REM SET EXAMPLE=dcps/HelloWorld/C/Standalone/VS2005/Bat
                    
71REM :SAJHelloWorld
                    
72REM SET EXAMPLE=dcps/HelloWorld/Java/Standalone/Windows/Bat
                    
73REM SET NEXTEXAMPLE=CCPPHelloWorld
                    
81REM :CJHelloWorld
                    
82REM SET EXAMPLE=dcps/HelloWorld/Java/Corba/JacORB/Windows/Bat
                    
83REM SET NEXTEXAMPLE=SACSHelloWorld
                    
85
                    
86REM :SACSHelloWorld
                    
87REM SET EXAMPLE=dcps/HelloWorld/CS/Standalone/VS2005/Bat
                    
101REM :SAJContentFilteredTopic
                    
102REM SET EXAMPLE=dcps/ContentFilteredTopic/Java/Standalone/Windows/Bat
                    
103REM SET NEXTEXAMPLE=CCPPContentFilteredTopic
                    
                
Iscene.html https://bitbucket.org/dhruvkp/imreal.git | HTML | 942 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_20) on Thu Aug 12 23:36:35 CEST 2010 -->
                    
6<TITLE>
                    
13
                    
14<SCRIPT type="text/javascript">
                    
15function windowTitle()
                    
62&nbsp;<A HREF="Iscene.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
63&nbsp;<SCRIPT type="text/javascript">
                    
64  <!--
                    
136<TR BGCOLOR="white" CLASS="TableRowColor">
                    
137<TD><A HREF="#basic.helloWorld"><B>basic.helloWorld</B></A></TD>
                    
138<TD>&nbsp;&nbsp;</TD>
                    
140<TR BGCOLOR="white" CLASS="TableRowColor">
                    
141<TD><A HREF="#basic.javaGUI"><B>basic.javaGUI</B></A></TD>
                    
142<TD>&nbsp;&nbsp;</TD>
                    
                
AbstractScene.html https://bitbucket.org/dhruvkp/imreal.git | HTML | 737 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_20) on Thu Aug 12 23:36:35 CEST 2010 -->
                    
6<TITLE>
                    
13
                    
14<SCRIPT type="text/javascript">
                    
15function windowTitle()
                    
62&nbsp;<A HREF="AbstractScene.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
63&nbsp;<SCRIPT type="text/javascript">
                    
64  <!--
                    
136<TR BGCOLOR="white" CLASS="TableRowColor">
                    
137<TD><A HREF="#basic.helloWorld"><B>basic.helloWorld</B></A></TD>
                    
138<TD>&nbsp;&nbsp;</TD>
                    
140<TR BGCOLOR="white" CLASS="TableRowColor">
                    
141<TD><A HREF="#basic.javaGUI"><B>basic.javaGUI</B></A></TD>
                    
142<TD>&nbsp;&nbsp;</TD>
                    
                
package-use.html https://bitbucket.org/dhruvkp/imreal.git | HTML | 739 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_20) on Thu Aug 12 23:36:37 CEST 2010 -->
                    
6<TITLE>
                    
13
                    
14<SCRIPT type="text/javascript">
                    
15function windowTitle()
                    
62&nbsp;<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
63&nbsp;<SCRIPT type="text/javascript">
                    
64  <!--
                    
140<TR BGCOLOR="white" CLASS="TableRowColor">
                    
141<TD><A HREF="#basic.helloWorld"><B>basic.helloWorld</B></A></TD>
                    
142<TD>&nbsp;&nbsp;</TD>
                    
144<TR BGCOLOR="white" CLASS="TableRowColor">
                    
145<TD><A HREF="#basic.javaGUI"><B>basic.javaGUI</B></A></TD>
                    
146<TD>&nbsp;&nbsp;</TD>
                    
                
MTApplication.html https://bitbucket.org/dhruvkp/imreal.git | HTML | 1000 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_20) on Thu Aug 12 23:36:35 CEST 2010 -->
                    
6<TITLE>
                    
13
                    
14<SCRIPT type="text/javascript">
                    
15function windowTitle()
                    
62&nbsp;<A HREF="MTApplication.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
63&nbsp;<SCRIPT type="text/javascript">
                    
64  <!--
                    
148<TR BGCOLOR="white" CLASS="TableRowColor">
                    
149<TD><A HREF="#basic.helloWorld"><B>basic.helloWorld</B></A></TD>
                    
150<TD>&nbsp;&nbsp;</TD>
                    
152<TR BGCOLOR="white" CLASS="TableRowColor">
                    
153<TD><A HREF="#basic.javaGUI"><B>basic.javaGUI</B></A></TD>
                    
154<TD>&nbsp;&nbsp;</TD>
                    
                
flash.js https://bitbucket.org/jaiew/patched-chrome-driver.git | JavaScript | 1230 lines
                    
53		This will cause dojo.flash to pick the best way of communicating
                    
54		between Flash and JavaScript based on the platform.
                    
55		
                    
113		applet; communication back to Flash is accomplished using a getURL
                    
114		call with a javascript protocol handler, such as "javascript:myMethod()".
                    
115		Strengths: the most cross browser, cross platform pre-Flash 8 method
                    
153				}
                    
154				DojoExternalInterface.call("someJavaScriptMethod", resultsReady, 
                    
155																	 someParameter);
                    
166		called after you are finished adding your callbacks. Calling loaded()
                    
167		will fire the dojo.flash.loaded() event, so that JavaScript can know that
                    
168		Flash has finished loading and adding its callbacks, and can begin to
                    
280		The Flash side needs to have more sophisticated serialization/
                    
281		deserialization mechanisms like JavaScript currently has. The
                    
282		test_flash2.html unit tests should also be updated to have much more
                    
                
InternalHelloWorldParser.java https://bitbucket.org/phaneesh/xtext-samples.git | Java | 576 lines
                    
174            // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:89:1: ( ruleGreeting EOF )
                    
175            // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:90:1: ruleGreeting EOF
                    
176            {
                    
329            // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:153:1: ( rule__Greeting__Group__1__Impl rule__Greeting__Group__2 )
                    
330            // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:154:2: rule__Greeting__Group__1__Impl rule__Greeting__Group__2
                    
331            {
                    
360    // $ANTLR start "rule__Greeting__Group__1__Impl"
                    
361    // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:161:1: rule__Greeting__Group__1__Impl : ( ( rule__Greeting__NameAssignment_1 ) ) ;
                    
362    public final void rule__Greeting__Group__1__Impl() throws RecognitionException {
                    
367            // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:165:1: ( ( ( rule__Greeting__NameAssignment_1 ) ) )
                    
368            // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:166:1: ( ( rule__Greeting__NameAssignment_1 ) )
                    
369            {
                    
370            // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:166:1: ( ( rule__Greeting__NameAssignment_1 ) )
                    
371            // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:167:1: ( rule__Greeting__NameAssignment_1 )
                    
372          
                    
                
InternalHelloWorldLexer.java https://bitbucket.org/phaneesh/xtext-samples.git | Java | 803 lines
                    
36    }
                    
37    public String getGrammarFileName() { return "../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g"; }
                    
38
                    
114
                    
115            // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:246:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
                    
116            loop2:
                    
296                    match('\''); 
                    
297                    // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:250:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
                    
298                    loop5:
                    
312                    	case 1 :
                    
313                    	    // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:250:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
                    
314                    	    {
                    
328                    	case 2 :
                    
329                    	    // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:250:137: ~ ( ( '\\\\' | '\\'' ) )
                    
330                    	    {
                    
                
JoinAndMergeGroupsTest.html http://rtag.googlecode.com/svn/trunk/ | HTML | 391 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_22) on Sun Sep 25 22:02:38 CEST 2011 -->
                    
6<TITLE>
                    
13
                    
14<SCRIPT type="text/javascript">
                    
15function windowTitle()
                    
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
58&nbsp;<A HREF="../../../it/polimi/rtag/HelloWorld.html" title="class in it.polimi.rtag"><B>PREV CLASS</B></A>&nbsp;
                    
59&nbsp;<A HREF="../../../it/polimi/rtag/Node.html" title="class in it.polimi.rtag"><B>NEXT CLASS</B></A></FONT></TD>
                    
62&nbsp;<A HREF="JoinAndMergeGroupsTest.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
63&nbsp;<SCRIPT type="text/javascript">
                    
64  <!--
                    
94<PRE>
                    
95java.lang.Object
                    
96  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>it.polimi.rtag.JoinAndMergeGroupsTest</B>
                    
                
README.md https://gitlab.com/ThomasHunt3r/jboss-eap-quickstarts | Markdown | 283 lines
                    
21
                    
22All you need to build this project is Java 6.0 (Java SDK 1.6) or later, Maven 3.0 or later.
                    
23 
                    
162
                    
163The application will be running at the following URL: <http://localhost:9080/jboss-helloworld-mdb/HelloWorldMDBServletClient>. 
                    
164
                    
166
                    
167To send messages to the topic, use the following URL: <http://localhost:9080/jboss-helloworld-mdb/HelloWorldMDBServletClient?topic>
                    
168
                    
170
                    
171The application will be running at the following URL: <http://localhost:8080/jboss-helloworld-mdb/HelloWorldMDBServletClient>. 
                    
172
                    
174
                    
175To send messages to the topic, use the following URL: <http://localhost:8080/jboss-helloworld-mdb/HelloWorldMDBServletClient?topic>
                    
176
                    
                
azure-toolkit-for-eclipse-creating-a-hello-world-application.md https://gitlab.com/yeah568/azure-content | Markdown | 196 lines
                    
41*  Start Eclipse, and at the menu click **File**, click **New**, and then click **Dynamic Web Project**. (If you don't see **Dynamic Web Project** listed as an available project after clicking **File**, **New**, then do the following: click **File**, click **New**, click **Project...**, expand **Web**, click **Dynamic Web Project**, and click **Next**.)
                    
42*  For purposes of this tutorial, name the project **MyHelloWorld**. (Ensure you use this name, subsequent steps in this tutorial expect your WAR file to be named MyHelloWorld). Your screen will appear similar to the following:
                    
43    ![][ic589576]
                    
92
                    
93Because this was a deployment to a staging environment, the DNS name will be of the form http://&lt;*guid*&gt;.cloudapp.net, and the URL will contain the DNS name plus a suffix for your application. For example, http://447564652c20426f6220526f636b7321.cloudapp.net/MyHelloWorld. (The **MyHelloWorld** portion is case-sensitive.) You can also see the DNS name if you click the deployment name in the Azure Platform Management Portal (within the Cloud Services portion of the management portal).
                    
94
                    
102
                    
103Besides the information about your applications, an Azure deployment project also contains information about other key components of your deployment, most importantly: the application server container to run your web app in, and the Java runtime to run it on. Azure supports a large selection of Java runtimes and Java application servers you can choose from.
                    
104
                    
1371. Click **OK**.
                    
1381. In the Eclipse toolbar, click the **Run in Azure Emulator** button, ![][ic710879]. If the **Run in Azure Emulator** button is not enabled, ensure that **MyHelloWorld_onAzure** is selected in Eclipse's Project Explorer, and ensure that Eclipse's Project Explorer has focus as the current window. This will first start a full build of your project and then launch your Java web application in the compute emulator. (Note that depending on your computer's performance characteristics, the first build may take between a few seconds to a few minutes, but subsequent builds will get faster.) After the first build step has been completed, you will be prompted by Windows User Account Control (UAC) to allow this command to make changes to your computer. Click **Yes**.
                    
139
                    
1421. Examine the output of the compute emulator UI to determine if there are any issues with your project. Depending on the contents of your deployment, it may take a couple minutes for your application to be fully started within the compute emulator.
                    
1431. Start your browser and use the URL `http://localhost:8080/MyHelloWorld` as the address (the `MyHelloWorld` portion of the URL is case-sensitive). You should see your MyHelloWorld application (the output of index.jsp), similar to the following image:
                    
144    ![][ic589579]
                    
                
WordTest.java https://github.com/fritsric/EPIM.git | Java | 287 lines
                    
9import cz.cvut.hnatuluk.factories.WordFactory.WordOutputFactory;
                    
10import java.io.File;
                    
11import java.math.BigInteger;
                    
50        WordOutputFactory wof = ExportFactory.getWordFactory();
                    
51        File f = wof.createOutputFile("testFiles/WordFactory/helloWorld.docx");
                    
52        WordDocument wd = wof.createOutputWorkbook(f);
                    
                
ServiceEstadisticas.wsdl https://bitbucket.org/rjulietagarcia/estadisticas.git | Web Services Description Language | 944 lines
                    
19      <s:import schemaLocation="http://localhost:7003/ServiceEstadisticas.asmx?schema=DsComentarios" namespace="http://tempuri.org/DsComentarios.xsd" />
                    
20      <s:element name="HelloWorld">
                    
21        <s:complexType />
                    
22      </s:element>
                    
23      <s:element name="HelloWorldResponse">
                    
24        <s:complexType>
                    
25          <s:sequence>
                    
26            <s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:string" />
                    
27          </s:sequence>
                    
180          <s:element minOccurs="0" maxOccurs="1" name="NombreTbEspeciales" type="s:string" />
                    
181          <s:element minOccurs="1" maxOccurs="1" name="ManejaVariasCarreras" type="s:boolean" />
                    
182          <s:element minOccurs="1" maxOccurs="1" name="TotalVariablesCarreras" type="s:int" />
                    
                
package-summary.html https://github.com/jingchan/jh_rogue.git | HTML | 166 lines
                    
4<HEAD>
                    
5<!-- Generated by javadoc (build 1.6.0_22) on Fri Apr 22 12:10:31 EDT 2011 -->
                    
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
                    
14
                    
15<SCRIPT type="text/javascript">
                    
16function windowTitle()
                    
58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
59&nbsp;<A HREF="../../jme3test/helloworld/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
                    
60&nbsp;<A HREF="../../jme3test/input/combomoves/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
                    
63&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
64&nbsp;<SCRIPT type="text/javascript">
                    
65  <!--
                    
139<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
140&nbsp;<A HREF="../../jme3test/helloworld/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
                    
141&nbsp;<A HREF="../../jme3test/input/combomoves/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
                    
                
StateMachine.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 1437 lines
                    
25
                    
26import java.io.FileDescriptor;
                    
27import java.io.PrintWriter;
                    
29import java.util.ArrayList;
                    
30import java.util.Calendar;
                    
31import java.util.Collection;
                    
31import java.util.Collection;
                    
32import java.util.HashMap;
                    
33import java.util.Vector;
                    
144
                    
145    public static HelloWorld makeHelloWorld() {
                    
146        HelloWorld hw = new HelloWorld("hw");
                    
160void testHelloWorld() {
                    
161    HelloWorld hw = makeHelloWorld();
                    
162    hw.sendMessage(hw.obtainMessage());
                    
                
Pagstract_Markup_Language_23299120.html https://gitlab.com/php.bjoernbartels.earth/phpagstract | HTML | 421 lines
                    
10
                    
11<script type="text/javascript" src="assets/js/jquery.min.js"></script>
                    
12<script type="text/javascript" src="assets/js/jquery.scrollTo.min.js"></script>
                    
14
                    
15<script type="text/javascript" src="assets/js/scroll-tree.js"></script>
                    
16
                    
16
                    
17<script type="text/javascript" src="assets/js/theme.main.js"></script>
                    
18
                    
82</li></ul></li><li class=" ">    <p  ><a   href="#src-23299120_PagstractMarkupLanguage-_die_pagstract_sprache2.DiePagstract-Sprache">2. Die Pagstract-Sprache</a>    </p>
                    
83<ul class="toc-indentation "><li class=" ">    <p  ><a   href="#src-23299120_PagstractMarkupLanguage-_hello_world2.1.HelloWorld">2.1. Hello World</a>    </p>
                    
84</li><li class=" ">    <p  ><a   href="#src-23299120_PagstractMarkupLanguage-_kommentare2.2.Kommentare">2.2. Kommentare</a>    </p>
                    
                
 

Source

Language