idx
int32
46
1.86M
input
stringlengths
321
6.6k
target
stringlengths
9
1.24k
1,020,961
protected void start(HttpServletRequest request, HttpServletResponse response, Subject subject) throws Exception {<NEW_LINE><MASK><NEW_LINE>final String jobXMLName = request.getParameter("jobXMLName");<NEW_LINE>final Properties jobParams = new Properties();<NEW_LINE>String forceFailure = request.getParameter("force.fai...
JobOperator jobOperator = BatchRuntime.getJobOperator();
870,907
public void testRxFlowableInvoker_postReceiveTimeout(Map<String, String> param, StringBuilder ret) {<NEW_LINE>long timeout = messageTimeout;<NEW_LINE>if (isZOS()) {<NEW_LINE>timeout = zTimeout;<NEW_LINE>}<NEW_LINE>String serverIP = param.get("serverIP");<NEW_LINE>String serverPort = param.get("serverPort");<NEW_LINE>Cl...
long startTime = System.currentTimeMillis();
1,582,290
public static <T extends FATServlet> AssertionError simplify(Class<T> fatClass, String fatMethodName, AssertionError e) {<NEW_LINE>AssertionError assertionError = new AssertionError(fatClass.getSimpleName() + "." + fatMethodName + ": " + e.getMessage());<NEW_LINE>StackTraceElement[] originalStack = e.getStackTrace();<N...
declaringClass, methodName, fileName, lineNumber);
922,625
final UpdateLoggerDefinitionResult executeUpdateLoggerDefinition(UpdateLoggerDefinitionRequest updateLoggerDefinitionRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(updateLoggerDefinitionRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_...
awsRequestMetrics.startEvent(Field.ClientExecuteTime);
1,638,765
protected List<ValidationTaskResult> validateUfs() throws InterruptedException {<NEW_LINE>Map<String, String> validateOpts = ImmutableMap.of();<NEW_LINE>Map<String, String> desc = new ValidateEnv(mUfsPath, mUfsConf).getDescription();<NEW_LINE>List<ValidationTaskResult> results = new LinkedList<>();<NEW_LINE>for (Map.En...
ValidationTask task = entry.getValue();
900,833
public static OCLCompilationResult compileCodeForDevice(ResolvedJavaMethod resolvedMethod, Object[] args, TaskMetaData meta, OCLProviders providers, OCLBackend backend, long batchThreads) {<NEW_LINE>Tornado.info("Compiling %s on %s", resolvedMethod.getName(), backend.getDeviceContext().getDevice().getDeviceName());<NEW...
getName(), meta, backend);
1,430,413
protected UpdateResult doUpdate(String collectionName, Query query, UpdateDefinition update, @Nullable Class<?> entityClass, boolean upsert, boolean multi) {<NEW_LINE>Assert.notNull(collectionName, "CollectionName must not be null!");<NEW_LINE>Assert.notNull(query, "Query must not be null!");<NEW_LINE>Assert.notNull(up...
collectionName, entityClass, updateObj, queryObj);
131,028
public boolean visit(JClassType x, Context ctx) {<NEW_LINE>// have I already been visited as a super type?<NEW_LINE>JsScope myScope = classScopes.get(x);<NEW_LINE>if (myScope != null) {<NEW_LINE>scopeStack.push(myScope);<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE>// My seed function name<NEW_LINE>JsName jsName = topSco...
get(x.getSuperClass());
1,692,879
public void initialize(boolean parsingCompilationUnit) {<NEW_LINE>// positioning the parser for a new compilation unit<NEW_LINE>// avoiding stack reallocation and all that....<NEW_LINE>this.javadoc = null;<NEW_LINE>this.astPtr = -1;<NEW_LINE>this.astLengthPtr = -1;<NEW_LINE>this.expressionPtr = -1;<NEW_LINE>this.expres...
.scanner.eofPosition = Integer.MAX_VALUE;
1,452,872
private void initHandler() {<NEW_LINE>String[] handlerClassesStr = (String[]) this.context.get(MessagingContext.ConsumerHandlerClasses);<NEW_LINE>ClassLoader[] clsLoaders = (ClassLoader[]) this.context.get(MessagingContext.ConsumerHandlerClassLoaders);<NEW_LINE>ClassLoader cl = this.getClass().getClassLoader();<NEW_LIN...
c = tcl.loadClass(handlerClassStr);
577,602
private BindPortFutures runCoordinator() {<NEW_LINE>String coordinatorArgs = String.format("%s -%s %s", _settings.getCoordinatorArgs(), org.batfish.coordinator.config.Settings.ARG_TRACING_ENABLE, _settings.getTracingEnable());<NEW_LINE>// If we are using a command file, just pick ephemeral ports to listen on<NEW_LINE>i...
config.Settings.ARG_SERVICE_WORK_V2_PORT, 0);
1,389,997
public void apply(Project project) {<NEW_LINE>if (SpotlessPluginRedirect.gradleIsTooOld(project)) {<NEW_LINE>throw new GradleException("Spotless requires Gradle " + MINIMUM_GRADLE + " or newer, this was " + project.getGradle().getGradleVersion());<NEW_LINE>}<NEW_LINE>// if -PspotlessModern=true, then use the modern stu...
identityHashCode(project.getRootProject());
1,797,146
protected DiffRequest loadCurrentContents(@Nonnull UserDataHolder context, @Nonnull ProgressIndicator indicator) throws DiffRequestProducerException {<NEW_LINE>DiffRequestProducerException wrapperException = null;<NEW_LINE>DiffRequestProducerException requestException = null;<NEW_LINE>DiffViewerWrapper wrapper = null;<...
process(this, context, indicator);
1,011,042
private void readExtProgOptions() throws LoginException {<NEW_LINE>String externalProgram = (String) options.get(PROGRAM_OPTION_NAME);<NEW_LINE>if (externalProgram == null || externalProgram.isBlank()) {<NEW_LINE>throw new LoginException("Missing " + PROGRAM_OPTION_NAME + "=path_to_external_program in options");<NEW_LI...
add(externalProgram.toString());
1,610,420
void autoFitColumns() {<NEW_LINE>int visibleWidth = 0;<NEW_LINE>int headerHeight = 0;<NEW_LINE>for (ColumnImpl column : getTableHeaderUiFacade().getColumns()) {<NEW_LINE>if (column.isVisible()) {<NEW_LINE>Dimension columnDimension = autoFitColumnWidth(column);<NEW_LINE>visibleWidth += columnDimension.width;<NEW_LINE>he...
.getTreeTableModel().getRoot();
1,662,675
public static Reader<byte[]> acquirePulsarConsumerForConfig(PulsarConfig pulsarStreamLevelStreamConfig) {<NEW_LINE>final ImmutableTriple<String, String, String> configKey = new ImmutableTriple<>(pulsarStreamLevelStreamConfig.getPulsarTopicName(), pulsarStreamLevelStreamConfig.getSubscriberId(), pulsarStreamLevelStreamC...
getInitialMessageId()).create();
462,902
public void marshall(DvbSubDestinationSettings dvbSubDestinationSettings, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (dvbSubDestinationSettings == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(dvbSubDes...
dvbSubDestinationSettings.getShadowColor(), SHADOWCOLOR_BINDING);
1,347,919
protected void drawVertical(Canvas canvas, RecyclerView parent) {<NEW_LINE>canvas.save();<NEW_LINE>final int left;<NEW_LINE>final int right;<NEW_LINE>if (parent.getClipToPadding()) {<NEW_LINE>left = parent.getPaddingLeft();<NEW_LINE>right = parent.getWidth() - parent.getPaddingRight();<NEW_LINE>canvas.clipRect(left, pa...
parent.getDecoratedBoundsWithMargins(child, mBounds);
456,113
// ----- private methods -----<NEW_LINE>private void applyAce(final AccessControllable node, final Ace toAdd, final boolean revoke) throws FrameworkException {<NEW_LINE>final String principalId = toAdd.getPrincipalId();<NEW_LINE>final List<String<MASK><NEW_LINE>final Principal principal = CMISObjectWrapper.translateUse...
> permissions = toAdd.getPermissions();
1,834,488
public okhttp3.Call readAPIServiceStatusCall(String name, String pretty, final ApiCallback _callback) throws ApiException {<NEW_LINE>Object localVarPostBody = null;<NEW_LINE>// create path and map variables<NEW_LINE>String localVarPath = "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replaceAll("\\{" + "na...
= { "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" };
1,392,698
protected List<Long> wakeupScan() {<NEW_LINE>final <MASK><NEW_LINE>SearchCriteria<Long> sc = JoinJobTimeSearch.create();<NEW_LINE>sc.setParameters("beginTime", cutDate);<NEW_LINE>sc.setParameters("endTime", cutDate);<NEW_LINE>final List<Long> result = _joinMapDao.customSearch(sc, null);<NEW_LINE>return Transaction.exec...
Date cutDate = DateUtil.currentGMTTime();
222,900
public static void downloadDistributeStormCode(Map conf, String topologyId, String masterCodeDir) throws IOException, TException {<NEW_LINE>String tmpToot = null;<NEW_LINE>try {<NEW_LINE>// STORM_LOCAL_DIR/supervisor/tmp/(UUID)<NEW_LINE>tmpToot = StormConfig.supervisorTmpDir(conf) + File.separator + UUID.randomUUID().t...
localFileJarTmp = StormConfig.stormjar_path(tmpToot);
1,107,811
public long topicCapacity(String clusterAlias, String topic) throws Exception {<NEW_LINE>String jmx = "";<NEW_LINE>JMXConnector connector = null;<NEW_LINE>List<MetadataInfo> leaders = kafkaService.findKafkaLeader(clusterAlias, topic);<NEW_LINE>long tpSize = 0L;<NEW_LINE>for (MetadataInfo leader : leaders) {<NEW_LINE>St...
"Get topic size from jmx has error, msg is " + ex.getMessage());
418,495
public void writeDelta(OutputStream os, ProducerOptionalBlobPartConfig.OptionalBlobPartOutputStreams partStreams) throws IOException {<NEW_LINE>Map<String, DataOutputStream> partStreamsByType = Collections.emptyMap();<NEW_LINE>if (partStreams != null)<NEW_LINE>partStreamsByType = partStreams.getStreamsByType();<NEW_LIN...
HollowSchema schema = typeState.getSchema();
487,283
public void marshall(ApiDestination apiDestination, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (apiDestination == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(apiDestination.getApiDestinationArn(), API...
apiDestination.getHttpMethod(), HTTPMETHOD_BINDING);
1,754,163
private static OspfInternalSummaryRoute jsonCreator(@Nullable @JsonProperty(PROP_NETWORK) Prefix network, @Nullable @JsonProperty(PROP_ADMINISTRATIVE_COST) Integer admin, @Nullable @JsonProperty(PROP_METRIC) Long metric, @Nullable @JsonProperty(PROP_NEXT_HOP_IP) Ip nextHopIp, @Nullable @JsonProperty(PROP_NEXT_HOP_INTER...
metric != null, "%s must be specified", PROP_METRIC);
938,922
public RFuture<Map<KOut, VOut>> executeAsync() {<NEW_LINE>AtomicReference<RFuture<BatchResult<?>>> batchRef = new AtomicReference<>();<NEW_LINE>RFuture<Void> mapperFuture = executeMapperAsync(resultMapName, null);<NEW_LINE>CompletableFuture<Map<KOut, VOut>> f = mapperFuture.thenCompose(res -> {<NEW_LINE>RBatch batch = ...
}, timeout, TimeUnit.MILLISECONDS);
240,153
private void validateAndSetParameters(Program programParam, DataTypeManager dataTypeManagerParam, Address imageBaseParam, PdbApplicatorOptions applicatorOptionsParam, TaskMonitor monitorParam, MessageLog logParam) throws PdbException {<NEW_LINE>applicatorOptions = (applicatorOptionsParam != null) ? applicatorOptionsPar...
null) ? monitorParam : TaskMonitor.DUMMY;
1,769,802
protected synchronized void parse(IParseState parseState, WorkingParseResult working) throws java.lang.Exception {<NEW_LINE>fMonitor = parseState.getProgressMonitor();<NEW_LINE>fScanner = new HTMLParserScanner();<NEW_LINE>fElementStack <MASK><NEW_LINE>fCommentNodes = new ArrayList<IParseNode>();<NEW_LINE>fWorkingParseR...
= new Stack<IParseNode>();
996,430
public void run() {<NEW_LINE>try {<NEW_LINE>File selectedFile = getFile();<NEW_LINE>BufferProject bufferProject = new BufferProject(getProject(), getUiFacade());<NEW_LINE>ProjectFileImporter importer = new ProjectFileImporter(bufferProject, getUiFacade().getTaskColumnList(), selectedFile);<NEW_LINE>importer.run();<NEW_...
getScheduler().setEnabled(false);
49,841
public static LedgerMetadataBuilder from(LedgerMetadata other) {<NEW_LINE>LedgerMetadataBuilder builder = new LedgerMetadataBuilder();<NEW_LINE>builder.ledgerId = other.getLedgerId();<NEW_LINE>builder.metadataFormatVersion = other.getMetadataFormatVersion();<NEW_LINE>builder.ensembleSize = other.getEnsembleSize();<NEW_...
of(other.getDigestType());
1,608,052
public JsonNode normalizeData(final EventNode event, final long timestamp, final long slot, final List<String> fillIds) {<NEW_LINE>final String side = event.eventFlags.bid ? "buy" : "sell";<NEW_LINE>if (event.eventFlags.fill) {<NEW_LINE>final ObjectNode fill = JsonNodeFactory.instance.objectNode();<NEW_LINE>fill.put("t...
fill.put("timestamp", timestamp);
787,686
/* (non-Javadoc)<NEW_LINE>* @see com.kkalice.adempiere.migrate.DBEngineInterface#sqlAdmin_optimizeDatabase(com.kkalice.adempiere.migrate.Parameters, com.kkalice.adempiere.migrate.Logger, com.kkalice.adempiere.migrate.DBEngine, int, java.lang.String, java.lang.String)<NEW_LINE>*/<NEW_LINE>public String sqlAdmin_optimize...
"v_CMD := 'ALTER DATABASE DATAFILE ''' || ts.FILE_NAME || ''' AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED'; " + "EXECUTE IMMEDIATE v_CMD; " + "END LOOP; " + "END; ");
375,347
public int doEndTag() throws JspException {<NEW_LINE>Hashtable connectionLookup = (Hashtable) pageContext.<MASK><NEW_LINE>if (connectionLookup == null) {<NEW_LINE>throw new JspException("No dbconnect tag found in jsp : ");<NEW_LINE>}<NEW_LINE>DefinedIndexManager indexMgr = (DefinedIndexManager) pageContext.getAttribute...
getAttribute("TSXConnectionLookup", PageContext.PAGE_SCOPE);
792,253
public HlsIngest unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>HlsIngest hlsIngest = new HlsIngest();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE><MASK><NEW_LINE>int targetDepth = originalDepth + 1;<NEW_LINE>JsonToken token = context.getCurrentToken();<NEW_LINE>if (token =...
String currentParentElement = context.getCurrentParentElement();
1,631,135
public com.amazonaws.services.eventbridge.model.InvalidStateException unmarshallFromContext(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>com.amazonaws.services.eventbridge.model.InvalidStateException invalidStateException = new com.amazonaws.services.eventbridge.model.InvalidStateException(null);<NEW_LI...
int originalDepth = context.getCurrentDepth();
136,324
public void selectionChanged(@Nonnull final FileEditorManagerEvent event) {<NEW_LINE>final VirtualFile oldFile = event.getOldFile();<NEW_LINE>final VirtualFile newFile = event.getNewFile();<NEW_LINE>if (Comparing.equal(oldFile, newFile) && Comparing.equal(getFile(), newFile)) {<NEW_LINE>Runnable runnable = () -> {<NEW_...
).providerSelected(DesktopEditorComposite.this);
1,662,400
private static Set<Kmer> determineNonUniques(final int kmerSize, Collection<SequenceForKmers> withNonUniques) {<NEW_LINE>final Set<Kmer> nonUniqueKmers = new HashSet<>();<NEW_LINE>// loop over all sequences that have non-unique kmers in them from the previous iterator<NEW_LINE>final Iterator<SequenceForKmers> it = with...
SequenceForKmers sequenceForKmers = it.next();
1,116,919
private static ImmutableList<ConfiguredTargetKey> configureRegisteredExecutionPlatforms(Environment env, BuildConfigurationValue configuration, List<Label> labels) throws InterruptedException, RegisteredExecutionPlatformsFunctionException {<NEW_LINE>ImmutableList<ConfiguredTargetKey> keys = labels.stream().map(label ->...
values.nextOrThrow(ConfiguredValueCreationException.class);
1,513,573
public Map<TypeDescription, Class<?>> load(@MaybeNull ClassLoader classLoader, Map<TypeDescription, byte[]> types) {<NEW_LINE>DexProcessor.Conversion conversion = dexProcessor.create();<NEW_LINE>for (Map.Entry<TypeDescription, byte[]> entry : types.entrySet()) {<NEW_LINE>conversion.register(entry.getKey().getName(), en...
putNextEntry(new JarEntry(DEX_CLASS_FILE));
520,254
final BatchGetFreeTrialInfoResult executeBatchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest batchGetFreeTrialInfoRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(batchGetFreeTrialInfoRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>...
awsRequestMetrics.endEvent(Field.RequestMarshallTime);
527,831
private void initDeviceView() {<NEW_LINE>main = new Composite(parent, SWT.NONE);<NEW_LINE>GridLayout layout = new GridLayout();<NEW_LINE>layout.numColumns = 1;<NEW_LINE>layout.marginTop = 4;<NEW_LINE>layout.marginBottom = 4;<NEW_LINE>layout.marginHeight = 4;<NEW_LINE>layout.marginWidth = 4;<NEW_LINE>main.setLayout(layo...
.getParent().layout();
1,428,451
public void annotate(@Nonnull final VirtualFile contentRoot, @Nonnull final CoverageSuitesBundle suite, @Nonnull final CoverageDataManager dataManager, @Nonnull final ProjectData data, final Project project, final Annotator annotator) {<NEW_LINE>if (!contentRoot.isValid()) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>// TODO...
.getClasses().keySet();
970,828
public void mouseDown(MouseEvent e) {<NEW_LINE>double xValue = xyGraph.primaryXAxis.getPositionValue(e.x, false);<NEW_LINE>double yValue = xyGraph.primaryYAxis.getPositionValue(e.y, false);<NEW_LINE>if (xyGraph.primaryXAxis.getRange().getLower() > xValue || xyGraph.primaryXAxis.getRange().getUpper() < xValue)<NEW_LINE>...
t = sortedTraces.get(i);
1,396,584
protected IProject createNewProject(IProgressMonitor monitor) throws InvocationTargetException {<NEW_LINE>SubMonitor sub = SubMonitor.convert(monitor, 100);<NEW_LINE>// Project description creation<NEW_LINE>IProjectDescription description = ResourceUtil.getProjectDescription(destPath, getProjectNatures(), getProjectBui...
selectedTemplate.apply(newProject, true);
965,084
final EnableDomainAutoRenewResult executeEnableDomainAutoRenew(EnableDomainAutoRenewRequest enableDomainAutoRenewRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(enableDomainAutoRenewRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>...
HandlerContextKey.SIGNING_REGION, getSigningRegion());
525,047
public AppMeta extract(ApkSourceFile apkSourceFile, ApkSourceFile.Entry baseApkEntry) {<NEW_LINE>try {<NEW_LINE>boolean seenMetaFile = false;<NEW_LINE>AppMeta appMeta = new AppMeta();<NEW_LINE>for (ApkSourceFile.Entry entry : apkSourceFile.listEntries()) {<NEW_LINE>if (entry.getLocalPath().equals(META_FILE)) {<NEW_LINE...
packageName = metaJson.optString("package_name");
892,370
protected void select_instances() {<NEW_LINE>List<Object> selected_packages = list.getSelectedValuesList();<NEW_LINE>if (selected_packages.size() <= 0) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>app.freerouting.board.RoutingBoard routing_board = board_frame.board_panel.board_handling.get_routing_board();<NEW_LINE>java.util...
> board_items = routing_board.get_items();
153,854
private void saveAsRequest(RequestContainer request) {<NEW_LINE>SaveRequestDialog dialog = new SaveRequestDialog(request, activeWorkspace.getCollections());<NEW_LINE>dialog.showAndWait();<NEW_LINE>if (dialog.isCancelled())<NEW_LINE>return;<NEW_LINE>request.setId(UUID.randomUUID().toString());<NEW_LINE>request.setName(d...
(ObjectUtils.deepClone(request));
1,166,714
private ImportsDelta computeDelta(Collection<ImportName> implicitImports, Collection<OnDemandReduction> onDemandReductions) {<NEW_LINE>Collection<ImportName> additions = new ArrayList<ImportName>(this.originalImportsList.size());<NEW_LINE>additions.addAll(this.importsToAdd);<NEW_LINE>Collection<ImportName> removals = n...
this.originalImportsList.size());
1,203,909
private void loadNode30() {<NEW_LINE>UaMethodNode node = new UaMethodNode(this.context, Identifiers.ConditionType_AddComment, new QualifiedName(0, "AddComment"), new LocalizedText("en", "AddComment"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.valueOf(0), true, true);<NEW_LINE>node.addReference(new Referen...
this.nodeManager.addNode(node);
1,410,180
public EdgeLabel readEdgeLabel(HugeGraph graph, BackendEntry backendEntry) {<NEW_LINE>if (backendEntry == null) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>TableBackendEntry entry = this.convertEntry(backendEntry);<NEW_LINE>Number id = schemaColumn(entry, HugeKeys.ID);<NEW_LINE>String name = schemaColumn(entry, HugeKey...
(this.toIdArray(nullableKeys));
274,391
private static FileObject resolveFile(final FileObject root, String classBinaryName) {<NEW_LINE>assert classBinaryName != null;<NEW_LINE>// NOI18N<NEW_LINE>classBinaryName = classBinaryName.replace('.', '/');<NEW_LINE>// NOI18N<NEW_LINE>int index = classBinaryName.lastIndexOf('/');<NEW_LINE>FileObject folder;<NEW_LINE>...
index = name.indexOf('$');
848,076
/* Build call for subscriptionsUnblockSubscriptionPost */<NEW_LINE>private com.squareup.okhttp.Call subscriptionsUnblockSubscriptionPostCall(String subscriptionId, String ifMatch, String ifUnmodifiedSince, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener pr...
String[] localVarContentTypes = { "application/json" };
822,107
public void draw(PolygonRegion region, float x, float y) {<NEW_LINE>if (!drawing)<NEW_LINE>throw new IllegalStateException("PolygonSpriteBatch.begin must be called before draw.");<NEW_LINE>final short[] triangles = this.triangles;<NEW_LINE>final short[] regionTriangles = region.triangles;<NEW_LINE>final int regionTrian...
Texture texture = region.region.texture;
443,311
final ListNotebookInstanceLifecycleConfigsResult executeListNotebookInstanceLifecycleConfigs(ListNotebookInstanceLifecycleConfigsRequest listNotebookInstanceLifecycleConfigsRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listNotebookInstanceLifecycleConfigsRequest);<NEW_LINE>AWSRequestMet...
addHandlerContext(HandlerContextKey.SERVICE_ID, "SageMaker");
650,507
// ///////////// Emit Terminator instructions ////////////////////<NEW_LINE>static String emitTerminator(BIRTerminator term, int tabs) {<NEW_LINE>switch(term.kind) {<NEW_LINE>case WAIT:<NEW_LINE>return emitWait((BIRTerminator.Wait) term, tabs);<NEW_LINE>case FLUSH:<NEW_LINE>return emitFlush((BIRTerminator.Flush) term, ...
BIRTerminator.WorkerSend) term, tabs);
1,322,641
// --------------------------------------------------------------------------------------------<NEW_LINE>@Override<NEW_LINE>public void open(FileInputSplit fileSplit) throws IOException {<NEW_LINE>this.currentSplit = fileSplit;<NEW_LINE>this<MASK><NEW_LINE>this.splitLength = fileSplit.getLength();<NEW_LINE>if (LOG.isDe...
.splitStart = fileSplit.getStart();
1,844,585
public DescribeScheduledAuditResult describeScheduledAudit(DescribeScheduledAuditRequest describeScheduledAuditRequest) throws AmazonServiceException, AmazonClientException {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(describeScheduledAuditRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics ...
invoke(request, responseHandler, executionContext);
463,714
public CompletableFuture<List<TransactionInfo>> listCompletedTransactions(final Stream stream) {<NEW_LINE>Exceptions.checkNotClosed(closed.get(), this);<NEW_LINE>Preconditions.checkNotNull(stream, "stream");<NEW_LINE>final long requestId = requestIdGenerator.get();<NEW_LINE>long traceId = LoggerHelpers.traceEnter(log, ...
(Collectors.toList()));
1,325,511
public JsonNode traceBlock(String blockHash, Map<String, String> traceOptions) {<NEW_LINE>logger.trace("debug_traceBlockByHash({}, {})", blockHash, traceOptions);<NEW_LINE>TraceOptions options = new TraceOptions(traceOptions);<NEW_LINE>if (!options.getUnsupportedOptions().isEmpty()) {<NEW_LINE>// TODO: implement the lo...
"Received {} unsupported trace options.", options.getUnsupportedOptions());
1,807,243
private void jbInit() throws Exception {<NEW_LINE>this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);<NEW_LINE>fResource.addActionListener(this);<NEW_LINE>delete.addActionListener(this);<NEW_LINE>confirmPanel.addButton(delete);<NEW_LINE>confirmPanel.addActionListener(this);<NEW_LINE>//<NEW_LINE>mainPanel.s...
8), 100, 0));
1,014,199
final DescribeCacheSecurityGroupsResult executeDescribeCacheSecurityGroups(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(describeCacheSecurityGroupsRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.get...
awsRequestMetrics.endEvent(Field.RequestMarshallTime);
1,502,317
public FunDef resolve(Exp[] args, Validator validator, List<Conversion> conversions) {<NEW_LINE>if (args.length < 3) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>int valueType = args[0].getCategory();<NEW_LINE>int returnType = <MASK><NEW_LINE>int j = 0;<NEW_LINE>int clauseCount = (args.length - 1) / 2;<NEW_LINE>int mism...
args[2].getCategory();
1,341,005
public void init() {<NEW_LINE>if (init)<NEW_LINE>return;<NEW_LINE>INSTANCE = this;<NEW_LINE>context = getReactApplicationContext();<NEW_LINE>emitter = new MusicControlEventEmitter(context, notificationId);<NEW_LINE>session = new MediaSessionCompat(context, "MusicControl");<NEW_LINE>session.setFlags(MediaSessionCompat.F...
emitter, true, 100, 100);
683,836
public void propertyChange(@NonNull final PropertyChangeEvent evt) {<NEW_LINE>if (ProjectProperties.PROP_PROJECT_CONFIGURATION_CONFIG.equals(evt.getPropertyName())) {<NEW_LINE>LOGGER.log(Level.FINER, "Refiring " + ProjectProperties.PROP_PROJECT_CONFIGURATION_CONFIG + " -> " + ProjectConfigurationProvider.PROP_CONFIGURA...
Collections.<String>emptySet();
1,648,809
public void onCreate(Bundle savedInstanceState) {<NEW_LINE><MASK><NEW_LINE>this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);<NEW_LINE>super.onCreate(savedInstanceState);<NEW_LINE>setContentView(R.layout.lt_create_trade_1_activity);<NEW_LINE>_mbwManager = ...
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
1,093,841
public ResponseType execute() {<NEW_LINE>try {<NEW_LINE><MASK><NEW_LINE>} catch (Throwable e) {<NEW_LINE>if (e instanceof HystrixRuntimeException) {<NEW_LINE>throw (HystrixRuntimeException) e;<NEW_LINE>}<NEW_LINE>// if we have an exception we know about we'll throw it directly without the threading wrapper exception<NE...
return queue().get();
89,383
private List<Wo> list(Business business, Wi wi) throws Exception {<NEW_LINE>List<Wo> wos = new ArrayList<>();<NEW_LINE>if (StringUtils.isEmpty(wi.getKey())) {<NEW_LINE>return wos;<NEW_LINE>}<NEW_LINE>String str = StringUtils.lowerCase(StringTools.escapeSqlLikeKey(wi.getKey()));<NEW_LINE>EntityManager em = business.enti...
Wo.copier.copy(os);
246,914
// The purpose of this method is to verify that we were actually able to obtain a valid no-interface style BeanReference using the EJBLink flow, and that we can<NEW_LINE>// do this when we have a 'beanInterface' and a generic variable type.<NEW_LINE>@Asynchronous<NEW_LINE>public Future<Integer> invokeMethodOnReferenceO...
info("threadId: " + NoInterfaceBean2.beanThreadId);
1,100,144
public OResultSet executeSimple(OServerCommandContext ctx) {<NEW_LINE>OSystemDatabase systemDb = ctx.getServer().getSystemDatabase();<NEW_LINE>OResultInternal result = new OResultInternal();<NEW_LINE>result.setProperty("operation", "exists system user");<NEW_LINE>if (name != null) {<NEW_LINE>result.setProperty("name", ...
(ctx.getInputParameters()));
1,744,368
public void actionPerformed(ActionEvent e) {<NEW_LINE>final <MASK><NEW_LINE>final IMapSelection selection = Controller.getCurrentController().getSelection();<NEW_LINE>if (centeredNodeId == null) {<NEW_LINE>final NodeModel selected = selection.getSelected();<NEW_LINE>if (selected != null) {<NEW_LINE>UndoableSlide.of(sli...
String centeredNodeId = slide.getPlacedNodeId();
87,279
final ListScramSecretsResult executeListScramSecrets(ListScramSecretsRequest listScramSecretsRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listScramSecretsRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEv...
addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
1,376,019
public void paintComponent(Graphics g) {<NEW_LINE>super.paintComponent(g);<NEW_LINE>Graphics2D g2 = (Graphics2D) g;<NEW_LINE>AffineTransform original = g2.getTransform();<NEW_LINE>configureDrawImageGraphics(g2);<NEW_LINE>// draw the image<NEW_LINE>BufferedImage img = this.img;<NEW_LINE>if (img != null) {<NEW_LINE>compu...
drawImage(img, transform, null);
25,778
public static byte[] encodeSingleNullable(byte[] value, int prefixPadding, int suffixPadding) {<NEW_LINE>if (prefixPadding <= 0 && suffixPadding <= 0) {<NEW_LINE>if (value == null) {<NEW_LINE>return new byte[] { NULL_BYTE_LOW };<NEW_LINE>}<NEW_LINE>int length = value.length;<NEW_LINE>if (length == 0) {<NEW_LINE>return ...
0, dst, 1, length);
98,251
/*<NEW_LINE>* Attempt to parse the text the user has already typed in. This either succeeds, in<NEW_LINE>* which case we may propose to expand what she has typed, or it fails (most likely<NEW_LINE>* because this is not well formed), in which case we try to recover from the parsing<NEW_LINE>* failure and still add propo...
collector = new ArrayList<>();
351,388
private static void createPyMethods() {<NEW_LINE>String clazz = className.substring(className.lastIndexOf(".") + 1);<NEW_LINE>String[] docItems = null;<NEW_LINE>for (List<String> functionDoc : functionDocs) {<NEW_LINE>String function = functionDoc.get(0);<NEW_LINE>String docReturn = "";<NEW_LINE>Map<String, String> doc...
docReturn = item.substring(7);
1,301,266
final GetByteMatchSetResult executeGetByteMatchSet(GetByteMatchSetRequest getByteMatchSetRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(getByteMatchSetRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEvent(F...
addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
1,198,302
final GetRestApisResult executeGetRestApis(GetRestApisRequest getRestApisRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(getRestApisRequest);<NEW_LINE><MASK><NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTime);<NEW_LINE>Request<GetRestApisRequest> request = null;<NEW_LINE>Respo...
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
631,607
private void initComponents() {<NEW_LINE>jlAlternativeName = new JLabel(res.getString("DSubjectAlternativeName.jlAlternativeName.text"));<NEW_LINE>GridBagConstraints gbc_jlAlternativeName = new GridBagConstraints();<NEW_LINE>gbc_jlAlternativeName.gridx = 0;<NEW_LINE>gbc_jlAlternativeName.gridy = 1;<NEW_LINE>gbc_jlAlter...
(res.getString("DSubjectAlternativeName.jbOK.text"));
933,135
public Object calculate(Context ctx) {<NEW_LINE>if (param == null) {<NEW_LINE>MessageManager mm = EngineMessage.get();<NEW_LINE>throw new RQException("ftp_mget" + mm.getMessage("function.missingParam"));<NEW_LINE>}<NEW_LINE>int size = param.getSubSize();<NEW_LINE>if (size < 4) {<NEW_LINE>MessageManager mm = EngineMessa...
+ mm.getMessage("function.invalidParam"));
1,727,583
public void onMatch(RelOptRuleCall call) {<NEW_LINE>final Aggregate aggregate = call.rel(0);<NEW_LINE>final Project project = call.rel(1);<NEW_LINE>final RexBuilder rexBuilder = aggregate.getCluster().getRexBuilder();<NEW_LINE>final List<AggregateCall> newCalls = new ArrayList<>(aggregate.getAggCallList().size());<NEW_...
newCasts = new ArrayList<>();
1,283,905
public void launch(GhidraApplicationLayout layout, String[] args) throws IOException {<NEW_LINE>Application.initializeApplication(layout, new HeadlessGhidraApplicationConfiguration());<NEW_LINE>if (args.length == 0) {<NEW_LINE>usage(args);<NEW_LINE>}<NEW_LINE>File outputFile = null;<NEW_LINE>File srczip = null;<NEW_LIN...
out.println("Extra Bin Dir = " + extraBinDir);
899,836
public CodegenExpression make(CodegenMethodScope parent, CodegenClassScope classScope) {<NEW_LINE>CodegenMethod method = parent.makeChild(ScheduleSpec.EPTYPE, this.getClass(), classScope);<NEW_LINE>CodegenExpressionRef spec = ref("spec");<NEW_LINE>method.getBlock().declareVarNewInstance(ScheduleSpec.EPTYPE, spec.getRef...
"setOptionalDayOfMonthOperator", optionalDayOfMonthOperator.make());
665,422
public MultipleObjectsBundle filter(MultipleObjectsBundle objects) {<NEW_LINE>final int size = objects.dataLength();<NEW_LINE>if (size == 0) {<NEW_LINE>return objects;<NEW_LINE>}<NEW_LINE>MultipleObjectsBundle bundle = new MultipleObjectsBundle();<NEW_LINE>for (int r = 0; r < objects.metaLength(); r++) {<NEW_LINE>@Supp...
bundle.appendColumn(type, column);
227,049
public void refresh() {<NEW_LINE>TcpProxy tcp = TcpProxy.getTcpProxy(serverId);<NEW_LINE>Pack p = null;<NEW_LINE>try {<NEW_LINE>MapPack param = new MapPack();<NEW_LINE>ListValue objHashLv = AgentModelThread.getInstance().getLiveObjHashLV(serverId, CounterConstants.MARIA_PLUGIN);<NEW_LINE>if (objHashLv.size() > 0) {<NEW...
now = TimeUtil.getCurrentTime(serverId);
1,626,454
protected boolean beforeDelete() {<NEW_LINE>// Clean own index<NEW_LINE>MIndex.cleanUp(get_TrxName(), getAD_Client_ID(), get_Table_ID(), get_ID());<NEW_LINE>// Clean ElementIndex<NEW_LINE>MContainerElement[] theseElements = getAllElements();<NEW_LINE>if (theseElements != null) {<NEW_LINE>for (int i = 0; i < theseElemen...
debug("#" + no + " - TreeType=CMC");
1,744,740
private void init(Context context, AttributeSet attributeSet) {<NEW_LINE>final TypedArray attributes = context.obtainStyledAttributes(attributeSet, R.styleable.ContributorsView, 0, 0);<NEW_LINE>if (attributes != null) {<NEW_LINE>final View layout = LayoutInflater.from(context).inflate(<MASK><NEW_LINE>NetworkImageView n...
R.layout.item_contributor, this);
1,204,577
protected ObjectNode.Builder createNodeBuilder() {<NEW_LINE>ObjectNode.Builder builder = Node.objectNodeBuilder();<NEW_LINE>if (!schemas.isEmpty()) {<NEW_LINE>builder.withMember("schemas", schemas.entrySet().stream().collect(ObjectNode.collectStringKeys(Map.Entry::getKey, <MASK><NEW_LINE>}<NEW_LINE>if (!responses.isEmp...
Map.Entry::getValue)));
1,187,541
/*<NEW_LINE>* testCMTRequiredRollback()<NEW_LINE>*<NEW_LINE>* MTX19 - CMT's onMsg() with 'Required', the Tx is not committed (DB update is not commited)<NEW_LINE>*/<NEW_LINE>public void testXMLCMTRequiredRollback() throws Exception {<NEW_LINE><MASK><NEW_LINE>FATMDBHelper.putQueueMessage("CMT ROLLBACK", qcfName, cmtRequ...
FATMDBHelper.emptyQueue(qcfName, testResultQueueName);
499,985
void calc(FastDistanceVectorData left, FastDistanceSparseData right, double[] res) {<NEW_LINE>Arrays.fill(res, 0.0);<NEW_LINE>int[][] rightIndices = right.getIndices();<NEW_LINE>double[][] rightValues = right.getValues();<NEW_LINE>if (left.getVector() instanceof DenseVector) {<NEW_LINE>double[] leftData = ((DenseVector...
.getLabel().getData();
1,458,839
public final void expand() {<NEW_LINE>if (popup != null || !source.isEnabled())<NEW_LINE>return;<NEW_LINE>Content content = prepare(source, onShow);<NEW_LINE>JComponent component = content.getContentComponent();<NEW_LINE><MASK><NEW_LINE>if (size.width - 50 < source.getWidth())<NEW_LINE>size.width = source.getWidth();<N...
Dimension size = component.getPreferredSize();
1,730,077
protected void configure(FilterRegistration.Dynamic registration) {<NEW_LINE>super.configure(registration);<NEW_LINE>EnumSet<MASK><NEW_LINE>if (dispatcherTypes == null) {<NEW_LINE>T filter = getFilter();<NEW_LINE>if (ClassUtils.isPresent("org.springframework.web.filter.OncePerRequestFilter", filter.getClass().getClassL...
<DispatcherType> dispatcherTypes = this.dispatcherTypes;
1,602,840
public void saveData(LdapDirectorySettings settings) {<NEW_LINE>settings.setName(this.nameField.getText());<NEW_LINE>settings.setHostname(hostnameField.getText());<NEW_LINE>if (encryptionBox.isSelected()) {<NEW_LINE>settings.setEncryption(Encryption.SSL);<NEW_LINE>} else {<NEW_LINE><MASK><NEW_LINE>}<NEW_LINE>// auth si...
settings.setEncryption(Encryption.CLEAR);
734,127
public void process() throws BimserverDatabaseException, UserException, ServerException {<NEW_LINE>DatabaseSession session = getBimServer().getDatabase(<MASK><NEW_LINE>try {<NEW_LINE>Project project = session.get(StorePackage.eINSTANCE.getProject(), poid, OldQuery.getDefault());<NEW_LINE>for (Service service : project....
).createSession(OperationType.READ_ONLY);
682,585
private Property createProperty(final ConfigObject conf) {<NEW_LINE>Property property = new Property();<NEW_LINE>// Database name must be set<NEW_LINE>if (!conf.containsKey(NAME_CONFIG_KEY)) {<NEW_LINE>throw new IllegalArgumentException("[storage.properties] database name must be set.");<NEW_LINE>}<NEW_LINE>property.se...
throw new IllegalArgumentException("[storage.properties] permission denied to write to: " + path);
86,430
public Text createText(Expression expression, FormatToExpression format) {<NEW_LINE>if (expression instanceof Variable) {<NEW_LINE>String ident = ((Variable) expression).getIdentifier();<NEW_LINE>return formatIdent(ident);<NEW_LINE>} else if (expression instanceof Constant) {<NEW_LINE>String value = format.constant(((C...
.getExpression(), format));
791,282
public void execute() {<NEW_LINE>final DialogBox db = new DialogBox(false, true);<NEW_LINE>db.setText("About MIT App Inventor");<NEW_LINE>db.setStyleName("ode-DialogBox");<NEW_LINE>db.setHeight("200px");<NEW_LINE>db.setWidth("400px");<NEW_LINE>db.setGlassEnabled(true);<NEW_LINE>db.setAnimationEnabled(true);<NEW_LINE>db...
.getInstance().getSystemConfig();
1,429,567
protected int registerEvent(long oclEventId, EventDescriptor descriptorId, OCLCommandQueue queue) {<NEW_LINE>if (retain.get(eventIndex)) {<NEW_LINE>findNextEventSlot();<NEW_LINE>}<NEW_LINE>final int currentEvent = eventIndex;<NEW_LINE>guarantee(!retain<MASK><NEW_LINE>if (oclEventId == -1) {<NEW_LINE>fatal("invalid even...
.get(currentEvent), "overwriting retained event");
101,012
public void testisUserInRoleLDAPISWar1() throws Exception {<NEW_LINE>Log.info(logClass, getCurrentTestName(), "-----Entering " + getCurrentTestName());<NEW_LINE>String queryString = EJB_WAR_PATH + SIMPLE_SERVLET + "?testInstance=ejb03&testMethod=manager";<NEW_LINE>Log.info(logClass, getCurrentTestName(), "-------------...
), "-----Exiting " + getCurrentTestName());