id
int32
0
2k
nl
stringlengths
95
3.97k
code
stringlengths
21
493
1,700
creates a zip fie from the given source directory and output zip file name concode_field_sep PlaceHolder placeHolder concode_field_sep void zipDirectory concode_elem_sep void unzip concode_elem_sep boolean matches
void function ( Logger arg0 , File arg1 , File arg2 ) { FileFilter loc0 = null ; createZipFile ( arg0 , arg1 , arg2 , loc0 ) ; }
1,701
sum of getcheckinitialconditionsticks and getcheckfinalconditionsticks concode_field_sep RefactoringTickProvider DEFAULT concode_elem_sep int CHECK_INITIAL_CONDITIONS concode_elem_sep int INITIALIZE_CHANGE concode_elem_sep int CHECK_FINAL_CONDITIONS concode_elem_sep int CREATE_CHANGE concode_elem_sep int[] fValues conc...
int function ( ) { return fValues [ CHECK_INITIAL_CONDITIONS ] + fValues [ CHECK_FINAL_CONDITIONS ] ; }
1,702
returns a label for a version name . example is ' 1.4.1 ' concode_field_sep String CONCAT_STRING concode_field_sep String getURLPart concode_elem_sep String getFilePattern concode_elem_sep String markLTR concode_elem_sep String getResourceName concode_elem_sep String getResourceName concode_elem_sep String getPathLabel
String function ( String arg0 ) { return markLTR ( arg0 , "srini_string" ) ; }
1,703
local absolute value . concode_field_sep Logger logger concode_elem_sep LocalRing<C> ring concode_elem_sep boolean debug concode_elem_sep GenPolynomial<C> num concode_elem_sep int isunit concode_elem_sep GenPolynomial<C> den concode_field_sep int signum concode_elem_sep boolean isONE concode_elem_sep Local<C> inverse c...
Local < C > function ( ) { return new Local < C > ( ring , num . abs ( ) , den , true ) ; }
1,704
generate variable list . concode_field_sep String var concode_elem_sep int N concode_elem_sep String order concode_field_sep String sum1 concode_elem_sep String polyList concode_elem_sep String sumUm concode_elem_sep String variable concode_elem_sep void main concode_elem_sep String toString
String function ( String arg0 , String arg1 ) { StringBuffer loc0 = new StringBuffer ( ) ; loc0 . append ( arg0 ) ; loc0 . append ( "srini_string" ) ; for ( int loc1 = 0 ; loc1 <= N ; loc1 ++ ) { loc0 . append ( variable ( loc1 ) ) ; if ( loc1 < N ) { loc0 . append ( "srini_string" ) ; } } loc0 . append ( "srini_string...
1,705
gets the predicate this iterator is using . concode_field_sep Predicate predicate concode_elem_sep Object nextObject concode_elem_sep ListIterator iterator concode_elem_sep boolean nextObjectSet concode_elem_sep boolean previousObjectSet concode_elem_sep int nextIndex concode_elem_sep Object previousObject concode_fiel...
Predicate function ( ) { return predicate ; }
1,706
get listview height according to every children concode_field_sep String CLASS_NAME_GRID_VIEW concode_elem_sep String FIELD_NAME_VERTICAL_SPACING concode_field_sep List<T> getDescendants concode_elem_sep void setViewHeight concode_elem_sep void setSearchViewOnClickListener concode_elem_sep int getGridViewVerticalSpacin...
int function ( ListView arg0 ) { int loc0 = getAbsListViewHeightBasedOnChildren ( arg0 ) ; ListAdapter loc1 ; int loc2 ; if ( arg0 != null && ( loc1 = arg0 . getAdapter ( ) ) != null && ( loc2 = loc1 . getCount ( ) ) > 0 ) { loc0 += arg0 . getDividerHeight ( ) * ( loc2 - 1 ) ; } return loc0 ; }
1,707
creates a new customizable refactoring descriptor initialized with its default values . this method may be reimplemented to return a language-specified refactoring descriptor which can be initialized using language-specific features . refactoring tool providers may reimplement this method to provide a uniform api to ex...
RefactoringDescriptor function ( ) { return null ; }
1,708
create an instance of businessexception 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...
BusinessException function ( ) { return new BusinessException ( ) ; }
1,709
create a fingerprint per the following spec concode_field_sep Map<String,ECParameterSpec> CURVES concode_elem_sep String NISTP384 concode_elem_sep Map<Integer,String> CURVE_SIZES concode_elem_sep String ECDSA_SHA2_PREFIX concode_elem_sep ECParameterSpec nistp521 concode_elem_sep String NISTP521 concode_elem_sep ECParam...
String function ( ECPublicKey arg0 ) { byte [ ] loc0 = loc0 ( arg0 ) ; return hexColonDelimited ( Hashing . md5 ( ) . hashBytes ( loc0 ) ) ; }
1,710
append a hashcode for a byte . concode_field_sep int iConstant concode_elem_sep int iTotal concode_field_sep HashCodeBuilder appendSuper concode_elem_sep int toHashCode
HashCodeBuilder function ( byte arg0 ) { iTotal = iTotal * iConstant + arg0 ; return this ; }
1,711
returns true iff the method could be a virtual method , i.e. if it is not a constructor , is private , or is static . concode_field_sep PlaceHolder placeHolder concode_field_sep IMethod isDeclaredInInterface concode_elem_sep IMethod overridesAnotherMethod concode_elem_sep IMethod getTopmostMethod concode_elem_sep Refac...
boolean function ( IMethod arg0 ) { if ( arg0 . isConstructor ( ) ) return false ; if ( JdtFlags . isPrivate ( arg0 ) ) return false ; if ( JdtFlags . isStatic ( arg0 ) ) return false ; return true ; }
1,712
invoke to tell listeners that an atomic test flagged that it assumed something false . concode_field_sep List<RunListener> fListeners concode_elem_sep boolean fPleaseStop concode_elem_sep List<RunListener> fCurrentListeners concode_field_sep void fireTestIgnored concode_elem_sep void fireTestRunFinished concode_elem_se...
void function ( final Failure arg0 ) { new SafeNotifier ( ) { @ Override protected void notifyListener ( RunListener arg1 ) throws Exception { arg1 . testAssumptionFailure ( arg0 ) ; } } . run ( ) ; }
1,713
get a cached formula concode_field_sep Image image concode_elem_sep ConcurrentMap<CachedTeXFormula,SoftReference<CachedImage>> cache concode_elem_sep String f concode_elem_sep int inset concode_elem_sep Color fgcolor concode_elem_sep AffineTransform identity concode_elem_sep int width concode_elem_sep int type concode_...
Image function ( String arg0 , int arg1 , int arg2 , int arg3 , int arg4 , Color arg5 ) { return getCachedTeXFormulaImage ( new CachedTeXFormula ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 ) ) ; }
1,714
a shorthand for readfixed bytes , 0 , bytes.length . concode_field_sep PlaceHolder placeHolder concode_field_sep void skipFixed concode_elem_sep long readArrayStart concode_elem_sep long arrayNext concode_elem_sep long skipMap concode_elem_sep Utf8 readString concode_elem_sep String readString concode_elem_sep long ski...
void function ( byte [ ] arg0 ) { readFixed ( arg0 , 0 , arg0 . length ) ; }
1,715
set the sql comment to use . concode_field_sep CriteriaImpl impl concode_elem_sep Criteria criteria concode_field_sep DetachedCriteria add concode_elem_sep Criteria getExecutableCriteria concode_elem_sep DetachedCriteria setFetchMode concode_elem_sep DetachedCriteria setProjection concode_elem_sep DetachedCriteria forE...
DetachedCriteria function ( String arg0 ) { criteria . setComment ( arg0 ) ; return this ; }
1,716
waits until the statemodel reaches the indicated state . note : waitforstate methods may not be called from multiple threads simoultaneously . concode_field_sep int[] targetStates_ concode_elem_sep StateModel model_ concode_field_sep void stateChanged concode_elem_sep void setStateModel
void function ( int arg0 ) { int [ ] loc0 = { arg0 } ; waitForState ( loc0 ) ; }
1,717
appends the `` order by '' fragment , prefixed by a comma if the `` order by '' fragment already exists . 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_...
void function ( String arg0 ) { if ( this . orderByClause == null ) { this . orderByClause = new StringBuilder ( ) ; } else { this . orderByClause . append ( "srini_string" ) ; this . guesstimatedBufferSize += 2 ; } this . orderByClause . append ( arg0 ) ; }
1,718
get event listener of this object concode_field_sep String name concode_elem_sep AngularObjectListener listener concode_elem_sep String noteId concode_elem_sep String paragraphId concode_elem_sep List<AngularObjectWatcher> watchers concode_elem_sep T object concode_field_sep void addWatcher concode_elem_sep String getN...
AngularObjectListener function ( ) { return listener ; }
1,719
factory method that performs validation and copies the parameter array . concode_field_sep Closure[] iClosures concode_elem_sep long serialVersionUID concode_field_sep Closure[] getClosures concode_elem_sep void execute
Closure function ( Closure [ ] arg0 ) { FunctorUtils . validate ( arg0 ) ; if ( arg0 . length == 0 ) { return NOPClosure . INSTANCE ; } arg0 = FunctorUtils . copy ( arg0 ) ; return new ChainedClosure ( arg0 ) ; }
1,720
indicates whether some other object is `` equal to '' this comparator . concode_field_sep EditorContext context concode_elem_sep boolean DEBUG concode_field_sep int compare concode_elem_sep void db
boolean function ( final Object arg0 ) { return ( arg0 instanceof TypeComparator ) ; }
1,721
is this menu contained by this control ? concode_field_sep SWTHierarchy _hierarchy concode_field_sep boolean isOrphanedBy concode_elem_sep boolean isSubMenu
boolean function ( Menu arg0 , Control arg1 ) { Collection loc0 = _hierarchy . getWidgets ( arg1 ) ; return loc0 == null ? false : loc0 . contains ( arg0 ) ; }
1,722
dispatch a mouserelease event . concode_field_sep Point pointT concode_elem_sep abbot.swt.Robot _robot concode_field_sep void robotKeyClick concode_elem_sep void doKeyDown concode_elem_sep void doKeyUp concode_elem_sep void mouseMove concode_elem_sep void mouseMove concode_elem_sep void keyUp concode_elem_sep void keyU...
void function ( int arg0 ) { Event loc0 = createClickEvent ( arg0 ) ; loc0 . type = SWT . MouseUp ; new SWTPushEventOperation ( loc0 ) . execute ( ) ; }
1,723
adds a notification . concode_field_sep Notification mForegroundNotification concode_elem_sep ConcurrentHashMap<Integer,Notification> mNotifications concode_elem_sep NotificationManagerCompat mNotificationManager concode_elem_sep Context mContext concode_elem_sep int mForegroundNotificationId concode_field_sep void upd...
void function ( int arg0 , Notification arg1 ) { mNotificationManager . notify ( arg0 , arg1 ) ; mNotifications . put ( arg0 , arg1 ) ; if ( mForegroundNotification == null && isOngoing ( arg1 ) ) { setForegroundNotification ( arg0 , arg1 ) ; } }
1,724
looks at the top of this stack without removing it . 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_sep boolean empty
short function ( ) { if ( list . isEmpty ( ) ) { throw new EmptyStackException ( ) ; } return list . get ( list . size ( ) - 1 ) ; }
1,725
return the ending location of this move . concode_field_sep int startingLocation concode_elem_sep Player thePlayer concode_elem_sep int endingLocation concode_field_sep Player getPlayer concode_elem_sep int startLocation
int function ( ) { return endingLocation ; }
1,726
sets the new vendorid . concode_field_sep long signature1 concode_elem_sep int productID concode_elem_sep String manufacturer concode_elem_sep int vendorID concode_elem_sep long version concode_elem_sep long signature2 concode_elem_sep String productDescription concode_elem_sep String serialNumber concode_elem_sep int ...
void function ( int arg0 ) { this . vendorID = arg0 ; }
1,727
finds the cross product of two 3d vectors represented to float arrays concode_field_sep float x concode_elem_sep float z concode_elem_sep float y concode_field_sep void setLength concode_elem_sep void logVector concode_elem_sep void normalize concode_elem_sep double dot concode_elem_sep float length concode_elem_sep vo...
void function ( float [ ] arg0 , float [ ] arg1 , Point3D arg2 ) { arg2 . x = arg0 [ 1 ] * arg1 [ 2 ] - arg0 [ 2 ] * arg1 [ 1 ] ; arg2 . y = arg0 [ 2 ] * arg1 [ 0 ] - arg0 [ 0 ] * arg1 [ 2 ] ; arg2 . z = arg0 [ 0 ] * arg1 [ 1 ] - arg0 [ 1 ] * arg1 [ 0 ] ; }
1,728
gets the size of the list of keys . concode_field_sep long serialVersionUID concode_elem_sep Object[] keys concode_elem_sep int hashCode concode_field_sep Object getKey concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep Object[] getKeys
int function ( ) { return keys . length ; }
1,729
find a widget , using the given matcher to determine whether a given widget in the hierarchy in the given display is the desired one . concode_field_sep int MATCH concode_elem_sep Collection _widgets concode_elem_sep int _dbComparisons concode_elem_sep Widget _widget concode_elem_sep Hierarchy _hierarchy concode_elem_s...
MatchResult function ( Display arg0 , Matcher arg1 ) { return find ( arg0 , arg1 , getMaxFinderRetries ( ) ) ; }
1,730
assume for test failures when running with elytron profile enabled . it skips test in case the ' - delytron ' mavenargument is used for elytron profile activation and system property wildfly.tmp.enable.elytron.profile.tests has n't value ` true ' . concode_field_sep Supplier<Boolean> CONDITION_SKIP_ELYTRON_PROFILE conc...
void function ( ) { assumeCondition ( "srini_string" , CONDITION_SKIP_ELYTRON_PROFILE ) ; }
1,731
reads a group of ppt statements statements following the line `` ppt_name ... '' . all the lines between firstline and the first empty line are placed into a list and then this list is placed in to pptsections . concode_field_sep String lineSep concode_elem_sep StatementReplacer statementReplacer concode_elem_sep Strin...
void function ( LineNumberReader arg0 , List < List < String >> arg1 , String arg2 ) { List < String > loc0 = new ArrayList < String > ( ) ; loc0 . add ( arg2 ) ; String loc1 = arg0 . readLine ( ) ; while ( ( loc1 != null ) && ( ! loc1 . trim ( ) . equals ( "srini_string" ) ) ) { loc0 . add ( loc1 ) ; loc1 = arg0 . rea...
1,732
return a library that loads the core from code.jquery.com concode_field_sep String BASE_RESOURCE_URL concode_elem_sep String url concode_field_sep JQueryLibrary mobileStructure concode_elem_sep JQueryLibrary baseTheme concode_elem_sep JQueryLibrary ui concode_elem_sep void renderOn concode_elem_sep JQueryLibrary mobile...
JQueryLibrary function ( String arg0 ) { return new JQueryLibrary ( BASE_RESOURCE_URL + "srini_string" + arg0 + "srini_string" ) ; }
1,733
build a condition that tests whether the active wizard page has an expected message text . concode_field_sep long serialVersionUID concode_field_sep IUICondition hasErrorMessage concode_elem_sep IUICondition hasDescription concode_elem_sep String toString concode_elem_sep IUICondition hasTitle
IUICondition function ( String arg0 ) { return new HasTextCondition ( new WizardPageElement ( ) { public String getText ( IUIContext arg1 ) throws WidgetSearchException { return getPage ( ) . getMessage ( ) ; } } , arg0 ) ; }
1,734
returns an unmodifiable set of enabled filter names . concode_field_sep String internalFetchProfile concode_elem_sep EntityGraph loadGraph concode_elem_sep SessionFactoryImplementor sessionFactory concode_elem_sep Map<String,Filter> enabledFilters concode_elem_sep Set<String> enabledFetchProfileNames concode_elem_sep E...
Set < String > function ( ) { return java . util . Collections . unmodifiableSet ( enabledFilters . keySet ( ) ) ; }
1,735
create and cache a new recording debug info structure concode_field_sep IPath workspaceLocation concode_elem_sep String PROJECT_CLASSPATH concode_elem_sep String[] recorderClasspath concode_elem_sep String[] bundleClasspath concode_elem_sep String recLogContent concode_elem_sep String RECORDER_CLASSPATH concode_elem_se...
void function ( ) { mostRecentInfo = new DebugRecordingInfo ( ) ; }
1,736
solves a linear system for x , y with cramer 's rule . ax + by = e cx + dy = f concode_field_sep PlaceHolder placeHolder concode_field_sep double det concode_elem_sep double det
double [ ] function ( double arg0 , double arg1 , double arg2 , double arg3 , double arg4 , double arg5 ) { System . out . println ( "srini_string" + arg0 + "srini_string" + arg1 + "srini_string" + arg2 + "srini_string" + arg3 + "srini_string" + arg4 + "srini_string" + arg5 + "srini_string" ) ; double loc0 = ( arg4 * a...
1,737
returns the paint surface associated with this paint session . concode_field_sep PaintSurface paintSurface concode_field_sep placeholderType placeHolder
PaintSurface function ( ) { return paintSurface ; }
1,738
this method splits a string by hyphens in it and returns the list of strings . concode_field_sep PlaceHolder placeHolder concode_field_sep String getDocContent concode_elem_sep ArrayList<String> processToken concode_elem_sep Map<Integer,Double> sortByValue concode_elem_sep Map<String,Integer> getStemmedTokens
List < String > function ( String arg0 ) { return Arrays . asList ( ( arg0 . split ( "srini_string" ) ) ) ; }
1,739
stop monitoring the ui for responsiveness . concode_field_sep ITestCleanupHandler _cleanupHandler concode_elem_sep boolean _isRunning concode_elem_sep List<ITestExecutionListener> _listeners concode_elem_sep RunningState _runningState concode_elem_sep TestExceptionCache _exceptionCache concode_field_sep void startUIMon...
void function ( ) { getUIThreadMonitor ( ) . setListener ( null ) ; }
1,740
launch the application concode_field_sep Shell shell concode_elem_sep boolean ALPHA concode_elem_sep Text text concode_elem_sep boolean BETA concode_field_sep void toggleBETA concode_elem_sep Text getText concode_elem_sep void toggleALPHA concode_elem_sep Shell getShell concode_elem_sep void createContents concode_elem...
void function ( String [ ] arg0 ) { try { TextTestShell loc0 = new TextTestShell ( ) ; loc0 . open ( ) ; final Display loc1 = Display . getDefault ( ) ; while ( ! loc0 . getShell ( ) . isDisposed ( ) ) { if ( ! loc1 . readAndDispatch ( ) ) loc1 . sleep ( ) ; } } catch ( Exception loc0 ) { loc0 . printStackTrace ( ) ; }...
1,741
transform a given cache into a cache that fails silently if cache reads fail . concode_field_sep PlaceHolder placeHolder concode_field_sep AdvancedCache asyncWriteCache concode_elem_sep boolean isClustered concode_elem_sep AdvancedCache localCache concode_elem_sep AdvancedCache failSilentWriteCache concode_elem_sep Adv...
AdvancedCache function ( AdvancedCache arg0 ) { return arg0 . withFlags ( Flag . FAIL_SILENTLY , Flag . ZERO_LOCK_ACQUISITION_TIMEOUT ) ; }
1,742
return the original line number for this line concode_field_sep String inlineMarkupDelimiters concode_elem_sep int sectionLevel concode_elem_sep boolean erased concode_elem_sep boolean inBlock concode_elem_sep boolean listStart concode_elem_sep List<Boolean> valid concode_elem_sep char ESCAPED_CHARACTER_VALUE concode_e...
int function ( ) { return lineNo ; }
1,743
gets the next key from the map . concode_field_sep Iterator iterator concode_elem_sep Map.Entry last concode_elem_sep Map map concode_elem_sep boolean canRemove concode_field_sep Object getKey concode_elem_sep Object getValue concode_elem_sep Object setValue concode_elem_sep void reset concode_elem_sep boolean hasNext ...
Object function ( ) { last = ( Map . Entry ) iterator . next ( ) ; canRemove = true ; return last . getKey ( ) ; }
1,744
called by the default implementation of #writearray to get thesize of an array . the default implementation is for collection . concode_field_sep GenericData data concode_elem_sep Schema root concode_field_sep NullPointerException npe concode_elem_sep void writeWithoutConversion concode_elem_sep Iterator<? extends Obje...
long function ( Object arg0 ) { return ( ( Collection ) arg0 ) . size ( ) ; }
1,745
called when a paragraph is written . paragraphposition will hold the height of the end of the paragraph . concode_field_sep PlaceHolder placeHolder concode_field_sep void onSection concode_elem_sep void onParagraph concode_elem_sep void onOpenDocument concode_elem_sep void onSectionEnd concode_elem_sep void onEndPage c...
void function ( PdfWriter arg0 , Document arg1 , float arg2 ) { }
1,746
adds the given text as a child to this node . the text will be quoted . concode_field_sep char EQ concode_elem_sep char LT concode_elem_sep char AMP concode_elem_sep char QUOT concode_elem_sep char GT concode_elem_sep XMLElement lastchild concode_elem_sep char SPACE concode_elem_sep String name concode_elem_sep boolean...
XMLElement function ( final String arg0 ) { if ( closed ) { throw new IOException ( format ( "srini_string" , name ) ) ; } finishOpenTag ( ) ; if ( lastchild != null ) { lastchild . close ( ) ; } quote ( arg0 ) ; return this ; }
1,747
parse an inputstream that optionally detects encoding from the stream concode_field_sep String text concode_elem_sep Charset charset concode_elem_sep StateController controller concode_elem_sep XMLParserMemory memory concode_elem_sep List<XMLParserListener> listeners concode_elem_sep TagState tagState concode_elem_sep ...
void function ( final InputStream arg0 , final boolean arg1 ) { if ( arg1 ) { parse ( arg1 ( new BufferedInputStream ( arg0 ) ) ) ; } else { parse ( arg0 ) ; } }
1,748
getter for property ` entityname ' . concode_field_sep String propertyName concode_elem_sep String entityName concode_field_sep String getRole concode_elem_sep void configure concode_elem_sep Serializable generate concode_elem_sep String getPropertyName
String function ( ) { return entityName ; }
1,749
does this word contain upper-case letters only ? concode_field_sep Set<ISpellDictionary> fDictionaries concode_elem_sep Set<String> fIgnored concode_elem_sep Locale fLocale concode_elem_sep String[] URL_PREFIXES concode_elem_sep IPreferenceStore fPreferences concode_field_sep void addDictionary concode_elem_sep void ad...
boolean function ( final String arg0 ) { for ( int loc0 = arg0 . length ( ) - 1 ; loc0 >= 0 ; loc0 -- ) { if ( Character . isLowerCase ( arg0 . charAt ( loc0 ) ) ) return false ; } return true ; }
1,750
maps a codec name into a codecfactory . currently there are five codecs registered by default : null deflate snappy bzip2 xz concode_field_sep int DEFAULT_XZ_LEVEL concode_elem_sep Map<String,CodecFactory> REGISTERED concode_elem_sep int DEFAULT_DEFLATE_LEVEL concode_field_sep Codec createInstance concode_elem_sep Code...
CodecFactory function ( String arg0 ) { CodecFactory loc0 = REGISTERED . get ( arg0 ) ; if ( loc0 == null ) { throw new AvroRuntimeException ( "srini_string" + arg0 ) ; } return loc0 ; }
1,751
invoked when a test method is about to start concode_field_sep PlaceHolder placeHolder concode_field_sep Statement apply concode_elem_sep void finished concode_elem_sep void failed concode_elem_sep void succeeded
void function ( FrameworkMethod arg0 ) { }
1,752
create two hazelcastinstance server @bean s clustered together . concode_field_sep String CLUSTER_HOST concode_elem_sep Logger LOG concode_elem_sep String MASTER_SERVER concode_elem_sep HazelcastInstance hazelcastInstance concode_elem_sep int CLUSTER_PORT concode_field_sep HazelcastInstance singleton concode_elem_sep H...
HazelcastInstance function ( ) { HazelcastInstance loc0 = InstanceHelper . makeServer ( Constants . HAZELCAST_INSTANCE_NAME , CLUSTER_PORT ) ; LOG . trace ( "srini_string" , loc0 ) ; InstanceHelper . makeServer ( "srini_string" + Constants . HAZELCAST_INSTANCE_NAME , ( 1 + CLUSTER_PORT ) ) ; return loc0 ; }
1,753
invokes the underlying map #isempty method . concode_field_sep Map map concode_field_sep Set entrySet concode_elem_sep boolean containsKey concode_elem_sep Collection values concode_elem_sep void clear concode_elem_sep boolean containsValue concode_elem_sep Object put concode_elem_sep Object remove concode_elem_sep int...
boolean function ( ) { return map . isEmpty ( ) ; }
1,754
returns the quirks . concode_field_sep T headPointer concode_elem_sep int mode concode_elem_sep boolean quirks concode_elem_sep T formPointer concode_elem_sep StackNode<T>[] stack concode_elem_sep boolean framesetOk concode_elem_sep boolean needToDropLF concode_elem_sep T deepTreeSurrogateParent concode_elem_sep int[] ...
boolean function ( ) { return quirks ; }
1,755
sets the value of ours concode_field_sep long theirs concode_elem_sep long ours concode_elem_sep String description concode_elem_sep int iterations concode_field_sep int getIterations concode_elem_sep void setIterations concode_elem_sep long getOurAvg concode_elem_sep String toString concode_elem_sep void setDescriptio...
void function ( long arg0 ) { this . ours = arg0 ; }
1,756
getter for the leading concode_field_sep boolean knockout concode_elem_sep LineDashPattern lineDashPattern concode_elem_sep BaseColor fillColor concode_elem_sep float wordSpacing concode_elem_sep float leading concode_elem_sep BaseColor strokeColor concode_elem_sep int lineJoinStyle concode_elem_sep float miterLimit co...
float function ( ) { return leading ; }
1,757
always return constant . concode_field_sep Factory NULL_INSTANCE concode_elem_sep long serialVersionUID concode_elem_sep Object iConstant concode_field_sep Object getConstant concode_elem_sep Factory getInstance
Object function ( ) { return iConstant ; }
1,758
get reference to the scene that has the input focus concode_field_sep List<Scene> scenes concode_elem_sep Map<String,Scene> sceneHashMap concode_elem_sep List<Btimer> btimers concode_elem_sep Scene focusScene concode_field_sep void startScene concode_elem_sep void startScene concode_elem_sep void addTimer concode_elem_...
Scene function ( ) { return focusScene ; }
1,759
builds the commands . concode_field_sep PlaceHolder placeHolder concode_field_sep Command findCommand concode_elem_sep boolean commandEquals
List < Command > function ( String ... arg0 ) { List < Command > loc0 = new ArrayList < Command > ( ) ; for ( String loc1 : arg0 ) { Command loc2 = findCommand ( loc1 ) ; if ( loc2 != null ) { loc0 . add ( loc2 ) ; } } return loc0 ; }
1,760
removes from the underlying collection the last element returned by the iterator . as with next and hasnext , this method calls remove on the underlying iterator . therefore , this method may throw an unsupportedoperationexception if the underlying iterator does not support this method . concode_field_sep Iterator last...
void function ( ) { lockChain ( ) ; updateCurrentIterator ( ) ; lastUsedIterator . remove ( ) ; }
1,761
inclusive min / max concode_field_sep Random rand concode_field_sep int nextIntRange concode_elem_sep double getAngle concode_elem_sep byte[] putBytesInArray
float function ( float arg0 , float arg1 ) { return arg0 + ( rand . nextFloat ( ) * ( ( 1 + arg1 ) - arg0 ) ) ; }
1,762
return the slot id 's of all active jsf versions . concode_field_sep Map<String,ModuleIdentifier> apiIds concode_elem_sep Set<String> allVersions concode_elem_sep List<String> activeVersions concode_elem_sep JSFModuleIdFactory instance concode_elem_sep Map<String,ModuleIdentifier> implIds concode_elem_sep String API_MO...
List < String > function ( ) { return Collections . unmodifiableList ( activeVersions ) ; }
1,763
sets the current active layout manager concode_field_sep SchemaDiagramPart diagram concode_elem_sep Map partsToNodeMap concode_elem_sep GraphXYLayout xyLayoutManager concode_elem_sep Map figureToBoundsMap concode_elem_sep LayoutManager activeLayoutManager concode_elem_sep GraphLayoutManager graphLayoutManager concode_f...
void function ( IFigure arg0 , LayoutManager arg1 ) { arg0 . setLayoutManager ( arg1 ) ; this . activeLayoutManager = arg1 ; if ( arg1 == xyLayoutManager ) { diagram . installEditPolicy ( EditPolicy . LAYOUT_ROLE , new SchemaXYLayoutPolicy ( ) ) ; } else { diagram . installEditPolicy ( EditPolicy . LAYOUT_ROLE , null )...
1,764
transfers money from one account to another . concode_field_sep double[] accounts concode_field_sep int size concode_elem_sep double getTotalBalance
void function ( int arg0 , int arg1 , double arg2 ) { if ( accounts [ arg0 ] < arg2 ) return ; System . out . print ( Thread . currentThread ( ) ) ; accounts [ arg0 ] -= arg2 ; System . out . printf ( "srini_string" , arg2 , arg0 , arg1 ) ; accounts [ arg1 ] += arg2 ; System . out . printf ( "srini_string" , getTotalBa...
1,765
called to evict data from the entire region concode_field_sep CoreMessageLogger LOG concode_field_sep void unlockRegion concode_elem_sep void evictAll concode_elem_sep BaseGeneralDataRegion getInternalRegion concode_elem_sep void unlockItem concode_elem_sep Object get concode_elem_sep boolean putFromLoad concode_elem_s...
void function ( ) { evictAll ( ) ; }
1,766
converts an instance of the object model described in org.apache.avro.jsonproperties to a json string . concode_field_sep ResolvingDecoder resolver concode_elem_sep Schema SCHEMA concode_elem_sep Schema written concode_elem_sep JsonFactory FACTORY concode_elem_sep ObjectMapper MAPPER concode_field_sep JsonNode read con...
String function ( Object arg0 ) { return JacksonUtils . toJsonNode ( arg0 ) . toString ( ) ; }
1,767
configure a job 's mapper implementation . concode_field_sep String COMBINER concode_elem_sep String MAP_OUTPUT_SCHEMA concode_elem_sep String INPUT_SCHEMA concode_elem_sep String MAPPER concode_elem_sep String TEXT_PREFIX concode_elem_sep String CONF_DATA_MODEL concode_elem_sep String BINARY_PREFIX concode_elem_sep St...
void function ( JobConf arg0 , Class < ? extends AvroMapper > arg1 ) { arg0 . set ( MAPPER , arg1 . getName ( ) ) ; }
1,768
residue summation . concode_field_sep GenPolynomial<C> val concode_elem_sep ResidueRing<C> ring concode_elem_sep int isunit 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> subtract concode_elem_sep Residue<C> gcd...
Residue < C > function ( Residue < C > arg0 ) { return new Residue < C > ( ring , val . sum ( arg0 . val ) ) ; }
1,769
invoked when a test fails concode_field_sep PlaceHolder placeHolder concode_field_sep void finishedQuietly concode_elem_sep Statement apply concode_elem_sep void startingQuietly concode_elem_sep void finished concode_elem_sep void succeededQuietly concode_elem_sep void starting concode_elem_sep void failedQuietly conco...
void function ( Throwable arg0 , Description arg1 ) { }
1,770
is the current token a single letter token surrounded by non-whitespace characters ? concode_field_sep LinkedList<Integer> fSentenceBreaks concode_elem_sep String fDelimiter concode_elem_sep int WHITE_SPACE_TOKEN concode_elem_sep int fOffset concode_elem_sep int fNext concode_elem_sep int fPredecessor concode_elem_sep ...
boolean function ( final int arg0 ) { if ( ! Character . isLetter ( fContent . charAt ( arg0 ) ) ) return false ; if ( arg0 > 0 && ! Character . isWhitespace ( fContent . charAt ( arg0 - 1 ) ) ) return false ; if ( arg0 < fContent . length ( ) - 1 && ! Character . isWhitespace ( fContent . charAt ( arg0 + 1 ) ) ) retur...
1,771
create and return a new predicate that checks if the element is displayed . concode_field_sep PlaceHolder placeHolder concode_field_sep Predicate<WebElement> attrEquals concode_elem_sep Predicate<WebElement> textEndsWith concode_elem_sep Predicate<WebElement> hasClass concode_elem_sep Predicate<WebElement> textMatches ...
Predicate < WebElement > function ( ) { return new Predicate < WebElement > ( ) { @ Override public boolean apply ( WebElement arg0 ) { return arg0 . isDisplayed ( ) ; } @ Override public String toString ( ) { return "srini_string" ; } } ; }
1,772
creates junit tests for the faults . output is a set of . java files . the default junit class name is the driver class name + index concode_field_sep boolean includeParseableString concode_elem_sep String junitDriverClassName concode_elem_sep String packageName concode_elem_sep Map<String,List<List<ExecutableSequence>...
List < File > function ( List < ExecutableSequence > arg0 ) { return createJunitTestFiles ( arg0 , junitDriverClassName ) ; }
1,773
gets the value of the message property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the message property . for example , to add a new item , do as...
List < Message > function ( ) { if ( message == null ) { message = new ArrayList < Message > ( ) ; } return this . message ; }
1,774
performs actions that follow a disconnect . concode_field_sep Node<T> myNode concode_elem_sep PeerStatus peerStatus concode_elem_sep Logger log concode_elem_sep ComponentsConfig config concode_elem_sep boolean lookupEnabled concode_field_sep void enablePeriodicLookup concode_elem_sep void connectivityChanged concode_el...
void function ( ) { peerStatus = PeerStatus . ABSENT ; myNode . getOperationFactory ( ) . abortAllOperations ( ) ; }
1,775
append a hashcode for a float array . concode_field_sep int iConstant concode_elem_sep int iTotal concode_field_sep HashCodeBuilder appendSuper concode_elem_sep int toHashCode
HashCodeBuilder function ( float [ ] arg0 ) { if ( arg0 == null ) { iTotal = iTotal * iConstant ; } else { for ( float loc0 : arg0 ) { append ( loc0 ) ; } } return this ; }
1,776
should be called only once , for global concode_field_sep List<KdcPreauth> preauths concode_field_sep boolean isToken concode_elem_sep void loadPreauthPlugins concode_elem_sep PreauthContext preparePreauthContext concode_elem_sep void providePaData concode_elem_sep boolean isPkinit concode_elem_sep void initWith concod...
void function ( ) { loadPreauthPlugins ( ) ; }
1,777
gets the rectangular position of a bitmap if it were placed inside a view with scale type set to android.widget.imageview #scaletype #center_inside . concode_field_sep PlaceHolder placeHolder concode_field_sep Rect getBitmapRectCenterInsideHelper
Rect function ( int arg0 , int arg1 , int arg2 , int arg3 ) { return getBitmapRectCenterInsideHelper ( arg0 , arg1 , arg2 , arg3 ) ; }
1,778
creates the paletteroot and adds all palette elements . concode_field_sep PlaceHolder placeHolder concode_field_sep PaletteContainer createControlGroup concode_elem_sep List createCategories concode_elem_sep PaletteContainer createComponentsDrawer
PaletteRoot function ( ) { PaletteRoot loc0 = new PaletteRoot ( ) ; loc0 . addAll ( createCategories ( loc0 ) ) ; return loc0 ; }
1,779
this loader is used when proxy debugging is enabled . in that case there is no point in fetching the bundle from device as remote executor will have to do it anyway . concode_field_sep PlaceHolder placeHolder concode_field_sep JSBundleLoader createAssetLoader concode_elem_sep void loadScript concode_elem_sep JSBundleLo...
JSBundleLoader function ( final String arg0 ) { return new JSBundleLoader ( ) { @ Override public void loadScript ( ReactBridge arg1 ) { arg1 . loadScriptFromNetworkCached ( arg0 , null ) ; } @ Override public String getSourceUrl ( ) { return arg0 ; } } ; }
1,780
method to get the average of the colors of this pixel concode_field_sep int x concode_elem_sep int y concode_elem_sep DigitalPicture picture concode_field_sep int getCol concode_elem_sep int correctValue concode_elem_sep Color getColor concode_elem_sep void setAlpha concode_elem_sep int getRow concode_elem_sep int getB...
double function ( ) { double loc0 = ( getRed ( ) + getGreen ( ) + getBlue ( ) ) / 3.0 ; return loc0 ; }
1,781
map column names to protocol field names . concode_field_sep Cursor cursor concode_elem_sep int[] columns concode_elem_sep String[] fields concode_elem_sep int MAX_SERVER_STRING_CHARS concode_field_sep void fillHoneycomb concode_elem_sep ClientReadingListRecord getNext concode_elem_sep ClientReadingListRecord fromCurso...
String function ( final String arg0 ) { switch ( arg0 ) { case "srini_string" : return "srini_string" ; case "srini_string" : return "srini_string" ; case "srini_string" : return "srini_string" ; } return arg0 ; }
1,782
when set to true , the xml parser will attempt to validate the jelly xml before converting it into a script . concode_field_sep Log log concode_elem_sep boolean loadedProperties concode_elem_sep String defaultNamespaceURI concode_elem_sep JellyContext context concode_elem_sep boolean validateXML concode_elem_sep URL ur...
void function ( boolean arg0 ) { this . validateXML = arg0 ; }
1,783
this method tests , if this skynet-id ranges between the two provided bounds . concode_field_sep BigDecimal skyNetID concode_field_sep BigDecimal getUniqueValue concode_elem_sep boolean equals concode_elem_sep BigDecimal getID concode_elem_sep int compareTo concode_elem_sep byte[] getBytes concode_elem_sep String getPl...
boolean function ( SkyNetID arg0 , SkyNetID arg1 ) { if ( arg0 . compareTo ( arg1 ) < 0 ) { if ( this . compareTo ( arg0 ) > 0 && this . compareTo ( arg1 ) < 0 ) { return true ; } } else { if ( this . compareTo ( arg0 ) > 0 || this . compareTo ( arg1 ) < 0 ) { return true ; } } return false ; }
1,784
sets the preferred difficulty for this user and overwrites any previous preference . concode_field_sep String SIZE concode_elem_sep String LIBRARY_LOCATION concode_elem_sep String DIFFICULTY concode_field_sep void setPreferredSize concode_elem_sep void clearPreferences concode_elem_sep Integer getPreferredSize concode_...
void function ( Difficulty arg0 ) { Preferences loc0 = Preferences . userNodeForPackage ( this . getClass ( ) ) ; loc0 . putInt ( DIFFICULTY , arg0 . toInt ( ) ) ; }
1,785
it is safe to call this method concurrently from any random thread . concode_field_sep Action1<Resource> urlDeletedAction concode_elem_sep PingDestination destination concode_elem_sep Action<?,?> action concode_elem_sep Action1<Resource> urlCreatedAction concode_elem_sep List<UrlChangesCollector.UrlChange> changes conc...
void function ( Resource arg0 ) { if ( PingDestination . isUrl ( arg0 ) ) { synchronized ( lock ) { PingDestination loc0 = PingDestination . from ( arg0 ) ; changes . add ( new UrlChange ( Action . deleted ( ) , loc0 ) ) ; Log . LOG . debugf ( "srini_string" , loc0 . getUrl ( ) ) ; } } }
1,786
the name of the context where the property is defined 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_s...
ResourceEditPropertyBuilder function ( String arg0 ) { this . typeContName = arg0 ; return this ; }
1,787
default begin for when you do n't need anything but no authentication and default settings for ssl . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder
Sardine function ( ) { return begin ( null , null ) ; }
1,788
decodes the stream and produces animation frames into the specified movie track . this method can only be called once . concode_field_sep int nFrames concode_elem_sep int nColors concode_elem_sep boolean enforce8BitColorModel concode_elem_sep ImageInputStream in concode_elem_sep long[] offsets concode_elem_sep SEQMovie...
void function ( SEQMovieTrack arg0 , boolean arg1 ) { this . track = arg0 ; readHeader ( ) ; readOffsets ( ) ; readFrames ( ) ; }
1,789
returns the value as a byte array . concode_field_sep long releaseTimestamp concode_elem_sep Object value concode_field_sep int getTransmissionSize concode_elem_sep Object getObject concode_elem_sep long getReleaseTimestamp concode_elem_sep String toString
byte [ ] function ( ) { ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( ) ; ObjectOutputStream loc1 ; try { loc1 = new ObjectOutputStream ( loc0 ) ; loc1 . writeObject ( value ) ; loc1 . close ( ) ; } catch ( IOException loc2 ) { loc2 . printStackTrace ( ) ; } return loc0 . toByteArray ( ) ; }
1,790
logs all objects in the passed objectcontainer . concode_field_sep java.io.PrintStream out concode_elem_sep boolean silent concode_elem_sep String sp concode_elem_sep int maximumDepth concode_elem_sep Class[] IGNORE concode_elem_sep int MAXIMUM_OBJECTS concode_field_sep int normalizeNArray1 concode_elem_sep Class[] get...
void function ( ObjectContainer arg0 ) { ObjectSet loc0 = arg0 . queryByExample ( null ) ; while ( loc0 . hasNext ( ) ) { log ( arg0 , loc0 . next ( ) ) ; } }
1,791
return all root components in the current awt hierarchy . concode_field_sep Collection EMPTY concode_elem_sep WindowTracker tracker concode_elem_sep Hierarchy defaultHierarchy concode_field_sep boolean contains concode_elem_sep Container getParent concode_elem_sep Collection getComponents concode_elem_sep Collection fi...
Collection function ( ) { return tracker . getRootWindows ( ) ; }
1,792
setup filters for this finder . filters are checked before search criteria . typical filters are defined in the filter enum . concode_field_sep ISearchable scope concode_elem_sep ISWTWidgetMatcher matcher concode_field_sep ISWTWidgetReference<?>[] doFindAll concode_elem_sep DisplayReference display concode_elem_sep ISW...
SWTWidgetFinder function ( ISWTWidgetMatcher ... arg0 ) { Invariants . notNull ( arg0 ) ; throw new UnsupportedOperationException ( ) ; }
1,793
fetch records modified since the provided timestamp . the caller is responsible for closing the cursor . concode_field_sep Context context concode_elem_sep String[] GUID_COLUMNS concode_elem_sep String LOG_TAG concode_elem_sep RepoUtils.QueryHelper queryHelper concode_field_sep int purgeGuid concode_elem_sep Cursor fet...
Cursor function ( long arg0 ) { return queryHelper . safeQuery ( "srini_string" , getAllColumns ( ) , dateModifiedWhere ( arg0 ) , null , null ) ; }
1,794
a distinct property value count projection concode_field_sep PlaceHolder placeHolder concode_field_sep Projection sqlGroupProjection concode_elem_sep AggregateProjection max concode_elem_sep CountProjection count concode_elem_sep Projection distinct concode_elem_sep AggregateProjection sum concode_elem_sep ProjectionLi...
CountProjection function ( String arg0 ) { return new CountProjection ( arg0 ) . setDistinct ( ) ; }
1,795
sets the callback object for the imageloader . once this is set , we may invoke the callback once all images that need to be loaded report in from their onload event handlers . concode_field_sep ArrayList<ImageHandle> images concode_elem_sep CallBack callBack concode_elem_sep int totalImages concode_elem_sep int loaded...
void function ( CallBack arg0 ) { this . callBack = arg0 ; }
1,796
calculates and returns the next element which is either gap or dash . concode_field_sep float val concode_elem_sep boolean isGap concode_elem_sep float dashPhase concode_elem_sep int elemOrdinalNumber concode_elem_sep DashArrayElem currentElem concode_elem_sep PdfArray dashArray concode_elem_sep int currentIndex concod...
DashArrayElem function ( ) { DashArrayElem loc0 = currentElem ; if ( dashArray . size ( ) > 0 ) { currentIndex = ( currentIndex + 1 ) % dashArray . size ( ) ; currentElem = new DashArrayElem ( dashArray . getAsNumber ( currentIndex ) . floatValue ( ) , isEven ( ++ elemOrdinalNumber ) ) ; } return loc0 ; }
1,797
sets the value of the responsedescription property . concode_field_sep Prop prop concode_elem_sep Error error concode_elem_sep String status concode_elem_sep String responsedescription concode_field_sep Error getError concode_elem_sep String getResponsedescription concode_elem_sep void setError concode_elem_sep void se...
void function ( String arg0 ) { this . responsedescription = arg0 ; }
1,798
is algebraicnumber one . concode_field_sep GenPolynomial<C> val concode_elem_sep AlgebraicNumberRing<C> ring concode_elem_sep int isunit concode_field_sep int signum concode_elem_sep AlgebraicNumber<C> inverse concode_elem_sep GenPolynomial<C> getVal concode_elem_sep boolean isUnit concode_elem_sep AlgebraicNumber<C> s...
boolean function ( ) { return val . equals ( ring . ring . getONE ( ) ) ; }
1,799
if called with one or more null elements in objects , the test will halt and be ignored . concode_field_sep PlaceHolder placeHolder concode_field_sep void assumeFalse concode_elem_sep void assumeFalse concode_elem_sep void assumeTrue concode_elem_sep void assumeTrue concode_elem_sep void assumeNoException concode_elem_...
void function ( Object ... arg0 ) { assumeThat ( asList ( arg0 ) , everyItem ( notNullValue ( ) ) ) ; }