signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class ObjectFactory { /** * Create an instance of { @ link JAXBElement } { @ code < } { @ link LogoType }
* { @ code > } */
@ XmlElementDecl ( namespace = "http://www.w3.org/2005/Atom" , name = "logo" , scope = SourceType . class ) public JAXBElement < LogoType > createSourceTypeLogo ( LogoType value ) { } } | return new JAXBElement < LogoType > ( FEED_TYPE_LOGO_QNAME , LogoType . class , SourceType . class , value ) ; |
public class Geomem { /** * Returns the { @ link Info } s where start < = time < finish and position is
* inside the geohash withinHash .
* @ param start
* start time inclusive
* @ param finish
* finish time exclusive
* @ param withinHash
* returned records are within hash
* @ return iterable */
private... | long key = Base32 . decodeBase32 ( withinHash ) ; SortedMap < Long , Info < T , R > > sortedByTime = mapByGeoHash . get ( key ) ; if ( sortedByTime == null ) return Collections . emptyList ( ) ; else return sortedByTime . subMap ( start , finish ) . values ( ) ; |
public class MlBaseState { /** * { @ inheritDoc } */
@ SuppressWarnings ( "rawtypes" ) @ Override public List < T > multiUpdate ( List < List < Object > > keys , List < ValueUpdater > updaters ) { } } | // 使用されないため 、 実装は行わない 。
return null ; |
public class GLMParams { /** * helper function */
static final double y_log_y ( double y , double mu ) { } } | if ( y == 0 ) return 0 ; if ( mu < Double . MIN_NORMAL ) mu = Double . MIN_NORMAL ; return y * Math . log ( y / mu ) ; |
public class Scope { /** * Construct a fresh scope within this scope , with new owner ,
* which shares its table with the outer scope . Used in connection with
* method leave if scope access is stack - like in order to avoid allocation
* of fresh tables . */
public Scope dup ( Symbol newOwner ) { } } | Scope result = new Scope ( this , newOwner , this . table , this . nelems ) ; shared ++ ; // System . out . println ( " = = = = > duping scope " + this . hashCode ( ) + " owned by " + newOwner + " to " + result . hashCode ( ) ) ;
// new Error ( ) . printStackTrace ( System . out ) ;
return result ; |
public class ConnectionInformation { /** * Creates a new { @ link ConnectionInformation } instance for a { @ link Connection } which will be obtained via a
* { @ link PooledConnection }
* @ param pooledConnection the { @ link PooledConnection } which created the { @ link # connection }
* @ return a new { @ link C... | final ConnectionInformation connectionInformation = new ConnectionInformation ( ) ; connectionInformation . pooledConnection = pooledConnection ; return connectionInformation ; |
public class Action { /** * Sleeps so many milliseconds , emulating slow requests . */
public static Action delay ( final Integer delay ) { } } | return new Action ( input -> { try { Thread . sleep ( delay ) ; } catch ( InterruptedException e ) { Thread . currentThread ( ) . interrupt ( ) ; } return input ; } ) ; |
public class SpecRewriter { /** * Moves initialization of the given field to the given position of the first block of the given method . */
private void moveInitializer ( Field field , Method method , int position ) { } } | method . getFirstBlock ( ) . getAst ( ) . add ( position , new ExpressionStatement ( new FieldInitializationExpression ( field . getAst ( ) ) ) ) ; field . getAst ( ) . setInitialValueExpression ( null ) ; |
public class IOUtil { /** * 获取文件所在目录的路径
* @ param path
* @ return */
public static String dirname ( String path ) { } } | int index = path . lastIndexOf ( '/' ) ; if ( index == - 1 ) return path ; return path . substring ( 0 , index + 1 ) ; |
public class ExpressionBuilder { /** * Appends an OR expression to the RHS of the expression . The current RHS of the expression must be an Operand .
* @ return this ExpressionBuilder . */
public ExpressionBuilder or ( ) { } } | GroupExpression lastGroupExpression = stack . isEmpty ( ) ? null : stack . peek ( ) ; if ( lhsExpression == null ) { throw new SyntaxException ( "Syntax exception: OR missing LHS operand" ) ; } else if ( lastGroupExpression == null ) { GroupExpression or = new GroupExpression ( GroupExpression . Type . OR ) ; or . add ... |
public class EventMention { /** * setter for anchor - sets
* @ generated
* @ param v value to set into the feature */
public void setAnchor ( Anchor v ) { } } | if ( EventMention_Type . featOkTst && ( ( EventMention_Type ) jcasType ) . casFeat_anchor == null ) jcasType . jcas . throwFeatMissing ( "anchor" , "de.julielab.jules.types.ace.EventMention" ) ; jcasType . ll_cas . ll_setRefValue ( addr , ( ( EventMention_Type ) jcasType ) . casFeatCode_anchor , jcasType . ll_cas . ll_... |
public class BigIntegerUtils { /** * Read .
* @ param value the value
* @ return the big integer */
public static BigInteger read ( String value ) { } } | if ( ! StringUtils . hasText ( value ) ) return null ; return new BigInteger ( value ) ; |
public class TLSBuilder { /** * Builds a new ServerSocket
* @ return SSLServerSocket */
public SSLServerSocket buildServerSocket ( ) throws CertificateException , UnrecoverableKeyException , NoSuchAlgorithmException , KeyStoreException , KeyManagementException , IOException { } } | // Get socket
final SSLServerSocket s = ( SSLServerSocket ) build ( ) . getServerSocketFactory ( ) . createServerSocket ( port ) ; // Set protocols
s . setEnabledProtocols ( TLS . getUsable ( TLS . TLS_PROTOCOLS , s . getSupportedProtocols ( ) ) ) ; s . setEnabledCipherSuites ( TLS . getUsable ( TLS . TLS_CIPHER_SUITES... |
public class BaseDaoEnabled { /** * A call through to the { @ link Dao # updateId ( Object , Object ) } . */
public int updateId ( ID newId ) throws SQLException { } } | checkForDao ( ) ; @ SuppressWarnings ( "unchecked" ) T t = ( T ) this ; return dao . updateId ( t , newId ) ; |
public class ReadStreamOld { /** * Fills the buffer with a non - blocking read .
* @ param timeout the timeout in milliseconds for the next data
* @ return true on data or end of file , false on timeout */
public int fillWithTimeout ( long timeout ) throws IOException { } } | if ( _readOffset < _readLength ) { return _readLength - _readOffset ; } if ( _readBuffer == null ) { _readOffset = 0 ; _readLength = 0 ; return - 1 ; } _readOffset = 0 ; StreamImpl source = _source ; if ( source == null ) { // return true on end of file
return - 1 ; } int readLength = source . readTimeout ( _readBuffer... |
public class SeleniumDriverFixture { /** * < p > < code >
* | start browser | < i > firefox < / i > | on url | < i > http : / / localhost < / i > | using remote server on host | < i > localhost < / i > | on port | < i > 4444 < / i > |
* < / code > < / p >
* @ param browser
* @ param browserUrl
* @ param serve... | setCommandProcessor ( new HttpCommandProcessorAdapter ( new HttpCommandProcessor ( serverHost , serverPort , browser , removeAnchorTag ( browserUrl ) ) ) ) ; commandProcessor . start ( ) ; setTimeoutOnSelenium ( ) ; LOG . debug ( "Started HTML command processor" ) ; |
public class HBaseDataHandler { /** * On find key only .
* @ param filterList
* the filter list
* @ param isFindKeyOnly
* the is find key only
* @ return the filter list */
private FilterList onFindKeyOnly ( FilterList filterList , boolean isFindKeyOnly ) { } } | if ( isFindKeyOnly ) { if ( filterList == null ) { filterList = new FilterList ( ) ; } filterList . addFilter ( new KeyOnlyFilter ( ) ) ; } return filterList ; |
public class DefaultAuthenticationHandler { /** * Default implementation returns the user authentication associated with the auth token , if the token is provided . Otherwise , the consumer authentication
* is returned .
* @ param request The request that was successfully authenticated .
* @ param authentication ... | if ( authToken != null ) { Authentication userAuthentication = authToken . getUserAuthentication ( ) ; if ( userAuthentication instanceof AbstractAuthenticationToken ) { // initialize the details with the consumer that is actually making the request on behalf of the user .
( ( AbstractAuthenticationToken ) userAuthenti... |
public class DefaultGroovyMethods { /** * Iterates through this Iterable transforming each entry into a new value using the < code > transform < / code > closure
* returning a list of transformed values .
* < pre class = " groovyTestCase " > assert [ 2,4,6 ] = = [ 1,2,3 ] . collect { it * 2 } < / pre >
* @ param ... | return ( List < T > ) collect ( self . iterator ( ) , transform ) ; |
public class Utils { /** * Checks whether the elements of the given tuple are not negative ,
* and throws an < code > IllegalArgumentException < / code > if any of
* them is negative .
* @ param t The tuple
* @ throws NullPointerException If the given size is < code > null < / code >
* @ throws IllegalArgumen... | for ( int i = 0 ; i < t . getSize ( ) ; i ++ ) { if ( t . get ( i ) < 0 ) { throw new IllegalArgumentException ( "Negative size: " + t ) ; } } |
public class FieldReferenceLookup { /** * Gives all fields of underlying inputs in order of those inputs and order of fields within input .
* @ return concatenated list of fields of all inputs . */
public List < FieldReferenceExpression > getAllInputFields ( ) { } } | return fieldReferences . stream ( ) . flatMap ( input -> input . values ( ) . stream ( ) ) . collect ( toList ( ) ) ; |
public class Char { /** * Encodes with backslash all illegal characters */
public static String encodeBackslash ( CharSequence s , Legal legal ) { } } | StringBuilder b = new StringBuilder ( ( int ) ( s . length ( ) * 1.5 ) ) ; for ( int i = 0 ; i < s . length ( ) ; i ++ ) { if ( legal . isLegal ( s . charAt ( i ) ) ) { b . append ( s . charAt ( i ) ) ; } else { if ( charToBackslash . containsKey ( s . charAt ( i ) ) ) { b . append ( charToBackslash . get ( s . charAt ... |
public class ArrayUtils { /** * Make a copy for a 2D array
* @ param nums
* @ return */
public static int [ ] [ ] copyOf ( final int [ ] [ ] nums ) { } } | final int [ ] [ ] copy = new int [ nums . length ] [ ] ; for ( int i = 0 ; i < copy . length ; i ++ ) { final int [ ] member = new int [ nums [ i ] . length ] ; System . arraycopy ( nums [ i ] , 0 , member , 0 , nums [ i ] . length ) ; copy [ i ] = member ; } return copy ; |
public class CommercePriceListAccountRelPersistenceImpl { /** * Returns the commerce price list account rel where commerceAccountId = & # 63 ; and commercePriceListId = & # 63 ; or throws a { @ link NoSuchPriceListAccountRelException } if it could not be found .
* @ param commerceAccountId the commerce account ID
*... | CommercePriceListAccountRel commercePriceListAccountRel = fetchByC_C ( commerceAccountId , commercePriceListId ) ; if ( commercePriceListAccountRel == null ) { StringBundler msg = new StringBundler ( 6 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "commerceAccountId=" ) ; msg . append ( commerceAccount... |
public class DynamicJasperHelper { /** * Compiles the report and applies the layout . < b > generatedParams < / b > MUST NOT BE NULL
* All the key objects from the generatedParams map that are String , will be registered as parameters of the report .
* @ param dr
* @ param layoutManager
* @ param generatedParam... | log . info ( "generating JasperReport (DynamicReport dr, LayoutManager layoutManager, Map generatedParams)" ) ; return generateJasperReport ( dr , layoutManager , generatedParams , "r" ) ; |
public class Exceptions { /** * Render the exception text based on the display attributes .
* @ throws JspException if a JSP exception has occurred */
public void doTag ( ) throws JspException { } } | // First look for the exception in the pageflow / struts request attribute . If it ' s not there ,
// look for it in the request attribute the container provides for web . xml - configured error
// pages .
InternalStringBuilder results = new InternalStringBuilder ( 128 ) ; PageContext pageContext = getPageContext ( ) ;... |
public class FaceDetectionMarshaller { /** * Marshall the given parameter object . */
public void marshall ( FaceDetection faceDetection , ProtocolMarshaller protocolMarshaller ) { } } | if ( faceDetection == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( faceDetection . getTimestamp ( ) , TIMESTAMP_BINDING ) ; protocolMarshaller . marshall ( faceDetection . getFace ( ) , FACE_BINDING ) ; } catch ( Exception e ) { throw new... |
public class MicroOptimization { /** * / graph is the more common way to specialize this class . */
protected void apply ( CompiledPlan plan , AbstractParsedStmt parsedStmt ) { } } | try { AbstractPlanNode planGraph = plan . rootPlanGraph ; planGraph = recursivelyApply ( planGraph , parsedStmt ) ; plan . rootPlanGraph = planGraph ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; } |
public class ClassWriter { /** * Adds a double to the constant pool of the class being build . Does nothing
* if the constant pool already contains a similar item .
* @ param value the double value .
* @ return a new or already existing double item . */
Item newDouble ( final double value ) { } } | key . set ( value ) ; Item result = get ( key ) ; if ( result == null ) { pool . putByte ( DOUBLE ) . putLong ( key . longVal ) ; result = new Item ( index , key ) ; put ( result ) ; index += 2 ; } return result ; |
public class SparkUtils { /** * List of the files in the given directory ( path ) , as a { @ code JavaRDD < String > }
* @ param sc Spark context
* @ param path Path to list files in
* @ return Paths in the directory
* @ throws IOException If error occurs getting directory contents */
public static JavaRDD < St... | return listPaths ( sc , path , false ) ; |
public class AbstractScope { /** * Get a unique Var object of the given implicit var type . */
private final V getImplicitVar ( ImplicitVar var , boolean allowDeclaredVars ) { } } | S scope = thisScope ( ) ; while ( scope != null ) { if ( var . isMadeByScope ( scope ) ) { V result = ( ( AbstractScope < S , V > ) scope ) . implicitVars . get ( var ) ; if ( result == null ) { ( ( AbstractScope < S , V > ) scope ) . implicitVars . put ( var , result = scope . makeImplicitVar ( var ) ) ; } return resu... |
public class CmsSecurityManager { /** * Changes the resource type of a resource . < p >
* OpenCms handles resources according to the resource type ,
* not the file suffix . This is e . g . why a JSP in OpenCms can have the
* suffix " . html " instead of " . jsp " only . Changing the resource type
* makes sense ... | CmsDbContext dbc = m_dbContextFactory . getDbContext ( context ) ; try { checkOfflineProject ( dbc ) ; checkPermissions ( dbc , resource , CmsPermissionSet . ACCESS_WRITE , true , CmsResourceFilter . ALL ) ; if ( CmsResourceTypeJsp . isJspTypeId ( type ) ) { // security check preventing the creation of a jsp file witho... |
public class ApiWrapper { /** * Sets schedulers for API calls observables and adds logging .
* @ param obs Observable to set schedulers for .
* @ param log Logger instance .
* @ param < E > Class of the service call result .
* @ return Observable for API call . */
< E > Observable < E > wrapObservable ( @ NonNu... | return obs . subscribeOn ( Schedulers . io ( ) ) . observeOn ( Schedulers . io ( ) ) . doOnNext ( r -> log ( log , ( ComapiResult ) r , msg ) ) . doOnError ( t -> log ( log , t , msg ) ) ; |
public class FSM { /** * Pasandole un array genera todas las transiciones posibles entre los
* estados . */
public void registerAllPossibleTransition ( Automaton [ ] states ) { } } | for ( int i = 0 ; i < states . length ; i ++ ) { for ( int j = i ; j < states . length ; j ++ ) { registerTransition ( states [ i ] , states [ j ] ) ; registerTransition ( states [ j ] , states [ i ] ) ; } } |
public class TextSimilarity { /** * 如果没有指定权重 , 则默认使用词频来标注词的权重
* 词频数据怎么来 ?
* 一个词在词列表1中出现了几次 , 它在词列表1中的权重就是几
* 一个词在词列表2中出现了几次 , 它在词列表2中的权重就是几
* 标注好的权重存储在Word类的weight字段中
* @ param words1 词列表1
* @ param words2 词列表2 */
protected void taggingWeightWithWordFrequency ( List < Word > words1 , List < Word > words2 ) ... | if ( words1 . get ( 0 ) . getWeight ( ) != null || words2 . get ( 0 ) . getWeight ( ) != null ) { if ( LOGGER . isDebugEnabled ( ) ) { LOGGER . debug ( "词已经被指定权重,不再使用词频进行标注" ) ; } return ; } // 词频统计
Map < String , AtomicInteger > frequency1 = frequency ( words1 ) ; Map < String , AtomicInteger > frequency2 = frequency ... |
public class EventhubDataWriterBuilder { /** * Create an eventhub data writer , wrapped into a buffered async data writer */
public AsyncDataWriter getAsyncDataWriter ( Properties properties ) { } } | EventhubDataWriter eventhubDataWriter = new EventhubDataWriter ( properties ) ; EventhubBatchAccumulator accumulator = new EventhubBatchAccumulator ( properties ) ; BatchedEventhubDataWriter batchedEventhubDataWriter = new BatchedEventhubDataWriter ( accumulator , eventhubDataWriter ) ; return batchedEventhubDataWriter... |
public class ScriptContainer { /** * Release any acquired resources . */
protected void localRelease ( ) { } } | super . localRelease ( ) ; _idScope = null ; _writeScript = false ; _genScope = false ; _writeId = false ; if ( _funcBlocks != null ) _funcBlocks . clear ( ) ; if ( _codeBefore != null ) _codeBefore . clear ( ) ; if ( _codeAfter != null ) _codeAfter . clear ( ) ; if ( _idMap != null ) _idMap . clear ( ) ; if ( _idToNam... |
public class RuntimeExceptionsFactory { /** * Constructs and initializes a new { @ link UnsupportedOperationException } with the given { @ link String message }
* formatted with the given { @ link Object [ ] arguments } .
* @ param message { @ link String } describing the { @ link UnsupportedOperationException exce... | return newUnsupportedOperationException ( null , message , args ) ; |
public class CollapseProperties { /** * Updates the first initialization ( a . k . a " declaration " ) of a global name that occurs in a static
* MEMBER _ FUNCTION _ DEF in a class . See comment for { @ link # updateGlobalNameDeclaration } .
* @ param n A static MEMBER _ FUNCTION _ DEF in a class assigned to a glob... | Ref declaration = n . getDeclaration ( ) ; Node classNode = declaration . getNode ( ) . getGrandparent ( ) ; checkState ( classNode . isClass ( ) , classNode ) ; Node enclosingStatement = NodeUtil . getEnclosingStatement ( classNode ) ; if ( canCollapseChildNames ) { addStubsForUndeclaredProperties ( n , alias , enclos... |
public class Cl { /** * ResultSet is not modified ( no rs . next called ) .
* @ param rs
* @ return */
static Cl map ( ResultSet rs , int colShift ) { } } | Cl tmp = new Cl ( ) ; try { tmp . id = rs . getInt ( 1 + colShift ) ; tmp . name = rs . getString ( 2 + colShift ) ; tmp . childFirst = rs . getBoolean ( 3 + colShift ) ; tmp . hiddenClasses = rs . getString ( 4 + colShift ) ; tmp . tracingEnabled = rs . getBoolean ( 5 + colShift ) ; tmp . persistent = rs . getBoolean ... |
public class SeekableStringReader { /** * Read everything until one the sentinel , which must exist in the string .
* Sentinel char is read but not returned in the result . */
public String readUntil ( char sentinel ) { } } | int i = str . indexOf ( sentinel , cursor ) ; if ( i >= 0 ) { int from = cursor ; cursor = i + 1 ; return str . substring ( from , i ) ; } throw new ParseException ( "terminator not found" ) ; |
public class Bundler { /** * Inserts a CharSequence value into the mapping of the underlying Bundle , replacing any existing
* value for the given key . Either key or value may be null .
* @ param key a String , or null
* @ param value a CharSequence , or null
* @ return this bundler instance to chain method ca... | delegate . putCharSequence ( key , value ) ; return this ; |
public class PersonGroupPersonsImpl { /** * Delete a face from a person . Relative image for the persisted face will also be deleted .
* @ param personGroupId Id referencing a particular person group .
* @ param personId Id referencing a particular person .
* @ param persistedFaceId Id referencing a particular pe... | return deleteFaceWithServiceResponseAsync ( personGroupId , personId , persistedFaceId ) . map ( new Func1 < ServiceResponse < Void > , Void > ( ) { @ Override public Void call ( ServiceResponse < Void > response ) { return response . body ( ) ; } } ) ; |
public class VaultLockPolicyMarshaller { /** * Marshall the given parameter object . */
public void marshall ( VaultLockPolicy vaultLockPolicy , ProtocolMarshaller protocolMarshaller ) { } } | if ( vaultLockPolicy == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( vaultLockPolicy . getPolicy ( ) , POLICY_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( )... |
public class AbstractCasView { /** * Put cas response attributes into model .
* @ param model the model
* @ param attributes the attributes
* @ param registeredService the registered service
* @ param attributesRenderer the attributes renderer */
protected void putCasResponseAttributesIntoModel ( final Map < St... | LOGGER . trace ( "Beginning to encode attributes for the response" ) ; val encodedAttributes = this . protocolAttributeEncoder . encodeAttributes ( attributes , registeredService ) ; LOGGER . debug ( "Encoded attributes for the response are [{}]" , encodedAttributes ) ; putIntoModel ( model , CasProtocolConstants . VAL... |
public class Interval { /** * Returns an Interval for the range of integers inclusively between from and to with the specified
* stepBy value . */
public static Interval fromToBy ( int from , int to , int stepBy ) { } } | if ( stepBy == 0 ) { throw new IllegalArgumentException ( "Cannot use a step by of 0" ) ; } if ( from > to && stepBy > 0 || from < to && stepBy < 0 ) { throw new IllegalArgumentException ( "Step by is incorrect for the range" ) ; } return new Interval ( from , to , stepBy ) ; |
public class OneOfTracker { /** * Check that each group is satisfied by one and only one field .
* @ param currentPath the json path to the element being checked */
public void checkAllGroupsSatisfied ( final String currentPath ) { } } | StringBuilder errors = new StringBuilder ( ) ; for ( OneOfGroup group : this . mapping . values ( ) ) { if ( group . satisfiedBy . isEmpty ( ) ) { errors . append ( "\n" ) ; errors . append ( "\t* The OneOf choice: " ) . append ( group . name ) . append ( " was not satisfied. One (and only one) of the " ) ; errors . a... |
public class OrderAction { /** * Swaps the currently selected entity with the entity located
* at the specified position . No other entities are affected by this operation .
* @ param swapPosition
* 0 based index of target position
* @ throws java . lang . IllegalStateException
* If no entity has been selecte... | Checks . notNegative ( swapPosition , "Provided swapPosition" ) ; Checks . check ( swapPosition < orderList . size ( ) , "Provided swapPosition is too big and is out of bounds. swapPosition: " + swapPosition ) ; T selectedItem = orderList . get ( selectedPosition ) ; T swapItem = orderList . get ( swapPosition ) ; orde... |
public class Wro4jAutoConfiguration { /** * This is the default " Least recently used memory cache " strategy of Wro4j
* which will be configured per default .
* @ param < K > Type of the cache keys
* @ param < V > Type of the cache values
* @ return A default Wro4j cache strategy */
@ Bean @ ConditionalOnMissi... | LOGGER . debug ( "Creating cache strategy 'LruMemoryCacheStrategy'" ) ; return new LruMemoryCacheStrategy < > ( ) ; |
public class CsvTarget { /** * { @ inheritDoc } */
@ SuppressWarnings ( { } } | "unchecked" } ) public void importItem ( Object item ) { try { m_csvWriter . write ( ( Map < String , ? > ) item , m_propertyNames ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } |
public class QueryParameterAnnotationHandler { /** * Serializes the field value regardless of reflection errors . Fallback to the { @ link ToStringSerializer } .
* @ param paramMetadata
* the query parameter annotation
* @ param fieldValue
* the field value
* @ param fieldName
* the field name ( for logging... | String paramValue ; try { paramValue = paramMetadata . serializer ( ) . newInstance ( ) . handle ( fieldValue ) ; } catch ( final InstantiationException e ) { LOGGER . error ( "Failure while serializing field {}" , new Object [ ] { fieldName , e } ) ; paramValue = new ToStringSerializer ( ) . handle ( fieldValue ) ; } ... |
public class RaftConfigurationLoader { /** * Validates a pre - existing { @ link io . libraft . agent . configuration . RaftConfiguration }
* instance . The following basic validation checks are performed :
* < ul >
* < li > All required configuration fields are present . < / li >
* < li > There are no unrecogn... | // TODO ( AG ) : understand why the validator instance cannot be static final
Validator validator = Validation . buildDefaultValidatorFactory ( ) . getValidator ( ) ; Set < ConstraintViolation < RaftConfiguration > > violations = validator . validate ( configuration ) ; if ( ! violations . isEmpty ( ) ) { throw new Raf... |
public class AmazonCloudDirectoryClient { /** * Lists indices attached to the specified object .
* @ param listAttachedIndicesRequest
* @ return Result of the ListAttachedIndices operation returned by the service .
* @ throws InternalServiceException
* Indicates a problem that must be resolved by Amazon Web Ser... | request = beforeClientExecution ( request ) ; return executeListAttachedIndices ( request ) ; |
public class ObjectCountImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public void setSObjNum ( Integer newSObjNum ) { } } | Integer oldSObjNum = sObjNum ; sObjNum = newSObjNum ; if ( eNotificationRequired ( ) ) eNotify ( new ENotificationImpl ( this , Notification . SET , AfplibPackage . OBJECT_COUNT__SOBJ_NUM , oldSObjNum , sObjNum ) ) ; |
public class PubSubRealization { /** * Reconstitutes all durable subscriptions for this destination . Before this
* method is called , the durable subscriptions itemstream must have been
* recovered and setDurableSubscriptionResources ( ) must have been called .
* @ throws MessageStoreException
* @ throws SIDis... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "reconstituteDurableSubscriptions" ) ; // First create a filter to locate subscriptions for this destination
DurableSubscriptionItemStream durableSub = null ; final SubscriptionStateFilter subStateFilter = new SubscriptionSt... |
public class MD5Checksum { /** * a byte array to a HEX string */
public static String getMD5Checksum ( Resource res ) throws Exception { } } | byte [ ] b = createChecksum ( res ) ; String result = "" ; for ( int i = 0 ; i < b . length ; i ++ ) { result += Integer . toString ( ( b [ i ] & 0xff ) + 0x100 , 16 ) . substring ( 1 ) ; } return result ; |
public class AbstractInvocationFuture { /** * this method should not be needed ; but there is a difference between client and server how it handles async throwables */
protected Throwable unwrap ( Throwable throwable ) { } } | if ( throwable instanceof ExecutionException && throwable . getCause ( ) != null ) { return throwable . getCause ( ) ; } return throwable ; |
public class ListInputsRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( ListInputsRequest listInputsRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( listInputsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listInputsRequest . getMaxResults ( ) , MAXRESULTS_BINDING ) ; protocolMarshaller . marshall ( listInputsRequest . getNextToken ( ) , NEXTTOKEN_BINDING ) ; } catch ( E... |
public class CacheManager { /** * Retrieve upper left and lower right points ( exclusive ) corresponding to the tiles coverage for
* the selected zoom level .
* @ param pBB the given bounding box
* @ param pZoomLevel the given zoom level
* @ return the { @ link Rect } reflecting the tiles coverage */
public sta... | final int mapTileUpperBound = 1 << pZoomLevel ; final int right = MapView . getTileSystem ( ) . getTileXFromLongitude ( pBB . getLonEast ( ) , pZoomLevel ) ; final int bottom = MapView . getTileSystem ( ) . getTileYFromLatitude ( pBB . getLatSouth ( ) , pZoomLevel ) ; final int left = MapView . getTileSystem ( ) . getT... |
public class DynamicByteArray { /** * Write out a range of this dynamic array to an output stream .
* @ param out the stream to write to
* @ param offset the first offset to write
* @ param length the number of bytes to write
* @ throws IOException */
public void write ( OutputStream out , int offset , int leng... | data . getBytes ( offset , out , length ) ; |
public class CombinedWriter { /** * { @ inheritDoc } */
@ Override public UberBucket readUber ( ) throws TTIOException { } } | Future < UberBucket > secondReturn = mService . submit ( new Callable < UberBucket > ( ) { @ Override public UberBucket call ( ) throws Exception { return mSecondWriter . readUber ( ) ; } } ) ; UberBucket returnVal = mFirstWriter . readUber ( ) ; try { if ( returnVal == null ) { return secondReturn . get ( ) ; } else {... |
public class SymmetryAxes { /** * Get the indices of participating repeats in cyclic form .
* Each inner list gives a set of equivalent repeats and should have length
* equal to the order of the axis ' operator .
* @ param level
* @ param firstRepeat
* @ return */
public List < List < Integer > > getRepeatsCy... | Axis axis = axes . get ( level ) ; int m = getNumRepeats ( level + 1 ) ; // size of the children
int d = axis . getOrder ( ) ; // degree of this node
int n = m * d ; // number of repeats included
if ( firstRepeat % n != 0 ) { throw new IllegalArgumentException ( String . format ( "Repeat %d cannot start a block at leve... |
public class RollupConfig { /** * Makes sure each of the rollup tables exists
* @ param tsdb The TSDB to use for fetching the HBase client */
public void ensureTablesExist ( final TSDB tsdb ) { } } | final List < Deferred < Object > > deferreds = new ArrayList < Deferred < Object > > ( forward_intervals . size ( ) * 2 ) ; for ( RollupInterval interval : forward_intervals . values ( ) ) { deferreds . add ( tsdb . getClient ( ) . ensureTableExists ( interval . getTemporalTable ( ) ) ) ; deferreds . add ( tsdb . getCl... |
public class HashIntSet { /** * { @ inheritDoc } */
@ Override public boolean retainAll ( IntSet c ) { } } | if ( c == null || c . isEmpty ( ) ) { return false ; } boolean res = false ; for ( int i = 0 ; i < cells . length ; i ++ ) { if ( cells [ i ] >= 0 && ! c . contains ( cells [ i ] ) ) { cells [ i ] = REMOVED ; res = true ; size -- ; } } if ( res ) { modCount ++ ; } return res ; |
public class VersionsImpl { /** * Exports a LUIS application to JSON format .
* @ param appId The application ID .
* @ param versionId The version ID .
* @ throws IllegalArgumentException thrown if parameters fail the validation
* @ return the observable to the LuisApp object */
public Observable < ServiceRespo... | if ( this . client . endpoint ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.endpoint() is required and cannot be null." ) ; } if ( appId == null ) { throw new IllegalArgumentException ( "Parameter appId is required and cannot be null." ) ; } if ( versionId == null ) { throw new IllegalArgu... |
public class WCheckBoxSelectExample { /** * WCheckBoxSelect layout options These examples show the various ways to lay out the options in a WCheckBoxSelect
* NOTE : the default ( if no buttonLayout is set ) is LAYOUT _ STACKED . adds a WCheckBoxSelect with LAYOUT _ FLAT */
private void addFlatSelectExample ( ) { } } | add ( new WHeading ( HeadingLevel . H3 , "WCheckBoxSelect with flat layout" ) ) ; add ( new ExplanatoryText ( "Setting the layout to FLAT will make thecheck boxes be rendered in a horizontal line. They will wrap when they reach" + " the edge of the parent container." ) ) ; final WCheckBoxSelect select = new WCheckBoxSe... |
public class Configuration { /** * Constructs a mapping of configuration and includes all properties that
* start with the specified configuration prefix . Property names in the
* mapping are trimmed to remove the configuration prefix .
* @ param confPrefix configuration prefix
* @ return mapping of configurati... | Properties props = getProps ( ) ; Enumeration e = props . propertyNames ( ) ; Map < String , String > configMap = new HashMap < > ( ) ; String name = null ; while ( e . hasMoreElements ( ) ) { name = ( String ) e . nextElement ( ) ; if ( name . startsWith ( confPrefix ) ) { String value = props . getProperty ( name ) ;... |
public class GenericBoJdbcDao { /** * Fetch list of existing BOs from storage by id .
* @ param conn
* @ param idList
* @ return
* @ since 0.8.1 */
@ SuppressWarnings ( "unchecked" ) protected T [ ] get ( Connection conn , BoId ... idList ) { } } | T [ ] result = ( T [ ] ) Array . newInstance ( typeClass , idList != null ? idList . length : 0 ) ; if ( idList != null ) { for ( int i = 0 ; i < idList . length ; i ++ ) { result [ i ] = get ( conn , idList [ i ] ) ; } } return result ; |
public class Fingerprint { /** * Trim off references to non - existent builds and jobs , thereby making the fingerprint smaller .
* @ return true
* if this record was modified .
* @ throws IOException Save failure */
public synchronized boolean trim ( ) throws IOException { } } | boolean modified = false ; for ( Entry < String , RangeSet > e : new Hashtable < > ( usages ) . entrySet ( ) ) { // copy because we mutate
Job j = Jenkins . getInstance ( ) . getItemByFullName ( e . getKey ( ) , Job . class ) ; if ( j == null ) { // no such job any more . recycle the record
modified = true ; usages . r... |
public class AbstractResilienceStrategy { /** * Called when the cache failed to recover from a failing store operation on a list of keys .
* @ param keys
* @ param because exception thrown by the failing operation
* @ param cleanup all the exceptions that occurred during cleanup */
protected void inconsistent ( I... | pacedErrorLog ( "Ehcache keys {} in possible inconsistent state" , keys , because ) ; |
public class Partitioner { /** * Adjust a watermark based on watermark type
* @ param baseWatermark the original watermark
* @ param watermarkType Watermark Type
* @ return the adjusted watermark value */
private static long adjustWatermark ( String baseWatermark , WatermarkType watermarkType ) { } } | long result = ConfigurationKeys . DEFAULT_WATERMARK_VALUE ; switch ( watermarkType ) { case SIMPLE : result = SimpleWatermark . adjustWatermark ( baseWatermark , 0 ) ; break ; case DATE : result = DateWatermark . adjustWatermark ( baseWatermark , 0 ) ; break ; case HOUR : result = HourWatermark . adjustWatermark ( base... |
public class DocumentSet { /** * Returns the index of the provided key in the document set , or - 1 if the document key is not
* present in the set ; */
int indexOf ( ResourcePath key ) { } } | QueryDocumentSnapshot document = keyIndex . get ( key ) ; if ( document == null ) { return - 1 ; } return sortedSet . indexOf ( document ) ; |
public class NioController { /** * Cancel selection key */
public void closeSelectionKey ( SelectionKey key ) { } } | if ( key . attachment ( ) instanceof Session ) { Session session = ( Session ) key . attachment ( ) ; if ( session != null ) { session . close ( ) ; } } |
public class Win32File { /** * Wraps a { @ code File } array , possibly pointing to Windows symbolic links
* ( { @ code . lnk } files ) in { @ code Win32Lnk } s .
* @ param pPaths an array of { @ code File } s , possibly pointing to Windows
* symbolic link files .
* May be { @ code null } , in which case { @ co... | if ( IS_WINDOWS ) { for ( int i = 0 ; pPaths != null && i < pPaths . length ; i ++ ) { pPaths [ i ] = wrap ( pPaths [ i ] ) ; } } return pPaths ; |
public class JMRandom { /** * Build random int stream int stream .
* @ param streamSize the stream size
* @ param random the random
* @ param exclusiveBound the exclusive bound
* @ return the int stream */
public static IntStream buildRandomIntStream ( int streamSize , Random random , int exclusiveBound ) { } } | return buildRandomIntStream ( streamSize , ( ) -> random . nextInt ( exclusiveBound ) ) ; |
public class DatabaseManager { /** * Loads the JDBC driver specified in { @ code jdbcDriver } and establishes a JBDC connection with the given { @ code connectionString } , { @ code username } and
* { @ code password } .
* @ param jdbcDriver The fully - qualified class name of the JDBC driver
* @ param connection... | // Load jdbc driver
try { LOG . debug ( "Trying to load jdbc driver " + jdbcDriver ) ; Class . forName ( jdbcDriver ) ; LOG . info ( "Successfully loaded jdbc driver" ) ; } catch ( ClassNotFoundException e ) { LOG . error ( "Could not load jdbc driver with name " + jdbcDriver ) ; throw e ; } // get connection
try { LOG... |
public class LayoutRESTController { /** * A REST call to get a json feed of the current users layout . Intent was to provide a layout
* document without per - tab information for mobile device rendering .
* @ param request The servlet request . Utilized to get the users instance and eventually there
* layout
* ... | final IPerson person = personManager . getPerson ( request ) ; List < LayoutPortlet > portlets = new ArrayList < LayoutPortlet > ( ) ; try { final IUserInstance ui = userInstanceManager . getUserInstance ( request ) ; final IUserPreferencesManager upm = ui . getPreferencesManager ( ) ; final IUserProfile profile = upm ... |
public class DragonexBaseService { /** * current date in utc as http header */
protected static String utcNow ( ) { } } | Calendar calendar = Calendar . getInstance ( ) ; SimpleDateFormat dateFormat = new SimpleDateFormat ( "EEE, dd MMM yyyy HH:mm:ss z" , Locale . US ) ; dateFormat . setTimeZone ( TimeZone . getTimeZone ( "GMT" ) ) ; return dateFormat . format ( calendar . getTime ( ) ) ; // return java . time . format . DateTimeFormatter... |
public class POIUtils { /** * セルに設定されている書式を取得する 。
* @ since 1.1
* @ param cell セルのインスタンス 。
* @ param cellFormatter セルのフォーマッタ
* @ return 書式が設定されていない場合は 、 空文字を返す 。
* cellがnullの場合も空文字を返す 。
* 標準の書式の場合も空文字を返す 。 */
public static String getCellFormatPattern ( final Cell cell , final CellFormatter cellFormatter )... | if ( cell == null ) { return "" ; } String pattern = cellFormatter . getPattern ( cell ) ; if ( pattern . equalsIgnoreCase ( "general" ) ) { return "" ; } return pattern ; |
public class BindingManager { /** * Returns the { @ link MethodBuilder } that adds methods to the class spec */
MethodBuilder getMethoddBuilder ( Element element ) { } } | MethodBuilder methodBuilder = new MethodBuilder ( messager , element ) ; methodBuilder . setBindingManager ( this ) ; return methodBuilder ; |
public class AntClassLoader { /** * Finds a system class ( which should be loaded from the same classloader
* as the Ant core ) .
* For JDK 1.1 compatibility , this uses the findSystemClass method if
* no parent classloader has been specified .
* @ param name The name of the class to be loaded .
* Must not be... | return parent == null ? findSystemClass ( name ) : parent . loadClass ( name ) ; |
public class HarFileSystem { /** * / * this makes a path qualified in the har filesystem
* ( non - Javadoc )
* @ see org . apache . hadoop . fs . FilterFileSystem # makeQualified (
* org . apache . hadoop . fs . Path ) */
@ Override public Path makeQualified ( Path path ) { } } | // make sure that we just get the
// path component
Path fsPath = path ; if ( ! path . isAbsolute ( ) ) { fsPath = new Path ( archivePath , path ) ; } URI tmpURI = fsPath . toUri ( ) ; // change this to Har uri
return new Path ( uri . getScheme ( ) , harAuth , tmpURI . getPath ( ) ) ; |
public class KerberosTicketUtils { /** * TGS must have the server principal of the form " krbtgt / FOO @ FOO " .
* @ return true or false */
private static boolean isTicketGrantingServerPrincipal ( KerberosPrincipal principal ) { } } | if ( principal == null ) { return false ; } if ( principal . getName ( ) . equals ( "krbtgt/" + principal . getRealm ( ) + "@" + principal . getRealm ( ) ) ) { return true ; } return false ; |
public class FunctionTypeBuilder { /** * Check whether a type is resolvable in the future
* If this has a supertype that hasn ' t been resolved yet , then we can assume
* this type will be OK once the super type resolves .
* @ param objectType
* @ return true if objectType is resolvable in the future */
private... | checkArgument ( objectType . isUnknownType ( ) ) ; FunctionType ctor = objectType . getConstructor ( ) ; if ( ctor != null ) { // interface extends interfaces
for ( ObjectType interfaceType : ctor . getExtendedInterfaces ( ) ) { if ( ! interfaceType . isResolved ( ) ) { return true ; } } } if ( objectType . getImplicit... |
public class NestedMappingHandler { /** * Checks only get accessor of this field .
* @ param xml used to check xml configuration
* @ param aClass class where is the field with the nested mapping
* @ param nestedField field with nested mapping */
private static MappedField checkGetAccessor ( XML xml , Class < ? > ... | MappedField field = new MappedField ( nestedField ) ; xml . fillMappedField ( aClass , field ) ; Annotation . fillMappedField ( aClass , field ) ; verifyGetterMethods ( aClass , field ) ; return field ; |
public class CommerceDiscountUsageEntryLocalServiceBaseImpl { /** * Adds the commerce discount usage entry to the database . Also notifies the appropriate model listeners .
* @ param commerceDiscountUsageEntry the commerce discount usage entry
* @ return the commerce discount usage entry that was added */
@ Indexab... | commerceDiscountUsageEntry . setNew ( true ) ; return commerceDiscountUsageEntryPersistence . update ( commerceDiscountUsageEntry ) ; |
public class SetPrefsTransformation { /** * / * ( non - Javadoc )
* @ see com . abubusoft . kripton . processor . sharedprefs . transform . AbstractGeneratedPrefsTransform # generateReadProperty ( com . squareup . javapoet . MethodSpec . Builder , java . lang . String , com . squareup . javapoet . TypeName , java . l... | boolean isStringSet = isStringSet ( property ) ; String tempPre = "" ; String tempPost = "" ; String tempPreDefaultValue = "" ; String tempPostDefaultValue = "" ; if ( readAll ) { methodBuilder . beginControlFlow ( "" ) ; } if ( property . hasTypeAdapter ( ) ) { // this comment is needed to include $ T for PrefsTypeAda... |
public class InputCaptionsMarshaller { /** * Marshall the given parameter object . */
public void marshall ( InputCaptions inputCaptions , ProtocolMarshaller protocolMarshaller ) { } } | if ( inputCaptions == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( inputCaptions . getMergePolicy ( ) , MERGEPOLICY_BINDING ) ; protocolMarshaller . marshall ( inputCaptions . getCaptionSources ( ) , CAPTIONSOURCES_BINDING ) ; } catch ( E... |
public class BinaryAttachment { /** * The attachment ' s data .
* @ return The attachment ' s data . */
public InputStream getData ( ) { } } | if ( data != null ) { return new ByteArrayInputStream ( data ) ; } else if ( dataStream != null ) { return dataStream ; } else { throw new IllegalStateException ( "Either the byte[] or the stream mustn't be null at this point." ) ; } |
public class Weld { /** * Bootstraps a new Weld SE container with the current container id ( generated value if not set through { @ link # containerId ( String ) } ) .
* The container must be shut down properly when an application is stopped . Applications are encouraged to use the try - with - resources statement or... | // If also building a synthetic bean archive or the implicit scan is enabled , the check for beans . xml is not necessary
if ( ! isSyntheticBeanArchiveRequired ( ) && ! isImplicitScanEnabled ( ) && resourceLoader . getResource ( WeldDeployment . BEANS_XML ) == null ) { throw CommonLogger . LOG . missingBeansXml ( ) ; }... |
public class PgStatement { /** * Returns true if query is unlikely to be reused .
* @ param cachedQuery to check ( null if current query )
* @ return true if query is unlikely to be reused */
protected boolean isOneShotQuery ( CachedQuery cachedQuery ) { } } | if ( cachedQuery == null ) { return true ; } cachedQuery . increaseExecuteCount ( ) ; if ( ( mPrepareThreshold == 0 || cachedQuery . getExecuteCount ( ) < mPrepareThreshold ) && ! getForceBinaryTransfer ( ) ) { return true ; } return false ; |
public class MailAccountManager { /** * Gets the set of reserved mail accounts for the current thread .
* @ return the set of reserved mail accounts */
public Set < MailAccount > getReservedMailAccountsForCurrentThread ( ) { } } | lock . lock ( ) ; try { Map < MailAccount , ThreadReservationKeyWrapper > accountsForThread = filterValues ( usedAccounts , new CurrentThreadWrapperPredicate ( ) ) ; return ImmutableSet . copyOf ( accountsForThread . keySet ( ) ) ; } finally { lock . unlock ( ) ; } |
public class ProducerService { /** * Returns a producer of the specified class .
* @ param clazz Class of the producer sought .
* @ return The producer , or null if not found . */
private IMessageProducer findRegisteredProducer ( Class < ? > clazz ) { } } | for ( IMessageProducer producer : producers ) { if ( clazz . isInstance ( producer ) ) { return producer ; } } return null ; |
public class ResultSetIterator { @ Override public boolean hasNext ( ) { } } | try { if ( this . resultSet == null ) return false ; else if ( ! this . resultSet . next ( ) ) { this . dispose ( ) ; return false ; } return true ; } catch ( SQLException e ) { dispose ( ) ; throw new CommunicationException ( e . getMessage ( ) , e ) ; } |
public class Ifc4PackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public EClass getIfcShadingDevice ( ) { } } | if ( ifcShadingDeviceEClass == null ) { ifcShadingDeviceEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( Ifc4Package . eNS_URI ) . getEClassifiers ( ) . get ( 593 ) ; } return ifcShadingDeviceEClass ; |
public class DateUtil { /** * 修改日期为某个时间字段四舍五入时间
* @ param calendar { @ link Calendar }
* @ param dateField 时间字段
* @ return 原 { @ link Calendar }
* @ since 4.5.7 */
public static Calendar round ( Calendar calendar , DateField dateField ) { } } | return DateModifier . modify ( calendar , dateField . getValue ( ) , ModifyType . ROUND ) ; |
public class MPDServerStatistics { /** * Returns the statistics of the requested statistics element .
* See < code > StatList < / code > for a list of possible items returned
* by getServerStat .
* @ param stat the statistic desired
* @ return the requested statistic */
private Number getStat ( StatList stat ) ... | LocalDateTime now = this . clock . now ( ) ; if ( now . minusSeconds ( this . expiryInterval ) . isAfter ( this . responseDate ) ) { this . responseDate = now ; this . cachedResponse = commandExecutor . sendCommand ( serverProperties . getStats ( ) ) ; } for ( String line : cachedResponse ) { if ( line . startsWith ( s... |
public class UIViewRoot { /** * < p class = " changed _ added _ 2_0 " > < span
* class = " changed _ deleted _ 2_0 _ rev _ a
* changed _ modified _ 2_1 " > Return < / span > an unmodifiable
* < code > List < / code > of { @ link UIComponent } s for the provided
* < code > target < / code > agrument . Each < cod... | if ( target == null ) { throw new NullPointerException ( ) ; } List < UIComponent > resources = getComponentResources ( context , target , false ) ; return ( ( resources != null ) ? resources : Collections . < UIComponent > emptyList ( ) ) ; |
public class ReflectionUtils { /** * Get inherited fields of a given type .
* @ param type the type to introspect
* @ return list of inherited fields */
public static List < Field > getInheritedFields ( Class < ? > type ) { } } | List < Field > inheritedFields = new ArrayList < > ( ) ; while ( type . getSuperclass ( ) != null ) { Class < ? > superclass = type . getSuperclass ( ) ; inheritedFields . addAll ( asList ( superclass . getDeclaredFields ( ) ) ) ; type = superclass ; } return inheritedFields ; |
public class H2ONode { /** * Stop tracking a remote task , because we got an ACKACK . */
void remove_task_tracking ( int task ) { } } | RPC . RPCCall rpc = _work . get ( task ) ; if ( rpc == null ) return ; // Already stopped tracking
// Atomically attempt to remove the ' dt ' . If we win , we are the sole
// thread running the dt . onAckAck . Also helps GC : the ' dt ' is done ( sent
// to client and we received the ACKACK ) , but the rpc might need t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.