idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
1,700 | creates a new parser and returns it concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | SourceCodeParser function ( final InputStream arg0 , final String arg1 ) { return new JavaCCParser ( arg0 , arg1 ) ; } |
1,701 | creates implementation of ticker-view for specified data scheme with default statistics gathering delegate . concode_field_sep DataScheme defaultScheme concode_elem_sep QDFactory defaultFactory concode_elem_sep boolean versionShown concode_elem_sep String version concode_field_sep String getVersion concode_elem_sep QDC... | QDTicker function ( DataScheme arg0 ) { return tickerBuilder ( ) . withScheme ( arg0 ) . build ( ) ; } |
1,702 | for caches that do not override #sizeof , this returns the number of entries in the cache . for all other caches , this returns the sum of the sizes of the entries in this cache . concode_field_sep int evictionCount concode_elem_sep int putCount concode_elem_sep int hitCount concode_elem_sep int size concode_elem_sep i... | int function ( ) { return size ; } |
1,703 | returns the number of alternative reference in this funding referece concode_field_sep FundingSourceSuite suite concode_elem_sep Long id concode_elem_sep FundingSource source concode_elem_sep Set<FundingSourceAltRef> altRefs concode_field_sep boolean containsAlternative concode_elem_sep void setSuite concode_elem_sep v... | int function ( ) { return getAltRefs ( ) . size ( ) ; } |
1,704 | programmatic name of the repo group type . concode_field_sep String QUERY_FIND_BY_NAME concode_elem_sep String name concode_elem_sep Set<RepoGroup> repoGroups concode_elem_sep String description concode_elem_sep long serialVersionUID concode_elem_sep int id concode_field_sep void setName concode_elem_sep Set<RepoGroup>... | String function ( ) { return name ; } |
1,705 | the expression to evaluate for sorting while processing a search request . the expression syntax is based on javascript expressions . for more information , see configuring expressions in the amazon cloudsearch developer guide . returns a reference to this object so that method calls can be chained together . constrain... | Expression function ( String arg0 ) { this . expressionValue = arg0 ; return this ; } |
1,706 | sets the layout . concode_field_sep Layout layout concode_elem_sep MetaData metaData concode_elem_sep List<Handler> handlers concode_elem_sep long serialVersionUID concode_elem_sep List<AuditEventFilter> filters concode_elem_sep String version concode_elem_sep Date released concode_elem_sep Map<String,String> propertie... | void function ( Layout arg0 ) { this . layout = arg0 ; } |
1,707 | sets the bar . concode_field_sep String bar concode_elem_sep String foo concode_field_sep String getBar concode_elem_sep void setFoo concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String getFoo concode_elem_sep int compareTo | void function ( String arg0 ) { this . bar = arg0 ; } |
1,708 | returns the uppercase string , followed by security environment information . concode_field_sep PlaceHolder placeHolder concode_field_sep String makeLowerCase concode_elem_sep int countLength concode_elem_sep String publicMakeLowerCase concode_elem_sep Integer computeHashCode | String function ( String arg0 ) { Authentication loc0 = SecurityContextHolder . getContext ( ) . getAuthentication ( ) ; return arg0 . toUpperCase ( ) + "srini_string" + loc0 . getClass ( ) . getName ( ) + "srini_string" + loc0 . isAuthenticated ( ) ; } |
1,709 | returns active state of this timer , inactive timer wo n't do any action . concode_field_sep long currentTick concode_elem_sep long serialVersionUID concode_elem_sep boolean active concode_elem_sep long delay concode_field_sep void setActive concode_elem_sep long getDelay concode_elem_sep void setEquals concode_elem_se... | boolean function ( ) { return this . active ; } |
1,710 | sets the value of the id property . concode_field_sep Parent parent concode_elem_sep String image concode_elem_sep String code concode_elem_sep Boolean visible concode_elem_sep long serialVersionUID concode_elem_sep String label concode_elem_sep Descriptions descriptions concode_elem_sep Transistions transistions conco... | void function ( long arg0 ) { this . id = arg0 ; } |
1,711 | isreload concode_field_sep boolean availEnabled concode_elem_sep boolean isUserAdmin concode_elem_sep boolean useSemaphore concode_elem_sep String defaultBackgroundColor concode_elem_sep List<Avail> avails concode_elem_sep boolean contextMenuEnabled concode_elem_sep List<Link> links concode_elem_sep List<String> catego... | boolean function ( ) { return reload ; } |
1,712 | remove the passed condition node from the ast , and then return a minimizedcondition that represents the condition node after minimization . concode_field_sep Node node concode_elem_sep MeasuredNode negative concode_elem_sep int length concode_elem_sep MeasuredNode positive concode_elem_sep Node placeholder concode_ele... | MinimizedCondition function ( Node arg0 ) { switch ( arg0 . getType ( ) ) { case Token . NOT : case Token . AND : case Token . OR : case Token . HOOK : case Token . COMMA : Node loc0 = swapWithPlaceholderNode ( arg0 ) ; return computeMinimizedCondition ( arg0 ) . setPlaceholder ( loc0 ) ; default : return unoptimized (... |
1,713 | gets the driver 's major version number . concode_field_sep int REVISION concode_elem_sep String sStartURL concode_elem_sep String VERSION concode_elem_sep int MINOR concode_elem_sep String PRODUCT concode_elem_sep int MAJOR concode_field_sep int getMinorVersion concode_elem_sep boolean jdbcCompliant concode_elem_sep C... | int function ( ) { if ( Trace . TRACE ) { Trace . trace ( ) ; } return MAJOR ; } |
1,714 | gets the value of the triggerenddate property . concode_field_sep BigInteger maxTriggerExtensionInDays concode_elem_sep long serialVersionUID concode_elem_sep XMLGregorianCalendar triggerEndDate concode_field_sep void setMaxTriggerExtensionInDays concode_elem_sep BigInteger getMaxTriggerExtensionInDays concode_elem_sep... | XMLGregorianCalendar function ( ) { return triggerEndDate ; } |
1,715 | the number of nodes for which there are known pings concode_field_sep DiscoveryNode node concode_elem_sep boolean hasJoinedOnce concode_elem_sep ClusterName clusterName concode_elem_sep Map<DiscoveryNode,PingResponse> pings concode_elem_sep long id concode_elem_sep PingResponse[] EMPTY concode_elem_sep AtomicLong idGen... | int function ( ) { return pings . size ( ) ; } |
1,716 | decodes a byte array into a float value . concode_field_sep Logger LOG concode_field_sep Date decodeDate concode_elem_sep String decodeString concode_elem_sep Tlv[] decode concode_elem_sep boolean decodeBoolean concode_elem_sep Number decodeInteger | Number function ( byte [ ] arg0 ) { ByteBuffer loc0 = ByteBuffer . wrap ( arg0 ) ; if ( arg0 . length == 4 ) { return loc0 . getFloat ( ) ; } else if ( arg0 . length == 8 ) { return loc0 . getDouble ( ) ; } else { throw new TlvException ( "srini_string" + arg0 . length ) ; } } |
1,717 | sets whether or not the new user will be able to see other enterprise users in their contact list . concode_field_sep BoxUser.Role role concode_elem_sep String address concode_elem_sep boolean isExemptFromLoginVerification concode_elem_sep String timezone concode_elem_sep String jobTitle concode_elem_sep boolean isPlat... | CreateUserParams function ( boolean arg0 ) { this . canSeeManagedUsers = arg0 ; return this ; } |
1,718 | sets the time to live for the result in seconds . concode_field_sep ThingUID bridgeUID concode_elem_sep long ttl concode_elem_sep ThingUID thingUID concode_elem_sep Map<String,Object> properties concode_elem_sep String label concode_elem_sep String representationProperty concode_elem_sep ThingTypeUID thingTypeUID conco... | DiscoveryResultBuilder function ( long arg0 ) { this . ttl = arg0 ; return this ; } |
1,719 | set the creationtime value . concode_field_sep DateTime notificationExpirationTime concode_elem_sep String resourceId concode_elem_sep DateTime creationTime concode_elem_sep DateTime nextNotificationTime concode_elem_sep NotificationLevel level concode_elem_sep String displayName concode_elem_sep String recommendationI... | RecommendationInner function ( DateTime arg0 ) { this . creationTime = arg0 ; return this ; } |
1,720 | returns the number of seconds to wait before reporting slow progress again . concode_field_sep EventBus eventBus concode_elem_sep Executor executor concode_elem_sep Map<ActionMetadata,Pair<String,Long>> actionStatus concode_elem_sep int MAX_LINES concode_elem_sep Clock clock concode_elem_sep EventHandler eventHandler c... | int function ( int arg0 , int arg1 ) { if ( arg0 > 0 ) { return arg0 ; } if ( arg1 == 0 ) { return 10 ; } else if ( arg1 == 10 ) { return 30 ; } else { return 60 ; } } |
1,721 | compiler requires ` public ' modifier concode_field_sep InnerImplementation inner concode_elem_sep String s3 concode_elem_sep String s4 concode_elem_sep float PI_FINAL concode_elem_sep String s2 concode_elem_sep float PI_OK concode_elem_sep String s1 concode_elem_sep boolean sModifierOrderVar concode_elem_sep float PI_... | void function ( ) { } |
1,722 | sets the value of the inactive property . concode_field_sep Boolean defaultEarning concode_elem_sep Boolean inactive concode_elem_sep String payRate concode_elem_sep Double defaultHours concode_elem_sep RecordRef payrollItem concode_elem_sep XMLGregorianCalendar effectiveDate concode_elem_sep Boolean primaryEarning con... | void function ( Boolean arg0 ) { this . inactive = arg0 ; } |
1,723 | sets the value of the type property . concode_field_sep long oid concode_elem_sep int rid concode_elem_sep String type concode_elem_sep List<SCompareItem> items concode_field_sep List<SCompareItem> getItems concode_elem_sep String getType concode_elem_sep void setRid concode_elem_sep void setOid concode_elem_sep long g... | void function ( String arg0 ) { this . type = arg0 ; } |
1,724 | get id concode_field_sep String name concode_elem_sep Long id concode_field_sep void setName concode_elem_sep String toIndentedString concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Category name concode_elem_sep void setId concode_elem_sep String toString ... | Long function ( ) { return id ; } |
1,725 | this implementation is empty . concode_field_sep PlaceHolder placeHolder concode_field_sep Type getPayloadType concode_elem_sep void handleException concode_elem_sep void handleTransportError concode_elem_sep void afterConnected | void function ( StompHeaders arg0 , Object arg1 ) { } |
1,726 | test for calculating surcharge application where it is not applicable . concode_field_sep PlaceHolder placeHolder concode_field_sep void testIsApplicableValidCase concode_elem_sep void testGetTaxValidCase concode_elem_sep void testIsApplicableInvalidCase | void function ( ) { SurchargeCalculator loc0 = new SurchargeCalculator ( 00000.00 ) ; assertEquals ( 0 , loc0 . getTax ( 42000.00 ) , 0.0 ) ; } |
1,727 | following 2 methods are for normal controls like button , textfield etc concode_field_sep PlaceHolder placeHolder concode_field_sep void assertValueListenersDoesNotContain concode_elem_sep void assertValueListenersDoesNotContain concode_elem_sep void assertPseudoClassDoesNotExist concode_elem_sep void assertPseudoClass... | void function ( Control arg0 , String arg1 ) { assertStyleClassContains ( "srini_string" + arg1 + "srini_string" + arg0 , arg0 , arg1 ) ; } |
1,728 | get the barycenter of the interval . concode_field_sep double lower concode_elem_sep double upper concode_field_sep double getSup concode_elem_sep double getSize concode_elem_sep double getInf concode_elem_sep double getMidPoint concode_elem_sep double getLower concode_elem_sep double getLength concode_elem_sep Locatio... | double function ( ) { return 0.5 * ( lower + upper ) ; } |
1,729 | set users first name . concode_field_sep String firstName concode_elem_sep String lastName concode_elem_sep String password concode_elem_sep String STATUS_DISABLED concode_elem_sep String STATUS_ACTIVE concode_elem_sep String id concode_elem_sep String version concode_elem_sep String email concode_elem_sep String statu... | void function ( String arg0 ) { this . firstName = arg0 ; } |
1,730 | calls classloader #findresources . concode_field_sep Method GET_CLASS_LOADING_LOCK concode_elem_sep Method FIND_RESOURCE concode_elem_sep Method FIND_RESOURCES concode_elem_sep Method FIND_CLASS concode_elem_sep Method FIND_LOADED_CLASS concode_field_sep URL _findResource concode_elem_sep URL findResource concode_elem_... | Enumeration < URL > function ( ClassLoader arg0 , String arg1 ) { return ( Enumeration < URL > ) invoke ( FIND_RESOURCES , IOException . class , arg0 , arg1 ) ; } |
1,731 | loads the sourcemetadata . concode_field_sep ConcurrentMap<String,ProbeInstance> probeInstances concode_elem_sep long mod concode_elem_sep ScheduledExecutorService scheduledExecutorService concode_elem_sep List<ProbeInstance> probeInstances concode_elem_sep Comparator<ProbeInstance> COMPARATOR concode_elem_sep ILogger ... | SourceMetadata function ( Class < ? > arg0 ) { SourceMetadata loc0 = metadataMap . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new SourceMetadata ( arg0 ) ; SourceMetadata loc1 = metadataMap . putIfAbsent ( arg0 , loc0 ) ; loc0 = loc1 == null ? loc0 : loc1 ; } return loc0 ; } |
1,732 | returns whether or not there exists a purchase of the given product . concode_field_sep Map<String,SkuDetails> mSkuMap concode_elem_sep Map<String,Purchase> mPurchaseMap concode_field_sep void erasePurchase concode_elem_sep List<String> getAllOwnedSkus concode_elem_sep List<String> getAllOwnedSkus concode_elem_sep void... | boolean function ( String arg0 ) { return mPurchaseMap . containsKey ( arg0 ) ; } |
1,733 | toggle the visibility of the system ui . concode_field_sep OnVisibilityChangeListener mOnVisibilityChangeListener concode_elem_sep int FLAG_LAYOUT_IN_SCREEN_OLDER_DEVICES concode_elem_sep View mAnchorView concode_elem_sep Activity mActivity concode_elem_sep int FLAG_FULLSCREEN concode_elem_sep int mFlags concode_elem_s... | void function ( ) { if ( isVisible ( ) ) { hide ( ) ; } else { show ( ) ; } } |
1,734 | density function concode_field_sep double c concode_elem_sep double mu concode_elem_sep UnivariateFunction pdfFunction concode_elem_sep double beta concode_field_sep double cdf concode_elem_sep double getMu concode_elem_sep UnivariateFunction getProbabilityDensityFunction concode_elem_sep double getUpperBound concode_e... | double function ( double arg0 ) { return c * Math . exp ( - Math . abs ( arg0 - mu ) / beta ) ; } |
1,735 | parse an ojaudit output file and report any violations to the sensorcontext supplied to the constructor . concode_field_sep Logger LOG concode_elem_sep RulesProfile profile concode_elem_sep SensorContext context concode_elem_sep Project project concode_field_sep void processConstruct concode_elem_sep Audit unmarshall c... | void function ( File arg0 ) { LOG . info ( "srini_string" , arg0 . getAbsolutePath ( ) ) ; Audit loc0 = unmarshall ( arg0 ) ; processConstruct ( loc0 . getConstruct ( ) ) ; } |
1,736 | gets the value of the description property . concode_field_sep ResourceAdaptorTypeName resourceAdaptorTypeName concode_elem_sep Description description concode_elem_sep ResourceAdaptorTypeVersion resourceAdaptorTypeVersion concode_elem_sep String id concode_elem_sep ResourceAdaptorTypeVendor resourceAdaptorTypeVendor c... | Description function ( ) { return description ; } |
1,737 | returns an array of principal representing the roles associated with the identityinvoking the ejb . this method will check performs checks against run as identities in order to resolve the correct set of roles to be granted . concode_field_sep Method viewMethod concode_elem_sep String viewClassName concode_field_sep Ob... | Principal [ ] function ( SecurityIdentity arg0 ) { Set < String > loc0 = new HashSet < > ( ) ; arg0 . getRoles ( "srini_string" ) . forEach ( loc0 :: add ) ; return loc0 . stream ( ) . map ( ( Function < String , Principal > ) roleName -> ( Principal ) ( ) -> roleName ) . toArray ( Principal [ ] :: new ) ; } |
1,738 | sets error message . concode_field_sep String hostName concode_elem_sep boolean success concode_elem_sep String error concode_field_sep void setHostName concode_elem_sep String getError concode_elem_sep void setSuccess concode_elem_sep String getHostName concode_elem_sep boolean isSuccess | void function ( String arg0 ) { this . error = arg0 ; } |
1,739 | determine the database to use based on this configuration and the primary datasource . concode_field_sep String DEFAULT_PHYSICAL_STRATEGY concode_elem_sep String physicalStrategy concode_elem_sep Hibernate hibernate concode_elem_sep boolean generateDdl concode_elem_sep Naming naming concode_elem_sep String DEFAULT_IMPL... | Database function ( DataSource arg0 ) { if ( this . database != null ) { return this . database ; } return DatabaseLookup . getDatabase ( arg0 ) ; } |
1,740 | visits status of a leaf step . concode_field_sep XMLIndent _xml concode_elem_sep Throwable _throwable concode_elem_sep DateFormat DATE_FORMATTER concode_elem_sep Map<String,Object> _attributes concode_elem_sep String _tagName concode_field_sep void startVisit concode_elem_sep Map<String,Object> getAttributes concode_el... | void function ( IStepCompletionStatus < T > arg0 ) { addTag ( "srini_string" , getAttributes ( arg0 ) , arg0 . getThrowable ( ) ) ; } |
1,741 | inserts a simple timeline item . concode_field_sep Logger LOG concode_field_sep Mirror getMirror concode_elem_sep TimelineListResponse listItems concode_elem_sep void deleteTimelineItem concode_elem_sep void deleteSubscription concode_elem_sep void deleteContact concode_elem_sep ContactsListResponse listContacts concod... | TimelineItem function ( Credential arg0 , TimelineItem arg1 ) { return getMirror ( arg0 ) . timeline ( ) . insert ( arg1 ) . execute ( ) ; } |
1,742 | removes the `` file : / / '' prefix from the given uri string , if applicable . if the given uri string does n't have a `` file : / / '' prefix , it is returned unchanged . concode_field_sep String _DATA concode_elem_sep String LOG_TAG concode_field_sep String getRealPathFromURI_API11to18 concode_elem_sep String getMim... | String function ( String arg0 ) { if ( arg0 . startsWith ( "srini_string" ) ) { arg0 = arg0 . substring ( 7 ) ; } return arg0 ; } |
1,743 | return true if this action matches with the given action . concode_field_sep String debugData concode_field_sep Test parseTest concode_elem_sep String getActionName concode_elem_sep String toHtmlString concode_elem_sep String toHtmlString concode_elem_sep String toHtmlString concode_elem_sep String toString concode_ele... | boolean function ( MAction arg0 ) { return false ; } |
1,744 | todo concode_field_sep Cursor DefaultLinkNoDrop concode_elem_sep Cursor DefaultLinkDrop concode_elem_sep Cursor DefaultCopyDrop concode_elem_sep Cursor DefaultCopyNoDrop concode_elem_sep DragSourceMotionListener dragSourceMotionListener concode_elem_sep DragSourceListener dragSourceListener concode_elem_sep DragSource ... | int function ( ) { return 8 ; } |
1,745 | this method sets the patronid attribute of the object concode_field_sep String MediaId concode_elem_sep Date cancelled_date concode_elem_sep Date reserved_date concode_elem_sep int cancellationId concode_elem_sep String PatronId concode_field_sep void setCancellationId concode_elem_sep void setReserved_date concode_ele... | void function ( String arg0 ) { this . PatronId = arg0 ; } |
1,746 | sets the id . concode_field_sep int patternCount concode_elem_sep int[] patternIndices concode_elem_sep SiteList patterns concode_elem_sep String id concode_elem_sep double[] weights concode_field_sep int getPatternState concode_elem_sep double getPatternWeight concode_elem_sep double[] getStateFrequencies concode_elem... | void function ( String arg0 ) { this . id = arg0 ; } |
1,747 | removes a listener . concode_field_sep Vector listenersV_ concode_elem_sep String copyright concode_elem_sep ChangeListener[] listeners_ concode_elem_sep Object source_ concode_field_sep void fireStateChanged concode_elem_sep void fireStateChanged concode_elem_sep void stateChanged concode_elem_sep void addChangeListen... | void function ( ChangeListener arg0 ) { if ( arg0 == null ) throw new NullPointerException ( "srini_string" ) ; if ( listenersV_ . removeElement ( arg0 ) ) { synchronized ( listeners_ ) { listeners_ = new ChangeListener [ listenersV_ . size ( ) ] ; listenersV_ . copyInto ( listeners_ ) ; } } } |
1,748 | example of updating a dataset . concode_field_sep Dataset dataset concode_field_sep boolean doesDatasetExist concode_elem_sep Table createTable concode_elem_sep Table getTable concode_elem_sep Dataset reloadDataset concode_elem_sep boolean deleteDataset concode_elem_sep Page<Table> list | Dataset function ( String arg0 ) { Builder loc0 = dataset . toBuilder ( ) ; loc0 . setFriendlyName ( arg0 ) ; Dataset loc1 = loc0 . build ( ) . update ( ) ; return loc1 ; } |
1,749 | returns the r matrix . concode_field_sep DenseMatrix64F QR concode_elem_sep double gammas[] concode_field_sep void decompose concode_elem_sep DenseMatrix64F getQ | DenseMatrix64F function ( ) { DenseMatrix64F loc0 = new DenseMatrix64F ( QR . numRows , QR . numCols ) ; int loc1 = Math . min ( QR . numCols , QR . numRows ) ; for ( int loc2 = 0 ; loc2 < loc1 ; loc2 ++ ) { for ( int loc3 = loc2 ; loc3 < QR . numCols ; loc3 ++ ) { loc0 . unsafe_set ( loc2 , loc3 , QR . unsafe_get ( lo... |
1,750 | returns a string containing the supplied byte values separatedby separator . for example , join '' : '' , 0x01 , 0x02 , -0 x01 returns the string `` 1:2 : -1 '' . concode_field_sep byte MAX_POWER_OF_TWO concode_field_sep byte saturatedCast concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep byte ... | String function ( String arg0 , byte ... arg1 ) { checkNotNull ( arg0 ) ; if ( arg1 . length == 0 ) { return "srini_string" ; } StringBuilder loc0 = new StringBuilder ( arg1 . length * 5 ) ; loc0 . append ( arg1 [ 0 ] ) ; for ( int loc1 = 1 ; loc1 < arg1 . length ; loc1 ++ ) { loc0 . append ( arg0 ) . append ( arg1 [ l... |
1,751 | sets the values of the matrix to those of the parameter concode_field_sep float[] mMat concode_field_sep void rotate concode_elem_sep void set concode_elem_sep void loadScale concode_elem_sep float get concode_elem_sep void loadMultiply concode_elem_sep float[] getArray concode_elem_sep void loadIdentity concode_elem_s... | void function ( Matrix2f arg0 ) { System . arraycopy ( arg0 . getArray ( ) , 0 , mMat , 0 , mMat . length ) ; } |
1,752 | the label that this vector has concode_field_sep int label concode_elem_sep long id concode_field_sep void setLabel | int function ( ) { return label ; } |
1,753 | if #overridesitemvisibility returns true , the return value of this methodwill help determine the visibility of the menuitem this actionprovider is bound to.if the menuitem 's visibility is explicitly set to false by the application , the menuitem will not be shown , even if this method returns true . concode_field_sep... | boolean function ( ) { return true ; } |
1,754 | gets the value of the name property . concode_field_sep String _default concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep String devname concode_field_sep void setName concode_elem_sep String getDevname concode_elem_sep void setDevname concode_elem_sep String getDefault concode_elem_s... | String function ( ) { return name ; } |
1,755 | returns a row if in memory cache . concode_field_sep DataFileCache dataFileCache concode_elem_sep StopWatch makeRowTimer concode_elem_sep long bytesCapacity concode_elem_sep CachedObject[] rowTable concode_elem_sep StopWatch sortTimer concode_elem_sep long cacheBytesLength concode_elem_sep StopWatch saveAllTimer concod... | CachedObject function ( int arg0 ) { return ( CachedObject ) cacheMap . get ( arg0 ) ; } |
1,756 | returns a server socket bound to the specified port . the socket is configured with the socket options given to this factory . concode_field_sep HsqlSocketFactory sslImpl concode_elem_sep HsqlSocketFactory plainImpl concode_field_sep Socket createSocket concode_elem_sep HsqlSocketFactory getPlainImpl concode_elem_sep H... | ServerSocket function ( int arg0 , String arg1 ) { return new ServerSocket ( arg0 , 128 , InetAddress . getByName ( arg1 ) ) ; } |
1,757 | gets the execution times . concode_field_sep Map<String,Long> executionTimes concode_field_sep void start concode_elem_sep double end | Map < String , Long > function ( ) { return executionTimes ; } |
1,758 | returns the preferred size of the drawable . if the drawable is aspect ratio aware , these bounds should be used to compute the preferred aspect ratio for this drawable . concode_field_sep double width concode_elem_sep GraphicsNode rootNode concode_elem_sep double height concode_field_sep void draw concode_elem_sep boo... | Dimension function ( ) { final int loc0 = ( int ) width ; final int loc1 = ( int ) height ; if ( loc0 == 0 || loc1 == 0 ) { return null ; } return new Dimension ( loc0 , loc1 ) ; } |
1,759 | create an instance of jaxbelement concode_field_sep QName _AnyConstraints_QNAME concode_elem_sep QName _ValidFrom_QNAME concode_elem_sep QName _ParameterisedText_QNAME concode_elem_sep QName _TextualDescription_QNAME concode_elem_sep QName _Intermediary_QNAME concode_elem_sep QName _ParameterisedDescription_QNAME conco... | JAXBElement < String > function ( String arg0 ) { return new JAXBElement < String > ( _AnyConstraints_QNAME , String . class , null , arg0 ) ; } |
1,760 | marks this task as skipped . concode_field_sep boolean upToDate concode_elem_sep boolean didWork concode_elem_sep Throwable failure concode_elem_sep String description concode_elem_sep boolean executed concode_elem_sep boolean executing concode_elem_sep String skippedMessage concode_elem_sep boolean skipped concode_fie... | void function ( String arg0 ) { this . executed = true ; this . skipped = true ; this . skippedMessage = arg0 ; } |
1,761 | retrieve the variable access for write . concode_field_sep String name concode_elem_sep VariableAccessor variableAccessor concode_field_sep VariableAccessor allocateVariableAccessor concode_elem_sep VariableAccessor getVariableAccessorForRead | VariableAccessor function ( VariableTableManager arg0 ) { return variableAccessor != VariableAccessor . DUMMY_ACCESSOR ? variableAccessor : allocateVariableAccessor ( arg0 ) ; } |
1,762 | true is this element need not to have the starting tag , false otherwise.s element need not to have the closing tag , false otherwise . the html 4.0 definition specifies that some elements like < hr > are not required to have the end tags . concode_field_sep gnuStringIntMapper mapper concode_elem_sep boolean oStart con... | boolean function ( ) { return oEnd ; } |
1,763 | sets the value of the templateref property . concode_field_sep SourceCode sourceCode concode_elem_sep ResourceType templateRef concode_elem_sep Documentation documentation concode_elem_sep String id concode_elem_sep String title concode_elem_sep Example example concode_field_sep String getTitle concode_elem_sep Resourc... | void function ( ResourceType arg0 ) { this . templateRef = arg0 ; } |
1,764 | a put operation that can be used in the fluent pattern . concode_field_sep ImmutableOpenIntMap EMPTY concode_elem_sep IntObjectHashMap<VType> map concode_field_sep VType getOrDefault concode_elem_sep void indexInsert concode_elem_sep IntLookupContainer keys concode_elem_sep IntCollection keys concode_elem_sep void rele... | Builder < VType > function ( int arg0 , VType arg1 ) { map . put ( arg0 , arg1 ) ; return this ; } |
1,765 | the inheriting option class can do additional checks on the options . note : for performance reasons this method is only called when setting bitmasks directly . when get - and set-methods are used , this method must be called manually , normally only when the options-object has been created from a client it has to be m... | void function ( int arg0 ) { } |
1,766 | checks if this factory creates ttl selectors instances . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isWritetimeSelectorFactory concode_elem_sep boolean isSimpleSelectorFactory concode_elem_sep String getColumnName concode_elem_sep Selector newInstance concode_elem_sep boolean isAggregateSelecto... | boolean function ( ) { return false ; } |
1,767 | get this node 's border , as defined by style . concode_field_sep CSSNode mParent concode_elem_sep CSSNode nextAbsoluteChild concode_elem_sep CSSStyle style concode_elem_sep ArrayList<CSSNode> mChildren concode_elem_sep int lineIndex concode_elem_sep MeasureFunction mMeasureFunction concode_elem_sep CachedCSSLayout las... | Spacing function ( ) { return style . border ; } |
1,768 | gets the area of interest . concode_field_sep AffineTransform transform concode_elem_sep RenderingHints hints concode_elem_sep Shape aoi concode_field_sep void preConcetenateTransform concode_elem_sep void concetenateTransform concode_elem_sep void setTransform concode_elem_sep void setAreaOfInterest concode_elem_sep v... | Shape function ( ) { return aoi ; } |
1,769 | adds the kaleo node to the database . also notifies the appropriate model listeners . concode_field_sep ServiceTracker<KaleoNodeLocalService,KaleoNodeLocalService> _serviceTracker concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void deleteKaleoDefinitionKaleoNodes concode_elem_sep com.lifer... | com . liferay . portal . workflow . kaleo . model . KaleoNode function ( com . liferay . portal . workflow . kaleo . model . KaleoNode arg0 ) { return getService ( ) . addKaleoNode ( arg0 ) ; } |
1,770 | updates the wall entry in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep WallEntryLocalService _wallEntryLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep java.util.List<com.liferay.social.networking.model.Wall... | com . liferay . social . networking . model . WallEntry function ( com . liferay . social . networking . model . WallEntry arg0 ) { return _wallEntryLocalService . updateWallEntry ( arg0 ) ; } |
1,771 | roughly equivalent to the shell command `` mkdir - p '' . note that some all ? versions of android will force restrictive permissions on the created directories . concode_field_sep int CONNECT_TIMEOUT_MS concode_elem_sep int RECEIVE_TIMEOUT_MS concode_elem_sep Logger LOG concode_field_sep void doGetSignature concode_el... | void function ( List < String > arg0 ) { if ( arg0 . size ( ) != 1 ) { throw new IllegalArgumentException ( "srini_string" ) ; } File loc0 = new File ( arg0 . get ( 0 ) ) ; boolean loc1 = loc0 . mkdirs ( ) ; if ( ! loc1 ) { throw new IOException ( "srini_string" ) ; } } |
1,772 | adds the expression to the list based on the index number and expression object . concode_field_sep ArrayList<MultiRuleExpression> expList concode_field_sep void move concode_elem_sep ArrayList<MultiRuleExpression> compile concode_elem_sep int size concode_elem_sep void updateExp concode_elem_sep String toString concod... | void function ( int arg0 , MultiRuleExpression arg1 ) { expList . add ( arg0 , arg1 ) ; } |
1,773 | controls caching of all tables produced by this object . subclasses are free to ignore this , since they may choose an implementation that does not dynamically generate and/or cache table content on an as-needed basis . if not ignored , this call indicates to this object that all cached table data may be dirty , requir... | void function ( ) { isDirty = true ; } |
1,774 | checker for the `` jvmmemorygccall '' variable . concode_field_sep EnumJvmMemoryGCCall JvmMemoryGCCallFailed concode_elem_sep MibLogger log concode_elem_sep EnumJvmMemoryGCVerboseLevel JvmMemoryGCVerboseLevelSilent concode_elem_sep EnumJvmMemoryGCCall JvmMemoryGCCallStarted concode_elem_sep String heapMemoryTag concode... | void function ( EnumJvmMemoryGCCall arg0 ) { if ( arg0 . intValue ( ) != JvmMemoryGCCallStart . intValue ( ) ) throw new SnmpStatusException ( SnmpDefinitions . snmpRspWrongValue ) ; } |
1,775 | 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 ) ) ; } } |
1,776 | sets the maximum time in seconds that this data source will wait while attempting to connect to a database . a value of zero specifies that the timeout is the default system timeout if there is one ; otherwise , it specifies that there is no timeout . when a datasource object is created , the login timeout is initially... | void function ( int arg0 ) { loginTimeout = 0 ; } |
1,777 | sets the value of the id property . concode_field_sep WadlRequest request concode_elem_sep List<WadlResponse> response concode_elem_sep String name concode_elem_sep List<WadlDoc> doc concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep String id concode_elem_sep String href concode_elem_sep List<Object> ... | void function ( String arg0 ) { this . id = arg0 ; } |
1,778 | disable advanced highlighting . concode_field_sep StyledTextXtextAdapter styledTextXtextAdapter concode_elem_sep XtextSourceViewerConfiguration fConfiguration concode_elem_sep IPreferenceStore preferenceStore concode_elem_sep XtextSourceViewer fSourceViewer concode_elem_sep XtextPresentationReconciler fPresentationReco... | void function ( ) { if ( fReconciler != null ) { fReconciler . uninstall ( ) ; fReconciler = null ; } if ( fPresenter != null ) { fPresenter . uninstall ( ) ; fPresenter = null ; } } |
1,779 | write tab-delimited entries out to concode_field_sep HashMap<String,Integer> indices concode_elem_sep String[] keys concode_elem_sep String[] values concode_elem_sep int count concode_field_sep void sortKeysReverse concode_elem_sep Iterable<String> keys concode_elem_sep Iterable<String> values concode_elem_sep String[]... | void function ( PrintWriter arg0 ) { for ( int loc0 = 0 ; loc0 < count ; loc0 ++ ) { arg0 . println ( keys [ loc0 ] + "srini_string" + values [ loc0 ] ) ; } arg0 . flush ( ) ; } |
1,780 | this helper method takes some bytes and stores them as a bitstream for an item , under the cc bundle , with the given bitstream name concode_field_sep ItemService itemService concode_elem_sep BitstreamService bitstreamService concode_elem_sep BitstreamFormatService bitstreamFormatService concode_elem_sep String CC_BS_S... | void function ( Context arg0 , Item arg1 , Bundle arg2 , String arg3 , BitstreamFormat arg4 , byte [ ] arg5 ) { ByteArrayInputStream loc0 = new ByteArrayInputStream ( arg5 ) ; Bitstream loc1 = bitstreamService . create ( arg0 , arg2 , loc0 ) ; loc1 . setName ( arg0 , arg3 ) ; loc1 . setSource ( arg0 , CC_BS_SOURCE ) ; ... |
1,781 | returns the coef . row and col are between 1 and the number of rows and columns . concode_field_sep int nRows concode_elem_sep double tolerance concode_elem_sep double[][] el concode_elem_sep int nCols concode_field_sep Matrix multiplyWith concode_elem_sep double[] multiplyWith concode_elem_sep double[] multiplyWith co... | double function ( int arg0 , int arg1 ) { return el [ arg0 - 1 ] [ arg1 - 1 ] ; } |
1,782 | adapt this converter to call the specified fallback converter when this converter returns null fora non-null input . concode_field_sep PlaceHolder placeHolder concode_field_sep ValueConverter nullOr concode_elem_sep ValueConverter and concode_elem_sep ValueConverter passthrough concode_elem_sep Object convert | ValueConverter function ( ValueConverter arg0 ) { if ( arg0 == null ) return this ; return ( data ) -> { Object loc0 = convert ( data ) ; return loc0 != null || data == null ? loc0 : arg0 . convert ( data ) ; } ; } |
1,783 | convert the given number into a bigdecimal concode_field_sep BigDecimal NULL_DEFINITION concode_field_sep boolean operator_notEquals concode_elem_sep boolean operator_notEquals concode_elem_sep BigDecimal operator_minus concode_elem_sep BigDecimal operator_minus concode_elem_sep BigDecimal operator_multiply concode_ele... | BigDecimal function ( Number arg0 ) { if ( arg0 != null ) { return new BigDecimal ( arg0 . toString ( ) ) ; } else { return null ; } } |
1,784 | returns hex value for given char concode_field_sep char PVERSION41_CHAR concode_elem_sep int SHA1_HASH_SIZE concode_field_sep String longToHex concode_elem_sep byte[] passwordHashStage2 concode_elem_sep String makeScrambledPassword concode_elem_sep byte[] passwordHashStage1 concode_elem_sep byte[] scramble411 concode_e... | int function ( char arg0 ) { return ( ( arg0 >= '0' ) && ( arg0 <= '9' ) ) ? ( arg0 - '0' ) : ( ( ( arg0 >= 'A' ) && ( arg0 <= 'Z' ) ) ? ( arg0 - 'A' + 10 ) : ( arg0 - 'a' + 10 ) ) ; } |
1,785 | sets the create date of this message boards thread flag . concode_field_sep MBThreadFlag _mbThreadFlag concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedMo... | void function ( Date arg0 ) { _mbThreadFlag . setCreateDate ( arg0 ) ; } |
1,786 | implementation in subclasses concode_field_sep boolean isEscapeProcessing concode_elem_sep int queryTimeout concode_elem_sep Result errorResult concode_elem_sep int SUCCESS_NO_INFO concode_elem_sep Result batchResultOut concode_elem_sep int maxRows concode_elem_sep JDBCConnection connection concode_elem_sep int RETURN_... | void function ( ) { } |
1,787 | returns the configured int value of a hazelcastproperty . concode_field_sep Properties properties concode_elem_sep Set<String> keys concode_field_sep long getLong concode_elem_sep long getNanos concode_elem_sep int getSeconds concode_elem_sep String get concode_elem_sep E getEnum concode_elem_sep boolean getBoolean con... | int function ( HazelcastProperty arg0 ) { return Integer . parseInt ( getString ( arg0 ) ) ; } |
1,788 | returns the full language name for an audio or subtitle track based on a translation from the iso 639 language code . if no code has been set , `` undetermined '' is returned . concode_field_sep int id concode_elem_sep String lang concode_elem_sep String UND concode_field_sep boolean matchCode concode_elem_sep String g... | String function ( ) { if ( StringUtils . isNotBlank ( lang ) ) { return Iso639 . getLanguage ( lang ) ; } return Iso639 . getLanguage ( DLNAMediaLang . UND ) ; } |
1,789 | removed the mocked std-out printstream again from the system class concode_field_sep PrintStream stdOutOrig concode_elem_sep PrintStream stdOutMock concode_field_sep void testDisplayGiant concode_elem_sep void setUp | void function ( ) { System . setOut ( this . stdOutOrig ) ; } |
1,790 | set a capability concode_field_sep boolean running concode_elem_sep List<HttpRequestHandler> handlers concode_elem_sep BitSet capabilities concode_elem_sep ServerSocket socket concode_elem_sep ExecutorService service concode_field_sep void addRequestHandler concode_elem_sep boolean hasCapability concode_elem_sep void b... | void function ( HttpCapability arg0 , boolean arg1 ) { capabilities . set ( arg0 . ordinal ( ) , arg1 ) ; } |
1,791 | setter for config url . concode_field_sep String configURL concode_elem_sep PluginFilesStructure currentReleaseFS concode_elem_sep Map<String,String> requestHeaders concode_elem_sep int currentNativeVersion concode_elem_sep String currentReleaseVersion concode_elem_sep Context mContext concode_field_sep Map<String,Stri... | Builder function ( final String arg0 ) { this . configURL = arg0 ; return this ; } |
1,792 | sets the value of the seltype property . concode_field_sep SelectorType selType concode_elem_sep boolean rowLimitExceeded concode_elem_sep SelectionRow header concode_elem_sep RowList dataSet concode_field_sep RowList getDataSet concode_elem_sep SelectorType getSelType concode_elem_sep void setRowLimitExceeded concode_... | void function ( SelectorType arg0 ) { this . selType = arg0 ; } |
1,793 | / warn / some javadoc . / / warn some javadoc . / / warn concode_field_sep InnerInputCorrectJavaDocParagraphCheck anon concode_elem_sep byte NUL concode_field_sep void doubleNewline | boolean function ( ) { return false ; } |
1,794 | convenience method for copying properties from a registered action concode_field_sep PausesStat STAT concode_elem_sep String WOULD_BE_ENABLED_IF_NOT_DUMB_MODE concode_elem_sep int insidePerformDumbAwareUpdate concode_elem_sep String WAS_ENABLED_BEFORE_DUMB concode_elem_sep String WOULD_BE_VISIBLE_IF_NOT_DUMB_MODE conco... | AnAction function ( @ NotNull AnAction arg0 , @ NotNull String arg1 ) { arg0 . copyFrom ( ActionManager . getInstance ( ) . getAction ( arg1 ) ) ; return arg0 ; } |
1,795 | specifies the daily snapshot options specified for the elasticsearch domain . concode_field_sep SnapshotOptions options concode_elem_sep OptionStatus status concode_field_sep SnapshotOptionsStatus withStatus concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep SnapshotOptionsStatus clone conco... | SnapshotOptionsStatus function ( SnapshotOptions arg0 ) { setOptions ( arg0 ) ; return this ; } |
1,796 | adds the coordinates to the current position and returns the newly calculated location . concode_field_sep double orientation concode_elem_sep long serialVersionUID concode_elem_sep double[] coords concode_field_sep void setOrientation concode_elem_sep void setY concode_elem_sep int compare concode_elem_sep void setX c... | GeoPosition function ( GeoPosition arg0 ) { GeoPosition loc0 = new GeoPosition ( ) ; loc0 . setX ( getX ( ) + arg0 . getX ( ) ) ; loc0 . setY ( getY ( ) + arg0 . getY ( ) ) ; loc0 . setZ ( getZ ( ) + arg0 . getZ ( ) ) ; loc0 . setOrientation ( getOrientation ( ) ) ; return loc0 ; } |
1,797 | iterate over an input document . concode_field_sep IteratorFromReaderFactory<List<CoreLabel>> factory concode_elem_sep TokenizerFactory<CoreLabel> tf concode_elem_sep Character segMarker concode_elem_sep Character DEFAULT_SEG_MARKER concode_elem_sep boolean inputHasDomainLabels concode_elem_sep long serialVersionUID co... | Iterator < List < CoreLabel >> function ( Reader arg0 ) { return factory . getIterator ( arg0 ) ; } |
1,798 | a filter for a field based on a term . concode_field_sep PlaceHolder placeHolder concode_field_sep NotFilterBuilder notFilter concode_elem_sep NumericRangeFilterBuilder numericRangeFilter concode_elem_sep AndFilterBuilder andFilter concode_elem_sep PrefixFilterBuilder prefixFilter concode_elem_sep LimitFilterBuilder li... | TermFilterBuilder function ( String arg0 , float arg1 ) { return new TermFilterBuilder ( arg0 , arg1 ) ; } |
1,799 | called when a the builder or one of its nested children has changed and any parent should be notified of its invalidation . concode_field_sep GeneratedMessage.BuilderParent parent concode_elem_sep boolean isClean concode_elem_sep BType builder concode_elem_sep MType message concode_field_sep BType getBuilder concode_el... | void function ( ) { if ( builder != null ) { message = null ; } if ( isClean && parent != null ) { parent . markDirty ( ) ; isClean = false ; } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.