idx int64 0 25k | question stringlengths 68 5.61k | target stringlengths 21 500 |
|---|---|---|
2,800 | returns a composed predicate that represents a short-circuiting logical and of this predicate and another . when evaluating the composed predicate , if this predicate is false , then the other predicate is not evaluated . any exceptions thrown during evaluation of either predicate are relayed to the caller ; if evaluat... | DistributedPredicate < T > function ( DistributedPredicate < ? super T > arg0 ) { Objects . requireNonNull ( arg0 ) ; return ( t ) -> test ( t ) && arg0 . test ( t ) ; } |
2,801 | write the first n literal words negated to the target bitmap . does not discard the words or perform iteration . concode_field_sep EWAHIterator iterator concode_elem_sep BufferedRunningLengthWord brlw concode_elem_sep int literalWordStartPosition concode_elem_sep Buffer buffer concode_field_sep boolean next concode_ele... | void function ( int arg0 , BitmapStorage arg1 ) { arg1 . addStreamOfNegatedLiteralWords ( this . buffer , this . literalWordStartPosition , arg0 ) ; } |
2,802 | get colors . get interpolated colors if created with polygonsymbolizerfactory #polygonsymbolizerfactory int , color , color or get colors from palette if created with polygonsymbolizerfactory #polygonsymbolizerfactory int , int concode_field_sep ArrayList<Color> _colors concode_elem_sep StyleBuilder _styleBuilder conco... | ArrayList < Color > function ( ) { return _colors ; } |
2,803 | give a line saying that something is '' done '' . concode_field_sep long startTime concode_elem_sep long start concode_elem_sep NumberFormat nf concode_field_sep String toSecondsString concode_elem_sep String toSecondsString concode_elem_sep void doing concode_elem_sep long stop concode_elem_sep long stop concode_elem_... | void function ( String arg0 ) { System . err . println ( arg0 + "srini_string" + toSecondsString ( ) + "srini_string" ) ; } |
2,804 | a single preview frame will be returned to the handler supplied . the data will arrive as byte in the message.obj field , with width and height encoded as message.arg1 and message.arg2 , respectively . concode_field_sep int MAX_FRAME_WIDTH concode_elem_sep String TAG concode_elem_sep int requestedFramingRectHeight conc... | void function ( Handler arg0 , int arg1 ) { OpenCamera loc0 = camera ; if ( loc0 != null && previewing ) { previewCallback . setHandler ( arg0 , arg1 ) ; loc0 . getCamera ( ) . setOneShotPreviewCallback ( previewCallback ) ; } } |
2,805 | appends arguments and sends this runnable for theexecution if needed . this implementation uses see submit to send this runnable for execution . concode_field_sep List<T> arguments concode_field_sep void submit concode_elem_sep List<T> flush concode_elem_sep void run concode_elem_sep void run | void function ( T ... arg0 ) { boolean loc0 = true ; if ( arguments == null ) { loc0 = false ; arguments = new ArrayList < T > ( ) ; } Collections . addAll ( arguments , arg0 ) ; if ( ! loc0 ) { submit ( ) ; } } |
2,806 | searches the input distribution for the occurrence of the input action and returns its probability . concode_field_sep boolean rolloutsDecomposeOptions concode_field_sep Episode rollout concode_elem_sep Episode rollout concode_elem_sep Episode rollout concode_elem_sep Episode rollout concode_elem_sep void followAndReco... | double function ( Action arg0 , List < ActionProb > arg1 ) { if ( arg1 == null || arg1 . isEmpty ( ) ) { throw new RuntimeException ( "srini_string" ) ; } for ( ActionProb loc0 : arg1 ) { if ( loc0 . ga . equals ( arg0 ) ) { return loc0 . pSelection ; } } return 0. ; } |
2,807 | gets the value of the sid property . concode_field_sep String obLoc concode_elem_sep BigInteger seqNum concode_elem_sep String d2ID concode_elem_sep String obSub concode_elem_sep List<HopGrpBlockT> hop concode_elem_sep String d2Sub concode_elem_sep String d2Loc concode_elem_sep XMLGregorianCalendar origSnt concode_elem... | String function ( ) { return sid ; } |
2,808 | get a reference to the contentprovider that is associated with thisclient . if the contentprovider is running in a different process thennull will be returned . this can be used if you know you are running in the same process as a provider , and want to get direct access to its implementation details . concode_field_se... | ContentProvider function ( ) { return ContentProvider . coerceToLocalContentProvider ( mContentProvider ) ; } |
2,809 | returns the child node with the given name from this branch node , creating a new child node if necessary . concode_field_sep StopWatch watch concode_elem_sep String name concode_elem_sep HashMap<String,StopWatchTreeNode> children concode_elem_sep Provider<StopWatch> watchProvider concode_field_sep Iterable<StopWatchTr... | StopWatchTreeNode function ( String arg0 ) { StopWatchTreeNode loc0 = children . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new StopWatchTreeNode ( watchProvider , arg0 ) ; children . put ( arg0 , loc0 ) ; } return loc0 ; } |
2,810 | switches from the running state into the not running state . the time since the last call to start is added to the accumulated time . time measurement is hence suspended until the next call of start . concode_field_sep boolean isRunning concode_elem_sep long nanoAccumulatedTime concode_elem_sep long nanoLastStartCall c... | void function ( ) { if ( ! isRunning ) throw new RuntimeException ( "srini_string" ) ; nanoAccumulatedTime += System . nanoTime ( ) - nanoLastStartCall ; isRunning = false ; } |
2,811 | initializes a specific contentencoder implementation based on theproperties of the given httpmessage . concode_field_sep HttpRequest request concode_elem_sep IOSession session concode_elem_sep boolean hasBufferedOutput concode_elem_sep ContentLengthStrategy outgoingContentStrategy concode_elem_sep boolean hasBufferedIn... | void function ( final HttpMessage arg0 ) { long loc0 = this . outgoingContentStrategy . determineLength ( arg0 ) ; this . contentEncoder = createContentEncoder ( loc0 , this . session . channel ( ) , this . outbuf , this . outTransportMetrics ) ; } |
2,812 | sets the topic id . concode_field_sep String mode concode_elem_sep Integer topicId concode_elem_sep Logger LOGGER concode_elem_sep Integer retryCount concode_elem_sep HttpAgent httpAgentImpl concode_elem_sep String topic concode_elem_sep String callbackUrl concode_elem_sep Long retryInterval concode_elem_sep HubSubscri... | void function ( Integer arg0 ) { this . topicId = arg0 ; } |
2,813 | obtains value of the coreconnectionpnames #stale_connection_check parameter . if not set , defaults to true . concode_field_sep PlaceHolder placeHolder concode_field_sep void setSoReuseaddr concode_elem_sep int getLinger concode_elem_sep void setTcpNoDelay concode_elem_sep void setConnectionTimeout concode_elem_sep voi... | boolean function ( final HttpParams arg0 ) { Args . notNull ( arg0 , "srini_string" ) ; return arg0 . getBooleanParameter ( CoreConnectionPNames . STALE_CONNECTION_CHECK , true ) ; } |
2,814 | implements pathhandler #curvetocubicrel float , float , float , float , float , float . concode_field_sep float[] p concode_elem_sep LinkedList cs concode_elem_sep LinkedList ps concode_elem_sep short[] c concode_elem_sep int cindex concode_elem_sep int pcount concode_elem_sep int pindex concode_elem_sep int ccount con... | void function ( float arg0 , float arg1 , float arg2 , float arg3 , float arg4 , float arg5 ) { command ( SVGPathSeg . PATHSEG_CURVETO_CUBIC_REL ) ; param ( arg0 ) ; param ( arg1 ) ; param ( arg2 ) ; param ( arg3 ) ; param ( arg4 ) ; param ( arg5 ) ; } |
2,815 | return the array of interceptors to apply in the given order . concode_field_sep Object handler concode_elem_sep List<HandlerInterceptor> interceptorList concode_elem_sep HandlerInterceptor[] interceptors concode_field_sep void addInterceptor concode_elem_sep List<HandlerInterceptor> initInterceptorList concode_elem_se... | HandlerInterceptor [ ] function ( ) { if ( this . interceptors == null && this . interceptorList != null ) { this . interceptors = this . interceptorList . toArray ( new HandlerInterceptor [ this . interceptorList . size ( ) ] ) ; } return this . interceptors ; } |
2,816 | reloads a class . concode_field_sep VirtualMachine jvm concode_elem_sep MethodEntryRequest request concode_elem_sep String HOST_NAME concode_elem_sep String TRIGGER_NAME concode_elem_sep Trigger trigger concode_elem_sep Map newClassFiles concode_field_sep ReferenceType toRefType concode_elem_sep EventSet waitEvent conc... | void function ( String arg0 , byte [ ] arg1 ) { ReferenceType loc0 = toRefType ( arg0 ) ; Map loc1 = new HashMap ( ) ; loc1 . put ( loc0 , arg1 ) ; reload2 ( loc1 , arg0 ) ; } |
2,817 | returns the group id of this subscription . concode_field_sep Subscription _subscription concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_... | long function ( ) { return _subscription . getGroupId ( ) ; } |
2,818 | retrieves the message id concode_field_sep int[] counts concode_elem_sep int flags concode_elem_sep int LENGTH concode_elem_sep int id concode_elem_sep Random random concode_field_sep void init concode_elem_sep void setFlag concode_elem_sep boolean validFlag concode_elem_sep void unsetFlag concode_elem_sep void incCoun... | int function ( ) { if ( id >= 0 ) return id ; synchronized ( this ) { if ( id < 0 ) id = random . nextInt ( 0xffff ) ; return id ; } } |
2,819 | removes and returns the last item . concode_field_sep boolean ordered concode_elem_sep int size concode_elem_sep float[] items concode_field_sep void mul concode_elem_sep void insert concode_elem_sep float random concode_elem_sep boolean removeAll concode_elem_sep void truncate concode_elem_sep int hashCode concode_ele... | float function ( ) { return items [ -- size ] ; } |
2,820 | get the weather units imperial or metric . concode_field_sep Map<String,Object> weather concode_elem_sep String id concode_elem_sep String units concode_field_sep Map<String,Object> getWeather concode_elem_sep void setWeather concode_elem_sep void setId concode_elem_sep String getId concode_elem_sep void setUnits | String function ( ) { return units ; } |
2,821 | returns the name of this entry the domain . concode_field_sep int TYPE_LOC concode_elem_sep int CLASS_CSNET concode_elem_sep int CLASS_HESIOD concode_elem_sep int TYPE_MX concode_elem_sep int TYPE_TSIG concode_elem_sep int type concode_elem_sep int TYPE_OPT concode_elem_sep int TYPE_NS concode_elem_sep int TYPE_IXFR co... | String function ( ) { return name ; } |
2,822 | requests that the current operation be canceled if it is still running . this does not block until the cancellation is successful . concode_field_sep String cancelReason concode_field_sep boolean isCancelled concode_elem_sep String getCancellationReason | void function ( String arg0 ) { this . cancelReason = arg0 ; } |
2,823 | increase the reference count by one because the holder has been requested i.e. someone requested the resource held by it . concode_field_sep int referenceCount concode_elem_sep boolean rollbackOnly concode_elem_sep boolean synchronizedWithTransaction concode_elem_sep boolean isVoid concode_elem_sep Date deadline concod... | void function ( ) { this . referenceCount ++ ; } |
2,824 | converts android bitmap to opencv mat . this function converts an android bitmap image to the opencv mat . ` argb_8888 ' and ` rgb_565 ' input bitmap formats are supported . the output mat is always created of the same size as the input bitmap and of the ` cv_8uc4 ' type , it keeps the image in rgba format . this funct... | void function ( Bitmap arg0 , Mat arg1 , boolean arg2 ) { if ( arg0 == null ) throw new java . lang . IllegalArgumentException ( "srini_string" ) ; if ( arg1 == null ) throw new java . lang . IllegalArgumentException ( "srini_string" ) ; nBitmapToMat2 ( arg0 , arg1 . nativeObj , arg2 ) ; } |
2,825 | calculates the value of mradianrotation in degrees concode_field_sep double mRadianRotation concode_elem_sep double mLastDistance concode_elem_sep Gyro mGyroSensor concode_elem_sep double mPositionY concode_elem_sep double mPositionX concode_elem_sep Logger mLogger concode_elem_sep double mInitialRotationDegrees concod... | double function ( ) { return Math . toDegrees ( this . mRadianRotation ) ; } |
2,826 | gets the tags count in the ifd . concode_field_sep int mIfdId concode_elem_sep Map<Short,ExifTag> mExifTags concode_elem_sep int mOffsetToNextIfd concode_elem_sep int[] sIfds concode_field_sep void setOffsetToNextIfd concode_elem_sep int[] getIfds concode_elem_sep boolean checkCollision concode_elem_sep boolean equals ... | int function ( ) { return mExifTags . size ( ) ; } |
2,827 | load the version properties from a resource . concode_field_sep Version instance concode_elem_sep Properties props concode_field_sep String getProperty concode_elem_sep Map getProperties concode_elem_sep String toString | Properties function ( ) { props = new Properties ( ) ; try { InputStream loc0 = Version . class . getResourceAsStream ( "srini_string" ) ; props . load ( loc0 ) ; loc0 . close ( ) ; } catch ( Exception loc0 ) { throw new Error ( "srini_string" ) ; } return props ; } |
2,828 | called when the user modifies the drop gesture . this is often the case when additional mouse or key events are received during the drag . concode_field_sep PlaceHolder placeHolder concode_field_sep void dragMouseMoved concode_elem_sep void dragEnter concode_elem_sep void dragDropEnd concode_elem_sep void dragOver conc... | void function ( DragSourceDragEvent arg0 ) { } |
2,829 | test of sd method , of class binomialdistribution . concode_field_sep PlaceHolder placeHolder concode_field_sep void setUpClass concode_elem_sep void testVar concode_elem_sep void testEntropy concode_elem_sep void testCdf concode_elem_sep void testMean concode_elem_sep void setUp concode_elem_sep void tearDownClass con... | void function ( ) { System . out . println ( "srini_string" ) ; BinomialDistribution loc0 = new BinomialDistribution ( 100 , 0.3 ) ; loc0 . rand ( ) ; assertEquals ( Math . sqrt ( 21.0 ) , loc0 . sd ( ) , 1E-7 ) ; } |
2,830 | sync the file system config file with the current client state concode_field_sep Properties backup concode_elem_sep File baseDirectory concode_elem_sep ClientState clientState concode_elem_sep Set changes concode_elem_sep Properties state concode_elem_sep HashMap listeners concode_field_sep ClientState getClientState c... | void function ( ) { try { FileOutputStream loc0 = new FileOutputStream ( new File ( getBaseDirectory ( ) , "srini_string" ) ) ; state . save ( loc0 , "srini_string" ) ; loc0 . close ( ) ; } catch ( Exception loc0 ) { loc0 . printStackTrace ( ) ; } } |
2,831 | the actual data to put into central directory data - without header-id or length specifier . concode_field_sep ZipShort TIME_ATTR_SIZE concode_elem_sep long EPOCH_OFFSET concode_elem_sep ZipEightByteInteger createTime concode_elem_sep ZipShort TIME_ATTR_TAG concode_elem_sep ZipEightByteInteger modifyTime concode_elem_s... | byte [ ] function ( ) { return getLocalFileDataData ( ) ; } |
2,832 | prints an int field . concode_field_sep com.petrivirkkula.toolbox.logger.Logger LOGGER concode_elem_sep long startTime concode_elem_sep int totalEventCount concode_elem_sep SortedMap<String,Integer> handlerStats concode_elem_sep int totalHandlerCount concode_elem_sep long serialVersionUID concode_elem_sep String RCSID ... | void function ( Writer arg0 , String arg1 , int arg2 ) { printField ( arg0 , arg1 , "srini_string" + arg2 ) ; } |
2,833 | retrieve the user-supplied column - > property mappings . concode_field_sep LockMode lockMode concode_elem_sep int hashCode concode_elem_sep String alias concode_elem_sep Map<String,String[]> propertyResults concode_field_sep LockMode getLockMode concode_elem_sep int hashCode concode_elem_sep boolean equals concode_ele... | Map < String , String [ ] > function ( ) { return Collections . unmodifiableMap ( propertyResults ) ; } |
2,834 | gets the result item by coercing it to an short . concode_field_sep Object resultObject concode_field_sep Object getObject concode_elem_sep byte getByte concode_elem_sep Property<V> getProperty concode_elem_sep double getDouble concode_elem_sep String getString concode_elem_sep float getFloat concode_elem_sep Vertex ge... | short function ( ) { return Short . parseShort ( resultObject . toString ( ) ) ; } |
2,835 | print an ast node using the given code writer . the codewriter.flush method must be called after this method to ensure code is output . use printast rather than this method to print the entire ast ; this method should only be called by nodes to print their children . concode_field_sep boolean printType concode_elem_sep... | void function ( Node arg0 , Node arg1 , CodeWriter arg2 ) { if ( arg1 != null ) { arg1 . del ( ) . prettyPrint ( arg2 , this ) ; } } |
2,836 | sets the type of the change . concode_field_sep ServiceObject serviceObject concode_elem_sep ChangeType changeType concode_elem_sep ServiceId id concode_field_sep ServiceId createId concode_elem_sep void setServiceObject concode_elem_sep void setId concode_elem_sep ServiceObject getServiceObject concode_elem_sep Servic... | void function ( ChangeType arg0 ) { this . changeType = arg0 ; } |
2,837 | notifies controller of the received touch event . concode_field_sep Listener mListener concode_elem_sep TransformGestureDetector mGestureDetector concode_elem_sep boolean mIsRotationEnabled concode_elem_sep boolean mIsTranslationEnabled concode_elem_sep float[] mTempValues concode_elem_sep float mMinScaleFactor concode... | boolean function ( MotionEvent arg0 ) { if ( mIsEnabled ) { return mGestureDetector . onTouchEvent ( arg0 ) ; } return false ; } |
2,838 | sets the value of the createtimelowerbound property . concode_field_sep String owner concode_elem_sep XMLGregorianCalendar createTimeLowerBound concode_elem_sep XMLGregorianCalendar createTimeUpperBound concode_elem_sep int limit concode_elem_sep Integer typeId concode_elem_sep String tagLabel concode_elem_sep Integer ... | void function ( XMLGregorianCalendar arg0 ) { this . createTimeLowerBound = arg0 ; } |
2,839 | set the value related to the column : sectionhasstaffhasrole . concode_field_sep String sectionName concode_elem_sep Date modifiedTime concode_elem_sep Set<SectionHasStaffHasRole> sectionHasStaffHasRoles concode_elem_sep Map<Serializable,Integer> SAVED_HASHES concode_elem_sep Integer hashCode concode_elem_sep long seri... | void function ( final Set < SectionHasStaffHasRole > arg0 ) { this . sectionHasStaffHasRoles = arg0 ; } |
2,840 | updates the kaleo condition in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep KaleoConditionLocalService _service concode_field_sep com.liferay.portal.workflow.kaleo.model.KaleoCondition fetchKaleoCondition concode_elem_sep com.liferay.portal.workflo... | com . liferay . portal . workflow . kaleo . model . KaleoCondition function ( com . liferay . portal . workflow . kaleo . model . KaleoCondition arg0 ) { return getService ( ) . updateKaleoCondition ( arg0 ) ; } |
2,841 | gets the name of the attribute using which value should be obtained . concode_field_sep ArgumentType argumentType concode_elem_sep String name concode_elem_sep Class<?> fieldType concode_field_sep void setName concode_elem_sep void setArgumentType concode_elem_sep void setFieldType concode_elem_sep Class<?> getFieldTyp... | String function ( ) { return name ; } |
2,842 | gets a date/time formatter instance using the specified style , time zone and locale . concode_field_sep ConcurrentMap<MultipartKey,F> cInstanceCache concode_elem_sep Object[] keys concode_elem_sep int hashCode concode_elem_sep int NONE concode_elem_sep ConcurrentMap<MultipartKey,String> cDateTimeInstanceCache concode_... | F function ( final int arg0 , final int arg1 , final TimeZone arg2 , final Locale arg3 ) { return getDateTimeInstance ( Integer . valueOf ( arg0 ) , Integer . valueOf ( arg1 ) , arg2 , arg3 ) ; } |
2,843 | parses the csv input according to the given format and returns the content as an array of csvrecord entries . the returned content starts at the current parse-position in the stream . concode_field_sep List<String> record concode_elem_sep long recordNumber concode_elem_sep Map<String,Integer> headerMap concode_elem_sep... | List < CSVRecord > function ( ) { final List < CSVRecord > loc0 = new ArrayList < CSVRecord > ( ) ; CSVRecord loc1 ; while ( ( loc1 = nextRecord ( ) ) != null ) { loc0 . add ( loc1 ) ; } return loc0 ; } |
2,844 | reads the raw packet data from the data stream . concode_field_sep IBlockState blockState concode_elem_sep BlockPos blockPosition concode_field_sep BlockPos getBlockPosition concode_elem_sep void writePacketData concode_elem_sep void processPacket concode_elem_sep IBlockState getBlockState | void function ( PacketBuffer arg0 ) { this . blockPosition = arg0 . readBlockPos ( ) ; this . blockState = ( IBlockState ) Block . BLOCK_STATE_IDS . getByValue ( arg0 . readVarIntFromBuffer ( ) ) ; } |
2,845 | gets the text of the controller 's label that has evoked the event . concode_field_sep int myAction concode_elem_sep boolean isTab concode_elem_sep int TAB concode_elem_sep int UNDEFINDED concode_elem_sep int GROUP concode_elem_sep ControllerInterface<?> _myController concode_elem_sep boolean isGroup concode_elem_sep i... | String function ( ) { return ( ( Controller < ? > ) _myController ) . getLabel ( ) ; } |
2,846 | gets the value of the pid property . concode_field_sep String objItemIndexViewURL concode_elem_sep ObjectProfile.ObjModels objModels concode_elem_sep String objLastModDate concode_elem_sep String pid concode_elem_sep List<String> model concode_elem_sep String objCreateDate concode_elem_sep String objDissIndexViewURL co... | String function ( ) { return pid ; } |
2,847 | returns the delegate . concode_field_sep Object delegate concode_elem_sep long serialVersionUID concode_elem_sep ConcurrentHashMap handleCache concode_field_sep boolean isDefaultMethod concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean checkMethod concode_elem_sep Object invoke conco... | Object function ( ) { return delegate ; } |
2,848 | todo : document concode_field_sep String dfltMemPlcName concode_elem_sep int DFLT_PAGE_SIZE concode_elem_sep int pageSize concode_elem_sep MemoryPolicyConfiguration[] memPlcs concode_elem_sep long serialVersionUID concode_elem_sep long DFLT_SYS_CACHE_MEM_SIZE concode_elem_sep long DFLT_MEMORY_POLICY_SIZE concode_elem_s... | int function ( ) { return concLvl ; } |
2,849 | 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 ( ) ; } |
2,850 | start index within byte buffer of pdu this is the start of the payload data that starts after the length and the type , so the pdu actually starts two bytes earlier concode_field_sep int mDeclaredLength concode_elem_sep byte[] mBytes concode_elem_sep byte MANUFACTURER_DATA_PDU_TYPE concode_elem_sep String TAG concode_e... | int function ( ) { return mStartIndex ; } |
2,851 | refreshes configuration using the specified proxy user prefix for properties . concode_field_sep ImpersonationProvider sip concode_elem_sep String CONF_HADOOP_PROXYUSER concode_field_sep DefaultImpersonationProvider getDefaultImpersonationProvider concode_elem_sep ImpersonationProvider getInstance concode_elem_sep void... | void function ( Configuration arg0 , String arg1 ) { Preconditions . checkArgument ( arg1 != null && ! arg1 . isEmpty ( ) , "srini_string" ) ; ImpersonationProvider loc0 = getInstance ( arg0 ) ; loc0 . init ( arg1 ) ; sip = loc0 ; ProxyServers . refresh ( arg0 ) ; } |
2,852 | tktext can create a text . concode_field_sep PlaceHolder placeHolder concode_field_sep void printsResourceMultipleTimes | void function ( ) { final String loc0 = "srini_string" ; MatcherAssert . assertThat ( new RsPrint ( new TkText ( loc0 ) . act ( new RqFake ( ) ) ) . print ( ) , Matchers . equalTo ( Joiner . on ( "srini_string" ) . join ( "srini_string" , String . format ( "srini_string" , loc0 . length ( ) ) , "srini_string" , "srini_... |
2,853 | returns total size of files in the snapshot concode_field_sep String START_TIME_IN_MILLIS concode_elem_sep String PROCESSED_SIZE_IN_BYTES concode_elem_sep String TIME_IN_MILLIS concode_elem_sep String TOTAL_SIZE concode_elem_sep String STATS concode_elem_sep int numberOfFiles concode_elem_sep String NUMBER_OF_FILES con... | long function ( ) { return totalSize ; } |
2,854 | eagerly create the singleton instance , if necessary . concode_field_sep BeanFactory beanFactory concode_elem_sep Log logger concode_elem_sep T singletonInstance concode_elem_sep boolean singleton concode_elem_sep ClassLoader beanClassLoader concode_elem_sep T earlySingletonInstance concode_elem_sep boolean initialized... | void function ( ) { if ( isSingleton ( ) ) { this . initialized = true ; this . singletonInstance = createInstance ( ) ; this . earlySingletonInstance = null ; } } |
2,855 | get relative file concode_field_sep PlaceHolder placeHolder concode_field_sep String trimJarSeparator concode_elem_sep String normalizePath | String function ( final VirtualFile arg0 , final ModuleChunk arg1 , final GenerationOptions arg2 ) { final Module loc0 = arg1 . getModules ( ) [ 0 ] ; final File loc1 = arg1 . getBaseDir ( ) ; return toRelativePath ( arg0 , loc1 , BuildProperties . getModuleBasedirProperty ( loc0 ) , arg2 ) ; } |
2,856 | sets cataloging status . concode_field_sep String lastUpdatedBy concode_elem_sep Integer bibliographicId concode_elem_sep String owningInstitutionBibId concode_elem_sep Integer owningInstitutionId concode_elem_sep InstitutionEntity institutionEntity concode_elem_sep byte[] content concode_elem_sep List<HoldingsEntity> ... | void function ( String arg0 ) { this . catalogingStatus = arg0 ; } |
2,857 | receive notification of a parser warning . the default implementation does nothing . application writers may override this method in a subclass to take specific actions for each warning , such as inserting the message in a log file or printing it to the console . concode_field_sep PlaceHolder placeHolder concode_field_... | void function ( SAXParseException arg0 ) { } |
2,858 | performs op1 + = op2 . op1 must have enough place to storethe result i.e. op1.bitlength > = op2.bitlength . both should be positive i.e. op1 > = op2 . concode_field_sep PlaceHolder placeHolder concode_field_sep BigInteger add concode_elem_sep void add concode_elem_sep int[] add concode_elem_sep int unsignedArraysCompar... | void function ( BigInteger arg0 , BigInteger arg1 ) { add ( arg0 . digits , arg0 . digits , arg0 . numberLength , arg1 . digits , arg1 . numberLength ) ; arg0 . numberLength = Math . min ( Math . max ( arg0 . numberLength , arg1 . numberLength ) + 1 , arg0 . digits . length ) ; arg0 . cutOffLeadingZeroes ( ) ; arg0 . u... |
2,859 | returns the alpha values for the support vectors concode_field_sep String trueLabel concode_elem_sep String falseLabel concode_elem_sep KernelFunction<OperableStructure> kernel concode_elem_sep double[] alpha concode_elem_sep float rho concode_elem_sep int numSV concode_elem_sep OperableStructure[] supportVectors conco... | double [ ] function ( ) { return alpha ; } |
2,860 | asserts that the specified matrix is diagonal . concode_field_sep double EPS concode_field_sep void testTransverseMercator concode_elem_sep ProjectedCRS parseTransverseMercator concode_elem_sep void testKrovak | void function ( final Matrix arg0 ) { final int loc0 = arg0 . getNumRow ( ) ; final int loc1 = arg0 . getNumCol ( ) ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { for ( int loc3 = 0 ; loc3 < loc1 ; loc3 ++ ) { if ( loc3 != loc2 ) { assertEquals ( "srini_string" + loc2 + "srini_string" + loc3 , 0.0 , arg0 . getElement... |
2,861 | sets the refresh rate , if supported . concode_field_sep Rect mCurrentDisplayRect concode_elem_sep Rect mCurrentLayerStackRect concode_elem_sep DisplayAdapter mDisplayAdapter concode_elem_sep int mCurrentLayerStack concode_elem_sep Surface mCurrentSurface concode_elem_sep String mUniqueId concode_elem_sep IBinder mDisp... | void function ( float arg0 ) { } |
2,862 | return the spring environment if available . concode_field_sep ConfigurableEnvironment environment concode_field_sep placeholderType placeHolder | Environment function ( ) { return this . environment ; } |
2,863 | returns a string made up of repetitions of the specified string . concode_field_sep String eol concode_elem_sep Set<String> INVALID_JAVA_IDENTIFIERS concode_field_sep String eol concode_elem_sep boolean isJavaIdentifier | String function ( String arg0 , int arg1 ) { StringBuilder loc0 = new StringBuilder ( arg0 . length ( ) * arg1 ) ; for ( int loc1 = 0 ; loc1 < arg1 ; loc1 ++ ) { loc0 . append ( arg0 ) ; } return new String ( loc0 ) ; } |
2,864 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep String name concode_elem_sep List<String> photoUrls concode_elem_sep List<Tag> tags concode_elem_sep Category category concode_elem_sep Long id concode_elem_sep String value concode_elem_sep StatusEnum statu... | String function ( Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
2,865 | utility method for generating control sequences . takes a collection of byte arrays , which contain the components of a control sequence , concatenates them , and prints them to the terminal . concode_field_sep byte BEL concode_elem_sep String FG_GRAY concode_elem_sep String BG_GRAY concode_elem_sep String BG_GREEN con... | void function ( byte [ ] ... arg0 ) { for ( byte [ ] loc0 : arg0 ) { out . write ( loc0 ) ; } } |
2,866 | compare our string representation to other 's concode_field_sep PlaceHolder placeHolder concode_field_sep JavaThing dereference concode_elem_sep int getSize concode_elem_sep boolean isHeapAllocated concode_elem_sep String toString concode_elem_sep boolean isSameTypeAs | int function ( JavaThing arg0 ) { return toString ( ) . compareTo ( arg0 . toString ( ) ) ; } |
2,867 | prints an info message concode_field_sep Level LEVEL concode_elem_sep String format concode_elem_sep MessageFormat formatter concode_elem_sep boolean DEBUG concode_elem_sep Logger logger concode_elem_sep boolean ERROR concode_elem_sep boolean INFO concode_elem_sep Object args[] concode_elem_sep boolean WARN concode_ele... | void function ( Object m , Throwable t ) { logger . log ( Level . INFO , String . valueOf ( m ) , t ) ; } |
2,868 | all regsitered instances . concode_field_sep List<ManagementLink> LIST concode_field_sep String getUrlName concode_elem_sep Permission getRequiredPermission concode_elem_sep boolean getRequiresConfirmation concode_elem_sep String getIconFileName concode_elem_sep boolean getRequiresPOST concode_elem_sep String getDescri... | ExtensionList < ManagementLink > function ( ) { return ExtensionList . lookup ( ManagementLink . class ) ; } |
2,869 | return type metadata object concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep com.google.api.ads.adwords.axis.v201409.cm.Dimensions value concode_elem_sep com.google.api.ads.adwords.axis.v201409.cm.Medi... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
2,870 | sets the value of the idx property . concode_field_sep STDirection orient concode_elem_sep CTExtensionListModify extLst concode_elem_sep STPlaceholderSize sz concode_elem_sep Boolean hasCustomPrompt concode_elem_sep STPlaceholderType type concode_elem_sep Long idx concode_field_sep void setHasCustomPrompt concode_elem_... | void function ( Long arg0 ) { this . idx = arg0 ; } |
2,871 | retrieves a short from the given two bytes . concode_field_sep short PAGE_HEADER_SIZE concode_elem_sep short PAGE_SIZE concode_elem_sep short PAGE_DATA_SIZE concode_field_sep byte[] fromShort concode_elem_sep BlobRequestOptions withMD5Checking | short function ( byte arg0 , byte arg1 ) { return ByteBuffer . wrap ( new byte [ ] { arg0 , arg1 } ) . getShort ( ) ; } |
2,872 | gets the queryrow at the specified index in the results . concode_field_sep int nextRow concode_elem_sep long sequenceNumber concode_elem_sep Database database concode_elem_sep List<QueryRow> rows concode_field_sep QueryRow next concode_elem_sep long getSequenceNumber concode_elem_sep boolean equals concode_elem_sep vo... | QueryRow function ( int arg0 ) { return rows . get ( arg0 ) ; } |
2,873 | configure the application id concode_field_sep String sourcePackageId concode_elem_sep String applicationId concode_field_sep String getSourcePackageId concode_elem_sep String getApplicationId concode_elem_sep CopyPackageRequest withSourcePackageId concode_elem_sep ValidationResult isValid | CopyPackageRequest function ( String arg0 ) { this . applicationId = arg0 ; return this ; } |
2,874 | parses a file of attributes and returns them as a map . concode_field_sep Logger LOGGER concode_field_sep String getUser concode_elem_sep String getCredentials concode_elem_sep String logLdapClaimsMap concode_elem_sep String getBaseDN | Map < String , String > function ( String arg0 ) { Map < String , String > loc0 = PropertiesLoader . toMap ( PropertiesLoader . loadProperties ( arg0 ) ) ; if ( LOGGER . isDebugEnabled ( ) ) { LOGGER . debug ( logLdapClaimsMap ( loc0 ) ) ; } return loc0 ; } |
2,875 | sets the occurrence of a given atom . concode_field_sep double mass1 concode_elem_sep ArrayList<AtomImpl> atomChain concode_elem_sep long serialVersionUID concode_elem_sep String stringValue concode_elem_sep Double mass concode_elem_sep String stringValue1 concode_field_sep void estimateMass concode_elem_sep AtomChain ... | void function ( Atom arg0 , Integer arg1 , Integer arg2 ) { remove ( arg0 , arg1 ) ; append ( new AtomImpl ( arg0 , arg1 ) , arg2 ) ; mass1 = - 1.0 ; stringValue1 = null ; } |
2,876 | handle requests to actually do the forward . it returns an empty mav concode_field_sep Log LOG concode_field_sep ModelAndView doSign concode_elem_sep ModelAndView doNew concode_elem_sep ModelAndView doProviderClinics concode_elem_sep ModelAndView doSaved concode_elem_sep ModelAndView doProvider concode_elem_sep ModelAn... | ModelAndView function ( final HttpServletRequest arg0 ) { ServResults . resultForward ( arg0 . getParameter ( "srini_string" ) , arg0 . getParameter ( "srini_string" ) ) ; return new ModelAndView ( "srini_string" ) ; } |
2,877 | returns a hash code value for the object . concode_field_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep Logger log concode_elem_sep Byte first concode_elem_sep ResourceAdapter ra concode_elem_sep Short second concode_field_sep void setSecond concode_elem_sep ManagedConnection createMa... | int function ( ) { int loc0 = 17 ; if ( first != null ) loc0 += 31 * loc0 + 7 * first . hashCode ( ) ; else loc0 += 31 * loc0 + 7 ; if ( second != null ) loc0 += 31 * loc0 + 7 * second . hashCode ( ) ; else loc0 += 31 * loc0 + 7 ; return loc0 ; } |
2,878 | set the length of time this robot sleeps after generating an event . concode_field_sep int autoDelay concode_elem_sep RobotPeer peer concode_elem_sep boolean waitForIdle concode_field_sep void mousePress concode_elem_sep void mouseMove concode_elem_sep BufferedImage createScreenCapture concode_elem_sep void mouseReleas... | void function ( int arg0 ) { if ( arg0 <= 0 || arg0 >= 60000 ) throw new IllegalArgumentException ( "srini_string" ) ; autoDelay = arg0 ; } |
2,879 | evaluate the ray , compute the position concode_field_sep Vector p concode_elem_sep int X concode_elem_sep int Z concode_elem_sep double lambda2 concode_elem_sep Vector direction concode_elem_sep double lambda1 concode_field_sep Vector getDirection concode_elem_sep IntersectionResult intersect | Vector function ( double arg0 ) { return p . add ( direction . multiply ( arg0 ) ) ; } |
2,880 | gets the value of the magiccookie property . concode_field_sep String magiccookie concode_elem_sep String color concode_elem_sep String format concode_elem_sep BigDecimal days concode_elem_sep String type concode_elem_sep String value concode_elem_sep String userid concode_field_sep String getColor concode_elem_sep voi... | String function ( ) { return magiccookie ; } |
2,881 | returns content formatted as a `` heading '' concode_field_sep String namespace concode_field_sep Text subduedHeading concode_elem_sep Text subduedHeading concode_elem_sep Text success concode_elem_sep Text success concode_elem_sep Text bonus concode_elem_sep Text bonus concode_elem_sep Text error concode_elem_sep Text... | Text function ( Object ... arg0 ) { return heading ( Text . of ( arg0 ) ) ; } |
2,882 | this method runs before the test execution and sets the bean objects in the beans map . concode_field_sep String BATTLESHIP_BEAN concode_elem_sep String CAPTAIN_BEAN concode_elem_sep Map<String,Object> beans concode_field_sep void testAdapter | void function ( ) { beans = new HashMap < > ( ) ; BattleFishingBoat loc0 = spy ( new BattleFishingBoat ( ) ) ; beans . put ( BATTLESHIP_BEAN , loc0 ) ; Captain loc1 = new Captain ( ) ; loc1 . setBattleship ( ( BattleFishingBoat ) beans . get ( BATTLESHIP_BEAN ) ) ; beans . put ( CAPTAIN_BEAN , loc1 ) ; } |
2,883 | reads new input data into the buffer . call only with pos == end or end == -1 , depending on the desired outcome if the function throws . concode_field_sep Charset charset concode_elem_sep byte[] buf concode_elem_sep InputStream in concode_elem_sep int pos concode_elem_sep byte LF concode_elem_sep byte CR concode_elem_... | void function ( ) { int loc0 = in . read ( buf , 0 , buf . length ) ; if ( loc0 == - 1 ) { throw new EOFException ( ) ; } pos = 0 ; end = loc0 ; } |
2,884 | returns the line number of the breakpoint concode_field_sep String templateName concode_elem_sep int line concode_elem_sep long serialVersionUID concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String getTemplateName concode_elem_sep String getLocationString concode_elem_sep int compareTo | int function ( ) { return line ; } |
2,885 | sets the invited team id of this member request . concode_field_sep MemberRequest _memberRequest 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 co... | void function ( long arg0 ) { _memberRequest . setInvitedTeamId ( arg0 ) ; } |
2,886 | sets the entry id 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 co... | void function ( long arg0 ) { _trashVersion . setEntryId ( arg0 ) ; } |
2,887 | this starts up the kernel , run this before running all your tests before the test suite , do not run this after each individual test concode_field_sep String requestId concode_elem_sep DSpaceKernel kernel concode_elem_sep RequestService requestService concode_elem_sep DSpaceKernelImpl kernelImpl concode_field_sep DSpa... | void function ( ) { kernelImpl = DSpaceKernelInit . getKernel ( null ) ; kernelImpl . start ( ) ; kernel = kernelImpl . getManagedBean ( ) ; } |
2,888 | gets the value of the targetnamespace property . concode_field_sep String messageName concode_elem_sep String targetNamespace concode_elem_sep String name concode_elem_sep String faultBean concode_field_sep void setName concode_elem_sep String messageName concode_elem_sep String getName concode_elem_sep String targetNa... | String function ( ) { return targetNamespace ; } |
2,889 | defaults to return an empty list . concode_field_sep PlaceHolder placeHolder concode_field_sep Collection<Class<? extends Closeable>> shardServices concode_elem_sep Collection<Class<? extends Module>> indexModules concode_elem_sep Collection<Module> indexModules concode_elem_sep Collection<Class<? extends Closeable>> i... | Collection < Module > function ( Settings arg0 ) { return ImmutableList . of ( ) ; } |
2,890 | convert per-unit to mva concode_field_sep float PI concode_elem_sep float D2R concode_elem_sep float THREESQRT2OVERPI concode_elem_sep float THREEOVERPI concode_field_sep float rebaseZ100 concode_elem_sep Complex rebaseZ100 concode_elem_sep float mva2pu concode_elem_sep float[] mva2pu concode_elem_sep float deg2rad con... | float function ( float arg0 , float arg1 ) { return arg0 * arg1 ; } |
2,891 | returns the problem used to set the g function . concode_field_sep FunctionOptimisationProblem dmop2_h_problem concode_elem_sep FunctionOptimisationProblem dmop2_g_problem concode_elem_sep long serialVersionUID concode_elem_sep ContinuousFunction dmop2_h concode_elem_sep ContinuousFunction dmop2_g concode_field_sep Con... | FunctionOptimisationProblem function ( ) { return this . dmop2_g_problem ; } |
2,892 | sets the value of the stateprovince property . concode_field_sep String zipCode concode_elem_sep String city concode_elem_sep String countryCd concode_elem_sep String stateProvince concode_elem_sep String isActive concode_elem_sep String poBox concode_elem_sep String addressTypeCd concode_elem_sep String buildingNum co... | void function ( String arg0 ) { this . stateProvince = arg0 ; } |
2,893 | get the user name concode_field_sep HornetQRAManagedConnection mc concode_elem_sep boolean trace concode_field_sep int getMaxConnections concode_elem_sep String getEISProductVersion concode_elem_sep String getEISProductName | String function ( ) { if ( HornetQRAMetaData . trace ) { HornetQRALogger . LOGGER . trace ( "srini_string" ) ; } return mc . getUserName ( ) ; } |
2,894 | iterates over the children and children 's children to check if a figure is a direct child or indirect child of the given parent . 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_ele... | boolean function ( IFigure arg0 , IFigure arg1 ) { boolean loc0 = false ; for ( Object loc1 : arg0 . getChildren ( ) ) { if ( loc1 == arg1 ) { return true ; } if ( loc1 instanceof IFigure ) { loc0 = isChildFigure ( ( IFigure ) loc1 , arg1 ) ; if ( loc0 ) { break ; } } } return loc0 ; } |
2,895 | returns true if this element was already visited . concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myElements concode_elem_sep boolean done concode_field_sep void beginVisit concode_elem_sep Iterator getElementLinks concode_elem_sep void endVisit concode_elem_sep void pe... | boolean function ( Object arg0 ) { return myVisitedElements . containsKey ( arg0 ) ; } |
2,896 | this method is used to call a method of dao class to return a list of all departments concode_field_sep PlaceHolder placeHolder concode_field_sep boolean createCallBackWorkFlow concode_elem_sep List searchCallBackWorkFlow concode_elem_sep boolean editCallBackWorkFlow concode_elem_sep List getActiveAgents concode_elem_s... | List function ( ) { List loc0 = new ArrayList ( ) ; CallBackWorkFlowDAO loc1 = new CallBackWorkFlowDAO ( ) ; loc0 = loc1 . getAllDepartment ( ) ; return loc0 ; } |
2,897 | modified version of run-jetty assumes configurator sets handler . concode_field_sep Object[][] PRETTY_MS_DIVIDERS concode_elem_sep Object[][] PRETTY_SEC_DIVIDERS concode_field_sep void configFilter concode_elem_sep Server removeNonSslConnector concode_elem_sep FilterHolder corsFilterHandle concode_elem_sep Server jetty... | void function ( Integer arg0 , String arg1 , Integer arg2 , IConfigurator arg3 ) { Server loc0 = jettyCreateServer ( arg0 , arg1 , arg2 ) ; if ( arg3 != null ) { arg3 . execute ( loc0 ) ; } loc0 . start ( ) ; } |
2,898 | returns the user name of this meetups registration . concode_field_sep MeetupsRegistration _meetupsRegistration concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_s... | java . lang . String function ( ) { return _meetupsRegistration . getUserName ( ) ; } |
2,899 | returns the api token of this user . concode_field_sep long memberSince concode_elem_sep String phoneNumber concode_elem_sep String apiToken concode_elem_sep String nama concode_elem_sep String fbToken concode_elem_sep String photo concode_elem_sep int id concode_elem_sep int saldo concode_elem_sep int exp concode_elem... | String function ( ) { return apiToken ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.