idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
19,800 | returns the string representation of the label tag . concode_field_sep long serialVersionUID concode_elem_sep VetoableChangeSupport vetos_ concode_elem_sep String label_ concode_elem_sep PropertyChangeSupport changes_ concode_elem_sep String copyright concode_field_sep void addVetoableChangeListener concode_elem_sep St... | String function ( ) { return label_ ; } |
19,801 | initializes one row of a double matrix with normal distributed gaussian noise . concode_field_sep PlaceHolder placeHolder concode_field_sep double rowAverage concode_elem_sep double maxDouble concode_elem_sep List<Double> rowDifference concode_elem_sep void columnInitNormal concode_elem_sep int maxInteger concode_elem_... | void function ( Matrix < Double > arg0 , int arg1 , double arg2 , double arg3 ) { Random loc0 = Random . getInstance ( ) ; for ( int loc1 = 0 ; loc1 < arg0 . dim2 ; loc1 ++ ) arg0 . set ( arg1 , loc1 , loc0 . nextNormal ( arg2 , arg3 ) ) ; } |
19,802 | sets the value of the communicationtype property . concode_field_sep String publicationPlace concode_elem_sep List<ResponsibleParty> recipient concode_elem_sep ResponsibleParty publisher concode_elem_sep String communicationType concode_field_sep String getPublicationPlace concode_elem_sep void setPublicationPlace conc... | void function ( String arg0 ) { this . communicationType = arg0 ; } |
19,803 | checks if the device should be treated as tv . note that this should be invoked before #istablet context to get the correct resultsince they are not orthogonal . concode_field_sep Boolean sIsTablet concode_elem_sep Boolean sIsTv concode_elem_sep int MINIMUM_TABLET_WIDTH_DP concode_field_sep boolean isTablet concode_ele... | boolean function ( Context arg0 ) { if ( sIsTv == null ) { PackageManager loc0 = arg0 . getPackageManager ( ) ; if ( loc0 != null ) { sIsTv = loc0 . hasSystemFeature ( PackageManager . FEATURE_TELEVISION ) ; return sIsTv ; } sIsTv = false ; } return sIsTv ; } |
19,804 | gets the value of the role 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 role property . for example , to add a new item , do as follo... | List < Role > function ( ) { if ( role == null ) { role = new ArrayList < Role > ( ) ; } return this . role ; } |
19,805 | return whether this holder should be unbound at completion or should rather be left bound to the thread after the transaction . the default implementation returns true . concode_field_sep H resourceHolder concode_elem_sep K resourceKey concode_elem_sep boolean holderActive concode_field_sep void suspend concode_elem_se... | boolean function ( ) { return true ; } |
19,806 | sets task id . concode_field_sep int eventId concode_elem_sep TaskCompletionEvent[] EMPTY_ARRAY concode_elem_sep int iteration concode_elem_sep boolean isMap concode_elem_sep int idWithinJob concode_elem_sep String taskTrackerHttp concode_elem_sep TaskAttemptID taskId concode_elem_sep int taskRunTime concode_elem_sep S... | void function ( TaskAttemptID arg0 ) { this . taskId = arg0 ; } |
19,807 | returns a matched connection from the candidate set of connections . concode_field_sep String property concode_elem_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep ResourceAdapter ra concode_field_sep ManagedConnection createManagedConnection concode_elem_sep void setResourceAdapter co... | ManagedConnection function ( Set arg0 , Subject arg1 , ConnectionRequestInfo arg2 ) { ManagedConnection loc0 = null ; Iterator loc1 = arg0 . iterator ( ) ; while ( loc0 == null && loc1 . hasNext ( ) ) { ManagedConnection loc2 = ( ManagedConnection ) loc1 . next ( ) ; if ( loc2 instanceof ConfigPropertyManagedConnection... |
19,808 | logs a message at warn level . usage example : logger.warn `` something bad happened when connecting to % s : % d '' , host , port ; if the format string is invalid or the arguments are insufficient , an error will be logged and execution will continue . concode_field_sep java.util.logging.Logger logger concode_field_s... | void function ( String arg0 , Object ... arg1 ) { warn ( null , arg0 , arg1 ) ; } |
19,809 | returns true if the deploymentunit has a beans.xml in any of it 's resource roots , or is a top level deployment that contains sub-deployments that are weld deployments . concode_field_sep AttachmentKey<Boolean> MARKER concode_field_sep boolean isPartOfWeldDeployment concode_elem_sep void mark | boolean function ( DeploymentUnit arg0 ) { return arg0 . getAttachment ( MARKER ) != null ; } |
19,810 | returns true if the array contains this real value . concode_field_sep ArrayType m_type concode_elem_sep String m_stringVal concode_elem_sep ArrayList<String> m_values concode_field_sep void checkInRange concode_elem_sep String valueSparse concode_elem_sep boolean isSparse concode_elem_sep String actualValue concode_el... | boolean function ( float arg0 ) { return contains ( new Float ( arg0 ) . toString ( ) ) ; } |
19,811 | indicates the default port for this type of connector concode_field_sep int defaultPort concode_field_sep boolean isAvailable concode_elem_sep int getMaxThreads concode_elem_sep int getBusyThreads concode_elem_sep long getRequestCount concode_elem_sep int getPort concode_elem_sep void setAddress concode_elem_sep Type g... | int function ( ) { return this . defaultPort ; } |
19,812 | saves the model to a file . the method save saves the complete model state to the specified xml or yaml file with the specified name or default name which depends on a particular class . data persistence functionality from cxcore is used . concode_field_sep long nativeObj concode_field_sep void load_0 concode_elem_sep ... | void function ( String arg0 ) { save_1 ( nativeObj , arg0 ) ; return ; } |
19,813 | event handler . concode_field_sep boolean flag concode_elem_sep JFreeChart chart concode_field_sep JFreeChart createChart concode_elem_sep void testReplaceDataset concode_elem_sep void setUp concode_elem_sep void testDrawWithNullInfo concode_elem_sep void testSetSeriesToolTipGenerator | void function ( ChartChangeEvent arg0 ) { this . flag = true ; } |
19,814 | zero-based index of the x-axis this series should be connected to . concode_field_sep String stack concode_elem_sep Number pointStart concode_elem_sep Integer xAxis concode_elem_sep List<D> data concode_elem_sep ColorReference color concode_elem_sep PointPlacement pointPlacement concode_elem_sep GridLineDashStyle dashS... | Series < D > function ( final Integer arg0 ) { this . xAxis = arg0 ; return this ; } |
19,815 | returns the type of this node . this method is used by tostring . concode_field_sep PlaceHolder placeHolder concode_field_sep ASTree getRight concode_elem_sep void setLeft concode_elem_sep void setRight concode_elem_sep String toString concode_elem_sep ASTree getLeft concode_elem_sep void accept | String function ( ) { String loc0 = getClass ( ) . getName ( ) ; return loc0 . substring ( loc0 . lastIndexOf ( '.' ) + 1 ) ; } |
19,816 | get a list of all leaves in this node for a given byte concode_field_sep Node node concode_elem_sep Map<Short,List<LeafType>> leaves concode_elem_sep Map<Short,DecodeTree<LeafType>> subTrees concode_field_sep Collection<DecodeTree<LeafType>> getSubTrees concode_elem_sep void addEntry concode_elem_sep void addEntry conc... | List < LeafType > function ( short arg0 ) { return node . leaves . get ( arg0 ) ; } |
19,817 | gets the external asset directory . concode_field_sep PlaceHolder placeHolder concode_field_sep File getConfigurationDestination concode_elem_sep File getExternalTemplateDestination concode_elem_sep Collection<File> getAllFilesFromDirectory concode_elem_sep File getExternalTemplateSource concode_elem_sep File getConfig... | File function ( File arg0 ) { return new File ( arg0 , ASSETS_SRC_DIR ) ; } |
19,818 | sets the value of the ver property . concode_field_sep String ver concode_elem_sep Bios bios concode_elem_sep Meta meta concode_elem_sep Pv pv concode_elem_sep Demo demo concode_elem_sep XMLGregorianCalendar ts concode_field_sep void setBios concode_elem_sep void setTs concode_elem_sep String getVer concode_elem_sep De... | void function ( String arg0 ) { this . ver = arg0 ; } |
19,819 | returns a boolean , which is true with probability .5 , and false otherwise . concode_field_sep Random random concode_elem_sep long seed concode_field_sep double cauchy concode_elem_sep long getSeed concode_elem_sep int poisson concode_elem_sep void main concode_elem_sep int discrete concode_elem_sep double uniform con... | boolean function ( ) { return bernoulli ( 0.5 ) ; } |
19,820 | tokenizes the string conversion of this expression using the given regular expression concode_field_sep boolean not concode_elem_sep Expression expression concode_field_sep ValueBuilder prepend concode_elem_sep ValueBuilder onNewValueBuilder concode_elem_sep ValueBuilder tokenize concode_elem_sep ValueBuilder tokenize ... | ValueBuilder function ( String arg0 ) { Expression loc0 = ExpressionBuilder . regexTokenizeExpression ( expression , arg0 ) ; return onNewValueBuilder ( loc0 ) ; } |
19,821 | stop wav play back concode_field_sep Clip m_clip concode_field_sep void writeWavFile concode_elem_sep AudioFileFormat.Type getAudioFileFormatType concode_elem_sep AudioInputStream createSingleAudioInputStream concode_elem_sep void timedRecord concode_elem_sep void timedRecord concode_elem_sep double[] getSamplesAsDoubl... | void function ( ) { m_clip . stop ( ) ; m_clip . flush ( ) ; m_clip . close ( ) ; } |
19,822 | parses the java code contained in the inputstream and returns a japa.parser.ast.compilationunit that represents it . concode_field_sep ASTParser parser concode_elem_sep boolean cacheParser concode_field_sep void setCacheParser | CompilationUnit function ( InputStream arg0 , String arg1 ) { if ( cacheParser ) { if ( parser == null ) { parser = new ASTParser ( arg0 , arg1 ) ; } else { parser . reset ( arg0 , arg1 ) ; } return parser . CompilationUnit ( ) ; } return new ASTParser ( arg0 , arg1 ) . CompilationUnit ( ) ; } |
19,823 | method to set the key of the property . concode_field_sep String value concode_elem_sep String key concode_field_sep String getKey concode_elem_sep String getValue concode_elem_sep void setValue | void function ( String arg0 ) { this . key = arg0 ; } |
19,824 | returns true if either payload or source parameter is present . otherwise false concode_field_sep XContentBuilderString FAILED concode_elem_sep XContentBuilderString _SHARDS concode_elem_sep XContentBuilderString TOTAL concode_elem_sep XContentBuilderString SUCCESSFUL concode_elem_sep XContentBuilderString FAILURES con... | boolean function ( final RestRequest arg0 ) { return arg0 . hasContent ( ) || arg0 . hasParam ( "srini_string" ) ; } |
19,825 | add hours to current date , construct a new date concode_field_sep long SECOND concode_elem_sep long MINUTE concode_elem_sep long DAY concode_elem_sep long HOUR concode_field_sep Date addMinute concode_elem_sep Date addMinute concode_elem_sep Date addSecond concode_elem_sep Date addSecond concode_elem_sep Date addDay c... | Date function ( int arg0 ) { return new Date ( System . currentTimeMillis ( ) + HOUR * arg0 ) ; } |
19,826 | whether xhr streaming is disabled or not . concode_field_sep Log logger concode_elem_sep boolean xhrStreamingDisabled concode_elem_sep String PRELUDE concode_field_sep List<TransportType> getTransportTypes concode_elem_sep ResponseEntity<String> executeInfoRequestInternal concode_elem_sep void connectInternal concode_e... | boolean function ( ) { return this . xhrStreamingDisabled ; } |
19,827 | decorates a filter to make it ignore cvs directories . passing in null will return a filter that accepts everything except cvs directories . concode_field_sep IOFileFilter svnFilter concode_elem_sep IOFileFilter cvsFilter concode_field_sep IOFileFilter fileFileFilter concode_elem_sep IOFileFilter nameFileFilter concode... | IOFileFilter function ( IOFileFilter arg0 ) { if ( cvsFilter == null ) { cvsFilter = notFileFilter ( andFileFilter ( directoryFileFilter ( ) , nameFileFilter ( "srini_string" ) ) ) ; } if ( arg0 == null ) { return cvsFilter ; } else { return andFileFilter ( arg0 , cvsFilter ) ; } } |
19,828 | create a spring with a random uuid for its name . concode_field_sep Set<Spring> mActiveSprings concode_elem_sep boolean mIdle concode_elem_sep SpringLooper mSpringLooper concode_elem_sep CopyOnWriteArraySet<SpringSystemListener> mListeners concode_elem_sep Map<String,Spring> mSpringRegistry concode_field_sep void remov... | Spring function ( ) { Spring loc0 = new Spring ( this ) ; registerSpring ( loc0 ) ; return loc0 ; } |
19,829 | returns the number of iterations run once the solver is complete . concode_field_sep Logger log concode_elem_sep double DEFAULT_MAX_ERROR concode_elem_sep PlusMult PLUS_MULT concode_elem_sep double residualNormSquared concode_elem_sep int iterations concode_field_sep double getResidualNorm concode_elem_sep Vector solve... | int function ( ) { return iterations ; } |
19,830 | the pulished messages will be taken in as a byte stream , the mesage will be transformed into andesmessagepart as its required by the andes kernal for processing concode_field_sep String MESSAGE_ID concode_elem_sep String MESSAGE_CONTENT_LENGTH concode_elem_sep String MQTT_META_INFO concode_elem_sep String TOPIC concod... | AndesMessagePart function ( byte [ ] arg0 , long arg1 ) { AndesMessagePart loc0 = new AndesMessagePart ( ) ; loc0 . setOffSet ( 0 ) ; loc0 . setData ( arg0 ) ; loc0 . setMessageID ( arg1 ) ; loc0 . setDataLength ( arg0 . length ) ; return loc0 ; } |
19,831 | returns an array containing all of the elements in this queue . concode_field_sep Integer[] array concode_elem_sep int DEFAULT_SIZE concode_field_sep boolean add concode_elem_sep void add concode_elem_sep Integer set concode_elem_sep void doubleArray concode_elem_sep boolean clear concode_elem_sep boolean isEmpty conco... | Integer [ ] function ( ) { return null ; } |
19,832 | the list name to consume activities from . concode_field_sep ActivityTypeRegistrationOptions activityTypeRegistrationOptions concode_elem_sep Map<String,Object> clientConfigurationParameters concode_elem_sep String stateResultType concode_elem_sep AmazonSimpleWorkflowClient amazonSWClient concode_elem_sep ActivitySched... | void function ( String arg0 ) { this . activityList = arg0 ; } |
19,833 | the next position in the shard from which to start sequentially reading stream records . if set to null , the shard has been closed and the requested iterator will not return any more data . concode_field_sep java.util.List<Record> records concode_elem_sep String nextShardIterator concode_field_sep void setRecords conc... | void function ( String arg0 ) { this . nextShardIterator = arg0 ; } |
19,834 | returns the osgi service identifier . concode_field_sep JournalFolderService _journalFolderService concode_field_sep com.liferay.journal.model.JournalFolder moveFolderFromTrash concode_elem_sep void setWrappedService concode_elem_sep void deleteFolder concode_elem_sep void deleteFolder concode_elem_sep java.util.List<j... | java . lang . String function ( ) { return _journalFolderService . getOSGiServiceIdentifier ( ) ; } |
19,835 | the id of the network interface attachment . concode_field_sep String attachmentId concode_field_sep AttachNetworkInterfaceResult withAttachmentId concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep AttachNetworkInterfaceResult clone concode_elem_sep String toString concode_elem_sep String ge... | void function ( String arg0 ) { this . attachmentId = arg0 ; } |
19,836 | returns the user name of this email address . concode_field_sep EmailAddress _emailAddress concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel conc... | java . lang . String function ( ) { return _emailAddress . getUserName ( ) ; } |
19,837 | returns a short description of what this link does . this text is the one that 's displayed in grey . this can include html , although the use of block tags is highly discouraged . optional . concode_field_sep List<ManagementLink> LIST concode_field_sep ExtensionList<ManagementLink> all concode_elem_sep String getUrlNa... | String function ( ) { return "srini_string" ; } |
19,838 | method to convert image in bitmap format into byte array concode_field_sep PlaceHolder placeHolder concode_field_sep Bitmap convertBytesToImage | byte [ ] function ( Bitmap arg0 ) { ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( ) ; arg0 . compress ( Bitmap . CompressFormat . PNG , 100 , loc0 ) ; return loc0 . toByteArray ( ) ; } |
19,839 | describes a reservation . concode_field_sep Reservation reservation concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep RunInstancesResult clone concode_elem_sep RunInstancesResult withReservation concode_elem_sep String toString concode_elem_sep Reservation getReservation | void function ( Reservation arg0 ) { this . reservation = arg0 ; } |
19,840 | returns the line . concode_field_sep int linePrev concode_elem_sep PushedLocation next concode_elem_sep int col concode_elem_sep String systemId concode_elem_sep int line concode_elem_sep int colPrev concode_elem_sep boolean nextCharOnNewLine concode_elem_sep String publicId concode_field_sep int getCol concode_elem_se... | int function ( ) { return line ; } |
19,841 | logs out current logged in user session concode_field_sep UserApi api concode_field_sep void getUserByNameTest concode_elem_sep void createUserTest concode_elem_sep void createUsersWithListInputTest concode_elem_sep void loginUserTest concode_elem_sep void deleteUserTest concode_elem_sep void createUsersWithArrayInputT... | void function ( ) { } |
19,842 | by default the content of the `` default '' model is used both during rendering and redirect scenarios . alternatively controller methods can declare an argument of type redirectattributes and useit to provide attributes to prepare the redirect url . setting this flag to true guarantees the `` default '' model isnever ... | void function ( boolean arg0 ) { this . ignoreDefaultModelOnRedirect = arg0 ; } |
19,843 | implemented annotation callback method . this method is called when a pages annotations been initialized but before the page has been painted . this method blocks the concode_field_sep Color ANNOTATION concode_elem_sep Color ANNOTATION_VISITED concode_elem_sep WeakHashMap<String,AnnotationState> annotationHistory conco... | void function ( Page arg0 ) { ArrayList < Annotation > loc0 = arg0 . getAnnotations ( ) ; if ( loc0 == null || loc0 . size ( ) == 0 ) { return ; } Annotation loc1 ; for ( int loc2 = 0 , loc3 = loc0 . size ( ) ; loc2 < loc3 ; loc2 ++ ) { processNullAnnotationDecoration ( loc0 . get ( loc2 ) ) ; } } |
19,844 | gets the value of the quotenumber property . concode_field_sep List<FreightBaseCharge> baseCharges concode_elem_sep List<FreightRateNotation> notations concode_elem_sep FreightBaseChargeCalculationType baseChargeCalculation concode_elem_sep FreightRateQuoteType quoteType concode_elem_sep String quoteNumber concode_fiel... | String function ( ) { return quoteNumber ; } |
19,845 | if the new cost is better than old , return 1.0 . otherwise , return a double that increases as the two costs are closer to each other . concode_field_sep PlaceHolder placeHolder concode_field_sep MovAvgModel minimize concode_elem_sep double cost | double function ( double arg0 , double arg1 , double arg2 ) { return arg1 < arg0 ? 1.0 : Math . exp ( - ( arg1 - arg0 ) / arg2 ) ; } |
19,846 | removes the indicated fragment . concode_field_sep List<FeedbackFragment> mFragments concode_elem_sep UtteranceCompleteRunnable mCompletedAction concode_elem_sep int FLAG_NO_SPEECH concode_elem_sep boolean mIsUninterruptible concode_elem_sep int mFlags concode_elem_sep int FLAG_DURING_RECO concode_elem_sep int FLAG_ADV... | boolean function ( FeedbackFragment arg0 ) { return mFragments . remove ( arg0 ) ; } |
19,847 | some checks for the put method . concode_field_sep PlaceHolder placeHolder concode_field_sep void testSerialization2 concode_elem_sep void testCloning concode_elem_sep void testSerialization1 concode_elem_sep void testGetStroke concode_elem_sep void testEquals | void function ( ) { StrokeMap loc0 = new StrokeMap ( ) ; loc0 . put ( "srini_string" , new BasicStroke ( 1.1f ) ) ; assertEquals ( new BasicStroke ( 1.1f ) , loc0 . getStroke ( "srini_string" ) ) ; boolean loc1 = false ; try { loc0 . put ( null , new BasicStroke ( 1.1f ) ) ; } catch ( IllegalArgumentException loc2 ) { ... |
19,848 | get the fill area color for this plot . concode_field_sep DataLine dataLine concode_elem_sep Color color concode_elem_sep String legend concode_elem_sep Data pointSizes concode_elem_sep Data yData concode_elem_sep List<MarkedPoints> markedPointsList concode_elem_sep Priority priority concode_elem_sep List<Marker> marke... | Color function ( ) { return fillAreaColor ; } |
19,849 | creates a new s v n repository with the primary key . does not add the s v n repository to the database . concode_field_sep SVNRepositoryLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.socialcoding.model.SVNRepository updateSVNRepository concode_elem_sep vo... | com . liferay . socialcoding . model . SVNRepository function ( long arg0 ) { return getService ( ) . createSVNRepository ( arg0 ) ; } |
19,850 | return the supported mime types . concode_field_sep Log logger concode_elem_sep List<MimeType> supportedMimeTypes concode_elem_sep ContentTypeResolver contentTypeResolver concode_elem_sep Class<?> serializedPayloadClass concode_elem_sep boolean strictContentTypeMatch concode_field_sep Message<?> toMessage concode_elem_... | List < MimeType > function ( ) { return Collections . unmodifiableList ( this . supportedMimeTypes ) ; } |
19,851 | notify the client that the item at index is now the current history item . concode_field_sep PlaceHolder placeHolder concode_field_sep void onNewHistoryItem | void function ( WebHistoryItem arg0 , int arg1 ) { } |
19,852 | gets the cache instance being used . concode_field_sep Map<String,Queue<Request<?>>> mWaitingRequests concode_elem_sep Set<Request<?>> mCurrentRequests concode_elem_sep PriorityBlockingQueue<Request<?>> mCacheQueue concode_elem_sep CacheDispatcher mCacheDispatcher concode_elem_sep ResponseDelivery mDelivery concode_ele... | Cache function ( ) { return mCache ; } |
19,853 | get jssc version . the version of library is base version + minor suffix concode_field_sep int osType concode_elem_sep String libVersion concode_elem_sep int OS_LINUX concode_elem_sep int OS_SOLARIS concode_elem_sep String libMinorSuffix concode_elem_sep int OS_MAC_OS_X concode_elem_sep int OS_WINDOWS concode_field_sep... | String function ( ) { return libVersion + "srini_string" + libMinorSuffix ; } |
19,854 | singleton global access for autocompleteproviderfactory concode_field_sep SelectDropDownProviderFactory instance concode_elem_sep Properties validationProviderClassMap concode_field_sep BaseSelectDropDownProvider getSelectDropDownProvider concode_elem_sep String getSelectDropDownProviderClassName concode_elem_sep Objec... | SelectDropDownProviderFactory function ( ) { if ( instance == null ) { synchronized ( SelectDropDownProviderFactory . class ) { if ( instance == null ) { instance = new SelectDropDownProviderFactory ( ) ; } } } return instance ; } |
19,855 | sets the primary key of this cal event . concode_field_sep CalEvent _calEvent concode_field_sep java.util.Date getStartDate concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getLocation concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isC... | void function ( long arg0 ) { _calEvent . setPrimaryKey ( arg0 ) ; } |
19,856 | sets the envelope version . concode_field_sep ObjectMapper OBJECT_MAPPER concode_elem_sep SpeechletResponse response concode_elem_sep Map<String,Object> sessionAttributes concode_elem_sep String version concode_field_sep String getVersion concode_elem_sep void toJson concode_elem_sep byte[] toJsonBytes concode_elem_sep... | void function ( String arg0 ) { this . version = arg0 ; } |
19,857 | returns the latitude of this point as degrees . concode_field_sep S2LatLng CENTER concode_elem_sep double EARTH_RADIUS_METERS concode_elem_sep long serialVersionUID concode_elem_sep double latRadians concode_elem_sep double lngRadians concode_field_sep S2LatLng sub concode_elem_sep S2LatLng mul concode_elem_sep S2LatLn... | double function ( ) { return 180.0 / Math . PI * latRadians ; } |
19,858 | grabs , decodes and returns the next video frame . the methods/functions combine `` videocapture.grab '' and `` videocapture.retrieve '' in one call . this is the most convenient method for reading video files or capturing data from decode and return the just grabbed frame . if no frames has been grabbed camera has bee... | boolean function ( Mat arg0 ) { boolean loc0 = n_read ( nativeObj , arg0 . nativeObj ) ; return loc0 ; } |
19,859 | write a line . concode_field_sep String LOG_ERROR concode_elem_sep Logger LOGGER concode_elem_sep File gzipFile concode_elem_sep String LOG_TIMESTAMP concode_elem_sep long lines concode_elem_sep Writer out concode_elem_sep int timestamp_interval concode_field_sep void rotateForCheckpoint concode_elem_sep void considerT... | void function ( MutableString arg0 ) { if ( this . out == null ) { return ; } try { arg0 . write ( out ) ; this . out . write ( "srini_string" ) ; noteLine ( ) ; } catch ( IOException loc0 ) { LOGGER . log ( Level . SEVERE , "srini_string" + arg0 , loc0 ) ; } } |
19,860 | returns on array containing the rois in this overlay . concode_field_sep boolean drawNames concode_elem_sep Font labelFont concode_elem_sep boolean label concode_elem_sep Vector list concode_elem_sep Color labelColor concode_elem_sep boolean drawBackgrounds concode_elem_sep boolean isCalibrationBar concode_field_sep Fo... | Roi [ ] function ( ) { Roi [ ] loc0 = new Roi [ list . size ( ) ] ; return ( Roi [ ] ) list . toArray ( loc0 ) ; } |
19,861 | check that a given tag has one of the specified values . if no values are given , just checks for presence of the tag concode_field_sep int NODE concode_elem_sep int RELATION concode_elem_sep Map<String,Object> properties concode_elem_sep int WAY concode_elem_sep long id concode_elem_sep int type concode_field_sep Stri... | boolean function ( String arg0 , String ... arg1 ) { Object loc0 = properties . get ( arg0 ) ; if ( loc0 == null ) return false ; if ( arg1 . length == 0 ) return true ; for ( String loc1 : arg1 ) { if ( loc1 . equals ( loc0 ) ) return true ; } return false ; } |
19,862 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep Boolean privateZone concode_elem_sep String comment concode_field_sep HostedZoneConfig withComment concode_elem_sep Boolean getPrivateZone concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getComment ( ) != null ) loc0 . append ( "srini_string" + getComment ( ) + "srini_string" ) ; if ( getPrivateZone ( ) != null ) loc0 . append ( "srini_string" + getPrivateZone ( ) ) ; loc0 . append ( "srini_string... |
19,863 | parses and evaluates buildfile and returns the resulting package instance . concode_field_sep PackageFactory factory concode_elem_sep EventHandler eventHandler concode_field_sep CachingPackageLocator getPackageLocator concode_elem_sep PackageFactory factory concode_elem_sep Pair<Package,GlobCache> evalAndReturnGlobCach... | Package function ( String arg0 , Path arg1 ) { return createPackage ( PackageIdentifier . createInDefaultRepo ( arg0 ) , arg1 , eventHandler ) ; } |
19,864 | convert calendar to string with format `` yyyy-mm-dd '' concode_field_sep Map<Integer,String> weekMap concode_elem_sep Map<Integer,String> monthMap concode_elem_sep String timeFormat concode_elem_sep Logger log concode_elem_sep String dateFormat concode_elem_sep String datePatterns[] concode_field_sep Calendar stringTo... | String function ( Calendar arg0 ) { return calendarToString ( arg0 , dateFormat ) ; } |
19,865 | checks if we are still in the state . concode_field_sep boolean isSeaTrading concode_elem_sep int count concode_elem_sep BitSet stockStates concode_elem_sep int[] tradingCounts concode_elem_sep EPriority priority concode_elem_sep EMaterialType type concode_elem_sep IMovable movable concode_elem_sep boolean comming conc... | boolean function ( IBuilding arg0 ) { return arg0 . getPriority ( ) == priority && Arrays . equals ( supportedPriorities , arg0 . getSupportedPriorities ( ) ) && construction == ( arg0 . getStateProgress ( ) < 1 ) && hasSameStacks ( arg0 ) && hasSameOccupiers ( arg0 ) && hasSameStock ( arg0 ) && hasSameTrading ( arg0 )... |
19,866 | sets the value of the taxid property . concode_field_sep String oldServiceProviderAccountPin concode_elem_sep String firstName concode_elem_sep String lastName concode_elem_sep String taxId concode_elem_sep String businessName concode_elem_sep String oldServiceProviderAccountNumber concode_elem_sep LanguageEnum languag... | void function ( String arg0 ) { this . taxId = arg0 ; } |
19,867 | performs a dynamic query on the database and returns the matching rows . concode_field_sep MBDiscussionLocalService _mbDiscussionLocalService concode_field_sep com.liferay.portlet.messageboards.model.MBDiscussion updateMBDiscussion concode_elem_sep com.liferay.portlet.messageboards.model.MBDiscussion updateMBDiscussion... | java . util . List function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _mbDiscussionLocalService . arg0 ( arg0 ) ; } |
19,868 | moves context through cache returning one from cache if exists . concode_field_sep String myTraceIndent concode_elem_sep Map<PyTypedElement,PyType> myEvaluated concode_elem_sep ThreadLocal<Set<PyTypedElement>> myEvaluating concode_elem_sep ThreadLocal<Set<PyCallable>> myEvaluatingReturn concode_elem_sep Key INSTANCE co... | TypeEvalContext function ( @ NotNull final Project arg0 , @ NotNull final TypeEvalContext arg1 ) { return ServiceManager . getService ( arg0 , TypeEvalContextCache . class ) . getContext ( arg1 ) ; } |
19,869 | enables the help key on a component . convenience method which delegates to the held help broker , if ther is any . an applies the help set from the help broker and the help id to the given component . concode_field_sep DefaultHelpBroker helpBroker concode_field_sep void add concode_elem_sep void showTheme concode_elem... | boolean function ( Component arg0 , String arg1 ) { Guardian . assertNotNull ( "srini_string" , arg0 ) ; Guardian . assertNotNull ( "srini_string" , arg1 ) ; if ( getHelpSet ( ) == null || ! isValidID ( arg1 ) ) { return false ; } getHelpBroker ( ) . enableHelpKey ( arg0 , arg1 , getHelpSet ( ) ) ; return true ; } |
19,870 | create an instance of retail concode_field_sep QName _Company_QNAME concode_elem_sep QName _CompanyRequest_QNAME concode_elem_sep QName _CompanyResponse_QNAME concode_field_sep GetRequestVerb createGetRequestVerb concode_elem_sep DeleteRequest createDeleteRequest concode_elem_sep DeleteResponse createDeleteResponse con... | Retail function ( ) { return new Retail ( ) ; } |
19,871 | returns the asset with the primary key or throws a nosuchassetexception if it could not be found . concode_field_sep AssetPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep List<Asset> findWithDynamicQuery concode_elem_sep List<As... | Asset function ( long arg0 ) { return getPersistence ( ) . findByPrimaryKey ( arg0 ) ; } |
19,872 | translates a message . uses ` java.text.messageformat ` internally to format the message . concode_field_sep play.api.i18n.MessagesApi messages concode_field_sep play.api.i18n.MessagesApi scalaApi concode_elem_sep Boolean isDefinedAt concode_elem_sep Buffer<Object> convertArgsToScalaBuffer concode_elem_sep List<T> wrap... | String function ( play . api . i18n . Lang arg0 , String arg1 , Object ... arg2 ) { Buffer < Object > loc0 = convertArgsToScalaBuffer ( arg2 ) ; return messages . apply ( arg1 , loc0 , arg0 ) ; } |
19,873 | returns a paged iterator concode_field_sep EntityManagerFactory emFactory concode_elem_sep Class<T> entityClass concode_elem_sep int currentPageNumber concode_elem_sep int pageSize concode_elem_sep EntityManager _entityManager concode_elem_sep JpaRepository<T,ID> repository concode_elem_sep Iterator<T> currentPage conc... | Iterator < T > function ( int arg0 ) { return new JpaPagedIterator < T > ( this , arg0 ) ; } |
19,874 | returns boolean.true if getmember overrides something , boolean.false if getmember implements something , null if neither is the case . if getmember is a psiclass , returns boolean.true if this class comes from ` extends ' , boolean.false if it comes from ` implements ' list , null if it is an inner class . concode_fie... | Boolean function ( ) { return overrides ; } |
19,875 | get the bounding box in latitude and longitude for this layer . concode_field_sep int TYPE_REMOTE_VECTOR concode_elem_sep int TYPE_VECTOR concode_elem_sep int TYPE_WMS concode_elem_sep SimpleFeatureSource remoteFeatureSource concode_elem_sep String name concode_elem_sep String description concode_elem_sep FeatureTypeCo... | ReferencedEnvelope function ( ) { if ( layerInfo != null ) { ResourceInfo loc0 = layerInfo . getResource ( ) ; return loc0 . getLatLonBoundingBox ( ) ; } throw new UnsupportedOperationException ( "srini_string" + "srini_string" ) ; } |
19,876 | add a shutdownhook . concode_field_sep AtmosphereFramework framework concode_elem_sep List<ShutdownHook> shutdownHooks concode_elem_sep boolean sessionTimeoutRemovalAllowed concode_elem_sep List<AtmosphereHandlerConfig> atmosphereHandlerConfig concode_elem_sep boolean supportSession concode_elem_sep boolean throwExcept... | AtmosphereConfig function ( ShutdownHook arg0 ) { shutdownHooks . add ( arg0 ) ; return this ; } |
19,877 | returns a string summarizing f1 that will print nicely . concode_field_sep int[] fnCount concode_elem_sep L negLabel concode_elem_sep int[] tpCount concode_elem_sep int negIndex concode_elem_sep int[] fpCount concode_elem_sep Index<L> labelIndex concode_field_sep Triple<Double,Integer,Integer> getRecallInfo concode_ele... | String function ( int arg0 ) { NumberFormat loc0 = NumberFormat . getNumberInstance ( ) ; loc0 . setMaximumFractionDigits ( arg0 ) ; return loc0 . format ( getFMeasure ( ) ) ; } |
19,878 | gets the value of the reminderid property . concode_field_sep Long reminderId concode_elem_sep Long personId concode_field_sep Long getPersonId concode_elem_sep void setReminderId concode_elem_sep void setPersonId | Long function ( ) { return reminderId ; } |
19,879 | enables platform notifications of data state and proxy changes . notifications are enabled by default . concode_field_sep PlaceHolder placeHolder concode_field_sep String nativeFindAddress concode_elem_sep String findAddress concode_elem_sep void disablePlatformNotifications concode_elem_sep void setWebKitSharedTimersS... | void function ( ) { ProxyChangeListener . setEnabled ( true ) ; } |
19,880 | the name of the attribute involved in the condition . concode_field_sep String name concode_elem_sep Boolean exists concode_elem_sep String value concode_field_sep String getName concode_elem_sep void setExists concode_elem_sep Boolean getExists concode_elem_sep String getValue concode_elem_sep UpdateCondition withExis... | void function ( String arg0 ) { this . name = arg0 ; } |
19,881 | converts a date as long to a mac date as long concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | long function ( Date arg0 ) { return ( arg0 . getTime ( ) / 1000L ) + 2082844800L ; } |
19,882 | keep track of a participant concode_field_sep Logger log concode_elem_sep HashMap<String,Set<BACoordinationCompletionParticipant>> participants concode_elem_sep String txID concode_elem_sep EventLog eventLog concode_elem_sep long serialVersionUID concode_elem_sep String participantName concode_elem_sep ServiceCommand[]... | void function ( String arg0 , BACoordinationCompletionParticipant arg1 ) { getParticipantSet ( arg0 ) . add ( arg1 ) ; } |
19,883 | return the prefix that corresponds to the named condition expression concode_field_sep SearchFactory factory concode_elem_sep int UNIQUE_ID concode_elem_sep DataRepository data concode_elem_sep int chopTagLength concode_elem_sep String start concode_elem_sep Set condList concode_elem_sep String CONDITION_NAME concode_e... | String function ( String arg0 ) { int loc0 = arg0 . indexOf ( CONDITION_NAME ) ; if ( loc0 == - 1 ) return null ; return arg0 . substring ( DataRepository . anonymousPrefix . length ( ) , loc0 - 1 ) ; } |
19,884 | add all exceptions in the given set . concode_field_sep BitSet exceptionSet concode_elem_sep ExceptionSetFactory factory concode_elem_sep int size concode_elem_sep boolean universalHandler concode_elem_sep Type commonSupertype concode_elem_sep int next concode_elem_sep int last concode_elem_sep BitSet explicitSet conco... | void function ( ExceptionSet arg0 ) { exceptionSet . or ( arg0 . exceptionSet ) ; explicitSet . or ( arg0 . explicitSet ) ; size = countBits ( exceptionSet ) ; commonSupertype = null ; } |
19,885 | the max doc . concode_field_sep int deletedDocs concode_elem_sep int maxDoc concode_elem_sep int numDocs concode_field_sep int numDocs concode_elem_sep int deletedDocs concode_elem_sep int getDeletedDocs concode_elem_sep int getNumDocs concode_elem_sep int maxDoc | int function ( ) { return maxDoc ( ) ; } |
19,886 | prints a message at verbose priority . concode_field_sep int ERROR concode_elem_sep int VERBOSE concode_elem_sep int WARN concode_elem_sep int NONE concode_elem_sep int ASSERT concode_elem_sep int DEBUG concode_elem_sep LogNode mLogNode concode_elem_sep int INFO concode_field_sep void println concode_elem_sep void prin... | void function ( String arg0 , String arg1 ) { v ( arg0 , arg1 , null ) ; } |
19,887 | returns the username . concode_field_sep Date birthday concode_elem_sep String country concode_elem_sep String gender concode_elem_sep String city concode_elem_sep String mobileNumber concode_elem_sep String language concode_elem_sep String additionalAddressInfo concode_elem_sep CompanyUserBillingAddress companyUserBil... | String function ( ) { return username ; } |
19,888 | gets the value of the refillamountsrestricted property . concode_field_sep List<SupportedFeatureType> supportedFeatures concode_elem_sep Integer smsCost concode_elem_sep String description concode_elem_sep List<Integer> validRefillAmountInCents concode_elem_sep long serialVersionUID concode_elem_sep BigInteger ratePlan... | boolean function ( ) { return refillAmountsRestricted ; } |
19,889 | returns the list of web app ids which are written to sharedpreferences . concode_field_sep HashMap<String,WebappDataStorage> mStorages concode_elem_sep String KEY_LAST_CLEANUP concode_elem_sep WebappRegistry sInstance concode_elem_sep String KEY_WEBAPP_SET concode_elem_sep long WEBAPP_UNOPENED_CLEANUP_DURATION concode_... | Set < String > function ( ) { return Collections . unmodifiableSet ( openSharedPreferences ( ) . getStringSet ( KEY_WEBAPP_SET , Collections . < String > emptySet ( ) ) ) ; } |
19,890 | sets the significance level at which independence judgments should be made . affects the cutoff for partial correlations to be considered statistically equal to zero . concode_field_sep double determinationP concode_elem_sep List<Node> variables concode_elem_sep NumberFormat nf concode_elem_sep double alpha concode_ele... | void function ( double arg0 ) { this . gSquareTest . setAlpha ( arg0 ) ; } |
19,891 | gets the value of the value property . concode_field_sep String condition concode_elem_sep String hrefextend concode_elem_sep String type concode_elem_sep String value concode_field_sep String getCondition concode_elem_sep void setCondition concode_elem_sep String getType concode_elem_sep String getHrefextend concode_e... | String function ( ) { return value ; } |
19,892 | gets the value of the url property . concode_field_sep Integer delaySeconds concode_elem_sep String password concode_elem_sep List<AnyArgType> anyArg concode_elem_sep String targetFile concode_elem_sep String successURL concode_elem_sep String completeTime concode_elem_sep String startTime concode_elem_sep Integer file... | String function ( ) { return url ; } |
19,893 | returns the error text , which may be null . concode_field_sep String code concode_elem_sep String NAMESPACE concode_elem_sep String text concode_field_sep String toString concode_elem_sep String getCode | String function ( ) { return text ; } |
19,894 | gets protocol for secure transport . concode_field_sep char[] trustStorePwd concode_elem_sep String keyStoreType concode_elem_sep char[] keyStorePwd concode_elem_sep String trustStoreType concode_elem_sep long serialVersionUID concode_elem_sep String DFLT_SSL_PROTOCOL concode_elem_sep X509Certificate[] CERTS concode_el... | String function ( ) { return proto ; } |
19,895 | returns true if the given state is currently active otherwise false . concode_field_sep long minus concode_elem_sep long myInt1 concode_elem_sep long plusAssign concode_elem_sep long myInt2 concode_elem_sep boolean equalOrLess concode_elem_sep boolean notEqual concode_elem_sep boolean less concode_elem_sep long divAssi... | boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_StateA : return stateVector [ 0 ] == State . main_region_StateA ; case main_region_StateB : return stateVector [ 0 ] == State . main_region_StateB ; default : return false ; } } |
19,896 | returns a long instance representing the specified long . long.valueof was added in jdk 1.5 . concode_field_sep String FQCN concode_elem_sep Level TRACE concode_field_sep void throwing concode_elem_sep void entering concode_elem_sep void entering concode_elem_sep void entering concode_elem_sep void entering concode_ele... | Long function ( final long arg0 ) { return new Long ( arg0 ) ; } |
19,897 | draw a bitmap of nine patches . concode_field_sep byte[] mChunk concode_elem_sep Paint mPaint concode_elem_sep String mSrcName concode_elem_sep Bitmap mBitmap concode_elem_sep RectF mRect concode_field_sep boolean isNinePatchChunk concode_elem_sep int getHeight concode_elem_sep Region getTransparentRegion concode_elem_... | void function ( Canvas arg0 , RectF arg1 ) { if ( ! arg0 . isHardwareAccelerated ( ) ) { nativeDraw ( arg0 . mNativeCanvas , arg1 , mBitmap . ni ( ) , mChunk , mPaint != null ? mPaint . mNativePaint : 0 , arg0 . mDensity , mBitmap . mDensity ) ; } else { arg0 . drawPatch ( mBitmap , mChunk , arg1 , mPaint ) ; } } |
19,898 | get the type of link that the bit of metadata has . concode_field_sep Map<String,String> links concode_field_sep boolean hasLink | String function ( String arg0 ) { return links . get ( arg0 ) ; } |
19,899 | gets the batchsize value for this paramsgetleadchanges . concode_field_sep com.marketo.www.mktows.LeadSelector leadSelector concode_elem_sep java.lang.String[] activityNameFilter concode_elem_sep com.marketo.www.mktows.ActivityTypeFilter activityFilter concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boo... | java . lang . Integer function ( ) { return batchSize ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.