code
stringlengths
20
663
nl
stringlengths
68
7.19k
IProject function ( Statechart arg0 ) { return ResourcesPlugin . getWorkspace ( ) . getRoot ( ) . getFile ( new Path ( arg0 . eResource ( ) . getURI ( ) . toPlatformString ( true ) ) ) . getProject ( ) ; }
get the iproject containing the given statechart concode_field_sep SGenFactory factory concode_field_sep void setDefaultValue concode_elem_sep FeatureParameterValue createParameterValue concode_elem_sep FeatureConfiguration createDefaultFeatureConfiguration concode_elem_sep boolean projectExists concode_elem_sep Featur...
void function ( ) { Record . memoryRecords ++ ; nPrimaryNode = null ; }
performs any required operation for unlinking the row from its nodes . is used only when the database row is deleted , not when it is freed from the cache . concode_field_sep Node nPrimaryNode concode_elem_sep Object oData[] concode_field_sep Row newRow concode_elem_sep Row getUpdatedRow concode_elem_sep boolean isDele...
void function ( ) { if ( contentLength != - 1 ) { headers . removeAll ( "srini_string" ) ; contentLength = - 1 ; } }
remove the content-length headers . call this when dropping the body on a request or response , such as when a redirect changes the method from post to get . concode_field_sep boolean onlyIfCached concode_elem_sep RawHeaders headers concode_elem_sep String transferEncoding concode_elem_sep String acceptEncoding concode...
RuleChain function ( TestRule arg0 ) { return emptyRuleChain ( ) . around ( arg0 ) ; }
returns a rulechain with a single testrule . this method is the usual starting point of a rulechain . concode_field_sep RuleChain EMPTY_CHAIN concode_elem_sep List<TestRule> rulesStartingWithInnerMost concode_field_sep RuleChain emptyRuleChain concode_elem_sep Statement apply concode_elem_sep RuleChain outerRule concod...
InetAddress function ( ) { return mRemoteAddress ; }
returns the network address of the remote host or null if thestream is not associated . concode_field_sep int mLocalPort concode_elem_sep int MODE_RECEIVE_ONLY concode_elem_sep InetAddress mLocalAddress concode_elem_sep int MODE_NORMAL concode_elem_sep int MODE_LAST concode_elem_sep int mNative concode_elem_sep int mRe...
void function ( String arg0 ) { this . description = arg0 ; }
sets the description attribute of the data source . concode_field_sep String description concode_elem_sep String dataSourceName concode_elem_sep String password concode_elem_sep String serverName concode_elem_sep int loginTimeout concode_elem_sep String user concode_elem_sep String networkProtocol concode_elem_sep Prin...
Executable function ( ) { return executable ; }
if the execution has already started , return the executable that was created . concode_field_sep SubTask work concode_elem_sep Executor executor concode_elem_sep WorkUnitContext context concode_elem_sep Executable executable concode_field_sep void setExecutable concode_elem_sep Executor getExecutor concode_elem_sep St...
void function ( java . util . Date arg0 ) { myRow . setColumn ( "srini_string" , arg0 ) ; }
set end date for the policy concode_field_sep String TYPE_INHERITED concode_elem_sep Context myContext concode_elem_sep String TYPE_CUSTOM concode_elem_sep String TYPE_WORKFLOW concode_elem_sep TableRow myRow concode_elem_sep String TYPE_SUBMISSION concode_elem_sep Logger log concode_field_sep java.util.Date getStartDa...
void function ( String arg0 , Object arg1 ) { mMap . put ( arg0 , arg1 ) ; }
put value . concode_field_sep Map<String,Object> mMap concode_field_sep JSONObject getObject concode_elem_sep Iterator<String> keys concode_elem_sep double getDouble concode_elem_sep JSONArray getArray concode_elem_sep float getFloat concode_elem_sep String getString concode_elem_sep void writeJSON concode_elem_sep lon...
boolean function ( ) { return isPaused ; }
checks to see if the clock is currently paused . concode_field_sep boolean isPaused concode_elem_sep float excessCycles concode_elem_sep float millisPerCycle concode_elem_sep int elapsedCycles concode_elem_sep long lastUpdate concode_field_sep boolean peekElapsedCycle concode_elem_sep boolean hasElapsedCycle concode_el...
ErrorManager function ( ) { LogManager . getLogManager ( ) . checkAccess ( ) ; return this . errorMan ; }
gets the error manager used by this handler to report errors during logging . concode_field_sep Level DEFAULT_LEVEL concode_elem_sep Formatter formatter concode_elem_sep Filter filter concode_elem_sep ErrorManager errorMan concode_elem_sep Level level concode_elem_sep String prefix concode_elem_sep String encoding conc...
void function ( GUID arg0 ) { if ( arg0 == null ) return ; store . removeLink ( this . id , roleVisualizedById , arg0 ) ; }
removes the link from this instance through role `` visualized by '' to the given instance , if the link exists . if there is no such link , nothing happens . if the given instance is null , nothing happens . concode_field_sep GUID roleTargetShapeListId concode_elem_sep GUID roleTargetShapeId concode_elem_sep GUID role...
String function ( ) { return NAME ; }
return the name of this custom tag . concode_field_sep String HEADER concode_elem_sep String NAME concode_field_sep boolean inPackage concode_elem_sep boolean inOverview concode_elem_sep boolean inMethod concode_elem_sep boolean inField concode_elem_sep boolean inConstructor concode_elem_sep String toString concode_ele...
Runnable function ( final int arg0 ) { return new Runnable ( ) { public void run ( ) { try { E loc0 = getInput ( ) . get ( arg0 ) ; if ( processInput ( loc0 ) ) taskDone ( arg0 ) ; else return ; } catch ( IndexOutOfBoundsException loc0 ) { return ; } } } ; }
factory method that creates a runnable task that will process one node of the input list at location index in a background task provided by the executor . concode_field_sep List<E> mInput concode_elem_sep AtomicLong mCurrentCycle concode_elem_sep Executor mExecutor concode_field_sep void taskDone concode_elem_sep List<...
FieldRf function ( Class < ? > arg0 ) { this . clazz = arg0 ; return this ; }
set the class type concode_field_sep String name concode_elem_sep Class<?> clazz concode_elem_sep Object object concode_field_sep Object getValue concode_elem_sep FieldRf field concode_elem_sep void in concode_elem_sep Field getField concode_elem_sep T out
String function ( String arg0 ) { try { InputStream loc0 = getClass ( ) . getResourceAsStream ( arg0 ) ; String loc1 = IOUtils . toString ( loc0 ) ; loc0 . close ( ) ; return loc1 ; } catch ( Exception loc0 ) { throw new RuntimeException ( loc0 ) ; } }
reads a system resource fully into a string concode_field_sep AWSCredentialsProviderChain chain concode_elem_sep AWSCredentials credentials concode_elem_sep String TEST_CREDENTIALS_PROFILE_NAME concode_elem_sep String propertiesFilePath concode_field_sep AWSCredentials getCredentials concode_elem_sep void setUpCredenti...
void function ( int arg0 ) { this . inboundBlogs = arg0 ; }
sets number of inbound blogs . concode_field_sep String atomUrl concode_elem_sep int inboundBlogs concode_elem_sep int inboundLinks concode_elem_sep Date lastUpdate concode_elem_sep String name concode_elem_sep Integer rank concode_elem_sep Integer lang concode_elem_sep String url concode_elem_sep String rssUrl concode...
void function ( Filter arg0 , Map arg1 ) { init ( arg0 ) ; if ( arg1 != null ) { this . props . putAll ( arg1 ) ; } }
initialize an abstract rable from src , bounds and props . this can be called long after the object is constructed to reset the state of the renderable . concode_field_sep Map props concode_elem_sep Vector srcs concode_elem_sep long stamp concode_field_sep Object getProperty concode_elem_sep boolean isDynamic concode_e...
String function ( String arg0 , Object [ ] arg1 ) { return localizableSupport . formatMessage ( arg0 , arg1 ) ; }
implements org.apache.batik.i18n.localizable #formatmessage string , object . concode_field_sep LocalizableSupport localizableSupport concode_elem_sep String RESOURCES concode_field_sep Locale getLocale concode_elem_sep void setLocale
void function ( ) { if ( ( variable == null ) || ( variableFile == null ) ) return ; try { getVariables ( ) . save ( variableFile ) ; } catch ( IOException loc0 ) { Bukkit . getLogger ( ) . log ( Level . SEVERE , "srini_string" + variableFile , loc0 ) ; } }
save variables file concode_field_sep YamlConfiguration variable concode_elem_sep File variableFile concode_elem_sep File boardFile concode_elem_sep YamlConfiguration board concode_field_sep FileConfiguration getVariables concode_elem_sep void reloadBoard concode_elem_sep FileConfiguration getBoard concode_elem_sep voi...
void function ( PrintStream arg0 , float [ ] arg1 , String arg2 , int arg3 ) { arg0 . print ( getTagOpen ( arg2 , arg3 ) ) ; for ( int loc0 = 0 ; loc0 < arg1 . length - 1 ; loc0 ++ ) { arg0 . print ( arg1 [ loc0 ] + "srini_string" ) ; } arg0 . println ( arg1 [ arg1 . length - 1 ] + getTagClose ( arg2 , 0 ) ) ; }
writes an array of floats . concode_field_sep int INDENTION_STEP concode_field_sep void writeInt concode_elem_sep String getIndentString concode_elem_sep String getTagClose concode_elem_sep void writeIntBuffer concode_elem_sep void writeStringArray concode_elem_sep void writeTuple4f concode_elem_sep String getTagOpen c...
boolean function ( String arg0 ) { if ( ( arg0 != null ) && ( ! arg0 . equals ( Constants . EMPTYSTRING ) ) ) { final StringTokenizer loc0 = new StringTokenizer ( arg0 ) ; while ( loc0 . hasMoreTokens ( ) ) { if ( ! XML11Char . isXML11ValidQName ( loc0 . nextToken ( ) ) ) { return false ; } } } return true ; }
checks if the string is valid list of qnames concode_field_sep char filesep concode_field_sep String pathName concode_elem_sep String getPrefix concode_elem_sep String replace concode_elem_sep String replace concode_elem_sep String noExtName concode_elem_sep Type getJCRefType concode_elem_sep String internalName concod...
void function ( String arg0 ) { this . callNumber = arg0 ; }
sets call number . concode_field_sep String startPage concode_elem_sep String itemVolume concode_elem_sep String bibId concode_elem_sep String customerCode concode_elem_sep Integer requestId concode_elem_sep String requestNotes concode_elem_sep String chapterTitle concode_elem_sep String trackingId concode_elem_sep Str...
void function ( com . liferay . lms . model . CheckP2pMailing arg0 ) { getPersistence ( ) . cacheResult ( arg0 ) ; }
caches the check p2p mailing in the entity cache if it is enabled . concode_field_sep CheckP2pMailingPersistence _persistence concode_field_sep int countAll concode_elem_sep List<CheckP2pMailing> findWithDynamicQuery concode_elem_sep List<CheckP2pMailing> findWithDynamicQuery concode_elem_sep List<CheckP2pMailing> find...
String function ( ) { return id ; }
gets the id . concode_field_sep String description concode_elem_sep String id concode_elem_sep String title concode_elem_sep String version concode_elem_sep String appsString concode_elem_sep List<Application> applications concode_field_sep String getVersion concode_elem_sep String getTitle concode_elem_sep void setVer...
void function ( ) { Assert . assertFalse ( DateUtil . isValidFormatDate ( null , FORMAT ) ) ; }
tests the dateutil #isvalidformatdate method for the given year.must return false . concode_field_sep String FORMAT concode_elem_sep int ELEVEN concode_elem_sep int TEN concode_elem_sep DateTime TESTDATE concode_field_sep void runsBeforeTheTestSuite concode_elem_sep void calculateAgeFromYear concode_elem_sep void isVal...
StackFrame function ( Long arg0 ) { for ( Iterator loc0 = contexts . loc0 ( ) ; loc0 . hasNext ( ) ; ) { Context loc1 = ( Context ) loc0 . next ( ) ; ContextData loc2 = ( ContextData ) loc1 . getDebuggerContextData ( ) ; StackFrame loc3 = loc2 . getFrame ( arg0 ) ; if ( loc3 != null ) return loc3 ; } return null ; }
returns the debugframe with the given id from the first context containing such a frame . returns null if no such frame exists with the given id . concode_field_sep Long threadId concode_elem_sep RhinoDebuggerImpl debugger concode_elem_sep long currentFrameId concode_elem_sep long currentContextId concode_elem_sep Link...
void function ( final Message arg0 ) { LOGGER . info ( "srini_string" ) ; final OutboundEvent loc0 = new OutboundEvent . Builder ( ) . id ( String . valueOf ( nextMessageId . getAndIncrement ( ) ) ) . mediaType ( MediaType . APPLICATION_JSON_TYPE ) . data ( Message . class , arg0 ) . build ( ) ; broadcaster . broadcast...
put a new message to the stream . the message will be broadcast to all registered sse clients . concode_field_sep AtomicLong nextMessageId concode_elem_sep SseBroadcaster broadcaster concode_elem_sep Logger LOGGER concode_field_sep EventOutput getMessageStream concode_elem_sep void onException
void function ( java . lang . String arg0 ) { this . country = arg0 ; }
sets the country value for this getcountryavailability_parameterstype . concode_field_sep java.lang.String country concode_elem_sep uk.co.graydon.ws.GraydonDataService.types.Authentication_ParametersType authentication_Parameters concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc con...
void function ( ) { Entry loc0 [ ] = table ; for ( int loc1 = loc0 . length ; -- loc1 >= 0 ; ) loc0 [ loc1 ] = null ; count = 0 ; }
clear the hashtable of entries . concode_field_sep Entry next concode_elem_sep Entry table[] concode_elem_sep Entry entry concode_elem_sep float loadFactor concode_elem_sep int index concode_elem_sep int count concode_elem_sep int threshold concode_elem_sep Object value concode_elem_sep int key concode_elem_sep int has...
Enrollment function ( ) { return enrollment ; }
returns an instance of enrollment with the properties you have set . concode_field_sep Enrollment enrollment concode_field_sep EnrollmentBuilder withPreferredAlertTime concode_elem_sep EnrollmentBuilder withStatus concode_elem_sep EnrollmentBuilder withExternalId concode_elem_sep EnrollmentBuilder withMetadata concode_...
EntityManager function ( ) { try { EntityManagerFactory loc0 = Persistence . createEntityManagerFactory ( "srini_string" ) ; return loc0 . createEntityManager ( ) ; } catch ( Throwable loc0 ) { System . err . println ( "srini_string" + loc0 ) ; throw new ExceptionInInitializerError ( loc0 ) ; } }
builds the entitymanager . only needed to run once and set to private so it ca n't be ran again . concode_field_sep EntityManager entityManger concode_field_sep EntityManager getEntityManager concode_elem_sep void shutdown
void function ( ) { for ( int loc0 = 0 ; loc0 < REMOVE_FRAME_LISTENER_RACY_NUM_TESTS ; loc0 ++ ) { feedFrame ( 0 ) ; eglRenderer . addFrameListener ( testFrameListener , 0f ) ; eglRenderer . removeFrameListener ( testFrameListener ) ; feedFrame ( 1 ) ; } assertFalse ( testFrameListener . waitForBitmap ( RENDER_WAIT_MS ...
checks that the frame listener will not be called after it is removed . concode_field_sep int TEST_FRAME_WIDTH concode_elem_sep int REMOVE_FRAME_LISTENER_RACY_NUM_TESTS concode_elem_sep TestFrameListener testFrameListener concode_elem_sep ArrayList<Bitmap> bitmaps concode_elem_sep EglRenderer eglRenderer concode_elem_s...
void function ( String arg0 ) { this . policy = arg0 ; }
the policy for this queue concode_field_sep Integer delaySeconds concode_elem_sep String amazonSQSEndpoint concode_elem_sep String messageAttributeNames concode_elem_sep Integer maximumMessageSize concode_elem_sep String secretKey concode_elem_sep boolean extendMessageVisibility concode_elem_sep Integer defaultVisibili...
boolean function ( Spannable arg0 , PositionIterator arg1 , boolean arg2 ) { final int loc0 = arg1 . following ( getSelectionEnd ( arg0 ) ) ; if ( loc0 != PositionIterator . DONE ) { if ( arg2 ) { arg2 ( arg0 , loc0 ) ; } else { setSelection ( arg0 , loc0 ) ; } } return true ; }
@hide concode_field_sep int DONE concode_elem_sep Object SELECTION_START concode_elem_sep Object SELECTION_END concode_field_sep int getSelectionStart concode_elem_sep boolean extendUp concode_elem_sep boolean extendLeft concode_elem_sep boolean extendRight concode_elem_sep int findEdge concode_elem_sep boolean moveDow...
Class < ? > function ( Class < ? > arg0 ) { return getTypeParameter ( arg0 , Object . class ) ; }
finds the type parameter for the given class . concode_field_sep PlaceHolder placeHolder concode_field_sep Class<T> determineClass
void function ( ) { Session [ ] loc0 = getAllSessions ( ) ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { loc0 [ loc1 ] . close ( ) ; } }
closes all sessions registered with this sessionmanager . concode_field_sep Session sysLobSession concode_elem_sep long sessionIdCount concode_elem_sep LongKeyHashMap sessionMap concode_elem_sep Session sysSession concode_field_sep void removeSession concode_elem_sep Session getSysSessionForScript concode_elem_sep Sess...
String function ( ) { return id ; }
gets the timezone id used to identify this time zone in the javacode . concode_field_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep String getUseDaylightTime concode_elem_sep String getLocation concode_elem_sep boolea...
Object function ( ) { return cred ; }
gets client credentials for authentication process . concode_field_sep Object cred concode_elem_sep UUID clientId concode_elem_sep UUID destId concode_elem_sep GridRestCommand cmd concode_elem_sep InetSocketAddress addr concode_elem_sep byte[] sesTok concode_field_sep UUID clientId concode_elem_sep void clientId concod...
String function ( ) { return CloudSim . getEntityName ( getId ( ) ) ; }
gets the name of a resource . concode_field_sep int OTHER_POLICY_DIFFERENT_RATING concode_elem_sep int SPACE_SHARED concode_elem_sep String os concode_elem_sep double timeZone concode_elem_sep int ADVANCE_RESERVATION concode_elem_sep double costPerBw concode_elem_sep int OTHER_POLICY_SAME_RATING concode_elem_sep double...
boolean function ( ) { return this . exception != null ; }
for use in async rpc clients concode_field_sep IOException exception concode_elem_sep AtomicReference<RpcCallback<Object>> cancellationCb concode_elem_sep AtomicReference<RpcCallback<IOException>> failureCb concode_elem_sep boolean cancelled concode_elem_sep Integer callTimeout concode_field_sep String errorText concod...
DiscoveryNode function ( ) { return currentNode ; }
returns the currently assigned node , or null if the shard is unassigned . concode_field_sep ShardRouting shardRouting concode_elem_sep ShardAllocationDecision shardAllocationDecision concode_elem_sep DiscoveryNode currentNode concode_elem_sep ClusterInfo clusterInfo concode_elem_sep DiscoveryNode relocationTargetNode ...
ExtensionRegistryLite function ( ) { return EMPTY ; }
get the unmodifiable singleton empty instance . concode_field_sep boolean eagerlyParseMessageSets concode_elem_sep int number concode_elem_sep Map<ObjectIntPair,GeneratedMessageLite.GeneratedExtension<?,?>> extensionsByNumber concode_elem_sep ExtensionRegistryLite EMPTY concode_elem_sep Object object concode_field_sep ...
String function ( ) { return name ; }
the user 's registered full name e.g. keith donald . may be null if not exposed/supported by the provider . concode_field_sep String firstName concode_elem_sep String lastName concode_elem_sep String name concode_elem_sep String id concode_elem_sep String email concode_elem_sep UserProfile EMPTY concode_elem_sep String...
Coordinate function ( ) { return currentLine . getCoordinateN ( vertexIndex ) ; }
gets the first coordinate of the current segment . the coordinate of the currentvertex . concode_field_sep int vertexIndex concode_elem_sep Geometry linearGeom concode_elem_sep int numLines concode_elem_sep int componentIndex concode_elem_sep double segmentFraction concode_elem_sep LineString currentLine concode_field_...
String function ( ) { return properties . get ( SIP_GATEWAY_PNAME ) ; }
returns pre-configured xmpp address of sip gateway or null if no info was passed in the config . concode_field_sep Logger logger concode_elem_sep String CHANNEL_LAST_N_PNAME concode_elem_sep String ADAPTIVE_LAST_N_PNAME concode_elem_sep String BRIDGE_PNAME concode_elem_sep String ENABLE_FIREFOX_HACKS_PNAME concode_elem...
B function ( double arg0 ) { this . llx = arg0 ; __set ( 1 ) ; return ( B ) this ; }
set the value of the javafx.scene.effect.perspectivetransform #getllx llx property for the instance constructed by this builder . concode_field_sep double ulx concode_elem_sep javafx.scene.effect.Effect input concode_elem_sep double lry concode_elem_sep double lrx concode_elem_sep double uly concode_elem_sep int __set ...
boolean function ( Time arg0 ) { return ( from . before ( arg0 ) || from . equals ( arg0 ) ) && ( to . after ( arg0 ) || to . equals ( arg0 ) ) ; }
if the provided time is within this time span . time & tg ; = from & & time < = to concode_field_sep int MIN_HOUR concode_elem_sep int hour concode_elem_sep int MAX_HOUR concode_elem_sep Time from concode_elem_sep List<TimeSpan> timesOfDay concode_elem_sep Time to concode_elem_sep int[] daysOfWeek concode_elem_sep int ...
void function ( String arg0 ) { this . redirectTarget = arg0 ; }
sets the redirect target . concode_field_sep AutodiscoverResponseType responseType concode_elem_sep String Settings concode_elem_sep String accountType concode_elem_sep AlternateMailboxCollection alternateMailboxes concode_elem_sep String RedirectAddr concode_elem_sep String RedirectUrl concode_elem_sep String redirect...
void function ( String arg0 , long arg1 ) { attributes . put ( arg0 . toUpperCase ( ) , arg1 + "srini_string" ) ; }
sets an attribute of the parser for later use - note users of the parsercontext can set and get useful attributes from here concode_field_sep String PROCESS concode_elem_sep ParserContext parent concode_elem_sep Stack path concode_elem_sep HashMap<String,Object> attributes concode_elem_sep ArrayList listeners concode_e...
void function ( Object arg0 ) { if ( ! isDisabled ( ) ) { print ( String . valueOf ( arg0 ) ) ; } }
prints the message passed as a non-string object . concode_field_sep OutputStream output concode_elem_sep String LINE_SEPARATOR concode_elem_sep boolean disabled concode_field_sep void printLine concode_elem_sep void printLine concode_elem_sep void printLine concode_elem_sep void formatLine concode_elem_sep void setDis...
Set < T > function ( T arg0 ) { return cols . get ( arg0 ) ; }
the set of a such that a is related to b. concode_field_sep Set<T> index concode_elem_sep Map<T,Set<T>> rows concode_elem_sep Map<T,Set<T>> cols concode_field_sep void setN1 concode_elem_sep void transitiveClosure concode_elem_sep Iterator<PairEntry<T,T>> pairEntry concode_elem_sep void set concode_elem_sep void set11 ...
void function ( DataQuery arg0 ) { this . query = arg0 ; String loc0 = arg0 . getFilters ( ) ; if ( loc0 != null ) { originalFilter = loc0 ; } else { originalFilter = "srini_string" ; } }
sets the dataquery object . also if the query has a filter , the filter is stored in the originalfilter member and will be prepended to each query later on . if no filter has been set , the originalfilter is set to the empty string . concode_field_sep String originalFilter concode_elem_sep int indexCounter concode_elem...
boolean function ( Node arg0 , String arg1 ) { Assert . notNull ( arg0 , "srini_string" ) ; Assert . notNull ( arg1 , "srini_string" ) ; return nodeNameMatch ( arg0 , arg1 ) ; }
namespace-aware equals comparison . returns true if either node #getlocalname or node #getnodename equals desiredname , otherwise returns false . concode_field_sep PlaceHolder placeHolder concode_field_sep String getTextValue concode_elem_sep boolean nodeNameMatch concode_elem_sep boolean nodeNameMatch concode_elem_sep...
void function ( ) { root = new TreeNode ( 5 ) ; root . left = new TreeNode ( 4 ) ; root . right = new TreeNode ( 6 ) ; root . left . left = new TreeNode ( 3 ) ; root . left . right = new TreeNode ( 7 ) ; root . right . left = new TreeNode ( 8 ) ; }
method creates a sample tree 5 4 6 3 7 8 concode_field_sep int data concode_elem_sep TreeNode left concode_elem_sep TreeNode root concode_elem_sep TreeNode right concode_field_sep void main concode_elem_sep void iterativePreorder
String function ( ) { return requesterName ; }
returns the name of the requester the volunteer is walking . concode_field_sep long timeRequired concode_elem_sep int score concode_elem_sep String requesterName concode_elem_sep String name concode_elem_sep double[] start concode_elem_sep double[] destination concode_elem_sep Location finalLocation concode_elem_sep Lo...
JsonSchemaNode function ( ) { return parent ; }
getter for the field parent . concode_field_sep JsonSchemaNode parent concode_elem_sep Boolean required concode_elem_sep String name concode_elem_sep LinkedHashMap<String,JsonSchemaNode> properties concode_elem_sep String type concode_elem_sep LinkedHashSet<JsonSchemaNode> arrayItems concode_elem_sep JSONObject object ...
RegisterVolumeResult function ( String arg0 ) { setVolumeId ( arg0 ) ; return this ; }
the volume id . concode_field_sep String volumeId concode_field_sep int hashCode concode_elem_sep void setVolumeId concode_elem_sep boolean equals concode_elem_sep RegisterVolumeResult clone concode_elem_sep String toString concode_elem_sep String getVolumeId
void function ( String arg0 ) { this . comment = arg0 ; }
sets the value of the comment property . concode_field_sep String continent concode_elem_sep String elevation concode_elem_sep String gazref concode_elem_sep String country concode_elem_sep String mod concode_elem_sep String ctv concode_elem_sep String dimensionality concode_elem_sep BigInteger start concode_elem_sep S...
void function ( ) { final SwingWorker loc0 = new SwingWorker ( ) { public Object construct ( ) { current = 0 ; done = false ; canceled = false ; dialogMessage = null ; return new ActualTask ( ) ; } } ; loc0 . setThreadPriority ( Thread . NORM_PRIORITY ) ; loc0 . start ( ) ; }
start the task , start searching the document for the pattern . concode_field_sep boolean wholeWord concode_elem_sep int totalHitCount concode_elem_sep SwingController controller concode_elem_sep SearchPanel searchPanel concode_elem_sep int lengthOfTask concode_elem_sep boolean caseSensitive concode_elem_sep String dia...
InternalFactory < ? extends T > function ( Key < T > arg0 , InjectorImpl arg1 , InternalFactory < ? extends T > arg2 , Scoping arg3 ) { if ( arg3 . isNoScope ( ) ) { return arg2 ; } Scope loc0 = arg3 . getScopeInstance ( ) ; Provider < T > loc1 = loc0 . loc0 ( arg0 , new ProviderToInternalFactoryAdapter < T > ( arg1 , ...
scopes an internal factory . concode_field_sep Scope SINGLETON concode_elem_sep Scope NO_SCOPE concode_field_sep Scoping makeInjectable concode_elem_sep String toString concode_elem_sep String toString
void function ( ) { NormalDistributionFunction2D loc0 = new NormalDistributionFunction2D ( 1.0 , 2.0 ) ; NormalDistributionFunction2D loc1 = new NormalDistributionFunction2D ( 1.0 , 2.0 ) ; assertEquals ( loc0 . hashCode ( ) , loc1 . hashCode ( ) ) ; }
objects that are equal should have the same hash code otherwise findbugs will tell on us ... concode_field_sep double EPSILON concode_field_sep void testSerialization concode_elem_sep void testConstructor concode_elem_sep void testEquals
long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , com . liferay . portal . kernel . dao . orm . Projection arg1 ) { return _meetupsEntryLocalService . dynamicQueryCount ( arg0 , arg1 ) ; }
returns the number of rows matching the dynamic query . concode_field_sep MeetupsEntryLocalService _meetupsEntryLocalService concode_field_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep MeetupsEntryLocalService getWrappedMe...
void function ( ) { if ( log . isInfoEnabled ( ) ) { log . info ( "srini_string" ) ; } }
handlestorage interface method - not implemented . concode_field_sep Logger log concode_field_sep void init concode_elem_sep void updateValue concode_elem_sep void checkpointDatabase concode_elem_sep void createHandle concode_elem_sep byte[][] getRawHandleValues concode_elem_sep void scanNAs concode_elem_sep Enumeratio...
int function ( ) { return port ; }
get port used to connect to server . concode_field_sep int port concode_elem_sep String hostname concode_field_sep String getHostname concode_elem_sep void setHostname concode_elem_sep void setPort
BundleContext function ( ) { return context ; }
returns the bundle context of this bundle concode_field_sep BundleContext context concode_elem_sep Logger logger concode_field_sep void stop concode_elem_sep void start
void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , javax . xml . stream . XMLStreamWriter arg3 ) { if ( arg0 . equals ( "srini_string" ) ) { arg3 . writeAttribute ( arg1 , arg2 ) ; } else { registerPrefix ( arg3 , arg0 ) ; arg3 . writeAttribute ( arg0 , arg1 , arg2 ) ; }...
util method to write an attribute without the ns prefix concode_field_sep com.amazon.ec2.DeleteSecurityGroupResponseType localDeleteSecurityGroupResponse concode_elem_sep javax.xml.namespace.QName MY_QNAME concode_field_sep com.amazon.ec2.DeleteSecurityGroupResponseType getDeleteSecurityGroupResponse concode_elem_sep j...
EnterpriseBeanBinding function ( ) { return new EnterpriseBeanBinding ( ) ; }
create an instance of enterprisebeanbinding concode_field_sep QName _MessageDrivenBeanBinding_QNAME concode_elem_sep QName _EnterpriseBeanBinding_QNAME concode_elem_sep QName _CMPConnectionFactoryBinding_QNAME concode_elem_sep QName _EJBJarBinding_QNAME concode_field_sep CMPConnectionFactoryBinding createCMPConnectionF...
ClientReliableTopicConfig function ( int arg0 ) { this . readBatchSize = checkPositive ( arg0 , "srini_string" ) ; return this ; }
sets the read batch size . the reliabletopic tries to read a batch of messages from the ringbuffer . it will get at least one , but if there are more available , then it will try to get more to increase throughput . the minimal read batch size can be influenced using the read batch size . apart from influencing the num...
void function ( ) { m_exposure = "srini_string" ; m_exposureValue = - 1 ; m_needSettingsUpdate = true ; }
set the exposure to auto aperature . concode_field_sep int m_height concode_elem_sep String ATTR_EX_MODE concode_elem_sep String ATTR_BR_VALUE concode_elem_sep boolean m_useJpeg concode_elem_sep int m_width concode_elem_sep int m_id concode_elem_sep String ATTR_VIDEO_MODE concode_elem_sep String m_exposure concode_elem...
void function ( ) { changed = false ; }
clear the changed flag in the snapshot operations concode_field_sep boolean changed concode_field_sep void setChanged concode_elem_sep void snapshot concode_elem_sep void snapshot concode_elem_sep boolean changed
void function ( ) { Check . condition ( false , CHECK_MESSAGE ) ; }
test check #condition boolean , string in failure scenario . concode_field_sep String CHECK_MESSAGE concode_field_sep void testNonNullFailure1 concode_elem_sep void testConditionFailure1 concode_elem_sep void testNonNullFailure2 concode_elem_sep void testSuccess
boolean function ( ) { return size == 0 ; }
returns true if this map contains no key-value mappings . concode_field_sep Entry next concode_elem_sep int size concode_elem_sep int threshold concode_elem_sep TableStorePage value concode_elem_sep Entry[] table concode_elem_sep long key concode_field_sep TableStorePage add concode_elem_sep void transfer concode_elem_...
boolean function ( ) { return this . pos < this . len ; }
are there any characters left to parse ? concode_field_sep int pos concode_elem_sep int len concode_elem_sep boolean lowerCaseNames concode_elem_sep int i1 concode_elem_sep int i2 concode_elem_sep char[] chars concode_field_sep void setLowerCaseNames concode_elem_sep String getToken concode_elem_sep String parseQuotedT...
CefPrintSettings function ( ) { return CefPrintSettings_N . createNative ( ) ; }
create a new cefprintsettings object . concode_field_sep PlaceHolder placeHolder concode_field_sep void setOrientation concode_elem_sep ColorModel getColorModel concode_elem_sep boolean isValid concode_elem_sep boolean willCollate concode_elem_sep void setColorModel concode_elem_sep DuplexMode getDuplexMode concode_ele...
void function ( int arg0 ) { if ( arg0 >= size ) throw new IndexOutOfBoundsException ( "srini_string" + arg0 + "srini_string" + size ) ; }
check if the given index is in range . if not , throw an arrayindexoutofboundsexception . concode_field_sep short NULL_VALUE concode_elem_sep int FILE_BUFFER_SIZE concode_elem_sep Object[] buffer concode_elem_sep int size concode_elem_sep BufferedRandomAccessFile randomAccessFile concode_elem_sep List segmentOffsets co...
void function ( String arg0 , String arg1 ) { wtf ( arg0 , arg1 , null ) ; }
prints a message at assert priority . concode_field_sep int ERROR concode_elem_sep int VERBOSE concode_elem_sep int WARN concode_elem_sep int NONE concode_elem_sep int ASSERT concode_elem_sep int DEBUG concode_elem_sep LogNode mLogNode concode_elem_sep int INFO concode_field_sep void println concode_elem_sep void print...
Bitmap function ( ) { return this . thumb ; }
get thumb image concode_field_sep Bitmap thumb concode_elem_sep Drawable icon concode_elem_sep int actionId concode_elem_sep boolean sticky concode_elem_sep Spanned title concode_elem_sep String type concode_elem_sep boolean selected concode_field_sep int getActionId concode_elem_sep void setSelected concode_elem_sep v...
void function ( STClrAppMethod arg0 ) { this . meth = arg0 ; }
sets the value of the meth property . concode_field_sep STHueDir hueDir concode_elem_sep List<Object> egColorChoice concode_elem_sep STClrAppMethod meth concode_field_sep STClrAppMethod getMeth concode_elem_sep void setHueDir concode_elem_sep STHueDir getHueDir concode_elem_sep List<Object> getEGColorChoice
E function ( ) { return takeOut ( true ) ; }
choose an item according to priority distribution and take it out of the bag concode_field_sep float RELATIVE_THRESHOLD concode_elem_sep AtomicInteger forgettingRate concode_elem_sep BagObserver<E> bagObserver concode_field_sep void play concode_elem_sep void reprocess concode_elem_sep E pickOut concode_elem_sep Collec...
ThreadFactoryBuilder function ( String arg0 ) { String . format ( arg0 , 0 ) ; this . nameFormat = arg0 ; return this ; }
sets the naming format to use when naming threads thread #setname which are created with this threadfactory . concode_field_sep Boolean daemon concode_elem_sep UncaughtExceptionHandler uncaughtExceptionHandler concode_elem_sep Integer priority concode_elem_sep String nameFormat concode_elem_sep ThreadFactory backingThr...
String function ( final Object arg0 ) { final Double loc0 = ( Double ) arg0 ; return loc0 . toString ( ) ; }
converts the attribute to a string . concode_field_sep PlaceHolder placeHolder concode_field_sep Object toPropertyValue
String function ( ) { return name ; }
returns an entry name concode_field_sep ChmCommons.EntryType entryType concode_elem_sep int offset concode_elem_sep String name concode_elem_sep int length concode_elem_sep int name_length concode_field_sep void setName concode_elem_sep int getNameLength concode_elem_sep void setLength concode_elem_sep void setEntryTyp...
String function ( ) { return setSpec ; }
gets the value of the setspec property . concode_field_sep String setName concode_elem_sep long serialVersionUID concode_elem_sep List<DescriptionType> setDescription concode_elem_sep String setSpec concode_field_sep void setSetSpec concode_elem_sep void setSetName concode_elem_sep List<DescriptionType> getSetDescripti...
String function ( ) { return this . groupName ; }
the name of the security group . concode_field_sep String ownerAlias concode_elem_sep String groupName concode_field_sep void setGroupName concode_elem_sep SourceSecurityGroup withGroupName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep SourceSecurityGroup clone concode_elem_sep String t...
void function ( String arg0 ) { TRACE ( 0 , System . currentTimeMillis ( ) , arg0 ) ; }
convenience method to print a message using app start time and current time as yardsticks . concode_field_sep long mStartTime concode_field_sep void DIALOG concode_elem_sep void ERROR concode_elem_sep void TIME concode_elem_sep void TIME concode_elem_sep void DEBUG concode_elem_sep void WARN
CTSlideViewProperties function ( ) { return slideViewPr ; }
gets the value of the slideviewpr property . concode_field_sep CTSlideSorterViewProperties sorterViewPr concode_elem_sep CTNotesTextViewProperties notesTextViewPr concode_elem_sep CTNotesViewProperties notesViewPr concode_elem_sep CTSlideViewProperties slideViewPr concode_elem_sep CTOutlineViewProperties outlineViewPr ...
int function ( ) { return dims . length ; }
returns the number of dimensions . concode_field_sep int[] dims concode_elem_sep boolean[] periods concode_elem_sep int[] coords concode_field_sep int getDim concode_elem_sep int getCoord concode_elem_sep boolean getPeriod
void function ( ) { }
called before each record is read . concode_field_sep boolean instrumentationEnabled concode_elem_sep Optional<Timer> extractorTimer concode_elem_sep MetricContext metricContext concode_elem_sep Optional<Meter> dataRecordExceptionsMeter concode_elem_sep Optional<Meter> readRecordsMeter concode_elem_sep Closer closer co...
void function ( ErrorNode arg0 ) { }
the default implementation does nothing . concode_field_sep PlaceHolder placeHolder concode_field_sep void enterIfStmt concode_elem_sep void enterWhileStmt concode_elem_sep void exitBlockStmt concode_elem_sep void enterProg concode_elem_sep void enterIntExpr concode_elem_sep void enterPrintStmt concode_elem_sep void ex...
void function ( PacketBuffer arg0 ) { arg0 . writeString ( this . message ) ; }
writes the raw packet data to the data stream . concode_field_sep String message concode_field_sep String getMessage concode_elem_sep void processPacket concode_elem_sep void readPacketData
void function ( ) { FileSystem . mkdirs ( hdfs , path , FsPermission . createImmutable ( ( short ) 0700 ) ) ; SnapshotTestHelper . createSnapshot ( hdfs , path , snapshotName ) ; exception . expect ( SnapshotAccessControlException . class ) ; hdfs . setXAttr ( snapshotPath , name1 , value1 ) ; }
assert exception of setting xattr on read-only snapshot . concode_field_sep String name1 concode_elem_sep MiniDFSCluster cluster concode_elem_sep Path snapshotPath2 concode_elem_sep byte[] value1 concode_elem_sep String name2 concode_elem_sep Path snapshotPath3 concode_elem_sep Configuration conf concode_elem_sep int S...
void function ( ) { stringTable = new byte [ 4096 ] [ ] ; for ( int loc0 = 0 ; loc0 < 256 ; loc0 ++ ) { stringTable [ loc0 ] = new byte [ 1 ] ; stringTable [ loc0 ] [ 0 ] = ( byte ) loc0 ; } tableIndex = 258 ; bitsToGet = 9 ; }
initialize the string table . concode_field_sep int nextBits concode_elem_sep int dstIndex concode_elem_sep int bytePointer concode_elem_sep int h concode_elem_sep byte[][] stringTable concode_elem_sep byte[] data concode_elem_sep int[] andTable concode_elem_sep int samplesPerPixel concode_elem_sep int bitsToGet concod...
LogicalExpression function ( List < LogicalExpression > arg0 , boolean arg1 ) { final LogicalExpression loc0 = ValueExpressions . getInt ( 0 ) ; return createHashExpression ( arg0 , loc0 , HASH_HELPER_LOGICALEXPRESSION , arg1 ) ; }
return a hash expression : hash32 field1 , hash32 field2 , hash32 field3 , 0 ; concode_field_sep String HASH32_DOUBLE_FUNCTION_NAME concode_elem_sep String HASH_EXPR_NAME concode_elem_sep String HASH32_FUNCTION_NAME concode_elem_sep int DIST_SEED concode_elem_sep HashExpressionCreatorHelper<LogicalExpression> HASH_HELP...
int function ( ) { return m_score ; }
returns the score . concode_field_sep int m_score concode_elem_sep Date m_dateCreated concode_elem_sep int m_memorySize concode_elem_sep String m_documentType concode_elem_sep String m_path concode_elem_sep Date m_dateLastModified concode_elem_sep Map<String,String> m_fields concode_elem_sep String m_excerpt concode_fi...
List < ManifestFile > function ( ) { return added ; }
getter for the list of new files , that were added to the project . concode_field_sep List<ManifestFile> deleted concode_elem_sep List<ManifestFile> added concode_elem_sep List<ManifestFile> changed concode_field_sep List<ManifestFile> deletedFiles concode_elem_sep List<ManifestFile> changedFiles concode_elem_sep boole...
void function ( String arg0 ) { this . encoding = arg0 ; }
sets the value of the encoding property . concode_field_sep String organization concode_elem_sep String authority concode_elem_sep long serialVersionUID concode_elem_sep String type concode_elem_sep String encoding concode_elem_sep String value concode_field_sep String getEncoding concode_elem_sep String getValue conco...
void function ( int arg0 , long arg1 ) { if ( mSize != 0 && arg0 <= mKeys [ mSize - 1 ] ) { put ( arg0 , arg1 ) ; return ; } int loc0 = mSize ; if ( loc0 >= mKeys . length ) { growKeyAndValueArrays ( loc0 + 1 ) ; } mKeys [ loc0 ] = arg0 ; mValues [ loc0 ] = arg1 ; mSize = loc0 + 1 ; }
puts a key/value pair into the array , optimizing for the case where the key is greater than all existing keys in the array . concode_field_sep int[] mKeys concode_elem_sep int mSize concode_elem_sep long[] mValues concode_field_sep void growKeyAndValueArrays concode_elem_sep int keyAt concode_elem_sep void clear conco...
void function ( ) { }
report the end of a cdata section . this method is empty . concode_field_sep boolean inDTD concode_elem_sep String OPEN_TAG_COMMENT concode_elem_sep String CLOSE_TAG_COMMENT concode_elem_sep ArrayList comment concode_field_sep void startCDATA concode_elem_sep void clearComments concode_elem_sep void startEntity concode...
void function ( AssertionInfo arg0 , short [ ] arg1 , short [ ] arg2 ) { arrays . assertContainsOnlyOnce ( arg0 , failures , arg1 , arg2 ) ; }
asserts that the given array contains only once the given values . concode_field_sep Arrays arrays concode_elem_sep Failures failures concode_elem_sep ShortArrays INSTANCE concode_field_sep void assertEndsWith concode_elem_sep void assertStartsWith concode_elem_sep ShortArrays instance concode_elem_sep void assertNullO...