query stringlengths 7 3.3k | positive listlengths 1 1 | negative listlengths 9 9 |
|---|---|---|
Get new vector clock based on this clock but incremented on index nodeId
@param nodeId The id of the node to increment
@return A vector clock equal on each element execept that indexed by
nodeId | [
"public VectorClock incremented(int nodeId, long time) {\n VectorClock copyClock = this.clone();\n copyClock.incrementVersion(nodeId, time);\n return copyClock;\n }"
] | [
"public static ServiceController<DeploymentScanner> addService(final OperationContext context, final PathAddress resourceAddress, final String relativeTo, final String path,\n final int scanInterval, TimeUnit unit, final boolean autoDeployZip,\n ... |
Remove duplicate Strings from the given array. Also sorts the array, as
it uses a TreeSet.
@param array the String array
@return an array without duplicates, in natural sort order | [
"public static String[] removeDuplicateStrings(String[] array) {\n if (isEmpty(array)) {\n return array;\n }\n Set<String> set = new TreeSet<String>();\n Collections.addAll(set, array);\n return toStringArray(set);\n }"
] | [
"public static dbdbprofile get(nitro_service service, String name) throws Exception{\n\t\tdbdbprofile obj = new dbdbprofile();\n\t\tobj.set_name(name);\n\t\tdbdbprofile response = (dbdbprofile) obj.get_resource(service);\n\t\treturn response;\n\t}",
"public void addDependency(final ProcessorGraphNode node) {\n ... |
Creates a Blob holding a single-sheet spreadsheet with a pivot of the domain objects. The sheet name is derived from the
class name.
<p>
Minimal requirements for the domain object are:
</p>
<ul>
<li>
One property has annotation {@link PivotRow} and will be used as row identifier in left column of pivot.
Empty values are supported.
</li>
<li>
At least one property has annotation {@link PivotColumn}. Its values will be used in columns of pivot.
Empty values are supported.
</li>
<li>
At least one property has annotation {@link PivotValue}. Its values will be distributed in the pivot.
</li>
</ul> | [
"@Programmatic\n public <T> Blob toExcelPivot(\n final List<T> domainObjects,\n final Class<T> cls,\n final String fileName) throws ExcelService.Exception {\n return toExcelPivot(domainObjects, cls, null, fileName);\n }"
] | [
"protected I_CmsSearchDocument appendFieldMappingsFromElementsOnThePage(\n I_CmsSearchDocument document,\n CmsObject cms,\n CmsResource resource,\n List<String> systemFields) {\n\n try {\n CmsFile file = cms.readFile(resource);\n CmsXmlContainerPage container... |
Creates a "delta clone" of this Map, where only the differences are
represented. | [
"public CollectionValuedMap<K, V> deltaClone() {\r\n CollectionValuedMap<K, V> result = new CollectionValuedMap<K, V>(null, cf, true);\r\n result.map = new DeltaMap<K, Collection<V>>(this.map);\r\n return result;\r\n }"
] | [
"public static DMatrixRMaj symmetric(int length, double min, double max, Random rand) {\n DMatrixRMaj A = new DMatrixRMaj(length,length);\n\n symmetric(A,min,max,rand);\n\n return A;\n }",
"public String[] init(String[] argv, int min, int max,\n Collection<CommandLine... |
Prints text to output stream, replacing parameter start and end
placeholders
@param text the String to print | [
"protected void print(String text) {\n String tableStart = format(PARAMETER_TABLE_START, PARAMETER_TABLE_START);\n String tableEnd = format(PARAMETER_TABLE_END, PARAMETER_TABLE_END);\n boolean containsTable = text.contains(tableStart) && text.contains(tableEnd);\n String textToPrint = co... | [
"protected void writeEntries(final StorageAwareResource resource, final ZipOutputStream zipOut) throws IOException {\n final BufferedOutputStream bufferedOutput = new BufferedOutputStream(zipOut);\n ZipEntry _zipEntry = new ZipEntry(\"emf-contents\");\n zipOut.putNextEntry(_zipEntry);\n try {\n thi... |
Create a WebDriver backed EmbeddedBrowser.
@param driver The WebDriver to use.
@param filterAttributes the attributes to be filtered from DOM.
@param crawlWaitReload the period to wait after a reload.
@param crawlWaitEvent the period to wait after an event is fired.
@return The EmbeddedBrowser. | [
"public static WebDriverBackedEmbeddedBrowser withDriver(WebDriver driver,\n\t\t\tImmutableSortedSet<String> filterAttributes, long crawlWaitEvent,\n\t\t\tlong crawlWaitReload) {\n\t\treturn new WebDriverBackedEmbeddedBrowser(driver, filterAttributes, crawlWaitEvent,\n\t\t\t\tcrawlWaitReload);\n\t}"
] | [
"public boolean verify(String signatureVersion, String signatureAlgorithm, String primarySignature,\n String secondarySignature, String webHookPayload, String deliveryTimestamp) {\n\n // enforce versions supported by this implementation\n if (!SUPPORTED_VERSIONS.contains(signatureVersion)) ... |
Presents the Cursor Settings to the User. Only works if scene is set. | [
"private void showSettingsMenu(final Cursor cursor) {\n Log.d(TAG, \"showSettingsMenu\");\n enableSettingsCursor(cursor);\n context.runOnGlThread(new Runnable() {\n @Override\n public void run() {\n new SettingsView(context, scene, CursorManager.this,\n ... | [
"public static BufferedImage convertImageToARGB( Image image ) {\n\t\tif ( image instanceof BufferedImage && ((BufferedImage)image).getType() == BufferedImage.TYPE_INT_ARGB )\n\t\t\treturn (BufferedImage)image;\n\t\tBufferedImage p = new BufferedImage( image.getWidth(null), image.getHeight(null), BufferedImage.TYPE... |
Sets the replacement var map.
@param replacementVarMap
the replacement var map
@return the parallel task builder | [
"public ParallelTaskBuilder setReplacementVarMap(\n Map<String, String> replacementVarMap) {\n this.replacementVarMap = replacementVarMap;\n\n // TODO Check and warning of overwriting\n // set as uniform\n this.requestReplacementType = RequestReplacementType.UNIFORM_VAR_REPLAC... | [
"public void useOldRESTService() throws Exception {\n List<Object> providers = createJAXRSProviders();\n\n com.example.customerservice.CustomerService customerService = JAXRSClientFactory\n .createFromModel(\"http://localhost:\" + port + \"/examples/direct/rest\", \n ... |
Stops the service. If a timeout is given and the service has still not
gracefully been stopped after timeout ms the service is stopped by force.
@param millis value in ms | [
"@Override\n public final synchronized void stopService(long millis) {\n running = false;\n try {\n if (keepRunning) {\n keepRunning = false;\n interrupt();\n quit();\n if (0L == millis) {\n join();\n ... | [
"public void setLicense(String photoId, int licenseId) throws FlickrException {\r\n Map<String, Object> parameters = new HashMap<String, Object>();\r\n parameters.put(\"method\", METHOD_SET_LICENSE);\r\n parameters.put(\"photo_id\", photoId);\r\n parameters.put(\"license_id\", Integer.to... |
Set a bean in the context.
@param name bean name
@param object bean value | [
"public void setBean(String name, Object object) {\n\t\tBean bean = beans.get(name);\n\t\tif (null == bean) {\n\t\t\tbean = new Bean();\n\t\t\tbeans.put(name, bean);\n\t\t}\n\t\tbean.object = object;\n\t}"
] | [
"synchronized public void completeTask(int taskId, int partitionStoresMigrated) {\n tasksInFlight.remove(taskId);\n\n numTasksCompleted++;\n numPartitionStoresMigrated += partitionStoresMigrated;\n\n updateProgressBar();\n }",
"protected void updateTables()\n {\n byte[] data ... |
Returns the string id of the entity that this document refers to. Only
for use by Jackson during serialization.
@return string id | [
"@JsonInclude(Include.NON_EMPTY)\n\t@JsonProperty(\"id\")\n\tpublic String getJsonId() {\n\t\tif (!EntityIdValue.SITE_LOCAL.equals(this.siteIri)) {\n\t\t\treturn this.entityId;\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}"
] | [
"private void prefetchRelationships(Query query)\r\n {\r\n List prefetchedRel;\r\n Collection owners;\r\n String relName;\r\n RelationshipPrefetcher[] prefetchers;\r\n\r\n if (query == null || query.getPrefetchedRelationships() == null || query.getPrefetchedRelationships().isEm... |
Creates all propertyvfsbundle files for the currently loaded translations.
The method is used to convert xmlvfsbundle files into propertyvfsbundle files.
@throws CmsIllegalArgumentException thrown if resource creation fails.
@throws CmsLoaderException thrown if the propertyvfsbundle type can't be read from the resource manager.
@throws CmsException thrown if creation, type retrieval or locking fails. | [
"private void createPropertyVfsBundleFiles() throws CmsIllegalArgumentException, CmsLoaderException, CmsException {\n\n String bundleFileBasePath = m_sitepath + m_basename + \"_\";\n for (Locale l : m_localizations.keySet()) {\n CmsResource res = m_cms.createResource(\n bundl... | [
"public static String parseString(String value)\n {\n if (value != null)\n {\n // Strip angle brackets if present\n if (!value.isEmpty() && value.charAt(0) == '<')\n {\n value = value.substring(1, value.length() - 1);\n }\n\n // Strip quotes if present\... |
Checks to see if the submatrix has its boundaries along inner blocks.
@param blockLength Size of an inner block.
@param A Submatrix.
@return If it is block aligned or not. | [
"public static boolean blockAligned( int blockLength , DSubmatrixD1 A ) {\n if( A.col0 % blockLength != 0 )\n return false;\n if( A.row0 % blockLength != 0 )\n return false;\n\n if( A.col1 % blockLength != 0 && A.col1 != A.original.numCols ) {\n return false;\n ... | [
"public static <T> List<T> load(ClassLoader classLoader, Class<T> serviceType) {\n List<T> foundServices = new ArrayList<>();\n Iterator<T> iterator = ServiceLoader.load(serviceType, classLoader).iterator();\n\n while (checkHasNextSafely(iterator)) {\n try {\n T item =... |
Use this API to fetch dnssuffix resource of given name . | [
"public static dnssuffix get(nitro_service service, String Dnssuffix) throws Exception{\n\t\tdnssuffix obj = new dnssuffix();\n\t\tobj.set_Dnssuffix(Dnssuffix);\n\t\tdnssuffix response = (dnssuffix) obj.get_resource(service);\n\t\treturn response;\n\t}"
] | [
"public static base_response delete(nitro_service client, String servicename) throws Exception {\n\t\tgslbservice deleteresource = new gslbservice();\n\t\tdeleteresource.servicename = servicename;\n\t\treturn deleteresource.delete_resource(client);\n\t}",
"public static void assertValidNode(MetadataStore metadata... |
Delete with retry.
@param file
@return <tt>true</tt> if the file was successfully deleted. | [
"public boolean deleteExisting(final File file) {\n if (!file.exists()) {\n return true;\n }\n boolean deleted = false;\n if (file.canWrite()) {\n deleted = file.delete();\n } else {\n LogLog.debug(file + \" is not writeable for delete (retrying)\");\n }\n if (!deleted) {\n ... | [
"public double distanceFrom(LatLong end) {\n\n double dLat = (end.getLatitude() - getLatitude()) * Math.PI / 180;\n double dLon = (end.getLongitude() - getLongitude()) * Math.PI / 180;\n\n double a = Math.sin(dLat / 2) * Math.sin(dLat / 2)\n + Math.cos(getLatitude() * Math.PI / 1... |
Creates and returns a matrix which is idential to this one.
@return A new identical matrix. | [
"public T copy() {\n T ret = createLike();\n ret.getMatrix().set(this.getMatrix());\n return ret;\n }"
] | [
"public void loadAnimation(GVRAndroidResource animResource, String boneMap)\n {\n String filePath = animResource.getResourcePath();\n GVRContext ctx = mAvatarRoot.getGVRContext();\n GVRResourceVolume volume = new GVRResourceVolume(ctx, animResource);\n\n if (filePath.endsWith(\".bvh\"... |
Use this API to update systemcollectionparam. | [
"public static base_response update(nitro_service client, systemcollectionparam resource) throws Exception {\n\t\tsystemcollectionparam updateresource = new systemcollectionparam();\n\t\tupdateresource.communityname = resource.communityname;\n\t\tupdateresource.loglevel = resource.loglevel;\n\t\tupdateresource.data... | [
"public static base_response update(nitro_service client, nsrpcnode resource) throws Exception {\n\t\tnsrpcnode updateresource = new nsrpcnode();\n\t\tupdateresource.ipaddress = resource.ipaddress;\n\t\tupdateresource.password = resource.password;\n\t\tupdateresource.srcip = resource.srcip;\n\t\tupdateresource.secu... |
Use this API to fetch all the locationfile resources that are configured on netscaler. | [
"public static locationfile get(nitro_service service) throws Exception{\n\t\tlocationfile obj = new locationfile();\n\t\tlocationfile[] response = (locationfile[])obj.get_resources(service);\n\t\treturn response[0];\n\t}"
] | [
"public <T> void setState(HttpConnectionInterceptor interceptor, String stateName, T\n stateObjectToStore) {\n Map<String, Object> state = interceptorStates.get(interceptor);\n if (state == null) {\n interceptorStates.put(interceptor, (state = new ConcurrentHashMap<String, Object... |
Returns the perma link for the current page based on the URI and detail content id stored in the CmsObject passed as a parameter.<p<
@param cms the CMS context to use to generate the permalink
@return the permalink | [
"public String getPermalinkForCurrentPage(CmsObject cms) {\n\n return getPermalink(cms, cms.getRequestContext().getUri(), cms.getRequestContext().getDetailContentId());\n }"
] | [
"public static base_responses flush(nitro_service client, cachecontentgroup resources[]) throws Exception {\n\t\tbase_responses result = null;\n\t\tif (resources != null && resources.length > 0) {\n\t\t\tcachecontentgroup flushresources[] = new cachecontentgroup[resources.length];\n\t\t\tfor (int i=0;i<resources.le... |
Use this API to clear nsconfig. | [
"public static base_response clear(nitro_service client, nsconfig resource) throws Exception {\n\t\tnsconfig clearresource = new nsconfig();\n\t\tclearresource.force = resource.force;\n\t\tclearresource.level = resource.level;\n\t\treturn clearresource.perform_operation(client,\"clear\");\n\t}"
] | [
"private TypeArgSignature getTypeArgSignature(Type type) {\r\n\t\tif (type instanceof WildcardType) {\r\n\t\t\tWildcardType wildcardType = (WildcardType) type;\r\n\t\t\tType lowerBound = wildcardType.getLowerBounds().length == 0 ? null\r\n\t\t\t\t\t: wildcardType.getLowerBounds()[0];\r\n\t\t\tType upperBound = wild... |
This is private because the execute is the only method that should be called here. | [
"private static <T, ID> MappedDeleteCollection<T, ID> build(Dao<T, ID> dao, TableInfo<T, ID> tableInfo, int dataSize)\n\t\t\tthrows SQLException {\n\t\tFieldType idField = tableInfo.getIdField();\n\t\tif (idField == null) {\n\t\t\tthrow new SQLException(\n\t\t\t\t\t\"Cannot delete \" + tableInfo.getDataClass() + \"... | [
"public int getOpacity() {\n\t\tint opacity = Math\n\t\t\t\t.round((mPosToOpacFactor * (mBarPointerPosition - mBarPointerHaloRadius)));\n\t\tif (opacity < 5) {\n\t\t\treturn 0x00;\n\t\t} else if (opacity > 250) {\n\t\t\treturn 0xFF;\n\t\t} else {\n\t\t\treturn opacity;\n\t\t}\n\t}",
"public static base_responses ... |
Process a single criteria block.
@param list parent criteria list
@param block current block | [
"private void processBlock(List<GenericCriteria> list, byte[] block)\n {\n if (block != null)\n {\n if (MPPUtility.getShort(block, 0) > 0x3E6)\n {\n addCriteria(list, block);\n }\n else\n {\n switch (block[0])\n {\n c... | [
"public void sendJsonToTagged(Object data, String ... labels) {\n for (String label : labels) {\n sendJsonToTagged(data, label);\n }\n }",
"public double compute( DMatrix1Row mat ) {\n if( width != mat.numCols || width != mat.numRows ) {\n throw new RuntimeException(\... |
Print a constraint type.
@param value ConstraintType instance
@return constraint type value | [
"public static final BigInteger printConstraintType(ConstraintType value)\n {\n return (value == null ? null : BigInteger.valueOf(value.getValue()));\n }"
] | [
"private void readRecord(byte[] buffer, Table table)\n {\n //System.out.println(ByteArrayHelper.hexdump(buffer, true, 16, \"\"));\n int deletedFlag = getShort(buffer, 0);\n if (deletedFlag != 0)\n {\n Map<String, Object> row = new HashMap<String, Object>();\n for (ColumnDefinit... |
Print the visibility adornment of element e prefixed by
any stereotypes | [
"private String visibility(Options opt, ProgramElementDoc e) {\n\treturn opt.showVisibility ? Visibility.get(e).symbol : \" \";\n }"
] | [
"private void writeAvailability(Project.Resources.Resource xml, Resource mpx)\n {\n AvailabilityPeriods periods = m_factory.createProjectResourcesResourceAvailabilityPeriods();\n xml.setAvailabilityPeriods(periods);\n List<AvailabilityPeriod> list = periods.getAvailabilityPeriod();\n for (Avai... |
updates the values for locking fields , BRJ
handles int, long, Timestamp
respects updateLock so locking field are only updated when updateLock is true
@throws PersistenceBrokerException if there is an erros accessing obj field values | [
"public void updateLockingValues(Object obj) throws PersistenceBrokerException\r\n {\r\n FieldDescriptor[] fields = getLockingFields();\r\n for (int i = 0; i < fields.length; i++)\r\n {\r\n FieldDescriptor fmd = fields[i];\r\n if (fmd.isUpdateLock())\r\n {\r\... | [
"private String hibcProcess(String source) {\n\n // HIBC 2.6 allows up to 110 characters, not including the \"+\" prefix or the check digit\n if (source.length() > 110) {\n throw new OkapiException(\"Data too long for HIBC LIC\");\n }\n\n source = source.toUpperCase();\n ... |
Deletes the VFS XML bundle file.
@throws CmsException thrown if the delete operation fails. | [
"private void removeXmlBundleFile() throws CmsException {\n\n lockLocalization(null);\n m_cms.deleteResource(m_resource, CmsResource.DELETE_PRESERVE_SIBLINGS);\n m_resource = null;\n\n }"
] | [
"public Set<PlaybackState> getPlaybackState() {\n Set<PlaybackState> result = new HashSet<PlaybackState>(playbackStateMap.values());\n return Collections.unmodifiableSet(result);\n }",
"public static XMLGregorianCalendar convertDate(Date date) {\n if (date == null) {\n return nu... |
Returns the value of the identified field as a Long.
@param fieldName the name of the field
@return the value of the field as a Long
@throws FqlException if the field cannot be expressed as an Long | [
"public Long getLong(String fieldName) {\n\t\ttry {\n\t\t\treturn hasValue(fieldName) ? Long.valueOf(String.valueOf(resultMap.get(fieldName))) : null;\n\t\t} catch (NumberFormatException e) {\n\t\t\tthrow new FqlException(\"Field '\" + fieldName +\"' is not a number.\", e);\n\t\t}\n\t}"
] | [
"public static base_response Import(nitro_service client, application resource) throws Exception {\n\t\tapplication Importresource = new application();\n\t\tImportresource.apptemplatefilename = resource.apptemplatefilename;\n\t\tImportresource.appname = resource.appname;\n\t\tImportresource.deploymentfilename = res... |
Get range around median containing specified percentage of values.
@param values Values.
@param percent Values percentage around median.
@return Returns the range which containes specifies percentage of values. | [
"public static IntRange GetRange( int[] values, double percent ){\n int total = 0, n = values.length;\n\n // for all values\n for ( int i = 0; i < n; i++ )\n {\n // accumalate total\n total += values[i];\n }\n\n int min, max, hits;\n int h = (in... | [
"public void insertValue(int index, float[] newValue) {\n if ( newValue.length == 2) {\n try {\n value.add( index, new SFVec2f(newValue[0], newValue[1]) );\n }\n catch (IndexOutOfBoundsException e) {\n Log.e(TAG, \"X3D MFVec2f get1Value(index) ou... |
Create a WebMBeanAdaptor for a specified MBean name.
@param mBeanName the MBean name (can be URL-encoded).
@param encoding the string encoding to be used (i.e. UTF-8)
@return the created WebMBeanAdaptor.
@throws JMException Java Management Exception
@throws UnsupportedEncodingException if the encoding is not supported. | [
"public WebMBeanAdapter createWebMBeanAdapter(String mBeanName, String encoding)\n throws JMException, UnsupportedEncodingException {\n return new WebMBeanAdapter(mBeanServer, mBeanName, encoding);\n }"
] | [
"private void calculateSCL(double[] x) {\r\n //System.out.println(\"Checking at: \"+x[0]+\" \"+x[1]+\" \"+x[2]);\r\n value = 0.0;\r\n Arrays.fill(derivative, 0.0);\r\n double[] sums = new double[numClasses];\r\n double[] probs = new double[numClasses];\r\n double[] counts = new double[numClasses];... |
Returns the bundle jar classpath element. | [
"protected String getBundleJarPath() throws MalformedURLException {\n Path path = PROPERTIES.getAllureHome().resolve(\"app/allure-bundle.jar\").toAbsolutePath();\n if (Files.notExists(path)) {\n throw new AllureCommandException(String.format(\"Bundle not found by path <%s>\", path));\n ... | [
"private TestSuiteModel buildModel(AggregatedSuiteResultEvent e) throws IOException {\n SimpleDateFormat df = new SimpleDateFormat(\"yyyy-MM-dd'T'HH:mm:ss\", Locale.ROOT);\n TestSuiteModel suite = new TestSuiteModel();\n\n suite.hostname = \"nohost.nodomain\";\n suite.name = e.getDescription().getDispla... |
Gets the SerialMessage as a byte array.
@return the message | [
"public byte[] getMessageBuffer() {\n\t\tByteArrayOutputStream resultByteBuffer = new ByteArrayOutputStream();\n\t\tbyte[] result;\n\t\tresultByteBuffer.write((byte)0x01);\n\t\tint messageLength = messagePayload.length + \n\t\t\t\t(this.messageClass == SerialMessageClass.SendData && \n\t\t\t\tthis.messageType == Se... | [
"public void addResourceAssignment(ResourceAssignment assignment)\n {\n if (getExistingResourceAssignment(assignment.getResource()) == null)\n {\n m_assignments.add(assignment);\n getParentFile().getResourceAssignments().add(assignment);\n\n Resource resource = assignment.getReso... |
Record a device announcement in the devices map, so we know whe saw it.
@param announcement the announcement to be recorded | [
"private void updateDevices(DeviceAnnouncement announcement) {\n firstDeviceTime.compareAndSet(0, System.currentTimeMillis());\n devices.put(announcement.getAddress(), announcement);\n }"
] | [
"public void addRequiredBundles(Set<String> bundles) {\n\t\t// TODO manage transitive dependencies\n\t\t// don't require self\n\t\tSet<String> bundlesToMerge;\n\t\tString bundleName = (String) getMainAttributes().get(BUNDLE_SYMBOLIC_NAME);\n\t\tif (bundleName != null) {\n\t\t\tint idx = bundleName.indexOf(';');\n\t... |
Gets an entry point for the given deployment. If one does not exist it will be created. If the request controller is disabled
this will return null.
Entry points are reference counted. If this method is called n times then {@link #removeControlPoint(ControlPoint)}
must also be called n times to clean up the entry points.
@param deploymentName The top level deployment name
@param entryPointName The entry point name
@return The entry point, or null if the request controller is disabled | [
"public synchronized ControlPoint getControlPoint(final String deploymentName, final String entryPointName) {\n ControlPointIdentifier id = new ControlPointIdentifier(deploymentName, entryPointName);\n ControlPoint ep = entryPoints.get(id);\n if (ep == null) {\n ep = new ControlPoint... | [
"public ApnsServiceBuilder withSocksProxy(String host, int port) {\n Proxy proxy = new Proxy(Proxy.Type.SOCKS,\n new InetSocketAddress(host, port));\n return withProxy(proxy);\n }",
"protected final void _onConnect(WebSocketContext context) {\n if (null != connectionListener... |
Converts the real matrix into a complex matrix.
@param input Real matrix. Not modified.
@param output Complex matrix. Modified. | [
"public static void convert(DMatrixD1 input , ZMatrixD1 output ) {\n if( input.numCols != output.numCols || input.numRows != output.numRows ) {\n throw new IllegalArgumentException(\"The matrices are not all the same dimension.\");\n }\n\n Arrays.fill(output.data, 0, output.getDataLe... | [
"public double d(double x){\n\t\tint intervalNumber =getIntervalNumber(x);\n\t\tif (intervalNumber==0 || intervalNumber==points.length) {\n\t\t\treturn x;\n\t\t}\n\t\treturn getIntervalReferencePoint(intervalNumber-1);\n\t}",
"private void writePropertyStatisticsToFile(UsageStatistics usageStatistics,\n\t\t\tStri... |
another media scan way | [
"public static void addToMediaStore(Context context, File file) {\n String[] path = new String[]{file.getPath()};\n MediaScannerConnection.scanFile(context, path, null, null);\n }"
] | [
"public static double TruncatedPower(double value, double degree) {\r\n double x = Math.pow(value, degree);\r\n return (x > 0) ? x : 0.0;\r\n }",
"public void growInternal(int amount ) {\n int tmp[] = new int[ data.length + amount ];\n\n System.arraycopy(data,0,tmp,0,data.length);\n... |
Formats the supplied value using the specified DateTimeFormat.
@return "" if the value is null | [
"private String long2string(Long value, DateTimeFormat fmt) {\n // for html5 inputs, use \"\" for no value\n if (value == null) return \"\";\n Date date = UTCDateBox.utc2date(value);\n return date != null ? fmt.format(date) : null;\n }"
] | [
"public void put(String key, String value) {\n synchronized (this.cache) {\n this.cache.put(key, value);\n }\n }",
"protected Date getPickerDate() {\n try {\n JsDate pickerDate = getPicker().get(\"select\").obj;\n return new Date((long) pickerDate.getTime()... |
Searches the model for all variable assignments and makes a default map of those variables, setting them to ""
@return the default variable assignment map | [
"private Map<String, String> fillInitialVariables() {\r\n Map<String, TransitionTarget> targets = model.getChildren();\n\r\n Set<String> variables = new HashSet<>();\r\n for (TransitionTarget target : targets.values()) {\r\n OnEntry entry = target.getOnEntry();\r\n List<Ac... | [
"public static ManagementProtocolHeader parse(DataInput input) throws IOException {\n validateSignature(input);\n expectHeader(input, ManagementProtocol.VERSION_FIELD);\n int version = input.readInt();\n expectHeader(input, ManagementProtocol.TYPE);\n byte type = input.readByte();... |
Take four bytes from the specified position in the specified
block and convert them into a 32-bit int, using the big-endian
convention.
@param bytes The data to read from.
@param offset The position to start reading the 4-byte int from.
@return The 32-bit integer represented by the four bytes. | [
"public static int convertBytesToInt(byte[] bytes, int offset)\n {\n return (BITWISE_BYTE_TO_INT & bytes[offset + 3])\n | ((BITWISE_BYTE_TO_INT & bytes[offset + 2]) << 8)\n | ((BITWISE_BYTE_TO_INT & bytes[offset + 1]) << 16)\n | ((BITWISE_BYTE_TO_INT & bytes[of... | [
"public RelatedTagsList getRelated(String tag) throws FlickrException {\n\n Map<String, Object> parameters = new HashMap<String, Object>();\n parameters.put(\"method\", METHOD_GET_RELATED);\n\n parameters.put(\"tag\", tag);\n\n Response response = transportAPI.get(transportAPI.getPath(),... |
return the ctc costs and gradients, given the probabilities and labels | [
"public static int cudnnCTCLoss(\n cudnnHandle handle, \n cudnnTensorDescriptor probsDesc, /** Tensor descriptor for probabilities, the dimensions are T,N,A (T is the timing steps, N is the\n mini batch size, A is the alphabet size) */\n Pointer probs, /** probabilitie... | [
"public static final String printDateTime(Date value)\n {\n return (value == null ? null : DATE_FORMAT.get().format(value));\n }",
"public Object getBeliefValue(String agent_name, final String belief_name,\n Connector connector) {\n\n ((IExternalAccess) connector.getAgentsExternalAccess... |
Use this API to fetch servicegroupbindings resource of given name . | [
"public static servicegroupbindings get(nitro_service service, String servicegroupname) throws Exception{\n\t\tservicegroupbindings obj = new servicegroupbindings();\n\t\tobj.set_servicegroupname(servicegroupname);\n\t\tservicegroupbindings response = (servicegroupbindings) obj.get_resource(service);\n\t\treturn re... | [
"public Swagger read(Class<?> cls) {\n SwaggerDefinition swaggerDefinition = cls.getAnnotation(SwaggerDefinition.class);\n if (swaggerDefinition != null) {\n readSwaggerConfig(cls, swaggerDefinition);\n }\n\n return read(cls, \"\", null, false, new String[0], new String[0], ne... |
Iterates through this file line by line, splitting each line using
the given regex separator. For each line, the given closure is called with
a single parameter being the list of strings computed by splitting the line
around matches of the given regular expression.
Finally the resources used for processing the file are closed.
@param self a File
@param regex the delimiting regular expression
@param closure a closure
@return the last value returned by the closure
@throws IOException if an IOException occurs.
@throws java.util.regex.PatternSyntaxException
if the regular expression's syntax is invalid
@see IOGroovyMethods#splitEachLine(java.io.Reader, java.lang.String, groovy.lang.Closure)
@since 1.5.5 | [
"public static <T> T splitEachLine(File self, String regex, @ClosureParams(value=SimpleType.class, options=\"java.lang.String[]\") Closure<T> closure) throws IOException {\n return IOGroovyMethods.splitEachLine(newReader(self), regex, closure);\n }"
] | [
"Object readResolve() throws ObjectStreamException {\n Bean<?> bean = Container.instance(contextId).services().get(ContextualStore.class).<Bean<Object>, Object>getContextual(beanId);\n if (bean == null) {\n throw BeanLogger.LOG.proxyDeserializationFailure(beanId);\n }\n return... |
Get a store definition from the given list of store definitions
@param list A list of store definitions
@param name The name of the store
@return The store definition | [
"public static StoreDefinition getStoreDef(List<StoreDefinition> list, String name) {\n for(StoreDefinition def: list)\n if(def.getName().equals(name))\n return def;\n return null;\n }"
] | [
"private static void close(Closeable closeable) {\n\t\tif (closeable != null) {\n\t\t\ttry {\n\t\t\t\tcloseable.close();\n\t\t\t} catch (IOException ignored) {\n\t\t\t\tlogger.error(\"Failed to close output stream: \"\n\t\t\t\t\t\t+ ignored.getMessage());\n\t\t\t}\n\t\t}\n\t}",
"private Object readMetadataFromXML... |
Replace a photo from a File.
@param file
@param flickrId
@param async
@return photoId or ticketId
@throws FlickrException | [
"@Override\r\n public String replace(File file, String flickrId, boolean async) throws FlickrException {\r\n Payload payload = new Payload(file, flickrId);\r\n return sendReplaceRequest(async, payload);\r\n }"
] | [
"public List<WebSocketConnection> get(String key) {\n final List<WebSocketConnection> retList = new ArrayList<>();\n accept(key, C.F.addTo(retList));\n return retList;\n }",
"@Override\n public String logFile() {\n if(logFile == null) {\n logFile = Config.getTmpDir()+C... |
Will auto format the given string to provide support for pickadate.js formats. | [
"public static String format(String format) {\n\n if (format == null) {\n format = DEFAULT_FORMAT;\n } else {\n if (format.contains(\"M\")) {\n format = format.replace(\"M\", \"m\");\n }\n\n if (format.contains(\"Y\")) {\n forma... | [
"public <V> V attachIfAbsent(final AttachmentKey<V> key, final V value) {\n assert key != null;\n return key.cast(contextAttachments.putIfAbsent(key, value));\n }",
"public static java.util.Date newDateTime() {\n return new java.util.Date((System.currentTimeMillis() / SECOND_MILLIS) * SECO... |
Get the real Object
@param objectOrProxy
@return Object | [
"public final Object getRealObject(Object objectOrProxy)\r\n {\r\n if(isNormalOjbProxy(objectOrProxy))\r\n {\r\n String msg;\r\n\r\n try\r\n {\r\n return getIndirectionHandler(objectOrProxy).getRealSubject();\r\n }\r\n catch(Clas... | [
"public static <K> Map<K, Integer> rankMapOnIntegerValue(Map<K, Integer> inputMap) {\n Map<K, Integer> newMap = new TreeMap<K, Integer>(new IntegerValueComparator(inputMap));\n newMap.putAll(inputMap);\n\n Map<K, Integer> linkedMap = new LinkedHashMap<K, Integer>(newMap);\n return linkedMap;\n }",
"p... |
This is a convenience method used to add a default set of calendar
hours to a calendar.
@param day Day for which to add default hours for | [
"public void addDefaultCalendarHours(Day day)\n {\n ProjectCalendarHours hours = addCalendarHours(day);\n\n if (day != Day.SATURDAY && day != Day.SUNDAY)\n {\n hours.addRange(DEFAULT_WORKING_MORNING);\n hours.addRange(DEFAULT_WORKING_AFTERNOON);\n }\n }"
] | [
"public static UndeployDescription of(final DeploymentDescription deploymentDescription) {\n Assert.checkNotNullParam(\"deploymentDescription\", deploymentDescription);\n return of(deploymentDescription.getName()).addServerGroups(deploymentDescription.getServerGroups());\n }",
"public static Docu... |
Sets up Log4J to write log messages to the console. Low-priority messages
are logged to stdout while high-priority messages go to stderr. | [
"private void initializeLogging() {\n\t\t// Since logging is static, make sure this is done only once even if\n\t\t// multiple clients are created (e.g., during tests)\n\t\tif (consoleAppender != null) {\n\t\t\treturn;\n\t\t}\n\n\t\tconsoleAppender = new ConsoleAppender();\n\t\tconsoleAppender.setLayout(new Pattern... | [
"protected ServiceRegistration registerProxy(Object objectProxy, Class clazz) {\n Dictionary<String, Object> props = new Hashtable<String, Object>();\n ServiceRegistration registration;\n registration = context.registerService(clazz, objectProxy, props);\n\n return registration;\n }",... |
Accessor method used to retrieve an Rate object representing the
contents of an individual field. If the field does not exist in the
record, null is returned.
@param field the index number of the field to be retrieved
@return the value of the required field
@throws MPXJException normally thrown when parsing fails | [
"public Rate getRate(int field) throws MPXJException\n {\n Rate result;\n\n if ((field < m_fields.length) && (m_fields[field].length() != 0))\n {\n try\n {\n String rate = m_fields[field];\n int index = rate.indexOf('/');\n double amount;\n ... | [
"public boolean merge(final PluginXmlAccess other) {\n boolean _xblockexpression = false;\n {\n String _path = this.getPath();\n String _path_1 = other.getPath();\n boolean _notEquals = (!Objects.equal(_path, _path_1));\n if (_notEquals) {\n String _path_2 = this.getPath();\n ... |
Find the user by their email address.
This method does not require authentication.
@param email
The email address
@return The User
@throws FlickrException | [
"public User findByEmail(String email) throws FlickrException {\r\n Map<String, Object> parameters = new HashMap<String, Object>();\r\n parameters.put(\"method\", METHOD_FIND_BY_EMAIL);\r\n\r\n parameters.put(\"find_email\", email);\r\n\r\n Response response = transportAPI.get(transportA... | [
"private static String resolveJavaCommand(final Path javaHome) {\n final String exe;\n if (javaHome == null) {\n exe = \"java\";\n } else {\n exe = javaHome.resolve(\"bin\").resolve(\"java\").toString();\n }\n if (exe.contains(\" \")) {\n return \"... |
Set the classpath for loading the driver using the classpath reference.
@param r reference to the classpath | [
"public void setClasspathRef(Reference r)\r\n {\r\n createClasspath().setRefid(r);\r\n log(\"Verification classpath is \"+ _classpath,\r\n Project.MSG_VERBOSE);\r\n }"
] | [
"@AsParameterConverter\n\tpublic Trader retrieveTrader(String name) {\n\t\tfor (Trader trader : traders) {\n\t\t\tif (trader.getName().equals(name)) {\n\t\t\t\treturn trader;\n\t\t\t}\n\t\t}\n\t\treturn mockTradePersister().retrieveTrader(name);\n\t}",
"public static <T> List<T> sortWith(Iterable<T> iterable, Com... |
Computes the null space using QR decomposition. This is much faster than using SVD
@param A (Input) Matrix
@param totalSingular Number of singular values
@return Null space | [
"public static DMatrixRMaj nullspaceQR( DMatrixRMaj A , int totalSingular ) {\n SolveNullSpaceQR_DDRM solver = new SolveNullSpaceQR_DDRM();\n\n DMatrixRMaj nullspace = new DMatrixRMaj(1,1);\n\n if( !solver.process(A,totalSingular,nullspace))\n throw new RuntimeException(\"Solver fail... | [
"public void removeAt(int index) {\n synchronized (mLock) {\n if (mOriginalValues != null) {\n mOriginalValues.remove(index);\n } else {\n mObjects.remove(index);\n }\n }\n if (mNotifyOnChange) notifyDataSetChanged();\n }",
"pu... |
Create and return a new Violation for this rule and the specified import
@param sourceCode - the SourceCode
@param importNode - the ImportNode for the import triggering the violation
@return a new Violation object | [
"protected Violation createViolationForImport(SourceCode sourceCode, ImportNode importNode, String message) {\n Map importInfo = ImportUtil.sourceLineAndNumberForImport(sourceCode, importNode);\n Violation violation = new Violation();\n violation.setRule(this);\n violation.setSourceLine(... | [
"public static String groupFromResourceId(String id) {\n return (id != null) ? ResourceId.fromString(id).resourceGroupName() : null;\n }",
"protected void animateOffsetTo(int position, int velocity, boolean animate) {\n endDrag();\n endPeek();\n\n final int startX = (int) mOffsetPix... |
Checks the given class descriptor.
@param classDef The class descriptor
@param checkLevel The amount of checks to perform
@exception ConstraintException If a constraint has been violated | [
"public void check(ClassDescriptorDef classDef, String checkLevel) throws ConstraintException\r\n {\r\n ensureNoTableInfoIfNoRepositoryInfo(classDef, checkLevel);\r\n checkModifications(classDef, checkLevel);\r\n checkExtents(classDef, checkLevel);\r\n ensureTableIfNecessary(classDef,... | [
"public InsertBuilder set(String column, String value) {\n columns.add(column);\n values.add(value);\n return this;\n }",
"public static base_responses add(nitro_service client, dnstxtrec resources[]) throws Exception {\n\t\tbase_responses result = null;\n\t\tif (resources != null && resou... |
Match the Origin header with the allowed origins.
If it doesn't match then a 403 response code is set on the response and it returns null.
@param exchange the current HttpExchange.
@param allowedOrigins list of sanitized allowed origins.
@return the first matching origin, null otherwise.
@throws Exception | [
"public static String matchOrigin(HttpServerExchange exchange, Collection<String> allowedOrigins) throws Exception {\n HeaderMap headers = exchange.getRequestHeaders();\n String[] origins = headers.get(Headers.ORIGIN).toArray();\n if (allowedOrigins != null && !allowedOrigins.isEmpty()) {\n ... | [
"public static String chomp(String s) {\r\n if(s.length() == 0)\r\n return s;\r\n int l_1 = s.length() - 1;\r\n if (s.charAt(l_1) == '\\n') {\r\n return s.substring(0, l_1);\r\n }\r\n return s;\r\n }",
"public static void addToString(\n SourceBuilder code,\n Datatype datatype,\... |
To get all the textual content in the dom
@param document
@param individualTokens : default True : when set to true, each text node from dom is used to build the
text content : when set to false, the text content of whole is obtained at once.
@return | [
"public static String getTextContent(Document document, boolean individualTokens) {\n String textContent = null;\n if (individualTokens) {\n List<String> tokens = getTextTokens(document);\n textContent = StringUtils.join(tokens, \",\");\n } else {\n textContent ... | [
"private void writeAvailability(Project.Resources.Resource xml, Resource mpx)\n {\n AvailabilityPeriods periods = m_factory.createProjectResourcesResourceAvailabilityPeriods();\n xml.setAvailabilityPeriods(periods);\n List<AvailabilityPeriod> list = periods.getAvailabilityPeriod();\n for (Avai... |
This method is used to quote any special characters that appear in
literal text that is required as part of the currency format.
@param literal Literal text
@return literal text with special characters in quotes | [
"private String quoteFormatCharacters(String literal)\n {\n StringBuilder sb = new StringBuilder();\n int length = literal.length();\n char c;\n\n for (int loop = 0; loop < length; loop++)\n {\n c = literal.charAt(loop);\n switch (c)\n {\n case '0':\n ... | [
"protected <H extends EventHandler> HandlerRegistration addHandler(final H handler, GwtEvent.Type<H> type) {\r\n\r\n return ensureHandlers().addHandlerToSource(type, this, handler);\r\n }",
"public List<ServerRedirect> getServerMappings() {\n ArrayList<ServerRedirect> servers = new ArrayList<Serv... |
Assigns an element a value based on its index in the internal array..
@param index The matrix element that is being assigned a value.
@param value The element's new value. | [
"public void set( int index , double value ) {\n if( mat.getType() == MatrixType.DDRM ) {\n ((DMatrixRMaj) mat).set(index, value);\n } else if( mat.getType() == MatrixType.FDRM ) {\n ((FMatrixRMaj) mat).set(index, (float)value);\n } else {\n throw new RuntimeExc... | [
"@Override\n public SuggestAccountsRequest suggestAccounts() throws RestApiException {\n return new SuggestAccountsRequest() {\n @Override\n public List<AccountInfo> get() throws RestApiException {\n return AccountsRestClient.this.suggestAccounts(this);\n }\... |
Use this API to update nstimeout. | [
"public static base_response update(nitro_service client, nstimeout resource) throws Exception {\n\t\tnstimeout updateresource = new nstimeout();\n\t\tupdateresource.zombie = resource.zombie;\n\t\tupdateresource.client = resource.client;\n\t\tupdateresource.server = resource.server;\n\t\tupdateresource.httpclient =... | [
"public static int scanright(Color color, int height, int width, int col, PixelsExtractor f, int tolerance) {\n if (col == width || !PixelTools.colorMatches(color, tolerance, f.apply(new Area(col, 0, 1, height))))\n return col;\n else\n return scanright(color, height, width, col ... |
appends a WHERE-clause to the Statement
@param where
@param crit
@param stmt | [
"protected void appendWhereClause(StringBuffer where, Criteria crit, StringBuffer stmt)\r\n {\r\n if (where.length() == 0)\r\n {\r\n where = null;\r\n }\r\n\r\n if (where != null || (crit != null && !crit.isEmpty()))\r\n {\r\n stmt.append(\" WHERE \");\r\n... | [
"public ColumnBuilder addFieldProperty(String propertyName, String value) {\n\t\tfieldProperties.put(propertyName, value);\n\t\treturn this;\n\t}",
"public List<Group> findAllGroups() {\n ArrayList<Group> allGroups = new ArrayList<Group>();\n PreparedStatement queryStatement = null;\n ResultS... |
If you have priorities based on enums, this is the recommended prioritizer to use as it will prevent
starvation of low priority items
@param groupClass
@return | [
"public ExecutorLoadBalancingConfig<GROUP> useLoadBalancedEnumOrdinalPrioritizer(Class<GROUP> groupClass) {\n if(!groupClass.isEnum()) {\n throw new IllegalArgumentException(\"The group class \"+groupClass+\" is not an enum\");\n }\n groupPrioritizer = new LoadBalancedPriorityPriorit... | [
"public void setFullscreen(boolean fullscreen) {\n if (mBuilder.mScrimInsetsLayout != null) {\n mBuilder.mScrimInsetsLayout.setTintStatusBar(!fullscreen);\n mBuilder.mScrimInsetsLayout.setTintNavigationBar(!fullscreen);\n }\n }",
"public static List<String> enableJMX(List<St... |
Appends the query part for the facet to the query string.
@param query The current query string.
@param name The name of the facet parameter, e.g. "limit", "order", ....
@param value The value to set for the parameter specified by name. | [
"protected void appendFacetOption(StringBuffer query, final String name, final String value) {\n\n query.append(\" facet.\").append(name).append(\"=\").append(value);\n }"
] | [
"public boolean startsWith(Bytes prefix) {\n Objects.requireNonNull(prefix, \"startWith(Bytes prefix) cannot have null parameter\");\n\n if (prefix.length > this.length) {\n return false;\n } else {\n int end = this.offset + prefix.length;\n for (int i = this.offset, j = prefix.offset; i < e... |
Sets the values of this input field. Only Applicable check-boxes and a radio buttons.
@param values Values to set. | [
"public void inputValues(boolean... values) {\n\t\tfor (boolean value : values) {\n\t\t\tInputValue inputValue = new InputValue();\n\t\t\tinputValue.setChecked(value);\n\n\t\t\tthis.inputValues.add(inputValue);\n\t\t}\n\t}"
] | [
"public EventsRequest<Event> get(String resource, String sync) {\n return new EventsRequest<Event>(this, Event.class, \"/events\", \"GET\")\n .query(\"resource\", resource)\n .query(\"sync\", sync);\n }",
"public final SimpleFeatureCollection autoTreat(final Template templa... |
Return a list of place IDs for a query string.
The flickr.places.find method is not a geocoder. It will round "up" to the nearest place type to which place IDs apply. For example, if you pass it a
street level address it will return the city that contains the address rather than the street, or building, itself.
<p>
This method does not require authentication.
</p>
@param query
@return PlacesList
@throws FlickrException | [
"public PlacesList<Place> find(String query) throws FlickrException {\r\n Map<String, Object> parameters = new HashMap<String, Object>();\r\n PlacesList<Place> placesList = new PlacesList<Place>();\r\n parameters.put(\"method\", METHOD_FIND);\r\n\r\n parameters.put(\"query\", query);\r\n... | [
"public void store(String gavc,\n String action,\n String commentText,\n DbCredential credential,\n String entityType) {\n DbComment comment = new DbComment();\n comment.setEntityId(gavc);\n comment.setEntityTyp... |
Detach the component of the specified type from this scene object.
Each scene object has a list of components. Only one component
of a particular type can be attached. Components are detached based on their type.
@return GVRComponent detached or null if component not found
@param type type of component to detach
@see GVRSceneObject#attachComponent(GVRComponent) | [
"public GVRComponent detachComponent(long type) {\n NativeSceneObject.detachComponent(getNative(), type);\n synchronized (mComponents) {\n GVRComponent component = mComponents.remove(type);\n if (component != null) {\n component.setOwnerObject(null);\n }... | [
"public static sslciphersuite get(nitro_service service, String ciphername) throws Exception{\n\t\tsslciphersuite obj = new sslciphersuite();\n\t\tobj.set_ciphername(ciphername);\n\t\tsslciphersuite response = (sslciphersuite) obj.get_resource(service);\n\t\treturn response;\n\t}",
"public static <T> List<T> toLi... |
Use this API to fetch csvserver_copolicy_binding resources of given name . | [
"public static csvserver_copolicy_binding[] get(nitro_service service, String name) throws Exception{\n\t\tcsvserver_copolicy_binding obj = new csvserver_copolicy_binding();\n\t\tobj.set_name(name);\n\t\tcsvserver_copolicy_binding response[] = (csvserver_copolicy_binding[]) obj.get_resources(service);\n\t\treturn r... | [
"public static dbdbprofile[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{\n\t\tdbdbprofile obj = new dbdbprofile();\n\t\toptions option = new options();\n\t\toption.set_filter(filter);\n\t\tdbdbprofile[] response = (dbdbprofile[]) obj.getfiltered(service, option);\n\t\treturn response... |
Find all the values of the requested type.
@param valueTypeToFind the type of the value to return.
@param <T> the type of the value to find.
@return the key, value pairs found. | [
"@SuppressWarnings(\"unchecked\")\n public <T> Map<String, T> find(final Class<T> valueTypeToFind) {\n return (Map<String, T>) this.values.entrySet().stream()\n .filter(input -> valueTypeToFind.isInstance(input.getValue()))\n .collect(\n Collectors.toMa... | [
"public static base_response update(nitro_service client, ipv6 resource) throws Exception {\n\t\tipv6 updateresource = new ipv6();\n\t\tupdateresource.ralearning = resource.ralearning;\n\t\tupdateresource.routerredirection = resource.routerredirection;\n\t\tupdateresource.ndbasereachtime = resource.ndbasereachtime;... |
Finish initialization of state object.
@param geoService geo service
@param converterService converter service
@throws GeomajasException oops | [
"public void postConstruct(GeoService geoService, DtoConverterService converterService) throws GeomajasException {\n\t\tif (null == layerInfo) {\n\t\t\tlayerInfo = new RasterLayerInfo();\n\t\t}\n\t\tlayerInfo.setCrs(TiledRasterLayerService.MERCATOR);\n\t\tcrs = geoService.getCrs2(TiledRasterLayerService.MERCATOR);\... | [
"public void createLinks(ServiceReference<D> declarationSRef) {\n D declaration = getDeclaration(declarationSRef);\n for (ServiceReference<S> serviceReference : linkerManagement.getMatchedBinderServiceRef()) {\n if (linkerManagement.canBeLinked(declaration, serviceReference)) {\n ... |
Sets the origin and direction of the pick ray.
@param ox X coordinate of origin.
@param oy Y coordinate of origin.
@param oz Z coordinate of origin.
@param dx X coordinate of ray direction.
@param dy Y coordinate of ray direction.
@param dz Z coordinate of ray direction.
The coordinate system of the ray depends on the whether the
picker is attached to a scene object or not. When attached
to a scene object, the ray is in the coordinate system of
that object where (0, 0, 0) is the center of the scene object
and (0, 0, 1) is it's positive Z axis. If not attached to an
object, the ray is in the coordinate system of the scene's
main camera with (0, 0, 0) at the viewer and (0, 0, -1)
where the viewer is looking.
@see #doPick()
@see #getPickRay()
@see #getWorldPickRay(Vector3f, Vector3f) | [
"public void setPickRay(float ox, float oy, float oz, float dx, float dy, float dz)\n {\n synchronized (this)\n {\n mRayOrigin.x = ox;\n mRayOrigin.y = oy;\n mRayOrigin.z = oz;\n mRayDirection.x = dx;\n mRayDirection.y = dy;\n mRayDi... | [
"public static final void deleteQuietly(File file)\n {\n if (file != null)\n {\n if (file.isDirectory())\n {\n File[] children = file.listFiles();\n if (children != null)\n {\n for (File child : children)\n {\n ... |
Updates the indices in the index buffer from a Java CharBuffer.
All of the entries of the input buffer are copied into
the storage for the index buffer. The new indices must be the
same size as the old indices - the index buffer size cannot be changed.
@param data CharBuffer containing the new values
@throws IllegalArgumentException if char array is wrong size | [
"public void setShortVec(CharBuffer data)\n {\n if (data == null)\n {\n throw new IllegalArgumentException(\"Input data for indices cannot be null\");\n }\n if (getIndexSize() != 2)\n {\n throw new UnsupportedOperationException(\"Cannot update integer indi... | [
"public Indexable taskResult(String taskId) {\n TaskGroupEntry<TaskItem> taskGroupEntry = super.getNode(taskId);\n if (taskGroupEntry != null) {\n return taskGroupEntry.taskResult();\n }\n if (!this.proxyTaskGroupWrapper.isActive()) {\n throw new IllegalArgumentExce... |
Use this API to fetch all the cacheselector resources that are configured on netscaler. | [
"public static cacheselector[] get(nitro_service service, options option) throws Exception{\n\t\tcacheselector obj = new cacheselector();\n\t\tcacheselector[] response = (cacheselector[])obj.get_resources(service,option);\n\t\treturn response;\n\t}"
] | [
"public static protocoludp_stats get(nitro_service service) throws Exception{\n\t\tprotocoludp_stats obj = new protocoludp_stats();\n\t\tprotocoludp_stats[] response = (protocoludp_stats[])obj.stat_resources(service);\n\t\treturn response[0];\n\t}",
"public static FullTypeSignature getTypeSignature(String typeSig... |
Takes an HTML file, looks for the first instance of the specified insertion point, and
inserts the diagram image reference and a client side map in that point. | [
"private static void alterHtmlDocs(Options opt, String outputFolder, String packageName, String className,\n\t String htmlFileName, Pattern insertPointPattern, RootDoc root) throws IOException {\n\t// setup files\n\tFile output = new File(outputFolder, packageName.replace(\".\", \"/\"));\n\tFile htmlFile = new F... | [
"private void readTableBlock(int startIndex, int blockLength)\n {\n for (int index = startIndex; index < (startIndex + blockLength - 11); index++)\n {\n if (matchPattern(TABLE_BLOCK_PATTERNS, index))\n {\n int offset = index + 7;\n int nameLength = FastTrackUtility.... |
Print an extended attribute value.
@param writer parent MSPDIWriter instance
@param value attribute value
@param type type of the value being passed
@return string representation | [
"public static final String printExtendedAttribute(MSPDIWriter writer, Object value, DataType type)\n {\n String result;\n\n if (type == DataType.DATE)\n {\n result = printExtendedAttributeDate((Date) value);\n }\n else\n {\n if (value instanceof Boolean)\n {\... | [
"protected String consumeQuoted(ImapRequestLineReader request)\n throws ProtocolException {\n // The 1st character must be '\"'\n consumeChar(request, '\"');\n\n StringBuilder quoted = new StringBuilder();\n char next = request.nextChar();\n while (next != '\"') {\n ... |
Apply the layout to the each page in the list
@param itemLayout item layout in the page
@return true if the new layout is applied successfully, otherwise - false | [
"@Override\n public boolean applyLayout(Layout itemLayout) {\n boolean applied = false;\n if (itemLayout != null && mItemLayouts.add(itemLayout)) {\n\n // apply the layout to all visible pages\n List<Widget> views = getAllViews();\n for (Widget view: views) {\n ... | [
"protected Boolean getEscapeQueryChars() {\n\n Boolean isEscape = parseOptionalBooleanValue(m_configObject, JSON_KEY_ESCAPE_QUERY_CHARACTERS);\n return (null == isEscape) && (m_baseConfig != null)\n ? Boolean.valueOf(m_baseConfig.getGeneralConfig().getEscapeQueryChars())\n : isEscape;\n ... |
Removes all the given tags from the document.
@param dom the document object.
@param tagName the tag name, examples: script, style, meta
@return the changed dom. | [
"public static Document removeTags(Document dom, String tagName) {\n NodeList list;\n try {\n list = XPathHelper.evaluateXpathExpression(dom,\n \"//\" + tagName.toUpperCase());\n\n while (list.getLength() > 0) {\n Node sc = list.item(0);\n\n ... | [
"public static dos_stats get(nitro_service service, options option) throws Exception{\n\t\tdos_stats obj = new dos_stats();\n\t\tdos_stats[] response = (dos_stats[])obj.stat_resources(service,option);\n\t\treturn response[0];\n\t}",
"public static vpath_stats get(nitro_service service) throws Exception{\n\t\tvpa... |
Wrapper to avoid throwing an exception over JMX | [
"@JmxOperation\n public String stopAsyncOperation(int requestId) {\n try {\n stopOperation(requestId);\n } catch(VoldemortException e) {\n return e.getMessage();\n }\n\n return \"Stopping operation \" + requestId;\n }"
] | [
"protected RollbackPatch createRollbackPatch(final String patchId, final Patch.PatchType patchType) {\n // Process elements\n final List<PatchElement> elements = new ArrayList<PatchElement>();\n // Process layers\n for (final PatchEntry entry : getLayers()) {\n final PatchElem... |
Wrapper functions with no bounds checking are used to access matrix internals | [
"public static long wrapped(DMatrixRMaj a , DMatrixRMaj b , DMatrixRMaj c )\n {\n long timeBefore = System.currentTimeMillis();\n double valA;\n int indexCbase= 0;\n int endOfKLoop = b.numRows*b.numCols;\n\n for( int i = 0; i < a.numRows; i++ ) {\n int indexA = i*a.n... | [
"@Override\n public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener)\n throws InterruptedException, IOException {\n listener.getLogger().println(\"Jenkins Artifactory Plugin version: \" + ActionableHelper.getArtifactoryPluginVersion());\n EnvVars env ... |
Write a set of fields from a field container to a JSON file.
@param objectName name of the object, or null if no name required
@param container field container
@param fields fields to write | [
"private void writeFields(String objectName, FieldContainer container, FieldType[] fields) throws IOException\n {\n m_writer.writeStartObject(objectName);\n for (FieldType field : fields)\n {\n Object value = container.getCurrentValue(field);\n if (value != null)\n {\n ... | [
"static boolean killProcess(final String processName, int id) {\n int pid;\n try {\n pid = processUtils.resolveProcessId(processName, id);\n if(pid > 0) {\n try {\n Runtime.getRuntime().exec(processUtils.getKillCommand(pid));\n ... |
Check that all nodes in the new cluster have a corresponding entry in
storeRepository and innerStores. add a NodeStore if not present, is
needed as with rebalancing we can add new nodes on the fly. | [
"private void checkAndAddNodeStore() {\n for(Node node: metadata.getCluster().getNodes()) {\n if(!routedStore.getInnerStores().containsKey(node.getId())) {\n if(!storeRepository.hasNodeStore(getName(), node.getId())) {\n storeRepository.addNodeStore(node.getId(), ... | [
"public static base_response update(nitro_service client, inat resource) throws Exception {\n\t\tinat updateresource = new inat();\n\t\tupdateresource.name = resource.name;\n\t\tupdateresource.privateip = resource.privateip;\n\t\tupdateresource.tcpproxy = resource.tcpproxy;\n\t\tupdateresource.ftp = resource.ftp;\n... |
Check if the gravity and orientation are not in conflict one with other.
@param gravity
@param orientation
@return true if orientation and gravity can be applied together, false - otherwise | [
"protected boolean isValidLayout(Gravity gravity, Orientation orientation) {\n boolean isValid = true;\n\n switch (gravity) {\n case TOP:\n case BOTTOM:\n isValid = (!isUnlimitedSize() && orientation == Orientation.VERTICAL);\n break;\n ca... | [
"public static int removeDuplicateNodeList(List<String> list) {\n\n int originCount = list.size();\n // add elements to all, including duplicates\n HashSet<String> hs = new LinkedHashSet<String>();\n hs.addAll(list);\n list.clear();\n list.addAll(hs);\n\n return orig... |
Ensures that the given collection descriptor has the collection-class property if necessary.
@param collDef The collection descriptor
@param checkLevel The current check level (this constraint is checked in basic (partly) and strict)
@exception ConstraintException If collection-class is given for an array or if no collection-class is given but required | [
"private void ensureCollectionClass(CollectionDescriptorDef collDef, String checkLevel) throws ConstraintException\r\n {\r\n if (CHECKLEVEL_NONE.equals(checkLevel))\r\n {\r\n return;\r\n }\r\n\r\n if (collDef.hasProperty(PropertyHelper.OJB_PROPERTY_ARRAY_ELEMENT_CLASS_REF))... | [
"public ProjectCalendar getCalendar()\n {\n ProjectCalendar calendar = null;\n Resource resource = getResource();\n if (resource != null)\n {\n calendar = resource.getResourceCalendar();\n }\n\n Task task = getTask();\n if (calendar == null || task.getIgnoreResourceCalen... |
Compares two avro strings which contains single store configs
@param configAvro1
@param configAvro2
@return true if two config avro strings have same content | [
"public static Boolean compareSingleClientConfigAvro(String configAvro1, String configAvro2) {\n Properties props1 = readSingleClientConfigAvro(configAvro1);\n Properties props2 = readSingleClientConfigAvro(configAvro2);\n if(props1.equals(props2)) {\n return true;\n } else {\... | [
"public static String fill(int color) {\n final String colorCode = Integer.toHexString(color & 0xFFFFFF); // Strip alpha\n return FILTER_FILL + \"(\" + colorCode + \")\";\n }",
"public void process(InputStream is) throws Exception\n {\n readHeader(is);\n readVersion(is);\n readTableData(re... |
Add a Comparator to the end of the chain using the provided sort order.
@param comparator the Comparator to add to the end of the chain
@param ascending the sort order: ascending (true) or descending (false) | [
"public void addComparator(Comparator<T> comparator, boolean ascending) {\n\t\tthis.comparators.add(new InvertibleComparator<T>(comparator, ascending));\n\t}"
] | [
"public Set<String> rangeByRankReverse(final long start, final long end) {\n return doWithJedis(new JedisCallable<Set<String>>() {\n @Override\n public Set<String> call(Jedis jedis) {\n return jedis.zrevrange(getKey(), start, end);\n }\n });\n }",
"... |
Tests if this partition has hit a threshold and signal to the pool watch thread to create new connections
@param connectionPartition to test for. | [
"protected void maybeSignalForMoreConnections(ConnectionPartition connectionPartition) {\r\n\r\n\t\tif (!connectionPartition.isUnableToCreateMoreTransactions() \r\n\t\t\t\t&& !this.poolShuttingDown &&\r\n\t\t\t\tconnectionPartition.getAvailableConnections()*100/connectionPartition.getMaxConnections() <= this.poolAv... | [
"public static <T> List<T> toList(Iterable<T> items) {\r\n List<T> list = new ArrayList<T>();\r\n addAll(list, items);\r\n return list;\r\n }",
"public static void generateOutputFile(Random rng,\n File outputFile) throws IOException\n {\n DataOutputStre... |
Add a new profile with the profileName given.
@param profileName name of new profile
@return newly created profile
@throws Exception exception | [
"public Profile add(String profileName) throws Exception {\n Profile profile = new Profile();\n int id = -1;\n PreparedStatement statement = null;\n ResultSet results = null;\n\n try (Connection sqlConnection = sqlService.getConnection()) {\n Clob clobProfileName = sqlS... | [
"private ProjectFile handleDosExeFile(InputStream stream) throws Exception\n {\n File file = InputStreamHelper.writeStreamToTempFile(stream, \".tmp\");\n InputStream is = null;\n\n try\n {\n is = new FileInputStream(file);\n if (is.available() > 1350)\n {\n S... |
Add the given person to the photo. Optionally, send in co-ordinates
@param photoId
@param userId
@param bounds
@throws FlickrException | [
"public void add(String photoId, String userId, Rectangle bounds) throws FlickrException {\r\n\r\n // Delegating this to photos.people.PeopleInterface - Naming standard would be to use PeopleInterface but having 2 the same name can cause issues\r\n com.flickr4java.flickr.photos.people.PeopleInterface ... | [
"public void addFileSet(FileSet fs) {\n add(fs);\n if (fs.getProject() == null) {\n fs.setProject(getProject());\n }\n }",
"public Response remove(String id) {\r\n assertNotEmpty(id, \"id\");\r\n id = ensureDesignPrefix(id);\r\n String revision = null;\r\n // Get the rev... |
Get string value of flow context for current instance
@return string value of flow context | [
"public static String getFlowContext() {\n TransactionLogger instance = getInstance();\n if (instance == null) {\n return null;\n }\n\n return instance.flowContext;\n }"
] | [
"public void normalize() {\n double lenSqr = x * x + y * y + z * z;\n double err = lenSqr - 1;\n if (err > (2 * DOUBLE_PREC) || err < -(2 * DOUBLE_PREC)) {\n double len = Math.sqrt(lenSqr);\n x /= len;\n y /= len;\n z /= len;\n }\n }",
"pu... |
Switches DB type.
@param dbName the database type
@param webapp the webapp name | [
"private void updateDb(String dbName, String webapp) {\n\n m_mainLayout.removeAllComponents();\n m_setupBean.setDatabase(dbName);\n CmsDbSettingsPanel panel = new CmsDbSettingsPanel(m_setupBean);\n m_panel[0] = panel;\n panel.initFromSetupBean(webapp);\n m_mainLayout.addCom... | [
"public void setSeriesEndDate(Date date) {\r\n\r\n if (!Objects.equals(m_model.getSeriesEndDate(), date)) {\r\n m_model.setSeriesEndDate(date);\r\n valueChanged();\r\n }\r\n\r\n }",
"@CheckReturnValue\n private LocalSyncWriteModelContainer resolveConflict(\n final Name... |
Build the operation transformers.
@param registry the shared resource registry
@return the operation transformers | [
"protected Map<String, OperationTransformer> buildOperationTransformers(AttributeTransformationDescriptionBuilderImpl.AttributeTransformationDescriptionBuilderRegistry registry) {\n final Map<String, OperationTransformer> operations = new HashMap<String, OperationTransformer>();\n for(final Map.Entry<... | [
"public static void addToListIfNotExists(List<String> list, String value) {\n boolean found = false;\n for (String item : list) {\n if (item.equalsIgnoreCase(value)) {\n found = true;\n break;\n }\n }\n if (!found) {\n list.a... |
creates a bounds object with both point parsed from the json and set it
to the current shape
@param modelJSON
@param current
@throws org.json.JSONException | [
"private static void parseBounds(JSONObject modelJSON,\n Shape current) throws JSONException {\n if (modelJSON.has(\"bounds\")) {\n JSONObject boundsObject = modelJSON.getJSONObject(\"bounds\");\n current.setBounds(new Bounds(new Point(boundsObject.get... | [
"public static void registerDeploymentResource(final DeploymentResourceSupport deploymentResourceSupport, final LoggingConfigurationService service) {\n final PathElement base = PathElement.pathElement(\"configuration\", service.getConfiguration());\n deploymentResourceSupport.getDeploymentSubModel(Lo... |
Retrieves a vertex attribute as an integer array.
The attribute name must be one of the
attributes named in the descriptor passed to the constructor.
@param attributeName name of the attribute to update
@throws IllegalArgumentException if attribute name not in descriptor vertex attribute is not <i>int</i>
@see #setIntVec(String, IntBuffer)
@see #getIntArray(String) | [
"public int[] getIntArray(String attributeName)\n {\n int[] array = NativeVertexBuffer.getIntArray(getNative(), attributeName);\n if (array == null)\n {\n throw new IllegalArgumentException(\"Attribute name \" + attributeName + \" cannot be accessed\");\n }\n return ... | [
"public void setColorRange(int firstIndex, int lastIndex, int color1, int color2) {\n\t\tfor (int i = firstIndex; i <= lastIndex; i++)\n\t\t\tmap[i] = ImageMath.mixColors((float)(i-firstIndex)/(lastIndex-firstIndex), color1, color2);\n\t}",
"public static DMatrixRMaj extractRow(DMatrixRMaj a , int row , DMatrixRM... |
Calculate the Hamming distance between two hashes
@param h1
@param h2
@return | [
"public static Integer distance(String h1, String h2) {\n\t\tHammingDistance distance = new HammingDistance();\n\t\treturn distance.apply(h1, h2);\n\t}"
] | [
"@SuppressWarnings(\"deprecation\")\n @Deprecated\n public final void validateAndSet(ModelNode operationObject, final ModelNode model) throws OperationFailedException {\n validateOperation(operationObject);\n for (AttributeDefinition ad : this.parameters) {\n ad.validateAndSet(operati... |
Sets any application-specific custom fields. The values
are presented to the application and the iPhone doesn't
display them automatically.
This can be used to pass specific values (urls, ids, etc) to
the application in addition to the notification message
itself.
@param key the custom field name
@param value the custom field value
@return this | [
"public PayloadBuilder customField(final String key, final Object value) {\n root.put(key, value);\n return this;\n }"
] | [
"@Override\n\tpublic int compareTo(IPAddressString other) {\n\t\tif(this == other) {\n\t\t\treturn 0;\n\t\t}\n\t\tboolean isValid = isValid();\n\t\tboolean otherIsValid = other.isValid();\n\t\tif(!isValid && !otherIsValid) {\n\t\t\treturn toString().compareTo(other.toString());\n\t\t}\n\t\treturn addressProvider.pr... |
If a policy already exists on a folder, this will apply that policy to all existing files and sub folders within
the target folder.
@param conflictResolution the desired behavior for conflict-resolution. Set to either none or overwrite. | [
"public void forceApply(String conflictResolution) {\n\n URL url = FORCE_METADATA_CASCADE_POLICIES_URL_TEMPLATE.build(this.getAPI().getBaseURL(), this.getID());\n BoxJSONRequest request = new BoxJSONRequest(this.getAPI(), url, \"POST\");\n JsonObject requestJSON = new JsonObject()\n ... | [
"public static int[] randomSubset(int k, int n) {\n assert(0 < k && k <= n);\n Random r = new Random();\n int t = 0, m = 0;\n int[] result = new int[k];\n\n while (m < k) {\n double u = r.nextDouble();\n if ( (n - t) * u < k - m ) {\n result[m]... |
why isn't this functionality in enum? | [
"private static LogPriorType intToType(int intPrior) {\r\n LogPriorType[] values = LogPriorType.values();\r\n for (LogPriorType val : values) {\r\n if (val.ordinal() == intPrior) {\r\n return val;\r\n }\r\n }\r\n throw new IllegalArgumentException(intPrior + \" is not a legal LogPrior.\... | [
"public ParallelTaskBuilder setSshPrivKeyRelativePath(\n String privKeyRelativePath) {\n this.sshMeta.setPrivKeyRelativePath(privKeyRelativePath);\n this.sshMeta.setSshLoginType(SshLoginType.KEY);\n return this;\n }",
"private void createSimpleCubeSixMeshes(GVRContext gvrContext... |
Adds the specified list of users as members of the project. Returns the updated project record.
@param project The project to add members to.
@return Request object | [
"public ItemRequest<Project> addMembers(String project) {\n \n String path = String.format(\"/projects/%s/addMembers\", project);\n return new ItemRequest<Project>(this, Project.class, path, \"POST\");\n }"
] | [
"public synchronized void jumpToBeat(int beat) {\n\n if (beat < 1) {\n beat = 1;\n } else {\n beat = wrapBeat(beat);\n }\n\n if (playing.get()) {\n metronome.jumpToBeat(beat);\n } else {\n whereStopped.set(metronome.getSnapshot(metronome... |
Determines if the queue identified by the given key is used.
@param jedis
connection to Redis
@param key
the key that identifies a queue
@return true if the key is used, false otherwise | [
"public static boolean isKeyUsed(final Jedis jedis, final String key) {\n return !NONE.equalsIgnoreCase(jedis.type(key));\n }"
] | [
"public Object getJavaDefaultValueDefault() {\n\t\tif (field.getType() == boolean.class) {\n\t\t\treturn DEFAULT_VALUE_BOOLEAN;\n\t\t} else if (field.getType() == byte.class || field.getType() == Byte.class) {\n\t\t\treturn DEFAULT_VALUE_BYTE;\n\t\t} else if (field.getType() == char.class || field.getType() == Char... |
Returns the overtime cost of this resource assignment.
@return cost | [
"public Number getOvertimeCost()\n {\n Number cost = (Number) getCachedValue(AssignmentField.OVERTIME_COST);\n if (cost == null)\n {\n Number actual = getActualOvertimeCost();\n Number remaining = getRemainingOvertimeCost();\n if (actual != null && remaining != null)\n ... | [
"public PartialCollection<BoxItem.Info> getItemsRange(long offset, long limit, String... fields) {\n QueryStringBuilder builder = new QueryStringBuilder()\n .appendParam(\"offset\", offset)\n .appendParam(\"limit\", limit);\n\n if (fields.length > 0) {\n builde... |
Get the time zone for a specific exchange suffix
@param suffix suffix for the exchange in YahooFinance
@return time zone of the exchange | [
"public static TimeZone get(String suffix) {\n if(SUFFIX_TIMEZONES.containsKey(suffix)) {\n return SUFFIX_TIMEZONES.get(suffix);\n }\n log.warn(\"Cannot find time zone for exchange suffix: '{}'. Using default: America/New_York\", suffix);\n return SUFFIX_TIMEZONES.get(\"\");\n... | [
"public int executeUpdate(String query) throws Exception {\n int returnVal = 0;\n Statement queryStatement = null;\n\n try (Connection sqlConnection = getConnection()) {\n queryStatement = sqlConnection.createStatement();\n returnVal = queryStatement.executeUpdate(query);\... |
Returns a lazily generated map from site paths of resources to the available locales for the resource.
@return a lazily generated map from site paths of resources to the available locales for the resource. | [
"public Map<String, List<Locale>> getAvailableLocales() {\n\n if (m_availableLocales == null) {\n // create lazy map only on demand\n m_availableLocales = CmsCollectionsGenericWrapper.createLazyMap(new CmsAvailableLocaleLoaderTransformer());\n }\n return m_availableLocales... | [
"private void logBlock(int blockIndex, int startIndex, int blockLength)\n {\n if (m_log != null)\n {\n m_log.println(\"Block Index: \" + blockIndex);\n m_log.println(\"Length: \" + blockLength + \" (\" + Integer.toHexString(blockLength) + \")\");\n m_log.println();\n m_lo... |
Notifies all interested subscribers of the given revision.
@param mwRevision
the given revision
@param isCurrent
true if this is guaranteed to be the most current revision | [
"void notifyMwRevisionProcessors(MwRevision mwRevision, boolean isCurrent) {\n\t\tif (mwRevision == null || mwRevision.getPageId() <= 0) {\n\t\t\treturn;\n\t\t}\n\t\tfor (MwRevisionProcessorBroker.RevisionSubscription rs : this.revisionSubscriptions) {\n\t\t\tif (rs.onlyCurrentRevisions == isCurrent\n\t\t\t\t\t&& (... | [
"private ChildTaskContainer getParentTask(Activity activity)\n {\n //\n // Make a map of activity codes and their values for this activity\n //\n Map<UUID, UUID> map = getActivityCodes(activity);\n\n //\n // Work through the activity codes in sequence\n //\n ChildTaskContai... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.