idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
7,400 | creates an com.picocontainer.gems.behaviors.asmimplementationhiding asmimplementationhiding behavior factory . concode_field_sep PlaceHolder placeHolder concode_field_sep ComponentMonitor COMMONS_LOGGING concode_elem_sep Behavior JMX concode_elem_sep ComponentMonitor SLF4J concode_elem_sep Behavior HOT_SWAPPING concode... | Behavior function ( ) { return new AsmImplementationHiding ( ) ; } |
7,401 | method used to return a car with no problems once a rental is complete concode_field_sep Customer customer concode_field_sep String rentalInfo concode_elem_sep void reportProblem concode_elem_sep void detailDone concode_elem_sep void repairDone concode_elem_sep void rentCar concode_elem_sep Customer getCustomer | void function ( RentalStateManager arg0 ) { if ( arg0 != null ) arg0 . processReturn ( false ) ; else throw new IllegalStateException ( ) ; } |
7,402 | returns all configurations that can be reached from the target configuration through any kind of configuration transition . concode_field_sep Map<? extends Transition,ConfigurationHolder> transitionTable concode_elem_sep ImmutableList<BuildConfiguration> targetConfigurations concode_elem_sep BuildConfiguration configur... | Collection < BuildConfiguration > function ( ) { Set < BuildConfiguration > loc0 = new LinkedHashSet < > ( ) ; for ( BuildConfiguration loc1 : targetConfigurations ) { loc0 . addAll ( loc1 . getAllReachableConfigurations ( ) ) ; } return loc0 ; } |
7,403 | sets the max power . concode_field_sep double constant concode_elem_sep double staticPower concode_elem_sep double maxPower concode_field_sep double getMaxPower concode_elem_sep double getPower concode_elem_sep double getConstant concode_elem_sep double getStaticPower concode_elem_sep void setStaticPower concode_elem_s... | void function ( double arg0 ) { this . maxPower = arg0 ; } |
7,404 | the id of the new ami . returns a reference to this object so that method calls can be chained together . concode_field_sep String imageId concode_field_sep void setImageId concode_elem_sep String getImageId concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep CopyImageResult clone concode_ele... | CopyImageResult function ( String arg0 ) { this . imageId = arg0 ; return this ; } |
7,405 | the endpoint service type concode_field_sep HttpRequest<R> request concode_elem_sep Map<String,List<Object>> queryParams concode_elem_sep String path concode_elem_sep String endpoint concode_elem_sep EndpointTokenProvider provider concode_elem_sep ServiceType service concode_elem_sep String contentType concode_elem_sep... | RequestBuilder < R > function ( ServiceType arg0 ) { this . service = arg0 ; return this ; } |
7,406 | the minute class is immutable , so should not be cloneable . concode_field_sep PlaceHolder placeHolder concode_field_sep void testDateConstructor1 concode_elem_sep void testGetStart concode_elem_sep void testGetLastMillisecond concode_elem_sep void testGetSerialIndex concode_elem_sep void testGetFirstMillisecondWithTim... | void function ( ) { Minute loc0 = new Minute ( 45 , 5 , 1 , 2 , 2003 ) ; assertFalse ( loc0 instanceof Cloneable ) ; } |
7,407 | returns an unmodifiable view of the . h.processed files . concode_field_sep ImmutableList<Artifact> objectFiles concode_elem_sep Set<Artifact> dwoFiles concode_elem_sep ImmutableList<Artifact> ltoBitcodeFiles concode_elem_sep ImmutableList<Artifact> picDwoFiles concode_elem_sep Set<Artifact> picObjectFiles concode_elem... | Iterable < Artifact > function ( ) { return headerTokenFiles ; } |
7,408 | caches a role to the user . concode_field_sep boolean isBot concode_elem_sep Status status concode_elem_sep String avatarURL concode_elem_sep boolean isDeafLocally concode_elem_sep Map<String,List<IRole>> roles concode_elem_sep Map<String,Boolean> isDeaf concode_elem_sep String avatar concode_elem_sep Map<String,Boolea... | void function ( String arg0 , IRole arg1 ) { if ( ! roles . containsKey ( arg0 ) ) { roles . put ( arg0 , new ArrayList < > ( ) ) ; } roles . get ( arg0 ) . add ( arg1 ) ; } |
7,409 | checks to see if it has collided with anything . concode_field_sep Rectangle collisionBox concode_elem_sep int SUMMER concode_elem_sep long serialVersionUID concode_elem_sep int x concode_elem_sep int GENERIC concode_elem_sep int y concode_elem_sep int FALL concode_elem_sep int WINTER concode_elem_sep int SPRING concod... | boolean function ( Object arg0 ) { SuperObject loc0 = ( SuperObject ) arg0 ; return ( collisionBox . intersects ( loc0 . getCollisionBox ( ) ) ) ; } |
7,410 | the operation has completed . concode_field_sep PlaceHolder placeHolder concode_field_sep void failed | void function ( E arg0 ) { } |
7,411 | to be invoked only by the jackson json deserializer . concode_field_sep String PERSIST_CONFIG concode_elem_sep String RELOAD_CONFIG concode_elem_sep boolean isInitialized concode_elem_sep Path persistDirPath concode_elem_sep Configuration conf concode_elem_sep String className concode_elem_sep String COMMIT_STATE_FILEN... | void function ( long arg0 ) { if ( arg0 != VERSION ) { throw new RuntimeException ( "srini_string" + VERSION + "srini_string" + arg0 ) ; } } |
7,412 | get the log message in each catch block concode_field_sep PlaceHolder placeHolder concode_field_sep String getLogBeforeMethod concode_elem_sep String getLogAfterMethod | String function ( final Object arg0 , final String arg1 , final Exception arg2 ) { final String loc0 = arg0 . toString ( ) ; return "srini_string" + arg1 + "srini_string" + loc0 + "srini_string" + arg2 . getMessage ( ) ; } |
7,413 | sets the value of the productleveldetails property . concode_field_sep List<SubscriberLevelDetails> subscriberLevelDetails concode_elem_sep AccountLevelDetails accountLevelDetails concode_elem_sep long serialVersionUID concode_elem_sep ProductLevelDetails productLevelDetails concode_field_sep ProductLevelDetails getPro... | void function ( ProductLevelDetails arg0 ) { this . productLevelDetails = arg0 ; } |
7,414 | newtabulardatainstance concode_field_sep OpenType[] ITEM_TYPES concode_elem_sep long updateCount concode_elem_sep long fetchCount concode_elem_sep String TABULAR_TYPE_NAME concode_elem_sep String COMPOSITE_TYPE_NAME concode_elem_sep CompositeType COMPOSITE_TYPE concode_elem_sep long loadCount concode_elem_sep String[] ... | TabularData function ( ) { return new TabularDataSupport ( TABULAR_TYPE ) ; } |
7,415 | do not serialize properties with a null value concode_field_sep String callbackParameter concode_elem_sep Logger LOG concode_elem_sep String defaultEncoding concode_elem_sep boolean enableSMD concode_elem_sep boolean ignoreHierarchy concode_elem_sep boolean prefix concode_elem_sep boolean ignoreInterfaces concode_elem_... | void function ( boolean arg0 ) { this . excludeNullProperties = arg0 ; } |
7,416 | helper for success callbacks that just returns the status.ok by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String g... | void function ( JSONArray arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; } |
7,417 | set whether cache header handling is enabled concode_field_sep io.vertx.ext.web.handler.StaticHandler delegate concode_field_sep StaticHandler setDirectoryTemplate concode_elem_sep StaticHandler setEnableFSTuning concode_elem_sep StaticHandler setIndexPage concode_elem_sep StaticHandler setAlwaysAsyncFS concode_elem_se... | StaticHandler function ( boolean arg0 ) { this . delegate . setCachingEnabled ( arg0 ) ; return this ; } |
7,418 | set the weight of the link concode_field_sep Neuron outNode concode_elem_sep Neuron inNode concode_elem_sep double weight concode_elem_sep Random random concode_field_sep void changeWeight concode_elem_sep void setInNode concode_elem_sep Neuron getOutNode concode_elem_sep double getWeight concode_elem_sep double getOut... | void function ( double arg0 ) { weight = arg0 ; } |
7,419 | sets the id . concode_field_sep PlaceHolder placeHolder concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep T getId | void function ( T arg0 ) { } |
7,420 | page size less then zero represents no limit on the size of the page . effectively , page contexts like that will always represent the first and only page of the results . concode_field_sep int UNLIMITED_PAGE_SIZE concode_elem_sep int pageNumber concode_elem_sep int pageSize concode_elem_sep List<Order> order concode_f... | boolean function ( ) { return pageSize >= 0 ; } |
7,421 | sets the type of key store to load . concode_field_sep String password concode_elem_sep String provider concode_elem_sep String location concode_elem_sep String type concode_field_sep void setPassword concode_elem_sep String getLocation concode_elem_sep String getPassword concode_elem_sep void setLocation concode_elem_... | void function ( String arg0 ) { this . type = arg0 ; } |
7,422 | the repository used to store and update jobs and step executions . concode_field_sep int maxVarCharLength concode_elem_sep JobExplorer jobExplorer concode_elem_sep String tablePrefix concode_elem_sep DataFieldMaxValueIncrementerFactory incrementerFactory concode_elem_sep ExecutionContextSerializer serializer concode_el... | void function ( JobRepository arg0 ) { this . jobRepository = arg0 ; } |
7,423 | create a temporal rule for when this step completes concode_field_sep Endpoint endpoint concode_elem_sep ProcessBuilder processBuilder concode_elem_sep Expression correlationExpression concode_elem_sep Processor processor concode_elem_sep ActivityRules activityRules concode_field_sep Processor getProcessor concode_elem... | TimeExpression function ( ) { return new TimeExpression ( this , ActivityLifecycle . Completed ) { public Date evaluate ( ProcessInstance arg0 , ActivityState arg1 ) { return arg1 . getTimeCompleted ( ) ; } } ; } |
7,424 | common test setup . concode_field_sep Month jan1900 concode_elem_sep Month dec9999 concode_elem_sep Month nov9999 concode_elem_sep Month feb1900 concode_field_sep void testDateConstructor1 concode_elem_sep void testParseMonth concode_elem_sep void testGetStart concode_elem_sep void testGetLastMillisecond concode_elem_s... | void function ( ) { this . jan1900 = new Month ( MonthConstants . JANUARY , 1900 ) ; this . feb1900 = new Month ( MonthConstants . FEBRUARY , 1900 ) ; this . nov9999 = new Month ( MonthConstants . NOVEMBER , 9999 ) ; this . dec9999 = new Month ( MonthConstants . DECEMBER , 9999 ) ; } |
7,425 | get the root directory aka the project directory where all your scripts are . concode_field_sep String DATA_EXT concode_elem_sep String SUITE_EXT concode_elem_sep String JS_EXT concode_elem_sep File rootDir concode_elem_sep String CUSTOM_PATTERN concode_elem_sep String SCRIPT_EXT concode_field_sep boolean hasJavascript... | File function ( ) { return rootDir ; } |
7,426 | sets the text content , then creates an icon with the current style . concode_field_sep RotationLayout mRotationLayout concode_elem_sep int STYLE_ORANGE concode_elem_sep int STYLE_PURPLE concode_elem_sep int STYLE_GREEN concode_elem_sep int STYLE_RED concode_elem_sep int STYLE_BLUE concode_elem_sep ViewGroup mContainer... | Bitmap function ( String arg0 ) { if ( mTextView != null ) { mTextView . setText ( arg0 ) ; } return makeIcon ( ) ; } |
7,427 | creates a metadata instances with a single entry , with the given key andgiven value . concode_field_sep MetaData EMPTY_META_DATA concode_elem_sep String UNSUPPORTED_MUTATION_MSG concode_elem_sep Map<String,Object> values concode_elem_sep long serialVersionUID concode_field_sep MetaData mergedWith concode_elem_sep Obje... | MetaData function ( String arg0 , Object arg1 ) { return MetaData . from ( Collections . singletonMap ( arg0 , arg1 ) ) ; } |
7,428 | gets the value of the smtpserver property . concode_field_sep String adminName concode_elem_sep String adminUsername concode_elem_sep String smtpServer concode_elem_sep String siteAddress concode_elem_sep String adminPassword concode_field_sep String getAdminPassword concode_elem_sep void setAdminName concode_elem_sep ... | String function ( ) { return smtpServer ; } |
7,429 | returns the domain combiner associated with the accesscontrolcontext concode_field_sep ProtectionDomain[] protectionDomains concode_elem_sep DomainCombiner combiner concode_field_sep void checkPermission concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ProtectionDomain[] getProtectionDomai... | DomainCombiner function ( ) { return combiner ; } |
7,430 | returns true if parameter names are to be converted to lower case when name/value pairs are parsed . concode_field_sep int pos concode_elem_sep int len concode_elem_sep boolean lowerCaseNames concode_elem_sep int i1 concode_elem_sep int i2 concode_elem_sep char[] chars concode_field_sep boolean hasChar concode_elem_sep... | boolean function ( ) { return this . lowerCaseNames ; } |
7,431 | indicates whether there are database files under this installation . concode_field_sep Logger LOG concode_elem_sep boolean isInstalled concode_elem_sep boolean canOverwriteCurrentInstall concode_elem_sep Message installationMsg concode_field_sep int getPort concode_elem_sep boolean isInstalled concode_elem_sep boolean ... | boolean function ( ) { File loc0 = Installation . getLocal ( ) . getDatabasesDirectory ( ) ; File [ ] loc1 = loc0 . listFiles ( ) ; return ( ( loc1 != null ) && ( loc1 . length > 0 ) ) ; } |
7,432 | encodes a string into its url safe form using the specified string charset . unsafe characters are escaped . concode_field_sep byte ESCAPE_CHAR concode_elem_sep BitSet WWW_FORM_URL concode_elem_sep String charset concode_field_sep String getEncoding concode_elem_sep byte[] decodeUrl concode_elem_sep String getDefaultCh... | String function ( String arg0 , String arg1 ) { if ( arg0 == null ) { return null ; } return new String ( encode ( arg0 . getBytes ( arg1 ) ) , StringEncodings . US_ASCII ) ; } |
7,433 | sets kem ec point wire format . concode_field_sep String mDemCipherTransformation concode_elem_sep int mKemPointFormat concode_elem_sep EcIesParameterSpec DEFAULT concode_elem_sep int mDemCipherKeySize concode_elem_sep int UNCOMPRESSED concode_elem_sep String mDemMacAlgorithm concode_elem_sep int mKemPointFormat concod... | Builder function ( @ PointFormatEnum int arg0 ) { mKemPointFormat = arg0 ; return this ; } |
7,434 | find the factorial of a given number recursively . concode_field_sep PlaceHolder placeHolder concode_field_sep long factorialIter concode_elem_sep void main | long function ( long arg0 ) { if ( arg0 == 1 || arg0 == 0 ) { return 1 ; } return arg0 * factorialRecursive ( arg0 - 1 ) ; } |
7,435 | notify all rules of the end of processing . concode_field_sep List<RuleSet> ruleSets concode_elem_sep RuleChain ruleChain concode_field_sep boolean usesTypeResolution concode_elem_sep void apply concode_elem_sep void start concode_elem_sep boolean usesDFA concode_elem_sep Rule getRuleByName concode_elem_sep RuleSet[] g... | void function ( RuleContext arg0 ) { for ( RuleSet loc0 : ruleSets ) { loc0 . end ( arg0 ) ; } } |
7,436 | sends a connectionclosed event to listeners . concode_field_sep Vector<EventListener> eventListeners concode_elem_sep boolean notifyOnClose concode_elem_sep PooledConnection delegate concode_field_sep Collection<EventListener> getListeners concode_elem_sep Connection getConnection concode_elem_sep void connectionErrorO... | void function ( ) { final ConnectionEvent loc0 = new ConnectionEvent ( this ) ; final Object [ ] loc1 = eventListeners . toArray ( ) ; for ( final Object loc2 : loc1 ) { ( ( ConnectionEventListener ) loc2 ) . connectionClosed ( loc0 ) ; } } |
7,437 | do the match operation with the given token . this sets various flags . concode_field_sep int visits concode_elem_sep node previous concode_elem_sep char binary concode_elem_sep char unary concode_elem_sep boolean _closed concode_elem_sep long serialVersionUID concode_elem_sep Object token concode_field_sep boolean mus... | boolean function ( Object arg0 ) { if ( isClosed ( ) ) return false ; boolean loc0 = compare ( arg0 ) ; if ( loc0 ) loc0 ( ) ; return loc0 ; } |
7,438 | extracts a boolean value from configuration properties concode_field_sep Log log concode_field_sep int parseInt concode_elem_sep int parseInt concode_elem_sep Integer getIntValue concode_elem_sep boolean parseBoolean concode_elem_sep String getString | boolean function ( Properties arg0 , String arg1 , boolean arg2 ) { String loc0 = arg0 . getProperty ( arg1 ) ; if ( loc0 == null ) { return arg2 ; } else { return parseBoolean ( loc0 , "srini_string" + arg1 + "srini_string" ) ; } } |
7,439 | returns the sequence as an array of characters . concode_field_sep String description concode_elem_sep int type concode_elem_sep String sequence concode_elem_sep int PROTEIN concode_elem_sep long serialVersionUID concode_elem_sep String id concode_elem_sep int NUCLEIC concode_field_sep void setSequence concode_elem_sep... | char [ ] function ( ) { return this . sequence . toCharArray ( ) ; } |
7,440 | this method was generated by mybatis generator . this method sets the value of the database column sku_tbl . src concode_field_sep Integer attributeId concode_elem_sep Integer productId concode_elem_sep String src concode_elem_sep Integer pw concode_elem_sep String attributeName concode_elem_sep Integer id concode_elem... | void function ( String arg0 ) { this . src = arg0 == null ? null : arg0 . trim ( ) ; } |
7,441 | performs the depth first traversion of all elements concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myElements concode_elem_sep boolean done concode_field_sep boolean isVisited concode_elem_sep void beginVisit concode_elem_sep Iterator getElementLinks concode_elem_sep vo... | void function ( ) { if ( done ) return ; while ( myElements . hasNext ( ) ) { Object loc0 = myElements . next ( ) ; if ( ! isVisited ( loc0 ) ) { visit ( loc0 , 1 ) ; } } } |
7,442 | gets the password . concode_field_sep String password concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep void setUserName concode_elem_sep String getUserName | String function ( ) { return password ; } |
7,443 | set the sun specific property for the indent string . concode_field_sep String SUN_XML_HEADERS concode_elem_sep String SUN_ENCODING_HANDLER2 concode_elem_sep String JAXB_EXTERNAL_CLASS_NAME concode_elem_sep String SUN_PREFIX_MAPPER concode_elem_sep String SUN_OBJECT_IDENTITY_CYCLE_DETECTION concode_elem_sep String SUN_... | void function ( @ Nonnull final Marshaller arg0 , @ Nullable final String arg1 ) { _setProperty ( arg0 , SUN_INDENT_STRING , arg1 ) ; } |
7,444 | converts an iterable into a list concode_field_sep PlaceHolder placeHolder concode_field_sep Set<Object> toSet concode_elem_sep Set<T> toSet concode_elem_sep Set<Map.Entry<K,V>> toSet concode_elem_sep HashMap<K,V> toHashMap concode_elem_sep ArrayList<T> toArrayList concode_elem_sep Object[] toArray concode_elem_sep Pro... | List < T > function ( Iterable < T > arg0 ) { if ( arg0 instanceof List ) { return ( List < T > ) arg0 ; } List < T > loc0 = new LinkedList < T > ( ) ; for ( T loc1 : arg0 ) { loc0 . add ( loc1 ) ; } return loc0 ; } |
7,445 | adds a header to this message . the header will be appended to the end of the list . concode_field_sep List<HeaderItem> headers concode_elem_sep List<NameValuePair> queryStringParams concode_elem_sep String charset concode_elem_sep HttpEntity bodyEntity concode_elem_sep List<NameValuePair> bodyParams concode_elem_sep H... | void function ( String arg0 , String arg1 ) { if ( this . headers == null ) { this . headers = new ArrayList < HeaderItem > ( ) ; } this . headers . add ( new HeaderItem ( arg0 , arg1 ) ) ; } |
7,446 | creates an evidence object from the parameters and adds the resulting object to the collection . concode_field_sep Filter<Evidence> MEDIUM_CONFIDENCE concode_elem_sep Set<String> weightedStrings concode_elem_sep Filter<Evidence> LOW_CONFIDENCE concode_elem_sep Filter<Evidence> HIGH_CONFIDENCE concode_elem_sep long seri... | void function ( String arg0 , String arg1 , String arg2 , Confidence arg3 ) { final Evidence loc0 = new Evidence ( arg0 , arg1 , arg2 , arg3 ) ; addEvidence ( loc0 ) ; } |
7,447 | returns the port of the origin server ; typically 80 or 443 . unlike may getport accessors , this method never returns -1 . concode_field_sep Proxy proxy concode_elem_sep List<String> transports concode_elem_sep int uriPort concode_elem_sep SSLSocketFactory sslSocketFactory concode_elem_sep HostnameVerifier hostnameVer... | int function ( ) { return uriPort ; } |
7,448 | for each provided element checks if fq element name is one of provided names concode_field_sep FQNamesProvider myNameToSearch concode_elem_sep PsiCacheKey<Pair<String,String>,PyElement> QUALIFIED_AND_CLASS_NAME concode_field_sep List<String> getLastComponents concode_elem_sep boolean isCalleeShortCut concode_elem_sep b... | boolean function ( @ NotNull final Collection < ? extends PyElement > arg0 , @ NotNull final FQNamesProvider ... arg1 ) { for ( final PyElement loc0 : arg0 ) { if ( isName ( loc0 , arg1 ) ) { return true ; } } return false ; } |
7,449 | sets the ghichu of this phanphoi . concode_field_sep Phanphoi _phanphoi concode_field_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel concode_elem_sep com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge concode_elem_sep int getId concode_el... | void function ( java . lang . String arg0 ) { _phanphoi . setGhichu ( arg0 ) ; } |
7,450 | quotes and escapes a list of values so that they can be used in a simpledb query . concode_field_sep String AWS_ERR_CODE_SERVICE_UNAVAILABLE concode_elem_sep String AWS_ERR_CODE_CONDITIONAL_CHECK_FAILED concode_elem_sep String AWS_ERR_CODE_NO_SUCH_DOMAIN concode_field_sep String getPrefixedDomainName concode_elem_sep S... | String function ( Collection < String > arg0 ) { return SimpleDBUtils . quoteValues ( arg0 ) ; } |
7,451 | gets the version . concode_field_sep CommonEntityData entityData concode_field_sep String getFormattedTimestamp concode_elem_sep void setVersion concode_elem_sep OsmUser getUser concode_elem_sep void assertWriteable concode_elem_sep long getId concode_elem_sep Collection<Tag> getTags concode_elem_sep void store concode... | int function ( ) { return entityData . getVersion ( ) ; } |
7,452 | increase the number of shards for a given sharded counter . will never decrease the number of shards . concode_field_sep String SHARD_COUNT concode_elem_sep DatastoreService ds concode_elem_sep Random generator concode_elem_sep String KIND concode_elem_sep int INITIAL_SHARDS concode_elem_sep String kind concode_elem_se... | void function ( int arg0 ) { Key loc0 = KeyFactory . createKey ( Counter . KIND , counterName ) ; incrementPropertyTx ( loc0 , Counter . SHARD_COUNT , arg0 , INITIAL_SHARDS + arg0 ) ; } |
7,453 | gets the value of the extlst property . concode_field_sep Integer rowSpan concode_elem_sep Integer gridSpan concode_elem_sep Boolean hMerge concode_elem_sep CTOfficeArtExtensionList extLst concode_elem_sep CTTableCellProperties tcPr concode_elem_sep CTTextBody txBody concode_elem_sep Boolean vMerge concode_field_sep vo... | CTOfficeArtExtensionList function ( ) { return extLst ; } |
7,454 | workaround method for type safety concode_field_sep PlaceHolder placeHolder concode_field_sep Map<String,Object> deserializeAccumulators concode_elem_sep Map<String,Object> toResultMap concode_elem_sep void resetAndClearAccumulators concode_elem_sep void compareAccumulatorTypes concode_elem_sep String getResultsFormate... | void function ( Accumulator < ? , ? > arg0 , Accumulator < ? , ? > arg1 ) { @ SuppressWarnings ( "srini_string" ) Accumulator < V , R > loc0 = ( Accumulator < V , R > ) arg0 ; @ SuppressWarnings ( "srini_string" ) Accumulator < V , R > loc1 = ( Accumulator < V , R > ) arg1 ; loc0 . merge ( loc1 ) ; } |
7,455 | determines whether the strategy is ready to perform the login . concode_field_sep AccountID accountID concode_elem_sep String password concode_elem_sep AbstractProtocolProviderService protocolProvider concode_elem_sep Object modifySASLMechanisms concode_elem_sep boolean saslMechanismsInitialized concode_elem_sep String... | boolean function ( ) { return password != null ; } |
7,456 | configure supported locales to check against the requested locales determined via httpservletrequest #getlocales . if this is not configured then httpservletrequest #getlocale is used instead . concode_field_sep Locale defaultLocale concode_elem_sep List<Locale> supportedLocales concode_field_sep List<Locale> getSuppor... | void function ( List < Locale > arg0 ) { this . supportedLocales . clear ( ) ; if ( arg0 != null ) { this . supportedLocales . addAll ( arg0 ) ; } } |
7,457 | list all users concode_field_sep Random ran concode_elem_sep Map<String,User> users concode_field_sep User getUser concode_elem_sep void updateUser | Collection < User > function ( ) { return users . values ( ) ; } |
7,458 | gets the number of the superstep , starting at 1 . concode_field_sep K vertexId concode_elem_sep EdgesIterator<K,EV> edgeIterator concode_elem_sep long numberOfVertices concode_elem_sep long outDegree concode_elem_sep Iterator<?> edges concode_elem_sep long serialVersionUID concode_elem_sep Edge<K,EV> edge concode_elem... | int function ( ) { return this . runtimeContext . getSuperstepNumber ( ) ; } |
7,459 | test method for org.jboss.security.config.securityconfiguration #gettruststorepass . concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetCipherAlgorithm concode_elem_sep void testSetIterationCount concode_elem_sep void testGetKeyStoreURL concode_elem_sep void testGetSalt concode_elem_sep void testGe... | void function ( ) { SecurityConfiguration . getTrustStorePass ( ) ; } |
7,460 | getter for the field text . concode_field_sep String color concode_elem_sep String uei concode_elem_sep int id concode_elem_sep String text concode_field_sep void setColor concode_elem_sep void setUei concode_elem_sep String getColor concode_elem_sep void setId concode_elem_sep int getId concode_elem_sep int compareTo ... | String function ( ) { return text ; } |
7,461 | get the penalized value . the returned value is only guaranteed to be correct if the original evaluation and penalizing validation objects have not been modified after they were added to this penalized evaluation . concode_field_sep Evaluation evaluation concode_elem_sep boolean assignedPenalties concode_elem_sep Map<O... | double function ( ) { return penalizedValue ; } |
7,462 | prints data in the body of the current tag , escaping xml entities . for example : mkp.yield ' 5 < 7 ' concode_field_sep MarkupBuilder builder concode_field_sep void xmlDeclaration concode_elem_sep void pi concode_elem_sep void comment concode_elem_sep void yieldUnescaped concode_elem_sep void yieldUnescaped | void function ( String arg0 ) { builder . yield ( arg0 , true ) ; } |
7,463 | looks up a driver for the block at the specified position in the specified world . note that several drivers for a single block can exist . because of this block drivers are always encapsulated in a ` compound ' driver , which is what will be returned here . in other words , you should will not get actual instances of ... | Block function ( World arg0 , int arg1 , int arg2 , int arg3 ) { if ( API . driver != null ) return API . driver . driverFor ( arg0 , arg1 , arg2 , arg3 ) ; return null ; } |
7,464 | computes a hash code ignoring the directionality of the line . concode_field_sep Vec3D a concode_elem_sep Vec3D b concode_elem_sep Line3D line concode_elem_sep Type type concode_elem_sep float[] coeff concode_field_sep Vec3D getNormal concode_elem_sep LineIntersection closestLineTo concode_elem_sep Line3D set concode_e... | int function ( ) { return a . hashCode ( ) + b . hashCode ( ) ; } |
7,465 | gets component center point concode_field_sep PlaceHolder placeHolder concode_field_sep ArrayList<Integer> getKeyCodesFromKeyMask concode_elem_sep void convertRectToScreen concode_elem_sep Component findSubComponent concode_elem_sep T invokeOnEDT concode_elem_sep void hitMnemonics concode_elem_sep void generateOOME con... | Point function ( final Component arg0 ) { return Util . invokeOnEDT ( new Callable < Point > ( ) { @ Override public Point call ( ) throws Exception { Point loc0 = arg0 . getLocationOnScreen ( ) ; Dimension loc1 = arg0 . getSize ( ) ; return new Point ( loc0 . x + loc1 . width / 2 , loc0 . y + loc1 . height / 2 ) ; } }... |
7,466 | test if a motionevent with the given start and end offsets can be considered as a `` click '' . concode_field_sep OnPinchListener onPinchListener concode_elem_sep float lastDownX concode_elem_sep float lastDownY concode_elem_sep Runnable runnableClick concode_elem_sep State state concode_elem_sep float pointer2LastY co... | boolean function ( MotionEvent arg0 , float arg1 , float arg2 , float arg3 , float arg4 ) { if ( arg0 == null ) return false ; long loc0 = arg0 . getEventTime ( ) - arg0 . getDownTime ( ) ; float loc1 = PointF . length ( arg1 - arg3 , arg2 - arg4 ) ; return loc0 < MAX_CLICK_TIME && loc1 < MAX_CLICK_DISTANCE ; } |
7,467 | set the command in the cell of the given character to the given integer . concode_field_sep TreeMap<Character,Cell> cells concode_elem_sep int uniformCnt concode_elem_sep int uniformSkip concode_field_sep int getCellsVal concode_elem_sep void print concode_elem_sep void setRef concode_elem_sep Cell at concode_elem_sep ... | void function ( Character arg0 , int arg1 ) { Cell loc0 = at ( arg0 ) ; if ( loc0 == null ) { loc0 = new Cell ( ) ; loc0 . arg1 = arg1 ; cells . put ( arg0 , loc0 ) ; } else { loc0 . arg1 = arg1 ; } loc0 . cnt = ( arg1 >= 0 ) ? 1 : 0 ; } |
7,468 | registers this computerlistener so that it will start receiving events . concode_field_sep PlaceHolder placeHolder concode_field_sep ExtensionList<ComputerListener> all concode_elem_sep void onConfigurationChange concode_elem_sep void onTemporarilyOffline concode_elem_sep void onTemporarilyOnline concode_elem_sep void ... | void function ( ) { all ( ) . add ( this ) ; } |
7,469 | obtain a propertyaccessor for the given target object , accessing properties in direct field style . concode_field_sep PlaceHolder placeHolder concode_field_sep BeanWrapper forBeanPropertyAccess | ConfigurablePropertyAccessor function ( Object arg0 ) { return new DirectFieldAccessor ( arg0 ) ; } |
7,470 | getsetname_setcode2 . concode_field_sep ArrayList<HashMap<String,String>> blockData concode_elem_sep ArrayList<HashMap<String,String>> setData concode_field_sep String getSetCode3_SetName concode_elem_sep void loadBlockData concode_elem_sep String getSetCode3_SetCode2 concode_elem_sep String getLandCode concode_elem_se... | String function ( String arg0 ) { if ( setData . size ( ) == 0 ) loadSetData ( ) ; for ( int loc0 = 0 ; loc0 < setData . size ( ) ; loc0 ++ ) if ( setData . get ( loc0 ) . get ( "srini_string" ) . equals ( arg0 ) ) return setData . get ( loc0 ) . get ( "srini_string" ) ; return "srini_string" ; } |
7,471 | obtains a buffer for formatting . concode_field_sep BasicLineFormatter DEFAULT concode_field_sep String formatHeader concode_elem_sep CharArrayBuffer formatHeader concode_elem_sep int estimateProtocolVersionLen concode_elem_sep String formatProtocolVersion concode_elem_sep String formatRequestLine concode_elem_sep Char... | CharArrayBuffer function ( CharArrayBuffer arg0 ) { if ( arg0 != null ) { arg0 . clear ( ) ; } else { arg0 = new CharArrayBuffer ( 64 ) ; } return arg0 ; } |
7,472 | write 32-bit floating point data to the stream from the array . the data should be in the range -1.0 to +1.0 . concode_field_sep int inputFormat concode_elem_sep long nativeStream concode_elem_sep int outputFormat concode_field_sep boolean readFloats concode_elem_sep boolean read concode_elem_sep boolean read concode_e... | boolean function ( float [ ] arg0 , int arg1 ) { if ( outputFormat != PortAudio . FORMAT_FLOAT_32 ) { throw new RuntimeException ( "srini_string" ) ; } return writeFloats ( arg0 , arg1 ) ; } |
7,473 | grabs the next frame from video file or capturing device . the methods/functions grab the next frame from video file or camera and return true non-zero in the case of success . the primary use of the function is in multi-camera environments , especially when the cameras do not have hardware synchronization . that is , ... | boolean function ( ) { boolean loc0 = n_grab ( nativeObj ) ; return loc0 ; } |
7,474 | creates a new commandmessage with the given parts and provided parts . note that messagebuilder is the preferred api for creating messageinstances . concode_field_sep ErrorCallback errorsCall concode_elem_sep int routingFlags concode_elem_sep Map<String,ResourceProvider<?>> providedParts concode_elem_sep Map<String,Obj... | CommandMessage function ( final Map < String , Object > arg0 , final Map < String , ResourceProvider < ? >> arg1 ) { return new CommandMessage ( arg0 , arg1 ) ; } |
7,475 | returns the arithmetic mean of values . if these values are a sample drawn from a population , this is also an unbiased estimator of the arithmetic mean of the population . concode_field_sep double MAX_INT_AS_DOUBLE concode_elem_sep double MIN_LONG_AS_DOUBLE concode_elem_sep double MAX_LONG_AS_DOUBLE_PLUS_ONE concode_e... | double function ( long ... arg0 ) { checkArgument ( arg0 . length > 0 , "srini_string" ) ; long loc0 = 1 ; double loc1 = arg0 [ 0 ] ; for ( int loc2 = 1 ; loc2 < arg0 . length ; ++ loc2 ) { loc0 ++ ; loc1 += ( arg0 [ loc2 ] - loc1 ) / loc0 ; } return loc1 ; } |
7,476 | get int value . concode_field_sep Map<String,Object> mMap concode_field_sep JSONObject getObject concode_elem_sep Iterator<String> keys concode_elem_sep double getDouble concode_elem_sep JSONArray getArray concode_elem_sep float getFloat concode_elem_sep String getString concode_elem_sep void put concode_elem_sep void ... | int function ( String arg0 , int arg1 ) { Object loc0 = mMap . get ( arg0 ) ; return loc0 != null && loc0 instanceof Number ? ( ( Number ) loc0 ) . intValue ( ) : arg1 ; } |
7,477 | convert a 0-ff scale value to a percent type . concode_field_sep String HIGH_BYTE concode_elem_sep ModuleChannel[] channels concode_elem_sep String address concode_elem_sep String statusUpdateGroup concode_elem_sep String STATUS_CHANGE_ACK concode_elem_sep String UP_BYTE concode_elem_sep String STATUS_REQUEST_GROUP_1 c... | PercentType function ( String arg0 ) { long loc0 = Long . parseLong ( arg0 , 16 ) ; return new PercentType ( BigDecimal . valueOf ( loc0 ) . multiply ( BigDecimal . valueOf ( 100 ) ) . divide ( BigDecimal . valueOf ( 255 ) , 0 , BigDecimal . ROUND_UP ) . intValue ( ) ) ; } |
7,478 | returns a set of types in elements . concode_field_sep Set<ElementKind> METHOD_KIND concode_elem_sep Set<ElementKind> PACKAGE_KIND concode_elem_sep Set<ElementKind> FIELD_KINDS concode_elem_sep Set<ElementKind> TYPE_KINDS concode_elem_sep Set<ElementKind> CONSTRUCTOR_KIND concode_field_sep List<E> listFilter concode_el... | Set < TypeElement > function ( Set < ? extends Element > arg0 ) { return setFilter ( arg0 , TYPE_KINDS , TypeElement . class ) ; } |
7,479 | creates a new threadfactory which prefixes each thread with the given name . concode_field_sep PlaceHolder placeHolder concode_field_sep PooledByteBufAllocator createPooledByteBufAllocator concode_elem_sep TransportFrameDecoder createFrameDecoder concode_elem_sep EventLoopGroup createEventLoop concode_elem_sep String g... | ThreadFactory function ( String arg0 ) { return new ThreadFactoryBuilder ( ) . setDaemon ( true ) . setNameFormat ( arg0 + "srini_string" ) . build ( ) ; } |
7,480 | get the job jar path . concode_field_sep Log LOG concode_elem_sep FsPermission JOB_DIR_PERMISSION concode_elem_sep FsPermission JOB_FILE_PERMISSION concode_field_sep Path getJobSplitFile concode_elem_sep Path getJobDistCacheFiles concode_elem_sep Path getJobSplitMetaFile concode_elem_sep Path getStagingDir concode_elem... | Path function ( Path arg0 ) { return new Path ( arg0 , "srini_string" ) ; } |
7,481 | updates the j i r a change group in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep JIRAChangeGroupLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQu... | com . liferay . socialcoding . model . JIRAChangeGroup function ( com . liferay . socialcoding . model . JIRAChangeGroup arg0 ) { return getService ( ) . updateJIRAChangeGroup ( arg0 ) ; } |
7,482 | gets the value of the limit property . concode_field_sep Boolean unlimitedMinutes concode_elem_sep DataBalanceType remainingData concode_elem_sep DataBalanceType dataRemainingBeforeThrottle concode_elem_sep Boolean unlimitedMessages concode_elem_sep long serialVersionUID concode_elem_sep DataBalanceType dataUsedAfterTh... | BigDecimal function ( ) { return limit ; } |
7,483 | add url patterns to which the registered interceptor should apply to . concode_field_sep PathMatcher pathMatcher concode_elem_sep List<String> includePatterns concode_elem_sep HandlerInterceptor interceptor concode_elem_sep List<String> excludePatterns concode_field_sep InterceptorRegistration pathMatcher concode_elem_... | InterceptorRegistration function ( String ... arg0 ) { this . includePatterns . addAll ( Arrays . asList ( arg0 ) ) ; return this ; } |
7,484 | returns the cursor to use when hovering over the hyperlink . concode_field_sep Cursor hyperlinkCursor concode_elem_sep Cursor textCursor concode_elem_sep Color background concode_elem_sep Color activeBackground concode_elem_sep Cursor busyCursor concode_elem_sep int UNDERLINE_NEVER concode_elem_sep Color activeForegrou... | Cursor function ( ) { return hyperlinkCursor ; } |
7,485 | gets the value of the message property . concode_field_sep Integer returnCode concode_elem_sep List<ArrayOfString> floatIP concode_elem_sep JAXBElement<String> longMessage concode_elem_sep JAXBElement<String> message concode_field_sep List<ArrayOfString> getFloatIP concode_elem_sep void setLongMessage concode_elem_sep ... | JAXBElement < String > function ( ) { return message ; } |
7,486 | returns the compiled i.e. converted to binary plist format artifact corresponding to the given . strings file . concode_field_sep String archiveFileNameSuffix concode_elem_sep String TMP_DSYM_BUNDLE_SUFFIX concode_elem_sep RuleContext ruleContext concode_field_sep Artifact entitlements concode_elem_sep Artifact breakpa... | Artifact function ( Artifact arg0 ) { return appendExtension ( arg0 . getExecPath ( ) , "srini_string" ) ; } |
7,487 | create an instance of qualifiertype concode_field_sep QName _Qualifications_QNAME concode_field_sep QualifiersType createQualifiersType concode_elem_sep CriteriaListType createCriteriaListType concode_elem_sep JAXBElement<QualificationsType> createQualifications concode_elem_sep KeyUsageBitType createKeyUsageBitType co... | QualifierType function ( ) { return new QualifierType ( ) ; } |
7,488 | free all allocated resources . concode_field_sep ThreadLocal<ChangesItem> pendingChanges concode_elem_sep Log LOG concode_elem_sep RPCService rpcService concode_elem_sep RemoteCommand applyPersistedChangesTask concode_elem_sep String wsName concode_elem_sep ExceededQuotaBehavior exceededQuotaBehavior concode_elem_sep W... | void function ( ) { rpcService . unregisterCommand ( applyPersistedChangesTask ) ; } |
7,489 | set the location header . concode_field_sep Resource contentResource concode_elem_sep HttpHeaders headers concode_elem_sep byte[] content concode_elem_sep HttpStatus statusCode concode_field_sep DefaultResponseCreator headers concode_elem_sep ClientHttpResponse createResponse concode_elem_sep DefaultResponseCreator loc... | DefaultResponseCreator function ( URI arg0 ) { this . headers . setLocation ( arg0 ) ; return this ; } |
7,490 | if we 're in a transition mode , this returns true if we 're transitioning towards being enabled . concode_field_sep Boolean mIntendedState concode_elem_sep boolean mDeferredStateChangeRequestNeeded concode_elem_sep boolean mInTransition concode_elem_sep Boolean mActualState concode_field_sep void toggleState concode_e... | boolean function ( ) { return mIntendedState != null && mIntendedState ; } |
7,491 | to create a protobuf proxy class for target class . concode_field_sep Map<String,Codec> CACHED concode_field_sep void clearCache concode_elem_sep void Compile concode_elem_sep CodeGenerator getCodeGenerator concode_elem_sep void dynamicCodeGenerate | Codec < T > function ( Class < T > arg0 ) { return create ( arg0 , false , null ) ; } |
7,492 | remove status detail concode_field_sep List<Object> any concode_elem_sep long serialVersionUID concode_field_sep void addStatusDetail concode_elem_sep List<Object> getAny | void function ( Object arg0 ) { this . any . remove ( arg0 ) ; } |
7,493 | the default behavior of this method is to return getscheme on the wrapped request object . concode_field_sep ServletRequest request concode_field_sep void setRequest concode_elem_sep int getLocalPort concode_elem_sep String getRemoteAddr concode_elem_sep ServletRequest getRequest concode_elem_sep String getRemoteHost c... | String function ( ) { return this . request . getScheme ( ) ; } |
7,494 | sets the user this bug is assigned to . concode_field_sep Map<String,Object> internalState concode_field_sep Map<Object,Object> getParameterMap concode_elem_sep Map<String,Object> getInternalState concode_elem_sep String getStatus concode_elem_sep void setOperatingSystem concode_elem_sep void checkRequiredFields concod... | void function ( final String arg0 ) { getInternalState ( ) . put ( "srini_string" , arg0 ) ; } |
7,495 | returns uri of image which is loading at this moment into passed com.nostra13.universalimageloader.core.imageaware.imageaware concode_field_sep Map<String,ReentrantLock> uriLocks concode_elem_sep AtomicBoolean networkDenied concode_elem_sep AtomicBoolean slowNetwork concode_elem_sep ImageLoaderConfiguration configurati... | String function ( ImageAware arg0 ) { return cacheKeysForImageAwares . get ( arg0 . getId ( ) ) ; } |
7,496 | returns a list of view elements of the given edit parts . concode_field_sep String TREE_NODE_POSITION concode_elem_sep String TREE_NODE_PARENT_URI concode_elem_sep String TREE_LAYOUT_ANNOTATION concode_field_sep int getTreeNodePosition concode_elem_sep ArrayList<IGraphicalEditPart> getOrderedTreeChildren concode_elem_s... | List < View > function ( List < IGraphicalEditPart > arg0 ) { final List < View > loc0 = new ArrayList < View > ( ) ; for ( final IGraphicalEditPart loc1 : arg0 ) { loc0 . add ( loc1 . getNotationView ( ) ) ; } return loc0 ; } |
7,497 | unfolds the input and removes comments . concode_field_sep java.util.Vector jj_expentries concode_elem_sep int[] jj_expentry concode_elem_sep SimpleCharStream jj_input_stream concode_elem_sep Token jj_nt concode_elem_sep int jj_ntk concode_elem_sep int[] jj_la1_0 concode_elem_sep boolean preserveFolding concode_elem_se... | String function ( ) { try { return doParse ( ) ; } catch ( TokenMgrError loc0 ) { throw new ParseException ( loc0 ) ; } } |
7,498 | test case set up concode_field_sep GitHubResponse response concode_elem_sep EventService eventService concode_elem_sep GitHubClient gitHubClient concode_field_sep void pageNetworkEvents concode_elem_sep void pageUserReceivedEvents concode_elem_sep void defaultConstructor concode_elem_sep void constructorNullArgument co... | void function ( ) { doReturn ( response ) . when ( gitHubClient ) . get ( any ( GitHubRequest . class ) ) ; eventService = new EventService ( gitHubClient ) ; } |
7,499 | indicate that documents have been added concode_field_sep boolean waitSearcher concode_elem_sep ScheduledFuture pending concode_elem_sep AtomicInteger autoCommitCount concode_elem_sep long timeUpperBound concode_elem_sep SolrCore core concode_elem_sep ScheduledExecutorService scheduler concode_elem_sep AtomicLong docsS... | void function ( int arg0 ) { if ( docsUpperBound > 0 ) { long loc0 = docsSinceCommit . incrementAndGet ( ) ; if ( loc0 == docsUpperBound + 1 ) { docsSinceCommit . set ( 0 ) ; _scheduleCommitWithin ( DOC_COMMIT_DELAY_MS ) ; } } _scheduleCommitWithinIfNeeded ( arg0 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.