code stringlengths 20 663 | nl stringlengths 68 7.19k |
|---|---|
IntArrayOptions function ( Boolean arg0 ) { this . returnEnabled = arg0 ; return this ; } | whether the contents of the field can be returned in the search results . returns a reference to this object so that method calls can be chained together . concode_field_sep String sourceFields concode_elem_sep Boolean returnEnabled concode_elem_sep Long defaultValue concode_elem_sep Boolean facetEnabled concode_elem_s... |
boolean function ( String arg0 , String arg1 , Serializable arg2 ) { return sendNotification ( SecurityId . getSystemId ( ) , arg0 , arg1 , arg2 ) ; } | as above , but uses the default system id for security verification . calling this function requires that the app has already inited its config , contexts and localserverfactory . concode_field_sep String _ident concode_elem_sep ResId WARNING_SENT_NOTIFICATION concode_field_sep placeholderType placeHolder |
Properties function ( JSONObject arg0 ) { Properties loc0 = new Properties ( ) ; if ( arg0 != null ) { Iterator < String > loc1 = arg0 . loc1 ( ) ; while ( loc1 . hasNext ( ) ) { String loc2 = loc1 . next ( ) ; loc0 . put ( loc2 , arg0 . getString ( loc2 ) ) ; } } return loc0 ; } | converts the jsonobject into a property file object . concode_field_sep PlaceHolder placeHolder concode_field_sep JSONObject toJSONObject |
void function ( int arg0 ) { this . fillColor = arg0 ; } | the color used to fill this shape . concode_field_sep HSSFShape parent concode_elem_sep int fillColor concode_elem_sep int LINEWIDTH_ONE_PT concode_elem_sep int LINEWIDTH_DEFAULT concode_elem_sep int LINESTYLE_DASHGEL concode_elem_sep int LINESTYLE_LONGDASHDOTGEL concode_elem_sep boolean noFill concode_elem_sep int LIN... |
void function ( MetadataKey arg0 , Object arg1 ) { mMetadata . put ( arg0 . toString ( ) , arg1 ) ; } | add metadata to helpshift conversations concode_field_sep HelpshiftHelper mInstance concode_elem_sep HashMap<String,Object> mMetadata concode_elem_sep String mStringValue concode_field_sep void init concode_elem_sep void showConversation concode_elem_sep void handlePush concode_elem_sep void addDefaultMetaData concode_... |
String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep Integer code concode_elem_sep String type concode_elem_sep String message concode_field_sep ModelApiResponse code concode_elem_sep String getType concode_elem_sep int hashCode concode_elem_sep void setCode c... |
String function ( ) { return password ; } | get password concode_field_sep String password concode_elem_sep String phone concode_elem_sep String lastName concode_elem_sep Integer userStatus concode_elem_sep String username concode_elem_sep Long id concode_elem_sep String firstName concode_elem_sep String email concode_field_sep String getPhone concode_elem_sep U... |
int [ ] function ( int arg0 ) { int [ ] loc0 = new int [ 4 ] ; if ( getBoxGeometry ( arg0 , loc0 ) ) { return loc0 ; } return null ; } | returns a geometry array for the box at the specified index . see box.index _ for indices . concode_field_sep int mNativePixa concode_elem_sep int mHeight concode_elem_sep int mWidth concode_elem_sep int mIndex concode_elem_sep boolean mRecycled concode_field_sep Pix next concode_elem_sep Rect getBoxRect concode_elem_s... |
boolean function ( Class < T > arg0 , String arg1 ) { waiter . waitForView ( arg0 , 0 ) ; ArrayList < T > loc0 = viewFetcher . getCurrentViews ( arg0 ) ; for ( T loc1 : loc0 ) { if ( loc1 . getText ( ) . equals ( arg1 ) && loc1 . isChecked ( ) ) return true ; } return false ; } | checks if a compoundbutton with a given text is checked . concode_field_sep ViewFetcher viewFetcher concode_elem_sep Waiter waiter concode_field_sep boolean isSpinnerTextSelected concode_elem_sep boolean isSpinnerTextSelected concode_elem_sep boolean isCheckedTextChecked |
IFile function ( String arg0 ) { return openZAPScanResultsFolder ( true ) . getFile ( getAscanXmlFileName ( arg0 ) ) ; } | get the ascan xml file . concode_field_sep PlaceHolder placeHolder concode_field_sep void generateHtmlEntries concode_elem_sep String getSpiderFileName concode_elem_sep IProject openSecurityTestingProject concode_elem_sep boolean scanFilesExist concode_elem_sep IFile getAscanHtmlFile concode_elem_sep String getAscanXml... |
Object function ( Object arg0 ) { Object loc0 = null ; KernelController loc1 = ServiceManager . kernel . getController ( ) ; ControllerContext loc2 = loc1 . getInstalledContext ( arg0 ) ; if ( loc2 != null ) { loc0 = loc2 . getTarget ( ) ; } return loc0 ; } | locates a service registered with the system kernel concode_field_sep Logger log concode_elem_sep ServiceBootstrap bootstrap concode_elem_sep Kernel kernel concode_field_sep Kernel getKernel concode_elem_sep void stop concode_elem_sep void start concode_elem_sep void setKernel concode_elem_sep void redeploy concode_ele... |
File function ( String arg0 ) { return new File ( new File ( arg0 ) . getCanonicalPath ( ) ) ; } | retrieves the canonical file for the given path , in a jdk 1.1 complaint way . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep FileUtil fileUtil concode_elem_sep FileDescriptor outDescriptor concode_elem_sep Random random concode_elem_sep boolean fsIsIgnoreCase concode_field_sep void renameElement... |
boolean function ( Context arg0 , String arg1 , float arg2 ) { SharedPreferences loc0 = arg0 . getSharedPreferences ( PREFERENCE_NAME , Context . MODE_PRIVATE ) ; SharedPreferences . Editor loc1 = loc0 . edit ( ) ; loc1 . putFloat ( arg1 , arg2 ) ; return loc1 . commit ( ) ; } | put float preferences concode_field_sep String PREFERENCE_NAME concode_field_sep long getLong concode_elem_sep long getLong concode_elem_sep int getInt concode_elem_sep int getInt concode_elem_sep boolean putInt concode_elem_sep boolean putString concode_elem_sep boolean getBoolean concode_elem_sep boolean getBoolean c... |
ReverseNestedBuilder function ( String arg0 ) { return new ReverseNestedBuilder ( arg0 ) ; } | create a new reversenested aggregation with the given name . concode_field_sep PlaceHolder placeHolder concode_field_sep GeoBoundsBuilder geoBounds concode_elem_sep DateRangeBuilder dateRange concode_elem_sep DateHistogramBuilder dateHistogram concode_elem_sep RangeBuilder range concode_elem_sep SumBuilder sum concode_... |
String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep String name concode_elem_sep Long id concode_field_sep void setName concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Category name concode_elem_s... |
List < Template > function ( @ RequestBody List < Template > arg0 ) { templateService . updateTemplates ( arg0 ) ; return templateService . allTemplates ( ) ; } | updates the templates . the new templates collection will overwrite the old one . concode_field_sep ConfigService configService concode_elem_sep StatusMessageService statusMessageService concode_elem_sep Logger LOGGER concode_elem_sep TemplateService templateService concode_elem_sep String LOGSYSTEM_CLASS concode_elem_... |
LocalDate function ( ) { return date ; } | get date concode_field_sep byte[] _byte concode_elem_sep String password concode_elem_sep BigDecimal number concode_elem_sep Float _float concode_elem_sep Integer integer concode_elem_sep Double _double concode_elem_sep String string concode_elem_sep DateTime dateTime concode_elem_sep byte[] binary concode_elem_sep Int... |
Escaper function ( ) { return JAVASCRIPT_ESCAPER ; } | returns an escaper instance that replaces non-ascii charactersin a string with their equivalent javascript utf-16 escape sequences '' @literal \ unnnn '' , '' \ xnn '' or special replacement sequences '' \ b '' , '' \ t '' , '' \ n '' , '' \ f '' , '' \ r '' or '' \ \ '' . warning : this escaper is not suitable for jso... |
void function ( final Address arg0 , final String arg1 ) { Preconditions . checkNotNull ( arg0 , "srini_string" ) ; m_bookmarkManager . addBookmark ( new CBookmark ( new CAddress ( arg0 . toLong ( ) ) , arg1 ) ) ; } | creates a new bookmark with an address and a description . concode_field_sep InternalBookmarkManagerListener m_internalBookmarkListener concode_elem_sep List<Bookmark> m_bookmarks concode_elem_sep com.google.security.zynamics.binnavi.models.Bookmarks.memory.BookmarkManager m_bookmarkManager concode_elem_sep ListenerPro... |
String function ( ) { String loc0 = "srini_string" + word + "srini_string" ; if ( this . parent == null ) { loc0 += "srini_string" ; } else { loc0 += this . parent . getWord ( ) + "srini_string" ; } loc0 += "srini_string" ; for ( WPTreeNode loc1 : children ) { loc0 += loc1 . getWord ( ) + "srini_string" ; } loc0 += ( "... | tostring method concode_field_sep WPTreeNode parent concode_elem_sep List<WPTreeNode> children concode_elem_sep WPTreeNode root concode_elem_sep NearbyWords nw concode_elem_sep String word concode_field_sep List<WPTreeNode> getChildren concode_elem_sep boolean isVisited concode_elem_sep String printQueue concode_elem_s... |
UserTransactionJndi function ( ) { return this . userTransactionJndi ; } | returns the < user-transaction-jndi > child element , or null if no child element was found . concode_field_sep TransactionManagerJndi transactionManagerJndi concode_elem_sep String className concode_elem_sep UserTransactionJndi userTransactionJndi concode_field_sep String getClassName concode_elem_sep TransactionManag... |
void function ( String arg0 ) { this . lastName = arg0 ; } | sets the last name for this person . concode_field_sep String firstName concode_elem_sep String lastName concode_elem_sep String address concode_elem_sep int personId concode_elem_sep int personVoterId concode_field_sep int getPersonId concode_elem_sep void setAddress concode_elem_sep void setFirstName concode_elem_sep... |
int function ( ) { return blue ; } | gets the blue value of this color . concode_field_sep Color GREEN concode_elem_sep int green concode_elem_sep Color LIGHT_GRAY concode_elem_sep Color RED concode_elem_sep Color BLACK concode_elem_sep int red concode_elem_sep Color WHITE concode_elem_sep int blue concode_elem_sep Color GRAY concode_elem_sep Color ORANGE... |
Object function ( ) { return new SipURL ( url ) ; } | creates and returns a copy of the url concode_field_sep String ttl_param concode_elem_sep String maddr_param concode_elem_sep String transport_param concode_elem_sep String lr_param concode_elem_sep String url concode_field_sep void addTransport concode_elem_sep void addLr concode_elem_sep String getTransport concode_e... |
double function ( ) { return getMean ( ) + deviation ; } | retorna o limite superior do desvio da amostra requer que deviation tenha sido calculado concode_field_sep double sumOfSquares concode_elem_sep double t concode_elem_sep int count concode_elem_sep double timeInterval concode_elem_sep double sum concode_elem_sep double deviation concode_elem_sep double deviationN concod... |
byte [ ] function ( String arg0 ) { byte [ ] loc0 = null ; loc0 = Base64 . decodeBase64 ( arg0 . getBytes ( ) ) ; return loc0 ; } | decodes a base64 encoded string object concode_field_sep PlaceHolder placeHolder concode_field_sep String generateUID concode_elem_sep String generateOneWayHash concode_elem_sep String encodeBinaryData |
void function ( String arg0 ) { this . msisdn = arg0 ; } | sets the value of the msisdn property . concode_field_sep List<ServiceAgreementType.Subscriber> subscriber concode_elem_sep List<ServiceType> service concode_elem_sep long serialVersionUID concode_elem_sep String msisdn concode_elem_sep String ban concode_field_sep String getBan concode_elem_sep List<ServiceAgreementTy... |
void function ( ) { this . handler . cancel ( ) ; } | instructs the webview to cancel the authentication request . concode_field_sep HttpAuthHandler handler concode_field_sep void proceed |
void function ( ) { File loc0 = new File ( TestUtils . getRegressionDataFile ( 8309 , "srini_string" ) ) ; try ( InputStream loc1 = new FileInputStream ( loc0 ) ) { NonRegFunctionalTests . testGeneric ( "srini_string" , ShpReader . parseDataSet ( loc1 , loc0 , null , null ) ) ; } } | non-regression test for ticket # 8309 concode_field_sep PlaceHolder placeHolder concode_field_sep void setUp concode_elem_sep void testTicket10214 |
String function ( ) { return "srini_string" ; } | return the fieldname repository id . concode_field_sep PlaceHolder placeHolder concode_field_sep String extract concode_elem_sep String read concode_elem_sep void insert concode_elem_sep TypeCode type concode_elem_sep void write |
com . liferay . portal . kernel . model . RecentLayoutSetBranch function ( com . liferay . portal . kernel . model . RecentLayoutSetBranch arg0 ) { return getService ( ) . updateRecentLayoutSetBranch ( arg0 ) ; } | updates the recent layout set branch in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep RecentLayoutSetBranchLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.Actionabl... |
void function ( int arg0 , int arg1 ) { if ( ( ( arg0 | arg1 ) < 0 ) || ( arg0 + arg1 > size ( ) ) ) { throw new IndexOutOfBoundsException ( arg0 + "srini_string" + arg1 ) ; } moveRowGapTo ( arg0 + arg1 ) ; mRowGapStart -= arg1 ; mRowGapLength += arg1 ; } | deletes the specified number of rows starting with the specified row . concode_field_sep int mRows concode_elem_sep int mColumns concode_elem_sep int mRowGapLength concode_elem_sep int mRowGapStart concode_elem_sep int[] mValueGap concode_elem_sep int[] mValues concode_field_sep int getValue concode_elem_sep int size c... |
String function ( ) { return type ; } | gets the type of operation that this class belongs to concode_field_sep Random rnd concode_elem_sep String type concode_elem_sep ConfigExtractor config concode_elem_sep PathFinder finder concode_field_sep Random getRandom concode_elem_sep String toString concode_elem_sep List<OperationOutput> run concode_elem_sep PathF... |
int function ( ) { return opcode ; } | gets the opcode . concode_field_sep int BRANCH_RETURN concode_elem_sep int BRANCH_GOTO concode_elem_sep int BRANCH_IF concode_elem_sep TypeList sources concode_elem_sep int BRANCH_THROW concode_elem_sep int BRANCH_NONE concode_elem_sep int opcode concode_elem_sep TypeList exceptions concode_elem_sep int BRANCH_SWITCH c... |
void function ( String arg0 ) { this . proxyAuthUsername = arg0 ; } | username for proxy authentication concode_field_sep WeatherApi weatherApi concode_elem_sep String location concode_elem_sep String topLat concode_elem_sep String lon concode_elem_sep WeatherUnits units concode_elem_sep Integer proxyPort concode_elem_sep String proxyAuthPassword concode_elem_sep String period concode_el... |
void function ( String [ ] arg0 ) { makeChangeForAmount ( 93 ) ; } | main method to start the example . concode_field_sep String CVS_REVISION concode_field_sep void makeChangeForAmount |
void function ( PostBoardMessage [ ] arg0 ) { model . emptyModel ( ) ; if ( arg0 != null ) { model . addMessages ( arg0 ) ; } } | add the given messages to the local model they were received from the core . this method is called by the getmessagesrequestobserver concode_field_sep PostBoardModel model concode_field_sep void actionPerformed |
void function ( DualInputOperator < ? , ? , ? , ? > arg0 ) { Operator < ? > loc0 = arg0 . getFirstInput ( ) ; Operator < ? > loc1 = arg0 . getSecondInput ( ) ; if ( loc0 == null || loc1 == null ) { throw new MissingChildException ( ) ; } } | checks whether a dualinputoperator is correctly connected . in case that the contract is incorrectly connected a runtimeexception is thrown . concode_field_sep Set<Operator<?>> visitedNodes concode_field_sep void checkBulkIteration concode_elem_sep void postVisit concode_elem_sep void checkFileDataSink concode_elem_sep... |
String function ( ) { return UUIDGenerator . generateUUID ( ) ; } | protected for helping tests programming . concode_field_sep Map<String,WildlfyDataSource> managedDataSources concode_elem_sep Map<String,WildlfyDataSource> unManagedDataSources concode_elem_sep WildflyDataSourceManagementClient dataSourceMgmtClient concode_elem_sep Logger logger concode_elem_sep WildflyDriverProvider d... |
GVTGlyphVector function ( FontRenderContext arg0 , int [ ] arg1 , CharacterIterator arg2 ) { return new AWTGVTGlyphVector ( awtFont . createGlyphVector ( arg0 , arg1 ) , this , scale , arg2 ) ; } | returns a new glyphvector object created with the specified integer array and the specified fontrendercontext . concode_field_sep float size concode_elem_sep Map fontCache concode_elem_sep float scale concode_elem_sep Font awtFont concode_elem_sep float FONT_SIZE concode_field_sep int canDisplayUpTo concode_elem_sep in... |
void function ( Container arg0 ) { } | invalidates the layout , indicating that if the layout manager has cached information it should be discarded . concode_field_sep Component title concode_elem_sep int vgap concode_elem_sep Component xLabel concode_elem_sep Component chart concode_elem_sep int hgap concode_elem_sep Component yLabel concode_field_sep Dime... |
SortedSet < Range > function ( ) { return ranges ; } | get the sorted set of ranges . concode_field_sep long startIndex concode_elem_sep Range range concode_elem_sep long indicesCount concode_elem_sep long length concode_elem_sep long next concode_elem_sep Log LOG concode_elem_sep Iterator<Range> rangeIterator concode_elem_sep TreeSet<Range> ranges concode_field_sep void a... |
boolean function ( ) { return ! status ; } | determine whether the submit button is disabled . concode_field_sep String IMAGE_DISABLED concode_elem_sep String IMAGE_ENABLED concode_elem_sep boolean status concode_field_sep String getImageButton concode_elem_sep boolean getStatus concode_elem_sep void setStatus |
int function ( ) { return _orgLaborLocalService . getOrgLaborsCount ( ) ; } | returns the number of org labors . concode_field_sep OrgLaborLocalService _orgLaborLocalService concode_field_sep com.liferay.portal.model.OrgLabor getOrgLabor concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.model.OrgLabor fetchOrgLabor concode_elem_sep java.util.List<com.liferay.portal.mode... |
void function ( PObject arg0 ) { changes . remove ( arg0 . getReference ( ) ) ; } | remove a pobject from the cache . concode_field_sep PTrailer trailer concode_elem_sep int nextReferenceNumber concode_elem_sep Logger logger concode_elem_sep HashMap<Reference,PObject> changes concode_field_sep boolean contains concode_elem_sep int compare concode_elem_sep boolean isChanged concode_elem_sep Iterator<PO... |
RDDJavaFunctions function ( RDD < T > arg0 , Class < T > arg1 ) { return new RDDJavaFunctions < > ( arg0 , JavaApiHelper . getClassTag ( arg1 ) ) ; } | a static factory method to create a rddjavafunctions based onan existing rdd . concode_field_sep Map<String,String> NO_OVERRIDE concode_field_sep placeholderType placeHolder |
ReadWriteLock function ( int arg0 ) { if ( arg0 >= locks . length ) { throw new ArrayIndexOutOfBoundsException ( ) ; } return locks [ arg0 ] ; } | retrieves the given lock at a provided offset . note this is not hashcode based . this method requires care and the knowledge of how many locks there are . this is useful when iterating over all locks concode_field_sep int MAXIMUM_CAPACITY concode_elem_sep int HASH_BITS concode_elem_sep ReadWriteLock[] locks concode_fi... |
org . xmpp . packet . IQ . Type function ( org . jivesoftware . smack . packet . IQ . Type arg0 ) { return org . xmpp . packet . IQ . Type . valueOf ( arg0 . toString ( ) ) ; } | converts an org.jivesoftware.smack.packet.iq.type value into an org.xmpp.packet.iq.type value which represents the same iq type . concode_field_sep XmlPullParserFactory xmlPullParserFactory concode_field_sep placeholderType placeHolder |
void function ( byte [ ] arg0 , int arg1 ) { writeStream . write ( arg0 , 0 , arg1 ) ; bytesWritten += arg1 ; } | this class and subclasses should write to the underlying writestream only with this method . that way we can be confident that byteswritten will always be accurate . concode_field_sep int DEFAULT_BLOCKS_PER_RECORD concode_elem_sep int DEFAULT_COMPRESSION concode_elem_sep byte[] ZERO_BLOCK concode_elem_sep OutputStream ... |
CTNode function ( PBLoc arg0 ) { return getNode ( arg0 . terminalId , arg0 . height ) ; } | returns the node in this tree using the specific propbank location . concode_field_sep List<CTNode> ls_termainals concode_elem_sep List<CTNode> ls_tokens concode_elem_sep CTNode nd_root concode_elem_sep IntObjectOpenHashMap<List<CTNode>> mp_nulls concode_field_sep CTNode getTerminal concode_elem_sep List<CTNode> getTok... |
void function ( String arg0 , int arg1 , int arg2 ) { assertEquals ( arg0 , new Integer ( arg1 ) , new Integer ( arg2 ) ) ; } | asserts that two ints are equal . if they are not an assertionfailederror is thrown with the given message . concode_field_sep PlaceHolder placeHolder concode_field_sep void fail concode_elem_sep void fail concode_elem_sep void assertNull concode_elem_sep void assertNull concode_elem_sep void assertTrue concode_elem_se... |
boolean function ( KType arg0 ) { return map . containsKey ( arg0 ) ; } | returns true if this container has an association to a value for the given key . concode_field_sep ImmutableOpenMap EMPTY concode_elem_sep ObjectObjectHashMap<KType,VType> map concode_field_sep VType getOrDefault concode_elem_sep VType getOrDefault concode_elem_sep void indexInsert concode_elem_sep ObjectLookupContaine... |
int function ( ) { return interval ; } | gets the interval in years for this event . concode_field_sep int interval concode_elem_sep int count concode_elem_sep ResourceLoader rb concode_elem_sep Log M_log concode_elem_sep Time until concode_field_sep void set concode_elem_sep void excludeInstances concode_elem_sep Time getUntil concode_elem_sep void setUntil ... |
void function ( ) { PinNeedle loc0 = new PinNeedle ( ) ; PinNeedle loc1 = ( PinNeedle ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; } | check that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testSerialization concode_elem_sep void testEquals |
int function ( ) { return getAttribute ( PROP_TIMESTAMP , - 1 ) ; } | returns the timestamp of this object . timestamps are monotonically increased each time the object is saved and can be used to determine if any changes have been made on disk since the object was loaded . concode_field_sep String PROP_PRIVATE concode_elem_sep IFile file concode_elem_sep String PROP_LOCKED concode_elem_... |
boolean function ( ) { boolean loc0 = ( this . nextRow != null ) ; if ( ! loc0 && ! this . streamerClosed ) { this . io . closeStreamer ( this ) ; this . streamerClosed = true ; } return loc0 ; } | returns true if another row exsists . concode_field_sep ResultSetImpl owner concode_elem_sep Field[] metadata concode_elem_sep boolean useBufferRowExplicit concode_elem_sep MysqlIO io concode_elem_sep boolean wasEmpty concode_elem_sep int columnCount concode_elem_sep boolean noMoreRows concode_elem_sep ExceptionInterce... |
Builder function ( ) { return new Builder ( ) ; } | static factory method for builder . example usage : jsonpointer pointer = jsonpointer.builder . append `` obj '' . append `` other ~ key '' . append `` another/key '' . append '' \ '' '' . append 0 . build ; concode_field_sep String ENCODING concode_elem_sep List<String> refTokens concode_elem_sep List<String> refToken... |
String function ( ) { return value ; } | documentation pending concode_field_sep String label concode_elem_sep String value concode_field_sep String getLabel concode_elem_sep void setValue concode_elem_sep void setLabel |
void function ( byte [ ] arg0 , int arg1 , int arg2 ) { verifySize ( arg2 ) ; buf . put ( arg0 , arg1 , arg2 ) ; } | puts an array of bytes from the specified offset into the buffer . concode_field_sep Factory factory concode_elem_sep ByteBuffer buf concode_elem_sep int BUFFER_SIZE concode_elem_sep boolean direct concode_elem_sep ByteOrder byteOrder concode_field_sep void putIntegerArray concode_elem_sep void putString concode_elem_s... |
long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , com . liferay . portal . kernel . dao . orm . Projection arg1 ) { return _svnRepositoryLocalService . dynamicQueryCount ( arg0 , arg1 ) ; } | returns the number of rows matching the dynamic query . concode_field_sep SVNRepositoryLocalService _svnRepositoryLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.socialcoding.model.SVNRepository updateSVNRepository concode_elem_sep void updateSVNRepository concode_e... |
void function ( LoggerProvider arg0 ) { current = Usage . CUSTOM ; Loggers . arg0 = arg0 ; } | specify a custom com.mycila.log.loggerprovider that will returns logger instances . com.mycila.log.loggerprovider can be composed using com.mycila.log.loggerproviders concode_field_sep Usage current concode_elem_sep LoggerProvider loggerProvider concode_field_sep void useJDK concode_elem_sep void useLog4j concode_elem_... |
String function ( String arg0 ) { return arg0 + "srini_string" + elapsedTime ( ) + "srini_string" ; } | retrieves prefix + '' in '' + elapsedtime + '' ms. '' concode_field_sep boolean running concode_elem_sep long total concode_elem_sep long startTime concode_elem_sep long lastStart concode_field_sep void zero concode_elem_sep long currentElapsedTime concode_elem_sep void stop concode_elem_sep String currentElapsedTimeTo... |
boolean function ( ) { return true ; } | returns whether this event can be filtered out . only the most critical events will return false . concode_field_sep Date date concode_elem_sep int EVENT_TYPE_ENGINE concode_elem_sep int EVENT_TYPE_SPIDER concode_elem_sep String EVENT_PACKAGE concode_elem_sep int EVENT_TYPE_MONITORING concode_field_sep String getName c... |
void function ( String arg0 ) { this . target = arg0 ; } | sets the value of the target property . concode_field_sep Keyframes keyframes concode_elem_sep String index concode_elem_sep String type concode_elem_sep String target concode_field_sep String getTarget concode_elem_sep String getIndex concode_elem_sep String getType concode_elem_sep void setKeyframes concode_elem_sep ... |
String function ( ) { if ( abstraction instanceof Abstraction_Qualitative ) { return ( getAbstraction ( ) . toString ( ) + "srini_string" + getItem ( ) . toString ( ) ) ; } return ( getItem ( ) . toString ( ) + getAbstraction ( ) . toString ( ) + "srini_string" ) ; } | get the string representation of this object concode_field_sep Item item concode_elem_sep Abstraction_Generic abstraction concode_field_sep String toStringToFile concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Abstraction_Generic getAbstraction concode_elem_sep Item getItem concode_elem_s... |
byte [ ] function ( byte [ ] arg0 , int arg1 ) { byte [ ] loc0 = new byte [ arg1 ] ; System . arraycopy ( arg0 , 0 , loc0 , 0 , arg1 ) ; return loc0 ; } | truncate a given byte to a given length . returns a new byte with the first length many bytes of the input . concode_field_sep byte[] consumedData concode_elem_sep int consumedLength concode_elem_sep String LOGTAG concode_field_sep ConsumedInputStream readFully concode_elem_sep byte[] getTruncatedData concode_elem_sep ... |
void function ( String arg0 ) { this . healthStatus = arg0 ; } | the health status of the instance . concode_field_sep String lifecycleState concode_elem_sep String launchConfigurationName concode_elem_sep String instanceId concode_elem_sep String healthStatus concode_elem_sep Boolean protectedFromScaleIn concode_elem_sep String availabilityZone concode_field_sep Instance withProtec... |
String function ( String arg0 , String arg1 ) { Matcher loc0 = TextUtils . getMatcher ( arg1 , arg0 ) ; String loc1 = ( loc0 != null && loc0 . matches ( ) ) ? checkForNull ( loc0 . group ( 1 ) ) + checkForNull ( loc0 . group ( 2 ) ) : arg0 ; TextUtils . recycleMatcher ( loc0 ) ; return loc1 ; } | run a regex that strips elements of a string . assumes the regex has a form that wants to strip elements of the passed string . assumes that if a match , appending group 1 and group 2 yields desired result . concode_field_sep KeyedProperties kp concode_elem_sep long serialVersionUID concode_field_sep void setEnabled co... |
ClassLoader function ( IProject arg0 ) { return createClassLoader ( arg0 , WorkspaceClassLoaderFactory . class . getClassLoader ( ) ) ; } | creates a classloader that can be used to load resources from theworkspace . concode_field_sep boolean resolveSimpleProjectReferences concode_field_sep File getFileSystemFile concode_elem_sep void addJavaClasspathEntries concode_elem_sep void addClasspathEntries concode_elem_sep URL[] convertClassPath concode_elem_sep ... |
void function ( ) { verifyDelete ( helper . getReadUser ( ) , AccessControlHelper . READ_CLIENT_ID , 403 ) ; } | ensures the read user can not delete a funnel . concode_field_sep AccessControlHelper helper concode_elem_sep String FLOW_XML_PATH concode_field_sep void testNoneUserDeleteFunnel concode_elem_sep void testWriteUserPutFunnel concode_elem_sep void testReadWriteUserDeleteFunnel concode_elem_sep ClientResponse updateFunnel... |
Image function ( int arg0 , int arg1 ) { if ( arg0 < 0 || arg0 >= getWidth ( ) || arg1 < 0 || arg1 >= getHeight ( ) ) { return null ; } else { return tiles [ arg0 ] [ arg1 ] ; } } | gets the tile at the specified location . returns null if no tile is at the location or if the location is out of bounds . concode_field_sep Image[][] tiles concode_elem_sep LinkedList sprites concode_elem_sep Sprite player concode_field_sep void setTile concode_elem_sep void removeSprite concode_elem_sep int getHeight... |
AutoHealActions function ( AutoHealCustomAction arg0 ) { this . customAction = arg0 ; return this ; } | set the customaction value . concode_field_sep AutoHealActionType actionType concode_elem_sep AutoHealCustomAction customAction concode_elem_sep String minProcessExecutionTime concode_field_sep AutoHealActionType actionType concode_elem_sep AutoHealCustomAction customAction concode_elem_sep String minProcessExecutionTi... |
String function ( Object ... arg0 ) { StringBuilder loc0 = new StringBuilder ( ) ; if ( isEnabled ( ) ) { buildEnabled ( loc0 , arg0 ) ; } else { buildDisabled ( loc0 , arg0 ) ; } return loc0 . toString ( ) ; } | create a new ansi string from the specified elements . any ansielement s will be encoded as required . concode_field_sep String OPERATING_SYSTEM_NAME concode_elem_sep String ENCODE_START concode_elem_sep String RESET concode_elem_sep String ENCODE_END concode_elem_sep Enabled enabled concode_elem_sep String ENCODE_JOIN... |
void function ( PDShape arg0 ) { setTargetShape ( arg0 . getId ( ) ) ; } | connects this instance to the given instance using role `` targetshape '' . if there is already an instance connected to this instance through role `` targetshape '' , the link will be overwritten . if the given instance is null , an existing link is removed . concode_field_sep GUID roleTargetShapeListId concode_elem_s... |
void function ( CordovaInterface arg0 , CordovaWebView arg1 ) { } | called after plugin construction and fields have been initialized . prefer to use plugininitialize instead since there is no value in having parameters on the initialize function . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_... |
int function ( ) { return getCapacity ( ) - size ( ) ; } | gets the amount of free spaces in the inventory concode_field_sep Widget inventoryWidget concode_field_sep int[] getItemIds concode_elem_sep boolean contains concode_elem_sep int size concode_elem_sep int[] getItemQuantities concode_elem_sep boolean isFull concode_elem_sep int countItem concode_elem_sep int getCapacity |
String function ( ) { Gson loc0 = new Gson ( ) ; return loc0 . toJson ( this ) ; } | non-javadoc concode_field_sep UUID receiver concode_elem_sep MessagesTypes messageType concode_elem_sep UUID sender concode_elem_sep String signature concode_elem_sep Timestamp deliveryTimestamp concode_elem_sep String textContent concode_elem_sep long serialVersionUID concode_elem_sep Long id concode_elem_sep Timestam... |
String function ( final byte [ ] arg0 , final char [ ] arg1 ) { final byte [ ] loc0 = encryptRaw ( arg0 , arg1 ) ; final byte [ ] loc1 = concat ( OPENSSL_SALTED_BYTES , loc0 ) ; return BASE64_ENCRYPT . encode ( loc1 ) ; } | password based encryption using aes - cbc 256 bits . concode_field_sep int SALT_LENGTH concode_elem_sep String OPENSSL_SALTED_TEXT concode_elem_sep FileFilter OPENSSL_FILE_FILTER concode_elem_sep char[] buf concode_elem_sep byte[] OPENSSL_SALTED_BYTES concode_elem_sep String OPENSSL_MAGIC_TEXT concode_elem_sep int NUMB... |
void function ( ) { server . stop ( ) ; } | stop the server . concode_field_sep play.core.server.Server server concode_elem_sep Server.Config _config concode_elem_sep Map<Protocol,Integer> _ports concode_elem_sep Mode _mode concode_field_sep Optional<Integer> maybeHttpsPort concode_elem_sep int httpPort concode_elem_sep Optional<Integer> maybeHttpPort concode_el... |
void function ( ) { if ( mCacheDispatcher != null ) { mCacheDispatcher . quit ( ) ; } for ( NetworkDispatcher loc0 : mDispatchers ) { if ( loc0 != null ) { loc0 . quit ( ) ; } } } | stops the cache and network dispatchers . concode_field_sep Map<String,Queue<Request<?>>> mWaitingRequests concode_elem_sep Set<Request<?>> mCurrentRequests concode_elem_sep PriorityBlockingQueue<Request<?>> mCacheQueue concode_elem_sep CacheDispatcher mCacheDispatcher concode_elem_sep ResponseDelivery mDelivery concod... |
Object [ ] function ( Collection < ? > arg0 ) { return arg0 . toArray ( ) ; } | converts a collection to an array concode_field_sep PlaceHolder placeHolder concode_field_sep Set<Object> toSet concode_elem_sep Set<T> toSet concode_elem_sep Set<Map.Entry<K,V>> toSet concode_elem_sep HashMap<K,V> toHashMap concode_elem_sep ArrayList<T> toArrayList concode_elem_sep Properties toProperties concode_elem... |
String function ( BasicMessage arg0 ) { return String . format ( "srini_string" , arg0 . getClass ( ) . getSimpleName ( ) , arg0 . toJSON ( ) ) ; } | returns a string that encodes the given object as a json message but then prefixes that json with additional information that a hawkular client will need to be able to deserialize the json . this string can be used to deserialize the object via #deserialize string . concode_field_sep String API_PKG concode_field_sep St... |
void function ( String arg0 ) { if ( files == null ) throw new IllegalStateException ( "srini_string" ) ; else files . add ( arg0 ) ; } | adds a file to the set of files to be deleted when runtime.halt int is to be invoked . concode_field_sep Set<String> files concode_field_sep void runHooks |
ArrayList < UTXO > function ( ) { Set < UTXO > loc0 = H . keySet ( ) ; ArrayList < UTXO > loc1 = new ArrayList < UTXO > ( ) ; for ( UTXO loc2 : loc0 ) { loc1 . add ( loc2 ) ; } return loc1 ; } | returns an arraylist of all utxos in the pool concode_field_sep HashMap<UTXO,Transaction.Output> H concode_field_sep void removeUTXO concode_elem_sep boolean contains concode_elem_sep void addUTXO concode_elem_sep Transaction.Output getTxOutput |
PrintStream function ( ) { return this . stdOutMock ; } | get the mocked stdout printstream concode_field_sep PrintStream stdOutOrig concode_elem_sep PrintStream stdOutMock concode_field_sep void setUp concode_elem_sep void tearDown |
void function ( java . lang . String arg0 ) { _kaleoCondition . setUserName ( arg0 ) ; } | sets the user name of this kaleo condition . concode_field_sep KaleoCondition _kaleoCondition concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel conco... |
String function ( ) { return stringToHex ( stringData ) . toString ( ) ; } | gets a hexadecimal string representation of this object 's data , which is converted to hexadecimal form . concode_field_sep Reference reference concode_elem_sep char[] hexChar concode_elem_sep StringBuilder stringData concode_field_sep StringBuilder stringToHex concode_elem_sep String getDecryptedLiteralString concode... |
Object function ( Object arg0 ) { return k2v . get ( arg0 ) ; } | get value from key concode_field_sep Map k2v concode_elem_sep Map v2k concode_elem_sep long serialVersionUID concode_field_sep Object getKey concode_elem_sep void removeKey concode_elem_sep int size concode_elem_sep boolean containsKey concode_elem_sep Object[] keys concode_elem_sep void put concode_elem_sep void shutd... |
String function ( int arg0 ) { int loc0 = arg0 % 2 ; return ( loc0 == 0 ) ? "srini_string" : "srini_string" ; } | selects greeting prefix depended on date concode_field_sep Calendar cal concode_field_sep String getGreetingPrefix |
boolean function ( int arg0 ) { if ( mOffsetTop != arg0 ) { mOffsetTop = arg0 ; updateOffsets ( ) ; return true ; } return false ; } | set the top and bottom offset for this viewoffsethelper 's view . concode_field_sep Property<ViewOffsetHelper,Integer> OFFSET_Y concode_elem_sep int mLayoutTop concode_elem_sep int mLayoutLeft concode_elem_sep int mOffsetLeft concode_elem_sep View mView concode_elem_sep int mOffsetTop concode_field_sep int getTopAndBot... |
byte [ ] function ( String arg0 ) { Preconditions . checkNotNull ( arg0 ) ; try { return arg0 . getBytes ( "srini_string" ) ; } catch ( UnsupportedEncodingException loc0 ) { throw new RuntimeException ( "srini_string" , loc0 ) ; } } | helper method that transforms provided string into it 's byte representation using ascii encoding concode_field_sep byte[] GIF_HEADER_89A concode_elem_sep byte[] JPEG_HEADER concode_elem_sep byte[] PNG_HEADER concode_elem_sep byte[] BMP_HEADER concode_elem_sep int GIF_HEADER_LENGTH concode_elem_sep int EXTENDED_WEBP_HE... |
ThreadFactory function ( ThreadFactory arg0 ) { ThreadFactory loc0 ; loc0 = factory ; factory = ( arg0 == null ) ? this : arg0 ; return loc0 ; } | sets the factory implementation that this factory will use to produce threads . if the specified argument , f , is null , then this factory uses itself as the implementation . concode_field_sep ThreadFactory factory concode_field_sep Thread newThread concode_elem_sep ThreadFactory getImpl |
String function ( final int arg0 , int arg1 , final Object [ ] arg2 ) { String loc0 = getResourceString ( arg0 ) ; if ( arg1 != 0 ) { loc0 += getResourceString ( arg1 ) ; } if ( arg2 != null ) { loc0 = insertStrings ( loc0 , arg2 ) ; } return loc0 ; } | returns the error message given the error code . this method is used when throwing exception other than hsqlexception . concode_field_sep String MESSAGE_TAG concode_elem_sep int SQL_STATE_DIGITS concode_elem_sep int ERROR_CODE_BASE concode_elem_sep int bundleHandle concode_elem_sep String errPropsName concode_elem_sep ... |
String function ( ) { return userName ; } | gets the user name . concode_field_sep String password concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep String getPassword concode_elem_sep void setUserName |
void function ( ModelNode arg0 , String arg1 , String ... arg2 ) { if ( arg2 != null ) { ModelNode loc0 = arg0 . get ( arg1 ) ; for ( String loc1 : arg2 ) { loc0 . add ( loc1 ) ; } } } | set list attribute of given node if the value is not-null . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder |
void function ( String [ ] arg0 ) { AppClient loc0 = new AppClient ( ) ; loc0 . start ( ) ; } | app client entry . concode_field_sep String clientName concode_elem_sep ExecutorService service concode_elem_sep int serverPort concode_elem_sep InetSocketAddress remoteAddress concode_field_sep void sendLogRequests concode_elem_sep void stop concode_elem_sep void artificialDelayOf concode_elem_sep void start concode_e... |
void function ( final long arg0 ) { this . storageCapacity = arg0 ; } | sets the maximum amount of data to store in the repository in bytes concode_field_sep long storageCapacity concode_elem_sep int compressionBlockBytes concode_elem_sep List<File> storageDirectories concode_elem_sep boolean allowRollover concode_elem_sep int maxAttributeChars concode_elem_sep long eventFileMillis concode... |
int [ ] [ ] function ( String ... arg0 ) { int [ ] [ ] loc0 = new int [ arg0 . length ] [ ] ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { loc0 [ loc1 ] = stringToInts ( arg0 [ loc1 ] ) ; } return loc0 ; } | returns a 2-d grid parsed from strings , one string per row . the '' ... '' is a java 5 feature that essentially makes `` rows '' a string array . provided utility concode_field_sep int first_grid[][] concode_elem_sep int[][] easyGrid concode_elem_sep int[][] mediumGrid concode_elem_sep int solutions concode_elem_sep H... |
AuditRelatedId function ( String arg0 ) { return new AuditRelatedId ( new EntityPropertyName ( arg0 ) ) ; } | create restrictions on an id of a related entity . concode_field_sep PlaceHolder placeHolder concode_field_sep AuditProperty<Object> revisionProperty concode_elem_sep AuditProperty<RevisionType> revisionType concode_elem_sep AuditCriterion not concode_elem_sep AuditCriterion or concode_elem_sep AuditConjunction conjunc... |
Integer function ( ) { return code ; } | get code concode_field_sep Integer code concode_elem_sep String type concode_elem_sep String message concode_field_sep String toIndentedString concode_elem_sep ModelApiResponse code concode_elem_sep String getType concode_elem_sep int hashCode concode_elem_sep void setCode concode_elem_sep boolean equals concode_elem_s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.