code stringlengths 20 663 | nl stringlengths 68 7.19k |
|---|---|
Movie function ( Movie arg0 ) { Movie loc0 = new Movie ( ) ; for ( Track loc1 : arg0 . getTracks ( ) ) { loc0 . addTrack ( new ChangeTimeScaleTrack ( loc1 , timeScale , ismvBuilder . getFragmentIntersectionFinder ( ) . sampleNumbers ( loc1 , arg0 ) ) ) ; } return loc0 ; } | returns a new movie in that all tracks have the timescale 10000000 . cts & dts are modified in a way that even with more than one framerate the fragments exactly begin at the same time . concode_field_sep Logger LOG concode_elem_sep ManifestWriter manifestWriter concode_elem_sep boolean debugOutput concode_elem_sep Fil... |
void function ( int arg0 ) { this . accounts . get ( arg0 ) . printTransHistory ( ) ; } | print transaction history for a particular account . concode_field_sep String firstName concode_elem_sep String lastName concode_elem_sep byte pinHash[] concode_elem_sep ArrayList<Account> accounts concode_elem_sep String uuid concode_field_sep boolean validatePin concode_elem_sep void printAccountsSummary concode_elem... |
void function ( RenderManager arg0 ) { this . renderManager = arg0 ; sessionId = FacesContext . getCurrentInstance ( ) . getExternalContext ( ) . getSession ( false ) . toString ( ) ; arg0 . getOnDemandRenderer ( sessionId ) . add ( this ) ; } | sets the application render manager reference and creates a new on demand render for this session id . concode_field_sep Log log concode_elem_sep long PROCCESS_SLEEP_LENGTH concode_elem_sep OutputProgressModel outputProgressModel concode_elem_sep OutputProgressModel ouputProgressModel concode_elem_sep PersistentFacesSt... |
boolean function ( javax . xml . stream . XMLStreamReader arg0 ) { boolean loc0 = false ; try { loc0 = java . lang . Boolean . TRUE . equals ( arg0 . getProperty ( org . apache . axiom . om . OMConstants . IS_DATA_HANDLERS_AWARE ) ) ; } catch ( java . lang . IllegalArgumentException loc1 ) { loc0 = false ; } return loc... | isreadermtomaware concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.ResetSnapshotAttributeResponseType localResetSnapshotAttributeResponse concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep void writeQName... |
ListNode function ( int arg0 ) { if ( arg0 < 1 ) { return null ; } else if ( arg0 == 1 ) { return this ; } else if ( next == null ) { return null ; } else { return next . ptrTo ( arg0 - 1 ) ; } } | ptrto returns a reference to the node at the given position . if position the number of nodes in the list , returns null . assumes the list is acyclic . concode_field_sep ListNode next concode_elem_sep Keyable item concode_field_sep placeholderType placeHolder |
org . apache . axis . encoding . Serializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanSerializer ( arg1 , arg2 , typeDesc ) ; } | get custom serializer concode_field_sep java.lang.String country concode_elem_sep java.lang.String businessPartnerId concode_elem_sep java.lang.String clientId concode_elem_sep java.lang.String address2 concode_elem_sep java.lang.String city concode_elem_sep java.lang.String address1 concode_elem_sep boolean __hashCode... |
void function ( ) { initializeData ( ) ; } | utility method that resets the auction item list . this used for demo purposes as the auction items may need to be reset if the bids become too large or have expired . concode_field_sep ArrayList<AuctionItem> auctionItems concode_field_sep void initializeData concode_elem_sep boolean bidOnAuctionItem concode_elem_sep L... |
void function ( int arg0 ) { this . missingPosValueBehavior = arg0 ; } | set behavior for getstring string , string method when a positional index like % 4 is used but no subs value was given for that index . set to one of refcapablepropertyresourcebundle.throw _ behavior refcapablepropertyresourcebundle.emptystring _ behavior refcapablepropertyresourcebundle.noop _ behavior the first value... |
void function ( Integer arg0 ) { this . collectionGroupId = arg0 ; } | sets collection group id . concode_field_sep String owningInstitutionItemId concode_elem_sep String lastUpdatedBy concode_elem_sep String cgdChangeLog concode_elem_sep Integer collectionGroupId concode_elem_sep List<BibliographicEntity> bibliographicEntities concode_elem_sep String callNumberType concode_elem_sep Strin... |
Object [ ] function ( ) { return head ; } | returns the head buffer segment or null if the list is empty . concode_field_sep Object[] head concode_elem_sep int size concode_elem_sep Object[] tail concode_elem_sep int indexInTail concode_elem_sep int capacityHint concode_field_sep void add concode_elem_sep int size concode_elem_sep Object[] tail concode_elem_sep ... |
void function ( ) { isClosed = true ; } | this method frees the blob object and releases the resources that it holds . the object is invalid once the free method is called . after free has been called , any attempt to invoke a method other than free will result in a sqlexception being thrown . if free is called multiple times , the subsequent calls to free are... |
void function ( String arg0 , String arg1 ) { assertNotNull ( "srini_string" , arg0 ) ; assertNotNull ( "srini_string" , arg1 ) ; if ( arg0 . contains ( arg1 ) ) { fail ( "srini_string" + arg1 + "srini_string" + arg0 + "srini_string" ) ; } } | asserts that string contains specified substring . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertContains concode_elem_sep void assertSameEntries |
int function ( ) { return unsafe . addressSize ( ) ; } | returns the native architecture 's address size in bytes . concode_field_sep Unsafe unsafe concode_elem_sep long address concode_elem_sep int pageSize concode_elem_sep ByteOrder byteOrder concode_elem_sep long allocationAddress concode_field_sep NativeObject getObject concode_elem_sep long address concode_elem_sep byte... |
AddonsManager function ( ) { ArtifactoryContext loc0 = ContextHelper . get ( ) ; return loc0 . beanForType ( AddonsManager . class ) ; } | get addon manager from application context concode_field_sep Logger log concode_field_sep void updateResponseWithLicenseInstallResult concode_elem_sep void updateFeedbackMessage concode_elem_sep void execute |
String function ( ) { if ( this . strToDate == null ) this . strToDate = CommonFunction . defaultToDate ( ) ; return this . strToDate ; } | method gettodate . concode_field_sep String strAccount concode_elem_sep StringMatrix mtxProductList concode_elem_sep String strProject concode_elem_sep String[] arrIdList concode_elem_sep int intCurrentPage concode_elem_sep StringMatrix mtxTypeList concode_elem_sep String[] arrComment concode_elem_sep String strToDate ... |
void function ( String arg0 ) { word = arg0 ; } | set the value for the label if one is stored . concode_field_sep String DIVIDER concode_elem_sep String tag concode_elem_sep String word concode_elem_sep long serialVersionUID concode_elem_sep LabelFactory lf concode_field_sep LabelFactory factory concode_elem_sep void read concode_elem_sep WordTag valueOf concode_elem... |
void function ( MimeType arg0 ) { this . mimeType = arg0 ; } | sets the value of the mimetype property . concode_field_sep byte[] bytes concode_elem_sep String name concode_elem_sep WsDocument nextDocument concode_elem_sep String absolutePath concode_elem_sep MimeType mimeType concode_field_sep void setBytes concode_elem_sep void setName concode_elem_sep void setNextDocument conco... |
String function ( ) { return conf . getJar ( ) ; } | get the pathname of the job 's jar . concode_field_sep JobID jobId concode_elem_sep Credentials credentials concode_elem_sep UserGroupInformation ugi concode_elem_sep org.apache.hadoop.mapred.JobConf conf concode_field_sep String[] toTimestampStrs concode_elem_sep JobID getJobID concode_elem_sep Path[] getLocalCacheArc... |
int function ( ) { return 2 ; } | maintenance drop number . optional identifier used to designate maintenance drop applied to a specific release and contains fixes for defects reported . it maintains compatibility with the release and contains no api changes . when missing , it designates the final and complete development drop for a release . concode_... |
void function ( ) { CLEvent . waitFor ( lastWriteEvent ) ; lastWriteEvent = null ; } | wait until all write operations are completed so that the data is readable . concode_field_sep CLEvent[] EMPTY_EVENTS concode_elem_sep List<Listener> listeners concode_elem_sep List<CLEvent> readEvents concode_elem_sep CLEvent lastWriteEvent concode_field_sep void writing concode_elem_sep CLEvent clearEvents concode_el... |
void function ( Errors arg0 , Date arg1 ) { if ( arg1 == null ) { return ; } rejectIfFutureDate ( arg0 , arg1 , "srini_string" ) ; } | checks if the death date is in the future . concode_field_sep Logger log concode_elem_sep PersonNameValidator personNameValidator concode_elem_sep PersonAddressValidator personAddressValidator concode_field_sep void validateBirthDate concode_elem_sep boolean supports concode_elem_sep void rejectDateIfBefore120YearsAgo ... |
Actions function ( WebElement arg0 , Keys arg1 ) { action . addAction ( new KeyDownAction ( keyboard , mouse , ( Locatable ) arg0 , arg1 ) ) ; return this ; } | performs a modifier key press after focusing on an element . equivalent to : actions.click element . sendkeys thekey ; concode_field_sep Mouse mouse concode_elem_sep Keyboard keyboard concode_elem_sep WebDriver driver concode_elem_sep CompositeAction action concode_field_sep Actions release concode_elem_sep Actions rel... |
void function ( InputStream arg0 ) { try { if ( arg0 != null ) { arg0 . close ( ) ; } } catch ( IOException loc0 ) { } } | unconditionally close an inputstream . equivalent to inputstream #close , except any exceptions will be ignored . this is typically used in finally blocks . concode_field_sep int DEFAULT_BUFFER_SIZE concode_field_sep int copy concode_elem_sep long copyLarge |
void function ( ) { focusCandidates . clear ( ) ; focusTargetListeners . clear ( ) ; focusTargetTimers . clear ( ) ; focusTargets . clear ( ) ; } | disposes this focusmanager . concode_field_sep Map<VRComponent,Float> focusCandidates concode_elem_sep Map<VRComponent,List<FocusListener>> focusTargetListeners concode_elem_sep Set<VRComponent> focusTargets concode_elem_sep FocusManager instance concode_elem_sep Map<VRComponent,Timer> focusTargetTimers concode_field_s... |
boolean function ( ) { int loc0 = this . elected ; int loc1 = this . oldelected ; int loc2 = this . lbfactor ; if ( loc2 > 0 ) { this . lbstatus = ( ( loc0 - loc1 ) * 1000 ) / loc2 ; } this . oldelected = loc0 ; return loc0 != loc1 ; } | update the load balancing status . concode_field_sep int lbfactor concode_elem_sep int elected concode_elem_sep int lbstatus concode_elem_sep int oldelected concode_field_sep void elected concode_elem_sep int getLbStatus concode_elem_sep int getElectedDiff concode_elem_sep int getElected concode_elem_sep void updateLoa... |
int function ( CommandLine arg0 , String arg1 , int arg2 ) { String loc0 = arg0 . getOptionValue ( arg1 ) ; try { if ( loc0 != null ) { return Integer . parseInt ( loc0 ) ; } } catch ( NumberFormatException loc1 ) { LOG . error ( "srini_string" + loc0 + "srini_string" + arg1 + "srini_string" + arg2 ) ; } return arg2 ; ... | extracts an integer argument with specified default value . concode_field_sep MiniDFSCluster dfs concode_elem_sep long SLEEP_INTERVAL_MS concode_elem_sep int nameNodeHttpPort concode_elem_sep Log LOG concode_elem_sep int nameNodePort concode_elem_sep String writeDetails concode_elem_sep int numDataNodes concode_elem_se... |
int function ( ) { return _keHoachKiemDemNuoc . getIdNguoiDong ( ) ; } | returns the id nguoi dong of this ke hoach kiem dem nuoc . concode_field_sep KeHoachKiemDemNuoc _keHoachKiemDemNuoc concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.util.Date getNgayXuatBan concode_e... |
String function ( ) { return BUNDLE_CLASSNAME ; } | returns the resource bundle base name . concode_field_sep int current concode_elem_sep LocalizableSupport localizableSupport concode_elem_sep NormalizingReader reader concode_elem_sep String BUNDLE_CLASSNAME concode_elem_sep ErrorHandler errorHandler concode_field_sep String formatMessage concode_elem_sep void skipComm... |
void function ( String arg0 , String arg1 ) { TopicName loc0 = TopicName . create ( arg0 , arg1 ) ; Publisher loc1 = Publisher . defaultBuilder ( loc0 ) . build ( ) ; try { } finally { loc1 . shutdown ( ) ; } } | example of creating a publisher . concode_field_sep Publisher publisher concode_field_sep Publisher createPublisherWithCustomCredentials concode_elem_sep Publisher getPublisherWithCustomRetrySettings concode_elem_sep ApiFuture<String> publish concode_elem_sep Publisher getSingleThreadedPublisher concode_elem_sep Publis... |
String function ( ) { return street ; } | gets the value of the street property . concode_field_sep String zipCode concode_elem_sep String city concode_elem_sep String countryCd concode_elem_sep String stateProvince concode_elem_sep String isActive concode_elem_sep String poBox concode_elem_sep String addressTypeCd concode_elem_sep String buildingNum concode_e... |
boolean function ( ) { return ( message . getReceivedDate ( ) != null ) ; } | method for checking if the message has a received date field . concode_field_sep Message message concode_field_sep String getReceivedDate concode_elem_sep boolean hasFrom concode_elem_sep String getSubject concode_elem_sep String getBcc concode_elem_sep String getReplyTo concode_elem_sep String getBody concode_elem_sep... |
String function ( String arg0 , String arg1 , String arg2 ) { return HttpUtil . executeUrl ( "srini_string" , arg0 , IOUtils . toInputStream ( arg2 ) , arg1 , 1000 ) ; } | send out a post-http request . errors will be logged , returned values just ignored . concode_field_sep String CONTENT_TYPE_JSON concode_field_sep String sendHttpGetRequest concode_elem_sep String sendHttpPutRequest concode_elem_sep String sendHttpPutRequest concode_elem_sep String sendHttpDeleteRequest |
void function ( JAXBElement < String > arg0 ) { this . opspassword = arg0 ; } | sets the value of the opspassword property . concode_field_sep JAXBElement<String> opstenantname concode_elem_sep JAXBElement<String> tenantName concode_elem_sep JAXBElement<String> ip concode_elem_sep JAXBElement<String> opsusername concode_elem_sep JAXBElement<String> opspassword concode_field_sep void setTenantName ... |
String function ( ) { return address ; } | gets the address concode_field_sep java.util.Date date concode_elem_sep Float number concode_elem_sep Long parent concode_elem_sep Simple other concode_elem_sep String address concode_elem_sep String name concode_elem_sep int count concode_elem_sep Long id concode_field_sep void setName concode_elem_sep void init conco... |
ReferenceType function ( ) { return new ReferenceType ( ) ; } | create an instance of referencetype concode_field_sep QName _Copyright_QNAME concode_field_sep ProteinType.AlternativeName createProteinTypeAlternativeName concode_elem_sep SourceType createSourceType concode_elem_sep EvidencedStringType createEvidencedStringType concode_elem_sep PersonType createPersonType concode_ele... |
void function ( String arg0 ) { this . aliasArn = arg0 ; } | lambda function arn that is qualified using alias name as the suffix . for example , if you create an alias `` beta '' pointing to a helloworld function version , the arn is arn : aws : lambda : aws-regions : acct-id : function : helloworld : beta . constraints : pattern : arn : aws : lambda : a-z 2 - a-z + - \ d 1 : \... |
Entry function ( ISelection arg0 ) { IStructuredSelection loc0 = ( IStructuredSelection ) arg0 ; Object loc1 = loc0 . getFirstElement ( ) ; if ( loc1 == null ) return null ; return ( ( EntryEditPart ) loc1 ) . resolveSemanticElement ( ) ; } | unwraps the given selection concode_field_sep Entry entry concode_field_sep EntryKind getEntryKind concode_elem_sep void selectionChanged concode_elem_sep void run |
void function ( ) { room = new Room ( ) ; } | reset room state concode_field_sep Room room concode_field_sep List<Event> listEvents concode_elem_sep void sigin concode_elem_sep void sendMessage concode_elem_sep void signout concode_elem_sep List<Profile> getProfiles concode_elem_sep boolean isValidToken |
void function ( ) { sCInterface . clearEvents ( ) ; } | this method resets the incoming events time events included . concode_field_sep boolean event1 concode_elem_sep long myVar concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean return_ID concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_elem_sep boolean event2 concode_fiel... |
DetailAST function ( DetailAST arg0 ) { DetailAST loc0 = arg0 . getParent ( ) ; while ( loc0 . getNextSibling ( ) != null && loc0 . getNextSibling ( ) . getType ( ) == TokenTypes . ANNOTATION ) { loc0 = loc0 . getNextSibling ( ) ; } return loc0 . getLastChild ( ) ; } | finds and returns last annotation node . concode_field_sep IndentationCheck indentCheck concode_elem_sep int indentLevel concode_elem_sep DetailAST lastNode concode_elem_sep DetailAST firstNode concode_elem_sep boolean forceStrictCondition concode_field_sep DetailAST getLastNode concode_elem_sep void logWarningMessage ... |
JSONObject function ( String arg0 ) { JSONObject loc0 = new JSONObject ( ) ; if ( arg0 != null ) { try { loc0 . put ( "srini_string" , arg0 ) ; } catch ( JSONException loc1 ) { throw new FacebookException ( "srini_string" , loc1 ) ; } } return loc0 ; } | creates a jsonobject for an open graph action that is suitable for posting . concode_field_sep String[] dateFormats concode_field_sep boolean isOpenGraphObjectForPost concode_elem_sep JSONObject createOpenGraphObjectForPost concode_elem_sep JSONObject createOpenGraphObjectForPost |
Point function ( final int arg0 , final int arg1 , final int arg2 , final Point arg3 ) { return projectGeoPoint ( arg0 * 1E-6 , arg1 * 1E-6 , arg2 , arg3 ) ; } | mercator projection of geopoint at given zoom level concode_field_sep double DEG2RAD concode_field_sep double tile2lat concode_elem_sep BoundingBoxE6 getBoundingBoxFromPointInMapTile concode_elem_sep BoundingBoxE6 getBoundingBoxFromCoords concode_elem_sep GeoPoint projectPoint concode_elem_sep double tile2lon |
String function ( ) { String loc0 ; try { loc0 = InetAddress . getLocalHost ( ) . getCanonicalHostName ( ) ; } catch ( UnknownHostException loc1 ) { LOG . warn ( "srini_string" + "srini_string" * "srini_string" , loc1 ) ; loc0 = LOCALHOST ; } return loc0 ; } | determine the local hostname ; retrieving it from cache if it is known if we can not determine our host name , return `` localhost '' concode_field_sep String cachedHostname concode_elem_sep String cachedHostAddress concode_elem_sep String LOCALHOST concode_elem_sep Log LOG concode_field_sep String resolveLocalHostIPAd... |
void function ( @ Nonnull final String arg0 ) { ValueEnforcer . notNull ( arg0 , "srini_string" ) ; s_aRWLock . writeLocked ( ( ) -> s_sCareOfPrefix = arg0 ) ; } | set the prefix to be added in front of `` c/o '' address line . by default it is `` c/o '' . concode_field_sep SimpleReadWriteLock s_aRWLock concode_elem_sep String DEFAULT_CARE_OF_PREFIX concode_elem_sep String s_sCareOfPrefix concode_elem_sep boolean DEFAULT_COMPLEX_ADDRESS_HANDLING_ENABLED concode_elem_sep String DE... |
double function ( ) { return attribute . getLastUpdateTime ( ) ; } | gets the last update time in seconds concode_field_sep int NOT_REGISTERED concode_elem_sep int TYPE_RAW_DATA concode_elem_sep int TYPE_TAG_DATA concode_elem_sep String name concode_elem_sep int TYPE_RECONSTRUCTED_DATA concode_elem_sep FileAttribute attribute concode_elem_sep double transactionTime concode_elem_sep int ... |
int function ( Object arg0 ) { Culture loc0 = ( Culture ) arg0 ; if ( loc0 == null ) { return 1 ; } return new CompareToBuilder ( ) . append ( m_size , loc0 . m_size ) . append ( m_memory , loc0 . m_memory ) . append ( m_memoryNames . toArray ( ) , loc0 . m_memoryNames . toArray ( ) ) . toComparison ( ) ; } | the compareto-method . concode_field_sep CultureMemoryCell[] m_memory concode_elem_sep int m_size concode_elem_sep int m_width concode_elem_sep List m_memoryNames concode_elem_sep String CVS_REVISION concode_field_sep boolean contains concode_elem_sep CultureMemoryCell set concode_elem_sep CultureMemoryCell set concode... |
boolean function ( String arg0 ) { return false ; } | by specifying a in config.xml you can map a url using startswith atm to this method . concode_field_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String id concode_field_sep void onDestroy concode_elem_sep Uri remapUri concode_elem_sep void onNewIntent concode_elem_sep Object onM... |
void function ( java . util . Collection < StackResource > arg0 ) { if ( arg0 == null ) { this . stackResources = null ; return ; } this . stackResources = new com . amazonaws . internal . SdkInternalList < StackResource > ( arg0 ) ; } | a list of stackresource structures . concode_field_sep com.amazonaws.internal.SdkInternalList<StackResource> stackResources concode_field_sep DescribeStackResourcesResult withStackResources concode_elem_sep DescribeStackResourcesResult withStackResources concode_elem_sep int hashCode concode_elem_sep boolean equals con... |
String function ( ) { return this . ecsClusterArn ; } | the cluster 's arn . concode_field_sep String ecsClusterArn concode_field_sep RegisterEcsClusterResult withEcsClusterArn concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep RegisterEcsClusterResult clone concode_elem_sep String toString concode_elem_sep void setEcsClusterArn |
void function ( long arg0 ) { rand . setSeed ( arg0 ) ; } | sets the seed of this random number generator using a single long seed concode_field_sep java.util.Random rand concode_elem_sep long seed concode_field_sep String nextHexString concode_elem_sep String nextNumString concode_elem_sep int nextInt concode_elem_sep int nextInt concode_elem_sep boolean nextBoolean concode_el... |
boolean function ( ValueNumberFactory arg0 ) { for ( int loc0 = 0 ; loc0 < array . length ; loc0 += 2 ) { int loc1 = array [ loc0 ] ; if ( loc1 < 0 ) { break ; } int loc2 = array [ loc0 + 1 ] ; if ( loc2 > 0 && arg0 . forNumber ( loc1 ) . hasFlag ( ValueNumber . RETURN_VALUE ) ) { return true ; } } return false ; } | determine whether or not this lock set contains any locked values which are method return values . concode_field_sep int INVALID concode_elem_sep int DEFAULT_CAPACITY concode_elem_sep int[] array concode_elem_sep int BOTTOM concode_elem_sep int TOP concode_elem_sep int defaultLockCount concode_field_sep void setLockCou... |
void function ( int arg0 , int arg1 ) { int [ ] loc0 = new int [ arg0 ] ; int [ ] loc1 = new int [ arg1 ] ; hashTable = loc0 ; linkTable = loc1 ; resetTables ( ) ; } | reset the structure with a new size as empty . concode_field_sep int[] hashTable concode_elem_sep boolean fixedSize concode_elem_sep int newNodePointer concode_elem_sep int elementCount concode_elem_sep int[] linkTable concode_elem_sep int reclaimedNodePointer concode_field_sep void resetTables concode_elem_sep int get... |
long function ( ) { return _userNotificationDelivery . getUserId ( ) ; } | returns the user id of this user notification delivery . concode_field_sep UserNotificationDelivery _userNotificationDelivery concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_e... |
void function ( World arg0 , Matrix4 arg1 ) { renderer . setProjectionMatrix ( arg1 ) ; renderBodies ( arg0 ) ; } | this assumes that the projection matrix has already been set . concode_field_sep ShapeRenderer renderer concode_elem_sep Vector2 t concode_elem_sep boolean drawBodies concode_elem_sep boolean drawAABBs concode_elem_sep boolean drawContacts concode_elem_sep Vector2 axis concode_elem_sep Color VELOCITY_COLOR concode_elem... |
double function ( Geometry arg0 , Geometry arg1 ) { DistanceOp loc0 = new DistanceOp ( arg0 , arg1 ) ; return loc0 . distance ( ) ; } | compute the distance between the nearest points of two geometries . concode_field_sep double terminateDistance concode_elem_sep PointLocator ptLocator concode_elem_sep double minDistance concode_elem_sep Geometry[] geom concode_elem_sep GeometryLocation[] minDistanceLocation concode_field_sep GeometryLocation[] nearest... |
int function ( ) { return currentPlace ; } | returns current place in the byte concode_field_sep int header_len concode_elem_sep byte[] dir_uuid concode_elem_sep byte[] signature concode_elem_sep int currentPlace concode_elem_sep long serialVersionUID concode_elem_sep long lang_id concode_elem_sep long dir_offset concode_elem_sep int dataRemained concode_elem_sep... |
int function ( ) { return chunkZ ; } | retrieve the chunk index in the z-dimension . this is the number of adjacent chunks to 0 , 0 , not a block coordinate . concode_field_sep FieldAccessor COORD_X concode_elem_sep Class<?> COORD_PAIR_CLASS concode_elem_sep ConstructorAccessor COORD_CONSTRUCTOR concode_elem_sep int chunkX concode_elem_sep int chunkZ concod... |
ArrayList < User > function ( String arg0 ) { try { return ioOperations . getUser ( arg0 ) ; } catch ( OHException loc0 ) { JOptionPane . showMessageDialog ( null , loc0 . getMessage ( ) ) ; return null ; } } | returns the list of user s in specified groupid concode_field_sep MenuIoOperations ioOperations concode_field_sep String getUsrInfo concode_elem_sep boolean updatePassword concode_elem_sep boolean setGroupMenu concode_elem_sep boolean newUser concode_elem_sep ArrayList<UserMenuItem> getMenu concode_elem_sep boolean del... |
String function ( ) { return id ; } | returns this conversation id . concode_field_sep Stack<ConversationContext<?>> contextes concode_elem_sep String CONVERSATION_COUNTER_KEY concode_elem_sep int conversationContextIdCounter concode_elem_sep Logger log concode_elem_sep int popContextOnNextPauseCounter concode_elem_sep ConversationContext<?> nextContext co... |
boolean function ( ) { synchronized ( terminateLock ) { return terminate ; } } | check if filewatcher has been terminated . a terminated filewatcher no longer listens for resource notification , and will ignore any last minuet notifications that sneak in . concode_field_sep String path concode_elem_sep Logger LOGGER concode_elem_sep long lastModified concode_elem_sep Object terminateLock concode_el... |
DataBalance function ( ) { return totalDataSize ; } | gets the value of the totaldatasize property . concode_field_sep Boolean dataPassUsable concode_elem_sep DataBalance remainingData concode_elem_sep DataBalance dataRemainingBeforeThrottle concode_elem_sep long serialVersionUID concode_elem_sep DataBalance dataUsedAfterThrottle concode_elem_sep String featureIdentifier ... |
void function ( ModuleSpace arg0 ) { arg0 . setDevClassLoader ( m_host . getDevClassLoader ( ) ) ; loadedModules . put ( null , arg0 ) ; m_logger . log ( TreeLogger . SPAM , "srini_string" + arg0 . getModuleName ( ) , null ) ; arg0 . onLoad ( m_logger ) ; } | initializes and attaches module space to this browser widget . called by subclasses in response to calls from javascript . concode_field_sep IBrowserShellHost m_host concode_elem_sep TreeLogger m_logger concode_elem_sep Map<Object,ModuleSpace> loadedModules concode_field_sep void setHost concode_elem_sep void unloadMod... |
byte function ( int arg0 ) { Preconditions . checkState ( ! isClosed ( ) ) ; Preconditions . checkArgument ( arg0 >= 0 ) ; Preconditions . checkArgument ( arg0 < mSize ) ; return nativeReadByte ( mNativePtr + arg0 ) ; } | read byte at given offset . concode_field_sep long mNativePtr concode_elem_sep int mSize concode_elem_sep boolean mClosed concode_elem_sep String TAG concode_field_sep void doCopy concode_elem_sep byte nativeReadByte concode_elem_sep int adjustByteCount concode_elem_sep void nativeCopyFromByteArray concode_elem_sep lon... |
int function ( ) { return hitCount ; } | returns the number of times #get returned a value that wasalready present in the cache . concode_field_sep int evictionCount concode_elem_sep int putCount concode_elem_sep int hitCount concode_elem_sep int size concode_elem_sep int createCount concode_elem_sep int maxSize concode_elem_sep LinkedHashMap<K,V> map concode... |
void function ( ) { _excludedURI = ( Hashtable ) _excludedURIStack . pop ( ) ; if ( _excludedURIStack . isEmpty ( ) ) { _excludedURIStack = null ; } } | exclusion of namespaces by a stylesheet does not extend to any stylesheet imported or included by the stylesheet . upon exiting the context of a stylesheet , a call to this method is needed to restore the set of excluded namespaces that was in effect prior to entering the context of the current stylesheet . concode_fie... |
void function ( ) { IntervalMarker loc0 = new IntervalMarker ( 45.0 , 50.0 ) ; IntervalMarker loc1 = ( IntervalMarker ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; } | serialize an instance , restore it , and check for equality . concode_field_sep double EPSILON concode_elem_sep MarkerChangeEvent lastEvent concode_field_sep void testGetSetStartValue concode_elem_sep void testCloning concode_elem_sep void markerChanged concode_elem_sep void testGetSetEndValue concode_elem_sep void tes... |
String function ( ) { String loc0 = utf8 ; return loc0 != null ? loc0 : ( utf8 = new String ( data , StandardCharsets . UTF_8 ) ) ; } | constructs a new string by decoding the bytes as utf-8 . concode_field_sep char[] HEX_DIGITS concode_elem_sep ByteString EMPTY concode_elem_sep byte[] data concode_elem_sep int hashCode concode_elem_sep String utf8 concode_elem_sep long serialVersionUID concode_field_sep ByteString encodeUtf8 concode_elem_sep byte getB... |
void function ( ) { cm . closeChannel ( cn , "srini_string" , true ) ; } | close the underlying ssh forwarding channel and free up resources . you can also use this method to force the shutdown of the underlying forwarding channel . pending output outputstream not flushed will not be sent . pending input inputstream can still be read . if the shutdown operation is already in progress initiate... |
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... |
T function ( String arg0 ) { return this . runtimeContext . < T > getPreviousIterationAggregate ( arg0 ) ; } | get the aggregated value that an aggregator computed in the previous iteration . concode_field_sep IterationRuntimeContext runtimeContext concode_elem_sep long numberOfVertices concode_field_sep void postSuperstep concode_elem_sep void init concode_elem_sep T getIterationAggregator concode_elem_sep int getSuperstepNumb... |
void function ( int arg0 , int arg1 , float arg2 ) { this . setPhysicalMemory ( this . getPhysicalMemory ( ) + arg0 ) ; this . setVirtualMemory ( this . getVirtualMemory ( ) + arg1 ) ; this . setCPU ( this . getCPU ( ) + arg2 ) ; } | add utilization to the current one . concode_field_sep PlaceHolder placeHolder concode_field_sep int getPhysicalMemory concode_elem_sep void setVirtualMemory concode_elem_sep void setCPU concode_elem_sep int hashCode concode_elem_sep int getVirtualMemory concode_elem_sep boolean equals concode_elem_sep ResourceUtilizat... |
String function ( Object [ ] arg0 ) { return join ( Arrays . asList ( arg0 ) ) ; } | returns a string containing the string representation of each of parts , using the previously configured separator between each . concode_field_sep String keyValueSeparator concode_elem_sep Joiner joiner concode_elem_sep String separator concode_field_sep MapJoiner withKeyValueSeparator concode_elem_sep Joiner useForNu... |
String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep String description concode_elem_sep Long code concode_elem_sep String moreInfo concode_elem_sep String message concode_elem_sep List<ErrorListItemDTO> error concode_field_sep ErrorDTO code concode_elem_sep v... |
Collection < ? extends SubTask > function ( ) { return Collections . emptyList ( ) ; } | contributes subtask s to abstractproject #getsubtasks concode_field_sep J owner concode_field_sep JobPropertyDescriptor getDescriptor concode_elem_sep Action getJobAction concode_elem_sep Action getProjectAction concode_elem_sep boolean prebuild concode_elem_sep Collection<?> getJobOverrides concode_elem_sep Collection... |
void function ( Integer arg0 ) { double loc0 = 0 ; root . children . add ( new estNode ( arg0 , loc0 , k ) ) ; } | method for inserting a new item to the tree itemset of size 1 . concode_field_sep int patternCount concode_elem_sep double d concode_elem_sep double minsig concode_elem_sep Hashtable<List<Integer>,Double> patterns concode_elem_sep double minsup concode_elem_sep estNode root concode_elem_sep int k concode_elem_sep Buffe... |
void function ( Path arg0 , JobConf arg1 ) { FileSystem loc0 = FileSystem . getLocal ( arg1 ) ; loc0 . delete ( arg0 ) ; OutputStream loc1 = null ; try { loc1 = FileSystem . create ( loc0 , arg0 , urw_gr ) ; arg1 . writeXml ( loc1 ) ; } finally { IOUtils . cleanup ( LOG , loc1 ) ; } } | write the task specific job-configuration file . concode_field_sep TaskAttemptID taskid concode_elem_sep FsPermission urw_gr concode_elem_sep Log LOG concode_field_sep void configureTask concode_elem_sep void main concode_elem_sep void configureLocalDirs |
CTShapeLayout function ( ) { return new CTShapeLayout ( ) ; } | create an instance of ctshapelayout concode_field_sep QName _Lock_QNAME concode_elem_sep QName _Clippath_QNAME concode_elem_sep QName _Shapelayout_QNAME concode_elem_sep QName _Fill_QNAME concode_elem_sep QName _Ink_QNAME concode_elem_sep QName _Left_QNAME concode_elem_sep QName _Signatureline_QNAME concode_elem_sep QN... |
void function ( DatagramSocket arg0 ) { this . datagramSocket = arg0 ; } | used only by unit test concode_field_sep String DEFAULT_UNITS concode_elem_sep String SUPPORT_SPARSE_METRICS_PROPERTY concode_elem_sep int DEFAULT_TMAX concode_elem_sep Map<String,GangliaConf> gangliaConfMap concode_elem_sep String hostName concode_elem_sep String EQUAL concode_elem_sep int multicastTtl concode_elem_se... |
String function ( ) { StringBuilder loc0 = new StringBuilder ( "srini_string" ) ; loc0 . append ( "srini_string" ) ; return ( loc0 . toString ( ) ) ; } | return a string representation of this object . concode_field_sep long serialVersionUID concode_elem_sep HashMap<String,Object> properties concode_field_sep Object getProperty concode_elem_sep void setProperty concode_elem_sep void removeProperty concode_elem_sep Iterator<String> listProperties |
int function ( ) { return this . cellId ; } | this function returns the unique identifier of the cell . concode_field_sep PrimitiveBasisElement[] boundaryArray concode_elem_sep int[] boundaryCoefficients concode_elem_sep int cellId concode_elem_sep int cellIdCounter concode_elem_sep int dimension concode_elem_sep int[] boundaryIds concode_elem_sep int cachedHashCo... |
File function ( ) { File loc0 = resource . getFile ( ) ; return loc0 ; } | reads the json file into a string concode_field_sep JsonNode configContents concode_elem_sep Resource resource concode_elem_sep Logger logger concode_field_sep void readConfigFile concode_elem_sep void setResource |
void function ( Context arg0 , View arg1 , double arg2 ) { String loc0 = Double . isNaN ( arg2 ) ? null : String . format ( Locale . getDefault ( ) , CALORIES_FORMAT , arg2 ) ; setItem ( arg0 , arg1 , R . string . stats_calorie , loc0 , arg0 . getString ( R . string . unit_calorie ) ) ; } | sets calorie . concode_field_sep String CALORIES_FORMAT concode_elem_sep String GRADE_FORMAT concode_elem_sep String GRADE_PERCENTAGE concode_field_sep void setSpeed concode_elem_sep void setGradeValue concode_elem_sep void setLocationValues concode_elem_sep void setDistanceValue concode_elem_sep void setCoordinateValu... |
String function ( String arg0 ) { return arg0 . toUpperCase ( Locale . US ) ; } | converts the given string to upper case using the locale #us us locale . the result is independent of the default locale in the current jvm instance . concode_field_sep PlaceHolder placeHolder concode_field_sep String toLowerCase concode_elem_sep int indexOfIgnoreCase concode_elem_sep int indexOfIgnoreCase |
Insets function ( ) { return insets ; } | the insets of the borderimage define where the border should be positioned relative to the edge of the region . this value will never be null . concode_field_sep Image image concode_elem_sep BorderWidths slices concode_elem_sep Insets outerEdge concode_elem_sep Insets innerEdge concode_elem_sep BorderRepeat repeatX con... |
String function ( boolean arg0 , boolean arg1 , boolean arg2 , boolean arg3 ) { int loc0 = _getOffset ( arg0 , arg1 , arg2 , arg3 ) ; return BORDER_CLASS [ loc0 ] ; } | get the style string for a given border combination . concode_field_sep String[] BORDER_CLASS concode_field_sep int _getOffset concode_elem_sep String getDataBorderStyle concode_elem_sep void renderSpan concode_elem_sep String getHeaderBorderStyle concode_elem_sep void renderHeaderAttrs |
void function ( String arg0 ) { this . values = arg0 ; } | sets the value of the values property . concode_field_sep String _default concode_elem_sep String displayValues concode_elem_sep Boolean deleteIfEmpty concode_elem_sep String textContext concode_elem_sep String delimiter concode_elem_sep String values concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep ... |
java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . arg0 ( arg0 ) ; } | performs a dynamic query on the database and returns the matching rows . concode_field_sep WebDAVPropsLocalService _service concode_field_sep com.liferay.portal.model.WebDAVProps getWebDAVProps concode_elem_sep com.liferay.portal.model.WebDAVProps getWebDAVProps concode_elem_sep com.liferay.portal.kernel.dao.orm.Action... |
Iconstyle function ( ) { return iconStyle ; } | gets the value of the iconstyle property . concode_field_sep String id concode_elem_sep Iconstyle iconStyle concode_field_sep void setId concode_elem_sep String getId concode_elem_sep void setIconStyle |
boolean function ( final MIDletSuite arg0 , final String arg1 ) { try { return getRemoteInterface ( ) . unregisterConnection ( arg0 . getID ( ) , arg1 ) ; } catch ( RemoteException loc0 ) { return false ; } } | unregisters a connection . for details see javax.microedition.io.pushregistry.unregisterconnection concode_field_sep MIDPContainerInterface IFC concode_field_sep String getFilter concode_elem_sep long registerAlarm concode_elem_sep Class loadApplicationClass concode_elem_sep String getMIDlet concode_elem_sep MIDPContai... |
void function ( ) { cilkThread . setClosure ( this ) ; cilkThread . call ( ) ; } | calls the thread associated with the closure . concode_field_sep boolean isAncestor concode_elem_sep int missingArgsCount concode_elem_sep CilkThread cilkThread concode_elem_sep Object[] arguments concode_elem_sep String id concode_field_sep boolean isAncestor concode_elem_sep void ready concode_elem_sep String getId c... |
void function ( String arg0 ) { this . database = arg0 ; } | set database location concode_field_sep int loginTimeout concode_elem_sep String sStartURL concode_elem_sep PrintWriter logWriter concode_elem_sep String user concode_elem_sep String database concode_elem_sep String password concode_field_sep Connection getConnection concode_elem_sep Connection getConnection concode_el... |
boolean function ( final Locale arg0 ) { return availableLocaleList ( ) . contains ( arg0 ) ; } | checks if the locale specified is in the list of available locales . concode_field_sep ConcurrentMap<String,List<Locale>> cLanguagesByCountry concode_elem_sep List<Locale> AVAILABLE_LOCALE_LIST concode_elem_sep ConcurrentMap<String,List<Locale>> cCountriesByLanguage concode_elem_sep Set<Locale> AVAILABLE_LOCALE_SET con... |
String function ( ) { return specVendor ; } | returns the name of the specification designer or null if unknown . concode_field_sep String implTitle concode_elem_sep String implVendor concode_elem_sep String specVendor concode_elem_sep String specVersion concode_elem_sep URL sealed concode_elem_sep String implVersion concode_elem_sep String name concode_elem_sep S... |
String function ( ) { return policyPartialName ; } | name of the policy concode_field_sep String policyPartialName concode_elem_sep Boolean isSharedPartial concode_elem_sep Integer policyPartialId concode_elem_sep String policyPartialDesc concode_elem_sep String policyPartial concode_field_sep Boolean getIsSharedPartial concode_elem_sep void setPolicyPartialDesc concode_... |
int function ( int arg0 ) { if ( arg0 == IPv4 ) return 4 ; if ( arg0 == IPv6 ) return 16 ; throw new IllegalArgumentException ( "srini_string" ) ; } | returns the length of an address in a particular family . concode_field_sep int IPv6 concode_elem_sep int IPv4 concode_field_sep Record[] lookupHostName concode_elem_sep InetAddress[] getAllByName concode_elem_sep String getHostName concode_elem_sep byte[] parseV4 concode_elem_sep byte[] parseV6 concode_elem_sep int fa... |
void function ( final boolean arg0 ) { setDiscardEventsByType ( EventType . ENTITY , arg0 ) ; } | sets whether to discard @linkplain eventtype #entity entity events . bydefault entity events are not discarded . this is a convenience method for changing the set of discarded events . the state must not be changed while processing a stream . doing so may result in unbalanced start-entity and end-entity events . concod... |
int function ( ) { return tag ; } | get the user-defined tag of this event . concode_field_sep double endWaitingTime concode_elem_sep int HOLD_DONE concode_elem_sep int entSrc concode_elem_sep Object data concode_elem_sep int CREATE concode_elem_sep int ENULL concode_elem_sep int entDst concode_elem_sep int etype concode_elem_sep double time concode_elem... |
String function ( ) { return senderId ; } | gets the sender id value . concode_field_sep String titleId concode_elem_sep String inReplyTo concode_elem_sep Date timeSent concode_elem_sep String appUrl concode_elem_sep String body concode_elem_sep String title concode_elem_sep Type type concode_elem_sep String senderId concode_elem_sep List<Url> urls concode_elem_... |
int function ( ) { return originators . size ( ) ; } | returns the number of process instances / cases which are described by the profile concode_field_sep double normalizationMaximum concode_elem_sep boolean invert concode_elem_sep LogReader log concode_elem_sep String name concode_elem_sep String description concode_elem_sep Random random concode_elem_sep List<String> or... |
List < Manager > function ( ) { @ SuppressWarnings ( "srini_string" ) List < Manager > loc0 = ( List < Manager > ) mgrs . clone ( ) ; loc0 . add ( getInternal ( ) ) ; return loc0 ; } | returns a list of all managers , including the internal manager . this is not a live list . concode_field_sep ArrayList<java.beans.PropertyChangeListener> propertyListenerList concode_elem_sep Logger log concode_elem_sep ArrayList<java.beans.VetoableChangeListener> propertyVetoListenerList concode_elem_sep java.util.Ar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.