idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
6,300 | stop the timer and return elapsed time concode_field_sep long stop concode_elem_sep long elapsed concode_elem_sep long start concode_field_sep long current concode_elem_sep long start concode_elem_sep String format | long function ( ) { stop = System . currentTimeMillis ( ) ; elapsed = stop - start ; return elapsed ; } |
6,301 | creates a new vocid using the given vocabulary id like `` unknownerror '' . concode_field_sep String id concode_field_sep String getID concode_elem_sep String toString concode_elem_sep String getDefaultValue | VocByString function ( String arg0 ) { return new VocByString ( arg0 ) ; } |
6,302 | applies the appropriate space policy to the given text element . concode_field_sep PlaceHolder placeHolder concode_field_sep TtmlStyle resolveStyle concode_elem_sep void applyStylesToSpan concode_elem_sep void endParagraph | String function ( String arg0 ) { String loc0 = arg0 . replaceAll ( "srini_string" , "srini_string" ) ; loc0 = loc0 . replaceAll ( "srini_string" , "srini_string" ) ; loc0 = loc0 . replaceAll ( "srini_string" , "srini_string" ) ; loc0 = loc0 . replaceAll ( "srini_string" , "srini_string" ) ; return loc0 ; } |
6,303 | gets the current state of the problem . concode_field_sep List<State> finalStates concode_elem_sep int maximumQueueSize concode_elem_sep List<Move> moves concode_elem_sep int queueOperations concode_elem_sep List<State> initialStates concode_elem_sep List<Canvas> finalCanvases concode_elem_sep boolean useChooser concod... | State function ( ) { return currentState ; } |
6,304 | test method for examplealgorithm #getconfigurationrequirements the algorithmshould return one configuration specification of string type concode_field_sep String fileInputIdentifier concode_elem_sep ExampleAlgorithm algorithm concode_field_sep void setUp concode_elem_sep void testSetConfigurationValue concode_elem_sep ... | void function ( ) { List < ConfigurationRequirement > loc0 = this . algorithm . getConfigurationRequirements ( ) ; assertEquals ( 3 , loc0 . size ( ) ) ; } |
6,305 | if the traversal is complete . concode_field_sep Stack<TextObject> ancestors concode_field_sep TextObject next concode_elem_sep void descend | boolean function ( ) { return ! ancestors . empty ( ) ; } |
6,306 | gets all devices with a filter of instances . usage : arraylist devices2 = tellstickdevice.getdevices device.class , dimmabledevice.class , ... etc. . . ; concode_field_sep int deviceType concode_elem_sep String protocol concode_elem_sep String data concode_elem_sep String name concode_elem_sep String model concode_ele... | ArrayList < TellstickDevice > function ( Class < ? extends TellstickDevice > ... arg0 ) { return filterDevices ( getDevices ( ) , arg0 ) ; } |
6,307 | a java package style string acting as unique id for these parameters concode_field_sep int INTERVAL concode_elem_sep long MAX_COINS concode_elem_sep int p2shHeader concode_elem_sep int PROTOCOL_VERSION concode_elem_sep BigInteger maxTarget concode_elem_sep int TARGET_SPACING concode_elem_sep String[] dnsSeeds concode_e... | String function ( ) { return id ; } |
6,308 | returns the upper bound . concode_field_sep double upperBound concode_elem_sep int alpha concode_elem_sep double lowerBound concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep double getLowerBound concode_elem_sep Paint getPaint concode_elem_sep int getAlpha | double function ( ) { return this . upperBound ; } |
6,309 | checks whether a given year is a leap year . concode_field_sep long MILLIS_DAY concode_elem_sep int month concode_elem_sep int year concode_elem_sep int day concode_field_sep EasyDate add concode_elem_sep int getYear concode_elem_sep int daysTo concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_... | boolean function ( int arg0 ) { return ( new GregorianCalendar ( ) ) . isLeapYear ( arg0 ) ; } |
6,310 | returns repository type concode_field_sep Settings settings concode_elem_sep String name concode_elem_sep String type concode_field_sep Settings settings concode_elem_sep void writeTo concode_elem_sep RepositoryMetaData readFrom concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String name | String function ( ) { return this . type ; } |
6,311 | not supported concode_field_sep ThreadLocal<Connection> DEFAULT_CONNECTION concode_elem_sep String DEFAULT_URL concode_elem_sep boolean registered concode_elem_sep Driver INSTANCE concode_field_sep int getMajorVersion concode_elem_sep Driver load concode_elem_sep int getMinorVersion concode_elem_sep void unload concode... | Logger function ( ) { return null ; } |
6,312 | determines whether we 're occupied . concode_field_sep int WORKERTHREAD_BUSY concode_elem_sep boolean running concode_elem_sep WorkerTask task concode_elem_sep int WORKERTHREAD_BLOCKED concode_elem_sep int WORKERTHREAD_IDLE concode_elem_sep boolean assigned concode_elem_sep int state concode_elem_sep WorkerThreadPool s... | boolean function ( ) { return assigned ; } |
6,313 | gets the value of the cmpd property . concode_field_sep CTPatternFillProperties pattFill concode_elem_sep CTOfficeArtExtensionList extLst concode_elem_sep CTDashStopList custDash concode_elem_sep CTLineJoinBevel bevel concode_elem_sep STCompoundLine cmpd concode_elem_sep STLineCap cap concode_elem_sep CTLineJoinRound r... | STCompoundLine function ( ) { return cmpd ; } |
6,314 | returns the property names . concode_field_sep DefBase _owner concode_elem_sep String _name concode_elem_sep Properties _properties concode_field_sep String getName concode_elem_sep String getProperty concode_elem_sep void setProperty concode_elem_sep String toString concode_elem_sep DefBase getOwner concode_elem_sep v... | Iterator function ( ) { return _properties . keySet ( ) . iterator ( ) ; } |
6,315 | common test setup . concode_field_sep boolean flag concode_elem_sep JFreeChart chart concode_field_sep void chartChanged concode_elem_sep void testSetSeriesURLGenerator concode_elem_sep void testReplaceDataset concode_elem_sep JFreeChart createAreaChart concode_elem_sep void testDrawWithNullInfo concode_elem_sep void t... | void function ( ) { this . chart = createAreaChart ( ) ; } |
6,316 | sets the content-encoding http header on an object . concode_field_sep PlaceHolder placeHolder concode_field_sep CloudStorageOption.OpenCopy withMimeType concode_elem_sep CloudStorageOption.OpenCopy withAcl concode_elem_sep CloudStorageOption.OpenCopy withBlockSize concode_elem_sep CloudStorageOption.OpenCopy withCache... | CloudStorageOption . OpenCopy function ( String arg0 ) { return OptionContentEncoding . create ( arg0 ) ; } |
6,317 | stops media application concode_field_sep String remoteaddr concode_elem_sep Process media_process concode_elem_sep Log log concode_elem_sep int localport concode_elem_sep int remoteport concode_elem_sep String command concode_field_sep boolean startMedia concode_elem_sep void printLog | boolean function ( ) { if ( media_process != null ) media_process . destroy ( ) ; return true ; } |
6,318 | returns the external repository file entry key . concode_field_sep String _extRepositoryFileEntryKey concode_elem_sep String _version concode_field_sep String getVersion | String function ( ) { return _extRepositoryFileEntryKey ; } |
6,319 | creates normalized sql time object based on the target calendar . concode_field_sep DateFormat TIME_FORMAT concode_elem_sep DateFormat DATE_FORMAT concode_elem_sep ThreadLocal<Calendar> CALENDAR concode_elem_sep DateFormat DATETIME_FORMAT concode_field_sep Date normalizeDate concode_elem_sep Calendar adjustCalendarForD... | Time function ( Calendar arg0 ) { return new Time ( arg0 . getTimeInMillis ( ) ) ; } |
6,320 | creates an injector for the given set of modules . this is equivalent to calling #createinjector stage , module with stage.development . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | Injector function ( Module ... arg0 ) { return createInjector ( Arrays . asList ( arg0 ) ) ; } |
6,321 | obtains the route for which this pool is specific . concode_field_sep LinkedList<BasicPoolEntry> freeEntries concode_elem_sep HttpRoute route concode_elem_sep int maxEntries concode_elem_sep Queue<WaitingThread> waitingThreads concode_elem_sep int numEntries concode_elem_sep ConnPerRoute connPerRoute concode_elem_sep H... | HttpRoute function ( ) { return route ; } |
6,322 | checks if this is a pseudo-model for an intermediate segment of a complex property . concode_field_sep String fragmentKey concode_elem_sep boolean readonly concode_elem_sep String fragmentName concode_elem_sep PropertyType propertyType concode_elem_sep boolean fulltext concode_elem_sep boolean isIntermediateSegment con... | boolean function ( ) { return isIntermediateSegment ; } |
6,323 | convenience method to register a new listener . concode_field_sep int count concode_elem_sep StaleEvent event concode_elem_sep List<IObservablesListener> queue concode_field_sep void handleStale | StaleEventTracker function ( IObservable arg0 ) { StaleEventTracker loc0 = new StaleEventTracker ( ) ; arg0 . addStaleListener ( loc0 ) ; return loc0 ; } |
6,324 | gets the value of the key property . concode_field_sep ManagedObjectReference host concode_elem_sep ManagedObjectReference _this concode_elem_sep String key concode_field_sep void setThis concode_elem_sep ManagedObjectReference getThis concode_elem_sep void setHost concode_elem_sep ManagedObjectReference getHost concod... | String function ( ) { return key ; } |
6,325 | returns the result of interpretting the object as an instance of ` annotation ' . this implementation returns null ; returning a non-null result will terminate the switch . concode_field_sep CorePackage modelPackage concode_field_sep Object caseDatatype concode_elem_sep Object caseLinkContainer concode_elem_sep Object ... | Object function ( Annotation arg0 ) { return null ; } |
6,326 | the number of binaries . concode_field_sep long gcDuration concode_elem_sep long numBinaries concode_elem_sep long sizeBinaries concode_elem_sep long numBinariesGC concode_elem_sep long sizeBinariesGC concode_field_sep long getNumBinariesGC concode_elem_sep long getGCDuration concode_elem_sep long getSizeBinariesGC con... | long function ( ) { return numBinaries ; } |
6,327 | the default implementation returns the body that was passed in . concode_field_sep PlaceHolder placeHolder concode_field_sep HttpInputMessage beforeBodyRead concode_elem_sep Object afterBodyRead | Object function ( Object arg0 , HttpInputMessage arg1 , MethodParameter arg2 , Type arg3 , Class < ? extends HttpMessageConverter < ? >> arg4 ) { return arg0 ; } |
6,328 | sets what the new user 's enterprise role will be . concode_field_sep BoxUser.Role role concode_elem_sep String address concode_elem_sep boolean isExemptFromLoginVerification concode_elem_sep String timezone concode_elem_sep String jobTitle concode_elem_sep boolean isPlatformAccessOnly concode_elem_sep long spaceAmount... | CreateUserParams function ( BoxUser . Role arg0 ) { this . role = arg0 ; return this ; } |
6,329 | gets the current value at position i . concode_field_sep int base concode_elem_sep long serialVersionUID concode_elem_sep int[] array concode_elem_sep int shift concode_elem_sep Unsafe unsafe concode_field_sep int getAndIncrement concode_elem_sep void set concode_elem_sep int incrementAndGet concode_elem_sep boolean we... | int function ( int arg0 ) { return getRaw ( checkedByteOffset ( arg0 ) ) ; } |
6,330 | sets the error message that should be set on the reponse concode_field_sep Map<String,String> headers concode_elem_sep long serialVersionUID concode_elem_sep String DEFAULT_PARAM concode_elem_sep boolean parse concode_elem_sep int status concode_elem_sep String error concode_elem_sep String errorMessage concode_elem_se... | void function ( String arg0 ) { this . errorMessage = arg0 ; } |
6,331 | gets the client state token which needs to be retained in a hidden form field concode_field_sep String redirectUri concode_elem_sep String audience concode_elem_sep String clientId concode_elem_sep String clientCodeChallenge concode_elem_sep String proposedScope concode_elem_sep String state concode_elem_sep long seria... | String function ( ) { return state ; } |
6,332 | reset the wasused flag concode_field_sep long lastValue concode_elem_sep long currValue concode_elem_sep int dataType concode_elem_sep HsqlName name concode_elem_sep long increment concode_elem_sep long startValue concode_field_sep long getValue concode_elem_sep long getValue concode_elem_sep HsqlName getName concode_e... | void function ( ) { lastValue = currValue ; } |
6,333 | searches the disjoint sets for a given integer . returns the set containing the integer a. sets are represented by a local class node . concode_field_sep Node parent concode_elem_sep ResizeableArrayList nodes concode_elem_sep int rank concode_elem_sep int value concode_elem_sep Node child concode_field_sep boolean isEq... | Node function ( final int arg0 ) { nodes . ensureSize ( arg0 + 1 ) ; final Node loc0 = ( Node ) nodes . get ( arg0 ) ; if ( loc0 == null ) { final Node loc1 = new Node ( arg0 ) ; loc1 . child = new Node ( arg0 ) ; loc1 . child . parent = loc1 ; nodes . set ( arg0 , loc1 . child ) ; return loc1 ; } return findNode ( loc... |
6,334 | sax2 : look up the index of an attribute by namespace name . concode_field_sep String CDATASTRING concode_elem_sep Vector _names concode_elem_sep Vector _values concode_elem_sep Vector _uris concode_elem_sep String EMPTYSTRING concode_elem_sep Vector _qnames concode_elem_sep int _length concode_elem_sep Hashtable _attr... | int function ( String arg0 , String arg1 ) { return ( - 1 ) ; } |
6,335 | returns the value of the metric . concode_field_sep String name concode_elem_sep T value concode_elem_sep Date timestamp concode_field_sep String getName concode_elem_sep Metric<S> set concode_elem_sep Date getTimestamp concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Metric<Long> incremen... | T function ( ) { return this . value ; } |
6,336 | generates the next short name . this generates names of increasing length . to minimize output size , therefore , it 's good to call it for the most used symbols first . concode_field_sep char[] NONFIRST_CHAR concode_elem_sep Random random concode_elem_sep char[] FIRST_CHAR concode_elem_sep String prefix concode_elem_s... | String function ( ) { while ( true ) { String loc0 = prefix ; loc0 += generateSuffix ( prefix . length ( ) , nameCount ++ ) ; if ( TokenStream . isKeyword ( loc0 ) || reservedNames . contains ( loc0 ) ) { continue ; } return loc0 ; } } |
6,337 | sets whether this time zone has been checked , and so should be displayed in the bottom table ui . concode_field_sep boolean currentlyShowing concode_elem_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String abbreviation concode_elem_sep String mapCommandButto... | void function ( boolean arg0 ) { currentlyShowing = arg0 ; } |
6,338 | free up any resources used , immediately . concode_field_sep String urlLocation concode_elem_sep String errorMessage concode_elem_sep InputStream inputStream concode_elem_sep URL url concode_field_sep URLAccess doURLAccess concode_elem_sep void closeConnection | void function ( ) { urlLocation = null ; url = null ; errorMessage = null ; closeConnection ( ) ; } |
6,339 | gets the value of the any 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 any property . for example , to add a new item , do as follows... | List < AbstractExtensionElement > function ( ) { if ( any == null ) { any = new ArrayList < AbstractExtensionElement > ( ) ; } return this . any ; } |
6,340 | adds another polynomial which can have a different number of coefficients . concode_field_sep long[] coeffs concode_elem_sep int numCoeffs concode_field_sep void sub concode_elem_sep LongPolynomial2 mult concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep LongPolynomial2 multRecursive concode... | void function ( LongPolynomial2 arg0 ) { if ( arg0 . coeffs . length > coeffs . length ) { coeffs = Arrays . copyOf ( coeffs , arg0 . coeffs . length ) ; } for ( int loc0 = 0 ; loc0 < arg0 . coeffs . length ; loc0 ++ ) { coeffs [ loc0 ] = ( coeffs [ loc0 ] + arg0 . coeffs [ loc0 ] ) & 0x7FF0007FFL ; } } |
6,341 | returns the uuid of this w s r p consumer portlet . concode_field_sep WSRPConsumerPortlet _wsrpConsumerPortlet concode_field_sep void setName concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBr... | java . lang . String function ( ) { return _wsrpConsumerPortlet . getUuid ( ) ; } |
6,342 | the path from the execution root to the actual root . for source roots , this returns the empty fragment , root #getexecpath . concode_field_sep Set<Artifact> idlGeneratedJavaFiles concode_elem_sep String javaPackage concode_elem_sep Set<SourceDirectory> idlDirs concode_elem_sep ImmutableCollection<SourceDirectory> ass... | PathFragment function ( ) { return rootExecutionPathFragment ; } |
6,343 | force introspection of the bean properties . concode_field_sep PlaceHolder placeHolder concode_field_sep MethodDescriptor[] getMethodDescriptors concode_elem_sep int getDefaultPropertyIndex concode_elem_sep BeanInfo[] getAdditionalBeanInfo concode_elem_sep int getDefaultEventIndex concode_elem_sep EventSetDescriptor[] ... | PropertyDescriptor [ ] function ( ) { return null ; } |
6,344 | sets the meetups entry id of this meetups registration . concode_field_sep MeetupsRegistration _meetupsRegistration concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep... | void function ( long arg0 ) { _meetupsRegistration . setMeetupsEntryId ( arg0 ) ; } |
6,345 | add an output file concode_field_sep DeclStore inlinerData concode_elem_sep Map<String,Collection<String>> outputFiles concode_elem_sep ExtensionInfo extensionInfo concode_elem_sep Stats stats concode_elem_sep ClassFileLoader loader concode_elem_sep ErrorQueue eq concode_elem_sep List<ExtensionInfo> allExtensions conco... | void function ( SourceFile arg0 , String arg1 ) { PackageNode loc0 = arg0 . package_ ( ) ; String loc1 = loc0 == null ? "srini_string" : loc0 . package_ ( ) . get ( ) . fullName ( ) . toString ( ) + "srini_string" ; loc1 += arg0 . arg0 ( ) . name ( ) . substring ( 0 , arg0 . arg0 ( ) . name ( ) . lastIndexOf ( "srini_s... |
6,346 | reinitialise . concode_field_sep int bufpos concode_elem_sep boolean prevCharIsLF concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep int tabSize concode_elem_sep java.io.Reader inputStream concode_elem_sep int line concode_elem_sep int bufcolumn[] concode_elem_sep int bufline[] concode_elem_se... | void function ( java . io . InputStream arg0 , int arg1 , int arg2 , int arg3 ) { ReInit ( new java . io . InputStreamReader ( arg0 ) , arg1 , arg2 , arg3 ) ; } |
6,347 | get the path prefix for a service coordinate . concode_field_sep int instance concode_elem_sep String datacenter concode_elem_sep String serviceName concode_elem_sep String user concode_field_sep String getDatacenter concode_elem_sep ServiceCoordinate build concode_elem_sep Builder setServiceName concode_elem_sep Strin... | String function ( String arg0 ) { return getPathPrefix ( arg0 , false ) ; } |
6,348 | indicates whether the network interface is deleted when the instance is terminated . concode_field_sep String instanceId concode_elem_sep String attachmentId concode_elem_sep Boolean deleteOnTermination concode_elem_sep Integer deviceIndex concode_elem_sep String instanceOwnerId concode_elem_sep java.util.Date attachTi... | NetworkInterfaceAttachment function ( Boolean arg0 ) { setDeleteOnTermination ( arg0 ) ; return this ; } |
6,349 | listens for the invoke_application phase . concode_field_sep PlaceHolder placeHolder concode_field_sep void beforePhase concode_elem_sep void afterPhase | PhaseId function ( ) { return PhaseId . INVOKE_APPLICATION ; } |
6,350 | used to create , setup , and start an intervalrenderer from the passed rendermanager this is used in conjunction with faces-config.xml to allow the same single render manager to be set in all timezonebeans concode_field_sep boolean dialogRendered concode_elem_sep DateFormat selectedFormat concode_elem_sep ArrayList che... | void function ( RenderManager arg0 ) { clock = arg0 . getIntervalRenderer ( "srini_string" ) ; clock . setInterval ( renderInterval ) ; clock . add ( this ) ; clock . requestRender ( ) ; } |
6,351 | get this node 's max height , as defined in the style concode_field_sep CSSNodeDEPRECATED mParent concode_elem_sep CSSStyle style concode_elem_sep CSSNodeDEPRECATED nextChild concode_elem_sep ArrayList<CSSNodeDEPRECATED> mChildren concode_elem_sep int lineIndex concode_elem_sep Object mData concode_elem_sep MeasureFunc... | float function ( ) { return style . maxHeight ; } |
6,352 | get custom serializer concode_field_sep org.eclipse.birt.report.soapengine.api.IOFieldList[] IOFieldListArray concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_field_sep void setIOFieldListArray concode_elem_sep ... | 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 ) ; } |
6,353 | append a unique identifier to the url . concode_field_sep java.util.Random rand concode_field_sep String path concode_elem_sep String fragment concode_elem_sep String method concode_elem_sep Call withFragment concode_elem_sep String absoluteURL concode_elem_sep String absoluteURL concode_elem_sep String absoluteURL con... | Call function ( ) { return new play . api . mvc . Call ( method ( ) , this . uniquify ( this . url ( ) ) , fragment ( ) ) ; } |
6,354 | look up cached output values for given entry . concode_field_sep ValueNumber[] inputValueList concode_elem_sep HashMap<Entry,ValueNumber[]> entryToOutputMap concode_elem_sep boolean DEBUG concode_elem_sep InstructionHandle handle concode_elem_sep int cachedHashCode concode_field_sep int hashCode concode_elem_sep boolea... | ValueNumber [ ] function ( Entry arg0 ) { if ( DEBUG ) { System . out . println ( "srini_string" + arg0 ) ; } ValueNumber [ ] loc0 = entryToOutputMap . get ( arg0 ) ; if ( DEBUG ) { System . out . println ( "srini_string" + Arrays . toString ( loc0 ) ) ; } return loc0 ; } |
6,355 | assert that two views are top aligned , that is that their top edges are on the same y location , with respect to the specified margin . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertHorizontalCenterAligned concode_elem_sep void assertBaselineAligned concode_elem_sep void assertGroupNotContains... | void function ( View arg0 , View arg1 , int arg2 ) { int [ ] loc0 = new int [ 2 ] ; arg0 . getLocationOnScreen ( loc0 ) ; int loc1 = loc0 [ 1 ] ; arg1 . getLocationOnScreen ( loc0 ) ; int loc2 = loc0 [ 1 ] ; assertEquals ( "srini_string" , Math . abs ( loc1 - loc2 ) , arg2 ) ; } |
6,356 | test of isempty method , of class parametrizedheadersmap . concode_field_sep ParameterizedHeadersMap map concode_field_sep void testEqualsAndHashCode concode_elem_sep void testClear concode_elem_sep void testRemove concode_elem_sep void testEntrySet concode_elem_sep void testPut concode_elem_sep void testGetFirst conco... | void function ( ) { assertTrue ( map . isEmpty ( ) ) ; map . add ( "srini_string" , new ParameterizedHeader ( "srini_string" ) ) ; assertTrue ( ! map . isEmpty ( ) ) ; map . clear ( ) ; assertTrue ( map . isEmpty ( ) ) ; } |
6,357 | this method is invoked by the jaxb implementation on each instance when unmarshalling completes . concode_field_sep Object parent concode_elem_sep CTEqArrPr eqArrPr concode_elem_sep List<CTOMathArg> e concode_field_sep Object getParent concode_elem_sep void setEqArrPr concode_elem_sep void setParent concode_elem_sep CT... | void function ( Unmarshaller arg0 , Object arg1 ) { setParent ( arg1 ) ; } |
6,358 | gets the value of the geocode property . concode_field_sep String city concode_elem_sep String postalCode concode_elem_sep String county concode_elem_sep String geoCode concode_elem_sep long serialVersionUID concode_elem_sep String type concode_elem_sep String province concode_elem_sep String countryCode concode_elem_s... | String function ( ) { return geoCode ; } |
6,359 | link to the next subset of resources qualified . \ nempty if no more resources are to be returned . concode_field_sep String next concode_elem_sep String previous concode_elem_sep int count concode_elem_sep List<Notification> notifications concode_field_sep String getPrevious concode_elem_sep List<Notification> getList... | String function ( ) { return next ; } |
6,360 | return the first child node of this node with the specified name , if there is one ; otherwise , return null . concode_field_sep String name concode_elem_sep HashMap attributes concode_elem_sep TreeNode parent concode_elem_sep String body concode_elem_sep ArrayList children concode_field_sep String findAttribute concod... | TreeNode function ( String arg0 ) { if ( children == null ) return ( null ) ; Iterator loc0 = children . iterator ( ) ; while ( loc0 . hasNext ( ) ) { TreeNode loc1 = ( TreeNode ) loc0 . next ( ) ; if ( arg0 . equals ( loc1 . getName ( ) ) ) return ( loc1 ) ; } return ( null ) ; } |
6,361 | sets the value of the state property . concode_field_sep ArrayOfString altIDs concode_elem_sep boolean versionable concode_elem_sep String label concode_elem_sep String mimeType concode_elem_sep String formatURI concode_elem_sep DatastreamControlGroup controlGroup concode_elem_sep String versionID concode_elem_sep long... | void function ( String arg0 ) { this . state = arg0 ; } |
6,362 | sets the value of the record property . concode_field_sep SObjectType record concode_field_sep SObjectType getRecord | void function ( SObjectType arg0 ) { this . record = arg0 ; } |
6,363 | create a new input parameter . concode_field_sep OperationServices INSTANCE concode_field_sep void handleReturnType concode_elem_sep void parseInputLabel concode_elem_sep void handleParameters concode_elem_sep void handleParameters concode_elem_sep void handleMultiplicity concode_elem_sep Operation createOperation conc... | Parameter function ( String arg0 , Type arg1 ) { final Parameter loc0 = UMLFactory . eINSTANCE . createParameter ( ) ; loc0 . setDirection ( ParameterDirectionKind . IN_LITERAL ) ; loc0 . setName ( arg0 ) ; loc0 . setType ( arg1 ) ; return loc0 ; } |
6,364 | gets the source positions list . concode_field_sep CatchBuilder unprocessedCatches concode_elem_sep OutputFinisher unprocessedInsns concode_elem_sep int positionInfo concode_elem_sep DalvInsnList insns concode_elem_sep CatchTable catches concode_elem_sep PositionList positions concode_elem_sep LocalList locals concode_... | PositionList function ( ) { finishProcessingIfNecessary ( ) ; return positions ; } |
6,365 | a factory method for the accountmanagerhelper . it is possible to override the accountmanager to use in tests for the instance of the accountmanagerhelper by calling overrideaccountmanagerhelperfortests ... with your mockaccountmanager . concode_field_sep String mAuthTokenType concode_elem_sep AtomicBoolean mErrorEncou... | AccountManagerHelper function ( Context arg0 ) { synchronized ( lock ) { if ( sAccountManagerHelper == null ) { sAccountManagerHelper = new AccountManagerHelper ( arg0 , new SystemAccountManagerDelegate ( arg0 ) ) ; } } return sAccountManagerHelper ; } |
6,366 | returns true if this validation result contains errors . concode_field_sep String NESTED_PATH_SEPARATOR concode_elem_sep String NESTED_PATH_INDEX_SUFFIX concode_elem_sep String NESTED_PATH_INDEX_PREFIX concode_elem_sep List<ValidationError> errors concode_elem_sep Deque<String> nestedPathStack concode_field_sep void ad... | boolean function ( ) { return ! this . errors . isEmpty ( ) ; } |
6,367 | close all channels , and release resources concode_field_sep ChannelFactory factory concode_elem_sep ChannelGroup allChannels concode_elem_sep int port concode_elem_sep Map storm_conf concode_elem_sep Logger LOG concode_elem_sep LinkedBlockingQueue<TaskMessage> message_queue concode_elem_sep ServerBootstrap bootstrap c... | void function ( ) { if ( allChannels != null ) { allChannels . close ( ) . awaitUninterruptibly ( ) ; factory . releaseExternalResources ( ) ; allChannels = null ; } } |
6,368 | retreives a thread instance for running the specified runnable concode_field_sep ThreadFactory factory concode_field_sep ThreadFactory getImpl concode_elem_sep ThreadFactory setImpl | Thread function ( Runnable arg0 ) { return factory == this ? new Thread ( arg0 ) : factory . newThread ( arg0 ) ; } |
6,369 | retrieves a stream that can be used to write to the blob value that this blob object represents . concode_field_sep BlobDataID blob concode_elem_sep boolean isClosed concode_elem_sep SessionInterface session concode_field_sep int setBytes concode_elem_sep int setBytes concode_elem_sep void truncate concode_elem_sep boo... | OutputStream function ( long arg0 ) { throw Util . notSupported ( ) ; } |
6,370 | method that creates and adds to this generator all the built-in factories , and if there is no default factory , set the default factory to the uuidfactory . this method may be called multiple times without side effect . concode_field_sep ObjectIDFactory defaultFactory concode_elem_sep IDGenerator INSTANCE concode_elem... | void function ( ) { final ObjectIDFactory loc0 = new UUIDFactory ( ) ; addFactory ( loc0 ) ; if ( ! this . hasDefaultFactory ( ) ) { this . setDefaultFactory ( loc0 ) ; } addFactory ( new IntegerIDFactory ( ) ) ; addFactory ( new LongIDFactory ( ) ) ; addFactory ( new StringIDFactory ( ) ) ; } |
6,371 | update message and check its life time . concode_field_sep int seconds concode_elem_sep boolean enabled concode_elem_sep UserHud userHud concode_elem_sep String messageString concode_elem_sep int x concode_elem_sep float time concode_elem_sep Text message concode_elem_sep int y concode_field_sep float getHeight concode... | void function ( int arg0 , int arg1 ) { if ( GameTimer . getTimeInSeconds ( ) > time + seconds ) { enabled = false ; messageString = "srini_string" ; message . print ( messageString ) ; } this . x = arg0 ; this . y = ( int ) ( arg1 - message . getHeight ( ) / 2 ) ; } |
6,372 | this method was generated by mybatis generator . this method returns the value of the database column hspay.tb _ account_bank . user_id concode_field_sep String bank concode_elem_sep String createBy concode_elem_sep Date updateDate concode_elem_sep String updateBy concode_elem_sep String requestId concode_elem_sep Stri... | String function ( ) { return userId ; } |
6,373 | distinguishes between weak and strong edge points based on the thresholds given . concode_field_sep int[] tmp128 concode_elem_sep ConvolveOp gaussian concode_elem_sep double thresholdHigh concode_elem_sep int[] tmp000 concode_elem_sep int[] tmpPixel concode_elem_sep ColorConvertOp grayscale concode_elem_sep double thre... | void function ( int arg0 , int arg1 , BufferedImage arg2 , double arg3 ) { if ( arg3 > thresholdLow ) arg2 . getRaster ( ) . setPixel ( arg0 , arg1 , tmp000 ) ; else if ( arg3 > thresholdHigh ) arg2 . getRaster ( ) . setPixel ( arg0 , arg1 , tmp128 ) ; else arg2 . getRaster ( ) . setPixel ( arg0 , arg1 , tmp255 ) ; } |
6,374 | register a quickfix which would be available onthefly and in the batch mode . should implement both intentionaction and localquickfix . concode_field_sep ProblemHighlightType myHighlightType concode_elem_sep String myTooltip concode_elem_sep IntentionAction quickFix concode_elem_sep String myMessage concode_elem_sep Li... | void function ( @ NotNull T arg0 , @ Nullable TextRange arg1 , @ Nullable final HighlightDisplayKey arg2 ) { registerBatchFix ( arg0 , arg1 , arg2 ) ; registerFix ( arg0 , arg1 , arg2 ) ; } |
6,375 | gets the value of the measuretype property . concode_field_sep String valueType concode_elem_sep Long idGoalType concode_elem_sep String description concode_elem_sep String type concode_elem_sep MeasureType measureType concode_field_sep void setValueType concode_elem_sep String getType concode_elem_sep void setMeasureT... | MeasureType function ( ) { return measureType ; } |
6,376 | encodes the specified bytes using the base64 encoding . concode_field_sep byte[] BASE64_FOR_URL_ALPHABET_ARRAY concode_elem_sep byte[] BASE64_ALPHABET_ARRAY concode_elem_sep byte PAD concode_field_sep byte[] encodeForURL | byte [ ] function ( byte [ ] arg0 ) { return encode ( arg0 , BASE64_ALPHABET_ARRAY , true ) ; } |
6,377 | returns the role with the primary key . concode_field_sep RoleService _service concode_field_sep java.util.List<com.liferay.portal.model.Role> getUserRelatedRoles concode_elem_sep com.liferay.portal.model.Role updateRole concode_elem_sep void unsetUserRoles concode_elem_sep boolean hasUserRole concode_elem_sep java.uti... | com . liferay . portal . model . Role function ( long arg0 ) { return getService ( ) . getRole ( arg0 ) ; } |
6,378 | gets the value of the product property . concode_field_sep String product concode_elem_sep String thumbnail concode_elem_sep XMLGregorianCalendar added concode_elem_sep BigDecimal repositoryobjectid concode_elem_sep String codametadata concode_elem_sep String path concode_elem_sep String ref concode_elem_sep XMLGregori... | String function ( ) { return product ; } |
6,379 | returns the protocol stack configuration for the org.jgroups.jchannel . concode_field_sep String nodeName concode_elem_sep ProtocolStackConfigurator protocolConfigurator concode_field_sep String getNodeName | ProtocolStackConfigurator function ( ) { return protocolConfigurator ; } |
6,380 | the sweepinterval to set . concode_field_sep AtomicBoolean started concode_elem_sep Set<TransportConnection> collectionCandidates concode_elem_sep TransportConnector connector concode_elem_sep int sweepInterval concode_elem_sep Logger LOG concode_elem_sep Thread runner concode_field_sep void doSweep concode_elem_sep vo... | void function ( int arg0 ) { this . sweepInterval = arg0 ; } |
6,381 | getter for the method concode_field_sep ResultSet result concode_elem_sep Method method concode_elem_sep Object parameter concode_elem_sep Logger logger concode_elem_sep HashSet<ContainerResult> list concode_elem_sep List<Parameter> parameters concode_field_sep void AddCall concode_elem_sep ResultSet getResult concode_... | Method function ( ) { return this . method ; } |
6,382 | adds a ping if newer than previous pings from the same node concode_field_sep DiscoveryNode node concode_elem_sep boolean hasJoinedOnce concode_elem_sep ClusterName clusterName concode_elem_sep Map<DiscoveryNode,PingResponse> pings concode_elem_sep long id concode_elem_sep PingResponse[] EMPTY concode_elem_sep AtomicLo... | boolean function ( PingResponse arg0 ) { PingResponse loc0 = pings . get ( arg0 . node ( ) ) ; if ( loc0 == null || loc0 . id ( ) <= arg0 . id ( ) ) { pings . put ( arg0 . node ( ) , arg0 ) ; return true ; } return false ; } |
6,383 | get the provider value . concode_field_sep OperationInner inner concode_field_sep String resource concode_elem_sep String name concode_elem_sep String type | String function ( ) { if ( this . inner . display ( ) == null ) { return null ; } return this . inner . display ( ) . provider ( ) ; } |
6,384 | gets the value of the filterstatement property . concode_field_sep Statement filterStatement concode_elem_sep AdUnitAction adUnitAction concode_field_sep void setAdUnitAction concode_elem_sep AdUnitAction getAdUnitAction concode_elem_sep void setFilterStatement | Statement function ( ) { return filterStatement ; } |
6,385 | factory method to create a new confidencemap containing a subset of the inverse-forward pairs in another instance concode_field_sep Dictionary<Double> dictionary_ concode_elem_sep Impl pimpl_ concode_elem_sep Cloner cloner concode_field_sep Map.Entry<String,Double> range_end concode_elem_sep boolean contains concode_el... | ConfidenceMap function ( final ConfidenceMap arg0 , final ArrayList < String > arg1 ) { ConfidenceMap loc0 = ConfidenceMap . make ( ) ; arg0 . pimpl_ . dictionary_ . subset ( arg1 , loc0 . pimpl_ . dictionary_ ) ; return loc0 ; } |
6,386 | interface abc : operation paramop param1 : integer , param2 : boolean : string operation stringop in event voidevent in event intevent : integer var intvar : integer var boolvar : boolean concode_field_sep ILinker linker concode_elem_sep StextResourceFactory factory concode_elem_sep IParser parser concode_field_sep Ste... | Scope function ( ) { return createInterfaceScope ( "srini_string" ) ; } |
6,387 | method to get the language . concode_field_sep Object compiled concode_elem_sep String name concode_elem_sep ScriptService.ScriptType type concode_elem_sep String lang concode_field_sep Object compiled concode_elem_sep String name concode_elem_sep String toString concode_elem_sep ScriptService.ScriptType type | String function ( ) { return lang ; } |
6,388 | tests whether this location represents a point inside an area geometry . concode_field_sep int segIndex concode_elem_sep int INSIDE_AREA concode_elem_sep Coordinate pt concode_elem_sep Geometry component concode_field_sep Coordinate getCoordinate concode_elem_sep int getSegmentIndex concode_elem_sep Geometry getGeometr... | boolean function ( ) { return segIndex == INSIDE_AREA ; } |
6,389 | returns the number of times #get returned null or required a newvalue to be created . 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_el... | int function ( ) { return missCount ; } |
6,390 | transforms the category series to an xy series . concode_field_sep List<String[]> mTitles concode_elem_sep List<String> mCategories concode_elem_sep String mTitle concode_elem_sep List<double[]> mValues concode_field_sep void add concode_elem_sep void add concode_elem_sep double[] getValues concode_elem_sep String[] ge... | XYSeries function ( ) { XYSeries loc0 = new XYSeries ( mTitle ) ; return loc0 ; } |
6,391 | arn of this destination . concode_field_sep Long creationTime concode_elem_sep String roleArn concode_elem_sep String destinationName concode_elem_sep String accessPolicy concode_elem_sep String arn concode_elem_sep String targetArn concode_field_sep Destination withAccessPolicy concode_elem_sep String getTargetArn con... | Destination function ( String arg0 ) { setArn ( arg0 ) ; return this ; } |
6,392 | creates a bar and adds it to the chart . concode_field_sep Set<ProfilerTask> ACTION_TASKS concode_elem_sep ChartBarType actionType concode_elem_sep Set<ProfilerTask> BLAZE_TASKS concode_elem_sep ChartBarType vfsType concode_elem_sep ChartBarType blazeType concode_elem_sep Set<ProfilerTask> LOCK_TASKS concode_elem_sep C... | void function ( Chart arg0 , Task arg1 , ChartBarType arg2 ) { String loc0 = arg1 . arg2 . description + "srini_string" + arg1 . getDescription ( ) ; arg0 . addBar ( arg1 . threadId , arg1 . startTime , arg1 . startTime + arg1 . durationNanos , arg2 , loc0 ) ; } |
6,393 | sets the user repository with the specified user repository . concode_field_sep Logger LOGGER concode_elem_sep UserRepository userRepository concode_elem_sep LangPropsService langPropsService concode_elem_sep int HASHED_PASSWORD_LENGTH concode_field_sep void removeUser concode_elem_sep String addUser concode_elem_sep v... | void function ( final UserRepository arg0 ) { this . userRepository = arg0 ; } |
6,394 | add a new non-optional declared property to this namespace concode_field_sep Map<String,DeclaredTypeRegistry> scopes concode_elem_sep Map<String,Typedef> typedefs concode_elem_sep PersistentMap<String,Property> otherProps concode_elem_sep Map<String,RawNominalType> nominals concode_elem_sep Map<String,EnumType> enums c... | void function ( String arg0 , Node arg1 , JSType arg2 , boolean arg3 ) { if ( arg2 == null && arg3 ) { arg2 = JSType . UNKNOWN ; } otherProps = otherProps . with ( arg0 , arg3 ? Property . makeConstant ( arg1 , arg2 , arg2 ) : Property . makeWithDefsite ( arg1 , arg2 , arg2 ) ) ; } |
6,395 | in this basedir . concode_field_sep MavenProject project concode_field_sep MavenProject mock | MavenProjectMocker function ( final File arg0 ) { Mockito . doReturn ( arg0 ) . when ( this . project ) . getBasedir ( ) ; final Build loc0 = Mockito . mock ( Build . class ) ; Mockito . doReturn ( loc0 ) . when ( this . project ) . getBuild ( ) ; Mockito . doReturn ( new File ( arg0 , "srini_string" ) . getPath ( ) ) ... |
6,396 | reads a stream until the end of file into a string and uses the machines default encoding to convert to characters the bytes from the stream . concode_field_sep String lineSeparator concode_field_sep String getLineSeparator concode_elem_sep void copy concode_elem_sep String getReaderContents | String function ( InputStream arg0 ) { InputStreamReader loc0 = new InputStreamReader ( arg0 ) ; return getReaderContents ( loc0 ) ; } |
6,397 | pre : c is an english letter , in upper or lower case concode_field_sep String _str concode_field_sep LetterInventory add concode_elem_sep int size concode_elem_sep LetterInventory subtract concode_elem_sep boolean equals concode_elem_sep boolean isEmpty concode_elem_sep String toString | int function ( char arg0 ) { if ( ! Character . isLetter ( arg0 ) ) throw new IllegalArgumentException ( ) ; int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < _str . length ( ) ; loc1 ++ ) { if ( _str . charAt ( loc1 ) == arg0 ) loc0 ++ ; } return loc0 ; } |
6,398 | returns the uuid of this gadget . concode_field_sep Gadget _gadget concode_field_sep void setName concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.St... | java . lang . String function ( ) { return _gadget . getUuid ( ) ; } |
6,399 | enable or disable current action from event . concode_field_sep PlaceHolder placeHolder concode_field_sep ThumbnailView getThumbnailView concode_elem_sep ThumbnailView getVisibleThumbnailView | boolean function ( AnActionEvent arg0 ) { ThumbnailView loc0 = getVisibleThumbnailView ( arg0 ) ; Presentation loc1 = arg0 . getPresentation ( ) ; loc1 . setEnabled ( loc0 != null ) ; return loc1 . isEnabled ( ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.