id int32 0 2k | nl stringlengths 95 3.97k | code stringlengths 21 493 |
|---|---|---|
1,500 | sets the sigma parameter unit is msec concode_field_sep RandomGenerator rand concode_elem_sep LognormalDist dist concode_elem_sep double sigma concode_elem_sep double mu concode_field_sep long getJitter concode_elem_sep void writeBackToXML concode_elem_sep void setMu | void function ( double arg0 ) { this . sigma = arg0 ; } |
1,501 | returns an unmodifiable , empty doubleiterator 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 getEmptyDoubleList concode_el... | DoubleIterator function ( ) { return EMPTY_DOUBLE_ITERATOR ; } |
1,502 | if a response packet regarding this notification was received , this method returns it . otherwise it returns null . concode_field_sep Exception exception concode_elem_sep int identifier concode_elem_sep Payload payload concode_elem_sep ResponsePacket response concode_elem_sep int transmissionAttempts concode_elem_sep ... | ResponsePacket function ( ) { return response ; } |
1,503 | create a new perspective locator that identifies perspectives by name . concode_field_sep IPerspectiveDescriptor descriptor concode_elem_sep long serialVersionUID concode_field_sep IPerspectiveDescriptor getDescriptor concode_elem_sep IConditionHandler isClosed concode_elem_sep PerspectiveLocator forId concode_elem_sep... | PerspectiveLocator function ( String arg0 ) { return new PerspectiveLocator ( PerspectiveFinder . findByNameInRegistry ( arg0 ) ) ; } |
1,504 | returns an unmodifiable version of the given non-null shortlist . concode_field_sep ShortList EMPTY_SHORT_LIST concode_elem_sep ShortListIterator EMPTY_SHORT_LIST_ITERATOR concode_elem_sep ShortIterator EMPTY_SHORT_ITERATOR concode_field_sep ShortListIterator getEmptyShortListIterator concode_elem_sep ShortIterator sin... | ShortList function ( ShortList arg0 ) { if ( null == arg0 ) { throw new NullPointerException ( ) ; } return UnmodifiableShortList . wrap ( arg0 ) ; } |
1,505 | log a message and exception with debug log level . concode_field_sep String name concode_elem_sep Logger logger concode_field_sep void log concode_elem_sep Logger getLogger concode_elem_sep boolean isWarnEnabled concode_elem_sep void error concode_elem_sep void error concode_elem_sep boolean isFatalEnabled concode_elem... | void function ( Object arg0 , Throwable arg1 ) { log ( Level . FINE , String . valueOf ( arg0 ) , arg1 ) ; } |
1,506 | run the query given and return one result from it . concode_field_sep Joiner OR_QUERY_JOINER concode_elem_sep Path path concode_elem_sep SolrClient server concode_elem_sep CoreContainer cores concode_elem_sep boolean autocommit concode_elem_sep String WILDCARD_QSTRING concode_elem_sep String CORE_NAME concode_elem_sep ... | Phenotype function ( SolrQuery arg0 ) { try { QueryResponse loc0 = server . query ( arg0 ) ; List < SolrDocument > loc1 = loc0 . getResults ( ) ; if ( loc1 . size ( ) == 0 ) { return Phenotype . NULL ; } return mapper . fromDoc ( loc1 . get ( 0 ) ) ; } catch ( SolrServerException loc0 ) { throw new IOException ( loc0 )... |
1,507 | get the expression that is depth expressions from the top of the stack , but do not modify the stack . concode_field_sep ArrayList stack concode_elem_sep int height concode_field_sep Expr pop concode_elem_sep void set concode_elem_sep Expr pop1 concode_elem_sep int size concode_elem_sep Expr[] pop2 concode_elem_sep Exp... | Expr function ( int arg0 ) { for ( int loc0 = stack . size ( ) - 1 ; loc0 >= 0 ; loc0 -- ) { final Expr loc1 = ( Expr ) stack . get ( loc0 ) ; if ( arg0 == 0 ) { return loc1 ; } arg0 -= loc1 . type ( ) . stackHeight ( ) ; } throw new IllegalArgumentException ( "srini_string" ) ; } |
1,508 | create a condition that tests if the workbench shell is maximized . concode_field_sep PlaceHolder placeHolder concode_field_sep IUIConditionHandler hasFocus | IUIConditionHandler function ( ) { return new WorkbenchIsMaximizedCondition ( ) ; } |
1,509 | adds a log event to the cache . if the number of events reach the capacity of the batch , they will be published . concode_field_sep String PUBLISH_THREAD_NAME concode_elem_sep String cacheName concode_elem_sep int eventQueueLength concode_elem_sep ExecutorService executorService concode_elem_sep Object EVENTQUEUELOCK ... | void function ( LoggingEvent arg0 ) { boolean loc0 = false ; synchronized ( EVENTQUEUELOCK ) { if ( eventQueueLength < capacity ) { eventQueue . add ( arg0 ) ; eventQueueLength ++ ; } else { loc0 = true ; } } if ( loc0 ) { flushAndPublishQueue ( false ) ; } } |
1,510 | retrieve the current timeout setting . the timeout is the amount of time , in milliseconds , we should instruct the database to wait for any requested pessimistic lock acquisition . #no_wait , #wait_forever or #skip_locked represent 3 `` magic '' values . concode_field_sep Map<String,LockMode> aliasSpecificLockModes co... | int function ( ) { return timeout ; } |
1,511 | test method for com.itextpdf.text.html.webcolors #getrgbcolor java.lang.string . concode_field_sep String RGB_PERCENT concode_elem_sep String RGB_OUT_OF_RANGE concode_elem_sep String RGB_MISSING_COLOR_VALUES concode_field_sep String dumpColor concode_elem_sep void testGetRGBColorInPercentBlue concode_elem_sep void test... | void function ( ) { assertEquals ( 255 , WebColors . getRGBColor ( RGB_PERCENT ) . getRed ( ) ) ; } |
1,512 | hash code for this quotient ring . concode_field_sep RingFactory<C> ring concode_elem_sep boolean debug concode_elem_sep Logger logger concode_field_sep Quotient<C> random concode_elem_sep Quotient<C> random concode_elem_sep boolean isField concode_elem_sep boolean equals concode_elem_sep Quotient<C> getONE concode_ele... | int function ( ) { int loc0 ; loc0 = ring . hashCode ( ) ; return loc0 ; } |
1,513 | returns a set that maintains the order of elements that are added backed by the given set . if an element is added twice , the order is determined by the first add . the order is observed through the iterator or toarray . concode_field_sep Set EMPTY_SET concode_elem_sep SortedSet EMPTY_SORTED_SET concode_field_sep Set ... | Set function ( Set arg0 ) { return ListOrderedSet . decorate ( arg0 ) ; } |
1,514 | add one metric to this record to be displayed on the custom dashboard . concode_field_sep Map<String,Double> customMetrics concode_elem_sep long timeStamp concode_elem_sep long serialVersionUID concode_elem_sep String name concode_elem_sep boolean valid concode_elem_sep String revision concode_field_sep Map<String,Doub... | void function ( String arg0 , Double arg1 ) { valid = true ; customMetrics . put ( arg0 , arg1 ) ; } |
1,515 | get composite id sub-attribute definitions . concode_field_sep PlaceHolder placeHolder concode_field_sep Iterable<AttributeDefinition> getCompositeCollectionIndexSubAttributes concode_elem_sep Iterable<AttributeDefinition> getCompositeCollectionElementSubAttributes concode_elem_sep Iterable<AttributeDefinition> getSing... | Iterable < AttributeDefinition > function ( AbstractEntityPersister arg0 ) { return getSingularSubAttributes ( arg0 , arg0 , ( CompositeType ) arg0 . getIdentifierType ( ) , arg0 . getTableName ( ) , arg0 . getRootTableIdentifierColumnNames ( ) ) ; } |
1,516 | should archive validation be performed concode_field_sep Map<String,CloneableBootstrapContext> bootstrapContexts concode_elem_sep AtomicBoolean archiveValidationFailOnError concode_elem_sep AtomicBoolean beanValidation concode_elem_sep CloneableBootstrapContext defaultBootstrapContext concode_elem_sep AtomicBoolean arc... | boolean function ( ) { return archiveValidation . get ( ) ; } |
1,517 | the validation logic can either be defined in the property validation logic or as a regex of the property type . this method distincts between those different possibility and returns the actual validation pattern . concode_field_sep PropertyTypeEntity propertyTypeEntity concode_elem_sep String fcExternalKey concode_ele... | String function ( ) { String loc0 = null ; if ( isCustomType ( ) ) { loc0 = this . validationLogic == null ? DEFAULTVALIDATIONEXPRESSION : this . validationLogic ; } else { loc0 = this . validationLogic == null ? getPropertyTypeValidationRegex ( ) : this . validationLogic ; } return loc0 ; } |
1,518 | microservice entry point concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( String [ ] arg0 ) { SpringApplication . run ( PriceApplication . class , arg0 ) ; } |
1,519 | retrieve the overall lock mode in effect for this set of options . in certain contexts hql and criteria , lock-modes can be defined in an even more granular #setaliasspecificlockmode string , lockmode per-alias fashion concode_field_sep Map<String,LockMode> aliasSpecificLockModes concode_elem_sep int NO_WAIT concode_el... | LockMode function ( ) { return lockMode ; } |
1,520 | hash the member reference . concode_field_sep NameAndType nameAndType concode_elem_sep Type declaringClass concode_field_sep NameAndType nameAndType concode_elem_sep boolean equals concode_elem_sep String name concode_elem_sep String toString concode_elem_sep Type type concode_elem_sep Type declaringClass | int function ( ) { return declaringClass . hashCode ( ) ^ nameAndType . hashCode ( ) ; } |
1,521 | returns the loggerfactory concode_field_sep Logger logger concode_elem_sep LoggerFactory myself concode_field_sep void setLogger concode_elem_sep Logger logger concode_elem_sep Logger getLogger concode_elem_sep Logger getLogger | LoggerFactory function ( ) { return myself ; } |
1,522 | appends the given string to the buffer . concode_field_sep String text concode_elem_sep Charset charset concode_elem_sep StateController controller concode_elem_sep XMLParserMemory memory concode_elem_sep List<XMLParserListener> listeners concode_elem_sep TagState tagState concode_elem_sep ParserMonitor monitor concode... | XMLParser function ( final String arg0 ) { this . memory . current ( ) . append ( arg0 ) ; return this ; } |
1,523 | isvalidnode returns true if this node is valid ; false otherwise . by default , an invalid node is one that does n't belong to a list mylist is null , but subclasses can override this definition . concode_field_sep Object item concode_elem_sep List myList concode_field_sep ListNode next concode_elem_sep Object item con... | boolean function ( ) { return myList != null ; } |
1,524 | static method to get single instance of class concode_field_sep Logger LOGGER concode_elem_sep PrintStream error concode_elem_sep PrintStream output concode_elem_sep ConsoleLoggerModule singleton concode_field_sep void unprepare concode_elem_sep ConsoleLoggerModule prepare concode_elem_sep void printErrorString concode... | ConsoleLoggerModule function ( ) { if ( ConsoleLoggerModule . singleton == null ) { ConsoleLoggerModule . singleton = new ConsoleLoggerModule ( ) ; } return ConsoleLoggerModule . singleton ; } |
1,525 | there is no relation defined in the uppermost hierarchy instance - this is an inconsistency and shall result in a runtime exception concode_field_sep AppServerRelationHierarchyEntity entity concode_field_sep void testRefersToRelationResourceRelationTypeEntity concode_elem_sep void testSetRelationResourceRelationTypeEnt... | void function ( ) { AppServerRelationHierarchyEntity loc0 = new AppServerRelationHierarchyEntity ( ) ; entity . setParentRelation ( loc0 ) ; entity . getApplicationServer ( ) ; } |
1,526 | transfers from right to left concode_field_sep PlaceHolder placeHolder concode_field_sep void swap concode_elem_sep void swap | T [ ] function ( T [ ] arg0 , T [ ] arg1 ) { return ArrayTool . transferValues ( arg0 , arg1 , 0 , arg1 . length ) ; } |
1,527 | mark a client as collapsed . 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_s... | boolean function ( String arg0 , boolean arg1 ) { return updateClientMembership ( PREF_COLLAPSED_CLIENT_GUIDS , collapsedClients , arg0 , arg1 ) ; } |
1,528 | gets the value of the billto property . concode_field_sep USAddress billTo concode_elem_sep String comment concode_elem_sep Items items concode_elem_sep XMLGregorianCalendar orderDate concode_elem_sep USAddress shipTo concode_field_sep Items getItems concode_elem_sep USAddress getShipTo concode_elem_sep void setBillTo ... | USAddress function ( ) { return billTo ; } |
1,529 | get sentence containing the error . concode_field_sep Sentence sentence concode_elem_sep long serialVersionUID concode_elem_sep LineOffset endPosition concode_elem_sep String validatorName concode_elem_sep String message concode_elem_sep LineOffset startPosition concode_field_sep Optional<LineOffset> getStartPosition c... | Sentence function ( ) { return sentence ; } |
1,530 | get the type name as in the static field names defined on java.sql.types . if a type code is not recognized , it is reported as unknown ? where ' ? ' is replace with the given type code.intended as useful for logging purposes ... concode_field_sep CoreMessageLogger LOG concode_elem_sep Map<Integer,String> JDBC_TYPE_MAP... | String function ( Integer arg0 ) { String loc0 = JDBC_TYPE_MAP . get ( arg0 ) ; if ( loc0 == null ) { return "srini_string" + arg0 + "srini_string" ; } return loc0 ; } |
1,531 | returns whether there may be some scenarios in which the robot does not function properly . concode_field_sep boolean gotBug1Event concode_elem_sep java.util.ArrayList bugList concode_field_sep boolean fileDialogRequiresDismiss concode_elem_sep boolean hasHierarchyEventGenerationBug concode_elem_sep boolean hasKeyStrok... | boolean function ( ) { return Platform . isWindows ( ) || Platform . isOSX ( ) ; } |
1,532 | if both parameters are null , returns true . if one parameter is null and the other is n't , returns false . otherwise , returns o1.equals o2 . concode_field_sep String newLine concode_field_sep String convertToHexString concode_elem_sep String hangingParagraph concode_elem_sep boolean iff concode_elem_sep String toNCo... | boolean function ( Object arg0 , Object arg1 ) { if ( arg0 == null ) { return arg1 == null ; } if ( arg1 == null ) { return false ; } return ( arg0 . equals ( arg1 ) ) ; } |
1,533 | returns an array of all of this bag 's elements . concode_field_sep Object _current concode_elem_sep int _total concode_elem_sep DefaultMapBag _parent concode_elem_sep Map _map concode_elem_sep int _mods concode_elem_sep Iterator _support concode_field_sep boolean add concode_elem_sep boolean add concode_elem_sep Objec... | Object [ ] function ( Object [ ] arg0 ) { return extractList ( ) . toArray ( arg0 ) ; } |
1,534 | adds a listener for problem marker changes . concode_field_sep Set<IResource> fResourcesWithAnnotationChanges concode_elem_sep HashSet<IResource> fChangedElements concode_elem_sep ListenerList<IProblemChangedListener> fListeners concode_elem_sep UIJob fNotifierJob concode_elem_sep Set<IResource> fResourcesWithMarkerCha... | void function ( IProblemChangedListener arg0 ) { if ( fListeners . isEmpty ( ) ) { JavaPlugin . getWorkspace ( ) . addResourceChangeListener ( this ) ; JavaPlugin . getDefault ( ) . getCompilationUnitDocumentProvider ( ) . addGlobalAnnotationModelListener ( this ) ; } fListeners . add ( arg0 ) ; } |
1,535 | starts the timeout thread if it is not currently running . nothing happens if a thread is already running . concode_field_sep Thread fCurrentThread concode_elem_sep Timeout fCurrentTimeoutState concode_elem_sep int IDLE concode_elem_sep Display fDisplay concode_elem_sep Object fMutex concode_elem_sep boolean fTimeoutSt... | Timeout function ( long arg0 ) { Assert . assertTrue ( arg0 > 0 ) ; synchronized ( fMutex ) { switch ( fState ) { case STOPPED : startThread ( ) ; setNextTimeout ( arg0 ) ; break ; case IDLE : unhold ( ) ; setNextTimeout ( arg0 ) ; break ; default : break ; } return fCurrentTimeoutState ; } } |
1,536 | registers the given tag library class name against the given namespace uri . the class will be loaded via the given classloader this should be called before the parser is used . concode_field_sep InputStream m_inputStream concode_elem_sep Exception m_scriptCompilationException concode_elem_sep Log log concode_elem_sep ... | void function ( String arg0 , String arg1 ) { if ( m_context != null ) m_context . registerTagLibrary ( arg0 , arg1 ) ; } |
1,537 | the result of running junit on type concode_field_sep Result result concode_field_sep String toString concode_elem_sep int failureCount | PrintableResult function ( Class < ? > arg0 ) { return testResult ( Request . aClass ( arg0 ) ) ; } |
1,538 | notification that the payment was canceled . concode_field_sep long serialVersionUID concode_field_sep void fireJavaScriptEvent concode_elem_sep void onPaymentSucceeded concode_elem_sep void onPaymentFailed | void function ( String arg0 ) { fireJavaScriptEvent ( "srini_string" , mpl . getPaymentResults ( "srini_string" , "srini_string" , "srini_string" ) ) ; } |
1,539 | return true if debugging is enabled . concode_field_sep PrintWriter sysOut concode_elem_sep ILog log concode_elem_sep boolean isDebugging concode_field_sep void setLog concode_elem_sep void trace concode_elem_sep void trace concode_elem_sep void setDebugging concode_elem_sep boolean isTracing concode_elem_sep void trac... | boolean function ( ) { return isDebugging ; } |
1,540 | returns the execution data store with data for all loaded classes . concode_field_sep SessionInfoStore sessionInfos concode_elem_sep ExecutionDataStore executionData concode_field_sep void load concode_elem_sep void load concode_elem_sep SessionInfoStore getSessionInfoStore concode_elem_sep void save concode_elem_sep v... | ExecutionDataStore function ( ) { return executionData ; } |
1,541 | indicates whether the origin response indicated the associated resource had variants i.e. that the vary header was set on the origin response . 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 ... | boolean function ( ) { return getFirstHeader ( HeaderConstants . VARY ) != null ; } |
1,542 | get an issue title for the phenotype with the name given . concode_field_sep String LABEL_SUFFIX concode_elem_sep Joiner JOINER concode_elem_sep String ETAG concode_elem_sep String BODY_FORMAT concode_elem_sep String body concode_elem_sep String title concode_elem_sep Pattern BODY_PATTERN concode_elem_sep List<Label> l... | String function ( String arg0 ) { return "srini_string" + arg0 ; } |
1,543 | sets the currently used node factory . concode_field_sep KademliaSetup singleton concode_elem_sep WorkloadGenerator workloadGen concode_elem_sep Logger log concode_elem_sep AbstractNodeFactory nodeFactory concode_elem_sep KademliaMonitor monitor concode_elem_sep Config config concode_field_sep WorkloadGenerator getWork... | void function ( final AbstractNodeFactory arg0 ) { nodeFactory = arg0 ; } |
1,544 | sets entity content as a parameter list . this method is mutually exclusive with #settext string , #setbinary byte , #setstream java.io.inputstream , #setserializable java.io.serializable , #setfile java.io.file methods . concode_field_sep File file concode_elem_sep boolean gzipCompress concode_elem_sep InputStream str... | EntityBuilder function ( final NameValuePair ... arg0 ) { return setParameters ( Arrays . asList ( arg0 ) ) ; } |
1,545 | returns the memory bin for the given uri for external use . concode_field_sep int _pageSize concode_elem_sep int DEFAULT_PAGESIZE concode_elem_sep Map<String,Bin> _binsByUri concode_field_sep Bin produceBin concode_elem_sep void rename concode_elem_sep boolean exists concode_elem_sep void delete concode_elem_sep Bin op... | Bin function ( String arg0 ) { return _binsByUri . get ( arg0 ) ; } |
1,546 | sets the reconciling strategies for this composite strategy . concode_field_sep IReconcilingStrategy[] fStrategies concode_field_sep void reconcile concode_elem_sep void reconcile concode_elem_sep void setDocument concode_elem_sep void setProgressMonitor concode_elem_sep IReconcilingStrategy[] getReconcilingStrategies ... | void function ( IReconcilingStrategy [ ] arg0 ) { fStrategies = arg0 ; } |
1,547 | gets the value of the applications 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 applications property . for example , to add a new it... | List < Application > function ( ) { if ( applications == null ) { applications = new ArrayList < Application > ( ) ; } return this . applications ; } |
1,548 | move to the specified synchronization point , as returned by datafilewriter #sync . concode_field_sep byte[] MAGIC concode_elem_sep String CODEC concode_elem_sep Schema schema concode_elem_sep long blockCount concode_elem_sep int SYNC_SIZE concode_elem_sep String SYNC concode_elem_sep DataFileReader.SeekableInputStream... | void function ( long arg0 ) { in . seek ( arg0 ) ; blockCount = 0 ; blockStart = arg0 ; vin = DecoderFactory . get ( ) . binaryDecoder ( in , vin ) ; } |
1,549 | reads an unsigned exp-golomb-coded format integer . concode_field_sep byte[] data concode_elem_sep int byteOffset concode_elem_sep int bitOffset concode_elem_sep int byteLimit concode_field_sep int bitsLeft concode_elem_sep boolean readBit concode_elem_sep int getPosition concode_elem_sep int readExpGolombCodeNum conco... | int function ( ) { return readExpGolombCodeNum ( ) ; } |
1,550 | compares this object with the specified object for ascending millisecond instant order . this ordering is inconsistent with equals , as it ignores the chronology . all readableinstant instances are accepted . concode_field_sep PlaceHolder placeHolder concode_field_sep MutableDateTime toMutableDateTime concode_elem_sep ... | int function ( ReadableInstant arg0 ) { if ( this == arg0 ) { return 0 ; } long loc0 = arg0 . getMillis ( ) ; long loc1 = getMillis ( ) ; if ( loc1 == loc0 ) { return 0 ; } if ( loc1 < loc0 ) { return - 1 ; } else { return 1 ; } } |
1,551 | returns whether a java.awt.filedialog misreports its screenlocation . concode_field_sep boolean gotBug1Event concode_elem_sep java.util.ArrayList bugList concode_field_sep boolean fileDialogRequiresDismiss concode_elem_sep boolean hasHierarchyEventGenerationBug concode_elem_sep boolean hasKeyStrokeGenerationBug concode... | boolean function ( ) { return ( Platform . isOSX ( ) && Platform . JAVA_VERSION <= 0x1425 ) || ( Platform . isWindows ( ) && Platform . JAVA_VERSION <= Platform . JAVA_1_5 ) ; } |
1,552 | returns the last sibling of ` a ' . concode_field_sep FilterPredicate predicate concode_elem_sep List collectedNodes concode_field_sep AST findTypeInChildren concode_elem_sep AST findPreviousSibling concode_elem_sep String getPathText concode_elem_sep void getPathText concode_elem_sep String getTokenTypeName concode_el... | AST function ( AST arg0 ) { AST loc0 = null ; while ( arg0 != null ) { loc0 = arg0 ; arg0 = arg0 . getNextSibling ( ) ; } return loc0 ; } |
1,553 | return the current amount of allocated memory that this accountant is managing accounting for . note this does not include reservation memory that has n't been allocated . concode_field_sep Accountant parent concode_elem_sep AtomicLong allocationLimit concode_elem_sep AtomicLong peakAllocation concode_elem_sep long res... | long function ( ) { return locallyHeldMemory . get ( ) ; } |
1,554 | retrieve a propertymapping describing the given collection role . concode_field_sep SessionFactoryImplementor sfi concode_elem_sep Map<String,PropertyMapping> collectionPropertyMappingByRole concode_field_sep QueryableCollection getCollectionPersister concode_elem_sep Type getElementType concode_elem_sep JoinSequence c... | PropertyMapping function ( String arg0 ) { return collectionPropertyMappingByRole . get ( arg0 ) ; } |
1,555 | delegate method for javainformationprovider #getinformationpresentercontrolcreator concode_field_sep IEditorPart fEditor concode_field_sep IEditorPart getEditor concode_elem_sep IJavaElement[] getJavaElementsAt concode_elem_sep boolean isInheritDoc concode_elem_sep IRegion getHoverRegion concode_elem_sep void setEditor... | IInformationControlCreator function ( ) { return new IInformationControlCreator ( ) { @ Override public IInformationControl createInformationControl ( Shell arg0 ) { return new DefaultInformationControl ( arg0 , true ) ; } } ; } |
1,556 | release a port from the reference count , and update isdone if all is done . concode_field_sep Logger LOG concode_elem_sep LocalAssignment _assignment concode_elem_sep Future<Void> _pending concode_elem_sep boolean _isDone concode_elem_sep Set<PortNAssignment> _references concode_elem_sep Future<T> _wrapped concode_ele... | boolean function ( int arg0 , LocalAssignment arg1 ) { PortNAssignment loc0 = new PortNAssignment ( arg0 , arg1 ) ; boolean loc1 = _references . remove ( loc0 ) ; if ( loc1 && _references . isEmpty ( ) ) { _isDone = true ; } return loc1 ; } |
1,557 | getter for property currenttextcolor . concode_field_sep int OPAQUE concode_elem_sep int TA_LEFT concode_elem_sep int TA_BASELINE concode_elem_sep ArrayList<MetaObject> MetaObjects concode_elem_sep int TA_TOP concode_elem_sep int TA_BOTTOM concode_elem_sep int TA_UPDATECP concode_elem_sep int TA_RIGHT concode_elem_sep ... | BaseColor function ( ) { return currentTextColor ; } |
1,558 | returns cpi resources which reference consume a given ppi resource concode_field_sep EntityManager entityManager concode_elem_sep Logger log concode_elem_sep long serialVersionUID concode_elem_sep ResourceDependencyResolverService dependencyResolverService concode_field_sep void setSoftlinkRelation concode_elem_sep Sof... | List < ResourceEntity > function ( ResourceEntity arg0 ) { if ( arg0 . getId ( ) != null ) { return entityManager . createQuery ( "srini_string" , ResourceEntity . class ) . setParameter ( "srini_string" , arg0 . getSoftlinkId ( ) ) . getResultList ( ) ; } return Collections . emptyList ( ) ; } |
1,559 | reads data lookup quality information from the given file . concode_field_sep Map<Integer,OpDelay> opDelay concode_elem_sep Map<Integer,DataLookupQuality> dataQuality concode_elem_sep Map<Integer,NodeLookupQuality> nodeQuality concode_elem_sep Map<Integer,OpTraffic> opTraffic concode_field_sep void readOpDelay concode_... | void function ( final String arg0 ) { dataQuality = new HashMap < Integer , DataLookupQuality > ( ) ; FileReader loc0 = new FileReader ( arg0 ) ; BufferedReader loc1 = new BufferedReader ( loc0 ) ; String loc2 = null ; DataLookupQuality loc3 ; loc1 . readLine ( ) ; while ( ( loc2 = loc1 . readLine ( ) ) != null ) { loc... |
1,560 | returns the serialized payload of the request in this rpc . will only be generated from a requestor and will not include handshake or meta-data . if the request payload has not been set yet , returns null . concode_field_sep Map<String,ByteBuffer> requestCallMeta concode_elem_sep Map<String,ByteBuffer> responseCallMeta... | List < ByteBuffer > function ( ) { return this . requestPayload ; } |
1,561 | create and return a remotebuildr instance . concode_field_sep String PROP_WEBTESTS_BROWSER concode_elem_sep String PROP_WEBTESTS_LOCALES concode_elem_sep String PROP_WEBTESTS_HUB_URL concode_field_sep ChromeBuildr chrome concode_elem_sep SafariBuildr safari concode_elem_sep SysPropsBuildr fromSysProps concode_elem_sep ... | RemoteBuildr function ( ) { return new RemoteBuildr ( ) ; } |
1,562 | removes all the elements from this collection that are returned by iterable . concode_field_sep int _size concode_elem_sep List4 _last concode_elem_sep List4 _first concode_elem_sep int _version concode_field_sep void prepend concode_elem_sep void replace concode_elem_sep boolean remove concode_elem_sep Object singleEl... | void function ( Iterable4 arg0 ) { removeAll ( arg0 . iterator ( ) ) ; } |
1,563 | test that stopping the hibernate-osgi bundle happens cleanly . todo : this will be really simplistic at first , but should be expanded upon . concode_field_sep BundleContext context concode_field_sep void testNative concode_elem_sep void commonTests concode_elem_sep void testLazyLoading concode_elem_sep void testClient... | void function ( ) { commonTests ( ) ; findHibernateBundle ( "srini_string" ) . stop ( ) ; testHibernateBundle ( "srini_string" , Bundle . RESOLVED ) ; assertNull ( context . getServiceReference ( OsgiSessionFactoryService . class ) ) ; assertNull ( context . getServiceReference ( OsgiPersistenceProviderService . class ... |
1,564 | called when a chunk with a generic tag is written . it is useful to pinpoint the chunk location to generate bookmarks , for example . concode_field_sep PlaceHolder placeHolder concode_field_sep void onSection concode_elem_sep void onParagraph concode_elem_sep void onParagraphEnd concode_elem_sep void onOpenDocument con... | void function ( PdfWriter arg0 , Document arg1 , Rectangle arg2 , String arg3 ) { } |
1,565 | returns the artifact type . concode_field_sep String CLASSIFIER_SEPARATOR concode_elem_sep String m_fullClassifier concode_elem_sep String FILE_SEPARATOR concode_elem_sep String TYPE_SEPARATOR concode_elem_sep String m_artifact concode_elem_sep String m_group concode_elem_sep String m_classifier concode_elem_sep String... | String function ( ) { return m_type ; } |
1,566 | returns a scanner which is configured to scan java multi-line comments . concode_field_sep JavaCommentScanner fMultilineCommentScanner concode_elem_sep JavaCommentScanner fSinglelineCommentScanner concode_elem_sep JavaDocScanner fJavaDocScanner concode_elem_sep PreferenceListener fPreferenceListener concode_elem_sep Ja... | RuleBasedScanner function ( ) { return fMultilineCommentScanner ; } |
1,567 | returns the number of hits that match the given query . concode_field_sep TContact c concode_elem_sep int numberOfHits concode_field_sep int getTotalHits concode_elem_sep long getSize concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep TContact getContact | int function ( ) { return numberOfHits ; } |
1,568 | check to see if the given item is in an array . concode_field_sep PlaceHolder placeHolder concode_field_sep int findFirstNotContainedIn concode_elem_sep int ctrlSelect concode_elem_sep int last concode_elem_sep int stdSelect concode_elem_sep int indexToSelect concode_elem_sep int indexToSelect concode_elem_sep int shif... | boolean function ( int arg0 , int [ ] arg1 ) { for ( int loc0 = 0 ; loc0 < arg1 . length ; ++ loc0 ) { if ( arg1 [ loc0 ] == arg0 ) return true ; } return false ; } |
1,569 | get a list of nodes that have no outbound edges . concode_field_sep Set<Node> allNodes concode_elem_sep ListMultimap<Node,Edge<Node>> adjacencies concode_elem_sep int lowlink concode_elem_sep V nodeValue concode_elem_sep boolean visited concode_elem_sep int index concode_field_sep AdjacencyList<V> getReversedList conco... | Collection < V > function ( ) { return convert ( getInternalLeafNodes ( ) ) ; } |
1,570 | remove a value from the map concode_field_sep LinkedHashMap<S,LinkedHashMap<S,T>> values concode_field_sep boolean contains concode_elem_sep T get concode_elem_sep Set<T> removeComplementarySet concode_elem_sep void put | T function ( S arg0 , S arg1 ) { Map < S , T > loc0 ; if ( ( loc0 = values . get ( arg0 ) ) != null ) { if ( loc0 . containsKey ( arg1 ) ) return loc0 . remove ( arg1 ) ; } return null ; } |
1,571 | sets the error messages directly from a reader . concode_field_sep String BASE_PATH concode_elem_sep HashMap<String,String> currentLanguage concode_elem_sep HashMap<String,String> defaultLanguage concode_field_sep String getComposedMessage concode_elem_sep String getComposedMessage concode_elem_sep HashMap<String,Strin... | void function ( Reader arg0 ) { currentLanguage = readLanguageStream ( arg0 ) ; } |
1,572 | getter for property backgroundmode . concode_field_sep int OPAQUE concode_elem_sep int TA_LEFT concode_elem_sep int TA_BASELINE concode_elem_sep ArrayList<MetaObject> MetaObjects concode_elem_sep int TA_TOP concode_elem_sep int TA_BOTTOM concode_elem_sep int TA_UPDATECP concode_elem_sep int TA_RIGHT concode_elem_sep in... | int function ( ) { return backgroundMode ; } |
1,573 | return the directory into which we put our self-extracted native libraries and make sure it exists . concode_field_sep byte[] cachedBuffer concode_field_sep void reliablyCopyExecutable concode_elem_sep void deleteOrThrow concode_elem_sep FileLocker lockLibsDirectory concode_elem_sep void freeCopyBuffer concode_elem_sep... | File function ( Context arg0 ) { File loc0 = getLibsDirectory ( arg0 ) ; if ( ! loc0 . isDirectory ( ) && ! loc0 . mkdirs ( ) ) { throw new RuntimeException ( "srini_string" ) ; } return loc0 ; } |
1,574 | returns the number of values = v. concode_field_sep long serialVersionUID concode_elem_sep TreeMap freqTable concode_field_sep int compare concode_elem_sep double getPct concode_elem_sep double getPct concode_elem_sep double getPct concode_elem_sep double getPct concode_elem_sep long getCumFreq concode_elem_sep long ge... | long function ( Object arg0 ) { if ( arg0 instanceof Integer ) { return getCount ( ( ( Integer ) arg0 ) . longValue ( ) ) ; } long loc0 = 0 ; try { Long loc1 = ( Long ) freqTable . get ( arg0 ) ; if ( loc1 != null ) { loc0 = loc1 . longValue ( ) ; } } catch ( ClassCastException loc1 ) { } return loc0 ; } |
1,575 | writes a buffer to the seeked address concode_field_sep int COPY_SIZE concode_elem_sep int _blockSize concode_field_sep int read concode_elem_sep int read concode_elem_sep long regularAddress concode_elem_sep void delete concode_elem_sep void seek concode_elem_sep void sync concode_elem_sep void blockSize concode_elem_... | void function ( byte [ ] arg0 ) { write ( arg0 , arg0 . length ) ; } |
1,576 | scalar product of vector of polynomials with polynomial . concode_field_sep Logger logger concode_field_sep List<GenPolynomial<C>> vectorAdd concode_elem_sep boolean isZero | List < GenPolynomial < C >> function ( List < GenPolynomial < C >> arg0 , GenPolynomial < C > arg1 ) { List < GenPolynomial < C >> loc0 = new ArrayList < GenPolynomial < C >> ( arg0 . size ( ) ) ; for ( GenPolynomial < C > loc1 : arg0 ) { if ( loc1 != null ) { loc1 = loc1 . multiply ( arg1 ) ; } loc0 . add ( loc1 ) ; }... |
1,577 | return a library that loads the structure-only from code.jquery.com concode_field_sep String BASE_RESOURCE_URL concode_elem_sep String url concode_field_sep JQueryLibrary core concode_elem_sep JQueryLibrary baseTheme concode_elem_sep JQueryLibrary ui concode_elem_sep void renderOn concode_elem_sep JQueryLibrary mobileT... | JQueryLibrary function ( String arg0 ) { return new JQueryLibrary ( BASE_RESOURCE_URL + "srini_string" + arg0 + "srini_string" + arg0 + "srini_string" ) ; } |
1,578 | returns 0-15 15/16 times . returns 0-255 255/256 times . returns 0-4095 4095/4096 times . returns 0-65535 every time . concode_field_sep long seed concode_elem_sep boolean seedSet concode_field_sep void testRandomLength concode_elem_sep String randomString concode_elem_sep Random createRandom concode_elem_sep void rese... | int function ( Random arg0 ) { int loc0 = arg0 . nextInt ( ) ; if ( loc0 < 0 ) loc0 = - loc0 ; return loc0 & ( ( loc0 & 0xF0000 ) != 0 ? 0xF : ( ( loc0 & 0xFF0000 ) != 0 ? 0xFF : ( ( loc0 & 0xFFF0000 ) != 0 ? 0xFFF : 0xFFFF ) ) ) ; } |
1,579 | called once before initial sorting starts the first time . note : as of 3.8 a completion proposal computer can request that proposals are resorted . if such a computer is active , then this method will not be called . clients may override , the default implementation does nothing . concode_field_sep PlaceHolder placeHo... | void function ( ContentAssistInvocationContext arg0 ) { } |
1,580 | returns true if the experiment has aditional values . concode_field_sep Context context concode_elem_sep String experimentName concode_field_sep JSONObject getValues concode_elem_sep boolean isActive concode_elem_sep boolean isActive | boolean function ( ) { return SwitchBoard . hasExperimentValues ( context , experimentName ) ; } |
1,581 | opens the given url in the browser as choosen in the preferences . concode_field_sep PlaceHolder placeHolder concode_field_sep void internalOpen concode_elem_sep void openExternal | void function ( final URL arg0 , Display arg1 ) { arg1 . syncExec ( new Runnable ( ) { @ Override public void run ( ) { internalOpen ( arg0 , false ) ; } } ) ; } |
1,582 | transfers from right to left concode_field_sep PlaceHolder placeHolder concode_field_sep void swap concode_elem_sep void swap | byte [ ] function ( byte [ ] arg0 , byte [ ] arg1 ) { return ArrayTool . transferValues ( arg0 , arg1 , 0 , arg1 . length ) ; } |
1,583 | setter for the font provider concode_field_sep FontProvider provider concode_field_sep ListItem createListItem concode_elem_sep void setParagraphLeading concode_elem_sep List createList concode_elem_sep Image createImage concode_elem_sep FontProvider getFontProvider concode_elem_sep Chunk createChunk concode_elem_sep L... | void function ( final FontProvider arg0 ) { this . provider = arg0 ; } |
1,584 | creates a criterion using the > operator concode_field_sep List<Criteria> criteriaChain concode_elem_sep ValueNode left concode_elem_sep ValueNode right concode_elem_sep RelationalOperator criteriaType concode_field_sep Criteria lt concode_elem_sep Criteria type concode_elem_sep String prefixPath concode_elem_sep Crite... | Criteria function ( Object arg0 ) { this . criteriaType = RelationalOperator . GT ; this . right = ValueNode . toValueNode ( arg0 ) ; return this ; } |
1,585 | only exposed so that script may invoke it on load from disk . concode_field_sep String description concode_elem_sep Resolver resolver concode_elem_sep Throwable invalidScriptError concode_field_sep String toXMLString concode_elem_sep Map getAttributes concode_elem_sep String getXMLTag concode_elem_sep void writeObject ... | void function ( Map arg0 ) { Log . debug ( "srini_string" + getClass ( ) ) ; description = ( String ) arg0 . get ( TAG_DESC ) ; } |
1,586 | assertion which requires list of one element as a result of indefinite path search . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertHasResults concode_elem_sep void assertEvaluationThrows concode_elem_sep void assertEvaluationThrows concode_elem_sep void assertHasNoResults | void function ( final String arg0 , final String arg1 , Configuration arg2 ) { assertHasResults ( arg0 , arg1 , 1 , arg2 ) ; } |
1,587 | sets the suffix of the output file including the file extension . the file name will be constructed by appending the prefix , some configuration and version information , and the suffix . if that file already exists , it will be overwritten . if not , it will be created . if the path does not exist , it is attempted to... | void function ( final String arg0 ) { if ( ! started ) { fileSuffix = arg0 ; } } |
1,588 | returns a boolean indicating whether the subpath is degenerate or not . a degenerate subpath is the subpath consisting of a single-point closed path or of two or more points at the same coordinates . concode_field_sep List<Shape> segments concode_elem_sep Point2D startPoint concode_elem_sep boolean closed concode_field... | boolean function ( ) { if ( segments . size ( ) > 0 && closed ) { return false ; } for ( Shape loc0 : segments ) { Set < Point2D > loc1 = new HashSet < Point2D > ( loc0 . getBasePoints ( ) ) ; if ( loc1 . size ( ) != 1 ) { return false ; } } return segments . size ( ) > 0 || closed ; } |
1,589 | gets the first codec which can decode the specified format . concode_field_sep Registry instance concode_field_sep Codec[] getCodecs concode_elem_sep Codec[] getDecoders concode_elem_sep String[] getCodecClasses concode_elem_sep Codec[] getEncoders concode_elem_sep void unregisterCodec concode_elem_sep void putCodec co... | Codec function ( Format arg0 ) { return getCodec ( arg0 , null ) ; } |
1,590 | get the index into the local variable array . concode_field_sep String name concode_elem_sep int index concode_elem_sep Type type concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String name concode_elem_sep String toString concode_elem_sep Type type | int function ( ) { return index ; } |
1,591 | returns the number of expressions on the stack . concode_field_sep ArrayList stack concode_elem_sep int height concode_field_sep Expr pop concode_elem_sep void set concode_elem_sep Expr pop1 concode_elem_sep Expr[] pop2 concode_elem_sep Expr get concode_elem_sep boolean isEmpty concode_elem_sep void replace concode_ele... | int function ( ) { return stack . size ( ) ; } |
1,592 | verifies if div is a stack owner . should be true . concode_field_sep List<Element> currentContent concode_elem_sep Div d concode_elem_sep WorkerContextImpl workerContextImpl concode_field_sep void init concode_elem_sep void verifyNumberOfParagraphs concode_elem_sep void verifyIfPdfDiv concode_elem_sep void verifyConte... | void function ( ) { Assert . assertTrue ( d . isStackOwner ( ) ) ; } |
1,593 | normally , the propagation of messages through channels and routers of the internet is affected by the propagation delays of the physical media , and the processing - , queuing - , and transmission delays of the routers . the so called internet propagation delay is modeled as the sum of a fixed part that combines the a... | double function ( NetID arg0 , NetID arg1 ) { NetLayer loc0 = subnet . getNetLayer ( arg0 ) ; NetLayer loc1 = subnet . getNetLayer ( arg1 ) ; return lm . getPropagationDelay ( ( GnpNetLayer ) loc0 , ( GnpNetLayer ) loc1 ) / ( double ) Simulator . MILLISECOND_UNIT ; } |
1,594 | create a widget not found match result . concode_field_sep int MATCH concode_elem_sep Collection _widgets concode_elem_sep int _dbComparisons concode_elem_sep Widget _widget concode_elem_sep Hierarchy _hierarchy concode_elem_sep int BFS concode_elem_sep int DFS concode_elem_sep int _type concode_elem_sep ArrayList _lis... | MatchResult function ( ) { return new MatchResult ( WIDGET_NOT_FOUND ) ; } |
1,595 | returns an unmodifiable view of the given bag . any modification attempts to the returned bag will raise an unsupportedoperationexception . concode_field_sep Bag EMPTY_BAG concode_elem_sep Bag EMPTY_SORTED_BAG concode_field_sep Bag predicatedBag concode_elem_sep SortedBag synchronizedSortedBag concode_elem_sep SortedBa... | Bag function ( Bag arg0 ) { return UnmodifiableBag . decorate ( arg0 ) ; } |
1,596 | empty payload object has no syncid or storageversion and should call freshstart . concode_field_sep String LOG_TAG concode_elem_sep String TEST_NW_URL concode_elem_sep String TEST_PASSWORD concode_elem_sep String TEST_SYNC_ID concode_elem_sep String TEST_SERVER concode_elem_sep String TEST_CLUSTER_URL concode_elem_sep ... | void function ( ) { MockServer loc0 = new MockServer ( 200 , TestMetaGlobal . TEST_META_GLOBAL_EMPTY_PAYLOAD_RESPONSE ) ; doSession ( loc0 ) ; assertTrue ( calledFreshStart ) ; } |
1,597 | verify if the thief uses the provided stealing method concode_field_sep PlaceHolder placeHolder concode_field_sep void testChangeMethod | void function ( ) { final StealingMethod loc0 = mock ( StealingMethod . class ) ; final HalflingThief loc1 = new HalflingThief ( loc0 ) ; loc1 . steal ( ) ; verify ( loc0 ) . steal ( ) ; verifyNoMoreInteractions ( loc0 ) ; } |
1,598 | checks if given port is open on ` localhost ' concode_field_sep Logger LOG concode_elem_sep String cmdHistory concode_elem_sep PythonProcess mockPythonProcess concode_elem_sep PythonInterpreter pythonInterpreter concode_field_sep void testPy4jInstalled concode_elem_sep void checkMultiRowErrorFails concode_elem_sep bool... | boolean function ( Integer arg0 ) { Socket loc0 = new Socket ( ) ; boolean loc1 = false ; int loc2 = 0 ; boolean loc3 = false ; while ( loc3 = tryToConnect ( loc0 , arg0 ) && loc2 < 10 ) { loc1 = loc3 ; tryToClose ( loc0 ) ; loc2 ++ ; loc0 = new Socket ( ) ; } return loc1 ; } |
1,599 | like #assign autocloseable , except that any exception thrown by closing the previously held pointer is wrapped with an unchecked runtimeexception . concode_field_sep T pointer concode_field_sep T adopt concode_elem_sep T get concode_elem_sep void close concode_elem_sep void assign | void function ( final T arg0 ) { try { assign ( arg0 ) ; } catch ( final Exception loc0 ) { throw new RuntimeException ( loc0 ) ; } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.