code stringlengths 20 663 | nl stringlengths 68 7.19k |
|---|---|
long function ( ) { return scanner . nextLong ( ) ; } | reads the next token from standard input , parses it as a long integer , and returns the long integer . concode_field_sep Pattern EMPTY_PATTERN concode_elem_sep String CHARSET_NAME concode_elem_sep Locale LOCALE concode_elem_sep Scanner scanner concode_elem_sep Pattern WHITESPACE_PATTERN concode_elem_sep Pattern EVERYT... |
T function ( EObject arg0 ) { return doSwitch ( arg0 . eClass ( ) , arg0 ) ; } | calls casexxx for each class of the model until one returns a non null result ; it yields that result . concode_field_sep EFeatureTestsPackage modelPackage concode_field_sep T caseEFeatureData concode_elem_sep T caseNonGeoEObject concode_elem_sep T caseEFeature concode_elem_sep T caseEFeatureCompatibleData concode_elem... |
String function ( ) { return namespace ; } | returns the xml namespace of the extension sub-packet root element . concode_field_sep String namespace concode_elem_sep Map<String,String> map concode_elem_sep String elementName concode_field_sep String getValue concode_elem_sep void setValue concode_elem_sep String toXML concode_elem_sep Collection<String> getNames ... |
String function ( Object arg0 ) { return userSerializer . serialize ( arg0 ) ; } | generate a json string from a user object concode_field_sep JSONSerializer userSerializer concode_elem_sep JSONSerializer activitySerializer concode_field_sep List<User> json2Users concode_elem_sep List<Friends> json2Friends concode_elem_sep MyActivity json2Activity concode_elem_sep User json2User concode_elem_sep Stri... |
Builder function ( String arg0 ) { return status ( new Status ( arg0 ) ) ; } | create a new builder instance with a specific status code . concode_field_sep Map<String,Object> details concode_elem_sep Status status concode_field_sep Builder withDetail concode_elem_sep Builder withException concode_elem_sep Health build concode_elem_sep int hashCode concode_elem_sep Builder outOfService concode_el... |
String function ( ) { return sortColumns ; } | gets the sort columns . concode_field_sep long serialVersionUID concode_elem_sep long offset concode_elem_sep String sortColumns concode_elem_sep long limit concode_elem_sep long pageSize concode_field_sep long getPageSize concode_elem_sep long getLimit concode_elem_sep void setOffset concode_elem_sep void setLimit con... |
String function ( ) { return firstName ; } | gets the value of the firstname property . concode_field_sep String lastName concode_elem_sep XMLGregorianCalendar portRequestDateTime concode_elem_sep String oldBrandId concode_elem_sep String businessName concode_elem_sep String oldServiceProvider concode_elem_sep String newBrandId concode_elem_sep long serialVersion... |
DistinguishedName function ( String arg0 ) { DistinguishedName loc0 = new DistinguishedName ( ) ; loc0 . add ( "srini_string" , "srini_string" ) ; loc0 . add ( "srini_string" , arg0 ) ; return loc0 ; } | create an ldap entry for the group concode_field_sep LdapTemplate ldapTemplate concode_elem_sep Log LOG concode_field_sep Group findByCommonName concode_elem_sep LdapTemplate getLdapTemplate concode_elem_sep boolean isNullValue concode_elem_sep void addUser concode_elem_sep void insert concode_elem_sep void update conc... |
MediaType function ( Resource arg0 ) { String loc0 = arg0 . getFilename ( ) ; return ( loc0 != null ? getMediaType ( loc0 ) : null ) ; } | determine a media type for the given resource , if possible . concode_field_sep FileTypeMap fileTypeMap concode_field_sep FileTypeMap loadFileTypeMapFromContextSupportModule |
InventoryTargeting function ( ) { return inventoryRule ; } | gets the value of the inventoryrule property . concode_field_sep InventoryTargeting inventoryRule concode_elem_sep CustomCriteriaSet customCriteriaRule concode_field_sep void setCustomCriteriaRule concode_elem_sep CustomCriteriaSet getCustomCriteriaRule concode_elem_sep void setInventoryRule |
void function ( GetSupportDataSetResponse . GetSupportDataSetResult arg0 ) { this . getSupportDataSetResult = arg0 ; } | sets the value of the getsupportdatasetresult property . concode_field_sep GetSupportDataSetResponse.GetSupportDataSetResult getSupportDataSetResult concode_elem_sep List<Object> any concode_field_sep GetSupportDataSetResponse.GetSupportDataSetResult getGetSupportDataSetResult concode_elem_sep List<Object> getAny |
void function ( final XNode arg0 ) { _testNode = arg0 ; } | sets test node . concode_field_sep XNode _controlNode concode_elem_sep Differences _differences concode_elem_sep boolean _isExactMatch concode_elem_sep XNode _testNode concode_elem_sep boolean _uniqueAttrMatch concode_field_sep boolean isExactMatch concode_elem_sep void setControlNode concode_elem_sep void setUniqueAtt... |
boolean function ( String arg0 , DocValuesType arg1 ) { if ( ! nameToNumber . containsKey ( arg0 ) ) { return false ; } else { return arg1 == docValuesType . get ( arg0 ) ; } } | returns true if the fieldname exists in the map and is of thesame dvtype . concode_field_sep FieldNumbers globalFieldNumbers concode_elem_sep Collection<FieldInfo> values concode_elem_sep int lowestUnassignedFieldNumber concode_elem_sep Map<Integer,String> numberToName concode_elem_sep boolean hasPayloads concode_elem_... |
String function ( int [ ] arg0 , String arg1 , String arg2 ) { int loc0 = arg0 . length ; StringBuffer loc1 = new StringBuffer ( loc0 * 8 ) ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { loc1 . append ( arg2 ) ; loc1 . append ( arg0 [ loc2 ] ) ; loc1 . append ( arg2 ) ; if ( loc2 + 1 < loc0 ) { loc1 . append ( arg1 )... | builds a csv list from the specified int , separator string and quote string . all arguments are assumed to be non-null . separates each list element with the value of the separator argument . prepends and appends each element with the value of the quote argument . concode_field_sep PlaceHolder placeHolder concode_fiel... |
String function ( String arg0 ) { if ( isNullOrEmpty ( arg0 ) ) { return arg0 ; } return arg0 . toLowerCase ( LOCALE_INTERNAL ) ; } | hc specific settings , operands etc. use this method . creates a lowercase string from the given string . concode_field_sep String LINE_SEPARATOR concode_elem_sep Charset UTF8_CHARSET concode_elem_sep Locale LOCALE_INTERNAL concode_field_sep int lastIndexOf concode_elem_sep int lastIndexOf concode_elem_sep boolean isNu... |
com . liferay . contacts . model . Entry function ( com . liferay . contacts . model . Entry arg0 ) { return getService ( ) . addEntry ( arg0 ) ; } | adds the entry to the database . also notifies the appropriate model listeners . concode_field_sep ServiceTracker<EntryLocalService,EntryLocalService> _serviceTracker concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynami... |
void function ( String arg0 ) { this . sshUsername = arg0 ; } | the user 's ssh user name . concode_field_sep String sshPublicKey concode_elem_sep String sshUsername concode_elem_sep String name concode_elem_sep Boolean allowSelfManagement concode_elem_sep String iamUserArn concode_field_sep void setName concode_elem_sep String getName concode_elem_sep String getSshPublicKey concod... |
void function ( InputStream arg0 , byte [ ] arg1 ) { readFully ( arg0 , arg1 , 0 , arg1 . length ) ; } | fills ` dst ' with bytes from ` in ' , throwing eofexception if insufficient bytes are available . concode_field_sep Charset US_ASCII concode_elem_sep byte[] EMPTY_BYTE_ARRAY concode_elem_sep AtomicReference<byte[]> skipBuffer concode_elem_sep char[] DIGITS concode_elem_sep Charset UTF_8 concode_elem_sep String[] EMPTY... |
Class < ? extends S > function ( Class < S > arg0 ) { if ( schemeTypeToImplementation == null ) { return null ; } final Class < ? extends Scheme > loc0 = schemeTypeToImplementation . get ( arg0 ) ; if ( loc0 == null ) { return null ; } return loc0 . asSubclass ( arg0 ) ; } | gets the class within this package implementing a given scheme type represented as an abstract class or interface . concode_field_sep Class[] NO_CLASSES concode_elem_sep String packageName concode_elem_sep Map<Class<? extends Scheme>,Class<? extends Scheme>> schemeTypeToImplementation concode_field_sep String lastIdent... |
BeanDefinitionBuilder function ( boolean arg0 ) { this . beanDefinition . setAbstract ( arg0 ) ; return this ; } | set whether or not this definition is abstract . concode_field_sep int constructorArgIndex concode_elem_sep AbstractBeanDefinition beanDefinition concode_field_sep BeanDefinitionBuilder addConstructorArgValue concode_elem_sep BeanDefinitionBuilder setAutowireMode concode_elem_sep BeanDefinitionBuilder addConstructorArg... |
boolean function ( ) { boolean loc0 = bypass ; bypass = false ; return loc0 ; } | for use by the coprocessor framework . concode_field_sep boolean bypass concode_elem_sep E env concode_elem_sep boolean complete concode_field_sep void bypass concode_elem_sep void prepare concode_elem_sep boolean shouldComplete concode_elem_sep ObserverContext<T> createAndPrepare concode_elem_sep E getEnvironment conc... |
void function ( ) { if ( ! mergedTuple . isEmpty ( ) ) { mergedport . emit ( mergedTuple ) ; mergedTuple = new HashMap < K , V > ( ) ; } } | emits mergedtuple on mergedport if it is not empty concode_field_sep DefaultOutputPort<Map<K,V>> mergedport concode_elem_sep Map<K,V> mergedTuple concode_field_sep void beginWindow concode_elem_sep void process concode_elem_sep void setup concode_elem_sep void teardown |
void function ( String arg0 , Object ... arg1 ) { for ( Object loc0 : arg1 ) { if ( loc0 != null ) { throw new IllegalArgumentException ( arg0 ) ; } } } | asserts that all of the objects are null . concode_field_sep PlaceHolder placeHolder concode_field_sep T assertNotNull |
void function ( Date arg0 ) { this . timeSent = arg0 ; } | sets the time the message was sent . concode_field_sep String titleId concode_elem_sep String inReplyTo concode_elem_sep Date timeSent concode_elem_sep String appUrl concode_elem_sep String body concode_elem_sep String title concode_elem_sep Type type concode_elem_sep String senderId concode_elem_sep List<Url> urls con... |
int function ( ) { return MSHits_theomass ; } | returns the mshits_theomass value from the omx file . note that this value has to be divided by msresponse_scale to get the real mass . concode_field_sep double MSHits_pvalue concode_elem_sep MSHits_mods MSHits_mods concode_elem_sep String MSHits_pepstart concode_elem_sep String MSHits_libaccession concode_elem_sep Str... |
void function ( Observer arg0 ) { mObservers . add ( arg0 ) ; } | attach an observer to this object . concode_field_sep Iterator<Observer> mIterator concode_elem_sep ArrayList<Observer> mObservers concode_field_sep TransactionState getState concode_elem_sep void detach concode_elem_sep void notifyObservers |
boolean function ( String arg0 ) { return arg0 != null && arg0 . startsWith ( this . parameterIdentifier ) ; } | check if the given parameter has been encoded using paramencoder . it actually check if the parameter name starts with the calculated parameteridentifier . null safe a null string returns false . concode_field_sep long serialVersionUID concode_elem_sep String parameterIdentifier concode_field_sep String encodeParameter... |
String function ( String arg0 ) { return arg0 ; } | a method annotated to test preflight . concode_field_sep PlaceHolder placeHolder concode_field_sep String simpleGet concode_elem_sep Response deleteSomething concode_elem_sep String annotatedGet |
int [ ] function ( String arg0 ) { String loc0 = properties . getProperty ( arg0 ) ; return parseStringArrayOfInts ( loc0 ) ; } | return an integer array for a comma separated integer list , or a specification of `` startindex : endindex '' concode_field_sep Properties properties concode_field_sep int[] parseStringArrayOfInts concode_elem_sep String getProperty concode_elem_sep Properties getProperties concode_elem_sep long getLongProperty concod... |
VaultLockPolicy function ( String arg0 ) { this . policy = arg0 ; return this ; } | the vault lock policy . returns a reference to this object so that method calls can be chained together . concode_field_sep String policy concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep VaultLockPolicy clone concode_elem_sep String toString concode_elem_sep String getPolicy concode_elem_... |
Date function ( ) { return updateTime ; } | this method was generated by mybatis generator . this method returns the value of the database column sys_session . update_time concode_field_sep Integer createBy concode_elem_sep Date createTime concode_elem_sep Integer updateBy concode_elem_sep Boolean enable concode_elem_sep String ip concode_elem_sep Date startTime... |
void function ( String arg0 ) { this . userServiceRef = arg0 ; } | sets the value of the userserviceref property . concode_field_sep String mappableRoles concode_elem_sep String userServiceRef concode_field_sep String getMappableRoles concode_elem_sep String getUserServiceRef concode_elem_sep void setMappableRoles |
org . apache . axis . encoding . Serializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanSerializer ( arg1 , arg2 , typeDesc ) ; } | get custom serializer concode_field_sep java.util.Calendar date concode_elem_sep short weatherID concode_elem_sep java.lang.String desciption concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep com.cdyne.ws.WeatherWS.Temp temperatures concode_elem_sep java.lang.Object __equalsCalc concode_el... |
void function ( String arg0 ) { } | allow implementations to validate whether a property name is valid and either throw an exception or log a warning of an unknown property being used concode_field_sep Map<String,Object> propertyValues concode_elem_sep Component component concode_elem_sep String baseUri concode_field_sep ParameterConfiguration getParamet... |
Server function ( Router arg0 ) { return forRouter ( arg0 , Mode . TEST , 0 ) ; } | create a server for the given router . the server will be running on a randomly selected ephemeral port , which can be checked using the httpport property . the server will be running in test mode . concode_field_sep play.core.server.Server server concode_field_sep void stop concode_elem_sep int httpPort concode_elem_s... |
ResponseChunks function ( CharSequence arg0 , Publisher < ? extends ByteBuf > arg1 ) { return new ResponseChunks ( arg0 , byteBufAllocator -> arg1 ) ; } | transmit each set of bytes emitted by the publisher as a chunk . the content type of the response is set to the given content type . concode_field_sep Function<? super ByteBufAllocator,? extends Publisher<? extends ByteBuf>> publisherFactory concode_elem_sep CharSequence contentType concode_field_sep Publisher<? extend... |
Pattern function ( ) { return this . pattern ; } | returns the pattern representing this delimiter type . this pattern can be used to parse , using a matcher . concode_field_sep long serialVersionUID concode_elem_sep DelimiterType TAB concode_elem_sep DelimiterType[] TYPES concode_elem_sep DelimiterType COMMA concode_elem_sep String name concode_elem_sep Pattern patter... |
ServiceReference function ( BundleContext arg0 , String [ ] arg1 ) { return getServiceReference ( arg0 , arg1 , null ) ; } | returns a reference to the best matching service for the given class names . concode_field_sep Log log concode_field_sep long getServiceId concode_elem_sep Dictionary getServicePropertiesSnapshot concode_elem_sep boolean isServicePresent concode_elem_sep int getServiceRanking concode_elem_sep Map getServicePropertiesAs... |
String function ( ) { return name ; } | get the name of the data entry . concode_field_sep Long viewInstanceId concode_elem_sep String name concode_elem_sep String user concode_field_sep Long getViewInstanceId concode_elem_sep void setName concode_elem_sep void setViewInstanceId concode_elem_sep int hashCode concode_elem_sep String getUser concode_elem_sep b... |
void function ( HistoryRecord arg0 ) { historyRecords . add ( arg0 ) ; fireQueryEvent ( arg0 ) ; } | adds the given historyrecord to the result list of this query and notifies all interested listeners that a new record is received . concode_field_sep Collection<HistoryQueryListener> queryListeners concode_elem_sep boolean isCanceled concode_elem_sep Collection<HistoryRecord> historyRecords concode_elem_sep String quer... |
boolean function ( ) { return gzipCompress ; } | returns true if entity is to be gzip compressed , false otherwise . concode_field_sep File file concode_elem_sep boolean gzipCompress concode_elem_sep InputStream stream concode_elem_sep byte[] binary concode_elem_sep String contentEncoding concode_elem_sep boolean chunked concode_elem_sep String text concode_elem_sep ... |
void function ( ) { TestUtil . setTestDataFolder ( "srini_string" ) ; ProxySelector loc0 = new FirefoxProxySearchStrategy ( ) . getProxySelector ( ) ; List < Proxy > loc1 = loc0 . select ( TestUtil . HTTPS_TEST_URI ) ; assertEquals ( TestUtil . HTTPS_TEST_PROXY , loc1 . get ( 0 ) ) ; } | test method concode_field_sep PlaceHolder placeHolder concode_field_sep void testManualSocks concode_elem_sep void testPac concode_elem_sep void testManualFtp concode_elem_sep void testNone concode_elem_sep void setup concode_elem_sep void testManualHttp concode_elem_sep void testWhiteList |
void function ( ) { sCInterface . clearEvents ( ) ; } | this method resets the incoming events time events included . concode_field_sep boolean e concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean guard concode_elem_sep int nextStateIndex concode_elem_sep boolean done concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInte... |
void function ( String arg0 , String arg1 , String arg2 , String arg3 , String arg4 , String arg5 ) { Map < String , String [ ] > loc0 = new HashMap < String , String [ ] > ( ) ; loc0 . put ( "srini_string" + arg2 , new String [ ] { arg3 } ) ; loc0 . put ( "srini_string" + arg4 , new String [ ] { arg5 } ) ; boolean loc... | helper method to send a message , with 2 parameters . permanent errors will result in ioexception . retriable errors will cause the message to be scheduled for retry . concode_field_sep C2DMessaging singleton concode_elem_sep Logger log concode_elem_sep String PARAM_REGISTRATION_ID concode_elem_sep String UPDATE_CLIENT... |
java . util . List < com . liferay . portal . model . EmailAddress > function ( int arg0 , int arg1 ) { return getService ( ) . getEmailAddresses ( arg0 , arg1 ) ; } | returns a range of all the email addresses . 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 ... |
void function ( ResourceLoader arg0 ) { this . resourceLoader = arg0 ; } | set the resource loader . concode_field_sep String prefix concode_elem_sep ResourceLoader resourceLoader concode_elem_sep String suffix concode_elem_sep String charSet concode_field_sep void setCharset concode_elem_sep Reader getTemplate |
void function ( int arg0 ) { balance += arg0 ; } | add money into a wallet . concode_field_sep CreditCard[] cards concode_elem_sep int balance concode_field_sep void addCard concode_elem_sep void subtracMoney concode_elem_sep int getWalletBallance |
JAXBElement < ConfirmOrderRequest > function ( ConfirmOrderRequest arg0 ) { return new JAXBElement < ConfirmOrderRequest > ( _ConfirmOrderRequest_QNAME , ConfirmOrderRequest . class , null , arg0 ) ; } | create an instance of jaxbelement concode_field_sep QName _GetOrderReferenceDataResponse_QNAME concode_elem_sep QName _ConfirmOrderRequest_QNAME concode_elem_sep QName _GetOrderListRequest_QNAME concode_elem_sep QName _GetOrderDetailsResponse_QNAME concode_elem_sep QName _GetOrderReferenceDataRequest_QNAME concode_elem... |
String function ( ) { String loc0 ; if ( ( loc0 = part . getContentType ( ) ) == null ) return "srini_string" ; else return loc0 ; } | returns the attachment 's content type . concode_field_sep Part part concode_elem_sep int num concode_field_sep boolean hasMimeType concode_elem_sep String getFilename concode_elem_sep String getContent concode_elem_sep String getNum concode_elem_sep boolean hasFilename concode_elem_sep boolean hasDescription concode_e... |
ConditionsType function ( ) { return conditions ; } | get the conditions concode_field_sep NameIDType issuerID concode_elem_sep List<StatementAbstractType> statements concode_elem_sep AssertionType issuedAssertion concode_elem_sep ConditionsType conditions concode_elem_sep SubjectType subjectType concode_field_sep AssertionType getIssuedAssertion concode_elem_sep void set... |
void function ( ) { Crosshair loc0 = new Crosshair ( 1.0 , new GradientPaint ( 1.0f , 2.0f , Color . red , 3.0f , 4.0f , Color . BLUE ) , new BasicStroke ( 1.0f ) ) ; Crosshair loc1 = ( Crosshair ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( ... | confirm that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testHashCode concode_elem_sep void testEquals |
int function ( int arg0 , String arg1 , boolean arg2 , boolean arg3 , boolean arg4 , boolean arg5 ) { if ( fTarget instanceof IFindReplaceTargetExtension3 ) return ( ( IFindReplaceTargetExtension3 ) fTarget ) . findAndSelect ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 ) ; return fTarget . findAndSelect ( arg0 , arg1 , ar... | searches for a string starting at the given offset and using the specified search directives . if a string has been found it is selected and its start offset is returned . concode_field_sep IEditorStatusLine fStatusLineManager concode_elem_sep IFindReplaceTarget fTarget concode_field_sep Point replaceSelection concode_... |
void function ( ) { } | this is not really useful in the current usage but may be if this class is used in a different way . concode_field_sep FileAccess.FileSync outDescriptor concode_elem_sep Object timerTask concode_elem_sep int INSERT_WITH_SCHEMA concode_elem_sep boolean needsSync concode_elem_sep int SCRIPT_BINARY_172 concode_elem_sep bo... |
void function ( Resource arg0 ) { createStatechartModel ( arg0 , DiagramActivator . DIAGRAM_PREFERENCES_HINT ) ; } | creates a statechart with an initial region and an initial state concode_field_sep int INITIAL_TEXT_COMPARTMENT_X concode_elem_sep String INITIAL_REGION_NAME concode_elem_sep int INITIAL_REGION_WIDTH concode_elem_sep int SPACING concode_elem_sep int INITIAL_REGION_HEIGHT concode_elem_sep int INITIAL_TEXT_COMPARTMENT_WI... |
void function ( final String arg0 ) { } | adds a word to the intewrface . concode_field_sep long serialVersionUID concode_field_sep void removeWord concode_elem_sep String getShortDescriptionString concode_elem_sep StringBuffer getWordsAsBuffer concode_elem_sep int getNumberOfWords concode_elem_sep boolean isWord |
boolean function ( ) { return this . running ; } | return whether the stop watch is currently running . concode_field_sep boolean running concode_elem_sep int taskCount concode_elem_sep String currentTaskName concode_elem_sep TaskInfo lastTaskInfo concode_elem_sep long totalTimeNS concode_elem_sep long startTimeNS concode_elem_sep List<TaskInfo> taskList concode_elem_s... |
void function ( ) { System . out . println ( "srini_string" ) ; ChartRowsTable loc0 = new ChartRowsTable ( new JRowsSelectorPanel ( new GraphPanel ( ) ) ) ; loc0 . clear ( ) ; } | test of clear method , of class chartrowstable . concode_field_sep PlaceHolder placeHolder concode_field_sep void testAddRow concode_elem_sep void setUpClass concode_elem_sep void testAddRow2 concode_elem_sep void setUp concode_elem_sep void tearDownClass concode_elem_sep void testGetCellRenderer concode_elem_sep void ... |
Object function ( ) { return type ; } | returns the type of the dice rolled . concode_field_sep List<Object> result concode_elem_sep Object type concode_field_sep List<Object> getResult |
List < Container > function ( Collection < Container > arg0 ) { List < Container > loc0 = new ArrayList < Container > ( ) ; flatten ( arg0 , loc0 ) ; return loc0 ; } | take a container list and flatten it e.g. expand any libraries . concode_field_sep String path concode_elem_sep File file concode_elem_sep Manifest manifest concode_elem_sep Project project concode_elem_sep Map<String,String> attributes concode_elem_sep TYPE type concode_elem_sep String bsn concode_elem_sep String erro... |
Point3D function ( ) { return new Point3D ( x , y , z ) ; } | gets a copy of this point concode_field_sep Double x concode_elem_sep Double y concode_elem_sep Double z concode_field_sep Point3D setPos concode_elem_sep Point3D setPos concode_elem_sep Double getX concode_elem_sep Double getY concode_elem_sep Point3D getCentrePoint concode_elem_sep Point3D getCentrePoint concode_elem... |
void function ( int arg0 ) { int loc0 ; if ( arg0 < 0 ) { loc0 = - 1 ; arg0 = - arg0 ; } else { loc0 = 1 ; } for ( int loc1 = 0 ; loc1 < arg0 ; loc1 ++ ) { xPosition += loc0 ; draw ( ) ; } } | slowly move the square horizontally by ` distance ' pixels . concode_field_sep int xPosition concode_elem_sep int size concode_elem_sep String color concode_elem_sep int yPosition concode_elem_sep boolean isVisible concode_field_sep void erase concode_elem_sep void changeColor concode_elem_sep void makeVisible concode_... |
String function ( JRPrintHyperlink arg0 ) { String loc0 = arg0 . getLinkTarget ( ) ; String loc1 = null ; if ( loc0 != null ) { JRHyperlinkTargetProducer loc2 = getHyperlinkTargetProducer ( loc0 ) ; if ( loc2 != null ) { loc1 = loc2 . getHyperlinkTarget ( arg0 ) ; } } return loc1 ; } | generates the string hyperlink target for a hyperlink instance based on its type and on the associated hyperlink target producer . concode_field_sep PlaceHolder placeHolder concode_field_sep JRHyperlinkTargetProducer getHyperlinkTargetProducer |
FormatTest function ( Float arg0 ) { this . _float = arg0 ; return this ; } | minimum : 54.3 maximum : 987.6 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[] binar... |
AgentInfo function ( final String arg0 ) { if ( arg0 == null ) { throw new NullPointerException ( "srini_string" ) ; } Scan loc0 = createScanForInitialAgentInfo ( arg0 ) ; return this . hbaseOperations2 . find ( HBaseTables . AGENTINFO , loc0 , new AgentInfoResultsExtractor ( ) ) ; } | returns the very first information of the agent concode_field_sep int SCANNER_CACHING concode_elem_sep AgentInfoMapper agentInfoMapper concode_elem_sep HbaseOperations2 hbaseOperations2 concode_field_sep Scan createScan concode_elem_sep AgentInfo extractData concode_elem_sep Scan createScanForInitialAgentInfo concode_e... |
boolean function ( ) { if ( getAll ( ) == null ) { return true ; } log . info ( "srini_string" , getStorageTableName ( ) , getUpdatePeriod ( ) , getPartCol ( ) ) ; boolean loc0 = add ( getAll ( ) ) ; all = null ; log . info ( "srini_string" , this ) ; return loc0 ; } | commit all partitions that were added to batch addition queue . / / todo : improve batch addition implementation . concode_field_sep TreeSet<TimePartition> all concode_elem_sep String partCol concode_elem_sep String storageTableName concode_elem_sep UpdatePeriod updatePeriod concode_field_sep boolean add concode_elem_s... |
int function ( ) { return getService ( ) . getAddressesCount ( ) ; } | returns the number of addresses . concode_field_sep AddressLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep java.util.List<com.liferay.portal.kernel.model.Address> getAddresses concode_elem_sep java.util.List<com.liferay.portal.kernel.model.Address> getAddresses concode... |
void function ( List < HttpMessageConverter < ? >> arg0 ) { } | override to configure the message converters to use for decoding controller method arguments and encoding return values . if no converters are specified , default will be added via #adddefaulthttpmessageconverters . concode_field_sep boolean jackson2Present concode_elem_sep PathMatchConfigurer pathMatchConfigurer conco... |
void function ( ) { blocksEditorReplController . StopServer ( ) ; } | destroy the repl server , releasing the port . concode_field_sep Handler handler concode_elem_sep int BLOCKS_EDITOR_PORT concode_elem_sep String LOG_TAG concode_elem_sep Form form concode_elem_sep int port concode_elem_sep REPLServerController blocksEditorReplController concode_elem_sep List<Socket> openClientSockets c... |
String function ( String arg0 , Locale arg1 ) { return getText ( null , arg0 , arg1 ) ; } | returns a translation for the specified key in the specified locale language by considering all resources in the according bundle . if no translation could be found , null is returned . if the location is not specified , the defaultlocation is used . concode_field_sep List<String> resourceNames concode_elem_sep ClassLo... |
void function ( ) { prepareStateTest ( ) ; assertFalse ( validator . validate ( state , diagnostics , new HashMap < Object , Object > ( ) ) ) ; assertError ( diagnostics , ISSUE_NODE_NOT_REACHABLE ) ; } | a state must be reachable . concode_field_sep SGraphFactory factory concode_elem_sep BasicDiagnostic diagnostics concode_elem_sep SGraphValidator validator concode_elem_sep StextFactory sTextFactory concode_elem_sep State state concode_elem_sep Region region concode_elem_sep Statechart statechart concode_field_sep void... |
String function ( ) { if ( forName == null ) { return "srini_string" ; } else { return forName ; } } | gets the value of the forname property . concode_field_sep Double val concode_elem_sep Double fact concode_elem_sep String forName concode_elem_sep Double max concode_elem_sep CTOfficeArtExtensionList extLst concode_elem_sep STConstraintRelationship _for concode_elem_sep STElementType ptType concode_elem_sep STConstrai... |
com . gvt . www . ws . eai . oss . ossturbonet . OSSTurbonetIn function ( ) { return ossTurbonetIn ; } | gets the ossturbonetin value for this ossturbonetmodulacaoplanoin . concode_field_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep int velocidadeUploadSiebel concode_elem_sep boolean __hashCodeCalc concode_elem_sep com.gvt.www.ws.eai.oss.ossturbonet.OSSTu... |
Date function ( Date arg0 , int arg1 ) { if ( arg1 == 0 ) return arg0 ; return new Date ( arg0 . getTime ( ) - ( arg1 * MILLIS_PER_MINUTE ) ) ; } | returns a date modified to take into account the given timezone difference . concode_field_sep String API_SERVICE_ENDPOINT_URL concode_elem_sep ThreadLocal<SimpleDateFormat> DATE_FORMAT concode_elem_sep long MILLIS_PER_SECOND concode_elem_sep long MILLIS_PER_HOUR concode_elem_sep String TRAVELFUSION_TRIPPLANNER_XML_DAT... |
void function ( float [ ] arg0 ) { float loc0 = loc0 ( arg0 ) ; if ( loc0 != 0.0f ) { float loc1 = 1.0f / loc0 ; arg0 [ 0 ] *= loc1 ; arg0 [ 1 ] *= loc1 ; arg0 [ 2 ] *= loc1 ; } } | normalizes the given vector of three floats to have length == 1.0 . vectors with length zero are unaffected . concode_field_sep int mPrimitive concode_elem_sep float PI concode_elem_sep Buffer mIndexBuffer concode_elem_sep int INT_BYTES concode_elem_sep IntBuffer mColorBuffer concode_elem_sep IntBuffer mNormalBuffer co... |
void function ( AttributeList arg0 ) { this . attributes = arg0 ; } | sets the attribute list concode_field_sep String correlator concode_elem_sep AttributeList attributes concode_field_sep AttributeList getAttributes concode_elem_sep String getCorrelator concode_elem_sep void setCorrelator concode_elem_sep String toString |
float function ( ) { return duration ; } | get the duration of the effect in seconds concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concode_elem_sep float fps concode_elem_sep boolean sync concode_elem_sep int sequenceId concode_elem_sep float duration concode_elem_sep String sequence concode_elem_sep float delay... |
void function ( java . util . Collection < String > arg0 ) { if ( arg0 == null ) { this . cidrs = null ; return ; } this . cidrs = new com . amazonaws . internal . SdkInternalList < String > ( arg0 ) ; } | the ip address range of the aws service . concode_field_sep String prefixListId concode_elem_sep com.amazonaws.internal.SdkInternalList<String> cidrs concode_elem_sep String prefixListName concode_field_sep void setPrefixListId concode_elem_sep String getPrefixListId concode_elem_sep PrefixList withPrefixListName conco... |
TaskType function ( ) { return TaskType . valueOf ( datum . taskType . toString ( ) ) ; } | get the task type concode_field_sep TaskAttemptStarted datum concode_field_sep TaskID getTaskId concode_elem_sep String getTrackerName concode_elem_sep ContainerId getContainerId concode_elem_sep EventType getEventType concode_elem_sep Object getDatum concode_elem_sep String getAvataar concode_elem_sep int getHttpPort ... |
boolean function ( EObject arg0 ) { CoreArgCheck . isNotNull ( arg0 ) ; boolean loc0 = false ; String loc1 = arg0 . eClass ( ) . getEPackage ( ) . getNsURI ( ) ; ITreeToRelationalMapper loc2 = ( ITreeToRelationalMapper ) uriMapperMap . get ( loc1 ) ; if ( loc2 != null ) { loc0 = loc2 . isTreeNode ( arg0 ) ; } return lo... | indicates if the specified tree node is a root in one of the loaded itreetorelationalmappers . concode_field_sep Map uriMapperMap concode_elem_sep Map uriConfigElementMap concode_elem_sep Class CLASS concode_elem_sep String PREFIX concode_field_sep String getMetamodelUri concode_elem_sep ITreeToRelationalMapper createM... |
boolean function ( int arg0 ) { return false ; } | this method always returns false , since this jcr property types do n't represent auto-incremented values . concode_field_sep int[] nullable concode_elem_sep JcrConnection connection concode_elem_sep QueryResult results concode_field_sep String getSchemaName concode_elem_sep boolean isCaseSensitive concode_elem_sep Str... |
String function ( String arg0 ) { StringBuffer loc0 = new StringBuffer ( CAMERA_PATH ) ; Date loc1 = new Date ( System . currentTimeMillis ( ) ) ; loc0 . append ( dateTime . format ( loc1 ) ) ; loc0 . append ( "srini_string" ) . append ( arg0 ) ; return loc0 . toString ( ) ; } | get a unique file prefix for the system store for video . this is based on the root `` file : / / / store/home/user / date-time - '' + xxxxx where the client provides the xxxxx . this methods puts the date and time in the filename , so that a new directory is not created in each case concode_field_sep String VIDEO_PATH... |
boolean function ( ) { return this . lowerCaseNames ; } | returns true if parameter names are to be converted to lower case when name/value pairs are parsed . concode_field_sep int pos concode_elem_sep int len concode_elem_sep boolean lowerCaseNames concode_elem_sep int i1 concode_elem_sep int i2 concode_elem_sep char[] chars concode_field_sep boolean hasChar concode_elem_sep... |
void function ( JasperReport arg0 , Map < String , Object > arg1 , Object arg2 , OutputStream arg3 ) { JasperPrint loc0 = JasperFillManager . fillReport ( arg0 , arg1 , convertReportData ( arg2 ) ) ; render ( new JRXlsExporter ( ) , loc0 , arg3 ) ; } | render a report in xls format using the supplied report data . writes the results to the supplied outputstream . concode_field_sep PlaceHolder placeHolder concode_field_sep JRDataSource convertReportData concode_elem_sep void renderAsCsv concode_elem_sep void renderAsCsv concode_elem_sep void renderAsHtml concode_elem_... |
List < User > function ( HttpSession arg0 ) { User loc0 = ( User ) arg0 . getAttribute ( "srini_string" ) ; LOGGER . info ( "srini_string" + loc0 . getCg_id ( ) ) ; List < User > loc1 = projectService . getUsersByCorporate ( loc0 ) ; return loc1 ; } | param concode_field_sep IProjectService projectService concode_elem_sep Logger LOGGER concode_elem_sep IDepartmentService departmentService concode_field_sep ModelAndView inserProject concode_elem_sep ModelAndView editProject concode_elem_sep int getVDCdetails concode_elem_sep ModelAndView deleteProject concode_elem_se... |
void function ( Long arg0 ) { this . primaryContactId = arg0 ; } | sets the value of the primarycontactid property . concode_field_sep String address concode_elem_sep String faxPhone concode_elem_sep DateTime lastModifiedDateTime concode_elem_sep List<AppliedLabel> appliedLabels concode_elem_sep String externalId concode_elem_sep CompanyCreditStatus creditStatus concode_elem_sep Integ... |
HandlerInterceptor function ( ) { return this . interceptor ; } | the actual interceptor reference . concode_field_sep String[] excludePatterns concode_elem_sep String[] includePatterns concode_elem_sep PathMatcher pathMatcher concode_elem_sep HandlerInterceptor interceptor concode_field_sep void postHandle concode_elem_sep void afterCompletion concode_elem_sep boolean preHandle conc... |
void function ( JAXBElement < String > arg0 ) { this . feature = arg0 ; } | sets the value of the feature property . concode_field_sep JAXBElement<LicenseTypes> licenseType concode_elem_sep JAXBElement<String> server concode_elem_sep JAXBElement<String> feature concode_elem_sep JAXBElement<String> additionalKey concode_elem_sep JAXBElement<String> vendor concode_elem_sep JAXBElement<String> ve... |
ListEntity function ( ) { return listEntity ; } | gets the value of the listentity property . concode_field_sep String exposeContainer concode_elem_sep ListEntity listEntity concode_elem_sep Bean bean concode_elem_sep Home home concode_field_sep Home getHome concode_elem_sep void setExposeContainer concode_elem_sep void setHome concode_elem_sep void setBean concode_el... |
boolean function ( Calendar arg0 , Calendar arg1 ) { if ( arg0 == null || arg1 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return ( arg0 . get ( Calendar . ERA ) == arg1 . get ( Calendar . ERA ) && arg0 . get ( Calendar . YEAR ) == arg1 . get ( Calendar . YEAR ) && arg0 . get ( Calendar . DAY_... | checks if two calendars represent the same day ignoring time . concode_field_sep Date MAX_DATE concode_field_sep boolean isAfterDay concode_elem_sep boolean isAfterDay concode_elem_sep boolean isBeforeDay concode_elem_sep boolean isBeforeDay concode_elem_sep Date min concode_elem_sep Date getStart concode_elem_sep Date... |
TaskStackBuilder function ( Class < ? > arg0 ) { return addParentStack ( new ComponentName ( mSourceContext , arg0 ) ) ; } | add the activity parent chain as specified by the android.r.attr #parentactivityname parentactivityname attribute of the activity or activity-alias element in the application 's manifest to the task stack builder . concode_field_sep ArrayList<Intent> mIntents concode_elem_sep String TAG concode_elem_sep Context mSource... |
void function ( T arg0 ) { CreationalContext < T > loc0 = manager . createCreationalContext ( null ) ; it . inject ( arg0 , loc0 ) ; } | injects the instance concode_field_sep BeanManager manager concode_elem_sep InjectionTarget<T> it concode_elem_sep Object lock concode_elem_sep Map<BeanManager,ClassMetaCache<NonContextual<?>>> cache concode_field_sep ClassMetaCache<NonContextual<?>> getCache concode_elem_sep NonContextual<T> of concode_elem_sep void p... |
int function ( ) { final View loc0 = findOneVisibleChild ( 0 , layoutManager . getChildCount ( ) , true , false ) ; return loc0 == null ? RecyclerView . NO_POSITION : recyclerView . getChildAdapterPosition ( loc0 ) ; } | returns the adapter position of the first fully visible view . this position does not include adapter changes that were dispatched after the last layout pass . concode_field_sep RecyclerView.LayoutManager layoutManager concode_elem_sep RecyclerView recyclerView concode_field_sep int findLastCompletelyVisibleItemPositio... |
void function ( Long arg0 ) { this . generalFlags = arg0 ; } | sets the value of the generalflags property . concode_field_sep String commonName concode_elem_sep PrivateKeyAttributes privateKeyAttributes concode_elem_sep Long generalFlags concode_elem_sep CertificateValidity certificateValidity concode_elem_sep SupersededPolicies supersededPolicies concode_elem_sep long policySche... |
void function ( String arg0 ) { m_lineConversation . setExpectedClose ( arg0 ) ; } | setexpectedclose concode_field_sep int m_bufferSize concode_elem_sep Charset CHARSET_UTF8 concode_elem_sep int m_port concode_elem_sep IoAcceptor m_acceptor concode_elem_sep int m_idleTime concode_elem_sep IoHandler m_ioHandler concode_elem_sep LineConversation m_lineConversation concode_field_sep void addRequestHandle... |
void function ( CTPositiveSize2D arg0 ) { this . ext = arg0 ; } | sets the value of the ext property . concode_field_sep CTPositiveSize2D ext concode_elem_sep CTGroupShape grpSp concode_elem_sep CTGraphicalObjectFrame graphicFrame concode_elem_sep CTMarker from concode_elem_sep CTPicture pic concode_elem_sep CTAnchorClientData clientData concode_elem_sep CTShape sp concode_elem_sep C... |
void function ( ) { pageCount = ( int ) Math . ceil ( ( double ) totalCount / ( double ) pageSize ) ; startIdx = ( pageNo - 1 ) * pageSize ; fetchSize = pageSize ; } | calculate and then cleanup concode_field_sep String hql concode_elem_sep int pageCount concode_elem_sep Map<String,Object> paramMap concode_elem_sep int fetchSize concode_elem_sep Criteria criteria concode_elem_sep Object[] paramValues concode_elem_sep int startIdx concode_elem_sep int pageSize concode_elem_sep long se... |
StorageLevel function ( boolean arg0 , boolean arg1 , boolean arg2 , int arg3 ) { return StorageLevel . apply ( arg0 , arg1 , false , arg2 , arg3 ) ; } | create a new storagelevel object . concode_field_sep StorageLevel DISK_ONLY_2 concode_elem_sep StorageLevel MEMORY_AND_DISK_2 concode_elem_sep StorageLevel MEMORY_AND_DISK_SER_2 concode_elem_sep StorageLevel MEMORY_AND_DISK_SER concode_elem_sep StorageLevel DISK_ONLY concode_elem_sep StorageLevel MEMORY_ONLY concode_el... |
void function ( Long arg0 ) { this . discountGroupId = arg0 ; } | sets the value of the discountgroupid property . concode_field_sep Long duration concode_elem_sep BigDecimal discountPercent concode_elem_sep Long discountGroupId concode_elem_sep BigDecimal discountAmount concode_field_sep void setDuration concode_elem_sep void setDiscountAmount concode_elem_sep Long getDuration conco... |
void function ( FibonacciHeapNode < T > arg0 , FibonacciHeapNode < T > arg1 ) { arg0 . left . right = arg0 . right ; arg0 . right . left = arg0 . left ; arg1 . degree -- ; if ( arg1 . child == arg0 ) { arg1 . child = arg0 . right ; } if ( arg1 . degree == 0 ) { arg1 . child = null ; } arg0 . left = minNode ; arg0 . rig... | the reverse of the link operation : removes x from the child list of y . this method assumes that min is non-null . running time : o 1 concode_field_sep FibonacciHeapNode<T> minNode concode_elem_sep double oneOverLogPhi concode_elem_sep int nNodes concode_field_sep FibonacciHeapNode<T> removeMin concode_elem_sep void c... |
void function ( ) { Connection loc0 = ( Connection ) connections . lastElement ( ) ; loc0 . complete ( ) ; } | picking up a call completes the current connection this means that you shouldnt merge calls until they are completed concode_field_sep Customer caller concode_elem_sep Customer receiver concode_elem_sep Vector connections concode_field_sep void merge concode_elem_sep boolean isConnected concode_elem_sep boolean include... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.