idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
12,600 | sends an opaque message to the rpchandler on the server-side . no reply is expected for the message , and no delivery guarantees are made . concode_field_sep TransportResponseHandler handler concode_elem_sep Logger logger concode_elem_sep String clientId concode_elem_sep boolean timedOut concode_elem_sep Channel channe... | void function ( ByteBuffer arg0 ) { channel . writeAndFlush ( new OneWayMessage ( new NioManagedBuffer ( arg0 ) ) ) ; } |
12,601 | returns true if type represents an in-process connection to a file backed database . concode_field_sep String S_URL_INTERNAL concode_elem_sep String S_DOT concode_elem_sep String S_FILE concode_elem_sep String url_database concode_elem_sep String S_MEM concode_elem_sep String S_ALIAS concode_elem_sep String S_RES conco... | boolean function ( String arg0 ) { if ( arg0 == S_FILE || arg0 == S_RES ) { return true ; } return false ; } |
12,602 | gets type literal for the given type instance . concode_field_sep Class<? super T> rawType concode_elem_sep int hashCode concode_elem_sep Type type concode_field_sep Class<? super T> getRawType concode_elem_sep Type resolveType concode_elem_sep TypeLiteral<?> resolve concode_elem_sep TypeLiteral<?> getFieldType concode... | TypeLiteral < ? > function ( Type arg0 ) { return new TypeLiteral < Object > ( arg0 ) ; } |
12,603 | retrieves the name of the service aka , subdomain concode_field_sep boolean running concode_elem_sep TransportSessionRouter sessionRouter concode_elem_sep ComponentManager componentManager concode_elem_sep boolean enabled concode_elem_sep String subDomain concode_elem_sep String description concode_elem_sep String name... | String function ( ) { return this . type . toString ( ) ; } |
12,604 | gets the chunk provider , if the target world matches the world this chunk provider was bound to . concode_field_sep IChunkProvider chunkGenerator concode_elem_sep World world concode_field_sep String getWorldName concode_elem_sep void populate concode_elem_sep GenerationPopulator of concode_elem_sep void placeChunkInB... | IChunkProvider function ( World arg0 ) { if ( ! this . world . equals ( arg0 ) ) { throw new IllegalArgumentException ( "srini_string" + getWorldName ( this . world ) + "srini_string" + getWorldName ( arg0 ) ) ; } return this . chunkGenerator ; } |
12,605 | writes a number of registers to the slave . concode_field_sep WriteSingleRegisterRequest m_WriteSingleRegisterRequest concode_elem_sep ReadInputDiscretesRequest m_ReadInputDiscretesRequest concode_elem_sep WriteMultipleCoilsRequest m_WriteMultipleCoilsRequest concode_elem_sep ReadInputRegistersRequest m_ReadInputRegist... | void function ( int arg0 , Register [ ] arg1 ) { m_WriteMultipleRegistersRequest . setReference ( arg0 ) ; m_WriteMultipleRegistersRequest . setRegisters ( arg1 ) ; m_Transaction . setRequest ( m_WriteMultipleRegistersRequest ) ; m_Transaction . execute ( ) ; } |
12,606 | gets the value of the resourceuri property . concode_field_sep String repoType concode_elem_sep String effectiveLocalStorageUrl concode_elem_sep String contentResourceURI concode_elem_sep String providerRole concode_elem_sep String provider concode_elem_sep String name concode_elem_sep String format concode_elem_sep St... | String function ( ) { return resourceURI ; } |
12,607 | generates an instance of horizontal line that contains point 0,0 a = 0 , b = 1 , c = 0 concode_field_sep double A concode_elem_sep double B concode_elem_sep double C concode_elem_sep Logger logger concode_field_sep Point getProjection concode_elem_sep Segment getProjection concode_elem_sep void setC concode_elem_sep vo... | Line function ( Point arg0 ) { double loc0 = 0 , loc1 = 1 , loc2 ; loc2 = Point . round ( ( - 1.0 ) * loc0 * arg0 . getLongitude ( ) - loc1 * arg0 . getLatitude ( ) , App . COORDINATE_PRECISION ) ; return new Line ( loc0 , loc1 , loc2 ) ; } |
12,608 | the username bound to this thread or if it is null the username returned by the usercontext ; concode_field_sep ThreadLocal<Boolean> audit concode_elem_sep ThreadLocal<String> username concode_field_sep void setAudit concode_elem_sep void setUsername concode_elem_sep boolean audit | String function ( ) { return username . get ( ) == null ? UserContext . getUsername ( ) : username . get ( ) ; } |
12,609 | gets the value of the type property . concode_field_sep byte[] digestValue concode_elem_sep DigestMethodType digestMethod concode_elem_sep TransformsType transforms concode_elem_sep String id concode_elem_sep String type concode_elem_sep String uri concode_field_sep TransformsType getTransforms concode_elem_sep void se... | String function ( ) { return type ; } |
12,610 | the elastic ip address . concode_field_sep String elasticIp concode_field_sep int hashCode concode_elem_sep void setElasticIp concode_elem_sep boolean equals concode_elem_sep RegisterElasticIpResult clone concode_elem_sep String toString concode_elem_sep String getElasticIp | RegisterElasticIpResult function ( String arg0 ) { setElasticIp ( arg0 ) ; return this ; } |
12,611 | get a list of events related to the entity concode_field_sep HashMap<String,Set<Object>> primaryFilters concode_elem_sep HashMap<String,Object> otherInfo concode_elem_sep HashMap<String,Set<String>> relatedEntities concode_elem_sep String entityType concode_elem_sep String entityId concode_elem_sep Long startTime conco... | List < TimelineEvent > function ( ) { return events ; } |
12,612 | constructor . it will be called during the initialisation , in the main class . concode_field_sep Hashtable<Integer,ArrayList<String>> tags concode_field_sep ArrayList<Integer> Booksearch concode_elem_sep void clear concode_elem_sep void addTag | void function ( String arg0 , int arg1 ) { String [ ] loc0 ; loc0 = arg0 . split ( "srini_string" ) ; clear ( arg1 ) ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) addTag ( loc0 [ loc1 ] , arg1 ) ; } |
12,613 | public getter concode_field_sep String medicationName concode_elem_sep String rxNormId concode_elem_sep String dosageFormName concode_elem_sep String proprietaryNameSuffix concode_elem_sep String drugColor concode_elem_sep String purpose concode_elem_sep String deaSchedule concode_elem_sep List<String> pharmClasses con... | String function ( ) { return this . routeName ; } |
12,614 | get the item which is in the i ` th position . therefore i = 1 gets the most recently submitted item , while i = 3 gets the 3rd most recently submitted item concode_field_sep Item[] items concode_field_sep Item[] getRecentSubmissions concode_elem_sep int count | Item function ( int arg0 ) { if ( arg0 < items . length ) { return items [ arg0 ] ; } else { return null ; } } |
12,615 | lexicographically compare two byte arrays . concode_field_sep int BYTE_ARRAY_BASE_OFFSET concode_elem_sep Comparer<byte[]> BEST_COMPARER concode_elem_sep Unsafe theUnsafe concode_elem_sep Log LOG concode_elem_sep String UNSAFE_COMPARER_NAME concode_elem_sep boolean littleEndian concode_field_sep boolean lessThanUnsigne... | int function ( byte [ ] arg0 , int arg1 , int arg2 , byte [ ] arg3 , int arg4 , int arg5 ) { return LexicographicalComparerHolder . BEST_COMPARER . compareTo ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 ) ; } |
12,616 | adds a computer concode_field_sep List<MenuItem> items concode_elem_sep ContextMenu subMenu concode_elem_sep boolean requiresConfirmation concode_elem_sep boolean post concode_elem_sep String displayName concode_elem_sep String icon concode_elem_sep String url concode_field_sep MenuItem withDisplayName concode_elem_sep... | ContextMenu function ( Computer arg0 ) { return add ( new MenuItem ( ) . withDisplayName ( arg0 . getDisplayName ( ) ) . withStockIcon ( arg0 . getIcon ( ) ) . withContextRelativeUrl ( arg0 . getUrl ( ) ) ) ; } |
12,617 | this method can be used by clients to request the cancelation of an interaction . the client will update it 's concode_field_sep Logger logger concode_field_sep void cancelInteractionAsServer concode_elem_sep ResourceUrn getActiveInteractionScreenUri | void function ( EntityRef arg0 ) { cancelInteractionAsClient ( arg0 , true ) ; } |
12,618 | get a string from the underlying resource bundle and format it with the given object argument . this argument can of course be a string object . concode_field_sep Hashtable managers concode_elem_sep ResourceBundle bundle concode_field_sep StringManager getManager | String function ( String arg0 , Object arg1 ) { Object [ ] loc0 = new Object [ ] { arg1 } ; return getString ( arg0 , loc0 ) ; } |
12,619 | returns the cell renderer component that was passed to #valuefrom component . concode_field_sep Component cellRendererComponent concode_elem_sep String valueToReturn concode_field_sep String valueFrom | Component function ( ) { return cellRendererComponent ; } |
12,620 | the maximum number of bytes that can be retrieved in an hour . this field is required only if the value of the strategy field is bytesperhour . your put operation will be rejected if the strategy field is not set to bytesperhour and you set this field . returns a reference to this object so that method calls can be cha... | DataRetrievalRule function ( Long arg0 ) { this . bytesPerHour = arg0 ; return this ; } |
12,621 | fully delete the given directory if it exists . concode_field_sep MiniDFSCluster cluster concode_elem_sep File HDFS_DIR concode_elem_sep File TEST_DIR concode_field_sep void testCanLoadCreatedEditsLog concode_elem_sep void setUp concode_elem_sep void tearDown | void function ( File arg0 ) { if ( arg0 . exists ( ) && ! FileUtil . fullyDelete ( arg0 ) ) { fail ( "srini_string" + arg0 + "srini_string" ) ; } } |
12,622 | gets the size of this object in bytes . concode_field_sep Owner owner concode_elem_sep String bucketName concode_elem_sep String storageClass concode_elem_sep long size concode_elem_sep String eTag concode_elem_sep Date lastModified concode_elem_sep String key concode_field_sep String getKey concode_elem_sep Date getLa... | long function ( ) { return size ; } |
12,623 | get the data from the buffer . concode_field_sep int count concode_elem_sep byte[] bytes concode_field_sep void set concode_elem_sep int compareTo concode_elem_sep void truncate concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep void reset concode_elem_sep Strin... | byte [ ] function ( ) { if ( bytes == null ) { bytes = new byte [ 0 ] ; } return bytes ; } |
12,624 | returns the drawstroke . concode_field_sep boolean drawPath concode_elem_sep boolean fillPath concode_elem_sep double[] xValue concode_elem_sep Stroke drawStroke concode_elem_sep Paint drawPaint concode_elem_sep Paint fillPaint concode_elem_sep Composite composite concode_elem_sep double[] yValue concode_elem_sep boole... | Stroke function ( ) { return this . drawStroke ; } |
12,625 | if the notification is an update . concode_field_sep Class<?> defaultReceiver concode_elem_sep Class<?> receiver concode_elem_sep String PREF_KEY concode_elem_sep Context context concode_elem_sep Options options concode_elem_sep NotificationCompat.Builder builder concode_field_sep void cancel concode_elem_sep boolean w... | boolean function ( boolean arg0 ) { boolean loc0 = options . getDict ( ) . optBoolean ( "srini_string" , false ) ; if ( ! arg0 ) { options . getDict ( ) . remove ( "srini_string" ) ; } return loc0 ; } |
12,626 | set the status of the submit button . concode_field_sep String IMAGE_DISABLED concode_elem_sep String IMAGE_ENABLED concode_elem_sep boolean status concode_field_sep boolean isDisabled concode_elem_sep String getImageButton concode_elem_sep boolean getStatus | void function ( boolean arg0 ) { this . status = arg0 ; } |
12,627 | adds a channel to this device . concode_field_sep String TYPE_GATEWAY_EXTRAS concode_elem_sep HmInterface hmInterface concode_elem_sep List<HmChannel> channels concode_elem_sep String address concode_elem_sep String name concode_elem_sep String ADDRESS_GATEWAY_EXTRAS concode_elem_sep String type concode_elem_sep String... | void function ( HmChannel arg0 ) { arg0 . setDevice ( this ) ; channels . add ( arg0 ) ; } |
12,628 | returns an array containing all records in the given section , or an empty array if the section is empty . concode_field_sep int tsigstart concode_elem_sep int MAXLENGTH concode_elem_sep Record[] emptyRecordArray concode_elem_sep TSIG tsigkey concode_elem_sep int sig0start concode_elem_sep List[] sections concode_elem_... | Record [ ] function ( int arg0 ) { if ( sections [ arg0 ] == null ) return emptyRecordArray ; List loc0 = sections [ arg0 ] ; return ( Record [ ] ) loc0 . toArray ( new Record [ loc0 . size ( ) ] ) ; } |
12,629 | called after plugin construction and fields have been initialized . prefer to use plugininitialize instead since there is no value in having parameters on the initialize function . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_... | void function ( CordovaInterface arg0 , CordovaWebView arg1 ) { } |
12,630 | override this method to do any cleanup needed after generation concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep IGeneratorBridge bridge concode_elem_sep MessageConsoleStream error concode_elem_sep Injector injector concode_elem_sep MessageConsoleStream info concode_field_sep void refreshTargetProject con... | void function ( GeneratorEntry arg0 ) { } |
12,631 | returns the size threshold beyond which files are written directly to disk . the default value is 10240 bytes . concode_field_sep int sizeThreshold concode_elem_sep int DEFAULT_SIZE_THRESHOLD concode_elem_sep File repository concode_elem_sep FileCleaningTracker fileCleaningTracker concode_field_sep void setSizeThreshol... | int function ( ) { return sizeThreshold ; } |
12,632 | check whether the file denoted by the given path is hidden . in practice , this will check if the file name starts with a dot . this should be preferred to files #ishidden path as thisdoes not depend on the operating system . concode_field_sep PlaceHolder placeHolder concode_field_sep BufferedReader newBufferedReader c... | boolean function ( Path arg0 ) { Path loc0 = arg0 . getFileName ( ) ; if ( loc0 == null ) { return false ; } return loc0 . toString ( ) . startsWith ( "srini_string" ) ; } |
12,633 | applies this function partially to one argument . concode_field_sep PlaceHolder placeHolder concode_field_sep Function3<T1,T2,T3,Try<R>> liftTry concode_elem_sep int arity concode_elem_sep CheckedFunction3<T1,T2,T3,R> constant concode_elem_sep Function3<T1,T2,T3,R> recover concode_elem_sep CheckedFunction3<T1,T2,T3,R> ... | CheckedFunction2 < T2 , T3 , R > function ( T1 arg0 ) { return ( T2 loc0 , T3 loc1 ) -> apply ( arg0 , loc0 , loc1 ) ; } |
12,634 | return type metadata object concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep int updateOption concode_elem_sep java.util.Calendar endDate concode_elem_sep long campaignId concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.util.Cal... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
12,635 | set the contact name . concode_field_sep String institution concode_elem_sep String address concode_elem_sep String contactInfo concode_elem_sep String name concode_elem_sep String url concode_elem_sep String email concode_field_sep String getUrl concode_elem_sep String getName concode_elem_sep void setInstitution conc... | void function ( String arg0 ) { this . name = arg0 ; } |
12,636 | retrieves a hexidecimal character sequence representing the md5 digest of the specified character sequence , using the specified encoding to first convert the character sequence into a byte sequence . if the specified encoding is null , then iso-8859-1 is assumed concode_field_sep MessageDigest md5 concode_field_sep by... | String function ( String arg0 , String arg1 ) { return StringConverter . byteToHex ( digestString ( arg0 , arg1 ) ) ; } |
12,637 | returns the cache object or null if one does n't exist . concode_field_sep boolean needsCheckpoint concode_elem_sep Log log concode_elem_sep SimpleLog appLog concode_elem_sep boolean logStatements concode_elem_sep LockFile lf concode_elem_sep boolean syncFile concode_field_sep void checkpoint concode_elem_sep int getLo... | boolean function ( ) { if ( log == null ) { return false ; } else { return log . hasCache ( ) ; } } |
12,638 | returns the number of rows matching the dynamic query . concode_field_sep MessageLocalService _messageLocalService concode_field_sep java.util.List<com.liferay.mail.reader.model.Message> getFolderMessages concode_elem_sep void deleteMessages concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep vo... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _messageLocalService . dynamicQueryCount ( arg0 ) ; } |
12,639 | returns a configured instance of the threadpoolmanger to specify a configuration file or properties object to use call the appropriate setter prior to calling getinstance . concode_field_sep String PROP_NAME_ROOT concode_elem_sep Log log concode_elem_sep int startUpSize_DEFAULT concode_elem_sep ThreadPoolManager INSTAN... | ThreadPoolManager function ( ) { if ( INSTANCE == null ) { INSTANCE = new ThreadPoolManager ( ) ; } return INSTANCE ; } |
12,640 | gets the node id , creating one if not already set . concode_field_sep DescriptionDefinition description concode_elem_sep String id concode_elem_sep String shortName concode_elem_sep Boolean customId concode_field_sep boolean hasCustomIdAssigned concode_elem_sep String getDescriptionText concode_elem_sep String getShor... | String function ( NodeIdFactory arg0 ) { if ( id == null ) { id = arg0 . createId ( this ) ; } return getId ( ) ; } |
12,641 | returns a collection of user classes for the given grailsdomainclass instances concode_field_sep String PROJECT_META_FILE concode_elem_sep String SEARCHABLE_PROPERTY_NAME concode_elem_sep String ONLY concode_elem_sep String EXCEPT concode_elem_sep Log log concode_field_sep String getAppName concode_elem_sep Class getSe... | Collection function ( Collection arg0 ) { Assert . notNull ( arg0 , "srini_string" ) ; Set loc0 = new HashSet ( ) ; for ( Iterator loc1 = arg0 . iterator ( ) ; loc1 . hasNext ( ) ; ) { loc0 . add ( ( ( GrailsDomainClass ) loc1 . next ( ) ) . getClazz ( ) ) ; } return loc0 ; } |
12,642 | allows plugins to handle a link being clicked . return true here to cancel the navigation . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String serviceName concode_field_sep boolean onReceivedClientCertRequest concode... | boolean function ( String arg0 ) { return false ; } |
12,643 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep String messageId concode_field_sep String getMessageId concode_elem_sep SendEmailResult withMessageId concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep SendEmailResult clone concode_elem_se... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getMessageId ( ) != null ) loc0 . append ( "srini_string" + getMessageId ( ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; } |
12,644 | sets the value of the catalogcontractid property . concode_field_sep String usageContext concode_elem_sep String catalogContractId concode_elem_sep String description concode_elem_sep String currency concode_elem_sep long serialVersionUID concode_field_sep String getCurrency concode_elem_sep String getUsageContext conc... | void function ( String arg0 ) { this . catalogContractId = arg0 ; } |
12,645 | guard 's this sqlfunction by ensuring that any sqlexception is wrapped in an uncheckedsqlexception wrapping it in a function . concode_field_sep PlaceHolder placeHolder concode_field_sep R apply concode_elem_sep SQLFunction<V,R> compose concode_elem_sep SQLFunction<T,R> compose concode_elem_sep SQLFunction<ResultSet,Re... | Function < T , R > function ( SQLFunction < T , R > arg0 ) { return t -> { try { return arg0 . apply ( t ) ; } catch ( BatchUpdateException loc0 ) { throw new UncheckedSQLException ( loc0 . getNextException ( ) ) ; } catch ( SQLException loc0 ) { throw new UncheckedSQLException ( loc0 ) ; } } ; } |
12,646 | returns the cost of the shipping concode_field_sep BigDecimal cost concode_elem_sep Long shippingId concode_field_sep void setShippingId concode_elem_sep Long getShippingId concode_elem_sep void setCost | BigDecimal function ( ) { return cost ; } |
12,647 | convert a lat/lon to x , y based on the mercator projection concode_field_sep PlaceHolder placeHolder concode_field_sep double sec concode_elem_sep double mercatorToLat concode_elem_sep int lat2tiley concode_elem_sep int numTiles concode_elem_sep Coordinate tile2latlon concode_elem_sep int lon2tilex concode_elem_sep Co... | Coordinate function ( double arg0 , double arg1 , int arg2 , int arg3 ) { int loc0 = numTiles ( arg2 ) * arg3 ; double loc1 = toRadians ( arg0 ) ; return new Coordinate ( loc0 * ( arg1 + 180.0 ) / 360.0 , loc0 * ( 1.0 - log ( tan ( loc1 ) + sec ( loc1 ) ) / PI ) / 2.0 ) ; } |
12,648 | the timer should be restored and the method should timeout , even without setting up the timer in this deployment concode_field_sep PlaceHolder placeHolder concode_field_sep void testTimerServiceNonPersistent concode_elem_sep void testPersistentCalendarTimer concode_elem_sep void testTimerServiceNotCalled concode_elem_... | void function ( ) { Assert . assertTrue ( SimpleTimerServiceBean . awaitTimerCall ( ) ) ; } |
12,649 | returns true if this object is equal to the specified object , and false otherwise . concode_field_sep RectangleAnchor LEFT concode_elem_sep RectangleAnchor RIGHT concode_elem_sep RectangleAnchor TOP_LEFT concode_elem_sep RectangleAnchor TOP_RIGHT concode_elem_sep RectangleAnchor BOTTOM_RIGHT concode_elem_sep Rectangle... | boolean function ( final Object arg0 ) { if ( this == arg0 ) { return true ; } if ( ! ( arg0 instanceof RectangleAnchor ) ) { return false ; } final RectangleAnchor loc0 = ( RectangleAnchor ) arg0 ; if ( ! this . name . equals ( loc0 . name ) ) { return false ; } return true ; } |
12,650 | sets value of the coreprotocolpnames #protocol_version parameter . concode_field_sep PlaceHolder placeHolder concode_field_sep ProtocolVersion getVersion concode_elem_sep boolean useExpectContinue concode_elem_sep void setHttpElementCharset concode_elem_sep String getUserAgent concode_elem_sep void setUserAgent concode... | void function ( final HttpParams arg0 , final ProtocolVersion arg1 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } arg0 . setParameter ( CoreProtocolPNames . PROTOCOL_VERSION , arg1 ) ; } |
12,651 | closes the connection only when the next message is sent after this call . concode_field_sep boolean initDone concode_elem_sep String hostname concode_elem_sep int port concode_elem_sep boolean closeWithoutSend concode_elem_sep String host concode_elem_sep RpcClient client concode_elem_sep long serialVersionUID concode... | void function ( ) { sendAndClose = true ; } |
12,652 | adds semantic checks to the default deserialization method . this method must have the standard signature for a readobject method , and the body of the method must begin with `` s.defaultreadobject ; '' . other than that , any semantic checks can be specified and do not need to stay the same from version to version . a... | void function ( ObjectInputStream arg0 ) { arg0 . defaultReadObject ( ) ; if ( varsPerInd <= 0 ) { throw new IllegalStateException ( ) ; } if ( mlag <= 0 ) { throw new IllegalStateException ( ) ; } } |
12,653 | gets the value of the band2h property . concode_field_sep CTOfficeArtExtensionList extLst concode_elem_sep CTTablePartStyle firstCol concode_elem_sep CTTablePartStyle band1H concode_elem_sep CTTablePartStyle nwCell concode_elem_sep String styleName concode_elem_sep CTTablePartStyle swCell concode_elem_sep CTTablePartSt... | CTTablePartStyle function ( ) { return band2H ; } |
12,654 | check if a file relative to the base path exists concode_field_sep PathRelativeFileIO s_aServletContextPath concode_elem_sep PathRelativeFileIO s_aDataPath concode_elem_sep Logger s_aLogger concode_elem_sep FileOperationManager s_aFileOpMgr concode_elem_sep ReadWriteLock s_aRWLock concode_field_sep boolean isInited con... | boolean function ( @ Nonnull final String arg0 ) { return getDataIO ( ) . existsFile ( arg0 ) ; } |
12,655 | resume the suspended thread concode_field_sep String groupName concode_elem_sep LinkedList<ControlledJob> jobsInProgress concode_elem_sep long nextJobID concode_elem_sep ThreadState runnerState concode_elem_sep LinkedList<ControlledJob> failedJobs concode_elem_sep Log LOG concode_elem_sep LinkedList<ControlledJob> succ... | void function ( ) { if ( this . runnerState == ThreadState . SUSPENDED ) { this . runnerState = ThreadState . RUNNING ; } } |
12,656 | performs a simple crc64 checksum on any given sequence . concode_field_sep Sequence<C> sequence concode_elem_sep int length concode_elem_sep int currentPosition concode_field_sep Map<C,Double> getDistribution concode_elem_sep C next concode_elem_sep Map<C,Integer> getComposition concode_elem_sep SequenceView<C> inverse... | String function ( Sequence < C > arg0 ) { CRC64Checksum loc0 = new CRC64Checksum ( ) ; for ( C loc1 : arg0 ) { loc0 . update ( loc1 . getShortName ( ) ) ; } return loc0 . toString ( ) ; } |
12,657 | generates iframe markup with the specified source as the url to the iframe content . does not modify the source path concode_field_sep String IFRAME_SUFFIX concode_elem_sep String IFRAME_PREFIX concode_elem_sep String SOURCE_CODE_ULR concode_elem_sep String LIFERAY_SCRIPT concode_field_sep String generateSourceCodeIFra... | String function ( String arg0 ) { StringBuffer loc0 = new StringBuffer ( ) ; loc0 . append ( IFRAME_PREFIX ) ; loc0 . append ( arg0 ) ; loc0 . append ( IFRAME_SUFFIX ) ; return loc0 . toString ( ) ; } |
12,658 | returns a range of all the d l sync events . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.liferay.portal.kernel.dao.orm.queryutil ... | java . util . List < com . liferay . document . library . kernel . model . DLSyncEvent > function ( int arg0 , int arg1 ) { return _dlSyncEventLocalService . getDLSyncEvents ( arg0 , arg1 ) ; } |
12,659 | gets xmlreader . concode_field_sep Logger LOG concode_field_sep SchematronProcessor newScehamtronEngine | XMLReader function ( ) { final SAXParserFactory loc0 = SAXParserFactory . newInstance ( ) ; loc0 . setValidating ( false ) ; final SAXParser loc1 = loc0 . newSAXParser ( ) ; XMLReader loc2 = loc1 . getXMLReader ( ) ; return loc2 ; } |
12,660 | add an item to history concode_field_sep String name concode_elem_sep Object[] history concode_field_sep void printHistory concode_elem_sep T get concode_elem_sep String getString | void function ( T arg0 ) { for ( int loc0 = MagicNumbers . max_history - 1 ; loc0 > 0 ; loc0 -- ) { history [ loc0 ] = history [ loc0 - 1 ] ; } history [ 0 ] = arg0 ; } |
12,661 | creating timestamp for downsampling in order to be consistent with tsdb downsampling func on hour/minute level concode_field_sep PlaceHolder placeHolder concode_field_sep List<Metric> transform concode_elem_sep List<Metric> transform concode_elem_sep List<Metric> transform concode_elem_sep String downsamplerReducer con... | Long function ( Long arg0 , long arg1 ) { return arg0 - ( arg0 % arg1 ) ; } |
12,662 | return the userconfig listener with which we are associated . concode_field_sep Hashtable<String,String> homes concode_elem_sep UserConfig userConfig concode_field_sep void init concode_elem_sep String getHome concode_elem_sep Enumeration<String> getUsers concode_elem_sep void setUserConfig | UserConfig function ( ) { return ( this . userConfig ) ; } |
12,663 | verbose log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void s... | void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . VERBOSE >= LOGLEVEL ) Log . v ( arg0 , arg1 , arg2 ) ; } |
12,664 | build a dynamic proxy that reflectively adapts to jms 2.0 api methods , if necessary . otherwise simply return this cachedmessageproducer instance itself . concode_field_sep Boolean originalDisableMessageTimestamp concode_elem_sep long timeToLive concode_elem_sep Method setDeliveryDelayMethod concode_elem_sep Method se... | MessageProducer function ( ) { if ( completionListenerClass != null ) { return ( MessageProducer ) Proxy . newProxyInstance ( CachedMessageProducer . class . getClassLoader ( ) , new Class < ? > [ ] { MessageProducer . class , QueueSender . class , TopicPublisher . class } , new Jms2MessageProducerInvocationHandler ( )... |
12,665 | name of role associated with this access control . concode_field_sep java.lang.String valuesContainerId concode_elem_sep java.lang.String stateName concode_elem_sep java.lang.String containerTypeId concode_elem_sep java.lang.String roleName concode_elem_sep long serialVersionUID concode_elem_sep java.lang.String produc... | java . lang . String function ( ) { return this . roleName ; } |
12,666 | get the ifunmodifiedsince value . concode_field_sep DateTimeRfc1123 ocpDate concode_elem_sep String clientRequestId concode_elem_sep DateTimeRfc1123 ifUnmodifiedSince concode_elem_sep Boolean returnClientRequestId concode_elem_sep DateTimeRfc1123 ifModifiedSince concode_elem_sep Integer timeout concode_elem_sep String ... | DateTime function ( ) { if ( this . ifUnmodifiedSince == null ) { return null ; } return this . ifUnmodifiedSince . getDateTime ( ) ; } |
12,667 | reads a char starting at the given offset from base of this native object . concode_field_sep Unsafe unsafe concode_elem_sep long address concode_elem_sep int pageSize concode_elem_sep ByteOrder byteOrder concode_elem_sep long allocationAddress concode_field_sep NativeObject getObject concode_elem_sep long address conc... | char function ( int arg0 ) { return unsafe . getChar ( arg0 + address ) ; } |
12,668 | implementations can override this method to define whether handler is enabled for a specific caret in a given editor . concode_field_sep boolean myRunForEachCaret concode_elem_sep boolean inExecution concode_elem_sep boolean inCheck concode_elem_sep boolean myWorksInInjected concode_field_sep boolean executeInCommand c... | boolean function ( @ NotNull Editor arg0 , @ NotNull Caret arg1 , DataContext arg2 ) { if ( inCheck ) { return true ; } inCheck = true ; try { return isEnabled ( arg0 , arg2 ) ; } finally { inCheck = false ; } } |
12,669 | if keyguard screen is showing or in restricted key input mode i.e. in keyguard password emergency screen . when in such mode , certain keys , such as the home key and the right soft keys , do n't work . concode_field_sep IWindowManager mWM concode_elem_sep IBinder mToken concode_elem_sep String mTag concode_field_sep b... | boolean function ( ) { try { return mWM . inKeyguardRestrictedInputMode ( ) ; } catch ( RemoteException loc0 ) { return false ; } } |
12,670 | this is getter method for callsource concode_field_sep String subCategory concode_elem_sep String selectCause concode_elem_sep String repeateCAll concode_elem_sep String SLATime concode_elem_sep String caseType concode_elem_sep int resolveOnline concode_elem_sep int detpId concode_elem_sep String loggedBy concode_elem_... | String function ( ) { return callSource ; } |
12,671 | accessor to the querystring concode_field_sep long executionMaxTime concode_elem_sep String[] ITEM_DESCRIPTIONS concode_elem_sep long cacheHitCount concode_elem_sep String query concode_elem_sep String TABULAR_TYPE_NAME concode_elem_sep long cachePutCount concode_elem_sep CompositeType COMPOSITE_TYPE concode_elem_sep l... | String function ( ) { return query ; } |
12,672 | wraps the version of start that takes a string parameter , sending it the result of calling tostring on optionsobject , which will likely be a browserconfigurationoptions instance . concode_field_sep String rcServerLocation concode_elem_sep String browserURL concode_elem_sep String pathToServlet concode_elem_sep String... | void function ( Object arg0 ) { start ( arg0 . toString ( ) ) ; } |
12,673 | gets the value of the taxauthorityamount property . concode_field_sep List<String> note concode_elem_sep Amount amount concode_elem_sep String code concode_elem_sep List<String> description concode_elem_sep long serialVersionUID concode_elem_sep Amount taxAuthorityAmount concode_elem_sep String typeCode concode_elem_se... | Amount function ( ) { return taxAuthorityAmount ; } |
12,674 | returns true if both the latitude and longitude of the given point are within maxerror radians of this point . concode_field_sep S2LatLng CENTER concode_elem_sep double EARTH_RADIUS_METERS concode_elem_sep double latRadians concode_elem_sep double lngRadians concode_field_sep S2LatLng sub concode_elem_sep S2LatLng mul ... | boolean function ( S2LatLng arg0 , double arg1 ) { return ( Math . abs ( latRadians - arg0 . latRadians ) < arg1 ) && ( Math . abs ( lngRadians - arg0 . lngRadians ) < arg1 ) ; } |
12,675 | returns the names of all the factory 's attributes . concode_field_sep String DEFAULT_CONTEXT_CLASSNAME concode_elem_sep ContextFactory theFactory concode_elem_sep String PROPERTIES_FILE concode_elem_sep Map<String,MetricsContext> contextMap concode_elem_sep Map<String,Object> attributeMap concode_elem_sep Map<String,M... | String [ ] function ( ) { String [ ] loc0 = new String [ attributeMap . size ( ) ] ; int loc1 = 0 ; Iterator loc2 = attributeMap . keySet ( ) . iterator ( ) ; while ( loc2 . hasNext ( ) ) { loc0 [ loc1 ++ ] = ( String ) loc2 . next ( ) ; } return loc0 ; } |
12,676 | unregister mbean . concode_field_sep Map<String,ZKMBeanInfo> mapName2Bean concode_elem_sep MBeanRegistry instance concode_elem_sep Logger LOG concode_elem_sep Map<ZKMBeanInfo,String> mapBean2Path concode_field_sep String makeFullPath concode_elem_sep String makeFullPath concode_elem_sep void unregisterAll concode_elem_... | void function ( ZKMBeanInfo arg0 ) { if ( arg0 == null ) return ; String loc0 = mapBean2Path . get ( arg0 ) ; try { unregister ( loc0 , arg0 ) ; } catch ( JMException loc1 ) { LOG . warn ( "srini_string" , loc1 ) ; } mapBean2Path . remove ( arg0 ) ; mapName2Bean . remove ( arg0 . getName ( ) ) ; } |
12,677 | returns true if we got the last element . concode_field_sep ResultSet owner concode_elem_sep ServerPreparedStatement prepStmt concode_elem_sep boolean wasEmpty concode_elem_sep boolean lastRowFetched concode_elem_sep List fetchedRows concode_elem_sep int BEFORE_START_OF_ROWS concode_elem_sep long statementIdOnServer co... | boolean function ( ) { return lastRowFetched && this . currentPositionInFetchedRows > this . fetchedRows . size ( ) ; } |
12,678 | gets the pes number . concode_field_sep List<? extends Pe> peList concode_elem_sep RamProvisioner ramProvisioner concode_elem_sep List<? extends Vm> vmList concode_elem_sep List<Vm> vmsMigratingIn concode_elem_sep VmScheduler vmScheduler concode_elem_sep Datacenter datacenter concode_elem_sep int id concode_elem_sep lo... | int function ( ) { return getPeList ( ) . size ( ) ; } |
12,679 | creates a new instance of this class concode_field_sep long files concode_elem_sep long directories concode_elem_sep long symlinks concode_field_sep void setDirectories concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setSymlinks concode_elem_sep long getDirectories concode_elem_sep l... | ConfigFileCount function ( long arg0 , long arg1 , long arg2 ) { ConfigFileCount loc0 = new ConfigFileCount ( ) ; loc0 . setFiles ( arg0 ) ; loc0 . setDirectories ( arg1 ) ; loc0 . setSymlinks ( arg2 ) ; return loc0 ; } |
12,680 | called for each remarknode visited . concode_field_sep boolean mRecurseSelf concode_elem_sep boolean mRecurseChildren concode_field_sep void finishedParsing concode_elem_sep void beginParsing concode_elem_sep boolean shouldRecurseSelf concode_elem_sep void visitEndTag concode_elem_sep void visitTag concode_elem_sep voi... | void function ( Remark arg0 ) { } |
12,681 | check if number is even . concode_field_sep float HALF_PI concode_elem_sep float TWO_PI concode_elem_sep double TWO_PI_D concode_elem_sep double HALF_PI_D concode_field_sep short BuildShortBE concode_elem_sep short BuildShortBE concode_elem_sep int BuildInteger concode_elem_sep int BuildInteger concode_elem_sep float s... | boolean function ( int arg0 ) { return ( ( arg0 & 0x1 ) == 0 ) ; } |
12,682 | name return the name of the variable at the specified index . it will do this if and only if the index is not less than 0 , and if the index is less than the current number of variables . concode_field_sep Vector memberList concode_elem_sep int memberCount concode_field_sep boolean add concode_elem_sep void clearValues... | String function ( int arg0 ) { if ( ( arg0 >= 0 ) & ( arg0 < memberCount ) ) { VariableType loc0 = ( VariableType ) memberList . elementAt ( arg0 ) ; return loc0 . getName ( ) ; } return null ; } |
12,683 | logs a message to the event log using the eventloglevel #warn severity concode_field_sep PlaceHolder placeHolder concode_field_sep List<EventLog> getEvents concode_elem_sep void log concode_elem_sep EventLogger scope concode_elem_sep EventLogger scope concode_elem_sep EventLogger context concode_elem_sep EventLogger co... | void function ( EventLogCategory arg0 , String arg1 ) { log ( EventLogLevel . WARN , arg0 , arg1 ) ; } |
12,684 | savebook . concode_field_sep BookDao bookDao concode_elem_sep Logger LOGGER concode_field_sep boolean deleteBook concode_elem_sep Book getBook concode_elem_sep Books getBooks concode_elem_sep Book updateBook | Book function ( final Book arg0 ) { return bookDao . store ( arg0 ) ; } |
12,685 | returns the number of key-value mappings that this longsparsearray currently stores . concode_field_sep Object DELETED concode_elem_sep long[] mKeys concode_elem_sep boolean mGarbage concode_elem_sep int mSize concode_elem_sep Object[] mValues concode_field_sep long keyAt concode_elem_sep void clear concode_elem_sep E ... | int function ( ) { if ( mGarbage ) { gc ( ) ; } return mSize ; } |
12,686 | closes the resource and throws the first exception contained in the storage . other exceptions will be added as suppressed . if no error had occurred , no exception will be thrown . concode_field_sep IOException containedException concode_field_sep void addException concode_elem_sep void addException concode_elem_sep v... | void function ( ) { if ( containedException != null ) { throw containedException ; } } |
12,687 | gets the value of the exclusive property . concode_field_sep NumberType numberType concode_elem_sep au.org.ecoinformatics.eml.jaxb.eml.ViewType.References references concode_elem_sep List<NumericDomainType.Bounds> bounds concode_elem_sep NumericDomainType.Bounds.Maximum maximum concode_elem_sep boolean exclusive concod... | boolean function ( ) { return exclusive ; } |
12,688 | adds the topic phan hoi to the database . also notifies the appropriate model listeners . concode_field_sep TopicPhanHoiLocalService _service concode_field_sep vn.dtt.ns.thongtinphanhoi.dao.model.TopicPhanHoi deleteTopicPhanHoi concode_elem_sep vn.dtt.ns.thongtinphanhoi.dao.model.TopicPhanHoi deleteTopicPhanHoi concode... | vn . dtt . ns . thongtinphanhoi . dao . model . TopicPhanHoi function ( vn . dtt . ns . thongtinphanhoi . dao . model . TopicPhanHoi arg0 ) { return getService ( ) . addTopicPhanHoi ( arg0 ) ; } |
12,689 | sets the value of the ip property . concode_field_sep String reference concode_elem_sep String port concode_elem_sep String ip concode_elem_sep String active concode_elem_sep String pwCaseFileName concode_elem_sep String device concode_elem_sep ParametersType parameters concode_field_sep void setPWCaseFileName concode_... | void function ( String arg0 ) { this . ip = arg0 ; } |
12,690 | true if some warning was found during validation . concode_field_sep List<ProjectValidationResult> results concode_elem_sep boolean fatalError concode_elem_sep boolean warning concode_elem_sep boolean error concode_field_sep boolean isFatalError concode_elem_sep boolean isError concode_elem_sep boolean isValid concode_... | boolean function ( ) { return warning ; } |
12,691 | returns total filesize of a document concode_field_sep int filesize concode_elem_sep int inlineScriptSize concode_elem_sep int emptyChars concode_elem_sep int inlineStyleSize concode_elem_sep int inlineEventSize concode_field_sep void setEmptyChars concode_elem_sep void setInlineScriptSize concode_elem_sep void setFile... | int function ( ) { return filesize ; } |
12,692 | helper method for setting the column widths of this view . concode_field_sep JXTable view concode_elem_sep HttpPanel responsePanel concode_elem_sep HttpPanel requestPanel concode_elem_sep WebSocketMessagesViewModel model concode_elem_sep String PANEL_NAME concode_elem_sep Logger logger concode_elem_sep Vector<WebSocket... | void function ( int arg0 , int arg1 , int arg2 ) { TableColumn loc0 = view . getColumnModel ( ) . getColumn ( arg0 ) ; if ( arg1 != - 1 ) { loc0 . setMinWidth ( arg1 ) ; } if ( arg2 != - 1 ) { loc0 . setPreferredWidth ( arg2 ) ; } } |
12,693 | get the start time . concode_field_sep String feedName concode_elem_sep String log concode_elem_sep String startTime concode_elem_sep String details concode_elem_sep String id concode_elem_sep String endTime concode_elem_sep String status concode_field_sep String getEndTime concode_elem_sep String getLog concode_elem_s... | String function ( ) { return startTime ; } |
12,694 | cidr notation for the advertised route . multiple routes are separated by commas . example : 10.10.10.0 / 24,10.10.11.0 / 24 concode_field_sep String cidr concode_field_sep int hashCode concode_elem_sep String getCidr concode_elem_sep boolean equals concode_elem_sep RouteFilterPrefix clone concode_elem_sep String toStr... | void function ( String arg0 ) { this . cidr = arg0 ; } |
12,695 | returns the id concode_field_sep int mode concode_elem_sep int size concode_elem_sep SessionInterface session concode_elem_sep int currentPos concode_elem_sep long id concode_elem_sep boolean isIterator concode_field_sep boolean next concode_elem_sep int getRowNumber concode_elem_sep boolean isLast concode_elem_sep voi... | long function ( ) { return id ; } |
12,696 | return a real number with a standard gaussian distribution . concode_field_sep int CONSTANT concode_elem_sep String filename concode_elem_sep int nodes concode_elem_sep int failingNodes concode_elem_sep int EXPONENTIAL concode_elem_sep int mttf concode_elem_sep int nBlocks concode_elem_sep List<Integer> failedNodes con... | int function ( ) { double loc0 , loc1 , loc2 ; do { loc1 = uniform ( - 1.0 , 1.0 ) ; loc2 = uniform ( - 1.0 , 1.0 ) ; loc0 = loc1 * loc1 + loc2 * loc2 ; } while ( loc0 >= 1 || loc0 == 0 ) ; return ( int ) Math . round ( loc1 * Math . sqrt ( - 2 * Math . log ( loc0 ) / loc0 ) ) ; } |
12,697 | get the current phone model concode_field_sep String SCREEN_DENSITY_CATEGORY_VALUE_EXTRA_HIGH concode_elem_sep int mScreenWidth concode_elem_sep String mCarrierCountry concode_elem_sep WindowManager mWindowManager concode_elem_sep float mScreenDensityX concode_elem_sep float mScreenDensityY concode_elem_sep String SCRE... | String function ( ) { return mPhoneVersion ; } |
12,698 | calculates a mixed color from two colors by interpolating the rgb parts using a mix ratio . concode_field_sep PlaceHolder placeHolder concode_field_sep void fillVerticalGradientRectangle concode_elem_sep void fillVerticalGradientRoundedRectangle | Color function ( Color arg0 , Color arg1 , int arg2 ) { return new Color ( arg0 . getDevice ( ) , arg0 . getRed ( ) + ( arg1 . getRed ( ) - arg0 . getRed ( ) ) * arg2 / 255 , arg0 . getGreen ( ) + ( arg1 . getGreen ( ) - arg0 . getGreen ( ) ) * arg2 / 255 , arg0 . getBlue ( ) + ( arg1 . getBlue ( ) - arg0 . getBlue ( )... |
12,699 | returns the anchor concode_field_sep HashMap<String,Edge> incoming concode_elem_sep HashMap<String,Edge> outgoing concode_elem_sep Anchor anchor concode_elem_sep String nameSpace concode_elem_sep String label concode_elem_sep String id concode_elem_sep boolean flash concode_field_sep void addIncomingEdge concode_elem_s... | Anchor function ( ) { return anchor ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.