code stringlengths 21 488 | instruction stringlengths 99 3.59k |
|---|---|
boolean function ( ) { return getProxyOrNull ( ) != null ; } | getter for property ` connectedtosession ' . concode_field_sep String sessionFactoryUuid concode_elem_sep String entityName concode_elem_sep SessionImplementor session concode_elem_sep Boolean readOnlyBeforeAttachedToSession concode_elem_sep boolean allowLoadOutsideTransaction concode_elem_sep Logger log concode_elem_s... |
SourceViewer function ( ) { return fSourceViewer ; } | returns the internal source viewer . concode_field_sep SourceViewer fSourceViewer concode_elem_sep ViewForm fForm concode_elem_sep CLabel fLabel concode_elem_sep Image fPaneImage concode_field_sep Control getControl concode_elem_sep SourceViewer createSourceViewer concode_elem_sep void updateTitle concode_elem_sep void... |
void function ( AST arg0 , AST arg1 ) { if ( arg0 . getFirstChild ( ) == null ) { arg0 . setFirstChild ( arg1 ) ; } else { AST loc0 = arg0 . getFirstChild ( ) ; arg0 . setFirstChild ( arg1 ) ; arg1 . setNextSibling ( loc0 ) ; } } | inserts the child as the first child of the parent , all other children are shifted over to the ` right ' . concode_field_sep FilterPredicate predicate concode_elem_sep List collectedNodes concode_field_sep AST getLastSibling concode_elem_sep AST findTypeInChildren concode_elem_sep AST findPreviousSibling concode_elem_... |
boolean function ( ) { return fillInAllowed ; } | getter to find out if filling out fields is allowed after signing . concode_field_sep boolean certification concode_elem_sep boolean fillInAllowed concode_elem_sep boolean annotationsAllowed concode_elem_sep PdfName action concode_elem_sep PdfArray fields concode_elem_sep List<FieldLock> fieldLocks concode_field_sep Li... |
List < Integer > function ( MVariable arg0 ) { List < Integer > loc0 = new ArrayList < Integer > ( ) ; for ( int loc1 = arg0 . getDeclIndex ( ) + 1 ; loc1 < size ( ) ; loc1 ++ ) { if ( statements . get ( loc1 ) . inputs . contains ( arg0 ) ) loc0 . add ( loc1 ) ; } return loc0 ; } | returns all the indices of statements where v is an input to the statement . concode_field_sep List<MStatement> statements concode_field_sep MSequence makeCopy concode_elem_sep void findInfluencingVars concode_elem_sep Sequence toImmutableSequence concode_elem_sep int getIndex concode_elem_sep Map<MVariable,MVariable> ... |
void function ( String arg0 ) { this . className = arg0 ; } | setter method for property classname . concode_field_sep Class<?>[] parameterTypes concode_elem_sep String requestId concode_elem_sep String methodName concode_elem_sep String className concode_elem_sep Object[] parameters concode_field_sep void setParameterTypes concode_elem_sep void setParameters concode_elem_sep Str... |
Period function ( ) { return Period . ZERO . withFields ( this ) ; } | get this period as an immutable period object . the period will use periodtype.standard . concode_field_sep long START_1972 concode_elem_sep int iPeriod concode_elem_sep long serialVersionUID concode_field_sep DurationFieldType getFieldType concode_elem_sep DurationFieldType getFieldType concode_elem_sep boolean isSupp... |
int function ( ) { return ( this . name ( ) . hashCode ( ) ) ; } | a classeditor 's hash code is based upon the hash code of the name of the class it edits . concode_field_sep boolean dirty concode_elem_sep ClassInfo classInfo concode_elem_sep Type[] interfaces concode_elem_sep Type superclass concode_elem_sep EditorContext context concode_elem_sep ConstantPool constants concode_elem_... |
ArrayList < GenPolynomial < C >> function ( ) { return P ; } | get the list of polynomials . concode_field_sep ArrayList<GenPolynomial<C>> P concode_elem_sep ArrayList<BitSet> red concode_elem_sep boolean useCriterion4 concode_elem_sep int putCount concode_elem_sep Logger logger concode_elem_sep GenPolynomialRing<C> ring concode_elem_sep boolean oneInGB concode_elem_sep int remCou... |
void function ( JellyContext arg0 , XMLOutput arg1 ) { for ( Iterator loc0 = list . iterator ( ) ; loc0 . hasNext ( ) ; ) { Script loc1 = ( Script ) loc0 . next ( ) ; loc1 . run ( arg0 , arg1 ) ; } } | evaluates the body of a tag concode_field_sep List list concode_field_sep List getScriptList concode_elem_sep void addScript concode_elem_sep Script compile concode_elem_sep void trimWhitespace concode_elem_sep String toString concode_elem_sep void removeScript |
Criteria function ( Object arg0 ) { return is ( arg0 ) ; } | creates a criterion using equality concode_field_sep List<Criteria> criteriaChain concode_elem_sep ValueNode left concode_elem_sep ValueNode right concode_elem_sep RelationalOperator criteriaType concode_field_sep Criteria lt concode_elem_sep Criteria type concode_elem_sep String prefixPath concode_elem_sep Criteria em... |
void function ( long arg0 ) { try { Thread . sleep ( arg0 ) ; } catch ( InterruptedException loc0 ) { loc0 . printStackTrace ( ) ; } } | pause . concode_field_sep long syncTimeout concode_field_sep void typeKeyboardEnterkey concode_elem_sep void type concode_elem_sep void waitFor concode_elem_sep void doType concode_elem_sep void doType concode_elem_sep void typeUsingKeyPress |
void function ( ) { delegate . beginTextBlock ( ) ; } | this class delegates this call concode_field_sep RenderListener delegate concode_elem_sep RenderFilter[] filters concode_field_sep void renderImage concode_elem_sep void endTextBlock concode_elem_sep void renderText |
ModelNode function ( PathAddress arg0 , Map < Attribute , ModelNode > arg1 ) { ModelNode loc0 = Util . createAddOperation ( arg0 ) ; for ( Map . Entry < Attribute , ModelNode > loc1 : arg1 . entrySet ( ) ) { loc0 . get ( loc1 . getKey ( ) . getName ( ) ) . set ( loc1 . getValue ( ) ) ; } return loc0 ; } | creates an add operation using the specified address and parameters concode_field_sep String INDEX concode_elem_sep String KEY concode_field_sep String getName concode_elem_sep ModelNode getAttributeValue concode_elem_sep ModelNode createWriteAttributeOperation concode_elem_sep ModelNode createReadAttributeOperation co... |
IJavaSearchScope function ( IJavaElement arg0 ) { return RefactoringScopeFactory . create ( arg0 , true , true ) ; } | creates a new search scope with all compilation units possibly referencing javaelement , considering the visibility of the element , references only from source concode_field_sep PlaceHolder placeHolder concode_field_sep void addRelatedReferencing concode_elem_sep IPackageFragmentRoot[] getAllScopeElements concode_elem... |
int function ( ) { return ( beforeFirst ? - 1 : 0 ) ; } | returns the index of the element that would be returned by a subsequent call to previous . a return value of -1 indicates that the iterator is currently at the start . concode_field_sep boolean beforeFirst concode_elem_sep boolean nextCalled concode_elem_sep boolean removed concode_elem_sep Object object concode_field_... |
int function ( ASTNode arg0 ) { int loc0 = arg0 . getStartPosition ( ) ; int loc1 = loc0 + arg0 . getLength ( ) ; if ( loc1 <= fStart ) return BEFORE ; else if ( covers ( arg0 ) ) return SELECTED ; else if ( fExclusiveEnd <= loc0 ) return AFTER ; return INTERSECTS ; } | returns the selection mode of the given ast node regarding this selection . possible values are intersects , before , selected , and after . concode_field_sep int fLength concode_elem_sep int fExclusiveEnd concode_elem_sep int INTERSECTS concode_elem_sep int AFTER concode_elem_sep int fStart concode_elem_sep int BEFORE... |
String function ( ) { return getDescription ( ) ; } | return a description of this script step . concode_field_sep String description concode_elem_sep Resolver resolver concode_elem_sep Throwable invalidScriptError concode_elem_sep long serialVersionUID concode_field_sep String toXMLString concode_elem_sep Map getAttributes concode_elem_sep String getXMLTag concode_elem_s... |
LIST < C > function ( C arg0 , C arg1 , C arg2 , C arg3 , LIST < C > arg4 ) { LIST < C > loc0 = arg4 ; if ( arg4 == null ) { loc0 = new LIST < C > ( ) ; } loc0 . list . addFirst ( arg3 ) ; loc0 . list . addFirst ( arg2 ) ; loc0 . list . addFirst ( arg1 ) ; loc0 . list . addFirst ( arg0 ) ; return loc0 ; } | composition 4 . a1 , a2 , a3 and a4 are objects . l is a list . m = comp a1 , comp a2 , comp a3 , comp a4 , l . concode_field_sep LIST<?> SIL concode_elem_sep Iterator<C> iter concode_elem_sep LinkedList<C> list concode_field_sep void SFIRST concode_elem_sep LIST<C> LIST1 concode_elem_sep LIST<C> RED3 concode_elem_sep ... |
int function ( ) { return state ; } | returns the current state of the renderer . concode_field_sep long MATCH_LONGEST_US concode_elem_sep int STATE_UNPREPARED concode_elem_sep long UNKNOWN_TIME_US concode_elem_sep int STATE_PREPARED concode_elem_sep int STATE_ENABLED concode_elem_sep long END_OF_TRACK_US concode_elem_sep int STATE_STARTED concode_elem_sep... |
void function ( OpModeManager arg0 ) { BlocksOpMode . registerAll ( arg0 ) ; AnnotatedOpModeRegistrar . register ( arg0 ) ; } | #register opmodemanager is called by the sdk game in order to registeropmode classes or instances that will participate in an ftc game . there are two mechanisms by which an opmode may be registered . 1 the preferred method is by means of class annotations in the opmode itself . see , for example the class annotations ... |
void function ( ) { final File loc0 = this . testFolder . newFile ( ) ; new SimpleFileWriter ( loc0 . getPath ( ) , Assert :: assertNotNull ) ; } | verify if the given writer is not ` null ' concode_field_sep TemporaryFolder testFolder concode_field_sep void testActualWrite concode_elem_sep void testNonExistentFile concode_elem_sep void testIoException |
DeviceDescriptor function ( ) { checkIsOpen ( ) ; return readDeviceDescriptor ( device . getHandle ( ) ) ; } | reads the device descriptor from the devices eeprom . concode_field_sep Device device concode_elem_sep DeviceDescriptor deviceDescriptor concode_field_sep void writeUserArea concode_elem_sep void writeUserArea concode_elem_sep void erase concode_elem_sep void erase concode_elem_sep int getUserAreaSize concode_elem_sep ... |
ISDVInfo function ( ) { return new ISDVInfo ( ) ; } | create an instance of isdvinfo concode_field_sep QName _HistoryHeader_QNAME concode_elem_sep QName _ISDVInfo_QNAME concode_elem_sep QName _KeyValuePairList_QNAME concode_elem_sep QName _LocalizedMessage_QNAME concode_elem_sep QName _BusinessException_QNAME concode_elem_sep QName _Message_QNAME concode_elem_sep QName _C... |
void function ( ) { Assert . assertFalse ( i . isStackOwner ( ) ) ; } | verifies if image is a stack owner . should be false . concode_field_sep Image i concode_elem_sep Tag I concode_elem_sep WorkerContext workerContextImpl concode_field_sep void init concode_elem_sep void verifyEnd |
void function ( String arg0 ) { this . inputInfo = arg0 ; } | sets the input info . concode_field_sep String inputInfo concode_elem_sep String outputMessage concode_elem_sep List<String> validatorErrorMessage concode_field_sep List<String> getValidatorErrorMessage concode_elem_sep String getInputInfo concode_elem_sep void setValidatorErrorMessage concode_elem_sep String getOutput... |
String function ( String arg0 ) { return markLTR ( arg0 , "srini_string" ) ; } | returns the label for a url , uri or url part . example is ` http://www.x.xom/s.html#1 ' concode_field_sep String CONCAT_STRING concode_field_sep String getFilePattern concode_elem_sep String markLTR concode_elem_sep String getResourceName concode_elem_sep String getResourceName concode_elem_sep String getVersionName c... |
boolean function ( ) { return false ; } | trace is never enabled . concode_field_sep PlaceHolder placeHolder concode_field_sep void warn concode_elem_sep void warn concode_elem_sep void trace concode_elem_sep void trace concode_elem_sep void debug concode_elem_sep void debug concode_elem_sep boolean isInfoEnabled concode_elem_sep boolean isErrorEnabled concode... |
String function ( boolean arg0 ) { StringWriter loc0 = new StringWriter ( ) ; invokeBody ( XMLOutput . createXMLOutput ( loc0 , arg0 ) ) ; return loc0 . toString ( ) ; } | executes the body of the tag and returns the result as a string . concode_field_sep Tag parent concode_elem_sep JellyContext context concode_elem_sep boolean hasTrimmed concode_elem_sep Script body concode_elem_sep boolean escapeText concode_elem_sep Boolean shouldTrim concode_field_sep Tag getParent concode_elem_sep b... |
EmbeddedObjectContainer function ( EmbeddedConfiguration arg0 , String arg1 ) { if ( null == arg0 ) { throw new ArgumentNullException ( ) ; } return ObjectContainerFactory . openObjectContainer ( arg0 , arg1 ) ; } | opens an objectcontainer objectcontainer on the specified database file for local use . a database file can only be opened once , subsequent attempts to open another objectcontainer objectcontainer against the same file will result ina databasefilelockedexception databasefilelockedexception . database files can only be... |
void function ( Object arg0 ) { log ( Level . SEVERE , String . valueOf ( arg0 ) , null ) ; } | log a message with error log level . concode_field_sep String name concode_elem_sep Logger logger concode_field_sep void debug concode_elem_sep void debug concode_elem_sep void log concode_elem_sep Logger getLogger concode_elem_sep boolean isWarnEnabled concode_elem_sep boolean isFatalEnabled concode_elem_sep void fata... |
Set < T > function ( ) { if ( getContexts ( ) == null ) { return Collections . unmodifiableSet ( new HashSet < T > ( ) ) ; } return getContexts ( ) ; } | replaces getcontexts call but ensures that if list not yet initialized then empty list will be returned concode_field_sep PlaceHolder placeHolder concode_field_sep Set<T> getContexts concode_elem_sep void setContexts concode_elem_sep void addToContextList concode_elem_sep List<T> getContextsByLowestContext concode_elem... |
VectorXZ function ( ) { return ( startNode . getPos ( ) . add ( endNode . getPos ( ) ) ) . mult ( 0.5 ) ; } | returns the center of the line concode_field_sep VectorXZ rightNormal concode_elem_sep MapNode startNode concode_elem_sep VectorXZ direction concode_elem_sep MapNode endNode concode_field_sep MapNode getOtherNode concode_elem_sep VectorXZ getRightNormal concode_elem_sep VectorXZ getDirection concode_elem_sep LineSegmen... |
String function ( ) { return result . toString ( ) ; } | returns the result so far . concode_field_sep Vector lastEnd concode_elem_sep StringBuffer result concode_elem_sep Vector lastStart concode_field_sep void renderImage concode_elem_sep void appendTextChunk concode_elem_sep void beginTextBlock concode_elem_sep void endTextBlock concode_elem_sep void renderText |
GenMatrix < C > function ( ) { ArrayList < ArrayList < C >> loc0 = new ArrayList < ArrayList < C >> ( ring . rows ) ; for ( ArrayList < C > loc1 : matrix ) { ArrayList < C > loc2 = new ArrayList < C > ( ring . cols ) ; for ( C loc3 : loc1 ) { C loc4 = loc3 . negate ( ) ; loc2 . add ( loc4 ) ; } loc0 . add ( loc2 ) ; } ... | negative of this matrix . concode_field_sep List<C> val concode_elem_sep Logger logger concode_elem_sep GenMatrixRing<C> ring concode_elem_sep ArrayList<ArrayList<C>> matrix concode_elem_sep int hashValue concode_field_sep GenMatrix<C> leftLinearCombination concode_elem_sep int signum concode_elem_sep boolean isONE con... |
ResourceEditPropertyBuilder function ( String arg0 ) { this . fcExternalLink = arg0 ; return this ; } | foreignable external link concode_field_sep boolean isTesting concode_elem_sep String typeName concode_elem_sep Clob propertyValue concode_elem_sep Clob exampleValue concode_elem_sep boolean isEncrypted concode_elem_sep String propContName concode_elem_sep Integer descriptorId concode_elem_sep String typeContName conco... |
FieldSelector function ( final String arg0 ) { return new FieldSelector ( arg0 ) ; } | maps a cql value to the specified field from an input tuple . concode_field_sep PlaceHolder placeHolder concode_field_sep BatchCQLStatementTupleMapper unLoggedBatch concode_elem_sep CqlMapper.DefaultCqlMapper all concode_elem_sep CQLStatementTupleMapper async concode_elem_sep ContextQuery named concode_elem_sep Context... |
boolean function ( final HttpCacheEntry arg0 , final Date arg1 , final float arg2 , final long arg3 ) { return ( getCurrentAgeSecs ( arg0 , arg1 ) < getHeuristicFreshnessLifetimeSecs ( arg0 , arg2 , arg3 ) ) ; } | decides if this response is fresh enough based last-modified and date , if available . this entry is meant to be used when isresponsefresh returns false . the algorithm is as follows : if last-modified and date are defined , freshness lifetime is coefficient date-lastmodified , else freshness lifetime is defaultlifetim... |
boolean function ( ) { return _map . isEmpty ( ) ; } | returns true if the underlying map is empty . concode_field_sep Object _current concode_elem_sep int _total concode_elem_sep DefaultMapBag _parent concode_elem_sep Map _map concode_elem_sep int _mods concode_elem_sep Iterator _support concode_field_sep boolean add concode_elem_sep boolean add concode_elem_sep Object ne... |
short function ( int arg0 ) { if ( list . isEmpty ( ) ) { throw new EmptyStackException ( ) ; } return list . get ( list . size ( ) - arg0 - 1 ) ; } | return the n'th short down the stack , where 0 is the top element and size -1 is the bottom element . concode_field_sep ArrayShortList list concode_field_sep short pop concode_elem_sep int search concode_elem_sep int size concode_elem_sep short get concode_elem_sep void clear concode_elem_sep short push concode_elem_se... |
Residue < C > function ( ) { return new Residue < C > ( ring , val ) ; } | clone this . concode_field_sep C val concode_elem_sep ResidueRing<C> ring concode_elem_sep boolean debug concode_elem_sep int isunit concode_elem_sep Logger logger concode_field_sep int signum concode_elem_sep boolean isONE concode_elem_sep Residue<C> inverse concode_elem_sep boolean isUnit concode_elem_sep Residue<C> ... |
PartitionOutgoingBatch function ( int arg0 ) { for ( Partitioner loc0 : partitioners ) { PartitionOutgoingBatch loc1 = loc0 . getOutgoingBatch ( arg0 ) ; if ( loc1 != null ) { return loc1 ; } } return null ; } | helper method to get partitionoutgoingbatch based on the index since we may have more then one partitioner as number of partitioners should be very small and this method it used very rarely , so it is ok to loop in order to find right partitioner concode_field_sep RecordBatch incoming concode_elem_sep boolean isLastBat... |
void function ( GUIRunner arg0 ) { this . runner = arg0 ; } | sets the main window of the guirunner . concode_field_sep ConfigFile selectedFile concode_elem_sep LastOpened lastOpened concode_elem_sep List<IRunnerCtrlListener> listeners concode_elem_sep JButton launchButton concode_elem_sep GUIRunner runner concode_elem_sep JButton startVisBtn concode_elem_sep SeedDetermination de... |
void function ( int arg0 , int arg1 ) { if ( arg0 < 0 ) { isTimerRunning = false ; } else { isTimerRunning = true ; theTimer = new Timer ( ) ; } } | this method creates the timer to be used , if one is desired to be used . it will also set the number of seconds for each turn . concode_field_sep Player playerTwo concode_elem_sep int gameType concode_elem_sep Facade theFacade concode_elem_sep Rules theRules concode_elem_sep Player passivePlayer concode_elem_sep boole... |
Type function ( ) { return type ; } | whether this is a smartmachine or virtualmachine dataset concode_field_sep String urn concode_elem_sep boolean isDefault concode_elem_sep Map<String,JsonBall> requirements concode_elem_sep String os concode_elem_sep ImmutableMap.Builder<String,JsonBall> requirements concode_elem_sep Date created concode_elem_sep String... |
boolean function ( String arg0 , MinorType arg1 ) { return ( arg1 == MinorType . VARCHAR || arg1 == MinorType . VARBINARY || arg1 == MinorType . VAR16CHAR ) && CAST_FUNC_REPLACEMENT_NEEDED . contains ( arg0 ) ; } | check if a replacing cast function is available for the the original function concode_field_sep Map<String,String> CAST_FUNC_REPLACEMENT_FROM_NULLABLE_VAR16CHAR concode_elem_sep Map<String,String> CAST_FUNC_REPLACEMENT_FROM_NULLABLE_VARCHAR concode_elem_sep Set<String> CAST_FUNC_REPLACEMENT_NEEDED concode_elem_sep Map<... |
void function ( ) { switch ( getState ( ) ) { case CLOSED : throw new IllegalStateException ( "srini_string" ) ; case STARTED : throw new IllegalStateException ( "srini_string" ) ; } setTargetState ( PREFETCHED ) ; } | initiates the following asynchronous state transitions : unrealized - > realizing - > realized - > prefetching - > prefetched realizing - > realized - > prefetching - > prefetched realized - > prefetching - > prefetched prefetching - > prefetched prefetched started - > throws illegalstateexception closed - > throws ill... |
void function ( RandomAccessSource arg0 ) { } | called when a given source is about to become the active source . this gives subclasses the abilty to retrieve resources , if appropriate . concode_field_sep SourceEntry[] sources concode_elem_sep long size concode_elem_sep long lastByte concode_elem_sep int index concode_elem_sep RandomAccessSource source concode_elem... |
void function ( final T arg0 ) { synchronized ( queuedEvents ) { queuedEvents . addLast ( arg0 ) ; if ( ! started || isProcessing ) { return ; } isProcessing = true ; } processEvents ( ) ; } | send an event to the processor . the event will be queued to be processed after any prior events are processed , once processing actually starts . if an event 's processing causes an exception , it will be added to any previous exceptions as a suppressed exception . once all the currently queued events have been proces... |
List < UserAccount > function ( ) { List < UserAccount > loc0 = new ArrayList < > ( ) ; Node loc1 = head ; while ( loc1 != null ) { loc0 . add ( loc1 . userAccount ) ; loc1 = loc1 . next ; } return loc0 ; } | returns cache data in list form . concode_field_sep Node next concode_elem_sep Map<String,Node> cache concode_elem_sep Node head concode_elem_sep Node previous concode_elem_sep Logger LOGGER concode_elem_sep UserAccount userAccount concode_elem_sep Node end concode_elem_sep String userId concode_elem_sep int capacity c... |
String function ( ) { return cacheName ; } | retrieves the name of the cache concode_field_sep String PUBLISH_THREAD_NAME concode_elem_sep String cacheName concode_elem_sep int eventQueueLength concode_elem_sep ExecutorService executorService concode_elem_sep Object EVENTQUEUELOCK concode_elem_sep Queue<LoggingEvent> eventQueue concode_elem_sep ICachePublisher ca... |
LinearLayout function ( Context arg0 , String arg1 , View arg2 , TextView arg3 ) { LinearLayout loc0 = new LinearLayout ( arg0 ) ; loc0 . setOrientation ( LinearLayout . VERTICAL ) ; if ( arg3 == null ) arg3 = new TextView ( arg0 ) ; arg3 . setTextSize ( 10.0f ) ; arg3 . setText ( arg1 ) ; loc0 . addView ( arg3 ) ; loc... | generate linearlayout with given title concode_field_sep double textScale concode_elem_sep ArrayList<MyCard> cardsInPlay concode_elem_sep String TAG concode_field_sep void addCard concode_elem_sep GridView makeGV concode_elem_sep CardView getCardView concode_elem_sep void newCardGroup concode_elem_sep void clearCards |
Object function ( ) { if ( collection . size ( ) == 0 ) { throw new NoSuchElementException ( "srini_string" ) ; } if ( iterator . hasNext ( ) == false ) { reset ( ) ; } return iterator . next ( ) ; } | returns the next object in the collection . if at the end of the collection , return the first element . concode_field_sep Iterator iterator concode_elem_sep Collection collection concode_field_sep int size concode_elem_sep void reset concode_elem_sep boolean hasNext concode_elem_sep void remove |
void function ( List < OverlayAdapter > arg0 ) { this . adapters = arg0 ; } | setzt die verwendeten overlayadapter concode_field_sep List<OverlayAdapter> adapters concode_field_sep OverlayAdapter getAdapterAt concode_elem_sep List<OverlayAdapter> getAllAdapters concode_elem_sep Coords getSchematicHostPosition |
Integer function ( ) { if ( upcomingReleaseId == null ) { this . upcomingReleaseId = dependencyResolverService . findMostRelevantRelease ( new TreeSet < ReleaseEntity > ( getAllReleases ( ) ) , new Date ( ) ) . getId ( ) ; } return upcomingReleaseId ; } | makes sure that the upcomingrelease is initialized concode_field_sep long serialVersionUID concode_elem_sep LinkedHashMap<Integer,ReleaseEntity> releaseMap concode_elem_sep ReleaseMgmtService releaseService concode_elem_sep ResourceDependencyResolverService dependencyResolverService concode_elem_sep Date upcomingReleas... |
boolean function ( ) { return true ; } | in ehcache we default to minimal puts since this should have minimal to no affect on unclustered users , and has great benefit for clustered users . concode_field_sep EhcacheAccessStrategyFactory accessStrategyFactory concode_elem_sep Settings settings concode_elem_sep String NET_SF_EHCACHE_CONFIGURATION_RESOURCE_NAME ... |
ImageIcon function ( Class arg0 , String arg1 ) { return getIcon ( getImage ( arg0 , arg1 ) ) ; } | returns an icon stored in the file at the specified path relative to the specified class concode_field_sep HashMap m_ClassImageMap concode_field_sep void clearImages concode_elem_sep Image getImage concode_elem_sep Image getImage concode_elem_sep Image getImage concode_elem_sep Image getImage |
long function ( ) { return allocationLimit . get ( ) ; } | return the current limit of this accountant . concode_field_sep Accountant parent concode_elem_sep AtomicLong allocationLimit concode_elem_sep AtomicLong peakAllocation concode_elem_sep long reservation concode_elem_sep boolean ok concode_elem_sep AtomicLong locallyHeldMemory concode_field_sep void releaseBytes concode... |
Widget function ( Widget arg0 , Matcher arg1 ) { dbComparisons = 0 ; Hierarchy loc0 = arg0 != null ? new SingleWidgetHierarchy ( arg0 ) : getHierarchy ( ) ; return find ( loc0 , arg1 ) ; } | find a widget , using the given matcher to determine whether a given widget in the hierarchy under the given root is the desired one . concode_field_sep int dbComparisons concode_elem_sep int searchType concode_elem_sep Hierarchy hierarchy concode_elem_sep int BFS concode_elem_sep SearchScopeHelper _searchScopeHelper c... |
IDocument function ( ) { checkState ( ) ; return fDocument ; } | returns the document with the buffer contents . whitespace variables are decorated with comments . concode_field_sep boolean fUseCodeFormatter concode_elem_sep String COMMENT_END concode_elem_sep List<TypedPosition> fPositions concode_elem_sep IJavaProject fProject concode_elem_sep int fInitialIndentLevel concode_elem_... |
FieldSelection function ( List < SchemaPath > arg0 ) { if ( containsStar ( arg0 ) ) { return ALL_VALID ; } else { FieldSelection loc0 = new FieldSelection ( ) ; for ( SchemaPath loc1 : arg0 ) { loc0 . add ( loc1 . getRootSegment ( ) ) ; } return loc0 . fixNodes ( ) ; } } | generates a field selection based on a list of fields . assumes that a partial path a.b is equivalent to a.b. concode_field_sep FieldSelection INVALID_NODE concode_elem_sep ValidityMode mode concode_elem_sep Map<String,FieldSelection> childrenInsensitive concode_elem_sep Map<String,FieldSelection> children concode_elem... |
NamedParameterJdbcTemplate function ( DataSource arg0 ) { return new NamedParameterJdbcTemplate ( arg0 ) ; } | creates the jdbc template bean that we use to invoke sql queries via jdbc . concode_field_sep String PROPERTY_NAME_DB_USER concode_elem_sep String PROPERTY_NAME_HIBERNATE_FORMAT_SQL concode_elem_sep String PROPERTY_NAME_DB_URL concode_elem_sep String PROPERTY_NAME_HIBERNATE_HBM2DDL_AUTO concode_elem_sep String PROPERTY... |
void function ( final List < Writable > arg0 ) { queue . addAll ( arg0 ) ; } | adds a list of writable . concode_field_sep Queue<Writable> queue concode_field_sep void add concode_elem_sep boolean containsWritable concode_elem_sep Writable poll |
void function ( Callback [ ] arg0 ) { for ( Callback loc0 : arg0 ) { LOG . info ( "srini_string" , loc0 . getClass ( ) ) ; } } | implementation used to respond to sasl tokens from server . concode_field_sep Logger LOG concode_elem_sep Subject subject concode_elem_sep String jaas_section concode_elem_sep SaslClient saslClient concode_field_sep byte[] saslResponse concode_elem_sep boolean isComplete |
KerberosTime function ( ) { return KerberosTime . now ( ) ; } | get the current time for use in a preauth response . if allow_unauth_time is true and the library has been configured to allow it , the current time will be offset using unauthenticated timestamp information received from the kdc in the preauth-required error , if one has been received . otherwise , the timestamp in a ... |
void function ( final String ... arg0 ) { fileLoggerModule . printString ( "srini_string" ) ; fileLoggerModule . printErrorString ( "srini_string" ) ; consoleLoggerModule . printString ( "srini_string" ) ; consoleLoggerModule . printErrorString ( "srini_string" ) ; } | following method is main executor concode_field_sep FileLoggerModule fileLoggerModule concode_elem_sep ConsoleLoggerModule consoleLoggerModule concode_field_sep void unprepare concode_elem_sep void prepare concode_elem_sep void main |
Set < Asset > function ( Set < Asset > arg0 ) { Set < Asset > loc0 = new LinkedHashSet < Asset > ( ) ; for ( Asset loc1 : arg0 ) { if ( loc1 . isNotVendor ( ) ) { loc0 . add ( loc1 ) ; } } return loc0 ; } | filters the given set of asset s by removing all vendor assets . concode_field_sep PlaceHolder placeHolder concode_field_sep Set<Asset> filtersByDomPosition concode_elem_sep String extractRequestKeyFromRequest concode_elem_sep String getExtension concode_elem_sep AssetLocator getAssetLocator concode_elem_sep Set<Asset>... |
void function ( ) { try { tx . begin ( ) ; em . persist ( createEmployee ( "srini_string" , "srini_string" , 100 ) ) ; tx . commit ( ) ; } catch ( Exception loc0 ) { throw new Exception ( "srini_string" ) ; } } | adds new employee concode_field_sep UserTransaction tx concode_elem_sep EntityManager em concode_field_sep void performFailCall concode_elem_sep String failInFirstCall concode_elem_sep Employee createEmployee concode_elem_sep int[] getEmployeeIDsNoEM concode_elem_sep String failAfterCalls concode_elem_sep String failIn... |
byte [ ] function ( PrivateKey arg0 , X509Certificate arg1 , ReplyKeyPack arg2 ) { byte [ ] loc0 = KrbCodec . encode ( arg2 ) ; byte [ ] loc1 ; try { loc1 = PkiUtil . getSignedData ( arg0 , arg1 , loc0 , ID_PKINIT_AUTHDATA ) ; } catch ( PkiException loc2 ) { throw new KrbException ( "srini_string" , loc2 ) ; } return l... | uses a private key to sign data in a cms signeddata structure and returns the encoded cms signeddata as bytes . selected when public key encryption is used . the econtenttype field for the inner type signeddata when unencrypted is id-pkinit-rkeydata 1.3.6.1.5.2.3.3 and the econtent field contains the der encoding of th... |
void function ( Map < String , Object > arg0 ) { for ( Map . Entry < String , Object > loc0 : arg0 . entrySet ( ) ) { put ( loc0 . getKey ( ) , loc0 . getValue ( ) ) ; } } | adds key - > value pair to bson object from specified map concode_field_sep Map<String,Object> data concode_elem_sep String ID_KEY concode_elem_sep List<String> fields concode_field_sep boolean isFieldsOrderImportant concode_elem_sep boolean containsField concode_elem_sep void clear concode_elem_sep ObjectId getId conc... |
String function ( String arg0 ) { return arg0 . replaceAll ( "srini_string" , "srini_string" ) . replaceAll ( "srini_string" | "srini_string" ) ; } | escape the user-provided extra string for the ext = '' '' header attribute . hawk escapes the header ext = '' '' attribute differently than it does the extra line in the normalized request string . see https://github.com/hueniverse/hawk/blob/871cc597973110900467bd3dfb84a3c892f678fb/lib/browser.js#l385 . concode_field_s... |
StatementBuilder function ( ) { this . builder . append ( "srini_string" ) ; return this ; } | open bracket . concode_field_sep StringBuilder builder concode_field_sep StatementBuilder appendBetweenBracket concode_elem_sep StatementBuilder closeBracket concode_elem_sep StatementBuilder appendWithSeparator concode_elem_sep StatementBuilder appendWord concode_elem_sep String toString |
Mixer function ( ) { if ( mixer == null ) { mixer = ( Mixer ) AudioSystem . getMixer ( AudioSystem . getMixerInfo ( ) [ 0 ] ) ; SourceDataLine [ ] loc0 = new SourceDataLine [ 16 ] ; for ( int loc1 = 0 ; loc1 < 16 ; loc1 ++ ) { loc0 [ loc1 ] = aquireLine ( ) ; } for ( int loc1 = 0 ; loc1 < 16 ; loc1 ++ ) { poolLine ( lo... | lazily creates the shared mixer instance and returns it . puts 8 lines into the pool . concode_field_sep int volume concode_elem_sep Vector lines concode_elem_sep int loopCount concode_elem_sep int loopStart concode_elem_sep Thread workerThread concode_elem_sep Mixer mixer concode_elem_sep float pan concode_elem_sep in... |
boolean function ( Class arg0 , Class arg1 ) { assert arg1 . isInterface ( ) : "srini_string" ; return arg1 . isAssignableFrom ( arg0 ) ; } | determine if the given class implements the given interface . concode_field_sep PropertyAccessor DIRECT_PROPERTY_ACCESSOR concode_elem_sep Method OBJECT_EQUALS concode_elem_sep Class[] SINGLE_OBJECT_PARAM_SIGNATURE concode_elem_sep Object[] NO_PARAMS concode_elem_sep Method OBJECT_HASHCODE concode_elem_sep Class[] NO_P... |
ShortListIterator function ( ShortListIterator arg0 ) { if ( null == arg0 ) { throw new NullPointerException ( ) ; } return UnmodifiableShortListIterator . wrap ( arg0 ) ; } | returns an unmodifiable version of the given non-null shortlistiterator . concode_field_sep ShortList EMPTY_SHORT_LIST concode_elem_sep ShortListIterator EMPTY_SHORT_LIST_ITERATOR concode_elem_sep ShortIterator EMPTY_SHORT_ITERATOR concode_field_sep ShortListIterator getEmptyShortListIterator concode_elem_sep ShortIter... |
String function ( String arg0 , BackToXMLWritable arg1 ) { ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( ) ; OutputStreamWriter loc1 = new OutputStreamWriter ( loc0 ) ; try { writeBack ( loc1 , arg0 , arg1 ) ; } catch ( IOException loc2 ) { throw new IllegalStateException ( loc2 ) ; } return loc0 . toString ... | returns a written-back document of object obj as a string . concode_field_sep Element curRootNode concode_field_sep void writeTime concode_elem_sep void writeBack concode_elem_sep void writeBackToXML concode_elem_sep void writeSimpleType concode_elem_sep void writeComplexType |
BigInteger function ( ) { return bigInt ; } | returns the id biginteger concode_field_sep BigInteger bigInt concode_elem_sep TypesConfig config concode_field_sep KademliaOverlayKey toKey concode_elem_sep void checkBounds concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep BigInteger getUniqueValue concode_elem_sep String toBinary concode... |
long function ( int arg0 ) { return ( ( SEQFrame ) frames_ . elementAt ( arg0 ) ) . getRelTime ( ) ; } | timing for frame relative to previous frame . concode_field_sep int xPosition concode_elem_sep int CMP_VERTICAL concode_elem_sep int yPosition concode_elem_sep boolean isPlayWrapupFrames concode_elem_sep int MODE_INDEXED_COLORS concode_elem_sep int compression_ concode_elem_sep int MSK_HAS_MASK concode_elem_sep int MSK... |
Integer function ( @ NonNull Cursor arg0 , int arg1 ) { if ( arg0 . isNull ( arg1 ) ) { return null ; } return arg0 . getInt ( arg1 ) ; } | gets integer value form cursor for column index . concode_field_sep PlaceHolder placeHolder concode_field_sep Long getLong concode_elem_sep Character getChar concode_elem_sep void bind concode_elem_sep void bind concode_elem_sep void bind concode_elem_sep void bind concode_elem_sep void bind concode_elem_sep void bind ... |
StubStrategy function ( String [ ] arg0 , String [ ] arg1 , String [ ] arg2 , String arg3 , ClassLoader arg4 ) { return new StubStrategy ( arg0 , arg1 , arg2 , arg3 , arg4 ) ; } | returns an stubstrategy for a method , given descriptions of the method parameters , exceptions , and return value . parameter and return value descriptions are `` marshaller abbreviated names '' . concode_field_sep Class<?> clz concode_elem_sep String reposId concode_elem_sep CDRStreamWriter[] paramWriters concode_ele... |
void function ( boolean arg0 ) { this . expandEntityRef = arg0 ; } | specifies that the parser produced by this code will expand entity reference nodes . by default the value of this is set to true concode_field_sep boolean validating concode_elem_sep boolean namespaceAware concode_elem_sep boolean whitespace concode_elem_sep boolean expandEntityRef concode_elem_sep boolean coalescing c... |
Edge function ( Node arg0 , Node arg1 ) { boolean loc0 ; DummyEdgePart loc1 = new DummyEdgePart ( ) ; Edge loc2 = new Edge ( loc1 , arg0 , arg1 ) ; loc2 . weight = 2 ; edgeList . add ( loc2 ) ; arg1 = arg0 ; loc0 = true ; return loc2 ; } | creates a new dummy edge to be used in the graph concode_field_sep List clusters concode_elem_sep List set concode_elem_sep EdgeList edgeList concode_elem_sep Cluster currentCluster concode_elem_sep List edgesAdded concode_elem_sep int INITIAL_RECURSION_DEPTH concode_elem_sep NodeList nodeList concode_elem_sep Directed... |
ColumnMetaData [ ] function ( ) { ColumnMetaData [ ] loc0 = new ColumnMetaData [ columnCount ] ; for ( int loc1 = 0 ; loc1 < columnCount ; loc1 ++ ) loc0 [ loc1 ] = columns [ loc1 ] . metaData ; return loc0 ; } | return all columns ' metadata . concode_field_sep ColumnFileMetaData metaData concode_elem_sep Map<String,ColumnDescriptor> columnsByName concode_elem_sep Input file concode_elem_sep ColumnDescriptor[] columns concode_elem_sep long rowCount concode_elem_sep int columnCount concode_field_sep long getRowCount concode_ele... |
BigDecimal function ( Reader arg0 ) { throw new RuntimeException ( "srini_string" ) ; } | bigdecimal parse from reader . concode_field_sep java.math.BigDecimal val concode_elem_sep int DEFAULT_PRECISION concode_elem_sep BigDecimal ZERO concode_elem_sep MathContext DEFAULT_CONTEXT concode_elem_sep MathContext context concode_elem_sep BigDecimal ONE concode_elem_sep Random random concode_field_sep boolean isF... |
URL function ( ) { final URL loc0 = AgentJar . class . getResource ( RESOURCE ) ; if ( loc0 == null ) { throw new AssertionError ( ERRORMSG ) ; } return loc0 ; } | returns a url pointing to the jar file . concode_field_sep String RESOURCE concode_elem_sep String ERRORMSG concode_field_sep void extractTo concode_elem_sep InputStream getResourceAsStream concode_elem_sep File extractToTempLocation concode_elem_sep void safeClose |
void function ( final FlowGraph arg0 , boolean arg1 ) { if ( ! arg1 ) { DominanceFrontier . calcFrontier ( arg0 . source ( ) , arg0 , arg1 ) ; } else { DominanceFrontier . calcFrontier ( arg0 . sink ( ) , arg0 , arg1 ) ; } } | calculates the dominance frontier for a cfg and notifies the blocks in it appropriately . concode_field_sep PlaceHolder placeHolder concode_field_sep LinkedList calcFrontier |
Dialog function ( Activity arg0 , String arg1 ) { return ( new AlertDialog . Builder ( arg0 ) ) . setMessage ( arg1 ) . setNeutralButton ( android . R . string . ok , null ) . create ( ) ; } | create a simple dialog with an ` ok ' button and a message . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean verifySampleSetup concode_elem_sep boolean resolveConnectionFailure concode_elem_sep void showActivityResultError concode_elem_sep void showAlert |
IResource [ ] function ( final IResource arg0 ) { Assert . fail ( "srini_string" ) ; return new IResource [ 0 ] ; } | finds files with mixed line delimiters . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertNoMixedLineDelimiters concode_elem_sep void assertNoMixedLineDelimiters |
boolean function ( ITypeBinding arg0 , ITypeBinding arg1 ) { TypeEnvironment loc0 = new TypeEnvironment ( false , true ) ; TType loc1 = loc0 . create ( arg1 ) ; TType loc2 = loc0 . create ( arg0 ) ; return loc2 . canAssignTo ( loc1 ) ; } | tests if two types are assign compatible . void types are never compatible . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean canCast concode_elem_sep boolean isArrayCompatible concode_elem_sep boolean isJavaLangObject |
int function ( ) { return "srini_string" . hashCode ( ) ; } | implement a hash code for this comparator that is consistent with #equals object equals . concode_field_sep long serialVersionUID concode_elem_sep ComparableComparator instance concode_field_sep int compare concode_elem_sep boolean equals concode_elem_sep ComparableComparator getInstance |
void function ( String arg0 ) { if ( this . selectClause . length ( ) > 0 ) { this . selectClause . append ( "srini_string" ) ; this . guesstimatedBufferSize += 2 ; } this . selectClause . append ( arg0 ) ; this . guesstimatedBufferSize += arg0 . length ( ) ; } | appends a select clause fragment concode_field_sep LockOptions lockOptions concode_elem_sep int guesstimatedBufferSize concode_elem_sep StringBuilder whereClause concode_elem_sep Dialect dialect concode_elem_sep StringBuilder selectClause concode_elem_sep String outerJoinsAfterWhere concode_elem_sep String outerJoinsAf... |
void function ( Object arg0 , Throwable arg1 ) { if ( isLevelEnabled ( MemoryLog . LOG_LEVEL_WARN ) ) { log ( MemoryLog . LOG_LEVEL_WARN , arg0 , arg1 ) ; } } | log an error with warn log level . concode_field_sep Date date concode_elem_sep int LOG_LEVEL_DEBUG concode_elem_sep int level concode_elem_sep Throwable throwable concode_elem_sep List logEntries concode_elem_sep int LOG_LEVEL_OFF concode_elem_sep Object message concode_elem_sep int LOG_LEVEL_WARN concode_elem_sep int... |
Void function ( ) { server . unregisterMBean ( name ) ; return null ; } | de-register the agent again . concode_field_sep String JMX_NAME concode_elem_sep MBeanServer server concode_elem_sep ObjectName name concode_field_sep placeholderType placeHolder |
JoinSequence function ( boolean arg0 ) { this . useThetaStyle = arg0 ; return this ; } | should this joinsequence use theta-style joining both a from and where component in the rendered sql ? concode_field_sep StringBuilder conditions concode_elem_sep JoinSequence next concode_elem_sep SessionFactoryImplementor factory concode_elem_sep boolean isFromPart concode_elem_sep String[] lhsColumns concode_elem_se... |
Owner function ( ) { return owner ; } | gets the value of the owner property . concode_field_sep Owner owner concode_elem_sep Locktype locktype concode_elem_sep Lockscope lockscope concode_field_sep Lockscope getLockscope concode_elem_sep void setLockscope concode_elem_sep void setLocktype concode_elem_sep Locktype getLocktype concode_elem_sep void setOwner |
IHoverInfo function ( Widget arg0 , int arg1 , int arg2 ) { return new WidgetRelativeHoverInfo ( arg0 , arg1 , arg2 ) ; } | create a widget-relative hover info instance . concode_field_sep PlaceHolder placeHolder concode_field_sep IHoverInfo getAbsolute concode_elem_sep IHoverInfo getAbsolute concode_elem_sep IHoverInfo getRelativeToCenter |
Menu function ( ) { return mMenu ; } | returns the menu that is current being shown . concode_field_sep MenuPopup mMenuPopup concode_elem_sep MenuPanel mMenuPanel concode_elem_sep OnMenuItemLongClickListener mLongClickListener concode_elem_sep GeckoMenu mMenu concode_elem_sep OnDismissListener mDismissListener concode_elem_sep View mAnchor concode_elem_sep ... |
void function ( ) { } | called when the renderer is stopped . the default implementation is a no-op . concode_field_sep long MATCH_LONGEST_US concode_elem_sep int STATE_UNPREPARED concode_elem_sep long UNKNOWN_TIME_US concode_elem_sep int STATE_PREPARED concode_elem_sep int STATE_ENABLED concode_elem_sep long END_OF_TRACK_US concode_elem_sep ... |
void function ( ReadOnlyPerson arg0 ) { allPersons . remove ( arg0 ) ; } | removes the equivalent person from the address book . concode_field_sep UniquePersonList allPersons concode_elem_sep UniqueTagList allTags concode_field_sep boolean containsPerson concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void clear concode_elem_sep UniquePersonList getAllPersons co... |
Change function ( ) { return fUndoChange ; } | returns the undo change of the change performed by this operation . returns null if the change has n't been performed yet or if the change does n't provide a undo . concode_field_sep Change fChange concode_elem_sep Change fUndoChange concode_elem_sep boolean fChangeExecutionFailed concode_elem_sep IUndoManager fUndoMan... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.