idx int64 0 25k | question stringlengths 68 5.14k | target stringlengths 20 503 |
|---|---|---|
5,900 | count of triggers since schedule . concode_field_sep Class<?> defaultReceiver concode_elem_sep Class<?> receiver concode_elem_sep String PREF_KEY concode_elem_sep Context context concode_elem_sep Options options concode_elem_sep NotificationCompat.Builder builder concode_field_sep void cancel concode_elem_sep boolean w... | int function ( ) { long loc0 = System . currentTimeMillis ( ) ; long loc1 = options . getTriggerTime ( ) ; if ( ! wasInThePast ( ) ) return 0 ; if ( ! isRepeating ( ) ) return 1 ; return ( int ) ( ( loc0 - loc1 ) / options . getRepeatInterval ( ) ) ; } |
5,901 | returns the integer code of the policy value . concode_field_sep long serialVersionUID concode_elem_sep RequestProcessingPolicyValue USE_ACTIVE_OBJECT_MAP_ONLY concode_elem_sep String[] state_names concode_elem_sep int _USE_ACTIVE_OBJECT_MAP_ONLY concode_elem_sep int _USE_DEFAULT_SERVANT concode_elem_sep int _USE_SERVA... | int function ( ) { return _value ; } |
5,902 | returns a predicate and value builder for the outbound body on an exchange concode_field_sep PlaceHolder placeHolder concode_field_sep ValueBuilder faultBodyAs concode_elem_sep ValueBuilder constant concode_elem_sep ValueBuilder sendTo concode_elem_sep ValueBuilder systemProperty concode_elem_sep ValueBuilder systemPro... | ValueBuilder function ( ) { Expression loc0 = new SimpleExpression ( "srini_string" ) ; return new ValueBuilder ( loc0 ) ; } |
5,903 | returns the number of bytes in the blob value designated by this blob object . concode_field_sep BlobDataID blob concode_elem_sep boolean isClosed concode_elem_sep SessionInterface session concode_elem_sep BlobDataID originalBlob concode_elem_sep int colIndex concode_elem_sep boolean isWritable concode_elem_sep JDBCRes... | long function ( ) { try { return blob . length ( session ) ; } catch ( HsqlException loc0 ) { throw Util . sqlException ( loc0 ) ; } } |
5,904 | sets the job data model class . concode_field_sep String CONF_INPUT_KEY_SCHEMA concode_elem_sep String CONF_OUTPUT_KEY_SCHEMA concode_elem_sep String CONF_INPUT_VALUE_SCHEMA concode_elem_sep String CONF_OUTPUT_VALUE_SCHEMA concode_elem_sep String CONF_OUTPUT_CODEC concode_field_sep void setMapOutputKeySchema concode_el... | void function ( Job arg0 , Class < ? extends GenericData > arg1 ) { AvroSerialization . setDataModelClass ( arg0 . getConfiguration ( ) , arg1 ) ; } |
5,905 | gets an `` inline '' string portion for tohuman , if available . this is the portion that appears after the rop opcode concode_field_sep RegisterSpec result concode_elem_sep RegisterSpecList sources concode_elem_sep SourcePosition position concode_elem_sep Rop opcode concode_field_sep String toHumanWithInline concode_e... | String function ( ) { return null ; } |
5,906 | lower placed line concode_field_sep List<Integer> minDepth concode_elem_sep Mat originalM concode_elem_sep List<List<Integer>> cutPointsList concode_elem_sep int[] projX concode_elem_sep int upperBound concode_elem_sep List<Integer> localMaximums concode_elem_sep double[] sobelXprojY concode_elem_sep List<Integer> loca... | void function ( int arg0 ) { this . lowerBound = arg0 ; } |
5,907 | returns the social activity limit with the primary key . concode_field_sep SocialActivityLimitLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.social.kernel.model.SocialActivityLimit addActivityLimit concode_elem_sep com.liferay.portal.kernel.dao.orm.Actiona... | com . liferay . social . kernel . model . SocialActivityLimit function ( long arg0 ) { return getService ( ) . getSocialActivityLimit ( arg0 ) ; } |
5,908 | sets the value of the period06 property . concode_field_sep BigDecimal whenever concode_elem_sep String unitOfMeasure concode_elem_sep BigDecimal totalMinutes concode_elem_sep String peakTime concode_elem_sep BigDecimal weekend concode_elem_sep String period04 concode_elem_sep String description concode_elem_sep String... | void function ( String arg0 ) { this . period06 = arg0 ; } |
5,909 | returns a range of all the lms prefses . 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 #all... | java . util . List < com . liferay . lms . model . LmsPrefs > function ( int arg0 , int arg1 ) { return getService ( ) . getLmsPrefses ( arg0 , arg1 ) ; } |
5,910 | see session #terminate . concode_field_sep PlaceHolder placeHolder concode_field_sep JavaSessionSerializer getJavaSerializer concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_... | Operation function ( ) { return getSession ( ) . terminate ( ) ; } |
5,911 | called for every subdirectory found in the watched directory during initialization concode_field_sep PlaceHolder placeHolder concode_field_sep void onFileCreated concode_elem_sep void onFileInit concode_elem_sep void onDirectoryCreated concode_elem_sep void onFileDeleted concode_elem_sep void onDirectoryDeleted concode... | void function ( Path arg0 ) { } |
5,912 | put a new value into the cache . concode_field_sep SimpleReadWriteLock m_aRWLock concode_elem_sep Map<KEYTYPE,VALUETYPE> m_aCache concode_elem_sep String STATISTICS_PREFIX concode_elem_sep IMutableStatisticsHandlerCache m_aCacheAccessStats concode_elem_sep String m_sCacheName concode_elem_sep Logger s_aLogger concode_e... | void function ( @ Nonnull final KEYTYPE arg0 , @ Nonnull final VALUETYPE arg1 ) { ValueEnforcer . notNull ( arg0 , "srini_string" ) ; ValueEnforcer . notNull ( arg1 , "srini_string" ) ; m_aRWLock . writeLocked ( ( ) -> putInCacheNotLocked ( arg0 , arg1 ) ) ; } |
5,913 | maximum number of retries when binding to a port before giving up . concode_field_sep String SPARK_NETWORK_IO_NUMCONNECTIONSPERPEER_KEY concode_elem_sep String SPARK_NETWORK_IO_LAZYFD_KEY concode_elem_sep String SPARK_NETWORK_IO_SERVERTHREADS_KEY concode_elem_sep String module concode_elem_sep String SPARK_NETWORK_IO_C... | int function ( ) { return conf . getInt ( "srini_string" , 16 ) ; } |
5,914 | hook for redirecting requests . applies to webview requests as well as requests made by plugins . to handle the request directly , return a uri in the form : cdvplugin : / / pluginid / ... and implement handleopenforread . to make this easier , use the topluginuri and frompluginuri helpers : public uri remapuri uri uri... | Uri function ( Uri arg0 ) { return null ; } |
5,915 | executes the request . this method is called from the webview thread . to do a non-trivial amount of work , use : cordova.getthreadpool . execute runnable ; to run on the ui thread , use : cordova.getactivity . runonuithread runnable ; concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface c... | boolean function ( String arg0 , String arg1 , CallbackContext arg2 ) { JSONArray loc0 = new JSONArray ( arg1 ) ; return execute ( arg0 , loc0 , arg2 ) ; } |
5,916 | host concode_field_sep String passwd concode_elem_sep Integer port concode_elem_sep String tablePrefix concode_elem_sep Integer tableCurrentIndex concode_elem_sep String schemaPrefix concode_elem_sep Integer schemaCurrentIndex concode_elem_sep String ddlScript concode_elem_sep String account concode_elem_sep String ipA... | String function ( ) { StringBuffer loc0 = new StringBuffer ( ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( this . ipAddr ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; } |
5,917 | sets the value of the position property . concode_field_sep String image concode_elem_sep String code concode_elem_sep Boolean visible concode_elem_sep Langs langs concode_elem_sep String style concode_elem_sep long serialVersionUID concode_elem_sep Long id concode_elem_sep String label concode_elem_sep Integer positio... | void function ( int arg0 ) { this . position = arg0 ; } |
5,918 | sets the value of the signallte property . concode_field_sep BigInteger signal2G concode_elem_sep Boolean psapEnabled concode_elem_sep BigInteger signalUMTS concode_elem_sep long serialVersionUID concode_elem_sep Boolean awsSpectrumEnabled concode_elem_sep BigInteger signalLTE concode_elem_sep Boolean pcsSpectrumEnable... | void function ( BigInteger arg0 ) { this . signalLTE = arg0 ; } |
5,919 | gets bib id . concode_field_sep String bibId concode_elem_sep String owningInstitution concode_elem_sep String owningInstitutionBibId concode_elem_sep Integer recordNum concode_elem_sep Integer matchingBibInfoDetailId concode_field_sep String getOwningInstitutionBibId concode_elem_sep void setMatchingBibInfoDetailId co... | String function ( ) { return bibId ; } |
5,920 | axis does not need to be normalized but must not be the zero vector . angle is in radians . concode_field_sep float q1 concode_elem_sep float q2 concode_elem_sep float q3 concode_elem_sep float EPSILON concode_elem_sep float q0 concode_field_sep void init concode_elem_sep Rotf inverse concode_elem_sep float lengthSquar... | void function ( Vec3f arg0 , float arg1 ) { float loc0 = arg1 / 2.0f ; q0 = ( float ) Math . cos ( loc0 ) ; float loc1 = ( float ) Math . sin ( loc0 ) ; Vec3f loc2 = new Vec3f ( arg0 ) ; loc2 . normalize ( ) ; q1 = loc2 . x ( ) * loc1 ; q2 = loc2 . y ( ) * loc1 ; q3 = loc2 . z ( ) * loc1 ; } |
5,921 | initialize the tokenizer . concode_field_sep int TYPE_WORD concode_elem_sep int TYPE_EOF concode_elem_sep Reader reader concode_elem_sep int peekChar concode_elem_sep int line concode_elem_sep char[] chars concode_elem_sep byte[] charTypes concode_elem_sep byte QUOTE concode_elem_sep int type concode_elem_sep byte WHIT... | void function ( ) { buffer = new StringBuilder ( ) ; } |
5,922 | debug log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void setLogLevel concode_elem_sep void setLogLevel concode_elem_sep void e conco... | void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . DEBUG >= LOGLEVEL ) Log . d ( arg0 , arg1 , arg2 ) ; } |
5,923 | gets the field value . concode_field_sep Map<String,Field> fieldCache concode_field_sep void setFieldValue concode_elem_sep Field getField | Object function ( final Object arg0 , final String arg1 ) { final Field loc0 = getField ( arg0 , arg1 ) ; try { return loc0 . get ( arg0 ) ; } catch ( final IllegalAccessException loc1 ) { throw new IllegalStateException ( "srini_string" , loc1 ) ; } } |
5,924 | sets the parallelism for this data sink . the degree must be 1 or more . concode_field_sep int[] sortKeyPositions concode_elem_sep int parallelism concode_elem_sep DataSet<T> data concode_elem_sep Order[] sortOrders concode_elem_sep OutputFormat<T> format concode_elem_sep String name concode_elem_sep TypeInformation<T>... | DataSink < T > function ( int arg0 ) { Preconditions . checkArgument ( arg0 > 0 || arg0 == ExecutionConfig . PARALLELISM_DEFAULT , "srini_string" ) ; this . parallelism = arg0 ; return this ; } |
5,925 | returns the code that should be inserted by actinsertsnippet . concode_field_sep String snippetName concode_elem_sep String code concode_elem_sep String category concode_field_sep void setSnippetName concode_elem_sep String getSnippetName concode_elem_sep void setCategory concode_elem_sep String getCategory concode_ele... | String function ( ) { return code ; } |
5,926 | sets the value of the lastmodifieddatetime property . concode_field_sep String address concode_elem_sep String faxPhone concode_elem_sep DateTime lastModifiedDateTime concode_elem_sep List<AppliedLabel> appliedLabels concode_elem_sep String externalId concode_elem_sep CompanyCreditStatus creditStatus concode_elem_sep I... | void function ( DateTime arg0 ) { this . lastModifiedDateTime = arg0 ; } |
5,927 | by default , we always remember the containment feature of an object , unless it is an ecore element such as an annotation or it is a detached element . concode_field_sep Map nameFeatureMap concode_elem_sep Object NULL_TOKEN concode_field_sep boolean shouldOverrideCopyOperation concode_elem_sep void setName concode_ele... | boolean function ( EObject arg0 ) { if ( EcorePackage . eINSTANCE == arg0 . eClass ( ) . getEPackage ( ) ) { return false ; } try { arg0 . eResource ( ) . getURIFragment ( arg0 ) ; } catch ( Exception loc0 ) { return false ; } return true ; } |
5,928 | utility method for getting one of three types of effects based on the key words , shake_effect , pulsate_effect , highlight_effect . concode_field_sep String PULSATE_EFFECT concode_elem_sep String SHAKE_EFFECT concode_elem_sep String HIGHLIGHT_EFFECT concode_field_sep void executeMenuEffect | Effect function ( String arg0 ) { if ( SHAKE_EFFECT . equals ( arg0 ) ) { return new Shake ( ) ; } else if ( PULSATE_EFFECT . equals ( arg0 ) ) { Pulsate loc0 = new Pulsate ( ) ; loc0 . setDuration ( 0.75f ) ; return loc0 ; } else { return new Highlight ( "srini_string" ) ; } } |
5,929 | this hook method will be invoked when the dfs finishes the visit of an element . since there is no return parameter this method will not effect the algorithms behaviour . concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myElements concode_elem_sep boolean done concode_fie... | void function ( Object arg0 , int arg1 , int arg2 ) { } |
5,930 | gets the key value for this media_size_stringmapentry . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String value concode_elem_sep com.google.api.ads.adwords.axis.v201406.cm.MediaSize key... | com . google . api . ads . adwords . axis . v201406 . cm . MediaSize function ( ) { return key ; } |
5,931 | handles the httpsessionevent by publishing a httpsessiondestroyedevent to the applicationappcontext . concode_field_sep String LOGGER_NAME concode_field_sep void sessionCreated concode_elem_sep ApplicationContext getContext | void function ( HttpSessionEvent arg0 ) { HttpSessionDestroyedEvent loc0 = new HttpSessionDestroyedEvent ( arg0 . getSession ( ) ) ; Log loc1 = LogFactory . getLog ( LOGGER_NAME ) ; if ( loc1 . isDebugEnabled ( ) ) { loc1 . debug ( "srini_string" + loc0 ) ; } getContext ( arg0 . getSession ( ) . getServletContext ( ) )... |
5,932 | method : getbasename string file concode_field_sep PlaceHolder placeHolder concode_field_sep void testReadFromFile concode_elem_sep void testDeleteFile concode_elem_sep void before concode_elem_sep void testCopyFile concode_elem_sep void testCreateDirectory concode_elem_sep void testIsDirectoryExists concode_elem_sep v... | void function ( ) { String loc0 = "srini_string" ; Assert . assertEquals ( "srini_string" , FileUtils . getBaseName ( loc0 ) ) ; loc0 = "srini_string" ; Assert . assertEquals ( "srini_string" , FileUtils . getBaseName ( loc0 ) ) ; } |
5,933 | unconditionally attempts to unregister the specified mx bean . logs any exceptions at level level #error via log4j . concode_field_sep Logger log concode_field_sep void prettyPrintMbean concode_elem_sep void registerMBean | void function ( final String arg0 ) { final MBeanServer loc0 = ManagementFactory . getPlatformMBeanServer ( ) ; try { final ObjectName loc1 = new ObjectName ( arg0 ) ; loc0 . unregisterMBean ( loc1 ) ; } catch ( final Exception loc1 ) { log . error ( "srini_string" + arg0 , loc1 ) ; } } |
5,934 | set whether the wsresource is a wscollection or not . concode_field_sep long snapshotID concode_elem_sep String parentPath concode_elem_sep boolean isCollection concode_elem_sep String description concode_elem_sep int dbBasedContentID concode_elem_sep boolean directory concode_elem_sep boolean versionableChange concode... | void function ( boolean arg0 ) { this . isCollection = arg0 ; } |
5,935 | convenience method for reading templates from a file . concode_field_sep String fTemplateTag concode_elem_sep int TEMPLATE_PARSE_EXCEPTION concode_elem_sep String CONTEXT_ATTRIBUTE concode_elem_sep int TEMPLATE_IO_EXCEPTION concode_elem_sep ContextTypeRegistry fRegistry concode_elem_sep String DESCRIPTION_ATTRIBUTE con... | void function ( File arg0 , boolean arg1 ) { InputStream loc0 = null ; try { loc0 = new FileInputStream ( arg0 ) ; addFromStream ( loc0 , arg1 ) ; } catch ( IOException loc1 ) { throwReadException ( loc1 ) ; } finally { try { if ( loc0 != null ) loc0 . close ( ) ; } catch ( IOException loc1 ) { } } } |
5,936 | produce a comma delimited text from a jsonarray of jsonobjects using a provided list of names . the list of names is not included in the output . concode_field_sep PlaceHolder placeHolder concode_field_sep String getValue concode_elem_sep JSONObject rowToJSONObject concode_elem_sep JSONArray toJSONArray concode_elem_se... | String function ( JSONArray arg0 , JSONArray arg1 ) { if ( arg0 == null || arg0 . length ( ) == 0 ) { return null ; } StringBuffer loc0 = new StringBuffer ( ) ; for ( int loc1 = 0 ; loc1 < arg1 . length ( ) ; loc1 += 1 ) { JSONObject loc2 = arg1 . optJSONObject ( loc1 ) ; if ( loc2 != null ) { loc0 . append ( rowToStri... |
5,937 | returns the number of records in the materialized table , which is the same as in the underlying plan . concode_field_sep Plan srcplan concode_elem_sep Transaction tx concode_field_sep Schema schema concode_elem_sep int blocksAccessed concode_elem_sep int distinctValues concode_elem_sep Scan open | int function ( ) { return srcplan . recordsOutput ( ) ; } |
5,938 | get the type of this service primary/secondary concode_field_sep int SERVICE_TYPE_PRIMARY concode_elem_sep UUID mUuid concode_elem_sep List<BluetoothGattCharacteristic> mCharacteristics concode_elem_sep BluetoothDevice mDevice concode_elem_sep int mInstanceId concode_elem_sep int mHandles concode_elem_sep List<Bluetoot... | int function ( ) { return mServiceType ; } |
5,939 | wraps the version of start that takes a string parameter , sending it the result of calling tostring on optionsobject , which will likely be a browserconfigurationoptions instance . concode_field_sep String rcServerLocation concode_elem_sep String browserURL concode_elem_sep String pathToServlet concode_elem_sep String... | void function ( Object arg0 ) { start ( arg0 . toString ( ) ) ; } |
5,940 | subclasses can override this for greater filtering and performance . concode_field_sep int evaluations concode_elem_sep String methodName concode_elem_sep Class<?> clazz concode_field_sep MethodMatcher getMethodMatcher concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ClassFilter getClassFi... | boolean function ( Class < ? > arg0 ) { return true ; } |
5,941 | sets the maximum size allowed in bytes for multipart/form-data requests . concode_field_sep long maxRequestSize concode_elem_sep int fileSizeThreshold concode_elem_sep String location concode_elem_sep long maxFileSize concode_field_sep void setLocation concode_elem_sep long parseSize concode_elem_sep void setMaxFileSiz... | void function ( long arg0 ) { this . maxRequestSize = arg0 ; } |
5,942 | load the stylesheet to prepare it for execution . concode_field_sep XQueryExpression exp concode_elem_sep Processor processor concode_field_sep boolean isUpdateQuery concode_elem_sep XQueryExpression getUnderlyingCompiledQuery concode_elem_sep ItemType getResultItemType concode_elem_sep OccurrenceIndicator getResultCar... | XQueryEvaluator function ( ) { return new XQueryEvaluator ( processor , exp ) ; } |
5,943 | creates a byte-based string representation of a raw byte array representing the value of theobjectguid attribute retrieved from active directory . the returned string is useful to perform queries on ad based on the objectguid value . eg. : string filter = '' & objectclass =-rrb- objectguid '' + equal + convertobjectgui... | String function ( byte [ ] arg0 ) { StringBuilder loc0 = new StringBuilder ( ) ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { String loc2 = prefixZeros ( ( int ) arg0 [ loc1 ] & 0xFF ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( loc2 ) ; } return loc0 . toString ( ) ; } |
5,944 | sets the value of the mode property . concode_field_sep XMLModeType mode concode_elem_sep String start concode_elem_sep String end concode_elem_sep String endopen concode_elem_sep List<XMLAttributeContent> attribute concode_elem_sep XMLClassType clazz concode_elem_sep String startopen concode_field_sep XMLClassType get... | void function ( XMLModeType arg0 ) { this . mode = arg0 ; } |
5,945 | the default implementation does nothing . concode_field_sep PlaceHolder placeHolder concode_field_sep void enterConstant concode_elem_sep void exitProgramexpression concode_elem_sep void exitType concode_elem_sep void exitTopLevelRule concode_elem_sep void exitSenatordfn concode_elem_sep void exitIfstmt concode_elem_se... | void function ( @ NotNull SenatorParser . VarContext arg0 ) { } |
5,946 | determines the string value of the system property whose name was specified in the constructor . concode_field_sep String defaultVal concode_elem_sep String theProp concode_field_sep placeholderType placeHolder | String function ( ) { String loc0 = System . getProperty ( theProp ) ; return ( loc0 == null ) ? defaultVal : loc0 ; } |
5,947 | this method was generated by mybatis generator . this method sets the value of the database column public.questionstype _ pkey.id concode_field_sep Integer id concode_field_sep Integer getId | void function ( Integer arg0 ) { this . id = arg0 ; } |
5,948 | sets the authenticated client id . this is meant to be used by the authentication layer . trying to set a different client id after it 's been set will result in an exception . concode_field_sep TransportResponseHandler handler concode_elem_sep Logger logger concode_elem_sep String clientId concode_elem_sep boolean tim... | void function ( String arg0 ) { Preconditions . checkState ( clientId == null , "srini_string" ) ; this . clientId = arg0 ; } |
5,949 | returns the degree n of this field . concode_field_sep int mDegree concode_elem_sep GF2Polynomial fieldPolynomial concode_elem_sep Vector fields concode_elem_sep Vector matrices concode_field_sep GF2Polynomial[] invertMatrix concode_elem_sep void computeFieldPolynomial concode_elem_sep int hashCode concode_elem_sep boo... | int function ( ) { return mDegree ; } |
5,950 | the lang string iso_639-1 which will be used for searching concode_field_sep String keywords concode_elem_sep String httpProxyHost concode_elem_sep Double latitude concode_elem_sep String consumerSecret concode_elem_sep Twitter twitter concode_elem_sep String userIds concode_elem_sep String distanceMetric concode_elem_... | void function ( String arg0 ) { this . lang = arg0 ; } |
5,951 | merge the termvectors from each of the segments into the new one . concode_field_sep Codec codec concode_elem_sep FieldInfos.Builder fieldInfosBuilder concode_elem_sep MergeState mergeState concode_elem_sep IOContext context concode_elem_sep Directory directory concode_field_sep MergeState merge concode_elem_sep void m... | int function ( ) { try ( TermVectorsWriter loc0 = codec . termVectorsFormat ( ) . vectorsWriter ( directory , mergeState . segmentInfo , context ) ) { return loc0 . merge ( mergeState ) ; } } |
5,952 | it is very important that sub-classes implement this if they contain any references to the activity anything in the view hierarchy etc. . if not , leaks can result since iteminfo objects persist across rotation and can hence leak by holding stale references to the old view hierarchy / activity . concode_field_sep int N... | void function ( ) { } |
5,953 | returns the volume of the hyper-rectangle . the volume is the product of all the dimension widths . concode_field_sep int[] mMaxCorner concode_elem_sep int[] mMinCorner concode_field_sep boolean isPoint concode_elem_sep int[] closestPoint concode_elem_sep int dimensionOfMaxWidth concode_elem_sep IntegerHyperRect inters... | int function ( ) { int loc0 = 0 ; int loc1 = mMinCorner . length ; for ( int loc2 = 0 ; loc2 < loc1 ; loc2 ++ ) { loc0 *= mMaxCorner [ loc2 ] - mMinCorner [ loc2 ] ; } return loc0 ; } |
5,954 | 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" ) ; } |
5,955 | checks to see if the there has been an error in the printstream . concode_field_sep String DEFAULT_LINE_END concode_elem_sep int INITIAL_STRING_SIZE concode_elem_sep char DEFAULT_SEPARATOR concode_elem_sep Writer rawWriter concode_elem_sep ResultSetHelper resultService concode_elem_sep PrintWriter pw concode_elem_sep c... | boolean function ( ) { return pw . checkError ( ) ; } |
5,956 | get the bounding box in latitude and longitude for this layer . concode_field_sep int TYPE_REMOTE_VECTOR concode_elem_sep int TYPE_VECTOR concode_elem_sep int TYPE_WMS concode_elem_sep SimpleFeatureSource remoteFeatureSource concode_elem_sep String name concode_elem_sep String description concode_elem_sep FeatureTypeCo... | ReferencedEnvelope function ( ) { if ( layerInfo != null ) { ResourceInfo loc0 = layerInfo . getResource ( ) ; return loc0 . getLatLonBoundingBox ( ) ; } throw new UnsupportedOperationException ( "srini_string" + "srini_string" ) ; } |
5,957 | we only process slices of this size . concode_field_sep OBFactory<O> factory concode_elem_sep int maxSliceSize concode_elem_sep Logger logger concode_elem_sep Properties testProperties concode_field_sep void search concode_elem_sep String debug concode_elem_sep String debug concode_elem_sep void tIndex concode_elem_sep... | boolean function ( OBSlice arg0 ) { return arg0 . size ( ) <= maxSliceSize ; } |
5,958 | returns whether the console is displayed or not concode_field_sep String APP_HTML concode_elem_sep String ERROR_MODULE concode_elem_sep String DEFAULT_RESOURCE concode_elem_sep String NO_CONSOLE_FOR_SLAVE concode_elem_sep String INDEX_HTML concode_elem_sep String CONTEXT concode_elem_sep String CONSOLE_MODULE concode_e... | boolean function ( ) { throw new IllegalStateException ( "srini_string" + this ) ; } |
5,959 | setter for property locale . concode_field_sep Object mutex concode_elem_sep HsqlArrayList bundleList concode_elem_sep Locale locale concode_elem_sep Method newGetBundleMethod concode_elem_sep String prefix concode_elem_sep HashMap bundleHandleMap concode_field_sep String getString concode_elem_sep Method getNewGetBund... | void function ( Locale arg0 ) { synchronized ( mutex ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } locale = arg0 ; } } |
5,960 | return if the process was stopped . concode_field_sep Method INHERIT_IO_METHOD concode_elem_sep Process process concode_elem_sep long JUST_ENDED_LIMIT concode_elem_sep long endTime concode_elem_sep String[] command concode_field_sep boolean hasJustEnded concode_elem_sep void redirectOutput concode_elem_sep int run conc... | boolean function ( ) { if ( hasJustEnded ( ) ) { return true ; } return doKill ( ) ; } |
5,961 | gets the value of the label property . concode_field_sep List<Node> node concode_elem_sep boolean expanded concode_elem_sep boolean link concode_elem_sep String id concode_elem_sep String label concode_elem_sep boolean leaf concode_elem_sep ContentDescriptor contentDescriptor concode_field_sep boolean isExpanded concod... | String function ( ) { return label ; } |
5,962 | returns true if the receiver describes a text modification , false if it describes a focus / selection change . concode_field_sep TextListener fTextListener concode_elem_sep ChangeType fType concode_elem_sep SelectionListener fSelectionListener concode_elem_sep int fNextOffset concode_elem_sep boolean DEBUG concode_ele... | boolean function ( ) { return fType . isModification ( ) ; } |
5,963 | checks to see if the group has permission to the service . concode_field_sep PermissionService _permissionService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep PermissionService getWrappedService | void function ( long arg0 , java . lang . String arg1 , long arg2 ) { _permissionService . checkPermission ( arg0 , arg1 , arg2 ) ; } |
5,964 | return whether the resource transaction is marked as rollback-only . concode_field_sep int referenceCount concode_elem_sep boolean rollbackOnly concode_elem_sep boolean synchronizedWithTransaction concode_elem_sep boolean isVoid concode_elem_sep Date deadline concode_field_sep boolean isSynchronizedWithTransaction conc... | boolean function ( ) { return this . rollbackOnly ; } |
5,965 | getter for the list of found indications . concode_field_sep List<FoundIndication> indications concode_elem_sep String name concode_elem_sep String description concode_elem_sep Logger logger concode_elem_sep String id concode_elem_sep List<String> categories concode_field_sep String getName concode_elem_sep void addInd... | List < FoundIndication > function ( ) { if ( indications == null ) { indications = new LinkedList < FoundIndication > ( ) ; } return indications ; } |
5,966 | gets the value of the profiletranspriorauthcapture property . concode_field_sep ProfileTransCaptureOnlyType profileTransCaptureOnly concode_elem_sep ProfileTransAuthCaptureType profileTransAuthCapture concode_elem_sep ProfileTransVoidType profileTransVoid concode_elem_sep ProfileTransAuthOnlyType profileTransAuthOnly c... | ProfileTransPriorAuthCaptureType function ( ) { return profileTransPriorAuthCapture ; } |
5,967 | start the worker thread . concode_field_sep Thread thread concode_elem_sep Integer threadPriority concode_elem_sep Object value concode_elem_sep ThreadVar threadVar concode_field_sep void setThreadPriority concode_elem_sep Object getValue concode_elem_sep Thread get concode_elem_sep Object get concode_elem_sep void set... | void function ( ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 != null ) { if ( threadPriority != null ) loc0 . setPriority ( threadPriority ) ; loc0 . start ( ) ; } } |
5,968 | returns an enum for the specified string . concode_field_sep QNm Q_HEADER concode_elem_sep String AUTHORIZATION concode_elem_sep byte[] CONTENT_TYPE_LC concode_elem_sep String AUTH concode_elem_sep String LOCATION concode_elem_sep byte[] CRLF concode_elem_sep byte[] CONTENT_DISPOSITION concode_elem_sep QNm Q_RESPONSE c... | Request function ( final String arg0 ) { for ( final Request loc0 : VALUES ) { if ( arg0 . equals ( loc0 . toString ( ) ) ) return loc0 ; } return null ; } |
5,969 | setter for level . concode_field_sep long blowIvterval concode_elem_sep Font font2 concode_elem_sep Font font concode_elem_sep String userName concode_elem_sep boolean isNamed concode_elem_sep float greenVal concode_elem_sep int level concode_elem_sep long startBlow concode_elem_sep long stopBlow concode_elem_sep long ... | void function ( int arg0 ) { this . level = arg0 ; } |
5,970 | a test ended . concode_field_sep BufferedWriter output concode_elem_sep String systemError concode_elem_sep NumberFormat numberFormat concode_elem_sep BufferedWriter resultWriter concode_elem_sep StringWriter results concode_elem_sep String systemOutput concode_elem_sep double ONE_SECOND concode_elem_sep OutputStream o... | void function ( Test arg0 ) { } |
5,971 | returns the path to the directory for temporary files . concode_field_sep PlaceHolder placeHolder concode_field_sep File createJarFile concode_elem_sep String getRandomFilename concode_elem_sep T createCopy concode_elem_sep File createInputFile concode_elem_sep File createInputFile concode_elem_sep void waitForJobManag... | String function ( ) { return System . getProperty ( "srini_string" ) ; } |
5,972 | is the queue empty ? concode_field_sep boolean waiting concode_elem_sep boolean stopWaiting concode_elem_sep Vector vector concode_field_sep Object pull concode_elem_sep void stop concode_elem_sep int size concode_elem_sep Object get concode_elem_sep void put concode_elem_sep Object peek | boolean function ( ) { return vector . isEmpty ( ) ; } |
5,973 | returns the title of this document concode_field_sep String _pages concode_elem_sep String _date concode_elem_sep List _author concode_elem_sep String _edition concode_elem_sep DocumentType _type concode_elem_sep String _title concode_elem_sep String _enum concode_elem_sep List _publisher concode_elem_sep List _identif... | String function ( ) { return _title ; } |
5,974 | replace one occurence of search with replace in original concode_field_sep PlaceHolder placeHolder concode_field_sep String getNextWord concode_elem_sep String[] split concode_elem_sep String crc concode_elem_sep StringBuffer replace concode_elem_sep String replace concode_elem_sep String replace concode_elem_sep Strin... | StringBuffer function ( StringBuffer arg0 , String arg1 , String arg2 ) { if ( arg0 . toString ( ) . indexOf ( arg1 ) >= 0 ) { arg0 . arg2 ( arg0 . toString ( ) . indexOf ( arg1 ) , arg0 . toString ( ) . indexOf ( arg1 ) + arg1 . length ( ) , arg2 ) ; } return arg0 ; } |
5,975 | clear the underlying metadata cache , removing all cached class metadata . concode_field_sep Environment environment concode_elem_sep List<TypeFilter> excludeFilters concode_elem_sep Log logger concode_elem_sep String resourcePattern concode_elem_sep MetadataReaderFactory metadataReaderFactory concode_elem_sep Conditio... | void function ( ) { if ( this . metadataReaderFactory instanceof CachingMetadataReaderFactory ) { ( ( CachingMetadataReaderFactory ) this . metadataReaderFactory ) . clearCache ( ) ; } } |
5,976 | a static helper method to avoid repeated code for outgoing and incoming lists . synchronization must be handled by the caller , to avoid passing edge array pointers that may be invalidated . concode_field_sep long serialVersionUID concode_elem_sep I18NString name concode_elem_sep double x concode_elem_sep Edge[] incomi... | Edge [ ] function ( Edge [ ] arg0 , Edge arg1 ) { Edge [ ] loc0 = new Edge [ arg0 . length + 1 ] ; int loc1 ; for ( loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { if ( arg0 [ loc1 ] == arg1 ) { LOG . error ( "srini_string" , arg1 ) ; return arg0 ; } loc0 [ loc1 ] = arg0 [ loc1 ] ; } loc0 [ loc1 ] = arg1 ; return loc0 ; ... |
5,977 | gets the advanced flag for this group . concode_field_sep boolean advanced concode_elem_sep String name concode_elem_sep String context concode_elem_sep String description concode_elem_sep String label concode_field_sep String getName concode_elem_sep String getLabel concode_elem_sep String toString concode_elem_sep St... | boolean function ( ) { return advanced ; } |
5,978 | gather data for gcspy concode_field_sep Address head concode_elem_sep Offset PREV_OFFSET concode_elem_sep Word nodeMask concode_elem_sep Offset NEXT_OFFSET concode_elem_sep int logGranularity concode_elem_sep Lock lock concode_elem_sep Offset HEADER_SIZE concode_field_sep void add concode_elem_sep int headerSize concod... | void function ( AbstractDriver arg0 ) { Address loc0 = head ; while ( ! loc0 . isZero ( ) ) { arg0 . scan ( loc0 ) ; loc0 = loc0 . loadAddress ( NEXT_OFFSET ) ; } } |
5,979 | returns the input text . concode_field_sep String FILE_IO_PROBLEM concode_elem_sep String tsvOutput concode_elem_sep String txtOutput concode_elem_sep String MSG_TOTAL_COUNT concode_elem_sep String MSG_PROCESSED_COUNT concode_elem_sep String FILE_NOT_LOADED concode_elem_sep String MSG_UNIQUE_COUNT concode_elem_sep Stri... | String function ( ) { return this . input ; } |
5,980 | used to calculate value that should be encoded at the start of the encoded ptg token array ; concode_field_sep byte CLASS_VALUE concode_elem_sep byte CLASS_ARRAY concode_elem_sep Ptg[] EMPTY_PTG_ARRAY concode_elem_sep byte ptgClass concode_elem_sep byte CLASS_REF concode_field_sep Ptg[] toPtgArray concode_elem_sep Ptg ... | int function ( Ptg [ ] arg0 ) { int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { Ptg loc2 = arg0 [ loc1 ] ; if ( loc2 instanceof ArrayPtg ) { loc0 += ArrayPtg . PLAIN_TOKEN_SIZE ; } else { loc0 += loc2 . getSize ( ) ; } } return loc0 ; } |
5,981 | this function changes this state by rotating the vehicle according to the angle given this rotation will be done only in the horizontal plane x , y concode_field_sep Vector3Dimension pqr concode_elem_sep double pitch concode_elem_sep LocationType position concode_elem_sep double roll concode_elem_sep Vector3Dimension u... | void function ( double arg0 ) { setYaw ( getYaw ( ) + arg0 ) ; if ( getYaw ( ) >= ( Math . PI ) * 2 ) setYaw ( getYaw ( ) - Math . PI * 2 ) ; else if ( getYaw ( ) <= - Math . PI * 2 ) setYaw ( getYaw ( ) + Math . PI * 2 ) ; } |
5,982 | returns fieldaccess objects for the stated class . each field that contains objects of the kind returned by #getstatementtypes , either directly or inside of an array or java.util.collection or array-of-arrays , or collection-of-collections , etcetera , is returned . concode_field_sep Map<N,L> nodeMap concode_elem_sep ... | Collection < FieldAccess > function ( Class < ? > arg0 ) { Collection < FieldAccess > loc0 = fieldsOfASTClasses . get ( arg0 ) ; if ( loc0 != null ) return loc0 ; loc0 = new ArrayList < FieldAccess > ( ) ; getFields ( arg0 , loc0 ) ; fieldsOfASTClasses . put ( arg0 , loc0 ) ; return loc0 ; } |
5,983 | gets the startindex value for this productpage . concode_field_sep java.lang.Integer startIndex concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Integer totalResultSetSize concode_elem_sep com.google.api.ads.dfp.axis.v201411.Product[] results concode_elem... | java . lang . Integer function ( ) { return startIndex ; } |
5,984 | set system property to value . if securitymanager denies property modification , print debug trace concode_field_sep Logger logger concode_field_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep void setProperty concode_elem_sep String property concod... | void function ( String arg0 , String arg1 ) { setProperty ( arg0 , arg1 ) ; } |
5,985 | print an char and then flush the output stream . concode_field_sep String CHARSET_NAME concode_elem_sep Locale LOCALE concode_elem_sep PrintWriter out concode_field_sep void println concode_elem_sep void println concode_elem_sep void println concode_elem_sep void println concode_elem_sep void println concode_elem_sep v... | void function ( char arg0 ) { out . print ( arg0 ) ; out . flush ( ) ; } |
5,986 | associates a filter to the alias concode_field_sep String filter concode_elem_sep String searchRouting concode_elem_sep String name concode_elem_sep String indexRouting concode_field_sep String filter concode_elem_sep Alias filter concode_elem_sep Alias filter concode_elem_sep Alias filter concode_elem_sep Alias routin... | Alias function ( String arg0 ) { this . filter = arg0 ; return this ; } |
5,987 | applies this force to the body . concode_field_sep Vector2 force concode_field_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep String toString concode_elem_sep Vector2 getForce concode_elem_sep boolean isComplete | void function ( Body arg0 ) { arg0 . force . add ( this . force ) ; } |
5,988 | every vertex has a label which is globally unique . concode_field_sep long serialVersionUID concode_elem_sep I18NString name concode_elem_sep double x concode_elem_sep Edge[] incoming concode_elem_sep Logger LOG concode_elem_sep int index concode_elem_sep double y concode_elem_sep String label concode_elem_sep int maxI... | String function ( ) { return label ; } |
5,989 | serialize an instance , restore it , and check for equality . concode_field_sep PlaceHolder placeHolder concode_field_sep void testHashCode concode_elem_sep void testEquals | void function ( ) { AxisLocation loc0 = AxisLocation . BOTTOM_OR_RIGHT ; AxisLocation loc1 = ( AxisLocation ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; boolean loc2 = loc0 == loc1 ; assertEquals ( true , loc2 ) ; } |
5,990 | sets the value of the subscription property . concode_field_sep String internalId concode_elem_sep Double cost concode_elem_sep RecordRef campaignGroup concode_elem_sep RecordRef channel concode_elem_sep String description concode_elem_sep XMLGregorianCalendar dateScheduled concode_elem_sep RecordRef promoCode concode_... | void function ( RecordRef arg0 ) { this . subscription = arg0 ; } |
5,991 | specify webservicefeature objects e.g. as inner bean definitions to apply to jax-ws service creation . note : this mechanism requires jax-ws 2.2 or higher . concode_field_sep WebServiceFeature[] serviceFeatures concode_elem_sep Executor executor concode_elem_sep String namespaceUri concode_elem_sep String serviceName c... | void function ( WebServiceFeature ... arg0 ) { this . serviceFeatures = arg0 ; } |
5,992 | returns total number of http connections in the pool . concode_field_sep ConnectionPool systemDefault concode_elem_sep LinkedList<Connection> connections concode_elem_sep long keepAliveDurationNs concode_elem_sep long DEFAULT_KEEP_ALIVE_DURATION_MS concode_elem_sep int MAX_CONNECTIONS_TO_CLEANUP concode_elem_sep Callab... | int function ( ) { int loc0 = 0 ; for ( Connection loc1 : connections ) { if ( ! loc1 . isSpdy ( ) ) loc0 ++ ; } return loc0 ; } |
5,993 | read a collection of ints from a textreader object . concode_field_sep PlaceHolder placeHolder concode_field_sep double[] readVectorArray concode_elem_sep void writeVector concode_elem_sep void writeVectorArray concode_elem_sep DoubleList readVector | IntList function ( BufferedReader arg0 ) { int loc0 = Integer . parseInt ( arg0 . readLine ( ) ) ; IntList loc1 = new IntArrayList ( loc0 ) ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) loc1 . add ( loc2 , Integer . parseInt ( arg0 . readLine ( ) ) ) ; return loc1 ; } |
5,994 | get the removed objects . concode_field_sep DBIDs removals concode_elem_sep DBIDs updates concode_elem_sep DBIDs inserts concode_field_sep DBIDs getInserts concode_elem_sep DBIDs getUpdates concode_elem_sep DataStoreEvent insertionEvent concode_elem_sep DataStoreEvent removalEvent concode_elem_sep DataStoreEvent update... | DBIDs function ( ) { return removals ; } |
5,995 | convenience method to write xml comment line . the comment is splitted to have a size of 80 and is indented by indent using indentsize . concode_field_sep String LS concode_elem_sep int DEFAULT_INDENTATION_SIZE concode_elem_sep int DEFAULT_COLUMN_LINE concode_field_sep void writeCommentText concode_elem_sep void writeC... | void function ( XMLWriter arg0 , String arg1 , int arg2 , int arg3 ) { writeComment ( arg0 , arg1 , arg2 , arg3 , DEFAULT_COLUMN_LINE ) ; } |
5,996 | gets an image wrapped in imagexobject . you can : get image bytes with pdfimagexobject #getimagebytes boolean , these image bytes represent native image , i.e you can write these bytes to disk and get just an usual image ; obtain pdfstream object which contains image dictionary with pdfimagexobject #getpdfobject method... | PdfImageXObject function ( ) { return image ; } |
5,997 | gets the value of the apierrortype property . concode_field_sep String errorString concode_elem_sep String fieldPath concode_elem_sep String trigger concode_elem_sep String apiErrorType concode_field_sep void setErrorString concode_elem_sep String getTrigger concode_elem_sep String getErrorString concode_elem_sep void ... | String function ( ) { return apiErrorType ; } |
5,998 | return native hcryptprov handle . concode_field_sep NativeHandles handles concode_elem_sep long hCryptProv concode_elem_sep int keyLength concode_elem_sep long hCryptKey concode_elem_sep long serialVersionUID concode_field_sep String getKeyType concode_elem_sep void cleanUp concode_elem_sep byte[] getEncoded concode_el... | long function ( ) { return handles . hCryptProv ; } |
5,999 | returns true if there are no children . concode_field_sep Comparator<XModelObject> comparator concode_elem_sep XModelObject[] cache concode_elem_sep XModelObject[] EMPTY concode_elem_sep SMap objects concode_elem_sep Map<String,XModelObject> entries concode_field_sep XModelObject getObject concode_elem_sep boolean move... | boolean function ( ) { return size ( ) == 0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.