idx
int64
0
25k
question
stringlengths
71
7.19k
target
stringlengths
20
663
2,000
adds view to cache . determines view type item view or empty one by index . concode_field_sep WheelView wheel concode_elem_sep List<View> emptyItems concode_elem_sep List<View> items concode_field_sep int recycleItems concode_elem_sep View getCachedView concode_elem_sep View getItem concode_elem_sep List<View> addView ...
void function ( View arg0 , int arg1 ) { int loc0 = wheel . getViewAdapter ( ) . getItemsCount ( ) ; if ( ( arg1 < 0 || arg1 >= loc0 ) && ! wheel . isCyclic ( ) ) { emptyItems = addView ( arg0 , emptyItems ) ; } else { while ( arg1 < 0 ) { arg1 = loc0 + arg1 ; } arg1 %= loc0 ; items = addView ( arg0 , items ) ; } }
2,001
does the given event match the filter ? concode_field_sep ThreadId _tid concode_field_sep ThreadId getThread
boolean function ( Event arg0 ) { Object loc0 = arg0 . getParameter ( Event . EVENT_THREAD ) ; if ( loc0 != null ) { Thread loc1 = ( Thread ) loc0 ; Thread loc2 = ( Thread ) _tid . getReference ( ) . get ( ) ; return ( loc1 == loc2 ) ; } return false ; }
2,002
converts a integer into its hexadecimal notation . concode_field_sep String _hex concode_elem_sep int m_default concode_elem_sep DatagramSocket m_socket concode_elem_sep Random m_rand concode_elem_sep int _num concode_elem_sep long m_start concode_elem_sep InetSocketAddress m_address concode_field_sep int parseInt conc...
String function ( int arg0 , boolean arg1 ) { String loc0 = Integer . toHexString ( arg0 ) ; if ( arg1 ) { loc0 = "srini_string" + loc0 ; int loc1 = loc0 . length ( ) ; loc0 = loc0 . substring ( loc1 - 8 , loc1 ) ; } return loc0 ; }
2,003
not used currently . concode_field_sep Request request concode_elem_sep String SMS_DEFAULT_MILLISECONDS_BETWEEN_MESSAGES concode_elem_sep Integer millisecondsBetweenMessages concode_elem_sep Integer defaultMaxRecipient concode_elem_sep String recipientSeparator concode_elem_sep String SMS_DEFAULT_RECIPIENT_SEPARATOR co...
Boolean function ( ) { return exponentialBackOffRetries ; }
2,004
computes a seed that would initialize a java.util.random object with a given state . concode_field_sep long A_INVERSE concode_elem_sep long A concode_elem_sep long C concode_field_sep void checkPrime concode_elem_sep long getState concode_elem_sep long getSeedFor concode_elem_sep long getStateForSeed concode_elem_sep l...
long function ( long arg0 ) { return arg0 ^ A ; }
2,005
synonym for geturl . concode_field_sep String description concode_elem_sep String dataSourceName concode_elem_sep String password concode_elem_sep String serverName concode_elem_sep int loginTimeout concode_elem_sep String user concode_elem_sep String networkProtocol concode_elem_sep PrintWriter logWriter concode_elem_...
String function ( ) { return url ; }
2,006
decode an image using the state set up by calling sethints previously . continuous scan clients will get a large speed increase by using this instead of decode . concode_field_sep Reader[] readers concode_elem_sep Map<DecodeHintType,?> hints concode_field_sep Result decodeInternal concode_elem_sep void reset concode_el...
Result function ( BinaryBitmap arg0 ) { if ( readers == null ) { setHints ( null ) ; } return decodeInternal ( arg0 ) ; }
2,007
tests that the concurrency on a singleton bean with lock type read works as expected concode_field_sep ReadOnlySingletonBean readOnlySingletonBean concode_elem_sep Logger log concode_elem_sep LongWritesSingletonBean longWritesSingletonBean concode_elem_sep int num concode_elem_sep ReadOnlySingletonBeanDescriptorWithExp...
void function ( ) { testReadOnlySingleton ( readOnlySingletonBean ) ; }
2,008
returns the top gutter black bar y in screen coordinates . concode_field_sep Vector3 tmp concode_elem_sep float worldWidth concode_elem_sep int screenWidth concode_elem_sep float worldHeight concode_elem_sep int screenHeight concode_elem_sep Camera camera concode_elem_sep int screenX concode_elem_sep int screenY concod...
int function ( ) { return screenY + screenHeight ; }
2,009
set the blojsomconfiguration instance that will be used to configure the handlers concode_field_sep int AUTHORIZATION_EXCEPTION concode_elem_sep String UNKNOWN_EXCEPTION_MSG concode_elem_sep HttpServletRequest _httpServletRequest concode_elem_sep int UNSUPPORTED_EXCEPTION concode_elem_sep Blog _blog concode_elem_sep Au...
void function ( BlojsomConfiguration arg0 ) { _configuration = arg0 ; }
2,010
returns the precision . concode_field_sep int MAX_PRECISION concode_elem_sep int precision concode_elem_sep int scale concode_field_sep ValueBuilder<?,?,?> toDatastore concode_elem_sep Object toModel concode_elem_sep int getScale
int function ( ) { return precision ; }
2,011
the type of player concode_field_sep String macAddress concode_elem_sep String name concode_elem_sep String model concode_elem_sep String uuid concode_elem_sep String ipAddr concode_field_sep void setName concode_elem_sep String getMacAddress concode_elem_sep String getName concode_elem_sep String getIpAddr concode_ele...
String function ( ) { return model ; }
2,012
the slope override converter returns true if the slope found from ned is should be ignored for instance , on bridges and tunnels concode_field_sep SimpleFeatureConverter<P2<Double>> bicycleSafetyConverter concode_elem_sep SimpleFeatureConverter<P2<StreetTraversalPermission>> permissionConverter concode_elem_sep SimpleF...
void function ( SimpleFeatureConverter < Boolean > arg0 ) { this . slopeOverrideConverter = arg0 ; }
2,013
gets the ending offset . concode_field_sep long endOffset concode_elem_sep long startOffset concode_field_sep void setEndOffset concode_elem_sep void setStartOffset concode_elem_sep long getStartOffset concode_elem_sep String toString
long function ( ) { return this . endOffset ; }
2,014
returns an enumerator that iterates through the collection . concode_field_sep List<Map<PropertyDefinitionBase,SortDirection>> propDefSortOrderPairList concode_field_sep void add concode_elem_sep boolean contains concode_elem_sep Iterator<Map<PropertyDefinitionBase,SortDirection>> iterator concode_elem_sep boolean tryG...
Iterator < Map < PropertyDefinitionBase , SortDirection >> function ( ) { return ( this . propDefSortOrderPairList . iterator ( ) ) ; }
2,015
converts a sequence of unicode code points to a sequence of java characters . concode_field_sep char lastTrailingHighSurrogate concode_elem_sep int offset concode_elem_sep int length concode_elem_sep char[] buffer concode_field_sep CharacterBuffer newCharacterBuffer concode_elem_sep int toCodePoints concode_elem_sep ch...
int function ( int [ ] arg0 , int arg1 , int arg2 , char [ ] arg3 , int arg4 ) { if ( arg2 < 0 ) { throw new IllegalArgumentException ( "srini_string" ) ; } int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg2 ; ++ loc1 ) { loc0 += Character . toChars ( arg0 [ arg1 + loc1 ] , arg3 , arg4 + loc0 ) ; } return loc0 ; }
2,016
create an instance of jaxbelement concode_field_sep QName _Webservices_QNAME concode_elem_sep QName _FacesConfig_QNAME concode_elem_sep QName _EjbRelationTypeEjbRelationshipRole_QNAME concode_elem_sep QName _JavaWsdlMapping_QNAME concode_elem_sep QName _EjbRelationTypeEjbRelationName_QNAME concode_elem_sep QName _TldTa...
JAXBElement < TldTaglib > function ( final TldTaglib arg0 ) { return new JAXBElement < TldTaglib > ( _TldTaglib_QNAME , TldTaglib . class , null , arg0 ) ; }
2,017
converts coordinates from second space to first space . concode_field_sep double s_y_inv concode_elem_sep double env2[] concode_elem_sep double env1[] concode_elem_sep double s_y concode_elem_sep double s_x concode_elem_sep double s_x_inv concode_field_sep Coordinate transform concode_elem_sep Coordinate transform conc...
Coordinate function ( Coordinate arg0 , Coordinate arg1 ) { arg1 . x = ( arg0 . x - env2 [ 0 ] ) * s_x_inv + env1 [ 0 ] ; arg1 . y = ( arg0 . y - env2 [ 2 ] ) * s_y_inv + env1 [ 2 ] ; return arg1 ; }
2,018
search for the first occurrence of the literal string p within s and return the integer index of its first character , or -1 if it does not occur . concode_field_sep Map<String,Matcher> matchers concode_field_sep String stringReplace concode_elem_sep boolean match concode_elem_sep long[] matchPositions concode_elem_sep...
long function ( final String arg0 , final String arg1 ) { return arg1 . indexOf ( arg0 ) ; }
2,019
gets the value of the rval property . concode_field_sep ProductPackagePage rval concode_field_sep void setRval
ProductPackagePage function ( ) { return rval ; }
2,020
verifies that queue is initially filled to `` numinitvalues '' concode_field_sep int num concode_elem_sep LinkedBlockingQueue<FillInfo> fillCalls concode_elem_sep String key concode_field_sep void testWarmUp concode_elem_sep void testgetAtMostPolicyLOW_WATERMARK concode_elem_sep void testRefill concode_elem_sep FillInf...
void function ( ) { MockFiller loc0 = new MockFiller ( ) ; ValueQueue < String > loc1 = new ValueQueue < String > ( 10 , 0.1f , 300 , 1 , SyncGenerationPolicy . ALL , loc0 ) ; Assert . assertEquals ( "srini_string" , loc1 . getNext ( "srini_string" ) ) ; Assert . assertEquals ( 1 , loc0 . getTop ( ) . num ) ; loc1 . sh...
2,021
get this node 's flex direction , as defined by style . concode_field_sep CSSNode mParent concode_elem_sep CSSNode nextAbsoluteChild concode_elem_sep CSSStyle style concode_elem_sep ArrayList<CSSNode> mChildren concode_elem_sep int lineIndex concode_elem_sep MeasureFunction mMeasureFunction concode_elem_sep CachedCSSLa...
CSSFlexDirection function ( ) { return style . flexDirection ; }
2,022
debug log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void setLogLevel concode_elem_sep void setLogLevel concode_elem_sep void e conco...
void function ( String arg0 , String arg1 ) { if ( LOG . DEBUG >= LOGLEVEL ) Log . d ( arg0 , arg1 ) ; }
2,023
calculates the body surface area of a patient as a function of height and weight according to the dubois method . dubois et al , a formula to estimate the approximate surface area if height and weight be known , arch . inter . med . 17 , 863-871 1916 cited in icrp 23 , reference man concode_field_sep BSA DUBOIS concode...
double function ( double arg0 , double arg1 ) { return 0.007184 * Math . pow ( arg0 , 0.425 ) * Math . pow ( 100 * arg1 , 0.725 ) ; }
2,024
get a property value as a string array . concode_field_sep String PLACEHOLDER_START concode_field_sep int getInt concode_elem_sep Properties maskOut concode_elem_sep String extractPropertyValue concode_elem_sep Map toMap concode_elem_sep Map clone concode_elem_sep void resolvePlaceHolders concode_elem_sep boolean getBo...
String [ ] function ( String arg0 , String arg1 , Properties arg2 ) { return toStringArray ( extractPropertyValue ( arg0 , arg2 ) , arg1 ) ; }
2,025
tear down the rescource connection concode_field_sep String bmxUrl concode_elem_sep Log log concode_elem_sep Pattern typePattern concode_elem_sep String DEFAULT_BMX_HANDLER_URL concode_elem_sep String vHost concode_field_sep String getBmxUrl concode_elem_sep AvailabilityType getAvailability concode_elem_sep Map<String,...
void function ( ) { }
2,026
converts the string we got from the radio to a parsable xml document concode_field_sep Logger logger concode_elem_sep Document xmlDoc concode_field_sep String getCharacterDataFromElement concode_elem_sep boolean getValueU8AsBoolean concode_elem_sep boolean isStatusOk concode_elem_sep int getValueU32AsInt concode_elem_s...
Document function ( String arg0 ) { final DocumentBuilderFactory loc0 = DocumentBuilderFactory . newInstance ( ) ; final DocumentBuilder loc1 = loc0 . newDocumentBuilder ( ) ; final Document loc2 = loc1 . parse ( new InputSource ( new StringReader ( arg0 ) ) ) ; return loc2 ; }
2,027
returns a range of all the kaleo conditions . 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...
java . util . List < com . liferay . portal . workflow . kaleo . model . KaleoCondition > function ( int arg0 , int arg1 ) { return _kaleoConditionLocalService . getKaleoConditions ( arg0 , arg1 ) ; }
2,028
asserts that two objects do not refer to the same object . if they do refer to the same object an assertionfailederror is thrown . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertNotEmpty concode_elem_sep void assertNotEmpty concode_elem_sep void failNotSame concode_elem_sep void assertFalse conc...
void function ( Object arg0 , Object arg1 ) { assertNotSame ( null , arg0 , arg1 ) ; }
2,029
applies this function partially to 6 arguments . concode_field_sep PlaceHolder placeHolder concode_field_sep Function7<T1,T2,T3,T4,T5,T6,T7,Try<R>> liftTry concode_elem_sep int arity concode_elem_sep Function7<T1,T2,T3,T4,T5,T6,T7,R> constant concode_elem_sep Function7<T1,T2,T3,T4,T5,T6,T7,R> of concode_elem_sep Functi...
Function1 < T7 , R > function ( T1 arg0 , T2 arg1 , T3 arg2 , T4 arg3 , T5 arg4 , T6 arg5 ) { return ( T7 loc0 ) -> apply ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , loc0 ) ; }
2,030
check if disk block manager has a block . concode_field_sep PlaceHolder placeHolder concode_field_sep scala.collection.Seq<org.apache.spark.storage.BlockId> getAllBlocks concode_elem_sep int subDirsPerLocalDir concode_elem_sep java.io.File[] localDirs concode_elem_sep void stop concode_elem_sep scala.collection.Seq<jav...
boolean function ( org . apache . spark . storage . BlockId arg0 ) { throw new RuntimeException ( ) ; }
2,031
this will place action points into the oil science upgrade concode_field_sep int mOilDrilling concode_elem_sep int mFossilSci concode_elem_sep int mNuclearSci concode_elem_sep int mRenewableSci concode_elem_sep int mOilSci concode_elem_sep int mNuclearEng concode_elem_sep int mFossilEng concode_elem_sep int mRenewableE...
void function ( int arg0 ) { mOilSci += arg0 ; }
2,032
create a new objectid instance using this protocol . concode_field_sep PlaceHolder placeHolder concode_field_sep ObjectID stringToObject concode_elem_sep ObjectID stringWithoutProtocolToObject concode_elem_sep String getProtocol concode_elem_sep String getDescription
ObjectID function ( ) { return new UUID ( java . util . UUID . randomUUID ( ) ) ; }
2,033
remove this object from the two render groups it is registered with . concode_field_sep List<AuctionItemBean> auctionItems concode_elem_sep String AUCTION_RENDER_GROUP concode_elem_sep String TIME_LEFT_COLUMN concode_elem_sep boolean isDescending concode_elem_sep Logger logger concode_elem_sep String ITEM_NAME_COLUMN c...
void function ( ) { PushRenderer . removeCurrentView ( AUCTION_RENDER_GROUP ) ; PushRenderer . removeCurrentView ( IntervalPushRenderer . INTERVAL_RENDER_GROUP ) ; }
2,034
set the message source . concode_field_sep boolean exceptionIfInvalid concode_elem_sep Log logger concode_elem_sep Resource resource concode_elem_sep T configuration concode_elem_sep Validator validator concode_elem_sep MessageSource messageSource concode_elem_sep Class<?> type concode_elem_sep Map<Class<?>,Map<String,...
void function ( MessageSource arg0 ) { this . messageSource = arg0 ; }
2,035
get the label for a certain kind of flow statement . concode_field_sep Label breakLabel concode_elem_sep Optional<LoopLabels> ABSENT concode_elem_sep Label continueLabel concode_field_sep Optional<LoopLabels> of
Label function ( Kind arg0 ) { switch ( arg0 ) { case BREAK : return breakLabel ; case CONTINUE : return continueLabel ; default : throw new Error ( "srini_string" + arg0 ) ; } }
2,036
tells the operands to use the alternate code concode_field_sep boolean valid concode_elem_sep ParseItem parent concode_elem_sep boolean volatileFunction concode_elem_sep ParseContext parseContext concode_elem_sep boolean alternateCode concode_elem_sep Logger logger concode_field_sep void columnRemoved concode_elem_sep ...
void function ( ) { alternateCode = true ; }
2,037
return all sections of this memory . concode_field_sep SegmentMonitor mm concode_elem_sep long address concode_elem_sep int size concode_elem_sep byte[] oldMem concode_elem_sep boolean DEBUG concode_elem_sep Logger logger concode_elem_sep Map<String,MemoryInterface> sections concode_elem_sep ArrayList<PolledMemorySegme...
Map < String , MemoryInterface > function ( ) { return sections ; }
2,038
a new method that interrupts the worker thread . call this method to force the worker to stop what it 's doing . concode_field_sep Thread thread concode_elem_sep Object value concode_elem_sep ThreadVar threadVar concode_field_sep Object getValue concode_elem_sep Thread get concode_elem_sep Object get concode_elem_sep v...
void function ( ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 != null ) { loc0 . interrupt ( ) ; } threadVar . clear ( ) ; }
2,039
collection of player session objects created for the added players . concode_field_sep java.util.List<PlayerSession> playerSessions concode_field_sep int hashCode concode_elem_sep CreatePlayerSessionsResult withPlayerSessions concode_elem_sep CreatePlayerSessionsResult withPlayerSessions concode_elem_sep boolean equals...
void function ( java . util . Collection < PlayerSession > arg0 ) { if ( arg0 == null ) { this . playerSessions = null ; return ; } this . playerSessions = new java . util . ArrayList < PlayerSession > ( arg0 ) ; }
2,040
the default policy version id . concode_field_sep String policyArn concode_elem_sep String policyDocument concode_elem_sep String defaultVersionId concode_elem_sep String policyName concode_field_sep void setPolicyName concode_elem_sep void setPolicyArn concode_elem_sep String getPolicyDocument concode_elem_sep String ...
GetPolicyResult function ( String arg0 ) { setDefaultVersionId ( arg0 ) ; return this ; }
2,041
sets a listener for the end of this element . concode_field_sep String localName concode_elem_sep Element parent concode_elem_sep ArrayList<Element> requiredChilden concode_elem_sep int depth concode_elem_sep Children children concode_elem_sep EndElementListener endElementListener concode_elem_sep EndTextElementListene...
void function ( EndElementListener arg0 ) { if ( this . endElementListener != null ) { throw new IllegalStateException ( "srini_string" ) ; } this . endElementListener = arg0 ; }
2,042
getter for the test application id . concode_field_sep Map<String,JSONObject> appTestAccounts concode_elem_sep String testApplicationId concode_elem_sep String LOG_TAG concode_elem_sep String testApplicationSecret concode_field_sep String getTestApplicationSecret concode_elem_sep String getAppAccessToken concode_elem_s...
String function ( ) { return testApplicationId ; }
2,043
unset the current cursor tool concode_field_sep boolean isMouseDown concode_elem_sep CursorTool cursorTool concode_elem_sep SwtMapPane mapPane concode_elem_sep Set<MapMouseListener> listeners concode_field_sep void mouseScrolled concode_elem_sep void mouseMove concode_elem_sep void mouseDown concode_elem_sep MapMouseEv...
void function ( ) { listeners . remove ( cursorTool ) ; cursorTool = null ; }
2,044
creates a new xmlpullparser to allow for the kml file to be parsed concode_field_sep KmlRenderer mRenderer concode_field_sep Iterable<KmlContainer> getContainers concode_elem_sep Iterable<KmlGroundOverlay> getGroundOverlays concode_elem_sep boolean hasPlacemarks concode_elem_sep Iterable<KmlPlacemark> getPlacemarks con...
XmlPullParser function ( InputStream arg0 ) { XmlPullParserFactory loc0 = XmlPullParserFactory . newInstance ( ) ; loc0 . setNamespaceAware ( true ) ; XmlPullParser loc1 = loc0 . newPullParser ( ) ; loc1 . setInput ( arg0 , null ) ; return loc1 ; }
2,045
returns internal regular expression syntax flag value see regexpflag #value concode_field_sep int maxDeterminizedStates concode_elem_sep int flagsValue concode_elem_sep ParseField FLAGS_VALUE concode_elem_sep ObjectParser<Builder,ParseFieldMatcherSupplier> PARSER concode_elem_sep int flagsValue concode_elem_sep ParseFi...
int function ( ) { return flagsValue ; }
2,046
specifies the daily snapshot options specified for the elasticsearch domain . concode_field_sep SnapshotOptions options concode_elem_sep OptionStatus status concode_field_sep SnapshotOptionsStatus withStatus concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep SnapshotOptionsStatus clone conco...
SnapshotOptionsStatus function ( SnapshotOptions arg0 ) { setOptions ( arg0 ) ; return this ; }
2,047
returns the argument types of the method described by this object . concode_field_sep String name concode_elem_sep Map DESCRIPTORS concode_elem_sep String desc concode_field_sep String getDescriptor concode_elem_sep String getName concode_elem_sep Type getReturnType concode_elem_sep int hashCode concode_elem_sep boolea...
Type [ ] function ( ) { return Type . getArgumentTypes ( desc ) ; }
2,048
shuts down this cardmatchvoice . concode_field_sep Synthesizer synthesizer concode_field_sep String getProperty concode_elem_sep void speak
void function ( ) { if ( synthesizer != null ) { try { synthesizer . deallocate ( ) ; } catch ( Exception loc0 ) { loc0 . printStackTrace ( ) ; } } }
2,049
cancels all requests in this queue for which the given filter applies . 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 Res...
void function ( RequestFilter arg0 ) { synchronized ( mCurrentRequests ) { for ( Request < ? > loc0 : mCurrentRequests ) { if ( arg0 . apply ( loc0 ) ) { loc0 . cancel ( ) ; } } } }
2,050
injects the reactor in this channel . concode_field_sep ChannelHandler handler concode_elem_sep Map<SelectableChannel,Queue<Object>> channelToPendingWrites concode_elem_sep NioReactor reactor concode_elem_sep SelectableChannel channel concode_field_sep void bind concode_elem_sep Object read concode_elem_sep void flush ...
void function ( NioReactor arg0 ) { this . reactor = arg0 ; }
2,051
returns an id that is unique for this suffix . concode_field_sep String suffixDN concode_elem_sep Set<ReplicaDescriptor> replicas concode_field_sep void setReplicas concode_elem_sep Set<ReplicaDescriptor> getReplicas concode_elem_sep int hashCode concode_elem_sep void setDN concode_elem_sep String getDN concode_elem_se...
String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( getDN ( ) ) ; for ( ReplicaDescriptor loc1 : getReplicas ( ) ) { loc0 . append ( "srini_string" ) . append ( loc1 . getServer ( ) . getId ( ) ) ; } return loc0 . toString ( ) ; }
2,052
return the best fragment . concode_field_sep boolean fieldMatch concode_elem_sep int phraseLimit concode_elem_sep boolean phraseHighlight concode_elem_sep boolean DEFAULT_FIELD_MATCH concode_elem_sep FragListBuilder fragListBuilder concode_elem_sep boolean DEFAULT_PHRASE_HIGHLIGHT concode_elem_sep FragmentsBuilder frag...
String function ( final FieldQuery arg0 , IndexReader arg1 , int arg2 , String arg3 , int arg4 , FragListBuilder arg5 , FragmentsBuilder arg6 , String [ ] arg7 , String [ ] arg8 , Encoder arg9 ) { FieldFragList loc0 = getFieldFragList ( arg5 , arg0 , arg1 , arg2 , arg3 , arg4 ) ; return arg6 . createFragment ( arg1 , a...
2,053
sets the header named name to value . if this request already has any headers with that name , they are all replaced . concode_field_sep Request request concode_elem_sep RawHeaders headers concode_elem_sep int code concode_elem_sep Reader reader concode_elem_sep RawHeaders headers concode_elem_sep Response redirectedBy...
Builder function ( String arg0 , String arg1 ) { headers . set ( arg0 , arg1 ) ; return this ; }
2,054
gets the value of the iswaived property . concode_field_sep String displayText concode_elem_sep BigDecimal amount concode_elem_sep BigDecimal cost concode_elem_sep Boolean isWaived concode_elem_sep BigDecimal tax concode_elem_sep long serialVersionUID concode_elem_sep Long waiveReasonId concode_elem_sep Boolean isDefau...
Boolean function ( ) { return isWaived ; }
2,055
used to create , setup , and start an intervalrenderer from the passed rendermanager this is used in conjunction with faces-config.xml to allow the same single render manager to be set in all timezonebeans concode_field_sep Log log concode_elem_sep TimeZoneSelections timeZoneSelections concode_elem_sep int renderInterv...
void function ( RenderManager arg0 ) { clock = arg0 . getIntervalRenderer ( "srini_string" ) ; clock . setInterval ( renderInterval ) ; clock . add ( this ) ; clock . requestRender ( ) ; }
2,056
a list of tags for the resource . concode_field_sep java.util.List<Tag> tagList concode_field_sep void setTagList concode_elem_sep int hashCode concode_elem_sep java.util.List<Tag> getTagList concode_elem_sep boolean equals concode_elem_sep ListTagsForResourceResult clone concode_elem_sep String toString
ListTagsForResourceResult function ( java . util . Collection < Tag > arg0 ) { setTagList ( arg0 ) ; return this ; }
2,057
sets a message for the field replacing any existing value . concode_field_sep GeneratedMessage.BuilderParent parent concode_elem_sep boolean isClean concode_elem_sep BType builder concode_elem_sep MType message concode_field_sep BType getBuilder concode_elem_sep void onChanged concode_elem_sep void markDirty concode_el...
SingleFieldBuilder < MType , BType , IType > function ( MType arg0 ) { if ( arg0 == null ) { throw new NullPointerException ( ) ; } this . message = arg0 ; if ( builder != null ) { builder . dispose ( ) ; builder = null ; } onChanged ( ) ; return this ; }
2,058
tests whether the correct object is returned . concode_field_sep ConstantInitializer<Integer> init concode_elem_sep Integer VALUE concode_field_sep void testEqualsWithOtherObjects concode_elem_sep void testGet concode_elem_sep void testEqualsTrue concode_elem_sep void checkEquals concode_elem_sep void testToString conc...
void function ( ) { assertEquals ( "srini_string" , VALUE , init . getObject ( ) ) ; }
2,059
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...
Integer function ( ) { return code ; }
2,060
this uses reflection to set the tab component if we 're running under 1.6 . it does nothing if you 're running under 1.5 . this is so you can run this on java 1.6 and get this benefit , but its not required to compile . this is the same as calling jtabbedpane.settabcomponentat . it just does so using reflection . conco...
void function ( JTabbedPane arg0 , int arg1 , Component arg2 ) { try { Method loc0 = arg0 . getClass ( ) . getMethod ( "srini_string" , new Class [ ] { Integer . TYPE , Component . class } ) ; loc0 . invoke ( arg0 , arg1 , arg2 ) ; } catch ( NoSuchMethodException loc0 ) { } catch ( Exception loc0 ) { LOGGER . error ( "...
2,061
returns the user-object , of the user that made the change . warning can be null concode_field_sep Reservation m_newReservation concode_elem_sep Appointment m_oldAppointment concode_elem_sep Appointment m_newAppointment concode_elem_sep Map<String,Type> TYPES concode_elem_sep Allocatable m_allocatable concode_elem_sep ...
User function ( ) { return m_user ; }
2,062
gets the value of the deliveredunits property . concode_field_sep UnitType unitType concode_elem_sep Long lineItemId concode_elem_sep Long orderId concode_elem_sep Long deliveredUnits concode_elem_sep Long matchedUnits concode_elem_sep Long predictedDeliveryUnits concode_field_sep Long getLineItemId concode_elem_sep Lo...
Long function ( ) { return deliveredUnits ; }
2,063
caches the portal preferences in the entity cache if it is enabled . concode_field_sep PortalPreferencesPersistence _persistence concode_field_sep int countAll concode_elem_sep PortalPreferences findByO_O concode_elem_sep PortalPreferences fetchByO_O concode_elem_sep PortalPreferences fetchByO_O concode_elem_sep List<P...
void function ( PortalPreferences arg0 ) { getPersistence ( ) . cacheResult ( arg0 ) ; }
2,064
returns an array of the names contained in the metadata . concode_field_sep Map<String,String[]> metadata concode_field_sep void add concode_elem_sep void set concode_elem_sep String[] getValues concode_elem_sep String[] _getValues concode_elem_sep boolean isMultiValued concode_elem_sep void clear concode_elem_sep void...
String [ ] function ( ) { return metadata . keySet ( ) . toArray ( new String [ metadata . keySet ( ) . size ( ) ] ) ; }
2,065
returns true if the given state is currently active otherwise false . concode_field_sep double realValue concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep long intValue concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep SCInterface getSCInterface concode_elem_sep bool...
boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_A : return stateVector [ 0 ] == State . main_region_A ; case main_region_B : return stateVector [ 0 ] == State . main_region_B ; case main_region_C : return stateVector [ 0 ] == State . main_region_C ; default : return false ; } }
2,066
find out how much work needs to be done . concode_field_sep File file concode_elem_sep ResourceBundle messageBundle concode_elem_sep int lengthOfTask concode_elem_sep String dialogMessage concode_elem_sep Document document concode_elem_sep Logger logger concode_elem_sep boolean done concode_elem_sep int current concode...
int function ( ) { return lengthOfTask ; }
2,067
changes the extents of the box as needed to include the given org.sunflow.math.point3 point into this box . does nothing if the parameter is null . concode_field_sep Point3 maximum concode_elem_sep Point3 minimum concode_field_sep Point3 getCenter concode_elem_sep boolean intersects concode_elem_sep boolean isEmpty con...
void function ( Point3 arg0 ) { if ( arg0 != null ) { if ( arg0 . x < minimum . x ) minimum . x = arg0 . x ; if ( arg0 . x > maximum . x ) maximum . x = arg0 . x ; if ( arg0 . y < minimum . y ) minimum . y = arg0 . y ; if ( arg0 . y > maximum . y ) maximum . y = arg0 . y ; if ( arg0 . z < minimum . z ) minimum . z = ar...
2,068
helper for success callbacks that just returns the status.ok by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String g...
void function ( int arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; }
2,069
called whenever the osgi framework starts our bundle concode_field_sep Logger logger concode_field_sep void stop
void function ( BundleContext arg0 ) { logger . debug ( "srini_string" ) ; }
2,070
get a modifier for the instance 's list . concode_field_sep Shader[] shaders concode_elem_sep Matrix4 o2w concode_elem_sep Matrix4 w2o concode_elem_sep BoundingBox bounds concode_elem_sep Geometry geometry concode_elem_sep Modifier[] modifiers concode_field_sep Shader getShader concode_elem_sep Vector3 transformNormalW...
Modifier function ( int arg0 ) { if ( modifiers == null || arg0 < 0 || arg0 >= modifiers . length ) return null ; return modifiers [ arg0 ] ; }
2,071
pipeline close : dn2 throws an outofmemoryexception right after it received a close request from client . client gets an ioexception and determine dn2 bad . concode_field_sep PlaceHolder placeHolder concode_field_sep void pipeline_Fi_38 concode_elem_sep void pipeline_Fi_49 concode_elem_sep void pipeline_Fi_39 concode_e...
void function ( ) { final String loc0 = FiTestUtil . getMethodName ( ) ; runPipelineCloseTest ( loc0 , new OomAction ( loc0 , 2 ) ) ; }
2,072
creates a new phone with the primary key . does not add the phone to the database . concode_field_sep PhoneLocalService _phoneLocalService concode_field_sep com.liferay.portal.model.Phone getPhone concode_elem_sep com.liferay.portal.model.Phone getPhoneByUuidAndCompanyId concode_elem_sep java.lang.String getOSGiService...
com . liferay . portal . model . Phone function ( long arg0 ) { return _phoneLocalService . createPhone ( arg0 ) ; }
2,073
singleton initializer concode_field_sep View view concode_field_sep void printLine concode_elem_sep void printLine concode_elem_sep void saveLine concode_elem_sep void saveArray
View function ( ) { if ( view == null ) { view = new View ( ) ; } return view ; }
2,074
returns the maximum value of type c , if it has one . the maximum value is the unique value for which comparable #compareto object never returns a negative value for any input of type c . the default implementation throws nosuchelementexception . concode_field_sep PlaceHolder placeHolder concode_field_sep C next concod...
C function ( ) { throw new NoSuchElementException ( ) ; }
2,075
gets the value of the styling property . concode_field_sep Layout layout concode_elem_sep String mapping concode_elem_sep List<Address> address concode_elem_sep String styling concode_elem_sep String flavour concode_elem_sep String format concode_elem_sep Label label concode_elem_sep String align concode_elem_sep Strin...
String function ( ) { return styling ; }
2,076
this adds an ignore annotation to this translator concode_field_sep String rootElementProperty concode_elem_sep String rootElement concode_elem_sep DocletOptions options concode_elem_sep String ignore concode_elem_sep String elementProperty concode_elem_sep String element concode_field_sep OptionalName fieldName concod...
AnnotationAwareTranslator function ( String arg0 ) { this . ignore = arg0 ; return this ; }
2,077
returns the current statistic of the specified port . concode_field_sep ImmutableSet<FlowEntry> current concode_elem_sep InternalFlowRuleListener listener concode_elem_sep ImmutableSet<FlowEntry> previous concode_elem_sep Logger log concode_elem_sep StatisticStore statisticStore concode_elem_sep FlowRuleService flowRul...
Set < FlowEntry > function ( ConnectPoint arg0 ) { Set < FlowEntry > loc0 = statisticStore . getCurrentStatistic ( arg0 ) ; if ( loc0 == null ) { return Collections . emptySet ( ) ; } else { return loc0 ; } }
2,078
calculates the x-coordinate of the left edge given the other sides of the rectangle and an aspect ratio . concode_field_sep PlaceHolder placeHolder concode_field_sep float calculateAspectRatio concode_elem_sep float calculateAspectRatio concode_elem_sep float calculateTop concode_elem_sep float calculateWidth concode_e...
float function ( float arg0 , float arg1 , float arg2 , float arg3 ) { final float loc0 = arg2 - arg0 ; final float loc1 = arg1 - ( arg3 * loc0 ) ; return loc1 ; }
2,079
returns the asset count of this asset tag stats . concode_field_sep AssetTagStats _assetTagStats concode_field_sep long getClassNameId concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAtt...
int function ( ) { return _assetTagStats . getAssetCount ( ) ; }
2,080
wrapper around java.lang.string #comparetoignorecase java.lang.string string.comparetoignorecase with anexhaustive , possibly duplicative , check against nulls . concode_field_sep int MAGIC_HASH_INIT_VALUE concode_elem_sep Confidence confidence concode_elem_sep String name concode_elem_sep int MAGIC_HASH_MULTIPLIER con...
int function ( String arg0 , String arg1 ) { if ( arg0 == null && arg1 == null ) { return 0 ; } else if ( arg0 == null ) { return - 1 ; } else if ( arg1 == null ) { return 1 ; } return arg0 . compareToIgnoreCase ( arg1 ) ; }
2,081
create an instance of angleoutlier concode_field_sep PlaceHolder placeHolder concode_field_sep BondOutlier createBondOutlier concode_elem_sep WwPDBValidationInformation createWwPDBValidationInformation concode_elem_sep MogBondOutlier createMogBondOutlier concode_elem_sep Entry createEntry concode_elem_sep ModelledSubgr...
AngleOutlier function ( ) { return new AngleOutlier ( ) ; }
2,082
pet status in the store concode_field_sep String name concode_elem_sep List<String> photoUrls concode_elem_sep List<Tag> tags concode_elem_sep Category category concode_elem_sep Long id concode_elem_sep String value concode_elem_sep StatusEnum status concode_field_sep void setName concode_elem_sep Pet addTagsItem conco...
StatusEnum function ( ) { return status ; }
2,083
gets the value of the eipeligibleplantypes property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the eipeligibleplantypes property . for example ,...
List < String > function ( ) { if ( eipEligiblePlanTypes == null ) { eipEligiblePlanTypes = new ArrayList < String > ( ) ; } return this . eipEligiblePlanTypes ; }
2,084
create a temporal rule for when this step starts concode_field_sep Endpoint endpoint concode_elem_sep ProcessBuilder processBuilder concode_elem_sep Expression correlationExpression concode_elem_sep Processor processor concode_elem_sep ActivityRules activityRules concode_field_sep Processor getProcessor concode_elem_se...
TimeExpression function ( ) { return new TimeExpression ( this , ActivityLifecycle . Started ) { public Date evaluate ( ProcessInstance arg0 , ActivityState arg1 ) { return arg1 . getTimeStarted ( ) ; } } ; }
2,085
suma los numeros enviados concode_field_sep BigDecimal ONE_HUNDRED concode_elem_sep Logger log concode_elem_sep BigDecimal ONE_NEGATIVE concode_field_sep String format concode_elem_sep String format concode_elem_sep Number multiply
Number function ( Number ... arg0 ) { double loc0 = 0 ; for ( Number loc1 : arg0 ) { if ( loc1 != null ) { loc0 += loc1 . doubleValue ( ) ; } } return loc0 ; }
2,086
open the findwindow dialog and record the resulting query ; concode_field_sep String m_tableName concode_elem_sep Component m_invoker concode_elem_sep String m_title concode_elem_sep int m_targetWindowNo concode_elem_sep String m_whereExtended concode_elem_sep MQuery m_query concode_elem_sep GridField[] m_findFields co...
void function ( ) { FindWindow loc0 = new FindWindow ( m_targetWindowNo , m_title , m_AD_Table_ID , m_tableName , m_whereExtended , m_findFields , 1 , m_AD_Tab_ID ) ; if ( ! loc0 . isCancel ( ) ) { m_panel . onFindCallback ( loc0 . getQuery ( ) ) ; } }
2,087
sets the value of the shipto property . concode_field_sep BigDecimal amount concode_elem_sep BigDecimal trialAmount concode_elem_sep NameAndAddressType billTo concode_elem_sep String name concode_elem_sep PaymentScheduleType paymentSchedule concode_elem_sep PaymentType payment concode_elem_sep OrderType order concode_e...
void function ( NameAndAddressType arg0 ) { this . shipTo = arg0 ; }
2,088
add an entity to this list . concode_field_sep Map<Integer,T> entities concode_field_sep int size concode_elem_sep T get concode_elem_sep Collection<T> values concode_elem_sep void clear
void function ( T arg0 ) { entities . put ( arg0 . getId ( ) , arg0 ) ; }
2,089
return the `` default '' model created at instantiation . in general it is recommended to use #getmodel instead whichreturns either the `` default '' model template rendering or the `` redirect '' model redirect url preparation . use of this method may be needed for advanced cases when access to the `` default '' model...
ModelMap function ( ) { return this . defaultModel ; }
2,090
method to toggle timestamps to on or off concode_field_sep LogBean singleton concode_elem_sep MessageLog messageLog concode_elem_sep ChatState state concode_elem_sep Log log concode_elem_sep String autoLoad concode_elem_sep ArrayList controlLog concode_elem_sep String LOG_PATH concode_elem_sep int TIME_DAYS concode_ele...
String function ( ) { state . toggleTimeStamp ( ) ; appendControl ( "srini_string" + state . getTimeStampEnabled ( ) ) ; messageLog . addMessage ( "srini_string" , "srini_string" + getTimeStampMessage ( ) + "srini_string" , null ) ; storeMessageLog ( ) ; state . updateAll ( ) ; return ( "srini_string" ) ; }
2,091
initialise the loop detector . concode_field_sep long loopStart concode_elem_sep boolean isLooping concode_elem_sep long loopEnd concode_field_sep void addStep concode_elem_sep long loopStart concode_elem_sep boolean isLooping concode_elem_sep void removePrecedingStates concode_elem_sep long loopEnd concode_elem_sep vo...
void function ( ) { isLooping = false ; loopStart = loopEnd = - 1 ; }
2,092
print a char to standard output and flush standard output . concode_field_sep String CHARSET_NAME concode_elem_sep Locale LOCALE concode_elem_sep PrintWriter out concode_field_sep void println concode_elem_sep void println concode_elem_sep void println concode_elem_sep void println concode_elem_sep void println concode...
void function ( char arg0 ) { out . print ( arg0 ) ; out . flush ( ) ; }
2,093
test method for org.apache.camel.component.websocket.nodesynchronization #removesocket org.apache.camel.component.websocket.defaultwebsocket . concode_field_sep String KEY_1 concode_elem_sep MemoryWebsocketStore store1 concode_elem_sep String KEY_2 concode_elem_sep DefaultWebsocket websocket1 concode_elem_sep DefaultWe...
void function ( ) { sync = new DefaultNodeSynchronization ( store1 ) ; sync . addSocket ( websocket1 ) ; assertEquals ( websocket1 , store1 . get ( KEY_1 ) ) ; assertNull ( store1 . get ( KEY_2 ) ) ; sync . removeSocket ( websocket2 ) ; assertEquals ( websocket1 , store1 . get ( KEY_1 ) ) ; assertNull ( store1 . get ( ...
2,094
this method resets the outgoing events . concode_field_sep State[] historyVector concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean toA concode_elem_sep boolean toC concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_elem_sep boolean toZ concode_elem_sep boolean toY conco...
void function ( ) { }
2,095
returns a hash code for this object . this implementation returns the hash code of the managed object . concode_field_sep String FMT_TO_STRING concode_elem_sep T object concode_field_sep T getObject concode_elem_sep T get concode_elem_sep boolean equals concode_elem_sep String toString
int function ( ) { return getObject ( ) != null ? getObject ( ) . hashCode ( ) : 0 ; }
2,096
put ticket granting ticket in request and flow scopes . concode_field_sep String CAS_ACCESS_DENIED_REASON concode_field_sep String getTicketGrantingTicketId concode_elem_sep void putLoginTicket concode_elem_sep String getLoginTicketFromFlowScope concode_elem_sep Credential getCredential concode_elem_sep void putTicketG...
void function ( final RequestContext arg0 , @ NotNull final String arg1 ) { putTicketGrantingTicketIntoMap ( arg0 . getRequestScope ( ) , arg1 ) ; putTicketGrantingTicketIntoMap ( arg0 . getFlowScope ( ) , arg1 ) ; }
2,097
returns the number of rows matching the dynamic query . concode_field_sep PortletItemLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.model.PortletItem addPortletItem concode_elem_sep com.liferay.portal.kernel.model.PortletItem addPortletItem c...
long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . dynamicQueryCount ( arg0 ) ; }
2,098
sets the current maximum idle lifetime in seconds for a background revalidation worker thread . if a worker thread is idle for this long , and there are more than the core number of worker threads alive , the worker will be reclaimed . concode_field_sep int DEFAULT_ASYNCHRONOUS_WORKERS_MAX concode_elem_sep float heuris...
void function ( int arg0 ) { this . asynchronousWorkerIdleLifetimeSecs = arg0 ; }
2,099
contains this type ? concode_field_sep SortedSet<MediaType> list concode_field_sep MediaTypes merge concode_elem_sep boolean isEmpty concode_elem_sep SortedSet<MediaType> parse
boolean function ( final MediaType arg0 ) { boolean loc0 = false ; for ( final MediaType loc1 : this . list ) { if ( loc1 . matches ( arg0 ) ) { loc0 = true ; break ; } } return loc0 ; }