id
int32
0
2k
nl
stringlengths
95
3.97k
code
stringlengths
21
493
1,900
gets a reader for an imember 's javadoc comment content from the source attachment . the content does contain only the text from the comment without the javadoc leading star characters . returns null if the member does not contain a javadoc comment or if no source is available . concode_field_sep PlaceHolder placeHolde...
Reader function ( IMember arg0 , boolean arg1 ) { Reader loc0 = internalGetContentReader ( arg0 ) ; if ( loc0 != null || ! ( arg1 && ( arg0 . getElementType ( ) == IJavaElement . METHOD ) ) ) return loc0 ; return findDocInHierarchy ( ( IMethod ) arg0 , false , false ) ; }
1,901
searches up the parent hierarchy from the given tag for a tag of the given type 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 conc...
Tag function ( Tag arg0 , Class arg1 ) { while ( arg0 != null ) { if ( arg1 . isInstance ( arg0 ) ) { return arg0 ; } arg0 = arg0 . getParent ( ) ; } return null ; }
1,902
replication will be tried numberofreplicationtimes before target contact is given up . concode_field_sep int numberOfReplicates concode_elem_sep long timeToLiveForContacts concode_elem_sep int numberOfPingTries concode_elem_sep long timeBetweenRootPings concode_elem_sep long timeBetweenReplicationChecks concode_elem_se...
int function ( ) { return numberOfReplicationTries ; }
1,903
returns the lower bound of a type signature . returns the null type signature if signature is a wildcard or upper bound ? extends t ; returns the signature of the type t of a lower bound ? super t or signature itself if it is not a bound signature . concode_field_sep String NULL_TYPE_SIGNATURE concode_elem_sep String O...
String function ( String arg0 ) { return String . valueOf ( getLowerBound ( arg0 . toCharArray ( ) ) ) ; }
1,904
evaluates the predicate returning true if either predicate returns true . concode_field_sep Predicate iPredicate2 concode_elem_sep long serialVersionUID concode_elem_sep Predicate iPredicate1 concode_field_sep Predicate getInstance concode_elem_sep Predicate[] getPredicates
boolean function ( Object arg0 ) { return ( iPredicate1 . evaluate ( arg0 ) || iPredicate2 . evaluate ( arg0 ) ) ; }
1,905
get the matrix for a. concode_field_sep int blocksize concode_elem_sep GenMatrix<C> ZERO concode_elem_sep int DEFAULT_BSIZE concode_elem_sep GenMatrix<C> ONE concode_elem_sep Logger logger concode_elem_sep RingFactory<C> coFac concode_elem_sep float density concode_elem_sep int rows concode_elem_sep int cols concode_el...
GenMatrix < C > function ( BigInteger arg0 ) { C loc0 = coFac . fromInteger ( arg0 ) ; return ONE . scalarMultiply ( loc0 ) ; }
1,906
sets an listener for execution data . concode_field_sep boolean firstBlock concode_elem_sep CompactDataInput in concode_elem_sep ISessionInfoVisitor sessionInfoVisitor concode_elem_sep IExecutionDataVisitor executionDataVisitor concode_field_sep boolean readBlock concode_elem_sep boolean read concode_elem_sep void read...
void function ( final IExecutionDataVisitor arg0 ) { this . executionDataVisitor = arg0 ; }
1,907
sets the richmediaactivation dictionary specifying the style of presentation , default script behavior , default view information , and animation style when the annotation is activated . part of the richmediasettings . concode_field_sep PdfDictionary richMediaSettings concode_elem_sep PdfArray configurations concode_el...
void function ( RichMediaActivation arg0 ) { richMediaSettings . put ( PdfName . ACTIVATION , arg0 ) ; }
1,908
get a local element from a long value . concode_field_sep Logger logger concode_elem_sep Ideal<C> ideal concode_elem_sep GenPolynomialRing<C> ring concode_elem_sep int isField concode_field_sep Local<C> random concode_elem_sep Local<C> random concode_elem_sep Local<C> random concode_elem_sep int hashCode concode_elem_s...
Local < C > function ( long arg0 ) { return new Local < C > ( this , ring . fromInteger ( arg0 ) ) ; }
1,909
creates a hash using a specific digest algorithm and a provider . concode_field_sep String SHA1 concode_elem_sep HashMap<String,String> digestNames concode_elem_sep HashMap<String,String> allowedDigests concode_elem_sep String SHA384 concode_elem_sep HashMap<String,String> fixNames concode_elem_sep String SHA256 concod...
byte [ ] function ( InputStream arg0 , String arg1 , String arg2 ) { MessageDigest loc0 = getMessageDigest ( arg1 , arg2 ) ; return digest ( arg0 , loc0 ) ; }
1,910
removes the last returned element from the collection that spawned the underlying iterator . concode_field_sep Iterator iterator concode_field_sep Object next concode_elem_sep Iterator getIterator concode_elem_sep boolean hasNext concode_elem_sep void setIterator
void function ( ) { getIterator ( ) . remove ( ) ; }
1,911
init the client . concode_field_sep Logger LOG concode_elem_sep KrbSetting krbSetting concode_elem_sep KOptions commonOptions concode_elem_sep InternalKrbClient innerClient concode_elem_sep KrbConfig krbConfig concode_field_sep void setTimeout concode_elem_sep void setKdcHost concode_elem_sep KrbConfig getKrbConfig con...
void function ( ) { innerClient = new DefaultInternalKrbClient ( krbSetting ) ; innerClient . init ( ) ; }
1,912
common concode_field_sep MacExtensions MacExt concode_field_sep Rectangle win32_getBounds concode_elem_sep Rectangle win32_getBounds concode_elem_sep Rectangle carbon_getBounds concode_elem_sep Rectangle carbon_getBounds concode_elem_sep MenuItem[] getItems concode_elem_sep Menu[] getMenus concode_elem_sep Menu[] getMe...
Rectangle function ( Object arg0 ) { Rectangle loc0 = new Rectangle ( 0 , 0 , 0 , 0 ) ; try { Method loc1 = arg0 . getClass ( ) . getDeclaredMethod ( "srini_string" , null ) ; loc1 . setAccessible ( true ) ; loc0 = ( Rectangle ) loc1 . invoke ( arg0 , null ) ; } catch ( Throwable loc1 ) { } return loc0 ; }
1,913
creates two tables . the second table has 1 header row and it should skip the first header . 1 line of table 2 should be on page 1 , the rest on page 2 . concode_field_sep String outFolder concode_elem_sep String cmpFolder concode_field_sep void testKeepRowsTogetherInCombinationWithHeaders concode_elem_sep PdfPTable cr...
void function ( ) { final String loc0 = "srini_string" ; createDocument ( loc0 , 2 , 10 , "srini_string" , true , true ) ; }
1,914
put this widget and its current state into the map concode_field_sep Map _map concode_field_sep IWidgetState get concode_elem_sep WidgetStateMap create
IWidgetState function ( Widget arg0 ) { return put ( arg0 , WidgetState . create ( arg0 ) ) ; }
1,915
returns the actual string value . concode_field_sep Region fTagPosition concode_elem_sep String TAG_POSTFIX concode_elem_sep AccessorClassReference fAccessorClassReference concode_elem_sep boolean fIsEclipseNLS concode_elem_sep int TAG_PREFIX_LENGTH concode_elem_sep String TAG_PREFIX concode_elem_sep int fIndex concode...
String function ( ) { return fValue ; }
1,916
has to be called before any event is being processed to check if the next interval has begun . concode_field_sep long end concode_elem_sep String outputFile concode_elem_sep FileAction fileAction concode_elem_sep List<Metric> metrics concode_elem_sep long intervalCounter concode_elem_sep ResultsWriter writer concode_el...
void function ( ) { if ( ! isActive ( ) ) return ; progressIntervals ( Simulator . getCurrentTime ( ) ) ; }
1,917
get a residue element from a biginteger value . concode_field_sep Ideal<C> ideal concode_elem_sep Logger logger concode_elem_sep GreatestCommonDivisor<C> engine concode_elem_sep GenPolynomialRing<C> ring concode_elem_sep int isField concode_field_sep Residue<C> random concode_elem_sep Residue<C> random concode_elem_sep...
Residue < C > function ( java . math . BigInteger arg0 ) { return new Residue < C > ( this , ring . fromInteger ( arg0 ) ) ; }
1,918
clears the mapping between the raname and the resource adapter identifier , with which the resource adapter is registered with the org.jboss.jca.core.spi.rar.resourceadapterrepository subsequent calls to #getregisteredresourceadapteridentifier string with the passed raname returnnull concode_field_sep ServiceName RESOU...
void function ( final String arg0 ) { synchronized ( resourceAdapterRepositoryIdentifiers ) { resourceAdapterRepositoryIdentifiers . remove ( arg0 ) ; } }
1,919
moves this line by a given amount . concode_field_sep double y1 concode_elem_sep double x1 concode_elem_sep double y2 concode_elem_sep double x2 concode_elem_sep Color color concode_field_sep int getX concode_elem_sep int getHeight concode_elem_sep int getY concode_elem_sep void grow concode_elem_sep void setColor conc...
void function ( double arg0 , double arg1 ) { x1 += arg0 ; y1 += arg1 ; x2 += arg0 ; y2 += arg1 ; Canvas . getInstance ( ) . repaint ( ) ; }
1,920
rolls the camera concode_field_sep VectorXYZ pos concode_elem_sep VectorXYZ lookAt concode_elem_sep VectorXYZ up concode_field_sep void moveMapRight concode_elem_sep void setCamera concode_elem_sep void setCamera concode_elem_sep void moveForward concode_elem_sep void move concode_elem_sep void move concode_elem_sep Ve...
void function ( double arg0 ) { VectorXYZ loc0 = getViewDirection ( ) ; up = up . rotateVec ( arg0 , loc0 ) ; }
1,921
set the children of the tree concode_field_sep TreeNode right concode_elem_sep int value concode_elem_sep TreeNode left concode_field_sep int addTree concode_elem_sep TreeNode createTree
void function ( TreeNode arg0 , TreeNode arg1 ) { left = arg0 ; right = arg1 ; }
1,922
returns an unmodifiable version of the given non-null doublelistiterator . concode_field_sep DoubleListIterator EMPTY_DOUBLE_LIST_ITERATOR concode_elem_sep DoubleIterator EMPTY_DOUBLE_ITERATOR concode_elem_sep DoubleList EMPTY_DOUBLE_LIST concode_field_sep DoubleList unmodifiableDoubleList concode_elem_sep DoubleList g...
DoubleListIterator function ( DoubleListIterator arg0 ) { if ( null == arg0 ) { throw new NullPointerException ( ) ; } return UnmodifiableDoubleListIterator . wrap ( arg0 ) ; }
1,923
outputs the lines to the document . it is equivalent to go false . concode_field_sep Float curCharSpace concode_elem_sep float leading concode_elem_sep int NO_MORE_COLUMN concode_elem_sep int alignment concode_elem_sep String splittedChunkText concode_elem_sep int NO_MORE_TEXT concode_elem_sep PdfChunk currentStandbyCh...
int function ( ) { return go ( false ) ; }
1,924
called when the document starts to be parsed . concode_field_sep Stack<String> fieldNames concode_elem_sep HashMap<String,List<String>> listFields concode_elem_sep boolean foundRoot concode_elem_sep HashMap<String,String> fields concode_elem_sep Stack<String> fieldValues concode_elem_sep String fileSpec concode_field_s...
void function ( ) { fileSpec = "srini_string" ; }
1,925
copies a slice of the list into a native array . note that this will not pop them out of the stack . concode_field_sep TDoubleArrayList _list concode_elem_sep int DEFAULT_CAPACITY concode_field_sep double pop concode_elem_sep int size concode_elem_sep void clear concode_elem_sep void reset concode_elem_sep void push co...
void function ( double [ ] arg0 ) { _list . toNativeArray ( arg0 , 0 , size ( ) ) ; }
1,926
mark a client as hidden . concode_field_sep String selectedClient concode_elem_sep String PREF_COLLAPSED_CLIENT_GUIDS concode_elem_sep SharedPreferences sharedPrefs concode_elem_sep String PREF_HIDDEN_CLIENT_GUIDS concode_elem_sep Set<String> collapsedClients concode_elem_sep Set<String> hiddenClients concode_elem_sep ...
boolean function ( String arg0 , boolean arg1 ) { return updateClientMembership ( PREF_HIDDEN_CLIENT_GUIDS , hiddenClients , arg0 , arg1 ) ; }
1,927
compares two canvid and if all value until the n-1 number are common the return value is true . so it is true , if all parents are common concode_field_sep List<String> VID concode_field_sep boolean inBetween concode_elem_sep List<String> listCommon concode_elem_sep boolean lower concode_elem_sep int numberCommon conco...
boolean function ( CanVID arg0 ) { if ( VID . size ( ) != arg0 . getVIDList ( ) . size ( ) ) return false ; for ( int loc0 = 0 ; loc0 < VID . size ( ) - 1 ; loc0 ++ ) { if ( ! VID . get ( loc0 ) . toString ( ) . equals ( arg0 . getVIDList ( ) . get ( loc0 ) . toString ( ) ) ) return false ; } return true ; }
1,928
runs the tests and collects their result in a testresult . concode_field_sep String fName concode_elem_sep Vector fTests concode_field_sep void setName concode_elem_sep int testCount concode_elem_sep void addTestSuite concode_elem_sep String getName concode_elem_sep void addTestMethod concode_elem_sep boolean isTestMet...
void function ( TestResult arg0 ) { for ( Enumeration loc0 = tests ( ) ; loc0 . hasMoreElements ( ) ; ) { if ( arg0 . shouldStop ( ) ) break ; Test loc1 = ( Test ) loc0 . nextElement ( ) ; runTest ( loc1 , arg0 ) ; } }
1,929
retrieves the pnpenabled value . 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...
boolean function ( ) { return pnpEnabled ; }
1,930
product of this vector with scalar . concode_field_sep List<C> val concode_elem_sep Logger logger concode_elem_sep GenVectorModul<C> modul concode_field_sep int signum concode_elem_sep GenVector<C> leftLinearCombination concode_elem_sep GenVector<C> rightScalarProduct concode_elem_sep GenVector<C> subtract concode_elem...
GenVector < C > function ( C arg0 ) { ArrayList < C > loc0 = new ArrayList < C > ( modul . cols ) ; for ( C loc1 : val ) { C loc2 = loc1 . multiply ( arg0 ) ; loc0 . add ( loc2 ) ; } return new GenVector < C > ( modul , loc0 ) ; }
1,931
puts the given collection of keys into this map according to the contract of #put object , object , predicate . the values will be set to null . the keys are added in the order of the collection 's iterator . each key of keys is tested individually with keypredicate and can be added only if the predicate holds . concod...
void function ( final Collection < ? extends K > arg0 , final Predicate < ? super K > arg1 ) { for ( final K loc0 : arg0 ) { put ( loc0 , null , arg1 , null ) ; } }
1,932
topologische position concode_field_sep long serialVersionUID concode_elem_sep PositionInfo position concode_elem_sep HashSet<Edge<TNode,TEdge>> edges concode_elem_sep VisualGraph<TNode,TEdge> graph concode_field_sep void setGraph concode_elem_sep void setPos concode_elem_sep void unsetGraph concode_elem_sep VisualGrap...
Coords function ( ) { return this . position . getTopoCoords ( ) ; }
1,933
get the index that numbers this base string . concode_field_sep Map _seen concode_field_sep StringBuffer getBase concode_elem_sep String generate
int function ( String arg0 ) { Integer loc0 = ( Integer ) _seen . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new Integer ( 0 ) ; } else { loc0 = new Integer ( loc0 . intValue ( ) + 1 ) ; } _seen . put ( arg0 , loc0 ) ; return loc0 . intValue ( ) ; }
1,934
no-op method - this renderer is n't interested in image events concode_field_sep Vector lastEnd concode_elem_sep StringBuffer result concode_elem_sep Vector lastStart concode_field_sep void appendTextChunk concode_elem_sep void beginTextBlock concode_elem_sep void endTextBlock concode_elem_sep String getResultantText c...
void function ( ImageRenderInfo arg0 ) { }
1,935
gets the exception class . concode_field_sep Class clz concode_elem_sep String reposId concode_elem_sep CDRStreamReader[] paramReaders concode_elem_sep java.lang.reflect.Method writeMethod concode_elem_sep CDRStreamWriter retvalWriter concode_elem_sep Method m concode_elem_sep ExceptionWriter[] excepWriters concode_fie...
Class function ( ) { return clz ; }
1,936
create a name-already-bound exception . concode_field_sep PlaceHolder placeHolder concode_field_sep Context createSubcontext concode_elem_sep void rebind concode_elem_sep void rebind concode_elem_sep void unbind concode_elem_sep void unbind concode_elem_sep boolean isEmpty concode_elem_sep NameNotFoundException nameNot...
NameAlreadyBoundException function ( final Name arg0 ) { return new NameAlreadyBoundException ( arg0 . toString ( ) ) ; }
1,937
obtains value of the coreprotocolpnames #http_malformed_input_action parameter . concode_field_sep PlaceHolder placeHolder concode_field_sep ProtocolVersion getVersion concode_elem_sep CodingErrorAction getUnmappableInputAction concode_elem_sep void setUnmappableInputAction concode_elem_sep void setVersion concode_elem...
CodingErrorAction function ( final HttpParams arg0 ) { Args . notNull ( arg0 , "srini_string" ) ; final Object loc0 = arg0 . getParameter ( CoreProtocolPNames . HTTP_MALFORMED_INPUT_ACTION ) ; if ( loc0 == null ) { return CodingErrorAction . REPORT ; } return ( CodingErrorAction ) loc0 ; }
1,938
retrieves a message with no arguments . concode_field_sep String RESOURCE_LOCATION concode_elem_sep ResourceBundle rb concode_field_sep placeholderType placeHolder
String function ( String arg0 ) { return rb . getString ( arg0 ) ; }
1,939
returns the source index of this type variable maplet . concode_field_sep String fSourceName concode_elem_sep int fTargetIndex concode_elem_sep int fSourceIndex concode_elem_sep String fTargetName concode_field_sep String getSourceName concode_elem_sep int getTargetIndex concode_elem_sep int hashCode concode_elem_sep b...
int function ( ) { return fSourceIndex ; }
1,940
returns the number of vertices in this polygon . the duplicated first/last vertex is not counted twice , so the result is equivalent to #getvertices . size . concode_field_sep List<VectorXYZ> vertexLoop concode_field_sep PolygonXZ getXZPolygon concode_elem_sep List<VectorXYZ> getVertexLoop concode_elem_sep SimplePolygo...
int function ( ) { return vertexLoop . size ( ) - 1 ; }
1,941
sets the value of the synclevel property . concode_field_sep String syncToken concode_elem_sep Prop prop concode_elem_sep Limit limit concode_elem_sep String syncLevel concode_field_sep String getSyncToken concode_elem_sep void setSyncToken concode_elem_sep Limit getLimit concode_elem_sep String getSyncLevel concode_el...
void function ( String arg0 ) { this . syncLevel = arg0 ; }
1,942
returns this triangle if it is clockwise , or the reversed triangle if it is counterclockwise . concode_field_sep VectorXZ v1 concode_elem_sep VectorXZ v2 concode_elem_sep VectorXZ v3 concode_field_sep VectorXZ getCenter concode_elem_sep boolean contains concode_elem_sep TriangleXZ makeClockwise concode_elem_sep int ha...
TriangleXZ function ( ) { return makeRotationSense ( false ) ; }
1,943
adds or replaces a page label . there is no text prefix and the first logical page has the default of 1 . concode_field_sep int DECIMAL_ARABIC_NUMERALS concode_elem_sep int UPPERCASE_ROMAN_NUMERALS concode_elem_sep int physicalPage concode_elem_sep int LOWERCASE_LETTERS concode_elem_sep int EMPTY concode_elem_sep int L...
void function ( int arg0 , int arg1 ) { addPageLabel ( arg0 , arg1 , null , 1 ) ; }
1,944
check that the user is app_developer or config_admin : app_developer : can edit properties of instances of application config_admin : can edit all properties . concode_field_sep EntityManager entityManager concode_elem_sep PermissionService permissionService concode_elem_sep ResourceTypeProvider resourceTypeProvider co...
boolean function ( Integer arg0 ) { ResourceTypeEntity loc0 = entityManager . find ( ResourceTypeEntity . class , arg0 ) ; return permissionService . hasPermissionToEditPropertiesOfResource ( loc0 ) ; }
1,945
gives the number of all received messages concode_field_sep long receivedBytes concode_elem_sep int sentMsg concode_elem_sep int receivedMsg concode_elem_sep StatisticGenerationEvent event concode_elem_sep long sentBytes concode_elem_sep Logger log concode_field_sep double[] getSentBytes concode_elem_sep void netMsgRec...
double [ ] function ( LinkedHashMap < CanOverlayID , CanNode > arg0 ) { double loc0 = receivedMsg * Simulator . MINUTE_UNIT / CanConfig . intervallBetweenStatistics ; double loc1 = loc0 / arg0 . size ( ) ; receivedMsg = 0 ; double [ ] loc2 = { loc0 , loc1 } ; return loc2 ; }
1,946
set the context attribute key for the attribute . concode_field_sep String fromKey concode_field_sep boolean execute concode_elem_sep String getFromKey
void function ( String arg0 ) { this . fromKey = arg0 ; }
1,947
get iterator of list elements . concode_field_sep List<ListElement> listElements concode_field_sep List<ListElement> getListElements concode_elem_sep void appendElement concode_elem_sep int getNumberOfListElements
ListElement function ( int arg0 ) { return listElements . get ( arg0 ) ; }
1,948
returns the name of the described extension . concode_field_sep String fId concode_elem_sep boolean fIsEnabled concode_elem_sep IConfigurationElement fElement concode_elem_sep boolean fNeedsSortingAfterFiltering concode_elem_sep boolean fIsIncluded concode_elem_sep String ICON concode_elem_sep Expression fEnablementExp...
String function ( ) { return fName ; }
1,949
local multiplication . concode_field_sep Logger logger concode_elem_sep LocalRing<C> ring concode_elem_sep boolean debug concode_elem_sep C num concode_elem_sep int isunit concode_elem_sep C den concode_field_sep int signum concode_elem_sep boolean isONE concode_elem_sep Local<C> inverse concode_elem_sep boolean isUnit...
Local < C > function ( Local < C > arg0 ) { if ( arg0 == null || arg0 . isZERO ( ) ) { return arg0 ; } if ( num . isZERO ( ) ) { return this ; } if ( arg0 . isONE ( ) ) { return this ; } if ( this . isONE ( ) ) { return arg0 ; } C loc0 = num . multiply ( arg0 . num ) ; C loc1 = den . multiply ( arg0 . den ) ; return ne...
1,950
returns an array of sortedmap objects . the sortedmap object key is the columnname and the value is the columnvalue . sortedmap was created using the case_insensitive_order comparator so the key is the case insensitive representation of the columnname . concode_field_sep boolean isLimited concode_elem_sep String[] colu...
SortedMap [ ] function ( ) { if ( rowMap == null ) { return null ; } return ( SortedMap [ ] ) rowMap . toArray ( new SortedMap [ 0 ] ) ; }
1,951
appends a rectangle to the current path as a complete subpath . concode_field_sep List<Subpath> subpaths concode_elem_sep String START_PATH_ERR_MSG concode_elem_sep Point2D currentPoint concode_field_sep Point2D getCurrentPoint concode_elem_sep void curveTo concode_elem_sep void curveTo concode_elem_sep boolean isEmpty...
void function ( final float arg0 , final float arg1 , final float arg2 , final float arg3 ) { moveTo ( arg0 , arg1 ) ; lineTo ( arg0 + arg2 , arg1 ) ; lineTo ( arg0 + arg2 , arg1 + arg3 ) ; lineTo ( arg0 , arg1 + arg3 ) ; closeSubpath ( ) ; }
1,952
cierra el libro y retorna numero paginas para finalizar concode_field_sep String dimensiones concode_elem_sep int numeroPaginas concode_elem_sep String titulo concode_elem_sep String colorPortada concode_elem_sep String autor concode_elem_sep int marcador concode_field_sep void setColorPortada concode_elem_sep void set...
int function ( ) { return this . getNumeroPaginas ( ) - this . getMarcador ( ) ; }
1,953
compare to biginteger b. concode_field_sep java.math.BigInteger val concode_elem_sep BigInteger ONE concode_elem_sep BigInteger ZERO concode_elem_sep Random random concode_field_sep BigInteger IRAND concode_elem_sep boolean isField concode_elem_sep boolean isCommutative concode_elem_sep BigInteger gcd concode_elem_sep ...
int function ( BigInteger arg0 ) { return val . compareTo ( arg0 . val ) ; }
1,954
given a mouse accelerator , extract the button value . for use in synthesizing raw events . concode_field_sep boolean BUTTONS_REMAPPED concode_elem_sep int SECONDARY_BUTTON concode_elem_sep int BUTTON_MASK concode_elem_sep int PRIMARY_BUTTON concode_field_sep PlaybackSettings getPlaybackSettings
int function ( int arg0 ) { arg0 &= BUTTON_MASK ; if ( ( arg0 & SWT . BUTTON1 ) == SWT . BUTTON1 ) return MouseConfig . PRIMARY_BUTTON ; if ( ( arg0 & SWT . BUTTON2 ) == SWT . BUTTON2 ) return 2 ; if ( ( arg0 & SWT . BUTTON3 ) == SWT . BUTTON3 ) return MouseConfig . SECONDARY_BUTTON ; return 0 ; }
1,955
adds a string parameter to the request concode_field_sep Map<String,Object> mParameters concode_elem_sep String boundary concode_elem_sep OutputStream mOutput concode_elem_sep URLConnection mConnection concode_elem_sep Map<String,String> mCookies concode_elem_sep Random random concode_field_sep void boundary concode_el...
void function ( String arg0 , String arg1 ) { boundary ( ) ; writeName ( arg0 ) ; newline ( ) ; newline ( ) ; writeln ( arg1 ) ; }
1,956
returns a booleancomparator instance that sorts false values before true values . clients are encouraged to use the value returned from this method instead of constructing a new instance to reduce allocation and garbage collection overhead when multiple booleancomparators may be used in the same virtual machine . conco...
BooleanComparator function ( ) { return FALSE_FIRST ; }
1,957
trim the collections used in this ppt . concode_field_sep VarInfo[] var_infos concode_elem_sep List<Invariant> emptyInvList concode_elem_sep long serialVersionUID concode_field_sep VarInfo find_var_by_name concode_elem_sep int compare concode_elem_sep String swap concode_elem_sep String name concode_elem_sep String var...
void function ( ) { for ( VarInfo loc0 : var_infos ) { loc0 . trimToSize ( ) ; } }
1,958
adds part . concode_field_sep String CONFORMANCE concode_elem_sep String PART concode_field_sep void setConformance
void function ( XMPMeta arg0 , String arg1 ) { arg0 . setProperty ( XMPConst . NS_PDFA_ID , PdfAProperties . PART , arg1 ) ; }
1,959
create a name-not-found exception . concode_field_sep PlaceHolder placeHolder concode_field_sep Context createSubcontext concode_elem_sep void rebind concode_elem_sep void rebind concode_elem_sep void unbind concode_elem_sep void unbind concode_elem_sep boolean isEmpty concode_elem_sep String getLastComponent concode_e...
NameNotFoundException function ( final String arg0 , final Name arg1 ) { return NamingLogger . ROOT_LOGGER . nameNotFoundInContext ( arg0 , arg1 ) ; }
1,960
set player color . 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 boolean isTimerRunning concode_elem_sep Player activePlayer concode_elem_sep IMediator mediator concode_elem_sep Ti...
void function ( int arg0 , Color arg1 ) { if ( arg0 == 1 ) { playerOne . setColor ( arg1 ) ; } else { playerTwo . setColor ( arg1 ) ; } }
1,961
asynchronously executes the specified batch statement . inputs will be passed to the #handler once query succeed or failed . concode_field_sep AsyncResultHandler<T> handler concode_elem_sep AtomicInteger pending concode_elem_sep ExecutorService executorService concode_elem_sep Session session concode_elem_sep Logger LO...
SettableFuture < T > function ( final Statement arg0 , final T arg1 ) { return execAsync ( arg0 , arg1 , handler ) ; }
1,962
debug-ausgabe concode_field_sep Simple2DVisualization vis concode_elem_sep int SHIFT_AMOUNT concode_field_sep void keyPressed concode_elem_sep void keyReleased concode_elem_sep void keyTyped
void function ( Object arg0 ) { }
1,963
accesses this card 's suit . concode_field_sep int pointValue concode_elem_sep String rank concode_elem_sep String suit concode_field_sep int pointValue concode_elem_sep String rank concode_elem_sep String toString concode_elem_sep boolean matches
String function ( ) { return suit ; }
1,964
creates a box representing the glue type according to the `` glue rules '' based on the atom types between which the glue must be inserted . concode_field_sep float stretch concode_elem_sep float shrink concode_elem_sep Glue[] glueTypes concode_elem_sep String name concode_elem_sep float space concode_elem_sep int[][][...
Box function ( int arg0 , int arg1 , TeXEnvironment arg2 ) { int loc0 = ( arg0 > TeXConstants . TYPE_INNER ? TeXConstants . TYPE_ORDINARY : arg0 ) ; int loc1 = ( arg1 > TeXConstants . TYPE_INNER ? TeXConstants . TYPE_ORDINARY : arg1 ) ; int loc2 = glueTable [ loc0 ] [ loc1 ] [ arg2 . getStyle ( ) / 2 ] ; return glueTyp...
1,965
send a #verbose log message . concode_field_sep int WARN concode_elem_sep Boolean sDebugLoggingEnabledForTests concode_elem_sep Pattern DATE_CLEANUP_PATTERN_WRONG_TIMEZONE concode_elem_sep int VERBOSE concode_elem_sep int MAX_ENABLED_LOG_LEVEL concode_elem_sep int ERROR concode_elem_sep int DEBUG concode_elem_sep int I...
int function ( String arg0 , String arg1 , Object ... arg2 ) { if ( isLoggable ( arg0 , VERBOSE ) ) { return Log . v ( arg0 , String . arg1 ( arg1 , arg2 ) ) ; } return 0 ; }
1,966
create an floatlistiterator floatlistiterator wrappingthe specified listiterator listiterator . when the given iterator is null , returns null . concode_field_sep ListIterator _iterator concode_field_sep float next concode_elem_sep void add concode_elem_sep void set concode_elem_sep float previous concode_elem_sep bool...
FloatListIterator function ( ListIterator arg0 ) { return null == arg0 ? null : new ListIteratorFloatListIterator ( arg0 ) ; }
1,967
gets the value of the structure 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 structure property . for example , to add a new item , d...
List < ApplicationReleaseBinding > function ( ) { if ( structure == null ) { structure = new ArrayList < ApplicationReleaseBinding > ( ) ; } return this . structure ; }
1,968
test method for com.flatironschool.javacs.mylinearmap #put java.lang.object , java.lang.object . concode_field_sep Map<String,Integer> map concode_field_sep void testContainsValue concode_elem_sep void testClear concode_elem_sep void testKeySet concode_elem_sep void testGet concode_elem_sep void testIsEmpty concode_ele...
void function ( ) { map . put ( "srini_string" , 11 ) ; assertThat ( map . size ( ) , is ( 4 ) ) ; assertThat ( map . get ( "srini_string" ) , is ( 11 ) ) ; map . put ( "srini_string" , 5 ) ; assertThat ( map . size ( ) , is ( 5 ) ) ; assertThat ( map . get ( "srini_string" ) , is ( 5 ) ) ; }
1,969
check whether the log4j logger used is enabled for error priority . concode_field_sep String name concode_elem_sep boolean is12 concode_elem_sep Logger logger concode_elem_sep String FQCN concode_field_sep void warn concode_elem_sep void warn concode_elem_sep void trace concode_elem_sep void trace concode_elem_sep void...
boolean function ( ) { if ( is12 ) { return getLogger ( ) . isEnabledFor ( ( Priority ) Level . ERROR ) ; } else { return getLogger ( ) . isEnabledFor ( Level . ERROR ) ; } }
1,970
insert entity without transaction . concode_field_sep Object LOCK concode_elem_sep OpenHelper helper concode_elem_sep Map<Class<?>,AbstractModel<?>> modelMap concode_elem_sep Orm orm concode_field_sep T loadById concode_elem_sep int updateInTx concode_elem_sep int updateInTx concode_elem_sep boolean updateInTx concode_...
long function ( @ NonNull Class < T > arg0 , @ NonNull T arg1 ) { AbstractModel < T > loc0 = getModelInstanceOrThrow ( arg0 ) ; return loc0 . insert ( arg1 ) ; }
1,971
adds a reference to an embedded file . part of the richmediacontent . concode_field_sep PdfDictionary richMediaSettings concode_elem_sep PdfArray configurations concode_elem_sep PdfArray views concode_elem_sep HashMap<String,PdfIndirectReference> assetsmap concode_elem_sep PdfDictionary richMediaContent concode_elem_se...
PdfIndirectReference function ( String arg0 , PdfIndirectReference arg1 ) { if ( views == null ) throw new IllegalPdfSyntaxException ( "srini_string" ) ; assetsmap . put ( arg0 , arg1 ) ; return arg1 ; }
1,972
returns current position in output concode_field_sep int BUFFER_DEFAULT_LENGTH concode_elem_sep int actualSize concode_elem_sep byte[] buffer concode_elem_sep int position concode_field_sep void writeInt concode_elem_sep void writeLong concode_elem_sep byte[] getResult concode_elem_sep int getActualSize concode_elem_se...
int function ( ) { return position ; }
1,973
access to invoke a method on the class that this fast class handles concode_field_sep Class type concode_elem_sep Class[] EMPTY_CLASS_ARRAY concode_field_sep String getName concode_elem_sep int getIndex concode_elem_sep int getIndex concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep FastClas...
Object function ( String arg0 , Class [ ] arg1 , Object arg2 , Object [ ] arg3 ) { return this . invoke ( this . getIndex ( arg0 , arg1 ) , arg2 , arg3 ) ; }
1,974
returns whether this save helper did actually save any files . concode_field_sep boolean fFilesSaved concode_elem_sep int SAVE_ALL concode_elem_sep int SAVE_REFACTORING concode_elem_sep int fSaveMode concode_elem_sep int SAVE_NOTHING concode_elem_sep int SAVE_ALL_ALWAYS_ASK concode_field_sep void triggerIncrementalBuil...
boolean function ( ) { return fFilesSaved ; }
1,975
add an integrator to be applied to the bootstrap registry . concode_field_sep LinkedHashSet<Integrator> providedIntegrators concode_elem_sep List<ClassLoader> providedClassLoaders concode_elem_sep boolean autoCloseRegistry concode_elem_sep ClassLoaderService providedClassLoaderService concode_elem_sep StrategySelectorB...
BootstrapServiceRegistryBuilder function ( Integrator arg0 ) { providedIntegrators . add ( arg0 ) ; return this ; }
1,976
send ws_subscribe command to wsservice to subscribe to topic in websocket . concode_field_sep BroadcastReceiver mBroadcastReceiver concode_elem_sep WsManager sInstance concode_elem_sep long mHeartBeatPeriodInMillis concode_elem_sep String mPort concode_elem_sep boolean mIsLogOn concode_elem_sep WsCallbackListeners mWsC...
void function ( Context arg0 , String arg1 ) { arg0 . startService ( new Intent ( arg0 , WsService . class ) . putExtra ( Consts . WsConstant . WS_SUBSCRIBE , arg1 ) ) ; }
1,977
the nin operator is similar to $ in except that it selects objects for which the specified field does not have any value in the specified array . concode_field_sep List<Criteria> criteriaChain concode_elem_sep ValueNode left concode_elem_sep ValueNode right concode_elem_sep RelationalOperator criteriaType concode_field...
Criteria function ( Object ... arg0 ) { return nin ( Arrays . asList ( arg0 ) ) ; }
1,978
if the given object is no array , it 's tostring - method is invoked . primitive type - arrays and object - arrays are introspected using java.lang.reflect.array . convention for creation fo string - representation : concode_field_sep StringUtil instance concode_field_sep void listOfArraysToString concode_elem_sep Stri...
String function ( final Object arg0 ) { String loc0 = StringUtil . arrayToString ( arg0 , "srini_string" ) ; return loc0 ; }
1,979
returns the change used by this operation . this is either the change passed to the constructor or the one create by the createchangeoperation . method returns null if the create operation did not create a corresponding change or has n't been executed yet . concode_field_sep Change fChange concode_elem_sep Change fUndo...
Change function ( ) { return fChange ; }
1,980
currently defaultkeyfactory returns just first element of list . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder
String function ( List < Object > arg0 ) { if ( arg0 . size ( ) != 1 ) throw new RuntimeException ( "srini_string" ) ; return ( String ) arg0 . get ( 0 ) ; }
1,981
return a base64-encoded string value as a byte array . concode_field_sep JSONObject object concode_field_sep JSONArray parseJSONArray concode_elem_sep JSONArray parseJSONArray concode_elem_sep org.json.simple.JSONArray getArray concode_elem_sep void put concode_elem_sep boolean remove concode_elem_sep void throwIfField...
byte [ ] function ( String arg0 ) { String loc0 = ( String ) this . object . get ( arg0 ) ; if ( loc0 == null ) { return null ; } return Base64 . decodeBase64 ( loc0 ) ; }
1,982
gets the value of the translation property . concode_field_sep String translation concode_elem_sep Language language concode_field_sep Language getLanguage concode_elem_sep void setTranslation concode_elem_sep void setLanguage
String function ( ) { return translation ; }
1,983
provides a string representation of this instance suitable for human consumption . concode_field_sep Date date concode_elem_sep Map<String,String> variantMap concode_elem_sep StatusLine statusLine concode_elem_sep HeaderGroup responseHeaders concode_elem_sep Resource resource concode_elem_sep Date requestDate concode_e...
String function ( ) { return "srini_string" + this . requestDate + "srini_string" + this . responseDate + "srini_string" + this . statusLine + "srini_string" ; }
1,984
returns how close randoop is to being done , as a percentage between 0 and 100 . concode_field_sep int sequencesGenerated concode_elem_sep double percentDone concode_elem_sep int errorsRevealed concode_elem_sep long serialVersionUID concode_field_sep int getSequencesGenerated concode_elem_sep int getNumErrors
double function ( ) { return percentDone ; }
1,985
moves pos and lookat forward in the map plane concode_field_sep VectorXYZ pos concode_elem_sep VectorXYZ lookAt concode_elem_sep VectorXYZ up concode_field_sep void moveMapRight concode_elem_sep void setCamera concode_elem_sep void setCamera concode_elem_sep void moveForward concode_elem_sep void move concode_elem_sep ...
void function ( double arg0 ) { VectorXYZ loc0 = getViewDirection ( ) ; VectorXZ loc1 = new VectorXZ ( loc0 . x , loc0 . z ) . normalize ( ) ; move ( loc1 . x * arg0 , 0 , loc1 . z * arg0 ) ; }
1,986
create a graph . this is just another method for creating the graph data structure . concode_field_sep Vertex[] nodes concode_elem_sep int CONST_m1 concode_elem_sep int CONST_b concode_elem_sep int RANGE concode_field_sep int random concode_elem_sep int mult concode_elem_sep void addEdges concode_elem_sep int computeDi...
void function ( int arg0 ) { nodes = new Vertex [ arg0 ] ; Vertex loc0 = null ; for ( int loc1 = arg0 - 1 ; loc1 >= 0 ; loc1 -- ) { Vertex loc2 = nodes [ loc1 ] = new Vertex ( loc0 , arg0 ) ; loc0 = loc2 ; } addEdges ( arg0 ) ; }
1,987
convert the abstract location into a concrete area , relative to the given component . if a point has been specified , returns a 1x1 rectangle , otherwise returns the a rectangle at 0 , 0 of the component 's size . concode_field_sep Point where concode_elem_sep String CENTER concode_field_sep Point getPoint concode_ele...
Rectangle function ( Component arg0 ) { if ( where == null ) return new Rectangle ( 0 , 0 , arg0 . getWidth ( ) , arg0 . getHeight ( ) ) ; return new Rectangle ( where . x , where . y , 1 , 1 ) ; }
1,988
returns a boolean indicating if the x ordinate value of the projcoordinate provided as an ordinate is equal to the x ordinate value of this projcoordinate . because we are working with floating point numbers the ordinates are considered equal if the difference between them is less than the specified tolerance . concode...
boolean function ( ProjCoordinate arg0 , double arg1 ) { double loc0 = arg0 . x - this . x ; if ( loc0 > arg1 ) { return false ; } else { return true ; } }
1,989
determines if a candidate reflectclass is a collection concode_field_sep GenericArrayReflector _array concode_elem_sep Collection4 _collectionPredicates concode_elem_sep Hashtable4 _classByClass concode_elem_sep ObjectContainerBase _stream concode_elem_sep KnownClassesRepository _repository concode_elem_sep Transaction...
boolean function ( ReflectClass arg0 ) { Iterator4 loc0 = _collectionPredicates . iterator ( ) ; while ( loc0 . moveNext ( ) ) { if ( ( ( ReflectClassPredicate ) loc0 . current ( ) ) . match ( arg0 ) ) { return true ; } } return _delegate . isCollection ( arg0 . getDelegate ( ) ) ; }
1,990
decrypt the encrypted jwt concode_field_sep List<String> audiences concode_elem_sep Object decryptionKey concode_elem_sep boolean signed concode_elem_sep Object verifyKey concode_field_sep boolean verifyAudiences concode_elem_sep AuthToken decodeFromBytes concode_elem_sep boolean verifyToken concode_elem_sep boolean is...
void function ( EncryptedJWT arg0 ) { try { JWEDecrypter loc0 = getDecrypter ( ) ; arg0 . decrypt ( loc0 ) ; } catch ( JOSEException | KrbException loc0 ) { throw new IOException ( "srini_string" , loc0 ) ; } }
1,991
is this instant after the millisecond instant passed in comparing solely by millisecond . concode_field_sep PlaceHolder placeHolder concode_field_sep MutableDateTime toMutableDateTime concode_elem_sep MutableDateTime toMutableDateTime concode_elem_sep MutableDateTime toMutableDateTime concode_elem_sep Date toDate conco...
boolean function ( long arg0 ) { return ( getMillis ( ) > arg0 ) ; }
1,992
set to allow tcp or not . concode_field_sep KdcConfig kdcConfig concode_elem_sep BackendConfig backendConfig concode_elem_sep InternalKdcServer innerKdc concode_elem_sep KOptions startupOptions concode_elem_sep KdcSetting kdcSetting concode_field_sep void init concode_elem_sep void enableDebug concode_elem_sep void set...
void function ( boolean arg0 ) { startupOptions . add ( KdcServerOption . ALLOW_TCP , arg0 ) ; }
1,993
checking if the value of y is larger than variable ground . concode_field_sep int HEIGHT concode_elem_sep int JUMP concode_elem_sep int x concode_elem_sep int y concode_elem_sep int ground concode_elem_sep int WIDTH concode_elem_sep int moveY concode_elem_sep int DOWN concode_field_sep boolean isPassed concode_elem_sep...
boolean function ( ) { if ( y > ground - 5 ) { y = ground + 5 ; return true ; } else { return false ; } }
1,994
initializes resources . this must be called before dashboardresources #getresources . this allows us to avoid an evil static initializer that would pollute all the getresources call sites . concode_field_sep Resources resources concode_field_sep String graphOuterDiv concode_elem_sep Resources getResources concode_elem_...
void function ( ) { resources = GWT . create ( Resources . class ) ; StyleInjector . inject ( resources . dashboardCss ( ) . getText ( ) + resources . latencyDashboardChartCss ( ) . getText ( ) + resources . rightPieChartCss ( ) . getText ( ) + resources . warningPaneCss ( ) . getText ( ) ) ; }
1,995
returns a scheduledexecutorservice that wraps ables before submission to the passed in scheduledexecutorservice . concode_field_sep Field causeField concode_field_sep void handleException concode_elem_sep StackTraceElement[] getStackContext concode_elem_sep Throwable findRootCause concode_elem_sep Callable<T> makeConte...
ScheduledExecutorService function ( final ScheduledExecutorService arg0 ) { return new ContextScheduledExecutorService ( arg0 ) ; }
1,996
attempts to transform the object against the map of numbertransformers . otherwise it returns double.nan . concode_field_sep NumberTransformer defaultTransformer concode_elem_sep Map map concode_elem_sep long serialVersionUID concode_field_sep boolean containsTransformer concode_elem_sep Collection transformers concode...
double function ( Object arg0 ) { double loc0 = Double . NaN ; if ( arg0 instanceof Number || arg0 instanceof String ) { loc0 = defaultTransformer . transform ( arg0 ) ; } else { NumberTransformer loc1 = getTransformer ( arg0 . getClass ( ) ) ; if ( loc1 != null ) { loc0 = loc1 . transform ( arg0 ) ; } } return loc0 ; ...
1,997
returns a transaction id which is based on tid calculated the same all the time . variables which are part of the calculation are inet local host address . xid format is static value 4660 . concode_field_sep byte[] gtrid concode_elem_sep int formatId concode_elem_sep byte[] localIP concode_elem_sep byte[] bqual concode...
Xid function ( int arg0 ) { int loc0 = 0 ; int loc1 = arg0 ; int loc2 = 42 ; return getXid ( loc0 , loc1 , loc2 ) ; }
1,998
lock the chain so no more iterators can be added . this must be called from all iterator interface methods . concode_field_sep Iterator lastUsedIterator concode_elem_sep boolean isLocked concode_elem_sep Iterator currentIterator concode_elem_sep List iteratorChain concode_elem_sep int currentIteratorIndex concode_field...
void function ( ) { if ( isLocked == false ) { isLocked = true ; } }
1,999
adds a return . concode_field_sep List<NativeSQLQueryReturn> queryReturns concode_elem_sep String name concode_field_sep String getName concode_elem_sep NativeSQLQueryReturn[] getQueryReturns concode_elem_sep String traceLoggableFormat
void function ( NativeSQLQueryReturn arg0 ) { queryReturns . add ( arg0 ) ; }