idx
int64
0
25k
question
stringlengths
71
7.19k
target
stringlengths
20
663
14,700
overwrites the file by the given string . concode_field_sep File file concode_field_sep String head concode_elem_sep String readTrim concode_elem_sep String read concode_elem_sep String fastTail concode_elem_sep String fastTail concode_elem_sep boolean exists concode_elem_sep String toString concode_elem_sep Iterable<S...
void function ( String arg0 ) { file . getParentFile ( ) . mkdirs ( ) ; AtomicFileWriter loc0 = new AtomicFileWriter ( file ) ; try { loc0 . write ( arg0 ) ; loc0 . commit ( ) ; } finally { loc0 . abort ( ) ; } }
14,701
gets the second value of the date . note if the original date value can not be parsed , this method returns the unparsed string . concode_field_sep int OFFSET_HH concode_elem_sep int OFFSET_MM concode_elem_sep String month concode_elem_sep int OFFSET_SS concode_elem_sep String second concode_elem_sep int OFFSET_YYYY co...
String function ( ) { return second ; }
14,702
convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep List<List<Long>> arrayArrayOfInteger concode_elem_sep List<String> arrayOfString concode_elem_sep List<List<ReadOnlyFirst>> arrayArrayOfModel concode_field_sep void setArrayArrayOfInteger concode_elem_sep vo...
String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; }
14,703
get the encoded length if an integer is stored in a variable-length format concode_field_sep PlaceHolder placeHolder concode_field_sep int writeCompressedString concode_elem_sep String[] readCompressedStringArray concode_elem_sep int decodeVIntSize concode_elem_sep void writeStringArray concode_elem_sep int readVInt co...
int function ( long arg0 ) { if ( arg0 >= - 112 && arg0 <= 127 ) { return 1 ; } if ( arg0 < 0 ) { arg0 ^= - 1L ; } int loc0 = Long . SIZE - Long . numberOfLeadingZeros ( arg0 ) ; return ( loc0 + 7 ) / 8 + 1 ; }
14,704
returns a list of uids for the given collection of identifiableobjects . concode_field_sep String SEPARATOR concode_elem_sep SimpleDateFormat LONG_DATE_FORMAT concode_elem_sep String SEPARATOR_JOIN concode_elem_sep Map<String,String> CLASS_ALIAS concode_field_sep List<T> removeDuplicates concode_elem_sep List<String> g...
List < String > function ( Collection < T > arg0 ) { return arg0 != null ? arg0 . stream ( ) . map ( o -> o . getUid ( ) ) . collect ( Collectors . toList ( ) ) : null ; }
14,705
does this response contain a dominant color ? concode_field_sep int color concode_elem_sep boolean generated concode_elem_sep boolean fromMemory concode_elem_sep Bitmap bitmap concode_elem_sep boolean fromNetwork concode_elem_sep String url concode_elem_sep boolean fromDisk concode_field_sep void updateBitmap concode_e...
boolean function ( ) { return color != 0 ; }
14,706
returns indentation size as number of characters ' ' and ' \ t ' in the beginning of a line . it does n't perform any expansion of tabs . concode_field_sep String TWO_SPACES concode_elem_sep String FOUR_SPACES concode_field_sep PyStatementList getAnchorStatementList concode_elem_sep String getLineIndent concode_elem_se...
int function ( @ NotNull CharSequence arg0 ) { }
14,707
gets the name of the module from which the driver was loaded , if it was loaded from the module path . concode_field_sep ModuleIdentifier moduleName concode_elem_sep String driverClassName concode_elem_sep String xaDataSourceClassName concode_elem_sep String driverName concode_elem_sep String dataSourceClassName concod...
ModuleIdentifier function ( ) { return moduleName ; }
14,708
open a file from a string concode_field_sep IParameterHolder NULL_PARAMETER_HOLDER concode_elem_sep IParameterHolder[] EMPTY_ARRAY concode_elem_sep Class THIS_CLASS concode_field_sep Float getFloatParameter concode_elem_sep Float getFloatParameter concode_elem_sep Float getFloatParameter concode_elem_sep Float getFloat...
InputStream function ( final String arg0 , final Object ... arg1 ) { return null ; }
14,709
sets the side . concode_field_sep boolean comma concode_elem_sep SideType side concode_elem_sep String name concode_elem_sep long serialVersionUID concode_field_sep void setName concode_elem_sep void setComma concode_elem_sep String getName concode_elem_sep boolean isComma concode_elem_sep int hashCode concode_elem_sep...
void function ( final SideType arg0 ) { this . side = arg0 ; }
14,710
will check if the x , z position specified is alright to be set as the map spawn point concode_field_sep boolean isHellWorld concode_elem_sep boolean hasNoSky concode_elem_sep int dimensionId concode_elem_sep float[] moonPhaseFactors concode_elem_sep float[] colorsSunriseSunset concode_elem_sep WorldType terrainType co...
boolean function ( int arg0 , int arg1 ) { return this . worldObj . getTopBlock ( arg0 , arg1 ) == Blocks . grass ; }
14,711
retrieves the designated parameter 's sql type . concode_field_sep int[] types concode_elem_sep int[] modes concode_elem_sep int parameterCount concode_elem_sep int[] nullability concode_elem_sep Result.ResultMetaData rmd concode_elem_sep boolean[] isIdentity concode_elem_sep String[] classNames concode_field_sep int g...
int function ( int arg0 ) { int loc0 ; checkRange ( arg0 ) ; loc0 = types [ -- arg0 ] ; return loc0 == Types . VARCHAR_IGNORECASE ? Types . VARCHAR : loc0 ; }
14,712
give an invalid value wrong type for the field concode_field_sep ExecHandler handler concode_elem_sep ObjectName oName concode_field_sep void compositeWithSetField concode_elem_sep MBeanServerConnection getMBeanServer concode_elem_sep void arrayOfComposites concode_elem_sep void invalidField concode_elem_sep void unreg...
void function ( ) { JmxExecRequest loc0 = new JmxRequestBuilder ( EXEC , oName ) . operation ( "srini_string" ) . arguments ( "srini_string" ) . build ( ) ; handler . handleRequest ( getMBeanServer ( ) , loc0 ) ; }
14,713
create an instance of purgerelationship concode_field_sep PlaceHolder placeHolder concode_field_sep ListDatastreams createListDatastreams concode_elem_sep ResumeFindObjectsResponse createResumeFindObjectsResponse concode_elem_sep GetRelationships createGetRelationships concode_elem_sep ModifyObject createModifyObject c...
PurgeRelationship function ( ) { return new PurgeRelationship ( ) ; }
14,714
util method to write an attribute without the ns prefix concode_field_sep org.apache.commons.logging.Log log concode_elem_sep javax.xml.namespace.QName MY_QNAME concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep void writeQName concode_elem...
void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , javax . xml . stream . XMLStreamWriter arg3 ) { if ( arg0 . equals ( "srini_string" ) ) { arg3 . writeAttribute ( arg1 , arg2 ) ; } else { arg3 . writeAttribute ( registerPrefix ( arg3 , arg0 ) , arg0 , arg1 , arg2 ) ; }...
14,715
srgb -- > linear rgb use the gamma curve gamma = 2.4 in srgb concode_field_sep PlaceHolder placeHolder concode_field_sep float[] toCIEXYZ concode_elem_sep float[] toRGB concode_elem_sep float[] fromCIEXYZ
float [ ] function ( float [ ] arg0 ) { float [ ] loc0 = new float [ 3 ] ; for ( int loc1 = 0 ; loc1 < 3 ; loc1 ++ ) { float loc2 = arg0 [ loc1 ] ; if ( loc2 < 0 ) loc2 = 0f ; if ( loc2 > 1 ) loc2 = 1f ; if ( loc2 <= 0.03928f ) loc0 [ loc1 ] = ( float ) ( loc2 / 12.92 ) ; else loc0 [ loc1 ] = ( float ) ( Math . exp ( 2...
14,716
sets sticky bit . if this method is not called , then the builder assumes false . concode_field_sep String owner concode_elem_sep List<AclEntry> entries concode_elem_sep boolean stickyBit concode_elem_sep List<AclEntry> entries concode_elem_sep String group concode_field_sep Builder owner concode_elem_sep Builder stick...
Builder function ( boolean arg0 ) { this . stickyBit = arg0 ; return this ; }
14,717
tests if the interior of the shape entirely contains the specified rectangle2d . concode_field_sep GeneralPath gp concode_field_sep void set concode_elem_sep PathIterator getPathIterator concode_elem_sep PathIterator getPathIterator concode_elem_sep boolean intersects concode_elem_sep boolean intersects concode_elem_se...
boolean function ( Rectangle2D arg0 ) { return gp . contains ( arg0 ) ; }
14,718
creates closeablehttpclient instance that implementsthe most basic http protocol support . concode_field_sep PlaceHolder placeHolder concode_field_sep HttpClientBuilder custom concode_elem_sep CloseableHttpClient createSystem concode_elem_sep CloseableHttpClient createDefault
CloseableHttpClient function ( final HttpClientConnectionManager arg0 ) { return new MinimalHttpClient ( arg0 ) ; }
14,719
returns the acceptor 's address for this channel binding . null is returned if the address has not been set . concode_field_sep InetAddress initAddr concode_elem_sep InetAddress acceptAddr concode_elem_sep byte[] appData concode_field_sep InetAddress getInitiatorAddress concode_elem_sep int hashCode concode_elem_sep by...
InetAddress function ( ) { return acceptAddr ; }
14,720
control wsdl validation . concode_field_sep File output concode_elem_sep String wsdlVersion concode_elem_sep UriPrefixPair[] packagePrefixes concode_elem_sep String prefix concode_elem_sep File catalog concode_elem_sep File dependencies[] concode_elem_sep String uri concode_elem_sep String validate concode_field_sep vo...
void function ( String arg0 ) { this . validate = arg0 ; }
14,721
called when ` what ' element does n't belong to the selected scope . concode_field_sep PlaceHolder placeHolder concode_field_sep void onInitialize concode_elem_sep void onReferencesBuild
void function ( PsiElement arg0 , PsiElement arg1 , boolean arg2 ) { }
14,722
determines the number of error correction codewords for a specified error correction level . concode_field_sep int[][] EC_COEFFICIENTS concode_field_sep int getRecommendedMinimumErrorCorrectionLevel concode_elem_sep String generateErrorCorrection
int function ( int arg0 ) { if ( arg0 < 0 || arg0 > 8 ) { throw new IllegalArgumentException ( "srini_string" ) ; } return 1 << ( arg0 + 1 ) ; }
14,723
associate a textual description with this trigger . concode_field_sep JobDetail jobDetail concode_elem_sep int misfireInstruction concode_elem_sep TimeZone timeZone concode_elem_sep String description concode_elem_sep int priority concode_elem_sep JobDataMap jobDataMap concode_elem_sep long startDelay concode_elem_sep ...
void function ( String arg0 ) { this . description = arg0 ; }
14,724
returns the next tls mode to try . concode_field_sep int nextSocketAddressIndex concode_elem_sep List<Route> postponedRoutes concode_elem_sep int TLS_MODE_MODERN concode_elem_sep Address address concode_elem_sep Iterator<Proxy> proxySelectorProxies concode_elem_sep ConnectionPool pool concode_elem_sep Dns dns concode_e...
int function ( ) { if ( nextTlsMode == TLS_MODE_MODERN ) { nextTlsMode = TLS_MODE_COMPATIBLE ; return TLS_MODE_MODERN ; } else if ( nextTlsMode == TLS_MODE_COMPATIBLE ) { nextTlsMode = TLS_MODE_NULL ; return TLS_MODE_COMPATIBLE ; } else { throw new AssertionError ( ) ; } }
14,725
returns the css classes of the resource icon for the given resource type name . use this function , if the resource type is known , but not the filename . if the filename is available use cmsiconutil #getresourceiconclasses string , string , boolean concode_field_sep String TYPE_ICON_CLASS concode_elem_sep String SMALL...
String function ( String arg0 , boolean arg1 ) { StringBuffer loc0 = new StringBuffer ( TYPE_ICON_CLASS ) ; loc0 . append ( "srini_string" ) . append ( getResourceTypeIconClass ( arg0 , arg1 ) ) ; return loc0 . toString ( ) ; }
14,726
set a new filled concode_field_sep java.util.Date dateCreated concode_elem_sep String color concode_elem_sep boolean filled concode_field_sep double getPerimeter concode_elem_sep void setColor concode_elem_sep java.util.Date getDateCreated concode_elem_sep String getColor concode_elem_sep boolean isFilled concode_elem_...
void function ( boolean arg0 ) { this . filled = arg0 ; }
14,727
calculates the greatest common divisor of two numbers concode_field_sep PlaceHolder placeHolder concode_field_sep int lcm concode_elem_sep int lcm
int function ( int arg0 , int arg1 ) { if ( arg0 % arg1 == 0 ) return arg1 ; return gcd ( arg1 , arg0 % arg1 ) ; }
14,728
create an instance of block concode_field_sep QName _JavaClass_QNAME concode_elem_sep QName _JavaDataType_QNAME concode_elem_sep QName _Field_QNAME concode_elem_sep QName _Statement_QNAME concode_elem_sep QName _JavaPackage_QNAME concode_elem_sep QName _JavaEvent_QNAME concode_elem_sep QName _Method_QNAME concode_elem_...
Block function ( ) { return new Block ( ) ; }
14,729
grab the jobtracker system directory path where job-specific files will be placed . concode_field_sep Path sysDir concode_elem_sep Path jobHistoryDir concode_elem_sep ClientProtocolProvider clientProtocolProvider concode_elem_sep UserGroupInformation ugi concode_elem_sep Log LOG concode_elem_sep ServiceLoader<ClientPro...
Path function ( ) { if ( sysDir == null ) { sysDir = new Path ( client . getSystemDir ( ) ) ; } return sysDir ; }
14,730
returns the osgi service identifier . concode_field_sep LayoutSetPrototypeService _service concode_field_sep com.liferay.portal.kernel.model.LayoutSetPrototype getLayoutSetPrototype concode_elem_sep com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype concode_elem_sep com.liferay.portal.kernel.mo...
java . lang . String function ( ) { return getService ( ) . getOSGiServiceIdentifier ( ) ; }
14,731
an example of a method - replace this comment with your own concode_field_sep int x concode_field_sep placeholderType placeHolder
int function ( int arg0 ) { return x + arg0 ; }
14,732
saves the @param array to file : @param filename concode_field_sep Formatter formatter concode_field_sep void printDoubleArrayToFile concode_elem_sep void print2DTabbedDoubleArrayToConole concode_elem_sep void printFloatArrayToFile concode_elem_sep void printFloatArrayToConole concode_elem_sep void print2DDoubleArrayTo...
void function ( String [ ] arg0 , String arg1 ) { try { formatter = new Formatter ( arg1 ) ; } catch ( FileNotFoundException loc0 ) { System . err . println ( "srini_string" + arg1 ) ; return ; } for ( int loc0 = 0 ; loc0 < arg0 . length ; loc0 ++ ) { formatter . format ( "srini_string" , arg0 [ loc0 ] ) ; } formatter ...
14,733
log a message with the error level . concode_field_sep ALogger logger concode_elem_sep play.api.Logger logger concode_field_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void trace concode_elem_sep vo...
void function ( String arg0 , Object ... arg1 ) { logger . error ( arg0 , arg1 ) ; }
14,734
print all the levels of the structure in the standard output concode_field_sep int numberOfFrequentSequences concode_elem_sep String string concode_elem_sep List<List<Pattern>> levels concode_field_sep List<Pattern> getLevel concode_elem_sep int size concode_elem_sep String toStringToFile concode_elem_sep void addSeque...
void function ( ) { System . out . println ( toString ( ) ) ; }
14,735
gets the value of the arg0 property . concode_field_sep String arg0 concode_field_sep void setArg0
String function ( ) { return arg0 ; }
14,736
returns the list of java module builder extensions contributed by this plugin . concode_field_sep PlaceHolder placeHolder concode_field_sep List<? extends TargetBuilder<?,?>> createBuilders concode_elem_sep List<? extends BuildTargetType<?>> getTargetTypes
List < ? extends ModuleLevelBuilder > function ( ) { return Collections . emptyList ( ) ; }
14,737
readobject concode_field_sep TreePath leadPath concode_elem_sep String SELECTION_MODE_PROPERTY concode_elem_sep TreePath[] selection concode_elem_sep EventListenerList listenerList concode_elem_sep DefaultListSelectionModel listSelectionModel concode_elem_sep SwingPropertyChangeSupport changeSupport concode_elem_sep in...
void function ( ObjectInputStream arg0 ) { }
14,738
supported entity type . concode_field_sep int DEFAULT_CHUNK_SIZE concode_field_sep void writeData
Class < File > function ( ) { return File . class ; }
14,739
sets the display form . concode_field_sep List<RoleTypeClient> role concode_elem_sep String xmlLang concode_elem_sep List<String> description concode_elem_sep NameTypeAttributeClient type concode_elem_sep List<NamePartTypeClient> namePart concode_elem_sep List<String> displayForm concode_elem_sep String script concode_...
void function ( List < String > arg0 ) { this . displayForm = arg0 ; }
14,740
reinitialise . concode_field_sep int bufpos concode_elem_sep boolean prevCharIsLF concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep int tabSize concode_elem_sep java.io.Reader inputStream concode_elem_sep int line concode_elem_sep int bufcolumn[] concode_elem_sep int bufline[] concode_elem_se...
void function ( java . io . InputStream arg0 , String arg1 ) { ReInit ( arg0 , arg1 , 1 , 1 , 4096 ) ; }
14,741
implements operationsetvideotelephony #setlocalvideoallowed call , boolean . modifies the local media setup to reflect the requested setting for the streaming of the local video and then re-invites all callpeers to re-negotiate the modified media setup . concode_field_sep T basicTelephony concode_elem_sep U parentProvi...
void function ( Call arg0 , boolean arg1 ) { MediaAwareCall < ? , ? , ? > loc0 = ( MediaAwareCall < ? , ? , ? > ) arg0 ; MediaUseCase loc1 = MediaUseCase . CALL ; loc0 . setLocalVideoAllowed ( arg1 , loc1 ) ; }
14,742
convert utc date to local time zone . concode_field_sep long MILLIS_PER_SECOND concode_elem_sep long MILLIS_PER_MINUTE concode_elem_sep long MILLIS_PER_HOUR concode_elem_sep int SECONDS_PER_MINUTE concode_elem_sep Calendar sUtcCalendarInstance concode_elem_sep int MINUTES_PER_HOUR concode_elem_sep Calendar sLocalCalend...
Date function ( Date arg0 ) { Calendar loc0 = getNewUtcCalendar ( ) ; loc0 . setTimeInMillis ( arg0 . getTime ( ) ) ; loc0 . setTimeZone ( TimeZone . getDefault ( ) ) ; return loc0 . getTime ( ) ; }
14,743
returns the next lognode in the linked list . concode_field_sep LogNode mNext concode_field_sep void println concode_elem_sep void setNext
LogNode function ( ) { return mNext ; }
14,744
create an empty project if this project does not exist . concode_field_sep PlaceHolder placeHolder concode_field_sep IProject getTargetProject concode_elem_sep void refreshTargetProject concode_elem_sep File getTargetFolder concode_elem_sep FeatureConfiguration getOutletFeatureConfiguration concode_elem_sep boolean get...
boolean function ( IProject arg0 ) { if ( ! arg0 . exists ( ) ) { try { NullProgressMonitor loc0 = new NullProgressMonitor ( ) ; arg0 . create ( loc0 ) ; arg0 . open ( loc0 ) ; return true ; } catch ( CoreException loc0 ) { loc0 . printStackTrace ( ) ; } } return false ; }
14,745
init the default delegate transformer . concode_field_sep PrincipalNameTransformer delegateTransformer concode_elem_sep boolean toUpperCase concode_field_sep String transform concode_elem_sep void setToUpperCase
void function ( ) { if ( this . delegateTransformer == null ) { this . delegateTransformer = formUserId -> formUserId ; } }
14,746
used to setup an arena if the command was sent before by the sender . concode_field_sep SpectatorPlus p concode_field_sep boolean handleSetup concode_elem_sep void onBlockBreak
void function ( BlockDamageEvent arg0 ) { if ( handleSetup ( arg0 . getPlayer ( ) , arg0 . getBlock ( ) . getLocation ( ) ) ) arg0 . setCancelled ( true ) ; }
14,747
getter for the test application id . concode_field_sep Map<String,JSONObject> appTestAccounts concode_elem_sep String testApplicationId concode_elem_sep String LOG_TAG concode_elem_sep String testApplicationSecret concode_field_sep String getTestApplicationSecret concode_elem_sep String getAppAccessToken concode_elem_s...
String function ( ) { return testApplicationId ; }
14,748
take this filter out of service . concode_field_sep String encoding concode_elem_sep FilterConfig filterConfig concode_elem_sep boolean ignore concode_field_sep void init concode_elem_sep void doFilter concode_elem_sep String selectEncoding
void function ( ) { this . encoding = null ; this . filterConfig = null ; }
14,749
returns unmodifiable list representation of this queue . concode_field_sep Deque<DelayedEntry> deque concode_elem_sep Map<Data,MutableInteger> index concode_field_sep void addCountIndex concode_elem_sep void addCountIndex concode_elem_sep void addLast concode_elem_sep boolean contains concode_elem_sep void decreaseCoun...
List < DelayedEntry > function ( ) { return Collections . unmodifiableList ( new ArrayList < DelayedEntry > ( deque ) ) ; }
14,750
provides serialization support . concode_field_sep long serialVersionUID concode_elem_sep Object[] objects concode_elem_sep int size concode_elem_sep int increment concode_elem_sep int DEFAULT_INITIAL_CAPACITY concode_field_sep void set concode_elem_sep int size concode_elem_sep int hashCode concode_elem_sep void write...
void function ( final ObjectInputStream arg0 ) { arg0 . defaultReadObject ( ) ; this . objects = new Object [ this . size ] ; final int loc0 = arg0 . readInt ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { final int loc2 = arg0 . readInt ( ) ; if ( loc2 != - 1 ) { set ( loc2 , arg0 . readObject ( ) ) ; } } }
14,751
get the tuple value . concode_field_sep short INDEPENDENT concode_elem_sep short SUCCEEDS concode_elem_sep short SAME concode_elem_sep byte[] id concode_elem_sep long milli concode_elem_sep int value concode_elem_sep short PRECEDES concode_field_sep void unSerialize concode_elem_sep void serialize concode_elem_sep shor...
int function ( ) { return value ; }
14,752
calling compiler.disable will cause the compiler to be suspended ; provided that a compiler even exists . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean compileClasses concode_elem_sep void enable concode_elem_sep Object command concode_elem_sep boolean compileClass
void function ( ) { VMCompiler . disable ( ) ; }
14,753
sets the value of the partyaddres property . concode_field_sep AMLCDDFatcaDataVerificationServicePartyAddresTupleType partyAddres concode_field_sep AMLCDDFatcaDataVerificationServicePartyAddresTupleType getPartyAddres
void function ( AMLCDDFatcaDataVerificationServicePartyAddresTupleType arg0 ) { this . partyAddres = arg0 ; }
14,754
the main method of the pool . returns an available connection . if we ca n't get an available connection within `` timeout '' , we will throw an exception . concode_field_sep Connection conn concode_elem_sep String pooled concode_elem_sep String connURL concode_elem_sep boolean inUse concode_elem_sep Collection<PooledC...
Connection function ( ) { return getConnection ( 0 ) ; }
14,755
an optional attribute value of the token . tokens which are not used as syntactic sugar will often contain meaningful values that will be used later on by the compiler or interpreter . this attribute value is often different from the image . any subclass of token that actually wants to return a non-null value can overr...
Object function ( ) { return null ; }
14,756
install credentials for ide-wide proxy if usage of proxy was enabled and host of the given url was not added to exclude list in httpconfigurable . concode_field_sep PlaceHolder placeHolder concode_field_sep String getProxyPassword concode_elem_sep boolean isHttpProxyEnabled concode_elem_sep boolean isProxyAuthenticatio...
void function ( @ NotNull CredentialsProvider arg0 , @ Nullable String arg1 ) { if ( getHttpConfigurable ( ) . isHttpProxyEnabledForUrl ( arg1 ) ) { setProxyCredentialsIfEnabled ( arg0 ) ; } }
14,757
a datapoint reload takes some seconds , this method is called when a event receives from the homematic server during the reload . concode_field_sep ExecutorService reloadExecutorPool concode_elem_sep HomematicContext context concode_elem_sep Map<HomematicBindingConfig,HmValueItem> datapoints concode_elem_sep Map<Homema...
void function ( HomematicBindingConfig arg0 , Object arg1 ) { refreshCache . put ( arg0 , arg1 ) ; }
14,758
obtains the monitoring result currently available , or null if no data is available . concode_field_sep boolean ignored concode_elem_sep DescriptorList<NodeMonitor> LIST concode_field_sep String getColumnCaption concode_elem_sep AbstractNodeMonitorDescriptor<?> getDescriptor concode_elem_sep DescriptorExtensionList<Nod...
Object function ( Computer arg0 ) { return getDescriptor ( ) . get ( arg0 ) ; }
14,759
generates the source code for an android buildconfig.java file with the default set offields specified by #getdefaultbuildconfigfields . concode_field_sep String IS_EXO_CONSTANT concode_elem_sep String DEBUG_CONSTANT concode_elem_sep String EXOPACKAGE_FLAGS concode_elem_sep BuildConfigFields DEFAULT_BUILD_CONFIG_CONSTA...
String function ( BuildTarget arg0 , String arg1 ) { return generateBuildConfigDotJava ( arg0 , arg1 , false , BuildConfigFields . empty ( ) ) ; }
14,760
gets the top offset from the top , left position of the page specified by this destination . concode_field_sep float left concode_elem_sep Reference ref concode_elem_sep Library library concode_elem_sep Logger logger concode_elem_sep float top concode_elem_sep boolean inited concode_elem_sep Object object concode_elem_...
float function ( ) { if ( ! inited ) init ( ) ; return top ; }
14,761
set the authorization credentials sent with this request . concode_field_sep Request request concode_field_sep Request getWrappedRequest concode_elem_sep ServletRequest getRequest concode_elem_sep void setContentLength concode_elem_sep void setProtocol concode_elem_sep void setWrapper concode_elem_sep void finishReques...
void function ( String arg0 ) { request . setAuthorization ( arg0 ) ; }
14,762
prepares the settings by gathering all elasticsearch system properties and setting defaults . concode_field_sep String SECRET_PROMPT_VALUE concode_elem_sep String[] PROPERTY_DEFAULTS_PREFIXES concode_elem_sep String TEXT_PROMPT_VALUE concode_elem_sep String[] ALLOWED_SUFFIXES concode_elem_sep String IGNORE_SYSTEM_PROPE...
Settings function ( Settings arg0 ) { Settings . Builder loc0 = settingsBuilder ( ) ; initializeSettings ( loc0 , arg0 , true ) ; finalizeSettings ( loc0 , null , null ) ; return loc0 . build ( ) ; }
14,763
return the locale associated with the current thread , if any , or the system default locale else . this is effectively a replacement for java.util.locale #getdefault , able to optionally respect a user-level locale setting . note : this method has a fallback to the system default locale . if you 'd like to check for t...
Locale function ( ) { LocaleContext loc0 = getLocaleContext ( ) ; if ( loc0 != null ) { Locale loc1 = loc0 . getLocale ( ) ; if ( loc1 != null ) { return loc1 ; } } return Locale . getDefault ( ) ; }
14,764
the real principal associated with the subject . concode_field_sep InetAddress _remoteAddr concode_elem_sep Principal realPrincipal concode_elem_sep Subject _subject concode_elem_sep AtomicInteger uniqueId concode_elem_sep Integer _reqID concode_elem_sep Map _storm_conf concode_elem_sep ThreadLocal<ReqContext> ctxt con...
Principal function ( ) { return this . realPrincipal ; }
14,765
retrieve a relative offset . concode_field_sep ByteBuffer bb concode_elem_sep int bb_pos concode_elem_sep ThreadLocal<CharsetDecoder> UTF8_DECODER concode_elem_sep ThreadLocal<CharBuffer> CHAR_BUFFER concode_field_sep int __vector_len concode_elem_sep ByteBuffer __vector_as_bytebuffer concode_elem_sep int __offset conc...
int function ( int arg0 ) { return arg0 + bb . getInt ( arg0 ) ; }
14,766
this method removes the parameter element from the set , after ensuring that it is within the allowable limits of the set elements . if it was not previously present , the set remains unchanged . concode_field_sep byte[] byteArray concode_elem_sep int maxSize concode_field_sep void include concode_elem_sep Bitset getSe...
void function ( int arg0 ) { if ( arg0 >= maxSize ) error ( "srini_string" + arg0 + "srini_string" ) ; clearBit ( arg0 ) ; }
14,767
prints print writers to file paths . concode_field_sep Logger log concode_elem_sep PrintWriter receivedMessagePrintWriter concode_elem_sep PrintWriter statisticsPrintWriter concode_field_sep void sleepForInterval concode_elem_sep void writeReceivedMessagesToFile concode_elem_sep void initializeStatisticsPrintWriter con...
void function ( ) { if ( receivedMessagePrintWriter != null ) { receivedMessagePrintWriter . flush ( ) ; } if ( statisticsPrintWriter != null ) { statisticsPrintWriter . flush ( ) ; } }
14,768
serialize an instance , restore it , and check for equality . concode_field_sep double EPSILON concode_elem_sep SeriesChangeEvent lastEvent concode_field_sep void testClear concode_elem_sep void testIndexOf2 concode_elem_sep void testSetMaximumItemCount2 concode_elem_sep void testCloning concode_elem_sep void testRemov...
void function ( ) { VectorSeries loc0 = new VectorSeries ( "srini_string" ) ; loc0 . add ( 1.0 , 0.5 , 1.5 , 2.0 ) ; VectorSeries loc1 = ( VectorSeries ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; }
14,769
list of all local notification . concode_field_sep Context context concode_field_sep Notification cancel concode_elem_sep void cancelAll concode_elem_sep List<Integer> getIdsByType concode_elem_sep List<Notification> getByType concode_elem_sep NotificationManager getNotMgr concode_elem_sep List<JSONObject> getOptionsBy...
List < Notification > function ( ) { return getByIds ( getIds ( ) ) ; }
14,770
get the imagedescriptor for the given id . concode_field_sep ImageRegistry registry concode_elem_sep String tag concode_field_sep void removeExtension concode_elem_sep void addExtension concode_elem_sep void dispose concode_elem_sep IExtensionPoint getExtensionPointFilter
ImageDescriptor function ( String arg0 ) { return registry . getDescriptor ( arg0 ) ; }
14,771
returns the real path of the given uri . if the given uri is a content : / / uri , the real path is retrieved from the media store . concode_field_sep String _DATA concode_elem_sep String LOG_TAG concode_field_sep String getRealPathFromURI_API11to18 concode_elem_sep String stripFileProtocol concode_elem_sep String getM...
String function ( String arg0 , CordovaInterface arg1 ) { return FileHelper . getRealPath ( Uri . parse ( arg0 ) , arg1 ) ; }
14,772
returns a range of all the announcements deliveries . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.liferay.portal.kernel.dao.orm.q...
java . util . List < com . liferay . announcements . kernel . model . AnnouncementsDelivery > function ( int arg0 , int arg1 ) { return getService ( ) . getAnnouncementsDeliveries ( arg0 , arg1 ) ; }
14,773
sets the group value for this cqlobject . concode_field_sep java.lang.String name concode_elem_sep CQLAssociation association concode_elem_sep long serialVersionUID concode_elem_sep CQLAttribute attribute concode_elem_sep CQLGroup group concode_field_sep void setName concode_elem_sep void setAttribute concode_elem_sep ...
void function ( CQLGroup arg0 ) { this . group = arg0 ; }
14,774
implements pathhandler #linetohorizontalrel float . concode_field_sep PathHandler INSTANCE concode_field_sep void curvetoCubicRel concode_elem_sep void curvetoQuadraticAbs concode_elem_sep void closePath concode_elem_sep void linetoHorizontalAbs concode_elem_sep void curvetoCubicAbs concode_elem_sep void curvetoQuadrat...
void function ( float arg0 ) { }
14,775
returns the value of the property with the given name , or null if the property is not found . the default implementation performs a linear search of an internal table . overriding this method is generally not required if the number of different keys is small . if a more efficient representation of a viewer 's properti...
Object function ( String arg0 ) { Assert . isNotNull ( arg0 ) ; if ( keys == null ) { return null ; } for ( int loc0 = 0 ; loc0 < keys . length ; loc0 ++ ) { if ( keys [ loc0 ] . equals ( arg0 ) ) { return values [ loc0 ] ; } } return null ; }
14,776
put longitude into the range start , start +360 deg concode_field_sep double lon concode_elem_sep double lat concode_field_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep double getLongitude concode_elem_sep boolean betweenLon concode_elem_sep double getLatitude concode_elem_sep double...
double function ( double arg0 , double arg1 ) { while ( arg0 < arg1 ) arg0 += 360 ; while ( arg0 > arg1 + 360 ) arg0 -= 360 ; return arg0 ; }
14,777
checks that the stringactual contains the occurrence regexexpected . occurrences of at regexexpected can match anything as defined by the regex . in stringactual , however , in its usage with htmlhelper , please refrain from these usages as they will not pass : empty contents right after an html tag , e.g < p > < / p >...
boolean function ( String arg0 , String arg1 ) { String loc0 = arg1 . replaceAll ( "srini_string" , "srini_string" ) ; String loc1 = Pattern . quote ( arg0 ) . replaceAll ( Pattern . quote ( "srini_string" ) , "srini_string" ) . replaceAll ( "srini_string" , "srini_string" ) ; return loc0 . matches ( "srini_string" + l...
14,778
sets the ` log-scale ' flag . concode_field_sep double log10 concode_elem_sep int[] r concode_elem_sep int[] b concode_elem_sep String paletteName concode_elem_sep double[] tickValues concode_elem_sep double minZ concode_elem_sep boolean stepped concode_elem_sep int[] g concode_elem_sep long serialVersionUID concode_el...
void function ( boolean arg0 ) { this . logscale = arg0 ; }
14,779
gets the model . concode_field_sep boolean exportFull concode_elem_sep String sheetName concode_elem_sep ExcelUtils utils concode_elem_sep boolean header concode_elem_sep TableModel model concode_elem_sep HSSFSheet sheet concode_elem_sep HSSFWorkbook wb concode_elem_sep boolean decorated concode_field_sep boolean isDec...
TableModel function ( ) { return this . model ; }
14,780
return whether to accept gzip encoding , that is , whether to send the http `` accept-encoding '' header with `` gzip '' as value . concode_field_sep boolean acceptGzipEncoding concode_elem_sep String HTTP_HEADER_CONTENT_TYPE concode_elem_sep String contentType concode_elem_sep Log logger concode_elem_sep String HTTP_M...
boolean function ( ) { return this . acceptGzipEncoding ; }
14,781
adds an input archive description object to the input archive list . concode_field_sep List<ArchiveDescription> archives concode_elem_sep ConfigEnum type concode_elem_sep Map<ConfigurationKeys,Object> parameterMap concode_field_sep ConfigEnum getConfigType concode_elem_sep Object getConfigParameter concode_elem_sep Arc...
void function ( final ArchiveDescription arg0 ) { this . archives . add ( arg0 ) ; }
14,782
sets processed files stats concode_field_sep int numberOfFiles concode_elem_sep long totalSize concode_elem_sep int processedFiles concode_elem_sep boolean aborted concode_elem_sep String failure concode_elem_sep long startTime concode_elem_sep long indexVersion concode_elem_sep long time concode_elem_sep long processe...
void function ( int arg0 , long arg1 ) { processedFiles = arg0 ; processedSize = arg1 ; }
14,783
get the timeout configured via the timed @timed annotation on the supplied method . negative configured values will be converted to 0 . concode_field_sep PlaceHolder placeHolder concode_field_sep int getRepeatCount
long function ( Method arg0 ) { Timed loc0 = AnnotatedElementUtils . findMergedAnnotation ( arg0 , Timed . class ) ; if ( loc0 == null ) { return 0 ; } return Math . max ( 0 , loc0 . millis ( ) ) ; }
14,784
gets the singleton instance . concode_field_sep long serialVersionUID concode_elem_sep UnRegisterInfoMessageListener INSTANCE concode_field_sep Object readResolve concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString
UnRegisterInfoMessageListener function ( ) { return INSTANCE ; }
14,785
is the last block completed ? concode_field_sep FileEncryptionInfo fileEncryptionInfo concode_elem_sep List<LocatedBlock> blocks concode_elem_sep boolean isLastBlockComplete concode_elem_sep boolean underConstruction concode_elem_sep long fileLength concode_elem_sep LocatedBlock lastLocatedBlock concode_field_sep List<...
boolean function ( ) { return isLastBlockComplete ; }
14,786
returns the enumerated type which specifies color space for interpolation . concode_field_sep ColorSpaceEnum colorSpace concode_elem_sep int transparency concode_elem_sep CycleMethodEnum REPEAT concode_elem_sep CycleMethodEnum cycleMethod concode_elem_sep float[] fractions concode_elem_sep ColorSpaceEnum SRGB concode_e...
ColorSpaceEnum function ( ) { return colorSpace ; }
14,787
sets the value of the enterprisebeans property . concode_field_sep String securityDomain concode_elem_sep AssemblyDescriptor assemblyDescriptor concode_elem_sep ContainerConfigurations containerConfigurations concode_elem_sep String jmxName concode_elem_sep String enforceEjbRestrictions concode_elem_sep String missingM...
void function ( final EnterpriseBeans arg0 ) { this . enterpriseBeans = arg0 ; }
14,788
calculates a mixed color from two colors by interpolating the rgb parts using a mix ratio . concode_field_sep PlaceHolder placeHolder concode_field_sep void fillVerticalGradientRectangle concode_elem_sep void fillVerticalGradientRoundedRectangle
Color function ( Color arg0 , Color arg1 , int arg2 ) { return new Color ( arg0 . getDevice ( ) , arg0 . getRed ( ) + ( arg1 . getRed ( ) - arg0 . getRed ( ) ) * arg2 / 255 , arg0 . getGreen ( ) + ( arg1 . getGreen ( ) - arg0 . getGreen ( ) ) * arg2 / 255 , arg0 . getBlue ( ) + ( arg1 . getBlue ( ) - arg0 . getBlue ( )...
14,789
set css classes concode_field_sep td m_topRight concode_elem_sep body m_body concode_elem_sep td m_topLeft concode_elem_sep head m_head concode_elem_sep html m_html concode_elem_sep table m_table concode_elem_sep String NBSP concode_elem_sep tr m_topRow concode_field_sep tr getTopRow concode_elem_sep body getBody conco...
void function ( String arg0 , String arg1 ) { if ( m_table != null && arg0 != null ) m_table . setClass ( arg0 ) ; if ( m_topLeft != null && arg1 != null ) m_topLeft . setClass ( arg1 ) ; if ( m_topRight != null && arg1 != null ) m_topRight . setClass ( arg1 ) ; }
14,790
remove the attendee from the waiting list at a specific time slot . concode_field_sep SignupEventTrackingInfo signupEventTrackingInfo concode_elem_sep boolean isOrganizer concode_elem_sep Logger logger concode_elem_sep String siteId concode_elem_sep SignupMeetingService signupMeetingService concode_elem_sep String user...
void function ( SignupTimeslot arg0 , SignupAttendee arg1 ) { List < SignupAttendee > loc0 = arg0 . getWaitingList ( ) ; SignupAttendee loc1 = arg0 . getWaiter ( arg1 . getAttendeeUserId ( ) ) ; if ( loc1 != null ) loc0 . remove ( loc1 ) ; }
14,791
to simulate updating the inventory by calling some external system which takes a bit of time concode_field_sep Random ran concode_field_sep String xmlToCsv concode_elem_sep UpdateInventoryOutput replyOk
void function ( UpdateInventoryInput arg0 ) { int loc0 = ran . nextInt ( 1000 ) ; Thread . loc0 ( loc0 ) ; System . out . println ( "srini_string" + arg0 . getPartId ( ) + "srini_string" ) ; }
14,792
throw a sqlexception saying this command line option is not supported . concode_field_sep PrintStream out concode_elem_sep Properties resources concode_field_sep void runTool concode_elem_sep void printNoDatabaseFilesFound concode_elem_sep SQLException throwUnsupportedOption concode_elem_sep void showUsage concode_elem...
SQLException function ( String arg0 ) { showUsage ( ) ; throw throwUnsupportedOption ( arg0 ) ; }
14,793
gets the value of the accounttype property . concode_field_sep String accountSubType concode_elem_sep String accountType concode_elem_sep long serialVersionUID concode_field_sep String getAccountSubType concode_elem_sep void setAccountSubType concode_elem_sep void setAccountType
String function ( ) { return accountType ; }
14,794
returns a set view of the entities contained in this eventcache concode_field_sep IdentityMap entityToCopyMap concode_elem_sep Map entityToOperatedOnFlagMap concode_field_sep boolean isOperatedOn concode_elem_sep IdentityMap invertMap concode_elem_sep void setOperatedOn concode_elem_sep Set entrySet concode_elem_sep bo...
Set function ( ) { return entityToCopyMap . keySet ( ) ; }
14,795
process a single byte , producing an output block if neccessary . concode_field_sep BlockCipher cipher concode_elem_sep byte[] buf concode_elem_sep int bufOff concode_elem_sep boolean forEncryption concode_elem_sep boolean partialBlockOkay concode_elem_sep boolean pgpCFB concode_field_sep void init concode_elem_sep int...
int function ( byte arg0 , byte [ ] arg1 , int arg2 ) { int loc0 = 0 ; buf [ bufOff ++ ] = arg0 ; if ( bufOff == buf . length ) { loc0 = cipher . processBlock ( buf , 0 , arg1 , arg2 ) ; bufOff = 0 ; } return loc0 ; }
14,796
sets how many milliseconds it should take to transition from one frequency to another when setting a new frequency . concode_field_sep float leftScale concode_elem_sep float portStep concode_elem_sep AudioSignal ampMod concode_elem_sep float amp concode_elem_sep float newPan concode_elem_sep float freq concode_elem_sep...
void function ( int arg0 ) { if ( arg0 <= 0 ) { Minim . error ( "srini_string" ) ; } port = true ; portSpeed = arg0 ; }
14,797
return if read operations performed by the cursor are configured to return data as it was when the cursor was opened , without locking . concode_field_sep CursorConfig READ_UNCOMMITTED concode_elem_sep CursorConfig DEGREE_2 concode_elem_sep CursorConfig BULK_CURSOR concode_elem_sep CursorConfig WRITECURSOR concode_elem...
boolean function ( ) { return snapshot ; }
14,798
returns the full name . concode_field_sep float strokeWidth concode_elem_sep String fontName concode_elem_sep String weight concode_elem_sep int paintType concode_elem_sep float underlinePosition concode_elem_sep String notice concode_elem_sep int blueShift concode_elem_sep float blueScale concode_elem_sep List<Number>...
String function ( ) { return fullName ; }
14,799
works exactly like resourcebundle.getbundle string , locale . this is needed because the java method depends on a particular stack configuration that is not guaranteed in groovy when calling the java method . concode_field_sep PlaceHolder placeHolder concode_field_sep void sleep concode_elem_sep void sleep concode_elem...
ResourceBundle function ( ResourceBundle arg0 , String arg1 , Locale arg2 ) { Class loc0 = ReflectionUtils . getCallingClass ( ) ; ClassLoader loc1 = loc0 != null ? loc0 . getClassLoader ( ) : null ; if ( loc1 == null ) loc1 = ClassLoader . getSystemClassLoader ( ) ; return ResourceBundle . getBundle ( arg1 , arg2 , lo...