idx int64 0 25k | question stringlengths 68 5.61k | target stringlengths 21 500 |
|---|---|---|
1,900 | return a string representation of this object , which exposes only information that should be public . concode_field_sep String name concode_elem_sep String password concode_elem_sep Realm realm concode_elem_sep String roles[] concode_elem_sep Principal userPrincipal concode_elem_sep StringManager sm concode_elem_sep l... | String function ( ) { StringBuilder loc0 = new StringBuilder ( "srini_string" ) ; loc0 . append ( this . name ) ; loc0 . append ( "srini_string" ) ; return ( loc0 . toString ( ) ) ; } |
1,901 | checks resource #gettype and returns existing file or dir as appropriate , or null for resource.type #undefined . this approach is a reproduction of geoserverresourceloader find logic . concode_field_sep PlaceHolder placeHolder concode_field_sep List<Resource> search concode_elem_sep File file concode_elem_sep File fil... | File function ( Resource arg0 ) { if ( arg0 == null ) { return null ; } switch ( arg0 . getType ( ) ) { case DIRECTORY : return arg0 . dir ( ) ; case RESOURCE : return arg0 . file ( ) ; default : return null ; } } |
1,902 | tests that hasavailablediskspace returns false if disk usage is above threshold . concode_field_sep File baseDir concode_elem_sep File nameDir concode_elem_sep File BASE_DIR concode_elem_sep Configuration conf concode_field_sep void testCheckingExtraVolumes concode_elem_sep void testCheckThatNameNodeResourceMonitorIsRu... | void function ( ) { conf . setLong ( DFSConfigKeys . DFS_NAMENODE_DU_RESERVED_KEY , Long . MAX_VALUE ) ; NameNodeResourceChecker loc0 = new NameNodeResourceChecker ( conf ) ; assertFalse ( "srini_string" + "srini_string" , loc0 . hasAvailableDiskSpace ( ) ) ; } |
1,903 | get the name of the selector for the descedant node . concode_field_sep SelectorName ancestorSelectorName concode_elem_sep SelectorName descendantSelectorName concode_elem_sep long serialVersionUID concode_elem_sep int hc concode_field_sep SelectorName ancestorSelectorName concode_elem_sep String getDescendantSelectorN... | SelectorName function ( ) { return descendantSelectorName ; } |
1,904 | returns the difference between this quota and the argument one , in this quota 's units concode_field_sep long serialVersionUID concode_elem_sep String tileSetId concode_elem_sep BigInteger bytes concode_elem_sep int id concode_elem_sep NumberFormat NICE_FORMATTER concode_field_sep void setBytes concode_elem_sep void s... | Quota function ( Quota arg0 ) { BigInteger loc0 = this . bytes . subtract ( arg0 . getBytes ( ) ) ; return new Quota ( loc0 ) ; } |
1,905 | marshalls matrixstatsresults concode_field_sep Map<String,HashMap<String,Double>> correlation concode_elem_sep RunningStats results concode_field_sep Map<String,Double> getKurtosis concode_elem_sep double getKurtosis concode_elem_sep Double getCorrelation concode_elem_sep Map<String,Double> getSkewness concode_elem_sep... | void function ( StreamOutput arg0 ) { results . writeTo ( arg0 ) ; arg0 . writeGenericValue ( correlation ) ; } |
1,906 | implements svgmatrix #translate float , float . concode_field_sep AffineTransform FLIP_X_TRANSFORM concode_elem_sep AffineTransform FLIP_Y_TRANSFORM concode_field_sep float getF concode_elem_sep SVGMatrix inverse concode_elem_sep SVGMatrix rotate concode_elem_sep SVGMatrix scaleNonUniform concode_elem_sep SVGMatrix rot... | SVGMatrix function ( float arg0 , float arg1 ) { AffineTransform loc0 = ( AffineTransform ) getAffineTransform ( ) . clone ( ) ; loc0 . translate ( arg0 , arg1 ) ; return new SVGOMMatrix ( loc0 ) ; } |
1,907 | invoked to record the start or end of a time duration this must be called labels.length +1 times in the timed code . concode_field_sep long[] rawNanoTimes concode_elem_sep int index concode_elem_sep long C1 concode_elem_sep int numValues concode_elem_sep long C0 concode_elem_sep String[] labels concode_elem_sep long C2... | void function ( ) { rawNanoTimes [ index ++ ] = System . nanoTime ( ) ; } |
1,908 | resolves the desired path to an nxnode . concode_field_sep SeekableLittleEndianAccessor slea concode_elem_sep NXTables tables concode_elem_sep NXNode[] nodes concode_elem_sep String filePath concode_elem_sep Logger logger concode_elem_sep NXHeader header concode_elem_sep boolean parsed concode_field_sep void populateNo... | NXNode function ( String arg0 ) { if ( arg0 . equals ( "srini_string" ) ) return getRoot ( ) ; return resolve ( arg0 . split ( "srini_string" ) ) ; } |
1,909 | determine if an endpoint is enabled based on its specific property and taking into account the global default . concode_field_sep Boolean enabled concode_elem_sep String ENDPOINTS_ENABLED_PROPERTY concode_elem_sep String ENDPOINTS_SENSITIVE_PROPERTY concode_elem_sep Boolean sensitive concode_field_sep void setEnabled c... | boolean function ( Environment arg0 , Boolean arg1 ) { if ( arg1 != null ) { return arg1 ; } if ( arg0 != null && arg0 . containsProperty ( ENDPOINTS_ENABLED_PROPERTY ) ) { return arg0 . getProperty ( ENDPOINTS_ENABLED_PROPERTY , Boolean . class ) ; } return true ; } |
1,910 | return the results for this request . the response are removed upon #clear and are re created only upon #invoke . concode_field_sep Response response concode_elem_sep boolean metadataRequested concode_elem_sep String name concode_elem_sep Results results concode_elem_sep IStatus problems concode_elem_sep Object target ... | Results function ( ) { return this . results ; } |
1,911 | finds a view that was identified by the id attribute from the xml that was processed in oncreate bundle . concode_field_sep boolean mEnableSlide concode_elem_sep Activity mActivity concode_elem_sep View mViewBehind concode_elem_sep boolean mOnPostCreateCalled concode_elem_sep boolean mBroadcasting concode_elem_sep View... | View function ( int arg0 ) { View loc0 ; if ( mSlidingMenu != null ) { loc0 = mSlidingMenu . findViewById ( arg0 ) ; if ( loc0 != null ) return loc0 ; } return null ; } |
1,912 | deprecated : use #getprocessengines instead concode_field_sep AcquireJobsCommandFactory acquireJobsCmdFactory concode_elem_sep String name concode_elem_sep int maxJobsPerAcquisition concode_elem_sep List<ProcessEngineImpl> processEngines concode_elem_sep RejectedJobsHandler rejectedJobsHandler concode_elem_sep int wait... | CommandExecutor function ( ) { if ( processEngines . isEmpty ( ) ) { return null ; } else { return processEngines . get ( 0 ) . getProcessEngineConfiguration ( ) . getCommandExecutorTxRequired ( ) ; } } |
1,913 | sets the value of the extrusionok property . concode_field_sep Object parent concode_elem_sep String vmlId concode_elem_sep org.docx4j.vml.STTrueFalse strokeok concode_elem_sep String limo concode_elem_sep String textboxrect concode_elem_sep org.docx4j.vml.STTrueFalse gradientshapeok concode_elem_sep String connectlocs... | void function ( org . docx4j . vml . officedrawing . STTrueFalse arg0 ) { this . extrusionok = arg0 ; } |
1,914 | returns a sorcer service provider with the specified name and service type . concode_field_sep ServiceTemplate template concode_elem_sep Logger logger concode_elem_sep int MAX_TRIES concode_elem_sep long WAIT_FOR concode_elem_sep Listener listener concode_elem_sep List<ServiceRegistrar> lookups concode_elem_sep LookupD... | Provider function ( String arg0 , String arg1 ) { return ( Provider ) getService ( arg0 , arg1 ) ; } |
1,915 | converts a set of subscription s into a compositesubscription that groups the multiplesubscriptions together and unsubscribes from all of them together . concode_field_sep Unsubscribed UNSUBSCRIBED concode_elem_sep Future<?> f concode_field_sep Subscription unsubscribed concode_elem_sep void unsubscribe concode_elem_se... | CompositeSubscription function ( Subscription ... arg0 ) { return new CompositeSubscription ( arg0 ) ; } |
1,916 | returns the result of interpreting the object as an instance of ` eobject ' . this implementation returns null ; returning a non-null result will terminate the switch , but this is the last case anyway . concode_field_sep RelationshipsPackage modelPackage concode_field_sep T caseAssociationEnd concode_elem_sep T caseMo... | T function ( EObject arg0 ) { return null ; } |
1,917 | returns this algorithmparameters in the specified encodingformat . concode_field_sep Provider provider concode_elem_sep Engine ENGINE concode_elem_sep AlgorithmParametersSpi spiImpl concode_elem_sep boolean initialized concode_elem_sep String SEVICE concode_elem_sep String algorithm concode_field_sep void init concode_... | byte [ ] function ( String arg0 ) { if ( ! initialized ) { throw new IOException ( "srini_string" ) ; } return spiImpl . engineGetEncoded ( arg0 ) ; } |
1,918 | sets the value of the value property . concode_field_sep String id concode_elem_sep String tag concode_elem_sep String value concode_field_sep String getValue concode_elem_sep void setId concode_elem_sep String getId concode_elem_sep void setTag concode_elem_sep String getTag | void function ( String arg0 ) { this . value = arg0 ; } |
1,919 | get number of float elements concode_field_sep double[] spacing concode_elem_sep int[] size concode_elem_sep double[] origin concode_field_sep int[] getSize concode_elem_sep double[] getSpacing concode_elem_sep double[] getOrigin concode_elem_sep void setOrigin concode_elem_sep void show concode_elem_sep void show conc... | int function ( ) { int loc0 = this . size [ 0 ] ; for ( int loc1 = 1 ; loc1 < this . size . length ; ++ loc1 ) loc0 *= this . size [ loc1 ] ; return loc0 ; } |
1,920 | get the list of form elements to use for iteration . concode_field_sep LinkedFormElement zip concode_elem_sep FormElement firstName concode_elem_sep FormElement lastName concode_elem_sep SubmitButton submit concode_elem_sep LinkedFormElement city concode_elem_sep ArrayList componentList concode_elem_sep LinkedFormEleme... | ArrayList function ( ) { return componentList ; } |
1,921 | retrieves the sql statement for a registered compiled statement . concode_field_sep Database database concode_elem_sep IntValueHashMap sqlMap concode_elem_sep IntKeyHashMap sessionMap concode_elem_sep IntKeyHashMap sqlLookup concode_elem_sep IntKeyHashMap csidMap concode_elem_sep int next_cs_id concode_elem_sep IntKeyI... | String function ( int arg0 ) { return ( String ) sqlLookup . get ( arg0 ) ; } |
1,922 | returns the ngay dong of this ke hoach kiem dem nuoc . concode_field_sep KeHoachKiemDemNuoc _keHoachKiemDemNuoc concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.util.Date getNgayXuatBan concode_elem_... | java . util . Date function ( ) { return _keHoachKiemDemNuoc . getNgayDong ( ) ; } |
1,923 | set the count value . concode_field_sep Integer count concode_elem_sep String timeInterval concode_field_sep RequestsBasedTrigger withTimeInterval concode_elem_sep Integer count concode_elem_sep String timeInterval | RequestsBasedTrigger function ( Integer arg0 ) { this . count = arg0 ; return this ; } |
1,924 | get a list of pools that have a specific agent concode_field_sep Log log concode_field_sep void addItemToPool concode_elem_sep void removeQuestionFromPool concode_elem_sep void copyPool concode_elem_sep List getAllItems concode_elem_sep boolean hasItem concode_elem_sep void movePool concode_elem_sep List getAllItemsSor... | List function ( String arg0 ) { try { QuestionPoolService loc0 = new QuestionPoolService ( ) ; return loc0 . getPoolIdsByItem ( arg0 ) ; } catch ( Exception loc1 ) { throw new QuestionPoolServiceException ( loc1 ) ; } } |
1,925 | sets the indentation level of first lines concode_field_sep int indentFirstLine concode_elem_sep int indentRestLines concode_elem_sep int rightIndent concode_elem_sep boolean bol concode_elem_sep int width concode_elem_sep int pos concode_elem_sep boolean fl concode_elem_sep TreeSet<Integer> tabstops concode_elem_sep S... | void function ( int arg0 ) { boundsCheck ( arg0 ) ; this . indentFirstLine = arg0 ; } |
1,926 | go to previous page in history . we manage our own history concode_field_sep PluginManager pluginManager concode_elem_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep BroadcastReceiver receiver concode_elem_sep SystemWebView webView concode_elem_sep CordovaWebView parentWebV... | boolean function ( ) { if ( webView . canGoBack ( ) ) { webView . goBack ( ) ; return true ; } return false ; } |
1,927 | increases frequency details for given character concode_field_sep int[] alphaCounts concode_elem_sep char maxCh concode_elem_sep double[] avgCounts concode_elem_sep int SIZE concode_elem_sep char[] alphabet concode_elem_sep int totChars concode_field_sep String getReport concode_elem_sep double getMaxPC | void function ( char arg0 ) { if ( arg0 < 'A' || arg0 > 'Z' ) { return ; } totChars ++ ; alphaCounts [ arg0 - 'A' ] ++ ; if ( maxCh == ' ' ) { maxCh = arg0 ; } else { if ( alphaCounts [ arg0 - 'A' ] > alphaCounts [ maxCh - 'A' ] ) { maxCh = arg0 ; } } } |
1,928 | returns the num_rows of this data object . concode_field_sep int NUM_COLS concode_elem_sep int NUM_BYTES concode_elem_sep byte[] byteArray concode_elem_sep int NUM_ROWS concode_elem_sep byte[][] byteMatrix concode_field_sep int getNumCols concode_elem_sep void hexToData concode_elem_sep int getNumBytes concode_elem_sep... | int function ( ) { return this . NUM_ROWS ; } |
1,929 | helper to write to editor if key specified is null concode_field_sep SharedPreferences preferences concode_field_sep String getStringValue concode_elem_sep String getStringValue concode_elem_sep boolean isSet concode_elem_sep SharedPreferences getPrefs concode_elem_sep void clear concode_elem_sep void setInt concode_el... | void function ( SharedPreferences arg0 , Editor arg1 , Resources arg2 , int arg3 , boolean arg4 ) { String loc0 = arg2 . getString ( arg3 ) ; if ( ! arg0 . contains ( loc0 ) || ! ( arg0 . getAll ( ) . get ( loc0 ) instanceof Boolean ) ) arg1 . putBoolean ( loc0 , arg4 ) ; } |
1,930 | returns the redis key for a given search term . concode_field_sep Jedis jedis concode_field_sep void add concode_elem_sep boolean isIndexed concode_elem_sep void deleteAllKeys concode_elem_sep Map<String,Integer> getCounts concode_elem_sep Set<String> urlSetKeys concode_elem_sep void main concode_elem_sep void printInd... | String function ( String arg0 ) { return "srini_string" + arg0 ; } |
1,931 | another check concode_field_sep int mVar1 concode_elem_sep int i1 concode_elem_sep int i concode_elem_sep int i2 concode_elem_sep int i3 concode_elem_sep int i4 concode_elem_sep int i5 concode_elem_sep int mVar4 concode_elem_sep int i6 concode_elem_sep int mVar3 concode_elem_sep int mVar2 concode_field_sep void divTest... | void function ( Runnable arg0 ) { donBradman ( new Runnable ( ) { public void run ( ) { } } ) ; final Runnable loc0 = new Runnable ( ) { public void run ( ) { } } ; } |
1,932 | notify users by email of something . concode_field_sep ScheduledExecutorService scheduledExecutor concode_elem_sep IStoredSettings settings concode_elem_sep Logger logger concode_elem_sep MailService mailService concode_field_sep NotificationManager stop concode_elem_sep void sendMailToAdministrators concode_elem_sep v... | void function ( Mailing arg0 ) { if ( ! arg0 . hasRecipients ( ) ) { logger . debug ( "srini_string" , arg0 . subject ) ; return ; } Message loc0 = mailService . createMessage ( arg0 ) ; if ( loc0 != null ) { mailService . queue ( loc0 ) ; } } |
1,933 | this method is called to alert project listeners to the fact that a relation has been written to a project file . concode_field_sep List<ProjectListener> m_projectListeners concode_field_sep void fireResourceReadEvent concode_elem_sep void fireCalendarReadEvent concode_elem_sep void fireTaskReadEvent concode_elem_sep v... | void function ( Relation arg0 ) { if ( m_projectListeners != null ) { for ( ProjectListener loc0 : m_projectListeners ) { loc0 . relationWritten ( arg0 ) ; } } } |
1,934 | specifies the directory in which to store the debug log files . defaults to the current working directory . concode_field_sep Map<String,String> values concode_field_sep void setConsoleFileName concode_elem_sep void set concode_elem_sep void set concode_elem_sep void setForceShutdownOnVmExit concode_elem_sep void setCo... | void function ( String arg0 ) { set ( "srini_string" , arg0 ) ; } |
1,935 | creates a new servlet container . concode_field_sep ServletContainer container concode_field_sep FilterInfo filter concode_elem_sep FilterInfo filter concode_elem_sep WebResourceCollection webResourceCollection concode_elem_sep SecurityConstraint securityConstraint concode_elem_sep LoginConfig loginConfig concode_elem_... | ServletContainer function ( ) { return new ServletContainerImpl ( ) ; } |
1,936 | sets the value of the locationcontactandaddress property . concode_field_sep String phoneNumber concode_elem_sep String locationId concode_elem_sep ContactAndAddress locationContactAndAddress concode_elem_sep FedExLocationType locationType concode_elem_sep Integer locationNumber concode_field_sep void setLocationNumber... | void function ( ContactAndAddress arg0 ) { this . locationContactAndAddress = arg0 ; } |
1,937 | implementation for pure native constructor frege.runtime.runtime.constructor : : a - > int concode_field_sep int exitCode concode_elem_sep java.util.Random stdRandom concode_elem_sep ThreadLocal<PrintWriter> stdout concode_elem_sep ThreadLocal<PrintWriter> stderr concode_elem_sep ThreadLocal<BufferedReader> stdin conco... | int function ( Value arg0 ) { return arg0 . constructor ( ) ; } |
1,938 | sets the value of the keypairids property for this object . concode_field_sep String awsAccountNumber concode_elem_sep String self concode_elem_sep java.util.List<String> keyPairIds concode_field_sep Signer withKeyPairIds concode_elem_sep Signer withKeyPairIds concode_elem_sep void setSelf concode_elem_sep Signer withA... | void function ( java . util . Collection < String > arg0 ) { if ( arg0 == null ) { this . keyPairIds = null ; return ; } java . util . List < String > loc0 = new java . util . ArrayList < String > ( arg0 . size ( ) ) ; loc0 . addAll ( arg0 ) ; this . keyPairIds = loc0 ; } |
1,939 | return the initialization vector , or null if none was specified . concode_field_sep int RC2_IV_LENGTH concode_elem_sep int effectiveKeyBits concode_elem_sep byte[] iv concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int getEffectiveKeyBits | byte [ ] function ( ) { return iv ; } |
1,940 | this method was generated by mybatis generator . this method returns the value of the database column portal_space_to_user . space_id concode_field_sep String spaceId concode_elem_sep long serialVersionUID concode_elem_sep String userId concode_field_sep void setSpaceId concode_elem_sep String getUserId concode_elem_se... | String function ( ) { return spaceId ; } |
1,941 | access to request body matchers using a jsonpath expression to inspect a specific subset of the body and a hamcrest match for asserting the value found at the json path . concode_field_sep PlaceHolder placeHolder concode_field_sep XpathRequestMatchers xpath concode_elem_sep XpathRequestMatchers xpath concode_elem_sep R... | RequestMatcher function ( String arg0 , Matcher < T > arg1 ) { return new JsonPathRequestMatchers ( arg0 ) . value ( arg1 ) ; } |
1,942 | closes the result set capturing and ignoring any sqlexceptions that occur . concode_field_sep Logger LOGGER concode_field_sep int getGeneratedKey concode_elem_sep void closeStatement | void function ( ResultSet arg0 ) { try { if ( arg0 != null && ! arg0 . isClosed ( ) ) { arg0 . close ( ) ; } } catch ( SQLException loc0 ) { LOGGER . trace ( arg0 . toString ( ) , loc0 ) ; } } |
1,943 | sets the value of the timescalename property . concode_field_sep List<CitationType> timeScaleCitation concode_elem_sep String timeScaleAgeEstimate concode_elem_sep SingleDateTimeType.AlternativeTimeScale alternativeTimeScale concode_elem_sep XMLGregorianCalendar time concode_elem_sep String timeScaleAgeUncertainty conc... | void function ( String arg0 ) { this . timeScaleName = arg0 ; } |
1,944 | sets the reference used to identify this dictionary in the pdf document . the reference number and generation number of this reference is needed by the encryption algorithm to correctly decrypt this object . this method should only be used by the pdf parser . use of this method outside the context of the pdf parser may... | void function ( Reference arg0 ) { pObjectReference = arg0 ; } |
1,945 | tests failing to register a set of workflows concode_field_sep UUID iridaWorkflowId concode_elem_sep IridaWorkflow iridaWorkflow concode_elem_sep IridaWorkflowSet iridaWorkflowSet concode_elem_sep UUID iridaWorkflowId2 concode_elem_sep IridaWorkflowsService iridaWorkflowsService concode_elem_sep UUID iridaWorkflowId3 c... | void function ( ) { iridaWorkflowsService . registerWorkflows ( Sets . newHashSet ( iridaWorkflow ) ) ; } |
1,946 | method to set registry registryservice . concode_field_sep RealmService realmService concode_elem_sep RegistryService registryService concode_elem_sep TenantRegistryLoader tenantRegLoader concode_field_sep void setTenantRegLoader concode_elem_sep RegistryService getRegistryService concode_elem_sep TenantRegistryLoader ... | void function ( RegistryService arg0 ) { registryService = arg0 ; } |
1,947 | returns all the releases . concode_field_sep ReleasePersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep Release fetchByServletContextName concode_elem_sep Release fetchByServletContextName concode_elem_sep int countByServletContext... | List < Release > function ( ) { return getPersistence ( ) . findAll ( ) ; } |
1,948 | returns the value of subject field of the structure . concode_field_sep Extensions extensions concode_elem_sep BigInteger serialNumber concode_elem_sep boolean[] issuerUniqueID concode_elem_sep AlgorithmIdentifier signature concode_elem_sep Name subject concode_elem_sep ASN1Sequence ASN1 concode_elem_sep SubjectPublicK... | Name function ( ) { return subject ; } |
1,949 | creates a new call and invites a specific callpeer given by her contact on a specific contactresource to it . concode_field_sep OperationSetBasicTelephonyJabberImpl jabberTelephony concode_field_sep placeholderType placeHolder | Call function ( Contact arg0 , ContactResource arg1 ) { return createCall ( arg0 , arg1 , null ) ; } |
1,950 | sets the street name line 2 concode_field_sep String zipCode concode_elem_sep String city concode_elem_sep String phone concode_elem_sep String streetName1 concode_elem_sep State state concode_field_sep String getPhone concode_elem_sep void setZipCode concode_elem_sep State getState concode_elem_sep String getZipCode c... | void function ( String arg0 ) { this . streetName1 = arg0 ; } |
1,951 | get the current properties for the specified custom component . the returned map should only containnested maps , arrays , and simple objects . concode_field_sep long serialVersionUID concode_elem_sep int evalOrder concode_elem_sep String name concode_elem_sep Map<String,Map<String,?>> customComponent concode_elem_sep ... | Map < String , ? > function ( final String arg0 ) { return this . customComponent . get ( arg0 ) ; } |
1,952 | add users to the email list and perform validation . will not add `` fromemail '' to the list . concode_field_sep String EMAIL_FAILED concode_elem_sep ComposeLogic composeLogic concode_elem_sep ConfigLogic configLogic concode_elem_sep ServerConfigurationService configService concode_elem_sep ExternalLogic externalLogic... | void function ( String arg0 , HashMap < String , String > arg1 , List < User > arg2 ) { for ( User loc0 : arg2 ) { addEmailUser ( arg0 , arg1 , loc0 ) ; } } |
1,953 | returns the tern module and null otherwise . concode_field_sep TernCompletionProposalRec proposal concode_elem_sep boolean hasDisplayName concode_elem_sep ITernProject ternProject concode_elem_sep String signature concode_elem_sep boolean array concode_elem_sep String displayName concode_elem_sep boolean function conco... | ITernModule function ( ) { String loc0 = getOrigin ( ) ; if ( loc0 == null ) { return null ; } if ( ternProject == null ) { return null ; } return this . ternProject . getRepository ( ) . getModuleByOrigin ( loc0 ) ; } |
1,954 | sets the value of the link property . concode_field_sep ResAuthEnum auth concode_elem_sep String link concode_elem_sep String description concode_elem_sep String label concode_elem_sep QName type concode_elem_sep List<Description> descriptions concode_elem_sep String version concode_elem_sep String uuid concode_elem_se... | void function ( final String arg0 ) { this . link = arg0 ; } |
1,955 | returns the likelihood that a given output sequence was produced by the given model . internally , this function calls the forward algorithm to compute the alpha values and then uses the overloaded function to compute the actual model likelihood . concode_field_sep PlaceHolder placeHolder concode_field_sep int[] predic... | double function ( HmmModel arg0 , int [ ] arg1 , boolean arg2 ) { return modelLikelihood ( HmmAlgorithms . forwardAlgorithm ( arg0 , arg1 , arg2 ) , arg2 ) ; } |
1,956 | returns whether or not there exists a purchase of the given product . concode_field_sep Map<String,SkuDetails> mSkuMap concode_elem_sep Map<String,Purchase> mPurchaseMap concode_field_sep void erasePurchase concode_elem_sep List<String> getAllOwnedSkus concode_elem_sep List<String> getAllOwnedSkus concode_elem_sep void... | boolean function ( String arg0 ) { return mPurchaseMap . containsKey ( arg0 ) ; } |
1,957 | read the contents of a stream into a string attn : does not handle encodings concode_field_sep String EXECUTABLE_MODE concode_field_sep boolean createTempDirectory concode_elem_sep String getRelativePackagePath concode_elem_sep InputStream getRelativeURLAsStream concode_elem_sep boolean rmdir concode_elem_sep URL getRe... | String function ( InputStream arg0 ) { try { StringBuffer loc0 = new StringBuffer ( ) ; byte [ ] loc1 = new byte [ 8192 ] ; int loc2 ; while ( ( loc2 = arg0 . read ( loc1 ) ) > 0 ) { loc0 . append ( new String ( loc1 , 0 , loc2 ) ) ; } return loc0 . toString ( ) ; } finally { arg0 . close ( ) ; } } |
1,958 | prints a value . concode_field_sep long solution concode_field_sep int numberOfLettersLessTen concode_elem_sep void solutionOne concode_elem_sep int numberOfLettersLessThousand concode_elem_sep int calculateNumberOfLetters concode_elem_sep void main concode_elem_sep int numberOfLettersLessHundred | void function ( final long arg0 ) { if ( arg0 == solution ) { System . out . println ( "srini_string" + arg0 ) ; } else { System . out . println ( "srini_string" + arg0 ) ; } } |
1,959 | remove any resourses and invalidate concode_field_sep int mode concode_elem_sep int size concode_elem_sep SessionInterface session concode_elem_sep int currentPos concode_elem_sep long id concode_elem_sep boolean isIterator concode_field_sep boolean next concode_elem_sep int getRowNumber concode_elem_sep boolean isLast... | void function ( ) { reset ( ) ; } |
1,960 | sets the value of the activityid property . concode_field_sep String note concode_elem_sep Integer activityObjectId concode_elem_sep Integer notebookTopicObjectId concode_elem_sep Date lastUpdateDate concode_elem_sep String rawTextNote concode_elem_sep String activityName concode_elem_sep Boolean isBaseline concode_ele... | void function ( String arg0 ) { this . activityId = arg0 ; } |
1,961 | adds the address to the database . also notifies the appropriate model listeners . 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.... | com . liferay . portal . kernel . model . Address function ( com . liferay . portal . kernel . model . Address arg0 ) { return getService ( ) . addAddress ( arg0 ) ; } |
1,962 | sets the volume concode_field_sep BigDecimal TSIA concode_elem_sep double volume concode_elem_sep QuoteDataBean topLosers[] concode_elem_sep BigDecimal gainPercent concode_elem_sep BigDecimal openTSIA concode_elem_sep QuoteDataBean topGainers[] concode_elem_sep Date summaryDate concode_field_sep void setTopGainers conc... | void function ( double arg0 ) { this . volume = arg0 ; } |
1,963 | gets the value of the calculation 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 calculation property . for example , to add a new item... | List < String > function ( ) { if ( calculation == null ) { calculation = new ArrayList < String > ( ) ; } return this . calculation ; } |
1,964 | create array of the coordinates in double format . concode_field_sep double[] values concode_elem_sep long serialVersionUID concode_field_sep Vector add concode_elem_sep void set concode_elem_sep void set concode_elem_sep double getSqrNorm concode_elem_sep void addSelf concode_elem_sep Matrix innerProduct concode_elem_... | double [ ] function ( ) { double [ ] loc0 = new double [ values . length ] ; for ( int loc1 = 0 ; loc1 < values . length ; loc1 ++ ) { loc0 [ loc1 ] = values [ loc1 ] ; } return loc0 ; } |
1,965 | returns the bytecode offset delta relative to the previous stack map frame . concode_field_sep int FULL_FRAME concode_elem_sep int SAME_ZERO_FRAME_EXTENDED concode_elem_sep Object visitorInfo concode_elem_sep int SAME_ONE_FRAME_EXTENDED concode_elem_sep int u2offsetDelta concode_elem_sep int SAME_ZERO_FRAME concode_ele... | int function ( ) { return u2offsetDelta ; } |
1,966 | indicates that at least this or one of the child instances of abstracttext is highlighted . concode_field_sep boolean highlight concode_elem_sep boolean hasHighlight concode_elem_sep Rectangle2D.Float bounds concode_elem_sep boolean selected concode_elem_sep boolean hasSelected concode_field_sep boolean isHighlighted c... | boolean function ( ) { return hasHighlight ; } |
1,967 | sets the key of this member request . concode_field_sep MemberRequest _memberRequest concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_s... | void function ( java . lang . String arg0 ) { _memberRequest . setKey ( arg0 ) ; } |
1,968 | adduser adds a defensive copy of the specified user . concode_field_sep CatenableQueue<User> userQueue concode_elem_sep int size concode_field_sep void naiveQuickSortTest concode_elem_sep void naiveSortByBothTest concode_elem_sep void main concode_elem_sep void quickSort concode_elem_sep void quickSort concode_elem_sep... | void function ( User arg0 ) { if ( arg0 . getPagesPrinted ( ) < 0 ) { System . out . println ( "srini_string" ) ; return ; } User loc0 = new User ( arg0 . getId ( ) , arg0 . getPagesPrinted ( ) ) ; userQueue . enqueue ( loc0 ) ; size ++ ; } |
1,969 | get the clientrequestid value . concode_field_sep DateTimeRfc1123 ocpDate concode_elem_sep String clientRequestId concode_elem_sep DateTimeRfc1123 ifUnmodifiedSince concode_elem_sep Boolean returnClientRequestId concode_elem_sep DateTimeRfc1123 ifModifiedSince concode_elem_sep Integer timeout concode_elem_sep String if... | String function ( ) { return this . clientRequestId ; } |
1,970 | set the registration behavior by the name of the corresponding constant , e.g. `` registration_ignore_existing '' . concode_field_sep int REGISTRATION_FAIL_ON_EXISTING concode_elem_sep int REGISTRATION_IGNORE_EXISTING concode_elem_sep MBeanServer server concode_elem_sep Log logger concode_elem_sep RegistrationPolicy re... | void function ( String arg0 ) { setRegistrationBehavior ( constants . asNumber ( arg0 ) . intValue ( ) ) ; } |
1,971 | get the origin of an url : ex getorigin `` http://www.example.com:8080/index.html?bar=foo '' would return `` http://www.example.com:8080 '' . it will return an empty string for an invalid url . concode_field_sep PlaceHolder placeHolder concode_field_sep String getScheme concode_elem_sep String nativeGetOrigin concode_e... | String function ( String arg0 ) { return nativeGetOrigin ( arg0 ) ; } |
1,972 | reverse flags , to do so all encoders are called . concode_field_sep List<AbstractFlagEncoder> edgeEncoders concode_elem_sep String MOUNTAINBIKE concode_elem_sep boolean enableInstructions concode_elem_sep String BIKE concode_elem_sep String FOOT concode_elem_sep int nextRelBit concode_elem_sep int nextWayBit concode_e... | long function ( long arg0 ) { int loc0 = edgeEncoders . size ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { arg0 = edgeEncoders . get ( loc1 ) . reverseFlags ( arg0 ) ; } return arg0 ; } |
1,973 | call this to notify us that no chars before this absolute position are needed anymore . concode_field_sep char[] buffer concode_elem_sep Reader reader concode_elem_sep int nextPos concode_elem_sep int nextWrite concode_elem_sep int count concode_elem_sep boolean end concode_field_sep boolean inBounds concode_elem_sep i... | void function ( int arg0 ) { assert arg0 >= 0 ; assert arg0 <= nextPos ; final int loc0 = nextPos - arg0 ; assert loc0 <= count : "srini_string" + loc0 + "srini_string" + count ; assert loc0 <= buffer . length : "srini_string" + loc0 + "srini_string" + buffer . length ; count = loc0 ; } |
1,974 | assuming the scores are probability of 1 given x concode_field_sep int[] numpositive concode_elem_sep int[] numnegative concode_elem_sep double[] scores concode_elem_sep int[] classes concode_elem_sep int[] guesses concode_elem_sep Redwood.RedwoodChannels logger concode_field_sep void init concode_elem_sep void init co... | double function ( ) { double loc0 = 0 ; for ( int loc1 = 0 ; loc1 < scores . length ; loc1 ++ ) { loc0 += Math . log ( classes [ loc1 ] == 0 ? 1 - scores [ loc1 ] : scores [ loc1 ] ) ; } return loc0 ; } |
1,975 | the map of runtime parameters . concode_field_sep long serialVersionUID concode_elem_sep String oid concode_elem_sep Map<String,Object> params concode_field_sep OperationParameters set concode_elem_sep OperationParameters from concode_elem_sep String id | Map < String , Object > function ( ) { return params ; } |
1,976 | sets the label concode_field_sep HashMap<String,Edge> incoming concode_elem_sep HashMap<String,Edge> outgoing concode_elem_sep Anchor anchor concode_elem_sep String label concode_elem_sep String id concode_elem_sep boolean flash concode_field_sep void addIncomingEdge concode_elem_sep int getOutgoingEdgeNr concode_elem_... | void function ( String arg0 ) { label = arg0 ; } |
1,977 | sets the value of a flag . the flag will be used in sessions if a session does not contain a value for the flag . concode_field_sep SessionFactory factory concode_elem_sep Class<? extends PacketProtocol> protocol concode_elem_sep Map<String,Object> flags concode_elem_sep int port concode_elem_sep String host concode_el... | void function ( String arg0 , Object arg1 ) { this . flags . put ( arg0 , arg1 ) ; } |
1,978 | get processor instance concode_field_sep String SM_THREADS_POOL_CUSTOM_PROP_VAL concode_elem_sep String ADMIN_SCRIPTS_PROP_KEY concode_elem_sep String[] CLUSTER_NODES_PROP_VAL concode_elem_sep boolean SKIP_PRIVACY_PROP_VAL concode_elem_sep String defaultHandlerProcId concode_elem_sep String[] PLUGINS_TEST_PROP_VAL conc... | XMPPProcessorIfc function ( String arg0 ) { XMPPImplIfc loc0 = getXMPPImplIfc ( arg0 ) ; if ( loc0 == null ) { return ProcessorFactory . getProcessor ( arg0 ) ; } if ( loc0 instanceof XMPPProcessorIfc ) { return ( XMPPProcessorIfc ) loc0 ; } return null ; } |
1,979 | this is a helper method for adding an uncompressed entry to a zipoutputstream . the entry timestamp is also set to a fixed value . concode_field_sep long DOS_EPOCH concode_field_sep placeholderType placeHolder | void function ( String arg0 , byte [ ] arg1 , ZipOutputStream arg2 ) { ZipEntry loc0 = new ZipEntry ( arg0 ) ; loc0 . setMethod ( ZipEntry . STORED ) ; loc0 . setTime ( DOS_EPOCH ) ; loc0 . setSize ( arg1 . length ) ; CRC32 loc1 = new CRC32 ( ) ; loc1 . update ( arg1 ) ; loc0 . setCrc ( loc1 . getValue ( ) ) ; arg2 . p... |
1,980 | get the font weight for this font 100-1000dec or 0x64-0x3e8 . default is 0x190 for normal and 0x2bc for bold concode_field_sep byte U_SINGLE_ACCOUNTING concode_elem_sep FontFormatting fontFormatting concode_elem_sep byte U_NONE concode_elem_sep byte U_DOUBLE_ACCOUNTING concode_elem_sep byte U_SINGLE concode_elem_sep by... | short function ( ) { return fontFormatting . getFontWeight ( ) ; } |
1,981 | get the list of item listener configurations for this queue . concode_field_sep int DEFAULT_ASYNC_BACKUP_COUNT concode_elem_sep List<ItemListenerConfig> listenerConfigs concode_elem_sep QueueConfigReadOnly readOnly concode_elem_sep int backupCount concode_elem_sep int maxSize concode_elem_sep QueueStoreConfig queueStor... | List < ItemListenerConfig > function ( ) { if ( listenerConfigs == null ) { listenerConfigs = new ArrayList < ItemListenerConfig > ( ) ; } return listenerConfigs ; } |
1,982 | sets the path attribute . concode_field_sep String cookieDomain concode_elem_sep Date cookieExpiryDate concode_elem_sep int cookieVersion concode_elem_sep String name concode_elem_sep boolean isSecure concode_elem_sep String cookiePath concode_elem_sep String value concode_elem_sep long serialVersionUID concode_elem_se... | void function ( String arg0 ) { cookiePath = arg0 ; } |
1,983 | sets the itens value for this ossturbonetgetlogcertifyout . concode_field_sep com.gvt.www.ws.eai.oss.ossturbonet.certify.OSSTurbonetLogCertifyItemOut[] itens concode_elem_sep com.gvt.www.ws.eai.oss.ossturbonet.OSSTurbonetOut mensagem concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc... | void function ( com . gvt . www . ws . eai . oss . ossturbonet . certify . OSSTurbonetLogCertifyItemOut [ ] arg0 ) { this . itens = arg0 ; } |
1,984 | provides serialization support . concode_field_sep long serialVersionUID concode_elem_sep double upperBound concode_elem_sep List lookupTable concode_elem_sep Paint paint concode_elem_sep double lowerBound concode_elem_sep long serialVersionUID concode_elem_sep Paint defaultPaint concode_elem_sep double value concode_f... | void function ( ObjectInputStream arg0 ) { arg0 . defaultReadObject ( ) ; this . paint = SerialUtilities . readPaint ( arg0 ) ; } |
1,985 | sets the user id of this browser tracker . concode_field_sep BrowserTracker _browserTracker concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscaped... | void function ( long arg0 ) { _browserTracker . setUserId ( arg0 ) ; } |
1,986 | copies one file to another concode_field_sep Logger logger concode_field_sep boolean isSymbolicLink concode_elem_sep String getFilePath concode_elem_sep String makeFileName concode_elem_sep boolean remove concode_elem_sep void checkDirectory | void function ( final File arg0 , final File arg1 ) { InputStream loc0 = new FileInputStream ( arg0 ) ; OutputStream loc1 = new FileOutputStream ( arg1 ) ; byte [ ] loc2 = new byte [ 1024 ] ; int loc3 ; while ( ( loc3 = loc0 . read ( loc2 ) ) > 0 ) { loc1 . write ( loc2 , 0 , loc3 ) ; } loc0 . close ( ) ; loc1 . close ... |
1,987 | create an instance of sayhello concode_field_sep QName _SayHello_QNAME concode_elem_sep QName _WriteLogMessage_QNAME concode_elem_sep QName _SayHelloResponse_QNAME concode_field_sep SayHelloResponse createSayHelloResponse concode_elem_sep JAXBElement<SayHelloResponse> createSayHelloResponse concode_elem_sep WriteLogMes... | SayHello function ( ) { return new SayHello ( ) ; } |
1,988 | get succeeded elapsed . concode_field_sep AtomicInteger failed concode_elem_sep AtomicLong totalElapsed concode_elem_sep AtomicInteger active concode_elem_sep AtomicLong succeededMaxElapsed concode_elem_sep ConcurrentMap<String,RpcStatus> SERVICE_STATISTICS concode_elem_sep ConcurrentMap<String,ConcurrentMap<String,Rpc... | long function ( ) { return getTotalElapsed ( ) - getFailedElapsed ( ) ; } |
1,989 | retrieves the jdbc database connection url attribute . 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 P... | String function ( ) { return url ; } |
1,990 | getter . concode_field_sep String identifier concode_elem_sep int databaseKey concode_elem_sep Measurement lastMeasurement concode_elem_sep String location concode_elem_sep String model concode_elem_sep SensorType type concode_field_sep String getLocation concode_elem_sep String getModel concode_elem_sep boolean isCurr... | SensorType function ( ) { return type ; } |
1,991 | retrieves the canonical path for the given path , or the absolute path if attemting to retrieve the canonical path fails . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep FileUtil fileUtil concode_elem_sep FileDescriptor outDescriptor concode_elem_sep Random random concode_elem_sep boolean fsIsIgn... | String function ( String arg0 ) { try { return canonicalPath ( arg0 ) ; } catch ( Exception loc0 ) { return absolutePath ( arg0 ) ; } } |
1,992 | provides serialization support . concode_field_sep ChartRenderingInfo owner concode_elem_sep long serialVersionUID concode_elem_sep List subplotInfo concode_elem_sep Rectangle2D dataArea concode_elem_sep Rectangle2D plotArea concode_field_sep PlotRenderingInfo getSubplotInfo concode_elem_sep void setPlotArea concode_el... | void function ( ObjectOutputStream arg0 ) { arg0 . defaultWriteObject ( ) ; SerialUtilities . writeShape ( this . dataArea , arg0 ) ; SerialUtilities . writeShape ( this . plotArea , arg0 ) ; } |
1,993 | add a user friendly message to be show to user concode_field_sep Integer code concode_elem_sep String developerMessage concode_elem_sep String UNKNOWN_ERROR_MSG concode_elem_sep Random random concode_elem_sep String property concode_elem_sep List<ErrorMessage> errorMessages concode_elem_sep long serialVersionUID concod... | ErrorResponse function ( ErrorMessage arg0 ) { errorMessages . add ( arg0 ) ; return this ; } |
1,994 | gets a string representation of the object concode_field_sep String PROTO_UDP concode_elem_sep String proto concode_elem_sep TransportListener listener concode_elem_sep UdpProvider udp_provider concode_field_sep void onServiceTerminated concode_elem_sep void halt concode_elem_sep void onReceivedPacket concode_elem_sep ... | String function ( ) { if ( udp_provider != null ) return udp_provider . toString ( ) ; else return null ; } |
1,995 | makes a new frame for an exception handler block invoked from this frame . concode_field_sep ExecutionStack stack concode_elem_sep IntList subroutines concode_elem_sep LocalsArray locals concode_field_sep void makeInitialized concode_elem_sep Frame subFrameForLabel concode_elem_sep Frame mergeWith concode_elem_sep void... | Frame function ( CstType arg0 ) { ExecutionStack loc0 = getStack ( ) . copy ( ) ; loc0 . clear ( ) ; loc0 . push ( arg0 ) ; return new Frame ( getLocals ( ) , loc0 , subroutines ) ; } |
1,996 | the name of the domain currently worked with . concode_field_sep Integer proxyPort concode_elem_sep AmazonSimpleDB amazonSDBClient concode_elem_sep String secretKey concode_elem_sep String accessKey concode_elem_sep String domainName concode_elem_sep boolean consistentRead concode_elem_sep Integer maxNumberOfDomains co... | void function ( String arg0 ) { this . domainName = arg0 ; } |
1,997 | returns a scaled instance of the tile image . concode_field_sep Image scaledImage concode_elem_sep int id concode_elem_sep int groundHeight concode_elem_sep TileSet tileset concode_elem_sep int tileImageId concode_elem_sep int stdHeight concode_elem_sep Image internalImage concode_elem_sep Properties properties concode... | Image function ( double arg0 ) { if ( getImage ( ) != null ) { if ( arg0 == 1.0 ) { return getImage ( ) ; } else { return getImage ( ) . getScaledInstance ( ( int ) ( getWidth ( ) * arg0 ) , ( int ) ( getHeight ( ) * arg0 ) , BufferedImage . SCALE_SMOOTH ) ; } } return null ; } |
1,998 | returns the wrapped , ` dead ' event , which the system was unable to deliver to any registered subscriber . concode_field_sep Object source concode_elem_sep Object event concode_field_sep Object getSource concode_elem_sep String toString | Object function ( ) { return event ; } |
1,999 | sets the flag that controls whether or not change events are sent to registered listeners . concode_field_sep long serialVersionUID concode_elem_sep EventListenerList listeners concode_elem_sep String description concode_elem_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep Comparable key concode_elem_s... | void function ( boolean arg0 ) { if ( this . notify != arg0 ) { this . notify = arg0 ; fireSeriesChanged ( ) ; } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.