code stringlengths 20 663 | nl stringlengths 68 7.19k |
|---|---|
K function ( ) { return rr . createKey ( ) ; } | request new key from proxied rr . concode_field_sep RecordReader<K,U> rr concode_elem_sep ResetableIterator<U> vjoin concode_elem_sep WritableComparator cmp concode_elem_sep U vhead concode_elem_sep int id concode_elem_sep boolean empty concode_elem_sep K khead concode_field_sep boolean next concode_elem_sep boolean ne... |
String function ( ) { return claimantFirstName ; } | gets the value of the claimantfirstname property . concode_field_sep String programType concode_elem_sep XMLGregorianCalendar claimCreationDate concode_elem_sep XMLGregorianCalendar dateOfLoss concode_elem_sep Double deductibleAmount concode_elem_sep String authorizationCode concode_elem_sep String claimantFirstName co... |
void function ( ) { isRunning = false ; if ( progressThread != null ) { progressThread . interrupt ( ) ; } } | method to stop the progress thread this will toggle the isrunning state to false , and interrupt the thread since the isrunning boolean is checked inside the progress loop in the thread , switching it to false will stop the process from running concode_field_sep int PAUSE_AMOUNT_S concode_elem_sep int percent concode_e... |
void function ( HistoryQueryListener arg0 ) { synchronized ( queryListeners ) { queryListeners . add ( arg0 ) ; } } | adds the given historyquerylistener to the list of listeners interested in query result changes . concode_field_sep Collection<HistoryQueryListener> queryListeners concode_elem_sep boolean isCanceled concode_elem_sep Collection<HistoryRecord> historyRecords concode_elem_sep String queryString concode_field_sep void can... |
void function ( Connection arg0 ) { try { arg0 . setAutoCommit ( false ) ; } catch ( SQLException loc0 ) { throw new EVException ( "srini_string" + loc0 . getMessage ( ) ) ; } } | disables the auto commit for the current connection concode_field_sep PlaceHolder placeHolder concode_field_sep void rollback concode_elem_sep void enableAutoCommit concode_elem_sep void commit concode_elem_sep Connection connect |
ResultStatus function ( ) { return _resultStatus ; } | accessor for the result 's status object concode_field_sep List<ResultsDetail> _details concode_elem_sep String _age concode_elem_sep String _priority concode_elem_sep String _patientName concode_elem_sep ResultStatus _resultStatus concode_elem_sep String _criticalAbnormal concode_elem_sep String _gender concode_elem_s... |
String function ( String arg0 ) { return "srini_string" ; } | some text . concode_field_sep InnerClassWithAnnotations anon concode_elem_sep String fFirstName concode_elem_sep String tThirdName concode_elem_sep String sSecondName concode_field_sep String method5 concode_elem_sep String method5 concode_elem_sep String method5 concode_elem_sep String method6 concode_elem_sep String ... |
Repository function ( final Key arg0 , final boolean arg1 ) { return cache . openRepository ( arg0 , arg1 ) ; } | open a repository , reusing a cached instance if possible . when done with the repository , the caller must call repository #close to decrement the repository 's usage counter . concode_field_sep File path concode_elem_sep ConcurrentHashMap<Key,Reference<Repository>> cacheMap concode_elem_sep Lock[] openLocks concode_e... |
void function ( java . lang . String arg0 ) { _kbFolder . setName ( arg0 ) ; } | sets the name of this k b folder . concode_field_sep KBFolder _kbFolder concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep long... |
LuminanceSource function ( int arg0 , int arg1 , int arg2 , int arg3 ) { throw new UnsupportedOperationException ( "srini_string" ) ; } | returns a new object with cropped image data . implementations may keep a reference to the original data rather than a copy . only callable if iscropsupported is true . concode_field_sep int width concode_elem_sep int height concode_field_sep LuminanceSource rotateCounterClockwise concode_elem_sep LuminanceSource rotat... |
void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . INFO >= LOGLEVEL ) Log . i ( arg0 , arg1 , arg2 ) ; } | info log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void setL... |
String function ( final int arg0 ) { return random ( arg0 , 33 , 126 , false , false ) ; } | creates a random string whose length is the number of characters specified . characters will be chosen from the set of characters which match the posix : graph :] regular expression character class . this class contains all visible ascii characters i.e. anything except spaces and control characters . concode_field_sep ... |
WebDAVProps function ( long arg0 , long arg1 ) { return getPersistence ( ) . findByC_C ( arg0 , arg1 ) ; } | returns the web d a v props where classnameid = ? and classpk = ? or throws a nosuchwebdavpropsexception if it could not be found . concode_field_sep WebDAVPropsPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep WebDAVProp... |
void function ( final int arg0 ) { setRunningLength ( this . buffer , this . position , arg0 ) ; } | sets the running length . concode_field_sep int LARGEST_LITERAL_COUNT concode_elem_sep int NOT_SHIFTED_LARGEST_RUNNING_LENGTH_COUNT concode_elem_sep int RUNNING_LENGTH_BITS concode_elem_sep int SHIFTED_LARGEST_RUNNING_LENGTH_COUNT concode_elem_sep int LITERAL_BITS concode_elem_sep int NOT_RUNNING_LENGTH_PLUS_RUNNING_BI... |
String function ( ) { return projectDir ; } | returns the project directory . this directory contains the project.properties file . concode_field_sep String projectDir concode_elem_sep String buildDirOverride concode_elem_sep String VNAMETAG concode_elem_sep List<SourceDescriptor> sources concode_elem_sep String qualifiedName concode_elem_sep String BUILDTAG conco... |
String function ( String arg0 , String arg1 , SQLException arg2 ) { return arg0 + "srini_string" + arg1 + "srini_string" + arg2 . getMessage ( ) ; } | build a message string for the given java.sql.sqlexception . to be called by translator subclasses when creating an instance of a generic org.springframework.dao.dataaccessexception class . concode_field_sep SQLExceptionTranslator fallbackTranslator concode_elem_sep Log logger concode_field_sep DataAccessException doTr... |
void function ( LossInfoType arg0 ) { this . lossInfo = arg0 ; } | sets the value of the lossinfo property . concode_field_sep Long assignedAdjusterID concode_elem_sep Date lossDate concode_elem_sep LossInfoType lossInfo concode_elem_sep String claimantFirstName concode_elem_sep VehicleListType vehicles concode_elem_sep BigDecimal id concode_elem_sep String claimantLastName concode_el... |
String function ( ) { return mdName ; } | returns the name of the message digest algorithm . concode_field_sep MGF1ParameterSpec SHA512 concode_elem_sep String mdName concode_elem_sep MGF1ParameterSpec SHA256 concode_elem_sep MGF1ParameterSpec SHA1 concode_elem_sep MGF1ParameterSpec SHA384 concode_field_sep placeholderType placeHolder |
void function ( ) { mWorkingIndex ++ ; if ( mWorkingIndex >= getStepsArray ( ) . length ) { mWorkingIndex = getStepsArray ( ) . length - 1 ; return ; } moveStep ( mWorkingIndex - 1 , mWorkingIndex ) ; } | item goes down with index concode_field_sep String mSteps concode_elem_sep int mWorkingIndex concode_elem_sep String DELIM concode_elem_sep String mName concode_field_sep void moveForward concode_elem_sep String getName concode_elem_sep void addStep concode_elem_sep void moveBack concode_elem_sep void removeStep concod... |
void function ( final org . apache . logging . log4j . spi . LoggerContext arg0 ) { if ( arg0 instanceof LoggerContext ) { selector . removeContext ( ( LoggerContext ) arg0 ) ; } } | removes knowledge of a loggercontext . concode_field_sep boolean SHUTDOWN_HOOK_ENABLED concode_elem_sep ContextSelector selector concode_elem_sep StatusLogger LOGGER concode_elem_sep ShutdownCallbackRegistry shutdownCallbackRegistry concode_field_sep ShutdownCallbackRegistry createShutdownCallbackRegistry concode_elem_... |
void function ( ) { log [ 0 ] = 0 ; for ( int loc0 = 1 ; loc0 < 256 ; loc0 ++ ) { log [ loc0 ] = Math . log ( loc0 ) ; } } | berechnung der logarithmen concode_field_sep double[] log concode_field_sep double getLogarithm |
boolean function ( @ Nullable String arg0 ) { return arg0 == null || arg0 . isEmpty ( ) ; } | returns true if the given string is null or is the empty string.consider normalizing your string references with #nulltoempty . if you do , you can use string #isempty instead of this method , and you wo n't need special null-safe formsof methods like string #touppercase either . or , if you 'd like to normalize `` in ... |
void function ( ) { if ( que . get ( ) == null ) try { Thread . sleep ( 300000 ) ; } catch ( InterruptedException loc0 ) { } } | hangs for 5 minutes if stopped . concode_field_sep SimpleDateFormat DEBUG_DATE_FMT concode_elem_sep long threadId concode_elem_sep Object[] data concode_elem_sep AtomicReference<ConcurrentLinkedQueue<Item>> que concode_elem_sep String LOGS_PATH concode_elem_sep Charset charset concode_elem_sep long start concode_elem_s... |
void function ( Services arg0 ) { } | initialize the service . concode_field_sep PlaceHolder placeHolder concode_field_sep BundleEngine getSystemBundleEngine concode_elem_sep Class<? extends Service> getInterface concode_elem_sep void destroy concode_elem_sep BundleEngine getBundleEngine |
float function ( Rect arg0 ) { final float loc0 = ( float ) arg0 . width ( ) / ( float ) arg0 . height ( ) ; return loc0 ; } | calculates the aspect ratio given a rectangle . concode_field_sep PlaceHolder placeHolder concode_field_sep float calculateTop concode_elem_sep float calculateWidth concode_elem_sep float calculateLeft concode_elem_sep float calculateRight concode_elem_sep float calculateHeight concode_elem_sep float calculateBottom |
File function ( String arg0 ) { if ( arg0 . startsWith ( R_REFS ) ) { arg0 = arg0 . substring ( R_REFS . length ( ) ) ; return new File ( logsRefsDir , arg0 ) ; } return new File ( logsDir , arg0 ) ; } | locate the log file on disk for a single reference name . concode_field_sep File logsRefsDir concode_elem_sep Repository parent concode_elem_sep boolean forceWrite concode_elem_sep File logsDir concode_field_sep byte[] encode concode_elem_sep ReflogWriter log concode_elem_sep ReflogWriter log concode_elem_sep ReflogWri... |
void function ( Style arg0 ) { this . style = arg0 ; } | sets the value of the style property . concode_field_sep String name concode_elem_sep List<Placemark> placemark concode_elem_sep Style style concode_field_sep void setName concode_elem_sep String getName concode_elem_sep Style getStyle concode_elem_sep List<Placemark> getPlacemark |
void function ( byte [ ] arg0 ) { this . count = ( arg0 == null ) ? 0 : arg0 . length ; this . bytes = arg0 ; } | use the specified bytes array as underlying sequence . concode_field_sep int count concode_elem_sep byte[] bytes concode_field_sep int compareTo concode_elem_sep void truncate concode_elem_sep int hashCode concode_elem_sep byte[] get concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep void re... |
void function ( int arg0 ) { this . numberOfRecordsUpdatedBecauseAutomatic = arg0 ; } | this method ... concode_field_sep int numberOfRecrodsNotUpdatedForHistoricalPurposes concode_elem_sep int numberOfRecordsNotUpdatedBecauseManual concode_elem_sep int numberOfRecordsNewlyAddedFromWebSite concode_elem_sep int numberOfRecordsDeactivatedBecauseNoLongerOnWebSite concode_elem_sep int numberOfRecordsReActivat... |
String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getSourceType ( ) != null ) loc0 . append ( "srini_string" + getSourceType ( ) + "srini_string" ) ; if ( getEventCategories ( ) != null ) loc0 . append ( "srini_string" + getEventCategories ( ) ) ; loc0 . append (... | returns a string representation of this object ; useful for testing and debugging . concode_field_sep String sourceType concode_elem_sep com.amazonaws.internal.ListWithAutoConstructFlag<String> eventCategories concode_field_sep void setEventCategories concode_elem_sep void setSourceType concode_elem_sep EventCategories... |
boolean function ( DefaultData arg0 ) { return arg0 instanceof TimerData && ! ( arg0 instanceof IAggregatedData ) ; } | display for non-aggregated timerdata or invocationsequencedata . concode_field_sep PlaceHolder placeHolder concode_field_sep DetailsTable generate |
Map < AccumulatorRegistry . Metric , Accumulator < ? , ? >> function ( ) { return flinkAccumulators . deserializeValue ( ClassLoader . getSystemClassLoader ( ) ) ; } | gets the flink internal accumulators values . concode_field_sep JobID jobID concode_elem_sep long serialVersionUID concode_elem_sep SerializedValue<Map<String,Accumulator<?,?>>> userAccumulators concode_elem_sep ExecutionAttemptID executionAttemptID concode_elem_sep SerializedValue<Map<AccumulatorRegistry.Metric,Accumu... |
String function ( ) { return label ; } | gets label . concode_field_sep Object display concode_elem_sep String label concode_elem_sep Integer value concode_field_sep Integer getValue concode_elem_sep void setDisplay concode_elem_sep void setValue concode_elem_sep void setLabel concode_elem_sep Object getDisplay |
String function ( String arg0 ) { if ( arg0 . endsWith ( "srini_string" ) ) { return arg0 . substring ( 0 , arg0 . length ( ) - 1 ) ; } else { return arg0 ; } } | removes an evantual trailing slash from the given url string concode_field_sep PlaceHolder placeHolder concode_field_sep String normalizeStripQuery concode_elem_sep String normalizeBackSlashes concode_elem_sep URL getRobotsTXTURL concode_elem_sep int getDepth concode_elem_sep URL normalize concode_elem_sep String norma... |
Boolean function ( ) { return this . classicLinkDnsSupported ; } | indicates whether classiclink dns support is enabled for the vpc . concode_field_sep Boolean classicLinkDnsSupported concode_elem_sep String vpcId concode_field_sep ClassicLinkDnsSupport withClassicLinkDnsSupported concode_elem_sep Boolean isClassicLinkDnsSupported concode_elem_sep int hashCode concode_elem_sep boolean... |
void function ( Map arg0 ) { myMap = arg0 ; } | sets the map this layer is part of . concode_field_sep int ROTATE_180 concode_elem_sep int ROTATE_90 concode_elem_sep int MIRROR_HORIZONTAL concode_elem_sep Properties properties concode_elem_sep int ROTATE_270 concode_elem_sep String name concode_elem_sep Map myMap concode_elem_sep Rectangle bounds concode_elem_sep in... |
int function ( int arg0 ) { return arg0 & 0xFFF ; } | returns the patch version number from the specified vulkan api version . concode_field_sep PlaceHolder placeHolder concode_field_sep int VK_VERSION_MAJOR concode_elem_sep int VK_MAKE_VERSION concode_elem_sep int VK_VERSION_MINOR |
long function ( ) { return _event . getPrimaryKey ( ) ; } | returns the primary key of this event . concode_field_sep Event _event concode_field_sep long getLocationId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep void s... |
void function ( ) { try { connect . close ( ) ; } catch ( javax . jms . JMSException loc0 ) { loc0 . printStackTrace ( ) ; } System . exit ( 0 ) ; } | cleanup resources and then exit . concode_field_sep String PROPERTY_NAME concode_elem_sep javax.jms.MessageProducer publisher concode_elem_sep String DEFAULT_PASSWORD concode_elem_sep javax.jms.Session subSession concode_elem_sep String DEFAULT_BROKER_NAME concode_elem_sep javax.jms.Connection connect concode_elem_sep ... |
void function ( ) { checkDaemonFlag ( true ) ; } | tests whether daemon threads can be created . concode_field_sep BasicThreadFactory.Builder builder concode_elem_sep String PATTERN concode_field_sep void testNewThreadNoPriority concode_elem_sep void testNewThreadDaemonFalse concode_elem_sep void testBuilderReset concode_elem_sep void testNewThreadNamingPattern concode... |
short [ ] function ( ) { short loc0 [ ] = new short [ values . length ] ; System . arraycopy ( values , 0 , loc0 , 0 , values . length ) ; return loc0 ; } | gets an array of values represented by increasing length of their codes . concode_field_sep JPEGHuffmanTable StdACLuminance concode_elem_sep JPEGHuffmanTable StdACChrominance concode_elem_sep JPEGHuffmanTable StdDCLuminance concode_elem_sep JPEGHuffmanTable StdDCChrominance concode_elem_sep short lengths[] concode_elem... |
java . lang . String function ( ) { return _shoppingItemField . getName ( ) ; } | returns the name of this shopping item field . concode_field_sep ShoppingItemField _shoppingItemField concode_field_sep void setName concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep long getItemFieldId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concod... |
void function ( Parser < Rule > arg0 , Map < String , String > arg1 ) { rImporter . addParser ( arg0 , arg1 ) ; } | this method provides functionality for tracking parser services . concode_field_sep RuleResourceBundleImporter rImporter concode_elem_sep BundleTracker<Bundle> bTracker concode_elem_sep List<AutomationResourceBundlesEventQueue> providerEventsQueue concode_elem_sep List<BundleEvent> queue concode_field_sep void addProvi... |
int function ( ) { int loc0 = 0 ; while ( bytes [ streamPosition + loc0 ] != 0 ) loc0 ++ ; return loc0 ; } | get the length of the string currently in the byte stream . concode_field_sep int streamPosition concode_elem_sep byte[] bytes concode_elem_sep int bytesLength concode_field_sep boolean isBundle concode_elem_sep OSCMessage convertMessage concode_elem_sep String readString concode_elem_sep char[] readTypes concode_elem_... |
float function ( ) { return items [ -- size ] ; } | removes and returns the last item . concode_field_sep boolean ordered concode_elem_sep int size concode_elem_sep float[] items concode_field_sep void mul concode_elem_sep void insert concode_elem_sep float random concode_elem_sep boolean removeAll concode_elem_sep float[] setSize concode_elem_sep void truncate concode_... |
void function ( @ Observes ProcessInjectionTarget < ? > arg0 ) { for ( InjectionPoint loc0 : arg0 . getInjectionTarget ( ) . getInjectionPoints ( ) ) { ById loc1 = loc0 . getAnnotated ( ) . getAnnotation ( ById . class ) ; if ( loc1 != null ) { ids . add ( loc1 . value ( ) ) ; } } } | this method is fired for every component class supporting injection that may be instantiated by the container at runtime . it will look for all injection target and collect all nicks that were used and needs to be found on entitymanager concode_field_sep List<String> ids concode_field_sep void afterBeanDiscovery |
int function ( String arg0 ) { int loc0 = arg0 . length ( ) ; while ( loc0 > 0 ) { loc0 -- ; if ( arg0 . charAt ( loc0 ) != ' ' ) { return loc0 + 1 ; } } return 0 ; } | returns the size of substring that does not contain any trailing spaces concode_field_sep PlaceHolder placeHolder concode_field_sep String arrayToString concode_elem_sep String toZeroPaddedString concode_elem_sep String[] split concode_elem_sep String getList concode_elem_sep String getList concode_elem_sep String getL... |
String function ( ) { return ( address ) ; } | get the tcp/ip address of the machine the provisionmonitor is running on concode_field_sep String address concode_elem_sep ProvisionMonitor service concode_elem_sep int LOADING_INITIAL_DEPLOYMENTS concode_elem_sep int INITIAL_DEPLOYMENTS_PENDING concode_elem_sep int LOADED_INITIAL_DEPLOYMENTS concode_elem_sep Long id c... |
void function ( ) { sessionMap . clear ( ) ; } | removes all sessions registered with this sessionmanager . concode_field_sep IntKeyHashMap sessionMap concode_elem_sep int sessionIdCount concode_elem_sep Session sysSession concode_field_sep void removeSession concode_elem_sep Session newSession concode_elem_sep Session getSysSession concode_elem_sep void closeAllSess... |
void function ( String arg0 ) { this . bucketName = arg0 ; } | sets the name of the bucket in which this object is contained . concode_field_sep S3ObjectInputStream objectContent concode_elem_sep boolean isRequesterCharged concode_elem_sep String key concode_elem_sep String bucketName concode_elem_sep long serialVersionUID concode_elem_sep ObjectMetadata metadata concode_elem_sep ... |
int function ( ) { return N ; } | returns the number of items in this bag . concode_field_sep Node<Item> next concode_elem_sep Item item concode_elem_sep Node<Item> current concode_elem_sep int N concode_elem_sep Node<Item> first concode_field_sep void add concode_elem_sep Item next concode_elem_sep Iterator<Item> iterator concode_elem_sep boolean isEm... |
void function ( Validator arg0 ) { this . validator = arg0 ; } | set the jsr-303 validator to delegate to for validating beans . default is the default validatorfactory 's default validator . concode_field_sep boolean afterInitialization concode_elem_sep Validator validator concode_field_sep void setAfterInitialization concode_elem_sep void setValidatorFactory concode_elem_sep void ... |
String function ( ) { return register . getName ( ) ; } | returns the name of the register . concode_field_sep com.google.security.zynamics.binnavi.debug.models.trace.TraceRegister register concode_field_sep Address getValue concode_elem_sep byte[] getMemory |
float function ( float arg0 ) { return TypedValue . applyDimension ( TypedValue . COMPLEX_UNIT_DIP , arg0 , DisplayMetricsHolder . getWindowDisplayMetrics ( ) ) ; } | convert from dip to px concode_field_sep PlaceHolder placeHolder concode_field_sep float toPixelFromSP concode_elem_sep float toPixelFromSP concode_elem_sep float toDIPFromPixel |
void function ( Set < Field > arg0 ) { arg0 . addAll ( scan ( ) ) ; } | add the fields annotated by @ injectmocks concode_field_sep Class<?> clazz concode_field_sep Set<Field> scan concode_elem_sep void assertNoAnnotations |
void function ( final int arg0 , final MPDCommand arg1 ) { mCommandQueue . add ( arg0 , arg1 ) ; mCommandQueueStringLength += arg1 . toString ( ) . length ( ) ; } | add a command to the specified position of this command queue . concode_field_sep String MPD_CMD_BULK_SEP concode_elem_sep String TAG concode_elem_sep String MPD_CMD_START_BULK concode_elem_sep int mCommandQueueStringLength concode_elem_sep String MPD_CMD_END_BULK concode_elem_sep String MPD_CMD_START_BULK_OK concode_e... |
void function ( Path arg0 ) { } | called for every file that disappeared in the watched directory concode_field_sep PlaceHolder placeHolder concode_field_sep void onFileCreated concode_elem_sep void onFileInit concode_elem_sep void onDirectoryCreated concode_elem_sep void onDirectoryInit concode_elem_sep void onDirectoryDeleted concode_elem_sep void on... |
void function ( String arg0 ) { throw new AssertionException ( arg0 ) ; } | throw assertionexception with a given message . use this method surrounded with if block with assert condition in case you plan to do string concatenation to producethe message . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertCondition concode_elem_sep T assertNotNull |
void function ( ManagementClient arg0 , String arg1 ) { if ( SKIP_TASK ) { return ; } stop ( ) ; } | stops instance on this gsstestserver . concode_field_sep boolean SKIP_TASK concode_elem_sep int ADJUSTED_SECOND concode_elem_sep boolean serverStarted concode_elem_sep Logger LOGGER concode_field_sep void stop concode_elem_sep void start concode_elem_sep void setup concode_elem_sep void run concode_elem_sep String run ... |
ResultMatcher function ( ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg0 ) throws Exception { String loc0 = arg0 . getResponse ( ) . getContentAsString ( ) ; jsonPathHelper . assertValueIsBoolean ( loc0 ) ; } } ; } | evaluate the json path expression against the response content and assert that the result is a boolean . concode_field_sep JsonPathExpectationsHelper jsonPathHelper concode_field_sep ResultMatcher doesNotExist concode_elem_sep ResultMatcher isNumber concode_elem_sep ResultMatcher isEmpty concode_elem_sep ResultMatcher ... |
boolean function ( ) { return ( message . getSubject ( ) != null ) ; } | method for checking if the message has a subject field . concode_field_sep Message message concode_field_sep String getReceivedDate concode_elem_sep boolean hasFrom concode_elem_sep String getSubject concode_elem_sep String getBcc concode_elem_sep String getReplyTo concode_elem_sep String getBody concode_elem_sep Messa... |
void function ( ) { ResponseEvents loc0 ; loc0 = server . sendEventGeneratingAction ( new AgentsAction ( ) ) ; for ( ManagerEvent loc1 : loc0 . getEvents ( ) ) { if ( loc1 instanceof AgentsEvent ) { logger . info ( loc1 ) ; handleAgentsEvent ( ( AgentsEvent ) loc1 ) ; } } } | retrieves all agents registered at asterisk server by sending an agentsaction . concode_field_sep AsteriskServerImpl server concode_elem_sep Map<String,AsteriskAgentImpl> ringingAgents concode_elem_sep Log logger concode_elem_sep Map<String,AsteriskAgentImpl> agents concode_field_sep void handleAgentCallbackLoginEvent ... |
DescribeVpnConnectionsResult function ( VpnConnection ... arg0 ) { if ( getVpnConnections ( ) == null ) setVpnConnections ( new java . util . ArrayList < VpnConnection > ( arg0 . length ) ) ; for ( VpnConnection loc0 : arg0 ) { getVpnConnections ( ) . add ( loc0 ) ; } return this ; } | information about one or more vpn connections . note : this method appends the values to the existing list if any . use #setvpnconnections java.util.collection or #withvpnconnections java.util.collection if you want to override theexisting values . returns a reference to this object so that method calls can be chained ... |
String function ( ) { return "srini_string" + nombre + "srini_string" + descripcion + "srini_string" + fechaRecordatorio + "srini_string" + fechaCreacion + "srini_string" + Clasificacion + "srini_string" ; } | metodo que devuelve una cadena con toda la informacion de la tarea para generar reporte concode_field_sep String descripcion concode_elem_sep Date fechaRecordatorio concode_elem_sep boolean realizada concode_elem_sep Date fechaCreacion concode_elem_sep String Clasificacion concode_elem_sep String nombre concode_field_s... |
int function ( ) { return sampleIsDependedOn ; } | sample_is_depended_on takes one of the following four values : 0 : the dependency of other samples on this sample is unknown ; 1 : other samples may depend on this one not disposable ; 2 : no other sample depends on this one disposable ; 3 : reserved concode_field_sep int sampleDegradationPriority concode_elem_sep int ... |
Builder function ( @ Nullable ByteArray arg0 ) { buffer . add ( arg0 ) ; return this ; } | appends a bytes value to the key . concode_field_sep Joiner joiner concode_elem_sep com.google.protobuf.Value NULL_PROTO concode_elem_sep boolean canEscape concode_elem_sep List<Object> parts concode_elem_sep long serialVersionUID concode_elem_sep ArrayList<Object> buffer concode_field_sep Builder toBuilder concode_ele... |
OutputProgressModel function ( ) { return outputProgressModel ; } | gets the outputprogressmodel for this instance . concode_field_sep Log log concode_elem_sep long PROCCESS_SLEEP_LENGTH concode_elem_sep OutputProgressModel outputProgressModel concode_elem_sep OutputProgressModel ouputProgressModel concode_elem_sep PersistentFacesState persistentFacesState concode_elem_sep String sessi... |
IConfigurationElement function ( ) { return dataExtractionExtension ; } | get configuration element of data extraction extension . concode_field_sep String format concode_elem_sep String name concode_elem_sep IConfigurationElement dataExtractionExtension concode_elem_sep String id concode_elem_sep String mimeType concode_elem_sep Boolean isHidden concode_field_sep String getName concode_elem... |
boolean function ( int arg0 , int arg1 , int arg2 ) { return ( ( arg0 + arg1 ) > arg2 ) && ( ( arg1 + arg2 ) > arg0 ) && ( ( arg0 + arg2 ) > arg1 ) ; } | check the steadiness of a triangle concode_field_sep int canh1 concode_elem_sep int canh2 concode_elem_sep int canh3 concode_field_sep placeholderType placeHolder |
String function ( ) { return id ; } | gets the identifier for this parameter . concode_field_sep StringProperty note concode_elem_sep Set<IElement> elementsUsing concode_elem_sep String id concode_elem_sep Type type concode_elem_sep StringProperty value concode_elem_sep String elementIdRelated concode_field_sep String getValue concode_elem_sep Type getType... |
java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . arg0 ( arg0 ) ; } | performs a dynamic query on the database and returns the matching rows . concode_field_sep JIRAChangeGroupLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep int getJIRAChan... |
void function ( Properties arg0 , EncodedResource arg1 ) { fillProperties ( arg0 , arg1 , new DefaultPropertiesPersister ( ) ) ; } | fill the given properties from the given encodedresource , potentially defining a specific encoding for the properties file . concode_field_sep String XML_FILE_EXTENSION concode_field_sep Properties loadProperties concode_elem_sep Properties loadProperties concode_elem_sep Properties loadAllProperties concode_elem_sep ... |
String function ( ) { return this . namespaceURI ; } | returns the uri of the namespace of this node . concode_field_sep Node parent concode_elem_sep List children concode_elem_sep Stack replacementNodeStack concode_elem_sep Map attributeNamespaces concode_elem_sep String name concode_elem_sep Map attributes concode_elem_sep String namespaceURI concode_field_sep Node paren... |
T function ( EClass arg0 , EObject arg1 ) { if ( arg0 . eContainer ( ) == modelPackage ) { return doSwitch ( arg0 . getClassifierID ( ) , arg1 ) ; } else { List < EClass > loc0 = arg0 . getESuperTypes ( ) ; return loc0 . isEmpty ( ) ? defaultCase ( arg1 ) : doSwitch ( loc0 . get ( 0 ) , arg1 ) ; } } | calls casexxx for each class of the model until one returns a non null result ; it yields that result . concode_field_sep Bz237994Package modelPackage concode_field_sep T caseOne concode_elem_sep T defaultCase concode_elem_sep T caseMany |
void function ( ) { next = prev = null ; instruction . dispose ( ) ; instruction = null ; i_position = - 1 ; attributes = null ; removeAllTargeters ( ) ; addHandle ( ) ; } | delete contents , i.e. , remove user access and make handle reusable . concode_field_sep InstructionHandle next concode_elem_sep Instruction instruction concode_elem_sep HashSet targeters concode_elem_sep InstructionHandle prev concode_elem_sep InstructionHandle ih_list concode_elem_sep int i_position concode_elem_sep ... |
byte [ ] function ( ) { return this . content ; } | the content of the attached file . always null except in case of save or update . concode_field_sep java.lang.String mimeType concode_elem_sep java.lang.String name concode_elem_sep byte[] content concode_elem_sep long serialVersionUID concode_elem_sep java.lang.String id concode_field_sep void setName concode_elem_sep... |
int function ( ) { return type ; } | returns the type of the format string contained in this class . concode_field_sep String formatString concode_elem_sep int TYPE_DATE_FORMAT concode_elem_sep int TYPE_CHOICE_FORMAT concode_elem_sep int TYPE_DECIMAL_FORMAT concode_elem_sep int type concode_elem_sep int TYPE_UNDEFINED concode_elem_sep int TYPE_MESSAGE_FOR... |
void function ( int arg0 ) { this . maxPoolSize = arg0 ; } | sets the max pool size . concode_field_sep String hostName concode_elem_sep String password concode_elem_sep int minPoolSize concode_elem_sep String dbName concode_elem_sep String port concode_elem_sep int maxPoolSize concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep String getJDBCStr... |
String function ( AbstractBuild < ? , ? > arg0 , String arg1 ) { return Util . replaceMacro ( arg1 , createVariableResolver ( arg0 ) ) ; } | performs a variable substitution to the given text and return it . concode_field_sep AbstractBuild<?,?> build concode_elem_sep List<ParameterValue> parameters concode_field_sep String getUrlName concode_elem_sep Object readResolve concode_elem_sep VariableResolver<String> createVariableResolver concode_elem_sep boolean... |
void function ( String arg0 ) { this . publicIp = arg0 ; } | the address of the elastic ip address bound to the network interface . concode_field_sep String ipOwnerId concode_elem_sep String publicIp concode_elem_sep String allocationId concode_elem_sep String publicDnsName concode_elem_sep String associationId concode_field_sep NetworkInterfaceAssociation withAllocationId conco... |
LogNode function ( ) { return mLogNode ; } | returns the next lognode in the linked list . concode_field_sep int ERROR concode_elem_sep int VERBOSE concode_elem_sep int WARN concode_elem_sep int NONE concode_elem_sep int ASSERT concode_elem_sep int DEBUG concode_elem_sep LogNode mLogNode concode_elem_sep int INFO concode_field_sep void println concode_elem_sep vo... |
long function ( ) { return _assetLink . getPrimaryKey ( ) ; } | returns the primary key of this asset link . concode_field_sep AssetLink _assetLink concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel co... |
void function ( byte [ ] arg0 , int arg1 , int arg2 ) { do { ensureCapacity ( ) ; int loc0 = arg2 ; if ( arg2 > writeBuf . remaining ( ) ) loc0 = writeBuf . remaining ( ) ; writeBuf . put ( arg0 , arg1 , loc0 ) ; arg2 -= loc0 ; arg1 += loc0 ; length += loc0 ; } while ( arg2 > 0 ) ; } | write part of a byte array . concode_field_sep ByteBuffer writeBuf concode_elem_sep int BUF_LEN concode_elem_sep int length concode_elem_sep ByteBuffer readBuf concode_elem_sep int readPos concode_elem_sep LinkedList<ByteBuffer> bufs concode_field_sep int read concode_elem_sep int read concode_elem_sep void writeBuf co... |
void function ( INetHandlerPlayServer arg0 ) { arg0 . processChatMessage ( this ) ; } | passes this packet on to the nethandler for processing . concode_field_sep String message concode_field_sep void writePacketData concode_elem_sep String getMessage concode_elem_sep void readPacketData |
void function ( Class < ? > arg0 ) { validator . validate ( arg0 ) ; } | validate . concode_field_sep EntityManagerFactory factory concode_elem_sep boolean instantiated concode_elem_sep List<MetadataProcessor> metadataProcessors concode_elem_sep Validator validator concode_elem_sep Log log concode_elem_sep Map<Class<?>,EntityMetadata> metadataCache concode_elem_sep Map<String,Class<?>> enti... |
boolean function ( double arg0 ) { return Precision . equals ( getNorm ( ) , 1d , arg0 ) ; } | checks whether the instance is a unit quaternion within a given tolerance . concode_field_sep Quaternion IDENTITY concode_elem_sep double q1 concode_elem_sep Quaternion K concode_elem_sep double q2 concode_elem_sep double q3 concode_elem_sep long serialVersionUID concode_elem_sep Quaternion J concode_elem_sep Quaternio... |
boolean function ( KType arg0 ) { return map . containsKey ( arg0 ) ; } | returns true if this container has an association to a value for the given key . 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 ObjectLookupContaine... |
void function ( long arg0 ) { if ( arg0 <= 0 ) { throw new IllegalArgumentException ( "srini_string" ) ; } this . checkpointInterval = arg0 ; } | sets the interval in which checkpoints are periodically scheduled . this setting defines the base interval . checkpoint triggering may be delayed by the settings #setmaxconcurrentcheckpoints int and #setminpausebetweencheckpoints long . concode_field_sep CheckpointingMode DEFAULT_MODE concode_elem_sep long DEFAULT_TIME... |
String function ( String arg0 ) { return KernelUtils . getInstance ( ) . getVersionParameters ( getModule ( ) ) ; } | computes parameters to add to a link of a resource . the parameters include the version and language of the user . the version computation logic depends on if the module is in development module #isindevelopment . if in developers mode then the system #currenttimemillis is used . if not in developers mode then the modu... |
Type function ( ) { return type ; } | returns the network 's type . this method returns type #standard for a standard networkswith no subnetworks . this method returns type #subnet for a network that supports thecreation of subnetworks either automatic or manual . concode_field_sep long serialVersionUID concode_elem_sep Type type concode_field_sep int base... |
Builder function ( @ Nullable String arg0 ) { this . unsafeReplacement = arg0 ; return this ; } | sets the replacement string for any characters outside the ` safe ' range that have no explicit replacement . if unsafereplacement is null then no replacement will occur , if it is '' '' thenthe unsafe characters are removed from the output . concode_field_sep Escaper NULL_ESCAPER concode_elem_sep Map<Character,String>... |
long function ( ) { return _navigation . getHidden ( ) ; } | returns the hidden of this n a v i g a t i o n. concode_field_sep NAVIGATION _navigation concode_field_sep void setName concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_ele... |
void function ( long arg0 ) { Assert . isTrue ( arg0 >= 0 , "srini_string" ) ; this . period = this . timeUnit . toMillis ( arg0 ) ; } | specify the period of the trigger . it will be evaluated in terms of this trigger 's timeunit . if no time unit was explicitly provided upon instantiation , the default is milliseconds . concode_field_sep long period concode_elem_sep boolean fixedRate concode_elem_sep long initialDelay concode_elem_sep TimeUnit timeUni... |
void function ( final Object arg0 , final StepFactory arg1 ) { List < StepsAnnotatedField > loc0 = StepsAnnotatedField . findOptionalAnnotatedFields ( arg0 . getClass ( ) ) ; instanciateScenarioStepFields ( arg0 , arg1 , loc0 ) ; } | instantiates the step scenario fields in a test case . concode_field_sep PlaceHolder placeHolder concode_field_sep void injectOptionalAnnotatedPagesObjectInto concode_elem_sep void instantiateAnyUnitiaializedSteps concode_elem_sep boolean useUniqueInstanceFor concode_elem_sep void injectNestedScenarioStepsInto concode_... |
List < Byte > function ( ) { List < Byte > loc0 = new ArrayList < Byte > ( ) ; loc0 . add ( Convert . toByte ( userCode ) ) ; loc0 . add ( Convert . toByte ( home | unit ) ) ; if ( commandFrame != null ) { loc0 . addAll ( commandFrame . getBytes ( ) ) ; } return loc0 ; } | returns the bytes of dataframe concode_field_sep int unit concode_elem_sep CommandFrame commandFrame concode_elem_sep int userCode concode_elem_sep int home concode_field_sep void setUserCode concode_elem_sep int getSecondParameter concode_elem_sep int getHomeFrom concode_elem_sep int getUnitFrom concode_elem_sep Comma... |
List < HttpPurge > function ( final T arg0 ) { Assert . notNull ( arg0 , "srini_string" ) ; final List < HttpPurge > loc0 = new ArrayList < > ( ) ; for ( final String loc1 : purgeUrls ) { final HttpPurge loc2 = getHttpPurge ( arg0 , loc1 ) ; loc0 . add ( loc2 ) ; } return loc0 ; } | return the list of http purge methods to purge an entry from varnish . concode_field_sep int maxTries concode_elem_sep HttpClient httpClient concode_elem_sep List<String> purgeUrls concode_elem_sep String HOST_HEADER_NAME concode_elem_sep int DEFAULT_MAX_TRIES concode_elem_sep String host concode_elem_sep Logger LOGGER... |
String function ( ) { return truststorePath ; } | get the truststore path . concode_field_sep String truststorePassword concode_elem_sep ComponentSSLConfiguration singleton concode_elem_sep String truststoreType concode_elem_sep boolean httpsEnabled concode_elem_sep String truststorePath concode_field_sep void init concode_elem_sep boolean isHttpsEnabled concode_elem_... |
Predicate < Element > function ( final Set < Modifier > arg0 ) { return new Predicate < Element > ( ) { @ Override public boolean apply ( Element arg1 ) { return arg1 . getModifiers ( ) . containsAll ( arg0 ) ; } } ; } | returns a predicate that can be used to filter elements by modifier . the predicate returns true if the input element has all of the given modifiers , perhaps in addition to others . here is an example how one could get a list of methods with certain modifiers of a class : set modifiers = ... ; fluentiterable.from elem... |
boolean function ( ) { return ClassUtils . isPresent ( "srini_string" , CLASSLOADER ) ; } | determine whether a jaxb binder is present on the classpath and can be loaded . will return false if either the javax.xml.bind.binder or one of its dependencies is notpresent or can not be loaded . concode_field_sep ClassLoader CLASSLOADER concode_field_sep boolean isJackson2Present concode_elem_sep boolean isJacksonPr... |
Properties function ( String ... arg0 ) { Properties loc0 = new Properties ( ) ; for ( String loc1 : arg0 ) { String loc2 = System . getProperty ( loc1 ) ; if ( loc2 != null ) { loc0 . put ( loc1 , loc2 ) ; } } return loc0 ; } | load each of the defined properties into a system property and return them . if a system property is not found , it will be ignored concode_field_sep PlaceHolder placeHolder concode_field_sep Map<String,Object> filter concode_elem_sep Map<String,Object> filter concode_elem_sep Properties loadFromClassPath |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.