idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
14,400 | gets flag indicating whether to use average execution time vs. current . concode_field_sep boolean useAvg concode_field_sep void setUseAverage concode_elem_sep String toString concode_elem_sep double getLoad | boolean function ( ) { return useAvg ; } |
14,401 | getting the broker status concode_field_sep Log log concode_elem_sep String serverName concode_elem_sep BrokerService broker concode_elem_sep boolean isBrokerStarted concode_elem_sep List<TransportConnector> transportConnectors concode_field_sep boolean stop concode_elem_sep boolean start concode_elem_sep void setBroke... | boolean function ( ) { return isBrokerStarted ; } |
14,402 | returns true if the driver thinks that it can open a connection to the given url . typically drivers will return true if they understand the subprotocol specified in the url and false if they do n't . concode_field_sep PlaceHolder placeHolder concode_field_sep Connection getConnection concode_elem_sep int getMajorVersi... | boolean function ( String arg0 ) { return arg0 != null && arg0 . regionMatches ( true , 0 , DatabaseManager . S_URL_PREFIX , 0 , DatabaseManager . S_URL_PREFIX . length ( ) ) ; } |
14,403 | make an instance of javafx.scene.effect.lighting based on the properties set on this builder . concode_field_sep int __set concode_elem_sep javafx.scene.effect.Light light concode_elem_sep double specularExponent concode_elem_sep double diffuseConstant concode_elem_sep double specularConstant concode_elem_sep javafx.sc... | javafx . scene . effect . Lighting function ( ) { javafx . scene . effect . Lighting loc0 = new javafx . scene . effect . Lighting ( ) ; applyTo ( loc0 ) ; return loc0 ; } |
14,404 | the inner hit options to expand the collapsed results concode_field_sep ParseField INNER_HITS_FIELD concode_elem_sep ParseField FIELD_FIELD concode_elem_sep ObjectParser<CollapseBuilder,QueryParseContext> PARSER concode_elem_sep String field concode_elem_sep List<InnerHitBuilder> innerHits concode_elem_sep int maxConcu... | List < InnerHitBuilder > function ( ) { return this . innerHits ; } |
14,405 | returns all the registered saveablelistener descriptors . concode_field_sep PlaceHolder placeHolder concode_field_sep void onChange concode_elem_sep void unregister concode_elem_sep void fireOnChange concode_elem_sep void register | ExtensionList < SaveableListener > function ( ) { return ExtensionList . lookup ( SaveableListener . class ) ; } |
14,406 | finishes the source mapping for the given node at the current position . concode_field_sep boolean statementNeedsEnded concode_elem_sep boolean statementStarted concode_elem_sep boolean sawFunction concode_field_sep void endLine concode_elem_sep void listSeparator concode_elem_sep void startNewLine concode_elem_sep boo... | void function ( Node arg0 ) { } |
14,407 | returns the singleton instance for expandtitletocontentfilter . concode_field_sep ExpandTitleToContentFilter INSTANCE concode_field_sep boolean process | ExpandTitleToContentFilter function ( ) { return INSTANCE ; } |
14,408 | return the configured content negotiation strategies . concode_field_sep List<MediaType> MEDIA_TYPE_ALL concode_elem_sep List<ContentNegotiationStrategy> strategies concode_elem_sep Set<MediaTypeFileExtensionResolver> resolvers concode_field_sep T getStrategy concode_elem_sep List<MediaType> resolveMediaTypes concode_e... | List < ContentNegotiationStrategy > function ( ) { return this . strategies ; } |
14,409 | sets the description of this feature . that description is stored in the feature metadata . concode_field_sep Vector<Location> points concode_elem_sep int LINE concode_elem_sep int MARKER concode_elem_sep MapsFeatureMetadata featureInfo concode_elem_sep int SHAPE concode_elem_sep String androidId concode_elem_sep Rando... | void function ( String arg0 ) { featureInfo . setDescription ( arg0 ) ; } |
14,410 | setnote concode_field_sep String note concode_elem_sep Component component concode_elem_sep int millisToDecideToPopup concode_elem_sep int maximum concode_elem_sep Object message concode_elem_sep int millisToPopup concode_elem_sep int minimum concode_field_sep int getMillisToPopup concode_elem_sep boolean isCanceled co... | void function ( String arg0 ) { this . note = arg0 ; } |
14,411 | returns the number of rows matching the dynamic query . concode_field_sep JIRAProjectLocalService _service concode_field_sep com.liferay.socialcoding.model.JIRAProject addJIRAProject concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.socialcoding.model.JIRAProject fetchJIRAProject c... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . dynamicQueryCount ( arg0 ) ; } |
14,412 | performs a dynamic query on the database and returns the matching rows . concode_field_sep TopicPhanHoiLocalService _topicPhanHoiLocalService concode_field_sep void setWrappedService concode_elem_sep vn.dtt.ns.thongtinphanhoi.dao.model.TopicPhanHoi deleteTopicPhanHoi concode_elem_sep vn.dtt.ns.thongtinphanhoi.dao.model... | java . util . List function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _topicPhanHoiLocalService . arg0 ( arg0 ) ; } |
14,413 | returns the address to reply to . concode_field_sep Message message concode_field_sep String getReceivedDate concode_elem_sep boolean hasFrom concode_elem_sep String getSubject concode_elem_sep String getBcc concode_elem_sep String getBody concode_elem_sep Message getMessage concode_elem_sep boolean hasSentDate concode... | String function ( ) { Address [ ] loc0 = message . getReplyTo ( ) ; if ( loc0 . length > 0 ) return ( ( InternetAddress ) loc0 [ 0 ] ) . getAddress ( ) ; else return "srini_string" ; } |
14,414 | creates and returns a custom gson instance . concode_field_sep ModuleSpaces modSpaces concode_elem_sep ModuleAppearances modAppearances concode_elem_sep PropertiesReader propertiesReader concode_elem_sep String accessToken concode_elem_sep ModuleContentTypes modContentTypes concode_elem_sep Client.Provider clientProvid... | Gson function ( ) { if ( gson == null ) { gson = new GsonBuilder ( ) . registerTypeAdapter ( CMAField . class , new FieldTypeAdapter ( ) ) . registerTypeAdapter ( CMAEntry . class , new EntrySerializer ( ) ) . create ( ) ; } return gson ; } |
14,415 | propagates throwable exactly as-is , if and only if it is an instance of runtimeexception or error . example usage : try somemethodthatcouldthrowanything ; catch iknowwhattodowiththisexception e handle e ; catch throwable t throwables.propagateifpossible t ; throw new runtimeexception `` unexpected '' , t ; concode_fie... | void function ( @ Nullable Throwable arg0 ) { propagateIfInstanceOf ( arg0 , Error . class ) ; propagateIfInstanceOf ( arg0 , RuntimeException . class ) ; } |
14,416 | gets the current session in use creates one if necessary . concode_field_sep SessionFactory sessionFactory concode_elem_sep Class<T> type concode_field_sep Class<T> getPersistentClass concode_elem_sep PK save concode_elem_sep PK save concode_elem_sep void refresh concode_elem_sep void update concode_elem_sep void updat... | Session function ( ) { return this . sessionFactory . getCurrentSession ( ) ; } |
14,417 | sets the displayname value for this customtargetingvalue . concode_field_sep java.lang.String displayName concode_elem_sep com.google.api.ads.dfp.axis.v201405.CustomTargetingValueMatchType matchType concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep boolean __hashCode... | void function ( java . lang . String arg0 ) { this . displayName = arg0 ; } |
14,418 | get custom deserializer concode_field_sep com.intellij.tasks.mantis.model.AccountData owner concode_elem_sep java.math.BigInteger project_id concode_elem_sep java.lang.String filter_string concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.Boolean is_public concode_elem_sep java.lang.String name ... | org . apache . axis . encoding . Deserializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanDeserializer ( arg1 , arg2 , typeDesc ) ; } |
14,419 | default implementation always returns true -- if you got here , the object is alive . concode_field_sep String TAG concode_elem_sep IInterface mOwner concode_elem_sep String mDescriptor concode_field_sep void restoreCallingIdentity concode_elem_sep int getCallingUid concode_elem_sep IInterface queryLocalInterface conco... | boolean function ( ) { return true ; } |
14,420 | get all the instances of private fact concode_field_sep PlaceHolder placeHolder concode_field_sep ResultSet getRulesActionsFacts concode_elem_sep ResultSet getModels concode_elem_sep ResultSet getModel concode_elem_sep String RulesThenFactsInsert concode_elem_sep void deleteRules concode_elem_sep String RulesIfFactsDet... | ResultSet function ( ) { String loc0 = new String ( "srini_string" ) ; loc0 += "srini_string" + "srini_string" + "srini_string" + "srini_string" + "srini_string" ; return SQLiteJDBC . retrieveData ( loc0 , 1 ) ; } |
14,421 | this method applies filtering before delegating call to #writer . concode_field_sep NonXmlCharFilterer nonXmlCharFilterer concode_elem_sep XMLStreamWriter writer concode_field_sep void writeComment concode_elem_sep void writeEndDocument concode_elem_sep void writeNamespace concode_elem_sep String getPrefix concode_elem... | void function ( String arg0 , String arg1 , String arg2 ) { String loc0 = nonXmlCharFilterer . filter ( arg2 ) ; writer . writeAttribute ( arg0 , arg1 , loc0 ) ; } |
14,422 | save to a hadoop filesystem concode_field_sep String UTF_8 concode_elem_sep Logger log concode_elem_sep ObjectMapper mapper concode_elem_sep Class<T> classType concode_field_sep String toJson concode_elem_sep T fromInstance concode_elem_sep T load concode_elem_sep void writeJsonAsBytes concode_elem_sep T fromResource c... | void function ( FileSystem arg0 , Path arg1 , T arg2 , boolean arg3 ) { FSDataOutputStream loc0 = arg0 . create ( arg1 , arg3 ) ; writeJsonAsBytes ( arg2 , loc0 ) ; } |
14,423 | clears the current match and moves the offset to the new index . concode_field_sep REMatch next concode_elem_sep String matchedText concode_elem_sep int offset concode_elem_sep int anchor concode_elem_sep int[] start concode_elem_sep int index concode_elem_sep int[] end concode_elem_sep int eflags concode_field_sep voi... | void function ( int arg0 ) { offset = arg0 ; this . index = 0 ; for ( int loc0 = 0 ; loc0 < start . length ; loc0 ++ ) { start [ loc0 ] = end [ loc0 ] = - 1 ; } next = null ; } |
14,424 | sets the value of the specified timeseriesid at thespecified pos . concode_field_sep IIndexedCollection timeSeries concode_elem_sep int size concode_elem_sep TimePointLabels labels concode_field_sep String getLabel concode_elem_sep TimeSeries createSeries concode_elem_sep int amountOfSeries concode_elem_sep String[] ge... | double function ( final int arg0 , final String arg1 , final double arg2 ) { final TimeSeries loc0 = getSeries ( arg1 ) ; if ( loc0 == null ) { throw new IllegalArgumentException ( "srini_string" + arg1 + "srini_string" ) ; } final double loc1 = loc0 . getValue ( arg0 ) ; loc0 . setValue ( arg0 , arg2 ) ; return loc1 ;... |
14,425 | return the spark user for authenticating sasl connections . concode_field_sep ConcurrentHashMap<String,String> shuffleSecretMap concode_elem_sep Logger logger concode_elem_sep String SPARK_SASL_USER concode_field_sep String getSecretKey concode_elem_sep void registerApp concode_elem_sep void registerApp concode_elem_se... | String function ( String arg0 ) { return SPARK_SASL_USER ; } |
14,426 | getter method for sourceid concode_field_sep int sourceID concode_elem_sep String endDate concode_elem_sep String reportFormat concode_elem_sep int subCategoryID concode_elem_sep int classificationID concode_elem_sep int ticketStatusID concode_elem_sep String caseType concode_elem_sep int ticketNO concode_elem_sep Stri... | int function ( ) { return sourceID ; } |
14,427 | returns the primary key of this document library file entry metadata . concode_field_sep DLFileEntryMetadata _dlFileEntryMetadata concode_field_sep com.liferay.portlet.dynamicdatamapping.model.DDMStructure getDDMStructure concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setFileEntryId concode_elem... | long function ( ) { return _dlFileEntryMetadata . getPrimaryKey ( ) ; } |
14,428 | returns the port of the origin server ; typically 80 or 443 . unlike may getport accessors , this method never returns -1 . concode_field_sep Proxy proxy concode_elem_sep List<String> transports concode_elem_sep int uriPort concode_elem_sep SSLSocketFactory sslSocketFactory concode_elem_sep HostnameVerifier hostnameVer... | int function ( ) { return uriPort ; } |
14,429 | return type metadata object concode_field_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep long id concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep long[] tagOptionIds concode_field_sep void setTagOptionIds concode_elem_sep org.apache.axis.encodin... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
14,430 | add a new event with successful outcome at time t. concode_field_sep Deque<Integer> values concode_elem_sep double min concode_elem_sep double lapse concode_elem_sep double max concode_elem_sep Deque<Long> times concode_elem_sep long count concode_elem_sep int window concode_elem_sep double t0 concode_elem_sep double f... | void function ( long arg0 ) { append ( 1 , arg0 ) ; } |
14,431 | set the type of the certstore generated . by default it is `` collection '' . concode_field_sep JcaX509CertificateConverter certificateConverter concode_elem_sep Object provider concode_elem_sep List crls concode_elem_sep String type concode_elem_sep JcaX509CRLConverter crlConverter concode_elem_sep List certs concode_... | JcaCertStoreBuilder function ( String arg0 ) { this . type = arg0 ; return this ; } |
14,432 | returns true if the given state is currently active otherwise false . concode_field_sep boolean ev concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep InternalOperationCallback operationCallback concode_elem_sep int nextStateIndex concode_elem_sep SCIInterface1Impl sCIInterface1 concode_elem_sep State[] state... | boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_A : return stateVector [ 0 ] == State . main_region_A ; case main_region_B : return stateVector [ 0 ] == State . main_region_B ; case main_region_C : return stateVector [ 0 ] == State . main_region_C ; default : return false ; } } |
14,433 | closes streams opened to the chunk-file . concode_field_sep Log LOG concode_elem_sep Configuration configuration concode_elem_sep SequenceFileRecordReader<K,V> reader concode_elem_sep Path chunkFilePath concode_elem_sep int numChunksLeft concode_elem_sep SequenceFile.Writer writer concode_elem_sep String chunkFilePrefi... | void function ( ) { IOUtils . cleanup ( LOG , reader , writer ) ; } |
14,434 | method to stop the progress bar concode_field_sep int PAUSE_AMOUNT_S concode_elem_sep PortableRenderer renderer concode_elem_sep int percent concode_elem_sep boolean isRunning concode_elem_sep SelectItem[] AVAILABLE_MODES concode_elem_sep String PUSH_GROUP concode_elem_sep Boolean isIndeterminate concode_elem_sep Threa... | String function ( ) { stop ( ) ; return "srini_string" ; } |
14,435 | return the angle corresponding to the total arclength of the polyline on a unit sphere . concode_field_sep int numVertices concode_elem_sep S2Point[] vertices concode_elem_sep String TAG concode_field_sep int getNearestEdgeIndex concode_elem_sep int numVertices concode_elem_sep S2Cap getCapBound concode_elem_sep boolea... | S1Angle function ( ) { double loc0 = 0 ; for ( int loc1 = 1 ; loc1 < numVertices ( ) ; ++ loc1 ) { loc0 += vertex ( loc1 - 1 ) . angle ( vertex ( loc1 ) ) ; } return S1Angle . radians ( loc0 ) ; } |
14,436 | create plugins objects that have onload set . concode_field_sep CordovaWebView app concode_elem_sep CordovaInterface ctx concode_elem_sep HashMap<String,List<String>> urlMap concode_elem_sep int SLOW_EXEC_WARNING_THRESHOLD concode_elem_sep HashMap<String,CordovaPlugin> pluginMap concode_elem_sep HashMap<String,PluginEn... | void function ( ) { for ( PluginEntry loc0 : entryMap . values ( ) ) { if ( loc0 . onload ) { getPlugin ( loc0 . service ) ; } } } |
14,437 | called whenever the osgi framework stops our bundle concode_field_sep BundleContext context concode_elem_sep Logger logger concode_field_sep void start concode_elem_sep BundleContext getContext | void function ( BundleContext arg0 ) { context = null ; logger . debug ( "srini_string" ) ; } |
14,438 | removes all the c t phan phois from the database . concode_field_sep CTPhanPhoiPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep List<CTPhanPhoi> findWithDynamicQuery concode_elem_sep List<CTPhanPhoi> findWithDynamicQuery concode... | void function ( ) { getPersistence ( ) . removeAll ( ) ; } |
14,439 | encodes an object using the caverphone algorithm . this method is provided in order to satisfy the requirements of the encoder interface , and will throw an encoderexception if the supplied object is not of type java.lang.string . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isEncodeEqual | Object function ( Object arg0 ) { if ( ! ( arg0 instanceof String ) ) { throw new EncoderException ( "srini_string" ) ; } return this . encode ( ( String ) arg0 ) ; } |
14,440 | sets the indices of this indexbufferobject , discarding the old indices . the count must equal the number of indices to be copied to this indexbufferobject . this can be called in between calls to #bind and #unbind . the index data will be updated instantly . concode_field_sep boolean isDirty concode_elem_sep int usage... | void function ( short [ ] arg0 , int arg1 , int arg2 ) { isDirty = true ; buffer . clear ( ) ; buffer . put ( arg0 , arg1 , arg2 ) ; buffer . flip ( ) ; if ( isBound ) { Gdx . gl20 . glBufferData ( GL20 . GL_ELEMENT_ARRAY_BUFFER , buffer . limit ( ) , buffer , usage ) ; isDirty = false ; } } |
14,441 | get the type of this array . concode_field_sep ArrayType m_type concode_elem_sep String m_stringVal concode_elem_sep ArrayList<String> m_values concode_field_sep void checkInRange concode_elem_sep String valueSparse concode_elem_sep boolean isSparse concode_elem_sep String actualValue concode_elem_sep int index concode... | ArrayType function ( ) { return m_type ; } |
14,442 | calculate the sum of all values from 1 to end , including . that is : sum = 1 + 2 + 3 + ... + end-1 + end examples : f 0 = 0 f 1 = 1 f 2 = 3 f 3 = 6 f 10 = 55 f 100 = 5050 concode_field_sep PlaceHolder placeHolder concode_field_sep long ceilDiv concode_elem_sep int ceilDiv concode_elem_sep boolean isAddUnderOrOverflow ... | long function ( long arg0 ) { if ( arg0 < 1 ) return 0 ; return ( arg0 * ( arg0 + 1 ) ) / 2 ; } |
14,443 | publishes the given events to the members of this event processor . implementations may do this synchronously or asynchronously . although eventlistener eventlisteners arediscouraged to throw exceptions , it is possible that they are propagated through this method invocation . in that case , no guarantees can be given ... | void function ( EventMessage ... arg0 ) { handle ( Arrays . asList ( arg0 ) ) ; } |
14,444 | converts from an existing json object circulating as such to an inputstream , by dumping it to a string first and then using camel-core 's ioconverter #toinputstream string , exchange concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | InputStream function ( JSON arg0 , Exchange arg1 ) { return IOConverter . toInputStream ( arg0 . toString ( ) , arg1 ) ; } |
14,445 | returns the operationtype of a registered classid . concode_field_sep int classId concode_elem_sep ConcurrentMap<Integer,OperationType> CLASS_IDS concode_elem_sep ConcurrentMap<Class<? extends SimulatorOperation>,OperationType> OPERATION_TYPES concode_elem_sep Class<? extends SimulatorOperation> classType concode_field... | OperationType function ( int arg0 ) { OperationType loc0 = OperationTypeRegistry . CLASS_IDS . get ( arg0 ) ; if ( loc0 == null ) { throw new IllegalArgumentException ( format ( "srini_string" , arg0 ) ) ; } return loc0 ; } |
14,446 | registers the given isafetynetlistener to receive notificationsrelated to the safety net . concode_field_sep ChildZNodeWatcher rootWatcher concode_elem_sep Logger LOG concode_elem_sep NimbusSafetyNet s_instance concode_elem_sep HashMap<String,CacheZNode> cacheMap concode_elem_sep boolean stopped concode_elem_sep ArrayL... | boolean function ( ISafetyNetListener arg0 ) { return listeners . add ( arg0 ) ; } |
14,447 | sets the password . concode_field_sep String password concode_elem_sep Long id concode_elem_sep String blogId concode_elem_sep Email email concode_field_sep String getPassword concode_elem_sep void setBlogId concode_elem_sep String getBlogId concode_elem_sep void setEmail concode_elem_sep Email getEmail concode_elem_se... | void function ( String arg0 ) { this . password = arg0 ; } |
14,448 | some checks for the clearobservations method . concode_field_sep double EPSILON concode_field_sep void testCloning concode_elem_sep void testRemoveAllBins concode_elem_sep void testSerialization concode_elem_sep void testEquals | void function ( ) { SimpleHistogramDataset loc0 = new SimpleHistogramDataset ( "srini_string" ) ; loc0 . clearObservations ( ) ; assertEquals ( 0 , loc0 . getItemCount ( 0 ) ) ; loc0 . addBin ( new SimpleHistogramBin ( 0.0 , 1.0 ) ) ; loc0 . addObservation ( 0.5 ) ; assertEquals ( 1.0 , loc0 . getYValue ( 0 , 0 ) , EPS... |
14,449 | returns the point representing the current position along the linestring concode_field_sep double ONE_DEGREE concode_elem_sep double offsetDistance concode_elem_sep int segment concode_elem_sep double[] segmentLenghts concode_elem_sep LineString lineString concode_elem_sep double[] segmentStartOrdinate concode_elem_sep... | Coordinate function ( ) { return getCurrentPosition ( new Coordinate ( ) ) ; } |
14,450 | checks for a true/false value of a key in a properties object . concode_field_sep PlaceHolder placeHolder concode_field_sep String unEscapeURL concode_elem_sep URL toURL concode_elem_sep boolean isSurrogatePair concode_elem_sep boolean isSurrogatePair concode_elem_sep float inchesToPoints concode_elem_sep void skip con... | boolean function ( Properties arg0 , String arg1 ) { return "srini_string" . equalsIgnoreCase ( arg0 . getProperty ( arg1 ) ) ; } |
14,451 | does the server support mediated deposit aka on-behalf-of ? concode_field_sep String failedPackageDir concode_elem_sep boolean mediated concode_elem_sep int maxUploadSize concode_elem_sep Logger log concode_elem_sep boolean verbose concode_elem_sep String swordBundle concode_elem_sep ConfigurationService configurationS... | boolean function ( ) { return mediated ; } |
14,452 | obtiene los elementos en un vector , ordenados de menor a mayor . concode_field_sep ArrayList elementos concode_field_sep boolean contains concode_elem_sep Object popBottom concode_elem_sep Object top concode_elem_sep int size concode_elem_sep void reordenar concode_elem_sep Object bottom concode_elem_sep void clear co... | Object [ ] function ( ) { int loc0 = elementos . size ( ) ; Object [ ] loc1 = new Object [ loc0 ] ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { loc1 [ loc2 ] = elementos . get ( loc2 ) ; } return loc1 ; } |
14,453 | attempts to establish a connection with the data source that this datasource object represents . concode_field_sep int loginTimeout concode_elem_sep PrintWriter logWriter concode_elem_sep String user concode_elem_sep String database concode_elem_sep String password concode_field_sep void setPassword concode_elem_sep St... | Connection function ( ) { return getConnection ( user , password ) ; } |
14,454 | get the maximum size of the core thread pool . concode_field_sep RejectionHandler rejectionHandler concode_elem_sep RenderThreadFactory threadFactory concode_elem_sep long keepAliveTime concode_elem_sep Log log concode_elem_sep ThreadPoolExecutor renderService concode_elem_sep int corePoolSize concode_elem_sep Schedule... | int function ( ) { return maxPoolSize ; } |
14,455 | this method resets the incoming events time events included . concode_field_sep long j1 concode_elem_sep long a concode_elem_sep long b concode_elem_sep long c concode_elem_sep long d concode_elem_sep long e concode_elem_sep long f concode_elem_sep long k1 concode_elem_sep long g concode_elem_sep long h concode_elem_se... | void function ( ) { } |
14,456 | get the attached view . you should always call #isviewattached to check if the viewis attached to avoid nullpointerexceptions . concode_field_sep WeakReference<V> viewRef concode_field_sep void attachView concode_elem_sep boolean isViewAttached concode_elem_sep void detachView | V function ( ) { return viewRef == null ? null : viewRef . get ( ) ; } |
14,457 | helper for error callbacks that just returns the status.error by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String ... | void function ( String arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . ERROR , arg0 ) ) ; } |
14,458 | utility for finding token delimiter in a type 4 function stream . concode_field_sep Procedure currentProcedure concode_elem_sep Reader reader concode_elem_sep int TOKEN_EXPRESSION concode_elem_sep int tokenType concode_elem_sep int startTokenPos concode_elem_sep int TOKEN_OPERAND concode_elem_sep int numRead concode_el... | boolean function ( char arg0 ) { } |
14,459 | get odadatasetdesign concode_field_sep String DATA_SOURCE_TYPE concode_elem_sep String DATA_SET_TYPE concode_elem_sep OdaDataSourceDesign jdbDataSource concode_elem_sep OdaDataSetDesign jdbcDataSet concode_elem_sep String SP_DATA_SET_TYPE concode_field_sep OdaDataSourceDesign getOdaDataSourceDesign | OdaDataSetDesign function ( ) { return jdbcDataSet ; } |
14,460 | sets the local address to bind to when sending messages . concode_field_sep boolean useTCP concode_elem_sep InetSocketAddress address concode_elem_sep int uniqueID concode_elem_sep String defaultResolver concode_elem_sep InetSocketAddress localAddress concode_elem_sep int DEFAULT_PORT concode_elem_sep long timeoutValue... | void function ( InetSocketAddress arg0 ) { localAddress = arg0 ; } |
14,461 | start writing blocks to azure storage . concode_field_sep int NUMBER_OF_BLOCKS concode_elem_sep int DOWNLOAD_BLOCK_SIZE concode_elem_sep int BLOB_SIZE concode_elem_sep AzureBlobStorageTestAccount testAccount concode_elem_sep AzureBlobStorageTestAccount writerStorageAccount concode_elem_sep Thread runner concode_elem_se... | void function ( ) { runner = new Thread ( this ) ; runner . start ( ) ; } |
14,462 | remove a configuration for a javax.cache.event.cacheentrylistener . concode_field_sep Factory<CacheWriter<? super K,? super V>> cacheWriterFactory concode_elem_sep Factory<ExpiryPolicy> expiryPolicyFactory concode_elem_sep boolean isWriteThrough concode_elem_sep boolean isReadThrough concode_elem_sep Class<V> valueType... | CacheConfiguration < K , V > function ( CacheEntryListenerConfiguration < K , V > arg0 ) { checkNotNull ( arg0 , "srini_string" ) ; listenerConfigurations . remove ( arg0 ) ; return this ; } |
14,463 | returns a defensive copy of topics if not null . concode_field_sep List<String> DEFAULT_TOPICS concode_elem_sep String DEFAULT_CITY concode_elem_sep String city concode_elem_sep Date endDate concode_elem_sep List<String> topics concode_elem_sep String description concode_elem_sep String organizerUserId concode_elem_sep... | List < String > function ( ) { return topics == null ? null : ImmutableList . copyOf ( topics ) ; } |
14,464 | given data and error-correction codewords received , possibly corrupted by errors , attempts to correct the errors in-place . concode_field_sep int MAX_EC_CODEWORDS concode_elem_sep ErrorCorrection errorCorrection concode_elem_sep int MAX_ERRORS concode_field_sep DecoderResult decode concode_elem_sep DecoderResult deco... | void function ( int [ ] arg0 , int [ ] arg1 , int arg2 ) { if ( arg1 . length > arg2 / 2 + MAX_ERRORS || arg2 < 0 || arg2 > MAX_EC_CODEWORDS ) { throw ChecksumException . getChecksumInstance ( ) ; } errorCorrection . decode ( arg0 , arg2 , arg1 ) ; } |
14,465 | get stored session data concode_field_sep Editor editor concode_elem_sep String PREF_NAME concode_elem_sep Context _context concode_elem_sep SharedPreferences pref concode_elem_sep String KEY_NAME concode_elem_sep String KEY_EMAIL concode_elem_sep String IS_LOGIN concode_elem_sep int PRIVATE_MODE concode_field_sep void... | HashMap < String , String > function ( ) { HashMap < String , String > loc0 = new HashMap < String , String > ( ) ; loc0 . put ( KEY_NAME , pref . getString ( KEY_NAME , null ) ) ; loc0 . put ( KEY_EMAIL , pref . getString ( KEY_EMAIL , null ) ) ; return loc0 ; } |
14,466 | returns the mvcc version of this email address . concode_field_sep EmailAddress _emailAddress concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel c... | long function ( ) { return _emailAddress . getMvccVersion ( ) ; } |
14,467 | strengthen a key which might be too short by extending with a salt text concode_field_sep int MAX_KEY_LENGTH concode_elem_sep char[] hexChars concode_field_sep String encrypt concode_elem_sep String decrypt | String function ( String arg0 , String arg1 ) { if ( arg0 . length ( ) > BlowFish . MAX_KEY_LENGTH ) return arg0 ; arg0 = arg0 + arg1 ; return arg0 . substring ( 0 , BlowFish . MAX_KEY_LENGTH ) ; } |
14,468 | test of findrecentmessageuidsinmailbox method , of class hbasemessagemapper . concode_field_sep List<MailboxPath> MBOX_PATHS concode_elem_sep int COUNT concode_elem_sep Configuration conf concode_elem_sep HBaseClusterSingleton CLUSTER concode_elem_sep HBaseMessageMapper messageMapper concode_elem_sep Logger LOG concode... | void function ( ) { LOG . info ( "srini_string" ) ; List < MessageUid > loc0 = messageMapper . findRecentMessageUidsInMailbox ( MBOXES . get ( 1 ) ) ; assertEquals ( MESSAGE_NO . size ( ) - 1 , loc0 . size ( ) ) ; } |
14,469 | this is used to acquire the contents of the body as a stream . each time this method is invoked a new stream is created that will read the contents of the body from the first byte . this ensures that the stream can be acquired several times without any issues arising from previous reads . concode_field_sep PartSeries s... | InputStream function ( ) { if ( buffer == null ) { return new EmptyInputStream ( ) ; } return buffer . open ( ) ; } |
14,470 | reads and returns the next character . concode_field_sep Pattern EMPTY_PATTERN concode_elem_sep String CHARSET_NAME concode_elem_sep Locale LOCALE concode_elem_sep Scanner scanner concode_elem_sep Pattern WHITESPACE_PATTERN concode_elem_sep Pattern EVERYTHING_PATTERN concode_field_sep void resync concode_elem_sep int[]... | char function ( ) { scanner . useDelimiter ( EMPTY_PATTERN ) ; String loc0 = scanner . next ( ) ; assert ( loc0 . length ( ) == 1 ) : "srini_string" + "srini_string" ; scanner . useDelimiter ( WHITESPACE_PATTERN ) ; return loc0 . charAt ( 0 ) ; } |
14,471 | display an integrity error message . use when the posted data from a request does n't make sense . concode_field_sep Logger log concode_field_sep void showFileSizeLimitExceededError concode_elem_sep void showInvalidIDError concode_elem_sep void showJSP concode_elem_sep void showInternalError concode_elem_sep void showA... | void function ( HttpServletRequest arg0 , HttpServletResponse arg1 ) { arg1 . setStatus ( HttpServletResponse . SC_BAD_REQUEST ) ; showJSP ( arg0 , arg1 , "srini_string" ) ; } |
14,472 | returns the index of the jstype value associated with the specified template key . if no jstype value is associated , returns -1 . concode_field_sep ImmutableList<TemplateType> templateKeys concode_elem_sep JSTypeRegistry registry concode_elem_sep ImmutableList<JSType> templateValues concode_elem_sep boolean inRecursiv... | int function ( TemplateType arg0 ) { int loc0 = Math . min ( templateKeys . size ( ) , templateValues . size ( ) ) ; for ( int loc1 = loc0 - 1 ; loc1 >= 0 ; loc1 -- ) { if ( templateKeys . get ( loc1 ) == arg0 ) { return loc1 ; } } return - 1 ; } |
14,473 | number of dimensions represented by this shape . concode_field_sep long[] shape concode_field_sep Shape scalar concode_elem_sep long size concode_elem_sep long[] asArray concode_elem_sep String toString concode_elem_sep Shape make concode_elem_sep Shape unknown | int function ( ) { return shape == null ? - 1 : shape . length ; } |
14,474 | gets the progress completed message . if the completedmessageenabled attribute is set to false an empty string is returned . this ensure that the component will use its default completed message instead of the last entered custom message . concode_field_sep boolean progressMessageEnabled concode_elem_sep boolean interm... | String function ( ) { if ( completedMessageEnabled ) { return completedMessage ; } else { return "srini_string" ; } } |
14,475 | generate a new random number . concode_field_sep Random numGen concode_elem_sep double mag concode_elem_sep double min concode_field_sep void setSeed | double function ( ) { return ( numGen . nextDouble ( ) * ( mag ) ) + min ; } |
14,476 | called whenever the osgi framework starts our bundle concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void stop concode_elem_sep BundleContext getContext | void function ( BundleContext arg0 ) { context = arg0 ; logger . debug ( "srini_string" ) ; } |
14,477 | get the local name of this element . concode_field_sep String name concode_elem_sep Map<String,Element> MAP concode_field_sep Attribute forName concode_elem_sep Element forName concode_elem_sep String toString | String function ( ) { return name ; } |
14,478 | returns the status with the primary key . concode_field_sep StatusLocalService _statusLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep java... | com . liferay . chat . model . Status function ( long arg0 ) { return _statusLocalService . getStatus ( arg0 ) ; } |
14,479 | sets the value of the rval property . concode_field_sep Network rval concode_field_sep Network getRval | void function ( Network arg0 ) { this . rval = arg0 ; } |
14,480 | remove the given node from this graph . as a consequence , any edges for which that node was either a head or a tail will also be removed . concode_field_sep HashMap<N,HashSet<N>> edges concode_field_sep Set<N> getTails concode_elem_sep void removeAllNodes concode_elem_sep void removeEdge concode_elem_sep int getNodeCo... | void function ( N arg0 ) { edges . remove ( arg0 ) ; for ( HashSet < N > loc0 : edges . values ( ) ) { loc0 . remove ( arg0 ) ; } } |
14,481 | create an instance of temp concode_field_sep QName _WeatherReturn_QNAME concode_elem_sep QName _ArrayOfWeatherDescription_QNAME concode_elem_sep QName _ForecastReturn_QNAME concode_field_sep WeatherDescription createWeatherDescription concode_elem_sep GetCityWeatherByZIPResponse createGetCityWeatherByZIPResponse concod... | Temp function ( ) { return new Temp ( ) ; } |
14,482 | makes no sense in the case of an absprimitive that has no attribute -- > just return null concode_field_sep String typeName concode_elem_sep Object value concode_field_sep byte[] getByteSequence concode_elem_sep Object getObject concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_... | String [ ] function ( ) { return null ; } |
14,483 | set the login header . applies to the message frame . concode_field_sep String CONTENT_LENGTH concode_elem_sep String ACK concode_elem_sep Map<String,List<String>> headers concode_elem_sep String LOGIN concode_elem_sep String SERVER concode_elem_sep String SESSION concode_elem_sep String PASSCODE concode_elem_sep Strin... | void function ( String arg0 ) { set ( SUBSCRIPTION , arg0 ) ; } |
14,484 | sets bit i. concode_field_sep int size concode_elem_sep int[] bits concode_field_sep void toBytes concode_elem_sep void clear concode_elem_sep void reverse concode_elem_sep boolean isRange concode_elem_sep int getSize concode_elem_sep void appendBit concode_elem_sep int getSizeInBytes concode_elem_sep void appendBits c... | void function ( int arg0 ) { bits [ arg0 >> 5 ] |= 1 << ( arg0 & 0x1F ) ; } |
14,485 | handle read command `` at+foo ? '' . read commands are part of the extended command syntax , and are typically used to read the value of `` foo '' . concode_field_sep PlaceHolder placeHolder concode_field_sep AtCommandResult handleSetCommand concode_elem_sep AtCommandResult handleActionCommand concode_elem_sep AtComman... | AtCommandResult function ( ) { return new AtCommandResult ( AtCommandResult . ERROR ) ; } |
14,486 | get the left child of an index concode_field_sep int size concode_elem_sep double priority concode_elem_sep HeapItem[] items concode_elem_sep Object object concode_field_sep void add concode_elem_sep int parent concode_elem_sep double getMaxKey concode_elem_sep int size concode_elem_sep Object extractMax concode_elem_s... | int function ( int arg0 ) { return 2 * arg0 ; } |
14,487 | test if an island should be monitored concode_field_sep Monitor _Nomon concode_elem_sep Monitor[] _monitors concode_elem_sep List<int[]> _posbyisland concode_elem_sep BusTypeUtil _btu concode_elem_sep BusList _sbus concode_elem_sep int[] _mbus concode_field_sep void take concode_elem_sep boolean test concode_elem_sep v... | boolean function ( ConvergenceInfo arg0 ) { return true ; } |
14,488 | gets the element byte at the specified position in the list . concode_field_sep byte[] data concode_elem_sep int size concode_elem_sep long serialVersionUID concode_field_sep void add concode_elem_sep void add concode_elem_sep void add concode_elem_sep void add concode_elem_sep void add concode_elem_sep void add concod... | byte function ( int arg0 ) { assert arg0 < size ; return data [ arg0 ] ; } |
14,489 | called when an mbean is registered under the given objectname . allows subclasses to perform additional processing when an mbean is registered . the default implementation is empty . can be overridden in subclasses . concode_field_sep MBeanServer server concode_elem_sep Log logger concode_elem_sep RegistrationPolicy re... | void function ( ObjectName arg0 ) { } |
14,490 | get the clip 's width concode_field_sep double[] clip concode_elem_sep byte EMPTY concode_elem_sep byte INUSE concode_elem_sep byte status concode_elem_sep byte INVALID concode_field_sep void grow concode_elem_sep void expandToIntegerLimits concode_elem_sep boolean intersects concode_elem_sep double getMaxX concode_ele... | double function ( ) { return clip [ 6 ] - clip [ 0 ] ; } |
14,491 | returns a range of all the portlet items . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.liferay.portal.kernel.dao.orm.queryutil #a... | java . util . List < com . liferay . portal . model . PortletItem > function ( int arg0 , int arg1 ) { return _portletItemLocalService . getPortletItems ( arg0 , arg1 ) ; } |
14,492 | processes the element by adding it or the different parts to a elementlistener . concode_field_sep int currentColumn concode_elem_sep int NULL concode_elem_sep int CELL concode_elem_sep int horizontalAlignment concode_elem_sep Object[] cells concode_elem_sep boolean[] reserved concode_elem_sep int columns concode_elem_... | boolean function ( ElementListener arg0 ) { try { return arg0 . add ( this ) ; } catch ( DocumentException loc0 ) { return false ; } } |
14,493 | initializes this instance with the specified key-size and source of randomness . concode_field_sep String ALGORITHM_PARAMETER_GENERATOR concode_elem_sep Provider provider concode_elem_sep AlgorithmParameterGeneratorSpi paramGenSpi concode_elem_sep String algorithm concode_field_sep String getAlgorithm concode_elem_sep ... | void function ( int arg0 , SecureRandom arg1 ) { paramGenSpi . engineInit ( arg0 , arg1 ) ; } |
14,494 | get the request uri that caused the original error . concode_field_sep OutputBuffer outputBuffer concode_elem_sep Exception errorException concode_elem_sep MimeHeaders headers concode_elem_sep boolean charsetSet concode_elem_sep long contentLength concode_elem_sep String characterEncoding concode_elem_sep String conten... | String function ( ) { return errorURI ; } |
14,495 | returns the thread last set by setexclusiveownerthread , or null if never set . this method does not otherwise impose any synchronization or volatile field accesses . concode_field_sep Thread exclusiveOwnerThread concode_elem_sep long serialVersionUID concode_field_sep void setExclusiveOwnerThread | Thread function ( ) { return exclusiveOwnerThread ; } |
14,496 | determine whether or not this is a public-visible and non-deprecated format . in particular , @hide formats will return false . any other indirect formats such as transparent or translucent will return false . concode_field_sep int RGBA_8888 concode_elem_sep int RGB_565 concode_elem_sep int YCbCr_422_SP concode_elem_se... | boolean function ( int arg0 ) { switch ( arg0 ) { case RGBA_8888 : case RGBX_8888 : case RGB_888 : case RGB_565 : return true ; } return false ; } |
14,497 | getter method . returns template . used for toolview 's `` updateview '' method . concode_field_sep GraphPair p concode_elem_sep Template t concode_elem_sep HeaderData hd concode_elem_sep MessageLog ml concode_field_sep void addTemplateChangeListener concode_elem_sep void addGraphPairChangeListener | Template function ( ) { return ( t ) ; } |
14,498 | this method is called after the mapping phase on the local node is over . no further combining runs will take place after this call . you override this method to clean up the internal state and free possibly acquired external resources . concode_field_sep PlaceHolder placeHolder concode_field_sep void beginCombine conc... | void function ( ) { } |
14,499 | returns true if this object is equal to the specified object , and false otherwise . concode_field_sep TextAnchor HALF_ASCENT_LEFT concode_elem_sep TextAnchor BOTTOM_LEFT concode_elem_sep TextAnchor BASELINE_RIGHT concode_elem_sep TextAnchor BASELINE_CENTER concode_elem_sep TextAnchor TOP_LEFT concode_elem_sep TextAnch... | boolean function ( final Object arg0 ) { if ( this == arg0 ) { return true ; } if ( ! ( arg0 instanceof TextAnchor ) ) { return false ; } final TextAnchor loc0 = ( TextAnchor ) arg0 ; if ( ! this . name . equals ( loc0 . name ) ) { return false ; } return true ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.