method
stringlengths 13
441k
| clean_method
stringlengths 7
313k
| doc
stringlengths 17
17.3k
| comment
stringlengths 3
1.42k
| method_name
stringlengths 1
273
| extra
dict | imports
sequence | imports_info
stringlengths 19
34.8k
| cluster_imports_info
stringlengths 15
3.66k
| libraries
sequence | libraries_info
stringlengths 6
661
| id
int64 0
2.92M
|
---|---|---|---|---|---|---|---|---|---|---|---|
//@ requires userName != null;
//@ ensures \result != null;
//@ signals (Exception) false;
public String getUniqueUserId(String userName)
throws CustomRegistryException, EntryNotFoundException
{
System.out.println("[DBRegistry] getUniqueUserId: " + userName);
return userName;
}
| String function(String userName) throws CustomRegistryException, EntryNotFoundException { System.out.println(STR + userName); return userName; } | /**
* Returns the UniqueId for a userName.
* @param userName the name of the user.
* @return the UniqueId of the user. The UniqueId for an user is
* the stringified form of some unique, registry-specific, data that
* serves to represent the user. For example, for the UNIX user registry, the
* UniqueId for a user can be the UID.
* @exception EntryNotFoundException if userName does not exist.
* @exception CustomRegistryException if there are any other problems.
**/ | Returns the UniqueId for a userName | getUniqueUserId | {
"repo_name": "GaloisInc/KOA",
"path": "infrastructure/source/WebVotingSystem/src/ie/ucd/srg/koa/utils/DBRegistry.java",
"license": "gpl-2.0",
"size": 26019
} | [
"ie.ucd.srg.opensource.security.CustomRegistryException",
"ie.ucd.srg.opensource.security.EntryNotFoundException"
] | import ie.ucd.srg.opensource.security.CustomRegistryException; import ie.ucd.srg.opensource.security.EntryNotFoundException; | import ie.ucd.srg.opensource.security.*; | [
"ie.ucd.srg"
] | ie.ucd.srg; | 446,076 |
public void visit(RemoveAndGetFileMessage msg) {
ArgumentNotValid.checkNotNull(msg, "msg");
try {
ar.removeAndGetFile(msg);
} catch (Throwable t) {
log.warn("Failed to handle request to remove file", t);
msg.setNotOk(t);
JMSConnectionFactory.getInstance().reply(msg);
}
} | void function(RemoveAndGetFileMessage msg) { ArgumentNotValid.checkNotNull(msg, "msg"); try { ar.removeAndGetFile(msg); } catch (Throwable t) { log.warn(STR, t); msg.setNotOk(t); JMSConnectionFactory.getInstance().reply(msg); } } | /**
* Request a file to be deleted from bitarchives. This request will be
* handled by the bitarchives, and the bitarchive containing the file
* will reply with the removed file if succesful, or with a notOk message
* if unsuccesful.
*
* Will send a not-ok reply on exceptions handling this request.
*
* @param msg the message to be processed
*/ | Request a file to be deleted from bitarchives. This request will be handled by the bitarchives, and the bitarchive containing the file will reply with the removed file if succesful, or with a notOk message if unsuccesful. Will send a not-ok reply on exceptions handling this request | visit | {
"repo_name": "netarchivesuite/netarchivesuite-svngit-migration",
"path": "src/dk/netarkivet/archive/arcrepository/distribute/ArcRepositoryServer.java",
"license": "lgpl-2.1",
"size": 13044
} | [
"dk.netarkivet.archive.bitarchive.distribute.RemoveAndGetFileMessage",
"dk.netarkivet.common.distribute.JMSConnectionFactory",
"dk.netarkivet.common.exceptions.ArgumentNotValid"
] | import dk.netarkivet.archive.bitarchive.distribute.RemoveAndGetFileMessage; import dk.netarkivet.common.distribute.JMSConnectionFactory; import dk.netarkivet.common.exceptions.ArgumentNotValid; | import dk.netarkivet.archive.bitarchive.distribute.*; import dk.netarkivet.common.distribute.*; import dk.netarkivet.common.exceptions.*; | [
"dk.netarkivet.archive",
"dk.netarkivet.common"
] | dk.netarkivet.archive; dk.netarkivet.common; | 1,313,551 |
private void assertPivot(String field, Object value, int count, // int numKids,
PivotField actual) {
assertEquals("FIELD: " + actual.toString(), field, actual.getField());
assertEquals("VALUE: " + actual.toString(), value, actual.getValue());
assertEquals("COUNT: " + actual.toString(), count, actual.getCount());
// TODO: add arg && assert on number of kids
//assertEquals("#KIDS: " + actual.toString(), numKids, actual.getPivot().size());
} | void function(String field, Object value, int count, PivotField actual) { assertEquals(STR + actual.toString(), field, actual.getField()); assertEquals(STR + actual.toString(), value, actual.getValue()); assertEquals(STR + actual.toString(), count, actual.getCount()); } | /**
* asserts that the actual PivotField matches the expected criteria
*/ | asserts that the actual PivotField matches the expected criteria | assertPivot | {
"repo_name": "cscorley/solr-only-mirror",
"path": "core/src/test/org/apache/solr/handler/component/DistributedFacetPivotLargeTest.java",
"license": "apache-2.0",
"size": 36088
} | [
"org.apache.solr.client.solrj.response.PivotField"
] | import org.apache.solr.client.solrj.response.PivotField; | import org.apache.solr.client.solrj.response.*; | [
"org.apache.solr"
] | org.apache.solr; | 2,430,439 |
private void addFile(final File jarFile) {
String jarPath = jarFile.getAbsolutePath();
String urlPath = "jar:file://" + jarPath + "!/";
URL url = null;
try {
url = new URL(urlPath);
} catch (MalformedURLException e) {
throw new RuntimeException("Invalid path. Please check '" + jarPath + "'.", e);
}
addURL(url);
} | void function(final File jarFile) { String jarPath = jarFile.getAbsolutePath(); String urlPath = STRInvalid path. Please check 'STR'.", e); } addURL(url); } | /**
* Add jar file to classpath of this ClassLoader.
* @param jarFile a valid JAR file.
* @throws RuntimeException if jarPath is invalid.
*/ | Add jar file to classpath of this ClassLoader | addFile | {
"repo_name": "eric-stanley/doit",
"path": "src/main/java/org/oneupfordev/doit/packs/search/JarFileLoader.java",
"license": "gpl-3.0",
"size": 3810
} | [
"java.io.File"
] | import java.io.File; | import java.io.*; | [
"java.io"
] | java.io; | 1,786,308 |
protected boolean validComponentsPackage(File dir)
{
// valid if this is a directory with a WEB-INF directory below with a components.xml file
if ((dir != null) && (dir.isDirectory()))
{
File webinf = new File(dir, "WEB-INF");
if ((webinf != null) && (webinf.isDirectory()))
{
File xml = new File(webinf, "components.xml");
if ((xml != null) && (xml.isFile()))
{
return true;
}
}
}
return false;
} | boolean function(File dir) { if ((dir != null) && (dir.isDirectory())) { File webinf = new File(dir, STR); if ((webinf != null) && (webinf.isDirectory())) { File xml = new File(webinf, STR); if ((xml != null) && (xml.isFile())) { return true; } } } return false; } | /**
* Test if this File is a valid components package directory.
*
* @param dir
* The file to test
* @return true if it is a valid components package directory, false if not.
*/ | Test if this File is a valid components package directory | validComponentsPackage | {
"repo_name": "hackbuteer59/sakai",
"path": "kernel/component-manager/src/main/java/org/sakaiproject/util/ComponentsLoader.java",
"license": "apache-2.0",
"size": 9008
} | [
"java.io.File"
] | import java.io.File; | import java.io.*; | [
"java.io"
] | java.io; | 656,007 |
private int dropColumnStats(Table table) throws ImpalaRuntimeException {
Preconditions.checkState(table.getLock().isHeldByCurrentThread());
int numColsUpdated = 0;
try (MetaStoreClient msClient = catalog_.getMetaStoreClient()) {
for (Column col: table.getColumns()) {
// Skip columns that don't have stats.
if (!col.getStats().hasStats()) continue;
try {
msClient.getHiveClient().deleteTableColumnStatistics(
table.getDb().getName(), table.getName(), col.getName());
++numColsUpdated;
} catch (NoSuchObjectException e) {
// We don't care if the column stats do not exist, just ignore the exception.
// We would only expect to make it here if the Impala and HMS metadata
// diverged.
} catch (TException e) {
throw new ImpalaRuntimeException(
String.format(HMS_RPC_ERROR_FORMAT_STR,
"delete_table_column_statistics"), e);
}
}
}
return numColsUpdated;
} | int function(Table table) throws ImpalaRuntimeException { Preconditions.checkState(table.getLock().isHeldByCurrentThread()); int numColsUpdated = 0; try (MetaStoreClient msClient = catalog_.getMetaStoreClient()) { for (Column col: table.getColumns()) { if (!col.getStats().hasStats()) continue; try { msClient.getHiveClient().deleteTableColumnStatistics( table.getDb().getName(), table.getName(), col.getName()); ++numColsUpdated; } catch (NoSuchObjectException e) { } catch (TException e) { throw new ImpalaRuntimeException( String.format(HMS_RPC_ERROR_FORMAT_STR, STR), e); } } } return numColsUpdated; } | /**
* Drops all column stats from the table in the HMS. Returns the number of columns
* that were updated as part of this operation.
*/ | Drops all column stats from the table in the HMS. Returns the number of columns that were updated as part of this operation | dropColumnStats | {
"repo_name": "cloudera/Impala",
"path": "fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java",
"license": "apache-2.0",
"size": 192620
} | [
"com.google.common.base.Preconditions",
"org.apache.hadoop.hive.metastore.api.NoSuchObjectException",
"org.apache.impala.catalog.Column",
"org.apache.impala.catalog.MetaStoreClientPool",
"org.apache.impala.catalog.Table",
"org.apache.impala.common.ImpalaRuntimeException",
"org.apache.thrift.TException"
] | import com.google.common.base.Preconditions; import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; import org.apache.impala.catalog.Column; import org.apache.impala.catalog.MetaStoreClientPool; import org.apache.impala.catalog.Table; import org.apache.impala.common.ImpalaRuntimeException; import org.apache.thrift.TException; | import com.google.common.base.*; import org.apache.hadoop.hive.metastore.api.*; import org.apache.impala.catalog.*; import org.apache.impala.common.*; import org.apache.thrift.*; | [
"com.google.common",
"org.apache.hadoop",
"org.apache.impala",
"org.apache.thrift"
] | com.google.common; org.apache.hadoop; org.apache.impala; org.apache.thrift; | 1,395,350 |
@Test
public final void testWrongSizeIsinIsWrong() {
for (final IsinTestBean testBean : IsinTestCases.getWrongSizeTestBeans()) {
super.validationTest(testBean, false, SIZE_VALIDATOR);
}
} | final void function() { for (final IsinTestBean testBean : IsinTestCases.getWrongSizeTestBeans()) { super.validationTest(testBean, false, SIZE_VALIDATOR); } } | /**
* isin size is not valid.
*/ | isin size is not valid | testWrongSizeIsinIsWrong | {
"repo_name": "ManfredTremmel/mt-bean-validators",
"path": "src/test/java/de/knightsoftnet/validators/server/IsinTest.java",
"license": "apache-2.0",
"size": 2093
} | [
"de.knightsoftnet.validators.shared.beans.IsinTestBean",
"de.knightsoftnet.validators.shared.testcases.IsinTestCases"
] | import de.knightsoftnet.validators.shared.beans.IsinTestBean; import de.knightsoftnet.validators.shared.testcases.IsinTestCases; | import de.knightsoftnet.validators.shared.beans.*; import de.knightsoftnet.validators.shared.testcases.*; | [
"de.knightsoftnet.validators"
] | de.knightsoftnet.validators; | 2,832,717 |
public void setLoginService(JettyLoginServiceFactory loginService) {
this.loginService = Args.notNull(loginService, "loginService");
} | void function(JettyLoginServiceFactory loginService) { this.loginService = Args.notNull(loginService, STR); } | /**
* Sets the factory which will create the underlying LoginService
*
* @param loginService the login service to use.
*/ | Sets the factory which will create the underlying LoginService | setLoginService | {
"repo_name": "adaptris/interlok",
"path": "interlok-core/src/main/java/com/adaptris/core/http/jetty/ConfigurableSecurityHandler.java",
"license": "apache-2.0",
"size": 4638
} | [
"com.adaptris.core.util.Args"
] | import com.adaptris.core.util.Args; | import com.adaptris.core.util.*; | [
"com.adaptris.core"
] | com.adaptris.core; | 680,514 |
Matrix resizeColumns(int columns, Factory factory); | Matrix resizeColumns(int columns, Factory factory); | /**
* Resizes this matrix to new columns size.
*
* @param columns
* @return
*/ | Resizes this matrix to new columns size | resizeColumns | {
"repo_name": "hisohito/la4j",
"path": "src/main/java/org/la4j/matrix/Matrix.java",
"license": "apache-2.0",
"size": 18093
} | [
"org.la4j.factory.Factory"
] | import org.la4j.factory.Factory; | import org.la4j.factory.*; | [
"org.la4j.factory"
] | org.la4j.factory; | 1,853,789 |
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(RouterRoute.class)) {
case EsbPackage.ROUTER_ROUTE__BREAK_AFTER_ROUTE:
case EsbPackage.ROUTER_ROUTE__ROUTE_PATTERN:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
super.notifyChanged(notification);
}
| void function(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(RouterRoute.class)) { case EsbPackage.ROUTER_ROUTE__BREAK_AFTER_ROUTE: case EsbPackage.ROUTER_ROUTE__ROUTE_PATTERN: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); } | /**
* This handles model notifications by calling {@link #updateChildren} to update any cached
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/ | This handles model notifications by calling <code>#updateChildren</code> to update any cached children and by creating a viewer notification, which it passes to <code>#fireNotifyChanged</code>. | notifyChanged | {
"repo_name": "chanakaudaya/developer-studio",
"path": "esb/org.wso2.developerstudio.eclipse.gmf.esb.edit/src/org/wso2/developerstudio/eclipse/gmf/esb/provider/RouterRouteItemProvider.java",
"license": "apache-2.0",
"size": 6127
} | [
"org.eclipse.emf.common.notify.Notification",
"org.eclipse.emf.edit.provider.ViewerNotification",
"org.wso2.developerstudio.eclipse.gmf.esb.EsbPackage",
"org.wso2.developerstudio.eclipse.gmf.esb.RouterRoute"
] | import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.edit.provider.ViewerNotification; import org.wso2.developerstudio.eclipse.gmf.esb.EsbPackage; import org.wso2.developerstudio.eclipse.gmf.esb.RouterRoute; | import org.eclipse.emf.common.notify.*; import org.eclipse.emf.edit.provider.*; import org.wso2.developerstudio.eclipse.gmf.esb.*; | [
"org.eclipse.emf",
"org.wso2.developerstudio"
] | org.eclipse.emf; org.wso2.developerstudio; | 445,484 |
public static void applyContinuousQueryEvents(PlatformContext ctx, long lsnrPtr, Iterable<CacheEntryEvent> evts)
throws CacheEntryListenerException {
assert lsnrPtr != 0;
assert evts != null;
try (PlatformMemory mem = ctx.memory().allocate()) {
PlatformOutputStream out = mem.output();
BinaryRawWriterEx writer = ctx.writer(out);
writer.writeLong(lsnrPtr);
int cntPos = writer.reserveInt();
int cnt = 0;
for (CacheEntryEvent evt : evts) {
writeCacheEntryEvent(writer, evt);
cnt++;
}
writer.writeInt(cntPos, cnt);
out.synchronize();
ctx.gateway().continuousQueryListenerApply(mem.pointer());
}
catch (Exception e) {
throw toCacheEntryListenerException(e);
}
} | static void function(PlatformContext ctx, long lsnrPtr, Iterable<CacheEntryEvent> evts) throws CacheEntryListenerException { assert lsnrPtr != 0; assert evts != null; try (PlatformMemory mem = ctx.memory().allocate()) { PlatformOutputStream out = mem.output(); BinaryRawWriterEx writer = ctx.writer(out); writer.writeLong(lsnrPtr); int cntPos = writer.reserveInt(); int cnt = 0; for (CacheEntryEvent evt : evts) { writeCacheEntryEvent(writer, evt); cnt++; } writer.writeInt(cntPos, cnt); out.synchronize(); ctx.gateway().continuousQueryListenerApply(mem.pointer()); } catch (Exception e) { throw toCacheEntryListenerException(e); } } | /**
* Apply continuous query events to listener.
*
* @param ctx Context.
* @param lsnrPtr Listener pointer.
* @param evts Events.
* @throws javax.cache.event.CacheEntryListenerException In case of failure.
*/ | Apply continuous query events to listener | applyContinuousQueryEvents | {
"repo_name": "irudyak/ignite",
"path": "modules/core/src/main/java/org/apache/ignite/internal/processors/platform/utils/PlatformUtils.java",
"license": "apache-2.0",
"size": 38830
} | [
"javax.cache.event.CacheEntryEvent",
"javax.cache.event.CacheEntryListenerException",
"org.apache.ignite.internal.binary.BinaryRawWriterEx",
"org.apache.ignite.internal.processors.platform.PlatformContext",
"org.apache.ignite.internal.processors.platform.memory.PlatformMemory",
"org.apache.ignite.internal.processors.platform.memory.PlatformOutputStream"
] | import javax.cache.event.CacheEntryEvent; import javax.cache.event.CacheEntryListenerException; import org.apache.ignite.internal.binary.BinaryRawWriterEx; import org.apache.ignite.internal.processors.platform.PlatformContext; import org.apache.ignite.internal.processors.platform.memory.PlatformMemory; import org.apache.ignite.internal.processors.platform.memory.PlatformOutputStream; | import javax.cache.event.*; import org.apache.ignite.internal.binary.*; import org.apache.ignite.internal.processors.platform.*; import org.apache.ignite.internal.processors.platform.memory.*; | [
"javax.cache",
"org.apache.ignite"
] | javax.cache; org.apache.ignite; | 1,408,579 |
@PluginFactory
public static ConcurrentMap<String, Appender> createAppenders(
@PluginElement("Appenders") final Appender[] appenders) {
final ConcurrentMap<String, Appender> map =
new ConcurrentHashMap<>();
for (final Appender appender : appenders) {
map.put(appender.getName(), appender);
}
return map;
} | static ConcurrentMap<String, Appender> function( @PluginElement(STR) final Appender[] appenders) { final ConcurrentMap<String, Appender> map = new ConcurrentHashMap<>(); for (final Appender appender : appenders) { map.put(appender.getName(), appender); } return map; } | /**
* Create a Map of the Appenders.
* @param appenders An array of Appenders.
* @return The Appender Map.
*/ | Create a Map of the Appenders | createAppenders | {
"repo_name": "pisfly/logging-log4j2",
"path": "log4j-core/src/main/java/org/apache/logging/log4j/core/config/AppendersPlugin.java",
"license": "apache-2.0",
"size": 1872
} | [
"java.util.concurrent.ConcurrentHashMap",
"java.util.concurrent.ConcurrentMap",
"org.apache.logging.log4j.core.Appender",
"org.apache.logging.log4j.core.config.plugins.PluginElement"
] | import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import org.apache.logging.log4j.core.Appender; import org.apache.logging.log4j.core.config.plugins.PluginElement; | import java.util.concurrent.*; import org.apache.logging.log4j.core.*; import org.apache.logging.log4j.core.config.plugins.*; | [
"java.util",
"org.apache.logging"
] | java.util; org.apache.logging; | 1,487,135 |
public FileLock createLockObject(SrvSession sess, TreeConnection tree, NetworkFile file,
long offset, long len, int pid);
| FileLock function(SrvSession sess, TreeConnection tree, NetworkFile file, long offset, long len, int pid); | /**
* Create a lock object, allows the FileLock object to be extended
*
* @param sess SrvSession
* @param tree TreeConnection
* @param file NetworkFile
* @param offset long
* @param len long
* @param pid int
* @return FileLock
*/ | Create a lock object, allows the FileLock object to be extended | createLockObject | {
"repo_name": "arcusys/Liferay-CIFS",
"path": "source/java/org/alfresco/jlan/server/locking/LockManager.java",
"license": "gpl-3.0",
"size": 3302
} | [
"org.alfresco.jlan.locking.FileLock",
"org.alfresco.jlan.server.SrvSession",
"org.alfresco.jlan.server.filesys.NetworkFile",
"org.alfresco.jlan.server.filesys.TreeConnection"
] | import org.alfresco.jlan.locking.FileLock; import org.alfresco.jlan.server.SrvSession; import org.alfresco.jlan.server.filesys.NetworkFile; import org.alfresco.jlan.server.filesys.TreeConnection; | import org.alfresco.jlan.locking.*; import org.alfresco.jlan.server.*; import org.alfresco.jlan.server.filesys.*; | [
"org.alfresco.jlan"
] | org.alfresco.jlan; | 1,810,146 |
@SuppressWarnings("unchecked") // We check this ourselves with instanceof and getDeclaringClass()
private static <T extends Enum<T>> Map<String, T> mapOf(String key, T value,
Object... additional) throws IllegalArgumentException {
// Verify length of additional pairs is even
if (additional.length % 2 != 0)
throw new IllegalArgumentException("Array of additional key/value pairs must be even in length.");
// Add first type-checked pair
Map<String, T> valueMapping = new HashMap<>(1 + additional.length);
valueMapping.put(key, value);
Class<T> enumClass = value.getDeclaringClass();
// Add remaining, unchecked pairs
for (int i = 0; i < additional.length; i += 2) {
// Verify that unchecked keys are indeed Strings
Object additionalKey = additional[i];
if (!(additionalKey instanceof String))
throw new IllegalArgumentException("Keys of additional key/value pairs must be strings.");
// Verify that unchecked values are indeed constants defined by the
// expected enum
Object additionalValue = additional[i + 1];
if (!(additionalValue instanceof Enum) || enumClass != ((Enum) additionalValue).getDeclaringClass())
throw new IllegalArgumentException("Values of additional key/value pairs must be enum constants of the correct type.");
valueMapping.put((String) additionalKey, (T) additionalValue);
}
return valueMapping;
}
public EnumGuacamoleProperty(Map<String, T> valueMapping) {
this.valueMapping = valueMapping;
}
public EnumGuacamoleProperty(Class<T> enumClass) {
this(getValueMapping(enumClass));
}
public EnumGuacamoleProperty(String key, T value, Object... additional)
throws IllegalArgumentException {
this(mapOf(key, value, additional));
} | @SuppressWarnings(STR) static <T extends Enum<T>> Map<String, T> function(String key, T value, Object... additional) throws IllegalArgumentException { if (additional.length % 2 != 0) throw new IllegalArgumentException(STR); Map<String, T> valueMapping = new HashMap<>(1 + additional.length); valueMapping.put(key, value); Class<T> enumClass = value.getDeclaringClass(); for (int i = 0; i < additional.length; i += 2) { Object additionalKey = additional[i]; if (!(additionalKey instanceof String)) throw new IllegalArgumentException(STR); Object additionalValue = additional[i + 1]; if (!(additionalValue instanceof Enum) enumClass != ((Enum) additionalValue).getDeclaringClass()) throw new IllegalArgumentException(STR); valueMapping.put((String) additionalKey, (T) additionalValue); } return valueMapping; } public EnumGuacamoleProperty(Map<String, T> valueMapping) { this.valueMapping = valueMapping; } public EnumGuacamoleProperty(Class<T> enumClass) { this(getValueMapping(enumClass)); } public EnumGuacamoleProperty(String key, T value, Object... additional) throws IllegalArgumentException { this(mapOf(key, value, additional)); } | /**
* Produces a new Map having the given key/value pairs. Each key MUST be a
* String, and each value MUST be an enum constant belonging to the given
* enum.
*
* @param <T>
* The enum whose constants may be used as values within the Map.
*
* @param key
* The key of the first key/value pair to include within the Map.
*
* @param value
* The value of the first key/value pair to include within the Map.
*
* @param additional
* Any additional key/value pairs to be included beyond the first. This
* array must be even in length, where each even element is a String
* key and each odd element is the enum constant value to be associated
* with the key immediately preceding it.
*
* @return
* A new Map having each of the given key/value pairs.
*
* @throws IllegalArgumentException
* If any provided key is not a String, if any provided value is not
* an enum constant from the given enum type, or if the length of
* {@code additional} is not even.
*/ | Produces a new Map having the given key/value pairs. Each key MUST be a String, and each value MUST be an enum constant belonging to the given enum | mapOf | {
"repo_name": "mike-jumper/incubator-guacamole-client",
"path": "guacamole-ext/src/main/java/org/apache/guacamole/properties/EnumGuacamoleProperty.java",
"license": "apache-2.0",
"size": 9540
} | [
"java.util.HashMap",
"java.util.Map"
] | import java.util.HashMap; import java.util.Map; | import java.util.*; | [
"java.util"
] | java.util; | 862,994 |
public int countAllBoreholes(String serviceURL, String boreholeName, String custodian,
String dateOfDrillingStart,String dateOfDrillingEnd, int maxFeatures, FilterBoundingBox bbox, List<String> restrictToIDList)
throws Exception {
String filterString;
BoreholeFilter nvclFilter = new BoreholeFilter(boreholeName, custodian, dateOfDrillingStart, dateOfDrillingEnd,restrictToIDList);
if (bbox == null) {
filterString = nvclFilter.getFilterStringAllRecords();
} else {
filterString = nvclFilter.getFilterStringBoundingBox(bbox);
}
HttpRequestBase method = null;
try {
// Create a GetFeature request with an empty filter - get all
method = this.generateWFSRequest(serviceURL, getTypeName(), null, filterString, maxFeatures, null,
ResultType.Hits, null);
String responseGml = this.httpServiceCaller.getMethodResponseAsString(method);
Document doc = DOMUtil.buildDomFromString(responseGml, true);
String number = (String) DOMUtil.compileXPathExpr("wfs:FeatureCollection/@numberOfFeatures", new WFSNamespaceContext()).evaluate(doc, XPathConstants.STRING);
return Integer.parseInt(number);
} catch (Exception ex) {
throw new PortalServiceException(method, ex);
}
}
| int function(String serviceURL, String boreholeName, String custodian, String dateOfDrillingStart,String dateOfDrillingEnd, int maxFeatures, FilterBoundingBox bbox, List<String> restrictToIDList) throws Exception { String filterString; BoreholeFilter nvclFilter = new BoreholeFilter(boreholeName, custodian, dateOfDrillingStart, dateOfDrillingEnd,restrictToIDList); if (bbox == null) { filterString = nvclFilter.getFilterStringAllRecords(); } else { filterString = nvclFilter.getFilterStringBoundingBox(bbox); } HttpRequestBase method = null; try { method = this.generateWFSRequest(serviceURL, getTypeName(), null, filterString, maxFeatures, null, ResultType.Hits, null); String responseGml = this.httpServiceCaller.getMethodResponseAsString(method); Document doc = DOMUtil.buildDomFromString(responseGml, true); String number = (String) DOMUtil.compileXPathExpr(STR, new WFSNamespaceContext()).evaluate(doc, XPathConstants.STRING); return Integer.parseInt(number); } catch (Exception ex) { throw new PortalServiceException(method, ex); } } | /**
* Counts all boreholes from a given service url and return the response
*
* @param serviceURL
* @param bbox
* Set to the bounding box in which to fetch results, otherwise set it to null
* @param restrictToIDList
* [Optional] A list of gml:id values that the resulting filter should restrict its search space to
* @return
* @throws Exception
*/ | Counts all boreholes from a given service url and return the response | countAllBoreholes | {
"repo_name": "joshvote/AuScope-Portal",
"path": "src/main/java/org/auscope/portal/server/web/service/BoreholeService.java",
"license": "gpl-3.0",
"size": 14781
} | [
"java.util.List",
"javax.xml.xpath.XPathConstants",
"org.apache.http.client.methods.HttpRequestBase",
"org.auscope.portal.core.services.PortalServiceException",
"org.auscope.portal.core.services.methodmakers.WFSGetFeatureMethodMaker",
"org.auscope.portal.core.services.methodmakers.filter.FilterBoundingBox",
"org.auscope.portal.core.services.namespaces.WFSNamespaceContext",
"org.auscope.portal.core.util.DOMUtil",
"org.auscope.portal.gsml.BoreholeFilter",
"org.w3c.dom.Document"
] | import java.util.List; import javax.xml.xpath.XPathConstants; import org.apache.http.client.methods.HttpRequestBase; import org.auscope.portal.core.services.PortalServiceException; import org.auscope.portal.core.services.methodmakers.WFSGetFeatureMethodMaker; import org.auscope.portal.core.services.methodmakers.filter.FilterBoundingBox; import org.auscope.portal.core.services.namespaces.WFSNamespaceContext; import org.auscope.portal.core.util.DOMUtil; import org.auscope.portal.gsml.BoreholeFilter; import org.w3c.dom.Document; | import java.util.*; import javax.xml.xpath.*; import org.apache.http.client.methods.*; import org.auscope.portal.core.services.*; import org.auscope.portal.core.services.methodmakers.*; import org.auscope.portal.core.services.methodmakers.filter.*; import org.auscope.portal.core.services.namespaces.*; import org.auscope.portal.core.util.*; import org.auscope.portal.gsml.*; import org.w3c.dom.*; | [
"java.util",
"javax.xml",
"org.apache.http",
"org.auscope.portal",
"org.w3c.dom"
] | java.util; javax.xml; org.apache.http; org.auscope.portal; org.w3c.dom; | 2,378,458 |
@Override
public void setCharacterStream(Writer cs) {
writer = cs;
} | void function(Writer cs) { writer = cs; } | /**
* Set 16 bits unit writable stream.
*
* @param cs a Writer instance
*/ | Set 16 bits unit writable stream | setCharacterStream | {
"repo_name": "md-5/jdk10",
"path": "test/jaxp/javax/xml/jaxp/libs/test/auctionportal/MyDOMOutput.java",
"license": "gpl-2.0",
"size": 3641
} | [
"java.io.Writer"
] | import java.io.Writer; | import java.io.*; | [
"java.io"
] | java.io; | 1,317,532 |
CompletableFuture<StatusCode> writeEventNotifier(DataValue value); | CompletableFuture<StatusCode> writeEventNotifier(DataValue value); | /**
* Write a {@link DataValue} to the EventNotifier attribute.
*
* @param value the {@link DataValue} to write.
* @return the {@link StatusCode} of the write operation.
*/ | Write a <code>DataValue</code> to the EventNotifier attribute | writeEventNotifier | {
"repo_name": "wsuetholz/opc-ua-sdk",
"path": "sdk-client/src/main/java/com/digitalpetri/opcua/sdk/client/api/nodes/attached/UaViewNode.java",
"license": "agpl-3.0",
"size": 3479
} | [
"com.digitalpetri.opcua.stack.core.types.builtin.DataValue",
"com.digitalpetri.opcua.stack.core.types.builtin.StatusCode",
"java.util.concurrent.CompletableFuture"
] | import com.digitalpetri.opcua.stack.core.types.builtin.DataValue; import com.digitalpetri.opcua.stack.core.types.builtin.StatusCode; import java.util.concurrent.CompletableFuture; | import com.digitalpetri.opcua.stack.core.types.builtin.*; import java.util.concurrent.*; | [
"com.digitalpetri.opcua",
"java.util"
] | com.digitalpetri.opcua; java.util; | 334,317 |
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable<DenyAssignmentInner> list(String filter, Context context) {
return new PagedIterable<>(listAsync(filter, context));
} | @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable<DenyAssignmentInner> function(String filter, Context context) { return new PagedIterable<>(listAsync(filter, context)); } | /**
* Gets all deny assignments for the subscription.
*
* @param filter The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or
* above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified
* scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the
* specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and
* below the scope for the specified principal. This filter is different from the principalId filter as it
* returns not only those deny assignments that contain the specified principal is the Principals list but also
* those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when
* gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return all deny assignments for the subscription.
*/ | Gets all deny assignments for the subscription | list | {
"repo_name": "Azure/azure-sdk-for-java",
"path": "sdk/resourcemanager/azure-resourcemanager-authorization/src/main/java/com/azure/resourcemanager/authorization/implementation/DenyAssignmentsClientImpl.java",
"license": "mit",
"size": 91856
} | [
"com.azure.core.annotation.ReturnType",
"com.azure.core.annotation.ServiceMethod",
"com.azure.core.http.rest.PagedIterable",
"com.azure.core.util.Context",
"com.azure.resourcemanager.authorization.fluent.models.DenyAssignmentInner"
] | import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; import com.azure.core.http.rest.PagedIterable; import com.azure.core.util.Context; import com.azure.resourcemanager.authorization.fluent.models.DenyAssignmentInner; | import com.azure.core.annotation.*; import com.azure.core.http.rest.*; import com.azure.core.util.*; import com.azure.resourcemanager.authorization.fluent.models.*; | [
"com.azure.core",
"com.azure.resourcemanager"
] | com.azure.core; com.azure.resourcemanager; | 1,809,836 |
public MessageMetadataBuilder senderRole(USEFRole senderRole) {
this.senderRole = senderRole;
return this;
} | MessageMetadataBuilder function(USEFRole senderRole) { this.senderRole = senderRole; return this; } | /**
* Sets the sender role.
*
* @param senderRole {@link USEFRole} sender role.
* @return this builder.
*/ | Sets the sender role | senderRole | {
"repo_name": "USEF-Foundation/ri.usef.energy",
"path": "usef-build/usef-core/usef-core-transport/src/main/java/energy/usef/core/service/helper/MessageMetadataBuilder.java",
"license": "apache-2.0",
"size": 7121
} | [
"energy.usef.core.data.xml.bean.message.USEFRole"
] | import energy.usef.core.data.xml.bean.message.USEFRole; | import energy.usef.core.data.xml.bean.message.*; | [
"energy.usef.core"
] | energy.usef.core; | 620,763 |
public static Point2D readPoint2D(final ObjectInputStream stream)
throws IOException {
if (stream == null) {
throw new IllegalArgumentException("Null 'stream' argument.");
}
Point2D result = null;
final boolean isNull = stream.readBoolean();
if (!isNull) {
final double x = stream.readDouble();
final double y = stream.readDouble();
result = new Point2D.Double(x, y);
}
return result;
} | static Point2D function(final ObjectInputStream stream) throws IOException { if (stream == null) { throw new IllegalArgumentException(STR); } Point2D result = null; final boolean isNull = stream.readBoolean(); if (!isNull) { final double x = stream.readDouble(); final double y = stream.readDouble(); result = new Point2D.Double(x, y); } return result; } | /**
* Reads a <code>Point2D</code> object that has been serialised by the
* {@link #writePoint2D(Point2D, ObjectOutputStream)} method.
*
* @param stream the input stream (<code>null</code> not permitted).
*
* @return The point object (possibly <code>null</code>).
*
* @throws IOException if there is an I/O problem.
*/ | Reads a <code>Point2D</code> object that has been serialised by the <code>#writePoint2D(Point2D, ObjectOutputStream)</code> method | readPoint2D | {
"repo_name": "JohnBrodie/visual-kanban",
"path": "lib/jcommon-1.0.17/source/org/jfree/io/SerialUtilities.java",
"license": "mit",
"size": 24889
} | [
"java.awt.geom.Point2D",
"java.io.IOException",
"java.io.ObjectInputStream"
] | import java.awt.geom.Point2D; import java.io.IOException; import java.io.ObjectInputStream; | import java.awt.geom.*; import java.io.*; | [
"java.awt",
"java.io"
] | java.awt; java.io; | 1,628,712 |
@JsonIgnore // have to do this, otherwise Jackson uses the value returned by this getter instead of the property (TODO (AG): Figure out why!)
public @Nullable String getExpectedValue() {
return hasExpectedValue ? expectedValue : null;
} | @JsonIgnore @Nullable String function() { return hasExpectedValue ? expectedValue : null; } | /**
* Get the value the caller expects to find in a KayVee {@code key=>value} pair.
*
* @return the value the caller expects to find in a KayVee {@code key=>value} pair. May be null
* if the caller does not expect the {@code key=>value} pair to exist
*/ | Get the value the caller expects to find in a KayVee key=>value pair | getExpectedValue | {
"repo_name": "allengeorge/libraft",
"path": "libraft-samples/kayvee/src/main/java/io/libraft/kayvee/api/SetValue.java",
"license": "bsd-3-clause",
"size": 6888
} | [
"com.fasterxml.jackson.annotation.JsonIgnore",
"javax.annotation.Nullable"
] | import com.fasterxml.jackson.annotation.JsonIgnore; import javax.annotation.Nullable; | import com.fasterxml.jackson.annotation.*; import javax.annotation.*; | [
"com.fasterxml.jackson",
"javax.annotation"
] | com.fasterxml.jackson; javax.annotation; | 103,091 |
protected void startScreen() {
if( screenSrv == null) screenSrv = new Intent(awareContext, Screen.class);
awareContext.startService(screenSrv);
} | void function() { if( screenSrv == null) screenSrv = new Intent(awareContext, Screen.class); awareContext.startService(screenSrv); } | /**
* Start the screen module
*/ | Start the screen module | startScreen | {
"repo_name": "EEXCESS/android-app",
"path": "Frameworks/aware_framework_v2/src/com/aware/Aware.java",
"license": "mit",
"size": 43723
} | [
"android.content.Intent"
] | import android.content.Intent; | import android.content.*; | [
"android.content"
] | android.content; | 2,633,227 |
public VariableTree removeModifiers(VariableTree variableTree) {
Parameters.notNull("variableTree", variableTree);
TreeMaker make = getTreeMaker();
return make.Variable(
createEmptyModifiers(),
variableTree.getName(),
variableTree.getType(),
variableTree.getInitializer());
} | VariableTree function(VariableTree variableTree) { Parameters.notNull(STR, variableTree); TreeMaker make = getTreeMaker(); return make.Variable( createEmptyModifiers(), variableTree.getName(), variableTree.getType(), variableTree.getInitializer()); } | /**
* Removes any modifiers from the given <code>VariableTree</code>. This can be e.g.
* used to create a variable suitable for use as a method parameter.
*
* @param variableTree the <code>VariableTree</code> to remove the modifiers from.
* @return a <code>VariableTree</code> with the same properties but no modifiers.
*/ | Removes any modifiers from the given <code>VariableTree</code>. This can be e.g. used to create a variable suitable for use as a method parameter | removeModifiers | {
"repo_name": "jGauravGupta/jCode",
"path": "mvc/src/main/java/io/github/jeddict/mvc/GenerationUtils.java",
"license": "apache-2.0",
"size": 32327
} | [
"com.sun.source.tree.VariableTree",
"org.netbeans.api.java.source.TreeMaker",
"org.openide.util.Parameters"
] | import com.sun.source.tree.VariableTree; import org.netbeans.api.java.source.TreeMaker; import org.openide.util.Parameters; | import com.sun.source.tree.*; import org.netbeans.api.java.source.*; import org.openide.util.*; | [
"com.sun.source",
"org.netbeans.api",
"org.openide.util"
] | com.sun.source; org.netbeans.api; org.openide.util; | 211,815 |
@Test
public void testEventStampQuery() throws Exception {
NoteItemFilter filter = new NoteItemFilter();
EventStampFilter eventFilter = new EventStampFilter();
CollectionItem parent = new HibCollectionItem();
filter.setParent(parent);
filter.setDisplayName(Restrictions.eq("test"));
filter.setIcalUid(Restrictions.eq("icaluid"));
//filter.setBody("body");
filter.getStampFilters().add(eventFilter);
Query query = queryBuilder.buildQuery(session, filter);
Assert.assertEquals("select i from HibNoteItem i join i.parentDetails pd, "
+ "HibBaseEventStamp es where pd.primaryKey.collection=:parent and "
+ "i.displayName=:param1 and es.item=i and i.icalUid=:param2", query.getQueryString());
eventFilter.setIsRecurring(true);
query = queryBuilder.buildQuery(session, filter);
Assert.assertEquals("select i from HibNoteItem i join i.parentDetails pd, HibBaseEventStamp "
+ "es where pd.primaryKey.collection=:parent and i.displayName=:param1 and"
+ " es.item=i and (es.timeRangeIndex.isRecurring=true or i.modifies is not null) "
+ "and i.icalUid=:param2", query.getQueryString());
} | void function() throws Exception { NoteItemFilter filter = new NoteItemFilter(); EventStampFilter eventFilter = new EventStampFilter(); CollectionItem parent = new HibCollectionItem(); filter.setParent(parent); filter.setDisplayName(Restrictions.eq("test")); filter.setIcalUid(Restrictions.eq(STR)); filter.getStampFilters().add(eventFilter); Query query = queryBuilder.buildQuery(session, filter); Assert.assertEquals(STR + STR + STR, query.getQueryString()); eventFilter.setIsRecurring(true); query = queryBuilder.buildQuery(session, filter); Assert.assertEquals(STR + STR + STR + STR, query.getQueryString()); } | /**
* Tests event stamp query.
* @throws Exception - if something is wrong this exception is thrown.
*/ | Tests event stamp query | testEventStampQuery | {
"repo_name": "Eisler/cosmo",
"path": "cosmo-core/src/test/unit/java/org/unitedinternet/cosmo/dao/hibernate/query/StandardItemFilterProcessorTest.java",
"license": "apache-2.0",
"size": 15229
} | [
"org.hibernate.Query",
"org.junit.Assert",
"org.unitedinternet.cosmo.model.CollectionItem",
"org.unitedinternet.cosmo.model.filter.EventStampFilter",
"org.unitedinternet.cosmo.model.filter.NoteItemFilter",
"org.unitedinternet.cosmo.model.filter.Restrictions",
"org.unitedinternet.cosmo.model.hibernate.HibCollectionItem"
] | import org.hibernate.Query; import org.junit.Assert; import org.unitedinternet.cosmo.model.CollectionItem; import org.unitedinternet.cosmo.model.filter.EventStampFilter; import org.unitedinternet.cosmo.model.filter.NoteItemFilter; import org.unitedinternet.cosmo.model.filter.Restrictions; import org.unitedinternet.cosmo.model.hibernate.HibCollectionItem; | import org.hibernate.*; import org.junit.*; import org.unitedinternet.cosmo.model.*; import org.unitedinternet.cosmo.model.filter.*; import org.unitedinternet.cosmo.model.hibernate.*; | [
"org.hibernate",
"org.junit",
"org.unitedinternet.cosmo"
] | org.hibernate; org.junit; org.unitedinternet.cosmo; | 869,309 |
public CloudBlockBlob getBlockBlobReference(final String blobName, final String snapshotID)
throws URISyntaxException, StorageException {
Utility.assertNotNullOrEmpty("blobName", blobName);
return new CloudBlockBlob(this.getPrefix().concat(blobName), snapshotID, this.getContainer());
} | CloudBlockBlob function(final String blobName, final String snapshotID) throws URISyntaxException, StorageException { Utility.assertNotNullOrEmpty(STR, blobName); return new CloudBlockBlob(this.getPrefix().concat(blobName), snapshotID, this.getContainer()); } | /**
* Returns a reference to a {@link CloudBlockBlob} object that represents a block blob in this directory, using the
* specified snapshot ID.
*
* @param blobName
* A <code>String</code> that represents the name of the blob.
* @param snapshotID
* A <code>String</code> that represents the snapshot ID of the blob.
*
* @return A {@link CloudBlockBlob} object that represents a reference to the specified block blob.
*
* @throws StorageException
* If a storage service error occurred.
* @throws URISyntaxException
* If the resource URI is invalid.
*/ | Returns a reference to a <code>CloudBlockBlob</code> object that represents a block blob in this directory, using the specified snapshot ID | getBlockBlobReference | {
"repo_name": "risezhang/azure-storage-cli",
"path": "src/main/java/com/microsoft/azure/storage/blob/CloudBlobDirectory.java",
"license": "mit",
"size": 21112
} | [
"com.microsoft.azure.storage.StorageException",
"com.microsoft.azure.storage.core.Utility",
"java.net.URISyntaxException"
] | import com.microsoft.azure.storage.StorageException; import com.microsoft.azure.storage.core.Utility; import java.net.URISyntaxException; | import com.microsoft.azure.storage.*; import com.microsoft.azure.storage.core.*; import java.net.*; | [
"com.microsoft.azure",
"java.net"
] | com.microsoft.azure; java.net; | 455,763 |
public void setFDA2_h(ContinuousFunction fda2_h) {
this.fda2_h = fda2_h;
} | void function(ContinuousFunction fda2_h) { this.fda2_h = fda2_h; } | /**
* Sets the h function that is used in the FDA2 problem.
* @param fda2_h ContinuousFunction used for the h function.
*/ | Sets the h function that is used in the FDA2 problem | setFDA2_h | {
"repo_name": "krharrison/cilib",
"path": "library/src/main/java/net/sourceforge/cilib/functions/continuous/dynamic/moo/fda2mod_camara/FDA2_f2.java",
"license": "gpl-3.0",
"size": 3963
} | [
"net.sourceforge.cilib.functions.ContinuousFunction"
] | import net.sourceforge.cilib.functions.ContinuousFunction; | import net.sourceforge.cilib.functions.*; | [
"net.sourceforge.cilib"
] | net.sourceforge.cilib; | 959,474 |
private static void formpostmultipart(
Bootstrap bootstrap, String host, int port, URI uriFile, HttpDataFactory factory,
Iterable<Entry<String, String>> headers, List<InterfaceHttpData> bodylist) throws Exception {
// XXX /formpostmultipart
// Start the connection attempt.
ChannelFuture future = bootstrap.connect(SocketUtils.socketAddress(host, port));
// Wait until the connection attempt succeeds or fails.
Channel channel = future.sync().channel();
// Prepare the HTTP request.
HttpRequest request = new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, uriFile.toASCIIString());
// Use the PostBody encoder
HttpPostRequestEncoder bodyRequestEncoder =
new HttpPostRequestEncoder(factory, request, true); // true => multipart
// it is legal to add directly header or cookie into the request until finalize
for (Entry<String, String> entry : headers) {
request.headers().set(entry.getKey(), entry.getValue());
}
// add Form attribute from previous request in formpost()
bodyRequestEncoder.setBodyHttpDatas(bodylist);
// finalize request
bodyRequestEncoder.finalizeRequest();
// send request
channel.write(request);
// test if request was chunked and if so, finish the write
if (bodyRequestEncoder.isChunked()) {
channel.write(bodyRequestEncoder);
}
channel.flush();
// Now no more use of file representation (and list of HttpData)
bodyRequestEncoder.cleanFiles();
// Wait for the server to close the connection.
channel.closeFuture().sync();
}
// use to simulate a small TEXTAREA field in a form
private static final String textArea = "short text";
// use to simulate a big TEXTAREA field in a form
private static final String textAreaLong =
"lkjlkjlKJLKJLKJLKJLJlkj lklkj\r\n\r\nLKJJJJJJJJKKKKKKKKKKKKKKK ����&\r\n\r\n" +
"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\r\n" +
"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\r\n" +
"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\r\n" +
"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM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MMMMMMMMMMMMMMMMMMM\r\n" +
"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\r\n" +
"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\r\n" +
"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\r\n" +
"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM\r\n"; | static void function( Bootstrap bootstrap, String host, int port, URI uriFile, HttpDataFactory factory, Iterable<Entry<String, String>> headers, List<InterfaceHttpData> bodylist) throws Exception { ChannelFuture future = bootstrap.connect(SocketUtils.socketAddress(host, port)); Channel channel = future.sync().channel(); HttpRequest request = new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, uriFile.toASCIIString()); HttpPostRequestEncoder bodyRequestEncoder = new HttpPostRequestEncoder(factory, request, true); for (Entry<String, String> entry : headers) { request.headers().set(entry.getKey(), entry.getValue()); } bodyRequestEncoder.setBodyHttpDatas(bodylist); bodyRequestEncoder.finalizeRequest(); channel.write(request); if (bodyRequestEncoder.isChunked()) { channel.write(bodyRequestEncoder); } channel.flush(); bodyRequestEncoder.cleanFiles(); channel.closeFuture().sync(); } private static final String textArea = STR; private static final String textAreaLong = STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR + STR; | /**
* Multipart example
*/ | Multipart example | formpostmultipart | {
"repo_name": "blucas/netty",
"path": "example/src/main/java/io/netty/example/http/upload/HttpUploadClient.java",
"license": "apache-2.0",
"size": 75923
} | [
"io.netty.bootstrap.Bootstrap",
"io.netty.channel.Channel",
"io.netty.channel.ChannelFuture",
"io.netty.handler.codec.http.DefaultHttpRequest",
"io.netty.handler.codec.http.HttpMethod",
"io.netty.handler.codec.http.HttpRequest",
"io.netty.handler.codec.http.HttpVersion",
"io.netty.handler.codec.http.multipart.HttpDataFactory",
"io.netty.handler.codec.http.multipart.HttpPostRequestEncoder",
"io.netty.handler.codec.http.multipart.InterfaceHttpData",
"io.netty.util.internal.SocketUtils",
"java.util.List",
"java.util.Map"
] | import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.handler.codec.http.DefaultHttpRequest; import io.netty.handler.codec.http.HttpMethod; import io.netty.handler.codec.http.HttpRequest; import io.netty.handler.codec.http.HttpVersion; import io.netty.handler.codec.http.multipart.HttpDataFactory; import io.netty.handler.codec.http.multipart.HttpPostRequestEncoder; import io.netty.handler.codec.http.multipart.InterfaceHttpData; import io.netty.util.internal.SocketUtils; import java.util.List; import java.util.Map; | import io.netty.bootstrap.*; import io.netty.channel.*; import io.netty.handler.codec.http.*; import io.netty.handler.codec.http.multipart.*; import io.netty.util.internal.*; import java.util.*; | [
"io.netty.bootstrap",
"io.netty.channel",
"io.netty.handler",
"io.netty.util",
"java.util"
] | io.netty.bootstrap; io.netty.channel; io.netty.handler; io.netty.util; java.util; | 1,479,894 |
public void removebiboAffirmedBy( org.ontoware.rdf2go.model.node.Node value) {
Base.remove(this.model, this.getResource(), AFFIRMEDBY, value);
} | void function( org.ontoware.rdf2go.model.node.Node value) { Base.remove(this.model, this.getResource(), AFFIRMEDBY, value); } | /**
* Removes a value of property AffirmedBy as an RDF2Go node
* @param value the value to be removed
*
* [Generated from RDFReactor template rule #remove1dynamic]
*/ | Removes a value of property AffirmedBy as an RDF2Go node | removebiboAffirmedBy | {
"repo_name": "alexgarciac/biotea",
"path": "src/ws/biotea/ld2rdf/rdf/model/bibo/Decision.java",
"license": "apache-2.0",
"size": 48808
} | [
"org.ontoware.rdfreactor.runtime.Base"
] | import org.ontoware.rdfreactor.runtime.Base; | import org.ontoware.rdfreactor.runtime.*; | [
"org.ontoware.rdfreactor"
] | org.ontoware.rdfreactor; | 968,563 |
public QName getCodeQName() {
return _codeQName;
} | QName function() { return _codeQName; } | /**
* Gets the fault code QName.
*
* @return the fault code QName
*/ | Gets the fault code QName | getCodeQName | {
"repo_name": "pdalbora/gosu-lang",
"path": "gosu-webservices/src/main/java/gw/xml/ws/WsdlFault.java",
"license": "apache-2.0",
"size": 2227
} | [
"javax.xml.namespace.QName"
] | import javax.xml.namespace.QName; | import javax.xml.namespace.*; | [
"javax.xml"
] | javax.xml; | 1,141,556 |
public static IFile getWorksapceFileFromPath(String path) {
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
if (root == null) {
return null;
}
IFile iFile = null;
try {
iFile = root.getFile(new Path(path));
} catch (IllegalArgumentException e) {
return null;
}
return iFile;
}
| static IFile function(String path) { IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); if (root == null) { return null; } IFile iFile = null; try { iFile = root.getFile(new Path(path)); } catch (IllegalArgumentException e) { return null; } return iFile; } | /**
* Returns the IFile object that represents the specified path form the workspace.
*
* @param path the path.
* @return the IFile object.
*/ | Returns the IFile object that represents the specified path form the workspace | getWorksapceFileFromPath | {
"repo_name": "kuriking/testdc2",
"path": "net.dependableos.dcase.diagram.common/src/net/dependableos/dcase/diagram/common/util/FileUtil.java",
"license": "epl-1.0",
"size": 6526
} | [
"org.eclipse.core.resources.IFile",
"org.eclipse.core.resources.IWorkspaceRoot",
"org.eclipse.core.resources.ResourcesPlugin",
"org.eclipse.core.runtime.Path"
] | import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IWorkspaceRoot; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.Path; | import org.eclipse.core.resources.*; import org.eclipse.core.runtime.*; | [
"org.eclipse.core"
] | org.eclipse.core; | 1,457,447 |
public Map<String, Object> getProperties() {
return customProperties;
} | Map<String, Object> function() { return customProperties; } | /**
* Returns the user defined properties of the message.
*
* @return A <code>Map</code> object that represents the user defined
* properties.
*/ | Returns the user defined properties of the message | getProperties | {
"repo_name": "southworkscom/azure-sdk-for-java",
"path": "services/azure-servicebus/src/main/java/com/microsoft/windowsazure/services/servicebus/models/BrokeredMessage.java",
"license": "apache-2.0",
"size": 15351
} | [
"java.util.Map"
] | import java.util.Map; | import java.util.*; | [
"java.util"
] | java.util; | 1,269,667 |
private Contentlet relateTags(final Contentlet contentlet, final Map<String, String> tagsValues,
final String tagsHost) throws DotSecurityException, DotDataException {
//Relate the tags with the saved contentlet
for (final Entry<String, String> tagEntry : tagsValues.entrySet() ) {
//From the given CSV tags names list search for the tag objects and if does not exist create them
final List<Tag> tagList = tagAPI.getTagsInText(tagEntry.getValue(), tagsHost);
// empty string for tag field value wipes out existing tags
if(UtilMethods.isSet(tagList) || StringPool.BLANK.equals(tagEntry.getValue())) {
tagAPI.deleteTagInodesByInodeAndFieldVarName(contentlet.getInode(),
tagEntry.getKey());
}
for (final Tag tag : tagList ) {
//Relate the found/created tag with this contentlet
tagAPI.addContentletTagInode(tag, contentlet.getInode(), tagEntry.getKey());
}
//Adding tags back as field to be returned
if (tagEntry.getValue()!=null && !StringPool.BLANK.equals(tagEntry.getValue())) {
contentlet.setProperty(tagEntry.getKey(), tagEntry.getValue());
} else{
contentlet.setProperty(tagEntry.getKey(), null);
}
}
return contentlet;
} | Contentlet function(final Contentlet contentlet, final Map<String, String> tagsValues, final String tagsHost) throws DotSecurityException, DotDataException { for (final Entry<String, String> tagEntry : tagsValues.entrySet() ) { final List<Tag> tagList = tagAPI.getTagsInText(tagEntry.getValue(), tagsHost); if(UtilMethods.isSet(tagList) StringPool.BLANK.equals(tagEntry.getValue())) { tagAPI.deleteTagInodesByInodeAndFieldVarName(contentlet.getInode(), tagEntry.getKey()); } for (final Tag tag : tagList ) { tagAPI.addContentletTagInode(tag, contentlet.getInode(), tagEntry.getKey()); } if (tagEntry.getValue()!=null && !StringPool.BLANK.equals(tagEntry.getValue())) { contentlet.setProperty(tagEntry.getKey(), tagEntry.getValue()); } else{ contentlet.setProperty(tagEntry.getKey(), null); } } return contentlet; } | /**
* Takes the original contentlet passed down from internalCheckin
* Relate the tags using the respective api and add the related tags back into the original contentlet that was passed down
* @param contentlet contetlet reference
* @param tagsValues prepared tags
* @param tagsHost prepared
* @return mutated contentlet
* @throws DotSecurityException
* @throws DotDataException
*/ | Takes the original contentlet passed down from internalCheckin Relate the tags using the respective api and add the related tags back into the original contentlet that was passed down | relateTags | {
"repo_name": "dotCMS/core",
"path": "dotCMS/src/main/java/com/dotcms/content/elasticsearch/business/ESContentletAPIImpl.java",
"license": "gpl-3.0",
"size": 427219
} | [
"com.dotmarketing.exception.DotDataException",
"com.dotmarketing.exception.DotSecurityException",
"com.dotmarketing.portlets.contentlet.model.Contentlet",
"com.dotmarketing.tag.model.Tag",
"com.dotmarketing.util.UtilMethods",
"com.liferay.util.StringPool",
"java.util.List",
"java.util.Map"
] | import com.dotmarketing.exception.DotDataException; import com.dotmarketing.exception.DotSecurityException; import com.dotmarketing.portlets.contentlet.model.Contentlet; import com.dotmarketing.tag.model.Tag; import com.dotmarketing.util.UtilMethods; import com.liferay.util.StringPool; import java.util.List; import java.util.Map; | import com.dotmarketing.exception.*; import com.dotmarketing.portlets.contentlet.model.*; import com.dotmarketing.tag.model.*; import com.dotmarketing.util.*; import com.liferay.util.*; import java.util.*; | [
"com.dotmarketing.exception",
"com.dotmarketing.portlets",
"com.dotmarketing.tag",
"com.dotmarketing.util",
"com.liferay.util",
"java.util"
] | com.dotmarketing.exception; com.dotmarketing.portlets; com.dotmarketing.tag; com.dotmarketing.util; com.liferay.util; java.util; | 626,454 |
StringWriter sw = new StringWriter();
XMLOutputFactory factory = XMLOutputFactory.newInstance();
try {
XMLStreamWriter writer = factory.createXMLStreamWriter(sw);
marshal(query, queryName, modelName, writer, version);
} catch (XMLStreamException e) {
throw new RuntimeException(e);
}
return sw.toString();
} | StringWriter sw = new StringWriter(); XMLOutputFactory factory = XMLOutputFactory.newInstance(); try { XMLStreamWriter writer = factory.createXMLStreamWriter(sw); marshal(query, queryName, modelName, writer, version); } catch (XMLStreamException e) { throw new RuntimeException(e); } return sw.toString(); } | /**
* Convert a PathQuery to XML.
*
* @param query the PathQuery
* @param queryName the name of the query
* @param modelName the model name
* @param version the version number of the xml format, an attribute of the ProfileManager
* @return the corresponding XML String
*/ | Convert a PathQuery to XML | marshal | {
"repo_name": "elsiklab/intermine",
"path": "intermine/pathquery/main/src/org/intermine/pathquery/PathQueryBinding.java",
"license": "lgpl-2.1",
"size": 13149
} | [
"java.io.StringWriter",
"javax.xml.stream.XMLOutputFactory",
"javax.xml.stream.XMLStreamException",
"javax.xml.stream.XMLStreamWriter"
] | import java.io.StringWriter; import javax.xml.stream.XMLOutputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamWriter; | import java.io.*; import javax.xml.stream.*; | [
"java.io",
"javax.xml"
] | java.io; javax.xml; | 637,127 |
public static Value strchr(Env env, StringValue haystack, Value needle)
{
return strstr(env, haystack, needle);
} | static Value function(Env env, StringValue haystack, Value needle) { return strstr(env, haystack, needle); } | /**
* Finds the index of a substring
*
* @param env the calling environment
*/ | Finds the index of a substring | strchr | {
"repo_name": "smba/oak",
"path": "quercus/src/main/java/com/caucho/quercus/lib/string/StringModule.java",
"license": "lgpl-3.0",
"size": 155187
} | [
"com.caucho.quercus.env.Env",
"com.caucho.quercus.env.StringValue",
"com.caucho.quercus.env.Value"
] | import com.caucho.quercus.env.Env; import com.caucho.quercus.env.StringValue; import com.caucho.quercus.env.Value; | import com.caucho.quercus.env.*; | [
"com.caucho.quercus"
] | com.caucho.quercus; | 1,022,251 |
public static UserRegistrationConfigDTO getSignupConfiguration(String tenantDomain)
throws APIManagementException {
return getSignupConfigurationFromRegistry(tenantDomain);
} | static UserRegistrationConfigDTO function(String tenantDomain) throws APIManagementException { return getSignupConfigurationFromRegistry(tenantDomain); } | /**
* retrieve self signup configuration from the cache. if cache mises, load
* to the cache from
* the registry and return configuration
*
* @param tenantDomain
* Domain name of the tenant
* @return UserRegistrationConfigDTO self signup configuration for the
* tenant
* @throws APIManagementException
*/ | retrieve self signup configuration from the cache. if cache mises, load to the cache from the registry and return configuration | getSignupConfiguration | {
"repo_name": "wso2/carbon-apimgt",
"path": "components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/utils/SelfSignUpUtil.java",
"license": "apache-2.0",
"size": 7212
} | [
"org.wso2.carbon.apimgt.api.APIManagementException",
"org.wso2.carbon.apimgt.impl.dto.UserRegistrationConfigDTO"
] | import org.wso2.carbon.apimgt.api.APIManagementException; import org.wso2.carbon.apimgt.impl.dto.UserRegistrationConfigDTO; | import org.wso2.carbon.apimgt.api.*; import org.wso2.carbon.apimgt.impl.dto.*; | [
"org.wso2.carbon"
] | org.wso2.carbon; | 385,590 |
public void testAddNonComparable() {
NavigableSet q = set0();
try {
q.add(new Object());
q.add(new Object());
shouldThrow();
} catch (ClassCastException success) {}
} | void function() { NavigableSet q = set0(); try { q.add(new Object()); q.add(new Object()); shouldThrow(); } catch (ClassCastException success) {} } | /**
* Add of non-Comparable throws CCE
*/ | Add of non-Comparable throws CCE | testAddNonComparable | {
"repo_name": "FauxFaux/jdk9-jdk",
"path": "test/java/util/concurrent/tck/TreeSubSetTest.java",
"license": "gpl-2.0",
"size": 31842
} | [
"java.util.NavigableSet"
] | import java.util.NavigableSet; | import java.util.*; | [
"java.util"
] | java.util; | 37,380 |
void searchDone(final List searchResults); | void searchDone(final List searchResults); | /**
* DOCUMENT ME!
*
* @param searchResults DOCUMENT ME!
*/ | DOCUMENT ME | searchDone | {
"repo_name": "cismet/cids-server",
"path": "src/main/java/de/cismet/cids/server/search/SearchResultListener.java",
"license": "lgpl-3.0",
"size": 587
} | [
"java.util.List"
] | import java.util.List; | import java.util.*; | [
"java.util"
] | java.util; | 1,320,474 |
public static X509Certificate[] readX509CertificatesFromPem(String pemEncodedCAs) {
List<X509Certificate> certificates = new ArrayList<>(500);
Matcher pemMatcher = CA_PEM_PATTERN.matcher(pemEncodedCAs);
while (pemMatcher.find()) {
String singleCAPem = pemMatcher.group();
X509Certificate certificate = readSingleX509Certificate(singleCAPem);
certificates.add(certificate);
}
return certificates.toArray(new X509Certificate[0]);
} | static X509Certificate[] function(String pemEncodedCAs) { List<X509Certificate> certificates = new ArrayList<>(500); Matcher pemMatcher = CA_PEM_PATTERN.matcher(pemEncodedCAs); while (pemMatcher.find()) { String singleCAPem = pemMatcher.group(); X509Certificate certificate = readSingleX509Certificate(singleCAPem); certificates.add(certificate); } return certificates.toArray(new X509Certificate[0]); } | /**
* Parses a String containing zero or more PEM-encoded X509 certificates into an array of {@link X509Certificate}.
* Everything outside of BEGIN CERTIFICATE and END CERTIFICATE lines will be ignored.
*
* @param pemEncodedCAs a String containing PEM-encoded certficiates
* @return array containing certificates in the String
*/ | Parses a String containing zero or more PEM-encoded X509 certificates into an array of <code>X509Certificate</code>. Everything outside of BEGIN CERTIFICATE and END CERTIFICATE lines will be ignored | readX509CertificatesFromPem | {
"repo_name": "bltb/browsermob-proxy",
"path": "mitm/src/main/java/net/lightbody/bmp/mitm/util/TrustUtil.java",
"license": "apache-2.0",
"size": 7775
} | [
"java.security.cert.X509Certificate",
"java.util.ArrayList",
"java.util.List",
"java.util.regex.Matcher"
] | import java.security.cert.X509Certificate; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; | import java.security.cert.*; import java.util.*; import java.util.regex.*; | [
"java.security",
"java.util"
] | java.security; java.util; | 2,476,158 |
public Map<String, String> getHeaders() {
return headerInfo;
} | Map<String, String> function() { return headerInfo; } | /**
* Get the header information for this operation.
*
* @return the meta information
*/ | Get the header information for this operation | getHeaders | {
"repo_name": "johnneal3/bdglue2",
"path": "bdg-core/src/main/java/bdglue2/encoder/EventData.java",
"license": "apache-2.0",
"size": 3561
} | [
"java.util.Map"
] | import java.util.Map; | import java.util.*; | [
"java.util"
] | java.util; | 2,722,848 |
public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)
{
worldIn.setBlockState(pos, state.withProperty(FACING, placer.getHorizontalFacing().getOpposite()), 2);
} | void function(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack) { worldIn.setBlockState(pos, state.withProperty(FACING, placer.getHorizontalFacing().getOpposite()), 2); } | /**
* Called by ItemBlocks after a block is set in the world, to allow post-place logic
*/ | Called by ItemBlocks after a block is set in the world, to allow post-place logic | onBlockPlacedBy | {
"repo_name": "TorchPowered/CraftBloom",
"path": "src/net/minecraft/block/BlockEnderChest.java",
"license": "mit",
"size": 4948
} | [
"net.minecraft.block.state.IBlockState",
"net.minecraft.entity.EntityLivingBase",
"net.minecraft.item.ItemStack",
"net.minecraft.util.BlockPos",
"net.minecraft.world.World"
] | import net.minecraft.block.state.IBlockState; import net.minecraft.entity.EntityLivingBase; import net.minecraft.item.ItemStack; import net.minecraft.util.BlockPos; import net.minecraft.world.World; | import net.minecraft.block.state.*; import net.minecraft.entity.*; import net.minecraft.item.*; import net.minecraft.util.*; import net.minecraft.world.*; | [
"net.minecraft.block",
"net.minecraft.entity",
"net.minecraft.item",
"net.minecraft.util",
"net.minecraft.world"
] | net.minecraft.block; net.minecraft.entity; net.minecraft.item; net.minecraft.util; net.minecraft.world; | 249,701 |
@Test
public void testRTreeWithRectanges()
throws Exception
{
RectangleRDD queryRDD = createRectangleRDD();
testIndexInt(queryRDD, IndexType.RTREE, expectedRectangleMatchCount);
} | void function() throws Exception { RectangleRDD queryRDD = createRectangleRDD(); testIndexInt(queryRDD, IndexType.RTREE, expectedRectangleMatchCount); } | /**
* Test spatial join query with rectangle RDD using rtree index.
*
* @throws Exception the exception
*/ | Test spatial join query with rectangle RDD using rtree index | testRTreeWithRectanges | {
"repo_name": "Sarwat/GeoSpark",
"path": "core/src/test/java/org/datasyslab/geospark/spatialOperator/PointJoinTest.java",
"license": "mit",
"size": 8416
} | [
"org.datasyslab.geospark.enums.IndexType",
"org.datasyslab.geospark.spatialRDD.RectangleRDD"
] | import org.datasyslab.geospark.enums.IndexType; import org.datasyslab.geospark.spatialRDD.RectangleRDD; | import org.datasyslab.geospark.*; import org.datasyslab.geospark.enums.*; | [
"org.datasyslab.geospark"
] | org.datasyslab.geospark; | 2,072,459 |
Callback temporaryDebugCallback = new SystemDebugCallback();
manager.callback().addCallback(temporaryDebugCallback); // just for reporting warnings, will be removed
try {
manager.configuration().clear();
String fileName = System.getProperty(PROPERTY_CONFIG_FILE_NAME);
if (fileName != null) {
try (FileReader fileReader = new FileReader(fileName)) {
manager.configuration().readConfig(fileReader);
}
}
String resourceName = System.getProperty(PROPERTY_CONFIG_RESOURCE_NAME);
if (resourceName != null) {
InputStream is = SimonManager.class.getClassLoader().getResourceAsStream(resourceName);
if (is == null) {
throw new FileNotFoundException(resourceName);
}
manager.configuration().readConfig(new InputStreamReader(is));
}
} catch (Exception e) {
manager.callback().onManagerWarning("SimonManager initialization error", e);
}
manager.callback().removeCallback(temporaryDebugCallback);
}
private SimonManager() {
throw new AssertionError();
} | Callback temporaryDebugCallback = new SystemDebugCallback(); manager.callback().addCallback(temporaryDebugCallback); try { manager.configuration().clear(); String fileName = System.getProperty(PROPERTY_CONFIG_FILE_NAME); if (fileName != null) { try (FileReader fileReader = new FileReader(fileName)) { manager.configuration().readConfig(fileReader); } } String resourceName = System.getProperty(PROPERTY_CONFIG_RESOURCE_NAME); if (resourceName != null) { InputStream is = SimonManager.class.getClassLoader().getResourceAsStream(resourceName); if (is == null) { throw new FileNotFoundException(resourceName); } manager.configuration().readConfig(new InputStreamReader(is)); } } catch (Exception e) { manager.callback().onManagerWarning(STR, e); } manager.callback().removeCallback(temporaryDebugCallback); } private SimonManager() { throw new AssertionError(); } | /**
* Initializes the configuration facility for the default Simon Manager. Fetches exception
* if configuration resource or file is not found. This method does NOT clear the manager
* itself, only the configuration is reloaded. Method also preserves Callback setup.
*/ | Initializes the configuration facility for the default Simon Manager. Fetches exception if configuration resource or file is not found. This method does NOT clear the manager itself, only the configuration is reloaded. Method also preserves Callback setup | init | {
"repo_name": "karouani/javasimon",
"path": "core/src/main/java/org/javasimon/SimonManager.java",
"license": "bsd-3-clause",
"size": 7245
} | [
"java.io.FileNotFoundException",
"java.io.FileReader",
"java.io.InputStream",
"java.io.InputStreamReader",
"org.javasimon.callback.Callback",
"org.javasimon.utils.SystemDebugCallback"
] | import java.io.FileNotFoundException; import java.io.FileReader; import java.io.InputStream; import java.io.InputStreamReader; import org.javasimon.callback.Callback; import org.javasimon.utils.SystemDebugCallback; | import java.io.*; import org.javasimon.callback.*; import org.javasimon.utils.*; | [
"java.io",
"org.javasimon.callback",
"org.javasimon.utils"
] | java.io; org.javasimon.callback; org.javasimon.utils; | 806,507 |
@Override
public BuildInfoCollection create(BuildInfoContext context, BuildConfiguration config,
Artifact buildInfo, Artifact buildChangelist) {
return new BuildInfoCollection(
ImmutableList.<Action>of(),
ImmutableList.of(buildInfo),
ImmutableList.of(buildInfo));
} | BuildInfoCollection function(BuildInfoContext context, BuildConfiguration config, Artifact buildInfo, Artifact buildChangelist) { return new BuildInfoCollection( ImmutableList.<Action>of(), ImmutableList.of(buildInfo), ImmutableList.of(buildInfo)); } | /**
* Returns no actions, exactly the one BuildInfo artifact, and no buildChangelist artifacts.
*/ | Returns no actions, exactly the one BuildInfo artifact, and no buildChangelist artifacts | create | {
"repo_name": "hhclam/bazel",
"path": "src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBuildInfoFactory.java",
"license": "apache-2.0",
"size": 1894
} | [
"com.google.common.collect.ImmutableList",
"com.google.devtools.build.lib.actions.Action",
"com.google.devtools.build.lib.actions.Artifact",
"com.google.devtools.build.lib.analysis.buildinfo.BuildInfoCollection",
"com.google.devtools.build.lib.analysis.config.BuildConfiguration"
] | import com.google.common.collect.ImmutableList; import com.google.devtools.build.lib.actions.Action; import com.google.devtools.build.lib.actions.Artifact; import com.google.devtools.build.lib.analysis.buildinfo.BuildInfoCollection; import com.google.devtools.build.lib.analysis.config.BuildConfiguration; | import com.google.common.collect.*; import com.google.devtools.build.lib.actions.*; import com.google.devtools.build.lib.analysis.buildinfo.*; import com.google.devtools.build.lib.analysis.config.*; | [
"com.google.common",
"com.google.devtools"
] | com.google.common; com.google.devtools; | 199,090 |
public static String getCaApiUrl(String path){
if(CAUrl.certUrl == null){
String certUrl = null;
String urlPath = RtwsConfig.getInstance().getString("webapp.caapi.url.path");
String isGateway = UserDataProperties.getInstance().getString(UserDataProperties.RTWS_IS_GATEWAY);
String gatewayIp = System.getProperty("GATEWAY_IP");
//if user data tms_api is present or if cert host is null
if(StringUtils.isNotBlank(isGateway) == true || StringUtils.isNotBlank(gatewayIp) == true){
if(StringUtils.isNotBlank(isGateway)){
String apiHost = UserDataProperties.getInstance().getString("RTWS_TMS_DNS");
String contextPath = RtwsConfig.getInstance().getString("webapp.caapi.proxy.path");
if(StringUtils.isNotBlank(apiHost)){
certUrl = String.format("%s://%s:%s%s/rest/cert/%s", RtwsConfig.getInstance().getString("webapp.caapi.url.scheme"),
apiHost, RtwsConfig.getInstance().getString("webapp.caapi.url.port"), contextPath, path);
CAUrl.certUrl = String.format("%s://%s:%s%s/rest/cert/", RtwsConfig.getInstance().getString("webapp.caapi.url.scheme"),
apiHost, RtwsConfig.getInstance().getString("webapp.caapi.url.port"), contextPath);
CAUrl.certHost = String.format("%s://%s:%s", RtwsConfig.getInstance().getString("webapp.caapi.url.scheme"),
apiHost, RtwsConfig.getInstance().getString("webapp.caapi.url.port"));
}
else{
logger.error("RTWS_TMS_DNS is not set in user data, exiting certificate generation.");
System.exit(-1);
}
}
else if(StringUtils.isNotBlank(gatewayIp)){
String apiHost = gatewayIp;
certUrl = String.format("%s://%s:%s%s/rest/cert/%s", RtwsConfig.getInstance().getString("webapp.caapi.url.scheme"),
apiHost, RtwsConfig.getInstance().getString("webapp.caapi.url.port"), RtwsConfig.getInstance().getString("webapp.caapi.url.contextPath"), path);
CAUrl.certUrl = String.format("%s://%s:%s%s/rest/cert/", RtwsConfig.getInstance().getString("webapp.caapi.url.scheme"),
apiHost, RtwsConfig.getInstance().getString("webapp.caapi.url.port"), RtwsConfig.getInstance().getString("webapp.caapi.url.contextPath"));
CAUrl.certHost = String.format("%s://%s:%s", RtwsConfig.getInstance().getString("webapp.caapi.url.scheme"),
apiHost, RtwsConfig.getInstance().getString("webapp.caapi.url.port"));
}
else{
logger.error("System property RTWS_TMS_API_IP or RTWS_GATEWAY_IP are not defined, exiting certificate generation.");
System.exit(-1);
}
}
else{
if(StringUtils.isNotBlank(urlPath)){
certUrl = String.format("%s/rest/cert/%s", urlPath, path);
CAUrl.certUrl = String.format("%s/rest/cert/", urlPath);
CAUrl.certHost = String.format("%s://%s:%s", RtwsConfig.getInstance().getString("webapp.caapi.url.scheme"),
RtwsConfig.getInstance().getString("webapp.caapi.url.host"), RtwsConfig.getInstance().getString("webapp.caapi.url.port"));
}
else{
logger.error("Property webapp.caapi.url.pathis not defined, exiting certificate generation.");
System.exit(-1);
}
}
return certUrl;
}
else{
return String.format("%s%s", CAUrl.certUrl, path);
}
} | static String function(String path){ if(CAUrl.certUrl == null){ String certUrl = null; String urlPath = RtwsConfig.getInstance().getString(STR); String isGateway = UserDataProperties.getInstance().getString(UserDataProperties.RTWS_IS_GATEWAY); String gatewayIp = System.getProperty(STR); if(StringUtils.isNotBlank(isGateway) == true StringUtils.isNotBlank(gatewayIp) == true){ if(StringUtils.isNotBlank(isGateway)){ String apiHost = UserDataProperties.getInstance().getString(STR); String contextPath = RtwsConfig.getInstance().getString(STR); if(StringUtils.isNotBlank(apiHost)){ certUrl = String.format(STRwebapp.caapi.url.port"), contextPath, path); CAUrl.certUrl = String.format(STRwebapp.caapi.url.port"), contextPath); CAUrl.certHost = String.format(STRwebapp.caapi.url.portSTRRTWS_TMS_DNS is not set in user data, exiting certificate generation."); System.exit(-1); } } else if(StringUtils.isNotBlank(gatewayIp)){ String apiHost = gatewayIp; certUrl = String.format(STRwebapp.caapi.url.port"), RtwsConfig.getInstance().getString(STR), path); CAUrl.certUrl = String.format(STRwebapp.caapi.url.port"), RtwsConfig.getInstance().getString(STR)); CAUrl.certHost = String.format(STRwebapp.caapi.url.portSTRSystem property RTWS_TMS_API_IP or RTWS_GATEWAY_IP are not defined, exiting certificate generation."); System.exit(-1); } } else{ if(StringUtils.isNotBlank(urlPath)){ certUrl = String.format(STR, urlPath, path); CAUrl.certUrl = String.format(STR, urlPath); CAUrl.certHost = String.format(STRwebapp.caapi.url.host"), RtwsConfig.getInstance().getString(STR)); } else{ logger.error("Property webapp.caapi.url.pathis not defined, exiting certificate generation.STR%s%s", CAUrl.certUrl, path); } } | /**
* Gets the CA base url.
*
* @param path String context
* @return CA url.
*/ | Gets the CA base url | getCaApiUrl | {
"repo_name": "deleidos/digitaledge-platform",
"path": "commons-core/src/main/java/com/deleidos/rtws/commons/util/ca/CAUrl.java",
"license": "apache-2.0",
"size": 16214
} | [
"com.deleidos.rtws.commons.config.RtwsConfig",
"com.deleidos.rtws.commons.config.UserDataProperties",
"org.apache.commons.lang.StringUtils"
] | import com.deleidos.rtws.commons.config.RtwsConfig; import com.deleidos.rtws.commons.config.UserDataProperties; import org.apache.commons.lang.StringUtils; | import com.deleidos.rtws.commons.config.*; import org.apache.commons.lang.*; | [
"com.deleidos.rtws",
"org.apache.commons"
] | com.deleidos.rtws; org.apache.commons; | 1,488,145 |
@Override
public String processTemplate(String template, VelocityContext context, boolean withHeaderAndFooter) {
StringWriter sw = new StringWriter();
StringBuilder content = new StringBuilder("");
try {
Template vtemplate = velocityEngine.getTemplate(TEMPLATES_DIR + template);
LOGGER.info("TEMPLATES_DIR + template " + TEMPLATES_DIR + template);
vtemplate.merge(context, sw);
if (withHeaderAndFooter) {
StringWriter swFoot = new StringWriter();
StringWriter swHead = new StringWriter();
Template vtemplateHeader = velocityEngine.getTemplate(COMPONENTS_DIR + "header_mail.vm");
vtemplateHeader.merge(context, swHead);
Template vtemplateFooter = velocityEngine.getTemplate(COMPONENTS_DIR + "footer_mail.vm");
vtemplateFooter.merge(context, swFoot);
content.append(swHead.toString()).append(sw.toString()).append(swFoot.toString());
} else {
content.append(sw.toString());
}
return content.toString();
} catch (ResourceNotFoundException | ParseErrorException | MethodInvocationException e) {
LOGGER.error("Error getVelocityEngine() ", e);
return "";
}
} | String function(String template, VelocityContext context, boolean withHeaderAndFooter) { StringWriter sw = new StringWriter(); StringBuilder content = new StringBuilder(STRTEMPLATES_DIR + template STRheader_mail.vmSTRfooter_mail.vmSTRError getVelocityEngine() STR"; } } | /**
* Retrona el contenido del template de velocity dado el nombre del mismo.
* @param template nombre del template, no es la ruta del mismo.
* @param context contexto con objetos para el template.
* @param withHeaderAndFooter
* @return el template procesado.
*/ | Retrona el contenido del template de velocity dado el nombre del mismo | processTemplate | {
"repo_name": "lacastrillov/marketplatform",
"path": "src/main/java/com/lacv/marketplatform/services/mail/impl/MailingServiceImpl.java",
"license": "apache-2.0",
"size": 7288
} | [
"java.io.StringWriter",
"org.apache.velocity.VelocityContext"
] | import java.io.StringWriter; import org.apache.velocity.VelocityContext; | import java.io.*; import org.apache.velocity.*; | [
"java.io",
"org.apache.velocity"
] | java.io; org.apache.velocity; | 1,328,451 |
protected void handleChangedResources() {
if (!changedResources.isEmpty() && (!isDirty() || handleDirtyConflict())) {
if (isDirty()) {
changedResources.addAll(editingDomain.getResourceSet().getResources());
}
editingDomain.getCommandStack().flush();
updateProblemIndication = false;
for (Resource resource : changedResources) {
if (resource.isLoaded()) {
resource.unload();
try {
resource.load(Collections.EMPTY_MAP);
}
catch (IOException exception) {
if (!resourceToDiagnosticMap.containsKey(resource)) {
resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
}
}
}
}
if (AdapterFactoryEditingDomain.isStale(editorSelection)) {
setSelection(StructuredSelection.EMPTY);
}
updateProblemIndication = true;
updateProblemIndication();
}
} | void function() { if (!changedResources.isEmpty() && (!isDirty() handleDirtyConflict())) { if (isDirty()) { changedResources.addAll(editingDomain.getResourceSet().getResources()); } editingDomain.getCommandStack().flush(); updateProblemIndication = false; for (Resource resource : changedResources) { if (resource.isLoaded()) { resource.unload(); try { resource.load(Collections.EMPTY_MAP); } catch (IOException exception) { if (!resourceToDiagnosticMap.containsKey(resource)) { resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception)); } } } } if (AdapterFactoryEditingDomain.isStale(editorSelection)) { setSelection(StructuredSelection.EMPTY); } updateProblemIndication = true; updateProblemIndication(); } } | /**
* Handles what to do with changed resources on activation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/ | Handles what to do with changed resources on activation. | handleChangedResources | {
"repo_name": "atischenko/atgen",
"path": "plugins/org.eclipse.atischenko.generatorbehavior.model.editor/src/org/eclipse/atischenko/generatorbehavior/presentation/GeneratorBehaviorEditor.java",
"license": "epl-1.0",
"size": 54428
} | [
"java.io.IOException",
"java.util.Collections",
"org.eclipse.emf.ecore.resource.Resource",
"org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain",
"org.eclipse.jface.viewers.StructuredSelection"
] | import java.io.IOException; import java.util.Collections; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain; import org.eclipse.jface.viewers.StructuredSelection; | import java.io.*; import java.util.*; import org.eclipse.emf.ecore.resource.*; import org.eclipse.emf.edit.domain.*; import org.eclipse.jface.viewers.*; | [
"java.io",
"java.util",
"org.eclipse.emf",
"org.eclipse.jface"
] | java.io; java.util; org.eclipse.emf; org.eclipse.jface; | 2,214,715 |
public void doSaveVanished(){
long ns = System.nanoTime();
tsSave = System.currentTimeMillis();
File file = getVanishedFile();
if ( file==null){
Utils.warn("Can not save vanished players: File is not set.");
return;
}
if (!createFile(file, "vanished players")) return;
BufferedWriter writer = null;
try {
writer = new BufferedWriter( new FileWriter(file));
writer.write("\n"); // to write something at least.
Map<String, VanishConfig> copyMap = new HashMap<String,VanishConfig>(vanishConfigs.size());
synchronized(vanishConfigs){
for (Entry<String, VanishConfig> entry : vanishConfigs.entrySet()){
copyMap.put(entry.getKey(), entry.getValue().clone());
}
}
for (Entry<String, VanishConfig> entry : copyMap.entrySet()){
String n = entry.getKey();
VanishConfig cfg = entry.getValue();
if (cfg.needsSave()){
writer.write(n);
writer.write(cfg.toLine());
writer.write("\n");
}
cfg.changed = false;
}
}
catch (IOException e) {
Utils.warn("Can not save vanished players: "+e.getMessage());
}
finally{
if ( writer != null)
try {
writer.close();
} catch (IOException e) {
}
}
SimplyVanish.stats.addStats(SimplyVanish.statsSave, System.nanoTime()-ns);
}
| void function(){ long ns = System.nanoTime(); tsSave = System.currentTimeMillis(); File file = getVanishedFile(); if ( file==null){ Utils.warn(STR); return; } if (!createFile(file, STR)) return; BufferedWriter writer = null; try { writer = new BufferedWriter( new FileWriter(file)); writer.write("\n"); Map<String, VanishConfig> copyMap = new HashMap<String,VanishConfig>(vanishConfigs.size()); synchronized(vanishConfigs){ for (Entry<String, VanishConfig> entry : vanishConfigs.entrySet()){ copyMap.put(entry.getKey(), entry.getValue().clone()); } } for (Entry<String, VanishConfig> entry : copyMap.entrySet()){ String n = entry.getKey(); VanishConfig cfg = entry.getValue(); if (cfg.needsSave()){ writer.write(n); writer.write(cfg.toLine()); writer.write("\n"); } cfg.changed = false; } } catch (IOException e) { Utils.warn(STR+e.getMessage()); } finally{ if ( writer != null) try { writer.close(); } catch (IOException e) { } } SimplyVanish.stats.addStats(SimplyVanish.statsSave, System.nanoTime()-ns); } | /**
* Force save vanished names to file, does NOT update states (!).
*/ | Force save vanished names to file, does NOT update states (!) | doSaveVanished | {
"repo_name": "shindouj/SimplyVanish",
"path": "src/main/java/me/asofold/bpl/simplyvanish/SimplyVanishCore.java",
"license": "lgpl-3.0",
"size": 26055
} | [
"java.io.BufferedWriter",
"java.io.File",
"java.io.FileWriter",
"java.io.IOException",
"java.util.HashMap",
"java.util.Map",
"me.asofold.bpl.simplyvanish.config.VanishConfig",
"me.asofold.bpl.simplyvanish.util.Utils"
] | import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.HashMap; import java.util.Map; import me.asofold.bpl.simplyvanish.config.VanishConfig; import me.asofold.bpl.simplyvanish.util.Utils; | import java.io.*; import java.util.*; import me.asofold.bpl.simplyvanish.config.*; import me.asofold.bpl.simplyvanish.util.*; | [
"java.io",
"java.util",
"me.asofold.bpl"
] | java.io; java.util; me.asofold.bpl; | 2,640,871 |
public void addListSelectionListener(ListSelectionListener listener)
{
listenerList.add(ListSelectionListener.class, listener);
} | void function(ListSelectionListener listener) { listenerList.add(ListSelectionListener.class, listener); } | /**
* Adds a listener.
*
* @param listener The listener to add
*
* @see removeListSelectionListener
* @see getListSelectionListeners
*/ | Adds a listener | addListSelectionListener | {
"repo_name": "aosm/gcc_40",
"path": "libjava/javax/swing/DefaultListSelectionModel.java",
"license": "gpl-2.0",
"size": 17805
} | [
"javax.swing.event.ListSelectionListener"
] | import javax.swing.event.ListSelectionListener; | import javax.swing.event.*; | [
"javax.swing"
] | javax.swing; | 2,217,473 |
@SmallTest
@Feature({"Download"})
public void testResumeAllPendingDownloads() throws Exception {
setupService();
Context mockContext = new AdvancedMockContext(getSystemContext());
getService().setContext(mockContext);
Set<String> notifications = new HashSet<String>();
String guid1 = UUID.randomUUID().toString();
notifications.add(new DownloadSharedPreferenceEntry(3, true, false, guid1, "success")
.getSharedPreferenceString());
String guid2 = UUID.randomUUID().toString();
notifications.add(new DownloadSharedPreferenceEntry(4, true, true, guid2, "failed")
.getSharedPreferenceString());
SharedPreferences sharedPrefs = ContextUtils.getAppSharedPreferences();
SharedPreferences.Editor editor = sharedPrefs.edit();
editor.putStringSet(
DownloadNotificationService.PENDING_DOWNLOAD_NOTIFICATIONS, notifications);
editor.apply();
startNotificationService();
DownloadNotificationService service = bindNotificationService();
DownloadManagerService.disableNetworkListenerForTest(); | @Feature({STR}) void function() throws Exception { setupService(); Context mockContext = new AdvancedMockContext(getSystemContext()); getService().setContext(mockContext); Set<String> notifications = new HashSet<String>(); String guid1 = UUID.randomUUID().toString(); notifications.add(new DownloadSharedPreferenceEntry(3, true, false, guid1, STR) .getSharedPreferenceString()); String guid2 = UUID.randomUUID().toString(); notifications.add(new DownloadSharedPreferenceEntry(4, true, true, guid2, STR) .getSharedPreferenceString()); SharedPreferences sharedPrefs = ContextUtils.getAppSharedPreferences(); SharedPreferences.Editor editor = sharedPrefs.edit(); editor.putStringSet( DownloadNotificationService.PENDING_DOWNLOAD_NOTIFICATIONS, notifications); editor.apply(); startNotificationService(); DownloadNotificationService service = bindNotificationService(); DownloadManagerService.disableNetworkListenerForTest(); | /**
* Tests resume all pending downloads.
*/ | Tests resume all pending downloads | testResumeAllPendingDownloads | {
"repo_name": "axinging/chromium-crosswalk",
"path": "chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadNotificationServiceTest.java",
"license": "bsd-3-clause",
"size": 10734
} | [
"android.content.Context",
"android.content.SharedPreferences",
"java.util.HashSet",
"java.util.Set",
"java.util.UUID",
"org.chromium.base.ContextUtils",
"org.chromium.base.test.util.AdvancedMockContext",
"org.chromium.base.test.util.Feature"
] | import android.content.Context; import android.content.SharedPreferences; import java.util.HashSet; import java.util.Set; import java.util.UUID; import org.chromium.base.ContextUtils; import org.chromium.base.test.util.AdvancedMockContext; import org.chromium.base.test.util.Feature; | import android.content.*; import java.util.*; import org.chromium.base.*; import org.chromium.base.test.util.*; | [
"android.content",
"java.util",
"org.chromium.base"
] | android.content; java.util; org.chromium.base; | 785,233 |
public static ExampleSet createExampleSet(double[][] data, double[] labels) {
if (data.length == 0) {
throw new RuntimeException(
"ExampleSetFactory.createExampleSet(double[][], double[]): data matrix is not allowed to be empty.");
}
// create attributes
int numberOfAttributes = data[0].length;
List<Attribute> attributeList = new ArrayList<Attribute>(numberOfAttributes + (labels != null ? 1 : 0));
for (int a = 0; a < numberOfAttributes; a++) {
attributeList.add(AttributeFactory.createAttribute("att" + (a + 1), Ontology.NUMERICAL));
}
Attribute labelAttribute = null;
if (labels != null) {
labelAttribute = AttributeFactory.createAttribute("label", Ontology.NUMERICAL);
attributeList.add(labelAttribute);
}
// create table
MemoryExampleTable table = new MemoryExampleTable(attributeList);
for (int e = 0; e < data.length; e++) {
double[] dataRow = data[e];
if (labelAttribute != null) {
dataRow = new double[numberOfAttributes + 1];
System.arraycopy(data[e], 0, dataRow, 0, data[e].length);
dataRow[dataRow.length - 1] = labels[e];
}
table.addDataRow(new DoubleArrayDataRow(dataRow));
}
return table.createExampleSet(labelAttribute);
}
| static ExampleSet function(double[][] data, double[] labels) { if (data.length == 0) { throw new RuntimeException( STR); } int numberOfAttributes = data[0].length; List<Attribute> attributeList = new ArrayList<Attribute>(numberOfAttributes + (labels != null ? 1 : 0)); for (int a = 0; a < numberOfAttributes; a++) { attributeList.add(AttributeFactory.createAttribute("att" + (a + 1), Ontology.NUMERICAL)); } Attribute labelAttribute = null; if (labels != null) { labelAttribute = AttributeFactory.createAttribute("label", Ontology.NUMERICAL); attributeList.add(labelAttribute); } MemoryExampleTable table = new MemoryExampleTable(attributeList); for (int e = 0; e < data.length; e++) { double[] dataRow = data[e]; if (labelAttribute != null) { dataRow = new double[numberOfAttributes + 1]; System.arraycopy(data[e], 0, dataRow, 0, data[e].length); dataRow[dataRow.length - 1] = labels[e]; } table.addDataRow(new DoubleArrayDataRow(dataRow)); } return table.createExampleSet(labelAttribute); } | /**
* Create a numerical example set from the given data matrix. The label of the resulting example
* set be build from the given double array. The example set consists of numerical attributes
* only.
*/ | Create a numerical example set from the given data matrix. The label of the resulting example set be build from the given double array. The example set consists of numerical attributes only | createExampleSet | {
"repo_name": "transwarpio/rapidminer",
"path": "rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/example/ExampleSetFactory.java",
"license": "gpl-3.0",
"size": 13571
} | [
"com.rapidminer.example.table.AttributeFactory",
"com.rapidminer.example.table.DoubleArrayDataRow",
"com.rapidminer.example.table.MemoryExampleTable",
"com.rapidminer.tools.Ontology",
"java.util.ArrayList",
"java.util.List"
] | import com.rapidminer.example.table.AttributeFactory; import com.rapidminer.example.table.DoubleArrayDataRow; import com.rapidminer.example.table.MemoryExampleTable; import com.rapidminer.tools.Ontology; import java.util.ArrayList; import java.util.List; | import com.rapidminer.example.table.*; import com.rapidminer.tools.*; import java.util.*; | [
"com.rapidminer.example",
"com.rapidminer.tools",
"java.util"
] | com.rapidminer.example; com.rapidminer.tools; java.util; | 1,147,933 |
@Test(expected = RequestException.class)
public void testFixJobsOptRequestException() throws P4JavaException {
when(server.execMapCmdList(eq(FIX.toString()), argThat(FIX_MATCHER), eq(null)))
.thenThrow(RequestException.class);
fixDelegator.fixJobs(JOB_LIST, Integer.valueOf(TEST_CHANGELIST), new FixJobsOptions());
} | @Test(expected = RequestException.class) void function() throws P4JavaException { when(server.execMapCmdList(eq(FIX.toString()), argThat(FIX_MATCHER), eq(null))) .thenThrow(RequestException.class); fixDelegator.fixJobs(JOB_LIST, Integer.valueOf(TEST_CHANGELIST), new FixJobsOptions()); } | /**
* Test fix jobs with opt request exception.
*
* @throws P4JavaException the p4 java exception
*/ | Test fix jobs with opt request exception | testFixJobsOptRequestException | {
"repo_name": "groboclown/p4ic4idea",
"path": "p4java/r18-1/src/test/java/com/perforce/p4java/impl/mapbased/server/cmd/FixDelegatorTest.java",
"license": "apache-2.0",
"size": 9134
} | [
"com.perforce.p4java.exception.P4JavaException",
"com.perforce.p4java.exception.RequestException",
"com.perforce.p4java.option.server.FixJobsOptions",
"com.perforce.p4java.server.CmdSpec",
"org.junit.Test",
"org.mockito.ArgumentMatchers",
"org.mockito.Mockito"
] | import com.perforce.p4java.exception.P4JavaException; import com.perforce.p4java.exception.RequestException; import com.perforce.p4java.option.server.FixJobsOptions; import com.perforce.p4java.server.CmdSpec; import org.junit.Test; import org.mockito.ArgumentMatchers; import org.mockito.Mockito; | import com.perforce.p4java.exception.*; import com.perforce.p4java.option.server.*; import com.perforce.p4java.server.*; import org.junit.*; import org.mockito.*; | [
"com.perforce.p4java",
"org.junit",
"org.mockito"
] | com.perforce.p4java; org.junit; org.mockito; | 2,046,680 |
public static Method[] getMethods(Class<?> clazz, String... methodNames) {
if (methodNames == null || methodNames.length == 0) {
throw new IllegalArgumentException("You must supply at least one method name.");
}
final List<Method> methodsToMock = new LinkedList<Method>();
Method[] allMethods = null;
if (clazz.isInterface()) {
allMethods = getAllPublicMethods(clazz);
} else {
allMethods = getAllMethods(clazz);
}
for (Method method : allMethods) {
for (String methodName : methodNames) {
if (method.getName().equals(methodName)) {
method.setAccessible(true);
methodsToMock.add(method);
}
}
}
final Method[] methodArray = methodsToMock.toArray(new Method[0]);
if (methodArray.length == 0) {
throw new MethodNotFoundException(String.format(
"No methods matching the name(s) %s were found in the class hierarchy of %s.",
concatenateStrings(methodNames), getType(clazz)));
}
return methodArray;
} | static Method[] function(Class<?> clazz, String... methodNames) { if (methodNames == null methodNames.length == 0) { throw new IllegalArgumentException(STR); } final List<Method> methodsToMock = new LinkedList<Method>(); Method[] allMethods = null; if (clazz.isInterface()) { allMethods = getAllPublicMethods(clazz); } else { allMethods = getAllMethods(clazz); } for (Method method : allMethods) { for (String methodName : methodNames) { if (method.getName().equals(methodName)) { method.setAccessible(true); methodsToMock.add(method); } } } final Method[] methodArray = methodsToMock.toArray(new Method[0]); if (methodArray.length == 0) { throw new MethodNotFoundException(String.format( STR, concatenateStrings(methodNames), getType(clazz))); } return methodArray; } | /**
* Get an array of {@link Method}'s that matches the supplied list of method
* names. Both instance and static methods are taken into account.
*
* @param clazz The class that should contain the methods.
* @param methodNames Names of the methods that will be returned.
* @return An array of Method's.
*/ | Get an array of <code>Method</code>'s that matches the supplied list of method names. Both instance and static methods are taken into account | getMethods | {
"repo_name": "thekingnothing/powermock",
"path": "reflect/src/main/java/org/powermock/reflect/internal/WhiteboxImpl.java",
"license": "apache-2.0",
"size": 113110
} | [
"java.lang.reflect.Method",
"java.util.LinkedList",
"java.util.List",
"org.powermock.reflect.exceptions.MethodNotFoundException"
] | import java.lang.reflect.Method; import java.util.LinkedList; import java.util.List; import org.powermock.reflect.exceptions.MethodNotFoundException; | import java.lang.reflect.*; import java.util.*; import org.powermock.reflect.exceptions.*; | [
"java.lang",
"java.util",
"org.powermock.reflect"
] | java.lang; java.util; org.powermock.reflect; | 2,502,440 |
private ArrayList<E> toArrayList() {
ArrayList<E> list = new ArrayList<E>();
for (Node<E> p = first(); p != null; p = succ(p)) {
E item = p.item;
if (item != null)
list.add(item);
}
return list;
}
public ConcurrentLinkedDeque() {
head = tail = new Node<E>(null);
}
public ConcurrentLinkedDeque(Collection<? extends E> c) {
// Copy c into a private chain of Nodes
Node<E> h = null, t = null;
for (E e : c) {
checkNotNull(e);
Node<E> newNode = new Node<E>(e);
if (h == null)
h = t = newNode;
else {
t.lazySetNext(newNode);
newNode.lazySetPrev(t);
t = newNode;
}
}
initHeadTail(h, t);
} | ArrayList<E> function() { ArrayList<E> list = new ArrayList<E>(); for (Node<E> p = first(); p != null; p = succ(p)) { E item = p.item; if (item != null) list.add(item); } return list; } public ConcurrentLinkedDeque() { head = tail = new Node<E>(null); } public ConcurrentLinkedDeque(Collection<? extends E> c) { Node<E> h = null, t = null; for (E e : c) { checkNotNull(e); Node<E> newNode = new Node<E>(e); if (h == null) h = t = newNode; else { t.lazySetNext(newNode); newNode.lazySetPrev(t); t = newNode; } } initHeadTail(h, t); } | /**
* Creates an array list and fills it with elements of this list.
* Used by toArray.
*
* @return the array list
*/ | Creates an array list and fills it with elements of this list. Used by toArray | toArrayList | {
"repo_name": "andyadc/scaffold",
"path": "scaffold-util/src/main/java/com/andyadc/scaffold/util/concurrent/jsr166e/ConcurrentLinkedDeque.java",
"license": "mit",
"size": 54139
} | [
"java.util.ArrayList",
"java.util.Collection"
] | import java.util.ArrayList; import java.util.Collection; | import java.util.*; | [
"java.util"
] | java.util; | 2,260,978 |
public XMLString substring(int beginIndex, int endIndex)
{
return new XString(str().substring(beginIndex, endIndex));
} | XMLString function(int beginIndex, int endIndex) { return new XString(str().substring(beginIndex, endIndex)); } | /**
* Returns a new string that is a substring of this string. The
* substring begins at the specified <code>beginIndex</code> and
* extends to the character at index <code>endIndex - 1</code>.
* Thus the length of the substring is <code>endIndex-beginIndex</code>.
*
* @param beginIndex the beginning index, inclusive.
* @param endIndex the ending index, exclusive.
* @return the specified substring.
* @exception IndexOutOfBoundsException if the
* <code>beginIndex</code> is negative, or
* <code>endIndex</code> is larger than the length of
* this <code>String</code> object, or
* <code>beginIndex</code> is larger than
* <code>endIndex</code>.
*/ | Returns a new string that is a substring of this string. The substring begins at the specified <code>beginIndex</code> and extends to the character at index <code>endIndex - 1</code>. Thus the length of the substring is <code>endIndex-beginIndex</code> | substring | {
"repo_name": "TheTypoMaster/Scaper",
"path": "openjdk/jaxp/drop_included/jaxp_src/src/com/sun/org/apache/xpath/internal/objects/XString.java",
"license": "gpl-2.0",
"size": 37074
} | [
"com.sun.org.apache.xml.internal.utils.XMLString"
] | import com.sun.org.apache.xml.internal.utils.XMLString; | import com.sun.org.apache.xml.internal.utils.*; | [
"com.sun.org"
] | com.sun.org; | 1,964,636 |
private static List<Image> createDefaultThumbnailList(BufferedImage failedVideoThumbImage) {
List<Image> videoThumbnails = new ArrayList<>();
videoThumbnails.add(failedVideoThumbImage);
videoThumbnails.add(failedVideoThumbImage);
videoThumbnails.add(failedVideoThumbImage);
videoThumbnails.add(failedVideoThumbImage);
return videoThumbnails;
}
private DiscoveryUiUtils() {
//private constructor in a utility class intentionally left blank
} | static List<Image> function(BufferedImage failedVideoThumbImage) { List<Image> videoThumbnails = new ArrayList<>(); videoThumbnails.add(failedVideoThumbImage); videoThumbnails.add(failedVideoThumbImage); videoThumbnails.add(failedVideoThumbImage); videoThumbnails.add(failedVideoThumbImage); return videoThumbnails; } private DiscoveryUiUtils() { } | /**
* Private helper method for creating video thumbnails, for use when no
* thumbnails are created.
*
* @return List containing the default thumbnail.
*/ | Private helper method for creating video thumbnails, for use when no thumbnails are created | createDefaultThumbnailList | {
"repo_name": "eugene7646/autopsy",
"path": "Core/src/org/sleuthkit/autopsy/discovery/ui/DiscoveryUiUtils.java",
"license": "apache-2.0",
"size": 26271
} | [
"java.awt.Image",
"java.awt.image.BufferedImage",
"java.util.ArrayList",
"java.util.List"
] | import java.awt.Image; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.List; | import java.awt.*; import java.awt.image.*; import java.util.*; | [
"java.awt",
"java.util"
] | java.awt; java.util; | 1,115,427 |
public Observable<List<Playlist>> getPlaylist(final String playlistId) {
return Observable.create(new OnSubscribe<List<Playlist>>() { | Observable<List<Playlist>> function(final String playlistId) { return Observable.create(new OnSubscribe<List<Playlist>>() { | /**
* get a list of songs from given album
*/ | get a list of songs from given album | getPlaylist | {
"repo_name": "antoniotari/reactive-ampache",
"path": "src/main/java/com/antoniotari/reactiveampache/api/AmpacheApi.java",
"license": "gpl-3.0",
"size": 30804
} | [
"com.antoniotari.reactiveampache.models.Playlist",
"java.util.List"
] | import com.antoniotari.reactiveampache.models.Playlist; import java.util.List; | import com.antoniotari.reactiveampache.models.*; import java.util.*; | [
"com.antoniotari.reactiveampache",
"java.util"
] | com.antoniotari.reactiveampache; java.util; | 594,582 |
public ProximityPlacementGroupProperties withColocationStatus(InstanceViewStatus colocationStatus) {
this.colocationStatus = colocationStatus;
return this;
} | ProximityPlacementGroupProperties function(InstanceViewStatus colocationStatus) { this.colocationStatus = colocationStatus; return this; } | /**
* Set the colocationStatus property: Describes colocation status of the Proximity Placement Group.
*
* @param colocationStatus the colocationStatus value to set.
* @return the ProximityPlacementGroupProperties object itself.
*/ | Set the colocationStatus property: Describes colocation status of the Proximity Placement Group | withColocationStatus | {
"repo_name": "Azure/azure-sdk-for-java",
"path": "sdk/resourcemanagerhybrid/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/ProximityPlacementGroupProperties.java",
"license": "mit",
"size": 5792
} | [
"com.azure.resourcemanager.compute.models.InstanceViewStatus"
] | import com.azure.resourcemanager.compute.models.InstanceViewStatus; | import com.azure.resourcemanager.compute.models.*; | [
"com.azure.resourcemanager"
] | com.azure.resourcemanager; | 1,001,850 |
protected void updateFile(String site, ContentItemTO contentItem, String path, InputStream input, String user, boolean isPreview, boolean unlock, ResultTO result)
throws ServiceLayerException {
boolean success = false;
try {
success = contentService.writeContent(site, path, input);
} finally {
ContentUtils.release(input);
}
if (success) {
Map<String, Object> properties = new HashMap<>();
properties.put(ItemMetadata.PROP_MODIFIER, user);
properties.put(ItemMetadata.PROP_MODIFIED, ZonedDateTime.now(ZoneOffset.UTC));
if (unlock) {
properties.put(ItemMetadata.PROP_LOCK_OWNER, StringUtils.EMPTY);
} else {
properties.put(ItemMetadata.PROP_LOCK_OWNER, user);
}
if (!objectMetadataManager.metadataExist(site, path)) {
objectMetadataManager.insertNewObjectMetadata(site, path);
}
objectMetadataManager.setObjectMetadata(site, path, properties);
result.setCommitId(objectMetadataManager.getProperties(site, path).getCommitId());
// if there is anything pending and this is not a preview update, cancel workflow
if (!isPreview) {
if (cancelWorkflow(site, path)) {
workflowService.removeFromWorkflow(site, path, true);
} else {
if (updateWorkFlow(site, path)) {
workflowService.updateWorkflowSandboxes(site, path);
}
}
}
}
// unlock the content upon save if the flag is true
if (unlock) {
contentRepository.unLockItem(site, path);
logger.debug("Unlocked the content site: " + site + " path: " + path);
} else {
contentRepository.lockItem(site, path);
}
} | void function(String site, ContentItemTO contentItem, String path, InputStream input, String user, boolean isPreview, boolean unlock, ResultTO result) throws ServiceLayerException { boolean success = false; try { success = contentService.writeContent(site, path, input); } finally { ContentUtils.release(input); } if (success) { Map<String, Object> properties = new HashMap<>(); properties.put(ItemMetadata.PROP_MODIFIER, user); properties.put(ItemMetadata.PROP_MODIFIED, ZonedDateTime.now(ZoneOffset.UTC)); if (unlock) { properties.put(ItemMetadata.PROP_LOCK_OWNER, StringUtils.EMPTY); } else { properties.put(ItemMetadata.PROP_LOCK_OWNER, user); } if (!objectMetadataManager.metadataExist(site, path)) { objectMetadataManager.insertNewObjectMetadata(site, path); } objectMetadataManager.setObjectMetadata(site, path, properties); result.setCommitId(objectMetadataManager.getProperties(site, path).getCommitId()); if (!isPreview) { if (cancelWorkflow(site, path)) { workflowService.removeFromWorkflow(site, path, true); } else { if (updateWorkFlow(site, path)) { workflowService.updateWorkflowSandboxes(site, path); } } } } if (unlock) { contentRepository.unLockItem(site, path); logger.debug(STR + site + STR + path); } else { contentRepository.lockItem(site, path); } } | /**
* update the file at the given content node
*
* @param input
* @param user
* @param isPreview
* @param unlock
* unlock the content upon update?
* @throws ServiceLayerException
*/ | update the file at the given content node | updateFile | {
"repo_name": "craftercms/studio2",
"path": "src/main/java/org/craftercms/studio/impl/v1/content/pipeline/FormDmContentProcessor.java",
"license": "gpl-3.0",
"size": 18814
} | [
"java.io.InputStream",
"java.time.ZoneOffset",
"java.time.ZonedDateTime",
"java.util.HashMap",
"java.util.Map",
"org.apache.commons.lang3.StringUtils",
"org.craftercms.studio.api.v1.dal.ItemMetadata",
"org.craftercms.studio.api.v1.exception.ServiceLayerException",
"org.craftercms.studio.api.v1.to.ContentItemTO",
"org.craftercms.studio.api.v1.to.ResultTO",
"org.craftercms.studio.impl.v1.util.ContentUtils"
] | import java.io.InputStream; import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.craftercms.studio.api.v1.dal.ItemMetadata; import org.craftercms.studio.api.v1.exception.ServiceLayerException; import org.craftercms.studio.api.v1.to.ContentItemTO; import org.craftercms.studio.api.v1.to.ResultTO; import org.craftercms.studio.impl.v1.util.ContentUtils; | import java.io.*; import java.time.*; import java.util.*; import org.apache.commons.lang3.*; import org.craftercms.studio.api.v1.dal.*; import org.craftercms.studio.api.v1.exception.*; import org.craftercms.studio.api.v1.to.*; import org.craftercms.studio.impl.v1.util.*; | [
"java.io",
"java.time",
"java.util",
"org.apache.commons",
"org.craftercms.studio"
] | java.io; java.time; java.util; org.apache.commons; org.craftercms.studio; | 2,136,098 |
@Override
protected Object doInvoke(MethodInvocation invocation) throws Throwable {
Object ejb = null;
try {
ejb = getSessionBeanInstance();
return RmiClientInterceptorUtils.invokeRemoteMethod(invocation, ejb);
}
catch (NamingException ex) {
throw new RemoteLookupFailureException("Failed to locate remote EJB [" + getJndiName() + "]", ex);
}
catch (InvocationTargetException ex) {
Throwable targetEx = ex.getTargetException();
if (targetEx instanceof RemoteException) {
RemoteException rex = (RemoteException) targetEx;
throw RmiClientInterceptorUtils.convertRmiAccessException(
invocation.getMethod(), rex, isConnectFailure(rex), getJndiName());
}
else if (targetEx instanceof CreateException) {
throw RmiClientInterceptorUtils.convertRmiAccessException(
invocation.getMethod(), targetEx, "Could not create remote EJB [" + getJndiName() + "]");
}
throw targetEx;
}
finally {
if (ejb instanceof EJBObject) {
releaseSessionBeanInstance((EJBObject) ejb);
}
}
} | Object function(MethodInvocation invocation) throws Throwable { Object ejb = null; try { ejb = getSessionBeanInstance(); return RmiClientInterceptorUtils.invokeRemoteMethod(invocation, ejb); } catch (NamingException ex) { throw new RemoteLookupFailureException(STR + getJndiName() + "]", ex); } catch (InvocationTargetException ex) { Throwable targetEx = ex.getTargetException(); if (targetEx instanceof RemoteException) { RemoteException rex = (RemoteException) targetEx; throw RmiClientInterceptorUtils.convertRmiAccessException( invocation.getMethod(), rex, isConnectFailure(rex), getJndiName()); } else if (targetEx instanceof CreateException) { throw RmiClientInterceptorUtils.convertRmiAccessException( invocation.getMethod(), targetEx, STR + getJndiName() + "]"); } throw targetEx; } finally { if (ejb instanceof EJBObject) { releaseSessionBeanInstance((EJBObject) ejb); } } } | /**
* This implementation "creates" a new EJB instance for each invocation.
* Can be overridden for custom invocation strategies.
* <p>Alternatively, override {@link #getSessionBeanInstance} and
* {@link #releaseSessionBeanInstance} to change EJB instance creation,
* for example to hold a single shared EJB component instance.
*/ | This implementation "creates" a new EJB instance for each invocation. Can be overridden for custom invocation strategies. Alternatively, override <code>#getSessionBeanInstance</code> and <code>#releaseSessionBeanInstance</code> to change EJB instance creation, for example to hold a single shared EJB component instance | doInvoke | {
"repo_name": "sunpy1106/SpringBeanLifeCycle",
"path": "src/main/java/org/springframework/ejb/access/SimpleRemoteSlsbInvokerInterceptor.java",
"license": "apache-2.0",
"size": 6674
} | [
"java.lang.reflect.InvocationTargetException",
"java.rmi.RemoteException",
"javax.ejb.CreateException",
"javax.ejb.EJBObject",
"javax.naming.NamingException",
"org.aopalliance.intercept.MethodInvocation",
"org.springframework.remoting.RemoteLookupFailureException",
"org.springframework.remoting.rmi.RmiClientInterceptorUtils"
] | import java.lang.reflect.InvocationTargetException; import java.rmi.RemoteException; import javax.ejb.CreateException; import javax.ejb.EJBObject; import javax.naming.NamingException; import org.aopalliance.intercept.MethodInvocation; import org.springframework.remoting.RemoteLookupFailureException; import org.springframework.remoting.rmi.RmiClientInterceptorUtils; | import java.lang.reflect.*; import java.rmi.*; import javax.ejb.*; import javax.naming.*; import org.aopalliance.intercept.*; import org.springframework.remoting.*; import org.springframework.remoting.rmi.*; | [
"java.lang",
"java.rmi",
"javax.ejb",
"javax.naming",
"org.aopalliance.intercept",
"org.springframework.remoting"
] | java.lang; java.rmi; javax.ejb; javax.naming; org.aopalliance.intercept; org.springframework.remoting; | 1,129,152 |
public VmSizeCompatibilityFilterV2 withClusterVersions(List<String> clusterVersions) {
this.clusterVersions = clusterVersions;
return this;
} | VmSizeCompatibilityFilterV2 function(List<String> clusterVersions) { this.clusterVersions = clusterVersions; return this; } | /**
* Set the clusterVersions property: The list of cluster versions affected in Major.Minor format.
*
* @param clusterVersions the clusterVersions value to set.
* @return the VmSizeCompatibilityFilterV2 object itself.
*/ | Set the clusterVersions property: The list of cluster versions affected in Major.Minor format | withClusterVersions | {
"repo_name": "Azure/azure-sdk-for-java",
"path": "sdk/hdinsight/azure-resourcemanager-hdinsight/src/main/java/com/azure/resourcemanager/hdinsight/models/VmSizeCompatibilityFilterV2.java",
"license": "mit",
"size": 8751
} | [
"java.util.List"
] | import java.util.List; | import java.util.*; | [
"java.util"
] | java.util; | 546,627 |
private static boolean belongsToFontFamily(Typeface typeFace, ClosedCaptionFont font) {
return Typeface.create(font.getFontFamily(), typeFace.getStyle()).equals(typeFace);
} | static boolean function(Typeface typeFace, ClosedCaptionFont font) { return Typeface.create(font.getFontFamily(), typeFace.getStyle()).equals(typeFace); } | /**
* Check if the a Typeface belongs to the given font family.
*
* @param typeFace a Typeface object
* @param font Font family to be matched
* @return true if the Typeface belongs to the font family, or false otherwise.
*/ | Check if the a Typeface belongs to the given font family | belongsToFontFamily | {
"repo_name": "TheTypoMaster/chromium-crosswalk",
"path": "content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java",
"license": "bsd-3-clause",
"size": 12214
} | [
"android.graphics.Typeface"
] | import android.graphics.Typeface; | import android.graphics.*; | [
"android.graphics"
] | android.graphics; | 2,659,234 |
protected void readFile() throws IOException {
String line;
BufferedReader reader = new BufferedReader(
new InputStreamReader(stream));
try {
while ((line = reader.readLine()) != null)
{
if (line.indexOf(BEGIN_MARKER) != -1)
{
beginMarker = line.trim();
String endMarker = beginMarker.replace("BEGIN", "END");
derBytes = readBytes(reader, endMarker);
return;
}
}
throw new IOException("Invalid PEM file: no begin marker");
} finally {
reader.close();
}
} | void function() throws IOException { String line; BufferedReader reader = new BufferedReader( new InputStreamReader(stream)); try { while ((line = reader.readLine()) != null) { if (line.indexOf(BEGIN_MARKER) != -1) { beginMarker = line.trim(); String endMarker = beginMarker.replace("BEGIN", "END"); derBytes = readBytes(reader, endMarker); return; } } throw new IOException(STR); } finally { reader.close(); } } | /**
* Read the PEM file and save the DER encoded octet
* stream and begin marker.
*
* @throws IOException
*/ | Read the PEM file and save the DER encoded octet stream and begin marker | readFile | {
"repo_name": "eemirtekin/Sakai-10.6-TR",
"path": "basiclti/basiclti-util/src/java/net/oauth/signature/pem/PEMReader.java",
"license": "apache-2.0",
"size": 4090
} | [
"java.io.BufferedReader",
"java.io.IOException",
"java.io.InputStreamReader"
] | import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; | import java.io.*; | [
"java.io"
] | java.io; | 794,924 |
public ApiResponse<V1beta1PriorityLevelConfiguration>
patchPriorityLevelConfigurationStatusWithHttpInfo(
String name,
V1Patch body,
String pretty,
String dryRun,
String fieldManager,
String fieldValidation,
Boolean force)
throws ApiException {
okhttp3.Call localVarCall =
patchPriorityLevelConfigurationStatusValidateBeforeCall(
name, body, pretty, dryRun, fieldManager, fieldValidation, force, null);
Type localVarReturnType = new TypeToken<V1beta1PriorityLevelConfiguration>() {}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
} | ApiResponse<V1beta1PriorityLevelConfiguration> function( String name, V1Patch body, String pretty, String dryRun, String fieldManager, String fieldValidation, Boolean force) throws ApiException { okhttp3.Call localVarCall = patchPriorityLevelConfigurationStatusValidateBeforeCall( name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); Type localVarReturnType = new TypeToken<V1beta1PriorityLevelConfiguration>() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } | /**
* partially update status of the specified PriorityLevelConfiguration
*
* @param name name of the PriorityLevelConfiguration (required)
* @param body (required)
* @param pretty If 'true', then the output is pretty printed. (optional)
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or
* unrecognized dryRun directive will result in an error response and no further processing of
* the request. Valid values are: - All: all dry run stages will be processed (optional)
* @param fieldManager fieldManager is a name associated with the actor or entity that is making
* these changes. The value must be less than or 128 characters long, and only contain
* printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is
* required for apply requests (application/apply-patch) but optional for non-apply patch
* types (JsonPatch, MergePatch, StrategicMergePatch). (optional)
* @param fieldValidation fieldValidation determines how the server should respond to
* unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older
* servers or servers with the `ServerSideFieldValidation` feature disabled will
* discard valid values specified in this param and not perform any server side field
* validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds
* with a warning for each unknown/duplicate field, but successfully serves the request. -
* Strict: fails the request on unknown/duplicate fields. (optional)
* @param force Force is going to \"force\" Apply requests. It means user will
* re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply
* patch requests. (optional)
* @return ApiResponse<V1beta1PriorityLevelConfiguration>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
* response body
* @http.response.details
* <table summary="Response Details" border="1">
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
* <tr><td> 201 </td><td> Created </td><td> - </td></tr>
* <tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
* </table>
*/ | partially update status of the specified PriorityLevelConfiguration | patchPriorityLevelConfigurationStatusWithHttpInfo | {
"repo_name": "kubernetes-client/java",
"path": "kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1beta1Api.java",
"license": "apache-2.0",
"size": 322022
} | [
"com.google.gson.reflect.TypeToken",
"io.kubernetes.client.custom.V1Patch",
"io.kubernetes.client.openapi.ApiException",
"io.kubernetes.client.openapi.ApiResponse",
"io.kubernetes.client.openapi.models.V1beta1PriorityLevelConfiguration",
"java.lang.reflect.Type"
] | import com.google.gson.reflect.TypeToken; import io.kubernetes.client.custom.V1Patch; import io.kubernetes.client.openapi.ApiException; import io.kubernetes.client.openapi.ApiResponse; import io.kubernetes.client.openapi.models.V1beta1PriorityLevelConfiguration; import java.lang.reflect.Type; | import com.google.gson.reflect.*; import io.kubernetes.client.custom.*; import io.kubernetes.client.openapi.*; import io.kubernetes.client.openapi.models.*; import java.lang.reflect.*; | [
"com.google.gson",
"io.kubernetes.client",
"java.lang"
] | com.google.gson; io.kubernetes.client; java.lang; | 1,781,112 |
public ModelObjectData getChildModelObjectData() {
throw new NotImplementedException();
} | ModelObjectData function() { throw new NotImplementedException(); } | /**
* Get modelObjectData instance for child node.
* <p>
* This modelObjectData is needed for read / update / delete operation
* to extract ResourceId of this modelObject itself.
* It's just workaround, fix in DCS needed.
*
* @return ModelObjectData of build target
*/ | Get modelObjectData instance for child node. This modelObjectData is needed for read / update / delete operation to extract ResourceId of this modelObject itself. It's just workaround, fix in DCS needed | getChildModelObjectData | {
"repo_name": "oplinkoms/onos",
"path": "apps/odtn/api/src/main/java/org/onosproject/odtn/utils/tapi/TapiObjectHandler.java",
"license": "apache-2.0",
"size": 7784
} | [
"org.apache.commons.lang.NotImplementedException",
"org.onosproject.yang.model.ModelObjectData"
] | import org.apache.commons.lang.NotImplementedException; import org.onosproject.yang.model.ModelObjectData; | import org.apache.commons.lang.*; import org.onosproject.yang.model.*; | [
"org.apache.commons",
"org.onosproject.yang"
] | org.apache.commons; org.onosproject.yang; | 1,331,488 |
@AbstractCustomGlobal.CustomButton(imageName="blue.gif", toolTipText="Set all nodes to blue.")
public void blueButton() {
for(Node n : Tools.getNodeList()) {
n.setColor(Color.BLUE);
}
Tools.repaintGUI(); // to have the changes visible immediately
} | @AbstractCustomGlobal.CustomButton(imageName=STR, toolTipText=STR) void function() { for(Node n : Tools.getNodeList()) { n.setColor(Color.BLUE); } Tools.repaintGUI(); } | /**
* Color all nodes blue.
*/ | Color all nodes blue | blueButton | {
"repo_name": "torraodocerrado/leader_election_sinalgo",
"path": "exemplos/omega_01/CustomGlobal.java",
"license": "gpl-2.0",
"size": 6049
} | [
"java.awt.Color"
] | import java.awt.Color; | import java.awt.*; | [
"java.awt"
] | java.awt; | 1,954,085 |
public void updateMaster(com.google.container.v1.UpdateMasterRequest request,
io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getUpdateMasterMethodHelper(), responseObserver);
} | void function(com.google.container.v1.UpdateMasterRequest request, io.grpc.stub.StreamObserver<com.google.container.v1.Operation> responseObserver) { asyncUnimplementedUnaryCall(getUpdateMasterMethodHelper(), responseObserver); } | /**
* <pre>
* Updates the master of a specific cluster.
* </pre>
*/ | <code> Updates the master of a specific cluster. </code> | updateMaster | {
"repo_name": "pongad/api-client-staging",
"path": "generated/java/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java",
"license": "bsd-3-clause",
"size": 147597
} | [
"io.grpc.stub.ServerCalls"
] | import io.grpc.stub.ServerCalls; | import io.grpc.stub.*; | [
"io.grpc.stub"
] | io.grpc.stub; | 2,509,879 |
@Test(expected = ThirdPartyErrorException.class)
public void testLoadUserNoResponse() {
OAuth2IdPToken idPToken = new OAuth2IdPToken();
idPToken.setAccessToken("facebook_access_token");
FacebookUserEntity result = new FacebookUserEntity(); // no id
doReturn(result).when(getResponse).readEntity(FacebookUserEntity.class);
fbAuth.loadUserIdentity(idPToken);
} | @Test(expected = ThirdPartyErrorException.class) void function() { OAuth2IdPToken idPToken = new OAuth2IdPToken(); idPToken.setAccessToken(STR); FacebookUserEntity result = new FacebookUserEntity(); doReturn(result).when(getResponse).readEntity(FacebookUserEntity.class); fbAuth.loadUserIdentity(idPToken); } | /**
* Assert that if the user response returns with no remote id, throw it
* back to the user.
*/ | Assert that if the user response returns with no remote id, throw it back to the user | testLoadUserNoResponse | {
"repo_name": "kangaroo-server/kangaroo",
"path": "kangaroo-server-authz/src/test/java/net/krotscheck/kangaroo/authz/common/authenticator/facebook/FacebookAuthenticatorTest.java",
"license": "apache-2.0",
"size": 8548
} | [
"net.krotscheck.kangaroo.authz.common.authenticator.exception.ThirdPartyErrorException",
"net.krotscheck.kangaroo.authz.common.authenticator.oauth2.OAuth2IdPToken",
"org.junit.Test",
"org.mockito.Mockito"
] | import net.krotscheck.kangaroo.authz.common.authenticator.exception.ThirdPartyErrorException; import net.krotscheck.kangaroo.authz.common.authenticator.oauth2.OAuth2IdPToken; import org.junit.Test; import org.mockito.Mockito; | import net.krotscheck.kangaroo.authz.common.authenticator.exception.*; import net.krotscheck.kangaroo.authz.common.authenticator.oauth2.*; import org.junit.*; import org.mockito.*; | [
"net.krotscheck.kangaroo",
"org.junit",
"org.mockito"
] | net.krotscheck.kangaroo; org.junit; org.mockito; | 1,326,103 |
@Override
protected void loadDocument(KualiDocumentFormBase kualiDocumentFormBase) throws WorkflowException {
super.loadDocument(kualiDocumentFormBase);
JournalVoucherForm journalVoucherForm = (JournalVoucherForm) kualiDocumentFormBase;
// if the balance type is an offset generation balance type, then the user is able to enter the amount
// as either a debit or a credit, otherwise, they only need to deal with the amount field
JournalVoucherDocument journalVoucherDocument = (JournalVoucherDocument) journalVoucherForm.getTransactionalDocument();
if (journalVoucherDocument.getBalanceType().isFinancialOffsetGenerationIndicator()) {
populateAllVoucherAccountingLineHelpers(journalVoucherForm);
KualiDecimal ZERO = new KualiDecimal("0.00");
journalVoucherForm.setNewSourceLineCredit(ZERO);
journalVoucherForm.setNewSourceLineDebit(ZERO);
}
// always wipe out the new source line
journalVoucherForm.setNewSourceLine(null);
// reload the balance type and accounting period selections since now we have data in the document bo
populateSelectedJournalBalanceType(journalVoucherDocument, journalVoucherForm);
populateSelectedAccountingPeriod(journalVoucherDocument, journalVoucherForm);
}
| void function(KualiDocumentFormBase kualiDocumentFormBase) throws WorkflowException { super.loadDocument(kualiDocumentFormBase); JournalVoucherForm journalVoucherForm = (JournalVoucherForm) kualiDocumentFormBase; JournalVoucherDocument journalVoucherDocument = (JournalVoucherDocument) journalVoucherForm.getTransactionalDocument(); if (journalVoucherDocument.getBalanceType().isFinancialOffsetGenerationIndicator()) { populateAllVoucherAccountingLineHelpers(journalVoucherForm); KualiDecimal ZERO = new KualiDecimal("0.00"); journalVoucherForm.setNewSourceLineCredit(ZERO); journalVoucherForm.setNewSourceLineDebit(ZERO); } journalVoucherForm.setNewSourceLine(null); populateSelectedJournalBalanceType(journalVoucherDocument, journalVoucherForm); populateSelectedAccountingPeriod(journalVoucherDocument, journalVoucherForm); } | /**
* Overrides the parent to make sure that the JV specific accounting line helper forms are properly populated when the document
* is first loaded. This first calls super, then populates the helper objects.
*
* @see org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase#loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
*/ | Overrides the parent to make sure that the JV specific accounting line helper forms are properly populated when the document is first loaded. This first calls super, then populates the helper objects | loadDocument | {
"repo_name": "Ariah-Group/Finance",
"path": "af_webapp/src/main/java/org/kuali/kfs/fp/document/web/struts/JournalVoucherAction.java",
"license": "apache-2.0",
"size": 32374
} | [
"org.kuali.kfs.fp.document.JournalVoucherDocument",
"org.kuali.rice.core.api.util.type.KualiDecimal",
"org.kuali.rice.kew.api.exception.WorkflowException",
"org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase"
] | import org.kuali.kfs.fp.document.JournalVoucherDocument; import org.kuali.rice.core.api.util.type.KualiDecimal; import org.kuali.rice.kew.api.exception.WorkflowException; import org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase; | import org.kuali.kfs.fp.document.*; import org.kuali.rice.core.api.util.type.*; import org.kuali.rice.kew.api.exception.*; import org.kuali.rice.kns.web.struts.form.*; | [
"org.kuali.kfs",
"org.kuali.rice"
] | org.kuali.kfs; org.kuali.rice; | 2,641,085 |
private void validateModeChange(ChannelMode currentMode,
ChannelMode newMode,
boolean authless)
throws WindowException {
List allowedList = PortletWindowRules.getAllowablePortletWindowModes(
currentMode,
authless);
if (!allowedList.contains(newMode)) {
throw new WindowException(WindowErrorCode.INVALID_MODE_CHANGE_REQUEST,
"Portal doesn't allow changing mode "
+ " from "
+ currentMode
+ " to "
+ newMode);
}
return;
} | void function(ChannelMode currentMode, ChannelMode newMode, boolean authless) throws WindowException { List allowedList = PortletWindowRules.getAllowablePortletWindowModes( currentMode, authless); if (!allowedList.contains(newMode)) { throw new WindowException(WindowErrorCode.INVALID_MODE_CHANGE_REQUEST, STR + STR + currentMode + STR + newMode); } return; } | /**
* Throws a WindowException exception if attempt is made to change to a new mode that is not
* allowed by the portal
*/ | Throws a WindowException exception if attempt is made to change to a new mode that is not allowed by the portal | validateModeChange | {
"repo_name": "NicolasEYSSERIC/Silverpeas-Core",
"path": "web-core/src/main/java/com/sun/portal/portletcontainer/invoker/WindowInvoker.java",
"license": "agpl-3.0",
"size": 37240
} | [
"com.sun.portal.container.ChannelMode",
"com.sun.portal.portletcontainer.invoker.util.PortletWindowRules",
"java.util.List"
] | import com.sun.portal.container.ChannelMode; import com.sun.portal.portletcontainer.invoker.util.PortletWindowRules; import java.util.List; | import com.sun.portal.container.*; import com.sun.portal.portletcontainer.invoker.util.*; import java.util.*; | [
"com.sun.portal",
"java.util"
] | com.sun.portal; java.util; | 730,057 |
public static BufferedImage cloneImage(BufferedImage image) {
WritableRaster rin = image.getRaster();
WritableRaster ras = rin.createCompatibleWritableRaster();
Hashtable props = null;
String[] propNames = image.getPropertyNames();
if (propNames != null) { // ALWAYS null
props = new Hashtable();
for (int i = 0; i < propNames.length; i++) {
props.put(propNames[i], image.getProperty(propNames[i]));
}
}
return new BufferedImage(image.getColorModel(), ras,
image.isAlphaPremultiplied(), props);
} | static BufferedImage function(BufferedImage image) { WritableRaster rin = image.getRaster(); WritableRaster ras = rin.createCompatibleWritableRaster(); Hashtable props = null; String[] propNames = image.getPropertyNames(); if (propNames != null) { props = new Hashtable(); for (int i = 0; i < propNames.length; i++) { props.put(propNames[i], image.getProperty(propNames[i])); } } return new BufferedImage(image.getColorModel(), ras, image.isAlphaPremultiplied(), props); } | /**
* Clone a {@link BufferedImage}.
* <p>
* Note: when constructing the clone, the original Color Model Object is
* reused.<br> That keeps things simple and should not be a problem, as all
* known Color Models<br>
* ({@link java.awt.image.IndexColorModel IndexColorModel},
* {@link java.awt.image.DirectColorModel DirectColorModel},
* {@link java.awt.image.ComponentColorModel ComponentColorModel}) are
* immutable.
*
* @param image original BufferedImage to clone
*
* @return a new BufferedImage reusing the original's Color Model and
* containing a clone of its pixels
*/ | Clone a <code>BufferedImage</code>. Note: when constructing the clone, the original Color Model Object is reused. That keeps things simple and should not be a problem, as all known Color Models (<code>java.awt.image.IndexColorModel IndexColorModel</code>, <code>java.awt.image.DirectColorModel DirectColorModel</code>, <code>java.awt.image.ComponentColorModel ComponentColorModel</code>) are immutable | cloneImage | {
"repo_name": "aaronc/jfreechart",
"path": "source/org/jfree/chart/util/PaintAlpha.java",
"license": "lgpl-2.1",
"size": 15549
} | [
"java.awt.image.BufferedImage",
"java.awt.image.WritableRaster",
"java.util.Hashtable"
] | import java.awt.image.BufferedImage; import java.awt.image.WritableRaster; import java.util.Hashtable; | import java.awt.image.*; import java.util.*; | [
"java.awt",
"java.util"
] | java.awt; java.util; | 665,307 |
protected void setMoreWidget(Widget moreWidget){
orderedWidgets.add(moreWidget);
more.add(moreWidget);
}
| void function(Widget moreWidget){ orderedWidgets.add(moreWidget); more.add(moreWidget); } | /**
* Sets the button for increase the current value (knob moves right or down)
* @param moreWidget - widget which supports handling of onMouseClick event
*/ | Sets the button for increase the current value (knob moves right or down) | setMoreWidget | {
"repo_name": "Salaboy/dashbuilder",
"path": "dashbuilder-client/dashbuilder-common-client/src/main/java/org/dashbuilder/common/client/widgets/slider/view/SliderBar.java",
"license": "apache-2.0",
"size": 8537
} | [
"com.google.gwt.user.client.ui.Widget"
] | import com.google.gwt.user.client.ui.Widget; | import com.google.gwt.user.client.ui.*; | [
"com.google.gwt"
] | com.google.gwt; | 1,426,344 |
ConfigurationDto deactivateConfiguration(String configurationId, String deactivatedUsername) throws ControlServiceException; | ConfigurationDto deactivateConfiguration(String configurationId, String deactivatedUsername) throws ControlServiceException; | /**
* Deactivate configuration.
*
* @param configurationId
* the configuration id
* @param deactivatedUsername
* the deactivated username
* @return the configuration dto
* @throws ControlServiceException
* the control service exception
*/ | Deactivate configuration | deactivateConfiguration | {
"repo_name": "forGGe/kaa",
"path": "server/node/src/main/java/org/kaaproject/kaa/server/control/service/ControlService.java",
"license": "apache-2.0",
"size": 61702
} | [
"org.kaaproject.kaa.common.dto.ConfigurationDto",
"org.kaaproject.kaa.server.control.service.exception.ControlServiceException"
] | import org.kaaproject.kaa.common.dto.ConfigurationDto; import org.kaaproject.kaa.server.control.service.exception.ControlServiceException; | import org.kaaproject.kaa.common.dto.*; import org.kaaproject.kaa.server.control.service.exception.*; | [
"org.kaaproject.kaa"
] | org.kaaproject.kaa; | 2,449,610 |
public CR cos() {
BigInteger rough_appr = get_appr(-1);
BigInteger abs_rough_appr = rough_appr.abs();
if (abs_rough_appr.compareTo(big6) >= 0) {
// Subtract multiples of PI
BigInteger multiplier = rough_appr.divide(big6);
CR adjustment = PI.multiply(CR.valueOf(multiplier));
if (multiplier.and(big1).signum() != 0) {
return subtract(adjustment).cos().negate();
} else {
return subtract(adjustment).cos();
}
} else if (abs_rough_appr.compareTo(big2) >= 0) {
// Scale further with double angle formula
CR cos_half = shiftRight(1).cos();
return cos_half.multiply(cos_half).shiftLeft(1).subtract(one);
} else {
return new prescaled_cos_CR(this);
}
} | CR function() { BigInteger rough_appr = get_appr(-1); BigInteger abs_rough_appr = rough_appr.abs(); if (abs_rough_appr.compareTo(big6) >= 0) { BigInteger multiplier = rough_appr.divide(big6); CR adjustment = PI.multiply(CR.valueOf(multiplier)); if (multiplier.and(big1).signum() != 0) { return subtract(adjustment).cos().negate(); } else { return subtract(adjustment).cos(); } } else if (abs_rough_appr.compareTo(big2) >= 0) { CR cos_half = shiftRight(1).cos(); return cos_half.multiply(cos_half).shiftLeft(1).subtract(one); } else { return new prescaled_cos_CR(this); } } | /**
* The trigonometric cosine function.
*/ | The trigonometric cosine function | cos | {
"repo_name": "jinterval/jinterval",
"path": "boehm-creals/src/main/java/com/hp/creals/CR.java",
"license": "bsd-2-clause",
"size": 45951
} | [
"java.math.BigInteger"
] | import java.math.BigInteger; | import java.math.*; | [
"java.math"
] | java.math; | 1,697,255 |
EClass getExitState(); | EClass getExitState(); | /**
* Returns the meta object for class '{@link org.yakindu.sct.model.sexec.ExitState <em>Exit State</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>Exit State</em>'.
* @see org.yakindu.sct.model.sexec.ExitState
* @generated
*/ | Returns the meta object for class '<code>org.yakindu.sct.model.sexec.ExitState Exit State</code>'. | getExitState | {
"repo_name": "Yakindu/statecharts",
"path": "plugins/org.yakindu.sct.model.sexec/src/org/yakindu/sct/model/sexec/SexecPackage.java",
"license": "epl-1.0",
"size": 168724
} | [
"org.eclipse.emf.ecore.EClass"
] | import org.eclipse.emf.ecore.EClass; | import org.eclipse.emf.ecore.*; | [
"org.eclipse.emf"
] | org.eclipse.emf; | 456,188 |
@Override
public void setPlan(final Plan otherPlan)
{
this.plan = otherPlan;
} | void function(final Plan otherPlan) { this.plan = otherPlan; } | /**
* Soft-copy plan.
*
* @param otherPlan
* another QC object's plan
* @param plan
* @see edu.utah.further.fqe.ds.api.domain.AbstractQueryContext#setPlan(edu.utah.further.fqe.ds.api.domain.plan.Plan)
*/ | Soft-copy plan | setPlan | {
"repo_name": "openfurther/further-open-core",
"path": "fqe/fqe-impl/src/main/java/edu/utah/further/fqe/impl/domain/QueryContextEntity.java",
"license": "apache-2.0",
"size": 29536
} | [
"edu.utah.further.fqe.ds.api.domain.plan.Plan"
] | import edu.utah.further.fqe.ds.api.domain.plan.Plan; | import edu.utah.further.fqe.ds.api.domain.plan.*; | [
"edu.utah.further"
] | edu.utah.further; | 2,914,560 |
public void removeValue(final K key, final V value)
{
List<V> list = get(key);
if (list != null)
{
list.remove(value);
}
} | void function(final K key, final V value) { List<V> list = get(key); if (list != null) { list.remove(value); } } | /**
* Removes value from the specified key
*
* @param key
* @param value
*/ | Removes value from the specified key | removeValue | {
"repo_name": "afiantara/apache-wicket-1.5.7",
"path": "src/wicket-util/src/main/java/org/apache/wicket/util/collections/MultiMap.java",
"license": "apache-2.0",
"size": 2889
} | [
"java.util.List"
] | import java.util.List; | import java.util.*; | [
"java.util"
] | java.util; | 1,581,296 |
@Override
public void disconnect(IConnection conn, IScope scope) {
log.debug("disconnect: {} < {}", conn, scope);
if (log.isInfoEnabled() && ScopeUtils.isApp(scope)) {
// log w3c connect event
IClient client = conn.getClient();
if (client == null) {
// log w3c connect event
log.info("W3C x-category:session x-event:disconnect c-ip:{}", conn.getRemoteAddress());
} else {
// log w3c connect event
log.info("W3C x-category:session x-event:disconnect c-ip:{} c-client-id:{}", conn.getRemoteAddress(), client.getId());
}
}
if (ScopeUtils.isApp(scope)) {
appDisconnect(conn);
} else if (ScopeUtils.isRoom(scope)) {
roomDisconnect(conn);
}
super.disconnect(conn, scope);
} | void function(IConnection conn, IScope scope) { log.debug(STR, conn, scope); if (log.isInfoEnabled() && ScopeUtils.isApp(scope)) { IClient client = conn.getClient(); if (client == null) { log.info(STR, conn.getRemoteAddress()); } else { log.info(STR, conn.getRemoteAddress(), client.getId()); } } if (ScopeUtils.isApp(scope)) { appDisconnect(conn); } else if (ScopeUtils.isRoom(scope)) { roomDisconnect(conn); } super.disconnect(conn, scope); } | /**
* Returns disconnection result for given scope and parameters. Whether the
* scope is room or app level scope, this method distinguishes it and acts
* accordingly.
*
* @param conn
* Connection object
* @param scope
* Scope
*/ | Returns disconnection result for given scope and parameters. Whether the scope is room or app level scope, this method distinguishes it and acts accordingly | disconnect | {
"repo_name": "cantren/red5-server",
"path": "src/main/java/org/red5/server/adapter/MultiThreadedApplicationAdapter.java",
"license": "apache-2.0",
"size": 46463
} | [
"org.red5.server.api.IClient",
"org.red5.server.api.IConnection",
"org.red5.server.api.scope.IScope",
"org.red5.server.util.ScopeUtils"
] | import org.red5.server.api.IClient; import org.red5.server.api.IConnection; import org.red5.server.api.scope.IScope; import org.red5.server.util.ScopeUtils; | import org.red5.server.api.*; import org.red5.server.api.scope.*; import org.red5.server.util.*; | [
"org.red5.server"
] | org.red5.server; | 117,883 |
@Nonnull
public OnenotePageRequest expand(@Nonnull final String value) {
addExpandOption(value);
return this;
} | OnenotePageRequest function(@Nonnull final String value) { addExpandOption(value); return this; } | /**
* Sets the expand clause for the request
*
* @param value the expand clause
* @return the updated request
*/ | Sets the expand clause for the request | expand | {
"repo_name": "microsoftgraph/msgraph-sdk-java",
"path": "src/main/java/com/microsoft/graph/requests/OnenotePageRequest.java",
"license": "mit",
"size": 6001
} | [
"javax.annotation.Nonnull"
] | import javax.annotation.Nonnull; | import javax.annotation.*; | [
"javax.annotation"
] | javax.annotation; | 2,094,529 |
public void paint(Graphics g)
{
super.paint(g);
Graphics2D g2d = (Graphics2D)g;
// Paints each annotation on the list.
for (int a=0;a<ROIs.size();a++)
{
ROIs.get(a).paint(g2d);
}
}
| void function(Graphics g) { super.paint(g); Graphics2D g2d = (Graphics2D)g; for (int a=0;a<ROIs.size();a++) { ROIs.get(a).paint(g2d); } } | /**
* This method paints the component, calling the paint method of the ancestral
* class and then painting all ROI shapes.
*/ | This method paints the component, calling the paint method of the ancestral class and then painting all ROI shapes | paint | {
"repo_name": "ohuseyin/image-processor",
"path": "src/main/java/com/eye/see/image/utils/DisplayImageWithRegions.java",
"license": "mit",
"size": 7573
} | [
"java.awt.Graphics",
"java.awt.Graphics2D"
] | import java.awt.Graphics; import java.awt.Graphics2D; | import java.awt.*; | [
"java.awt"
] | java.awt; | 2,341,980 |
public ExpressRoutePeeringState state() {
return this.state;
} | ExpressRoutePeeringState function() { return this.state; } | /**
* Get the peering state. Possible values include: 'Disabled', 'Enabled'.
*
* @return the state value
*/ | Get the peering state. Possible values include: 'Disabled', 'Enabled' | state | {
"repo_name": "selvasingh/azure-sdk-for-java",
"path": "sdk/network/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/network/v2020_05_01/implementation/ExpressRouteCrossConnectionPeeringInner.java",
"license": "mit",
"size": 11847
} | [
"com.microsoft.azure.management.network.v2020_05_01.ExpressRoutePeeringState"
] | import com.microsoft.azure.management.network.v2020_05_01.ExpressRoutePeeringState; | import com.microsoft.azure.management.network.v2020_05_01.*; | [
"com.microsoft.azure"
] | com.microsoft.azure; | 2,633,293 |
public void addChangeListener(ChangeListener listener) {
if (this.getChangeListeners().length == 0) {
this.numberHolder.addPropertyChangeListener(ValueModel.VALUE, this.numberChangeListener);
this.synchronize(this.numberHolder.getValue());
}
super.addChangeListener(listener);
} | void function(ChangeListener listener) { if (this.getChangeListeners().length == 0) { this.numberHolder.addPropertyChangeListener(ValueModel.VALUE, this.numberChangeListener); this.synchronize(this.numberHolder.getValue()); } super.addChangeListener(listener); } | /**
* Extend to start listening to the underlying number if necessary.
* @see javax.swing.SpinnerModel#addChangeListener(javax.swing.event.ChangeListener)
*/ | Extend to start listening to the underlying number if necessary | addChangeListener | {
"repo_name": "RallySoftware/eclipselink.runtime",
"path": "utils/eclipselink.utils.workbench/uitools/source/org/eclipse/persistence/tools/workbench/uitools/app/swing/NumberSpinnerModelAdapter.java",
"license": "epl-1.0",
"size": 7440
} | [
"javax.swing.event.ChangeListener",
"org.eclipse.persistence.tools.workbench.uitools.app.ValueModel"
] | import javax.swing.event.ChangeListener; import org.eclipse.persistence.tools.workbench.uitools.app.ValueModel; | import javax.swing.event.*; import org.eclipse.persistence.tools.workbench.uitools.app.*; | [
"javax.swing",
"org.eclipse.persistence"
] | javax.swing; org.eclipse.persistence; | 536,542 |
public void onBrowserEvent(Context context, Element parent, C value,
SafeHtml tooltipContent, NativeEvent event, ValueUpdater<C> valueUpdater) {
// if the Column did not provide a tooltip, give the Cell a chance to render one using the cell value C
if (tooltipContent == null) {
tooltipContent = getTooltip(value);
}
if (BrowserEvents.MOUSEOVER.equals(event.getType())) {
TooltipMixin.configureTooltip(parent, tooltipContent, event);
}
if (BrowserEvents.MOUSEOUT.equals(event.getType())) {
TooltipMixin.reapAllTooltips();
}
if (BrowserEvents.MOUSEDOWN.equals(event.getType())) {
TooltipMixin.hideAllTooltips();
}
super.onBrowserEvent(context, parent, value, event, valueUpdater);
} | void function(Context context, Element parent, C value, SafeHtml tooltipContent, NativeEvent event, ValueUpdater<C> valueUpdater) { if (tooltipContent == null) { tooltipContent = getTooltip(value); } if (BrowserEvents.MOUSEOVER.equals(event.getType())) { TooltipMixin.configureTooltip(parent, tooltipContent, event); } if (BrowserEvents.MOUSEOUT.equals(event.getType())) { TooltipMixin.reapAllTooltips(); } if (BrowserEvents.MOUSEDOWN.equals(event.getType())) { TooltipMixin.hideAllTooltips(); } super.onBrowserEvent(context, parent, value, event, valueUpdater); } | /**
* Handle events for this cell.
*
* @see org.ovirt.engine.ui.common.widget.table.cell.Cell#onBrowserEvent(com.google.gwt.cell.client.Cell.Context, com.google.gwt.dom.client.Element, java.lang.Object, com.google.gwt.safehtml.shared.SafeHtml, com.google.gwt.dom.client.NativeEvent, com.google.gwt.cell.client.ValueUpdater)
*/ | Handle events for this cell | onBrowserEvent | {
"repo_name": "OpenUniversity/ovirt-engine",
"path": "frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/cell/CompositeCell.java",
"license": "apache-2.0",
"size": 6335
} | [
"com.google.gwt.cell.client.ValueUpdater",
"com.google.gwt.dom.client.BrowserEvents",
"com.google.gwt.dom.client.Element",
"com.google.gwt.dom.client.NativeEvent",
"com.google.gwt.safehtml.shared.SafeHtml",
"org.ovirt.engine.ui.common.widget.tooltip.TooltipMixin"
] | import com.google.gwt.cell.client.ValueUpdater; import com.google.gwt.dom.client.BrowserEvents; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.NativeEvent; import com.google.gwt.safehtml.shared.SafeHtml; import org.ovirt.engine.ui.common.widget.tooltip.TooltipMixin; | import com.google.gwt.cell.client.*; import com.google.gwt.dom.client.*; import com.google.gwt.safehtml.shared.*; import org.ovirt.engine.ui.common.widget.tooltip.*; | [
"com.google.gwt",
"org.ovirt.engine"
] | com.google.gwt; org.ovirt.engine; | 1,037,888 |
public String toString()
{
if (MODELMBEAN_LOGGER.isLoggable(Level.TRACE)) {
MODELMBEAN_LOGGER.log(Level.TRACE, "Entry");
}
String retStr =
"ModelMBeanOperationInfo: " + this.getName() +
" ; Description: " + this.getDescription() +
" ; Descriptor: " + this.getDescriptor() +
" ; ReturnType: " + this.getReturnType() +
" ; Signature: ";
MBeanParameterInfo[] pTypes = this.getSignature();
for (int i=0; i < pTypes.length; i++)
{
retStr = retStr.concat((pTypes[i]).getType() + ", ");
}
return retStr;
} | String function() { if (MODELMBEAN_LOGGER.isLoggable(Level.TRACE)) { MODELMBEAN_LOGGER.log(Level.TRACE, "Entry"); } String retStr = STR + this.getName() + STR + this.getDescription() + STR + this.getDescriptor() + STR + this.getReturnType() + STR; MBeanParameterInfo[] pTypes = this.getSignature(); for (int i=0; i < pTypes.length; i++) { retStr = retStr.concat((pTypes[i]).getType() + STR); } return retStr; } | /**
* Returns a string containing the entire contents of the
* ModelMBeanOperationInfo in human readable form.
*/ | Returns a string containing the entire contents of the ModelMBeanOperationInfo in human readable form | toString | {
"repo_name": "md-5/jdk10",
"path": "src/java.management/share/classes/javax/management/modelmbean/ModelMBeanOperationInfo.java",
"license": "gpl-2.0",
"size": 22961
} | [
"java.lang.System",
"javax.management.MBeanParameterInfo"
] | import java.lang.System; import javax.management.MBeanParameterInfo; | import java.lang.*; import javax.management.*; | [
"java.lang",
"javax.management"
] | java.lang; javax.management; | 84,935 |
private static void assertValidGetByAdElement(List<Permission> result) {
assertNotNull(result);
assertFalse(result.isEmpty());
for (Permission permission : result) {
assertEquals(AD_ELEMENT_ID, permission.getAdElementId());
}
} | static void function(List<Permission> result) { assertNotNull(result); assertFalse(result.isEmpty()); for (Permission permission : result) { assertEquals(AD_ELEMENT_ID, permission.getAdElementId()); } } | /**
* Asserts that the result of get for AD element is correct
* @param result The result to check
*/ | Asserts that the result of get for AD element is correct | assertValidGetByAdElement | {
"repo_name": "OpenUniversity/ovirt-engine",
"path": "backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/PermissionDaoTest.java",
"license": "apache-2.0",
"size": 22873
} | [
"java.util.List",
"org.junit.Assert",
"org.ovirt.engine.core.common.businessentities.Permission"
] | import java.util.List; import org.junit.Assert; import org.ovirt.engine.core.common.businessentities.Permission; | import java.util.*; import org.junit.*; import org.ovirt.engine.core.common.businessentities.*; | [
"java.util",
"org.junit",
"org.ovirt.engine"
] | java.util; org.junit; org.ovirt.engine; | 2,417,440 |
public ServiceFuture<SignalRKeysInner> regenerateKeyAsync(String resourceGroupName, String resourceName, final ServiceCallback<SignalRKeysInner> serviceCallback) {
return ServiceFuture.fromResponse(regenerateKeyWithServiceResponseAsync(resourceGroupName, resourceName), serviceCallback);
} | ServiceFuture<SignalRKeysInner> function(String resourceGroupName, String resourceName, final ServiceCallback<SignalRKeysInner> serviceCallback) { return ServiceFuture.fromResponse(regenerateKeyWithServiceResponseAsync(resourceGroupName, resourceName), serviceCallback); } | /**
* Regenerate SignalR service access key. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
* @param resourceName The name of the SignalR resource.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/ | Regenerate SignalR service access key. PrimaryKey and SecondaryKey cannot be regenerated at the same time | regenerateKeyAsync | {
"repo_name": "selvasingh/azure-sdk-for-java",
"path": "sdk/signalr/mgmt-v2018_10_01/src/main/java/com/microsoft/azure/management/signalr/v2018_10_01/implementation/SignalRsInner.java",
"license": "mit",
"size": 135948
} | [
"com.microsoft.rest.ServiceCallback",
"com.microsoft.rest.ServiceFuture"
] | import com.microsoft.rest.ServiceCallback; import com.microsoft.rest.ServiceFuture; | import com.microsoft.rest.*; | [
"com.microsoft.rest"
] | com.microsoft.rest; | 1,304,939 |
public static MozuClient<List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>> updateAttributeVocabularyValueLocalizedContentsClient(List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent> localizedContent, String attributeFQN, String value) throws Exception
{
MozuUrl url = com.mozu.api.urls.commerce.catalog.admin.attributedefinition.attributes.AttributeVocabularyValueUrl.updateAttributeVocabularyValueLocalizedContentsUrl(attributeFQN, value);
String verb = "PUT";
Class<?> clz = new ArrayList<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>(){}.getClass();
MozuClient<List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>> mozuClient = (MozuClient<List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>>) MozuClientFactory.getInstance(clz);
mozuClient.setVerb(verb);
mozuClient.setResourceUrl(url);
mozuClient.setBody(localizedContent);
return mozuClient;
} | static MozuClient<List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>> function(List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent> localizedContent, String attributeFQN, String value) throws Exception { MozuUrl url = com.mozu.api.urls.commerce.catalog.admin.attributedefinition.attributes.AttributeVocabularyValueUrl.updateAttributeVocabularyValueLocalizedContentsUrl(attributeFQN, value); String verb = "PUT"; Class<?> clz = new ArrayList<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>(){}.getClass(); MozuClient<List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>> mozuClient = (MozuClient<List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>>) MozuClientFactory.getInstance(clz); mozuClient.setVerb(verb); mozuClient.setResourceUrl(url); mozuClient.setBody(localizedContent); return mozuClient; } | /**
* Updates a collection of localized vocabulary value content for existing attributes, based on the `localeCode`.
* <p><pre><code>
* MozuClient<List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>> mozuClient=UpdateAttributeVocabularyValueLocalizedContentsClient( localizedContent, attributeFQN, value);
* client.setBaseAddress(url);
* client.executeRequest();
* AttributeVocabularyValueLocalizedContent attributeVocabularyValueLocalizedContent = client.Result();
* </code></pre></p>
* @param attributeFQN Fully qualified name for an attribute.
* @param value The value string to create.
* @param dataViewMode DataViewMode
* @param localizedContent The localized text for the string value of a product attribute.
* @return Mozu.Api.MozuClient <List<com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent>>
* @see com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent
* @see com.mozu.api.contracts.productadmin.AttributeVocabularyValueLocalizedContent
*/ | Updates a collection of localized vocabulary value content for existing attributes, based on the `localeCode`. <code><code> MozuClient> mozuClient=UpdateAttributeVocabularyValueLocalizedContentsClient( localizedContent, attributeFQN, value); client.setBaseAddress(url); client.executeRequest(); AttributeVocabularyValueLocalizedContent attributeVocabularyValueLocalizedContent = client.Result(); </code></code> | updateAttributeVocabularyValueLocalizedContentsClient | {
"repo_name": "sanjaymandadi/mozu-java",
"path": "mozu-javaasync-core/src/main/java/com/mozu/api/clients/commerce/catalog/admin/attributedefinition/attributes/AttributeVocabularyValueClient.java",
"license": "mit",
"size": 30265
} | [
"com.mozu.api.MozuClient",
"com.mozu.api.MozuClientFactory",
"com.mozu.api.MozuUrl",
"java.util.ArrayList",
"java.util.List"
] | import com.mozu.api.MozuClient; import com.mozu.api.MozuClientFactory; import com.mozu.api.MozuUrl; import java.util.ArrayList; import java.util.List; | import com.mozu.api.*; import java.util.*; | [
"com.mozu.api",
"java.util"
] | com.mozu.api; java.util; | 697,654 |
EEnum getDiet(); | EEnum getDiet(); | /**
* Returns the meta object for enum '{@link conference.Diet <em>Diet</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for enum '<em>Diet</em>'.
* @see conference.Diet
* @generated
*/ | Returns the meta object for enum '<code>conference.Diet Diet</code>'. | getDiet | {
"repo_name": "eclipsesource/EMFFormsConferenceExample",
"path": "com.eclipsesource.conference.model/src/conference/ConferencePackage.java",
"license": "epl-1.0",
"size": 31936
} | [
"org.eclipse.emf.ecore.EEnum"
] | import org.eclipse.emf.ecore.EEnum; | import org.eclipse.emf.ecore.*; | [
"org.eclipse.emf"
] | org.eclipse.emf; | 2,110,206 |
List<PcepErrorObject> getErrorObjList(); | List<PcepErrorObject> getErrorObjList(); | /**
* Returns the PcepErrorObject.
*
* @return list of type PcepErrorObject
*/ | Returns the PcepErrorObject | getErrorObjList | {
"repo_name": "sonu283304/onos",
"path": "protocols/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/PcepError.java",
"license": "apache-2.0",
"size": 3724
} | [
"java.util.List"
] | import java.util.List; | import java.util.*; | [
"java.util"
] | java.util; | 345,874 |
public void uninstallBundles(List<File> toUninstall) throws ClientException, IOException {
for(File f : toUninstall) {
final String bundleSymbolicName = OsgiConsoleClient.getBundleSymbolicName(f);
if (isInstalled(f)) {
log.info("Uninstalling bundle: {}", bundleSymbolicName);
osgiConsoleClient.uninstallBundle(bundleSymbolicName);
} else {
log.info("Could not uninstall: {} as it never was installed", bundleSymbolicName);
}
}
// ensure that bundles are re-wired esp. if an existing bundle was updated
osgiConsoleClient.refreshPackages();
log.info("{} additional bundles uninstalled", toUninstall.size());
}
/**
* Wait for all bundles specified in symbolicNames list to be installed in the OSGi web console.
* @deprecated use {@link #waitBundlesInstalled(List, long)} | void function(List<File> toUninstall) throws ClientException, IOException { for(File f : toUninstall) { final String bundleSymbolicName = OsgiConsoleClient.getBundleSymbolicName(f); if (isInstalled(f)) { log.info(STR, bundleSymbolicName); osgiConsoleClient.uninstallBundle(bundleSymbolicName); } else { log.info(STR, bundleSymbolicName); } } osgiConsoleClient.refreshPackages(); log.info(STR, toUninstall.size()); } /** * Wait for all bundles specified in symbolicNames list to be installed in the OSGi web console. * @deprecated use {@link #waitBundlesInstalled(List, long)} | /**
* Uninstall a list of bundles supplied as Files
* @param toUninstall bundles to uninstall
* @throws ClientException if one of the requests failed
* @throws IOException if the files cannot be read from disk
*/ | Uninstall a list of bundles supplied as Files | uninstallBundles | {
"repo_name": "tmaret/sling",
"path": "testing/http/clients/src/main/java/org/apache/sling/testing/clients/osgi/BundlesInstaller.java",
"license": "apache-2.0",
"size": 9236
} | [
"java.io.File",
"java.io.IOException",
"java.util.List",
"org.apache.sling.testing.clients.ClientException"
] | import java.io.File; import java.io.IOException; import java.util.List; import org.apache.sling.testing.clients.ClientException; | import java.io.*; import java.util.*; import org.apache.sling.testing.clients.*; | [
"java.io",
"java.util",
"org.apache.sling"
] | java.io; java.util; org.apache.sling; | 1,345,958 |
UserEntity updateUser(Revision revision, UserDTO userDTO); | UserEntity updateUser(Revision revision, UserDTO userDTO); | /**
* Updates the specified user.
* @param revision Revision to compare with current base revision
* @param userDTO The user DTO
* @return The user transfer object
*/ | Updates the specified user | updateUser | {
"repo_name": "InspurUSA/nifi",
"path": "nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java",
"license": "apache-2.0",
"size": 75521
} | [
"org.apache.nifi.web.api.dto.UserDTO",
"org.apache.nifi.web.api.entity.UserEntity"
] | import org.apache.nifi.web.api.dto.UserDTO; import org.apache.nifi.web.api.entity.UserEntity; | import org.apache.nifi.web.api.dto.*; import org.apache.nifi.web.api.entity.*; | [
"org.apache.nifi"
] | org.apache.nifi; | 1,815,884 |
public ZWaveCommandClass getCommandClass(CommandClass commandClass) {
return supportedCommandClasses.get(commandClass);
}
| ZWaveCommandClass function(CommandClass commandClass) { return supportedCommandClasses.get(commandClass); } | /**
* Gets a commandClass object this endpoint implements. Returns null if
* this endpoint does not support this command class.
*
* @param commandClass
* The command class to get.
* @return the command class.
*/ | Gets a commandClass object this endpoint implements. Returns null if this endpoint does not support this command class | getCommandClass | {
"repo_name": "computergeek1507/openhab",
"path": "bundles/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/internal/protocol/ZWaveEndpoint.java",
"license": "epl-1.0",
"size": 3459
} | [
"org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveCommandClass"
] | import org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveCommandClass; | import org.openhab.binding.zwave.internal.protocol.commandclass.*; | [
"org.openhab.binding"
] | org.openhab.binding; | 356,899 |
public IgniteInternalFuture<?> getOrCreateFromTemplate(String cacheName, String templateName,
CacheConfigurationOverride cfgOverride, boolean checkThreadTx) {
assert cacheName != null;
try {
if (publicJCache(cacheName, false, checkThreadTx) != null) // Cache with given name already started.
return new GridFinishedFuture<>();
CacheConfiguration ccfg = F.isEmpty(templateName)
? getOrCreateConfigFromTemplate(cacheName)
: getOrCreateConfigFromTemplate(templateName);
ccfg.setName(cacheName);
if (cfgOverride != null)
cfgOverride.apply(ccfg);
return dynamicStartCache(ccfg, cacheName, null, false, true, checkThreadTx);
}
catch (IgniteCheckedException e) {
return new GridFinishedFuture<>(e);
}
} | IgniteInternalFuture<?> function(String cacheName, String templateName, CacheConfigurationOverride cfgOverride, boolean checkThreadTx) { assert cacheName != null; try { if (publicJCache(cacheName, false, checkThreadTx) != null) return new GridFinishedFuture<>(); CacheConfiguration ccfg = F.isEmpty(templateName) ? getOrCreateConfigFromTemplate(cacheName) : getOrCreateConfigFromTemplate(templateName); ccfg.setName(cacheName); if (cfgOverride != null) cfgOverride.apply(ccfg); return dynamicStartCache(ccfg, cacheName, null, false, true, checkThreadTx); } catch (IgniteCheckedException e) { return new GridFinishedFuture<>(e); } } | /**
* Dynamically starts cache using template configuration.
*
* @param cacheName Cache name.
* @param templateName Cache template name.
* @param cfgOverride Cache config properties to override.
* @param checkThreadTx If {@code true} checks that current thread does not have active transactions.
* @return Future that will be completed when cache is deployed.
*/ | Dynamically starts cache using template configuration | getOrCreateFromTemplate | {
"repo_name": "endian675/ignite",
"path": "modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java",
"license": "apache-2.0",
"size": 172471
} | [
"org.apache.ignite.IgniteCheckedException",
"org.apache.ignite.configuration.CacheConfiguration",
"org.apache.ignite.internal.IgniteInternalFuture",
"org.apache.ignite.internal.util.future.GridFinishedFuture",
"org.apache.ignite.internal.util.typedef.F"
] | import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.configuration.CacheConfiguration; import org.apache.ignite.internal.IgniteInternalFuture; import org.apache.ignite.internal.util.future.GridFinishedFuture; import org.apache.ignite.internal.util.typedef.F; | import org.apache.ignite.*; import org.apache.ignite.configuration.*; import org.apache.ignite.internal.*; import org.apache.ignite.internal.util.future.*; import org.apache.ignite.internal.util.typedef.*; | [
"org.apache.ignite"
] | org.apache.ignite; | 177,699 |
//-------------------------------------------------------------------------
public void addAttribute(final String key, final String value) {
ArgumentChecker.notNull(key, "key");
ArgumentChecker.notNull(value, "value");
_attributes.put(key, value);
} | void function(final String key, final String value) { ArgumentChecker.notNull(key, "key"); ArgumentChecker.notNull(value, "value"); _attributes.put(key, value); } | /**
* Adds a key value pair to attributes.
*
* @param key the key to add, not null
* @param value the value to add, not null
*/ | Adds a key value pair to attributes | addAttribute | {
"repo_name": "McLeodMoores/starling",
"path": "projects/master/src/main/java/com/opengamma/master/position/ManageablePosition.java",
"license": "apache-2.0",
"size": 27645
} | [
"com.opengamma.util.ArgumentChecker"
] | import com.opengamma.util.ArgumentChecker; | import com.opengamma.util.*; | [
"com.opengamma.util"
] | com.opengamma.util; | 1,486,412 |
public RoundingParams setCornersRadii(float[] radii) {
Preconditions.checkNotNull(radii);
Preconditions.checkArgument(radii.length == 8, "radii should have exactly 8 values");
System.arraycopy(radii, 0, getOrCreateRoundedCornersRadii(), 0, 8);
return this;
} | RoundingParams function(float[] radii) { Preconditions.checkNotNull(radii); Preconditions.checkArgument(radii.length == 8, STR); System.arraycopy(radii, 0, getOrCreateRoundedCornersRadii(), 0, 8); return this; } | /**
* Sets the rounded corners radii.
*
* @param radii float array of 8 radii in pixels. Each corner receives two radius values [X, Y].
* The corners are ordered top-left, top-right, bottom-right, bottom-left.
* @return modified instance
*/ | Sets the rounded corners radii | setCornersRadii | {
"repo_name": "weiwenqiang/GitHub",
"path": "expert/fresco/drawee/src/main/java/com/facebook/drawee/generic/RoundingParams.java",
"license": "apache-2.0",
"size": 8681
} | [
"com.facebook.common.internal.Preconditions"
] | import com.facebook.common.internal.Preconditions; | import com.facebook.common.internal.*; | [
"com.facebook.common"
] | com.facebook.common; | 1,834,894 |
public ParticleManager withDrawableMax(ParticleView p,int maxCount) {
if (p == null)
throw new NullPointerException();
p.setParticleMax(maxCount);
return this;
} | ParticleManager function(ParticleView p,int maxCount) { if (p == null) throw new NullPointerException(); p.setParticleMax(maxCount); return this; } | /**
* Add Drawable Max
* @param p
* @param maxCount
* @return
*/ | Add Drawable Max | withDrawableMax | {
"repo_name": "ffournier/animations",
"path": "app/src/main/java/com/animations/animations/lib/ParticleManager.java",
"license": "apache-2.0",
"size": 17090
} | [
"com.animations.animations.lib.view.ParticleView"
] | import com.animations.animations.lib.view.ParticleView; | import com.animations.animations.lib.view.*; | [
"com.animations.animations"
] | com.animations.animations; | 1,077,528 |
public static UiImageData gif(String sBase64Data)
{
return new UiImageData(MimeType.IMAGE_GIF, sBase64Data);
} | static UiImageData function(String sBase64Data) { return new UiImageData(MimeType.IMAGE_GIF, sBase64Data); } | /***************************************
* Factory method to return a new instance for a Base64 encoded GIF image.
*
* @param sBase64Data The Base64 encoded GIF image data
*
* @return A new image data instance
*/ | Factory method to return a new instance for a Base64 encoded GIF image | gif | {
"repo_name": "esoco/esoco-business",
"path": "src/main/java/de/esoco/process/ui/graphics/UiImageData.java",
"license": "apache-2.0",
"size": 6469
} | [
"de.esoco.data.MimeType"
] | import de.esoco.data.MimeType; | import de.esoco.data.*; | [
"de.esoco.data"
] | de.esoco.data; | 297,677 |
private List<FileItem> readMultipartFileItems(CmsUploadListener listener) throws Exception {
DiskFileItemFactory factory = new DiskFileItemFactory();
// maximum size that will be stored in memory
factory.setSizeThreshold(4096);
// the location for saving data that is larger than the threshold
factory.setRepository(new File(OpenCms.getSystemInfo().getPackagesRfsPath()));
// create a file upload servlet
ServletFileUpload fu = new ServletFileUpload(factory);
// set the listener
fu.setProgressListener(listener);
// set encoding to correctly handle special chars (e.g. in filenames)
fu.setHeaderEncoding(getRequest().getCharacterEncoding());
// set the maximum size for a single file (value is in bytes)
long maxFileSizeBytes = OpenCms.getWorkplaceManager().getFileBytesMaxUploadSize(getCmsObject());
if (maxFileSizeBytes > 0) {
fu.setFileSizeMax(maxFileSizeBytes);
}
// try to parse the request
try {
return CmsCollectionsGenericWrapper.list(fu.parseRequest(getRequest()));
} catch (SizeLimitExceededException e) {
// request size is larger than maximum allowed request size, throw an error
Integer actualSize = new Integer((int)(e.getActualSize() / 1024));
Integer maxSize = new Integer((int)(e.getPermittedSize() / 1024));
throw new CmsUploadException(m_bundle.key(
org.opencms.ade.upload.Messages.ERR_UPLOAD_REQUEST_SIZE_LIMIT_2,
actualSize,
maxSize), e);
} catch (FileSizeLimitExceededException e) {
// file size is larger than maximum allowed file size, throw an error
Integer actualSize = new Integer((int)(e.getActualSize() / 1024));
Integer maxSize = new Integer((int)(e.getPermittedSize() / 1024));
throw new CmsUploadException(m_bundle.key(
org.opencms.ade.upload.Messages.ERR_UPLOAD_FILE_SIZE_LIMIT_3,
actualSize,
e.getFileName(),
maxSize), e);
}
} | List<FileItem> function(CmsUploadListener listener) throws Exception { DiskFileItemFactory factory = new DiskFileItemFactory(); factory.setSizeThreshold(4096); factory.setRepository(new File(OpenCms.getSystemInfo().getPackagesRfsPath())); ServletFileUpload fu = new ServletFileUpload(factory); fu.setProgressListener(listener); fu.setHeaderEncoding(getRequest().getCharacterEncoding()); long maxFileSizeBytes = OpenCms.getWorkplaceManager().getFileBytesMaxUploadSize(getCmsObject()); if (maxFileSizeBytes > 0) { fu.setFileSizeMax(maxFileSizeBytes); } try { return CmsCollectionsGenericWrapper.list(fu.parseRequest(getRequest())); } catch (SizeLimitExceededException e) { Integer actualSize = new Integer((int)(e.getActualSize() / 1024)); Integer maxSize = new Integer((int)(e.getPermittedSize() / 1024)); throw new CmsUploadException(m_bundle.key( org.opencms.ade.upload.Messages.ERR_UPLOAD_REQUEST_SIZE_LIMIT_2, actualSize, maxSize), e); } catch (FileSizeLimitExceededException e) { Integer actualSize = new Integer((int)(e.getActualSize() / 1024)); Integer maxSize = new Integer((int)(e.getPermittedSize() / 1024)); throw new CmsUploadException(m_bundle.key( org.opencms.ade.upload.Messages.ERR_UPLOAD_FILE_SIZE_LIMIT_3, actualSize, e.getFileName(), maxSize), e); } } | /**
* Parses a request of the form <code>multipart/form-data</code>.<p>
*
* The result list will contain items of type <code>{@link FileItem}</code>.
* If the request has no file items, then <code>null</code> is returned.<p>
*
* @param listener the upload listener
*
* @return the list of <code>{@link FileItem}</code> extracted from the multipart request,
* or <code>null</code> if the request has no file items
*
* @throws Exception if anything goes wrong
*/ | Parses a request of the form <code>multipart/form-data</code>. The result list will contain items of type <code><code>FileItem</code></code>. If the request has no file items, then <code>null</code> is returned | readMultipartFileItems | {
"repo_name": "it-tavis/opencms-core",
"path": "src/org/opencms/ade/upload/CmsUploadBean.java",
"license": "lgpl-2.1",
"size": 25669
} | [
"java.io.File",
"java.util.List",
"org.apache.commons.fileupload.FileItem",
"org.apache.commons.fileupload.FileUploadBase",
"org.apache.commons.fileupload.disk.DiskFileItemFactory",
"org.apache.commons.fileupload.servlet.ServletFileUpload",
"org.opencms.main.OpenCms",
"org.opencms.util.CmsCollectionsGenericWrapper"
] | import java.io.File; import java.util.List; import org.apache.commons.fileupload.FileItem; import org.apache.commons.fileupload.FileUploadBase; import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.servlet.ServletFileUpload; import org.opencms.main.OpenCms; import org.opencms.util.CmsCollectionsGenericWrapper; | import java.io.*; import java.util.*; import org.apache.commons.fileupload.*; import org.apache.commons.fileupload.disk.*; import org.apache.commons.fileupload.servlet.*; import org.opencms.main.*; import org.opencms.util.*; | [
"java.io",
"java.util",
"org.apache.commons",
"org.opencms.main",
"org.opencms.util"
] | java.io; java.util; org.apache.commons; org.opencms.main; org.opencms.util; | 1,795,642 |
public static <T, W extends BoundedWindow> PCollectionView<T> singletonView(
Pipeline pipeline,
WindowingStrategy<?, W> windowingStrategy,
boolean hasDefault,
T defaultValue,
Coder<T> valueCoder) {
return new SingletonPCollectionView(
pipeline, windowingStrategy, hasDefault, defaultValue, valueCoder);
} | static <T, W extends BoundedWindow> PCollectionView<T> function( Pipeline pipeline, WindowingStrategy<?, W> windowingStrategy, boolean hasDefault, T defaultValue, Coder<T> valueCoder) { return new SingletonPCollectionView( pipeline, windowingStrategy, hasDefault, defaultValue, valueCoder); } | /**
* Returns a {@code PCollectionView<T>} capable of processing elements encoded using the provided
* {@link Coder} and windowed using the provided * {@link WindowingStrategy}.
*
* <p>If {@code hasDefault} is {@code true}, then the view will take on the value
* {@code defaultValue} for any empty windows.
*/ | Returns a PCollectionView capable of processing elements encoded using the provided <code>Coder</code> and windowed using the provided * <code>WindowingStrategy</code>. If hasDefault is true, then the view will take on the value defaultValue for any empty windows | singletonView | {
"repo_name": "PieterDM/DataflowJavaSDK",
"path": "sdk/src/main/java/com/google/cloud/dataflow/sdk/util/PCollectionViews.java",
"license": "apache-2.0",
"size": 13849
} | [
"com.google.cloud.dataflow.sdk.Pipeline",
"com.google.cloud.dataflow.sdk.coders.Coder",
"com.google.cloud.dataflow.sdk.transforms.windowing.BoundedWindow",
"com.google.cloud.dataflow.sdk.values.PCollectionView"
] | import com.google.cloud.dataflow.sdk.Pipeline; import com.google.cloud.dataflow.sdk.coders.Coder; import com.google.cloud.dataflow.sdk.transforms.windowing.BoundedWindow; import com.google.cloud.dataflow.sdk.values.PCollectionView; | import com.google.cloud.dataflow.sdk.*; import com.google.cloud.dataflow.sdk.coders.*; import com.google.cloud.dataflow.sdk.transforms.windowing.*; import com.google.cloud.dataflow.sdk.values.*; | [
"com.google.cloud"
] | com.google.cloud; | 1,938,765 |
@Test
public void encodesObject() throws IOException {
// Arrange
final AvroSerializer registryUtils = new AvroSerializer(false, parser,
encoderFactory, decoderFactory);
final PlayingCard card = PlayingCard.newBuilder()
.setPlayingCardSuit(PlayingCardSuit.DIAMONDS)
.setIsFaceCard(true).setCardValue(13)
.build();
// Using the raw message encoder because the default card.getByteBuffer() uses BinaryMessageEncoder which adds
// a header.
final RawMessageEncoder<PlayingCard> rawMessageEncoder = new RawMessageEncoder<>(card.getSpecificData(),
card.getSchema());
final byte[] expectedData = rawMessageEncoder.encode(card).array();
// Act
final byte[] encoded = registryUtils.encode(card);
// Assert
assertArrayEquals(expectedData, encoded);
} | void function() throws IOException { final AvroSerializer registryUtils = new AvroSerializer(false, parser, encoderFactory, decoderFactory); final PlayingCard card = PlayingCard.newBuilder() .setPlayingCardSuit(PlayingCardSuit.DIAMONDS) .setIsFaceCard(true).setCardValue(13) .build(); final RawMessageEncoder<PlayingCard> rawMessageEncoder = new RawMessageEncoder<>(card.getSpecificData(), card.getSchema()); final byte[] expectedData = rawMessageEncoder.encode(card).array(); final byte[] encoded = registryUtils.encode(card); assertArrayEquals(expectedData, encoded); } | /**
* Tests that we can encode an object.
*
* @throws IOException If card cannot be serialized.
*/ | Tests that we can encode an object | encodesObject | {
"repo_name": "Azure/azure-sdk-for-java",
"path": "sdk/schemaregistry/azure-data-schemaregistry-apacheavro/src/test/java/com/azure/data/schemaregistry/apacheavro/AvroSerializerTest.java",
"license": "mit",
"size": 13890
} | [
"com.azure.data.schemaregistry.apacheavro.generatedtestsources.PlayingCard",
"com.azure.data.schemaregistry.apacheavro.generatedtestsources.PlayingCardSuit",
"java.io.IOException",
"org.apache.avro.message.RawMessageEncoder",
"org.junit.jupiter.api.Assertions"
] | import com.azure.data.schemaregistry.apacheavro.generatedtestsources.PlayingCard; import com.azure.data.schemaregistry.apacheavro.generatedtestsources.PlayingCardSuit; import java.io.IOException; import org.apache.avro.message.RawMessageEncoder; import org.junit.jupiter.api.Assertions; | import com.azure.data.schemaregistry.apacheavro.generatedtestsources.*; import java.io.*; import org.apache.avro.message.*; import org.junit.jupiter.api.*; | [
"com.azure.data",
"java.io",
"org.apache.avro",
"org.junit.jupiter"
] | com.azure.data; java.io; org.apache.avro; org.junit.jupiter; | 18,585 |
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jToggleButton1 = new javax.swing.JToggleButton();
jComboBox2 = new javax.swing.JComboBox<>();
jLabel1 = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
jTable1 = new javax.swing.JTable();
jButton2 = new javax.swing.JButton();
jPanel1 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jComboBox1 = new javax.swing.JComboBox<>();
jLabel4 = new javax.swing.JLabel();
jButton1 = new javax.swing.JButton();
jTextField1 = new javax.swing.JTextField();
jLabel13 = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel();
jLabel5 = new javax.swing.JLabel();
jButton3 = new javax.swing.JButton();
jTextField2 = new javax.swing.JTextField();
jTextField3 = new javax.swing.JTextField();
jTextField4 = new javax.swing.JTextField();
jLabel6 = new javax.swing.JLabel();
jLabel7 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
jPanel3 = new javax.swing.JPanel();
jLabel9 = new javax.swing.JLabel();
jButton4 = new javax.swing.JButton();
jTextField5 = new javax.swing.JTextField();
jTextField6 = new javax.swing.JTextField();
jLabel10 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();
jLabel12 = new javax.swing.JLabel();
jScrollPane2 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jComboBox3 = new javax.swing.JComboBox<>();
jToggleButton1.setText("jToggleButton1");
jComboBox2.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
setResizable(false);
jLabel1.setFont(new java.awt.Font("Tahoma", 0, 36)); // NOI18N
jLabel1.setText("Incidencias Jugador");
jTable1.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{},
{}
},
new String [] {
}
));
jScrollPane1.setViewportView(jTable1); | @SuppressWarnings(STR) void function() { jToggleButton1 = new javax.swing.JToggleButton(); jComboBox2 = new javax.swing.JComboBox<>(); jLabel1 = new javax.swing.JLabel(); jScrollPane1 = new javax.swing.JScrollPane(); jTable1 = new javax.swing.JTable(); jButton2 = new javax.swing.JButton(); jPanel1 = new javax.swing.JPanel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jComboBox1 = new javax.swing.JComboBox<>(); jLabel4 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); jTextField1 = new javax.swing.JTextField(); jLabel13 = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel5 = new javax.swing.JLabel(); jButton3 = new javax.swing.JButton(); jTextField2 = new javax.swing.JTextField(); jTextField3 = new javax.swing.JTextField(); jTextField4 = new javax.swing.JTextField(); jLabel6 = new javax.swing.JLabel(); jLabel7 = new javax.swing.JLabel(); jLabel8 = new javax.swing.JLabel(); jPanel3 = new javax.swing.JPanel(); jLabel9 = new javax.swing.JLabel(); jButton4 = new javax.swing.JButton(); jTextField5 = new javax.swing.JTextField(); jTextField6 = new javax.swing.JTextField(); jLabel10 = new javax.swing.JLabel(); jLabel11 = new javax.swing.JLabel(); jLabel12 = new javax.swing.JLabel(); jScrollPane2 = new javax.swing.JScrollPane(); jTextArea1 = new javax.swing.JTextArea(); jComboBox3 = new javax.swing.JComboBox<>(); jToggleButton1.setText(STR); jComboBox2.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { STR, STR, STR, STR })); setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); setResizable(false); jLabel1.setFont(new java.awt.Font(STR, 0, 36)); jLabel1.setText(STR); jTable1.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {}, {} }, new String [] { } )); jScrollPane1.setViewportView(jTable1); | /**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/ | This method is called from within the constructor to initialize the form. regenerated by the Form Editor | initComponents | {
"repo_name": "inakidml/Proyecto_conectores_Acceso_Datos",
"path": "Baloncesto/src/baloncesto/vista/VistaIncidencias.java",
"license": "apache-2.0",
"size": 33479
} | [
"javax.swing.JScrollPane",
"javax.swing.JTable",
"javax.swing.table.DefaultTableModel"
] | import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.table.DefaultTableModel; | import javax.swing.*; import javax.swing.table.*; | [
"javax.swing"
] | javax.swing; | 1,652,738 |
Subsets and Splits