idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
14,400 | update the exposed #cachenames set with the given name.this will always be called within a full #cachemap lockand effectively behaves like a copyonwritearrayset withpreserved order but exposed as an unmodifiable reference . concode_field_sep ConcurrentMap<String,Cache> cacheMap concode_elem_sep Set<String> cacheNames c... | void function ( String arg0 ) { Set < String > loc0 = new LinkedHashSet < String > ( this . cacheNames . size ( ) + 1 ) ; loc0 . addAll ( this . cacheNames ) ; loc0 . add ( arg0 ) ; this . cacheNames = Collections . unmodifiableSet ( loc0 ) ; } |
14,401 | returns the vfs for the specified protocol . concode_field_sep Object errorLock concode_elem_sep List<VFSUpdate> vfsUpdates concode_elem_sep boolean errorDisplayerActive concode_elem_sep Object vfsUpdateLock concode_elem_sep VFS urlVFS concode_elem_sep boolean error concode_elem_sep VFS fileVFS concode_elem_sep Vector<... | VFS function ( String arg0 ) { if ( arg0 . equals ( "srini_string" ) ) return fileVFS ; else { VFS loc0 = ( VFS ) ServiceManager . getService ( SERVICE , arg0 ) ; if ( loc0 != null ) return loc0 ; else return urlVFS ; } } |
14,402 | resets the source of the action . the intent is that it be used only by proxygame and proxyplayer . concode_field_sep long serialVersionUID concode_elem_sep GamePlayer player concode_field_sep GamePlayer getPlayer | void function ( GamePlayer arg0 ) { this . player = arg0 ; } |
14,403 | catch the all exceptions concode_field_sep FingerprintIdentifyListener mIdentifyListener concode_elem_sep FingerprintIdentifyExceptionListener mExceptionListener concode_elem_sep Activity mActivity concode_elem_sep boolean mIsCalledStartIdentify concode_elem_sep boolean mIsCanceledIdentify concode_elem_sep int mNumberO... | void function ( Throwable arg0 ) { if ( mExceptionListener != null && arg0 != null ) { mExceptionListener . onCatchException ( arg0 ) ; } } |
14,404 | evaluate the xpath and assert the number of nodes found . concode_field_sep XpathExpectationsHelper xpathHelper concode_field_sep ResultMatcher node concode_elem_sep ResultMatcher number concode_elem_sep ResultMatcher number concode_elem_sep ResultMatcher string concode_elem_sep ResultMatcher string concode_elem_sep Re... | ResultMatcher function ( final int arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { MockHttpServletResponse loc0 = arg1 . getResponse ( ) ; xpathHelper . assertNodeCount ( loc0 . getContentAsByteArray ( ) , getDefinedEncoding ( loc0 ) , arg0 ) ; } } ; } |
14,405 | returns a reader object that contains a partial clob value , starting with the character specified by pos , which is length characters in length . concode_field_sep ClobDataID clob concode_elem_sep boolean isClosed concode_elem_sep SessionInterface session concode_field_sep Writer setCharacterStream concode_elem_sep in... | Reader function ( long arg0 , long arg1 ) { return new ClobInputStream ( this , arg0 - 1 , arg1 , session . getStreamBlockSize ( ) ) ; } |
14,406 | synonym for geturl . concode_field_sep String description concode_elem_sep String dataSourceName concode_elem_sep String password concode_elem_sep String serverName concode_elem_sep int loginTimeout concode_elem_sep String user concode_elem_sep String networkProtocol concode_elem_sep PrintWriter logWriter concode_elem_... | String function ( ) { return url ; } |
14,407 | new annotation created with view tool . concode_field_sep Color ANNOTATION concode_elem_sep Color ANNOTATION_VISITED concode_elem_sep WeakHashMap<String,AnnotationState> annotationHistory concode_elem_sep Color color concode_elem_sep DocumentViewController documentViewController concode_elem_sep Logger logger concode_e... | void function ( PageViewComponent arg0 , Rectangle arg1 ) { } |
14,408 | sets the value of the activitystatuscode property . concode_field_sep Guid sourceId concode_elem_sep String displayText concode_elem_sep Integer sourceTypeCode concode_elem_sep Guid calendarId concode_elem_sep SubCode subCode concode_elem_sep XMLGregorianCalendar start concode_elem_sep Double effort concode_elem_sep XM... | void function ( Integer arg0 ) { this . activityStatusCode = arg0 ; } |
14,409 | creates a component at the service factory provided by the document concode_field_sep XMultiServiceFactory m_orb concode_elem_sep XComponentContext m_remoteContext concode_elem_sep XComponent m_documentComponent concode_field_sep XMultiServiceFactory getOrb concode_elem_sep DocumentType classify concode_elem_sep Docume... | XInterface function ( String arg0 ) { XMultiServiceFactory loc0 = UnoRuntime . queryInterface ( XMultiServiceFactory . class , m_documentComponent ) ; return ( XInterface ) loc0 . createInstance ( arg0 ) ; } |
14,410 | add a case statement that matches if the event type and predicate matches . concode_field_sep PFBuilder<PersistentFSM.Event<D>,PersistentFSM.State<S,D,E>> builder concode_field_sep FSMStateFunctionBuilder<S,D,E> anyEvent concode_elem_sep PartialFunction<PersistentFSM.Event<D>,PersistentFSM.State<S,D,E>> build concode_e... | FSMStateFunctionBuilder < S , D , E > function ( final Class < P > arg0 , final FI . TypedPredicate2 < P , D > arg1 , final FI . Apply2 < P , D , PersistentFSM . State < S , D , E >> arg2 ) { return erasedEvent ( arg0 , null , arg1 , arg2 ) ; } |
14,411 | called after each record is read . concode_field_sep boolean instrumentationEnabled concode_elem_sep Optional<Timer> extractorTimer concode_elem_sep MetricContext metricContext concode_elem_sep Optional<Meter> dataRecordExceptionsMeter concode_elem_sep Optional<Meter> readRecordsMeter concode_elem_sep Closer closer con... | void function ( D arg0 , long arg1 ) { Instrumented . updateTimer ( this . extractorTimer , System . nanoTime ( ) - arg1 , TimeUnit . NANOSECONDS ) ; if ( arg0 != null ) { Instrumented . markMeter ( this . readRecordsMeter ) ; } } |
14,412 | writes the buffered finalzed queries to the output . concode_field_sep Writer writer concode_field_sep void finish concode_elem_sep void close | void function ( final AbstractIndex arg0 ) { StringBuilder loc0 ; while ( arg0 . size ( ) > 0 ) { System . out . println ( "srini_string" + arg0 + "srini_string" ) ; loc0 = arg0 . remove ( ) ; loc0 . append ( "srini_string" ) ; writer . write ( loc0 . toString ( ) ) ; } writer . flush ( ) ; } |
14,413 | removes any state associated with the given rpc . concode_field_sep TransportResponseHandler handler concode_elem_sep Logger logger concode_elem_sep String clientId concode_elem_sep boolean timedOut concode_elem_sep Channel channel concode_field_sep String getClientId concode_elem_sep boolean isActive concode_elem_sep ... | void function ( long arg0 ) { handler . removeRpcRequest ( arg0 ) ; } |
14,414 | sets the value of the authorizeduserinfo property . concode_field_sep String creditClass concode_elem_sep String city concode_elem_sep AccountTypeSubTypeEnum accountType concode_elem_sep long serialVersionUID concode_elem_sep String accountNumber concode_elem_sep PersonalIdentification customerIdentification concode_el... | void function ( AuthorizedUserInfo arg0 ) { this . authorizedUserInfo = arg0 ; } |
14,415 | start this analysis algorithm . concode_field_sep PlaceHolder placeHolder concode_field_sep void jbInit concode_elem_sep String getName concode_elem_sep String getHtmlDescription concode_elem_sep AnalysisInputItem[] getInputItems | JComponent function ( AnalysisInputItem [ ] arg0 ) { Object [ ] loc0 = ( arg0 [ 0 ] . getProvidedObjects ( ) ) [ 0 ] . getObjects ( ) ; LogReader loc1 = null ; for ( int loc2 = 0 ; loc2 < loc0 . length ; loc2 ++ ) { if ( loc0 [ loc2 ] instanceof LogReader ) { loc1 = ( LogReader ) loc0 [ loc2 ] ; } } return new LogClust... |
14,416 | this implementation is empty . concode_field_sep PlaceHolder placeHolder concode_field_sep void afterCompletion concode_elem_sep boolean preHandle concode_elem_sep void afterConcurrentHandlingStarted | void function ( HttpServletRequest arg0 , HttpServletResponse arg1 , Object arg2 , ModelAndView arg3 ) { } |
14,417 | make sure that flush does n't throw an exception after close is called concode_field_sep byte[] TEST_BYTE_ARRAY concode_elem_sep TemporaryFileBackedOutputStream temporaryFileBackedOutputStream concode_elem_sep int TEST_BYTE concode_field_sep void testWriteNegativeOffset concode_elem_sep void testWriteByte concode_elem_... | void function ( ) { temporaryFileBackedOutputStream . write ( TEST_BYTE_ARRAY ) ; temporaryFileBackedOutputStream . close ( ) ; temporaryFileBackedOutputStream . flush ( ) ; } |
14,418 | public setter concode_field_sep String medicationName concode_elem_sep String rxNormId concode_elem_sep String dosageFormName concode_elem_sep String proprietaryNameSuffix concode_elem_sep String drugColor concode_elem_sep String purpose concode_elem_sep String deaSchedule concode_elem_sep List<String> pharmClasses con... | void function ( String arg0 ) { this . activeIngredientUnit = arg0 ; } |
14,419 | insert the namevaluepairseq into the given any . this method uses the namevaluepairseqholder . concode_field_sep PlaceHolder placeHolder concode_field_sep NameValuePair[] extract concode_elem_sep NameValuePair[] read concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write | void function ( Any arg0 , NameValuePair [ ] arg1 ) { arg0 . insert_Streamable ( new NameValuePairSeqHolder ( arg1 ) ) ; } |
14,420 | checks if the provided path string is either null or has zero length and throws a illegalargumentexception if any of the two conditions apply.in addition , leading and tailing whitespaces are removed . concode_field_sep char SEPARATOR_CHAR concode_elem_sep String SEPARATOR concode_elem_sep String CUR_DIR concode_elem_s... | String function ( String arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } arg0 = arg0 . trim ( ) ; if ( arg0 . length ( ) == 0 ) { throw new IllegalArgumentException ( "srini_string" ) ; } return arg0 ; } |
14,421 | deletes the image from the database . also notifies the appropriate model listeners . concode_field_sep ImageLocalService _imageLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.model.Image fetchImage concode_elem_sep void setWrappedService concode_elem_... | com . liferay . portal . kernel . model . Image function ( com . liferay . portal . kernel . model . Image arg0 ) { return _imageLocalService . deleteImage ( arg0 ) ; } |
14,422 | returns the index for which #keyat would return thespecified key , or a negative number if the specified key is not mapped . concode_field_sep Object DELETED_REF concode_elem_sep WeakReference<?> DELETED concode_elem_sep int[] mKeys concode_elem_sep boolean mGarbage concode_elem_sep int mSize concode_elem_sep WeakRefer... | int function ( int arg0 ) { if ( mGarbage ) { gc ( ) ; } return binarySearch ( mKeys , 0 , mSize , arg0 ) ; } |
14,423 | sets the accessibility postfix , which is placed after the notification content . concode_field_sep Role role concode_elem_sep String prefix concode_elem_sep String postfix concode_field_sep boolean hasAssistivePrefix concode_elem_sep String getAssistivePrefix concode_elem_sep String getAssistivePostfix concode_elem_se... | void function ( String arg0 ) { this . postfix = arg0 ; } |
14,424 | this method deals with actions to be called when the mouse is pressed concode_field_sep double yInitial concode_elem_sep double xInitial concode_elem_sep ColorPicker colorPicker concode_field_sep String getName concode_elem_sep void onDrag concode_elem_sep void onRelease | void function ( MouseEvent arg0 , GraphicsContext arg1 ) { xInitial = arg0 . getX ( ) ; yInitial = arg0 . getY ( ) ; arg1 . moveTo ( xInitial , yInitial ) ; arg1 . setFill ( colorPicker . getValue ( ) ) ; } |
14,425 | returns the build configuration collection used for the build . concode_field_sep boolean catastrophe concode_elem_sep BuildConfigurationCollection configurations concode_elem_sep boolean stopOnFirstFailure concode_elem_sep long startTimeMillis concode_elem_sep Collection<ConfiguredTarget> testTargets concode_elem_sep ... | BuildConfigurationCollection function ( ) { return configurations ; } |
14,426 | required . the close status that must match the close status of an execution for it to meet the criteria of this filter . constraints : allowed values : completed , failed , canceled , terminated , continued_as_new , timed_out concode_field_sep String status concode_field_sep CloseStatusFilter withStatus concode_elem_s... | void function ( CloseStatus arg0 ) { this . status = arg0 . toString ( ) ; } |
14,427 | specialized method to handle the splitting for meta wal concode_field_sep boolean fsOk concode_elem_sep PathFilter NON_META_FILTER concode_elem_sep Path oldLogDir concode_elem_sep Lock splitLogLock concode_elem_sep Path rootDir concode_elem_sep Configuration conf concode_elem_sep MasterServices services concode_elem_se... | void function ( final Set < ServerName > arg0 ) { splitLog ( arg0 , META_FILTER ) ; } |
14,428 | return the agents jid concode_field_sep Connection connection concode_elem_sep String workgroupJID concode_field_sep void setName concode_elem_sep String getName concode_elem_sep Collection<String> getWorkgroups | String function ( ) { return connection . getUser ( ) ; } |
14,429 | check that a month instance is equal to itself . sourceforge bug id : 558850 . concode_field_sep Month jan1900 concode_elem_sep Month dec9999 concode_elem_sep Month nov9999 concode_elem_sep Month feb1900 concode_field_sep void testDateConstructor1 concode_elem_sep void testParseMonth concode_elem_sep void testGetStart ... | void function ( ) { Month loc0 = new Month ( ) ; assertTrue ( loc0 . equals ( loc0 ) ) ; } |
14,430 | setter for #authorization . concode_field_sep String authorization concode_elem_sep List<PgFunction> functions concode_elem_sep List<PgTable> tables concode_elem_sep List<PgConstraint> primaryKeys concode_elem_sep List<PgIndex> indexes concode_elem_sep String name concode_elem_sep String definition concode_elem_sep Str... | void function ( final String arg0 ) { this . authorization = arg0 ; } |
14,431 | set if the underlying urlconnection can be set to ` output streaming ' mode . default is true . when output streaming is enabled , authentication and redirection can not be handled automatically . if output streaming is disabled , the httpurlconnection #setfixedlengthstreamingmode and httpurlconnection #setchunkedstrea... | void function ( boolean arg0 ) { this . outputStreaming = arg0 ; } |
14,432 | this scanner is working solely on the in-memory memstore therefore this interface is not relevant . concode_field_sep Cell last concode_elem_sep boolean stopSkippingKVsIfNextRow concode_elem_sep long readPoint concode_elem_sep long scannerOrder concode_elem_sep Segment segment concode_elem_sep Cell current concode_elem... | boolean function ( Cell arg0 , boolean arg1 , boolean arg2 ) { throw new IllegalStateException ( "srini_string" ) ; } |
14,433 | this method returns an integer containing the compilation options used to compile this pattern . concode_field_sep int _mustUtility concode_elem_sep char[] _startString concode_elem_sep int _anchor concode_elem_sep char[] _mustString concode_elem_sep int _options concode_elem_sep int _OPT_ANCH_MBOL concode_elem_sep int... | int function ( ) { return _options ; } |
14,434 | this method tells the object to use appropriate information to extract starting values for the animation . for example , a animatorset object will pass this call to its child objects to tell them to set up the values . a objectanimator object will use the information it has about its target object and propertyvalueshol... | void function ( ) { } |
14,435 | returns true , if the property is a forecast property . concode_field_sep Logger logger concode_elem_sep Map<ProviderName,List<String>> forecastMappings concode_elem_sep MetadataHandler instance concode_elem_sep String PACKAGE_TO_SCAN concode_elem_sep Map<ProviderName,Map<String,ProviderMappingInfo>> providerMappings c... | boolean function ( ProviderName arg0 , String arg1 ) { if ( arg1 == null || ! forecastMappings . containsKey ( arg0 ) ) { return false ; } return forecastMappings . get ( arg0 ) . contains ( arg1 ) ; } |
14,436 | send a single metric with a given timestamp to graphite . concode_field_sep String graphiteHost concode_elem_sep int graphitePort concode_field_sep long getCurrentSystemTime concode_elem_sep void sendMetrics concode_elem_sep void sendMetrics | void function ( final String arg0 , final int arg1 , long arg2 ) { HashMap loc0 = new HashMap < String , Integer > ( ) ; loc0 . put ( arg0 , arg1 ) ; sendMetrics ( loc0 , arg2 ) ; } |
14,437 | extract music title from html of songtaste music url concode_field_sep String artist concode_elem_sep String author concode_elem_sep String storedName concode_elem_sep String name concode_elem_sep String id concode_elem_sep String title concode_elem_sep String suffix concode_elem_sep String realAddr concode_elem_sep St... | Boolean function ( String arg0 , StringBuilder arg1 ) { return crifanLib . extractSingleStr ( "srini_string" = "srini_string" , arg0 , arg1 ) ; } |
14,438 | calculates the aspect ratio width / height of this rectangle concode_field_sep float x concode_elem_sep float width concode_elem_sep Rectangle tmp concode_elem_sep float y concode_elem_sep Rectangle tmp2 concode_elem_sep long serialVersionUID concode_elem_sep float height concode_field_sep Rectangle setY concode_elem_s... | float function ( ) { return ( height == 0 ) ? Float . NaN : width / height ; } |
14,439 | get the format 's trailer specs . concode_field_sep Log LOG concode_elem_sep String name concode_elem_sep ArrayList<FormatSpec> headerSpecs concode_elem_sep ArrayList<FormatSpec> trailerSpecs concode_elem_sep ArrayList<Format> FORMATS concode_elem_sep ByteOrder order concode_elem_sep ArrayList<Pattern> inputNamePattern... | List < FormatSpec > function ( ) { return Collections . unmodifiableList ( this . trailerSpecs ) ; } |
14,440 | returns a new float buffer based on the specified float array . concode_field_sep PlaceHolder placeHolder concode_field_sep DoubleBuffer newDoubleBuffer concode_elem_sep DoubleBuffer newDoubleBuffer concode_elem_sep LongBuffer newLongBuffer concode_elem_sep LongBuffer newLongBuffer concode_elem_sep IntBuffer newIntBuff... | FloatBuffer function ( float arg0 [ ] ) { return new ReadWriteFloatArrayBuffer ( arg0 ) ; } |
14,441 | define valor do atributo idimagemitemconfiguracaopai . concode_field_sep Integer posx concode_elem_sep Integer posy concode_elem_sep Integer idImagemItemConfiguracaoPai concode_elem_sep long serialVersionUID concode_elem_sep String caminhoImagem concode_elem_sep String identificacao concode_elem_sep Integer idImagemIte... | void function ( Integer arg0 ) { this . idImagemItemConfiguracaoPai = arg0 ; } |
14,442 | sets the value of ` requestid ' of an object of this class . concode_field_sep Long reference concode_elem_sep Set<Header> headers concode_elem_sep String method concode_elem_sep Long requestId concode_elem_sep String relativeUrl concode_elem_sep String body concode_field_sep void setMethod concode_elem_sep void setHea... | void function ( Long arg0 ) { this . requestId = arg0 ; } |
14,443 | return true if length of the symmetric difference between the two intervals is at most the given tolerance . concode_field_sep double hi concode_elem_sep double lo concode_field_sep double hi concode_elem_sep boolean interiorContains concode_elem_sep boolean interiorContains concode_elem_sep double getCenter concode_el... | boolean function ( R1Interval arg0 , double arg1 ) { if ( isEmpty ( ) ) { return arg0 . getLength ( ) <= arg1 ; } if ( arg0 . isEmpty ( ) ) { return getLength ( ) <= arg1 ; } return Math . abs ( arg0 . lo ( ) - lo ( ) ) + Math . abs ( arg0 . hi ( ) - hi ( ) ) <= arg1 ; } |
14,444 | returns whether the given integer includes the synchronized modifier . concode_field_sep int AccVolatile concode_elem_sep int AccSynchronized concode_elem_sep int AccDefaultMethod concode_elem_sep int AccDeprecated concode_elem_sep int AccBridge concode_elem_sep int AccAnnotation concode_elem_sep int AccStrictfp concod... | boolean function ( int arg0 ) { return ( arg0 & AccSynchronized ) != 0 ; } |
14,445 | create a callable that always returns null . concode_field_sep IThrowingRunnableWithParameter<PARAMTYPE> m_aRunnable concode_elem_sep DATATYPE m_aResult concode_field_sep DATATYPE call concode_elem_sep String toString | AdapterThrowingRunnableToCallableWithParameter < Object , PARAMTYPE > function ( @ Nonnull final IThrowingRunnableWithParameter < PARAMTYPE > arg0 ) { return new AdapterThrowingRunnableToCallableWithParameter < Object , PARAMTYPE > ( arg0 ) ; } |
14,446 | enable tracing . concode_field_sep int[] jj_expentry concode_elem_sep SimpleCharStream jj_input_stream concode_elem_sep Token jj_nt concode_elem_sep int jj_ntk concode_elem_sep int[] jj_la1_0 concode_elem_sep int[] jj_la1 concode_elem_sep int jj_gen concode_elem_sep java.util.List<int[]> jj_expentries concode_elem_sep ... | void function ( ) { } |
14,447 | tests if the given character is present in the array of characters . concode_field_sep int pos concode_elem_sep int len concode_elem_sep boolean lowerCaseNames concode_elem_sep int i1 concode_elem_sep int i2 concode_elem_sep char[] chars concode_field_sep boolean hasChar concode_elem_sep void setLowerCaseNames concode_... | boolean function ( char arg0 , final char [ ] arg1 ) { boolean loc0 = false ; for ( int loc1 = 0 ; loc1 < arg1 . length ; loc1 ++ ) { if ( arg0 == arg1 [ loc1 ] ) { loc0 = true ; break ; } } return loc0 ; } |
14,448 | sets the protocols to a copy of the input , or null concode_field_sep boolean needClientAuth concode_elem_sep boolean wantClientAuth concode_elem_sep String[] cipherSuites concode_elem_sep String[] protocols concode_field_sep String[] getProtocols concode_elem_sep boolean getWantClientAuth concode_elem_sep void setCiph... | void function ( String [ ] arg0 ) { this . protocols = ( ( arg0 == null ) ? null : arg0 . clone ( ) ) ; } |
14,449 | generate a hashcode of this vector clock . concode_field_sep short INDEPENDENT concode_elem_sep short SUCCEEDS concode_elem_sep short SAME concode_elem_sep byte[] id concode_elem_sep long milli concode_elem_sep int value concode_elem_sep short PRECEDES concode_field_sep void unSerialize concode_elem_sep int getValue co... | int function ( ) { return Arrays . hashCode ( id ) * value ; } |
14,450 | returns the current lexical state . concode_field_sep int ZZ_NO_MATCH concode_elem_sep CharSequence zzBuffer concode_elem_sep int ZZ_UNKNOWN_ERROR concode_elem_sep int ZZ_PUSHBACK_2BIG concode_elem_sep String ZZ_ROWMAP_PACKED_0 concode_elem_sep int ZZ_LEXSTATE[] concode_elem_sep String ZZ_ATTRIBUTE_PACKED_0 concode_ele... | int function ( ) { return zzLexicalState ; } |
14,451 | the api 's name . concode_field_sep java.util.Date createdDate concode_elem_sep String name concode_elem_sep String description concode_elem_sep String id concode_field_sep void setName concode_elem_sep String getName concode_elem_sep GetRestApiResult withDescription concode_elem_sep String getId concode_elem_sep void ... | GetRestApiResult function ( String arg0 ) { setName ( arg0 ) ; return this ; } |
14,452 | method getdevaccount concode_field_sep String strTuesday concode_elem_sep int intType concode_elem_sep int intDeveloperId concode_elem_sep String strReason concode_elem_sep String strToDate concode_elem_sep String strSaturday concode_elem_sep String strFromDate concode_elem_sep int intExemptionId concode_elem_sep Strin... | String function ( ) { return strDevAccount ; } |
14,453 | convenience method to clear a passed arraylist basically clones the functionality of a vector.removeall concode_field_sep LogBean singleton concode_elem_sep MessageLog messageLog concode_elem_sep ChatState state concode_elem_sep Log log concode_elem_sep String autoLoad concode_elem_sep ArrayList controlLog concode_elem... | ArrayList function ( ArrayList arg0 ) { for ( int loc0 = 0 , loc1 = arg0 . size ( ) ; loc0 < loc1 ; loc0 ++ ) { arg0 . remove ( 0 ) ; } return ( arg0 ) ; } |
14,454 | checks if this pdfobject is of the type pdfstring . concode_field_sep int INDIRECT concode_elem_sep int STRING concode_elem_sep int DICTIONARY concode_elem_sep int NUMBER concode_elem_sep int type concode_elem_sep int m_NULL concode_elem_sep int NAME concode_elem_sep String NOTHING concode_elem_sep int BOOLEAN concode_... | boolean function ( ) { return ( this . type == STRING ) ; } |
14,455 | loads a class from codebase . this method delegates to rmiclassloaderspi #loadclass string , string , classloader andpasses codebase.tostring as first argument , name as second argument and null as third argument . concode_field_sep PlaceHolder placeHolder concode_field_sep RMIClassLoaderSpi getProviderInstance concode... | Class < ? > function ( URL arg0 , String arg1 ) { RMIClassLoaderSpi loc0 = getProviderInstance ( ) ; if ( loc0 == null ) loc0 = getDefaultProviderInstance ( ) ; return loc0 . loadClass ( arg0 . toString ( ) , arg1 , null ) ; } |
14,456 | returns the constraint type . concode_field_sep LengthConstraintType widthConstraintType concode_elem_sep Range widthRange concode_elem_sep double width concode_elem_sep RectangleConstraint NONE concode_elem_sep Range heightRange concode_elem_sep double height concode_elem_sep LengthConstraintType heightConstraintType ... | LengthConstraintType function ( ) { return this . widthConstraintType ; } |
14,457 | the id of the childworkflowexecutionstarted event recorded when this child workflow execution was started . this information can be useful for diagnosing problems by tracing back the chain of events leading up to this event . returns a reference to this object so that method calls can be chained together . concode_fiel... | ChildWorkflowExecutionTerminatedEventAttributes function ( Long arg0 ) { this . startedEventId = arg0 ; return this ; } |
14,458 | clears cached search results for this page index and clears the highlighted state for this page . concode_field_sep HashMap<Integer,WeakReference<PageText>> searchResultCache concode_elem_sep ArrayList<SearchTerm> searchTerms concode_field_sep void addPageSearchHit concode_elem_sep Set<Integer> getPageSearchHits concod... | void function ( int arg0 ) { WeakReference < PageText > loc0 = searchResultCache . get ( arg0 ) ; if ( loc0 != null ) { PageText loc1 = loc0 . get ( ) ; if ( loc1 != null ) { loc1 . clearHighlighted ( ) ; } } searchResultCache . remove ( arg0 ) ; } |
14,459 | this sets whether this processor is paused . concode_field_sep IAudioProvider provider concode_elem_sep boolean isPaused concode_field_sep boolean isPaused concode_elem_sep AudioEncodingType getAudioEncodingType concode_elem_sep byte[] provide concode_elem_sep boolean setProvider concode_elem_sep boolean isReady concod... | void function ( boolean arg0 ) { this . isPaused = arg0 ; } |
14,460 | sets the value of the bidmodifiersource property . concode_field_sep BidModifierSource bidModifierSource concode_elem_sep Criterion criterion concode_elem_sep Double bidModifier concode_elem_sep Long campaignId concode_elem_sep Long adGroupId concode_field_sep Criterion getCriterion concode_elem_sep Long getAdGroupId c... | void function ( BidModifierSource arg0 ) { this . bidModifierSource = arg0 ; } |
14,461 | reads and returns a jdom document from file with schema validation concode_field_sep Namespace XSI_NamespaceOLD concode_elem_sep String XSI_SchemaLocation concode_elem_sep Namespace XSI_Namespace concode_field_sep String write2XMLString concode_elem_sep Document readXMLString concode_elem_sep void write2XMLFile | Document function ( File arg0 , File ... arg1 ) { XMLReaderJDOMFactory loc0 = new XMLReaderXSDFactory ( arg1 ) ; SAXBuilder loc1 = new SAXBuilder ( loc0 ) ; return loc1 . build ( new FileInputStream ( arg0 ) ) ; } |
14,462 | get agent for the current faces context concode_field_sep TrinidadLogger _LOG concode_field_sep TrinidadAgent getUnknownAgent concode_elem_sep TrinidadAgent mergeCapabilities | TrinidadAgent function ( FacesContext arg0 ) { Agent loc0 = RequestContext . getCurrentInstance ( ) . getAgent ( ) ; if ( loc0 instanceof TrinidadAgent ) return ( TrinidadAgent ) loc0 ; return new TrinidadAgentImpl ( arg0 , loc0 ) ; } |
14,463 | add a parameter encapsulated in an option object . concode_field_sep int HELP_TEXT_LENGTH_PER_PARAM concode_elem_sep HashMap<String,Option> data concode_elem_sep String HELP_TEXT_LINE_DELIMITER concode_elem_sep String HELP_TEXT_PARAM_DELIMITER concode_field_sep void applyTo concode_elem_sep String helpText concode_elem... | void function ( Option arg0 ) { if ( ! this . data . containsKey ( arg0 . getName ( ) ) ) { this . data . put ( arg0 . getName ( ) , arg0 ) ; } else { throw new RequiredParametersException ( "srini_string" + arg0 . getName ( ) + "srini_string" ) ; } } |
14,464 | checks whether this range and another range are at least partially covering the same values . concode_field_sep int start concode_elem_sep int end concode_field_sep boolean startsAfter concode_elem_sep Range[] splitAt concode_elem_sep int getStart concode_elem_sep int length concode_elem_sep boolean isEmpty concode_ele... | boolean function ( final Range arg0 ) { return getStart ( ) < arg0 . getEnd ( ) && arg0 . getStart ( ) < getEnd ( ) ; } |
14,465 | sets the user key concode_field_sep boolean changed concode_elem_sep byte[] NULL_ARRAY concode_elem_sep String name concode_elem_sep String filename concode_elem_sep Hashtable users concode_elem_sep byte[] key concode_field_sep void setName concode_elem_sep byte[] getKey concode_elem_sep String getName concode_elem_sep... | AuthenticationService function ( String arg0 , byte [ ] arg1 ) { UserAuthInfo loc0 = getUserAuthInfo ( arg0 ) ; if ( loc0 != null ) { loc0 . setKey ( arg1 ) ; changed = true ; } return this ; } |
14,466 | return the current page number . page numbering starts with 0 . concode_field_sep Date refreshDate concode_elem_sep int page concode_elem_sep SortDefinition sortUsed concode_elem_sep int DEFAULT_MAX_LINKED_PAGES concode_elem_sep List<E> source concode_elem_sep SortDefinition sort concode_elem_sep int maxLinkedPages con... | int function ( ) { this . newPageSet = false ; if ( this . page >= getPageCount ( ) ) { this . page = getPageCount ( ) - 1 ; } return this . page ; } |
14,467 | test if randomtextdatagenerator can generate same words given thesame list-size , word-length and seed . concode_field_sep PlaceHolder placeHolder concode_field_sep void testRandomTextDataGeneratorUniqueness concode_elem_sep void testRandomTextDataGenerator | void function ( ) { RandomTextDataGenerator loc0 = new RandomTextDataGenerator ( 10 , 0L , 5 ) ; List < String > loc1 = loc0 . getRandomWords ( ) ; RandomTextDataGenerator loc2 = new RandomTextDataGenerator ( 10 , 0L , 5 ) ; List < String > loc3 = loc2 . getRandomWords ( ) ; assertTrue ( "srini_string" , loc1 . equals ... |
14,468 | set property concode_field_sep String property concode_field_sep String getProperty concode_elem_sep void endpointActivation concode_elem_sep void stop concode_elem_sep int hashCode concode_elem_sep void endpointDeactivation concode_elem_sep boolean equals concode_elem_sep void start concode_elem_sep XAResource[] getXA... | void function ( String arg0 ) { this . property = arg0 ; } |
14,469 | applicant list . concode_field_sep Logger LOGGER concode_elem_sep CamundaBpmInitiatorService camundaBpmInitiatorServiceImpl concode_elem_sep AddressService addressService concode_field_sep ModelAndView applicantRegistration concode_elem_sep Map<String,Object> getCropForEditRegistration concode_elem_sep void initiateRec... | ModelAndView function ( @ RequestParam ( value = "srini_string" , required = false ) String arg0 ) { Map < String , Object > loc0 = new HashMap < String , Object > ( ) ; loc0 . put ( "srini_string" , arg0 ) ; return new ModelAndView ( "srini_string" , "srini_string" , loc0 ) ; } |
14,470 | as our set of subdomains is a hash of strings like icq.domain.tld , if we want to check if a jid contains a watched subdomain we need to iterate over the set . we also return the subdomain as a string so we can use it if we find it . concode_field_sep GojaraAdminManager gojaraAdminmanager concode_elem_sep XMPPServer se... | String function ( String arg0 ) { if ( arg0 . length ( ) > 0 ) { for ( String loc0 : activeTransports ) { if ( arg0 . contains ( loc0 ) ) return loc0 ; } } return "srini_string" ; } |
14,471 | this is called after the jvm warmup phase to make sure the data structure is well initalized . no need to do anything for this . concode_field_sep Node head concode_elem_sep Node next concode_elem_sep Node next concode_elem_sep Stack<Node> stack concode_elem_sep E value concode_field_sep boolean add concode_elem_sep E ... | void function ( ) { head = null ; } |
14,472 | prints the values of the queue to the standard output . concode_field_sep double[] $values concode_elem_sep Vector $elements concode_field_sep double getValue concode_elem_sep int getSize concode_elem_sep Object getElement concode_elem_sep void addElement concode_elem_sep void addValue | void function ( ) { System . out . print ( "srini_string" ) ; for ( int loc0 = 0 ; loc0 < getSize ( ) - 1 ; loc0 ++ ) { System . out . print ( getValue ( loc0 ) + "srini_string" ) ; } System . out . println ( getValue ( getSize ( ) - 1 ) + "srini_string" ) ; } |
14,473 | this method resets the outgoing events . concode_field_sep boolean e concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean guard concode_elem_sep int nextStateIndex concode_elem_sep boolean done concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface ... | void function ( ) { } |
14,474 | gets an iterator to iterate over the levels specified for the hierarchy . concode_field_sep String name concode_elem_sep String timeZone concode_elem_sep TimeDimension timeDimension concode_elem_sep String id concode_elem_sep Map<String,TimeLevel> levels concode_field_sep TimeLevel getRootLevel concode_elem_sep TimeDim... | Iterator < TimeLevel > function ( ) { return levels . values ( ) . iterator ( ) ; } |
14,475 | sets the ` dead ' bytes . these bytes are left if the content of the box has been parsed but not all bytes have been used up . concode_field_sep ContainerBox parent concode_elem_sep ByteBuffer deadBytes concode_elem_sep byte[] userType concode_elem_sep Logger LOG concode_elem_sep String type concode_elem_sep int MEM_MA... | void function ( ByteBuffer arg0 ) { deadBytes = arg0 ; } |
14,476 | returns the position of cursor when event occured relative to top-left corner of recipient window concode_field_sep int wheelRotation concode_elem_sep int eventId concode_elem_sep Point localPos concode_elem_sep int ID_CREATED concode_elem_sep int ID_THEME_CHANGED concode_elem_sep int modifiers concode_elem_sep long wi... | Point function ( ) { return localPos ; } |
14,477 | initializes this static object with the context of the calling activity . concode_field_sep AutoFocusCallback autoFocusCallback concode_elem_sep int MAX_FRAME_HEIGHT concode_elem_sep String TAG concode_elem_sep CameraManager cameraManager concode_elem_sep boolean reverseImage concode_elem_sep CameraConfigurationManager... | void function ( Context arg0 ) { if ( cameraManager == null ) { cameraManager = new CameraManager ( arg0 ) ; } } |
14,478 | portable ram allocation . allocates a byte array in transient memory ram on the card if javacard_applet is defined . does a normal allocation on the host if javacard_applet is undefined . concode_field_sep PlaceHolder placeHolder concode_field_sep void myassert concode_elem_sep Message_digest_wrapper get_message_digest... | byte [ ] function ( short arg0 ) { return new byte [ arg0 ] ; } |
14,479 | remove the value at the given index . concode_field_sep int[] data concode_elem_sep int size concode_elem_sep int hash concode_field_sep void add concode_elem_sep int size concode_elem_sep int hashCode concode_elem_sep int get concode_elem_sep boolean equals concode_elem_sep void toArray concode_elem_sep void removeRan... | void function ( int arg0 ) { if ( SysProperties . CHECK ) { if ( arg0 >= size ) { throw new ArrayIndexOutOfBoundsException ( "srini_string" + arg0 + "srini_string" + size ) ; } } System . arraycopy ( data , arg0 + 1 , data , arg0 , size - arg0 - 1 ) ; size -- ; } |
14,480 | convert bytes to hex string . concode_field_sep char[] hexChar concode_field_sep byte[] convertHexStringToBytes concode_elem_sep byte[] convertHexStringToBytes concode_elem_sep String convertBytesToHexString concode_elem_sep String convertBytesToHexString concode_elem_sep String convertStringToHexString concode_elem_se... | String function ( byte [ ] arg0 ) { return convertBytesToHexString ( arg0 , 0 , arg0 . length ) ; } |
14,481 | merge two json objects . concode_field_sep Context context concode_field_sep Notification cancel concode_elem_sep void cancelAll concode_elem_sep List<Integer> getIdsByType concode_elem_sep List<Notification> getAll concode_elem_sep List<Notification> getByType concode_elem_sep NotificationManager getNotMgr concode_ele... | JSONObject function ( JSONObject arg0 , JSONObject arg1 ) { Iterator loc0 = arg1 . keys ( ) ; while ( loc0 . hasNext ( ) ) { try { String loc1 = ( String ) loc0 . next ( ) ; arg0 . put ( loc1 , arg1 . opt ( loc1 ) ) ; } catch ( JSONException loc1 ) { loc1 . printStackTrace ( ) ; } } return arg0 ; } |
14,482 | returns the throwable that caused the error . concode_field_sep Throwable throwable concode_elem_sep String servletName concode_elem_sep String uri concode_elem_sep int statusCode concode_field_sep int getStatusCode concode_elem_sep String getRequestURI concode_elem_sep String getServletName | Throwable function ( ) { return this . throwable ; } |
14,483 | returns the max users of this company . concode_field_sep Company _company concode_field_sep java.lang.String getWebId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean hasCompanyMx concode_elem_sep... | int function ( ) { return _company . getMaxUsers ( ) ; } |
14,484 | the status of the stop deployment operation : pending : the stop operation is pending . succeeded : the stop operation was successful . concode_field_sep String statusMessage concode_elem_sep String status concode_field_sep StopDeploymentResult withStatus concode_elem_sep StopDeploymentResult withStatus concode_elem_se... | void function ( String arg0 ) { this . status = arg0 ; } |
14,485 | called when the activity is no longer visible to the user . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String serviceName concode_field_sep boolean onReceivedClientCertRequest concode_elem_sep boolean onOverrideUrlL... | void function ( ) { } |
14,486 | the number of samples which were expected to be received from the navx-model device which are believed to have not arrived based upon the android os system timestamp . note that this timestamp is not as accurate as the navx-model device sensor timestamp , and thus the number of missed unstimestamped samples is an estim... | int function ( ) { return estimated_missing_sensor_sample_count ; } |
14,487 | setservicedaemons concode_field_sep List<ServiceDaemon> m_serviceDaemons concode_field_sep void resume concode_elem_sep void stop concode_elem_sep void start concode_elem_sep void stopService concode_elem_sep void pause concode_elem_sep Map<String,String> status | void function ( List < ServiceDaemon > arg0 ) { m_serviceDaemons = arg0 ; } |
14,488 | gets the permission value of the specified permission constant . concode_field_sep int permissionFlags concode_elem_sep int DATA_EXTRACTION_BIT_5 concode_elem_sep int ASSEMBLE_DOCUMENT_BIT_11 concode_elem_sep int CONTENT_EXTRACTION concode_elem_sep boolean isInit concode_elem_sep int MODIFY_FORMS_BIT_9 concode_elem_sep... | boolean function ( final int arg0 ) { if ( ! isInit ) { init ( ) ; } return ! ( arg0 < 0 || arg0 > permissions . length ) && permissions [ arg0 ] ; } |
14,489 | removes all incoming edges . concode_field_sep HashMap<String,Edge> incoming concode_elem_sep HashMap<String,Edge> outgoing concode_elem_sep Anchor anchor concode_elem_sep String label concode_elem_sep String id concode_elem_sep boolean flash concode_field_sep void addIncomingEdge concode_elem_sep int getOutgoingEdgeNr... | void function ( ) { incoming . clear ( ) ; } |
14,490 | gets a hexadecimal stringbuffer representation of this object 's data , which is in fact the raw data contained in this object . concode_field_sep Reference reference concode_elem_sep Logger logger concode_elem_sep StringBuilder stringData concode_field_sep String getHexString concode_elem_sep StringBuilder hexToString... | StringBuilder function ( ) { return stringData ; } |
14,491 | checks whether an option is elective . concode_field_sep int URI_HOST concode_elem_sep int RESERVED_0 concode_elem_sep int URI_PATH concode_elem_sep String If_None_Match concode_elem_sep String Location_Path concode_elem_sep int ACCEPT concode_elem_sep int SIZE1 concode_elem_sep String Block1 concode_elem_sep int BLOCK... | boolean function ( int arg0 ) { return ( arg0 & 1 ) == 0 ; } |
14,492 | returns a string representation of this collection . concode_field_sep boolean okToRemove concode_elem_sep int theSize concode_elem_sep AnyType[] theItems concode_elem_sep int DEFAULT_CAPACITY concode_elem_sep int current concode_field_sep boolean add concode_elem_sep void add concode_elem_sep AnyType next concode_elem... | String function ( ) { StringBuilder loc0 = new StringBuilder ( "srini_string" ) ; for ( AnyType loc1 : this ) loc0 . append ( loc1 + "srini_string" ) ; loc0 . append ( "srini_string" ) ; return new String ( loc0 ) ; } |
14,493 | does this object contain the same values as the object o ? we override this object method so we can test the class . concode_field_sep DataStructure other concode_elem_sep int[] data concode_elem_sep int size concode_elem_sep long serialVersionUID concode_elem_sep int[] data concode_elem_sep String message concode_fiel... | boolean function ( Object arg0 ) { if ( ! ( arg0 instanceof IntList ) ) return false ; IntList loc0 = ( IntList ) arg0 ; if ( this . size != loc0 . size ) return false ; for ( int loc1 = 0 ; loc1 < this . size ; loc1 ++ ) if ( this . data [ loc1 ] != loc0 . data [ loc1 ] ) return false ; return true ; } |
14,494 | figure out the initial process state from the state in the deployment descriptor . concode_field_sep String HEXES concode_elem_sep Log log concode_elem_sep Comparator<String> BY_VERSION concode_field_sep int compare concode_elem_sep QName toPid concode_elem_sep byte[] createChecksum concode_elem_sep void deleteInstance... | ProcessState function ( final TDeployment . Process arg0 ) { ProcessState loc0 = ProcessState . ACTIVE ; if ( arg0 . isSetActive ( ) && ! arg0 . getActive ( ) ) { loc0 = ProcessState . DISABLED ; } if ( arg0 . isSetRetired ( ) && arg0 . getRetired ( ) ) { loc0 = ProcessState . RETIRED ; } return loc0 ; } |
14,495 | sets the custom vm arguments . these arguments will be appended to the list of vm arguments that a vm runner uses when launching a vm . typically , these vm arguments are set by the user . these arguments will not be interpreted by a vm runner , the client is responsible for passing arguments compatible with a particul... | void function ( String [ ] arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( LaunchingMessages . vmRunnerConfig_assert_vmArgsNotNull ) ; } fVMArgs = arg0 ; } |
14,496 | returns all the web d a v propses . concode_field_sep WebDAVPropsPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep WebDAVProps removeByC_C concode_elem_sep List<WebDAVProps> findWithDynamicQuery concode_elem_sep List<WebDAVProps>... | List < WebDAVProps > function ( ) { return getPersistence ( ) . findAll ( ) ; } |
14,497 | get property 's value . concode_field_sep PlaceHolder placeHolder concode_field_sep int randomInt concode_elem_sep int randomInt concode_elem_sep T enumProperty concode_elem_sep T enumProperty concode_elem_sep int intProperty concode_elem_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boo... | String function ( String arg0 ) { return System . getProperty ( arg0 ) ; } |
14,498 | sets the mvcc version of this password tracker . concode_field_sep PasswordTracker _passwordTracker concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setP... | void function ( long arg0 ) { _passwordTracker . setMvccVersion ( arg0 ) ; } |
14,499 | like #any future , future but with 6 futures . concode_field_sep PlaceHolder placeHolder concode_field_sep CompositeFuture all concode_elem_sep CompositeFuture all concode_elem_sep CompositeFuture all concode_elem_sep CompositeFuture all concode_elem_sep CompositeFuture all concode_elem_sep CompositeFuture all concode_... | CompositeFuture function ( Future < T1 > arg0 , Future < T2 > arg1 , Future < T3 > arg2 , Future < T4 > arg3 , Future < T5 > arg4 , Future < T6 > arg5 ) { return CompositeFutureImpl . any ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.