idx int64 0 25k | question stringlengths 68 5.61k | target stringlengths 21 500 |
|---|---|---|
1,000 | returns the values associated with the path . those are `` low '' level values , and it can handle path expression where an array/list is navigated within . concode_field_sep int docId concode_elem_sep LeafReader reader concode_elem_sep BytesReference sourceAsBytes concode_elem_sep Map<String,Object> source concode_ele... | List < Object > function ( String arg0 ) { return XContentMapValues . extractRawValues ( arg0 , loadSourceIfNeeded ( ) ) ; } |
1,001 | returns the number of bits stored in this bitset . concode_field_sep long[] bits concode_elem_sep long numBits concode_elem_sep int numWords concode_field_sep long[] getBits concode_elem_sep void set concode_elem_sep void set concode_elem_sep void or concode_elem_sep boolean intersects concode_elem_sep long prevSetBit ... | long function ( ) { return numBits ; } |
1,002 | updates the shopping cart in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep ShoppingCartLocalService _service concode_field_sep com.liferay.portlet.shopping.model.ShoppingCart fetchShoppingCart concode_elem_sep com.liferay.portlet.shopping.model.Shop... | com . liferay . portlet . shopping . model . ShoppingCart function ( com . liferay . portlet . shopping . model . ShoppingCart arg0 , boolean arg1 ) { return getService ( ) . updateShoppingCart ( arg0 , arg1 ) ; } |
1,003 | returns the current justification value for this object . concode_field_sep int TRAILING concode_elem_sep int LEADING concode_elem_sep int LEFT concode_elem_sep int vgap concode_elem_sep int RIGHT concode_elem_sep int align concode_elem_sep long serialVersionUID concode_elem_sep int CENTER concode_elem_sep int hgap con... | int function ( ) { return align ; } |
1,004 | gets the value of the descriptions property . concode_field_sep Langs langs concode_elem_sep long serialVersionUID concode_elem_sep Descriptions descriptions concode_elem_sep String key concode_field_sep String getKey concode_elem_sep Langs getLangs concode_elem_sep boolean isSetDescriptions concode_elem_sep void setLa... | Descriptions function ( ) { return descriptions ; } |
1,005 | paints the icon at the location x , y . concode_field_sep PlaceHolder placeHolder concode_field_sep int getIconWidth concode_elem_sep int getIconHeight | void function ( Component arg0 , Graphics arg1 , int arg2 , int arg3 ) { Color loc0 = arg1 . getColor ( ) ; if ( arg0 . isEnabled ( ) ) arg1 . setColor ( MetalLookAndFeel . getBlack ( ) ) ; else arg1 . setColor ( MetalLookAndFeel . getControlDisabled ( ) ) ; for ( int loc1 = 0 ; loc1 < 5 ; loc1 ++ ) arg1 . drawLine ( a... |
1,006 | ensures that the current thread does n't hold any read locks . if the thread holds any read locks , this method throws a javax.ejb.illegalloopbackexception . if no read locks are held , then this method delegates the call to the internal delegate java.util.concurrent.locks.reentrantreadwritelock concode_field_sep Threa... | void function ( ) { checkLoopback ( ) ; delegate . writeLock ( ) . lock ( ) ; } |
1,007 | to determine whether the intent has necessary information to build an action-button . concode_field_sep String KEY_PACKAGE_NAME concode_elem_sep String KEY_ANIM_EXIT_RES_ID concode_elem_sep int DEFAULT_ACTION_BAR_COLOR concode_elem_sep int NO_ANIMATION_RESOURCE concode_elem_sep String PREFIX concode_elem_sep String KEY... | boolean function ( @ NonNull SafeIntent arg0 ) { return ( getActionButtonBundle ( arg0 ) != null ) && ( getActionButtonIcon ( arg0 ) != null ) && ( getActionButtonDescription ( arg0 ) != null ) && ( getActionButtonPendingIntent ( arg0 ) != null ) ; } |
1,008 | toggle markdown file rendering concode_field_sep WebView view concode_elem_sep String URL_PAGE concode_elem_sep String name concode_elem_sep boolean markdown concode_elem_sep String ENCODING_BASE64 concode_elem_sep boolean wrap concode_elem_sep String content concode_elem_sep boolean encoded concode_field_sep SourceEdi... | SourceEditor function ( ) { return setMarkdown ( ! markdown ) ; } |
1,009 | set the initial value to be edited . in html code concode_field_sep String basePath concode_elem_sep String width concode_elem_sep String instanceName concode_elem_sep String toolbarSet concode_elem_sep String height concode_elem_sep FCKeditorConfigurations oConfig concode_elem_sep String userAgent concode_elem_sep Str... | void function ( String arg0 ) { this . value = arg0 ; } |
1,010 | gets the value of the version 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 version property . for example , to add a new item , do as... | List < Version > function ( ) { if ( version == null ) { version = new ArrayList < Version > ( ) ; } return this . version ; } |
1,011 | read a nbt compound from a root configuration . concode_field_sep String dataTypeDelimiter concode_elem_sep String TYPE_DELIMITER concode_elem_sep NbtConfigurationSerializer DEFAULT concode_field_sep NbtCompound deserializeCompound concode_elem_sep void serialize concode_elem_sep Object toNodeValue concode_elem_sep int... | NbtList < T > function ( YamlConfiguration arg0 , String arg1 ) { return ( NbtList < T > ) readNode ( arg0 , arg1 ) ; } |
1,012 | gets float value from byte array assuming that value stored in little-endian byte order . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] serializeJdk concode_elem_sep int getIntByByteLE concode_elem_sep int getIntByByteLE concode_elem_sep long getLongByByteLE concode_elem_sep long getLongByByteLE co... | float function ( byte [ ] arg0 , int arg1 ) { return Float . intBitsToFloat ( getIntByByteLE ( arg0 , arg1 ) ) ; } |
1,013 | return the lastmodifiedby for this itemtype . concode_field_sep Date lastModifiedDate concode_elem_sep String lastModifiedBy concode_elem_sep String description concode_elem_sep Long CALCULATED_QUESTION concode_elem_sep long serialVersionUID concode_elem_sep Date createdDate concode_elem_sep String createdBy concode_el... | String function ( ) { return this . lastModifiedBy ; } |
1,014 | checks if an option is defined concode_field_sep Map table concode_field_sep void set concode_elem_sep void set concode_elem_sep int intValue concode_elem_sep void clear concode_elem_sep void refresh concode_elem_sep void unset concode_elem_sep String value | boolean function ( String arg0 ) { if ( table == null ) return false ; return ( table . get ( arg0 . toLowerCase ( ) ) != null ) ; } |
1,015 | a helper for returning the value mapped by a list of keys , ordered by priority . concode_field_sep PlaceHolder placeHolder concode_field_sep Iterable<String> keys concode_elem_sep JSONObject create | int function ( JSONObject arg0 , List < String > arg1 ) { for ( String loc0 : arg1 ) { try { return arg0 . getInt ( loc0 ) ; } catch ( JSONException loc1 ) { } } throw new JSONException ( "srini_string" + arg1 ) ; } |
1,016 | gets the number of bits set to true in the given bit set . concode_field_sep PlaceHolder placeHolder concode_field_sep int[] makeBitSet concode_elem_sep void set concode_elem_sep void set concode_elem_sep void or concode_elem_sep int getMax concode_elem_sep boolean get concode_elem_sep void clear concode_elem_sep boole... | int function ( int [ ] arg0 ) { int loc0 = arg0 . length ; int loc1 = 0 ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { loc1 += Integer . bitCount ( arg0 [ loc2 ] ) ; } return loc1 ; } |
1,017 | return an array of length count containing random integers in the range 0 , max generated off the test rng . concode_field_sep Random SEEDED_RANDOM concode_elem_sep String LETTERS concode_elem_sep String CHARACTERS concode_elem_sep String DIGITS concode_elem_sep Random UNSEEDED_RANDOM concode_field_sep String randomStr... | int [ ] function ( int arg0 , int arg1 ) { int [ ] loc0 = new int [ arg1 ] ; for ( int loc1 = 0 ; loc1 < arg1 ; loc1 ++ ) loc0 [ loc1 ] = SEEDED_RANDOM . nextInt ( arg0 ) ; return loc0 ; } |
1,018 | returns the url for a section in the specified map . concode_field_sep ArrayList urls concode_elem_sep long serialVersionUID concode_field_sep String generateURL concode_elem_sep int getListCount concode_elem_sep int getURLCount concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep void addURLs | String function ( Comparable arg0 , int arg1 ) { String loc0 = null ; if ( arg1 < getListCount ( ) ) { Map loc1 = ( Map ) this . urls . get ( arg1 ) ; if ( loc1 != null ) { loc0 = ( String ) loc1 . get ( arg0 ) ; } } return loc0 ; } |
1,019 | append appends the contents of q onto the end of this catenablequeue . on completion , q is empty . concode_field_sep QueueNode<Item> head concode_elem_sep int size concode_elem_sep QueueNode<Item> tail concode_field_sep void enqueue concode_elem_sep Item nth concode_elem_sep int size concode_elem_sep Item dequeue conc... | void function ( CatenableQueue < Item > arg0 ) { if ( arg0 != null ) { if ( head == null ) { head = arg0 . head ; } else { tail . next = arg0 . head ; } if ( arg0 . head != null ) { tail = arg0 . tail ; } size = size + arg0 . size ; arg0 . head = null ; arg0 . tail = null ; arg0 . size = 0 ; } } |
1,020 | gets the site_title value for this report_suite_event . concode_field_sep int ecommerce_level concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String rsid concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String sit... | java . lang . String function ( ) { return site_title ; } |
1,021 | returns when the corresponding database entry was last changed . concode_field_sep boolean showArtistInfoEnabled concode_elem_sep boolean isTrackNumberVisible concode_elem_sep boolean isFileSizeVisible concode_elem_sep boolean autoHidePlayQueue concode_elem_sep boolean isGenreVisible concode_elem_sep Visibility mainVis... | Date function ( ) { return changed ; } |
1,022 | sets the group id of this k b comment . concode_field_sep KBComment _kbComment 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_elem_sep... | void function ( long arg0 ) { _kbComment . setGroupId ( arg0 ) ; } |
1,023 | 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 ; } |
1,024 | get successful task attempt id concode_field_sep long finishTime concode_elem_sep TaskType taskType concode_elem_sep Counters counters concode_elem_sep TaskFinished datum concode_elem_sep TaskID taskid concode_elem_sep TaskAttemptID successfulAttemptId concode_elem_sep String status concode_field_sep TaskID getTaskId c... | TaskAttemptID function ( ) { return successfulAttemptId ; } |
1,025 | get mapofmapproperty concode_field_sep Map<String,String> mapProperty concode_elem_sep Map<String,Map<String,String>> mapOfMapProperty concode_field_sep String toIndentedString concode_elem_sep AdditionalPropertiesClass putMapOfMapPropertyItem concode_elem_sep int hashCode concode_elem_sep void setMapProperty concode_e... | Map < String , Map < String , String >> function ( ) { return mapOfMapProperty ; } |
1,026 | returns an unsafe bitmap reference . do not assign the result of this method to anything other than a local variable , or it will no longer work with the reference count goes to zero . concode_field_sep int mAttachCounter concode_elem_sep CloseableReference<CloseableImage> mImageRef concode_elem_sep BitmapUpdateListene... | Bitmap function ( ) { if ( mImageRef == null ) { return null ; } CloseableImage loc0 = mImageRef . get ( ) ; if ( ! ( loc0 instanceof CloseableBitmap ) ) { mImageRef . close ( ) ; mImageRef = null ; return null ; } return ( ( CloseableBitmap ) loc0 ) . getUnderlyingBitmap ( ) ; } |
1,027 | performs a dynamic query on the database and returns an ordered 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... | java . util . List function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 , com . liferay . portal . kernel . util . OrderByComparator arg3 ) { return _navigationLocalService . arg0 ( arg0 , arg1 , arg2 , arg3 ) ; } |
1,028 | move two particles closer to each other based on input gravitational constant . concode_field_sep UnionFind uf concode_elem_sep double ALPHA concode_elem_sep double G concode_elem_sep ArrayList<Particle> elements concode_elem_sep double EPS concode_elem_sep boolean USE_UNIT_MASS concode_elem_sep ArrayList<Particle> out... | void function ( Particle arg0 , Particle arg1 , double arg2 ) { double [ ] loc0 = Particle . MoveVector ( arg0 , arg1 , arg2 ) ; double [ ] loc1 = Particle . MoveVector ( arg0 , arg1 , arg2 ) ; for ( int loc2 = 0 ; loc2 < arg0 . pos . length ( ) ; loc2 ++ ) arg0 . pos . elements [ loc2 ] += loc0 [ loc2 ] ; for ( int lo... |
1,029 | return the stack trace in a string . concode_field_sep String[] unwrapMethods concode_field_sep String getStackTraceUpTo concode_elem_sep void printExceptionStack concode_elem_sep String exceptionFollowedByRootCausesToString concode_elem_sep String getStackTraceLines concode_elem_sep String exceptionToString concode_el... | String function ( Throwable arg0 ) { StringWriter loc0 = new StringWriter ( ) ; arg0 . printStackTrace ( new PrintWriter ( loc0 ) ) ; return loc0 . toString ( ) ; } |
1,030 | get file error applies to concode_field_sep PlaceHolder placeHolder concode_field_sep void pushErrors concode_elem_sep String fileError concode_elem_sep int errorCode concode_elem_sep void popErrors concode_elem_sep String error concode_elem_sep String fileErrorCode | String function ( ) { return CErrorImpl . getInstance ( ) . getErrorFile ( ) ; } |
1,031 | returns the lane left of this one in the driving direction concode_field_sep String laneId concode_elem_sep Edge edge concode_elem_sep ArrayList<Point2f> shape concode_elem_sep ArrayList<Lane> incomingLanes concode_elem_sep ArrayList<Lane> outgoingLanes concode_elem_sep Vector2f center concode_elem_sep float length con... | Lane function ( ) { return getEdge ( ) . getLaneByIndex ( getIndex ( ) + 1 ) ; } |
1,032 | clear all state information . concode_field_sep boolean first concode_elem_sep PriorityQueue<ComposableRecordReader<K,?>> q concode_elem_sep ResetableIterator<X>[] iters concode_elem_sep WritableComparator cmp concode_elem_sep JoinCollector jc concode_elem_sep Configuration conf concode_elem_sep Class<? extends Writabl... | void function ( ) { key = null ; pos = - 1 ; for ( int loc0 = 0 ; loc0 < iters . length ; ++ loc0 ) { iters [ loc0 ] . clear ( ) ; iters [ loc0 ] = EMPTY ; } } |
1,033 | get file name for commit file concode_field_sep int LENGTH concode_elem_sep NumberFormat FORMAT concode_field_sep String abbreviate concode_elem_sep String abbreviate concode_elem_sep String abbreviate concode_elem_sep Date getAuthorDate concode_elem_sep String getCommentCount concode_elem_sep String getAuthor concode_... | String function ( final CommitFile arg0 ) { return arg0 != null ? getName ( arg0 . getFilename ( ) ) : null ; } |
1,034 | performs a post http request to nsx . concode_field_sep ObjectMapper objectMapper concode_elem_sep String BASE_PATH concode_elem_sep RestClient restClient concode_field_sep T deserializeObjectFromJson concode_elem_sep StringEntity serializeObjectAsJson concode_elem_sep void postAsync concode_elem_sep T get concode_elem... | T function ( final String arg0 , final HttpEntity arg1 , final int arg2 , final TypeReference < T > arg3 ) { HttpResponse loc0 = restClient . send ( RestClient . Method . POST , arg0 , arg1 ) ; restClient . check ( loc0 , arg2 ) ; return deserializeObjectFromJson ( loc0 . getEntity ( ) , arg3 ) ; } |
1,035 | gets the preamble . concode_field_sep List bodyParts concode_elem_sep String epilogue concode_elem_sep String preamble concode_elem_sep String subType concode_elem_sep Entity parent concode_field_sep String getEpilogue concode_elem_sep void writeTo concode_elem_sep Entity getParent concode_elem_sep void setSubType conc... | String function ( ) { return preamble ; } |
1,036 | this is called when the bundle is stopped . concode_field_sep Logger logger concode_elem_sep String PAX_LOGGING_PID concode_field_sep void configureLogging concode_elem_sep void start | void function ( BundleContext arg0 ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "srini_string" ) ; } } |
1,037 | overrides object 's equals method by comparing the name of this mapping element with the name of the argument obj . the method returns false if obj does not have the same dynamic type as this mapping element . concode_field_sep PropertyChangeSupport _support concode_elem_sep String _name concode_elem_sep ResourceBundle... | boolean function ( Object arg0 ) { if ( arg0 == null ) return false ; if ( arg0 == this ) return true ; return ( getClass ( ) == arg0 . getClass ( ) ) && ( compareTo ( arg0 ) == 0 ) ; } |
1,038 | performs a dynamic query on the database and returns the matching rows . concode_field_sep PortletItemLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.model.PortletItem addPortletItem concode_elem_sep com.liferay.portal.model.PortletItem addPortletIte... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . arg0 ( arg0 ) ; } |
1,039 | entered new session bean invocation , start new collection for tracking transactional entity managers created without a jta transaction . concode_field_sep ThreadLocalStack<Map<String,EntityManager>> nonTxStack concode_field_sep void add concode_elem_sep void popCall concode_elem_sep EntityManager get | void function ( ) { nonTxStack . push ( null ) ; } |
1,040 | returns the phone number . concode_field_sep String phone concode_elem_sep String name concode_elem_sep String email concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setEmail concode_elem_sep String getEmail concode_elem_sep void setPhone | String function ( ) { return phone ; } |
1,041 | returns the name of the performance counter concode_field_sep String name concode_elem_sep int flags concode_elem_sep int vectorLength concode_elem_sep long serialVersionUID concode_elem_sep Units units concode_elem_sep Variability variability concode_elem_sep int SUPPORTED concode_field_sep boolean isInternal concode_... | String function ( ) { return name ; } |
1,042 | sets the label value for this customfieldtranslations . concode_field_sep java.lang.String help concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String localeDescription concode_elem_sep java.lang.String label concode_elem_sep com.netsuite.webservices.pla... | void function ( java . lang . String arg0 ) { this . label = arg0 ; } |
1,043 | returns true if no session exists beyond the sys session . concode_field_sep Session sysLobSession concode_elem_sep long sessionIdCount concode_elem_sep LongKeyHashMap sessionMap concode_elem_sep Session sysSession concode_field_sep void removeSession concode_elem_sep Session getSysSessionForScript concode_elem_sep Ses... | boolean function ( ) { return sessionMap . isEmpty ( ) ; } |
1,044 | clears the folder history , and reinitialise it with the current folder . concode_field_sep MainActivity main_activity concode_elem_sep ArrayList<String> save_location_history concode_elem_sep String TAG concode_elem_sep String pref_base concode_field_sep boolean contains concode_elem_sep int size concode_elem_sep Stri... | void function ( String arg0 ) { if ( MyDebug . LOG ) Log . d ( TAG , "srini_string" + arg0 ) ; save_location_history . clear ( ) ; updateFolderHistory ( arg0 , true ) ; } |
1,045 | called when the detected facet is accepted by user but before the facet is added to the module concode_field_sep String myId concode_field_sep void afterFacetAdded concode_elem_sep String getId concode_elem_sep C detectFacet | void function ( @ NotNull Facet arg0 , final FacetModel arg1 , @ NotNull ModifiableRootModel arg2 ) { } |
1,046 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep List<List<Long>> arrayArrayOfInteger concode_elem_sep List<String> arrayOfString concode_elem_sep List<List<ReadOnlyFirst>> arrayArrayOfModel concode_field_sep void setArrayOfString concode_elem_sep void set... | String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
1,047 | sets the value of the y property . concode_field_sep String p concode_elem_sep String q concode_elem_sep String seed concode_elem_sep String g concode_elem_sep String pgenCounter concode_elem_sep String y concode_elem_sep String j concode_field_sep String getG concode_elem_sep String getSeed concode_elem_sep String get... | void function ( String arg0 ) { this . y = arg0 ; } |
1,048 | adds a float to an array or function call . concode_field_sep StringBuilder params concode_field_sep String escapeString concode_elem_sep JSONBuilder endArray concode_elem_sep JSONBuilder entryNonNullValue concode_elem_sep JSONBuilder entryNonNullValue concode_elem_sep JSONBuilder entryNonNullValue concode_elem_sep JSO... | JSONBuilder function ( float arg0 ) { conditionallyAppendComma ( ) ; params . append ( arg0 ) ; return this ; } |
1,049 | start the task , created a new swingworker for the text extraction process . concode_field_sep File file concode_elem_sep ResourceBundle messageBundle concode_elem_sep int lengthOfTask concode_elem_sep String dialogMessage concode_elem_sep Document document concode_elem_sep Logger logger concode_elem_sep boolean done c... | void function ( ) { final SwingWorker loc0 = new SwingWorker ( ) { public Object construct ( ) { current = 0 ; done = false ; canceled = false ; dialogMessage = null ; return new ActualTask ( ) ; } } ; loc0 . setThreadPriority ( Thread . MIN_PRIORITY ) ; loc0 . start ( ) ; } |
1,050 | gets the customer search name pattern . concode_field_sep String phoneNumber concode_elem_sep Double dueAmount concode_elem_sep String name concode_elem_sep String workType concode_elem_sep String email concode_field_sep Double getDueAmount concode_elem_sep void setDueAmount concode_elem_sep void setName concode_elem_s... | String function ( ) { return name ; } |
1,051 | creates a predicate that returns true if the request path ends with any of the provided suffixes . concode_field_sep PlaceHolder placeHolder concode_field_sep Predicate or concode_elem_sep Predicate prefix concode_elem_sep Predicate maxContentSize concode_elem_sep Predicate parse concode_elem_sep Predicate parse concod... | Predicate function ( final String ... arg0 ) { if ( arg0 . length == 1 ) { return suffix ( arg0 [ 0 ] ) ; } final PathSuffixPredicate [ ] loc0 = new PathSuffixPredicate [ arg0 . length ] ; for ( int loc1 = 0 ; loc1 < arg0 . length ; ++ loc1 ) { loc0 [ loc1 ] = new PathSuffixPredicate ( arg0 [ loc1 ] ) ; } return or ( l... |
1,052 | lazy access to rendermapping . concode_field_sep Settings DEFAULT_SETTINGS concode_field_sep int getQueryTimeout concode_elem_sep ParamType getParamType concode_elem_sep boolean reflectionCaching concode_elem_sep Settings clone concode_elem_sep BackslashEscaping getBackslashEscaping concode_elem_sep boolean executePrep... | RenderMapping function ( Settings arg0 ) { if ( arg0 . getRenderMapping ( ) == null ) { arg0 . setRenderMapping ( new RenderMapping ( ) ) ; } return arg0 . getRenderMapping ( ) ; } |
1,053 | the name of the device from openhab config . concode_field_sep TellstickValueSelector valueSelector concode_elem_sep long resendInterval concode_elem_sep String itemName concode_elem_sep String protocol concode_elem_sep TellstickValueSelector usageSelector concode_elem_sep int resend concode_elem_sep int id concode_fie... | String function ( ) { return itemName ; } |
1,054 | sets the custom outline provider on api > = 21 . does nothing on api < 21 concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isInScrollingContainer concode_elem_sep void setTextDirection concode_elem_sep Drawable getRipple concode_elem_sep void setHotspotBounds concode_elem_sep void setBackground | void function ( View arg0 , final MarkerDrawable arg1 ) { if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . LOLLIPOP ) { SeekBarCompatDontCrash . setOutlineProvider ( arg0 , arg1 ) ; } } |
1,055 | some unlock methods can have a backup which gives the user another way to get into the device . this is currently only supported for biometric and pattern unlock . concode_field_sep LockPatternUtils mLockPatternUtils concode_elem_sep Context mContext concode_field_sep boolean isBiometricUnlockEnabled concode_elem_sep S... | SecurityMode function ( SecurityMode arg0 ) { switch ( arg0 ) { case Biometric : return getSecurityMode ( ) ; case Pattern : return SecurityMode . Account ; } return arg0 ; } |
1,056 | the bindings to add/override . concode_field_sep Action<? super BindingsSpec> bindings concode_field_sep BindingsImposition of | Action < ? super BindingsSpec > function ( ) { return bindings ; } |
1,057 | generate c# code . this method only creates the requested file s and spits-out file-level elements such as include statements etc. record-level code is generated by jrecord . concode_field_sep File outputDirectory concode_elem_sep ArrayList<JRecord> mRecList concode_field_sep placeholderType placeHolder | void function ( ) { for ( JRecord loc0 : mRecList ) { loc0 . genCsharpCode ( outputDirectory ) ; } } |
1,058 | encodes the given stream using quoted-printable . this assumes that stream is text and therefore does not escape all line endings . concode_field_sep int DEFAULT_ENCODING_BUFFER_SIZE concode_field_sep void encodeBase64 concode_elem_sep OutputStream wrapQuotedPrintable concode_elem_sep void encodeQuotedPrintableBinary c... | void function ( final InputStream arg0 , final OutputStream arg1 ) { final QuotedPrintableEncoder loc0 = new QuotedPrintableEncoder ( DEFAULT_ENCODING_BUFFER_SIZE , false ) ; loc0 . encode ( arg0 , arg1 ) ; } |
1,059 | returns the number of times #create object returned a value . concode_field_sep int evictionCount concode_elem_sep int putCount concode_elem_sep int hitCount concode_elem_sep int size concode_elem_sep int createCount concode_elem_sep int maxSize concode_elem_sep LinkedHashMap<K,V> map concode_elem_sep int missCount con... | int function ( ) { return createCount ; } |
1,060 | initialize the connect state . concode_field_sep InetAddress address concode_elem_sep int port concode_elem_sep int localport concode_elem_sep FileDescriptor fd concode_field_sep InetAddress getInetAddress concode_elem_sep int getLocalPort concode_elem_sep int available concode_elem_sep void onBind concode_elem_sep Inp... | void function ( InetAddress arg0 , int arg1 ) { } |
1,061 | return number of bytes given to this compressor since last reset . concode_field_sep int userBufOff concode_elem_sep boolean finished concode_elem_sep Buffer uncompressedDirectBuf concode_elem_sep Class clazz concode_elem_sep int userBufLen concode_elem_sep Log LOG concode_elem_sep int uncompressedDirectBufLen concode_... | long function ( ) { return bytesRead ; } |
1,062 | invoked once immediately after construction concode_field_sep PlaceHolder placeHolder concode_field_sep String toLocal | void function ( Map arg0 ) { } |
1,063 | access the page that is part of a cached site , by page id . concode_field_sep Map<String,Group> m_groups concode_elem_sep ServerConfigurationService serverConfigurationService concode_elem_sep int cacheEventCount concode_elem_sep Log M_log concode_elem_sep int cacheEventReportInterval concode_elem_sep Map<String,ToolC... | SitePage function ( String arg0 ) { return ( SitePage ) m_pages . get ( arg0 ) ; } |
1,064 | adjacency matrix where each entry is the edge_label +1 or 0 if there is no edge . concode_field_sep ByteArray ucode concode_elem_sep LEdge[] E concode_elem_sep int[] V concode_elem_sep ByteArray finger concode_elem_sep String id concode_elem_sep int[][] adj concode_field_sep ByteArray finger concode_elem_sep int hashCo... | int [ ] [ ] function ( ) { if ( adj != null ) { return adj ; } int loc0 = V . length ; int [ ] [ ] loc1 = new int [ loc0 ] [ loc0 ] ; for ( int [ ] loc2 : loc1 ) { Arrays . fill ( loc2 , 0 ) ; } for ( LEdge loc2 : E ) { loc1 [ loc2 . v1 ] [ loc2 . v2 ] = loc2 . label + 1 ; loc1 [ loc2 . v2 ] [ loc2 . v1 ] = loc2 . labe... |
1,065 | ascertains whether mapcommandbuttonid is a part of componentid . componentid might be a fully qualified id , with a prefix corresponding to container component s . concode_field_sep Polygon mapPolygon concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep String getId concode_elem_sep P... | boolean function ( String arg0 ) { return arg0 . endsWith ( mapCommandButtonId ) ; } |
1,066 | allows setting a new transition table . concode_field_sep TransitionTable oTT concode_elem_sep SymbolTable soSymTab concode_elem_sep LexicalAnalyzer oLexer concode_elem_sep Stack<GrammarElement> oStack concode_elem_sep Stack<Token> oBracketStack concode_elem_sep boolean bErrorsPresent concode_elem_sep GrammarCompiler o... | void function ( TransitionTable arg0 ) { this . oTT = arg0 ; } |
1,067 | info log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void setL... | void function ( String arg0 , String arg1 ) { if ( LOG . INFO >= LOGLEVEL ) Log . i ( arg0 , arg1 ) ; } |
1,068 | pre-action ui invocation concode_field_sep PlaceHolder placeHolder concode_field_sep void doViewError concode_elem_sep void doAction concode_elem_sep void doViewAfter | void function ( CommandContext arg0 ) { } |
1,069 | return type metadata object concode_field_sep java.lang.String rateCardFeatureType 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.encoding.Serializer getSerializer concode_elem_sep or... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
1,070 | returns the common attribute type if this attribute doc is of a common type otherwise actualrule . concode_field_sep Class<? extends RuleDefinition> definitionClass concode_elem_sep String fileName concode_elem_sep int startLineCnt concode_elem_sep Set<String> flags concode_elem_sep Map<Type<?>,String> TYPE_DESC concod... | String function ( String arg0 ) { return isCommonType ( ) ? commonType : arg0 ; } |
1,071 | reconnection attempt timeout to redis server when it has been excluded from internal list of available servers . on every such timeout event redisson tries to connect to disconnected redis server . default is 3000 concode_field_sep String password concode_elem_sep int subscriptionsPerConnection concode_elem_sep String ... | T function ( int arg0 ) { this . reconnectionTimeout = arg0 ; return ( T ) this ; } |
1,072 | get a list of genres for a given item . concode_field_sep int[] empty_list concode_elem_sep List<Integer> albums concode_elem_sep List<KDDCupItemType> types concode_elem_sep List<Integer> artists concode_elem_sep List<int[]> genres concode_field_sep boolean hasArtist concode_elem_sep KDDCupItemType getType concode_elem... | int [ ] function ( int arg0 ) { return genres . get ( arg0 ) != null ? genres . get ( arg0 ) : empty_list ; } |
1,073 | used to report that the limit has been reached . concode_field_sep boolean reached concode_elem_sep long value concode_field_sep long getValue concode_elem_sep boolean isReached | void function ( ) { this . reached = true ; } |
1,074 | get avatar hash for specified e-mail address concode_field_sep String CHARSET concode_elem_sep int HASH_LENGTH concode_elem_sep String HASH_ALGORITHM concode_field_sep String digest | String function ( final String arg0 ) { if ( TextUtils . isEmpty ( arg0 ) ) { return null ; } final String loc0 = arg0 . trim ( ) . toLowerCase ( US ) ; return loc0 . length ( ) > 0 ? digest ( loc0 ) : null ; } |
1,075 | publishes given set of policies to given set of subscribers concode_field_sep EntitlementPolicyAdminServiceStub stub concode_elem_sep Log log concode_field_sep EntitlementTreeNodeDTO getEntitlementData concode_elem_sep String[] getAllPolicyIds concode_elem_sep PaginatedPolicySetDTO getAllPolicies concode_elem_sep Entit... | void function ( String [ ] arg0 , String [ ] arg1 , String arg2 , String arg3 , boolean arg4 , int arg5 ) { try { stub . publishPolicies ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 ) ; } catch ( Exception loc1 ) { handleException ( loc1 ) ; } } |
1,076 | requires write permission . concode_field_sep Permission readCheck concode_elem_sep MutablePicoContainer pico concode_elem_sep AccessControllerWrapper accessWrapper concode_elem_sep Permission writeCheck concode_field_sep void setName concode_elem_sep LifecycleState getLifecycleState concode_elem_sep String getName con... | MutablePicoContainer function ( Object arg0 ) { checkWritePermission ( ) ; return pico . addComponent ( arg0 ) ; } |
1,077 | returns the components . concode_field_sep List components concode_elem_sep One one concode_elem_sep List manyToMany concode_elem_sep Foo foo concode_elem_sep int count concode_elem_sep Collection bag concode_elem_sep Simple simple concode_elem_sep Many many concode_elem_sep Set composites concode_elem_sep Collection l... | List function ( ) { return components ; } |
1,078 | restituisce il giocatore attaccante concode_field_sep Fasi_t fase_attuale concode_elem_sep LinkedList<Integer> sequenzaDiGioco concode_elem_sep int giocTurno concode_elem_sep int giocattaccato concode_elem_sep territori_t territorioAttaccante concode_elem_sep Plancia planciadigioco concode_elem_sep boolean giocato_tris... | Giocatore function ( ) { return listagiocatori . get ( getTerritorioPlanciaAttaccante ( ) . getProprietario ( ) ) ; } |
1,079 | return the value of the specified node attribute if it exists , or null otherwise . concode_field_sep String name concode_elem_sep HashMap<String,String> attributes concode_elem_sep TreeNode parent concode_elem_sep String body concode_elem_sep ArrayList<TreeNode> children concode_field_sep TreeNode findChild concode_el... | String function ( String arg0 ) { if ( attributes == null ) return null ; else return attributes . get ( arg0 ) ; } |
1,080 | ensures the underlying stream is closed at garbage-collection time if the stream has not been retrieved . if getstream has been called the caller is responsible to close the stream . concode_field_sep String MIME_INTERNAL_NOT_MODIFIED concode_elem_sep Logger logger concode_elem_sep String MIMEType concode_elem_sep Inpu... | void function ( ) { if ( ! m_gotStream ) { close ( ) ; } } |
1,081 | a list of searchedlogstream objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated . concode_field_sep com.amazonaws.internal.SdkInternalList<SearchedLogStream> searchedLogStreams concode_elem_sep String nextToken concode_e... | FilterLogEventsResult function ( java . util . Collection < SearchedLogStream > arg0 ) { setSearchedLogStreams ( arg0 ) ; return this ; } |
1,082 | sets the description . concode_field_sep boolean moderated concode_elem_sep boolean unread concode_elem_sep List<Topic> topics concode_elem_sep Post lastPost concode_elem_sep boolean allowAnonymousPosts concode_elem_sep String name concode_elem_sep int displayOrder concode_elem_sep String description concode_elem_sep i... | void function ( String arg0 ) { this . description = arg0 ; } |
1,083 | creates an id using another id to supply default values . concode_field_sep int RESERVED concode_elem_sep StructuredDataId ORIGIN concode_elem_sep long serialVersionUID concode_elem_sep int enterpriseNumber concode_elem_sep String AT_SIGN concode_elem_sep StructuredDataId META concode_elem_sep int MAX_LENGTH concode_el... | StructuredDataId function ( final StructuredDataId arg0 ) { if ( arg0 == null ) { return this ; } return makeId ( arg0 . getName ( ) , arg0 . getEnterpriseNumber ( ) ) ; } |
1,084 | the number of docidset s that have been evicted from the cache . concode_field_sep long cacheCount concode_elem_sep long hitCount concode_elem_sep long cacheSize concode_elem_sep XContentBuilderString CACHE_SIZE concode_elem_sep XContentBuilderString EVICTIONS concode_elem_sep XContentBuilderString HIT_COUNT concode_el... | long function ( ) { return cacheCount - cacheSize ; } |
1,085 | set the ifmodifiedsince value . concode_field_sep DateTimeRfc1123 ocpDate concode_elem_sep String clientRequestId concode_elem_sep DateTimeRfc1123 ifUnmodifiedSince concode_elem_sep Boolean returnClientRequestId concode_elem_sep DateTimeRfc1123 ifModifiedSince concode_elem_sep Integer timeout concode_elem_sep String if... | PoolResizeOptions function ( DateTime arg0 ) { if ( arg0 == null ) { this . ifModifiedSince = null ; } else { this . ifModifiedSince = new DateTimeRfc1123 ( arg0 ) ; } return this ; } |
1,086 | returns a list of view elements of the given edit parts . concode_field_sep String TREE_NODE_POSITION concode_elem_sep String TREE_NODE_PARENT_URI concode_elem_sep String TREE_LAYOUT_ANNOTATION concode_field_sep int getTreeNodePosition concode_elem_sep ArrayList<IGraphicalEditPart> getOrderedTreeChildren concode_elem_s... | List < View > function ( List < IGraphicalEditPart > arg0 ) { final List < View > loc0 = new ArrayList < View > ( ) ; for ( final IGraphicalEditPart loc1 : arg0 ) { loc0 . add ( loc1 . getNotationView ( ) ) ; } return loc0 ; } |
1,087 | get custom serializer concode_field_sep java.lang.Object __equalsCalc concode_elem_sep com.google.api.ads.dfa.axis.v1_20.ObjectFilter[] objectFilters concode_elem_sep int userFilterCriteriaId concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_field_sep void se... | 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 ) ; } |
1,088 | append the given value . concode_field_sep int length concode_elem_sep char[] buffer concode_field_sep java.lang.String toString concode_elem_sep void ensureCapacity | StringBuilder function ( String arg0 ) { int loc0 = arg0 . length ( ) ; ensureCapacity ( loc0 ) ; System . arraycopy ( arg0 . chars , 0 , buffer , length , loc0 ) ; length += loc0 ; return this ; } |
1,089 | returns the number of rows matching the dynamic query . concode_field_sep FavoriteSiteLocalService _service concode_field_sep int getFavoriteSitesCount concode_elem_sep int getFavoriteSitesCount concode_elem_sep int getFavoriteSitesCount concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.li... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , com . liferay . portal . kernel . dao . orm . Projection arg1 ) { return getService ( ) . dynamicQueryCount ( arg0 , arg1 ) ; } |
1,090 | create an instance of jaxbelement concode_field_sep QName _AnyType_QNAME concode_elem_sep QName _Decimal_QNAME concode_elem_sep QName _Long_QNAME concode_elem_sep QName _AnyURI_QNAME concode_elem_sep QName _Float_QNAME concode_elem_sep QName _DateTime_QNAME concode_elem_sep QName _UnsignedLong_QNAME concode_elem_sep QN... | JAXBElement < BigInteger > function ( BigInteger arg0 ) { return new JAXBElement < BigInteger > ( _UnsignedLong_QNAME , BigInteger . class , null , arg0 ) ; } |
1,091 | incremental brs from all storages combined in a single message . concode_field_sep String NN_METRICS concode_elem_sep MiniDFSCluster cluster concode_elem_sep int NUM_BLOCKS concode_elem_sep DataNode dn0 concode_elem_sep DatanodeRegistration dn0Reg concode_elem_sep Configuration conf concode_elem_sep DistributedFileSyst... | void function ( ) { verifyIncrementalBlockReports ( false ) ; } |
1,092 | returns the object corresponding to the provided path if present , null otherwise concode_field_sep Object object concode_field_sep ObjectPath createFromResponse concode_elem_sep String[] parsePath concode_elem_sep XContentBuilder toXContentBuilder concode_elem_sep ObjectPath createFromXContent | T function ( String arg0 , Stash arg1 ) { String [ ] loc0 = parsePath ( arg0 ) ; Object loc1 = this . object ; for ( String loc2 : loc0 ) { loc1 = evaluate ( loc2 , loc1 , arg1 ) ; if ( loc1 == null ) { return null ; } } return ( T ) loc1 ; } |
1,093 | send a single value metadata element to the parser . ` fires ' a simple single ` section ' with associated data event . note this method will result in a startevent , dataevent and endevent . for example , the xmlparserlistener will display the following for a call to fieparseevent `` mod_date '' , `` 12/12/2006 '' ; 1... | void function ( String arg0 , Object arg1 ) { fireParseEvent ( arg0 , arg1 , false , null ) ; } |
1,094 | returns the glyphstartindex . concode_field_sep int glyphStartIndex concode_elem_sep int unicodeEnd concode_elem_sep int unicodeStart concode_field_sep int getUnicodeEnd concode_elem_sep boolean equals concode_elem_sep int getUnicodeStart concode_elem_sep void setUnicodeEnd concode_elem_sep void setUnicodeStart concode... | int function ( ) { return glyphStartIndex ; } |
1,095 | read needed data e.g. index from file . concode_field_sep short length concode_elem_sep short opcode concode_elem_sep InstructionComparator cmp concode_field_sep String getName concode_elem_sep InstructionComparator getComparator concode_elem_sep String className concode_elem_sep void accept concode_elem_sep void setCo... | void function ( ByteSequence arg0 , boolean arg1 ) { } |
1,096 | whether to support the plain text signature method . concode_field_sep boolean supportHMAC_SHA1 concode_elem_sep boolean supportPlainText concode_elem_sep PasswordEncoder plainTextPasswordEncoder concode_elem_sep boolean supportRSA_SHA1 concode_field_sep OAuthSignatureMethod getSignatureMethod concode_elem_sep void set... | boolean function ( ) { return supportPlainText ; } |
1,097 | gets the description of the this iventory item . concode_field_sep int odometer concode_elem_sep int price concode_elem_sep String description concode_elem_sep String model concode_elem_sep InventoryItem[] carInventory concode_elem_sep int stock concode_field_sep int getOdometer concode_elem_sep String getModel concode... | String function ( ) { return description ; } |
1,098 | load an integer property as a long . if the key is not present , returns defaultvalue . concode_field_sep String defaultValue concode_elem_sep String name concode_elem_sep String description concode_field_sep Map<String,String> asMap concode_elem_sep Properties extractSelectedProperties concode_elem_sep String defaultV... | long function ( Properties arg0 , String arg1 , long arg2 ) { String loc0 = arg0 . getProperty ( arg1 ) ; if ( loc0 != null ) { return Long . parseLong ( loc0 ) ; } else { return arg2 ; } } |
1,099 | gets the value of the title 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 title property . for example , to add a new item , do as fol... | List < String > function ( ) { if ( title == null ) { title = new ArrayList < String > ( ) ; } return this . title ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.