idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
37,500 | works exactly like resourcebundle.getbundle string . this is needed because the java method depends on a particular stack configuration that is not guaranteed in groovy when calling the java method . concode_field_sep PlaceHolder placeHolder concode_field_sep void sleep concode_elem_sep void sleep concode_elem_sep Thre... | ResourceBundle function ( ResourceBundle arg0 , String arg1 ) { return getBundle ( arg0 , arg1 , Locale . getDefault ( ) ) ; } |
37,501 | sets the user name of this ratings entry . concode_field_sep RatingsEntry _ratingsEntry concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode... | void function ( java . lang . String arg0 ) { _ratingsEntry . setUserName ( arg0 ) ; } |
37,502 | decides whether the map contains a specified property . the method returns true even if the property value is null . concode_field_sep List<String> propertiesList concode_elem_sep JRPropertyChangeSupport eventSupport concode_elem_sep Log log concode_elem_sep Map<String,String> propertiesMap concode_elem_sep long serial... | boolean function ( String arg0 ) { return hasOwnProperty ( arg0 ) || base != null && base . containsProperty ( arg0 ) ; } |
37,503 | location containing the ssl certificate chain concode_field_sep boolean followRedirectFilter concode_elem_sep Integer maxTotalConnections concode_elem_sep Integer port concode_elem_sep boolean tlsVerify concode_elem_sep boolean secure concode_elem_sep String password concode_elem_sep String certPath concode_elem_sep In... | void function ( String arg0 ) { this . certPath = arg0 ; } |
37,504 | this method is called in a finally block after successful execution or on a rejection . concode_field_sep PlaceHolder placeHolder concode_field_sep void doRun concode_elem_sep void onFailure concode_elem_sep void run concode_elem_sep void onRejection concode_elem_sep boolean isForceExecution | void function ( ) { } |
37,505 | encrypt key does not use salting , so the encryption result is the same for the same input concode_field_sep String HASH_ALGORITHM concode_elem_sep int SECRET_KEY_SIZE concode_elem_sep String ENCRYPT_KEY_ALGORITHM concode_elem_sep int SECRET_KEY_SIZE_BYTES concode_elem_sep IvParameterSpec CBC_SALT_KEY concode_elem_sep ... | byte [ ] function ( @ NotNull byte [ ] arg0 , byte [ ] arg1 ) { try { Cipher loc0 = Cipher . getInstance ( ENCRYPT_KEY_ALGORITHM ) ; loc0 . init ( Cipher . ENCRYPT_MODE , new SecretKeySpec ( arg0 , SECRET_KEY_ALGORITHM ) , CBC_SALT_KEY ) ; return loc0 . doFinal ( arg1 ) ; } catch ( GeneralSecurityException loc0 ) { thr... |
37,506 | returns a range of all the kaleo timers . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.liferay.portal.kernel.dao.orm.queryutil #al... | java . util . List < com . liferay . portal . workflow . kaleo . model . KaleoTimer > function ( int arg0 , int arg1 ) { return getService ( ) . getKaleoTimers ( arg0 , arg1 ) ; } |
37,507 | open video file or a capturing device for video capturing the methods first call `` videocapture.release '' to close the already opened file or camera . concode_field_sep long nativeObj concode_field_sep boolean n_isOpened concode_elem_sep boolean n_read concode_elem_sep boolean isOpened concode_elem_sep boolean read c... | boolean function ( int arg0 ) { boolean loc0 = n_open ( nativeObj , arg0 ) ; return loc0 ; } |
37,508 | get custom deserializer concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String real_name concode_elem_sep java.math.BigInteger id concode_elem_sep java... | 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 ) ; } |
37,509 | set the key into the jaas runtime configuration . for sun 's jaas implementation , this is the `` application '' identifier for a stanza in the jaas configuration file . concode_field_sep boolean roleSchemaViaCredential concode_elem_sep char[] p concode_elem_sep Pattern roleSchemaValuePattern concode_elem_sep String u ... | void function ( String arg0 ) { this . applicationKey = arg0 ; } |
37,510 | prefix all messages with a timestamp ? concode_field_sep SharedPreferences preferences concode_elem_sep int currentRelease concode_elem_sep Resources resources concode_field_sep boolean showJoinPartAndQuit concode_elem_sep boolean showChannelBar concode_elem_sep void updateLastRunVersion concode_elem_sep boolean autoCa... | boolean function ( ) { return preferences . getBoolean ( resources . getString ( R . string . key_show_timestamp ) , Boolean . parseBoolean ( resources . getString ( R . string . default_show_timestamp ) ) ) ; } |
37,511 | this function tells the peer that the dataflavors have been modified . concode_field_sep Cursor cursor concode_elem_sep int sourceActions concode_elem_sep Image image concode_elem_sep int OVER concode_elem_sep int ENTER concode_elem_sep Point offset concode_elem_sep Transferable transferable concode_elem_sep long seria... | void function ( ) { peer . transferablesFlavorsChanged ( ) ; } |
37,512 | partitions of the hostname of the url by '' . '' concode_field_sep Pattern IP_PATTERN concode_field_sep String toASCII concode_elem_sep String getPage concode_elem_sep String toUNICODE concode_elem_sep URL fixPureQueryTargets concode_elem_sep URL resolveURL concode_elem_sep String getHost concode_elem_sep URL fixEmbedd... | String [ ] function ( String arg0 ) { return getHostSegments ( new URL ( arg0 ) ) ; } |
37,513 | list of performer comments . concode_field_sep String creator concode_elem_sep String longBio concode_elem_sep boolean withdrawn concode_elem_sep String withdrawnNote concode_elem_sep Date created concode_elem_sep List<Property> properties concode_elem_sep List<Event> events concode_elem_sep List<Tag> tags concode_elem... | void function ( List < Comment > arg0 ) { this . comments = arg0 ; } |
37,514 | obtains the connroutepnames #local_address local_address parameter value . there is no special value that would automatically be mapped to null . you can use the wildcard address 0.0.0.0 for ipv4 , : : for ipv6 to override a specific local address in a hierarchy . concode_field_sep HttpHost NO_HOST concode_elem_sep Htt... | InetAddress function ( HttpParams arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } InetAddress loc0 = ( InetAddress ) arg0 . getParameter ( LOCAL_ADDRESS ) ; return loc0 ; } |
37,515 | gets the genre . concode_field_sep List<GeographicCodeClient> geographicCode concode_elem_sep List<String> occupation concode_elem_sep String xmlLang concode_elem_sep List<HierarchicalGeographicTypeClient> hierarchicalGeographic concode_elem_sep List<TitleInfoTypeClient> titleInfo concode_elem_sep List<String> coordina... | List < String > function ( ) { return genre ; } |
37,516 | the port used to communicate with iscsi targets . concode_field_sep String networkInterfaceId concode_elem_sep Integer networkInterfacePort concode_elem_sep Integer lunNumber concode_elem_sep Boolean chapEnabled concode_elem_sep String targetARN concode_field_sep Boolean getChapEnabled concode_elem_sep Integer getNetwo... | void function ( Integer arg0 ) { this . networkInterfacePort = arg0 ; } |
37,517 | adds all the entities from the specified collection . concode_field_sep long serialVersionUID concode_elem_sep List entities concode_field_sep void add concode_elem_sep Iterator iterator concode_elem_sep boolean equals concode_elem_sep int getEntityCount concode_elem_sep void clear concode_elem_sep Object clone concode... | void function ( EntityCollection arg0 ) { this . entities . addAll ( arg0 . getEntities ( ) ) ; } |
37,518 | remove block from corruptblocksmap concode_field_sep Map<Block,Map<DatanodeDescriptor,Reason>> corruptReplicasMap concode_field_sep Collection<DatanodeDescriptor> getNodes concode_elem_sep int size concode_elem_sep void addToCorruptReplicasMap concode_elem_sep int numCorruptReplicas concode_elem_sep boolean isReplicaCo... | void function ( Block arg0 ) { if ( corruptReplicasMap != null ) { corruptReplicasMap . remove ( arg0 ) ; } } |
37,519 | gets the value of the rval property . concode_field_sep UpdateResult rval concode_field_sep void setRval | UpdateResult function ( ) { return rval ; } |
37,520 | sets the input stream containing the response content . concode_field_sep Request<?> request concode_elem_sep String statusText concode_elem_sep HttpRequestBase httpRequest concode_elem_sep Map<String,String> headers concode_elem_sep InputStream content concode_elem_sep int statusCode concode_field_sep HttpRequestBase ... | void function ( InputStream arg0 ) { this . content = arg0 ; } |
37,521 | clears the list of all fields that errored out during the previous step 's processing . concode_field_sep Map<Integer,String> errorMessages concode_elem_sep int STATUS_COMPLETE concode_elem_sep String ERROR_FIELDS_ATTRIBUTE concode_elem_sep String PREVIOUS_BUTTON concode_elem_sep String PROGRESS_BAR_PREFIX concode_elem... | void function ( HttpServletRequest arg0 ) { List < String > loc0 = getErrorFields ( arg0 ) ; if ( loc0 != null ) { setErrorFields ( arg0 , null ) ; } } |
37,522 | setter method for subsubcategoryname concode_field_sep String sdr concode_elem_sep String ftr concode_elem_sep String sla concode_elem_sep long serialVersionUID concode_elem_sep String categoryName concode_elem_sep String caseType concode_elem_sep String subCategoryName concode_elem_sep String subSubCategoryName concod... | void function ( String arg0 ) { this . subSubCategoryName = arg0 ; } |
37,523 | returns the help string for the component . for more detail , see javadoc for com.google.appinventor.client.editor.simple.componentdatabase #gethelpstring string . concode_field_sep SimpleEditor editor concode_elem_sep SimpleComponentDatabase COMPONENT_DATABASE concode_elem_sep boolean showOnPalette concode_elem_sep Mo... | String function ( ) { return helpString ; } |
37,524 | helper method that shorten title and format string to display distance concode_field_sep PlaceHolder placeHolder concode_field_sep String formatDec concode_elem_sep int earthEquatorToZoomLevel concode_elem_sep String parseAction concode_elem_sep float getAngle concode_elem_sep String formatDist concode_elem_sep boolean... | String function ( String arg0 , final double arg1 ) { if ( arg0 . length ( ) > 10 ) { arg0 = arg0 . substring ( 0 , 10 ) + "srini_string" ; } return String . valueOf ( arg0 . trim ( ) + "srini_string" + formatDist ( ( float ) arg1 ) + "srini_string" ) ; } |
37,525 | sets the value of the originalmandatetype property . concode_field_sep String typeOfPower concode_elem_sep String isJoint concode_elem_sep String typePower concode_elem_sep String originalMandateType concode_elem_sep TransactionLimitRestrictionType transactionLimit concode_elem_sep boolean isChained concode_elem_sep in... | void function ( String arg0 ) { this . originalMandateType = arg0 ; } |
37,526 | get the uriresolver to be used during stylesheet compilation . concode_field_sep CompilerInfo compilerInfo concode_elem_sep Processor processor concode_elem_sep Configuration config concode_field_sep void setSchemaAware concode_elem_sep XsltExecutable compile concode_elem_sep boolean isSchemaAware concode_elem_sep void... | URIResolver function ( ) { return compilerInfo . getURIResolver ( ) ; } |
37,527 | add a word to the candidates list if there is no duplication . concode_field_sep int FREQ_USER concode_elem_sep int mCandidateCase concode_elem_sep ArrayList<WnnWord> mConvResult concode_elem_sep int CASE_HEAD_UPPER concode_elem_sep HashMap<String,WnnWord> mCandTable concode_elem_sep int DICT_FOR_CORRECT_MISTYPE concod... | boolean function ( WnnWord arg0 ) { if ( arg0 . candidate == null || mCandTable . containsKey ( arg0 . candidate ) ) { return false ; } if ( mFilter != null && ! mFilter . isAllowed ( arg0 ) ) { return false ; } mCandTable . put ( arg0 . candidate , arg0 ) ; mConvResult . add ( arg0 ) ; return true ; } |
37,528 | removes the name . concode_field_sep List<String> nameList concode_field_sep int size concode_elem_sep String toString concode_elem_sep void addName concode_elem_sep void fromString concode_elem_sep String[] toStringArray | void function ( final String arg0 ) { final Iterator < String > loc0 = this . nameList . listIterator ( ) ; while ( loc0 . hasNext ( ) ) { final String loc1 = loc0 . loc1 ( ) ; if ( loc1 . equals ( arg0 ) ) { loc0 . remove ( ) ; } } } |
37,529 | it updates the whole trienode of the ith child concode_field_sep BitSet appearingIn concode_elem_sep List<TrieNode> nodes concode_elem_sep int intId concode_elem_sep int sumSequencesIDs concode_elem_sep int support concode_elem_sep int id concode_field_sep void setNodes concode_elem_sep int levelSize concode_elem_sep v... | void function ( int arg0 , TrieNode arg1 ) { nodes . set ( arg0 , arg1 ) ; } |
37,530 | the rule arn . concode_field_sep String topicPattern concode_elem_sep java.util.Date createdAt concode_elem_sep Boolean ruleDisabled concode_elem_sep String ruleName concode_elem_sep String ruleArn concode_field_sep TopicRuleListItem withRuleName concode_elem_sep void setRuleDisabled concode_elem_sep String getTopicPat... | String function ( ) { return this . ruleArn ; } |
37,531 | gets the value of the anyattributes property . concode_field_sep DisplayNameType displayName concode_elem_sep String anchor concode_elem_sep Map<QName,String> anyAttributes concode_elem_sep List<Element> any concode_field_sep String getAnchor concode_elem_sep DisplayNameType getDisplayName concode_elem_sep void setAnch... | Map < QName , String > function ( ) { return anyAttributes ; } |
37,532 | turn string into address concode_field_sep byte middleByte concode_elem_sep byte lowByte concode_elem_sep byte highByte concode_field_sep byte getLowByte concode_elem_sep boolean s_isValid concode_elem_sep void setMiddleByte concode_elem_sep byte getMiddleByte concode_elem_sep void main concode_elem_sep void setLowByte... | InsteonAddress function ( String arg0 ) { return new InsteonAddress ( arg0 ) ; } |
37,533 | method declaration concode_field_sep int iLeft concode_elem_sep int iData concode_elem_sep Node nParent concode_elem_sep int iId concode_elem_sep Table tTable concode_elem_sep Node nLeft concode_elem_sep Node nRight concode_elem_sep int iBalance concode_elem_sep int iRight concode_elem_sep int NO_POS concode_elem_sep N... | void function ( ) { iBalance = - 2 ; nLeft = nRight = nParent = null ; iLeft = iRight = iParent = 0 ; tTable = null ; } |
37,534 | test of logp method , of class hmm . concode_field_sep double[] pi concode_elem_sep double[][] b concode_elem_sep double[][] a concode_field_sep void testNumStates concode_elem_sep void setUpClass concode_elem_sep void testPredict2 concode_elem_sep void testLearn concode_elem_sep void testPredict3 concode_elem_sep void... | void function ( ) { System . out . println ( "srini_string" ) ; HMM loc0 = new HMM ( pi , a , b ) ; int [ ] loc1 = { 0 , 0 , 1 , 1 , 0 , 1 , 1 , 0 } ; double loc2 = - 5.609373 ; double loc3 = loc0 . logp ( loc1 ) ; assertEquals ( loc2 , loc3 , 1E-6 ) ; } |
37,535 | the amount of time , in milliseconds , until the trusted advisor check is eligible for refresh . concode_field_sep Long millisUntilNextRefreshable concode_elem_sep String checkId concode_elem_sep String status concode_field_sep TrustedAdvisorCheckRefreshStatus withStatus concode_elem_sep Long getMillisUntilNextRefresha... | TrustedAdvisorCheckRefreshStatus function ( Long arg0 ) { setMillisUntilNextRefreshable ( arg0 ) ; return this ; } |
37,536 | a ping header is same as regular header , just with -1 for the size of the message . concode_field_sep ChannelBuffer pingHeader concode_elem_sep int MARKER_BYTES_SIZE concode_elem_sep int VERSION_ID_SIZE concode_elem_sep int REQUEST_ID_SIZE concode_elem_sep int HEADER_SIZE concode_elem_sep int PING_DATA_SIZE concode_el... | ChannelBuffer function ( ) { return pingHeader . duplicate ( ) ; } |
37,537 | returns whether this history item can be saved . concode_field_sep IEditorInput input concode_elem_sep IMemento memento concode_elem_sep IEditorDescriptor descriptor concode_field_sep IEditorDescriptor getDescriptor concode_elem_sep String getName concode_elem_sep IStatus restoreState concode_elem_sep IStatus saveState... | boolean function ( ) { return ! isRestored ( ) || ( getInput ( ) != null && getInput ( ) . getPersistable ( ) != null ) ; } |
37,538 | clears and resets the board concode_field_sep char theBoard[][] concode_elem_sep int markCount concode_field_sep char getMark concode_elem_sep int checkWinner concode_elem_sep void addSpaces concode_elem_sep int oWins concode_elem_sep void display concode_elem_sep void addMark concode_elem_sep void displayColumnHeaders... | void function ( ) { for ( int loc0 = 0 ; loc0 < 3 ; loc0 ++ ) for ( int loc1 = 0 ; loc1 < 3 ; loc1 ++ ) theBoard [ loc0 ] [ loc1 ] = SPACE_CHAR ; markCount = 0 ; } |
37,539 | the failed shards this request was executed on . concode_field_sep int successfulShards concode_elem_sep List<ShardOperationFailedException> shardFailures concode_elem_sep int totalShards concode_elem_sep int failedShards concode_field_sep void writeTo concode_elem_sep List<ShardOperationFailedException> getShardFailur... | int function ( ) { return failedShards ; } |
37,540 | starts scrolling concode_field_sep Handler animationHandler concode_elem_sep int MIN_DELTA_FOR_SCROLLING concode_elem_sep ScrollingListener listener concode_elem_sep SimpleOnGestureListener gestureListener concode_elem_sep float lastTouchedY concode_elem_sep boolean isScrollingPerformed concode_elem_sep int SCROLLING_D... | void function ( ) { if ( ! isScrollingPerformed ) { isScrollingPerformed = true ; listener . onStarted ( ) ; } } |
37,541 | performs a dynamic query on the database and returns a range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.l... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 ) ; } |
37,542 | escape special characters in a query string . concode_field_sep String REFS concode_elem_sep String SCOPES concode_elem_sep String TYPE concode_elem_sep String PATH concode_elem_sep String U concode_elem_sep String PROJECT concode_elem_sep String FULL concode_elem_sep String DEFS concode_elem_sep String TAGS concode_el... | String function ( String arg0 , String arg1 ) { switch ( arg0 ) { case FULL : return arg1 . replace ( "srini_string" , "srini_string" ) ; case PATH : if ( ! ( arg1 . startsWith ( "srini_string" ) && arg1 . endsWith ( "srini_string" ) ) ) { return ( arg1 . replace ( "srini_string" , "srini_string" ) ) . replace ( "srini... |
37,543 | sets the value of the artifactid property . concode_field_sep String relativePath concode_elem_sep String groupId concode_elem_sep String artifactId concode_elem_sep String version concode_field_sep String getVersion concode_elem_sep void setRelativePath concode_elem_sep void setGroupId concode_elem_sep void setVersion... | void function ( String arg0 ) { this . artifactId = arg0 ; } |
37,544 | create a new texture from a drawable asynchronously concode_field_sep ArrayList<Texture> mTextures concode_elem_sep GL10 mGL concode_elem_sep int mExpirationCheckInterval concode_elem_sep int DEFAULT_EXPIRATION_CHECK_INTERVAL concode_elem_sep String TAG concode_elem_sep Resources mResources concode_elem_sep AssetManage... | DrawableTexture function ( final int arg0 , final TextureOptions arg1 , final boolean arg2 ) { Log . v ( TAG , String . format ( "srini_string" , arg0 , arg1 , arg2 ) ) ; final DrawableTexture loc0 = new DrawableTexture ( mGLState , getResources ( ) , arg0 , arg1 , arg2 ) ; addTexture ( loc0 ) ; return loc0 ; } |
37,545 | gets the value of the results 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 results property . for example , to add a new item , do as... | List < WorkflowRequest > function ( ) { if ( results == null ) { results = new ArrayList < WorkflowRequest > ( ) ; } return this . results ; } |
37,546 | moves to the next log record in reverse order . if the current log record is the earliest in its block , then the method moves to the next oldest block , and returns the log record from there . concode_field_sep Block blk concode_elem_sep int currentrec concode_elem_sep Page pg concode_field_sep void moveToNextBlock co... | BasicLogRecord function ( ) { if ( currentrec == 0 ) moveToNextBlock ( ) ; currentrec = pg . getInt ( currentrec ) ; return new BasicLogRecord ( pg , currentrec + INT_SIZE ) ; } |
37,547 | returns all event loops acceptor and worker thread pools in this pool . concode_field_sep NioEventLoopGroup proxyToServerWorkerPool concode_elem_sep NioEventLoopGroup clientToProxyWorkerPool concode_elem_sep NioEventLoopGroup clientToProxyAcceptorPool concode_field_sep NioEventLoopGroup getClientToProxyAcceptorPool con... | List < EventLoopGroup > function ( ) { return ImmutableList . < EventLoopGroup > of ( clientToProxyAcceptorPool , clientToProxyWorkerPool , proxyToServerWorkerPool ) ; } |
37,548 | returns true if the provided char is a token . concode_field_sep char[] SEPARATORS concode_elem_sep int QUOTED_STRING concode_elem_sep int SEPARATOR concode_elem_sep int TOKEN concode_elem_sep int[] TYPE_TABLE concode_elem_sep boolean[] IS_TOKEN concode_elem_sep char[] WHITE_SPACE concode_elem_sep int COMMENT concode_e... | boolean function ( final char arg0 ) { return ( arg0 <= Byte . MAX_VALUE && IS_TOKEN [ arg0 ] ) ; } |
37,549 | return value of implementation-version attribute in jar manifest concode_field_sep String UNDEFINED_VERSION concode_elem_sep String MANIFEST_PATH concode_elem_sep String STARTER_SCRIPT_FILE_NAME concode_elem_sep Condition<Library> LIB_SEARCH_CONDITION concode_field_sep Library[] getSDKLibrariesByModule concode_elem_sep... | String function ( String arg0 , final String arg1 , String arg2 ) { return getSDKJarVersion ( arg0 , Pattern . compile ( arg1 ) , arg2 ) ; } |
37,550 | parse and return next token as base-10 encoded long , or return the given default value if no remaining tokens on current line . concode_field_sep boolean mLineFinished concode_elem_sep byte[] mBuffer concode_elem_sep int mTail concode_elem_sep InputStream mStream concode_field_sep void consumeBuf concode_elem_sep Stri... | long function ( long arg0 ) { final int loc0 = nextTokenIndex ( ) ; if ( loc0 == - 1 ) { return arg0 ; } else { return parseAndConsumeLong ( loc0 ) ; } } |
37,551 | prints the current time , the given log level and message into the log file and starts a new line . the buffer is immediately flushed . concode_field_sep String defaultFileName concode_elem_sep String logFileName concode_elem_sep PrintStream writer concode_field_sep String getLogFilename concode_elem_sep void log conco... | void function ( Level arg0 , String arg1 ) { writer . println ( time ( ) + "srini_string" + arg0 . getFixedString ( ) + "srini_string" + arg1 ) ; writer . flush ( ) ; } |
37,552 | get the best result closest in size to the view 's size that is also in cache . if this would be the same as the source from #getbestresult , this will return null instead . concode_field_sep ImageSource bestResultInCache concode_elem_sep ImageSource bestResult concode_field_sep MultiSourceResult getBestSourceForSize c... | ImageSource function ( ) { return bestResultInCache ; } |
37,553 | this implementation checks whether the underlying file is marked as readable and corresponds to an actual file with content , not to a directory . concode_field_sep String path concode_elem_sep File file concode_field_sep boolean isWritable concode_elem_sep InputStream getInputStream concode_elem_sep File getFile conco... | boolean function ( ) { return file . canRead ( ) && ! file . isDirectory ( ) ; } |
37,554 | resizes the bit array - try to avoid using this method !!! concode_field_sep int _node concode_elem_sep int _bitSize concode_elem_sep int _mask concode_elem_sep int _intSize concode_elem_sep int[] _bits concode_elem_sep int _first concode_elem_sep int _last concode_elem_sep int[] _masks concode_elem_sep int _bit concod... | void function ( int arg0 ) { if ( arg0 > _bitSize ) { _intSize = ( arg0 >>> 5 ) + 1 ; final int [ ] loc0 = new int [ _intSize + 1 ] ; System . arraycopy ( _bits , 0 , loc0 , 0 , ( _bitSize >>> 5 ) + 1 ) ; _bits = loc0 ; _bitSize = arg0 ; } } |
37,555 | returns an iterator over the supported certpath encodings as strings . the first element is the default encoding . concode_field_sep PlaceHolder placeHolder concode_field_sep Certificate engineGenerateCertificate concode_elem_sep Collection<? extends Certificate> engineGenerateCertificates concode_elem_sep CertPath eng... | Iterator < String > function ( ) { throw new UnsupportedOperationException ( ) ; } |
37,556 | sets the value of the algorithm property . concode_field_sep long serialVersionUID concode_elem_sep List<Object> content concode_elem_sep String algorithm concode_field_sep List<Object> getContent concode_elem_sep String getAlgorithm | void function ( String arg0 ) { this . algorithm = arg0 ; } |
37,557 | extracts the first word from a timezone displayname . concode_field_sep DateFormat selectedFormat concode_elem_sep ArrayList checkedTimeZoneList concode_elem_sep DateFormat serverFormat concode_elem_sep int renderInterval concode_elem_sep ArrayList allTimeZoneList concode_elem_sep TimeZone selectedTimeZone concode_elem... | String function ( String arg0 ) { if ( arg0 == null ) { arg0 = "srini_string" ; } else { int loc0 = arg0 . indexOf ( ' ' ) ; if ( loc0 != - 1 ) { arg0 = arg0 . substring ( 0 , loc0 ) ; } } return arg0 ; } |
37,558 | build a new bytesref that has the same content as this buffer . concode_field_sep BytesRef ref concode_field_sep byte byteAt concode_elem_sep void grow concode_elem_sep void copyChars concode_elem_sep void copyChars concode_elem_sep void copyChars concode_elem_sep int length concode_elem_sep void clear concode_elem_sep... | BytesRef function ( ) { return new BytesRef ( Arrays . copyOf ( ref . bytes , ref . length ) ) ; } |
37,559 | synchronized method that gives a user a connection from the pool if not empty concode_field_sep Vector<Connection> connectionsList concode_elem_sep Logger logger concode_elem_sep int MAX_POOL_SIZE concode_field_sep boolean checkIfConnectionPoolIsFull concode_elem_sep void returnConnectionToPool concode_elem_sep Connect... | Connection function ( ) { Connection loc0 = null ; if ( connectionsList . size ( ) > 0 ) { loc0 = connectionsList . get ( 0 ) ; connectionsList . remove ( 0 ) ; } return loc0 ; } |
37,560 | closes the processor . if flushing by time is enabled , then it 's shutdown . any remaining bulk actions are flushed . concode_field_sep ThreadPool.Cancellable cancellableFlushTask concode_elem_sep BulkRequestHandler bulkRequestHandler concode_elem_sep int concurrentRequests concode_elem_sep AtomicLong executionIdGen c... | void function ( ) { try { awaitClose ( 0 , TimeUnit . NANOSECONDS ) ; } catch ( InterruptedException loc0 ) { Thread . currentThread ( ) . interrupt ( ) ; } } |
37,561 | get all templates in the database . concode_field_sep TemplateDAO templateDAO concode_elem_sep Log log concode_elem_sep MessageSender messageSender concode_elem_sep MessagePreparator messagePreparator concode_field_sep Message prepare concode_elem_sep Message prepare concode_elem_sep void setTemplateDAO concode_elem_se... | List function ( ) { return templateDAO . getTemplates ( ) ; } |
37,562 | gets date and time of the notification about update . concode_field_sep Integer hubTopicId concode_elem_sep DateTime notificationTime concode_elem_sep Integer contentId concode_elem_sep long serialVersionUID concode_field_sep void setHubTopicId concode_elem_sep Integer getContentId concode_elem_sep void setNotification... | DateTime function ( ) { return notificationTime ; } |
37,563 | return a request dispatcher for the specified context-relative path . concode_field_sep PrintWriter myLogWriter concode_elem_sep Hashtable<String,Object> myAttributes concode_elem_sep URL myResourceBaseURL concode_field_sep Enumeration<String> getServletNames concode_elem_sep ServletRegistration getServletRegistration ... | RequestDispatcher function ( String arg0 ) { return ( null ) ; } |
37,564 | adds the provided node as the second argument of an and clause to this node . concode_field_sep Parcelable.Creator<LocalSearch> CREATOR concode_elem_sep boolean mPredefined concode_elem_sep ConditionsTreeNode mConditions concode_elem_sep Set<ConditionsTreeNode> mLeafSet concode_elem_sep String mName concode_elem_sep Se... | void function ( SearchField arg0 , String arg1 , Attribute arg2 ) { and ( new SearchCondition ( arg0 , arg2 , arg1 ) ) ; } |
37,565 | set the resource adapter concode_field_sep Logger log concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep ResourceAdapter ra concode_field_sep void setName concode_elem_sep ManagedConnection createManagedConnection concode_elem_sep String getName c... | void function ( ResourceAdapter arg0 ) { log . trace ( "srini_string" ) ; this . ra = arg0 ; } |
37,566 | define el valor de la propiedad codigo . concode_field_sep String codigoPorcentaje concode_elem_sep BigDecimal tarifa concode_elem_sep String codigo concode_elem_sep BigDecimal valor concode_elem_sep BigDecimal baseImponible concode_field_sep BigDecimal getTarifa concode_elem_sep void setBaseImponible concode_elem_sep ... | void function ( String arg0 ) { this . codigo = arg0 ; } |
37,567 | returns the hashcode of this id . concode_field_sep int m_native concode_field_sep String getName concode_elem_sep int intValue concode_elem_sep AclId _getSessionUser concode_elem_sep AclId _fromName concode_elem_sep AclId getUser concode_elem_sep boolean isSuperuser concode_elem_sep boolean hasSchemaCreatePermission c... | int function ( ) { return m_native ; } |
37,568 | check if stream has more data to be parsed . concode_field_sep boolean mLineFinished concode_elem_sep byte[] mBuffer concode_elem_sep int mTail concode_elem_sep InputStream mStream concode_field_sep void consumeBuf concode_elem_sep String parseAndConsumeString concode_elem_sep int nextTokenIndex concode_elem_sep long n... | boolean function ( ) { return mTail > 0 ; } |
37,569 | returns a string of extra parameters for the urls - these might be specific ids for resources . concode_field_sep String name concode_elem_sep String extraParams concode_elem_sep String title concode_elem_sep String pageID concode_elem_sep Collection scripts concode_elem_sep Collection breadcrumbs concode_elem_sep Stri... | String function ( ) { return extraParams ; } |
37,570 | to be closed at teardown . concode_field_sep List<ResultSet> m_resultSets concode_elem_sep List<Connection> m_connections concode_elem_sep List<Statement> m_statements concode_field_sep Statement createStatement concode_elem_sep Connection newConnection concode_elem_sep void closeRegisteredObjects concode_elem_sep Prep... | void function ( ResultSet arg0 ) { m_resultSets . add ( arg0 ) ; } |
37,571 | setst the tag name concode_field_sep String tagName concode_elem_sep String regex concode_elem_sep String replace concode_elem_sep boolean removQuotes concode_elem_sep boolean alwaysProcess concode_field_sep String getRegex concode_elem_sep void setRegex concode_elem_sep void enableAlwaysProcess concode_elem_sep String... | void function ( String arg0 ) { this . tagName = arg0 ; } |
37,572 | getter for the list of 0 or more interface provided by the component e.g. the url of the rest interface where get , post , etc. operations are targeted . concode_field_sep List<RESTInterface> interfaces concode_elem_sep String componentID concode_elem_sep String ipAddress concode_field_sep String getComponentID concode... | List < RESTInterface > function ( ) { return interfaces ; } |
37,573 | gets gender . concode_field_sep Date birthday concode_elem_sep Gender gender concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep Integer id concode_elem_sep Integer salary concode_elem_sep Integer orgId concode_field_sep void setOrgId concode_elem_sep void setName concode_elem_sep Strin... | Gender function ( ) { return gender ; } |
37,574 | the aws account number specified in the accountsettings container . concode_field_sep String awsAccountNumber concode_elem_sep java.util.Map<String,Integer> unmeteredDevices concode_field_sep AccountSettings withUnmeteredDevices concode_elem_sep AccountSettings withAwsAccountNumber concode_elem_sep int hashCode concode... | void function ( String arg0 ) { this . awsAccountNumber = arg0 ; } |
37,575 | sets the key . concode_field_sep Container<K,V> parent concode_elem_sep V content concode_elem_sep K key concode_field_sep Object getKey concode_elem_sep void setContent concode_elem_sep Container<K,V> getParent concode_elem_sep V getContent concode_elem_sep void setParent | void function ( K arg0 ) { this . key = arg0 ; } |
37,576 | get main table alias concode_field_sep String m_condition concode_elem_sep String m_mainTable concode_elem_sep boolean m_left concode_elem_sep String m_mainAlias concode_elem_sep String m_joinAlias concode_elem_sep String m_joinTable concode_elem_sep String m_joinClause concode_field_sep String getCondition concode_ele... | String function ( ) { return m_mainAlias ; } |
37,577 | returns true if the bit is set at the specified index . concode_field_sep long WORD_SIZE concode_field_sep void set concode_elem_sep boolean anySet concode_elem_sep int nextSetBit concode_elem_sep void unset | boolean function ( Object arg0 , long arg1 , int arg2 ) { assert arg2 >= 0 : "srini_string" + arg2 + "srini_string" ; final long loc0 = 1L << ( arg2 & 0x3f ) ; final long loc1 = arg1 + ( arg2 >> 6 ) * WORD_SIZE ; final long loc2 = Platform . getLong ( arg0 , loc1 ) ; return ( loc2 & loc0 ) != 0 ; } |
37,578 | obtains the clipboard copy/paste support utility , if any , for the specified eclass 's metamodel . if the metamodel does not have a dedicated clipboard support implementation , then a default implementation is provided that implements semantics similar to the org.eclipse.emf.ecore.util.ecoreutil.copier class . warning... | IClipboardSupport function ( EClass arg0 ) { IClipboardSupport loc0 = DefaultClipboardSupport . getInstance ( ) ; EPackage loc1 = arg0 . getEPackage ( ) ; IClipboardSupportFactory loc2 = ClipboardSupportManager . lookup ( loc1 ) ; if ( loc2 != null ) { loc0 = loc2 . newClipboardSupport ( loc1 ) ; } return loc0 ; } |
37,579 | called by delegate method when finished concode_field_sep TAsyncClientManager ___manager concode_elem_sep TNonblockingTransport ___transport concode_elem_sep long ___timeout concode_elem_sep TAsyncMethodCall ___currentMethod concode_elem_sep Exception ___error concode_elem_sep TProtocolFactory ___protocolFactory concod... | void function ( ) { ___currentMethod = null ; } |
37,580 | given the resource name of a schema , locate its url reference via classloader lookup . concode_field_sep Logger log concode_field_sep Schema resolveLocalSchema concode_elem_sep Schema resolveLocalSchema | URL function ( String arg0 ) { URL loc0 = LocalSchemaLocator . class . getClassLoader ( ) . getResource ( arg0 ) ; if ( loc0 == null ) { throw new XmlInfrastructureException ( "srini_string" + arg0 + "srini_string" ) ; } return loc0 ; } |
37,581 | activa o desactiva palitosnet concode_field_sep String tags[] concode_elem_sep int FIN_JUEGO_TERMINAR concode_elem_sep int JUEGO_1J_NORMAL concode_elem_sep String DEFAULT_J2_NAME concode_elem_sep Color j1Color concode_elem_sep int JUEGO_2J concode_elem_sep String j1Name concode_elem_sep int JUEGO_1J_DIFICIL concode_ele... | void function ( ) { if ( isServerON ( ) ) { palitosNetOFF ( ) ; } else { palitosNetON ( ) ; } frame . setServer ( isServerON ( ) ) ; } |
37,582 | get expected number of bits per element when the bloom filter is full . this value is set by the constructor when the bloom filter is created . see also getbitsperelement . concode_field_sep MessageDigest digestFunction concode_elem_sep int numberOfAddedElements concode_elem_sep String hashName concode_elem_sep Charset... | double function ( ) { return this . filtersPerElement ; } |
37,583 | returns the secondary staff note , that 's accessbile through the xml export , but not through the templates . concode_field_sep Owner owner concode_elem_sep Image image concode_elem_sep List<Note> notes concode_elem_sep List<SubjectMatter> subjectMatters concode_elem_sep List<Area> areas concode_elem_sep List<Descript... | String function ( ) { return this . staffNoteSec ; } |
37,584 | 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 ; } |
37,585 | calls scanner service concode_field_sep int weight concode_elem_sep WalkService walkService concode_elem_sep double rateOfWalk concode_elem_sep double rateOfWalk concode_elem_sep ScannerService scannerService concode_elem_sep int MAX_CAPACITY concode_elem_sep List<Observer> observers concode_elem_sep int weight concode... | void function ( String arg0 ) { try { scannerService . scan ( arg0 ) ; } catch ( ScanFailureException loc0 ) { notifyObservers ( new ScanFailedEvent ( "srini_string" + this . id + "srini_string" + arg0 + "srini_string" + loc0 . getMessage ( ) ) ) ; } } |
37,586 | gets the current configuration concode_field_sep String[] servers concode_elem_sep int ndots concode_elem_sep ResolverConfig currentConfig concode_elem_sep Name[] searchlist concode_field_sep String server concode_elem_sep void findResolvConf concode_elem_sep boolean findSunJVM concode_elem_sep void findUnix concode_el... | void function ( ) { ResolverConfig loc0 = new ResolverConfig ( ) ; synchronized ( ResolverConfig . class ) { currentConfig = loc0 ; } } |
37,587 | get custom deserializer concode_field_sep it.test.kion.ApplicationExceptionI18NParamsEntry[] entry concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_field_sep org.apache.axis.description.TypeDesc getTypeDesc conc... | 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 ) ; } |
37,588 | log a message to the servlet context application log . concode_field_sep ServletContext context concode_field_sep void contextInitialized concode_elem_sep void attributeReplaced concode_elem_sep void contextDestroyed concode_elem_sep void attributeAdded concode_elem_sep void attributeRemoved | void function ( String arg0 ) { if ( context != null ) context . log ( "srini_string" + arg0 ) ; else System . out . println ( "srini_string" + arg0 ) ; } |
37,589 | this method converts a utf8-encoded string to iso-8859-1 concode_field_sep Locale defaultLocale concode_elem_sep String UTF_8 concode_elem_sep String LEFT_TO_RIGHT concode_elem_sep ThreadLocal<Locale> threadLocales concode_elem_sep String textDirection concode_elem_sep String encoding concode_field_sep String convertIS... | String function ( String arg0 ) { return convertStringEncoding ( arg0 , "srini_string" , "srini_string" ) ; } |
37,590 | return the coordinate positions for this hotspot . concode_field_sep String coords concode_elem_sep String shape concode_elem_sep String alt concode_field_sep void setAlt concode_elem_sep String getShape concode_elem_sep String getAlt concode_elem_sep void setCoords concode_elem_sep void setShape | String function ( ) { return ( this . coords ) ; } |
37,591 | perform a lookup for the method . no caching . in order to return a method the method name and arguments must match those specified when the optionalmethod was created . if the returntype is specified i.e. non-null it must also be compatible . the method must also be public . concode_field_sep Class[] methodParams conc... | Method function ( Class < ? > arg0 ) { Method loc0 = null ; if ( methodName != null ) { loc0 = getPublicMethod ( arg0 , methodName , methodParams ) ; if ( loc0 != null && returnType != null && ! returnType . isAssignableFrom ( loc0 . getReturnType ( ) ) ) { loc0 = null ; } } return loc0 ; } |
37,592 | this is a contribution to the requesthandler service configuration . this is how we extend tapestry using the timing filter . a common use for this kind of filter is transaction management or security . the @local annotation selects the desired service by type , but only from the same module . without @local , there wo... | void function ( Configuration < Realm > arg0 , UserService arg1 ) { arg0 . add ( new UserAuthorizingRealm ( arg1 ) ) ; } |
37,593 | sets the value of the key property . concode_field_sep String role concode_elem_sep List<Users.User.Service> service concode_elem_sep long serialVersionUID concode_elem_sep String id concode_elem_sep List<Users.User> user concode_elem_sep String value concode_elem_sep String key concode_field_sep String getValue concod... | void function ( String arg0 ) { this . key = arg0 ; } |
37,594 | calc distance between 2 points in space concode_field_sep PlaceHolder placeHolder concode_field_sep double stddev | float function ( float arg0 [ ] , float arg1 [ ] ) { return ( float ) ( Math . sqrt ( ( arg0 [ 0 ] - arg1 [ 0 ] ) * ( arg0 [ 0 ] - arg1 [ 0 ] ) + ( arg0 [ 1 ] - arg1 [ 1 ] ) * ( arg0 [ 1 ] - arg1 [ 1 ] ) + ( arg0 [ 2 ] - arg1 [ 2 ] ) * ( arg0 [ 2 ] - arg1 [ 2 ] ) ) ) ; } |
37,595 | gets the value of the ban property . concode_field_sep List<MASettingsType> maSettings concode_elem_sep long serialVersionUID concode_elem_sep String ban concode_field_sep List<MASettingsType> getMaSettings concode_elem_sep void setBAN | String function ( ) { return ban ; } |
37,596 | get health of player . concode_field_sep float walkSpeed concode_elem_sep int level concode_elem_sep String displayName concode_elem_sep int totalExperience concode_elem_sep String name concode_elem_sep double health concode_elem_sep LocationData location concode_elem_sep float experience concode_elem_sep String gameMo... | double function ( ) { return health ; } |
37,597 | retrieves the publickey concode_field_sep X509Certificate signingCert concode_elem_sep PublicKey publicKey concode_field_sep Collection<X509CRL> getCRLs concode_elem_sep CredentialContextSet getCredentalContextSet concode_elem_sep SecretKey getSecretKey concode_elem_sep X509Certificate getEntityCertificate concode_elem... | PublicKey function ( ) { return publicKey ; } |
37,598 | add a list of eventsofoneentity instances into the existing list concode_field_sep String entityType concode_elem_sep String entityId concode_elem_sep List<TimelineEvent> events concode_elem_sep List<EventsOfOneEntity> allEvents concode_field_sep void addEvent concode_elem_sep void addEvent concode_elem_sep List<Timeli... | void function ( List < EventsOfOneEntity > arg0 ) { this . allEvents . addAll ( arg0 ) ; } |
37,599 | call it at the end of the work to preserve memory concode_field_sep URL u concode_elem_sep InputStream in concode_elem_sep File f concode_elem_sep boolean retrying concode_elem_sep SAXParserFactory factory concode_elem_sep java.io.File tempFile concode_elem_sep DefaultHandler hnd concode_elem_sep boolean validate conco... | void function ( ) { this . factory = null ; this . f = null ; this . in = null ; this . hnd = null ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.