code stringlengths 20 663 | nl stringlengths 68 7.19k |
|---|---|
double function ( ) { return confidence ; } | returns the confidence assigned by the ranker service to the result concode_field_sep String answerId concode_elem_sep float score concode_elem_sep double confidence concode_elem_sep int relevance concode_elem_sep int finalRank concode_elem_sep String body concode_elem_sep String title concode_elem_sep int solrRank con... |
String function ( Map < String , Class < ? >> arg0 ) { if ( arg0 == null ) { return "srini_string" ; } if ( arg0 . size ( ) == 0 ) { return "srini_string" ; } return "srini_string" + arg0 . toString ( ) + "srini_string" ; } | format a map to the java source code that represents this object . concode_field_sep int XID concode_elem_sep int XA_DATA_SOURCE concode_elem_sep int PREPARED_STATEMENT concode_elem_sep int SAVEPOINT concode_elem_sep int CLOB concode_elem_sep int DATA_SOURCE concode_elem_sep int BLOB concode_elem_sep int CALLABLE_STATE... |
AuthenticationBuilder function ( final String arg0 , final Object arg1 ) { this . attributes . put ( arg0 , arg1 ) ; return this ; } | adds an authentication metadata attribute key-value pair . concode_field_sep Principal principal concode_elem_sep List<CredentialMetaData> credentials concode_elem_sep Map<String,Object> attributes concode_elem_sep ZonedDateTime authenticationDate concode_elem_sep Map<String,HandlerResult> successes concode_elem_sep Ma... |
void function ( Color arg0 ) { color = arg0 ; triggerEvent ( ) ; updateChildren ( ( s ) -> s . updateColor ( ) ) ; } | method to set the main color of a style . text for example concode_field_sep Color bcBottom concode_elem_sep Color color concode_elem_sep ArrayList<InheritedStyle> children concode_elem_sep Color background concode_elem_sep int bwLeft concode_elem_sep Color bcTop concode_elem_sep Color TRANSPARENT concode_elem_sep Colo... |
InvokeAsyncResult function ( Integer arg0 ) { this . status = arg0 ; return this ; } | it will be 202 upon success . returns a reference to this object so that method calls can be chained together . concode_field_sep Integer status concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep InvokeAsyncResult clone concode_elem_sep String toString concode_elem_sep Integer getStatus con... |
String function ( ) { String loc0 = location ( ) . path ( ) ; int loc1 = loc0 . lastIndexOf ( '/' ) ; if ( loc1 != - 1 ) { loc0 = loc0 . substring ( loc1 + 1 ) ; } if ( loc0 . endsWith ( "srini_string" ) ) { loc0 = loc0 . substring ( 0 , loc0 . length ( ) - "srini_string" . length ( ) ) ; } return loc0 ; } | returns the name of this proto file , like simple_message for squareup/protos/person / simple_message . proto . concode_field_sep ImmutableList<String> publicImports concode_elem_sep ImmutableList<Type> types concode_elem_sep ImmutableList<String> imports concode_elem_sep Object javaPackage concode_elem_sep String stri... |
String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep String password concode_elem_sep String phone concode_elem_sep String lastName concode_elem_sep Integer userStatus concode_elem_sep String username concode_elem_sep Long id concode_elem_sep String firstName ... |
void function ( ) { List < Employee > loc0 = employeeBean . get ( ) ; assertFalse ( loc0 . isEmpty ( ) ) ; assertEquals ( 8 , loc0 . size ( ) ) ; } | in the test , we 're just going to invoke the only available operation in the + employeebean + and assert a few details to confirm that the native query was successfully executed . concode_field_sep EmployeeBean employeeBean concode_field_sep WebArchive createDeployment |
void function ( long arg0 ) { this . projectsEvaluated = arg0 ; } | should be set with a timestamp from a org.gradle.buildlistener #projectsevaluated callback . concode_field_sep long buildFinished concode_elem_sep Map<String,ContinuousOperation> dependencySets concode_elem_sep long projectsEvaluated concode_elem_sep long settingsEvaluated concode_elem_sep long projectsLoaded concode_e... |
String function ( ) { return ( this . exception == null ? null : this . exception . getName ( ) ) ; } | the exception type name . concode_field_sep Class<? extends Throwable> exception concode_elem_sep String path concode_elem_sep HttpStatus status concode_field_sep Class<? extends Throwable> getException concode_elem_sep int getStatusCode concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Str... |
String function ( String arg0 ) { for ( int loc0 = 0 ; loc0 < sortedRegExpList . size ( ) ; loc0 ++ ) { String loc1 = sortedRegExpList . get ( loc0 ) ; if ( arg0 . startsWith ( loc1 ) ) { return regExpGroupMap . get ( loc1 ) ; } } return null ; } | search for package name in the sorted regular expression list , if found return the group name . if not , return null . concode_field_sep List<String> groupList concode_elem_sep Map<String,String> pkgNameGroupMap concode_elem_sep Configuration configuration concode_elem_sep List<String> sortedRegExpList concode_elem_se... |
void function ( double arg0 , double arg1 ) { this . leftVal = arg0 ; this . rightVal = arg1 ; execute ( ) ; } | this takes the parameter left val and right val concode_field_sep double result concode_elem_sep double rightVal concode_elem_sep char opCode concode_elem_sep double leftVal concode_field_sep void setOpCode concode_elem_sep void setLeftVal concode_elem_sep double getResult concode_elem_sep double getRightVal concode_el... |
Builder < KType , VType > function ( Map < KType , VType > arg0 ) { for ( Map . Entry < KType , VType > loc0 : arg0 . entrySet ( ) ) { this . map . put ( loc0 . getKey ( ) , loc0 . getValue ( ) ) ; } return this ; } | puts all the entries in the map to the builder . concode_field_sep ImmutableOpenMap EMPTY concode_elem_sep ObjectObjectHashMap<KType,VType> map concode_field_sep VType getOrDefault concode_elem_sep VType getOrDefault concode_elem_sep void indexInsert concode_elem_sep ObjectLookupContainer<KType> keys concode_elem_sep O... |
int function ( ) { return Objects . hash ( start , end ) ; } | returns the same hash for any vertices that have the same start and end parameters . the weight of the vertex does not affect the hash . concode_field_sep int distance concode_elem_sep String name concode_elem_sep City start concode_elem_sep City end concode_field_sep int getValue concode_elem_sep boolean contains conc... |
void function ( SearchContext arg0 ) { } | executed when a previously created search context is freed . this happens either when the search execution finishes , if the execution failed or if the search context as idle for and needs to be cleaned up . concode_field_sep List<SearchOperationListener> listeners concode_elem_sep Logger logger concode_field_sep void ... |
void function ( Boolean arg0 ) { this . allowCoreThreadTimeOut = arg0 ; } | sets whether to allow core threads to timeout concode_field_sep Long keepAliveTime concode_elem_sep Integer maxQueueSize concode_elem_sep Boolean allowCoreThreadTimeOut concode_elem_sep Integer poolSize concode_elem_sep Boolean defaultProfile concode_elem_sep long serialVersionUID concode_elem_sep String id concode_ele... |
void function ( BundleContext arg0 ) { } | stops the ldap plug-in . concode_field_sep BundleContext bundleContext concode_elem_sep ResourceManagementService resourceService concode_elem_sep LdapService ldapService concode_field_sep LdapService getLdapService concode_elem_sep void start concode_elem_sep ResourceManagementService getResourceManagementService |
String function ( ) { return sequence ; } | gets the value of the sequence property . concode_field_sep String sequence concode_elem_sep PositionType end concode_elem_sep PositionType position concode_elem_sep PositionType begin concode_field_sep void setSequence concode_elem_sep PositionType getBegin concode_elem_sep PositionType getPosition concode_elem_sep vo... |
EnterStandbyResult function ( java . util . Collection < Activity > arg0 ) { setActivities ( arg0 ) ; return this ; } | the activities related to moving instances into standby mode . concode_field_sep com.amazonaws.internal.SdkInternalList<Activity> activities concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep java.util.List<Activity> getActivities concode_elem_sep EnterStandbyResult clone concode_elem_sep S... |
String function ( ) { return nodeIdentifier ; } | getter for the license node identifier . concode_field_sep HashSet<License> licenses concode_elem_sep Category category concode_elem_sep String nodeIdentifier concode_elem_sep HashSet<LicenseNode> licenseNodes concode_field_sep HashSet<License> getLicenses concode_elem_sep boolean equals concode_elem_sep Category getCa... |
int function ( ) { return _addressLocalService . getAddressesCount ( ) ; } | returns the number of addresses . concode_field_sep AddressLocalService _addressLocalService concode_field_sep java.util.List<com.liferay.portal.model.Address> getAddresses concode_elem_sep java.util.List<com.liferay.portal.model.Address> getAddresses concode_elem_sep java.util.List<com.liferay.portal.model.Address> ge... |
boolean function ( CheckResultSourceInterface arg0 , String arg1 , List < CheckResultInterface > arg2 , String arg3 , int arg4 ) { return validateMask ( arg0 , arg1 , arg2 , arg3 , LEVEL_FAILURE_DEFAULT ) ; } | fails if a field 's value does not match the given mask . concode_field_sep int LEVEL_FAILURE_DEFAULT concode_field_sep NotBlankValidator notBlankValidator concode_elem_sep void addGeneralRemark concode_elem_sep FileExistsValidator fileExistsValidator concode_elem_sep int getLevelOnFail concode_elem_sep void addOkRemar... |
org . apache . axis . encoding . Deserializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanDeserializer ( arg1 , arg2 , typeDesc ) ; } | get custom deserializer concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String real_name concode_elem_sep java.math.BigInteger id concode_elem_sep java... |
void function ( ) { try { if ( _connection != null ) { _connection . stop ( ) ; _connection . close ( ) ; } _connection = null ; _producer = null ; } catch ( Exception loc0 ) { _log . error ( "srini_string" + loc0 ) ; System . exit ( 1 ) ; } } | cleanup resources before exit concode_field_sep MessageProducer _producer concode_elem_sep InitialContextHelper _contextHelper concode_elem_sep Session _session concode_elem_sep String _defaultDestinationDir concode_elem_sep Logger _log concode_elem_sep String _destinationDir concode_elem_sep String _name concode_elem_... |
GridDataFactory function ( ) { return new GridDataFactory ( ) . fillDefaultsInternal ( ) ; } | creates a griddatafactory initialized with defaults . initial values are : align swt.fill , swt.fill exclude false grab false , false span 1,1 concode_field_sep GridData data concode_field_sep GridDataFactory fillDefaultsInternal concode_elem_sep GridDataFactory align concode_elem_sep GridDataFactory grab concode_elem_... |
int function ( ) { return this . request . getRemotePort ( ) ; } | the default behavior of this method is to return getremoteport 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 getRemoteHo... |
void function ( String arg0 ) { this . key = arg0 ; } | the key name of a tag . type : string default : none valid values : a-z , a-z , 0-9 , space , '' . : / = + \ - @ '' constraints : each key can be 1-128 characters long . required : yes concode_field_sep String value concode_elem_sep String key concode_field_sep String getKey concode_elem_sep String getValue concode_ele... |
JSONBuilder function ( String arg0 ) { appendCommaAndKey ( arg0 ) ; return beginMap ( ) ; } | begins a named object . concode_field_sep StringBuilder params concode_field_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_elem_sep JSONBuilder entry concode_ele... |
void function ( String arg0 ) { this . sender = arg0 ; } | set the sender concode_field_sep String receiver concode_elem_sep String sender concode_elem_sep String signature concode_elem_sep Timestamp deliveryTimestamp concode_elem_sep FermatMessagesStatus fermatMessagesStatus concode_elem_sep FermatMessageContentType fermatMessageContentType concode_elem_sep long serialVersion... |
void function ( ) { myEntityCtx = null ; } | unsetentitycontext concode_field_sep javax.ejb.EntityContext myEntityCtx concode_field_sep void ejbLoad concode_elem_sep java.util.Collection getUser concode_elem_sep void ejbPostCreate concode_elem_sep void ejbPostCreate concode_elem_sep void ejbStore concode_elem_sep java.lang.Integer getId concode_elem_sep void ejbA... |
void function ( @ NonNull String arg0 , Object ... arg1 ) { if ( mLevel . mLevel > Level . VERBOSE . mLevel ) { return ; } String loc0 = String . format ( arg0 , arg1 ) ; printMessage ( loc0 , System . out ) ; } | prints a verbose message . the output is done on system #out . this is displayed only if the logging com.android.common.utils.stdlogger.level is com.android.common.utils.stdlogger.level #verbose or higher . concode_field_sep int mLevel concode_field_sep Level getLevel concode_elem_sep void printMessage concode_elem_sep... |
void function ( RelNode arg0 ) { if ( listener != null ) { RelOptListener . RelDiscardedEvent loc0 = new RelOptListener . RelDiscardedEvent ( this , arg0 ) ; listener . relDiscarded ( loc0 ) ; } } | takes care of tracing and listener notification when a rel is discarded concode_field_sep Pattern INTEGER_PATTERN concode_elem_sep Executor executor concode_elem_sep MulticastRelOptListener listener concode_elem_sep Context context concode_elem_sep Set<Class<? extends RelNode>> classes concode_elem_sep Set<RelTrait> tr... |
JSONObject function ( ) { JSONObject loc0 = new JSONObject ( ) ; if ( entries . size ( ) > 0 ) { JSONObject loc1 = new JSONObject ( ) ; for ( Entry loc2 : entries ) { loc1 . put ( loc2 . pushId , loc2 . timestamp ) ; } loc0 . put ( "srini_string" , loc1 ) ; } loc0 . putOpt ( "srini_string" , lastTime ) ; return loc0 ; ... | serializes the history state to a json object using the format described in loadjson . concode_field_sep String pushId concode_elem_sep int maxHistoryLength concode_elem_sep String lastTime concode_elem_sep String TAG concode_elem_sep PriorityQueue<Entry> entries concode_elem_sep HashSet<String> pushIds concode_elem_se... |
void function ( ImmutableRoaringBitmap arg0 ) { this . roaringBitmap = arg0 ; this . hs = 0 ; this . pos = ( short ) ( this . roaringBitmap . highLowContainer . size ( ) - 1 ) ; this . nextContainer ( ) ; } | prepares a bitmap for iteration concode_field_sep ReverseMappeableBitmapContainerShortIterator bitmapIter concode_elem_sep short pos concode_elem_sep ReverseMappeableArrayContainerShortIterator arrIter concode_elem_sep ShortIterator iter concode_elem_sep ImmutableRoaringBitmap roaringBitmap concode_elem_sep ReverseMapp... |
byte [ ] function ( byte [ ] arg0 ) { byte [ ] loc0 = Arrays . copyOfRange ( arg0 , arg0 . length / 2 , arg0 . length ) ; if ( ( arg0 . length / 2d ) % 1 == 0.5 ) { loc0 = ByteHelper . rotateLeft ( loc0 , loc0 . length * 8 , 4 ) ; } return loc0 ; } | get the second half of the specified block . the significant bits are on the left . eg . when a block with an odd length is split in half , only the first 4 bits of the last byte are significant . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] rotateLeft concode_elem_sep void setBit concode_elem_sep... |
void function ( int arg0 , int arg1 ) { } | utility method for swapping cards in given indices concode_field_sep Card[] cardArray concode_field_sep int sequentialSearch concode_elem_sep int hashCode concode_elem_sep void insertAt concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep void sort concode_elem_sep int binarySearch concode_... |
NodeList function ( String arg0 , Object arg1 ) { return selectNodes ( arg0 , arg1 , null ) ; } | select all nodes that are selected by this xpath expression . if multiple nodes match , multiple nodes will be returned . nodes will be returned in document-order , concode_field_sep PlaceHolder placeHolder concode_field_sep String selectText concode_elem_sep String selectText concode_elem_sep Node selectNode concode_e... |
String function ( ) { ProxyPreference loc0 = getProxyDao ( ) . get ( ProxyKey . HTTP_USER ) ; return loc0 != null ? loc0 . getValue ( ) : StringUtils . EMPTY ; } | get the user for http proxy concode_field_sep ProxyDao proxyDao concode_elem_sep Logger LOG concode_elem_sep Set<DSSNotifier> notifiers concode_field_sep void setHttpsPort concode_elem_sep void setHttpPort concode_elem_sep void update concode_elem_sep void update concode_elem_sep void setHttpExcludedHosts concode_elem_... |
char function ( char [ ] arg0 , int arg1 ) { try { return arg0 [ arg1 ] ; } catch ( Throwable loc0 ) { return arg0 [ DefaultGroovyMethodsSupport . normaliseIndex ( arg1 , arg0 . length ) ] ; } } | get value from char using normalized index concode_field_sep PlaceHolder placeHolder concode_field_sep void fArraySet concode_elem_sep byte bArrayGet concode_elem_sep void zArraySet concode_elem_sep double dArrayGet concode_elem_sep boolean isOrigFArray concode_elem_sep void dArraySet concode_elem_sep boolean isOrigLAr... |
void function ( ) { if ( ! isScrollingPerformed ) { isScrollingPerformed = true ; listener . onStarted ( ) ; } } | starts scrolling concode_field_sep Handler animationHandler concode_elem_sep int MIN_DELTA_FOR_SCROLLING concode_elem_sep ScrollingListener listener concode_elem_sep SimpleOnGestureListener gestureListener concode_elem_sep float lastTouchedY concode_elem_sep boolean isScrollingPerformed concode_elem_sep int SCROLLING_D... |
void function ( SiteType arg0 ) { this . site = arg0 ; } | sets the value of the site property . concode_field_sep UserType owner concode_elem_sep XMLGregorianCalendar createdAt concode_elem_sep SiteType site concode_elem_sep String contentUrl concode_elem_sep String name concode_elem_sep ProjectType project concode_elem_sep String description concode_elem_sep String id concod... |
JerseyClientBuilder function ( Validator arg0 ) { this . validator = arg0 ; return this ; } | use the given validator instance . concode_field_sep JerseyClientConfiguration configuration concode_elem_sep List<Class<?>> providers concode_elem_sep Environment environment concode_elem_sep ObjectMapper objectMapper concode_elem_sep ExecutorService executorService concode_elem_sep ConnectorProvider connectorProvider... |
ClassNode function ( final byte [ ] arg0 , final int arg1 ) { final ClassNode loc0 = new ClassNode ( CompilationConfig . ASM_API_VERSION ) ; final ClassReader loc1 = new ClassReader ( arg0 ) ; loc1 . accept ( loc0 , arg1 ) ; return loc0 ; } | create a classnode from bytecode . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isClassBytesOk concode_elem_sep boolean isClassOk concode_elem_sep boolean isXadd concode_elem_sep void logClassFromBytes concode_elem_sep void logClass concode_elem_sep boolean isXconst |
AstarNode function ( final int arg0 , final int arg1 ) { AstarNode loc0 = mNodePool . acquire ( ) ; if ( loc0 != null ) { loc0 . reset ( arg0 , arg1 ) ; } else { loc0 = new AstarNode ( arg0 , arg1 ) ; } return loc0 ; } | check the pool first to either recycle or create a new node concode_field_sep String TAG concode_elem_sep boolean LOG_ENABLED concode_elem_sep AstarAdapter mAdapter concode_elem_sep ObjectPool<AstarNode> mNodePool concode_elem_sep boolean mClosedNodeRevision concode_field_sep List<AstarNode> extractPath concode_elem_se... |
void function ( ) { this . chart = createLineChart ( ) ; } | common test setup . concode_field_sep boolean flag concode_elem_sep JFreeChart chart concode_field_sep JFreeChart createLineChart concode_elem_sep void chartChanged concode_elem_sep void testSetSeriesURLGenerator concode_elem_sep void testReplaceDataset concode_elem_sep void testDrawWithNullInfo concode_elem_sep void t... |
SCCacheObject < T > function ( ) { fForce = true ; return this ; } | causes #get to always create a new object , regardless if there 's an existing object in the cache concode_field_sep SCCache fCache concode_elem_sep SCCacheObjectBuilder<T> fBuilder concode_elem_sep Class<? extends T> fTypeCheck concode_elem_sep boolean fIsFromCache concode_elem_sep SCDataBlock fBlock concode_elem_sep ... |
void function ( java . lang . String arg0 ) { _oAuthConsumer . setKeyType ( arg0 ) ; } | sets the key type of this o auth consumer . concode_field_sep OAuthConsumer _oAuthConsumer concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String g... |
void function ( XMLGregorianCalendar arg0 ) { this . orderDate = arg0 ; } | sets the value of the orderdate property . concode_field_sep USAddress billTo concode_elem_sep String comment concode_elem_sep Items items concode_elem_sep XMLGregorianCalendar orderDate concode_elem_sep USAddress shipTo concode_field_sep Items getItems concode_elem_sep USAddress getShipTo concode_elem_sep USAddress ge... |
Object function ( ) { return unlessCond ; } | the unless expression concode_field_sep String errorProperty concode_elem_sep String ifProperty concode_elem_sep boolean haltOnFail concode_elem_sep Object unlessCond concode_elem_sep String unlessProperty concode_elem_sep File destDir concode_elem_sep boolean skipNonTests concode_elem_sep Object ifCond concode_elem_se... |
double function ( double arg0 ) { return Gaussian . Phi ( arg0 ) ; } | returns standard gaussian cdf using taylor approximation . concode_field_sep PlaceHolder placeHolder concode_field_sep double cdfErrorAlgo concode_elem_sep double cdfErrorAlgo |
void function ( ) { this . internalCheckDependencies ( ) ; next . performChecks ( ) ; } | populates the faileddependencies collection with the dependencies that fail concode_field_sep DependencyCheck<D> next concode_elem_sep Collection<Collection<Dependency<D>>> result concode_elem_sep Collection<Dependency<D>> arcs concode_field_sep DependencyCheck<D> getNextCheck concode_elem_sep void internalCheckDepende... |
String function ( String arg0 ) { String loc0 = null ; SignatureEntry loc1 = null ; if ( sigEntries_ . containsKey ( arg0 ) ) { loc1 = sigEntries_ . get ( arg0 ) ; loc0 = loc1 . getValue ( ) ; } return loc0 ; } | this method returns a value for a given signature key . if the key equals to sig_norm and the value is null the version string of the current normalizer is returned ! concode_field_sep Logger logger concode_elem_sep Style defaultCaptionStyle_ concode_elem_sep Hashtable<String,SignatureEntry> sigEntries_ concode_elem_se... |
void function ( ) { } | this method resets the outgoing events . concode_field_sep long myVar concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep long integerEventValue concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_elem_sep boolean integerEvent concode_field_sep void init concode_elem_sep SCInterfa... |
byte [ ] function ( BytesRef arg0 ) { return decompress ( arg0 . arg0 , arg0 . offset , arg0 . length ) ; } | decompress the byte array previously returned by compress referenced by the provided bytesref concode_field_sep PlaceHolder placeHolder concode_field_sep String decompressString concode_elem_sep String decompressString concode_elem_sep String decompressString concode_elem_sep byte[] compress concode_elem_sep byte[] com... |
boolean function ( List arg0 , Collection arg1 ) { for ( Iterator loc0 = arg0 . iterator ( ) ; loc0 . hasNext ( ) ; ) { Region loc1 = ( Region ) loc0 . next ( ) ; if ( loc1 . arg1 . containsAll ( arg1 ) ) return true ; } return false ; } | returns true if any region in regions contains all the variables in vars . concode_field_sep BaseRegionComputer regionComputer concode_elem_sep boolean debug concode_elem_sep Logger logger concode_field_sep void addEdgesForOverlaps concode_elem_sep List computeOverlaps concode_elem_sep void addAllFactors concode_elem_s... |
byte [ ] function ( ) { return rawpayload . getBytes ( ) ; } | returns this header 's payload as a byte array . concode_field_sep Header next concode_elem_sep int EXTHOPBYHOP concode_elem_sep int EXTAH concode_elem_sep int UDP concode_elem_sep int EXTESP concode_elem_sep int IP4 concode_elem_sep int UNK concode_elem_sep BitBuf rawpayload concode_elem_sep int type concode_elem_sep ... |
String function ( @ NotNull String arg0 ) { return getHelperFile ( arg0 ) . getAbsolutePath ( ) ; } | find a resource by name under helper root . concode_field_sep Logger LOG concode_elem_sep String COMMUNITY_SUFFIX concode_field_sep File getHelperFile concode_elem_sep File getHelpersRoot concode_elem_sep String getPythonCommunityPath |
void function ( String arg0 ) { this . uri = arg0 ; } | sets the uri . concode_field_sep String xmlns concode_elem_sep String id concode_elem_sep String uri concode_field_sep void setXmlns concode_elem_sep void setId concode_elem_sep String getId concode_elem_sep String toString concode_elem_sep String getXmlns concode_elem_sep String getUri |
List < String > function ( String arg0 ) { List < String > loc0 = new ArrayList < String > ( ) ; for ( Purchase loc1 : mPurchaseMap . values ( ) ) { if ( loc1 . getItemType ( ) . equals ( arg0 ) ) loc0 . add ( loc1 . getSku ( ) ) ; } return loc0 ; } | returns a list of all owned product ids of a given type concode_field_sep Map<String,SkuDetails> mSkuMap concode_elem_sep Map<String,Purchase> mPurchaseMap concode_field_sep void erasePurchase concode_elem_sep void addSkuDetails concode_elem_sep Purchase getPurchase concode_elem_sep boolean hasDetails concode_elem_sep ... |
boolean function ( ) { return ( flags & CAN_CORPSE_CHECK_MASK ) > 0 ; } | for npc _ only concode_field_sep int calcMax concode_elem_sep int NO_PERSUASION_MASK concode_elem_sep int CAN_CORPSE_CHECK_MASK concode_elem_sep int NO_CORPSE_CHECK_MASK concode_elem_sep int level concode_elem_sep int NO_LEFT_ARM_MASK concode_elem_sep int baseSpell concode_elem_sep int flags concode_elem_sep int barter... |
void function ( GL10 arg0 ) { if ( mTexture != null ) { mTexture . delete ( arg0 ) ; } } | call when the surface has been destroyed concode_field_sep TextureReference mTexture concode_elem_sep Resources mRes concode_elem_sep Canvas mCanvas concode_elem_sep IntBuffer mTexCoords concode_elem_sep float mTexelWidth concode_elem_sep int mColor concode_elem_sep int mHeightInPixels concode_elem_sep int mFontSize co... |
String function ( ) { if ( act == null ) { return "srini_string" ; } else { return act ; } } | gets the value of the act property . concode_field_sep String tpl concode_elem_sep Boolean can concode_elem_sep String act concode_elem_sep String wta concode_elem_sep String wtd concode_elem_sep String planAct concode_elem_sep Short rdelay concode_elem_sep String plat concode_field_sep boolean isSetWtd concode_elem_se... |
String function ( Attributes . Name arg0 ) { return ( String ) map . get ( arg0 ) ; } | returns the value associated with the parameter attributes.name key . concode_field_sep Name MANIFEST_VERSION concode_elem_sep Name NAME concode_elem_sep Name SIGNATURE_VERSION concode_elem_sep Name SPECIFICATION_VENDOR concode_elem_sep Name CLASS_PATH concode_elem_sep Name EXTENSION_LIST concode_elem_sep Name IMPLEMEN... |
void function ( final ServletContext arg0 ) { this . context = arg0 ; this . loggerContext = prepareAndgetContextListener ( ) ; initialize ( ) ; } | prepared the logger context with the received servlet web context . because the context may be initialized twice , there are safety checks added to ensure we do n't create duplicate log environments . concode_field_sep String logConfigurationField concode_elem_sep AtomicBoolean INITIALIZED concode_elem_sep ServletConte... |
void function ( float arg0 ) { this . from = arg0 ; ea . add ( "srini_string" , arg0 ) ; } | sets 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... |
String function ( int [ ] arg0 , String arg1 , String arg2 ) { int loc0 = arg0 . length ; StringBuffer loc1 = new StringBuffer ( loc0 * 8 ) ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { loc1 . append ( arg2 ) ; loc1 . append ( arg0 [ loc2 ] ) ; loc1 . append ( arg2 ) ; if ( loc2 + 1 < loc0 ) { loc1 . append ( arg1 )... | builds a csv list from the specified int , separator string and quote string . all arguments are assumed to be non-null . separates each list element with the value of the separator argument . prepends and appends each element with the value of the quote argument . concode_field_sep PlaceHolder placeHolder concode_fiel... |
AsyncContext function ( ) { return asyncContextValueRef . get ( ) . get ( ) ; } | get the asynchronous context associated with this request processing context . may return null if no asynchronous context has been initialized in this request processing context yet . concode_field_sep ContainerRequest request concode_elem_sep RequestEventBuilder monitoringEventBuilder concode_elem_sep RespondingContex... |
String function ( ) { TimeZone loc0 = TimeZone . getTimeZone ( id ) ; Calendar loc1 = Calendar . getInstance ( loc0 ) ; if ( loc0 . inDaylightTime ( loc1 . getTime ( ) ) ) { return "srini_string" ; } return "srini_string" ; } | gets the state of daylight time in this time zone . concode_field_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep String getUseDaylightTime concode_elem_sep String getLocation concode_elem_sep boolean isRelevantCompone... |
void function ( final String arg0 ) { getInternalState ( ) . put ( "srini_string" , arg0 ) ; } | sets the product this bug is associated with . note that anonexistent product name will result in an error from bugzilla upon bug submission . concode_field_sep Map<String,Object> internalState concode_field_sep Map<Object,Object> getParameterMap concode_elem_sep Map<String,Object> getInternalState concode_elem_sep Str... |
Enumeration < String > function ( ) { AttributeNameEnumeration loc0 = new AttributeNameEnumeration ( ) ; loc0 . addElement ( NOT_BEFORE ) ; loc0 . addElement ( NOT_AFTER ) ; return ( loc0 . loc0 ( ) ) ; } | return an enumeration of names of attributes existing within this attribute . concode_field_sep String NAME concode_elem_sep Date notAfter concode_elem_sep String IDENT concode_elem_sep String NOT_AFTER concode_elem_sep String NOT_BEFORE concode_elem_sep Date notBefore concode_elem_sep long YR_2050 concode_field_sep vo... |
String function ( ) { return address ; } | returns the ip address or fqdn of this server . concode_field_sep byte[] password concode_elem_sep String address concode_elem_sep int port concode_elem_sep String PROTOCOL_TCP concode_elem_sep String PROTOCOL_SSLTCP concode_elem_sep int MAX_STUN_SERVER_COUNT concode_elem_sep boolean isOldTurn concode_elem_sep String P... |
byte [ ] function ( ) { return packet ; } | gets the rtp packet concode_field_sep int packet_len concode_elem_sep byte[] packet concode_field_sep long getSscr concode_elem_sep void setSscr concode_elem_sep boolean hasPadding concode_elem_sep void setExtension concode_elem_sep int getSequenceNumber concode_elem_sep boolean hasMarker concode_elem_sep void setBit c... |
void function ( int arg0 ) { isTrue ( arg0 >= 0 , "srini_string" ) ; this . socketTimeout = arg0 ; } | set socket timeout maximum period inactivity between two consecutive data packets milliseconds . the default value is 60 seconds 60000 ms . set to 0 for infinite . concode_field_sep int connectionTimeout concode_elem_sep int socketTimeout concode_elem_sep int maxConnections concode_elem_sep int connectionRequestTimeout... |
Header [ ] function ( String arg0 ) { ArrayList loc0 = new ArrayList ( ) ; for ( int loc1 = 0 ; loc1 < headers . size ( ) ; loc1 ++ ) { Header loc2 = ( Header ) headers . get ( loc1 ) ; if ( loc2 . getName ( ) . equalsIgnoreCase ( arg0 ) ) { loc0 . add ( loc2 ) ; } } return ( Header [ ] ) loc0 . toArray ( new Header [ ... | gets all of the headers with the given name . the returned array maintains the relative order in which the headers were added . header name comparison is case insensitive . concode_field_sep List headers concode_elem_sep long serialVersionUID concode_field_sep Header getCondensedHeader concode_elem_sep void setHeaders ... |
int function ( ) { return type ; } | get the index into the constant pool of the type of the method . concode_field_sep ClassInfo classInfo concode_elem_sep Code code concode_elem_sep int name concode_elem_sep boolean DEBUG concode_elem_sep int modifiers concode_elem_sep int type concode_elem_sep Exceptions exceptions concode_elem_sep Attribute[] attrs co... |
void function ( ) { try ( InputStream loc0 = getClassResource ( ) . openStream ( ) ) { IOHelper . readBytes ( loc0 , 1 ) ; Assert . fail ( ) ; } } | test iohelper #readbytes inputstream , int function . concode_field_sep String TEST_DIR_ZIP concode_elem_sep Path TEST_DIR concode_field_sep void testCollectDirectoryFiles concode_elem_sep void testCopyStream concode_elem_sep URL getClassResource concode_elem_sep void deleteTestFiles concode_elem_sep void testDeleteDir... |
int function ( ) { return this . statementId ; } | returns the id of the statement in use when this event was created . concode_field_sep byte TYPE_QUERY concode_elem_sep String hostName concode_elem_sep byte TYPE_OBJECT_CREATION concode_elem_sep String catalog concode_elem_sep int catalogIndex concode_elem_sep String durationUnits concode_elem_sep byte TYPE_EXECUTE co... |
Reference function ( ) { log . trace ( "srini_string" ) ; return reference ; } | get the reference instance . concode_field_sep Reference reference concode_elem_sep MultipleManagedConnectionFactory1 mcf concode_elem_sep Logger log concode_elem_sep ConnectionManager connectionManager concode_elem_sep long serialVersionUID concode_field_sep Connection getConnection concode_elem_sep Connection getConn... |
int function ( ) { return 0 ; } | returns maximum limit on number of active concurrent connections concode_field_sep PlaceHolder placeHolder concode_field_sep String getEISProductVersion concode_elem_sep String getUserName concode_elem_sep String getEISProductName |
Response function ( Script arg0 ) { PoolContainer loc0 = poolManager . getContainer ( poolKey ) ; return Response . ok ( new SimpleResponse ( "srini_string" , Anonymizer . tryScript ( loc0 , arg0 ) ) ) . build ( ) ; } | try a script . concode_field_sep JdbcTemplate template concode_elem_sep int poolKey concode_elem_sep PoolManager poolManager concode_elem_sep Logger logger concode_elem_sep SessionFactory sessionFactory concode_field_sep Response modifyScript concode_elem_sep Response listScripts |
void function ( boolean arg0 ) { disabled = arg0 ; } | sets the disable output flag . concode_field_sep OutputStream output concode_elem_sep String LINE_SEPARATOR concode_elem_sep boolean disabled concode_field_sep void printLine concode_elem_sep void printLine concode_elem_sep void printLine concode_elem_sep void print concode_elem_sep void print concode_elem_sep void for... |
Response function ( ) { return cacheResponse ; } | returns the raw response received from the cache . will be null if this response did n't use the cache . for conditional get requests the cache response and network response may both be non-null . the body of the returned response should not be read . concode_field_sep Request request concode_elem_sep Handshake handsha... |
int function ( ) { return cache == null ? 0 : cache . getMemoryUsage ( ) ; } | returns the number of bytes in memory used by this object . concode_field_sep CompactLabelToOrdinal cache concode_elem_sep ReadWriteLock lock concode_elem_sep float loadFactor concode_elem_sep int initialCapcity concode_elem_sep int numHashArrays concode_field_sep int get concode_elem_sep void clear concode_elem_sep bo... |
Rectangle2D function ( ) { return this . chartArea ; } | returns the area in which the chart was drawn . concode_field_sep EntityCollection entities concode_elem_sep long serialVersionUID concode_elem_sep PlotRenderingInfo plotInfo concode_elem_sep Rectangle2D chartArea concode_field_sep void setChartArea concode_elem_sep void setEntityCollection concode_elem_sep void writeO... |
OAuth2Version function ( ) { return OAuth2Version . BEARER ; } | returns the version of oauth2 the api implements . by default , returns oauth2version #bearer indicating versions of oauth2 that apply the bearer token scheme.subclasses may override to return another version . concode_field_sep RestTemplate restTemplate concode_elem_sep String accessToken concode_field_sep boolean isA... |
boolean function ( ) { return myIsDefaultIcon ; } | returns true if the action has an internal , not user-customized icon . concode_field_sep Presentation myTemplatePresentation concode_elem_sep boolean myIsDefaultIcon concode_elem_sep boolean myEnabledInModalContext concode_elem_sep ShortcutSet myShortcutSet concode_elem_sep boolean myWorksInInjected concode_elem_sep A... |
int function ( ) { return this . itemCount ; } | returns the item count . concode_field_sep boolean includeUpperBound concode_elem_sep double upperBound concode_elem_sep double lowerBound concode_elem_sep boolean includeLowerBound concode_elem_sep long serialVersionUID concode_elem_sep int itemCount concode_field_sep boolean accepts concode_elem_sep boolean equals co... |
List < ZWaveDbAssociationGroup > function ( ) { if ( LoadProductFile ( ) == null ) { return null ; } return productFile . getAssociations ( ) ; } | returns the associations list . findproduct must be called before this method . concode_field_sep String productVersion concode_elem_sep ZWaveDbRoot database concode_elem_sep Logger logger concode_elem_sep ZWaveDbProduct selProduct concode_elem_sep ZWaveDbManufacturer selManufacturer concode_elem_sep List<ZWaveDbManufa... |
void function ( int arg0 ) { this . result = arg0 ; } | sets the value of the result property . concode_field_sep int result concode_field_sep int getResult |
void function ( PluginFileSystem arg0 ) { this . pluginFileSystem = arg0 ; } | usesfilesystem interface implementation . concode_field_sep ServiceStatus serviceStatus concode_elem_sep UUID pluginId concode_elem_sep EventManager eventManager concode_elem_sep PluginFileSystem pluginFileSystem concode_elem_sep List<FermatEventListener> listenersAdded concode_field_sep void resume concode_elem_sep vo... |
void function ( ) { select ( ) ; serverAdapterItem . doubleClick ( ) ; new ServerEditor ( getLabel ( ) ) . activate ( ) ; } | opens overview of a server adapter which is usually opened by double click on a server adapter . concode_field_sep TreeViewerHandler treeViewerHandler concode_elem_sep String resourceKind concode_elem_sep Version version concode_elem_sep String applicationName concode_elem_sep TreeItem serverAdapterItem concode_field_s... |
InstanceExportDetails function ( ) { return this . instanceExportDetails ; } | information about the instance to export . concode_field_sep String exportTaskId concode_elem_sep ExportToS3Task exportToS3Task concode_elem_sep String description concode_elem_sep InstanceExportDetails instanceExportDetails concode_elem_sep String state concode_elem_sep String statusMessage concode_field_sep ExportToS... |
DBMaker function ( ) { cacheType = DBCache . SOFT ; return this ; } | use softreference for cache . this cache greatly improves performance if you have enoguth memory . instances in cache are garbage collected when memory gets low concode_field_sep byte cacheType concode_elem_sep String password concode_elem_sep boolean useRandomAccessFile concode_elem_sep boolean autoDefrag concode_elem... |
int function ( ) { return mColumn ; } | get the column this frame points to in the file returned by #getfile . concode_field_sep int mLine concode_elem_sep String mFileName concode_elem_sep String mFile concode_elem_sep int mColumn concode_elem_sep String mMethod concode_field_sep StackFrame[] convertJavaStackTrace concode_elem_sep int getLine concode_elem_s... |
ServiceConfiguration function ( Object arg0 ) { this . affKey = arg0 ; return this ; } | sets affinity key used for key-to-node affinity calculation . this parameter is optional and is set only when deploying service based on key-affinity . concode_field_sep Service svc concode_elem_sep int totalCnt concode_elem_sep String cacheName concode_elem_sep String name concode_elem_sep int maxPerNodeCnt concode_el... |
void function ( String arg0 ) { this . urlPatterns . add ( arg0 ) ; } | adds a url pattern to the list of those mapped to this filter concode_field_sep Log log concode_elem_sep Module module concode_elem_sep List<String> urlPatterns concode_elem_sep String filterName concode_elem_sep List<String> servletNames concode_elem_sep long serialVersionUID concode_field_sep Module getModule concode... |
Unlock_Order_Response . Extn function ( ) { return extn ; } | gets the value of the extn property . concode_field_sep Unlock_Order_Response.Order.Extn extn concode_elem_sep String enterpriseCode concode_elem_sep String orderLines concode_elem_sep String documentType concode_elem_sep String extnDerivedTransactionType concode_elem_sep String value concode_elem_sep Integer extnLockI... |
Boolean function ( ) { if ( networkEnabled ) return true ; if ( gpsEnabled ) { if ( counts <= 4 ) { return false ; } if ( satCount < min_gps_sat_count ) { if ( counts >= 40 && satCount >= 3 ) { return true ; } return false ; } } return true ; } | determine if continue to try to find best location concode_field_sep Location bestLocation concode_elem_sep LocationResultListener locationResult concode_elem_sep int counts concode_elem_sep Runnable showTime concode_elem_sep Handler handler concode_elem_sep GpsStatus.Listener gpsStatusListener concode_elem_sep Locatio... |
int function ( int arg0 ) { return arg0 | _mask ; } | sets the bits . concode_field_sep int _mask concode_elem_sep int _shift_count concode_field_sep byte clearByte concode_elem_sep byte setByte concode_elem_sep short setShortValue concode_elem_sep boolean isSet concode_elem_sep int clear concode_elem_sep int getRawValue concode_elem_sep short setShort concode_elem_sep sh... |
void function ( PObject arg0 ) { changes . remove ( arg0 . getReference ( ) ) ; } | remove a pobject from the cache . concode_field_sep PTrailer trailer concode_elem_sep int nextReferenceNumber concode_elem_sep Logger logger concode_elem_sep HashMap<Reference,PObject> changes concode_field_sep boolean contains concode_elem_sep int compare concode_elem_sep boolean isChanged concode_elem_sep Iterator<PO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.