idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
10,000 | replaces this expression with the bytecode derived from the given source text and expreditor . concode_field_sep CtClass thisClass concode_elem_sep int maxLocals concode_elem_sep CodeIterator iterator concode_elem_sep boolean edited concode_elem_sep String javaLangObject concode_elem_sep MethodInfo thisMethod concode_e... | void function ( String arg0 , ExprEditor arg1 ) { replace ( arg0 ) ; if ( arg1 != null ) runEditor ( arg1 , iterator ) ; } |
10,001 | force buffered operations to the filesystem . concode_field_sep boolean DEBUG concode_elem_sep LruActionTracer mActionTracer concode_elem_sep String LOG_TAG concode_elem_sep String mString concode_field_sep void clear concode_elem_sep void commitEdit concode_elem_sep boolean delete concode_elem_sep long getSize concode... | void function ( ) { mActionTracer . flush ( ) ; } |
10,002 | returns true if the given attribute is defined in this set , and false otherwise . the parent attribute set is not checked . concode_field_sep AttributeSet EMPTY concode_elem_sep long serialVersionUID concode_elem_sep Hashtable tab concode_field_sep boolean containsAttributeLocally concode_elem_sep void addAttributes c... | boolean function ( Object arg0 ) { return tab . containsKey ( arg0 ) ; } |
10,003 | pattern that tells the aggregator what to do with the keys from the source repository . the keys in the source repository are assumed to be period separated , and the pattern is in the same format , e.g. `` d.d.k.d '' . the pattern segments are matched against the source keys and a rule is applied : `` d '' means `` di... | void function ( String arg0 ) { this . keyPattern = arg0 ; } |
10,004 | adds one array to the first array concode_field_sep int sizeOfBead concode_elem_sep ImagePlus image concode_elem_sep int vW concode_elem_sep int vH concode_elem_sep double end concode_elem_sep double r concode_elem_sep boolean configured concode_elem_sep double start concode_elem_sep Roi roi concode_elem_sep boolean in... | void function ( double [ ] arg0 , double [ ] arg1 ) { for ( int loc0 = 0 ; loc0 < arg0 . length ; loc0 ++ ) { arg0 [ loc0 ] += arg1 [ loc0 ] ; } } |
10,005 | number of ongoing recoveries for which a shard serves as a target concode_field_sep AtomicInteger currentAsTarget concode_elem_sep String CURRENT_AS_SOURCE concode_elem_sep String RECOVERY concode_elem_sep AtomicLong throttleTimeInNanos concode_elem_sep AtomicInteger currentAsSource concode_elem_sep String THROTTLE_TIM... | int function ( ) { return currentAsTarget . get ( ) ; } |
10,006 | returns the stack that changes . concode_field_sep int UNDONE concode_elem_sep int DONE concode_elem_sep int ROLL_BACK concode_elem_sep int action concode_elem_sep ActivityStack stack concode_elem_sep int REDONE concode_field_sep int getAction | ActivityStack function ( ) { return stack ; } |
10,007 | returns the insets required for drawing this border around the specified component . the default implementation provided here sets the left , right , top and bottom fields of the passed insets parameter to zero . concode_field_sep long serialVersionUID concode_field_sep void paintBorder concode_elem_sep boolean isBorde... | Insets function ( Component arg0 , Insets arg1 ) { arg1 . left = arg1 . right = arg1 . top = arg1 . bottom = 0 ; return arg1 ; } |
10,008 | gets the value of the maxkeys property . concode_field_sep int maxKeys concode_elem_sep GlobalKey globalKey concode_field_sep GlobalKey getGlobalKey concode_elem_sep void setGlobalKey concode_elem_sep void setMaxKeys | int function ( ) { return maxKeys ; } |
10,009 | returns a linemetrics object created with the specified arguments . concode_field_sep float size concode_elem_sep Map fontCache concode_elem_sep float scale concode_elem_sep Font awtFont concode_elem_sep float FONT_SIZE concode_field_sep int canDisplayUpTo concode_elem_sep int canDisplayUpTo concode_elem_sep int canDis... | GVTLineMetrics function ( char [ ] arg0 , int arg1 , int arg2 , FontRenderContext arg3 ) { return new GVTLineMetrics ( awtFont . getLineMetrics ( arg0 , arg1 , arg2 , arg3 ) , scale ) ; } |
10,010 | appends an element to the end of the list concode_field_sep Reporter reporter concode_elem_sep int updateCounter concode_elem_sep Object[] elementData concode_elem_sep float DEFAULT_RESIZE_FACTOR concode_elem_sep int elementCount concode_elem_sep int initCounter concode_elem_sep int DEFAULT_INITIAL_CAPACITY concode_fie... | boolean function ( Object arg0 ) { reporter . updateCounter ++ ; if ( elementCount >= elementData . length ) { increaseCapacity ( ) ; } elementData [ elementCount ] = arg0 ; elementCount ++ ; return true ; } |
10,011 | sets the user id of this polls vote . concode_field_sep PollsVote _pollsVote concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep boole... | void function ( long arg0 ) { _pollsVote . setUserId ( arg0 ) ; } |
10,012 | gets the data load . concode_field_sep String dataLoad concode_elem_sep String nameFileTemplate concode_elem_sep String versionName concode_field_sep void setDataLoad concode_elem_sep void setNameFileTemplate concode_elem_sep void setVersionName concode_elem_sep String getVersionName concode_elem_sep String getNameFile... | String function ( ) { return dataLoad ; } |
10,013 | add an ancestor listener for saving env prefs when the component is removed . concode_field_sep boolean initInEvent concode_elem_sep JComponent component concode_elem_sep ValueSetManager valueSet concode_elem_sep GuiShell shell concode_elem_sep RuleInfoBinding binding concode_elem_sep GuiEnvironment env concode_elem_se... | void function ( ) { getCreatedComponent ( ) . addAncestorListener ( new SaveByAncestorRemoved ( ) ) ; } |
10,014 | gets the value of the canupdatedetails property . concode_field_sep JAXBElement<SlimDateTime> configuredDate concode_elem_sep UpdateAction updateAction concode_elem_sep JAXBElement<String> description concode_elem_sep JAXBElement<RouterDetails> details concode_elem_sep Integer id concode_elem_sep JAXBElement<RouterConf... | Boolean function ( ) { return canUpdateDetails ; } |
10,015 | constructs the list containing the grids cells in row-major order . concode_field_sep List<Cell> SPIRAL_ORDER concode_elem_sep int ROWS concode_elem_sep List<Cell> ROW_MAJOR_ORDER concode_elem_sep int x concode_elem_sep int y concode_elem_sep int COLUMNS concode_elem_sep int COUNT concode_field_sep int hashCode concode... | List < Cell > function ( ) { List < Cell > loc0 = new ArrayList < Cell > ( ) ; for ( int loc1 = 0 ; loc1 < ROWS ; loc1 ++ ) { for ( int loc2 = 0 ; loc2 < COLUMNS ; loc2 ++ ) { loc0 . add ( new Cell ( loc2 , loc1 ) ) ; } } return Collections . unmodifiableList ( loc0 ) ; } |
10,016 | reads a single bit . concode_field_sep byte[] data concode_elem_sep int byteOffset concode_elem_sep int bitOffset concode_elem_sep int byteLimit concode_field_sep int bitsLeft concode_elem_sep int getPosition concode_elem_sep int readUnsignedExpGolombCodedInt concode_elem_sep int readExpGolombCodeNum concode_elem_sep v... | boolean function ( ) { return readBits ( 1 ) == 1 ; } |
10,017 | reads rest of the stream . concode_field_sep Reader reader concode_elem_sep boolean closed concode_elem_sep StringBuffer buff concode_field_sep int read concode_elem_sep void ensure concode_elem_sep boolean isEnd concode_elem_sep String substring concode_elem_sep String substring concode_elem_sep char charAt | void function ( ) { while ( ! closed ) { read ( 1000 ) ; } } |
10,018 | called whenever the osgi framework stops our bundle concode_field_sep Logger logger concode_field_sep void start | void function ( BundleContext arg0 ) { logger . debug ( "srini_string" ) ; } |
10,019 | return the view name to be resolved by the dispatcherportlet via a viewresolver , or null if we are using a view object . concode_field_sep Object view concode_elem_sep ModelMap model concode_elem_sep boolean cleared concode_field_sep boolean wasCleared concode_elem_sep Map<String,Object> getModel concode_elem_sep void... | String function ( ) { return ( this . view instanceof String ? ( String ) this . view : null ) ; } |
10,020 | sets optional quoting on/off off by default concode_field_sep String separator concode_elem_sep boolean quoteAll concode_elem_sep boolean quoteNever concode_elem_sep Writer out concode_field_sep void neverQuote concode_elem_sep String column concode_elem_sep void main concode_elem_sep void write concode_elem_sep void w... | void function ( boolean arg0 ) { quoteAll = arg0 ; } |
10,021 | sets the value of the id property . concode_field_sep String documentation concode_elem_sep String name concode_elem_sep String id concode_elem_sep Double resolution concode_field_sep void setName concode_elem_sep Double getResolution concode_elem_sep String getName concode_elem_sep void setResolution concode_elem_sep ... | void function ( String arg0 ) { this . id = arg0 ; } |
10,022 | create connection with database using jdbc . concode_field_sep Properties connectionProperties concode_elem_sep Logger logger concode_elem_sep String databaseDriver concode_elem_sep Connection connection concode_elem_sep String databaseUrl concode_field_sep Connection getConnection concode_elem_sep void setPassword con... | void function ( ) { try { Class . forName ( databaseDriver ) . newInstance ( ) ; connection = DriverManager . getConnection ( databaseUrl , connectionProperties ) ; logger . debug ( "srini_string" ) ; } catch ( Throwable loc0 ) { DTThrowable . rethrow ( loc0 ) ; } } |
10,023 | character . concode_field_sep String ROW concode_elem_sep int defaultMatrixColumns concode_elem_sep String ARRAYS concode_elem_sep String MATRIX concode_elem_sep String FIELD concode_elem_sep int defaultArraySize concode_elem_sep String GENERAL concode_elem_sep String OPERATORS concode_elem_sep String OPEN concode_elem... | boolean function ( String arg0 ) { try { getCharacter ( arg0 ) ; return true ; } catch ( ArrayIndexOutOfBoundsException loc0 ) { return false ; } } |
10,024 | returns the typecode , corresponding the corba type that is stored using this holder . concode_field_sep TypeCode t_any concode_elem_sep Any value concode_field_sep void _read concode_elem_sep void _write | TypeCode function ( ) { return t_any ; } |
10,025 | returns the conversion state of the text range . concode_field_sep InputMethodHighlight UNSELECTED_CONVERTED_TEXT_HIGHLIGHT concode_elem_sep InputMethodHighlight SELECTED_CONVERTED_TEXT_HIGHLIGHT concode_elem_sep int CONVERTED_TEXT concode_elem_sep InputMethodHighlight SELECTED_RAW_TEXT_HIGHLIGHT concode_elem_sep Map s... | int function ( ) { return state ; } |
10,026 | hook for blocking the loading of external resources . this will be called when the webview 's shouldinterceptrequest wants to know whether to open a connection to an external resource . return false to block the request : if any plugin returns false , cordova will block the request . if all plugins return null , the de... | Boolean function ( String arg0 ) { return null ; } |
10,027 | warning log message with printf formatting . 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 ... | void function ( String arg0 , String arg1 , Object ... arg2 ) { if ( LOG . WARN >= LOGLEVEL ) Log . w ( arg0 , String . format ( arg1 , arg2 ) ) ; } |
10,028 | print a boolean and then terminate the line . concode_field_sep String CHARSET_NAME concode_elem_sep Locale LOCALE concode_elem_sep PrintWriter out concode_field_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print con... | void function ( boolean arg0 ) { out . println ( arg0 ) ; } |
10,029 | returns true if the compiler used this file as input . concode_field_sep JavaFileObject fileObject concode_elem_sep boolean isUsed concode_field_sep JavaFileObject fileObject concode_elem_sep void markUsed | boolean function ( ) { return isUsed ; } |
10,030 | whether transport parameter is present concode_field_sep String ttl_param concode_elem_sep String maddr_param concode_elem_sep long serialVersionUID concode_elem_sep String transport_param concode_elem_sep String url concode_field_sep void addTransport concode_elem_sep String getTransport concode_elem_sep String getMad... | boolean function ( ) { return hasParameter ( transport_param ) ; } |
10,031 | set the type of framing to use . the options for framing are : linefeed - means use anlf-delimited linefeed codec . length - means use a length-field based codec where the initialbytes of a message are the length of the rest of the message . concode_field_sep String framing concode_elem_sep int port concode_elem_sep Co... | NetServerSpecFactoryBean function ( String arg0 ) { Assert . isTrue ( "srini_string" . equals ( arg0 ) || "srini_string" . equals ( arg0 ) ) ; this . framing = arg0 ; return this ; } |
10,032 | tests the applicationfileinstaller #install file methodfor the case where the file contains no features concode_field_sep String MAIN_FEATURE_VERSION concode_elem_sep Logger logger concode_elem_sep String BAD_FILE_NAME concode_elem_sep String MAIN_FEATURE_NAME concode_elem_sep Appender mockAppender concode_elem_sep Str... | void function ( ) { ApplicationFileInstaller loc0 = new ApplicationFileInstaller ( ) ; File loc1 = new File ( File . class . getResource ( BAD_ZIP_NAME ) . getPath ( ) ) ; loc0 . install ( loc1 ) ; } |
10,033 | reads from the given buffer into the internal byte array . concode_field_sep byte[] data concode_elem_sep int offset concode_field_sep boolean isOpen concode_elem_sep int length concode_elem_sep void reset concode_elem_sep void close concode_elem_sep byte[] getData | int function ( ByteBuffer arg0 ) { int loc0 = Math . min ( arg0 . remaining ( ) , data . length - offset ) ; arg0 . get ( data , offset , loc0 ) ; offset += loc0 ; return loc0 ; } |
10,034 | adds a new xy series to the list . concode_field_sep List<XYSeries> mSeries concode_elem_sep long serialVersionUID concode_field_sep XYSeries[] getSeries concode_elem_sep void removeSeries concode_elem_sep void removeSeries concode_elem_sep XYSeries getSeriesAt concode_elem_sep int getSeriesCount | void function ( XYSeries arg0 ) { mSeries . add ( arg0 ) ; } |
10,035 | return the integer form of the enumerated . concode_field_sep int value concode_field_sep Enumeration<Integer> valueIndexes concode_elem_sep Enumeration<String> valueStrings concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Hashtable<Integer,String> getIntTable concode_elem_sep String toStr... | int function ( ) { return value ; } |
10,036 | evaluates the predicate returning true if the input object has n't been received yet . concode_field_sep long serialVersionUID concode_elem_sep Set<T> iSet concode_field_sep Predicate<T> uniquePredicate | boolean function ( final T arg0 ) { return iSet . add ( arg0 ) ; } |
10,037 | serialize the boolean . see ds.ov2.util.apdu _ serializable #to_byte_array apdu_serializable . to_byte_array . concode_field_sep boolean value concode_field_sep boolean is_compatible_with concode_elem_sep short size concode_elem_sep short from_byte_array | short function ( short arg0 , short arg1 , byte [ ] arg2 , short arg3 ) { Misc . myassert ( arg1 == 0 , ( short ) ( 0 ) ) ; Misc . myassert ( arg0 > 0 , ( short ) ( 0 ) ) ; arg2 [ arg3 ] = value ? ( byte ) 1 : ( byte ) 0 ; if ( arg0 == 1 ) return 2 ; else return 1 ; } |
10,038 | doc bqian comment method `` main '' . concode_field_sep FilenameFilter nlProjectFilter concode_elem_sep File project concode_elem_sep ArrayList<ProjectMapper> mapperList concode_elem_sep FilenameFilter projectFilter concode_elem_sep File mappingNLProject concode_field_sep void processMapper concode_elem_sep void listPr... | void function ( String [ ] arg0 ) { new I18NChecker ( ) . check ( ) ; } |
10,039 | copies the contents of the given inputstream to the given outputstream . shortcut for copy pinputstream , poutputstream , new byte 8192 ; concode_field_sep int DEFAULT_BUFFER_SIZE concode_field_sep String asString concode_elem_sep String asString | long function ( InputStream arg0 , OutputStream arg1 , boolean arg2 ) { return copy ( arg0 , arg1 , arg2 , new byte [ DEFAULT_BUFFER_SIZE ] ) ; } |
10,040 | sets the socket factory used to secure https connections . if unset , the httpsurlconnection #getdefaultsslsocketfactory system-wide default ssl socket factory will be used . concode_field_sep boolean followProtocolRedirects concode_elem_sep HostnameVerifier hostnameVerifier concode_elem_sep ConnectionPool connectionPo... | OkHttpClient function ( SSLSocketFactory arg0 ) { this . sslSocketFactory = arg0 ; return this ; } |
10,041 | the streaming distribution 's information . returns a reference to this object so that method calls can be chained together . concode_field_sep String eTag concode_elem_sep StreamingDistribution streamingDistribution concode_field_sep void setStreamingDistribution concode_elem_sep StreamingDistribution getStreamingDist... | UpdateStreamingDistributionResult function ( StreamingDistribution arg0 ) { this . streamingDistribution = arg0 ; return this ; } |
10,042 | test cart is empty . concode_field_sep Cart cart concode_field_sep void setUpBeforeClass concode_elem_sep void setUp concode_elem_sep void testCartHasOrange concode_elem_sep void tearDownAfterClass concode_elem_sep void tearDown concode_elem_sep void testCartHasApple | void function ( ) { assertEquals ( cart . getItems ( ) . size ( ) , 0 ) ; } |
10,043 | test to ensure the underlying delegate is being passed the aborttask call . concode_field_sep Path outputSampleFilePath concode_elem_sep OutputCommitter mockCommitter concode_elem_sep TableSchema TEST_TABLE_SCHEMA concode_elem_sep String TEST_OUTPUT_FILE_STRING concode_elem_sep String TEST_OUTPUT_PATH_STRING concode_el... | void function ( ) { committer . abortTask ( mockTaskAttemptContext ) ; verify ( mockCommitter ) . abortTask ( eq ( mockTaskAttemptContext ) ) ; } |
10,044 | returns the number of keystroke bindings . concode_field_sep InputMap parent concode_elem_sep ArrayTable arrayTable concode_field_sep InputMap getParent concode_elem_sep KeyStroke[] keys concode_elem_sep void writeObject concode_elem_sep Object get concode_elem_sep void clear concode_elem_sep KeyStroke[] allKeys concod... | int function ( ) { if ( arrayTable == null ) { return 0 ; } return arrayTable . size ( ) ; } |
10,045 | get longitude concode_field_sep double latitude concode_elem_sep double longitude concode_field_sep void setLatitude concode_elem_sep int hashCode concode_elem_sep double getLatitude concode_elem_sep boolean equals concode_elem_sep void setLongitude | double function ( ) { return longitude ; } |
10,046 | truns the private bit on . the protected and private bits are cleared . concode_field_sep int PRIVATE concode_elem_sep int PROTECTED concode_elem_sep int INTERFACE concode_elem_sep int PUBLIC concode_elem_sep int STATIC concode_elem_sep int NATIVE concode_elem_sep int SUPER concode_elem_sep int VARARGS concode_elem_sep... | int function ( int arg0 ) { return ( arg0 & ~ ( PROTECTED | PUBLIC ) ) | PRIVATE ; } |
10,047 | calculate a 64-bit hash function for this path . concode_field_sep String[] components concode_elem_sep int length concode_elem_sep CategoryPath EMPTY concode_field_sep void noDelimiter concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int fullPathLength concode_elem_sep CategoryPath subpat... | long function ( ) { if ( length == 0 ) { return 0 ; } long loc0 = length ; for ( int loc1 = 0 ; loc1 < length ; loc1 ++ ) { loc0 = loc0 * 65599 + components [ loc1 ] . hashCode ( ) ; } return loc0 ; } |
10,048 | valid input are ; separated key = value pairs without spaces between key and value . see rfc 7231 : the type , subtype , and parameter name tokens are case-insensitive . parameter values might or might not be case-sensitive , depending on the semantics of the parameter name . the presence or absence of a parameter migh... | void function ( final String arg0 , final Map < String , String > arg1 ) { if ( arg0 != null ) { for ( String loc0 : arg0 . split ( TypeUtil . PARAMETER_SEPARATOR ) ) { final String [ ] loc1 = parseParameter ( loc0 ) ; arg1 . put ( loc1 [ 0 ] , loc1 [ 1 ] ) ; } } } |
10,049 | saves the current state of the output stream . concode_field_sep byte[] array concode_elem_sep int pos concode_elem_sep int saved_pos concode_field_sep int current concode_elem_sep void writeByteArray concode_elem_sep void writeByteArray concode_elem_sep void restore concode_elem_sep void need concode_elem_sep void wri... | void function ( ) { saved_pos = pos ; } |
10,050 | we must simulate container shutdown , which should clear threads . concode_field_sep DefaultListableBeanFactory beanFactory concode_elem_sep Resource CONTEXT concode_elem_sep int INITIAL_COUNT concode_field_sep void testReuseInSameThread concode_elem_sep void setUp concode_elem_sep void testCanGetStatsViaMixin concode_... | void function ( ) { this . beanFactory . destroySingletons ( ) ; } |
10,051 | set the location of the ocsp responder . concode_field_sep Logger LOG concode_elem_sep String _ocspResponderURL concode_elem_sep AtomicLong __aliasCount concode_elem_sep KeyStore _trustStore concode_elem_sep int _maxCertPathLength concode_elem_sep Collection<? extends CRL> _crls concode_elem_sep boolean _enableOCSP con... | void function ( String arg0 ) { _ocspResponderURL = arg0 ; } |
10,052 | return true if the outcome was a match . concode_field_sep boolean match concode_elem_sep String message concode_field_sep ConditionOutcome inverse concode_elem_sep ConditionOutcome noMatch concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ConditionOutcome match concode_elem_sep ConditionOu... | boolean function ( ) { return this . match ; } |
10,053 | create an instance of getexchangerate concode_field_sep QName _GetExchangeRateResponse_QNAME concode_elem_sep QName _GetExchangeRate_QNAME concode_field_sep ExchangeRateBO createExchangeRateBO concode_elem_sep GetExchangeRateResponse createGetExchangeRateResponse concode_elem_sep JAXBElement<GetExchangeRateResponse> cr... | GetExchangeRate function ( ) { return new GetExchangeRate ( ) ; } |
10,054 | return the port of the registry for the exported rmi service . concode_field_sep Registry registry concode_elem_sep RMIClientSocketFactory clientSocketFactory concode_elem_sep Log logger concode_elem_sep int port concode_elem_sep String host concode_elem_sep RMIServerSocketFactory serverSocketFactory concode_elem_sep b... | int function ( ) { return this . port ; } |
10,055 | access all the statistics concode_field_sep Map statistics concode_field_sep Statistic getStatistic concode_elem_sep void addStatistic concode_elem_sep void reset concode_elem_sep String toString concode_elem_sep String[] getStatisticNames | Statistic [ ] function ( ) { Statistic [ ] loc0 = new Statistic [ statistics . size ( ) ] ; statistics . values ( ) . toArray ( loc0 ) ; return loc0 ; } |
10,056 | retrieves an instance of a cash drawer based on the parameters provided and sets the status of the drawer to open , persists the state change and then returns an instance of the drawer in it 's new state . concode_field_sep String CAMPUS_CODE_PROPERTY concode_elem_sep BusinessObjectService businessObjectService concode... | CashDrawer function ( String arg0 , String arg1 ) { if ( StringUtils . isBlank ( arg1 ) ) { throw new IllegalArgumentException ( "srini_string" ) ; } CashDrawer loc0 = getByCampusCode ( arg0 ) ; return this . openCashDrawer ( loc0 , arg1 ) ; } |
10,057 | adds the given number of days to a date . concode_field_sep PlaceHolder placeHolder concode_field_sep Date copyDate concode_elem_sep void addMonthsToDate concode_elem_sep int getDaysBetween concode_elem_sep int getStartingDayOfWeek concode_elem_sep void setToFirstDayOfMonth concode_elem_sep boolean isWeekend concode_el... | void function ( Date arg0 , int arg1 ) { arg0 . setDate ( arg0 . getDate ( ) + arg1 ) ; } |
10,058 | serialize an instance , restore it , and check for equality . concode_field_sep PlotChangeEvent lastEvent concode_field_sep void plotChanged concode_elem_sep void testScaleListener concode_elem_sep void testCloning concode_elem_sep void testBackgroundListener concode_elem_sep void testFrameListener concode_elem_sep voi... | void function ( ) { DialPlot loc0 = new DialPlot ( ) ; DialPlot loc1 = ( DialPlot ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; } |
10,059 | returns the total ara of this rectangle concode_field_sep double top concode_elem_sep double left concode_elem_sep double bottom concode_elem_sep double right concode_field_sep Rectangle add concode_elem_sep boolean intersects concode_elem_sep boolean intersects concode_elem_sep Rectangle subtract concode_elem_sep Vect... | double function ( ) { return ( left - right ) * ( top - bottom ) ; } |
10,060 | sets the class p k of this trash version . concode_field_sep TrashVersion _trashVersion concode_field_sep long getClassNameId concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes c... | void function ( long arg0 ) { _trashVersion . setClassPK ( arg0 ) ; } |
10,061 | sets the system-wide javalayer hook . concode_field_sep JavaLayerHook hook concode_field_sep void serialize concode_elem_sep Object deserializeArrayResource concode_elem_sep InputStream getResourceAsStream concode_elem_sep JavaLayerHook getHook concode_elem_sep Object deserializeArray concode_elem_sep Object deserializ... | void function ( JavaLayerHook arg0 ) { hook = arg0 ; } |
10,062 | constructs a new string by decoding the specified array of bytes using the given charset . this method catches unsupportedencodingexception and re-throws it as illegalstateexception , which should never happen for a required charset name . use this method when the encoding is required to be in the jre . concode_field_s... | String function ( byte [ ] arg0 , String arg1 ) { if ( arg0 == null ) { return null ; } try { return new String ( arg0 , arg1 ) ; } catch ( UnsupportedEncodingException loc0 ) { throw StringUtils . newIllegalStateException ( arg1 , loc0 ) ; } } |
10,063 | sets the value of the newreleases property . concode_field_sep NewReleases newReleases concode_elem_sep Request request concode_elem_sep TopSellers topSellers concode_elem_sep String cartId concode_elem_sep Price subTotal concode_elem_sep SimilarViewedProducts similarViewedProducts concode_elem_sep String purchaseURL c... | void function ( NewReleases arg0 ) { this . newReleases = arg0 ; } |
10,064 | converts an array of lambda expressions into an array of their evaluation results . concode_field_sep PlaceHolder placeHolder concode_field_sep Object get concode_elem_sep Message get concode_elem_sep Message getMessage | Object [ ] function ( final Supplier < ? > ... arg0 ) { if ( arg0 == null ) { return null ; } final Object [ ] loc0 = new Object [ arg0 . length ] ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { loc0 [ loc1 ] = get ( arg0 [ loc1 ] ) ; } return loc0 ; } |
10,065 | sets the sheetname . concode_field_sep String thousandSeparator concode_elem_sep String lastColumn concode_elem_sep boolean advancedSeparator concode_elem_sep boolean dieOnError concode_elem_sep boolean selectAllSheets concode_elem_sep ArrayList sheetsList concode_elem_sep String sheetName concode_elem_sep String first... | void function ( String arg0 ) { this . sheetName = arg0 ; } |
10,066 | return x = x y where the multiplication is done modulo 65537 0x10001 as defined in the idea specification and a zero input is taken to be 65536 0x10000 . concode_field_sep int BLOCK_SIZE concode_elem_sep int[] workingKey concode_elem_sep int MASK concode_elem_sep int BASE concode_field_sep void wordToBytes concode_elem... | int function ( int arg0 , int arg1 ) { if ( arg0 == 0 ) { arg0 = ( BASE - arg1 ) ; } else if ( arg1 == 0 ) { arg0 = ( BASE - arg0 ) ; } else { int loc0 = arg0 * arg1 ; arg1 = loc0 & MASK ; arg0 = loc0 >>> 16 ; arg0 = arg1 - arg0 + ( ( arg1 < arg0 ) ? 1 : 0 ) ; } return arg0 & MASK ; } |
10,067 | when values change event occures on date2 then we reset the effect so the user can see the changed value more easily . concode_field_sep Date date2 concode_elem_sep Effect valueChangeEffect2 concode_elem_sep Date date1 concode_elem_sep Effect valueChangeEffect concode_field_sep Date getDate1 concode_elem_sep void effec... | void function ( ValueChangeEvent arg0 ) { valueChangeEffect2 . setFired ( false ) ; } |
10,068 | returns the optimal primal solution to this linear program . concode_field_sep double[][] a concode_elem_sep double EPSILON concode_elem_sep int[] basis concode_elem_sep int M concode_elem_sep int N concode_field_sep void test concode_elem_sep boolean isDualFeasible concode_elem_sep void show concode_elem_sep int minRa... | double [ ] function ( ) { double [ ] loc0 = new double [ N ] ; for ( int loc1 = 0 ; loc1 < M ; loc1 ++ ) if ( basis [ loc1 ] < N ) loc0 [ basis [ loc1 ] ] = a [ loc1 ] [ M + N ] ; return loc0 ; } |
10,069 | adds the service component to the database . also notifies the appropriate model listeners . concode_field_sep ServiceComponentLocalService _serviceComponentLocalService concode_field_sep void upgradeDB concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep c... | com . liferay . portal . kernel . model . ServiceComponent function ( com . liferay . portal . kernel . model . ServiceComponent arg0 ) { return _serviceComponentLocalService . addServiceComponent ( arg0 ) ; } |
10,070 | gets issue . concode_field_sep String startPage concode_elem_sep String itemVolume concode_elem_sep String bibId concode_elem_sep String customerCode concode_elem_sep Integer requestId concode_elem_sep String requestNotes concode_elem_sep String chapterTitle concode_elem_sep String trackingId concode_elem_sep String ex... | String function ( ) { return issue ; } |
10,071 | the method uses the class level cache to look up for entries . concode_field_sep PlaceHolder placeHolder concode_field_sep String getAddress5 concode_elem_sep String getAddress2 concode_elem_sep String getAddress3 concode_elem_sep String getAddress1 concode_elem_sep String getAddress | String function ( final Customer arg0 ) { return arg0 . getAddress ( ) ; } |
10,072 | checks if text is empty characters < = space concode_field_sep PlaceHolder placeHolder concode_field_sep String arrayToString concode_elem_sep String toZeroPaddedString concode_elem_sep int rTrimSize concode_elem_sep String[] split concode_elem_sep String getList concode_elem_sep String getList concode_elem_sep String ... | boolean function ( String arg0 ) { int loc0 = arg0 == null ? 0 : arg0 . length ( ) ; while ( loc0 > 0 ) { if ( arg0 . charAt ( -- loc0 ) > ' ' ) { return false ; } } return true ; } |
10,073 | finds files that should be removed . concode_field_sep String URL_PREFIX concode_field_sep List<String> findNew concode_elem_sep List<File> findFiles concode_elem_sep HashMap<String,String> readLocalData concode_elem_sep HashMap<String,String> downloadAndParseUpdateData concode_elem_sep void downloadAndUpdate concode_e... | List < String > function ( HashMap < String , String > arg0 , HashMap < String , String > arg1 ) { ArrayList < String > loc0 = new ArrayList < > ( ) ; for ( String loc1 : arg0 . keySet ( ) ) { if ( ! arg1 . containsKey ( loc1 ) ) { loc0 . add ( loc1 ) ; } } return loc0 ; } |
10,074 | ccstrict can block empty urn . concode_field_sep PlaceHolder placeHolder concode_field_sep void canDecodeAnonymousIdentity concode_elem_sep void blocksInvalidUrn concode_elem_sep void passesValid | void function ( ) { new CcStrict ( new CcPlain ( ) ) . encode ( new Identity . Simple ( "srini_string" ) ) ; } |
10,075 | sends an image file to the response concode_field_sep Map<String,String> MIME_TYPES concode_field_sep void addContentLenth concode_elem_sep void addContentLenth concode_elem_sep void addLastModified concode_elem_sep void addLastModified concode_elem_sep void addContentType concode_elem_sep String getContentType concode... | void function ( Path arg0 , CacheControl arg1 , HttpServletResponse arg2 ) { addContentType ( arg0 , arg2 ) ; addAccessControlAllowOrigin ( arg2 ) ; arg1 . addHeaders ( arg2 ) ; addContentLenth ( arg0 , arg2 ) ; Files . copy ( arg0 , arg2 . getOutputStream ( ) ) ; } |
10,076 | return the http response headers . return values only when source is not from cache source == network , returns empty list otherwise . concode_field_sep byte[] data concode_elem_sep Date time concode_elem_sep int FILE concode_elem_sep String error concode_elem_sep long duration concode_elem_sep File file concode_elem_s... | List < Header > function ( ) { if ( headers == null ) return Collections . emptyList ( ) ; return Arrays . asList ( headers ) ; } |
10,077 | adds two points . concode_field_sep double x concode_elem_sep double z concode_field_sep Vector2D setX concode_elem_sep Vector2D setX concode_elem_sep double distance concode_elem_sep Vector toVector concode_elem_sep Vector toVector concode_elem_sep boolean containedWithin concode_elem_sep boolean isCollinearWith conco... | Vector2D function ( int arg0 , int arg1 ) { return new Vector2D ( this . x + arg0 , this . z + arg1 ) ; } |
10,078 | getter for reply code concode_field_sep String replyText concode_elem_sep String replyCode concode_field_sep String getReplyText | String function ( ) { return replyCode ; } |
10,079 | sets the password . concode_field_sep String password concode_elem_sep String userName concode_field_sep String getPassword concode_elem_sep void setUserName concode_elem_sep String getUserName | void function ( String arg0 ) { this . password = arg0 ; } |
10,080 | get the type of the child shape . you can use this to down cast to the concrete shape . concode_field_sep boolean m_isSensor concode_elem_sep Shape m_shape concode_elem_sep Object m_userData concode_elem_sep float m_density concode_elem_sep Fixture m_next concode_elem_sep float m_restitution concode_elem_sep AABB pool1... | ShapeType function ( ) { return m_shape . getType ( ) ; } |
10,081 | returns true if the page 's etag header indicates it is the same as the copy held by the client as indicated by the request 's if-none-match header . concode_field_sep int GZIP_MAGIC_NUMBER_BYTE_1 concode_elem_sep Map<String,Serializable> requestAttributes concode_elem_sep long timeToLiveSeconds concode_elem_sep long O... | boolean function ( HttpServletRequest arg0 ) { String loc0 = arg0 . getHeader ( HttpHeaders . IF_NONE_MATCH ) ; String loc1 = getHeader ( HttpHeaders . ETAG ) ; if ( ! StringUtils . hasLength ( loc0 ) || ! StringUtils . hasLength ( loc1 ) ) { return false ; } return loc0 == loc1 ; } |
10,082 | determine if a file or directory exists . concode_field_sep String LOG_TAG concode_field_sep boolean testSaveLocationExists concode_elem_sep File constructFilePaths concode_elem_sep long getFreeExternalStorageSpace concode_elem_sep long getFreeSpaceInBytes | boolean function ( String arg0 ) { boolean loc0 ; if ( ( testSaveLocationExists ( ) ) && ( ! arg0 . equals ( "srini_string" ) ) ) { File loc1 = Environment . getExternalStorageDirectory ( ) ; File loc2 = constructFilePaths ( loc1 . toString ( ) , arg0 ) ; loc0 = loc2 . exists ( ) ; } else { loc0 = false ; } return loc0... |
10,083 | 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 getService ( ) . arg0 ( arg0 , arg1 , arg2 , arg3 ) ; } |
10,084 | checks if given vec3i is inside of structureboundingbox concode_field_sep int minY concode_elem_sep int minX concode_elem_sep int maxZ concode_elem_sep int maxY concode_elem_sep int maxX concode_elem_sep int minZ concode_field_sep StructureBoundingBox createProper concode_elem_sep StructureBoundingBox getNewBoundingBox... | boolean function ( Vec3i arg0 ) { return arg0 . getX ( ) >= this . minX && arg0 . getX ( ) <= this . maxX && arg0 . getZ ( ) >= this . minZ && arg0 . getZ ( ) <= this . maxZ && arg0 . getY ( ) >= this . minY && arg0 . getY ( ) <= this . maxY ; } |
10,085 | called by the system when the user grants permissions concode_field_sep Activity activity concode_elem_sep CordovaPlugin permissionResultCallback concode_elem_sep int resultCode concode_elem_sep int activityResultRequestCode concode_elem_sep Intent intent concode_elem_sep Bundle savedPluginState concode_elem_sep String... | void function ( int arg0 , String [ ] arg1 , int [ ] arg2 ) { if ( permissionResultCallback != null ) { permissionResultCallback . onRequestPermissionResult ( arg0 , arg1 , arg2 ) ; permissionResultCallback = null ; } } |
10,086 | set the request factory that this accessor uses for obtaining clienthttprequest httprequests . concode_field_sep Log logger concode_elem_sep ClientHttpRequestFactory requestFactory concode_field_sep ClientHttpRequestFactory getRequestFactory concode_elem_sep ClientHttpRequest createRequest | void function ( ClientHttpRequestFactory arg0 ) { Assert . notNull ( arg0 , "srini_string" ) ; this . requestFactory = arg0 ; } |
10,087 | clears all values from the collection . concode_field_sep List data concode_elem_sep long serialVersionUID concode_field_sep Comparable getKey concode_elem_sep Object getObject concode_elem_sep Object getObject concode_elem_sep int getIndex concode_elem_sep void removeValue concode_elem_sep void removeValue concode_ele... | void function ( ) { this . data . clear ( ) ; } |
10,088 | a range key element is treated as a secondary key used in conjunction with the primary key , and can be a string or a number , and is only used for hash-and-range primary keys . the value can be string , number , stringset , numberset . concode_field_sep KeySchemaElement rangeKeyElement concode_elem_sep KeySchemaElemen... | void function ( KeySchemaElement arg0 ) { this . rangeKeyElement = arg0 ; } |
10,089 | if the data stream is taken from a pdf , there may be some global data . pass any global data in here . call this method before decodejbig2 ... concode_field_sep JBIG2StreamDecoder streamDecoder concode_field_sep int getNumberOfPages concode_elem_sep void cleanupPostDecode concode_elem_sep Segment findSegment concode_e... | void function ( byte [ ] arg0 ) { streamDecoder . setGlobalData ( arg0 ) ; } |
10,090 | a flag that indicates whether there are more items to return . if your results were truncated , you can make a subsequent pagination request using the marker request parameter to retrieve more items . note that iam might return fewer than the maxitems number of results even when there are more results available . we re... | void function ( Boolean arg0 ) { this . isTruncated = arg0 ; } |
10,091 | taps on coordinate concode_field_sep ImageMagic search concode_elem_sep String screenSize concode_elem_sep AppiumDriver driver concode_elem_sep Dimension size concode_elem_sep DateFormat dateFormat concode_elem_sep int SHORT_SLEEP concode_elem_sep String destDir concode_elem_sep TouchAction action concode_elem_sep int ... | void function ( Point arg0 ) { driver . tap ( 1 , arg0 . x , arg0 . y , 1 ) ; sleep ( SHORT_SLEEP ) ; } |
10,092 | gets the value of the style property . concode_field_sep CTOfficeArtExtensionList extLst concode_elem_sep CTGvmlTextShape txSp concode_elem_sep CTShapeProperties spPr concode_elem_sep CTShapeStyle style concode_elem_sep CTGvmlShapeNonVisual nvSpPr concode_field_sep CTShapeProperties getSpPr concode_elem_sep void setSpP... | CTShapeStyle function ( ) { return style ; } |
10,093 | the id of the instance . concode_field_sep String output concode_elem_sep String instanceId concode_elem_sep java.util.Date timestamp concode_field_sep String getInstanceId concode_elem_sep String getDecodedOutput concode_elem_sep GetConsoleOutputResult withTimestamp concode_elem_sep java.util.Date getTimestamp concode... | GetConsoleOutputResult function ( String arg0 ) { setInstanceId ( arg0 ) ; return this ; } |
10,094 | clears all bits sets to false . concode_field_sep int width concode_elem_sep int[] bits concode_elem_sep int height concode_elem_sep int rowSize concode_field_sep void setRegion concode_elem_sep void set concode_elem_sep int[] getEnclosingRectangle concode_elem_sep int getWidth concode_elem_sep BitArray getRow concode_... | void function ( ) { int loc0 = bits . length ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { bits [ loc1 ] = 0 ; } } |
10,095 | sets the group id of this tasks entry . concode_field_sep TasksEntry _tasksEntry concode_field_sep void setResolverUserId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_ele... | void function ( long arg0 ) { _tasksEntry . setGroupId ( arg0 ) ; } |
10,096 | finds the next index around the triangle . index may be an edge or vertex index . concode_field_sep QuadEdge[] edge concode_elem_sep List triangles concode_elem_sep Object data concode_field_sep void setData concode_elem_sep int getEdgeIndex concode_elem_sep int getEdgeIndex concode_elem_sep Polygon getGeometry concode... | int function ( int arg0 ) { return arg0 = ( arg0 + 1 ) % 3 ; } |
10,097 | used by the whitebox gui to tell if this plugin is still running . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep boolean amIActive concode_field_sep String ... | boolean function ( ) { return amIActive ; } |
10,098 | mutator method for setting the game state to gamestate.win concode_field_sep int gameWidth concode_elem_sep boolean paused concode_elem_sep TreeMap<String,SpriteType> spriteTypes concode_elem_sep int gameHeight concode_elem_sep int lastMouseX concode_elem_sep boolean debugTextRenderingActive concode_elem_sep int debugT... | void function ( ) { gameState = MiniGameState . WIN ; } |
10,099 | returns true , if the optional minor component is defined explicitly , otherwise false . undefined components has the value 0 . concode_field_sep int sub concode_elem_sep VersionNumber zeroVersion concode_elem_sep int major concode_elem_sep int minor concode_elem_sep java.util.regex.Pattern defPattern concode_elem_sep ... | boolean function ( ) { return 0 != ( HAS_MINOR & state ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.