combo stringlengths 17 1.84k | labels listlengths 7 7 |
|---|---|
// Setup the configuration settings of the server | TestRestCsrfPreventionFilter.java | [
1,
0,
0,
0,
0,
0,
0
] |
* @since 7.1 | Profiler.java | [
0,
0,
0,
1,
0,
0,
0
] |
Call when the transfer completes successfully so we can advise the OS that
* we don't need the region to be cached anymore. | FadvisedFileRegion.java | [
1,
0,
0,
0,
0,
0,
0
] |
Note: this is the model data interface that corresponds to itracerecorddmcontext. | IGDBTraceControl.java | [
0,
0,
1,
0,
0,
0,
0
] |
contains of the full dom of the html document as well as the http headers | BootstrapPageResponse.java | [
0,
0,
1,
0,
0,
0,
0
] |
// remove the trailing comma and space | LoggingUtils.java | [
1,
0,
0,
0,
0,
0,
0
] |
Return the final X-coordinate of the tooltip based on cursor
* position, size of the tooltip, size of the page and necessary
* margins. | VTooltip.java | [
1,
0,
0,
0,
0,
0,
0
] |
@link builder , users can also make verifications of the custom resource | ResourceRequestsJsonVerifications.java | [
0,
0,
1,
0,
1,
0,
0
] |
/**
* guice-persist's Java Persistence API (JPA) support.
*/ | package-info.java | [
1,
0,
0,
0,
0,
0,
0
] |
This InputSplit contains a set of child InputSplits. Any InputSplit inserted
* into this collection must have a public default constructor. | CompositeInputSplit.java | [
1,
0,
0,
0,
0,
0,
0
] |
* Returns the content of the editor buffer | AbstractContentAssistTest.java | [
1,
0,
0,
0,
0,
0,
0
] |
// Re-initialize the zlib's output direct buffer | ZlibCompressor.java | [
1,
0,
0,
0,
0,
0,
0
] |
@param moreThanOne The List of replica nodes on rack which has more than
* one replica | BlockPlacementPolicy.java | [
0,
0,
0,
1,
0,
0,
0
] |
* @param informationDisplayString the string to be displayed when presenting the context information | AutoconfMacroProposalContextInformation.java | [
0,
0,
0,
1,
0,
0,
0
] |
* @param proposed proposed new state | ServiceStateModel.java | [
0,
0,
0,
1,
0,
0,
0
] |
* Returns the smart preference state. | IndentAction.java | [
1,
0,
0,
0,
0,
0,
0
] |
// If no users are present, consider AM Limit for that queue. | CapacitySchedulerPage. java | [
0,
0,
0,
0,
0,
0,
1
] |
// Add a label and a text widget for Configuration's description | RenameConfigurationDialog.java | [
1,
0,
0,
0,
0,
0,
0
] |
//$NON-NLS-1$ | MakefileEditor.java | [
0,
0,
0,
0,
0,
1,
0
] |
// case 8: truncate to 2 blocks
// the original 2.5 blocks are in snapshot. the block truncated is not
// in snapshot. diff should be -0.5 block | TestTruncateQuotaUpdate.java | [
1,
0,
0,
0,
0,
0,
0
] |
@param count the expected number of logged error and warning messages | BaseTestCase.java | [
0,
0,
0,
1,
0,
0,
0
] |
@link IDMVMContext | DebugTextHoverAdapterFactory.java | [
0,
0,
0,
0,
1,
0,
0
] |
* Gets the remote app log dir. | LogAggregationUtils.java | [
1,
0,
0,
0,
0,
0,
0
] |
In summary, if we cache the valid data | MIStack.java | [
0,
0,
0,
0,
0,
0,
1
] |
// 2. Do transitions
// Each storage directory is treated individually.
// During startup some of them can upgrade or roll back
// while others could be up-to-date for the regular startup. | BlockPoolSliceStorage. java | [
0,
0,
1,
0,
0,
0,
0
] |
@see javax.servlet.ServletContext#addServlet(java.lang.String,
* java.lang.String) | MockServletContext.java | [
0,
0,
0,
0,
1,
0,
0
] |
* Returns a char based representation of the exclusions patterns full path. | ICExclusionPatternPathEntry.java | [
1,
0,
0,
0,
0,
0,
0
] |
Refresh static map, and reset the other maps to empty.
* For testing code, a full map may be re-constructed here when the object
* was created with constructFullMapAtInit being set to true. | ShellBasedIdMapping.java | [
1,
0,
0,
0,
0,
0,
0
] |
Returns the current contents of the buffer.
* Data is only valid to {@link #getLength()}. | OutputBuffer.java | [
1,
0,
0,
0,
0,
0,
0
] |
Creates the tree viewer. | MultipleFolderSelectionDialog.java | [
1,
0,
0,
0,
0,
0,
0
] |
// Remove task-tags. | PDOMRebuildTask.java | [
1,
0,
0,
0,
0,
0,
0
] |
eg the browser window is resized . | Window.java | [
0,
0,
1,
0,
0,
0,
0
] |
@since 7.5.6 | CustomProgressBarElement.java | [
0,
0,
0,
1,
0,
0,
0
] |
represents a variable implicitly created in c code. | CPPImplicitVariable.java | [
1,
0,
0,
0,
0,
0,
0
] |
// 2. Do transitions
// Each storage directory is treated individually.
// During startup some of them can upgrade or roll back
// while others could be up-to-date for the regular startup. | BlockPoolSliceStorage.java | [
0,
0,
1,
0,
0,
0,
0
] |
currently the shell script is only for linux. | FindStdLibPath.java | [
0,
0,
0,
1,
0,
0,
0
] |
// x^2 < 10^(2 * result + 1), or else we would have rounded up | BigIntegerMathTest.java | [
1,
0,
0,
0,
0,
0,
0
] |
// A reporter that does nothing | TestTextOutputFormat.java | [
1,
0,
0,
0,
0,
0,
0
] |
* The state of the service | ServiceStateModel.java | [
1,
0,
0,
0,
0,
0,
0
] |
@since 51 | MIThreadGroupAddedEvent.java (additional clarification) | [
0,
0,
0,
0,
0,
1,
0
] |
Zero-args constructor for the serialization. | DynamicBloomFilter.java | [
1,
0,
0,
0,
0,
0,
0
] |
Test readLine for correct interpretation of maxLineLength
* (returned string should be clipped at maxLineLength, and the
* remaining bytes on the same line should be thrown out).
* Also check that returned value matches the string length.
* Varies buffer size to stress test. | TestTextInputFormat.java | [
1,
0,
0,
0,
0,
0,
0
] |
@param maxWidth
* The maximum width the tooltip popup (in pixels) | VTooltip.java | [
0,
0,
0,
1,
0,
0,
0
] |
* Get the reserved vcores | QueueStatistics.java | [
1,
0,
0,
0,
0,
0,
0
] |
In summary, @since 66 | AbstractProperty.java | [
0,
0,
0,
0,
0,
1,
0
] |
/** @return the job launch time */ | JobHistoryParser.java | [
0,
0,
0,
1,
0,
0,
0
] |
// add all of C then remove the ones we don't need | KeywordSets.java | [
1,
0,
0,
0,
0,
0,
0
] |
this also enables | SmoothRateLimiter.java | [
0,
0,
0,
1,
0,
0,
0
] |
// we are expecting this | TextViewerDragAdapter.java | [
0,
0,
0,
0,
0,
0,
1
] |
also provide other ways of discovering listeners. | VaadinServiceInitListener.java | [
0,
0,
1,
0,
0,
0,
0
] |
* @return the remote log file. | LogAggregationUtils.java | [
0,
0,
0,
1,
0,
0,
0
] |
* @param klass class. | JarFinder.java | [
0,
0,
0,
1,
0,
0,
0
] |
// There is no point in checking anything else since we have
// decided to do a full build anyway | CommonBuilder.java | [
0,
0,
1,
0,
0,
0,
0
] |
@param index
* the index of the widget to be shown | VTabsheetPanel.java | [
0,
0,
0,
1,
0,
0,
0
] |
* @param status | CommonBuilder.java | [
0,
0,
0,
1,
0,
0,
0
] |
/** Gets Process ID. */ | MulticoreVisualizerThread.java | [
1,
0,
0,
0,
0,
0,
0
] |
True if the user specified the -delete option.
*
* Whe this option is in effect, we will delete corrupted files. | NamenodeFsck.java | [
1,
0,
0,
0,
0,
0,
0
] |
<p>The tool scans all files and directories, starting from an indicated
* root path. The following abnormal conditions are detected and handled:</p>
* <ul>
* <li>files with blocks that are completely missing from all datanodes.<br/>
* In this case the tool can perform one of the following actions:
* <ul>
* ... | [
0,
0,
1,
0,
0,
0,
0
] |
@deprecated as of CDT 4.0. Does not seem to be used anywhere, looks like
* remnant of 3.X style new project wizard. | CNewOptionsPage.java | [
0,
0,
0,
0,
0,
1,
0
] |
* The default presentation control creator. | CInformationProvider.java | [
1,
0,
0,
0,
0,
0,
0
] |
// move back to the sourceroot. | CContainerInfo.java | [
1,
0,
0,
0,
0,
0,
0
] |
Convert the replica to a string for debugging purposes.
* Note that we can't take the lock here. | ShortCircuitReplica.java | [
1,
0,
0,
0,
0,
0,
0
] |
/** Path corresponding to the mount entry */ | MountEntry.java | [
1,
0,
0,
0,
0,
0,
0
] |
// defaultRetryPolicyEnabled = true | TestDefaultRetryPolicy.java | [
1,
0,
0,
0,
0,
0,
0
] |
tests that interaction with source lookups works as expected. | SourceLookupTest.java | [
1,
0,
0,
0,
0,
0,
0
] |
Test that a data-node does not start if configuration specifies
* incorrect URI scheme in data directory.
* Test that a data-node starts if data directory is specified as
* URI = "file:///path" or as a non URI path. | TestDatanodeConfig.java | [
1,
0,
0,
0,
0,
0,
0
] |
gdb specific part | IGDBTraceControl.java | [
0,
0,
1,
0,
0,
0,
0
] |
Note: /**
* Returns the name of the enumerator as referenced in parameter in the Q_ENUMS
* macro expansion. In the sample code in the class declaration, this would return
* "B::E", "E0", or "E1".
*/ | IQEnum.java | [
0,
0,
1,
0,
0,
0,
0
] |
@param tag
* the name of the start tag. | PaintTarget.java | [
0,
0,
0,
1,
0,
0,
0
] |
Note: @deprecated as of CDT 4.0. This class was used for property pages
* for 3.X style projects. | MultipleFolderSelectionDialog.java | [
0,
0,
0,
0,
0,
1,
0
] |
In summary, * Returns true only if this build was compiled with support for openssl. | NativeCodeLoader.java | [
0,
0,
0,
0,
0,
0,
1
] |
this is a very inefficient implementation for getting all the identifiers
// for a class | TypeDataStore.java | [
0,
0,
0,
0,
0,
0,
1
] |
* @return Returns a int | CUILabelProvider.java | [
0,
0,
0,
1,
0,
0,
0
] |
@author crazybob@google^com bob lee an enum cannot be implemented by anything, so it should not be possible to have a successful valid jitable binding | ImplicitBindingTest.java | [
0,
1,
0,
0,
0,
0,
1
] |
Set container tokens to be used during container resource increase.
* The token is acquired from
* <code>AllocateResponse.getIncreasedContainers</code>.
* The token contains the container id and resource capability required for
* container resource increase. | IncreaseContainersResourceRequest.java | [
0,
0,
1,
0,
0,
0,
0
] |
* Create a new line wrapping tab page. | LineWrappingTabPage.java | [
1,
0,
0,
0,
0,
0,
0
] |
Event Dispatcher interface. It dispatches events to registered
* event handlers based on event types. | Dispatcher.java | [
1,
0,
0,
0,
0,
0,
0
] |
* @since 5.1 | GCCParserExtensionConfiguration.java | [
0,
0,
0,
1,
0,
0,
0
] |
* For internal use by the framework only - API subject to change. | VaadinPortletSession.java | [
1,
0,
0,
0,
0,
0,
0
] |
* Sets fsimage for use by servlets. | NameNodeHttpServer.java | [
1,
0,
0,
0,
0,
0,
0
] |
@link Annotation#toString | Annotations.java | [
0,
0,
0,
0,
1,
0,
0
] |
// Set the source field to MutableMetric | MetricsSourceBuilder.java | [
1,
0,
0,
0,
0,
0,
0
] |
all the submitted futures, and statistics about how far the futures are | ReencryptionUpdater.java | [
1,
0,
1,
0,
0,
0,
0
] |
data list register names regno | MIDataListRegisterNames.java | [
0,
0,
0,
1,
0,
0,
0
] |
// If no last configuration or user has changed
// the executable, we need to create a new configuration
// and remove artifacts from the old one. | ApplicationWorkbenchWindowAdvisor. java | [
0,
0,
0,
0,
0,
0,
1
] |
//adjust counters and buffer limit | FadvisedFileRegion.java | [
1,
0,
0,
0,
0,
0,
0
] |
The maps are incrementally updated as described below:
* 1. Initialize the maps as empty.
* 2. Incrementally update the maps
* - When ShellBasedIdMapping is requested for user or group name given
* an ID, or for ID given a user or group name, do look up in the map
* first, if it doesn't... | [
0,
0,
0,
0,
0,
0,
1
] |
// If the token is an old one, renew the its maxInactiveInterval. | AuthenticationFilter. java | [
0,
0,
0,
0,
0,
0,
1
] |
* A reusable {@link OutputStream} implementation that writes to an in-memory
* buffer. | OutputBuffer.java | [
1,
0,
0,
0,
0,
0,
0
] |
// draw selection marker, if any | MulticoreVisualizerThread.java | [
0,
0,
0,
0,
0,
0,
1
] |
// case 1: first truncate to 1.5 blocks
// we truncate 1 blocks, but not on the boundary, thus the diff should
// be -block + (block - 0.5 block) = -0.5 block | TestTruncateQuotaUpdate.java | [
1,
0,
0,
0,
0,
0,
0
] |
function between thresholdpermits and maxpermits. | SmoothRateLimiter.java | [
0,
0,
1,
0,
0,
0,
0
] |
test class to validate routerwebserviceutil methods. | TestRouterWebServiceUtil.java | [
1,
0,
0,
0,
0,
0,
0
] |
In summary, /**
* A test class for testing GridLayoutExpandRatio. The class is empty because
* the name convention is UIClassName+Test. GridLayoutExpandRatioTest and
* GridLayoutHideMiddleCellsTest behave the same way but on different UI
* classes. Thats why they have different names and zero code.
*/ | GridLayout... | [
0,
0,
1,
0,
0,
0,
0
] |
* @return a collection of child nodes | Profiler.java | [
0,
0,
0,
1,
0,
0,
0
] |
// slow | BigIntegerMathTest.java | [
1,
0,
0,
0,
0,
0,
0
] |
/**
* This needs to be implemented iff criterion does some lazy server side
* initialization. The UIDL painted in this method will be passed to client
* side drop handler implementation. Implementation can assume that
* {@link #accept(DragAndDropEvent)} is called before this method.
*
* ... | [
1,
0,
0,
0,
0,
0,
0
] |
@see javax.servlet.ServletContext#addFilter(java.lang.String,
* java.lang.Class) | MockServletContext.java | [
0,
0,
0,
0,
1,
0,
0
] |
// String.format | BigIntegerMathTest.java | [
1,
0,
0,
0,
0,
0,
0
] |
/** @return the quota set or -1 if it is not set. */ | DirectoryWithQuotaFeature.java | [
0,
0,
0,
1,
0,
0,
0
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.