idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
32,200 | returns the body of this post request . this may be truncated . concode_field_sep List<String> headers concode_elem_sep List<Integer> chunkSizes concode_elem_sep int sequenceNumber concode_elem_sep String method concode_elem_sep String requestLine concode_elem_sep byte[] body concode_elem_sep Certificate[] sslLocalCert... | byte [ ] function ( ) { return body ; } |
32,201 | this utility method creates a list of thrift trowresult `` struct '' based on an array of hbase rowresult objects . the empty list is returned if the input is null . concode_field_sep PlaceHolder placeHolder concode_field_sep List<TCell> cellFromHBase concode_elem_sep List<TCell> cellFromHBase concode_elem_sep ColumnDe... | List < TRowResult > function ( Result [ ] arg0 ) { return rowResultFromHBase ( arg0 , false ) ; } |
32,202 | create a new xpath expression for evaluation using the default xpathfactory . concode_field_sep XPathFactory s_aXPathFactory concode_elem_sep XPathHelper s_aInstance concode_field_sep XPath createNewXPath concode_elem_sep XPath createNewXPath concode_elem_sep XPath createNewXPath concode_elem_sep XPath createNewXPath c... | XPathExpression function ( @ Nullable final XPathVariableResolver arg0 , @ Nullable final XPathFunctionResolver arg1 , @ Nullable final NamespaceContext arg2 , @ Nonnull @ Nonempty final String arg3 ) { return createNewXPathExpresion ( createNewXPath ( arg0 , arg1 , arg2 ) , arg3 ) ; } |
32,203 | method to randomly select an html color code from a preset list eg : #c62fd5 concode_field_sep String DEFAULT_COLOR concode_elem_sep Vector colorList concode_elem_sep boolean stamp concode_elem_sep String[] ALL_COLORS concode_elem_sep Log log concode_elem_sep ChatState singleton concode_elem_sep Random generator concod... | String function ( ) { return "srini_string" + colorList . remove ( generator . nextInt ( colorList . size ( ) ) ) . toString ( ) ; } |
32,204 | create an instance of allprop 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_s... | Allprop function ( ) { return new Allprop ( ) ; } |
32,205 | sets the updated by user . concode_field_sep Long amount concode_elem_sep String updatedBy concode_elem_sep String createdBy concode_elem_sep Long id concode_elem_sep Date updatedOn concode_elem_sep Date paymentDate concode_elem_sep Date createdOn concode_elem_sep String customerName concode_field_sep Date getPaymentDa... | void function ( String arg0 ) { this . updatedBy = arg0 ; } |
32,206 | gets the dynamic time through the formatcurrenttime method in the timezonebean . concode_field_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep String getUseDaylightTime concode_elem_sep String getLocation concode_elem_... | String function ( ) { return TimeZoneBean . formatCurrentTime ( dateFormat ) ; } |
32,207 | gets the fieldlist value for this mobjectmetadata . concode_field_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.String name concode_elem_sep boolean isCustom concode_elem_sep java.lang.String description concode_elem_sep boolean __hashCodeCal... | com . marketo . www . mktows . MObjFieldMetadata [ ] function ( ) { return fieldList ; } |
32,208 | returns the size of the entry for key and value inuser-defined units . the default implementation returns 1 so that size is the number of entries and max size is the maximum number of entries . an entry 's size must not change while it is in the cache . concode_field_sep int size concode_elem_sep int maxSize concode_el... | int function ( String arg0 , BitmapDrawable arg1 ) { return 1 ; } |
32,209 | returns the name concode_field_sep String name concode_elem_sep String id concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String getId | String function ( ) { return this . name ; } |
32,210 | resolves the objectid of the start commit . concode_field_sep PlaceHolder placeHolder concode_field_sep RevCommit getRevCommit concode_elem_sep RevTree getRevTree concode_elem_sep void isBare concode_elem_sep Optional<T> execute | ObjectId function ( Git arg0 , String arg1 ) { ObjectId loc0 = JGitUtil . resolveObjectId ( arg0 , arg1 ) ; if ( loc0 == null ) { throw new IllegalStateException ( "srini_string" ) ; } return loc0 ; } |
32,211 | return file size ... concode_field_sep URLConnection conn concode_elem_sep String name concode_field_sep String getParent concode_elem_sep String getName concode_elem_sep long getLastModified concode_elem_sep String getMimeType concode_elem_sep VirtualFile resolve concode_elem_sep InputStream getInputStream concode_ele... | long function ( ) { return conn . getContentLength ( ) ; } |
32,212 | stores editor options in the application cofiguration file . concode_field_sep PlaceHolder placeHolder concode_field_sep void saveFileItem concode_elem_sep void newFileEmptyItem concode_elem_sep void newFileDefaultItem concode_elem_sep void saveAsFileItem concode_elem_sep void newFileStylesheetItem concode_elem_sep voi... | void function ( ) { OptionController . storeOptionItems ( ) ; } |
32,213 | sets up an unmarshaller for workflow objects . concode_field_sep PlaceHolder placeHolder concode_field_sep Executor uploadExecutor | Unmarshaller function ( ) { Jaxb2Marshaller loc0 = new Jaxb2Marshaller ( ) ; loc0 . setPackagesToScan ( new String [ ] { "srini_string" } ) ; return loc0 ; } |
32,214 | get the value of the grouping key for the current group concode_field_sep XPathContext keyContext concode_elem_sep List<List<Item>> groups concode_elem_sep StringCollator collator concode_elem_sep Expression keyExpression concode_elem_sep int position concode_elem_sep List<AtomicValue> groupKeys concode_elem_sep Atomic... | AtomicValue function ( ) { return groupKeys . get ( position - 1 ) ; } |
32,215 | sets the user id of this layout branch . concode_field_sep LayoutBranch _layoutBranch concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep void setGroupId concode_ele... | void function ( long arg0 ) { _layoutBranch . setUserId ( arg0 ) ; } |
32,216 | sets the value of the doctabcontenttype property . concode_field_sep DocTabContentZone001 zone001 concode_elem_sep DocTabContentBarcoded barcoded concode_elem_sep DocTabContentType docTabContentType concode_field_sep DocTabContentZone001 getZone001 concode_elem_sep DocTabContentBarcoded getBarcoded concode_elem_sep voi... | void function ( DocTabContentType arg0 ) { this . docTabContentType = arg0 ; } |
32,217 | read the change log resource specified by the input stream provider using the default logging callback . concode_field_sep String ATTR_COMPONENT concode_elem_sep String ELEMENT_RELEASE concode_elem_sep Logger s_aLogger concode_elem_sep String ELEMENT_ENTRY concode_elem_sep ChangeLogSerializer s_aInstance concode_elem_s... | ChangeLog function ( @ Nullable final IInputStreamProvider arg0 ) { return readChangeLog ( arg0 , s_aLoggingCallback ) ; } |
32,218 | scrobbles a song . concode_field_sep String handshakeUrl concode_elem_sep String clientId concode_elem_sep String DEFAULT_HANDSHAKE_URL concode_elem_sep String nowPlayingUrl concode_elem_sep String sessionId concode_elem_sep String clientVersion concode_elem_sep String submissionUrl concode_elem_sep String user concode... | ResponseStatus function ( SubmissionData arg0 ) { return submit ( Collections . singletonList ( arg0 ) ) ; } |
32,219 | returns a summary of the dictionary entries . concode_field_sep Hashtable<Object,Object> entries concode_elem_sep Library library concode_elem_sep boolean inited concode_elem_sep boolean isDeleted concode_elem_sep Reference pObjectReference concode_elem_sep Name SUBTYPE_KEY concode_elem_sep boolean isNew concode_elem_s... | String function ( ) { return getClass ( ) . getName ( ) + "srini_string" + entries . toString ( ) ; } |
32,220 | unsets the given key and its value . concode_field_sep HashMap<ConfigurationKey<?>,Object> configMap concode_field_sep void set concode_elem_sep T get concode_elem_sep boolean has | boolean function ( ConfigurationKey < T > arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return this . configMap . remove ( arg0 ) != null ; } |
32,221 | constructs all words from the letters in the current object that are listed in the given dictionary . concode_field_sep ArrayList<Character> lettersInBag concode_elem_sep Dictionary dict concode_field_sep void cleanUpResults concode_elem_sep void getAllWordsRecursive concode_elem_sep void checkValidity | ArrayList < String > function ( Dictionary arg0 ) { if ( null == arg0 ) return null ; this . dict = arg0 ; ArrayList < String > loc0 = new ArrayList < String > ( ) ; StringBuffer loc1 = new StringBuffer ( ) ; getAllWordsRecursive ( lettersInBag , loc1 , loc0 ) ; cleanUpResults ( loc0 ) ; return loc0 ; } |
32,222 | given a list of lsr objects , returns the lsr object with the numerical ? address given as argument . concode_field_sep int PSC_LSC_MODE concode_elem_sep int MAX_LINK_WEIGHT concode_elem_sep int PSC_ONLY_MODE concode_elem_sep boolean trace concode_elem_sep DijkstraSP instance concode_elem_sep ArrayList<LSR> LSRs concod... | LSR function ( ArrayList < LSR > arg0 , int arg1 ) { LSR loc0 = null ; for ( int loc1 = 0 ; loc1 < arg0 . size ( ) ; loc1 ++ ) { if ( arg0 . get ( loc1 ) . getAddress ( ) == arg1 ) { loc0 = arg0 . get ( loc1 ) ; break ; } } return loc0 ; } |
32,223 | sets the log writer for this datasource object to the given java.io.printwriter object . the log writer is a character output stream to which all logging and tracing messages for this data source will be printed . this includes messages printed by the methods of this object , messages printed by methods of other object... | void function ( PrintWriter arg0 ) { this . logWriter = arg0 ; } |
32,224 | information about one or more internet gateways . concode_field_sep com.amazonaws.internal.SdkInternalList<InternetGateway> internetGateways concode_field_sep void setInternetGateways concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep DescribeInternetGatewaysResult clone concode_elem_sep Str... | DescribeInternetGatewaysResult function ( java . util . Collection < InternetGateway > arg0 ) { setInternetGateways ( arg0 ) ; return this ; } |
32,225 | move the selection edge to offset index . concode_field_sep int DONE concode_elem_sep Object SELECTION_START concode_elem_sep Object SELECTION_END concode_field_sep int getSelectionStart concode_elem_sep boolean extendUp concode_elem_sep boolean extendLeft concode_elem_sep boolean extendRight concode_elem_sep boolean m... | void function ( Spannable arg0 , int arg1 ) { if ( arg0 . getSpanStart ( SELECTION_END ) != arg1 ) arg0 . setSpan ( SELECTION_END , arg1 , arg1 , Spanned . SPAN_POINT_POINT ) ; } |
32,226 | verify that a read queue accepts events and returns them in the same order . concode_field_sep Logger logger concode_elem_sep THLParallelQueueHelper helper concode_field_sep void genEvents concode_elem_sep void testPredicates concode_elem_sep void testInit concode_elem_sep void testOutOfOrderControlEvent concode_elem_s... | void function ( ) { logger . info ( "srini_string" ) ; THLParallelReadQueue loc0 = new THLParallelReadQueue ( 0 , 100 , 100 , - 1 , 100 , null , new AtomicIntervalGuard < Object > ( 1 ) ) ; this . genEvents ( loc0 , 50 , - 1 , - 1 ) ; this . checkEvents ( loc0 , 50 , 0 ) ; } |
32,227 | indicates whether the network interface is deleted when the instance is terminated . concode_field_sep String attachmentId concode_elem_sep Boolean deleteOnTermination concode_elem_sep Integer deviceIndex concode_elem_sep java.util.Date attachTime concode_elem_sep String status concode_field_sep Integer getDeviceIndex ... | Boolean function ( ) { return this . deleteOnTermination ; } |
32,228 | returns a hash value based on a seed value and a string instance . concode_field_sep PlaceHolder placeHolder concode_field_sep int hashCodeForDoubleArray concode_elem_sep int hashCodeForPaint | int function ( int arg0 , String arg1 ) { int loc0 = ( arg1 != null ? arg1 . hashCode ( ) : 0 ) ; return 37 * arg0 + loc0 ; } |
32,229 | remeber the mapping of table alias to set of columns . concode_field_sep String leftAlias concode_elem_sep String[] leftAliases concode_elem_sep ArrayList<Boolean> nullsafes concode_elem_sep String[] rightAliases concode_elem_sep List<ASTNode> postJoinFilters concode_elem_sep QBJoinTree joinSrc concode_elem_sep boolean... | void function ( String arg0 , ASTNode arg1 ) { ArrayList < ASTNode > loc0 = rhsSemijoin . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new ArrayList < ASTNode > ( ) ; loc0 . add ( arg1 ) ; rhsSemijoin . put ( arg0 , loc0 ) ; } else { loc0 . add ( arg1 ) ; } } |
32,230 | read the exception from the given cdr stream . concode_field_sep String _id concode_field_sep NotFoundReason extract concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write | NotFoundReason function ( InputStream arg0 ) { return NotFoundReason . from_int ( arg0 . read_long ( ) ) ; } |
32,231 | returns last attribute . concode_field_sep String ATTRIBUTE_STREAM_ID concode_elem_sep String ATTRIBUTE_LAST concode_elem_sep String streamId concode_elem_sep boolean last concode_elem_sep int nr concode_elem_sep String ELEMENT_CHUNK concode_elem_sep String ATTRIBUTE_NR concode_elem_sep String text concode_field_sep in... | boolean function ( ) { return last ; } |
32,232 | loads a sequence from the file system . returns null if an error occurs . concode_field_sep boolean paused concode_elem_sep boolean loop concode_elem_sep int END_OF_TRACK_MESSAGE concode_elem_sep Sequencer sequencer concode_field_sep void play concode_elem_sep Sequencer getSequencer concode_elem_sep boolean isPaused co... | Sequence function ( String arg0 ) { try { return getSequence ( new FileInputStream ( arg0 ) ) ; } catch ( IOException loc0 ) { loc0 . printStackTrace ( ) ; return null ; } } |
32,233 | convert score from `` mate at ply '' to `` mate in x '' and store in hash entry . concode_field_sep byte generation concode_elem_sep short move concode_elem_sep short evalScore concode_elem_sep byte type concode_elem_sep int T_LE concode_elem_sep int T_GE concode_elem_sep short score concode_elem_sep int T_EXACT concod... | void function ( int arg0 , int arg1 ) { if ( arg0 > Search . MATE0 - 1000 ) { arg0 += arg1 ; } else if ( arg0 < - ( Search . MATE0 - 1000 ) ) { arg0 -= arg1 ; } this . score = ( short ) arg0 ; } |
32,234 | 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 < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 , com . liferay . portal . kernel . util . OrderByComparator < T > arg3 ) { return _recentLayoutBranchLocalService . arg0 ( arg0 , arg1 , arg2 , arg3 ) ; } |
32,235 | insertion sort . stable , in-place sorting algorithm . time complexity : o n in best case , o n ^ 2 in worst case . concode_field_sep PlaceHolder placeHolder concode_field_sep void swap concode_elem_sep void main concode_elem_sep void mergeSort concode_elem_sep void quickSort concode_elem_sep void heapSort concode_elem... | void function ( int [ ] arg0 ) { for ( int loc0 = 1 ; loc0 < arg0 . length ; loc0 ++ ) { while ( arg0 [ loc0 ] < arg0 [ loc0 - 1 ] ) { int loc1 = arg0 [ loc0 ] ; arg0 [ loc0 ] = arg0 [ loc0 - 1 ] ; arg0 [ loc0 - 1 ] = loc1 ; loc0 -- ; if ( loc0 == 0 ) break ; } } } |
32,236 | gets the value of the nilreason 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 nilreason property . for example , to add a new item , d... | List < String > function ( ) { if ( nilReason == null ) { nilReason = new ArrayList < String > ( ) ; } return this . nilReason ; } |
32,237 | returns a user visible description of the accessory . concode_field_sep int VERSION_STRING concode_elem_sep String mVersion concode_elem_sep int SERIAL_STRING concode_elem_sep int URI_STRING concode_elem_sep String TAG concode_elem_sep String mManufacturer concode_elem_sep String mModel concode_elem_sep String mDescrip... | String function ( ) { return mDescription ; } |
32,238 | returns the folder id of this attachment . concode_field_sep Attachment _attachment concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep Attachment getWrappedAttachment concode_elem_sep boolean isEscapedModel... | long function ( ) { return _attachment . getFolderId ( ) ; } |
32,239 | sets the id . concode_field_sep I18NString creativeName concode_elem_sep Map<String,String> _tags concode_elem_sep long id concode_field_sep boolean isTagDeniedAccess concode_elem_sep Map<String,String> getTagsByPrefix concode_elem_sep boolean isMotorcarExplicitlyDenied concode_elem_sep I18NString getAssumedName concod... | void function ( long arg0 ) { this . id = arg0 ; } |
32,240 | called after the document is parsed . concode_field_sep Stack<String> fieldNames concode_elem_sep HashMap<String,List<String>> listFields concode_elem_sep boolean foundRoot concode_elem_sep HashMap<String,String> fields concode_elem_sep Stack<String> fieldValues concode_elem_sep String fileSpec concode_field_sep HashMa... | void function ( ) { } |
32,241 | f0 - > primaryexpression f1 - > '' + '' f2 - > primaryexpression concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | R function ( PlusExpression arg0 ) { R loc0 = null ; arg0 . f0 . accept ( this ) ; arg0 . f1 . accept ( this ) ; arg0 . f2 . accept ( this ) ; return loc0 ; } |
32,242 | get a media at a specified index . should be released with #release . concode_field_sep String IGNORE_LIST_OPTION concode_elem_sep ArrayList<Media> mDiscovererMediaArray concode_elem_sep MediaList mBrowserMediaList concode_elem_sep ArrayList<MediaDiscoverer> mMediaDiscoverers concode_elem_sep EventListener mEventListen... | Media function ( int arg0 ) { if ( arg0 < 0 || arg0 >= getMediaCount ( ) ) throw new IndexOutOfBoundsException ( ) ; final Media loc0 = mBrowserMediaList != null ? mBrowserMediaList . getMediaAt ( arg0 ) : mDiscovererMediaArray . get ( arg0 ) ; loc0 . retain ( ) ; return loc0 ; } |
32,243 | returns true if e is due to a firmware bug fixed after android 4.2.2 . https://code.google.com/p/android/issues/detail?id=54072 concode_field_sep byte[] EMPTY_BYTE_ARRAY concode_elem_sep Pattern VERIFY_AS_IP_ADDRESS concode_elem_sep TimeZone UTC concode_elem_sep Charset UTF_8 concode_elem_sep String[] EMPTY_STRING_ARRA... | boolean function ( AssertionError arg0 ) { return arg0 . getCause ( ) != null && arg0 . getMessage ( ) != null && arg0 . getMessage ( ) . contains ( "srini_string" ) ; } |
32,244 | sets the primary key of this service component . concode_field_sep ServiceComponent _serviceComponent concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void se... | void function ( long arg0 ) { _serviceComponent . setPrimaryKey ( arg0 ) ; } |
32,245 | gets the test template for lab devices . concode_field_sep RuleContext ruleContext concode_field_sep Artifact generatedTestScript concode_elem_sep String baseNameWithoutIpa concode_elem_sep TestSupport registerTestRunnerActions concode_elem_sep NestedSet<Artifact> deviceRunfiles concode_elem_sep NestedSet<Artifact> plu... | Artifact function ( ) { return ruleContext . getPrerequisite ( IosTest . TEST_TARGET_DEVICE_ATTR , Mode . TARGET , LabDeviceTemplateProvider . class ) . getLabDeviceTemplate ( ) ; } |
32,246 | generates the thingtypeuid for the given device . if it 's a homegear device , add a prefix because a homegear device has more datapoints . concode_field_sep PlaceHolder placeHolder concode_field_sep ChannelUID generateChannelUID concode_elem_sep ChannelGroupTypeUID generateChannelGroupTypeUID concode_elem_sep ChannelT... | ThingTypeUID function ( HmDevice arg0 ) { if ( ! arg0 . isGatewayExtras ( ) && arg0 . getGatewayId ( ) . equals ( HmGatewayInfo . ID_HOMEGEAR ) ) { return new ThingTypeUID ( BINDING_ID , String . format ( "srini_string" , arg0 . getType ( ) ) ) ; } else { return new ThingTypeUID ( BINDING_ID , String . format ( arg0 . ... |
32,247 | add information message . concode_field_sep Properties buildProperties concode_field_sep String getRequestParameter concode_elem_sep UIComponent findComponent concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String getActionAttribute concode_elem_sep String getBu... | void function ( String arg0 ) { addInfoMessage ( null , arg0 ) ; } |
32,248 | gets customer code . concode_field_sep String owningInstitution concode_elem_sep String itemBarcode concode_elem_sep String customerCode concode_elem_sep String message concode_field_sep void setOwningInstitution concode_elem_sep void setCustomerCode concode_elem_sep String getOwningInstitution concode_elem_sep String ... | String function ( ) { return customerCode ; } |
32,249 | this method adds the source property to the property map concode_field_sep Map<Capability,Boolean> capabilityMap concode_elem_sep Map<String,Boolean> functionMap concode_elem_sep ExecutionFactory<?,?> translator concode_elem_sep Map<Capability,Object> propertyMap concode_elem_sep long serialVersionUID concode_field_sep... | void function ( Capability arg0 , Object arg1 ) { this . propertyMap . put ( arg0 , arg1 ) ; } |
32,250 | method truncate . concode_field_sep PlaceHolder placeHolder concode_field_sep String getBenefitKeywordMsg concode_elem_sep boolean isNumericFormat concode_elem_sep String unformatDate concode_elem_sep String deleteChar concode_elem_sep boolean isAlphaNumericFormat concode_elem_sep boolean isValidNpiFormat concode_elem_... | String function ( String arg0 , String arg1 ) { int loc0 = 0 ; int loc1 = 0 ; StringBuffer loc2 = new StringBuffer ( ) ; if ( ( loc1 = arg0 . indexOf ( arg1 , loc0 ) ) >= 0 ) { loc2 . append ( arg0 . substring ( loc0 , loc1 ) ) ; } else { loc2 . append ( arg0 ) ; } return loc2 . toString ( ) ; } |
32,251 | check whether the target is in the argument array . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] toEightBytes concode_elem_sep byte[] toFourBytes concode_elem_sep double fromSize concode_elem_sep void encEightBytes concode_elem_sep void encTwoBytes concode_elem_sep String formatSize concode_elem_s... | boolean function ( int arg0 , int ... arg1 ) { if ( ArrayUtils . isEmpty ( arg1 ) ) { return false ; } for ( int loc0 : arg1 ) { if ( arg0 == loc0 ) return true ; } return false ; } |
32,252 | 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 Object value concode_elem_sep ThreadVar threadVar concode_field_sep Object getValue concode_elem_sep Thread get concode_elem_sep Object get concode_elem_sep v... | void function ( ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 != null ) { System . out . println ( "srini_string" ) ; loc0 . interrupt ( ) ; } threadVar . clear ( ) ; } |
32,253 | returns the number of triangles associated with this shape . concode_field_sep int mPrimitive concode_elem_sep float PI concode_elem_sep Buffer mIndexBuffer concode_elem_sep int INT_BYTES concode_elem_sep IntBuffer mColorBuffer concode_elem_sep IntBuffer mNormalBuffer concode_elem_sep float TWO_PI concode_elem_sep IntB... | int function ( ) { if ( mPrimitive == GL10 . GL_TRIANGLES ) { return mIndexBuffer . capacity ( ) / 3 ; } else if ( mPrimitive == GL10 . GL_TRIANGLE_STRIP ) { return mIndexBuffer . capacity ( ) - 2 ; } return 0 ; } |
32,254 | reset the friction mixture to the default value . concode_field_sep World world concode_elem_sep WorldManifold worldManifold concode_elem_sep long addr concode_elem_sep float[] tmp concode_field_sep boolean jniIsTouching concode_elem_sep float getRestitution concode_elem_sep float jniGetRestitution concode_elem_sep voi... | void function ( ) { jniResetFriction ( addr ) ; } |
32,255 | returns a collection of ` interesting ' states for the given vertex . depending on the implementation , this could contain a single optimal state , a set of pareto-optimal states , or even states that are not known to be optimal but are judged interesting by some other criteria . concode_field_sep DominanceFunction dom... | List < State > function ( Vertex arg0 ) { return stateSets . get ( arg0 ) ; } |
32,256 | wraps a collection of tasks . concode_field_sep ExecutorService delegate concode_field_sep Future<T> submit concode_elem_sep Future<?> submit concode_elem_sep Future<T> submit concode_elem_sep Callable<T> wrapTask concode_elem_sep Runnable wrapTask concode_elem_sep boolean isTerminated concode_elem_sep List<Future<T>> ... | ImmutableList < Callable < T >> function ( Collection < ? extends Callable < T >> arg0 ) { ImmutableList . Builder < Callable < T >> loc0 = ImmutableList . loc0 ( ) ; for ( Callable < T > loc1 : arg0 ) { loc0 . add ( wrapTask ( loc1 ) ) ; } return loc0 . build ( ) ; } |
32,257 | this method always returns false , since this jcr property types do n't represent auto-incremented values . concode_field_sep int[] nullable concode_elem_sep JcrConnection connection concode_elem_sep QueryResult results concode_field_sep String getSchemaName concode_elem_sep boolean isCaseSensitive concode_elem_sep Str... | boolean function ( int arg0 ) { return false ; } |
32,258 | converts the current endpoint set for this client into virtual addressing style , by placing the name of the specified bucket before the s3 service endpoint . concode_field_sep String bucketName concode_elem_sep boolean isPathStyleAccess concode_elem_sep String key concode_elem_sep ServiceEndpointBuilder endpointBuilde... | URI function ( URI arg0 , String arg1 ) { try { return new URI ( String . format ( "srini_string" , arg0 . getScheme ( ) , arg1 , arg0 . getAuthority ( ) ) ) ; } catch ( URISyntaxException loc0 ) { throw new IllegalArgumentException ( "srini_string" + arg1 , loc0 ) ; } } |
32,259 | moves the range to the next page . returns true if the range has another page , false if not . concode_field_sep int fromIndex concode_elem_sep int values concode_elem_sep int pageSize concode_elem_sep int toIndex concode_field_sep PageRange setPages concode_elem_sep int getFromIndex concode_elem_sep int pageCount conc... | boolean function ( ) { if ( toIndex >= values ) { return false ; } if ( toIndex > 0 ) { fromIndex += pageSize ; } toIndex = Math . min ( ( fromIndex + pageSize ) , values ) ; return true ; } |
32,260 | flags a task as done . concode_field_sep int spiderTasksDone concode_elem_sep Map blocked concode_elem_sep Set assignedSpiderTasks concode_elem_sep Set assignedThinkerTasks concode_elem_sep List thinkerTasks concode_elem_sep int blockedCount concode_elem_sep int thinkerTasksDone concode_elem_sep List fetchTasks concode... | void function ( WorkerTask arg0 ) { if ( arg0 . getType ( ) == WorkerTask . WORKERTASK_THINKERTASK ) { assignedThinkerTasks . remove ( arg0 ) ; thinkerTasksDone ++ ; } else { assignedSpiderTasks . remove ( arg0 ) ; spiderTasksDone ++ ; } } |
32,261 | helper for success callbacks that just returns the status.ok by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String g... | void function ( int arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; } |
32,262 | checks , if this shape is completely contained in p_box . concode_field_sep PlaceHolder placeHolder concode_field_sep FloatLine polar_line_segment concode_elem_sep int prev_no concode_elem_sep boolean intersects concode_elem_sep int border_line_count concode_elem_sep int index_of_left_most_corner concode_elem_sep boole... | boolean function ( IntBox arg0 ) { return arg0 . contains ( bounding_box ( ) ) ; } |
32,263 | returns the current set of received values . concode_field_sep SettableFuture<T> firstValue concode_elem_sep CountDownLatch latch concode_elem_sep Throwable error concode_elem_sep List<T> results concode_field_sep Throwable getError concode_elem_sep void onError concode_elem_sep ListenableFuture<T> firstValue concode_e... | List < T > function ( ) { return Collections . unmodifiableList ( results ) ; } |
32,264 | open several urls by using a prompt if it 's enabled . concode_field_sep Logger LOGGER concode_elem_sep boolean prompt concode_elem_sep int MAX_URL_LENGTH concode_field_sep void openUrl concode_elem_sep void openUrls concode_elem_sep int showUrlsPrompt concode_elem_sep void setPrompt concode_elem_sep void openUrlPrompt... | void function ( Component arg0 , List < String > arg1 ) { openUrlsPrompt ( arg0 , arg1 , false ) ; } |
32,265 | returns the current animation time in milliseconds . this time should be used when invoking animation #setstarttime long . refer to android.os.systemclock for moreinformation about the different available clocks . the clock used by this method is not the `` wall '' clock it is not system #currenttimemillis . concode_fi... | long function ( ) { return SystemClock . uptimeMillis ( ) ; } |
32,266 | set a tag object associated with this actionmode . like the tag available to views , this allows applications to associate arbitrary data with an actionmode for later reference . concode_field_sep Object mTag concode_field_sep boolean onCreateActionMode concode_elem_sep void setCustomView concode_elem_sep CharSequence ... | void function ( Object arg0 ) { mTag = arg0 ; } |
32,267 | return type metadata object concode_field_sep java.lang.Integer startIndex concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Integer totalResultSetSize concode_elem_sep com.google.api.ads.dfp.axis.v201408.UserTeamAssociation[] results concode_elem_sep org.... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
32,268 | this is a fk between userprofile and logininformation entities.it defines onetoone relation . userprofile is a parent of logininformation entity . cascading is been set to all cascadetype concode_field_sep String lastName concode_elem_sep Occupation occupation concode_elem_sep String nickName concode_elem_sep SexEnum s... | LoginInformation function ( ) { return LoginInformation ; } |
32,269 | runs the job w/o throwing any exceptions concode_field_sep int RUN_RESULT_FAIL_RUN_LIMIT concode_elem_sep long runningSessionId concode_elem_sep String groupId concode_elem_sep long createdNs concode_elem_sep int priority concode_elem_sep Set<String> tags concode_elem_sep long delayUntilNs concode_elem_sep int RUN_RESU... | int function ( int arg0 ) { return job . safeRun ( this , arg0 ) ; } |
32,270 | sets the mobile number . concode_field_sep BigInteger nidNumber concode_elem_sep String occupation concode_elem_sep String nameOfFather concode_elem_sep Gender gender concode_elem_sep Integer simReistrationAppplicantId concode_elem_sep String mobileNumber concode_elem_sep BigInteger nidNumberFather concode_elem_sep Dat... | void function ( String arg0 ) { this . mobileNumber = arg0 ; } |
32,271 | returns shard failures concode_field_sep String reason concode_elem_sep XContentBuilderString TOTAL concode_elem_sep XContentBuilderString STATE concode_elem_sep List<SnapshotShardFailure> shardFailures concode_elem_sep XContentBuilderString START_TIME concode_elem_sep XContentBuilderString SHARDS concode_elem_sep Form... | List < SnapshotShardFailure > function ( ) { return shardFailures ; } |
32,272 | return type metadata object concode_field_sep java.lang.String xmlSchema concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean zap concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean __hashCodeCalc concode_field_sep boolean isZap concode_elem_sep org.apache.axis.enc... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
32,273 | returns the value of the encapsulated primitive float . concode_field_sep long serialVersionUID concode_elem_sep float value concode_field_sep void copyTo concode_elem_sep void read concode_elem_sep int getBinaryLength concode_elem_sep int hashCode concode_elem_sep void setValue concode_elem_sep void setValue concode_e... | float function ( ) { return this . value ; } |
32,274 | set the clientrequestid value . concode_field_sep String clientRequestId concode_elem_sep String requestId concode_field_sep String clientRequestId concode_elem_sep String requestId concode_elem_sep TaskAddCollectionHeaders withRequestId | TaskAddCollectionHeaders function ( String arg0 ) { this . clientRequestId = arg0 ; return this ; } |
32,275 | creates a new pidfile and writes the current process id into the provided path concode_field_sep Path path concode_elem_sep long pid concode_elem_sep boolean deleteOnExit concode_field_sep boolean isDeleteOnExit concode_elem_sep Path getPath concode_elem_sep void addShutdownHook concode_elem_sep long getPid | PidFile function ( Path arg0 , boolean arg1 ) { return create ( arg0 , arg1 , JvmInfo . jvmInfo ( ) . pid ( ) ) ; } |
32,276 | starts the timer . has no effect if the timer is already running . concode_field_sep int ticks concode_elem_sep int interval concode_elem_sep Thread thread concode_elem_sep Tickable target concode_field_sep int getTicks concode_elem_sep void stop concode_elem_sep void setInterval concode_elem_sep void reset concode_ele... | void function ( ) { synchronized ( this ) { if ( thread == null ) { MyTimer loc0 = new MyTimer ( ) ; thread = new Thread ( loc0 ) ; thread . start ( ) ; } } } |
32,277 | each language-specific initialization method will call this to construct artifacts representing its protocol compiler outputs . concode_field_sep PlaceHolder placeHolder concode_field_sep void checkSourceFilesAreInSamePackage concode_elem_sep boolean isConfiguredTargetInSamePackage concode_elem_sep ImmutableList<Artifa... | ImmutableList < Artifact > function ( RuleContext arg0 , ImmutableList < Artifact > arg1 , String arg2 ) { return getGeneratedOutputs ( arg0 , arg1 , arg2 , false ) ; } |
32,278 | returns the absent resource list that is updated when the retrieval completes . concode_field_sep PropertyChangeListener propertyListener concode_elem_sep SessionCache cache concode_elem_sep long resourceID concode_elem_sep Object cacheKey concode_elem_sep String propertyName concode_elem_sep String name concode_elem_s... | AbsentResourceList function ( ) { return this . absentResourceList ; } |
32,279 | check if any entry for the specified field is present concode_field_sep PlaceHolder placeHolder concode_field_sep IErrorList getSubList concode_elem_sep IMultiMapListBased<String,IError> getGroupedByID concode_elem_sep IMultiMapListBased<T,IError> getGrouped concode_elem_sep IErrorList getAllErrors concode_elem_sep ICo... | boolean function ( @ Nullable final String arg0 ) { return containsAny ( x -> x . hasErrorFieldName ( arg0 ) ) ; } |
32,280 | encrypts an array of bytes . an iv is chosen and saved at top . concode_field_sep int size concode_elem_sep byte[] h concode_elem_sep byte[] skey concode_elem_sep int index concode_field_sep void init concode_elem_sep byte[] sub concode_elem_sep String asHex concode_elem_sep byte[] cat concode_elem_sep byte[] clone con... | byte [ ] function ( byte [ ] arg0 , byte [ ] arg1 ) { byte [ ] loc0 = MD5 . digest ( Long . toString ( ( new Random ( ) ) . nextLong ( ) ) ) ; byte [ ] loc1 = ( new MD5OTP ( arg1 , loc0 ) ) . update ( arg0 ) ; return cat ( loc0 , loc1 ) ; } |
32,281 | should this indxer order by the ids when criteria is available . defaults to true . concode_field_sep Map<String,Boolean> performOrderByPerEntity concode_elem_sep int index concode_elem_sep int fetchCount concode_elem_sep boolean performOrderById concode_elem_sep Log log concode_elem_sep Object[] buffer concode_elem_se... | void function ( boolean arg0 ) { this . performOrderById = arg0 ; } |
32,282 | writes all bits to buffer . concode_field_sep long[] longs concode_elem_sep int writePosition concode_elem_sep int readPosition concode_elem_sep int numberOfBytes concode_elem_sep long[] RIGHT_OVERFLOW_MASKS concode_field_sep long[] getLongs concode_elem_sep Bits read concode_elem_sep byte getByte concode_elem_sep byte... | Bits function ( Buffer arg0 ) { int loc0 = readPosition ; readPosition = 0 ; try { int loc1 = numberOfBytes ; while ( loc1 -- > 0 ) { arg0 . put ( getByte ( ) ) ; } return this ; } finally { readPosition = loc0 ; } } |
32,283 | get the cipher suite at the specified index . concode_field_sep int modCount concode_elem_sep int index concode_elem_sep ByteBuffer buffer concode_field_sep void add concode_elem_sep CompressionMethod next concode_elem_sep void set concode_elem_sep CompressionMethod previous concode_elem_sep boolean hasNext concode_ele... | CompressionMethod function ( final int arg0 ) { int loc0 = loc0 ( ) ; if ( arg0 < 0 || arg0 >= loc0 ) throw new IndexOutOfBoundsException ( "srini_string" + loc0 + "srini_string" + arg0 ) ; return CompressionMethod . getInstance ( buffer . get ( 1 + arg0 ) ) ; } |
32,284 | calls casexxx for each class of the model until one returns a non null result ; it yields that result . concode_field_sep JoincolumnsPackage modelPackage concode_field_sep T caseHouse concode_elem_sep T caseParent concode_elem_sep T caseChild concode_elem_sep T casePerson concode_elem_sep T defaultCase | T function ( EObject arg0 ) { return doSwitch ( arg0 . eClass ( ) , arg0 ) ; } |
32,285 | paint the icon using the current color . this method is invoked by the system . concode_field_sep Color color concode_elem_sep int width concode_elem_sep int height concode_field_sep int getIconWidth concode_elem_sep int getIconHeight concode_elem_sep void setColor | void function ( Component arg0 , Graphics arg1 , int arg2 , int arg3 ) { arg1 . setColor ( color ) ; arg1 . fillRect ( arg2 , arg3 , width , height ) ; arg1 . setColor ( Color . BLACK ) ; arg1 . drawRect ( arg2 , arg3 , width , height ) ; } |
32,286 | resets all the top-key collected so far . concode_field_sep int MAX_CAPACITY concode_elem_sep Log log concode_elem_sep EnumMap<Stat,TopKeyWrapper> topKeyWrapper concode_elem_sep String cacheName concode_elem_sep String address concode_elem_sep boolean enabled concode_elem_sep boolean trace concode_elem_sep BlockingQueu... | void function ( ) { reset = true ; tryFlushAll ( ) ; } |
32,287 | return type metadata object concode_field_sep long[] companionCreativeIds concode_elem_sep com.google.api.ads.dfp.axis.v201502.DateTime lastModifiedDateTime concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Long id co... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
32,288 | set the scripts to be loaded by the script engine library or user provided . since resourceloaderpath default value is `` classpath : '' , you can load easilyany script available on the classpath . for example , in order to use a javascript library available as a webjars dependency and a custom `` render.js '' file , y... | void function ( String ... arg0 ) { this . scripts = arg0 ; } |
32,289 | returns the number of points comprising this geoshape . a point and circle have only one point center of cricle , a box has two points the south-west and north-east corners and a polygon has a variable number of points > = 3 . concode_field_sep float latitude concode_elem_sep float[][] coordinates concode_elem_sep Spat... | int function ( ) { switch ( getType ( ) ) { case POINT : return 1 ; case CIRCLE : return 1 ; case BOX : return 2 ; case POLYGON : return coordinates [ 0 ] . length ; default : throw new IllegalStateException ( "srini_string" + getType ( ) ) ; } } |
32,290 | returns the stream initiation stanza / packet that was sent by the requestor which contains the parameters of the file transfer being transfer and also the methods available to transfer the file . concode_field_sep FileTransferManager manager concode_elem_sep StreamInitiation streamInitiation concode_field_sep long get... | StreamInitiation function ( ) { return streamInitiation ; } |
32,291 | default visit implementation . returns null . concode_field_sep PlaceHolder placeHolder concode_field_sep V visit concode_elem_sep V visit concode_elem_sep V visit concode_elem_sep V visit concode_elem_sep V visit concode_elem_sep V visit concode_elem_sep V visit concode_elem_sep V visit concode_elem_sep V visit | V function ( Binding < ? extends T > arg0 ) { return null ; } |
32,292 | sets the value of the name property . concode_field_sep String code concode_elem_sep String name concode_elem_sep String description concode_elem_sep long serialVersionUID concode_field_sep String getName concode_elem_sep void setCode concode_elem_sep void setDescription concode_elem_sep String getCode concode_elem_sep... | void function ( String arg0 ) { this . name = arg0 ; } |
32,293 | returns the chat room that this member is participating in . concode_field_sep String hostname concode_elem_sep String contactID concode_elem_sep String ident concode_elem_sep ProtocolProviderServiceIrcImpl parentProvider concode_elem_sep Logger LOGGER concode_elem_sep SortedSet<ChatRoomMemberRole> roles concode_elem_s... | ChatRoom function ( ) { return this . chatRoom ; } |
32,294 | make this flightdatabranch immutable . any calls to the set methods that would modify this object will after this call throw an illegalstateexception . concode_field_sep Map<FlightDataType,Double> maxValues concode_elem_sep ArrayList<FlightEvent> events concode_elem_sep double timeToOptimumAltitude concode_elem_sep int... | void function ( ) { mutable . immute ( ) ; } |
32,295 | returns the minimum value in the array a , + infinity if no such value . concode_field_sep PlaceHolder placeHolder concode_field_sep double stddevp concode_elem_sep double stddevp concode_elem_sep void plotBars concode_elem_sep void plotPoints concode_elem_sep double max concode_elem_sep double max concode_elem_sep int... | double function ( double [ ] arg0 ) { double loc0 = Double . POSITIVE_INFINITY ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { if ( Double . isNaN ( arg0 [ loc1 ] ) ) return Double . NaN ; if ( arg0 [ loc1 ] < loc0 ) loc0 = arg0 [ loc1 ] ; } return loc0 ; } |
32,296 | run a simple test to process the file . concode_field_sep Logger log concode_field_sep String generateMD5 concode_elem_sep String generateMD5 concode_elem_sep String generateMD5 | void function ( String [ ] arg0 ) { System . out . println ( ChecksumUtils . generateMD5 ( arg0 [ 0 ] ) ) ; } |
32,297 | the get challenge command is used to obtain an unpredictable number from the icc for use in a security-related procedure . the challenge shall be valid only for the next issued command the data field of the response message contains an 8-byte unpredictable number generated by the icc concode_field_sep PlaceHolder place... | byte [ ] function ( ) { return Util . fromHexString ( "srini_string" ) ; } |
32,298 | create an instance of unittype concode_field_sep QName _PropertyDefPropertyType_QNAME concode_elem_sep QName _PropertyDefDefinitionAliases_QNAME concode_elem_sep QName _PropertyDefValueDef_QNAME concode_elem_sep QName _PropertyDefDefinition_QNAME concode_elem_sep QName _PropertyDefName_QNAME concode_elem_sep QName _Pro... | UnitType function ( ) { return new UnitType ( ) ; } |
32,299 | write disk db . concode_field_sep long zeroSectors concode_elem_sep long nextLba concode_elem_sep NfcClient nfcClient concode_elem_sep Logger logger concode_elem_sep ByteBuffer fileData concode_elem_sep boolean isDirty concode_elem_sep long capacity concode_field_sep void writeNfcFileDskHdr concode_elem_sep void flushI... | void function ( Map < String , String > arg0 ) { if ( arg0 . isEmpty ( ) ) { return ; } flush ( ) ; writeNfcFileDskHdr ( true ) ; for ( Map . Entry < String , String > loc0 : arg0 . entrySet ( ) ) { writeNfcFileDskDDBEntry ( loc0 . getKey ( ) , loc0 . getValue ( ) ) ; } writeNfcFileDskDDBEntry ( null , null ) ; flush (... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.