idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
12,600 | checks if every element in a collection are unique by object #equals object . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isAnyNull | boolean function ( Collection < ? > arg0 ) { final Set < Object > loc0 = new HashSet < > ( ) ; for ( Object loc1 : arg0 ) { final boolean loc2 = ! loc0 . add ( loc1 ) ; if ( loc2 ) { return false ; } } return true ; } |
12,601 | calculates the scanline index for the specified y coordinate . concode_field_sep int FIXED_DIGITS concode_elem_sep int numScanlines concode_elem_sep Scanline[] scanlines concode_elem_sep PolyEdge edgePoolLast concode_elem_sep int maxY concode_elem_sep int ONE concode_elem_sep PolyEdge edgePool concode_elem_sep int maxX... | int function ( int arg0 ) { int loc0 = fit ( arg0 ) ; return ( loc0 - upperBounds ) / resolution ; } |
12,602 | returns an unmodifiable set that contains all scopes declared by this class . concode_field_sep String USERINFO_EMAIL concode_field_sep placeholderType placeHolder | java . util . Set < String > function ( ) { java . util . Set < String > loc0 = new java . util . HashSet < String > ( ) ; loc0 . add ( USERINFO_EMAIL ) ; return java . util . Collections . unmodifiableSet ( loc0 ) ; } |
12,603 | gets population . concode_field_sep String name concode_elem_sep long serialVersionUID concode_elem_sep int id concode_elem_sep int population concode_field_sep void setName concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setPopulation concode_elem_sep... | int function ( ) { return population ; } |
12,604 | default processing for a body . concode_field_sep Tag parent concode_elem_sep PageContext pageContext concode_elem_sep Hashtable<String,Object> values concode_elem_sep String id concode_field_sep Tag getParent concode_elem_sep Enumeration<String> getValues concode_elem_sep void release concode_elem_sep String getId con... | int function ( ) { return SKIP_BODY ; } |
12,605 | the password . concode_field_sep String password concode_elem_sep String instanceId concode_elem_sep Integer validForInMinutes concode_elem_sep String username concode_field_sep TemporaryCredential withValidForInMinutes concode_elem_sep void setPassword concode_elem_sep String getInstanceId concode_elem_sep void setUse... | TemporaryCredential function ( String arg0 ) { setPassword ( arg0 ) ; return this ; } |
12,606 | returns true if inbound destination throttling is enabled . concode_field_sep String ELEMENT_OUTBOUND concode_elem_sep String ELEMENT_INBOUND concode_elem_sep int inDestinationMessagesPerSec concode_elem_sep int ERR_MSG_INVALID_INCOMING_CLENT_FREQ concode_elem_sep int ERR_MSG_INVALID_INCOMING_DEST_FREQ concode_elem_sep... | boolean function ( ) { return inPolicy != Policy . NONE && getIncomingDestinationFrequency ( ) > 0 ; } |
12,607 | caches the ke hoach kiem dem nuocs in the entity cache if it is enabled . concode_field_sep KeHoachKiemDemNuocPersistence _persistence concode_field_sep int countAll concode_elem_sep List<KeHoachKiemDemNuoc> findWithDynamicQuery concode_elem_sep List<KeHoachKiemDemNuoc> findWithDynamicQuery concode_elem_sep List<KeHoac... | void function ( java . util . List < vn . dtt . sol . ns . tramcap . dao . model . KeHoachKiemDemNuoc > arg0 ) { getPersistence ( ) . cacheResult ( arg0 ) ; } |
12,608 | checks if is request group members only . concode_field_sep Map<String,List<String>> appliedMappings concode_elem_sep RequestContext requestContext concode_elem_sep Stack<String> pathStack concode_elem_sep List<String> processedRepositories concode_elem_sep String requestPath concode_field_sep ResourceStoreRequest setE... | boolean function ( ) { return getRequestContext ( ) . isRequestGroupMembersOnly ( ) ; } |
12,609 | return a map of all values from the specified propertysources that startwith a particular key . concode_field_sep PlaceHolder placeHolder concode_field_sep String getSubKey | Map < String , Object > function ( PropertySources arg0 , String arg1 ) { return PropertySourceUtils . getSubProperties ( arg0 , null , arg1 ) ; } |
12,610 | stops cache manager . concode_field_sep Configuration veryLargeConfiguration concode_elem_sep Configuration quickVeryLargeConfiguration concode_field_sep EmbeddedCacheManager defaultCacheManager | void function ( @ Disposes EmbeddedCacheManager arg0 ) { TestingUtil . killCacheManagers ( arg0 ) ; } |
12,611 | extracts zxid from the file name . the file name should have been created using one of the makelogname or makesnapshotname . concode_field_sep String DB_FORMAT_CONV concode_elem_sep String LOG_DIR concode_elem_sep String SNAP_DIR concode_elem_sep long serialVersionUID concode_elem_sep String prefix concode_elem_sep Log... | long function ( String arg0 , String arg1 ) { long loc0 = - 1 ; String loc1 [ ] = arg0 . split ( "srini_string" ) ; if ( loc1 . length == 2 && loc1 [ 0 ] . equals ( arg1 ) ) { try { loc0 = Long . parseLong ( loc1 [ 1 ] , 16 ) ; } catch ( NumberFormatException loc2 ) { } } return loc0 ; } |
12,612 | places a booking . as this is a simple example , all the method does is mark the booking as pending in the database . the @txcompensate annotation specifies which compensation handler to invoke if the transaction is cancelled . in this example the compensation handler will update the booking from state ` pending ' to `... | Integer function ( String arg0 , Date arg1 ) { System . out . println ( "srini_string" + arg0 + "srini_string" + arg1 + "srini_string" ) ; Taxi2Booking loc0 = new Taxi2Booking ( ) ; loc0 . setName ( arg0 ) ; loc0 . setDate ( arg1 ) ; em . persist ( loc0 ) ; bookingData . setBookingId ( loc0 . getId ( ) ) ; return loc0 ... |
12,613 | returns map containing the given entries . concode_field_sep Map mMap concode_elem_sep boolean mUnderConstruction concode_field_sep Map<K,V> build concode_elem_sep HashMap<K,V> newHashMap concode_elem_sep Builder<K,V> builder concode_elem_sep Builder<K,V> put | Map < K , V > function ( K arg0 , V arg1 , K arg2 , V arg3 ) { Map loc0 = of ( ) ; loc0 . put ( arg0 , arg1 ) ; loc0 . put ( arg2 , arg3 ) ; return loc0 ; } |
12,614 | check . concode_field_sep boolean throwError concode_field_sep void setParameters concode_elem_sep Object getTarget concode_elem_sep void testInvoke concode_elem_sep Object proceed concode_elem_sep void testNewInstance concode_elem_sep void testGetEjbCounter concode_elem_sep Object[] getParameters concode_elem_sep Meth... | void function ( ) { Utils . initialize ( ) ; } |
12,615 | sets the value of the name property . concode_field_sep TFaultInfo.Data data concode_elem_sep QName name concode_elem_sep String explanation concode_elem_sep int lineNumber concode_elem_sep List<Object> any concode_elem_sep int aiid concode_field_sep int getLineNumber concode_elem_sep void setAiid concode_elem_sep QNam... | void function ( QName arg0 ) { this . name = arg0 ; } |
12,616 | initialize an abstract rable from a list of sources , and possibly a bounds . this can be called long after the object is constructed to reset the state of the renderable . concode_field_sep Map props concode_elem_sep Vector srcs concode_elem_sep long stamp concode_field_sep Object getProperty concode_elem_sep boolean ... | void function ( List arg0 , Map arg1 ) { init ( arg0 ) ; if ( arg1 != null ) this . props . putAll ( arg1 ) ; } |
12,617 | gets the number of events in this list , excluding duplicate events . the size is guaranteed to be representative of the number of events returned by this eventlog 's iterator . concode_field_sep long streamPosition concode_elem_sep Set<BoxEvent> set concode_elem_sep int chunkSize concode_elem_sep Date endDate concode_... | int function ( ) { return this . set . size ( ) ; } |
12,618 | internal source representation , might be compressed ... concode_field_sep int docId concode_elem_sep LeafReader reader concode_elem_sep BytesReference sourceAsBytes concode_elem_sep Map<String,Object> source concode_elem_sep XContentType sourceContentType concode_field_sep void setSource concode_elem_sep void setSourc... | BytesReference function ( ) { return sourceAsBytes ; } |
12,619 | get the preloadfont from the provided font resource . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | PreloadFont function ( @ Nullable final IFontResource arg0 ) { if ( arg0 == null ) return null ; return getPreloadFontOfID ( arg0 . getID ( ) ) ; } |
12,620 | returns a range of all the o auth tokens . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.liferay.portal.kernel.dao.orm.queryutil #a... | java . util . List < com . liferay . opensocial . model . OAuthToken > function ( int arg0 , int arg1 ) { return _oAuthTokenLocalService . getOAuthTokens ( arg0 , arg1 ) ; } |
12,621 | gets the richmediaeventlookbackwindow value for this lookbackwindow . concode_field_sep int richMediaEventLookbackWindow concode_elem_sep int postClickEventLookbackWindow concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep int postImpressionEventLookbackWindow concode... | int function ( ) { return richMediaEventLookbackWindow ; } |
12,622 | scale an image by a scale factor concode_field_sep int val concode_field_sep void rotate concode_elem_sep void shrink concode_elem_sep void shrink concode_elem_sep double makeScale concode_elem_sep void enlarge concode_elem_sep void enlarge concode_elem_sep void resize concode_elem_sep void flip | void function ( Mat arg0 , double arg1 ) { resize ( arg0 , new Size ( arg0 . size ( ) . width * arg1 , arg0 . size ( ) . height * arg1 ) ) ; } |
12,623 | returns the qname . concode_field_sep String systemId concode_elem_sep Node nextSibling concode_elem_sep int line concode_elem_sep int column concode_elem_sep String publicId concode_elem_sep ParentNode parentNode concode_field_sep Node getPreviousSibling concode_elem_sep String getSystemId concode_elem_sep void setPar... | String function ( ) { throw new UnsupportedOperationException ( ) ; } |
12,624 | sets the value of the this property . concode_field_sep DVSCapability capability concode_elem_sep ManagedObjectReference _this concode_field_sep ManagedObjectReference getThis concode_elem_sep DVSCapability getCapability concode_elem_sep void setCapability | void function ( ManagedObjectReference arg0 ) { this . _this = arg0 ; } |
12,625 | generates a serializableclobproxy proxy wrapping the provided clob object . concode_field_sep Clob clob concode_elem_sep Class[] PROXY_INTERFACES concode_field_sep Object invoke concode_elem_sep Clob getWrappedClob concode_elem_sep ClassLoader getProxyClassLoader | Clob function ( Clob arg0 ) { return ( Clob ) Proxy . newProxyInstance ( getProxyClassLoader ( ) , PROXY_INTERFACES , new SerializableClobProxy ( arg0 ) ) ; } |
12,626 | gets the mark . concode_field_sep SourceBean request concode_elem_sep String mark concode_field_sep void setRequest concode_elem_sep void setMark concode_elem_sep SourceBean getRequest concode_elem_sep String toString | String function ( ) { return mark ; } |
12,627 | commits all ui changes . this should be called after additions or subtractions have been made to a menu , status line , or toolbar . concode_field_sep WorkbenchWindow window concode_field_sep IStatusLineManager getStatusLineManager concode_elem_sep IServiceLocator getServiceLocator concode_elem_sep IToolBarManager getT... | void function ( ) { window . updateActionBars ( ) ; } |
12,628 | returns next character . concode_field_sep int EOL concode_elem_sep Map<?,?> fgFunctions concode_elem_sep int STRING concode_elem_sep Color[] colors concode_elem_sep int KEY concode_elem_sep int NUMBER concode_elem_sep JavaScanner scanner concode_elem_sep int MAXIMUM_TOKEN concode_elem_sep int FUNCTIONS concode_elem_se... | int function ( ) { if ( fPos <= fEnd ) { return fDoc . charAt ( fPos ++ ) ; } return EOF ; } |
12,629 | sets the bit at the specified index to true . concode_field_sep long baseOffset concode_elem_sep LongArray words concode_elem_sep int numWords concode_elem_sep Object baseObject concode_field_sep boolean isSet concode_elem_sep MemoryBlock memoryBlock concode_elem_sep boolean anySet concode_elem_sep int nextSetBit conco... | void function ( int arg0 ) { assert arg0 < numWords * 64 : "srini_string" + arg0 + "srini_string" + numWords * 64 + "srini_string" ; BitSetMethods . set ( baseObject , baseOffset , arg0 ) ; } |
12,630 | set a name/attribute map , consisting of method names e.g. `` mymethod '' and transactionattribute instances or strings to be converted to transactionattribute instances . concode_field_sep Log logger concode_elem_sep Map<String,TransactionAttribute> nameMap concode_field_sep void addTransactionalMethod concode_elem_se... | void function ( Map < String , TransactionAttribute > arg0 ) { for ( Map . Entry < String , TransactionAttribute > loc0 : arg0 . entrySet ( ) ) { addTransactionalMethod ( loc0 . getKey ( ) , loc0 . getValue ( ) ) ; } } |
12,631 | sets the ui_visibility value for this report_suite_ui_element . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String rsid concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String site_title concode_elem_sep com.... | void function ( com . omniture . www . Ui_element [ ] arg0 ) { this . ui_visibility = arg0 ; } |
12,632 | returns the sentence as a string with a space between words . it prints out the value of each item - this will give the expected answer for a short form representation of the `` sentence '' over a range of cases . it is equivalent to calling tostring true . todo : sentence used to be a subclass of arraylist , with this... | String function ( List < T > arg0 ) { return listToString ( arg0 , true ) ; } |
12,633 | prints a message at debug priority . concode_field_sep int ERROR concode_elem_sep int VERBOSE concode_elem_sep int WARN concode_elem_sep int NONE concode_elem_sep int ASSERT concode_elem_sep int DEBUG concode_elem_sep LogNode mLogNode concode_elem_sep int INFO concode_field_sep void println concode_elem_sep void printl... | void function ( String arg0 , String arg1 , Throwable arg2 ) { println ( DEBUG , arg0 , arg1 , arg2 ) ; } |
12,634 | the default value of the parameter . concode_field_sep String arrayType concode_elem_sep List<String> allowableValues concode_elem_sep String access concode_elem_sep String defaultValue concode_elem_sep String dataType concode_elem_sep VerbDefinition verb concode_elem_sep String name concode_elem_sep String description... | RestOperationParamDefinition function ( String arg0 ) { setDefaultValue ( arg0 ) ; return this ; } |
12,635 | sets whether or not to use tcp . concode_field_sep boolean udp concode_elem_sep String[] cipherSuites concode_elem_sep boolean tcp concode_elem_sep boolean disableUdpOnLocalNetwork concode_field_sep boolean isDisableUdpOnLocalNetwork concode_elem_sep void setCipherSuites concode_elem_sep void setDisableUdpOnLocalNetwor... | void function ( final boolean arg0 ) { IceConfig . arg0 = arg0 ; } |
12,636 | recursive implementation of the previous algorithm . the complexity order in time and space terms is the same . take into account that this implementation is not tail recursive . concode_field_sep PlaceHolder placeHolder concode_field_sep int getIterative concode_elem_sep void validateInput concode_elem_sep int getTail... | int function ( int arg0 ) { validateInput ( arg0 ) ; if ( arg0 == 0 ) { return 1 ; } else { return arg0 * getRecursive ( arg0 - 1 ) ; } } |
12,637 | get the ifmatch value . concode_field_sep DateTimeRfc1123 ocpDate concode_elem_sep String clientRequestId concode_elem_sep DateTimeRfc1123 ifUnmodifiedSince concode_elem_sep Boolean returnClientRequestId concode_elem_sep DateTimeRfc1123 ifModifiedSince concode_elem_sep Integer timeout concode_elem_sep String ifNoneMatc... | String function ( ) { return this . ifMatch ; } |
12,638 | returns cached list of domains . if null or empty , refresh the list of domains separately . concode_field_sep CloudFoundryServer cloudServer concode_elem_sep ApplicationUrlValidator validator concode_elem_sep List<CloudDomain> domainsPerActiveSpace concode_field_sep void refreshDomains concode_elem_sep ApplicationUrlL... | List < CloudDomain > function ( ) { return domainsPerActiveSpace ; } |
12,639 | returns the container type . used to determine the formatter used to render the contained elements . concode_field_sep int m_maxElements concode_elem_sep List<CmsContainerElement> m_elements concode_elem_sep String m_name concode_elem_sep int m_width concode_elem_sep String KEY_CONTAINER_DATA concode_elem_sep String m_... | String function ( ) { return m_type ; } |
12,640 | gets the value of the mmscost property . concode_field_sep List<SupportedFeatureType> supportedFeatures concode_elem_sep Integer smsCost concode_elem_sep String description concode_elem_sep List<Integer> validRefillAmountInCents concode_elem_sep long serialVersionUID concode_elem_sep BigInteger ratePlanPriority concode... | Integer function ( ) { return mmsCost ; } |
12,641 | gets the icon for the given managed element . if it does not exist , it creates it , adds it to the cache and returns it . concode_field_sep Map<String,Image> iconsByPaths concode_elem_sep IconFactory instance concode_field_sep IconFactory getInstance | Image function ( MElement arg0 ) { return get ( arg0 . getIconFilePath ( ) , arg0 . getOverlayIconFilePath ( ) ) ; } |
12,642 | called once prior to handleevent being called . widgets should be instantiated in the init method rather than the view constructor . concode_field_sep Controller controller concode_elem_sep boolean initialized concode_field_sep void handleEvent concode_elem_sep void fireEvent concode_elem_sep void fireEvent concode_ele... | void function ( ) { } |
12,643 | the default implementation only creates a new default project . clients may override if they want to contribute generatorspecific project setup concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep IGeneratorBridge bridge concode_elem_sep MessageConsoleStream error concode_elem_sep Injector injector concode_e... | void function ( IProject arg0 , GeneratorEntry arg1 ) { GeneratorUtils . createEmptyProject ( arg0 ) ; } |
12,644 | creates a new filtercolumn . valid values for the sortdirection are #asc , #desc when the @ see filter is persisted , a validation is made on the family and the key . they should point to a valid column description . concode_field_sep String DESC concode_elem_sep String sortDirection concode_elem_sep Set<String> DIRECT... | FilterColumn function ( String arg0 , String arg1 , String arg2 , boolean arg3 ) { return new FilterColumn ( arg0 , arg1 , arg2 , arg3 ) ; } |
12,645 | obtains the value of the specified option 's setting in the the given environment 's options map , adapting the environment as necessary to the customizable api . if not already set , return the option 's @linkplain option #getdefaultvalue default value . concode_field_sep Option<Boolean> USE_COMPARE_TO_OPERATION conco... | T function ( Environment < ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? > arg0 , Option < T > arg1 ) { Customizable loc0 = OCLUtil . getAdapter ( arg0 , Customizable . class ) ; if ( loc0 == null ) { loc0 = OCLUtil . getAdapter ( arg0 , BasicEnvironment . class ) ; } return loc0 . getValue ( arg1 ) ; } |
12,646 | writes len characters of str , starting at character offset , to the clob value that this clob represents . concode_field_sep ClobDataID clob concode_elem_sep boolean isClosed concode_elem_sep SessionInterface session concode_field_sep Writer setCharacterStream concode_elem_sep OutputStream setAsciiStream concode_elem_... | int function ( long arg0 , String arg1 , int arg2 , int arg3 ) { if ( ! isInLimits ( Long . MAX_VALUE , arg0 - 1 , arg3 ) ) { throw Util . outOfRangeArgument ( ) ; } try { return clob . setString ( session , arg0 - 1 , arg1 , arg2 , arg3 ) ; } catch ( HsqlException loc0 ) { throw Util . sqlException ( loc0 ) ; } } |
12,647 | will set the dateformat on the underlying defaultjobparametersconverter . if not set explicitly the dateformat will default to `` yyyy/mm/dd '' . concode_field_sep ExpandedJobParametersConverter jobParametersConverter concode_elem_sep String jobParametersAsJsonMap concode_elem_sep JobParameters jobParameters concode_fi... | void function ( DateFormat arg0 ) { this . jobParametersConverter . setDateFormat ( arg0 ) ; } |
12,648 | gets the value of the metainfo property . concode_field_sep MetaInfoType metaInfo concode_elem_sep Base64OptRefContentType content concode_field_sep void setMetaInfo concode_elem_sep void setContent concode_elem_sep Base64OptRefContentType getContent | MetaInfoType function ( ) { return metaInfo ; } |
12,649 | returns true , if the audio device is opened , false otherwise . concode_field_sep boolean opened concode_elem_sep PipedOutputStream audioDataOutputStream concode_elem_sep AudioDataInputStream audioDataInputStream concode_field_sep void play concode_elem_sep void setMute concode_elem_sep boolean isReady concode_elem_se... | boolean function ( ) { return opened ; } |
12,650 | user can change implementation of this method to handle some specific situations not covered by default logic . concode_field_sep DiagramStructure TYPED_INSTANCE concode_elem_sep String DEBUG_KEY concode_field_sep boolean checkNodeVisualID concode_elem_sep boolean checkNodeVisualID concode_elem_sep String getModelID co... | boolean function ( edu . toronto . cs . se . modelepedia . relationaldatabase_mavo . RelationalDatabase arg0 ) { return true ; } |
12,651 | returns a number which is unique compared to any number previously generated by this method . concode_field_sep PlaceHolder placeHolder concode_field_sep int random concode_elem_sep int random concode_elem_sep String uniqueGlobal concode_elem_sep String uniqueDeviceId | long function ( ) { return System . currentTimeMillis ( ) ; } |
12,652 | extension point for subclasses to calculate the filter count . defaults to the difference between input size and output size . concode_field_sep ItemProcessor<? super I,? extends O> itemProcessor concode_elem_sep MulticasterBatchListener<I,O> listener concode_elem_sep ItemWriter<? super O> itemWriter concode_field_sep ... | int function ( Chunk < I > arg0 , Chunk < O > arg1 ) { return ( Integer ) arg0 . getUserData ( ) - arg1 . size ( ) ; } |
12,653 | method declaration concode_field_sep boolean bIgnoreCase concode_elem_sep int[] iType concode_elem_sep int iLen concode_elem_sep char cLike[] concode_field_sep boolean compareAt concode_elem_sep String getStartsWith concode_elem_sep void normalize | boolean function ( Object arg0 ) { if ( arg0 == null ) { return iLen == 0 ; } String loc0 = arg0 . toString ( ) ; if ( bIgnoreCase ) { loc0 = loc0 . toUpperCase ( ) ; } return compareAt ( loc0 , 0 , 0 , loc0 . length ( ) ) ; } |
12,654 | sets data source . data source should be fully configured and ready-to-use . concode_field_sep Factory<DataSource> dataSrcFactory concode_elem_sep JdbcType[] types concode_elem_sep Object appCtx concode_elem_sep JdbcDialect dialect concode_elem_sep int DFLT_WRITE_ATTEMPTS concode_elem_sep int batchSizw concode_elem_sep... | CacheJdbcPojoStoreFactory < K , V > function ( DataSource arg0 ) { this . dataSrc = arg0 ; return this ; } |
12,655 | sets the outline stroke . concode_field_sep Paint shadowPaint concode_elem_sep double shadowXOffset concode_elem_sep double shadowYOffset concode_elem_sep Paint outlinePaint concode_elem_sep Stroke outlineStroke concode_elem_sep Paint backgroundPaint concode_elem_sep long serialVersionUID concode_elem_sep TextBlock tex... | void function ( final Stroke arg0 ) { this . outlineStroke = arg0 ; } |
12,656 | authenticate and receive eneity from the rest template . concode_field_sep RestTemplate restTemplate concode_elem_sep String authenticationUri concode_field_sep HttpHeaders createHeaders concode_elem_sep void setAuthenticationUri concode_elem_sep void setRestTemplate concode_elem_sep RestTemplate getRestTemplate concod... | ResponseEntity < SimplePrincipal > function ( final UsernamePasswordCredential arg0 ) { final HttpEntity < SimplePrincipal > loc0 = new HttpEntity < > ( createHeaders ( arg0 ) ) ; return restTemplate . exchange ( authenticationUri , HttpMethod . POST , loc0 , SimplePrincipal . class ) ; } |
12,657 | recycle processes an unneeded segment file for reuse . concode_field_sep long idBase concode_elem_sep int ENTRY_OVERHEAD_SIZE concode_elem_sep DataOutputStream bufferStream concode_elem_sep CommitLogDescriptor descriptor concode_elem_sep boolean needsSync concode_elem_sep Logger logger concode_elem_sep HashMap<UUID,Int... | CommitLogSegment function ( ) { buffer . position ( 0 ) ; buffer . putInt ( CommitLog . END_OF_SEGMENT_MARKER ) ; buffer . position ( 0 ) ; try { sync ( ) ; } catch ( FSWriteError loc0 ) { logger . error ( "srini_string" , this , loc0 . getMessage ( ) ) ; throw loc0 ; } close ( ) ; return new CommitLogSegment ( getPath... |
12,658 | returns a map containing the key-value pairs , where each key is the parameter name , and the value the expression to be inserted as parameter . concode_field_sep Map<String,Object> parameters concode_field_sep String register | Map < String , Object > function ( ) { return Collections . unmodifiableMap ( parameters ) ; } |
12,659 | can not map test . concode_field_sep BoneCpDatasourceAccessor accessor concode_elem_sep ComboPooledDataSource badSource concode_elem_sep BoneCPDataSource source concode_field_sep void canMapTest concode_elem_sep void getInfoTest concode_elem_sep void before | void function ( ) { Assert . assertFalse ( accessor . canMap ( badSource ) ) ; } |
12,660 | gets the value of the type property . concode_field_sep String address concode_elem_sep long serialVersionUID concode_elem_sep String type concode_field_sep void setAddress concode_elem_sep String getAddress concode_elem_sep void setType | String function ( ) { return type ; } |
12,661 | dependency injection for the port resolver . concode_field_sep String errorPage concode_elem_sep boolean useForward concode_elem_sep RequestCache requestCache concode_elem_sep AuthenticationTrustResolver authenticationTrustResolver concode_elem_sep String ajaxErrorPage concode_elem_sep PortResolver portResolver concode... | void function ( final PortResolver arg0 ) { portResolver = arg0 ; } |
12,662 | convert a byte array of length 4 beginning at offset into an integer . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] toByteArray concode_elem_sep byte[] toByteArray concode_elem_sep int[] toIntArray concode_elem_sep long OS2LIP concode_elem_sep byte[] I2OSP concode_elem_sep byte[] I2OSP concode_ele... | int function ( byte [ ] arg0 , int arg1 ) { int loc0 = ( arg0 [ arg1 ++ ] & 0xff ) << 24 ; loc0 |= ( arg0 [ arg1 ++ ] & 0xff ) << 16 ; loc0 |= ( arg0 [ arg1 ++ ] & 0xff ) << 8 ; loc0 |= arg0 [ arg1 ] & 0xff ; return loc0 ; } |
12,663 | sets the size of the internal buffer used to exchange data with the usb stack for read operations . most users should not need to change this . concode_field_sep Object mWriteBufferLock concode_elem_sep byte[] mWriteBuffer concode_elem_sep UsbDevice mDevice concode_elem_sep byte[] mReadBuffer concode_elem_sep int DEFAU... | void function ( int arg0 ) { synchronized ( mReadBufferLock ) { if ( arg0 == mReadBuffer . length ) { return ; } mReadBuffer = new byte [ arg0 ] ; } } |
12,664 | apply log file details to log_path and log_file system properties . concode_field_sep String path concode_elem_sep String file concode_elem_sep String PATH_PROPERTY concode_elem_sep String FILE_PROPERTY concode_field_sep void applyTo concode_elem_sep LogFile get concode_elem_sep String toString concode_elem_sep void pu... | void function ( ) { applyTo ( System . getProperties ( ) ) ; } |
12,665 | ensure that the component is currently loaded . concode_field_sep PlaceHolder placeHolder concode_field_sep void load concode_elem_sep void isLoaded | T function ( ) { try { isLoaded ( ) ; return ( T ) this ; } catch ( Error loc0 ) { load ( ) ; } isLoaded ( ) ; return ( T ) this ; } |
12,666 | consumer key of the application concode_field_sep String keyState concode_elem_sep String consumerSecret concode_elem_sep TokenDTO token concode_elem_sep String consumerKey concode_elem_sep List<String> supportedGrantTypes concode_elem_sep KeyTypeEnum keyType concode_field_sep KeyTypeEnum getKeyType concode_elem_sep St... | String function ( ) { return consumerKey ; } |
12,667 | returns the bundle context of this bundle concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void stop concode_elem_sep void start | BundleContext function ( ) { return context ; } |
12,668 | this function returns the entry in the table located at row , column . concode_field_sep int numRows concode_elem_sep String title concode_elem_sep int numColumns concode_elem_sep ArrayList<String> columnHeadings concode_elem_sep ArrayList<ArrayList<String>> rows concode_field_sep void addColumn concode_elem_sep String... | String function ( int arg0 , int arg1 ) { ExceptionUtility . verifyLessThan ( arg0 , this . numRows ) ; ExceptionUtility . verifyLessThan ( arg1 , this . numColumns ) ; ExceptionUtility . verifyNonNegative ( arg0 ) ; ExceptionUtility . verifyNonNegative ( arg1 ) ; return this . rows . get ( arg0 ) . get ( arg1 ) ; } |
12,669 | returns the tree properties of forge concode_field_sep TreeProperties properties concode_field_sep String getProperty concode_elem_sep String getProperty concode_elem_sep String getLocalized concode_elem_sep String getLocalized concode_elem_sep File getFile concode_elem_sep File getFile | TreeProperties function ( ) { return properties ; } |
12,670 | sets permission . concode_field_sep long blocksize concode_elem_sep String owner concode_elem_sep Path path concode_elem_sep long length concode_elem_sep Path symlink concode_elem_sep FsPermission permission concode_elem_sep long modification_time concode_elem_sep boolean isdir concode_elem_sep short block_replication ... | void function ( FsPermission arg0 ) { this . permission = ( arg0 == null ) ? FsPermission . getFileDefault ( ) : arg0 ; } |
12,671 | getter method for the startdate concode_field_sep String campaignContents concode_elem_sep List<CampaignVO> circleNameList concode_elem_sep boolean editCapability concode_elem_sep int campaignId concode_elem_sep String circleName concode_elem_sep String description concode_elem_sep String campaignName concode_elem_sep ... | String function ( ) { return startDate ; } |
12,672 | information about the device pool 's rules . concode_field_sep String name concode_elem_sep String description concode_elem_sep java.util.List<Rule> rules concode_elem_sep String arn concode_elem_sep String type concode_field_sep void setName concode_elem_sep DevicePool withRules concode_elem_sep DevicePool withRules c... | java . util . List < Rule > function ( ) { return rules ; } |
12,673 | getter for #indexes . the list can not be modified . concode_field_sep String authorization concode_elem_sep List<PgFunction> functions concode_elem_sep List<PgTable> tables concode_elem_sep List<PgConstraint> primaryKeys concode_elem_sep List<PgIndex> indexes concode_elem_sep String name concode_elem_sep String defini... | List < PgIndex > function ( ) { return Collections . unmodifiableList ( indexes ) ; } |
12,674 | gets the value given the key . note that it does not work with hash values or list values concode_field_sep List<String> serverAddresses concode_elem_sep int keyExpiryTime concode_elem_sep Logger LOG concode_elem_sep SockIOPool pool concode_elem_sep MemCachedClient memcacheClient concode_field_sep void disconnect conco... | Object function ( Object arg0 ) { return memcacheClient . get ( arg0 . toString ( ) ) ; } |
12,675 | fast forwards the count-down to zero and returns true iff the count down reached zero with this fast forward call otherwise false concode_field_sep int originalCount concode_elem_sep AtomicInteger countDown concode_field_sep boolean isCountedDown concode_elem_sep boolean countDown | boolean function ( ) { assert originalCount > 0 ; assert countDown . get ( ) >= 0 ; return countDown . getAndSet ( 0 ) > 0 ; } |
12,676 | reset the tupledesc of the tuple concode_field_sep TupleDesc m_td concode_elem_sep RecordId m_rid concode_elem_sep long serialVersionUID concode_elem_sep Field[] m_fields concode_field_sep void setRecordId concode_elem_sep void setField concode_elem_sep RecordId getRecordId concode_elem_sep Field getField concode_elem_... | void function ( TupleDesc arg0 ) { if ( ! ( arg0 instanceof TupleDesc ) ) throw new IllegalArgumentException ( "srini_string" ) ; if ( arg0 . numFields ( ) < 1 ) throw new IllegalArgumentException ( "srini_string" ) ; m_td = arg0 ; m_fields = new Field [ arg0 . numFields ( ) ] ; } |
12,677 | returns true if this is the original media concode_field_sep boolean original concode_elem_sep String[] emphasisLabels concode_elem_sep File mp3 concode_elem_sep String[] versionLabels concode_elem_sep int MPEG_L_3 concode_elem_sep int MPEG_L_2 concode_elem_sep int MPEG_L_1 concode_elem_sep int HEADER_SIZE concode_elem... | boolean function ( ) { return original ; } |
12,678 | removes the ve sinh cong trinh with the primary key from the database . also notifies the appropriate model listeners . concode_field_sep VeSinhCongTrinhPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep List<VeSinhCongTrinh> find... | vn . dtt . sol . ns . vesinhmoitruong . dao . model . VeSinhCongTrinh function ( int arg0 ) { return getPersistence ( ) . remove ( arg0 ) ; } |
12,679 | removes all elements from this queue and adds them to the given collection . concode_field_sep int maxCapacity concode_elem_sep AtomicInteger writeBehindQueueItemCounter concode_elem_sep WriteBehindQueue<E> queue concode_field_sep void addLast concode_elem_sep boolean contains concode_elem_sep int size concode_elem_sep... | int function ( Collection < E > arg0 ) { int loc0 = queue . drainTo ( arg0 ) ; addCapacity ( - loc0 ) ; return loc0 ; } |
12,680 | returns the user id of this entry . concode_field_sep Entry _entry 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 concode_elem_sep boolean isCache... | long function ( ) { return _entry . getUserId ( ) ; } |
12,681 | sets the value of the align property . concode_field_sep Layout layout concode_elem_sep String path concode_elem_sep String flavour concode_elem_sep String name concode_elem_sep Boolean bindClickToWidget concode_elem_sep Label label concode_elem_sep Widgetinfo widgetinfo concode_elem_sep String activeScope concode_elem... | void function ( String arg0 ) { this . align = arg0 ; } |
12,682 | define the damage type as projectile based . concode_field_sep DamageSource outOfWorld concode_elem_sep boolean fireDamage concode_elem_sep boolean magicDamage concode_elem_sep DamageSource fall concode_elem_sep DamageSource anvil concode_elem_sep DamageSource inWall concode_elem_sep boolean difficultyScaled concode_el... | DamageSource function ( ) { this . projectile = true ; return this ; } |
12,683 | gets the value of the animone property . concode_field_sep CTResizeHandles resizeHandles concode_elem_sep CTOrgChart orgChart concode_elem_sep CTChildPref chPref concode_elem_sep CTHierBranchStyle hierBranch concode_elem_sep CTAnimLvl animLvl concode_elem_sep CTChildMax chMax concode_elem_sep CTDirection dir concode_el... | CTAnimOne function ( ) { return animOne ; } |
12,684 | returns a module which creates bindings for provider methods from the given module . concode_field_sep Object delegate concode_elem_sep TypeLiteral<?> typeLiteral concode_field_sep Key<T> getKey concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Module forObject concode_elem_sep void configu... | Module function ( Module arg0 ) { return forObject ( arg0 ) ; } |
12,685 | sets the value of the return property . concode_field_sep SExtendedDataSchema _return concode_field_sep SExtendedDataSchema getReturn | void function ( SExtendedDataSchema arg0 ) { this . _return = arg0 ; } |
12,686 | resets the valuechange effect to fire when the current response is completed . concode_field_sep Log logger concode_elem_sep Effect valueChangeEffect concode_field_sep void init concode_elem_sep SelectItem buildSelectItem concode_elem_sep void setValueChangeEffect concode_elem_sep String convertToString concode_elem_se... | void function ( ValueChangeEvent arg0 ) { valueChangeEffect . setFired ( false ) ; } |
12,687 | performs a dynamic query on the database and returns the matching rows . concode_field_sep RepositoryEntryLocalService _repositoryEntryLocalService concode_field_sep com.liferay.portal.model.RepositoryEntry getRepositoryEntry concode_elem_sep int getRepositoryEntriesCount concode_elem_sep RepositoryEntryLocalService ge... | java . util . List function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _repositoryEntryLocalService . arg0 ( arg0 ) ; } |
12,688 | set the border color of the tooltip . concode_field_sep int mTextResId concode_elem_sep boolean mShowBorder concode_elem_sep long mAnimationDuration concode_elem_sep int mTipArcSize concode_elem_sep int mBorderColor concode_elem_sep int mHorizontalPadding concode_elem_sep int mBorderRadius concode_elem_sep View mConten... | ToolTip function ( int arg0 ) { mBorderColor = arg0 ; return this ; } |
12,689 | adds a newline to the graph 's source . concode_field_sep String TEMP_DIR concode_elem_sep StringBuilder graph concode_elem_sep String DOT concode_field_sep void add concode_elem_sep byte[] getGraph concode_elem_sep int writeGraphToFile concode_elem_sep int writeGraphToFile concode_elem_sep String start_graph concode_e... | void function ( ) { } |
12,690 | it adds an extra method to execute concode_field_sep Set<Class<? extends Annotation>> excludedAnnotations concode_elem_sep Map<Class<?>,Set<String>> excludedFields concode_elem_sep Map<Class<?>,List<Method>> extraMethods concode_field_sep AbstractClassInfoStrategy removeExcludedAnnotation concode_elem_sep ClassInfo get... | AbstractClassInfoStrategy function ( Class < ? > arg0 , String arg1 , Class < ? > ... arg2 ) { Method loc0 = arg0 . getMethod ( arg1 , arg2 ) ; List < Method > loc1 = extraMethods . get ( arg0 ) ; if ( loc1 == null ) { loc1 = new ArrayList < Method > ( ) ; extraMethods . put ( arg0 , loc1 ) ; } loc1 . add ( loc0 ) ; re... |
12,691 | insert a new bindingadapter at the specified index concode_field_sep Set changeListeners concode_elem_sep int COUNT concode_elem_sep List bindings concode_field_sep void add concode_elem_sep List getAll concode_elem_sep void refresh concode_elem_sep BindingAdapter getFirstUnbound concode_elem_sep void moveDown concode_... | void function ( BindingAdapter arg0 , int arg1 ) { bindings . add ( arg1 , arg0 ) ; Iterator loc0 = changeListeners . loc0 ( ) ; while ( loc0 . hasNext ( ) ) ( ( IBindingListViewer ) loc0 . next ( ) ) . insertBinding ( arg0 , arg1 ) ; } |
12,692 | gets the value of the ref property . concode_field_sep String ref concode_elem_sep String name concode_elem_sep List<AttributeType> attributes concode_field_sep void setName concode_elem_sep List<AttributeType> getAttributes concode_elem_sep String getName concode_elem_sep void setRef | String function ( ) { return ref ; } |
12,693 | does nothing . callback function called when arriving an ack method call confirmed concode_field_sep PlaceHolder placeHolder concode_field_sep void onCallModifying concode_elem_sep void onCallTransfer concode_elem_sep void onCallAccepted concode_elem_sep void onCallClosed concode_elem_sep void onCallTransferSuccess con... | void function ( Call arg0 , String arg1 , Message arg2 ) { } |
12,694 | sets the swagger parameter list of allowable values enum . concode_field_sep String arrayType concode_elem_sep List<String> allowableValues concode_elem_sep String access concode_elem_sep String defaultValue concode_elem_sep String dataType concode_elem_sep VerbDefinition verb concode_elem_sep String name concode_elem_... | void function ( List < String > arg0 ) { this . allowableValues = arg0 ; } |
12,695 | gets the value of the epsobjectid property . concode_field_sep Date date concode_elem_sep String epsId concode_elem_sep Double benefitPlan concode_elem_sep Date lastUpdateDate concode_elem_sep String lastUpdateUser concode_elem_sep String createUser concode_elem_sep Double spendingPlan concode_elem_sep Integer epsObjec... | Integer function ( ) { return epsObjectId ; } |
12,696 | sets new drawtype . concode_field_sep Integer linkid concode_elem_sep String color concode_elem_sep List<MapLinkTriggerObject> linktriggers concode_elem_sep Integer drawtype concode_elem_sep String label concode_elem_sep Integer selementid1 concode_elem_sep int value concode_elem_sep Integer selementid2 concode_elem_se... | void function ( Integer arg0 ) { this . drawtype = arg0 ; } |
12,697 | return the number of moves taken on this board . concode_field_sep int boardWidth concode_elem_sep int boardHeight concode_elem_sep MoveList moves concode_elem_sep long serialVersionUID concode_elem_sep Piece[][] board concode_field_sep Boolean checkmate concode_elem_sep Boolean checkmate concode_elem_sep Piece getPiec... | int function ( ) { return moves . size ( ) ; } |
12,698 | get login history concode_field_sep Logger logger concode_field_sep UserDAO findUser concode_elem_sep void updateUserOTPCode concode_elem_sep UserDAO getGroupManager concode_elem_sep UserDAO loginUserCount concode_elem_sep List<UserDAO> getLiveAllUser concode_elem_sep void updateUserData concode_elem_sep UserDAO login ... | List < UserLoginHistoryDAO > function ( String arg0 ) { SqlMapClient loc0 = TadpoleSQLManager . getInstance ( TadpoleSystemInitializer . getUserDB ( ) ) ; return ( List < UserLoginHistoryDAO > ) loc0 . queryForList ( "srini_string" , arg0 ) ; } |
12,699 | obtains the appropriate context for the test . can be overriden by enrichers for each container to provide the correct context . concode_field_sep String ANNOTATION_NAME concode_elem_sep String RESOURCE_LOOKUP_PREFIX concode_elem_sep Instance<Context> contextInst concode_elem_sep Logger log concode_field_sep boolean sh... | Context function ( ) { return contextInst . get ( ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.