Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | package com.worthsoln.patientview.edtacode;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.worthsoln.HibernateUtil;
... | 210 |
github-java-corpus | 2,012 | package com.worthsoln.patientview;
import com.worthsoln.database.action.DatabaseAction;
import com.worthsoln.patientview.logon.LogonUtils;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequ... | 362 |
github-java-corpus | 2,012 | package com.worthsoln.patientview;
public class LinkType extends Object {
private String linkType;
public LinkType(String linkType) {
setLinkType(linkType);
}
public String getLinkType() {
return linkType;
}
public void setLinkType(String linkType) {
t... | 77 |
github-java-corpus | 2,012 | package com.worthsoln.patientview;
import java.util.ArrayList;
import org.apache.commons.dbutils.ResultSetHandler;
import org.apache.commons.dbutils.handlers.BeanListHandler;
import com.worthsoln.database.DatabaseQuery;
import com.worthsoln.database.RetrievableList;
public class PanelsDao implements Retrievab... | 151 |
github-java-corpus | 2,012 | package com.worthsoln.patientview;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import javax.servlet.ServletContext;
import java.util.Properties;
p... | 435 |
github-java-corpus | 2,012 | /**
* Copyright 2012 StackMob
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 1,021 |
github-java-corpus | 2,012 | /**
* Copyright 2012 StackMob
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 312 |
github-java-corpus | 2,012 | /**
* Copyright 2012 StackMob
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 236 |
github-java-corpus | 2,012 | /**
* Copyright 2012 StackMob
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 1,687 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
public class Tester {
public static void main(String [] args) {
Tester tester = new Tester();
tester.allocate();
tester.testLibrary();
tester.testConstants();
tester.testErrors();
test... | 3,868 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Library;
import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.ptr.LongByReference;
public interface XsLibrary extends Library {
void xs_version(int[] major, int[] minor, int[] patch);
static final int ENOTSUP = 1;
static final int EPR... | 1,272 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Pointer;
import com.sun.jna.PointerType;
public class XsFree
extends PointerType {
public XsFree(Pointer address) {
super(address);
}
public XsFree() {
super();
}
}
| 62 |
github-java-corpus | 2,012 | package io.crossroads.jna;
public class XsErrors {
static public final int ENOMEM = 12;
static public final int EFAULT = 14;
static public final int EINVAL = 22;
static public final int EMFILE = 24;
static public final int EINTR = 4;
static public final int ENAMETOOLONG = 38;
static public ... | 315 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
public class XsMsg
extends Structure {
public Pointer content;
public byte flags;
public byte vsm_size;
public byte[] vsm_data = new byte[30];
public XsMsg() {
super();
}
public static c... | 118 |
github-java-corpus | 2,012 | package io.crossroads.jna;
public class XsConstants {
/* Socket types */
static public final int XS_PAIR = 0;
static public final int XS_PUB = 1;
static public final int XS_SUB = 2;
static public final int XS_REQ = 3;
static public final int XS_REP = 4;
static public final int XS_XREQ = 5;
... | 700 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
public class XsPollItem
extends Structure {
public Pointer socket;
public Pointer fd;
public short events;
public short revents;
public XsPollItem() {
super();
this.socket = null;
... | 207 |
github-java-corpus | 2,012 | package io.crossroads.jni;
import java.nio.ByteBuffer;
public class Tester {
public static void main(String [] args) {
Tester tester = new Tester();
tester.allocate();
tester.testLibrary();
tester.testVersion();
tester.testConstants();
tester.testErrors();
t... | 5,048 |
github-java-corpus | 2,012 | package io.crossroads.jni;
import java.nio.ByteBuffer;
public class XsLibrary {
static {
ensureNativeCode();
}
public XsLibrary()
{
xc = new XsConstants();
xe = new XsErrors();
}
public XsConstants xc;
public XsErrors xe;
public native int xs_version(... | 433 |
github-java-corpus | 2,012 | package io.crossroads.jni;
public class XsPoller {
public XsPoller()
{
poll_mem = 0;
reset();
}
public int getNext()
{
return next;
}
public int getSize()
{
return size;
}
public long getSocket(int pos)
{
if (pos < 0 || pos >= next... | 850 |
github-java-corpus | 2,012 | package io.crossroads.jni;
public class XsErrors {
public XsErrors()
{
loadErrors();
}
static public int ENOMEM = -1;
static public int EFAULT = -1;
static public int EINVAL = -1;
static public int EMFILE = -1;
static public int EINTR = -1;
static public int ENAMETOOLO... | 285 |
github-java-corpus | 2,012 | package io.crossroads.jni;
public class XsConstants {
public XsConstants()
{
loadConstants();
}
native public int makeVersion(int major,
int minor,
int patch);
/* Version constants */
static public int XS_VERSION... | 736 |
github-java-corpus | 2,012 | package io.crossroads.jni;
import java.nio.ByteBuffer;
public class XsOption {
public XsOption()
{
context = 0;
socket = 0;
}
public void setContext(long context)
{
this.context = context;
}
public void setSocket(long socket)
{
this.socket = socket;
... | 736 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import java.nio.ByteBuffer;
import java.util.concurrent.CountDownLatch;
public class inproc_lat {
static class Worker
implements Runnable {
public Worker(XsLibrary xs,
Pointer ctx,
... | 1,483 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import java.nio.ByteBuffer;
public class local_lat {
public static void main(String [] args) {
if (args.length != 3) {
System.out.printf("argc was %d\n", args.length);
System.out.printf("usage: local_... | 729 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import java.nio.ByteBuffer;
public class local_thr {
public static void main(String [] args) {
if (args.length != 3) {
System.out.printf("argc was %d\n", args.length);
System.out.printf("usage: local_... | 929 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import java.nio.ByteBuffer;
import java.util.concurrent.CountDownLatch;
public class inproc_thr {
static class Worker
implements Runnable {
public Worker(XsLibrary xs,
Pointer ctx,
... | 1,472 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Native;
import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import java.nio.ByteBuffer;
public class remote_thr {
public static void main(String [] args) {
if (args.length != 3) {
System.out.printf("argc was %d\n", args.length);
... | 669 |
github-java-corpus | 2,012 | package io.crossroads.jna;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import java.nio.ByteBuffer;
public class remote_lat {
public static void main(String [] args) {
if (args.length != 3) {
System.out.printf("argc was %d\n", args.length);
System.out.printf("usage: remot... | 845 |
github-java-corpus | 2,012 | package io.crossroads.jni;
import java.nio.ByteBuffer;
import java.util.concurrent.CountDownLatch;
public class inproc_lat {
static class Worker
implements Runnable {
public Worker(XsLibrary xs,
long ctx,
int roundtrip_count,
int me... | 1,450 |
github-java-corpus | 2,012 | package io.crossroads.jni;
import java.nio.ByteBuffer;
public class local_lat {
public static void main(String [] args) {
if (args.length != 3) {
System.out.printf("argc was %d\n", args.length);
System.out.printf("usage: local_lat <bind-to> <message-size> <roundtrip-count>\n");
... | 703 |
github-java-corpus | 2,012 | package io.crossroads.jni;
import java.nio.ByteBuffer;
public class local_thr {
public static void main(String [] args) {
if (args.length != 3) {
System.out.printf("argc was %d\n", args.length);
System.out.printf("usage: local_thr <bind-to> <message-size> <message-count>\n");
... | 901 |
github-java-corpus | 2,012 | package io.crossroads.jni;
import java.nio.ByteBuffer;
import java.util.concurrent.CountDownLatch;
public class inproc_thr {
static class Worker
implements Runnable {
public Worker(XsLibrary xs,
long ctx,
int message_count,
int mess... | 1,439 |
github-java-corpus | 2,012 | package io.crossroads.jni;
import java.nio.ByteBuffer;
public class remote_thr {
public static void main(String [] args) {
if (args.length != 3) {
System.out.printf("argc was %d\n", args.length);
System.out.printf("usage: remote_thr <connect-to> <message-size> <message-count>\n");
... | 622 |
github-java-corpus | 2,012 | package io.crossroads.jni;
import java.nio.ByteBuffer;
public class remote_lat {
public static void main(String [] args) {
if (args.length != 3) {
System.out.printf("argc was %d\n", args.length);
System.out.printf("usage: remote_lat <connect-to> <message-size> <roundtrip-count>\n")... | 817 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 430 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 1,022 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 516 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 496 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 837 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 207 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 378 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 253 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 225 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 936 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 500 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 800 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 1,147 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 709 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 635 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 828 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 351 |
github-java-corpus | 2,012 | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 639 |
github-java-corpus | 2,012 | package org.springframework.security.samples.mail;
import static org.fest.assertions.Assertions.assertThat;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.security.samp... | 669 |
github-java-corpus | 2,012 | package org.springframework.security.samples.mail.proxydemo;
public class MessageServiceBean implements SimpleMessageService {
private String message = "Hello World";
public String getMessage(int id) {
return message;
}
public void printMessage(int id) {
System.out.println(getMessage(... | 78 |
github-java-corpus | 2,012 | package org.springframework.security.samples.mail.proxydemo;
public interface SimpleMessageService {
String getMessage(int id);
void printMessage(int id);
}
| 29 |
github-java-corpus | 2,012 | package org.springframework.security.samples.mail.proxydemo;
import static junit.framework.Assert.fail;
import static org.fest.assertions.Assertions.assertThat;
import org.junit.Test;
import org.springframework.security.access.AccessDeniedException;
public class ProxyBasedAopDemoTest {
@Test
public void int... | 554 |
github-java-corpus | 2,012 | package org.springframework.security.samples.mail;
import static org.fest.assertions.Assertions.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcT... | 702 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
import com.jzboy.couchdb.Database;
import java.util.List;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import s... | 1,222 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
import com.couchrqs.Queue.MessageStatus;
import com.jzboy.couchdb.CouchDBException;
import com.jzboy.couchdb.Document;
import java.util.ArrayList;
i... | 1,966 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
/**
* Signals that an attempt to run some operation against a queue failed because a queue with that name
* does not exist on the server.
*/
publ... | 100 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
/**
* A parent class for checked exceptions related to the RQS code.
*/
public class RQSException extends Exception {
public RQSException(String... | 118 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
import com.jzboy.couchdb.CouchDBException;
import com.jzboy.couchdb.Database;
import com.jzboy.couchdb.Document;
import com.jzboy.couchdb.Server;
im... | 4,713 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
/**
* Signals that an attempt to perform an action on a message failed because the message identified by that
* action no longer exists in the que... | 120 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
/**
* Signals that an attempt to create a queue failed because a queue with that name already exists on the server.
* <p>
* The caller can solve ... | 145 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
/**
* Signals that an attempt to delete a message failed because the receipt token supplied is no longer
* the latest version. This usually means ... | 145 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
import com.jzboy.couchdb.CouchDBException;
import com.jzboy.couchdb.Database;
import com.jzboy.couchdb.Server;
import java.util.ArrayList;
import ja... | 1,756 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2011. Elad Kehat.
* This software is provided under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*/
package com.couchrqs;
import com.jzboy.couchdb.Document;
import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.node.JsonNodeFactory;
import org.codehaus.jacks... | 338 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apach... | 1,281 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.util.ArrayList;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpPost... | 1,852 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.util.ArrayList;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpPost;... | 1,120 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.ConnectException;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import org.apache.http.... | 4,912 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import org.apache.http.HttpEntity;
import org.apache.http... | 5,988 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import a... | 284 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util... | 2,285 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.StringTokenizer;
import org.apache.http.... | 5,581 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import org.apache.http.HttpEntity;
import org.apache.http... | 4,970 |
github-java-corpus | 2,012 | package com.trisfera.tutoriapps;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.ConnectException;
import java.net.URL;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.ut... | 5,713 |
github-java-corpus | 2,012 | /*
* jVSTwRapper - The Java way into VST world!
*
* jVSTwRapper is an easy and reliable Java Wrapper for the Steinberg VST interface.
* It enables you to develop VST 2.4 compatible audio plugins and virtual instruments
* plus user interfaces with the Java Programming Language.
*
* jVSTwRapper
* Copyright ... | 2,158 |
github-java-corpus | 2,012 | /*
* jVSTwRapper - The Java way into VST world!
*
* jVSTwRapper is an easy and reliable Java Wrapper for the Steinberg VST interface.
* It enables you to develop VST 2.4 compatible audio plugins and virtual instruments
* plus user interfaces with the Java Programming Language.
*
* jVSTwRapper
* Copyright ... | 1,156 |
github-java-corpus | 2,012 | /*
* jVSTwRapper - The Java way into VST world!
*
* jVSTwRapper is an easy and reliable Java Wrapper for the Steinberg VST interface.
* It enables you to develop VST 2.4 compatible audio plugins and virtual instruments
* plus user interfaces with the Java Programming Language.
*
* jVSTwRapper
* Copyright ... | 1,377 |
github-java-corpus | 2,012 |
public class MockVSTHost {
//TODO: make platform aware and generalize
private static final String NATIVE_LIB_LOCATION = "C:/@DATA/private/jvst/jvst_native/src/Release/jvstwrapper.dll";
public static void main(String[] args) {
//System.load(NATIVE_LIB_LOCATION);
//JRubyVSTPluginProxy.setIsLogEnabled(true);... | 303 |
github-java-corpus | 2,012 | // ahh, the irony. Java is now the assembler of JRuby.
// this code has been inspired by existing code, then translated to C# and Java.
// sorry I cannot credit the original author.
public class FilterTools {
float f,r,c,a1,a2,a3,b1,b2;
public void recomputeParameters(float cutoff, float resonance, boolean lowPassM... | 826 |
github-java-corpus | 2,012 | /*
* jVSTwRapper - The Java way into VST world!
*
* jVSTwRapper is an easy and reliable Java Wrapper for the Steinberg VST interface.
* It enables you to develop VST 2.3 compatible audio plugins and virtual instruments
* plus user interfaces with the Java Programming Language. 3 Demo Plugins(+src) are included... | 1,607 |
github-java-corpus | 2,012 | /*
* jVSTwRapper - The Java way into VST world!
*
* jVSTwRapper is an easy and reliable Java Wrapper for the Steinberg VST interface.
* It enables you to develop VST 2.3 compatible audio plugins and virtual instruments
* plus user interfaces with the Java Programming Language. 3 Demo Plugins(+src) are included... | 2,750 |
github-java-corpus | 2,012 | /*
* jVSTwRapper - The Java way into VST world!
*
* jVSTwRapper is an easy and reliable Java Wrapper for the Steinberg VST interface.
* It enables you to develop VST 2.3 compatible audio plugins and virtual instruments
* plus user interfaces with the Java Programming Language. 3 Demo Plugins(+src) are included... | 5,738 |
github-java-corpus | 2,012 | public class HybridSynthTools {
public boolean noteIsOn;
public int currentNote;
public int currentVelocity;
public int currentDelta;
public float phase1, phase2;
public float scaler;
public int waveSize;
public float[] sawtooth, pulse, frequency_table;
private static final double MIDI_SCALER = 1.0D / ... | 816 |
github-java-corpus | 2,012 | public interface SceneFromNode {
public Object getScene();
}
| 13 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2008-2009, JFXtras Group
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of con... | 589 |
github-java-corpus | 2,012 | // factor out computation-intensive stuff to java
public class HybridGainTools {
public static void applyGain(float[] input, float[] output, int sampleFrames, float gain) {
for (int i=0; i < sampleFrames; i++) {
output[i] = gain * input[i];
}
}
}
| 69 |
github-java-corpus | 2,012 | import jvst.wrapper.*;
import jvst.wrapper.gui.VSTPluginGUIRunner;
import org.jruby.Ruby;
import org.jruby.javasupport.JavaEmbedUtils;
import org.jruby.runtime.builtin.IRubyObject;
import javax.swing.JComponent;
public class JRubyVSTPluginGUIProxy extends VSTPluginGUIAdapter {
protected Ruby runtime;
protected... | 547 |
github-java-corpus | 2,012 | import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.util.Hashtable;
import java.util.ArrayList;
import javax.swing.JOptionPane;
import java.io.PrintWriter;
import java.io.StringWriter;
import jvst.wrapper.VSTPluginAdapter;
import jvst.wrapper.VSTPluginGUIAdapter;
import jvst.wra... | 2,855 |
github-java-corpus | 2,012 | // tools shared between the two proxies
// TODO: move this logic to jVSTwRapper directly ?
public class ProxyTools {
// Although I wanted to use VSTPluginAdapter.RUNNING_MAC_X instead of this, it raises AWT thread errors.
// Sticking with this one for the moment.
public static boolean useMacOSX() {
String lcO... | 218 |
github-java-corpus | 2,012 |
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.awt.Insets;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Arrays;
import javax.swing.BorderFac... | 992 |
github-java-corpus | 2,012 | /* FlogHelper, Freenet plugin to create flogs
* Copyright (C) 2009 Romain "Artefact2" Dalmaso
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | 2,701 |
github-java-corpus | 2,012 | /* FlogHelper, Freenet plugin to create flogs
* Copyright (C) 2009 Romain "Artefact2" Dalmaso
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | 987 |
github-java-corpus | 2,012 | /* FlogHelper, Freenet plugin to create flogs
* Copyright (C) 2009 Romain "Artefact2" Dalmaso
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | 614 |
github-java-corpus | 2,012 | /* FlogHelper, Freenet plugin to create flogs
* Copyright (C) 2009 Romain "Artefact2" Dalmaso
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | 255 |
github-java-corpus | 2,012 | /* FlogHelper, Freenet plugin to create flogs
* Copyright (C) 2009 Romain "Artefact2" Dalmaso
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | 370 |
github-java-corpus | 2,012 | /* FlogHelper, Freenet plugin to create flogs
* Copyright (C) 2009 Romain "Artefact2" Dalmaso
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | 2,021 |
github-java-corpus | 2,012 | /* FlogHelper, Freenet plugin to create flogs
* Copyright (C) 2009 Romain "Artefact2" Dalmaso
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | 428 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.