idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
9,100 | gets the value of the storagequota property . concode_field_sep String contentUrl concode_elem_sep BigInteger storageQuota concode_elem_sep BigInteger userQuota concode_elem_sep Boolean disableSubscriptions concode_elem_sep SiteType.Usage usage concode_elem_sep String name concode_elem_sep String adminMode concode_elem... | BigInteger function ( ) { return storageQuota ; } |
9,101 | check that the constructor without owner , group and permissions works correctly . concode_field_sep long ATIME concode_elem_sep Log LOG concode_elem_sep int REPLICATION concode_elem_sep Path PATH concode_elem_sep String GROUP concode_elem_sep FsPermission PERMISSION concode_elem_sep long BLKSIZE concode_elem_sep int L... | void function ( ) { boolean loc0 = true ; FileStatus loc1 = new FileStatus ( LENGTH , loc0 , REPLICATION , BLKSIZE , MTIME , PATH ) ; validateAccessors ( loc1 , LENGTH , loc0 , REPLICATION , BLKSIZE , MTIME , 0 , FsPermission . getDirDefault ( ) , "srini_string" , "srini_string" , null , PATH ) ; } |
9,102 | asserts that two booleans are equal . concode_field_sep PlaceHolder placeHolder concode_field_sep void fail concode_elem_sep void fail concode_elem_sep void assertNull concode_elem_sep void assertNull concode_elem_sep void assertTrue concode_elem_sep void assertTrue concode_elem_sep void assertNotNull concode_elem_sep ... | void function ( boolean arg0 , boolean arg1 ) { assertEquals ( null , arg0 , arg1 ) ; } |
9,103 | count how many sentences there are in filename concode_field_sep Map<String,Set<String>> trainingWords concode_elem_sep String PRINT_WORDS_PROPERTY concode_elem_sep String tagSeparator concode_elem_sep String CLOSED_TAGS_PROPERTY concode_elem_sep boolean printWords concode_elem_sep Set<String> knownArgs concode_elem_se... | int function ( TaggedFileRecord arg0 ) { int loc0 = 0 ; for ( List < TaggedWord > loc1 : arg0 . reader ( ) ) ++ loc0 ; return loc0 ; } |
9,104 | this is a utility method that compares two objects when one or both of the objects might be null the result of this method is determined as follows : if o1 and o2 are the same object according to the == operator , return true . otherwise , if either o1 or o2 is null , return false . otherwise , return o1.equals o2 . th... | boolean function ( Object arg0 , Object arg1 ) { if ( arg0 == arg1 ) { return true ; } else if ( arg0 == null || arg1 == null ) { return false ; } else { return arg0 . equals ( arg1 ) ; } } |
9,105 | sets the value of the href property . concode_field_sep List<String> linkingAgentRole concode_elem_sep String role concode_elem_sep String arcrole concode_elem_sep String linkingAgentIdentifierType concode_elem_sep String show concode_elem_sep String linkingAgentIdentifierValue concode_elem_sep String actuate concode_e... | void function ( String arg0 ) { this . href = arg0 ; } |
9,106 | gets the user name . concode_field_sep String password concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep String getPassword concode_elem_sep void setUserName | String function ( ) { return userName ; } |
9,107 | returns the specified org.w3c.dom.css.cssvalue for this property.specified means the value as entered by the user . modifying the cssvalue returned here will result in indeterminate behavior -- consider it immutable . concode_field_sep org.w3c.dom.css.CSSPrimitiveValue cssPrimitiveValue concode_elem_sep boolean identIs... | org . w3c . dom . css . CSSPrimitiveValue function ( ) { return cssPrimitiveValue ; } |
9,108 | adds a key-value pair to the map . concode_field_sep int _shift concode_elem_sep int _mask concode_elem_sep int NBIT concode_elem_sep int NMAX concode_elem_sep T[] _value concode_elem_sep int _nmax concode_elem_sep int _nhi concode_elem_sep int[] _key concode_elem_sep double _factor concode_elem_sep int i concode_elem_... | T function ( int arg0 , T arg1 ) { if ( arg1 == null ) { throw new NullPointerException ( "srini_string" ) ; } int loc0 = indexOf ( arg0 ) ; T loc1 = _value [ loc0 ] ; if ( loc1 != null ) { _value [ loc0 ] = arg1 ; } else { _key [ loc0 ] = arg0 ; _value [ loc0 ] = arg1 ; grow ( ) ; } return loc1 ; } |
9,109 | add a single library to build . concode_field_sep Collection<ExtraLinkTimeLibrary> extraLibraries concode_elem_sep Map<Class<? extends ExtraLinkTimeLibrary>,ExtraLinkTimeLibrary.Builder> libraries concode_field_sep ExtraLinkTimeLibraries build concode_elem_sep Builder builder concode_elem_sep Builder addTransitive conc... | Builder function ( ExtraLinkTimeLibrary arg0 ) { Class < ? extends ExtraLinkTimeLibrary > loc0 = arg0 . getClass ( ) ; if ( ! libraries . containsKey ( loc0 ) ) { libraries . put ( loc0 , arg0 . getBuilder ( ) ) ; } libraries . get ( loc0 ) . addTransitive ( arg0 ) ; return this ; } |
9,110 | creates a range between two integers . the range start is inclusive and the end is exclusive . so , a range `` between '' 0 and 5 represents the numbers 0 , 1 , 2 , 3 and 4 , but not 5 . concode_field_sep int start concode_elem_sep int end concode_field_sep boolean startsAfter concode_elem_sep Range[] splitAt concode_e... | Range function ( final int arg0 , final int arg1 ) { return new Range ( arg0 , arg1 ) ; } |
9,111 | gets the translated label . concode_field_sep CreativeTabs MATERIALS concode_elem_sep CreativeTabs BREWING concode_elem_sep String tabLabel concode_elem_sep EnumEnchantmentType[] enchantmentTypes concode_elem_sep CreativeTabs FOOD concode_elem_sep CreativeTabs DECORATIONS concode_elem_sep int tabIndex concode_elem_sep ... | String function ( ) { return "srini_string" + this . getTabLabel ( ) ; } |
9,112 | add a handler for a window action . the standard action id 's for the workbench are defined in iworkbenchactions . concode_field_sep WorkbenchWindow window concode_field_sep IStatusLineManager getStatusLineManager concode_elem_sep IServiceLocator getServiceLocator concode_elem_sep IToolBarManager getToolBarManager conc... | void function ( String arg0 , IAction arg1 ) { } |
9,113 | returns the client concode_field_sep ResponseType responseType concode_elem_sep boolean validScope concode_elem_sep long validityPeriod concode_elem_sep String resourceOwner concode_elem_sep boolean authorized concode_elem_sep String client concode_elem_sep String[] requestedScope concode_elem_sep org.wso2.carbon.ident... | String function ( ) { return client ; } |
9,114 | test method for com.sqa.em.util.helper.identifyobject #display2dinfo java.lang.object . concode_field_sep PlaceHolder placeHolder concode_field_sep void addingNumbersTest concode_elem_sep void testGet2DInfo concode_elem_sep int addNumber | void function ( ) { Object [ ] [ ] loc0 = { { 1 , 2 , 3 , 4 , 5 } , { 6 , 7 , 8 , 9 , 10 } , { 11 , 12 , 13 , 14 , 15 } , { 16 , 17 , 18 , 19 , 20 } , { 21 , 22 , 23 , 24 , 25 } } ; IdentifyObject . display2DInfo ( loc0 ) ; } |
9,115 | returns the data of this service component . concode_field_sep ServiceComponent _serviceComponent concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setBui... | java . lang . String function ( ) { return _serviceComponent . getData ( ) ; } |
9,116 | retrieve the participant endpoint associated with this business activity terminator concode_field_sep ActivityHierarchy _hier concode_elem_sep W3CEndpointReference participantEndpoint concode_elem_sep CoordinatorManager _coordManager concode_field_sep void cancel concode_elem_sep void complete concode_elem_sep void clo... | W3CEndpointReference function ( ) { return participantEndpoint ; } |
9,117 | returns the dnsserveraddresses that yields the specified addresses sequentially . once thelast address is yielded , it will start again from the first address . concode_field_sep DnsServerAddresses DEFAULT_NAME_SERVERS concode_elem_sep InternalLogger logger concode_elem_sep List<InetSocketAddress> DEFAULT_NAME_SERVER_L... | DnsServerAddresses function ( Iterable < ? extends InetSocketAddress > arg0 ) { return sequential0 ( sanitize ( arg0 ) ) ; } |
9,118 | add a pwpair to this group . concode_field_sep String mGroupId concode_elem_sep List<PwPair> mPwPairs concode_field_sep PwPair getTopPair concode_elem_sep String getGroupId | void function ( PwPair arg0 ) { mPwPairs . add ( arg0 ) ; } |
9,119 | returns the first child element of the given element which match the given name and null otherwise . concode_field_sep BufferedElement parent concode_elem_sep Collection<BufferedAttribute> dynamicAttributes concode_elem_sep Map<String,String> data concode_elem_sep BufferedEndTagElement endTagElement concode_elem_sep St... | BufferedElement function ( String arg0 , int arg1 ) { return findChildAt ( this , arg0 , arg1 ) ; } |
9,120 | caches the d a t a g r o u ps in the entity cache if it is enabled . concode_field_sep DATAGROUPPersistence _persistence concode_field_sep int countAll concode_elem_sep List<DATAGROUP> findWithDynamicQuery concode_elem_sep List<DATAGROUP> findWithDynamicQuery concode_elem_sep List<DATAGROUP> findWithDynamicQuery concod... | void function ( java . util . List < vn . dtt . cmon . dm . dao . model . DATAGROUP > arg0 ) { getPersistence ( ) . cacheResult ( arg0 ) ; } |
9,121 | test that limit is correctly translated to where rownum < = 10 in oracle when the driverclass is oracle.jdbc.oracledriver in the obdafile concode_field_sep String obdafile1 concode_elem_sep QuestOWLConnection conn concode_elem_sep String obdafile2 concode_elem_sep OBDADataFactory fac concode_elem_sep Logger log concode... | void function ( ) { ModelIOManager loc0 = new ModelIOManager ( obdaModel ) ; loc0 . load ( obdafile1 ) ; runQuery ( ) ; } |
9,122 | create a portablerenderer instance . portablerenderer can trigger renderings in the context of the application . once acquired it does not need a current facescontext in order to function . concode_field_sep Logger log concode_elem_sep String ALL_SESSIONS concode_elem_sep String MissingICEpushMessage concode_field_sep ... | PortableRenderer function ( ) { return getPortableRenderer ( FacesContext . getCurrentInstance ( ) ) ; } |
9,123 | stop the cleaner . concode_field_sep PlaceHolder placeHolder concode_field_sep org.apache.spark.broadcast.BroadcastManager broadcastManager concode_elem_sep boolean stopped concode_elem_sep void attachListener concode_elem_sep scala.collection.mutable.ArrayBuffer<org.apache.spark.CleanerListener> listeners concode_elem... | void function ( ) { throw new RuntimeException ( ) ; } |
9,124 | adds the given number as a op_n opcode to the end of the program . concode_field_sep List<ScriptChunk> chunks concode_field_sep ScriptBuilder op concode_elem_sep ScriptBuilder op concode_elem_sep Script updateScriptWithSignature concode_elem_sep Script createOpReturnScript concode_elem_sep ScriptBuilder data concode_el... | ScriptBuilder function ( int arg0 ) { return smallNum ( chunks . size ( ) , arg0 ) ; } |
9,125 | getunmarshaller concode_field_sep SequenceConfigFactory m_singleton concode_elem_sep JAXBContext m_context concode_field_sep MobileSequenceConfig getSequenceForFile concode_elem_sep Marshaller getMarshaller concode_elem_sep SequenceConfigFactory getInstance concode_elem_sep void initializeContext concode_elem_sep Mobil... | Unmarshaller function ( ) { synchronized ( m_context ) { Unmarshaller loc0 = m_context . createUnmarshaller ( ) ; loc0 . setSchema ( null ) ; loc0 . setEventHandler ( new javax . xml . bind . helpers . DefaultValidationEventHandler ( ) ) ; return loc0 ; } } |
9,126 | stop listening for location updates . concode_field_sep boolean mIsGpsEnabled concode_elem_sep String TAG concode_elem_sep long mNativeObject concode_elem_sep boolean mIsGpsProviderAvailable concode_elem_sep boolean mIsNetworkProviderAvailable concode_elem_sep LocationManager mLocationManager concode_elem_sep boolean m... | void function ( ) { unregisterFromLocationUpdates ( ) ; mIsRunning = false ; } |
9,127 | decrypt the data using the encryptionkey and objectreference of the pdf stream or string object . concode_field_sep Logger logger concode_elem_sep EncryptionDictionary encryptDictionary concode_elem_sep SecurityHandler securityHandler concode_elem_sep boolean foundJCE concode_field_sep byte[] getEncryptionKey concode_e... | byte [ ] function ( Reference arg0 , byte [ ] arg1 , byte [ ] arg2 ) { return securityHandler . decrypt ( arg0 , arg1 , arg2 ) ; } |
9,128 | sets the velocidadeuploadsiebel value for this ossturbonetvelocidadeprofilein . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep int velocidadeUploadSiebel concode_elem_sep boolean __hashCodeCalc concode_elem_sep com.gvt.www.ws.eai.oss.osstu... | void function ( int arg0 ) { this . velocidadeUploadSiebel = arg0 ; } |
9,129 | if the property value must be one of a set of known tagged values , then this method should return an array of the tags . this can be used to represent for example enum values . if a propertyeditor supports tags , then it should support the use of setastext with a tag value as a way of setting the value and the use of ... | String [ ] function ( ) { return new String [ ] { TextWrap . NONE . toString ( ) , TextWrap . WRAP . toString ( ) } ; } |
9,130 | returns current local date . concode_field_sep DateTimeSource sourceInstance concode_field_sep DateTime now concode_elem_sep DateTimeZone timeZone concode_elem_sep void setSourceInstance | LocalDate function ( ) { return sourceInstance . today ( ) ; } |
9,131 | returns all the s a m todo lists . concode_field_sep SAMTodoListPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep List<SAMTodoList> findWithDynamicQuery concode_elem_sep List<SAMTodoList> findWithDynamicQuery concode_elem_sep Lis... | List < SAMTodoList > function ( ) { return getPersistence ( ) . findAll ( ) ; } |
9,132 | whether to use the gsonbuilder #disablehtmlescaping when writingjson . set to true to disable html escaping in json . this is ashortcut for setting up a gson as follows : new gsonbuilder . disablehtmlescaping . create ; concode_field_sep String dateFormatPattern concode_elem_sep boolean disableHtmlEscaping concode_elem... | void function ( boolean arg0 ) { this . disableHtmlEscaping = arg0 ; } |
9,133 | yzhang comment method `` getnewinput '' . concode_field_sep IStructuredSelection selection concode_elem_sep Object[] newInput concode_elem_sep ITabItem tabItem concode_field_sep IStructuredSelection getDefaultSelection | Object [ ] function ( ) { return newInput ; } |
9,134 | the type of the document . concode_field_sep GetResponse response concode_elem_sep MultiGetResponse.Failure failure concode_field_sep void writeTo concode_elem_sep String getIndex concode_elem_sep boolean isFailed concode_elem_sep void readFrom concode_elem_sep GetResponse getResponse concode_elem_sep String getId conc... | String function ( ) { if ( failure != null ) { return failure . getType ( ) ; } return response . getType ( ) ; } |
9,135 | transitory effects do not alter the display state . example : pulsate , shake however other effects change css style properties , and in some cases the application needs to be aware of these changes . for refreshing a page for example when css changes need to be sent to the application you need to set the transitory pr... | void function ( boolean arg0 ) { this . transitory = arg0 ; } |
9,136 | map registers after register allocation . concode_field_sep RegisterSpec result concode_elem_sep SsaBasicBlock block concode_field_sep boolean canThrow concode_elem_sep boolean isMoveException concode_elem_sep SsaBasicBlock getBlock concode_elem_sep Insn toRopInsn concode_elem_sep void mapSourceRegisters concode_elem_s... | void function ( RegisterMapper arg0 ) { RegisterSpec loc0 = result ; result = arg0 . map ( result ) ; block . getParent ( ) . updateOneDefinition ( this , loc0 ) ; mapSourceRegisters ( arg0 ) ; } |
9,137 | make an authorization decision by considering all < authorize > tag attributes . the following are valid combinations of attributes : access url , method the above combinations are mutually exclusive and evaluated in the given order . concode_field_sep String access concode_elem_sep String method concode_elem_sep Strin... | boolean function ( ) { boolean loc0 ; if ( StringUtils . hasText ( getAccess ( ) ) ) { loc0 = authorizeUsingAccessExpression ( ) ; } else if ( StringUtils . hasText ( getUrl ( ) ) ) { loc0 = authorizeUsingUrlCheck ( ) ; } else { loc0 = false ; } return loc0 ; } |
9,138 | returns the proportional width of a given page as a percentage of the viewpager 's measured width from 0.f-1 . f concode_field_sep int POSITION_NONE concode_elem_sep int POSITION_UNCHANGED concode_elem_sep DataSetObservable mObservable concode_field_sep void restoreState concode_elem_sep void startUpdate concode_elem_s... | float function ( int arg0 ) { return 1.f ; } |
9,139 | yield to other running threads concode_field_sep String[] args concode_elem_sep List<Runnable> initThreadHooks concode_elem_sep boolean testMode concode_elem_sep boolean hard concode_elem_sep Logger log concode_elem_sep List<Runnable> shutdownHooks concode_field_sep void setHardAssert concode_elem_sep void initThread c... | void function ( ) { Thread . yield ( ) ; } |
9,140 | `` the is superman attribute '' concode_field_sep boolean isSuperman concode_elem_sep String nickName concode_elem_sep String name concode_elem_sep int age concode_field_sep void setName concode_elem_sep int add concode_elem_sep int getAge concode_elem_sep void dontExposeMe concode_elem_sep String getName concode_elem_... | boolean function ( ) { return isSuperman ; } |
9,141 | create a new diskfileitem instance from the supplied parameters and the local factory configuration . concode_field_sep int sizeThreshold concode_elem_sep int DEFAULT_SIZE_THRESHOLD concode_elem_sep File repository concode_field_sep void setSizeThreshold concode_elem_sep File getRepository concode_elem_sep void setRepo... | FileItem function ( String arg0 , String arg1 , boolean arg2 , String arg3 ) { return new DiskFileItem ( arg0 , arg1 , arg2 , arg3 , sizeThreshold , repository ) ; } |
9,142 | this method and the setapplicationcontext method are called during the initialization of the bean . concode_field_sep ApplicationContext context concode_elem_sep String beanName concode_elem_sep Point pointA concode_elem_sep Point pointB concode_elem_sep Point pointC concode_field_sep void setApplicationContext concode... | void function ( String arg0 ) { System . out . println ( "srini_string" + arg0 ) ; this . beanName = arg0 ; } |
9,143 | returns true if an annotation for the specified type is associated with the element . this is primarily a short-hand for using marker annotations . concode_field_sep boolean flag concode_field_sep void checkPermission concode_elem_sep boolean isAccessible concode_elem_sep void setAccessible concode_elem_sep void setAcc... | boolean function ( Class < ? extends Annotation > arg0 ) { return getAnnotation ( arg0 ) != null ; } |
9,144 | gets the totalblockedcount . concode_field_sep int totalwarningcount concode_elem_sep ArrayList<TestSuite> testSuites concode_elem_sep String language concode_elem_sep String screenresolution concode_elem_sep String type concode_elem_sep String result concode_elem_sep String duration concode_elem_sep int totalerrorcoun... | int function ( ) { return totalblockedcount ; } |
9,145 | add error message to a specific client . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep ValueBinding getValueBinding concode_elem_sep Object getElValue concode_elem_sep void addInfoMessage concode_elem_sep void addInfoM... | void function ( String arg0 , String arg1 ) { FacesContext . getCurrentInstance ( ) . addMessage ( arg0 , new FacesMessage ( FacesMessage . SEVERITY_ERROR , arg1 , arg1 ) ) ; } |
9,146 | gets the coding scheme name . concode_field_sep List<String> localNames concode_elem_sep String formalName concode_elem_sep String codingSchemeName concode_elem_sep String codingSchemeUri concode_elem_sep String representsVersion concode_field_sep String getRepresentsVersion concode_elem_sep void setFormalName concode_... | String function ( ) { return codingSchemeName ; } |
9,147 | returns the path of the panel group from whence this help identifier came . concode_field_sep String path_ concode_elem_sep int STATUS_NAME_NOT_CORRECT concode_elem_sep String helpID_ concode_elem_sep int STATUS_OBJECT_ACCESS_FAILURE concode_elem_sep int STATUS_FOUND concode_elem_sep String found_ concode_elem_sep int ... | String function ( ) { return path_ ; } |
9,148 | return the session , return is an object to support both session as well as entitymanager . concode_field_sep FlushMode flushMode concode_elem_sep Session session concode_elem_sep HbDataStore hbDataStore concode_field_sep void setFlushModeManual concode_elem_sep void restorePreviousFlushMode concode_elem_sep boolean is... | Object function ( ) { if ( session == null ) { session = hbDataStore . getSessionFactory ( ) . openSession ( ) ; } return session ; } |
9,149 | does nothing . callback function that may be overloaded extended . called when arriving a response for a bye request call closed concode_field_sep PlaceHolder placeHolder concode_field_sep void onCallModifying concode_elem_sep void onCallTransfer concode_elem_sep void onCallAccepted concode_elem_sep void onCallTransfer... | void function ( Call arg0 , Message arg1 ) { } |
9,150 | getter for the inverse matrix of a2 concode_field_sep short[] b2 concode_elem_sep int[] vi concode_elem_sep Layer[] layers concode_elem_sep short[][] A1inv concode_elem_sep long serialVersionUID concode_elem_sep short[][] A2inv concode_elem_sep short[] b1 concode_field_sep short[][] getInvA1 concode_elem_sep int[] getV... | short [ ] [ ] function ( ) { return this . A2inv ; } |
9,151 | returns the maxcachebytes . concode_field_sep long m_avgCacheBytes concode_elem_sep I_CmsJspDeviceSelector m_deviceSelector concode_elem_sep long m_maxCacheBytes concode_elem_sep int m_maxEntryBytes concode_elem_sep String m_deviceSelectorConfiguration concode_elem_sep int m_maxKeys concode_elem_sep boolean m_cacheEnab... | long function ( ) { return m_maxCacheBytes ; } |
9,152 | gets the driver 's minor version number . concode_field_sep int REVISION concode_elem_sep String VERSION concode_elem_sep int MINOR concode_elem_sep String PRODUCT concode_elem_sep SQLException notSupported concode_elem_sep int MAJOR concode_field_sep Connection getConnection concode_elem_sep void throwError concode_el... | int function ( ) { return MINOR ; } |
9,153 | asserts that the given array contains the given values , in any order . concode_field_sep LongArrays INSTANCE concode_elem_sep Arrays arrays concode_elem_sep Failures failures concode_field_sep void assertEndsWith concode_elem_sep void assertStartsWith concode_elem_sep LongArrays instance concode_elem_sep void assertNu... | void function ( AssertionInfo arg0 , long [ ] arg1 , long [ ] arg2 ) { arrays . assertContains ( arg0 , failures , arg1 , arg2 ) ; } |
9,154 | returns size of page concode_field_sep ResultSet rs concode_elem_sep int rowCount concode_elem_sep DbHelper dbHelper concode_elem_sep int resultSetType concode_elem_sep String sql concode_elem_sep int resultSetConcurrency concode_elem_sep int pageSize concode_elem_sep int pageCount concode_elem_sep int currentPage conc... | int function ( ) { return pageSize ; } |
9,155 | get the comparison type . concode_field_sep ComparisonType guardCondType concode_elem_sep int code concode_elem_sep Class dataType concode_elem_sep String guardCondition concode_elem_sep String compareTo concode_field_sep String getGuardCompare concode_elem_sep String getGuardLabel concode_elem_sep String toString conc... | ComparisonType function ( ) { return guardCondType ; } |
9,156 | text better be in lower case by now ! concode_field_sep long[] countChars concode_elem_sep HashMap<String,ArrayList<String>> tagMap concode_elem_sep ArrayList<String> KNOW_NOTHING_TAGS concode_elem_sep int RECEIVED_FROM_THEM concode_elem_sep String description concode_elem_sep long serialVersionUID concode_elem_sep lon... | double function ( String arg0 , final List < String > arg1 ) { int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . length ( ) ; loc1 ++ ) { for ( String loc2 : arg1 ) { if ( arg0 . startsWith ( loc2 , loc1 ) ) { loc0 ++ ; } } } return loc0 ; } |
9,157 | resize bignats and rsa exponents . resizes all registered long and short bignats and , possibly , the registered rsa exponents . on the registered bignats the method bignat #resize bignat.resize is called . on the rsa exponents rsa_exponent #init_key rsa_exponent . init_key is called . if cipher_len is 0 the rsa expone... | void function ( short arg0 , short arg1 , short arg2 , short arg3 ) { for ( short loc0 = 0 ; loc0 < short_bignat_index ; loc0 ++ ) short_bignats [ loc0 ] . resize ( arg0 ) ; for ( short loc0 = 0 ; loc0 < long_bignat_index ; loc0 ++ ) long_bignats [ loc0 ] . resize ( arg1 ) ; for ( short loc0 = 0 ; loc0 < double_bignat_... |
9,158 | returns a live copy of the list of patterns to include . the list of excludes takes precedence over the include patterns . concode_field_sep List<String> include concode_elem_sep List<String> exclude concode_field_sep List<String> getExclude | List < String > function ( ) { if ( this . include == null ) { this . include = new ArrayList < String > ( ) ; } return this . include ; } |
9,159 | returns an accessiblityprofile instance with the default preferences . concode_field_sep FontSize _fontSize concode_elem_sep ColorContrast _colorContrast concode_elem_sep AccessibilityProfile _sDefaultInstance concode_field_sep ColorContrast getColorContrast concode_elem_sep FontSize getFontSize concode_elem_sep boolea... | AccessibilityProfile function ( ) { return _sDefaultInstance ; } |
9,160 | returns a list of all the packageinfo objects . concode_field_sep Set<String> packageNames concode_elem_sep List<PackageInfo> packages concode_field_sep ConfigurationInfo getPackageInfo concode_elem_sep Set<String> getPackageNames concode_elem_sep void cfgPackage | List < PackageInfo > function ( ) { return packages ; } |
9,161 | for each provided element checks if fq element name is one of provided names concode_field_sep FQNamesProvider myNameToSearch concode_elem_sep PsiCacheKey<Pair<String,String>,PyElement> QUALIFIED_AND_CLASS_NAME concode_field_sep boolean isName concode_elem_sep PyCallExpression findCallExpParent concode_elem_sep boolean... | boolean function ( @ NotNull final Collection < ? extends PyElement > arg0 , @ NotNull final FQNamesProvider ... arg1 ) { for ( final PyElement loc0 : arg0 ) { if ( isName ( loc0 , arg1 ) ) { return true ; } } return false ; } |
9,162 | pocet zatim nevykreslenych bodu . concode_field_sep ObservableList<IChart> allECGCharts concode_elem_sep ECGCalculation calculation concode_elem_sep NumberAxis yAxisCO2 concode_elem_sep int countPoints concode_elem_sep Axis xAxisECG concode_elem_sep Queue<ECGPoint> timeQueue concode_elem_sep ECGAnimation animation conc... | int function ( ) { return countPoints ; } |
9,163 | create the password hash from the passed plain text password , using the default password hash creator . concode_field_sep IPasswordHashCreator m_aDefaultPasswordHashCreator concode_elem_sep Logger s_aLogger concode_elem_sep Map<String,IPasswordHashCreator> m_aPasswordHashCreators concode_elem_sep ReadWriteLock m_aRWLo... | PasswordHash function ( @ Nonnull final String arg0 ) { ValueEnforcer . notNull ( arg0 , "srini_string" ) ; final IPasswordHashCreator loc0 = getDefaultPasswordHashCreator ( ) ; final String loc1 = loc0 . createPasswordHash ( arg0 ) ; return new PasswordHash ( loc0 . getAlgorithmName ( ) , loc1 ) ; } |
9,164 | returns an xml fragment representing the specified group grantee . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] convertToXmlByteArray | XmlWriter function ( GroupGrantee arg0 , XmlWriter arg1 ) { arg1 . start ( "srini_string" , new String [ ] { "srini_string" , "srini_string" } , new String [ ] { "srini_string" , "srini_string" } ) ; arg1 . start ( "srini_string" ) . value ( arg0 . getIdentifier ( ) ) . end ( ) ; arg1 . end ( ) ; return arg1 ; } |
9,165 | return the configured requestbodyadvice and requestbodyadvice where each instance may be wrapped as a org.springframework.web.method.controlleradvicebean controlleradvicebean . concode_field_sep HttpHeaders headers concode_elem_sep List<MediaType> allSupportedMediaTypes concode_elem_sep HttpMethod method concode_elem_s... | RequestResponseBodyAdviceChain function ( ) { return this . advice ; } |
9,166 | get the list of itemsets in this sequence . concode_field_sep List<Itemset> itemsets concode_elem_sep int id concode_elem_sep Set<Integer> sequencesID concode_field_sep Set<Integer> getSequencesID concode_elem_sep int getItemOccurencesTotalCount concode_elem_sep String toStringShort concode_elem_sep int getId concode_e... | List < Itemset > function ( ) { return itemsets ; } |
9,167 | attaches an arbitrary object to this context . concode_field_sep Class<T> valueClass concode_elem_sep ConcurrentMap<AttachmentKey<?>,Object> contextAttachments concode_field_sep V getAttachment concode_elem_sep V attachIfAbsent concode_elem_sep T cast concode_elem_sep V detach concode_elem_sep void reset concode_elem_s... | V function ( final AttachmentKey < V > arg0 , final V arg1 ) { assert arg0 != null ; return arg0 . cast ( contextAttachments . put ( arg0 , arg1 ) ) ; } |
9,168 | we need to distinguish two scenarios : 1 the file is still in the current file directory , it has been modified before while it is included in some snapshot 2 the file is not in the current file directory deleted , but it is in some snapshot , thus we still keep this inode for both scenarios the file has snapshot featu... | void function ( ) { isCurrentFileDeleted = true ; } |
9,169 | gets the value of the soaprole 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 soaprole property . for example , to add a new item , do ... | List < CString > function ( ) { if ( soapRole == null ) { soapRole = new ArrayList < CString > ( ) ; } return this . soapRole ; } |
9,170 | in complex environment use pluginmanagercolumninfo.getrealnodestate method instead . concode_field_sep String changeNotes concode_elem_sep String vendorUrl concode_elem_sep String myDownloadUrl concode_elem_sep int STATUS_NEWEST concode_elem_sep String myRating concode_elem_sep int myStatus concode_elem_sep String desc... | int function ( ) { return myStatus ; } |
9,171 | close a result set without throwing an exception . concode_field_sep String[] DRIVERS concode_field_sep Connection getConnection concode_elem_sep Connection getConnection concode_elem_sep void load concode_elem_sep String getDriver | void function ( ResultSet arg0 ) { if ( arg0 != null ) { try { arg0 . close ( ) ; } catch ( SQLException loc0 ) { } } } |
9,172 | the java version to use or null if it should not be customized . concode_field_sep String bootVersion concode_elem_sep String javaVersion concode_elem_sep String groupId concode_elem_sep String format concode_elem_sep String description concode_elem_sep String packaging concode_elem_sep String language concode_elem_sep... | String function ( ) { return this . javaVersion ; } |
9,173 | override this method to do any cleanup needed after generation concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep IGeneratorBridge bridge concode_elem_sep MessageConsoleStream error concode_elem_sep Injector injector concode_elem_sep MessageConsoleStream info concode_field_sep void refreshTargetProject con... | void function ( GeneratorEntry arg0 ) { } |
9,174 | compares for a higher log level than l. concode_field_sep int LOG_ERROR concode_elem_sep int level concode_elem_sep int LOG_ALL concode_elem_sep LogLevel WARN concode_elem_sep LogLevel ERROR concode_elem_sep LogLevel ALL concode_elem_sep int LOG_TRACE concode_elem_sep LogLevel INFO concode_elem_sep int LOG_WARN concode... | boolean function ( LogLevel arg0 ) { return level > arg0 . level ; } |
9,175 | called whenever the osgi framework starts our bundle concode_field_sep PlaceHolder placeHolder concode_field_sep void stop | void function ( BundleContext arg0 ) { } |
9,176 | sets the properties . concode_field_sep Properties properties concode_elem_sep Object implementation concode_elem_sep String className concode_elem_sep boolean enabled concode_field_sep SocketInterceptorConfig setEnabled concode_elem_sep String getProperty concode_elem_sep Object getImplementation concode_elem_sep Sock... | SocketInterceptorConfig function ( Properties arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } this . properties = arg0 ; return this ; } |
9,177 | sets the password for the user name . concode_field_sep String description concode_elem_sep String dataSourceName concode_elem_sep String password concode_elem_sep String serverName concode_elem_sep int loginTimeout concode_elem_sep String user concode_elem_sep String networkProtocol concode_elem_sep PrintWriter logWri... | void function ( String arg0 ) { this . password = arg0 ; connectionProps . setProperty ( "srini_string" , arg0 ) ; } |
9,178 | returns a hash value for this identification . concode_field_sep String identifier concode_elem_sep long serialVersionUID concode_elem_sep String name concode_elem_sep String alias concode_elem_sep String remarks concode_field_sep String getName concode_elem_sep String getIdentifier concode_elem_sep boolean equals conc... | int function ( ) { int loc0 = ( int ) serialVersionUID ; if ( name != null ) loc0 ^= name . hashCode ( ) ; return loc0 ; } |
9,179 | each message attribute consists of a name , type , and value . for more information , see message attribute items . concode_field_sep Integer delaySeconds concode_elem_sep String messageBody concode_elem_sep com.amazonaws.internal.SdkInternalMap<String,MessageAttributeValue> messageAttributes concode_elem_sep String id... | java . util . Map < String , MessageAttributeValue > function ( ) { if ( messageAttributes == null ) { messageAttributes = new com . amazonaws . internal . SdkInternalMap < String , MessageAttributeValue > ( ) ; } return messageAttributes ; } |
9,180 | test % throwable10 concode_field_sep PlaceHolder placeHolder concode_field_sep void testSeparator concode_elem_sep void testDepthAndSeparator concode_elem_sep void testNoneAndSeparatorAndFilters concode_elem_sep void testSeparatorAsDefaultLineSeparator concode_elem_sep void testNone concode_elem_sep void testSingleOpti... | void function ( ) { test ( new String [ ] { "srini_string" } , 10 , Constants . LINE_SEPARATOR , null ) ; } |
9,181 | gets the value of the reason property . concode_field_sep String reason concode_elem_sep String customerResponse concode_elem_sep List<String> agingReason concode_elem_sep XMLGregorianCalendar dateOfResponse concode_elem_sep String imageURL concode_elem_sep BigDecimal adjustedOfferPrice concode_elem_sep TradeInDeviceIn... | String function ( ) { return reason ; } |
9,182 | if the user is not confident in his/her nesting he might use this to reinitialise . concode_field_sep String[] textIndentations concode_elem_sep long[] starts concode_elem_sep int MAX concode_elem_sep Logger log concode_elem_sep int idx concode_elem_sep String name concode_elem_sep String EMPTY concode_elem_sep String ... | void function ( ) { idx = 0 ; } |
9,183 | auto generated setter method concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.DeactivateLicenseResponseType localDeactivateLicenseResponse concode_field_sep java.lang.String generatePrefix concode_elem_sep com.amazon.ec2.DeactivateLicenseResponseType getDeactivateLicenseResponse conc... | void function ( com . amazon . ec2 . DeactivateLicenseResponseType arg0 ) { this . localDeactivateLicenseResponse = arg0 ; } |
9,184 | sets the wsrp consumer id of this w s r p consumer portlet . concode_field_sep WSRPConsumerPortlet _wsrpConsumerPortlet concode_field_sep void setName concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void set... | void function ( long arg0 ) { _wsrpConsumerPortlet . setWsrpConsumerId ( arg0 ) ; } |
9,185 | tries to set a null naming pattern . concode_field_sep BasicThreadFactory.Builder builder concode_elem_sep String PATTERN concode_field_sep void testNewThreadNoPriority concode_elem_sep void testNewThreadDaemonFalse concode_elem_sep void testBuilderReset concode_elem_sep void testNewThreadNamingPattern concode_elem_sep... | void function ( ) { builder . namingPattern ( null ) ; } |
9,186 | tests for finding a site that is not blacklisted in the repository . concode_field_sep String uri3 concode_elem_sep String uri1 concode_elem_sep BlacklistedSiteRepository mockRepository concode_elem_sep String uri2 concode_elem_sep DefaultBlacklistedSiteService service concode_elem_sep BlacklistedSite site1 concode_ele... | void function ( ) { Mockito . when ( mockRepository . getAll ( ) ) . thenReturn ( blackListedSitesSet ) ; assertFalse ( service . isBlacklisted ( uri3 ) ) ; Mockito . verify ( mockRepository ) . getAll ( ) ; } |
9,187 | links the two field names into a single left.right field name . if the left field is empty , right is returned concode_field_sep Pattern DOT_SEPARATOR_PATTERN concode_field_sep void setValue concode_elem_sep T getValueOrNull concode_elem_sep Object getValueOrNull concode_elem_sep void resetValue concode_elem_sep boolea... | String function ( String arg0 , String arg1 ) { return arg0 == null || arg0 . isEmpty ( ) ? arg1 : arg0 + "srini_string" + arg1 ; } |
9,188 | true if the file esists concode_field_sep File m_BaseDirectory concode_field_sep boolean deleteFile concode_elem_sep void disconnect concode_elem_sep InputStream openFileForRead concode_elem_sep boolean isFile concode_elem_sep File getBaseDirectory concode_elem_sep String[] ls concode_elem_sep boolean expunge concode_e... | boolean function ( final String arg0 ) { return new File ( arg0 ) . exists ( ) ; } |
9,189 | calculates a java package fragment based on the table catalog and schema . if qualifiers are ignored , then this method will return an empty string . this method is used for determining the sub package for java model objects only . it takes into account the possibility that a sub-package was added to the domain object ... | String function ( boolean arg0 ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( getSubPackageForClientOrSqlMap ( arg0 ) ) ; if ( stringHasValue ( domainObjectSubPackage ) ) { loc0 . append ( '.' ) ; loc0 . append ( domainObjectSubPackage ) ; } return loc0 . toString ( ) ; } |
9,190 | generate an x509 certificate , based on the current issuer and subject using the passed in signer . concode_field_sep V1TBSCertificateGenerator tbsGen concode_field_sep placeholderType placeHolder | X509CertificateHolder function ( ContentSigner arg0 ) { tbsGen . setSignature ( arg0 . getAlgorithmIdentifier ( ) ) ; return CertUtils . generateFullCert ( arg0 , tbsGen . generateTBSCertificate ( ) ) ; } |
9,191 | creates a directory by making it writable and executable . concode_field_sep String extension concode_elem_sep FileUtil instance concode_elem_sep String baseDigits concode_field_sep boolean copyFile concode_elem_sep String removeExtension concode_elem_sep int fromOtherBaseToDecimal concode_elem_sep String toBase36 conc... | File function ( String arg0 ) { File loc0 = new File ( arg0 ) ; if ( ! loc0 . exists ( ) ) loc0 . mkdirs ( ) ; if ( ! loc0 . canWrite ( ) ) loc0 . setWritable ( true ) ; if ( ! loc0 . canExecute ( ) ) loc0 . setExecutable ( true ) ; return loc0 ; } |
9,192 | get custom serializer concode_field_sep java.lang.Double contribution concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Boolean isPrimary concode_elem_sep com.netsuite.webservices.platform.core_2014_2.RecordRef salesRole concode_elem_sep java.lang.Object __equalsCalc concode_elem... | 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 ) ; } |
9,193 | this method determines whether there is atleast one property with the supplied name . concode_field_sep String traceId concode_elem_sep long duration concode_elem_sep String hostName concode_elem_sep Set<Property> properties concode_elem_sep EndpointRef endpoint concode_elem_sep boolean multipleConsumers concode_elem_s... | boolean function ( String arg0 ) { for ( Property loc0 : this . properties ) { if ( loc0 . getName ( ) . equals ( arg0 ) ) { return true ; } } return false ; } |
9,194 | gets the value of the leader property . concode_field_sep LeaderFieldType leader concode_elem_sep List<DataFieldType> datafield concode_elem_sep String id concode_elem_sep List<ControlFieldType> controlfield concode_elem_sep RecordTypeType type concode_field_sep List<ControlFieldType> getControlfield concode_elem_sep R... | LeaderFieldType function ( ) { return leader ; } |
9,195 | returns true if a and b have the same protocol , host , port and file . concode_field_sep PlaceHolder placeHolder concode_field_sep void parseURL concode_elem_sep String toExternalForm concode_elem_sep String toExternalForm concode_elem_sep boolean hostsEqual concode_elem_sep int getDefaultPort concode_elem_sep URLConn... | boolean function ( URL arg0 , URL arg1 ) { return Objects . equal ( arg0 . getProtocol ( ) , arg1 . getProtocol ( ) ) && hostsEqual ( arg0 , arg1 ) && arg0 . getEffectivePort ( ) == arg1 . getEffectivePort ( ) && Objects . equal ( arg0 . getFile ( ) , arg1 . getFile ( ) ) ; } |
9,196 | this function scales the row concode_field_sep byte[] row concode_elem_sep int currentLocation concode_field_sep void set concode_elem_sep void set concode_elem_sep void addBar concode_elem_sep byte[] getRow | byte [ ] function ( int arg0 ) { byte [ ] loc0 = new byte [ row . length * arg0 ] ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { loc0 [ loc1 ] = row [ loc1 / arg0 ] ; } return loc0 ; } |
9,197 | returns true if this user agent should use this setting in future spdy connections to the same host . concode_field_sep int FLAG_CLEAR_PREVIOUSLY_PERSISTED_SETTINGS concode_elem_sep int DOWNLOAD_BANDWIDTH concode_elem_sep int set concode_elem_sep int DEFAULT_INITIAL_WINDOW_SIZE concode_elem_sep int UPLOAD_BANDWIDTH con... | boolean function ( int arg0 ) { int loc0 = 1 << arg0 ; return ( persistValue & loc0 ) != 0 ; } |
9,198 | creates a classloader that can be used to load resources from theworkspace . concode_field_sep boolean resolveSimpleProjectReferences concode_field_sep File getFileSystemFile concode_elem_sep void addJavaClasspathEntries concode_elem_sep void addClasspathEntries concode_elem_sep URL[] convertClassPath concode_elem_sep ... | ClassLoader function ( IProject arg0 , ClassLoader arg1 ) { final List < URL > loc0 = Lists . newArrayList ( ) ; addClasspathEntries ( arg0 , loc0 ) ; return URLClassLoader . newInstance ( loc0 . toArray ( new URL [ loc0 . size ( ) ] ) , arg1 ) ; } |
9,199 | provides access to the resources pool . concode_field_sep PriorityQueueScheduler scheduler concode_elem_sep String localName concode_elem_sep MediaGroup mediaGroup concode_elem_sep EndpointState state concode_elem_sep Logger logger concode_elem_sep ResourcesPool resourcesPool concode_elem_sep Iterator<Connection> conne... | ResourcesPool function ( ) { return resourcesPool ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.