idx int64 0 25k | question stringlengths 68 5.14k | target stringlengths 20 503 |
|---|---|---|
9,100 | load a class from another bundle given its reference as bundlesymbolicname : classname if no bundlesymbolicname : prefix is given then a classforname will be done concode_field_sep Log log concode_elem_sep OSGiRuntimeActivator instance concode_elem_sep ServiceReference pkgAdmin concode_elem_sep BundleContext context co... | Class < ? > function ( String arg0 ) { int loc0 = arg0 . indexOf ( ':' ) ; if ( loc0 == - 1 ) { return Class . forName ( arg0 ) ; } return loadClass ( arg0 . substring ( 0 , loc0 ) , arg0 . substring ( loc0 + 1 ) ) ; } |
9,101 | returns the innermost cause of throwable . the first throwable in a chain provides context from when the error or exception was initially detected . example usage : assertequals `` unable to assign a customer id '' , throwables.getrootcause e . getmessage ; concode_field_sep Method getStackTraceElementMethod concode_el... | Throwable function ( Throwable arg0 ) { Throwable loc0 ; while ( ( loc0 = arg0 . getCause ( ) ) != null ) { arg0 = loc0 ; } return arg0 ; } |
9,102 | the display name for the trusted advisor check . concode_field_sep com.amazonaws.internal.SdkInternalList<String> metadata concode_elem_sep String name concode_elem_sep String description concode_elem_sep String id concode_elem_sep String category concode_field_sep java.util.List<String> getMetadata concode_elem_sep St... | void function ( String arg0 ) { this . name = arg0 ; } |
9,103 | wrap or unwrap a node using this object model to return the corresponding saxon node . if the supplied source does not belong to this object model , return null concode_field_sep DOMEnvelope THE_INSTANCE concode_field_sep boolean sendSource concode_elem_sep JPConverter getJPConverter concode_elem_sep boolean isRecogniz... | NodeInfo function ( Source arg0 , Configuration arg1 ) { if ( arg0 instanceof DOMSource ) { Node loc0 = ( ( DOMSource ) arg0 ) . getNode ( ) ; if ( loc0 instanceof NodeOverNodeInfo ) { return ( ( NodeOverNodeInfo ) loc0 ) . getUnderlyingNodeInfo ( ) ; } } return null ; } |
9,104 | set if the service is already logged out . concode_field_sep Map<String,Object> EMPTY_MAP concode_elem_sep Principal principal concode_elem_sep boolean loggedOutAlready concode_elem_sep ValidationResponseType format concode_elem_sep ResponseBuilder<WebApplicationService> responseBuilder concode_elem_sep String artifact... | void function ( final boolean arg0 ) { this . loggedOutAlready = arg0 ; } |
9,105 | whether to replace message fields i.e. , discard existing content in destination message fields when merging . default behavior is to merge the source message field into the destination message field . concode_field_sep String FIELD_SEPARATOR_REGEX concode_elem_sep String FIELD_PATH_SEPARATOR concode_elem_sep String FI... | boolean function ( ) { return replaceMessageFields ; } |
9,106 | test of getdistancemeasure method , of class singlepopulationdataclusteringiterationstrategy . concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetDataset concode_elem_sep void testGetReinitialisationInterval concode_elem_sep void testSetWindow concode_elem_sep void testPerformIteration concode_elem... | void function ( ) { SinglePopulationDataClusteringIterationStrategy loc0 = new StandardDataClusteringIterationStrategy ( ) ; Assert . assertTrue ( loc0 . getDistanceMeasure ( ) instanceof EuclideanDistanceMeasure ) ; } |
9,107 | gets the name of the base object . concode_field_sep FileType FILE_TYPE concode_elem_sep Class javaClass concode_elem_sep String description concode_elem_sep StringType STRING_TYPE concode_elem_sep Object[] validValues concode_elem_sep DurationType DURATION_TYPE concode_elem_sep File iconFilePath concode_elem_sep MMp3S... | String function ( ) { return name ; } |
9,108 | if you know the action string , look up the corresponding type id constant . concode_field_sep int BITSTREAM concode_elem_sep int DELETE concode_elem_sep int DEFAULT_ITEM_READ concode_elem_sep int NEWS_TOP concode_elem_sep String METADATA_BUNDLE_NAME concode_elem_sep int WRITE concode_elem_sep String DEFAULT_BUNDLE_NAM... | int function ( String arg0 ) { for ( int loc0 = 0 ; loc0 < actionText . length ; loc0 ++ ) { if ( actionText [ loc0 ] . equals ( arg0 ) ) { return loc0 ; } } return - 1 ; } |
9,109 | called by internal mechanisms , do not call yourself . concode_field_sep java.util.Date createTime concode_elem_sep Long id concode_elem_sep DaoSession daoSession concode_elem_sep String url concode_elem_sep String content concode_elem_sep RemoteCacheDataDao myDao concode_field_sep String getUrl concode_elem_sep void s... | void function ( DaoSession arg0 ) { this . daoSession = arg0 ; myDao = arg0 != null ? arg0 . getRemoteCacheDataDao ( ) : null ; } |
9,110 | inserts the element and returns true if this element caused another element to be dropped from the queue . concode_field_sep long sentinel concode_elem_sep int size concode_elem_sep int currentCapacity concode_elem_sep int maxSize concode_elem_sep long[] heap concode_field_sep long add concode_elem_sep void downHeap co... | boolean function ( long arg0 ) { if ( size < maxSize ) { add ( arg0 ) ; return false ; } else if ( arg0 > heap [ 1 ] ) { heap [ 1 ] = arg0 ; updateTop ( ) ; return true ; } else { return false ; } } |
9,111 | the current version of the configuration . for example : e2qwruhapomqzl . concode_field_sep String eTag concode_elem_sep StreamingDistribution streamingDistribution concode_field_sep void setStreamingDistribution concode_elem_sep StreamingDistribution getStreamingDistribution concode_elem_sep String getETag concode_ele... | void function ( String arg0 ) { this . eTag = arg0 ; } |
9,112 | checks if text is empty characters < = space concode_field_sep PlaceHolder placeHolder concode_field_sep String arrayToString concode_elem_sep int rightTrimSize concode_elem_sep String toZeroPaddedString concode_elem_sep String[] split concode_elem_sep String getList concode_elem_sep String getList concode_elem_sep Str... | boolean function ( String arg0 ) { int loc0 = arg0 == null ? 0 : arg0 . length ( ) ; while ( loc0 > 0 ) { if ( arg0 . charAt ( -- loc0 ) > ' ' ) { return false ; } } return true ; } |
9,113 | setup before testing . concode_field_sep String webUrl concode_elem_sep WebClient webClient concode_field_sep void testBoolean concode_elem_sep void testDefault concode_elem_sep void testBasic concode_elem_sep void tearDown | void function ( ) { webUrl = System . getProperty ( "srini_string" ) ; webClient = new WebClient ( ) ; webClient . setThrowExceptionOnFailingStatusCode ( true ) ; } |
9,114 | gets the level defined at position pos . the 0 - position is the root-level , whereby the 1 - position is the one after that one and so on . concode_field_sep String name concode_elem_sep String timeZone concode_elem_sep TimeDimension timeDimension concode_elem_sep String id concode_elem_sep Map<String,TimeLevel> level... | TimeLevel function ( final int arg0 ) { return net . meisen . general . genmisc . collections . Collections . get ( arg0 , levels . values ( ) ) ; } |
9,115 | alters the passed in exe path to increase probability of exe file success finding when spawning an external process . modifications are performed iff the passed in exe path is a basename i.e. it does n't contain slashes . e.g. `` java '' , `` git '' or `` node '' . the motivation behind this modification is as follows ... | String function ( @ NotNull String arg0 ) { return findAbsolutePathOnMac ( arg0 ) ; } |
9,116 | put a whole load of objects in the store at once . concode_field_sep Set<String> EMPTY_SET concode_elem_sep HashMap<String,HashSet<String>> store concode_field_sep void add concode_elem_sep Set<String> queryByPrefix | void function ( Collection < String > arg0 ) { for ( String loc0 : arg0 ) { add ( loc0 ) ; } } |
9,117 | closes the iterator , handling null and ignoring exceptions . concode_field_sep BufferedReader bufferedReader concode_elem_sep String cachedLine concode_elem_sep boolean finished concode_field_sep Object next concode_elem_sep String nextLine concode_elem_sep boolean hasNext concode_elem_sep boolean isValidLine concode_... | void function ( LineIterator arg0 ) { if ( arg0 != null ) { arg0 . close ( ) ; } } |
9,118 | returns true if expression requires wrapping because operator we intend to apply to it operates on a higher precedence than effective precedence at work inside the expression concode_field_sep boolean DEEP_UTILISATION_TEST concode_elem_sep ExprType type concode_elem_sep int precedence concode_field_sep Expr cast concod... | boolean function ( int arg0 , boolean arg1 ) { if ( precedence == JavaPrec . LABEL ) return false ; if ( arg0 == JavaPrec . LABEL ) return false ; return arg0 > ( precedence - ( arg1 ? 0 : 1 ) ) ; } |
9,119 | partition cols . concode_field_sep boolean ifNotExists concode_elem_sep HCatTable hcatTable concode_field_sep Builder tblProps concode_elem_sep String getLocation concode_elem_sep int getNumBuckets concode_elem_sep List<HCatFieldSchema> getPartitionCols concode_elem_sep List<Order> getSortCols concode_elem_sep String g... | Builder function ( List < HCatFieldSchema > arg0 ) { this . hcatTable . arg0 ( arg0 ) ; return this ; } |
9,120 | returns the entry that this importer uses as the root sentinel . concode_field_sep Map children concode_elem_sep ZipFile zipFile concode_elem_sep Map directoryEntryCache concode_elem_sep int stripLevel concode_elem_sep ZipEntry root concode_field_sep void setStrip concode_elem_sep String getLabel concode_elem_sep Strin... | Object function ( ) { return root ; } |
9,121 | deserializes a certificate from a serialized certificaterep object . concode_field_sep byte[] data concode_elem_sep long serialVersionUID concode_elem_sep ObjectStreamField[] serialPersistentFields concode_elem_sep long serialVersionUID concode_elem_sep String type concode_field_sep String getType concode_elem_sep int ... | Object function ( ) { try { CertificateFactory loc0 = CertificateFactory . getInstance ( type ) ; return loc0 . generateCertificate ( new ByteArrayInputStream ( data ) ) ; } catch ( Throwable loc0 ) { throw new NotSerializableException ( "srini_string" + loc0 ) ; } } |
9,122 | the provider of the rules package . concode_field_sep String provider concode_elem_sep String name concode_elem_sep String description concode_elem_sep String arn concode_elem_sep String version concode_field_sep void setName concode_elem_sep String getVersion concode_elem_sep String getName concode_elem_sep void setVe... | RulesPackage function ( String arg0 ) { setProvider ( arg0 ) ; return this ; } |
9,123 | gets whether the effect should render new frames automatically which it does by default . if true , you can render frames manually by calling the render instance method of an effect . this is used by effect.parallel . concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concod... | boolean function ( ) { return sync ; } |
9,124 | adds the p2p activity to the database . also notifies the appropriate model listeners . concode_field_sep P2pActivityLocalService _p2pActivityLocalService concode_field_sep void setWrappedService concode_elem_sep java.util.List<com.liferay.lms.model.P2pActivity> findByActIdOrderByP2pId concode_elem_sep void setWrappedP... | com . liferay . lms . model . P2pActivity function ( com . liferay . lms . model . P2pActivity arg0 ) { return _p2pActivityLocalService . addP2pActivity ( arg0 ) ; } |
9,125 | sets the publishtag . concode_field_sep String m_structureId concode_elem_sep long m_dateReleased concode_elem_sep String m_parentId concode_elem_sep int m_last concode_elem_sep long serialVersionUID concode_elem_sep String m_resourcePath concode_elem_sep int m_publishTag concode_elem_sep long m_dateExpired concode_ele... | void function ( int arg0 ) { m_publishTag = arg0 ; } |
9,126 | sets or clears the data terminal ready signal . concode_field_sep Device device concode_field_sep void setBaudRate concode_elem_sep void setBaudRate concode_elem_sep void setFlowControl concode_elem_sep void setFlowControl concode_elem_sep void setFlowControl concode_elem_sep void setDivisor concode_elem_sep void setDi... | void function ( boolean arg0 ) { setDTR ( device . getHandle ( ) , arg0 ) ; } |
9,127 | called when reference counting hits 0 . by default this method does nothing , but extensions can override to e.g. release resources attached to object that is managed by this class . concode_field_sep AtomicInteger refCount concode_elem_sep T object concode_field_sep void decRef concode_elem_sep T get concode_elem_sep ... | void function ( ) { } |
9,128 | methods matching the given predicate . concode_field_sep List<Predicate<Method>> predicates concode_elem_sep List<Class<? extends Annotation>> annotationTypes concode_elem_sep Class<?> objectClass concode_elem_sep String methodName concode_elem_sep Class<?>[] argumentTypes concode_elem_sep ResolvableType returnType con... | ResolvableMethod function ( Predicate < Method > arg0 ) { this . predicates . add ( arg0 ) ; return this ; } |
9,129 | sets principal factory to create principal objects . concode_field_sep TicketRegistry ticketRegistry concode_elem_sep List<ValidationServiceSelectionStrategy> validationServiceSelectionStrategies concode_elem_sep long serialVersionUID concode_elem_sep TicketFactory ticketFactory concode_elem_sep ServicesManager service... | void function ( @ Qualifier ( "srini_string" ) final PrincipalFactory arg0 ) { this . principalFactory = arg0 ; } |
9,130 | the name of the solution stack these configuration options belong to . concode_field_sep String solutionStackName concode_elem_sep com.amazonaws.internal.SdkInternalList<ConfigurationOptionDescription> options concode_field_sep DescribeConfigurationOptionsResult withSolutionStackName concode_elem_sep DescribeConfigurat... | String function ( ) { return this . solutionStackName ; } |
9,131 | gets the path relative to closure-base , if one is available . concode_field_sep SourceAst ast concode_elem_sep List<String> provides concode_elem_sep CodingConvention codingConvention concode_elem_sep JSModule module concode_elem_sep boolean generatedDependencyInfoFromSource concode_elem_sep long serialVersionUID conc... | String function ( ) { throw new UnsupportedOperationException ( ) ; } |
9,132 | returns bytes of command frame concode_field_sep boolean extendAddress concode_elem_sep boolean demandAck concode_elem_sep boolean threePhase concode_elem_sep Command command concode_field_sep void setDemandAckTo concode_elem_sep int getSecondParameter concode_elem_sep List<Byte> getDataBytes concode_elem_sep Command g... | List < Byte > function ( ) { List < Byte > loc0 = new ArrayList < Byte > ( ) ; loc0 . add ( getCommandByte ( ) ) ; loc0 . addAll ( getDataBytes ( ) ) ; return loc0 ; } |
9,133 | frommap converts a map into a java object . this version will see if there is a class parameter in the map , and dies if there is not . concode_field_sep Mapper mapper concode_elem_sep Mapper prettyMapper concode_elem_sep Mapper mapperWithType concode_field_sep T fromValueMap concode_elem_sep T fromList concode_elem_se... | Object function ( Map < String , Object > arg0 ) { return mapper . fromMap ( arg0 ) ; } |
9,134 | returns an iterator for the parameter names . concode_field_sep Class className concode_elem_sep HashMap parameterDefs concode_elem_sep HashMap parameters concode_elem_sep Configuration config concode_field_sep ObjectDescription getUnconfiguredInstance concode_elem_sep Class getObjectClass concode_elem_sep void configu... | Iterator function ( ) { return new ReadOnlyIterator ( this . parameters . keySet ( ) . iterator ( ) ) ; } |
9,135 | stub . see implementation comment in the method for why this is not implemented yet . concode_field_sep boolean originalAutoCommitMode concode_elem_sep int XA_STATE_INITIAL concode_elem_sep int XA_STATE_DISPOSED concode_elem_sep int XA_STATE_PREPARED concode_elem_sep JDBCXADataSource xaDataSource concode_elem_sep JDBCC... | boolean function ( XAResource arg0 ) { if ( ! ( arg0 instanceof JDBCXAResource ) ) { return false ; } return xaDataSource == ( ( JDBCXAResource ) arg0 ) . getXADataSource ( ) ; } |
9,136 | this creates an ouput of any kind to a file . the returned outbuilder can be usedto specifiy which kind of writer or outputstream should be created and allows you to specify further how the output chain is build . concode_field_sep PlaceHolder placeHolder concode_field_sep OutBuilder file concode_elem_sep OutBuilder fi... | OutBuilder function ( String arg0 ) { if ( arg0 == null ) throw new NullPointerException ( "srini_string" ) ; return arg0 ( new File ( arg0 ) ) ; } |
9,137 | insert into the given int into the given any . this implementation first creates a ulongseqholder and then calls any #insert_streamable streamable . concode_field_sep PlaceHolder placeHolder concode_field_sep int[] extract concode_elem_sep int[] read concode_elem_sep String id concode_elem_sep TypeCode type concode_ele... | void function ( Any arg0 , int [ ] arg1 ) { ULongSeqHolder loc0 = new ULongSeqHolder ( arg1 ) ; arg0 . insert_Streamable ( loc0 ) ; } |
9,138 | gets spawn of player concode_field_sep ArrayList<Arena> ArenaList concode_elem_sep ArrayList<Map> Maps concode_elem_sep Team winner concode_elem_sep ArrayList<Integer> countdowns concode_elem_sep Location lobby concode_elem_sep Map currentMap concode_elem_sep Team SPECTATOR_TEAM concode_elem_sep String name concode_ele... | Location function ( Player arg0 ) { return getCurrentMap ( ) . getSpawns ( ) . get ( getTeam ( arg0 ) ) ; } |
9,139 | add information message . concode_field_sep Properties buildProperties concode_field_sep String getRequestParameter concode_elem_sep UIComponent findComponent concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String getActionAttribute concode_elem_sep String getBu... | void function ( String arg0 ) { addInfoMessage ( null , arg0 ) ; } |
9,140 | sets the object/class reference for this id concode_field_sep SoftReference _reference concode_elem_sep byte _tag concode_elem_sep long _id concode_elem_sep int SIZE concode_field_sep boolean equals concode_elem_sep void setId concode_elem_sep long getId concode_elem_sep void writeTagged concode_elem_sep SoftReference ... | void function ( SoftReference arg0 ) { _reference = arg0 ; } |
9,141 | returns the sources for the model description . concode_field_sep HashMap classesMap concode_elem_sep MappingModel mappingModel concode_elem_sep ArrayList sources concode_elem_sep ArrayList classes concode_elem_sep Comments modelComments concode_elem_sep HashMap includeComments concode_field_sep void addClassDescriptio... | String [ ] function ( ) { return ( String [ ] ) this . sources . toArray ( new String [ this . sources . size ( ) ] ) ; } |
9,142 | verifies that invalid binding name will be ignored and default used instead . concode_field_sep ServletOutputStream output concode_elem_sep SAMLMessageContext samlContext concode_elem_sep HttpServletRequest request concode_elem_sep MetadataManager metadata concode_elem_sep HttpServletResponse response concode_elem_sep ... | void function ( ) { options . setBinding ( "srini_string" ) ; storage . storeMessage ( ( String ) notNull ( ) , ( XMLObject ) notNull ( ) ) ; replyMock ( ) ; profile . sendAuthenticationRequest ( samlContext , options ) ; verifyMock ( ) ; } |
9,143 | set a view object for this modelandview . will override any pre-existing view name or view . concode_field_sep Object view concode_elem_sep ModelMap model concode_elem_sep HttpStatus status concode_elem_sep boolean cleared concode_field_sep boolean wasCleared concode_elem_sep Map<String,Object> getModel concode_elem_se... | void function ( View arg0 ) { this . view = arg0 ; } |
9,144 | gets selected time zone time . this is the time zone selected by one of six commandbuttons from the map in the ui . concode_field_sep boolean dialogRendered concode_elem_sep DateFormat selectedFormat concode_elem_sep ArrayList checkedTimeZoneList concode_elem_sep DateFormat serverFormat concode_elem_sep int renderInter... | String function ( ) { return formatCurrentTime ( selectedFormat ) ; } |
9,145 | run the tests contained in classes . write feedback while the tests are running and write stack traces for all failed tests after all tests complete . this is similar to #main string , but intended to be used programmatically . concode_field_sep RunNotifier notifier concode_field_sep String getVersion concode_elem_sep ... | Result function ( Class < ? > ... arg0 ) { return runClasses ( defaultComputer ( ) , arg0 ) ; } |
9,146 | check if property exists in file concode_field_sep boolean deferred concode_elem_sep File propsFile concode_elem_sep Properties properties concode_field_sep PropertyLookup createDeferred concode_elem_sep Map getPropertiesMap concode_elem_sep PropertyLookup expand concode_elem_sep String getProperty concode_elem_sep Pro... | boolean function ( final String arg0 ) { if ( deferred ) { loadProperties ( ) ; } return properties . containsKey ( arg0 ) ; } |
9,147 | method to fetch the version at the given index . concode_field_sep Log log concode_elem_sep InputStream inputStream concode_elem_sep List<Long> versionList concode_elem_sep int SIZE_OF_BYTE concode_elem_sep int SIZE_OF_LONG concode_elem_sep int maxRetrievedVersion concode_field_sep long getNextVersion | long function ( int arg0 ) { while ( arg0 > maxRetrievedVersion ) { long loc0 = getNextVersion ( ) ; if ( loc0 == 0 ) { return - 1 ; } versionList . add ( loc0 ) ; maxRetrievedVersion ++ ; } return versionList . get ( arg0 ) ; } |
9,148 | returns the value of field ` parmname ' . the field ` parmname ' has the following description : parm name concode_field_sep java.lang.String _parmName concode_elem_sep long serialVersionUID concode_elem_sep org.opennms.netmgt.xml.event.Value _value concode_field_sep org.opennms.netmgt.xml.event.Value getValue concode_... | java . lang . String function ( ) { return this . _parmName ; } |
9,149 | returns the osgi bundlecontext of this bundle . the osgi bundlecontext is needed to talk with other services running under osgi . eg . openhab 's transformationservice . concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void stop concode_elem_sep void start | BundleContext function ( ) { return context ; } |
9,150 | gets the password . concode_field_sep String password concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep void setUserName concode_elem_sep String getUserName | String function ( ) { return password ; } |
9,151 | perform basic tests on a keystore to detect common user mistakes . if a problem is found , a keystoreexception is thrown . if no problem is found , this method simply returns without exceptions . concode_field_sep String REVIEW_MESSAGE concode_field_sep InputStream streamKeystore concode_elem_sep KeyStore loadKeystore ... | void function ( AppleServer arg0 , Object arg1 ) { KeyStore loc0 = null ; if ( arg1 instanceof KeyStore ) loc0 = ( KeyStore ) arg1 ; else loc0 = loadKeystore ( arg0 , arg1 ) ; verifyKeystoreContent ( loc0 ) ; } |
9,152 | sets the value of the username property . concode_field_sep String username concode_field_sep String getUsername | void function ( String arg0 ) { this . username = arg0 ; } |
9,153 | this function reads the root certificate and checks to make sure that root certificate is valid , ie . not expired in relation to the current date . concode_field_sep VMCAClient vmcaClient concode_field_sep void testRevokeCertificateTest concode_elem_sep void testGetRootCertificate concode_elem_sep void testPKCS10Gener... | void function ( ) { Calendar loc0 = new GregorianCalendar ( ) ; X509Certificate loc1 = vmcaClient . getRootCertificate ( ) ; Assert . assertNotNull ( loc1 ) ; loc1 . checkValidity ( loc0 . getTime ( ) ) ; System . out . println ( "srini_string" ) ; } |
9,154 | reports username concode_field_sep String password concode_elem_sep String ALLOW_MAGIC concode_elem_sep String CARRIER_IMAGE_ID concode_elem_sep String PPP_UNIT_NUMBER concode_elem_sep String ADD_DEFAULT_ROUTE concode_elem_sep String ALLOW_BSD_COMP concode_elem_sep String USERNAME concode_elem_sep String DIALSTRING con... | String function ( ) { return this . username ; } |
9,155 | returns the least common multiple between two numbers concode_field_sep int[] diff concode_field_sep int gcdInt concode_elem_sep long gcdLong concode_elem_sep int findDivisor concode_elem_sep long findDivisor concode_elem_sep long lcmLong concode_elem_sep boolean isAbundant concode_elem_sep int lcmInt concode_elem_sep ... | int function ( int arg0 , int arg1 ) { return ( arg0 / gcd ( arg0 , arg1 ) ) * arg1 ; } |
9,156 | set the ant type to compare against . concode_field_sep String ONE_ONLY concode_elem_sep Project project concode_elem_sep String type concode_elem_sep Class<?> clazz concode_elem_sep String uri concode_field_sep String getType concode_elem_sep void setClass concode_elem_sep void setURI concode_elem_sep boolean isSelect... | void function ( String arg0 ) { type = arg0 ; } |
9,157 | this method was generated by mybatis generator . this method returns the value of the database column cp_sequence . stepvalue concode_field_sep BigDecimal cache concode_elem_sep Long maxvalue concode_elem_sep BigDecimal stepvalue concode_elem_sep Long curvalue concode_elem_sep String year concode_elem_sep String seqnam... | BigDecimal function ( ) { return stepvalue ; } |
9,158 | returns a record from the buffer . note : this method can not be replaced with specific methods like readint or similar . the planbinder requires a method that can return any kind of object . concode_field_sep File inputFile concode_elem_sep Tuple reuse concode_elem_sep RandomAccessFile inputRAF concode_elem_sep int si... | Object function ( boolean arg0 ) { if ( fileBuffer . position ( ) == 0 ) { loadBuffer ( ) ; } return receiveField ( arg0 ) ; } |
9,159 | helper to create initialcontext with necessary properties . concode_field_sep PlaceHolder placeHolder concode_field_sep T lookup concode_elem_sep String createRemoteEjbJndiContext | Context function ( ) { final Properties loc0 = new Properties ( ) ; loc0 . setProperty ( Context . URL_PKG_PREFIXES , "srini_string" ) ; return new InitialContext ( loc0 ) ; } |
9,160 | sets value of the nioreactorpnames #grace_period parameter . concode_field_sep PlaceHolder placeHolder concode_field_sep void setContentBufferSize concode_elem_sep void setSelectInterval concode_elem_sep int getContentBufferSize concode_elem_sep void setInterestOpsQueueing concode_elem_sep boolean getInterestOpsQueuein... | void function ( final HttpParams arg0 , long arg1 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } arg0 . setLongParameter ( GRACE_PERIOD , arg1 ) ; } |
9,161 | called after commits or after each statement when autocommit is on concode_field_sep LockFile lockFile concode_elem_sep boolean needsCheckpoint concode_elem_sep Log log concode_elem_sep SimpleLog appLog concode_elem_sep boolean logStatements concode_elem_sep boolean syncFile concode_field_sep void checkpoint concode_el... | void function ( ) { if ( logStatements && syncFile ) { log . synchLog ( ) ; } } |
9,162 | gets the endpoint of this event . concode_field_sep int endpoint concode_elem_sep int nodeId concode_field_sep int getNodeId | int function ( ) { return endpoint ; } |
9,163 | delegate method to the graphics2d drawstring method . concode_field_sep java.awt.font.TextLayout helper concode_elem_sep Map<? extends Attribute,?> fontAttributes concode_elem_sep FontRenderContext frc concode_elem_sep String value concode_field_sep Rectangle2D getBounds | void function ( Graphics2D arg0 , float arg1 , float arg2 ) { if ( frc . isAntiAliased ( ) ) arg0 . setRenderingHint ( RenderingHints . KEY_TEXT_ANTIALIASING , RenderingHints . VALUE_TEXT_ANTIALIAS_ON ) ; else arg0 . setRenderingHint ( RenderingHints . KEY_TEXT_ANTIALIASING , RenderingHints . VALUE_TEXT_ANTIALIAS_OFF )... |
9,164 | method to obtain the set of java.lang.string string protocols . this is a utility that merely obtains theprotocols from the factories . concode_field_sep ObjectIDFactory defaultFactory concode_elem_sep IDGenerator INSTANCE concode_elem_sep Map factories concode_elem_sep Set protocols concode_field_sep void addFactory c... | Set function ( ) { return factories . keySet ( ) ; } |
9,165 | gets the contact value for this phonecallcontact . concode_field_sep java.lang.String phone concode_elem_sep com.netsuite.webservices.platform.core_2014_2.RecordRef contact concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep com.netsuite.webservices.platform.core_2014... | com . netsuite . webservices . platform . core_2014_2 . RecordRef function ( ) { return contact ; } |
9,166 | returns the qualifying namespace uri specified at construction . concode_field_sep XMLEventParser parent concode_elem_sep String CHARACTERS_CONTENT concode_elem_sep String namespaceURI concode_elem_sep AVList fields concode_field_sep void doParseEventAttributes concode_elem_sep void setField concode_elem_sep void setFi... | String function ( ) { return this . namespaceURI ; } |
9,167 | gets the target as a relative offset from the given address . concode_field_sep IndexType indexType concode_elem_sep InstructionCodec format concode_elem_sep int index concode_elem_sep int opcode concode_elem_sep int target concode_elem_sep long literal concode_field_sep void encode concode_elem_sep DecodedInstruction ... | int function ( int arg0 ) { return target - arg0 ; } |
9,168 | convenience method for defining methods on a submodule . concode_field_sep PlaceHolder placeHolder concode_field_sep RubyHash toJsonRawObject concode_elem_sep IRubyObject json_create concode_elem_sep void populate concode_elem_sep IRubyObject to_json concode_elem_sep IRubyObject to_json concode_elem_sep IRubyObject to_... | void function ( RubyModule arg0 , String arg1 , Class arg2 ) { RubyModule loc0 = arg0 . defineModuleUnder ( arg1 ) ; loc0 . defineAnnotatedMethods ( arg2 ) ; } |
9,169 | called when a message is sent to plugin . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String serviceName concode_field_sep boolean onReceivedClientCertRequest concode_elem_sep boolean onOverrideUrlLoading concode_ele... | Object function ( String arg0 , Object arg1 ) { return null ; } |
9,170 | used to communicate feedback pop-up messages between a plugin tool and the main whitebox user-interface . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep bool... | void function ( String arg0 ) { if ( myHost != null ) { myHost . showFeedback ( arg0 ) ; } else { System . out . println ( arg0 ) ; } } |
9,171 | methode de modification de l'objet evenementkaraoke concode_field_sep int NouveauTitre concode_elem_sep int RepeteObservable concode_elem_sep int typeEvenement concode_elem_sep int NouveauJPanel concode_elem_sep int NouvelObservable concode_elem_sep Object evenement concode_elem_sep int RepeteTitre concode_field_sep Ob... | void function ( int arg0 , Object arg1 ) { typeEvenement = arg0 ; evenement = arg1 ; } |
9,172 | returns true if at least one field is plotted on the y2 axis . concode_field_sep boolean firstLineRead concode_elem_sep int index concode_elem_sep Map<Integer,NumberFormat> fieldFormats concode_elem_sep BitSet y2PostSelection concode_elem_sep String fieldString concode_elem_sep FileProcessor processor concode_elem_sep ... | boolean function ( ) { return y2 != null && y2 . length > 0 ; } |
9,173 | get the string representation . the returned string can be used to construct a new object . concode_field_sep String name concode_elem_sep FilePath defaultProvider concode_elem_sep Map<String,FilePath> providers concode_elem_sep String tempRandom concode_elem_sep long tempSequence concode_field_sep String getName conco... | String function ( ) { return name ; } |
9,174 | returns true iff the routing tables for all indices have changed between the previous cluster state and the current cluster state . note that this is an object reference equality test , not an equals test . concode_field_sep DiscoveryNodes.Delta nodesDelta concode_elem_sep String source concode_elem_sep ClusterState st... | boolean function ( ) { return state . routingTable ( ) != previousState . routingTable ( ) ; } |
9,175 | sets the value of the mobile property . concode_field_sep TelcomNumberType pager concode_elem_sep TelcomNumberType ttytdd concode_elem_sep MobileTelcomNumberType mobile concode_elem_sep TelcomNumberType telephone concode_elem_sep TelcomNumberType fax concode_field_sep TelcomNumberType getTelephone concode_elem_sep void... | void function ( MobileTelcomNumberType arg0 ) { this . mobile = arg0 ; } |
9,176 | gets the totalresultsetsize value for this activitygrouppage . concode_field_sep java.lang.Integer startIndex concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Integer totalResultSetSize concode_elem_sep com.google.api.ads.dfp.axis.v201502.ActivityGroup[] ... | java . lang . Integer function ( ) { return totalResultSetSize ; } |
9,177 | converts to corresponding asn .1 structure dvcsrequestinformation . concode_field_sep DVCSRequestInformation data concode_field_sep int getVersion concode_elem_sep Date getRequestTime concode_elem_sep PolicyInformation getRequestPolicy concode_elem_sep BigInteger getNonce concode_elem_sep GeneralNames getDataLocations ... | DVCSRequestInformation function ( ) { return data ; } |
9,178 | notifies people that we 've changed , although we do n't tell them just how . concode_field_sep PropertyChangeSupport pSupport concode_elem_sep Object eventSource concode_elem_sep Object value concode_field_sep void setSource concode_elem_sep boolean supportsCustomEditor concode_elem_sep void paintValue concode_elem_se... | void function ( ) { pSupport . firePropertyChange ( null , null , null ) ; } |
9,179 | inject the mocked std-out printstream into the system class before each test concode_field_sep PrintStream stdOutOrig concode_elem_sep PrintStream stdOutMock concode_elem_sep Supplier<PartyMember> memberSupplier concode_field_sep void testPartyAction concode_elem_sep Collection<Supplier<PartyMember>[]> data concode_ele... | void function ( ) { System . setOut ( this . stdOutMock ) ; } |
9,180 | gets the value of the description 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 description property . for example , to add a new item... | List < DescriptionType > function ( ) { if ( description == null ) { description = new ArrayList < DescriptionType > ( ) ; } return this . description ; } |
9,181 | get the display name of the type : that is , a lexical qname with an arbitrary prefix concode_field_sep AnyType theInstance concode_field_sep SchemaType getAttributeUseType concode_elem_sep boolean isSimpleType concode_elem_sep boolean isSimpleContent concode_elem_sep int getElementParticleCardinality concode_elem_sep ... | String function ( ) { return "srini_string" ; } |
9,182 | sets the value of the pmtendtoendid property . concode_field_sep String pmtEndToEndId concode_elem_sep BigDecimal pmtAmt concode_elem_sep MandateInfo mandateInfo concode_elem_sep XMLGregorianCalendar pmtDate concode_elem_sep Creditor creditor concode_elem_sep String remittanceInfo concode_field_sep void setRemittanceIn... | void function ( String arg0 ) { this . pmtEndToEndId = arg0 ; } |
9,183 | returns a apimethodhelper for a particular api . concode_field_sep HashMap<Class<? extends ApiMethod>,E> apiMethods concode_elem_sep Map<E,ApiMethodHelper<? extends ApiMethod>> apis concode_field_sep Map<E,ApiMethodHelper<? extends ApiMethod>> getApiHelpers concode_elem_sep Map<Class<? extends ApiMethod>,E> getApiMetho... | ApiMethodHelper < ? extends ApiMethod > function ( E arg0 ) { return apis . get ( arg0 ) ; } |
9,184 | sets the firstname . concode_field_sep String firstName concode_elem_sep String lastName concode_field_sep void setLastName concode_elem_sep String getFirstName concode_elem_sep String getLastName | void function ( String arg0 ) { this . firstName = arg0 ; } |
9,185 | this method should not be chosen for the mapping , as our types are never within the bounds of t extends map concode_field_sep PlaceHolder placeHolder concode_field_sep long incrementingIntToLong concode_elem_sep T convert | T function ( String arg0 , @ TargetType Class < T > arg1 ) { throw new RuntimeException ( "srini_string" ) ; } |
9,186 | removes the decorators . concode_field_sep boolean registered concode_elem_sep ConcurrentHashMap<Class<? extends Decorator>,AtomicLong> populatorProfilerMap concode_elem_sep int id concode_elem_sep List<Decorator> decorators concode_elem_sep ThreadMXBean bean concode_elem_sep Comparator<Entry<Class<? extends Decorator>... | void function ( Decorator ... arg0 ) { this . decorators . removeAll ( Arrays . asList ( arg0 ) ) ; } |
9,187 | info 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 d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void setL... | void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . INFO >= LOGLEVEL ) Log . i ( arg0 , arg1 , arg2 ) ; } |
9,188 | get servlet context . concode_field_sep Properties buildProperties concode_field_sep String getRequestParameter concode_elem_sep UIComponent findComponent concode_elem_sep Object getManagedBean concode_elem_sep String getActionAttribute concode_elem_sep String getBuildAttribute concode_elem_sep void addWarnMessage conc... | ServletContext function ( ) { return ( ServletContext ) FacesContext . getCurrentInstance ( ) . getExternalContext ( ) . getContext ( ) ; } |
9,189 | check that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testSerialization concode_elem_sep void testEquals | void function ( ) { LongNeedle loc0 = new LongNeedle ( ) ; LongNeedle loc1 = ( LongNeedle ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; } |
9,190 | converts the exception that was thrown by the implementation method on a server side into remoteexception that can be transferred and re-thrown on a client side . the method converts exceptions as defined in the following table : exception to map or subclass maps into error servererror remoteexception serverexception s... | RemoteException function ( Throwable arg0 ) { return delegate . wrapException ( arg0 ) ; } |
9,191 | get custom deserializer concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep pe.com.grupobbva.ohc.hy21.CtBodyRq data concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep pe.com.grupobbva.xsd.ps9.CtHeaderRq header concode_elem_sep boolean __hashCodeCalc concode_field_sep org.apache... | org . apache . axis . encoding . Deserializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanDeserializer ( arg1 , arg2 , typeDesc ) ; } |
9,192 | sets the value of the type property . concode_field_sep float weigth concode_elem_sep String meet concode_elem_sep Brazier.Fuel fuel concode_elem_sep List<Brazier.Skewer> skewer concode_elem_sep int weight concode_elem_sep Integer id concode_elem_sep String type concode_field_sep void setSkewer concode_elem_sep void se... | void function ( String arg0 ) { this . type = arg0 ; } |
9,193 | register a session factory with the given name . concode_field_sep UnitOfWork unitOfWork concode_elem_sep Map<Method,UnitOfWork> methodMap concode_elem_sep Map<Method,UnitOfWork> methodMap concode_elem_sep Map<String,SessionFactory> sessionFactories concode_elem_sep Session session concode_elem_sep SessionFactory sessi... | void function ( String arg0 , SessionFactory arg1 ) { sessionFactories . put ( arg0 , arg1 ) ; } |
9,194 | prepare the parser for a mirrored operation . this flag has effect only on the #readformatinformation and the #readversion . before proceeding with #readcodewords the #mirror method should be called . concode_field_sep boolean mirror concode_elem_sep BitMatrix bitMatrix concode_elem_sep Version parsedVersion concode_el... | void function ( boolean arg0 ) { parsedVersion = null ; parsedFormatInfo = null ; this . mirror = arg0 ; } |
9,195 | sets the action associated with the whiteboardobject to send . delete - draw - move concode_field_sep Logger logger concode_elem_sep String ACTION_DELETE concode_elem_sep String ELEMENT_NAME concode_elem_sep String ACTION_DRAW concode_elem_sep WhiteboardObjectJabberImpl whiteboardObject concode_elem_sep String action c... | void function ( String arg0 ) { this . action = arg0 ; } |
9,196 | gets the date when , according to amazon s3 , this object was last modified . concode_field_sep Owner owner concode_elem_sep String bucketName concode_elem_sep String storageClass concode_elem_sep long size concode_elem_sep String eTag concode_elem_sep Date lastModified concode_elem_sep String key concode_field_sep Str... | Date function ( ) { return lastModified ; } |
9,197 | return the model map . never returns null . to be called by application code for modifying the model . concode_field_sep Object view concode_elem_sep ModelMap model concode_elem_sep boolean cleared concode_field_sep boolean wasCleared concode_elem_sep void setViewName concode_elem_sep Map<String,Object> getModelInterna... | Map < String , Object > function ( ) { return getModelMap ( ) ; } |
9,198 | calculate how much result this query concode_field_sep Map<String,Object> params concode_elem_sep int pageSize concode_elem_sep int totalCount concode_elem_sep int totalPages concode_elem_sep String sort concode_elem_sep int currentPage concode_elem_sep long serialVersionUID concode_elem_sep boolean totalCountAble conc... | Page < T > function ( ) { setTotalCountAble ( true ) ; return this ; } |
9,199 | marks the task as canceled and prevents any further execution . returns true if the task was scheduled for any execution in the future and this cancel operation prevents that execution from happening . a task that has been canceled can never be scheduled again . in this implementation the timertask it is possible that ... | boolean function ( ) { boolean loc0 = ( this . scheduled >= 0 ) ; this . scheduled = - 1 ; return loc0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.