idx int64 0 25k | question stringlengths 68 5.61k | target stringlengths 21 500 |
|---|---|---|
19,800 | makes a copy of this correlationsplitinfo object concode_field_sep double m_splitValue concode_elem_sep int m_number concode_elem_sep int m_last concode_elem_sep int m_position concode_elem_sep double m_maxImpurity concode_elem_sep int m_splitAttr concode_elem_sep int m_first concode_field_sep double maxImpurity concod... | SplitEvaluate function ( ) { CorrelationSplitInfo loc0 = ( CorrelationSplitInfo ) this . clone ( ) ; return loc0 ; } |
19,801 | provides a list of parameters for the db cluster parameter group . note : this method appends the values to the existing list if any . use #setparameters java.util.collection or #withparameters java.util.collection if you want to override theexisting values . returns a reference to this object so that method calls can ... | DescribeDBClusterParametersResult function ( Parameter ... arg0 ) { if ( getParameters ( ) == null ) setParameters ( new java . util . ArrayList < Parameter > ( arg0 . length ) ) ; for ( Parameter loc0 : arg0 ) { getParameters ( ) . add ( loc0 ) ; } return this ; } |
19,802 | sets the value of the uri property . concode_field_sep BigInteger number concode_elem_sep XMLGregorianCalendar issueTime concode_elem_sep long serialVersionUID concode_elem_sep String uri concode_elem_sep String issuer concode_field_sep XMLGregorianCalendar getIssueTime concode_elem_sep void setIssueTime concode_elem_s... | void function ( String arg0 ) { this . uri = arg0 ; } |
19,803 | tests this instance for equality with an arbitrary object . concode_field_sep long serialVersionUID concode_field_sep void add concode_elem_sep Size2D arrangeFF concode_elem_sep Size2D arrangeRR concode_elem_sep Size2D arrangeNN concode_elem_sep Size2D arrange concode_elem_sep Size2D arrangeFR concode_elem_sep Size2D a... | boolean function ( Object arg0 ) { if ( arg0 == this ) { return true ; } if ( ! ( arg0 instanceof CenterArrangement ) ) { return false ; } return true ; } |
19,804 | this method is implemented only to restore the logger . we do n't make the logger static as that would mean that subclasses would use this class 's log category . concode_field_sep Map<Method,Boolean> rememberedMethods concode_elem_sep Set<Class<?>> publishedInterfaces concode_field_sep boolean isMethodOnIntroducedInte... | void function ( ObjectInputStream arg0 ) { arg0 . defaultReadObject ( ) ; this . rememberedMethods = new ConcurrentHashMap < Method , Boolean > ( 32 ) ; } |
19,805 | only used during construction concode_field_sep SplitFileInserterStorage parent concode_elem_sep boolean DEBUG_ENCODE concode_elem_sep boolean logMINOR concode_elem_sep int crossCheckBlockCount concode_elem_sep int counter concode_elem_sep boolean encoding concode_elem_sep int dataBlockCount concode_elem_sep SplitFileI... | void function ( SplitFileInserterSegmentStorage arg0 , int arg1 ) { segments [ counter ] = arg0 ; blockNumbers [ counter ] = arg1 ; if ( logMINOR ) Logger . minor ( this , "srini_string" + counter + "srini_string" + arg1 + "srini_string" + arg0 + "srini_string" + this ) ; counter ++ ; } |
19,806 | from net concode_field_sep ImageLoader instance concode_elem_sep Context context concode_field_sep Drawable getDrawable concode_elem_sep void displayImageFromFile concode_elem_sep void displayImageFromContent concode_elem_sep void displayImage concode_elem_sep void displayImageFromDrawable concode_elem_sep void display... | void function ( String arg0 , Object arg1 ) { return ; } |
19,807 | encodes the bytes in the given buffer . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean supportsStreaming concode_elem_sep String encodeToString concode_elem_sep String encodeToString concode_elem_sep OutputStream wrap | ByteBuffer function ( ByteBuffer arg0 ) { Contract . checkArgument ( arg0 != null , "srini_string" ) ; byte [ ] loc0 = new byte [ arg0 . remaining ( ) ] ; arg0 . get ( loc0 ) ; return ByteBuffer . wrap ( encode ( loc0 ) ) ; } |
19,808 | gets the value of the type property . concode_field_sep String type concode_elem_sep String value concode_field_sep String getValue concode_elem_sep void setValue concode_elem_sep void setType | String function ( ) { return type ; } |
19,809 | outputs the json string . concode_field_sep StringBuilder params concode_field_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_e... | String function ( ) { return params . toString ( ) ; } |
19,810 | returns true if this connection is idle . concode_field_sep int httpMinorVersion concode_elem_sep byte[] HTTP_11 concode_elem_sep Route route concode_elem_sep long idleStartTimeNs concode_elem_sep InputStream in concode_elem_sep SpdyConnection spdyConnection concode_elem_sep Socket socket concode_elem_sep byte[] SPDY3 ... | boolean function ( ) { return spdyConnection == null || spdyConnection . isIdle ( ) ; } |
19,811 | get the list of mdsequences stored in this database concode_field_sep int sequenceNumber concode_elem_sep SequenceDatabase sequenceDatabase concode_elem_sep MDPatternsDatabase patternDatabase concode_elem_sep Set<ItemSimple> itemIDs concode_elem_sep List<MDSequence> sequences concode_field_sep Set<ItemSimple> getItemID... | List < MDSequence > function ( ) { return sequences ; } |
19,812 | determines amount of purchased items . concode_field_sep StoreTable storeTable concode_elem_sep Random random concode_elem_sep Effect cartEffect concode_elem_sep ArrayList purchasedList concode_field_sep String getItemString concode_elem_sep ArrayList getPurchasedList concode_elem_sep void setCartEffect concode_elem_se... | int function ( ) { Iterator loc0 = purchasedList . iterator ( ) ; int loc1 = 0 ; while ( loc0 . hasNext ( ) ) { loc1 += ( ( CartItem ) loc0 . next ( ) ) . getPurchasedQuantity ( ) ; } return ( loc1 ) ; } |
19,813 | set the sql statement 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 con... | void function ( String arg0 ) { this . sql = arg0 ; refresh ( ) ; } |
19,814 | gets the current search realm concode_field_sep int nresults concode_elem_sep String SEARCH_SUFFIX concode_elem_sep int requestPage concode_elem_sep int pagenum concode_elem_sep int pagesize concode_elem_sep Log log concode_elem_sep SearchList searchResults concode_elem_sep ToolManager toolManager concode_elem_sep Stri... | String function ( ) { return realm ; } |
19,815 | returns the size of this big array in bytes . concode_field_sep long SIZE_OF_SEGMENT concode_elem_sep long[][] array concode_elem_sep long initialValue concode_elem_sep int capacity concode_elem_sep int segments concode_field_sep void add concode_elem_sep void set concode_elem_sep void grow concode_elem_sep long get co... | long function ( ) { return SizeOf . sizeOf ( array ) + ( segments * SIZE_OF_SEGMENT ) ; } |
19,816 | tests the webutils #convertmstoclocktime long method with one day , four hours , ten minutes and forty-five seconds . concode_field_sep PlaceHolder placeHolder concode_field_sep void convertToClockTimeWithOneMinute30Seconds concode_elem_sep void convertToClockTimeWithOneDay4Hours10Minutes45SecondsWithStopwatch concode_... | void function ( ) { long loc0 = TimeUnit . DAYS . toMillis ( 1 ) + TimeUnit . HOURS . toMillis ( 4 ) + TimeUnit . MINUTES . toMillis ( 10 ) + TimeUnit . SECONDS . toMillis ( 45 ) ; String loc1 = WebUtils . convertMsToClockTime ( loc0 ) ; Assert . assertEquals ( "srini_string" , loc1 ) ; } |
19,817 | returns true if inherited methods are shown concode_field_sep Object[] NO_ELEMENTS concode_elem_sep TableViewer fViewer concode_elem_sep boolean fShowInheritedMethods concode_elem_sep TypeHierarchyLifeCycle fHierarchyLifeCycle concode_field_sep boolean providesWorkingCopies concode_elem_sep void showInheritedMethods co... | boolean function ( ) { return fShowInheritedMethods ; } |
19,818 | copy bytes from a byte to an outputstream . concode_field_sep int DEFAULT_BUFFER_SIZE concode_field_sep placeholderType placeHolder | void function ( byte [ ] arg0 , OutputStream arg1 ) { arg1 . write ( arg0 ) ; } |
19,819 | return the tail of this link . this will be the icon of a state . concode_field_sep ComponentRelation _relation concode_elem_sep Object _head concode_elem_sep Object _tail concode_field_sep void setTail concode_elem_sep Object getHead concode_elem_sep void setHead concode_elem_sep void setRelation concode_elem_sep Stri... | Object function ( ) { return _tail ; } |
19,820 | return total row . concode_field_sep int totalRow concode_elem_sep int pageNumber concode_elem_sep int totalPage concode_elem_sep long serialVersionUID concode_elem_sep int pageSize concode_elem_sep List<T> list concode_field_sep int getPageNumber concode_elem_sep int getPageSize concode_elem_sep List<T> getList concod... | int function ( ) { return totalRow ; } |
19,821 | see comment for getmoreresults . concode_field_sep boolean isEscapeProcessing concode_elem_sep Result errorResult concode_elem_sep int SUCCESS_NO_INFO concode_elem_sep Result batchResultOut concode_elem_sep int maxRows concode_elem_sep JDBCConnection connection concode_elem_sep int rsHoldability concode_elem_sep int RE... | void function ( ) { if ( currentResultSet != null ) { currentResultSet . close ( ) ; } if ( generatedResultSet != null ) { generatedResultSet . close ( ) ; } generatedResultSet = null ; generatedResult = null ; resultIn = null ; } |
19,822 | returns true if the edge is a border edge of the triangulation framework , false otherwise . concode_field_sep boolean border concode_elem_sep Vertex eV concode_elem_sep List<Edge> incidentEdges concode_elem_sep Vertex oV concode_elem_sep LineSegment geometry concode_elem_sep int id concode_elem_sep List<Triangle> tria... | boolean function ( ) { return this . border ; } |
19,823 | returns the logchute wrapped by this log instance . concode_field_sep LogChute chute concode_field_sep void debug concode_elem_sep void debug concode_elem_sep void log concode_elem_sep void log concode_elem_sep boolean isWarnEnabled concode_elem_sep void error concode_elem_sep void error concode_elem_sep String formatF... | LogChute function ( ) { return this . chute ; } |
19,824 | tell whether the current json reference `` contains '' another this is considered true iif both references have the same locator , in other words , if they differ only by their fragment part . concode_field_sep JsonPointer pointer concode_elem_sep int hashCode concode_elem_sep boolean legal concode_elem_sep URI HASHONL... | boolean function ( final JsonRef arg0 ) { return locator . equals ( arg0 . locator ) ; } |
19,825 | set trust keystore file . concode_field_sep String keyStorePassword concode_elem_sep File keyStore concode_elem_sep String trustKeyStorePassword concode_elem_sep File trustKeyStore concode_elem_sep String certificatePassword concode_field_sep String getKeyStorePassword concode_elem_sep String getCertificatePassword con... | Builder function ( File arg0 ) { this . trustKeyStore = arg0 ; return this ; } |
19,826 | compares two strings in an ascii case-insensitive manner . concode_field_sep String[] emptyStringArray concode_field_sep boolean isNullOrSpaces concode_elem_sep String[] splitAtSpaces concode_elem_sep String trimSpaces concode_elem_sep String[] splitAt concode_elem_sep boolean isNullOrEmpty concode_elem_sep String toLo... | boolean function ( String arg0 , String arg1 ) { return ( arg0 == null ) ? ( arg1 == null ) : toLowerCaseAscii ( arg0 ) . equals ( toLowerCaseAscii ( arg1 ) ) ; } |
19,827 | add a status mapping to the existing set . concode_field_sep HealthEndpoint delegate concode_elem_sep Map<String,HttpStatus> statusMapping concode_elem_sep Health cached concode_elem_sep RelaxedPropertyResolver propertyResolver concode_elem_sep boolean secure concode_elem_sep long lastAccess concode_field_sep void setu... | void function ( Status arg0 , HttpStatus arg1 ) { Assert . notNull ( arg0 , "srini_string" ) ; Assert . notNull ( arg1 , "srini_string" ) ; addStatusMapping ( arg0 . getCode ( ) , arg1 ) ; } |
19,828 | creates a default instance of the worker pool and calls requestqueue #start on it . concode_field_sep String DEFAULT_CACHE_DIR concode_field_sep placeholderType placeHolder | RequestQueue function ( Context arg0 ) { return newRequestQueue ( arg0 , null ) ; } |
19,829 | verify the signature as certifying the passed in public key as associated with the passed in rawid . concode_field_sep TrustPacket trustPck concode_elem_sep int POSITIVE_CERTIFICATION concode_elem_sep int DIRECT_KEY concode_elem_sep int PRIMARYKEY_BINDING concode_elem_sep int signatureType concode_elem_sep int CERTIFIC... | boolean function ( byte [ ] arg0 , PGPPublicKey arg1 ) { if ( verifier == null ) { throw new PGPException ( "srini_string" ) ; } updateWithPublicKey ( arg1 ) ; updateWithIdData ( 0xb4 , arg0 ) ; addTrailer ( ) ; return verifier . verify ( this . getSignature ( ) ) ; } |
19,830 | test to convert a collection into a list with invalid parameters concode_field_sep PlaceHolder placeHolder concode_field_sep void test3GetUppercaseCountry concode_elem_sep void test1CheckURL concode_elem_sep void test2GetUppercaseCountry concode_elem_sep void test3CheckURL concode_elem_sep void test3CollectionToList co... | void function ( ) { assertEquals ( 0 , Util . collectionToList ( null ) . size ( ) ) ; } |
19,831 | create a flow that is handled by an actor . messages can be sent downstream by sending them to the actor passed into the props function . this actor meets the contract of the actor returned by akka.stream.javadsl.source #actorref , defaulting to a buffer size of 16 , and failing the stream if the buffer gets full . the... | Flow < In , Out , ? > function ( Function < ActorRef , Props > arg0 , ActorRefFactory arg1 , Materializer arg2 ) { return play . api . libs . streams . ActorFlow . < In , Out > actorRef ( new AbstractFunction1 < ActorRef , Props > ( ) { @ Override public Props apply ( ActorRef arg3 ) { return arg0 . apply ( arg3 ) ; } ... |
19,832 | turns an array of colors integer color values into an arraylist of colors . concode_field_sep int[] COLORFUL_COLORS concode_elem_sep int[] JOYFUL_COLORS concode_elem_sep int[] VORDIPLOM_COLORS concode_elem_sep int[] LIBERTY_COLORS concode_elem_sep int COLOR_SKIP concode_elem_sep int COLOR_NONE concode_elem_sep int[] PA... | List < Integer > function ( int [ ] arg0 ) { List < Integer > loc0 = new ArrayList < Integer > ( ) ; for ( int loc1 : arg0 ) { loc0 . add ( loc1 ) ; } return loc0 ; } |
19,833 | returns product name of the underlying eis instance connected through the managedconnection . concode_field_sep PlaceHolder placeHolder concode_field_sep int getMaxConnections concode_elem_sep String getEISProductVersion concode_elem_sep String getUserName | String function ( ) { return "srini_string" ; } |
19,834 | fill in the #value field by reading the required datafrom the given stream . for long , the functionality is delegated to org.omg.corba.portable.inputstream #read_long . concode_field_sep TypeCode t_long concode_elem_sep int value concode_field_sep TypeCode _type concode_elem_sep void _write | void function ( InputStream arg0 ) { value = arg0 . read_long ( ) ; } |
19,835 | return the socket concode_field_sep HttpMessage responseMessage concode_elem_sep HttpRequest httpRequestLine concode_elem_sep HttpMessageFactory httpMessageFactory concode_elem_sep Log logR concode_elem_sep ByteArrayOutputStream output concode_elem_sep HttpMessage requestMessage concode_elem_sep Socket socket concode_e... | Socket function ( ) { return socket ; } |
19,836 | need a unique id from string concode_field_sep String cohortName concode_elem_sep LinkedHashMap<String,CoxInfo> coxInfoHashMap concode_elem_sep String genes concode_elem_sep String geneSet concode_field_sep String getGenes concode_elem_sep LinkedHashMap<String,CoxInfo> getCoxInfoHashMap concode_elem_sep void putCoxInfo... | int function ( ) { String loc0 = geneSet + "srini_string" + cohortName ; return loc0 . hashCode ( ) ; } |
19,837 | creates an instance for the given clazz . effectively , the class loader of the given class is used to locate implementations . concode_field_sep org.slf4j.Logger logger concode_elem_sep Map<ClassLoader,WeakReference<ParameterResolverFactory>> FACTORIES concode_elem_sep Object monitor concode_field_sep List<ParameterRe... | ParameterResolverFactory function ( Class < ? > arg0 ) { return forClassLoader ( arg0 == null ? null : arg0 . getClassLoader ( ) ) ; } |
19,838 | generate a new batchschema object based on the current state of the builder . concode_field_sep BatchSchema.SelectionVectorMode selectionVectorMode concode_elem_sep List<MaterializedField> fields concode_field_sep SchemaBuilder addSerializedFields concode_elem_sep SchemaBuilder addFields concode_elem_sep SchemaBuilder ... | BatchSchema function ( ) { List < MaterializedField > loc0 = Lists . newArrayList ( fields ) ; return new BatchSchema ( this . selectionVectorMode , loc0 ) ; } |
19,839 | test request parameter - case 5 concode_field_sep PlaceHolder placeHolder concode_field_sep Map<String,String> getRequestParameter concode_elem_sep void testRequestParameter3 concode_elem_sep void testRequestParameter2 concode_elem_sep void testRequestParameter1 concode_elem_sep void testRequestParameter4 | void function ( ) { final Map < String , String > loc0 = new HashMap < > ( ) ; loc0 . put ( "srini_string" , "srini_string" ) ; loc0 . put ( "srini_string" , "srini_string" ) ; assertEquals ( loc0 , getRequestParameter ( "srini_string" ) ) ; } |
19,840 | sets the value of the unused property . concode_field_sep Duration duration concode_elem_sep BigInteger maxAllowed concode_elem_sep RenewalDetail.LimitedRenewals limitedRenewals concode_elem_sep XMLGregorianCalendar lastRenewalExpirationDate concode_elem_sep Boolean unlimited concode_elem_sep XMLGregorianCalendar nextR... | void function ( BigInteger arg0 ) { this . unused = arg0 ; } |
19,841 | more structured-looking way of adding a vertex but potentially wasteful . the vo 's taken in as arguments are only used to read the values they hold no references are kept to them . return 's newly added vertex 's index if hasuvs , hasnormals , or hascolors was set to false , their corresponding arguments are just igno... | short function ( Number3d arg0 , Uv arg1 , Number3d arg2 , Color4 arg3 ) { _points . add ( arg0 ) ; if ( _hasUvs ) _uvs . add ( arg1 ) ; if ( _hasNormals ) _normals . add ( arg2 ) ; if ( _hasColors ) _colors . add ( arg3 ) ; return ( short ) ( _points . size ( ) - 1 ) ; } |
19,842 | expands an area by the amount of space represented by this object . concode_field_sep long serialVersionUID concode_elem_sep double top concode_elem_sep double left concode_elem_sep double bottom concode_elem_sep double right concode_field_sep void add concode_elem_sep double getBottom concode_elem_sep void setLeft con... | Rectangle2D function ( Rectangle2D arg0 , Rectangle2D arg1 ) { if ( arg1 == null ) { arg1 = new Rectangle2D . Double ( ) ; } arg1 . setRect ( arg0 . getX ( ) - this . left , arg0 . getY ( ) - this . top , arg0 . getWidth ( ) + this . left + this . right , arg0 . getHeight ( ) + this . top + this . bottom ) ; return arg... |
19,843 | updates the shopping item price in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep ShoppingItemPriceLocalService _shoppingItemPriceLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode... | com . liferay . shopping . model . ShoppingItemPrice function ( com . liferay . shopping . model . ShoppingItemPrice arg0 ) { return _shoppingItemPriceLocalService . updateShoppingItemPrice ( arg0 ) ; } |
19,844 | gets the content type header . concode_field_sep String contentDisposition concode_elem_sep String contentEncoding concode_elem_sep String contentLanguage concode_elem_sep String contentType concode_elem_sep String cacheControl concode_field_sep String getContentEncoding concode_elem_sep String getContentLanguage conco... | String function ( ) { return this . contentType ; } |
19,845 | get the target file relative path and name concode_field_sep boolean info concode_elem_sep boolean subdir concode_elem_sep boolean trace concode_elem_sep boolean newOnly concode_elem_sep String dir concode_elem_sep Hashtable<String,FTPFile> filesMap concode_elem_sep AtomicInteger fileCntSuccess concode_elem_sep AtomicI... | String function ( String arg0 ) { String loc0 = arg0 ; if ( dir != null ) { if ( targetDir != null ) { loc0 = targetDir + arg0 . substring ( dir . length ( ) ) ; } else { loc0 = arg0 . substring ( dir . length ( ) ) ; } } else if ( targetDir != null ) { loc0 = targetDir + "srini_string" + arg0 ; } return loc0 ; } |
19,846 | get justnumber concode_field_sep BigDecimal justNumber concode_field_sep String toIndentedString concode_elem_sep NumberOnly justNumber concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep void setJustNumber | BigDecimal function ( ) { return justNumber ; } |
19,847 | sets the culture . concode_field_sep String culture concode_elem_sep String message concode_field_sep void loadFromXml concode_elem_sep void writeToXml concode_elem_sep String getStringFromOofReply concode_elem_sep String getMessage concode_elem_sep void writeEmptyReplyToXml concode_elem_sep String toString concode_ele... | void function ( String arg0 ) { this . culture = arg0 ; } |
19,848 | sets the stage of this dialog . concode_field_sep TextField streetField concode_elem_sep TextField cityField concode_elem_sep TextField birthdayField concode_elem_sep TextField postalCodeField concode_elem_sep Stage dialogStage concode_elem_sep Person person concode_elem_sep boolean okClicked concode_elem_sep TextField... | void function ( Stage arg0 ) { this . dialogStage = arg0 ; } |
19,849 | read-only : no-op . concode_field_sep PlaceHolder placeHolder concode_field_sep TypedValue read concode_elem_sep boolean canRead concode_elem_sep Class<?>[] getSpecificTargetClasses concode_elem_sep boolean canWrite | void function ( EvaluationContext arg0 , Object arg1 , String arg2 , Object arg3 ) { } |
19,850 | gets a shape id concode_field_sep int numShapesId concode_elem_sep int[] shapesId concode_elem_sep boolean visited concode_elem_sep Envelope bounds concode_elem_sep boolean childrenVisited concode_elem_sep List subNodes concode_field_sep boolean removeSubNode concode_elem_sep int getNumSubNodes concode_elem_sep boolean... | int function ( int arg0 ) { if ( arg0 >= this . numShapesId ) { throw new ArrayIndexOutOfBoundsException ( "srini_string" + arg0 + "srini_string" + this . numShapesId ) ; } return this . shapesId [ arg0 ] ; } |
19,851 | gets the default parser used to parse fields . concode_field_sep String RESENT_SENDER concode_elem_sep String TO concode_elem_sep String CONTENT_TRANSFER_ENCODING concode_elem_sep String RESENT_DATE concode_elem_sep String RESENT_TO concode_elem_sep DefaultFieldParser parser concode_elem_sep String RESENT_FROM concode_... | DefaultFieldParser function ( ) { return parser ; } |
19,852 | get an exception reporting an unexpected xml attribute . concode_field_sep PlaceHolder placeHolder concode_field_sep XMLStreamException unexpectedElement concode_elem_sep XMLStreamException unexpectedEndElement concode_elem_sep String requireSingleAttribute concode_elem_sep boolean readBooleanAttributeElement concode_e... | XMLStreamException function ( final XMLStreamReader arg0 , final int arg1 ) { return new XMLStreamException ( "srini_string" + arg0 . getAttributeName ( arg1 ) + "srini_string" , arg0 . getLocation ( ) ) ; } |
19,853 | gets the value of the subjectcategory property . concode_field_sep List<AttributeType> attribute concode_elem_sep String subjectCategory concode_field_sep List<AttributeType> getAttribute concode_elem_sep void setSubjectCategory | String function ( ) { if ( subjectCategory == null ) { return "srini_string" ; } else { return subjectCategory ; } } |
19,854 | writes the set of service class names to a service file . concode_field_sep String SERVICES_PATH concode_field_sep String getPath concode_elem_sep Set<String> readServiceFile | void function ( Collection < String > arg0 , OutputStream arg1 ) { BufferedWriter loc0 = new BufferedWriter ( new OutputStreamWriter ( arg1 , UTF_8 ) ) ; for ( String loc1 : arg0 ) { loc0 . write ( loc1 ) ; loc0 . newLine ( ) ; } loc0 . flush ( ) ; } |
19,855 | getting if app automatically imports phone book to server concode_field_sep AutoJoinType autoJoinType concode_elem_sep PlatformType platformType concode_elem_sep CallsProvider callsProvider concode_elem_sep String[] autoJoinGroups concode_elem_sep boolean voiceCallsEnabled concode_elem_sep boolean videoCallsEnabled con... | boolean function ( ) { return enablePhoneBookImport ; } |
19,856 | a new method that interrupts the worker thread . call this method to force the worker to stop what it 's doing . concode_field_sep Thread thread concode_elem_sep Integer threadPriority concode_elem_sep Object value concode_elem_sep ThreadVar threadVar concode_field_sep void setThreadPriority concode_elem_sep Object get... | void function ( ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 != null ) { loc0 . interrupt ( ) ; } threadVar . clear ( ) ; } |
19,857 | instructs the webview to cancel the authentication request . concode_field_sep HttpAuthHandler handler concode_field_sep void proceed | void function ( ) { this . handler . cancel ( ) ; } |
19,858 | get the order . concode_field_sep String country concode_elem_sep String address concode_elem_sep String city concode_elem_sep String name concode_elem_sep Order order concode_field_sep void setName concode_elem_sep void setCountry concode_elem_sep void setOrder concode_elem_sep String getName concode_elem_sep void set... | Order function ( ) { return order ; } |
19,859 | calculates a mixed color from two colors by interpolating the rgb parts using a mix ratio . concode_field_sep PlaceHolder placeHolder concode_field_sep void fillVerticalGradientRectangle concode_elem_sep void fillVerticalGradientRoundedRectangle | Color function ( Color arg0 , Color arg1 , int arg2 ) { return new Color ( arg0 . getDevice ( ) , arg0 . getRed ( ) + ( arg1 . getRed ( ) - arg0 . getRed ( ) ) * arg2 / 255 , arg0 . getGreen ( ) + ( arg1 . getGreen ( ) - arg0 . getGreen ( ) ) * arg2 / 255 , arg0 . getBlue ( ) + ( arg1 . getBlue ( ) - arg0 . getBlue ( )... |
19,860 | sets project type . concode_field_sep String projectHistory concode_elem_sep List<RawFile> rawSourceFiles concode_elem_sep List<TextFile> sourceFiles concode_elem_sep String projectType concode_elem_sep String projectName concode_field_sep String getProjectName concode_elem_sep String getProjectHistory concode_elem_sep... | void function ( String arg0 ) { this . projectType = arg0 ; } |
19,861 | sets the language . concode_field_sep List<Message> images concode_elem_sep List<Message> messages concode_elem_sep String lang concode_field_sep String getLang concode_elem_sep void setMessages concode_elem_sep void setImages concode_elem_sep List<Message> getMessages concode_elem_sep List<Message> getImages | void function ( String arg0 ) { this . lang = arg0 ; } |
19,862 | returns the next socket address to try . concode_field_sep int nextSocketAddressIndex concode_elem_sep List<Route> postponedRoutes concode_elem_sep int TLS_MODE_MODERN concode_elem_sep Address address concode_elem_sep Iterator<Proxy> proxySelectorProxies concode_elem_sep ConnectionPool pool concode_elem_sep Dns dns con... | InetSocketAddress function ( ) { InetSocketAddress loc0 = new InetSocketAddress ( socketAddresses [ nextSocketAddressIndex ++ ] , socketPort ) ; if ( nextSocketAddressIndex == socketAddresses . length ) { socketAddresses = null ; nextSocketAddressIndex = 0 ; } return loc0 ; } |
19,863 | generates an activation key . concode_field_sep int DEF_COUNT concode_field_sep String generateResetKey concode_elem_sep String generatePassword | String function ( ) { return RandomStringUtils . randomNumeric ( DEF_COUNT ) ; } |
19,864 | set the accountid value . concode_field_sep String accountId concode_elem_sep String password concode_field_sep String accountId concode_elem_sep String password concode_elem_sep IssuerCredentials withPassword | IssuerCredentials function ( String arg0 ) { this . accountId = arg0 ; return this ; } |
19,865 | gets the value of the privatekeyattributes property . concode_field_sep String commonName concode_elem_sep PrivateKeyAttributes privateKeyAttributes concode_elem_sep Long generalFlags concode_elem_sep CertificateValidity certificateValidity concode_elem_sep SupersededPolicies supersededPolicies concode_elem_sep long po... | PrivateKeyAttributes function ( ) { return privateKeyAttributes ; } |
19,866 | update the notion of ` now ' in milliseconds . this can be usefull when unpausing for instance . concode_field_sep float mMinY concode_elem_sep float mMaxX concode_elem_sep float mBallSpeed concode_elem_sep float mMaxY concode_elem_sep float mMinX concode_elem_sep List<BallRegion> mNewRegions concode_elem_sep BallEvent... | void function ( long arg0 ) { for ( int loc0 = 0 ; loc0 < mRegions . size ( ) ; loc0 ++ ) { final BallRegion loc1 = mRegions . get ( loc0 ) ; loc1 . setNow ( arg0 ) ; } } |
19,867 | sets the plid of this recent layout branch . concode_field_sep RecentLayoutBranch _recentLayoutBranch concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep long ge... | void function ( long arg0 ) { _recentLayoutBranch . setPlid ( arg0 ) ; } |
19,868 | a helper api for creating an audit log for a successful event . this is factored out for testing purpose . concode_field_sep Log LOG concode_elem_sep String KEY_VAL_SEPARATOR concode_elem_sep String REFRESH_QUEUE concode_elem_sep String UNAUTHORIZED_USER concode_elem_sep char PAIR_SEPARATOR concode_elem_sep String JOBT... | String function ( String arg0 , String arg1 , String arg2 ) { StringBuilder loc0 = new StringBuilder ( ) ; start ( Keys . USER , arg0 , loc0 ) ; addRemoteIP ( loc0 ) ; add ( Keys . OPERATION , arg1 , loc0 ) ; add ( Keys . TARGET , arg2 , loc0 ) ; add ( Keys . RESULT , Constants . SUCCESS , loc0 ) ; return loc0 . toStri... |
19,869 | adds a token to the expansion of this macro . concode_field_sep List<String> args concode_elem_sep String name concode_elem_sep List<Token> tokens concode_elem_sep Source source concode_elem_sep boolean variadic concode_field_sep void setSource concode_elem_sep String getName concode_elem_sep String getMacroCall concod... | void function ( Token arg0 ) { this . tokens . add ( arg0 ) ; } |
19,870 | returns the g function that is used in the hef6 problem . concode_field_sep FunctionOptimisationProblem hef6_g_problem concode_elem_sep ContinuousFunction hef6_g concode_elem_sep long serialVersionUID concode_elem_sep int K concode_elem_sep int M concode_elem_sep int n concode_field_sep FunctionOptimisationProblem getH... | ContinuousFunction function ( ) { return this . hef6_g ; } |
19,871 | returns the jid of pre-configured jitsi videobridge instance . concode_field_sep int conferenceCount concode_elem_sep String jid concode_elem_sep boolean isOperational concode_elem_sep String preConfiguredBridge concode_elem_sep OperationSetSubscription subscriptionOpSet concode_elem_sep Logger logger concode_elem_sep ... | String function ( ) { return preConfiguredBridge ; } |
19,872 | looks up a consistent hash with the given data point . the whole point of this class is that if the same query point is given , it 's likely to return the same result even when other nodes are added/removed , or the # of replicas for the given node is changed . concode_field_sep int numPoints concode_elem_sep int defau... | T function ( int arg0 ) { return table . lookup ( arg0 ) ; } |
19,873 | gets the value of the image property . concode_field_sep String image concode_elem_sep String code concode_elem_sep Boolean visible concode_elem_sep Langs langs concode_elem_sep List<Tracked> tracked concode_elem_sep String style concode_elem_sep long serialVersionUID concode_elem_sep Long id concode_elem_sep String la... | String function ( ) { return image ; } |
19,874 | true for hitting entities far away . concode_field_sep Minecraft mc concode_elem_sep boolean isInTestMode concode_field_sep void setPartialTime concode_elem_sep void interactWithEntity concode_elem_sep EntityPlayer createPlayer concode_elem_sep void onStoppedUsingItem concode_elem_sep float getBlockReachDistance concod... | boolean function ( ) { return false ; } |
19,875 | click element by element xpath concode_field_sep WebDriver driver concode_field_sep String getTextOfElementByXPath concode_elem_sep void waitUntilElementVisibilityByCssSelector concode_elem_sep void waitUntilElementVisibilityByLinkText concode_elem_sep String getTextOfElementById concode_elem_sep void waitUntilElementV... | void function ( String arg0 ) { driver . findElement ( By . xpath ( getElementByKey ( arg0 ) ) ) . click ( ) ; } |
19,876 | this method does not override org.apache.hadoop.mapred.id to accept 64-bit id to support work-preserving rm restart . concode_field_sep JobID jobId concode_elem_sep long jvmId concode_elem_sep String JVM concode_elem_sep NumberFormat idFormat concode_elem_sep char SEPARATOR concode_elem_sep boolean isMap concode_field_... | long function ( ) { return jvmId ; } |
19,877 | encodes a string using the match rating approach mra algorithm . concode_field_sep int EIGHT concode_elem_sep String PLAIN_ASCII concode_elem_sep int ONE concode_elem_sep int SEVEN concode_elem_sep int TWO concode_elem_sep int FOUR concode_elem_sep String[] DOUBLE_CONSONANT concode_elem_sep int FIVE concode_elem_sep St... | String function ( String arg0 ) { if ( arg0 == null || EMPTY . equalsIgnoreCase ( arg0 ) || SPACE . equalsIgnoreCase ( arg0 ) || arg0 . length ( ) == 1 ) { return EMPTY ; } arg0 = cleanName ( arg0 ) ; arg0 = removeVowels ( arg0 ) ; arg0 = removeDoubleConsonants ( arg0 ) ; arg0 = getFirst3Last3 ( arg0 ) ; return arg0 ; ... |
19,878 | ; $ r13 = newarray android.telephony.smsmessage $ i1 concode_field_sep ASRExpr rExpr concode_elem_sep ASLSFieldRef lSFieldRef concode_elem_sep PrintWriter writer concode_elem_sep SMT2FileGenerator fileGenerator concode_field_sep String getAssertStr concode_elem_sep String specialCastExprStr concode_elem_sep void jet co... | String function ( NewArrayExpr arg0 ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( lSFieldRef . getSFieldRefName ( ) ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( rExpr . getExprStr ( ) ) ; fileGenerator . getArraySizeMap ( ) . put ( lSFieldRef . getSFieldRe... |
19,879 | sets the end date . concode_field_sep Funding funding concode_elem_sep Double amount concode_elem_sep Date endDate concode_elem_sep Project project concode_elem_sep Currency currency concode_elem_sep Long id concode_elem_sep Class theClass concode_elem_sep long serialVersionUID concode_elem_sep Date startDate concode_e... | void function ( Date arg0 ) { this . endDate = arg0 ; } |
19,880 | sets the string representation of an empty value defaults to null when reading , if the parser does not read any character from the input , and the input is within quotes , the empty is used instead of an empty string concode_field_sep TextParsingSettings DEFAULT concode_elem_sep String emptyValue concode_elem_sep byte... | void function ( String arg0 ) { this . emptyValue = arg0 ; } |
19,881 | getter method concode_field_sep Integer customerType concode_elem_sep Integer callSource concode_elem_sep Date endDate concode_elem_sep Integer caseStatus concode_elem_sep long serialVersionUID concode_elem_sep Integer subCategoryId concode_elem_sep String circleID concode_elem_sep String circle concode_elem_sep Date s... | String function ( ) { return circleID ; } |
19,882 | create a new file object from two file paths . concode_field_sep String LOG_TAG concode_field_sep boolean testSaveLocationExists concode_elem_sep long getFreeExternalStorageSpace concode_elem_sep boolean testFileExists concode_elem_sep long getFreeSpaceInBytes | File function ( String arg0 , String arg1 ) { File loc0 ; if ( arg1 . startsWith ( arg0 ) ) { loc0 = new File ( arg1 ) ; } else { loc0 = new File ( arg0 + "srini_string" + arg1 ) ; } return loc0 ; } |
19,883 | create an instance of propfind concode_field_sep QName _SyncToken_QNAME concode_elem_sep QName _Dst_QNAME concode_elem_sep QName _SyncLevel_QNAME concode_elem_sep QName _Status_QNAME concode_elem_sep QName _Depth_QNAME concode_elem_sep QName _Responsedescription_QNAME concode_elem_sep QName _Timeout_QNAME concode_elem_... | Propfind function ( ) { return new Propfind ( ) ; } |
19,884 | returns true if the modifiers include the annotation modifier . concode_field_sep int PROTECTED concode_elem_sep int PRIVATE concode_elem_sep int NATIVE concode_elem_sep int ANNOTATION concode_elem_sep int ENUM concode_elem_sep int INTERFACE concode_elem_sep int FINAL concode_elem_sep int VOLATILE concode_elem_sep int ... | boolean function ( int arg0 ) { return ( arg0 & ANNOTATION ) != 0 ; } |
19,885 | util method to write an attribute with the ns prefix concode_field_sep com.amazon.ec2.ImportVolumeResponseType localImportVolumeResponse concode_elem_sep javax.xml.namespace.QName MY_QNAME concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep ... | void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , java . lang . String arg3 , javax . xml . stream . XMLStreamWriter arg4 ) { if ( arg4 . getPrefix ( arg1 ) == null ) { arg4 . writeNamespace ( arg0 , arg1 ) ; arg4 . setPrefix ( arg0 , arg1 ) ; } arg4 . writeAttribute ( ... |
19,886 | sets the value of the cid property . concode_field_sep BigDecimal clashmag concode_elem_sep BigDecimal dist concode_elem_sep String atom concode_elem_sep BigInteger cid concode_field_sep BigInteger getCid concode_elem_sep void setDist concode_elem_sep BigDecimal getDist concode_elem_sep BigDecimal getClashmag concode_e... | void function ( BigInteger arg0 ) { this . cid = arg0 ; } |
19,887 | sets the token secret of this o auth token . concode_field_sep OAuthToken _oAuthToken concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getGadgetKey concode_elem_sep boolean isEscapedModel... | void function ( java . lang . String arg0 ) { _oAuthToken . setTokenSecret ( arg0 ) ; } |
19,888 | test that a java interruption can stop the watcher thread concode_field_sep Log LOG concode_elem_sep Throwable trappedException concode_field_sep void testStressInterruption concode_elem_sep void before concode_elem_sep DomainSocketWatcher newDomainSocketWatcher concode_elem_sep void testCloseSocketOnWatcherClose conco... | void function ( ) { final DomainSocketWatcher loc0 = newDomainSocketWatcher ( 10 ) ; loc0 . watcherThread . interrupt ( ) ; Uninterruptibles . joinUninterruptibly ( loc0 . watcherThread ) ; loc0 . close ( ) ; } |
19,889 | returns the led interface if any . concode_field_sep Log myLog concode_elem_sep PolledAfterActiveTicks[] polledAfterActive concode_elem_sep Clock myClock concode_elem_sep Button myButton concode_elem_sep LED myLED concode_elem_sep ArrayList<MoteInterface> moteInterfaces concode_elem_sep IPAddress myIPAddress concode_el... | LED function ( ) { if ( myLED == null ) { myLED = getInterfaceOfType ( LED . class ) ; } return myLED ; } |
19,890 | get servlet context . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep Object getElValue concode_elem_sep Object getManagedBean concode_elem_sep String getJsfEl concode_elem_sep void resetManagedBean concode_elem_sep void... | ServletContext function ( ) { return ( ServletContext ) FacesContext . getCurrentInstance ( ) . getExternalContext ( ) . getContext ( ) ; } |
19,891 | apply a modified classpath entry to the classpath . the classpath entry can also be from a classpath container . concode_field_sep IIncludePathEntry[] fNewEntries concode_elem_sep IJsGlobalScopeContainer fOriginal concode_elem_sep String JRE_PREF_PAGE_ID concode_field_sep String[] resolvedLibraryImport concode_elem_sep... | void function ( Shell arg0 , IIncludePathEntry arg1 , IJavaScriptProject arg2 , IPath arg3 , IProgressMonitor arg4 ) { modifyClasspathEntry ( arg0 , arg1 , null , arg2 , arg3 , arg4 ) ; } |
19,892 | returns the user notification delivery id of this user notification delivery . concode_field_sep UserNotificationDelivery _userNotificationDelivery concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBrid... | long function ( ) { return _userNotificationDelivery . getUserNotificationDeliveryId ( ) ; } |
19,893 | performs the graph traversion with all elements which are contained in the specified iterator . this means that every element of this collection and all elements which are reachable from these elements will be visited . concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myE... | void function ( Iterator arg0 ) { myElements = arg0 ; this . perform ( ) ; } |
19,894 | allows to read an alias from the provided input stream concode_field_sep String filter concode_elem_sep String searchRouting concode_elem_sep String name concode_elem_sep String indexRouting concode_field_sep String filter concode_elem_sep Alias filter concode_elem_sep Alias filter concode_elem_sep Alias filter concode... | Alias function ( StreamInput arg0 ) { Alias loc0 = new Alias ( ) ; loc0 . readFrom ( arg0 ) ; return loc0 ; } |
19,895 | appends a short to the payload concode_field_sep short MAX_PAYLOAD_SIZE concode_elem_sep byte PT_ACTION concode_elem_sep byte ICON_JPEG concode_elem_sep byte majver concode_elem_sep byte[] payload concode_elem_sep byte PT_NOTIFICATION concode_elem_sep byte minver concode_elem_sep byte PT_BROADCAST concode_elem_sep byte... | void function ( short arg0 ) { appendPayload ( shortToByteArray ( arg0 ) ) ; } |
19,896 | sets the value of the name property . concode_field_sep String nameComment concode_elem_sep String name concode_elem_sep String id concode_field_sep String getName concode_elem_sep String getNameComment concode_elem_sep void setID concode_elem_sep String getID concode_elem_sep void setNameComment | void function ( String arg0 ) { this . name = arg0 ; } |
19,897 | with both deep and shallow extended persistence context inheritance , a bean creating another local bean via jndi lookup will also use the extended persistence context inheritance rules . this tests that the jndi lookup does use the same xpc . see http://java.net/projects/jpa-spec/lists/jsr338-experts/archive/2012-06/m... | void function ( ) { TopLevelBean loc0 = lookup ( "srini_string" , TopLevelBean . class ) ; loc0 . induceCreationViaJNDILookup ( ) ; } |
19,898 | set the linefieldcomparatordatas concode_field_sep boolean exportable concode_elem_sep long ref concode_elem_sep boolean confidential concode_elem_sep org.topcased.gpm.business.fields.LineFieldComparatorData[] lineFieldComparatorDatas concode_elem_sep java.lang.String i18nName concode_elem_sep boolean multiLined concod... | void function ( org . topcased . gpm . business . fields . LineFieldComparatorData [ ] arg0 ) { this . lineFieldComparatorDatas = arg0 ; } |
19,899 | deletes the s v n revision from the database . also notifies the appropriate model listeners . concode_field_sep SVNRevisionLocalService _svnRevisionLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.socialcoding.model.SVNRevision getFirstSVNRevision concode_elem_sep v... | com . liferay . socialcoding . model . SVNRevision function ( com . liferay . socialcoding . model . SVNRevision arg0 ) { return _svnRevisionLocalService . deleteSVNRevision ( arg0 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.