idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
5,200 | runs the tool with its configuration . equivalent to run tool.getconf , tool , args . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean confirmPrompt concode_elem_sep void printGenericCommandUsage | int function ( Tool arg0 , String [ ] arg1 ) { return run ( arg0 . getConf ( ) , arg0 , arg1 ) ; } |
5,201 | creates directories concode_field_sep ArrayList<File> tempDirectoryList concode_elem_sep Logger log concode_field_sep String createCustomTempDirectory concode_elem_sep String checkPathEnding concode_elem_sep boolean pathExists concode_elem_sep void deleteDirectory concode_elem_sep boolean deleteDirectory concode_elem_s... | boolean function ( String arg0 ) { log . info ( "srini_string" + arg0 ) ; try { File loc0 = new File ( arg0 ) ; if ( ! loc0 . exists ( ) ) return loc0 . mkdirs ( ) ; else return true ; } catch ( Exception loc0 ) { loc0 . printStackTrace ( ) ; } return false ; } |
5,202 | find and return an existing imagecache stored in a retainfragment , if not found a new one is created with defaults and saved to a retainfragment . concode_field_sep int diskCacheSize concode_elem_sep boolean DEFAULT_DISK_CACHE_ENABLED concode_elem_sep String TAG concode_elem_sep boolean memoryCacheEnabled concode_elem... | ImageCache function ( final FragmentActivity arg0 , final String arg1 ) { return findOrCreateCache ( arg0 , new ImageCacheParams ( arg1 ) ) ; } |
5,203 | look up an internal endpoint concode_field_sep String RECORD_TYPE concode_elem_sep List<Endpoint> external concode_elem_sep Map<String,String> attributes concode_elem_sep String description concode_elem_sep String type concode_elem_sep List<Endpoint> internal concode_field_sep Endpoint findByAPI concode_elem_sep Endpoi... | Endpoint function ( String arg0 ) { return findByAPI ( internal , arg0 ) ; } |
5,204 | sets the uuid of this website . concode_field_sep Website _website 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 concode_elem_sep boolean isC... | void function ( java . lang . String arg0 ) { _website . setUuid ( arg0 ) ; } |
5,205 | returns an initializable for an instance that requires no initialization . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | Initializable < T > function ( final T arg0 ) { return new Initializable < T > ( ) { @ Override public T get ( Errors arg1 ) throws ErrorsException { return arg0 ; } @ Override public String toString ( ) { return String . valueOf ( arg0 ) ; } } ; } |
5,206 | retrieves a timestamp from the extended data . concode_field_sep FixDeferFix m_data concode_elem_sep HashMap<Integer,byte[]> m_map concode_field_sep long getLong concode_elem_sep int getInt concode_elem_sep String getUnicodeString concode_elem_sep int getShort concode_elem_sep int getOffset concode_elem_sep byte[] getB... | Date function ( Integer arg0 ) { Date loc0 = null ; byte [ ] loc1 = m_map . get ( arg0 ) ; if ( loc1 != null ) { loc0 = MPPUtility . getTimestamp ( loc1 , 0 ) ; } return ( loc0 ) ; } |
5,207 | return decoder appropriate for field , or the generic decoder if no specialized one is bound concode_field_sep boolean ENABLE_FASTPATH_GT concode_elem_sep HashMap<String,Decoder> genotypeFieldDecoder concode_elem_sep int MIN_SAMPLES_FOR_FASTPATH_GENOTYPES concode_elem_sep Decoder defaultDecoder concode_field_sep void f... | Decoder function ( final String arg0 ) { final Decoder loc0 = genotypeFieldDecoder . get ( arg0 ) ; return loc0 == null ? defaultDecoder : loc0 ; } |
5,208 | returns true if x and y contains a living thing , i.e. if the contents are anything other than empty or impassible . wowza , actually useful instanceof ! concode_field_sep long serialVersionUID concode_elem_sep Position sentinel concode_elem_sep Queue<Position> moveQueue concode_elem_sep int N concode_elem_sep Occupant... | boolean function ( int arg0 , int arg1 ) { Occupant loc0 = getOccupant ( arg0 , arg1 ) ; return loc0 instanceof Creature ; } |
5,209 | retrieve the input stream for the request . concode_field_sep ActionRequest request concode_field_sep String getCharacterEncoding concode_elem_sep String getContentType concode_elem_sep String toString concode_elem_sep int getContentLength | InputStream function ( ) { return request . getPortletInputStream ( ) ; } |
5,210 | close the latch , causing future calls to wait or waitandclose to block . concode_field_sep boolean open concode_field_sep void await concode_elem_sep void waitAndClose concode_elem_sep void open | void function ( ) { open = false ; } |
5,211 | calculates the position of the query point ` snapped ' to a close road segment or node . call calcsnappedpoint before , if not , an illegalstateexception is thrown . concode_field_sep EdgeIteratorState closestEdge concode_elem_sep double queryDistance concode_elem_sep int wayIndex concode_elem_sep GHPoint3D snappedPoin... | GHPoint3D function ( ) { if ( snappedPoint == null ) throw new IllegalStateException ( "srini_string" ) ; return snappedPoint ; } |
5,212 | returns true iff the count-down has reached zero . otherwise false concode_field_sep int originalCount concode_elem_sep AtomicInteger countDown concode_field_sep boolean countDown concode_elem_sep boolean fastForward | boolean function ( ) { assert countDown . get ( ) >= 0 ; return countDown . get ( ) == 0 ; } |
5,213 | write dictionary metadata file and close thrift object concode_field_sep int totalRecordCount concode_elem_sep int chunk_count concode_elem_sep String storePath concode_elem_sep List<ByteBuffer> oneDictionaryChunkList concode_elem_sep Charset defaultCharset concode_elem_sep ThriftWriter dictionaryThriftWriter concode_e... | void function ( ) { if ( null != dictionaryThriftWriter && dictionaryThriftWriter . isOpen ( ) ) { writeDictionaryFile ( ) ; closeThriftWriter ( ) ; } } |
5,214 | returns true if this kaleo node is initial . concode_field_sep KaleoNode _kaleoNode concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep java.lang.String getName concode_elem_... | boolean function ( ) { return _kaleoNode . isInitial ( ) ; } |
5,215 | set the value related to the column : term . concode_field_sep Date date concode_elem_sep Date modifiedTime concode_elem_sep Map<Serializable,Integer> SAVED_HASHES concode_elem_sep ClassroomModule classroomModuleIdclassroomModule concode_elem_sep Set<Marks> markss concode_elem_sep Integer hashCode concode_elem_sep Set<... | void function ( final Integer arg0 ) { this . term = arg0 ; } |
5,216 | this method resets the incoming events time events included . concode_field_sep boolean e concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean f concode_elem_sep boolean i1 concode_elem_sep boolean i2 concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep SCInterface... | void function ( ) { sCInterface . clearEvents ( ) ; i1 = false ; i2 = false ; } |
5,217 | returns the handler . concode_field_sep AttributeHandler handler concode_elem_sep String propertyName concode_elem_sep String attributeName concode_field_sep String getAttributeName concode_elem_sep String getPropertyName | AttributeHandler function ( ) { return this . handler ; } |
5,218 | returns the parent objectmapper instance of the specified object mapper or null if thereis n't any . concode_field_sep RootObjectMapper rootObjectMapper concode_elem_sep Mapping mapping concode_elem_sep String type concode_elem_sep boolean hasNestedObjects concode_elem_sep DocumentParser documentParser concode_elem_sep... | ObjectMapper function ( ObjectMapper arg0 ) { int loc0 = arg0 . fullPath ( ) . lastIndexOf ( '.' ) ; if ( loc0 != - 1 ) { String loc1 = arg0 . fullPath ( ) . substring ( 0 , loc0 ) ; return objectMappers ( ) . get ( loc1 ) ; } else { return null ; } } |
5,219 | sets the binding to a copy with the specified annotation on the bound key concode_field_sep String SINGLE_INSTANCE_AND_SCOPE concode_elem_sep String CONSTANT_VALUE_ALREADY_SET concode_elem_sep String ANNOTATION_ALREADY_SPECIFIED concode_elem_sep String IMPLEMENTATION_ALREADY_SET concode_elem_sep String BINDING_TO_NULL ... | BindingImpl < T > function ( Annotation arg0 ) { checkNotNull ( arg0 , "srini_string" ) ; checkNotAnnotated ( ) ; return setBinding ( binding . withKey ( Key . get ( this . binding . getKey ( ) . getTypeLiteral ( ) , arg0 ) ) ) ; } |
5,220 | checks if the constant pool contains the provided float constant , which implies the constant is used somewhere in the code . nb : compile-time constant expressions are evaluated at compile time . concode_field_sep byte[] types concode_elem_sep byte FIELD concode_elem_sep String[] utf8s concode_elem_sep byte INTERFACE_... | boolean function ( float arg0 ) { boolean loc0 = Float . isNaN ( arg0 ) ; for ( int loc1 = 1 ; loc1 < maxPoolSize ; loc1 ++ ) { if ( types [ loc1 ] == FLOAT ) { float loc2 = readFloat ( loc1 ) ; if ( loc2 == arg0 || ( loc0 && Float . isNaN ( loc2 ) ) ) return true ; } } return false ; } |
5,221 | this method resets the incoming events time events included . concode_field_sep boolean e concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean f concode_elem_sep long x concode_elem_sep boolean jc concode_elem_sep int nextStateIndex concode_elem_sep boolean jd concode_elem_sep State[] stateVector conco... | void function ( ) { sCInterface . clearEvents ( ) ; } |
5,222 | sets the info value . concode_field_sep String m_styleName concode_elem_sep String m_name concode_elem_sep String m_value concode_field_sep void setName concode_elem_sep String getValue concode_elem_sep String getName concode_elem_sep String getStyle concode_elem_sep void setStyle | void function ( String arg0 ) { m_value = arg0 ; } |
5,223 | setter method for smssearchlist concode_field_sep String templateType concode_elem_sep String keyFieldId concode_elem_sep boolean editCapability concode_elem_sep List<SMSTemplateVO> templateTypeList concode_elem_sep List<SMSTemplateVO> keyFieldList concode_elem_sep List<SMSTemplateVO> smsSearchList concode_elem_sep Str... | void function ( List < SMSTemplateVO > arg0 ) { this . smsSearchList = arg0 ; } |
5,224 | return the unique identification concode_field_sep char left concode_elem_sep Side RIGHT concode_elem_sep char right concode_elem_sep boolean reverse concode_elem_sep Side LEFT concode_field_sep char getRight concode_elem_sep int highSideValue concode_elem_sep boolean isEqual concode_elem_sep boolean hasEqualSides conc... | String function ( ) { String loc0 = "srini_string" ; loc0 += this . left + this . right ; return loc0 ; } |
5,225 | gets the afteropen script of the data source concode_field_sep String afterCloseScript concode_elem_sep String beforeOpenScript concode_elem_sep String afterOpenScript concode_elem_sep String beforeCloseScript concode_elem_sep String name concode_elem_sep IBaseDataSourceEventHandler eventHandler concode_field_sep Strin... | String function ( ) { return afterOpenScript ; } |
5,226 | set the sender id for this wrapper concode_field_sep String senderId concode_elem_sep byte[] _buf concode_field_sep void writeTo concode_elem_sep String getSenderId concode_elem_sep byte[] getDataStream | void function ( String arg0 ) { this . senderId = arg0 ; } |
5,227 | test of getmessageproperties method , of class binarymessagepostprocessor . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPostProcessMessage concode_elem_sep void setUpClass concode_elem_sep void setUp concode_elem_sep void testSetMessageProperties concode_elem_sep void tearDownClass concode_elem... | void function ( ) { System . out . println ( "srini_string" ) ; BinaryMessagepostProcessor loc0 = new BinaryMessagepostProcessor ( ) ; Map loc1 = new HashMap ( ) ; Map loc2 = loc0 . getMessageProperties ( ) ; assertEquals ( loc1 , loc2 ) ; } |
5,228 | construct a new , empty instance . concode_field_sep boolean eagerlyParseMessageSets concode_elem_sep int number concode_elem_sep Map<ObjectIntPair,GeneratedMessageLite.GeneratedExtension<?,?>> extensionsByNumber concode_elem_sep ExtensionRegistryLite EMPTY concode_elem_sep Object object concode_field_sep void add conc... | ExtensionRegistryLite function ( ) { return new ExtensionRegistryLite ( ) ; } |
5,229 | reconstitutes the instance from a stream that is , deserializes it . concode_field_sep AtomicLongArray longs concode_elem_sep long serialVersionUID concode_field_sep void set concode_elem_sep boolean compareAndSet concode_elem_sep boolean weakCompareAndSet concode_elem_sep void writeObject concode_elem_sep double get c... | void function ( java . io . ObjectInputStream arg0 ) { arg0 . defaultReadObject ( ) ; int loc0 = arg0 . readInt ( ) ; this . longs = new AtomicLongArray ( loc0 ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { set ( loc1 , arg0 . readDouble ( ) ) ; } } |
5,230 | convenience method : calls #join string , stream with '' , '' as the separator concode_field_sep T third concode_elem_sep F first concode_elem_sep S second concode_field_sep Collector<Object,?,Integer> countingInt concode_elem_sep List<T> lastN concode_elem_sep String lastN concode_elem_sep String toString concode_elem... | String function ( Stream < ? > arg0 ) { return arg0 . map ( Object :: toString ) . collect ( Collectors . joining ( "srini_string" ) ) ; } |
5,231 | the arn of the aws credentials . concode_field_sep CopyCommand copyCommand concode_elem_sep String clusterJDBCURL concode_elem_sep S3DestinationDescription s3DestinationDescription concode_elem_sep String roleARN concode_elem_sep String username concode_field_sep RedshiftDestinationDescription withCopyCommand concode_e... | void function ( String arg0 ) { this . roleARN = arg0 ; } |
5,232 | get year start date concode_field_sep Timestamp m_EndDate concode_elem_sep int m_C_Period_ID concode_elem_sep String m_Name concode_elem_sep Timestamp m_YearStartDate concode_elem_sep Timestamp m_StartDate concode_field_sep Timestamp getStartDate concode_elem_sep String getNaturalWhere concode_elem_sep String getName c... | Timestamp function ( ) { return m_YearStartDate ; } |
5,233 | set the value of the branchcontractedicon property . concode_field_sep String branchContractedIcon concode_elem_sep boolean expanded concode_elem_sep String tooltip concode_elem_sep String branchExpandedIcon concode_elem_sep String icon concode_elem_sep String action concode_elem_sep DefaultMutableTreeNode wrapper conc... | void function ( String arg0 ) { this . branchContractedIcon = arg0 ; } |
5,234 | checks if the name of the given element matches the requirements to be a ` default ' element . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isNamedExitTransition concode_elem_sep List<Transition>[] getExitSpecSortedTransitions concode_elem_sep Map<Region,List<Entry>> getRegionsWithoutDefaultEntry... | boolean function ( final NamedElement arg0 ) { return arg0 . getName ( ) == null || ( arg0 . getName ( ) != null && ( arg0 . getName ( ) . isEmpty ( ) || arg0 . getName ( ) . equalsIgnoreCase ( "srini_string" ) ) ) ; } |
5,235 | deerializes elements from a string obtained from the system clipboard and pastes them into the specified target element . concode_field_sep String IGNORE_RECYCLE_HINT_ID concode_elem_sep String PASTE_SELECTION_FROM_STRING concode_elem_sep String PASTE_TO_TARGET_PARENT concode_elem_sep String MERGE_HINT_STRONG concode_e... | Collection function ( String arg0 , EObject arg1 , final Map arg2 , IProgressMonitor arg3 ) { return pasteElementsFromStringDelagate ( arg0 , new PasteTarget ( arg1 ) , arg2 , arg3 ) ; } |
5,236 | creates a new time that represents the given number of minutes . concode_field_sep TimeUnit unit concode_elem_sep long size concode_field_sep Time milliseconds concode_elem_sep long getSize concode_elem_sep Time seconds concode_elem_sep Time hours concode_elem_sep long toMilliseconds concode_elem_sep Time minutes conco... | Time function ( long arg0 ) { return of ( arg0 , TimeUnit . MINUTES ) ; } |
5,237 | this method resets the outgoing events . concode_field_sep long number concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean reset concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode_elem_sep void exitAc... | void function ( ) { } |
5,238 | formats the specified seconds . concode_field_sep DecimalFormat df concode_elem_sep long startSystem concode_elem_sep long startUser concode_elem_sep ThreadMXBean bean concode_elem_sep Map<String,List<long[]>> results concode_field_sep void add concode_elem_sep long[] calculateAverage concode_elem_sep long[] determineM... | String function ( final double arg0 ) { return df . format ( arg0 ) + "srini_string" ; } |
5,239 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep RankExpressionStatus rankExpression concode_field_sep RankExpressionStatus getRankExpression concode_elem_sep void setRankExpression concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Define... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getRankExpression ( ) != null ) loc0 . append ( "srini_string" + getRankExpression ( ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; } |
5,240 | return the appropriate type of the zlib compressor . concode_field_sep boolean nativeZlibLoaded concode_elem_sep Log LOG concode_field_sep Compressor getZlibCompressor concode_elem_sep Class<? extends Decompressor> getZlibDecompressorType concode_elem_sep void setCompressionStrategy concode_elem_sep Decompressor getZli... | Class < ? extends Compressor > function ( Configuration arg0 ) { return ( isNativeZlibLoaded ( arg0 ) ) ? ZlibCompressor . class : BuiltInZlibDeflater . class ; } |
5,241 | the predefined supplier selects all values and does not perform any kind of data transformation . input value types need to match the aggregations expected value type to make this supplier work . concode_field_sep PlaceHolder placeHolder concode_field_sep ValueOut apply concode_elem_sep Supplier<KeyIn,ValueIn,ValueOut>... | Supplier < KeyIn , ValueIn , ValueOut > function ( ) { return new AcceptAllSupplier ( null ) ; } |
5,242 | method ispending returns true if no work has started . concode_field_sep Throwable throwable concode_elem_sep Status status concode_elem_sep long finishedTime concode_elem_sep long startTime concode_field_sep void markRunning concode_elem_sep boolean isStopped concode_elem_sep boolean isFailed concode_elem_sep void mar... | boolean function ( ) { return status == Status . PENDING ; } |
5,243 | sets the drawstroke . concode_field_sep boolean drawPath concode_elem_sep boolean fillPath concode_elem_sep double[] xValue concode_elem_sep Stroke drawStroke concode_elem_sep Paint drawPaint concode_elem_sep Paint fillPaint concode_elem_sep Composite composite concode_elem_sep double[] yValue concode_elem_sep boolean ... | void function ( Stroke arg0 ) { this . drawStroke = arg0 ; } |
5,244 | sets the origin to be the upper left pixel . this is the default . concode_field_sep BufferedImage image concode_elem_sep String filename concode_elem_sep int width concode_elem_sep boolean isOriginUpperLeft concode_elem_sep JFrame frame concode_elem_sep int height concode_field_sep void actionPerformed concode_elem_se... | void function ( ) { isOriginUpperLeft = true ; } |
5,245 | returns the original error response xml received from amazon s3 concode_field_sep String errorResponseXml concode_elem_sep String requestId concode_elem_sep String errorMessage concode_elem_sep String errorCode concode_elem_sep Map<String,String> additionalDetails concode_elem_sep String extendedRequestId concode_elem_... | String function ( ) { return errorResponseXml ; } |
5,246 | contacts empty view model concode_field_sep BooleanValueModel isAppVisible concode_elem_sep BooleanValueModel isDialogsEmpty concode_elem_sep BooleanValueModel isSyncing concode_elem_sep BooleanValueModel isConnecting concode_elem_sep boolean isContactsLoaded concode_elem_sep IntValueModel globalCounter concode_elem_se... | BooleanValueModel function ( ) { return isContactsEmpty ; } |
5,247 | returns a range of all the repository entries . 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.queryut... | java . util . List < com . liferay . portal . model . RepositoryEntry > function ( int arg0 , int arg1 ) { return _repositoryEntryLocalService . getRepositoryEntries ( arg0 , arg1 ) ; } |
5,248 | to get the plugin properties service . concode_field_sep Logger LOGGER concode_elem_sep String batchInstanceID concode_elem_sep PluginPropertiesService pluginPropertiesService concode_elem_sep BatchSchemaService batchSchemaService concode_field_sep BatchSchemaService getBatchSchemaService concode_elem_sep void setBatch... | PluginPropertiesService function ( ) { return pluginPropertiesService ; } |
5,249 | sets the ldap referral property . defaults to `` follow '' concode_field_sep String authentication concode_elem_sep Map<String,String> additionalEnvironment concode_elem_sep String SIMPLE_AUTHENTICATION_MECHANISM_NAME concode_elem_sep Logger log concode_elem_sep String searchBase concode_elem_sep boolean usePooling con... | void function ( String arg0 ) { this . referral = arg0 ; } |
5,250 | sets the label value for this customeraddressbook . concode_field_sep java.lang.String internalId concode_elem_sep java.lang.Boolean defaultBilling concode_elem_sep java.lang.Boolean isResidential concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String la... | void function ( java . lang . String arg0 ) { this . label = arg0 ; } |
5,251 | in a server response : this field may be populated in server code with the final resource for operations where a resource body is being created/updated . e.g. for an update method , this field could be populated with the resource after the update is applied , with the new version id , lastupdate time , etc. . this fiel... | void function ( IBaseResource arg0 ) { myResource = arg0 ; } |
5,252 | logs a message with the trace level . concode_field_sep ALogger logger concode_elem_sep play.api.Logger logger concode_field_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void debug concode_elem_sep v... | void function ( String arg0 , Object ... arg1 ) { logger . underlyingLogger ( ) . trace ( arg0 , arg1 ) ; } |
5,253 | sets the value of the templateref property . concode_field_sep ResourceType templateRef concode_elem_sep List<ReferenceType> resourceReference concode_field_sep List<ReferenceType> getResourceReference concode_elem_sep ResourceType getTemplateRef | void function ( ResourceType arg0 ) { this . templateRef = arg0 ; } |
5,254 | returns true if the given state is currently active otherwise false . concode_field_sep boolean b concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep long x concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode_... | boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_A : return stateVector [ 0 ] == State . main_region_A ; default : return false ; } } |
5,255 | gets the value of the this property . concode_field_sep ManagedObjectReference _this concode_elem_sep List<Integer> counterId concode_field_sep void setThis concode_elem_sep List<Integer> getCounterId | ManagedObjectReference function ( ) { return _this ; } |
5,256 | sample_depends_on takes one of the following four values : 0 : the dependency of this sample is unknown ; 1 : this sample does depend on others not an i picture ; 2 : this sample does not depend on others i picture ; 3 : reserved concode_field_sep int sampleDegradationPriority concode_elem_sep int samplePaddingValue co... | void function ( int arg0 ) { this . sampleDependsOn = arg0 ; } |
5,257 | moves the file entry to the recycle bin . concode_field_sep DLAppHelperLocalService _dlAppHelperLocalService concode_field_sep com.liferay.portal.kernel.repository.model.Folder moveFolderFromTrash concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep void de... | com . liferay . portal . kernel . repository . model . FileEntry function ( long arg0 , com . liferay . portal . kernel . repository . model . FileEntry arg1 ) { return _dlAppHelperLocalService . moveFileEntryToTrash ( arg0 , arg1 ) ; } |
5,258 | this method was generated by mybatis generator . this method returns the value of the database column acc_user . id concode_field_sep String weiboUrl concode_elem_sep Long createUserId concode_elem_sep String signature concode_elem_sep Long updateUserId concode_elem_sep String nickName concode_elem_sep String mobile co... | Long function ( ) { return id ; } |
5,259 | adds an interceptor which intercepts any messages sent through chats . concode_field_sep Set<ChatManagerListener> chatManagerListeners concode_elem_sep Map<String,Chat> jidChats concode_elem_sep Map<PacketInterceptor,PacketFilter> interceptors concode_elem_sep Map<String,Chat> baseJidChats concode_elem_sep Connection c... | void function ( PacketInterceptor arg0 ) { addOutgoingMessageInterceptor ( arg0 , null ) ; } |
5,260 | returns a range of all the customer rels . 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 . bank . model . customerRel > function ( int arg0 , int arg1 ) { return getPersistence ( ) . findAll ( arg0 , arg1 ) ; } |
5,261 | memory a byte buffer consumes concode_field_sep MemoryLayoutSpecification SPEC concode_elem_sep MemoryMeter meter concode_field_sep int getObjectHeaderSize concode_elem_sep int getSuperclassFieldPadding concode_elem_sep long getFieldSize concode_elem_sep MemoryLayoutSpecification getEffectiveMemoryLayoutSpecification c... | long function ( ByteBuffer arg0 ) { long loc0 = 0 ; loc0 += ObjectSizes . getFieldSize ( 1L + 4 + ObjectSizes . getReferenceSize ( ) + ObjectSizes . getArraySize ( arg0 . capacity ( ) , 1 ) ) ; loc0 += ObjectSizes . getSuperClassFieldSize ( 4L + 4 + 4 + 4 + 8 ) ; return loc0 ; } |
5,262 | returns a sparse array of manufacturer identifier and its corresponding manufacturer specific data . concode_field_sep int DATA_TYPE_FLAGS concode_elem_sep int mAdvertiseFlags concode_elem_sep byte[] mBytes concode_elem_sep int DATA_TYPE_SERVICE_UUIDS_32_BIT_COMPLETE concode_elem_sep Map<ParcelUuid,byte[]> mServiceData... | SparseArray < byte [ ] > function ( ) { return mManufacturerSpecificData ; } |
5,263 | creates a formatted string representation of the specified text node , and directs it to the print writer . cdatasections are respected . concode_field_sep String doctype concode_elem_sep Writer writer concode_elem_sep int level concode_field_sep void flush concode_elem_sep void visitDocumentPost concode_elem_sep void ... | void function ( Text arg0 ) { if ( this . level > 0 ) { write ( arg0 . getData ( ) ) ; } } |
5,264 | returns the logical package for the given package fragment or null if it is not grouped by logical package . concode_field_sep boolean fCompoundState concode_elem_sep Map fMapToPackageFragments concode_elem_sep Object[] NO_CHILDREN concode_elem_sep StructuredViewer fViewer concode_elem_sep boolean fInputIsProject conco... | LogicalPackage function ( IPackageFragment arg0 ) { Assert . isNotNull ( arg0 ) ; if ( isInCompoundState ( ) ) return ( LogicalPackage ) fMapToLogicalPackage . get ( getKey ( arg0 ) ) ; else return null ; } |
5,265 | add an initialization parameter to the set of parameters associated with this filter . concode_field_sep String description concode_elem_sep String filterName concode_elem_sep String smallIcon concode_elem_sep Map parameters concode_elem_sep String filterClass concode_elem_sep String displayName concode_elem_sep String... | void function ( String arg0 , String arg1 ) { parameters . put ( arg0 , arg1 ) ; } |
5,266 | this method determines whether all endpoints are included . concode_field_sep List<Predicate<String>> inclusions concode_elem_sep TransactionConfig config concode_elem_sep String transaction concode_elem_sep List<Predicate<String>> exclusions concode_field_sep void setTransaction concode_elem_sep void init concode_elem... | boolean function ( ) { return ( inclusions . isEmpty ( ) ) ; } |
5,267 | f0 - > `` system.out.println '' f1 - > '' '' f2 - > expression f3 - > '' '' f4 - > '' ; '' concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( PrintStatement arg0 , A arg1 ) { arg0 . f0 . accept ( this , arg1 ) ; arg0 . f1 . accept ( this , arg1 ) ; arg0 . f2 . accept ( this , arg1 ) ; arg0 . f3 . accept ( this , arg1 ) ; arg0 . f4 . accept ( this , arg1 ) ; } |
5,268 | get the name object indicating whether the document has been modified to include trapping information : false - the document has not yet been trapped ; any desired trapping must still be done . unknown - default either it is unknown whether the document has been trapped or it has been partly but not yet fully trapped ;... | String function ( ) { Object loc0 = attributes . get ( "srini_string" ) ; if ( loc0 != null && loc0 instanceof StringObject ) { StringObject loc1 = ( StringObject ) loc0 ; return cleanString ( loc1 . getDecryptedLiteralString ( securityManager ) ) ; } else { return "srini_string" ; } } |
5,269 | method to check whether the char is inside the vector concode_field_sep char[] firstRandomPair concode_elem_sep char[] newPair concode_elem_sep Vector<Association<char[],FrequencyList>> vectorFreq concode_elem_sep String genText concode_elem_sep String sent concode_field_sep void findPair concode_elem_sep void makeKeys... | boolean function ( char [ ] arg0 ) { String loc0 = new String ( arg0 ) ; for ( Association < char [ ] , FrequencyList > loc1 : vectorFreq ) { String loc2 = new String ( loc1 . getKey ( ) ) ; if ( loc0 . equals ( loc2 ) ) { return true ; } } return false ; } |
5,270 | sets path to the trust store file . this is an optional parameter , however one of the settruststorefilepath string , #settrustmanagers trustmanager properties must be set . concode_field_sep char[] trustStorePwd concode_elem_sep String keyStoreType concode_elem_sep char[] keyStorePwd concode_elem_sep String trustStore... | void function ( String arg0 ) { this . trustStoreFilePath = arg0 ; } |
5,271 | checks if string is integer concode_field_sep MarkovTextGenerator mtg concode_elem_sep TextArea resultBox concode_elem_sep Stage dialogStage concode_elem_sep TextField numWordsField concode_elem_sep MainApp mainApp concode_field_sep void setMainApp concode_elem_sep void handleCancel concode_elem_sep void handleGenerate... | boolean function ( String arg0 ) { try { Integer . parseInt ( arg0 ) ; } catch ( NumberFormatException loc0 ) { return false ; } return true ; } |
5,272 | runs the reaction on a given pair of atoms . order-independent . concode_field_sep EnumType type2 concode_elem_sep boolean postBonded concode_elem_sep int preState2 concode_elem_sep int postState1 concode_elem_sep int postState2 concode_elem_sep boolean copiesReaction concode_elem_sep EnumType type1 concode_elem_sep in... | boolean function ( Atom arg0 , Atom arg1 , AbstractMap arg2 , Simulator arg3 ) { if ( matchesPair ( arg0 , arg1 ) ) { return applyPair ( arg0 , arg1 , arg2 , arg3 ) ; } else if ( matchesPair ( arg1 , arg0 ) ) { return applyPair ( arg1 , arg0 , arg2 , arg3 ) ; } return false ; } |
5,273 | present the local notification to user . 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 boo... | void function ( ) { showNotification ( ) ; } |
5,274 | the number of docidset s that are in the cache . concode_field_sep long cacheCount concode_elem_sep long hitCount concode_elem_sep long cacheSize concode_elem_sep XContentBuilderString CACHE_SIZE concode_elem_sep XContentBuilderString EVICTIONS concode_elem_sep XContentBuilderString HIT_COUNT concode_elem_sep XContentB... | long function ( ) { return cacheSize ; } |
5,275 | sets the classtoserve . normally this is done by the factory using #getconfigurationkey . note : for internal use only ! concode_field_sep Class classToServe concode_elem_sep Logger log concode_field_sep String buildArgumentString concode_elem_sep Class getClassToServe concode_elem_sep Object createNewInstance concode_... | void function ( Class arg0 ) { this . classToServe = arg0 ; } |
5,276 | a list of deployment ids . concode_field_sep com.amazonaws.internal.SdkInternalList<String> deployments concode_elem_sep String nextToken concode_field_sep void setNextToken concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ListDeploymentsResult clone concode_elem_sep java.util.List<String>... | void function ( java . util . Collection < String > arg0 ) { if ( arg0 == null ) { this . deployments = null ; return ; } this . deployments = new com . amazonaws . internal . SdkInternalList < String > ( arg0 ) ; } |
5,277 | return the encoded form of this key . concode_field_sep KerberosPrincipal principal concode_elem_sep long serialVersionUID concode_elem_sep int versionNum concode_elem_sep KeyImpl key concode_field_sep int getKeyType concode_elem_sep KerberosPrincipal getPrincipal concode_elem_sep int getVersionNumber concode_elem_sep ... | byte [ ] function ( ) { checkDestroyed ( ) ; return ( byte [ ] ) key . key . clone ( ) ; } |
5,278 | sets the id value for this group_category . concode_field_sep java.lang.String access concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep boolean __hashCodeCalc concode_elem_sep int id concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_field_sep voi... | void function ( int arg0 ) { this . id = arg0 ; } |
5,279 | reflection utility : sets the field value of given object using target class . concode_field_sep PlaceHolder placeHolder concode_field_sep Image makeShot concode_elem_sep int newGlobalRefInt concode_elem_sep Object objFromGlobalRefInt concode_elem_sep T getFieldObjectValue concode_elem_sep Object getFieldObjectValue co... | void function ( Class < ? > arg0 , Object arg1 , String arg2 , Object arg3 ) { try { Field loc0 = arg0 . getDeclaredField ( arg2 ) ; loc0 . setAccessible ( true ) ; loc0 . set ( arg1 , arg3 ) ; } catch ( Throwable loc0 ) { throw new RuntimeException ( "srini_string" + arg2 + "srini_string" + arg0 . getName ( ) , loc0 )... |
5,280 | search the linked resource with the given path . all resource whose href uri minus fragment is equal to the given path are returned , in document order . concode_field_sep Map<String,LinkedResource> resourcesById concode_elem_sep LinkedHashSet<LinkedResource> resources concode_elem_sep List<LinkedResource> resources co... | List < LinkedResource > function ( String arg0 ) { return resourcesByPath . get ( arg0 ) ; } |
5,281 | returns the glyphstartindex . concode_field_sep int glyphStartIndex concode_elem_sep int unicodeEnd concode_elem_sep int unicodeStart concode_field_sep int getUnicodeEnd concode_elem_sep int getUnicodeStart | int function ( ) { return glyphStartIndex ; } |
5,282 | verify that this class implements publiccloneable . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testSerialization concode_elem_sep void testEquals | void function ( ) { MatrixSeriesCollection loc0 = new MatrixSeriesCollection ( ) ; assertTrue ( loc0 instanceof PublicCloneable ) ; } |
5,283 | encodes the specified bytes using the base64 encoding . concode_field_sep byte[] BASE64_FOR_URL_ALPHABET_ARRAY concode_elem_sep byte[] BASE64_ALPHABET_ARRAY concode_elem_sep byte PAD concode_field_sep byte[] encodeForURL | byte [ ] function ( byte [ ] arg0 ) { return encode ( arg0 , BASE64_ALPHABET_ARRAY , true ) ; } |
5,284 | return the name of the file . concode_field_sep String _name concode_elem_sep Calendar _date concode_elem_sep int DIRECTORY_TYPE concode_elem_sep int UNKNOWN_TYPE concode_elem_sep int WRITE_PERMISSION concode_elem_sep String _rawListing concode_elem_sep int READ_PERMISSION concode_elem_sep int _type concode_elem_sep lo... | String function ( ) { return _name ; } |
5,285 | gets username . concode_field_sep String startPage concode_elem_sep String itemVolume concode_elem_sep String bibId concode_elem_sep String customerCode concode_elem_sep Integer requestId concode_elem_sep String requestNotes concode_elem_sep String chapterTitle concode_elem_sep String trackingId concode_elem_sep String... | String function ( ) { return username ; } |
5,286 | gets the id . concode_field_sep boolean isFunctional concode_elem_sep String mask concode_elem_sep String type concode_elem_sep Integer length concode_elem_sep String description concode_elem_sep String name concode_elem_sep String modality concode_elem_sep ModalitiesValue modalityValueForDefault concode_elem_sep Modal... | Integer function ( ) { return id ; } |
5,287 | returns the key to use to stop jetty . concode_field_sep String stopKey concode_elem_sep Integer stopPort concode_elem_sep Integer httpPort concode_field_sep void setStopPort concode_elem_sep Integer getHttpPort concode_elem_sep void setStopKey concode_elem_sep Integer getStopPort concode_elem_sep void setHttpPort | String function ( ) { return stopKey ; } |
5,288 | decodes a jbig2 image from a byte array concode_field_sep JBIG2StreamDecoder streamDecoder concode_field_sep int getNumberOfPages concode_elem_sep void setGlobalData concode_elem_sep void cleanupPostDecode concode_elem_sep Segment findSegment concode_elem_sep boolean isRandomAccessOrganisationUsed concode_elem_sep JBIG... | void function ( byte [ ] arg0 ) { streamDecoder . decodeJBIG2 ( arg0 ) ; } |
5,289 | returns the ratings stats with the primary key or throws a nosuchstatsexception if it could not be found . concode_field_sep RatingsStatsPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep RatingsStats removeByC_C concode_elem_sep ... | RatingsStats function ( long arg0 ) { return getPersistence ( ) . findByPrimaryKey ( arg0 ) ; } |
5,290 | copies a slice of the list into a native array . note that this will not pop them out of the stack . the front of the list will be the top of the stack . if the native array is smaller than the stack depth , the native array will be filled with the elements from the top of the array until it is full and exclude the rem... | void function ( long [ ] arg0 ) { int loc0 = loc0 ( ) ; int loc1 = loc0 - arg0 . loc2 ; if ( loc1 < 0 ) { loc1 = 0 ; } int loc2 = Math . min ( loc0 , arg0 . loc2 ) ; _list . toArray ( arg0 , loc1 , loc2 ) ; reverse ( arg0 , 0 , loc2 ) ; if ( arg0 . loc2 > loc0 ) { arg0 [ loc0 ] = _list . getNoEntryValue ( ) ; } } |
5,291 | returns a textual representation of this instance . this is constructed using the class name javax.management.mbeanfeatureinfo and the name and description of the feature . as instances of this class are immutable , the return value is computed just once for each instance and reused throughout its life . concode_field_... | String function ( ) { if ( string == null ) string = getClass ( ) . getName ( ) + "srini_string" + name + "srini_string" + description + "srini_string" ; return string ; } |
5,292 | updates the shopping cart in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep ServiceTracker<ShoppingCartLocalService,ShoppingCartLocalService> _serviceTracker concode_field_sep com.liferay.shopping.model.ShoppingCart fetchShoppingCart concode_elem_sep... | com . liferay . shopping . model . ShoppingCart function ( com . liferay . shopping . model . ShoppingCart arg0 ) { return getService ( ) . updateShoppingCart ( arg0 ) ; } |
5,293 | sets the training threshold concode_field_sep String touchLogFileName concode_elem_sep Mode ONLINE_MODE concode_elem_sep State STOPPED concode_elem_sep State itusState concode_elem_sep int trainingThreshold concode_elem_sep long itusPeriod concode_elem_sep State RUNNING concode_elem_sep PermanentStorage permanentStorag... | void function ( int arg0 ) { Parameters . arg0 = arg0 ; } |
5,294 | gets the value for this key . concode_field_sep long serialVersionUID concode_elem_sep int _shift concode_elem_sep int _mask concode_elem_sep int _defaultValue concode_elem_sep int NBIT concode_elem_sep int[] _key concode_elem_sep double _factor concode_elem_sep int _n concode_elem_sep boolean[] _filled concode_elem_se... | int function ( int arg0 ) { int loc0 = indexOf ( arg0 ) ; return _filled [ loc0 ] ? _value [ loc0 ] : _defaultValue ; } |
5,295 | sets the value of the uniqueid property . concode_field_sep CTSampleData sampData concode_elem_sep CTLayoutNode layoutNode concode_elem_sep CTOfficeArtExtensionList extLst concode_elem_sep CTSampleData styleData concode_elem_sep CTSampleData clrData concode_elem_sep String minVer concode_elem_sep CTCategories catLst co... | void function ( String arg0 ) { this . uniqueId = arg0 ; } |
5,296 | updates the document library file rank in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep DLFileRankLocalService _dlFileRankLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_s... | com . liferay . document . library . kernel . model . DLFileRank function ( com . liferay . document . library . kernel . model . DLFileRank arg0 ) { return _dlFileRankLocalService . updateDLFileRank ( arg0 ) ; } |
5,297 | returns true when the box has just been initialized , and is still empty . this method might also return true if the state of the box becomes inconsistent and some component of the minimum corner is larger than the corresponding coordinate of the maximum corner . concode_field_sep Point3 maximum concode_elem_sep Point3... | boolean function ( ) { return ( maximum . x < minimum . x ) || ( maximum . y < minimum . y ) || ( maximum . z < minimum . z ) ; } |
5,298 | detects objects of different sizes in the input image . the detected objects are returned as a list of rectangles . the function is parallelized with the tbb library . note : python a face detection example using cascade classifiers can be found at opencv_source_code/samples/python2/facedetect.py concode_field_sep long... | void function ( Mat arg0 , MatOfRect arg1 , MatOfInt arg2 , MatOfDouble arg3 ) { Mat loc0 = arg1 ; Mat loc1 = arg2 ; Mat loc2 = arg3 ; detectMultiScale_3 ( nativeObj , arg0 . nativeObj , loc0 . nativeObj , loc1 . nativeObj , loc2 . nativeObj ) ; return ; } |
5,299 | get the name of a given sense for a given predicate concode_field_sep Logger log concode_elem_sep Set<String> modifierArgumentSet concode_elem_sep HashMap<String,FrameData> frameData concode_elem_sep String[] allArguments concode_elem_sep Set<String> allArgumentsSet concode_elem_sep String NULL_LABEL concode_elem_sep S... | String function ( String arg0 , String arg1 ) { if ( getPredicates ( ) . contains ( arg0 ) ) { return getFrame ( arg0 ) . getSenseName ( arg1 ) ; } else return UNKNOWN_VERB_CLASS ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.