signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class ScalarWithFallback { /** * Finds the best fallback for the given exception type and apply it to
* the exception or throw the original error if no fallback found .
* @ param exp The original exception
* @ return Result of the most suitable fallback
* @ throws Exception The original exception if no f... | final Sorted < Map . Entry < FallbackFrom < T > , Integer > > candidates = new Sorted < > ( Comparator . comparing ( Map . Entry :: getValue ) , new Filtered < > ( entry -> new Not ( new Equals < > ( entry :: getValue , ( ) -> Integer . MIN_VALUE ) ) . value ( ) , new MapOf < > ( fbk -> fbk , fbk -> fbk . support ( exp... |
public class ExecMojo { /** * - - - - helpers - - - - - */
protected void execute ( CommandLine cmdLine ) throws MojoFailureException , MojoExecutionException { } } | try { DefaultExecutor executor = new DefaultExecutor ( ) ; executor . setWorkingDirectory ( workingDir ) ; executor . setStreamHandler ( new PumpStreamHandler ( System . out , System . err , System . in ) ) ; executor . execute ( cmdLine ) ; } catch ( ExecuteException e ) { throw new MojoFailureException ( "npm failure... |
public class ExtensionScript { /** * Invokes the given { @ code script } , synchronously , as a { @ link ProxyScript } , handling any { @ code Exception } thrown during
* the invocation .
* The context class loader of caller thread is replaced with the class loader { @ code AddOnLoader } to allow the script to
* ... | validateScriptType ( script , TYPE_PROXY ) ; Writer writer = getWriters ( script ) ; try { // Dont need to check if enabled as it can only be invoked manually
ProxyScript s = this . getInterface ( script , ProxyScript . class ) ; if ( s != null ) { if ( request ) { return s . proxyRequest ( msg ) ; } else { return s . ... |
public class DetachClassicLinkVpcRequest { /** * This method is intended for internal use only . Returns the marshaled request configured with additional
* parameters to enable operation dry - run . */
@ Override public Request < DetachClassicLinkVpcRequest > getDryRunRequest ( ) { } } | Request < DetachClassicLinkVpcRequest > request = new DetachClassicLinkVpcRequestMarshaller ( ) . marshall ( this ) ; request . addParameter ( "DryRun" , Boolean . toString ( true ) ) ; return request ; |
public class JacksonTypeOracle { /** * < p > getClassFromJsonDeserializeAnnotation < / p >
* @ param logger a { @ link com . google . gwt . core . ext . TreeLogger } object .
* @ param annotation a { @ link java . lang . annotation . Annotation } object .
* @ param name a { @ link java . lang . String } object . ... | try { Class asClass = ( Class ) annotation . getClass ( ) . getDeclaredMethod ( name ) . invoke ( annotation ) ; if ( asClass != Void . class ) { return Optional . fromNullable ( getType ( asClass . getCanonicalName ( ) ) ) ; } } catch ( Exception e ) { logger . log ( Type . ERROR , "Cannot find method " + name + " on ... |
public class WebvttDestinationSettingsMarshaller { /** * Marshall the given parameter object . */
public void marshall ( WebvttDestinationSettings webvttDestinationSettings , ProtocolMarshaller protocolMarshaller ) { } } | if ( webvttDestinationSettings == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } |
public class AsImpl { /** * Initialize FSM for SGW side */
private void initLocalFSM ( ) { } } | this . localFSM = new FSM ( this . name + "_LOCAL" ) ; // Define states
this . localFSM . createState ( AsState . DOWN . toString ( ) ) . setOnEnter ( new SEHLocalAsStateEnterDown ( this ) ) ; this . localFSM . createState ( AsState . ACTIVE . toString ( ) ) . setOnEnter ( new SEHLocalAsStateEnterActive ( this ) ) ; th... |
public class ST_YMax { /** * Returns the maximal y - value of the given geometry .
* @ param geom Geometry
* @ return The maximal y - value of the given geometry , or null if the geometry is null . */
public static Double getMaxY ( Geometry geom ) { } } | if ( geom != null ) { return geom . getEnvelopeInternal ( ) . getMaxY ( ) ; } else { return null ; } |
public class ListUserPoolClientsResult { /** * The user pool clients in the response that lists user pool clients .
* @ param userPoolClients
* The user pool clients in the response that lists user pool clients . */
public void setUserPoolClients ( java . util . Collection < UserPoolClientDescription > userPoolClie... | if ( userPoolClients == null ) { this . userPoolClients = null ; return ; } this . userPoolClients = new java . util . ArrayList < UserPoolClientDescription > ( userPoolClients ) ; |
public class NotificationHubsInner { /** * test send a push notification .
* @ param resourceGroupName The name of the resource group .
* @ param namespaceName The namespace name .
* @ param notificationHubName The notification hub name .
* @ throws IllegalArgumentException thrown if parameters fail the validat... | if ( resourceGroupName == null ) { throw new IllegalArgumentException ( "Parameter resourceGroupName is required and cannot be null." ) ; } if ( namespaceName == null ) { throw new IllegalArgumentException ( "Parameter namespaceName is required and cannot be null." ) ; } if ( notificationHubName == null ) { throw new I... |
public class JmsManagedConnectionFactoryImpl { /** * This method is used to create a JMS Connection object . < p >
* This method is overriden by subclasses so that the appropriate connection
* type is returned whenever this method is called
* ( e . g . from within createConnection ( ) ) . */
JmsConnectionImpl ins... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "instantiateConnection" , jcaConnection ) ; JmsConnectionImpl jmsConnection = new JmsConnectionImpl ( jcaConnection , isManaged ( ) , _passThruProps ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEna... |
public class DRL5Lexer { /** * $ ANTLR start " OctalEscape " */
public final void mOctalEscape ( ) throws RecognitionException { } } | try { // src / main / resources / org / drools / compiler / lang / DRL5Lexer . g : 136:5 : ( ' \ \ \ \ ' ( ' 0 ' . . ' 3 ' ) ( ' 0 ' . . ' 7 ' ) ( ' 0 ' . . ' 7 ' ) | ' \ \ \ \ ' ( ' 0 ' . . ' 7 ' ) ( ' 0 ' . . ' 7 ' ) | ' \ \ \ \ ' ( ' 0 ' . . ' 7 ' ) )
int alt55 = 3 ; int LA55_0 = input . LA ( 1 ) ; if ( ( LA55_0 == ... |
public class LogBuffer { /** * Return next 24 - bit unsigned int from buffer . ( big - endian )
* @ see mysql - 5.6.10 / include / myisampack . h - mi _ usint3korr */
public final int getBeUint24 ( ) { } } | if ( position + 2 >= origin + limit ) throw new IllegalArgumentException ( "limit excceed: " + ( position - origin + 2 ) ) ; byte [ ] buf = buffer ; return ( ( 0xff & buf [ position ++ ] ) << 16 ) | ( ( 0xff & buf [ position ++ ] ) << 8 ) | ( 0xff & buf [ position ++ ] ) ; |
public class BoardsApi { /** * Creates a new Issue Board list .
* < pre > < code > GitLab Endpoint : POST / projects / : id / boards / : board _ id / lists < / code > < / pre >
* @ param projectIdOrPath the project in the form of an Integer ( ID ) , String ( path ) , or Project instance
* @ param boardId the ID o... | GitLabApiForm formData = new GitLabApiForm ( ) . withParam ( "label_id" , labelId , true ) ; Response response = post ( Response . Status . CREATED , formData , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "boards" , boardId , "lists" ) ; return ( response . readEntity ( BoardList . class ) ) ; |
public class ControlNackImpl { /** * Get summary trace line for this message
* Javadoc description supplied by ControlMessage interface . */
public void getTraceSummaryLine ( StringBuilder buff ) { } } | // Get the common fields for control messages
super . getTraceSummaryLine ( buff ) ; buff . append ( ",startTick=" ) ; buff . append ( getStartTick ( ) ) ; buff . append ( ",endTick=" ) ; buff . append ( getEndTick ( ) ) ; buff . append ( ",force=" ) ; buff . append ( getForce ( ) ) ; |
public class SQLExpressions { /** * Create a new detached SQLQuery instance with the given projection
* @ param expr projection
* @ param < T >
* @ return select ( expr ) */
public static < T > SQLQuery < T > select ( Expression < T > expr ) { } } | return new SQLQuery < Void > ( ) . select ( expr ) ; |
public class br_enable { /** * < pre >
* Use this operation to enable Repeater Instances in bulk .
* < / pre > */
public static br_enable [ ] enable ( nitro_service client , br_enable [ ] resources ) throws Exception { } } | if ( resources == null ) throw new Exception ( "Null resource array" ) ; if ( resources . length == 1 ) return ( ( br_enable [ ] ) resources [ 0 ] . perform_operation ( client , "enable" ) ) ; return ( ( br_enable [ ] ) perform_operation_bulk_request ( client , resources , "enable" ) ) ; |
public class AbstractSkeleton { /** * Mangles a classname . */
public static String mangleClass ( Class cl , boolean isFull ) { } } | String name = cl . getName ( ) ; if ( name . equals ( "boolean" ) || name . equals ( "java.lang.Boolean" ) ) return "boolean" ; else if ( name . equals ( "int" ) || name . equals ( "java.lang.Integer" ) || name . equals ( "short" ) || name . equals ( "java.lang.Short" ) || name . equals ( "byte" ) || name . equals ( "j... |
public class AmazonComprehendClient { /** * Stops a dominant language detection job in progress .
* If the job state is < code > IN _ PROGRESS < / code > the job is marked for termination and put into the
* < code > STOP _ REQUESTED < / code > state . If the job completes before it can be stopped , it is put into t... | request = beforeClientExecution ( request ) ; return executeStopDominantLanguageDetectionJob ( request ) ; |
public class ClusteringFeature { /** * Merge an other clustering features .
* @ param other Other CF */
protected void addToStatistics ( ClusteringFeature other ) { } } | n += other . n ; VMath . plusEquals ( ls , other . ls ) ; ss += other . ss ; |
public class LDAP { public static SearchResult toSearchResult ( NamingEnumeration < ? > aNamingEnumeration ) throws NoDataFoundException { } } | if ( aNamingEnumeration == null || ! aNamingEnumeration . hasMoreElements ( ) ) throw new NoDataFoundException ( "no results " + aNamingEnumeration ) ; return ( SearchResult ) aNamingEnumeration . nextElement ( ) ; |
public class UuidType { /** * Constructor */
@ Override public UuidType copy ( ) { } } | UuidType ret = new UuidType ( getValue ( ) ) ; copyValues ( ret ) ; return ret ; |
public class LDAPService { /** * - - - - - private methods - - - - - */
private void updateWithGroupDn ( final LDAPGroup group , final LdapConnection connection , final String groupDn , final String scope ) throws IOException , LdapException , CursorException , FrameworkException { } } | final Map < String , String > possibleGroupNames = getGroupMapping ( ) ; final List < LDAPUser > members = new LinkedList < > ( ) ; final Set < String > memberDNs = new LinkedHashSet < > ( ) ; // fetch DNs of all group members
try ( final EntryCursor cursor = connection . search ( groupDn , "(objectclass=*)" , SearchSc... |
public class ArrayMath { /** * Returns the log of the sum of an array of numbers , which are
* themselves input in log form . This is all natural logarithms .
* Reasonable care is taken to do this as efficiently as possible
* ( under the assumption that the numbers might differ greatly in
* magnitude ) , with h... | int leng = logInputs . length ; if ( leng == 0 ) { throw new IllegalArgumentException ( ) ; } int maxIdx = 0 ; float max = logInputs [ 0 ] ; for ( int i = 1 ; i < leng ; i ++ ) { if ( logInputs [ i ] > max ) { maxIdx = i ; max = logInputs [ i ] ; } } boolean haveTerms = false ; double intermediate = 0.0f ; float cutoff... |
public class Vector3d { /** * Divide the components of this Vector3d by the given scalar values and store the result in < code > this < / code > .
* @ param x
* the x component to divide this vector by
* @ param y
* the y component to divide this vector by
* @ param z
* the z component to divide this vector... | return div ( x , y , z , thisOrNew ( ) ) ; |
public class CommerceAddressPersistenceImpl { /** * Returns a range of all the commerce addresses .
* Useful when paginating results . Returns a maximum of < code > end - start < / code > instances . < code > start < / code > and < code > end < / code > are not primary keys , they are indexes in the result set . Thus... | return findAll ( start , end , null ) ; |
public class ContextFactory { /** * Returns the names of all the factory ' s attributes .
* @ return the attribute names */
public String [ ] getAttributeNames ( ) { } } | String [ ] result = new String [ attributeMap . size ( ) ] ; int i = 0 ; // for ( String attributeName : attributeMap . keySet ( ) ) {
Iterator it = attributeMap . keySet ( ) . iterator ( ) ; while ( it . hasNext ( ) ) { result [ i ++ ] = ( String ) it . next ( ) ; } return result ; |
public class JsonWriter { /** * End document .
* @ throws IOException Something went wrong writing */
public void endDocument ( ) throws IOException { } } | checkAndPop ( JsonTokenType . BEGIN_DOCUMENT ) ; if ( isArray ) { writer . endArray ( ) ; } else { writer . endObject ( ) ; } |
public class ElmBaseVisitor { /** * Visit a ParameterDef . This method will be called for
* every node in the tree that is a ParameterDef .
* @ param elm the ELM tree
* @ param context the context passed to the visitor
* @ return the visitor result */
public T visitParameterDef ( ParameterDef elm , C context ) ... | if ( elm . getParameterTypeSpecifier ( ) != null ) { visitElement ( elm . getParameterTypeSpecifier ( ) , context ) ; } if ( elm . getDefault ( ) != null ) { visitElement ( elm . getDefault ( ) , context ) ; } return null ; |
public class SimpleFormatter { /** * Formats the given values , replacing the contents of the result builder .
* May optimize by actually appending to the result if it is the same object
* as the value corresponding to the initial argument in the pattern .
* @ param result Gets its contents replaced by the format... | return SimpleFormatterImpl . formatAndReplace ( compiledPattern , result , offsets , values ) ; |
public class DefaultGroovyMethods { /** * Power of a BigInteger to an integer certain exponent . If the
* exponent is positive , call the BigInteger . pow ( int ) method to
* maintain precision . Called by the ' * * ' operator .
* @ param self a BigInteger
* @ param exponent an Integer exponent
* @ return a N... | if ( exponent >= 0 ) { return self . pow ( exponent ) ; } else { return power ( self , ( double ) exponent ) ; } |
public class SQLExecutor { /** * Remember to close the returned < code > Stream < / code > list to close the underlying < code > ResultSet < / code > list .
* { @ code stream } operation won ' t be part of transaction or use the connection created by { @ code Transaction } even it ' s in transaction block / range .
... | checkJdbcSettingsForAllQuery ( jdbcSettings ) ; if ( jdbcSettings == null || N . isNullOrEmpty ( jdbcSettings . getQueryWithDataSources ( ) ) ) { return stream ( sql , statementSetter , recordGetter , jdbcSettings , parameters ) ; } final Collection < String > dss = jdbcSettings . getQueryWithDataSources ( ) ; return S... |
public class UResourceBundle { /** * < strong > [ icu ] < / strong > Creates a resource bundle using the specified base name and locale .
* ICU _ DATA _ CLASS is used as the default root .
* @ param baseName string containing the name of the data package .
* If null the default ICU package name is used .
* @ pa... | return getBundleInstance ( baseName , localeName , ICUResourceBundle . ICU_DATA_CLASS_LOADER , false ) ; |
public class TagLinkPanel { /** * { @ inheritDoc } */
@ Override protected void onBeforeRender ( ) { } } | if ( ! hasBeenRendered ( ) ) { final AbstractLink link = tagRenderData . getLink ( TAG_LINK_COMPONENT_ID ) ; link . add ( new Label ( TAG_NAME_LABEL_COMPONENT_ID , tagRenderData . getTagName ( ) ) ) ; link . add ( AttributeModifier . replace ( "style" , "font-size: " + tagRenderData . getFontSizeInPixels ( ) + "px;" ) ... |
public class LogRecord { /** * Fills a buffer with bytes in the next part serialized LogRecord .
* @ param buffer we are to put the next part of this logRecord into .
* @ param offset into the buffer where we are to put the next part of this LogRecord .
* @ param length of the logBuffer we may fill this time roun... | if ( Tracing . isAnyTracingEnabled ( ) && trace . isEntryEnabled ( ) ) trace . entry ( this , cclass , "fillBuffer" , new Object [ ] { buffer , new Integer ( offset ) , new Integer ( length ) } ) ; // TODO Could do better by collecting the bytes from the log record directly into the logBuffer , or the log file
// TODO ... |
public class StringUtil { /** * check if the specified string is Latin letter
* @ param str
* @ param beginIndex
* @ param endIndex
* @ return boolean */
public static boolean isLetter ( String str , int beginIndex , int endIndex ) { } } | for ( int i = beginIndex ; i < endIndex ; i ++ ) { char chr = str . charAt ( i ) ; if ( ! StringUtil . isEnLetter ( chr ) ) { return false ; } } return true ; |
public class GlParticlesView { /** * { @ inheritDoc } */
@ Override public void setFrameDelay ( @ IntRange ( from = 0 ) final int delay ) { } } | queueEvent ( new Runnable ( ) { @ Override public void run ( ) { scene . setFrameDelay ( delay ) ; } } ) ; |
public class ModuleUploads { /** * Delete a given upload again .
* @ param upload upload
* @ return response code , 204 on success .
* @ throws IllegalArgumentException if spaceId is null .
* @ throws IllegalArgumentException if uploadId is null . */
public int delete ( CMAUpload upload ) { } } | final String uploadId = getResourceIdOrThrow ( upload , "upload" ) ; final String spaceId = getSpaceIdOrThrow ( upload , "upload" ) ; final Response < Void > response = service . delete ( spaceId , uploadId ) . blockingFirst ( ) ; return response . code ( ) ; |
public class MapUtil { /** * 过滤Map保留指定键值对 , 如果键不存在跳过
* @ param < K > Key类型
* @ param < V > Value类型
* @ param map 原始Map
* @ param keys 键列表
* @ return Map 结果 , 结果的Map类型与原Map保持一致
* @ since 4.0.10 */
@ SuppressWarnings ( "unchecked" ) public static < K , V > Map < K , V > filter ( Map < K , V > map , K ... keys... | final Map < K , V > map2 = ObjectUtil . clone ( map ) ; if ( isEmpty ( map2 ) ) { return map2 ; } map2 . clear ( ) ; for ( K key : keys ) { if ( map . containsKey ( key ) ) { map2 . put ( key , map . get ( key ) ) ; } } return map2 ; |
public class LogMailBean { /** * 获取异常信息 */
private String getExceptionInfo ( Throwable e , String systemDate , String newLineToken , String tabToken ) { } } | StringBuffer info = new StringBuffer ( ) ; info . append ( systemDate ) ; info . append ( tabToken ) ; info . append ( "cause by: " ) ; info . append ( e . getClass ( ) . getName ( ) + "--" ) ; info . append ( e . getMessage ( ) ) ; info . append ( newLineToken ) ; for ( StackTraceElement stackTraceElement : e . getSta... |
public class TldTaglibTypeImpl { /** * If not already created , a new < code > function < / code > element will be created and returned .
* Otherwise , the first existing < code > function < / code > element will be returned .
* @ return the instance defined for the element < code > function < / code > */
public Fu... | List < Node > nodeList = childNode . get ( "function" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new FunctionTypeImpl < TldTaglibType < T > > ( this , "function" , childNode , nodeList . get ( 0 ) ) ; } return createFunction ( ) ; |
public class ChangeImageTransform { /** * Creates an Animator for ImageViews moving , changing dimensions , and / or changing
* { @ link android . widget . ImageView . ScaleType } .
* @ param sceneRoot The root of the transition hierarchy .
* @ param startValues The values for a specific target in the start scene... | if ( startValues == null || endValues == null ) { return null ; } Rect startBounds = ( Rect ) startValues . values . get ( PROPNAME_BOUNDS ) ; Rect endBounds = ( Rect ) endValues . values . get ( PROPNAME_BOUNDS ) ; if ( startBounds == null || endBounds == null ) { return null ; } Matrix startMatrix = ( Matrix ) startV... |
public class SignatureConverter { /** * Convenience method for generating a method signature in human readable
* form .
* @ param xmethod
* an XMethod
* @ return the formatted version of that signature */
public static String convertMethodSignature ( XMethod xmethod ) { } } | @ DottedClassName String className = xmethod . getClassName ( ) ; assert className . indexOf ( '/' ) == - 1 ; return convertMethodSignature ( className , xmethod . getName ( ) , xmethod . getSignature ( ) ) ; |
public class TieredBlockStore { /** * Commits a temp block .
* @ param sessionId the id of session
* @ param blockId the id of block
* @ return destination location to move the block
* @ throws BlockDoesNotExistException if block id can not be found in temporary blocks
* @ throws BlockAlreadyExistsException i... | long lockId = mLockManager . lockBlock ( sessionId , blockId , BlockLockType . WRITE ) ; try { // When committing TempBlockMeta , the final BlockMeta calculates the block size according to
// the actual file size of this TempBlockMeta . Therefore , commitTempBlockMeta must happen
// after moving actual block file to it... |
public class JedisRedisClient { /** * { @ inheritDoc } */
@ Override public void set ( String key , String value , int ttlSeconds ) { } } | if ( ttlSeconds > 0 ) { redisClient . setex ( key , ttlSeconds , value ) ; } else { redisClient . set ( key , value ) ; } |
public class MemoryMappedFile { /** * May want to have offset & length within data as well , for both of these */
public void getBytes ( long pos , byte [ ] data , long offset , long length ) { } } | unsafe . copyMemory ( null , pos + addr , data , BYTE_ARRAY_OFFSET + offset , length ) ; |
public class TaskFailure { /** * Deserialize task information .
* @ param in The stream from which this object is read .
* @ throws IOException
* @ throws ClassNotFoundException */
@ Trivial private void readObject ( ObjectInputStream in ) throws IOException , ClassNotFoundException { } } | GetField fields = in . readFields ( ) ; failure = ( Throwable ) fields . get ( FAILURE , null ) ; params = ( String [ ] ) fields . get ( PARAMS , new String [ ] { } ) ; reason = fields . get ( REASON , ( short ) 0 ) ; |
public class OAuth2PlatformClient { /** * Method to validate IDToken
* @ param idToken
* @ param clientId
* @ return
* @ throws OpenIdException */
public boolean validateIDToken ( String idToken ) throws OpenIdException { } } | logger . debug ( "Enter OAuth2PlatformClient::validateIDToken" ) ; String [ ] idTokenParts = idToken . split ( "\\." ) ; if ( idTokenParts . length < 3 ) { logger . debug ( "invalid idTokenParts length" ) ; return false ; } String idTokenHeader = base64UrlDecode ( idTokenParts [ 0 ] ) ; String idTokenPayload = base64Ur... |
public class TransferThreadManager { /** * use only in mode E */
public void activeClose ( TransferContext context , int connections ) { } } | try { // this could be improved ; for symmetry and performance ,
// make it a separate task class and pass to the taskThread
for ( int i = 0 ; i < connections ; i ++ ) { SocketBox sbox = socketPool . checkOut ( ) ; try { GridFTPDataChannel dc = new GridFTPDataChannel ( gSession , sbox ) ; EBlockImageDCWriter writer = (... |
public class CommerceRegionLocalServiceUtil { /** * Creates a new commerce region with the primary key . Does not add the commerce region to the database .
* @ param commerceRegionId the primary key for the new commerce region
* @ return the new commerce region */
public static com . liferay . commerce . model . Co... | return getService ( ) . createCommerceRegion ( commerceRegionId ) ; |
public class SurfDescribeOps { /** * Computes the width of a square containment region that contains a rotated rectangle .
* @ param width Size of the original rectangle .
* @ param c Cosine ( theta )
* @ param s Sine ( theta )
* @ return Side length of the containment square . */
public static double rotatedWi... | return Math . abs ( c ) * width + Math . abs ( s ) * width ; |
public class AmazonEC2Client { /** * Attaches a virtual private gateway to a VPC . You can attach one virtual private gateway to one VPC at a time .
* For more information , see < a href = " https : / / docs . aws . amazon . com / vpn / latest / s2svpn / VPC _ VPN . html " > AWS Site - to - Site
* VPN < / a > in th... | request = beforeClientExecution ( request ) ; return executeAttachVpnGateway ( request ) ; |
public class ChaiUtility { /** * Convert to an LDIF format . Useful for debugging or other purposes
* @ param theEntry A valid { @ code ChaiEntry }
* @ return A string containing a properly formatted LDIF view of the entry .
* @ throws ChaiOperationException If there is an error during the operation
* @ throws ... | final StringBuilder sb = new StringBuilder ( ) ; sb . append ( "dn: " ) . append ( theEntry . getEntryDN ( ) ) . append ( "\n" ) ; final Map < String , Map < String , List < String > > > results = theEntry . getChaiProvider ( ) . searchMultiValues ( theEntry . getEntryDN ( ) , "(objectClass=*)" , null , SearchScope . B... |
public class ComposableFutures { /** * retries a given operation N times for each computed Failed future .
* @ param retries max amount of retries
* @ param action the eager future provider
* @ param < T > the future type
* @ return the composed result . */
public static < T > ComposableFuture < T > retry ( fin... | return retry ( retries , __ -> action . execute ( ) ) ; |
public class CommerceWarehousePersistenceImpl { /** * Returns the last commerce warehouse in the ordered set where groupId = & # 63 ; .
* @ param groupId the group ID
* @ param orderByComparator the comparator to order the set by ( optionally < code > null < / code > )
* @ return the last matching commerce wareho... | CommerceWarehouse commerceWarehouse = fetchByGroupId_Last ( groupId , orderByComparator ) ; if ( commerceWarehouse != null ) { return commerceWarehouse ; } StringBundler msg = new StringBundler ( 4 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "groupId=" ) ; msg . append ( groupId ) ; msg . append ( "}... |
public class AstUtil { /** * Return true only if the MethodCallExpression represents a method call for the specified method object ( receiver ) ,
* method name , and with the specified number of arguments .
* @ param methodCall - the AST MethodCallExpression
* @ param methodObjectPattern - the name of the method ... | return ( isMethodCall ( methodCall , methodObjectPattern , methodPattern ) && AstUtil . getMethodArguments ( methodCall ) . size ( ) == numArguments ) ; |
public class AsyncActivityImpl { /** * ( non - Javadoc )
* @ see
* AsyncActivity # deleteIfNoneMatch
* ( java . net . URI , java . lang . String ,
* Header [ ] ,
* Credentials ) */
public void deleteIfNoneMatch ( URI uri , String eTag , Header [ ] additionalRequestHeaders , Credentials credentials ) { } } | ra . getExecutorService ( ) . execute ( new AsyncDeleteIfNoneMatchHandler ( ra , handle , uri , eTag , additionalRequestHeaders , credentials ) ) ; |
public class Base64VLQ { /** * Returns the base 64 VLQ encoded value . */
static final String encode ( int aValue ) { } } | String encoded = "" ; int digit ; int vlq = toVLQSigned ( aValue ) ; do { digit = vlq & VLQ_BASE_MASK ; vlq >>>= VLQ_BASE_SHIFT ; if ( vlq > 0 ) { // There are still more digits in this value , so we must make sure the
// continuation bit is marked .
digit |= VLQ_CONTINUATION_BIT ; } encoded += Base64 . encode ( digit ... |
public class RowSpec { /** * Parses the encoded row specifications and returns a RowSpec object that represents the
* string . Variables are expanded using the given LayoutMap .
* @ param encodedRowSpec the encoded column specification
* @ param layoutMap expands layout row variables
* @ return a RowSpec instan... | checkNotBlank ( encodedRowSpec , "The encoded row specification must not be null, empty or whitespace." ) ; checkNotNull ( layoutMap , "The LayoutMap must not be null." ) ; String trimmed = encodedRowSpec . trim ( ) ; String lower = trimmed . toLowerCase ( Locale . ENGLISH ) ; return decodeExpanded ( layoutMap . expand... |
public class ArchiveHelper { /** * Adds a file or files to a jar file , replacing the original one
* @ param jarFile
* File the jar file
* @ param basePathWithinJar
* String the base path to put the files within the Jar
* @ param files
* File [ ] The files . The files will be placed in basePathWithinJar
*... | // get a temp file
File tempFile = FileHelper . createTempFile ( jarFile . getName ( ) , null ) ; boolean renamed = jarFile . renameTo ( tempFile ) ; if ( ! renamed ) { throw new RuntimeException ( "[ArchiveHelper] {addFilesToExistingJar} " + "Could not rename the file " + jarFile . getAbsolutePath ( ) + " to " + tempF... |
public class UpdateMatchmakingConfigurationRequest { /** * Amazon Resource Name ( < a href = " https : / / docs . aws . amazon . com / AmazonS3 / latest / dev / s3 - arn - format . html " > ARN < / a > ) that
* is assigned to a game session queue and uniquely identifies it . Format is
* < code > arn : aws : gamelif... | if ( gameSessionQueueArns == null ) { this . gameSessionQueueArns = null ; return ; } this . gameSessionQueueArns = new java . util . ArrayList < String > ( gameSessionQueueArns ) ; |
public class ContentSpec { /** * Set the version of the product that the Content Specification documents .
* @ param version The product version . */
public void setVersion ( final String version ) { } } | if ( version == null && this . version == null ) { return ; } else if ( version == null ) { removeChild ( this . version ) ; this . version = null ; } else if ( this . version == null ) { this . version = new KeyValueNode < String > ( CommonConstants . CS_VERSION_TITLE , version ) ; appendChild ( this . version , false... |
public class FSNamesystem { /** * Move a file that is being written to be immutable .
* @ param src The filename
* @ param lease The lease for the client creating the file */
void internalReleaseLeaseOne ( Lease lease , String src ) throws IOException { } } | internalReleaseLeaseOne ( lease , src , false ) ; |
public class Webcam { /** * Return webcam driver . Perform search if necessary . < br >
* < br >
* < b > This method is not thread - safe ! < / b >
* @ return Webcam driver */
public static synchronized WebcamDriver getDriver ( ) { } } | if ( driver != null ) { return driver ; } if ( driver == null ) { driver = WebcamDriverUtils . findDriver ( DRIVERS_LIST , DRIVERS_CLASS_LIST ) ; } if ( driver == null ) { driver = new WebcamDefaultDriver ( ) ; } LOG . info ( "{} capture driver will be used" , driver . getClass ( ) . getSimpleName ( ) ) ; return driver... |
public class PatternUtils { /** * Create an IllegalArgumentException with a message including context based
* on the position . */
static IllegalArgumentException error ( String message , String str , int pos ) { } } | return new IllegalArgumentException ( message + "\n" + context ( str , pos ) ) ; |
public class IdOperator { /** * Execute ID operator . Uses property path to extract content value , convert it to string and set < em > id < / em > attribute .
* @ param element context element , unused ,
* @ param scope scope object ,
* @ param propertyPath property path ,
* @ param arguments optional argument... | if ( ! propertyPath . equals ( "." ) && ConverterRegistry . hasType ( scope . getClass ( ) ) ) { throw new TemplateException ( "Operand is property path but scope is not an object." ) ; } Object value = content . getObject ( scope , propertyPath ) ; if ( value == null ) { return null ; } if ( Types . isNumber ( value )... |
public class JMElasticsearchClient { /** * Gets settings builder .
* @ param nodeName the node name
* @ param clientTransportSniff the client transport sniff
* @ param clusterName the cluster name
* @ return the settings builder */
public static Builder getSettingsBuilder ( String nodeName , boolean clientTrans... | boolean isNullClusterName = Objects . isNull ( clusterName ) ; Builder builder = Settings . builder ( ) . put ( NODE_NAME , nodeName ) . put ( CLIENT_TRANSPORT_SNIFF , clientTransportSniff ) . put ( CLIENT_TRANSPORT_IGNORE_CLUSTER_NAME , isNullClusterName ) ; if ( ! isNullClusterName ) builder . put ( CLUSTER_NAME , cl... |
public class RemoteConsumerDispatcher { /** * The timeperiod after which a message that was added to the itemStream , and is still in unlocked state ,
* should be rejected . This is important to not starve other remote MEs */
public long getRejectTimeout ( ) { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getRejectTimeout" ) ; boolean localCardinalityOne ; synchronized ( consumerPoints ) { localCardinalityOne = _cardinalityOne ; } if ( localCardinalityOne ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabl... |
public class CoronaSerializer { /** * This is a helper method that reads a JSON token using a JsonParser
* instance , and throws an exception if the next token is not the same as
* the token we expect .
* @ param parentFieldName The name of the field
* @ param expectedToken The expected token
* @ throws IOExc... | JsonToken currentToken = jsonParser . nextToken ( ) ; if ( currentToken != expectedToken ) { throw new IOException ( "Expected a " + expectedToken . toString ( ) + " token when reading the value of the field: " + parentFieldName + " but found a " + currentToken . toString ( ) + " token" ) ; } |
public class AlipayService { /** * 退款申请 */
public Boolean refund ( RefundDetail detail ) { } } | detail . setNotifyUrl ( refundNotifyUrl ) ; return alipay . refund ( ) . refund ( detail ) ; |
public class DisambiguatedAlchemyEntity { /** * Set the geographic coordinates associated with this concept tag .
* latitude longitude
* @ param geo latitude longitude
* @ see # setLatitude ( String )
* @ see # setLongitude ( String ) */
public void setGeo ( String geo ) { } } | if ( geo != null ) { geo = geo . trim ( ) ; } if ( StringUtils . isBlank ( geo ) ) { this . geo = geo ; setLatitude ( Constants . DEFAULT_LATITUDE ) ; setLongitude ( Constants . DEFAULT_LONGITUDE ) ; return ; } String [ ] split = geo . split ( "\\s+" ) ; if ( split != null && split . length == 2 ) { this . geo = split ... |
public class ST_RemovePoints { /** * Remove all vertices that are located within a polygon
* @ param geometry
* @ param polygon
* @ return
* @ throws SQLException */
public static Geometry removePoint ( Geometry geometry , Polygon polygon ) throws SQLException { } } | if ( geometry == null ) { return null ; } GeometryEditor localGeometryEditor = new GeometryEditor ( ) ; PolygonDeleteVertexOperation localBoxDeleteVertexOperation = new PolygonDeleteVertexOperation ( geometry . getFactory ( ) , new PreparedPolygon ( polygon ) ) ; Geometry localGeometry = localGeometryEditor . edit ( ge... |
public class ProposalLineItem { /** * Sets the roadblockingType value for this ProposalLineItem .
* @ param roadblockingType * The strategy for serving roadblocked creatives , i . e . instances
* where
* multiple creatives must be served together on a single
* web page . This attribute
* is optional during cr... | this . roadblockingType = roadblockingType ; |
public class NodeSet { /** * Add the node into a vector of nodes where it should occur in
* document order .
* @ param node The node to be added .
* @ param test true if we should test for doc order
* @ param support The XPath runtime context .
* @ return insertIndex .
* @ throws RuntimeException thrown if ... | if ( ! m_mutable ) throw new RuntimeException ( XSLMessages . createXPATHMessage ( XPATHErrorResources . ER_NODESET_NOT_MUTABLE , null ) ) ; // XSLMessages . createXPATHMessage ( XPATHErrorResources . ER _ NODESET _ NOT _ MUTABLE , null ) ) ; / / " This NodeSet is not mutable ! " ) ;
int insertIndex = - 1 ; if ( test )... |
public class GradientSobel_UnrolledOuter { /** * Can only process images which are NOT sub - images . */
public static void process_I8 ( GrayU8 orig , GrayS16 derivX , GrayS16 derivY ) { } } | final byte [ ] data = orig . data ; final short [ ] imgX = derivX . data ; final short [ ] imgY = derivY . data ; final int width = orig . getWidth ( ) ; final int height = orig . getHeight ( ) - 1 ; final int adjWidth = width - 2 ; // CONCURRENT _ BELOW BoofConcurrency . loopFor ( 1 , height , y - > {
for ( int y = 1 ... |
public class RtfParagraphStyle { /** * Handles the inheritance of paragraph style settings . All settings that
* have not been modified will be inherited from the base RtfParagraphStyle .
* If this RtfParagraphStyle is not based on another one , then nothing happens . */
public void handleInheritance ( ) { } } | if ( this . basedOnName != null && this . document . getDocumentHeader ( ) . getRtfParagraphStyle ( this . basedOnName ) != null ) { this . baseStyle = this . document . getDocumentHeader ( ) . getRtfParagraphStyle ( this . basedOnName ) ; this . baseStyle . handleInheritance ( ) ; if ( ! ( ( this . modified & MODIFIED... |
public class Sftp { /** * 遍历某个目录下所有目录 , 不会递归遍历
* @ param path 遍历某个目录下所有目录
* @ return 目录名列表
* @ since 4.0.5 */
public List < String > lsDirs ( String path ) { } } | return ls ( path , new Filter < LsEntry > ( ) { @ Override public boolean accept ( LsEntry t ) { return t . getAttrs ( ) . isDir ( ) ; } } ) ; |
public class EnumParameterTypeImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ SuppressWarnings ( "unchecked" ) @ Override public void eSet ( int featureID , Object newValue ) { } } | switch ( featureID ) { case BpsimPackage . ENUM_PARAMETER_TYPE__GROUP : ( ( FeatureMap . Internal ) getGroup ( ) ) . set ( newValue ) ; return ; case BpsimPackage . ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP : ( ( FeatureMap . Internal ) getParameterValueGroup ( ) ) . set ( newValue ) ; return ; case BpsimPackage . ENU... |
public class ApiOvhSms { /** * Delete the sms user given
* REST : DELETE / sms / { serviceName } / users / { login }
* @ param serviceName [ required ] The internal name of your SMS offer
* @ param login [ required ] The sms user login */
public void serviceName_users_login_DELETE ( String serviceName , String lo... | String qPath = "/sms/{serviceName}/users/{login}" ; StringBuilder sb = path ( qPath , serviceName , login ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; |
public class VAlarmScribe { /** * Creates a new { @ link VCalAlarmProperty } based on the given { @ link VAlarm }
* component , setting fields that are common to all
* { @ link VCalAlarmProperty } classes .
* @ param valarm the source component
* @ return the property or null if it cannot be created */
private ... | Action action = valarm . getAction ( ) ; if ( action == null ) { return null ; } if ( action . isAudio ( ) ) { AudioAlarm aalarm = new AudioAlarm ( ) ; List < Attachment > attaches = valarm . getAttachments ( ) ; if ( ! attaches . isEmpty ( ) ) { Attachment attach = attaches . get ( 0 ) ; String formatType = attach . g... |
public class GridLayoutHelper { /** * { @ inheritDoc }
* Set SpanCount for grid
* @ param spanCount grid column number , must be greater than 0 . { @ link IllegalArgumentException }
* will be thrown otherwise */
public void setSpanCount ( int spanCount ) { } } | if ( spanCount == mSpanCount ) { return ; } if ( spanCount < 1 ) { throw new IllegalArgumentException ( "Span count should be at least 1. Provided " + spanCount ) ; } mSpanCount = spanCount ; mSpanSizeLookup . invalidateSpanIndexCache ( ) ; ensureSpanCount ( ) ; |
public class UCharacter { /** * Determines if the specified code point is a Unicode specified space
* character , i . e . if code point is in the category Zs , Zl and Zp .
* Up - to - date Unicode implementation of java . lang . Character . isSpaceChar ( ) .
* @ param ch code point to determine if it is a space
... | // if props = = 0 , it will just fall through and return false
return ( ( 1 << getType ( ch ) ) & ( ( 1 << UCharacterCategory . SPACE_SEPARATOR ) | ( 1 << UCharacterCategory . LINE_SEPARATOR ) | ( 1 << UCharacterCategory . PARAGRAPH_SEPARATOR ) ) ) != 0 ; |
public class StatementManager { /** * return a prepared Select Statement for the given ClassDescriptor */
public PreparedStatement getSelectByPKStatement ( ClassDescriptor cds ) throws PersistenceBrokerSQLException , PersistenceBrokerException { } } | try { return cds . getStatementsForClass ( m_conMan ) . getSelectByPKStmt ( m_conMan . getConnection ( ) ) ; } catch ( SQLException e ) { throw new PersistenceBrokerSQLException ( "Could not build statement ask for" , e ) ; } catch ( LookupException e ) { throw new PersistenceBrokerException ( "Used ConnectionManager i... |
public class FirewallClient { /** * Returns the specified firewall .
* < p > Sample code :
* < pre > < code >
* try ( FirewallClient firewallClient = FirewallClient . create ( ) ) {
* ProjectGlobalFirewallName firewall = ProjectGlobalFirewallName . of ( " [ PROJECT ] " , " [ FIREWALL ] " ) ;
* Firewall respon... | GetFirewallHttpRequest request = GetFirewallHttpRequest . newBuilder ( ) . setFirewall ( firewall ) . build ( ) ; return getFirewall ( request ) ; |
public class LogManager { /** * we return the given default value . */
boolean getBooleanProperty ( String name , boolean defaultValue ) { } } | String val = getProperty ( name ) ; if ( val == null ) { return defaultValue ; } val = val . toLowerCase ( ) ; if ( val . equals ( "true" ) || val . equals ( "1" ) ) { return true ; } else if ( val . equals ( "false" ) || val . equals ( "0" ) ) { return false ; } return defaultValue ; |
public class LowLevelAbstractionDefinition { /** * Adds a primitive parameter from which this abstraction is inferred .
* @ param paramId
* a primitive parameter id < code > String < / code > .
* @ return < code > true < / code > if adding the parameter id was successful ,
* < code > false < / code > otherwise ... | boolean result = this . paramIds . add ( paramId ) ; if ( result ) { recalculateChildren ( ) ; } return result ; |
public class RESTDocBuilder { /** * param which will not be displayed in doc . */
protected boolean isInIgnoreParamList ( Parameter param ) { } } | return "javax.servlet.http.HttpServletRequest" . equals ( param . type ( ) . qualifiedTypeName ( ) ) || "javax.servlet.http.HttpServletResponse" . equals ( param . type ( ) . qualifiedTypeName ( ) ) || "javax.servlet.http.HttpSession" . equals ( param . type ( ) . qualifiedTypeName ( ) ) || "org.springframework.web.con... |
public class SARLPackageExplorerPart { /** * Replies the label provider .
* @ return the label provider . */
protected PackageExplorerLabelProvider getLabelProvider ( ) { } } | try { return ( PackageExplorerLabelProvider ) this . reflect . get ( this , "fLabelProvider" ) ; // $ NON - NLS - 1 $
} catch ( SecurityException | NoSuchFieldException | IllegalArgumentException | IllegalAccessException e ) { throw new Error ( e ) ; } |
public class OWLEquivalentObjectPropertiesAxiomImpl_CustomFieldSerializer { /** * Serializes the content of the object into the
* { @ link com . google . gwt . user . client . rpc . SerializationStreamWriter } .
* @ param streamWriter the { @ link com . google . gwt . user . client . rpc . SerializationStreamWriter... | serialize ( streamWriter , instance ) ; |
public class WebCrawler { /** * This function is called when a unhandled exception was encountered during fetching
* @ param webUrl URL where a unhandled exception occured */
protected void onUnhandledException ( WebURL webUrl , Throwable e ) { } } | if ( myController . getConfig ( ) . isHaltOnError ( ) && ! ( e instanceof IOException ) ) { throw new RuntimeException ( "unhandled exception" , e ) ; } else { String urlStr = ( webUrl == null ? "NULL" : webUrl . getURL ( ) ) ; logger . warn ( "Unhandled exception while fetching {}: {}" , urlStr , e . getMessage ( ) ) ... |
public class AxisHandler { /** * Invoke a SOAP call .
* @ param soapCall the call to make to a SOAP web service
* @ return information about the SOAP response */
@ Override public RemoteCallReturn invokeSoapCall ( SoapCall < Stub > soapCall ) { } } | Stub stub = soapCall . getSoapClient ( ) ; RemoteCallReturn . Builder builder = new RemoteCallReturn . Builder ( ) ; synchronized ( stub ) { Object result = null ; try { result = invoke ( soapCall ) ; } catch ( InvocationTargetException e ) { builder . withException ( e . getTargetException ( ) ) ; } catch ( Exception ... |
public class Database { public void registerService ( String serviceName , String instanceName , String devname ) throws DevFailed { } } | databaseDAO . registerService ( this , serviceName , instanceName , devname ) ; |
public class AbstractGenericHandler { /** * Helper method to perform certain side effects when the channel is connected . */
private void channelActiveSideEffects ( final ChannelHandlerContext ctx ) { } } | long interval = env ( ) . keepAliveInterval ( ) ; if ( env ( ) . continuousKeepAliveEnabled ( ) ) { continuousKeepAliveFuture = ctx . executor ( ) . scheduleAtFixedRate ( new Runnable ( ) { @ Override public void run ( ) { if ( shouldSendKeepAlive ( ) ) { createAndWriteKeepAlive ( ctx ) ; } } } , interval , interval , ... |
public class MtasBasicParser { /** * Check for variables .
* @ param values the values
* @ return true , if successful */
private boolean checkForVariables ( List < Map < String , String > > values ) { } } | if ( values == null || values . isEmpty ( ) ) { return false ; } else { for ( Map < String , String > list : values ) { if ( list . containsKey ( "type" ) && list . get ( "type" ) . equals ( MtasParserMapping . PARSER_TYPE_VARIABLE ) ) { return true ; } } } return false ; |
public class PowerMock { /** * Suppress multiple methods for a class .
* @ param clazz The class whose methods will be suppressed .
* @ param methodName The first method to be suppress in class { @ code clazz } .
* @ param additionalMethodNames Additional methods to suppress in class { @ code clazz } .
* @ depr... | SuppressCode . suppressMethod ( clazz , methodName , additionalMethodNames ) ; |
public class Token { /** * setter for tokenId - sets
* @ generated
* @ param v value to set into the feature */
public void setTokenId ( int v ) { } } | if ( Token_Type . featOkTst && ( ( Token_Type ) jcasType ) . casFeat_tokenId == null ) jcasType . jcas . throwFeatMissing ( "tokenId" , "de.unihd.dbs.uima.types.heideltime.Token" ) ; jcasType . ll_cas . ll_setIntValue ( addr , ( ( Token_Type ) jcasType ) . casFeatCode_tokenId , v ) ; |
import java . util . List ; public class Main { /** * This is a Java function to identify the initial odd number in a provided list of numbers .
* Examples :
* get _ first _ odd ( [ 1 , 3 , 5 ] ) - > 1
* get _ first _ odd ( [ 2 , 4 , 1 , 3 ] ) - > 1
* get _ first _ odd ( [ 8 , 9 , 1 ] ) - > 9
* Parameters :
... | for ( int num : num_list ) { if ( num % 2 != 0 ) { return num ; } } return - 1 ; |
public class Bits { /** * Reads a variable - length encoded long from an input stream . Note that currently variable - length encoding is < em > not < / em >
* used ( a similar mechanism is used ) ; this will be implemented later .
* @ param in the input stream
* @ return the long read from the input stream
* @... | byte len = in . readByte ( ) ; if ( len == 0 ) return 0 ; return makeLong ( in , len ) ; |
public class LayerReducerUtil { /** * TODO replace this function by the DOME
* @ param key
* @ return */
public static String defaultValue ( String key ) { } } | String value ; HashMap < String , String > defaultValues ; defaultValues = new HashMap < String , String > ( ) ; defaultValues . put ( "slcly" , "12.6" ) ; defaultValues . put ( "salb" , "0.25" ) ; defaultValues . put ( "slphw" , "6.2" ) ; defaultValues . put ( "sksat" , "0.0" ) ; defaultValues . put ( "caco3" , "0.0" ... |
public class Jar { /** * Adds a directory ( with all its subdirectories ) or the contents of a zip / JAR to this JAR .
* @ param path the path within the JAR where the root of the directory will be placed , or { @ code null } for the JAR ' s root
* @ param dirOrZip the directory to add as an entry or a zip / JAR fi... | if ( Files . isDirectory ( dirOrZip ) ) addDir ( path , dirOrZip , filter , true ) ; else { try ( JarInputStream jis1 = newJarInputStream ( Files . newInputStream ( dirOrZip ) ) ) { addEntries ( path , jis1 , filter ) ; } } return this ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.