idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
21,300 | is the matrix nonsingular ? concode_field_sep int pivsign concode_elem_sep double[][] LU concode_elem_sep int[] piv concode_elem_sep int m concode_elem_sep int n concode_elem_sep long serialVersionUID concode_field_sep double det concode_elem_sep int[] getPivot concode_elem_sep Matrix getL concode_elem_sep Matrix solve... | boolean function ( ) { for ( int loc0 = 0 ; loc0 < n ; loc0 ++ ) { if ( LU [ loc0 ] [ loc0 ] == 0 ) return false ; } return true ; } |
21,301 | close data source , daemon thread ... concode_field_sep Map<String,Dialect> dialects concode_elem_sep Logger logger concode_elem_sep Map<String,DBConfig> dss concode_elem_sep DataSourceManager dm concode_field_sep void registerDialect concode_elem_sep void registerDialect concode_elem_sep DataSource getDataSource conco... | void function ( ) { Tasks . instance . destory ( ) ; } |
21,302 | sets includes using a single string where each element can be separated with comma concode_field_sep String[] excludes concode_elem_sep boolean caseSensitive concode_elem_sep String[] includes concode_elem_sep Logger LOG concode_elem_sep AntPathMatcher matcher concode_field_sep void setCaseSensitive concode_elem_sep bo... | void function ( String arg0 ) { setIncludes ( arg0 . split ( "srini_string" ) ) ; } |
21,303 | tests read/write of length data graph . concode_field_sep Graph<MultiAttributeData> simpleMAGraph concode_elem_sep Graph<LengthData> simpleLDGraph concode_elem_sep ImmutableList<String> LEGACY_FORMAT concode_elem_sep ExpectedException exception concode_field_sep void testMultiAttributeDataGraph concode_elem_sep void te... | void function ( ) { StringWriter loc0 = new StringWriter ( ) ; DotGraphIO . getLengthGraphIO ( ) . write ( simpleLDGraph , loc0 ) ; Graph < LengthData > loc1 = DotGraphIO . getLengthGraphIO ( ) . read ( new StringReader ( loc0 . toString ( ) ) ) ; assertEquals ( simpleLDGraph , loc1 ) ; } |
21,304 | valid json text passed to the target . for more information about json text , see the javascript object notation json data interchange format . concode_field_sep String input concode_elem_sep String inputPath concode_elem_sep String id concode_elem_sep String arn concode_field_sep Target withInputPath concode_elem_sep ... | String function ( ) { return this . input ; } |
21,305 | replaces the known information with the new information . then updates the information seen on the screen . concode_field_sep int score concode_elem_sep World game concode_elem_sep int lives concode_elem_sep RectangleText gameInfoText concode_elem_sep RectangleText buttonExit concode_elem_sep int BUTTON_WIDTH concode_e... | void function ( int arg0 , int arg1 ) { score = arg0 ; lives = arg1 ; update ( ) ; } |
21,306 | return the beanfactory that this bean runs in . concode_field_sep BeanFactory beanFactory concode_elem_sep Log logger concode_elem_sep T singletonInstance concode_elem_sep boolean singleton concode_elem_sep ClassLoader beanClassLoader concode_elem_sep T earlySingletonInstance concode_elem_sep boolean initialized concod... | BeanFactory function ( ) { return this . beanFactory ; } |
21,307 | number of shards being restored concode_field_sep XContentBuilderString FAILED concode_elem_sep XContentBuilderString TOTAL concode_elem_sep List<String> indices concode_elem_sep XContentBuilderString SUCCESSFUL concode_elem_sep XContentBuilderString SHARDS concode_elem_sep String name concode_elem_sep int successfulSh... | int function ( ) { return totalShards ; } |
21,308 | determine whether the supplied word is considered uncountable by the #pluralize object pluralize and #singularize object singularize methods . concode_field_sep Set<String> uncountables concode_elem_sep String expression concode_elem_sep LinkedList<Rule> plurals concode_elem_sep Pattern expressionPattern concode_elem_s... | boolean function ( String arg0 ) { if ( arg0 == null ) { return false ; } String loc0 = arg0 . trim ( ) . toLowerCase ( ) ; return uncountables . contains ( loc0 ) ; } |
21,309 | the other tests in this file assume a buffer size of 2mb . if this is changed this test will fail . before fixing it update the other tests . concode_field_sep int BUFFER_SIZE concode_elem_sep LocalServiceTestHelper helper concode_field_sep void testAlignedWrites concode_elem_sep void testSmallWrites concode_elem_sep v... | void function ( ) { RawGcsService loc0 = GcsServiceFactory . createRawGcsService ( ) ; int loc1 = GcsOutputChannelImpl . getBufferSize ( loc0 . getChunkSizeBytes ( ) ) ; assertEquals ( BUFFER_SIZE , loc1 ) ; } |
21,310 | sets the value of the type property . concode_field_sep List<Integer> evidence concode_elem_sep List<StatusType> name concode_elem_sep String type concode_field_sep List<Integer> getEvidence concode_elem_sep List<StatusType> getName concode_elem_sep String getType | void function ( String arg0 ) { this . type = arg0 ; } |
21,311 | get the resource adapter concode_field_sep ModeShapeEngine engine concode_elem_sep Logger LOGGER concode_elem_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep Repository repository concode_elem_sep JcrResourceAdapter ra concode_elem_sep String repositoryURL concode_field_sep boolean isA... | ResourceAdapter function ( ) { return ra ; } |
21,312 | sets the value of the value property . concode_field_sep String id concode_elem_sep String value concode_field_sep String getvalue concode_elem_sep void setId concode_elem_sep String getId | void function ( String arg0 ) { this . value = arg0 ; } |
21,313 | wrong parameters p1-p2 further indication in sw2 . p2 indicates : incorrect parameters p1-p2 . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] COUNTER_4 concode_elem_sep byte[] NON_VOLATILE_MEMORY_HAS_CHANGED_NO_INFO concode_elem_sep byte[] COUNTER_3 concode_elem_sep byte[] COUNTER_6 concode_elem_sep... | byte [ ] function ( ) { return new byte [ ] { ( byte ) 0x6A , ( byte ) 0x86 } ; } |
21,314 | given a student id and a list of courses , it finds what courses the student has not taken from among the list of courses . it is non-volatile to parameters . concode_field_sep TranscriptMemHelper tmh concode_field_sep boolean add concode_elem_sep ArrayList<Item> removeCourseLevel concode_elem_sep double testWithMemHel... | ArrayList < Item > function ( int arg0 , ArrayList < Item > arg1 ) { ArrayList < Item > loc0 = new ArrayList < Item > ( ) ; for ( Item loc1 : arg1 ) { if ( tmh . getGrade ( arg0 , loc1 . getId ( ) ) < 0 ) { loc0 . add ( loc1 ) ; } } return loc0 ; } |
21,315 | get the agent last name . concode_field_sep String eid concode_elem_sep AgentImpl agent concode_elem_sep String agentString concode_elem_sep boolean accessViaUrl concode_elem_sep String displayIdString concode_elem_sep AgentHelper helper concode_elem_sep long serialVersionUID concode_elem_sep String displayId concode_e... | String function ( ) { return helper . getLastName ( agentString ) ; } |
21,316 | used to communicate a progress update between a plugin tool and the main whitebox user interface . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep boolean amI... | void function ( int arg0 ) { if ( myHost != null && arg0 != previousProgress ) { myHost . updateProgress ( arg0 ) ; } previousProgress = arg0 ; } |
21,317 | passes this packet on to the nethandler for processing . concode_field_sep String[] matches concode_field_sep String[] getMatches concode_elem_sep void writePacketData concode_elem_sep void readPacketData | void function ( INetHandlerPlayClient arg0 ) { arg0 . handleTabComplete ( this ) ; } |
21,318 | gets the bottommost y-coordinate concode_field_sep double top concode_elem_sep double left concode_elem_sep double bottom concode_elem_sep double right concode_field_sep boolean intersectDestructively concode_elem_sep double getRight concode_elem_sep double getTop concode_elem_sep String toString concode_elem_sep doubl... | double function ( ) { return bottom ; } |
21,319 | gets the value of the creativetemplatevariabletype property . concode_field_sep Boolean isRequired concode_elem_sep String uniqueName concode_elem_sep String description concode_elem_sep String creativeTemplateVariableType concode_elem_sep String label concode_field_sep Boolean isIsRequired concode_elem_sep String getL... | String function ( ) { return creativeTemplateVariableType ; } |
21,320 | flag to indicate that a failed sql drop statement can be ignored.this is useful for a non-embedded database whose sql dialect does not support an if exists clause in a drop statement.the default is false so that if the populator runs accidentally , it willfail fast if a script starts with a drop statement . concode_fie... | void function ( boolean arg0 ) { this . ignoreFailedDrops = arg0 ; } |
21,321 | prints the data in a simple human-readable format . concode_field_sep String IN0 concode_elem_sep PrintStream out concode_elem_sep String IN1 concode_elem_sep String IN2 concode_elem_sep String IN4 concode_elem_sep String IN3 concode_field_sep void generateHeader0 concode_elem_sep void printMethodRefs concode_elem_sep ... | void function ( DexData arg0 , boolean arg1 ) { ClassRef [ ] loc0 = arg0 . getExternalReferences ( ) ; printClassRefs ( loc0 , arg1 ) ; if ( ! arg1 ) { printFieldRefs ( loc0 ) ; printMethodRefs ( loc0 ) ; } } |
21,322 | document me ! concode_field_sep boolean negative concode_elem_sep Integer hours concode_elem_sep Integer months concode_elem_sep Integer weeks concode_elem_sep boolean bounded concode_elem_sep Integer minutes concode_elem_sep long WEEKS concode_elem_sep Logger log concode_elem_sep Integer years concode_elem_sep Long du... | Integer function ( ) { return weeks ; } |
21,323 | returns the result of interpreting the object as an instance of ' family ' . this implementation returns null ; returning a non-null result will terminate the switch . concode_field_sep BasicfamilyPackage modelPackage concode_field_sep T doSwitch concode_elem_sep T doSwitch concode_elem_sep T doSwitch concode_elem_sep ... | T function ( Family arg0 ) { return null ; } |
21,324 | sets the command . concode_field_sep SimpleDateFormat TIMESTAMP_FORMAT concode_elem_sep String commandStored concode_elem_sep CommandResultStats resultStats concode_elem_sep boolean trackOutput concode_elem_sep String customName concode_elem_sep int successCount concode_elem_sep ITextComponent lastOutput concode_field_... | void function ( String arg0 ) { this . commandStored = arg0 ; this . successCount = 0 ; } |
21,325 | returns the kind of field or method designated by this handle . concode_field_sep String owner concode_elem_sep String name concode_elem_sep int tag concode_elem_sep String desc concode_field_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String getDesc concode_elem_se... | int function ( ) { return tag ; } |
21,326 | pipeline close : dn2 throws a disk error exception when it is closing the block file . client gets an ioexception and determine dn2 bad . concode_field_sep PlaceHolder placeHolder concode_field_sep void pipeline_Fi_38 concode_elem_sep void pipeline_Fi_49 concode_elem_sep void pipeline_Fi_39 concode_elem_sep void runPip... | void function ( ) { run49_51 ( FiTestUtil . getMethodName ( ) , 2 ) ; } |
21,327 | get the hash function description . concode_field_sep int MAX_SIZE concode_elem_sep byte[] data concode_elem_sep int pos concode_elem_sep int SPLIT_MANY concode_elem_sep int[] MAX_OFFSETS concode_elem_sep int[] SIZE_OFFSETS concode_elem_sep int DIVIDE concode_field_sep int read concode_elem_sep int getOffset concode_el... | byte [ ] function ( ) { return data ; } |
21,328 | get the body of the soapmessage concode_field_sep String CREATION_ERROR_MSG concode_elem_sep Logger log concode_elem_sep Node header concode_elem_sep String action concode_elem_sep Node body concode_elem_sep SOAPMessage message concode_elem_sep String PARSING_ERROR_MSG concode_elem_sep String SOAP_FAULT_FOUND concode_f... | Node function ( ) { return body ; } |
21,329 | gets the style of the pointer icon . concode_field_sep int STYLE_NULL concode_elem_sep int STYLE_OEM_FIRST concode_elem_sep int STYLE_SPOT_HOVER concode_elem_sep String TAG concode_elem_sep int mStyle concode_elem_sep int STYLE_SPOT_ANCHOR concode_elem_sep int STYLE_ARROW concode_elem_sep int STYLE_SPOT_TOUCH concode_e... | int function ( ) { return mStyle ; } |
21,330 | gets the registered service for the service principal . concode_field_sep Service service concode_elem_sep RegisteredService registeredService concode_field_sep Service getService | RegisteredService function ( ) { return this . registeredService ; } |
21,331 | returns the comments of this meetups registration . concode_field_sep MeetupsRegistration _meetupsRegistration concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_se... | java . lang . String function ( ) { return _meetupsRegistration . getComments ( ) ; } |
21,332 | determines if the map already contains an entry for a property . concode_field_sep String name concode_elem_sep String className concode_elem_sep Map<String,Object> properties concode_field_sep void add concode_elem_sep void add concode_elem_sep RawPropertyData flatten concode_elem_sep String getName concode_elem_sep S... | boolean function ( String arg0 ) { return properties . get ( arg0 ) != null ; } |
21,333 | sets the value of the multiplier property . concode_field_sep String unit concode_elem_sep String multiplier concode_elem_sep byte value concode_field_sep byte getValue concode_elem_sep void setValue concode_elem_sep void setUnit concode_elem_sep String getUnit concode_elem_sep String getMultiplier | void function ( String arg0 ) { this . multiplier = arg0 ; } |
21,334 | returns the number of modules . concode_field_sep ServiceTracker<ModuleLocalService,ModuleLocalService> _serviceTracker concode_field_sep com.liferay.marketplace.model.Module getModule concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery ge... | int function ( ) { return getService ( ) . getModulesCount ( ) ; } |
21,335 | verbose log message with printf formatting . 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 d concode_elem_sep void d concode_elem_sep void d ... | void function ( String arg0 , String arg1 , Object ... arg2 ) { if ( LOG . VERBOSE >= LOGLEVEL ) Log . v ( arg0 , String . format ( arg1 , arg2 ) ) ; } |
21,336 | returns the number of dimensions sometimes referred to as rank of the tensor . will be 0 for a scalar , 1 for a vector , 2 for a matrix , 3 for a 3-dimensional tensor etc. . concode_field_sep long nativeHandle concode_elem_sep DataType dtype concode_elem_sep long[] shapeCopy concode_field_sep void readNDArray concode_e... | int function ( ) { return shapeCopy . length ; } |
21,337 | returns all templates with a given name . 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 concode_elem_sep... | Template [ ] function ( String arg0 ) { ArrayList loc0 = new ArrayList ( ) ; for ( Iterator loc1 = fTemplates . loc1 ( ) ; loc1 . hasNext ( ) ; ) { Template loc2 = ( Template ) loc1 . next ( ) ; if ( loc2 . getName ( ) . equals ( arg0 ) ) { loc0 . add ( loc2 ) ; } } return ( Template [ ] ) loc0 . toArray ( new Template... |
21,338 | sets the started bundles . to be considered started a bundle must had its spring context successfully created by gemini blueprint . we do not track non-blueprint enabled bundles here . concode_field_sep List<String> osgiStartedBundles concode_elem_sep Map<String,String> bundleErrorsByBundle concode_elem_sep int REQUIRE... | void function ( List < String > arg0 ) { this . startedBundles = arg0 ; updateStartupProgressPercentage ( ) ; } |
21,339 | verify that read_only_shared replicas are not counted towards the overall replication count , but are included as replica locations returned to clients for reads . concode_field_sep Path PATH concode_elem_sep MiniDFSCluster cluster concode_elem_sep int RO_NODE_INDEX concode_elem_sep long seed concode_elem_sep int RETRI... | void function ( ) { validateNumberReplicas ( 1 ) ; fs . setReplication ( PATH , ( short ) 2 ) ; waitForLocations ( 3 ) ; validateNumberReplicas ( 2 ) ; } |
21,340 | if there are more than one error list them out . \ nfor example , list out validation errors by each field . \ n concode_field_sep String description concode_elem_sep Long code concode_elem_sep String moreInfo concode_elem_sep String message concode_elem_sep List<ErrorListItemDTO> error concode_field_sep String getMore... | List < ErrorListItemDTO > function ( ) { return error ; } |
21,341 | reverse direction of points in a line concode_field_sep String county concode_elem_sep double tolerance2 concode_elem_sep String MODULE concode_elem_sep double tolerance1 concode_elem_sep double tolerance3 concode_elem_sep ArrayList lines concode_elem_sep Collection resultPolygon concode_elem_sep String state concode_e... | LineString function ( LineString arg0 ) { List loc0 = Arrays . asList ( arg0 . getCoordinates ( ) ) ; Collections . reverse ( loc0 ) ; return arg0 . getFactory ( ) . createLineString ( ( Coordinate [ ] ) loc0 . toArray ( new Coordinate [ 1 ] ) ) ; } |
21,342 | returns the most recent dialog message , or null if there is no current dialog message . concode_field_sep File file concode_elem_sep ResourceBundle messageBundle concode_elem_sep int lengthOfTask concode_elem_sep String dialogMessage concode_elem_sep Document document concode_elem_sep Logger logger concode_elem_sep bo... | String function ( ) { return dialogMessage ; } |
21,343 | converts the specified ibm i data type to a biginteger . concode_field_sep byte[] MAX_VALUE_BYTES concode_elem_sep BigInteger MIN_VALUE concode_elem_sep BigInteger MAX_VALUE concode_elem_sep BigInteger DEFAULT_VALUE concode_elem_sep int SIZE concode_elem_sep long serialVersionUID concode_field_sep int getByteLength con... | BigInteger function ( byte [ ] arg0 ) { return toBigInteger ( arg0 , 0 ) ; } |
21,344 | this method takes a stringbuilder and a dom node , and will append all the content text found beneath the dom node to the stringbuilder . if abortonnestedanchors is true , dom traversal will be aborted and the stringbuffer will not contain any text encountered after a nested anchor is found . concode_field_sep int chil... | boolean function ( StringBuilder arg0 , Node arg1 , boolean arg2 ) { if ( getTextHelper ( arg0 , arg1 , arg2 , 0 ) ) { return true ; } return false ; } |
21,345 | renders the layer on the given map . the layer on the current map is removed and added to the given map . concode_field_sep LatLngBounds mBoundingBox concode_elem_sep GeoJsonRenderer mRenderer concode_field_sep GeoJsonPolygonStyle getDefaultPolygonStyle concode_elem_sep GeoJsonPointStyle getDefaultPointStyle concode_el... | void function ( GoogleMap arg0 ) { mRenderer . setMap ( arg0 ) ; } |
21,346 | create an instance of managedevicerequest concode_field_sep QName _GetCustomerCoverageDeviceCountRequest_QNAME concode_elem_sep QName _GetCustomerCoverageDeviceInfoRequest_QNAME concode_elem_sep QName _GetCustomerCoverageDeviceInfoResponse_QNAME concode_elem_sep QName _GetCustomerCoverageDeviceCountResponse_QNAME conco... | ManageDeviceRequest function ( ) { return new ManageDeviceRequest ( ) ; } |
21,347 | removes a vetoable property change listener from the series . concode_field_sep long serialVersionUID concode_elem_sep EventListenerList listeners concode_elem_sep VetoableChangeSupport vetoableChangeSupport concode_elem_sep String description concode_elem_sep PropertyChangeSupport propertyChangeSupport concode_elem_se... | void function ( VetoableChangeListener arg0 ) { this . vetoableChangeSupport . removeVetoableChangeListener ( arg0 ) ; } |
21,348 | adds a name/value pair to the formatted output in name = value format . concode_field_sep ValueHolder next concode_elem_sep ValueHolder holderTail concode_elem_sep String name concode_elem_sep String className concode_elem_sep boolean omitNullValues concode_elem_sep ValueHolder holderHead concode_elem_sep Object value ... | ToStringHelper function ( String arg0 , int arg1 ) { return addHolder ( arg0 , String . valueOf ( arg1 ) ) ; } |
21,349 | gets the starting point of the transition , a float between 0.0 and 1.0 . defaults to 0.0 . concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concode_elem_sep float fps concode_elem_sep boolean sync concode_elem_sep int sequenceId concode_elem_sep float duration concode_ele... | float function ( ) { return from ; } |
21,350 | if we are performing an eval we should pass existing scope in . calling this lets the parser know we need to do this . concode_field_sep boolean asBlock concode_elem_sep Encoding defaultEncoding concode_elem_sep boolean isEvalParse concode_elem_sep int lineNumber concode_elem_sep boolean inlineSource concode_elem_sep R... | void function ( DynamicScope arg0 ) { this . asBlock = true ; this . existingScope = arg0 ; } |
21,351 | returns the current state of the module . this method returns either state_new , state_configured , state_initialized or state_error . concode_field_sep int STATE_CONFIGURED concode_elem_sep int STATE_ERROR concode_elem_sep int STATE_INITIALIZED concode_elem_sep Module module concode_elem_sep int state concode_elem_sep... | int function ( ) { return this . state ; } |
21,352 | calculate all neighbors of a given geohash cell . concode_field_sep int PRECISION concode_elem_sep short MORTON_OFFSET concode_elem_sep String BASE_32_STRING concode_elem_sep char[] BASE_32 concode_field_sep long fromMorton concode_elem_sep char encode concode_elem_sep long longEncode concode_elem_sep long longEncode c... | Collection < ? extends CharSequence > function ( String arg0 ) { return addNeighbors ( arg0 , arg0 . length ( ) , new ArrayList < CharSequence > ( 8 ) ) ; } |
21,353 | get id concode_field_sep String ID concode_elem_sep Date timeOfReading concode_elem_sep float gravityz concode_elem_sep long time concode_elem_sep int priority concode_elem_sep float gravityy concode_elem_sep float gravityx concode_field_sep float getgravityy concode_elem_sep float getgravityx concode_elem_sep long get... | String function ( ) { return ID ; } |
21,354 | sets the value of the setdescription property . concode_field_sep Boolean visible concode_elem_sep String setcd concode_elem_sep AMLCDDOBOnlineQSetQuestionsSetType questions concode_elem_sep Integer displayorder concode_elem_sep String setdescription concode_elem_sep String contenttype concode_field_sep String getCONTE... | void function ( String arg0 ) { this . setdescription = arg0 ; } |
21,355 | gets the email value for this phonecallcontact . concode_field_sep java.lang.String phone concode_elem_sep com.netsuite.webservices.platform.core_2014_2.RecordRef contact concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep com.netsuite.webservices.platform.core_2014_2... | java . lang . String function ( ) { return email ; } |
21,356 | this computes the average over all folds of the function we 're trying to optimize . the input triple contains , in order , the train set , the test set , and the saved state . you do n't have to use the saved state if you do n't want to . concode_field_sep int iter concode_elem_sep SavedState[] savedStates concode_ele... | double function ( Function < Triple < GeneralDataset < L , F > , GeneralDataset < L , F > , SavedState > , Double > arg0 ) { double loc0 = 0 ; Iterator < Triple < GeneralDataset < L , F > , GeneralDataset < L , F > , SavedState >> loc1 = iterator ( ) ; while ( loc1 . hasNext ( ) ) { loc0 += arg0 . apply ( loc1 . next (... |
21,357 | gets the value of the maincategory property . concode_field_sep String specificCategory concode_elem_sep String feature concode_elem_sep String name concode_elem_sep String mainCategory concode_elem_sep String linkPublic concode_elem_sep Long documentId concode_elem_sep String fileLocation concode_field_sep void setNam... | String function ( ) { return mainCategory ; } |
21,358 | return type metadata object concode_field_sep java.lang.Integer startIndex concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Integer totalResultSetSize concode_elem_sep com.google.api.ads.dfp.a... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
21,359 | set the host address concode_field_sep DnsSdTxtRecord mTxtRecord concode_elem_sep Creator<NsdServiceInfo> CREATOR concode_elem_sep InetAddress mHost concode_elem_sep int mPort concode_elem_sep String mServiceName concode_elem_sep String mServiceType concode_field_sep void setServiceType concode_elem_sep String getServi... | void function ( InetAddress arg0 ) { mHost = arg0 ; } |
21,360 | returns the instance of the sessionmanager injected by the spring framework specified in the components.xml file via ioc . concode_field_sep String PROPERTY_COURSE_SITE_PUBLISH_USER concode_elem_sep String PROPERTY_COURSE_SITE_PUBLISH_NUM_DAYS_BEFORE_TERM_STARTS concode_elem_sep int DEFAULT_VALUE_COURSE_SITE_PUBLISH_NU... | SessionManager function ( ) { return sessionManager ; } |
21,361 | saves the current invocation context on a chained context handle . concode_field_sep ConcurrentContext concurrentContext concode_elem_sep List<SetupContextHandle> setupHandles concode_elem_sep String CONTEXT_HANDLE_FACTORY_NAME concode_elem_sep List<ContextHandleFactory> factoryOrderedList concode_elem_sep ServiceName ... | SetupContextHandle function ( ContextService arg0 , Map < String , String > arg1 ) { final List < SetupContextHandle > loc0 = new ArrayList < > ( factoryOrderedList . size ( ) ) ; for ( ContextHandleFactory loc1 : factoryOrderedList ) { loc0 . add ( loc1 . saveContext ( arg0 , arg1 ) ) ; } return new ChainedSetupContex... |
21,362 | checks whether anyone is using the block lock for the given block id , returning the lock to the lock pool if it is unused . concode_field_sep Map<Long,LockRecord> mLockIdToRecordMap concode_elem_sep Map<Long,Set<Long>> mSessionIdToLockIdsMap concode_elem_sep Object mSharedMapsLock concode_elem_sep AtomicLong LOCK_ID_G... | void function ( long arg0 ) { synchronized ( mSharedMapsLock ) { ClientRWLock loc0 = mLocks . get ( arg0 ) ; if ( loc0 == null ) { return ; } if ( loc0 . dropReference ( ) == 0 ) { mLocks . remove ( arg0 ) ; mLockPool . release ( loc0 ) ; } } } |
21,363 | applies temp style to to the current style and image directory and manually refreshes the icons in the navigation tree . the page will reload based on navigation rules to ensure the theme is applied ; this is necessary because of difficulties encountered by updating the stylesheet reference within the of the document .... | String function ( ) { if ( ! currentStyle . equalsIgnoreCase ( tempStyle ) ) { currentStyle = tempStyle ; return NavigationNames . THEME_CHANGE ; } return null ; } |
21,364 | gets the value of the roles property . concode_field_sep Groups parentGroups concode_elem_sep RoleAssignments roles concode_elem_sep String name concode_elem_sep Groups childGroups concode_elem_sep String description concode_elem_sep String href concode_elem_sep Users users concode_elem_sep Properties properties concod... | RoleAssignments function ( ) { return roles ; } |
21,365 | a helper function for #checkqualifiers . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean checkQualifiers concode_elem_sep List<String[]> parsePairs concode_elem_sep List<String[]> parsePairs concode_elem_sep List<String[]> parsePairs concode_elem_sep Map<String,Object> parseConfig concode_elem_sep S... | boolean function ( String arg0 , String arg1 , String arg2 ) { String [ ] loc0 = arg0 . trim ( ) . toLowerCase ( ) . split ( "srini_string" ) ; String loc1 = loc0 [ 0 ] , loc2 = ( loc0 . length > 1 ) ? loc0 [ 1 ] : "srini_string" ; return ( arg1 . indexOf ( loc1 ) != - 1 ) && ( arg2 . indexOf ( loc2 ) != - 1 ) ; } |
21,366 | gets the value of the customerqualificationrequest property . concode_field_sep CustomerQualificationRequest customerQualificationRequest concode_elem_sep long serialVersionUID concode_elem_sep AsyncHeader asyncHeader concode_field_sep void setCustomerQualificationRequest concode_elem_sep void setAsyncHeader concode_el... | CustomerQualificationRequest function ( ) { return customerQualificationRequest ; } |
21,367 | get the branch probabilties concode_field_sep double[] classProbabilities concode_elem_sep double[][] conditionalClassProbabilities concode_elem_sep int[] instanceCounts concode_elem_sep double[] branchProbabilities concode_field_sep double getClassProbability concode_elem_sep double[] getClassProbabilities concode_ele... | double [ ] function ( ) { return branchProbabilities ; } |
21,368 | set all authorities for this user from string values . it will create the necessary grantedauthority objects . concode_field_sep String password concode_elem_sep boolean enabled concode_elem_sep List<GrantedAuthority> authorities concode_field_sep void setEnabled concode_elem_sep void setPassword concode_elem_sep Strin... | void function ( List < String > arg0 ) { setAuthorities ( new ArrayList < GrantedAuthority > ( arg0 . size ( ) ) ) ; for ( String loc0 : arg0 ) { addAuthority ( new SimpleGrantedAuthority ( loc0 ) ) ; } } |
21,369 | sets up the buffer before a test runs . concode_field_sep long OFFSET concode_elem_sep long LOCK_ID concode_elem_sep long SESSION_ID concode_elem_sep long BLOCK_ID concode_elem_sep ByteBuf mBuffer concode_elem_sep long LENGTH concode_field_sep void encodedLength concode_elem_sep void invalidLength concode_elem_sep void... | void function ( ) { mBuffer = Unpooled . buffer ( ) ; } |
21,370 | gets the value of the numberofresults property . concode_field_sep ArrayOfAppointmentsToIgnore appointmentsToIgnore concode_elem_sep Integer userTimeZoneCode concode_elem_sep String searchRecurrenceRule concode_elem_sep Integer anchorOffset concode_elem_sep Integer recurrenceTimeZoneCode concode_elem_sep ArrayOfguid si... | Integer function ( ) { return numberOfResults ; } |
21,371 | returns a map from the name of the architecture cpu folder to place the library in to the set of libraries for that architecture . concode_field_sep Artifact nativeLibsName concode_elem_sep NativeLibs EMPTY concode_elem_sep Map<String,Iterable<Artifact>> nativeLibs concode_field_sep Iterable<Artifact> filterUniqueShare... | Map < String , Iterable < Artifact >> function ( ) { return nativeLibs ; } |
21,372 | sets the value of the hibernateinitializer property . concode_field_sep HibernateInitializerType hibernateInitializer concode_elem_sep SqlInitializerType sqlInitializer concode_elem_sep String datasource concode_field_sep SqlInitializerType getSqlInitializer concode_elem_sep void setSqlInitializer concode_elem_sep Hibe... | void function ( HibernateInitializerType arg0 ) { this . hibernateInitializer = arg0 ; } |
21,373 | gets the zero-based part of the group . this method returns for the group `` first '' , `` second '' , `` first '' if 0 is passed asposition and `` second '' if 1 is passed . concode_field_sep String VALIDATION_EXPR concode_elem_sep String DEF_SEPARTOR concode_elem_sep String[] items concode_field_sep Iterator<Group> i... | String function ( final int arg0 ) { return items [ arg0 ] ; } |
21,374 | tests if tag is inline . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean inPackage concode_elem_sep String getName concode_elem_sep boolean inOverview concode_elem_sep boolean inMethod concode_elem_sep String getFirstWord concode_elem_sep boolean inField concode_elem_sep boolean inConstructor concod... | boolean function ( ) { return ( false ) ; } |
21,375 | retrieves the canonical path for the given path , or the absolute path if attemting to retrieve the canonical path fails . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep FileUtil fileUtil concode_elem_sep FileDescriptor outDescriptor concode_elem_sep Random random concode_elem_sep boolean fsIsIgn... | String function ( String arg0 ) { try { return canonicalPath ( arg0 ) ; } catch ( Exception loc0 ) { return absolutePath ( arg0 ) ; } } |
21,376 | returns true if the value is stale , also updates the cachevaluestamp . concode_field_sep int cachedGradientChangeStamp concode_elem_sep CRF crf concode_elem_sep int cachedValueChangeStamp concode_field_sep boolean isGradientStale | boolean function ( ) { if ( crf . weightsValueChangeStamp != cachedValueChangeStamp ) { cachedValueChangeStamp = crf . weightsValueChangeStamp ; return true ; } return false ; } |
21,377 | write a string to the list by encoding the characters in utf-8 concode_field_sep ListIterator<Byte> listIt concode_elem_sep List<Byte> storageList concode_elem_sep int position concode_elem_sep Logger log concode_field_sep void writeFloat concode_elem_sep double readDouble concode_elem_sep float readFloat concode_elem_... | void function ( String arg0 ) { writeString ( arg0 , "srini_string" ) ; } |
21,378 | test mylistiterator nextindex method concode_field_sep int DIM concode_elem_sep MyLinkedList<String> slist concode_elem_sep MyLinkedList<Integer> one concode_elem_sep MyLinkedList<Integer> several concode_elem_sep int FIBMAX concode_elem_sep MyLinkedList<Integer> empty concode_field_sep void testRemoveIteratorException... | void function ( ) { several = new MyLinkedList < Integer > ( ) ; ListIterator < Integer > loc0 = several . listIterator ( ) ; for ( int loc1 = 0 ; loc1 < 5 ; loc1 ++ ) { several . add ( loc1 ) ; } int loc2 = 0 ; while ( loc0 . hasNext ( ) ) { loc0 . next ( ) ; assertEquals ( "srini_string" , loc2 + 1 , loc0 . nextIndex... |
21,379 | init concode_field_sep PlaceHolder placeHolder concode_field_sep void stop concode_elem_sep org.opennms.netmgt.vacuumd.Vacuumd getVacuumd concode_elem_sep void start concode_elem_sep int getStatus concode_elem_sep String getStatusText concode_elem_sep String status | void function ( ) { EventIpcManagerFactory . init ( ) ; EventIpcManager loc0 = EventIpcManagerFactory . getIpcManager ( ) ; getVacuumd ( ) . setEventManager ( loc0 ) ; getVacuumd ( ) . init ( ) ; } |
21,380 | test that asking for the default hostname works concode_field_sep String DEFAULT concode_elem_sep Log LOG concode_field_sep void testGetLocalHostIsFast concode_elem_sep void testNullInterface concode_elem_sep void testIPsOfUnknownInterface concode_elem_sep void testLocalhostResolves concode_elem_sep void testGetIPWithD... | void function ( ) { String loc0 = DNS . getDefaultHost ( DEFAULT ) ; assertNotNull ( loc0 ) ; } |
21,381 | this method is used call a method of dao class to find existing all departments which have a sub-department from the database for the given circle . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean editDepartment concode_elem_sep boolean createDepartment concode_elem_sep List findCircles concode_elem... | List function ( int arg0 ) { ArrayList loc0 = new ArrayList ( ) ; DepartmentDAO loc1 = new DepartmentDAO ( ) ; loc0 = ( ArrayList ) loc1 . findAllParentId ( arg0 ) ; return loc0 ; } |
21,382 | gets the value of the id property . concode_field_sep List<ReferenceType> reference concode_elem_sep String id concode_field_sep void setId concode_elem_sep List<ReferenceType> getReference | String function ( ) { return id ; } |
21,383 | one authorization failure event concode_field_sep MutableCounterLong receivedBytes concode_elem_sep MutableRate rpcProcessingTime concode_elem_sep MutableCounterLong rpcAuthenticationFailures concode_elem_sep Server server concode_elem_sep MetricsRegistry registry concode_elem_sep MutableQuantiles[] rpcQueueTimeMillisQ... | void function ( ) { rpcAuthorizationFailures . incr ( ) ; } |
21,384 | get saved target for this project from settings . concode_field_sep boolean isBuilding concode_elem_sep String NOT_BUCK_PROJECT_ERROR_MESSAGE concode_elem_sep boolean isKilling concode_field_sep void runBuckCommand concode_elem_sep void runInCurrentThread concode_elem_sep void runInCurrentThread concode_elem_sep boolea... | String function ( Project arg0 ) { if ( BuckSettingsProvider . getInstance ( ) . getState ( ) . lastAlias == null ) { return null ; } return BuckSettingsProvider . getInstance ( ) . getState ( ) . lastAlias . get ( arg0 . getBasePath ( ) ) ; } |
21,385 | event handler . concode_field_sep boolean flag concode_elem_sep JFreeChart chart concode_field_sep JFreeChart createChart concode_elem_sep void testReplaceDataset concode_elem_sep void setUp concode_elem_sep void testDrawWithNullInfo concode_elem_sep void testSetSeriesToolTipGenerator | void function ( ChartChangeEvent arg0 ) { this . flag = true ; } |
21,386 | read the genre data . concode_field_sep PlaceHolder placeHolder concode_field_sep void readArtists concode_elem_sep KDDCupItems read concode_elem_sep void readAlbums concode_elem_sep void readTracks | void function ( BufferedReader arg0 , KDDCupItems arg1 ) { String loc0 ; while ( ( loc0 = arg0 . readLine ( ) ) != null ) { int loc1 = Integer . parseInt ( loc0 ) ; arg1 . insert ( loc1 , KDDCupItemType . GENRE , - 1 , - 1 , null ) ; } } |
21,387 | returns the value of the property for propertyname or null concode_field_sep PlaceHolder placeHolder concode_field_sep String expandVars | String function ( String arg0 ) { String loc0 = System . getProperty ( arg0 ) ; if ( loc0 == null ) { loc0 = System . getenv ( arg0 ) ; } if ( "srini_string" . equals ( arg0 ) ) { loc0 = loc0 . toLowerCase ( ) ; } return loc0 ; } |
21,388 | returns the package name of the app . concode_field_sep String mImageUrl concode_elem_sep Intent mInstallIntent concode_elem_sep String mPackageName concode_elem_sep String mInstallButtonText concode_elem_sep String mTitle concode_elem_sep float mRating concode_elem_sep PendingIntent mDetailsIntent concode_elem_sep Str... | String function ( ) { return mPackageName ; } |
21,389 | gets the value of the type property . concode_field_sep String address concode_elem_sep long serialVersionUID concode_elem_sep String type concode_field_sep void setAddress concode_elem_sep String getAddress concode_elem_sep void setType | String function ( ) { return type ; } |
21,390 | gets the status bar color for the activity based on the specified subreddit . concode_field_sep int cardBackgroundColor concode_elem_sep int backgroundColor concode_elem_sep int mainColor concode_elem_sep int accentColor concode_elem_sep String displayName concode_elem_sep ThemeEnum theme concode_elem_sep int tint conc... | int function ( String arg0 ) { int loc0 = getColor ( arg0 ) ; return getDarkerColor ( loc0 ) ; } |
21,391 | sets the value of the description property . concode_field_sep short weatherID concode_elem_sep String pictureURL concode_elem_sep String description concode_field_sep String getPictureURL concode_elem_sep short getWeatherID concode_elem_sep void setWeatherID concode_elem_sep void setPictureURL concode_elem_sep String ... | void function ( String arg0 ) { this . description = arg0 ; } |
21,392 | return a value from this row . concode_field_sep Map<Integer,String> data concode_field_sep void setData concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep TableRow addValue | String function ( Integer arg0 ) { return data . get ( arg0 ) ; } |
21,393 | gets the second parameter of commandframe concode_field_sep int unit concode_elem_sep CommandFrame commandFrame concode_elem_sep int userCode concode_elem_sep int home concode_field_sep void setUserCode concode_elem_sep int getHomeFrom concode_elem_sep int getUnitFrom concode_elem_sep Command getCommand concode_elem_se... | int function ( ) { return commandFrame . getSecondParameter ( ) ; } |
21,394 | registers a component which contributes items to the `` goto symbol '' list . concode_field_sep List<ChooseByNameContributor> myGotoSymbolContributors concode_elem_sep boolean myGotoSymbolExtensionsLoaded concode_elem_sep List<ChooseByNameContributor> myGotoClassContributors concode_elem_sep boolean myGotoClassExtensio... | void function ( ChooseByNameContributor arg0 ) { myGotoSymbolContributors . add ( arg0 ) ; } |
21,395 | add error message to a specific client . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep ValueBinding getValueBinding concode_elem_sep Object getElValue concode_elem_sep void addInfoMessage concode_elem_sep void addInfoM... | void function ( String arg0 , String arg1 ) { FacesContext . getCurrentInstance ( ) . addMessage ( arg0 , new FacesMessage ( FacesMessage . SEVERITY_ERROR , arg1 , arg1 ) ) ; } |
21,396 | sets the value of the availabilityzone property for this object . returns a reference to this object so that method calls can be chained together . concode_field_sep String spotPrice concode_elem_sep String instanceType concode_elem_sep String availabilityZone concode_elem_sep String productDescription concode_elem_sep... | SpotPrice function ( String arg0 ) { this . availabilityZone = arg0 ; return this ; } |
21,397 | synchronized . concode_field_sep FileCollection delegate concode_elem_sep Object lock concode_field_sep String getCollectionName concode_elem_sep void releaseResources concode_elem_sep boolean containsFile concode_elem_sep URL[] getResources concode_elem_sep List<String> getFileNames concode_elem_sep URL[] getUrls conc... | URL function ( String arg0 ) { synchronized ( lock ) { return delegate . getResource ( arg0 ) ; } } |
21,398 | searches the schedule and returns a list of tasks which contain the given keyword in their title/description . concode_field_sep String ERROR_MESSAGE_INVALID_DEADLINE_ATTRIBUTE concode_elem_sep String ERROR_MESSAGE_INVALID_DATE_START_AFTER_END concode_elem_sep String ERROR_MESSAGE_MISSING_TITLE concode_elem_sep String ... | ArrayList < Task > function ( String arg0 ) { ArrayList < Task > loc0 = new ArrayList < Task > ( ) ; if ( arg0 == null ) { return loc0 ; } loc0 = db . retrieveContaining ( arg0 ) ; return loc0 ; } |
21,399 | returns the company id of this resource permission . concode_field_sep ResourcePermission _resourcePermission concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep boo... | long function ( ) { return _resourcePermission . getCompanyId ( ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.