idx
int32
46
1.86M
input
stringlengths
321
6.6k
target
stringlengths
9
1.24k
1,644,620
private static String errorDetailMessage(Any detail) throws InvalidProtocolBufferException {<NEW_LINE>if (detail.is(RetryInfo.class)) {<NEW_LINE>return retryInfoMessage(detail<MASK><NEW_LINE>}<NEW_LINE>if (detail.is(DebugInfo.class)) {<NEW_LINE>return debugInfoMessage(detail.unpack(DebugInfo.class));<NEW_LINE>}<NEW_LIN...
.unpack(RetryInfo.class));
1,690,236
private static void replaceGuardNode(LoopEx loop, GuardNode guard, ValueNode range, StructuredGraph graph, long scaleCon, ValueNode offset) {<NEW_LINE>final InductionVariable counter = loop.counted().getLimitCheckedIV();<NEW_LINE>ValueNode rangeLong = IntegerConvertNode.convert(range, StampFactory.forInteger(64), graph...
.loopBegin().stateAfter();
1,318,735
private void drawAABB(Fixture fixture, Transform transform) {<NEW_LINE>if (fixture.getType() == Type.Circle) {<NEW_LINE>CircleShape shape = (CircleShape) fixture.getShape();<NEW_LINE>float radius = shape.getRadius();<NEW_LINE>vertices[0].set(shape.getPosition());<NEW_LINE>transform.mul(vertices[0]);<NEW_LINE>lower.set(...
, vertices[i].x);
95,641
// Convert arrays from [[[I form to int[][][] form.<NEW_LINE>public static String fixParamClassName(String param) {<NEW_LINE>if (param.charAt(0) == '[') {<NEW_LINE>// an array<NEW_LINE>int dimensions = param.lastIndexOf('[') + 1;<NEW_LINE>char code = param.charAt(dimensions);<NEW_LINE>String newparam = null;<NEW_LINE>s...
++) buf.append("[]");
1,814,029
private void handleFeatureParameters() {<NEW_LINE>Parameter[] parameters = whereBlock.getParent()<MASK><NEW_LINE>Map<Boolean, List<Parameter>> declaredParameters = Arrays.stream(parameters).collect(partitioningBy(parameter -> isDataProcessorVariable(parameter.getName())));<NEW_LINE>Map<String, Parameter> declaredDataVa...
.getAst().getParameters();
1,048,983
private LLVMValueRef emitCall(Invoke invoke, LoweredCallTargetNode callTarget, LLVMValueRef callee, long patchpointId, LLVMValueRef... args) {<NEW_LINE>boolean nativeABI = ((SubstrateCallingConventionType) callTarget.callType()).nativeABI();<NEW_LINE>if (!SubstrateBackend.hasJavaFrameAnchor(callTarget)) {<NEW_LINE>asse...
count() + 1] = callee;
525,836
public boolean isMethodConstrained(Method method, BeanDescriptor beanDescriptor, ClassLoader moduleClassLoader, String moduleUri) {<NEW_LINE>setupGlobalValidationSettings(moduleClassLoader, moduleUri);<NEW_LINE>if (!isExecutableValidationEnabled) {<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE>List<Method> overriddenAndIm...
? ExecutableType.GETTER_METHODS : ExecutableType.NON_GETTER_METHODS;
1,246,265
/*<NEW_LINE>* Here is how the volume of the fillet is found. It assumes a circular concave<NEW_LINE>* fillet tangent to the fin and the body tube.<NEW_LINE>*<NEW_LINE>* 1. Form a triangle with vertices at the BT center, the tangent point between<NEW_LINE>* the fillet and the fin, and the center of the fillet radius...
Transformation.rotate_x(getAngleOffset());
186,738
public void apply(ITextViewer viewer, char trigger, int stateMask, int offset) {<NEW_LINE>try {<NEW_LINE>IDocument document = viewer.getDocument();<NEW_LINE>// Handle wrapping in quotes if necessary<NEW_LINE>char prevChar = _replacementOffset > 0 ? document.<MASK><NEW_LINE>char quote = '"';<NEW_LINE>switch(prevChar) {<...
getChar(_replacementOffset - 1) : ' ';
1,679,980
private static BwaMemAlignment readAlignment(final Input input) {<NEW_LINE>final int samFlag = input.readInt();<NEW_LINE>final int refId = input.readInt();<NEW_LINE>final <MASK><NEW_LINE>final int refEnd = input.readInt();<NEW_LINE>final int seqStart = input.readInt();<NEW_LINE>final int seqEnd = input.readInt();<NEW_L...
int refStart = input.readInt();
405,154
public void collect(CrawlController controller, StatisticsTracker stats) {<NEW_LINE>// TODO: reconsider names of these methods, inline?<NEW_LINE>downloadedUriCount = controller.getFrontier().succeededFetchCount();<NEW_LINE>bytesProcessed = stats.crawledBytes.getTotalBytes();<NEW_LINE>timestamp = System.currentTimeMilli...
crawledBytes.get(CrawledBytesHistotable.NOVEL);
1,400,224
private void storeFeedDetails() {<NEW_LINE>// Store the facebook and twitter page name in the shared preference from the database<NEW_LINE>storePageName(ConstantStrings.SOCIAL_LINK_FACEBOOK, ConstantStrings.FACEBOOK_PAGE_NAME);<NEW_LINE>storePageName(ConstantStrings.SOCIAL_LINK_TWITTER, ConstantStrings.TWITTER_PAGE_NAM...
putString(ConstantStrings.FACEBOOK_PAGE_ID, id);
1,052,202
static Map<ChannelOption<?>, Object> applyDefaultChannelOptions(boolean enabled, TransportType transportType, Map<ChannelOption<?>, Object> channelOptions, long idleTimeoutMillis, long pingIntervalMillis) {<NEW_LINE>if (!enabled) {<NEW_LINE>return channelOptions;<NEW_LINE>}<NEW_LINE>final ImmutableMap.Builder<ChannelOp...
newChannelOptionsBuilder, ChannelOption.SO_KEEPALIVE, true);
393,742
public boolean similar(Object other) {<NEW_LINE>if (!(other instanceof JSONArray)) {<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE><MASK><NEW_LINE>if (len != ((JSONArray) other).length()) {<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE>for (int i = 0; i < len; i += 1) {<NEW_LINE>Object valueThis = this.myArrayList.get(i);<NE...
int len = this.length();
1,812,466
// Visible for testing<NEW_LINE>@Nullable<NEW_LINE>static LogExporter configureOtlpLogs(ConfigProperties config, MeterProvider meterProvider) {<NEW_LINE>String protocol = OtlpConfigUtil.getOtlpProtocol(DATA_TYPE_LOGS, config);<NEW_LINE>if (protocol.equals(PROTOCOL_HTTP_PROTOBUF)) {<NEW_LINE>try {<NEW_LINE>ClasspathUtil...
throw new ConfigurationException("Unsupported OTLP logs protocol: " + protocol);
1,421,412
public List<RemoteResourceInfo> scan(RemoteResourceFilter filter) throws IOException {<NEW_LINE>List<RemoteResourceInfo> rri = new LinkedList<RemoteResourceInfo>();<NEW_LINE>// TODO: Remove GOTO!<NEW_LINE>loop: for (; ; ) {<NEW_LINE>final Response res = requester.request(newRequest(PacketType.READDIR)).retrieve(request...
).getComponents(path, name);
417,247
public ScheduleActivityTaskFailedEventAttributes unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>ScheduleActivityTaskFailedEventAttributes scheduleActivityTaskFailedEventAttributes = new ScheduleActivityTaskFailedEventAttributes();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE...
class).unmarshall(context));
588,124
public void validate(Insert insert) {<NEW_LINE>for (ValidationCapability c : getCapabilities()) {<NEW_LINE>validateFeature(c, Feature.insert);<NEW_LINE>validateOptionalFeature(c, insert.getItemsList(), Feature.insertValues);<NEW_LINE>validateOptionalFeature(c, insert.getModifierPriority(), Feature.insertModifierPriorit...
-> c.accept(v));
1,057,143
protected Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>> innerExecute(String name, final CompletionSuggestionContext suggestionContext, final IndexSearcher searcher, CharsRefBuilder spare) throws IOException {<NEW_LINE>if (suggestionContext.getFieldType() != null) {<NE...
shardSize, suggestionContext.isSkipDuplicates());
1,070,673
public static ListQuotaApplicationsResponse unmarshall(ListQuotaApplicationsResponse listQuotaApplicationsResponse, UnmarshallerContext _ctx) {<NEW_LINE>listQuotaApplicationsResponse.setRequestId(_ctx.stringValue("ListQuotaApplicationsResponse.RequestId"));<NEW_LINE>listQuotaApplicationsResponse.setTotalCount(_ctx.inte...
("ListQuotaApplicationsResponse.QuotaApplications[" + i + "].Comment"));
240,657
public boolean eIsSet(int featureID) {<NEW_LINE>switch(featureID) {<NEW_LINE>case IArchimatePackage.FOLDER__NAME:<NEW_LINE>return NAME_EDEFAULT == null ? name != null <MASK><NEW_LINE>case IArchimatePackage.FOLDER__ID:<NEW_LINE>return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);<NEW_LINE>case IArchimatePa...
: !NAME_EDEFAULT.equals(name);
163,552
public <R, V extends Validation<E, R>> V apply(Function5<T1, T2, T3, T4, T5, R> f) {<NEW_LINE>final Validation<E, Function1<T2, Function1<T3, Function1<T4, Function1<T5, R>>>>> apply1 = v1.apply(Validation.success(<MASK><NEW_LINE>final Validation<E, Function1<T3, Function1<T4, Function1<T5, R>>>> apply2 = v2.apply(appl...
Functions.curry(f)));
1,075,717
final ListTypedLinkFacetNamesResult executeListTypedLinkFacetNames(ListTypedLinkFacetNamesRequest listTypedLinkFacetNamesRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listTypedLinkFacetNamesRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();...
invoke(request, responseHandler, executionContext);
18,908
public void add(Node node) {<NEW_LINE>float x = node.x();<NEW_LINE>float y = node.y();<NEW_LINE>float radius = node.size();<NEW_LINE>// Get the rectangle occupied by the node<NEW_LINE>double nxmin = x - (radius * ratio + margin);<NEW_LINE>double nxmax = x + (radius * ratio + margin);<NEW_LINE>double nymin = y - (radius...
col)).add(node);
1,018,374
public void optimize(HDLCircuit circuit) {<NEW_LINE>ArrayList<HDLNode<MASK><NEW_LINE>ArrayList<HDLNode> nodesAvail = new ArrayList<>(nodes);<NEW_LINE>nodes.clear();<NEW_LINE>HashSet<HDLNet> nets = new HashSet<>();<NEW_LINE>for (HDLPort p : circuit.getInputs()) nets.add(p.getNet());<NEW_LINE>// all nodes without an inpu...
> nodes = circuit.getNodes();
1,039,975
private void trimStackTrace(Class<?> testClass, Throwable throwable) {<NEW_LINE>if (testClass != null) {<NEW_LINE>// first we cut all the platform stuff out of the stack trace<NEW_LINE>Throwable cause = throwable;<NEW_LINE>while (cause != null) {<NEW_LINE>StackTraceElement[] st = cause.getStackTrace();<NEW_LINE>for (in...
0, st.length - i);
1,768,068
public boolean onPrepareActionMode(ActionMode mode, Menu menu) {<NEW_LINE>Set<OCFile> checkedFiles = getCommonAdapter().getCheckedItems();<NEW_LINE>final int checkedCount = checkedFiles.size();<NEW_LINE>String title = getResources().getQuantityString(R.plurals.items_selected_count, checkedCount, checkedCount);<NEW_LINE...
false, accountManager.getUser());
573,188
private void postCreateRecurringSnapshotForPolicy(long userId, long volumeId, long snapshotId, long policyId) {<NEW_LINE>// Use count query<NEW_LINE>SnapshotVO <MASK><NEW_LINE>Type type = spstVO.getRecurringType();<NEW_LINE>int maxSnaps = type.getMax();<NEW_LINE>List<SnapshotVO> snaps = listSnapsforVolumeTypeNotDestroy...
spstVO = _snapshotDao.findById(snapshotId);
1,057,014
public void run(RegressionEnvironment env) {<NEW_LINE>RegressionPath path = new RegressionPath();<NEW_LINE>env.compileDeploy("@public create window MyWindowOne#keepall as (theString string, intv int)", path);<NEW_LINE>env.compileDeploy("insert into MyWindowOne select theString, intPrimitive as intv from SupportBean", p...
new SupportBean("B", 4));
694,243
public boolean deleteToolData(String userId, String toolName) {<NEW_LINE>if (tc.isEntryEnabled()) {<NEW_LINE>Tr.entry(tc, "deleteToolData", new Object[] { "userId=" + userId, "toolName=" + toolName });<NEW_LINE>}<NEW_LINE>String[] persistedNames = getPersistedNames(toolName, userId);<NEW_LINE>boolean deletedFromCollect...
tc, "deleteToolData", deletedFromCollective && deletedFromFile);
732,431
public ProjectionAttributeStateSet appendProjectionAttributeState(ProjectionContext projCtx, ProjectionAttributeStateSet projOutputSet, CdmAttributeContext attrCtx) {<NEW_LINE>// Pass through all the input projection attribute states if there are any<NEW_LINE>for (ProjectionAttributeState currentPAS : projCtx.getCurren...
).getResOpt(), attrCtxTypeAttrParam);
75,489
public static void openBundleWiringError(Throwable t) {<NEW_LINE>List<Status> childStatuses = new ArrayList<>(t.getStackTrace().length);<NEW_LINE>for (StackTraceElement stackTrace : t.getStackTrace()) {<NEW_LINE>Status status = new Status(IStatus.ERROR, BootDashActivator.PLUGIN_ID, stackTrace.toString());<NEW_LINE>chil...
t.toString(), t);
1,622,957
final DeleteHostedConfigurationVersionResult executeDeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest deleteHostedConfigurationVersionRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(deleteHostedConfigurationVersionRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetri...
awsRequestMetrics.endEvent(Field.RequestMarshallTime);
653,777
private void parseBody(JSONObject requestObject, Body msBody) {<NEW_LINE>if (requestObject.containsKey("body")) {<NEW_LINE>Object body = requestObject.get("body");<NEW_LINE>if (body instanceof JSONArray) {<NEW_LINE>JSONArray bodies = requestObject.getJSONArray("body");<NEW_LINE>if (bodies != null) {<NEW_LINE>StringBuil...
msBody.setType(Body.RAW);
1,469,739
protected AssemblyResolution solveTwoSided(RightShiftExpression exp, MaskedLong goal, Map<String, Long> vals, AssemblyResolvedPatterns cur, Set<SolverHint> hints, String description) throws NeedsBackfillException, SolverException {<NEW_LINE>// Do the similar thing as in {@link LeftShiftExpressionSolver}<NEW_LINE>// Do ...
vals, cur, hintsWithRShift, description);
104,833
final GetAccessKeyInfoResult executeGetAccessKeyInfo(GetAccessKeyInfoRequest getAccessKeyInfoRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(getAccessKeyInfoRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE><MASK><NEW_LINE>Request<G...
awsRequestMetrics.startEvent(Field.ClientExecuteTime);
868,085
protected void paintContent(@NotNull final Graphics2D g2d, @NotNull final C c, @NotNull final D d, @NotNull final Rectangle bounds) {<NEW_LINE>final Stroke os = GraphicsUtils.setupStroke(g2d, stroke, stroke != null);<NEW_LINE>final Paint op = GraphicsUtils.setupPaint(g2d, color);<NEW_LINE><MASK><NEW_LINE>gp.moveTo(boun...
final GeneralPath gp = new GeneralPath();
1,354,048
public AmazonInfo deserialize(JsonParser jp, DeserializationContext context) throws IOException {<NEW_LINE>Map<String, String> metadata = EurekaJacksonCodec.METADATA_MAP_SUPPLIER.get();<NEW_LINE>DeserializerStringCache intern = DeserializerStringCache.from(context);<NEW_LINE>if (skipToMetadata(jp)) {<NEW_LINE>JsonToken...
Amazon.name(), metadata);
856,912
public boolean onPreparePanel(int featureId, View view, Menu menu) {<NEW_LINE>if (BuildConfig.DEBUG)<NEW_LINE>Log.d(TAG, "[onPreparePanel] featureId: " + featureId + <MASK><NEW_LINE>if (featureId == Window.FEATURE_OPTIONS_PANEL) {<NEW_LINE>boolean result = onPrepareOptionsMenu(menu);<NEW_LINE>if (BuildConfig.DEBUG)<NEW...
", view: " + view + " menu: " + menu);
1,130,011
public void acceptType(char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, int modifiers, AccessRestriction accessRestriction) {<NEW_LINE>// does not check cancellation for every types to avoid performance loss<NEW_LINE>if ((this.foundTypesCount % CHECK_CANCEL_FREQUENCY) == 0)<NEW_LINE>checkCancel()...
unitScope.fPackage.compoundName, '.');
457,759
/*<NEW_LINE>* passed JSON is a single connection from the response to sites/%d/publicize-connections<NEW_LINE>{"ID":12783250,<NEW_LINE>"site_ID":52451176,<NEW_LINE>"user_ID":5399133,<NEW_LINE>"keyring_connection_ID":12781808,<NEW_LINE>"keyring_connection_user_ID":5399133,<NEW_LINE>"shared":false,<NEW_LINE>"service":"tw...
mLabel = json.optString("label");
835,410
private boolean shouldRepartitionForIndexJoin(List<VariableReferenceExpression> joinColumns, PreferredProperties parentPreferredProperties, ActualProperties probeProperties) {<NEW_LINE>// See if distributed index joins are enabled<NEW_LINE>if (!distributedIndexJoins) {<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE>// No p...
false)).orElse(false);
604,836
public void evaluate(char[] codeSnippet, char[][] contextLocalVariableTypeNames, char[][] contextLocalVariableNames, int[] contextLocalVariableModifiers, char[] contextDeclaringTypeName, boolean contextIsStatic, boolean contextIsConstructorCall, INameEnvironment environment, Map<String, String> options, final IRequesto...
environment, options, requestor, problemFactory);
624,323
public void removeWorkflow(String workflowId) {<NEW_LINE>long startTime = Instant.now().toEpochMilli();<NEW_LINE>String docType = StringUtils.isBlank(docTypeOverride) ? WORKFLOW_DOC_TYPE : docTypeOverride;<NEW_LINE>DeleteRequest request = new DeleteRequest(workflowIndexName, docType, workflowId);<NEW_LINE>try {<NEW_LIN...
"Time taken {} for removing workflow: {}", endTime - startTime, workflowId);
1,721,917
public byte[] encode(final int[] ld) {<NEW_LINE>final BitCoderContext ctx = ctxEndode;<NEW_LINE>ctx.reset();<NEW_LINE>int skippedTags = 0;<NEW_LINE>int nonNullTags = 0;<NEW_LINE>// (skip first bit ("reversedirection") )<NEW_LINE>// all others are generic<NEW_LINE>for (int inum = 1; inum < lookupValues.size(); inum++) {...
int len = ctx.closeAndGetEncodedLength();
1,039,450
public CommandResponse<String> handle(CommandRequest request) {<NEW_LINE>String data = request.getParam("data");<NEW_LINE>if (StringUtil.isBlank(data)) {<NEW_LINE>return CommandResponse.ofFailure(new IllegalArgumentException("Bad data"));<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>data = URLDecoder.decode(data, "utf-8");<NEW_L...
RecordLog.info("Decode rule data error", e);
763,126
private void configureColumnMemory() {<NEW_LINE>this.symbolMapWriters.setPos(columnCount);<NEW_LINE>for (int i = 0; i < columnCount; i++) {<NEW_LINE>int type = metadata.getColumnType(i);<NEW_LINE>configureColumn(type, metadata.isColumnIndexed(i), i);<NEW_LINE>if (ColumnType.isSymbol(type)) {<NEW_LINE>final int symbolIn...
(symbolIndex), symbolIndex, txWriter);
1,326,354
public Prediction<Regressor> predict(Example<Regressor> example) {<NEW_LINE>//<NEW_LINE>// Ensures we handle collisions correctly<NEW_LINE>SparseVector vec = SparseVector.createSparseVector(example, featureIDMap, false);<NEW_LINE>if (vec.numActiveElements() == 0) {<NEW_LINE>throw new IllegalArgumentException("No featur...
> curNode = e.getValue();
54,421
private void validateAnnotations(EndpointConfig epConfig, Errors.Collector collector) {<NEW_LINE>// list all annotations that are marked as Attribute and make sure some AbacValidator supports them<NEW_LINE>for (SecurityLevel securityLevel : epConfig.securityLevels()) {<NEW_LINE>int attributeAnnotations = 0;<NEW_LINE>in...
unsupportedClassNames = new LinkedList<>();
1,556,110
private SuperByteBuffer buildStructureBuffer(PonderWorld world, RenderType layer) {<NEW_LINE>BlockRenderDispatcher dispatcher = ModelUtil.VANILLA_RENDERER;<NEW_LINE>ThreadLocalObjects objects = THREAD_LOCAL_OBJECTS.get();<NEW_LINE>PoseStack poseStack = objects.poseStack;<NEW_LINE>Random random = objects.random;<NEW_LIN...
tileEntity = world.getBlockEntity(pos);
610,634
protected void initLayout() {<NEW_LINE>ThemeConstants theme = App.getInstance().getThemeConstants();<NEW_LINE>VerticalLayout root = new VerticalLayout();<NEW_LINE>root.setWidthUndefined();<NEW_LINE>root.setSpacing(true);<NEW_LINE>root.setMargin(false);<NEW_LINE>setContent(root);<NEW_LINE>messages = AppBeans.get(Message...
(component.getDefaultPresentationId()));
909,030
public void marshall(CreateDatasetRequest createDatasetRequest, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (createDatasetRequest == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(createDatasetRequest.get...
createDatasetRequest.getTriggers(), TRIGGERS_BINDING);
1,133,753
FormatterFunc createFormat() throws Exception {<NEW_LINE>ClassLoader classLoader = jarState.getClassLoader();<NEW_LINE>// instantiate the formatter and get its format method<NEW_LINE>Class<?> optionsClass = classLoader.loadClass(OPTIONS_CLASS);<NEW_LINE>Class<?> optionsBuilderClass = classLoader.loadClass(OPTIONS_BUILD...
reflowLongStrings.apply(sortedImports, formatter);
539,110
public void writeWebConfigurationFile() {<NEW_LINE>List<String> <MASK><NEW_LINE>defaultWebConfContents.addAll(getWebConfigurationFileHeader());<NEW_LINE>defaultWebConfContents.addAll(Arrays.asList("", "# image feeds", "imagefeed.Web,Pictures=https://api.flickr.com/services/feeds/photos_public.gne?format=rss2", "imagefe...
defaultWebConfContents = new ArrayList<>();
1,224,999
public static final void create(final ITool tool) {<NEW_LINE>final CostModelCreator collector = new CostModelCreator(tool);<NEW_LINE>// TODO Start from the ModuleNode similar to how the Explorer works. It is<NEW_LINE>// unclear how to lookup the corresponding subtree in the global CM graph<NEW_LINE>// in getNextState a...
nextAction.pred, nextAction.cm);
285,594
private void buildRuleTable(FDE fde, long instructionPointer) throws IOException {<NEW_LINE>PrintStream out = System.err;<NEW_LINE>state = new RuleState();<NEW_LINE>state.registerRules = new HashMap<Integer, RegisterRule>();<NEW_LINE>{<NEW_LINE>// out.printf("CIE has initial instructions:\n");<NEW_LINE>//<NEW_LINE>// S...
getCIE(), state, 0);
382,028
private void printEpubCheckCompleted(Report report) {<NEW_LINE>if (report != null) {<NEW_LINE>StringBuilder messageCount = new StringBuilder();<NEW_LINE>int count;<NEW_LINE>String variant;<NEW_LINE>if (reportingLevel <= ReportingLevel.Fatal) {<NEW_LINE>messageCount.append(messages.get("messages") + ": ");<NEW_LINE>coun...
count == 1) ? "one" : "many";
1,626,034
protected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException {<NEW_LINE>if (dependency.getDisplayFileName().equals(dependency.getFileName())) {<NEW_LINE>engine.removeDependency(dependency);<NEW_LINE>}<NEW_LINE>final <MASK><NEW_LINE>if (!packageLock.isFile() || packageLock.length() == ...
File packageLock = dependency.getActualFile();
1,256,591
private synchronized void handleRouteAssignmentOffline(Message message) {<NEW_LINE>if (controllerWorkerHelixHandler == null) {<NEW_LINE>LOGGER.warn("Controller route not online yet.");<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>String[] clustersInfo = WorkerUtils.parseSrcDstCluster(message.getResourceName());<NEW_LINE>if (cl...
String routeId = message.getPartitionName();
1,154,348
final DescribeIpGroupsResult executeDescribeIpGroups(DescribeIpGroupsRequest describeIpGroupsRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(describeIpGroupsRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEv...
awsRequestMetrics.endEvent(Field.RequestMarshallTime);
397,994
private JSpinner initGapHeightSpinner() {<NEW_LINE>SpinnerNumberModel gapHeightModel = new SpinnerNumberModel(DEFAULT_GAP_HEIGHT, 0, 100, 1);<NEW_LINE>JSpinner spinner = new JSpinner(gapHeightModel);<NEW_LINE>spinner.setEditor(new JSpinner.NumberEditor(spinner));<NEW_LINE>// NOI18N<NEW_LINE>spinner.setToolTipText(NbBun...
(GridDesigner.class, "GridDesigner.gapRowSpinner"));
1,850,699
private static ExecutableDdlJob generateRandomDag(int expectNodeCount, int maxOutEdgeCount, int edgeRate, boolean mockSubJob) {<NEW_LINE>int nodeCount = expectNodeCount * 2 / 3 + random.nextInt(expectNodeCount * 4 / 3) + 1;<NEW_LINE>ExecutableDdlJob executableDdlJob = new ExecutableDdlJob();<NEW_LINE>List<Integer> oldN...
FailPointKey.FP_INJECT_SUBJOB, FailPointKey.FP_INJECT_SUBJOB);
599,543
private String generateContentWorldsCreatorCode() {<NEW_LINE>if (this.contentWorlds.size() == 1) {<NEW_LINE>return "";<NEW_LINE>}<NEW_LINE>StringBuilder source = new StringBuilder();<NEW_LINE>LinkedHashSet<PluginScript> pluginScriptsRequired = this.getPluginScriptsRequiredInAllContentWorlds();<NEW_LINE>for (PluginScrip...
append(script.getSource());
1,735,177
public int codePointAt(int index) {<NEW_LINE>int currentLength = lengthInternal();<NEW_LINE>if (index >= 0 && index < currentLength) {<NEW_LINE>// Check if the StringBuilder is compressed<NEW_LINE>if (String.COMPACT_STRINGS && count >= 0) {<NEW_LINE>return helpers.byteToCharUnsigned(helpers<MASK><NEW_LINE>} else {<NEW_...
.getByteFromArrayByIndex(value, index));
1,093,079
public static ListIpv4GatewaysResponse unmarshall(ListIpv4GatewaysResponse listIpv4GatewaysResponse, UnmarshallerContext _ctx) {<NEW_LINE>listIpv4GatewaysResponse.setRequestId<MASK><NEW_LINE>listIpv4GatewaysResponse.setNextToken(_ctx.stringValue("ListIpv4GatewaysResponse.NextToken"));<NEW_LINE>listIpv4GatewaysResponse....
(_ctx.stringValue("ListIpv4GatewaysResponse.RequestId"));
1,763,715
private static void activate(String agentArgs, Instrumentation inst, int activateCode) {<NEW_LINE>URL classUrl = getSelfClassUrl();<NEW_LINE>File jar = getArchiveFile(classUrl);<NEW_LINE>String fullJFluidPath = jar.getParent();<NEW_LINE>if ((agentArgs == null) || (agentArgs.length() == 0)) {<NEW_LINE>// no options, jus...
err.println("*** Profiler Engine: invalid timeout number specified to premain(): " + timeOutStr);
147,918
public static KFFeature readObject(JsonReader reader) throws IOException {<NEW_LINE>reader.beginObject();<NEW_LINE>KFFeature.Builder builder = new KFFeature.Builder();<NEW_LINE>while (reader.hasNext()) {<NEW_LINE>String name = reader.nextName();<NEW_LINE>switch(name) {<NEW_LINE>case KFFeature.NAME_JSON_FIELD:<NEW_LINE>...
timingCurves = CommonDeserializerHelper.read3DFloatArray(reader);
1,423,636
public byte[] serialize() {<NEW_LINE>int length = 2 + this.chassisId.getLength() + 2 + this.portId.getLength() + 2 + this.ttl.getLength() + 2;<NEW_LINE>for (LLDPTLV tlv : this.optionalTLVList) {<NEW_LINE>if (tlv != null)<NEW_LINE>length += 2 + tlv.getLength();<NEW_LINE>}<NEW_LINE>byte[] data = new byte[length];<NEW_LIN...
bb = ByteBuffer.wrap(data);
1,808,264
public PortablePipelineResult run(Pipeline pipeline, JobInfo jobInfo) throws Exception {<NEW_LINE>PortablePipelineOptions pipelineOptions = PipelineOptionsTranslation.fromProto(jobInfo.pipelineOptions()).as(PortablePipelineOptions.class);<NEW_LINE>final String jobName = jobInfo.jobName();<NEW_LINE>File outputFile = new...
outputFile.getAbsolutePath(), jobName);
576,015
public static void intersection(IntIterableRangeSet setr, IntIterableRangeSet set1, int from, int to) {<NEW_LINE>setr.clear();<NEW_LINE>int <MASK><NEW_LINE>int s2 = from <= to ? 1 : 0;<NEW_LINE>if (s1 > 0 && s2 > 0) {<NEW_LINE>setr.grow(set1.SIZE);<NEW_LINE>int i = 0, j = 0;<NEW_LINE>int lbi, ubi, lbj, ubj, lb, ub;<NEW...
s1 = set1.SIZE >> 1;
1,172,913
private void renderIcon(MatrixStack matrixStack, ItemStack stack, int x, int y, boolean large) {<NEW_LINE>MatrixStack modelViewStack = RenderSystem.getModelViewStack();<NEW_LINE>modelViewStack.push();<NEW_LINE>Window parent = getParent();<NEW_LINE>modelViewStack.translate(parent.getX(), parent.getY() + 13 + parent.getS...
scale(scale, scale, scale);
1,766,997
final CreateNFSFileShareResult executeCreateNFSFileShare(CreateNFSFileShareRequest createNFSFileShareRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(createNFSFileShareRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetri...
(super.beforeMarshalling(createNFSFileShareRequest));
1,457,481
void sel(Actor actor, World world, LocalSession session, int index) {<NEW_LINE>LocalConfiguration config = we.getConfiguration();<NEW_LINE>if (index < 1) {<NEW_LINE>actor.printError(TranslatableComponent.of("worldedit.snapshot.index-above-0"));<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>List<Snapshot> snapshot...
snapshots.get(index - 1);
144,753
public List<AnalyticJob> fetchAnalyticJobs() throws IOException, AuthenticationException {<NEW_LINE>List<AnalyticJob> appList = new ArrayList<AnalyticJob>();<NEW_LINE>// There is a lag of job data from AM/NM to JobHistoryServer HDFS, we shouldn't use the current time, since there<NEW_LINE>// might be new jobs arriving ...
String.valueOf(_currentTime)));
401,288
public void testCaptureDebuggerThreadsPlugin() throws Throwable {<NEW_LINE>mb.createTestModel();<NEW_LINE>TestTargetProcess process = mb.testModel.addProcess(1234);<NEW_LINE>TraceRecorder recorder = modelService.recordTarget(process, new TestDebuggerTargetTraceMapper(process), ActionSource.AUTOMATIC);<NEW_LINE>Trace tr...
-> recorder.getTraceThread(serverThread));
589,279
public void bind(@NonNull ItemViewHolder holder, int position) {<NEW_LINE>super.bind(holder, position);<NEW_LINE>if (mGetTitleSupplier != null) {<NEW_LINE>mTitle = mGetTitleSupplier.get();<NEW_LINE>}<NEW_LINE>final TextView titleTv = holder.findViewById(R.id.commonItemTitleTv);<NEW_LINE>final TextView contentTv = holde...
findViewById(R.id.commonItemContentTv);
1,570,102
private void updateProgressNotification() {<NEW_LINE>Collection<MegaTransfer> transfers = mapProgressFileTransfers.values();<NEW_LINE>UploadProgress up = getInProgressNotification(transfers);<NEW_LINE>long total = up.total;<NEW_LINE>long inProgress = up.inProgress;<NEW_LINE>int progressPercent = 0;<NEW_LINE>long inProg...
"updateProgressNotification" + progressPercent + " " + message);
704,379
public void flatMap(BaseRow input, Collector<BaseRow> out) throws Exception {<NEW_LINE>GenericRow genericRow = (GenericRow) input;<NEW_LINE>Map<String, Object> inputParams = Maps.newHashMap();<NEW_LINE>for (Integer conValIndex : sideInfo.getEqualValIndex()) {<NEW_LINE>Object equalObj = genericRow.getField(conValIndex);...
RowDataComplete.collectBaseRow(out, data);
556,340
public CreateDatastoreResult unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>CreateDatastoreResult createDatastoreResult = new CreateDatastoreResult();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE>String currentParentElement = context.getCurrentParentElement();<NEW_LINE>int t...
class).unmarshall(context));
99,648
public List<List<Writable>> next(int num) {<NEW_LINE>List<File> files = new ArrayList<>(num);<NEW_LINE>List<List<ImageObject>> objects = new ArrayList<>(num);<NEW_LINE>for (int i = 0; i < num && hasNext(); i++) {<NEW_LINE>File f = iter.next();<NEW_LINE>this.currentFile = f;<NEW_LINE>if (!f.isDirectory()) {<NEW_LINE>fil...
), channels, height, width);
633,243
private static void initializeReachability(final NodeData node) {<NEW_LINE>List<SpecializationData> specializations = node.getSpecializations();<NEW_LINE>for (int i = specializations.size() - 1; i >= 0; i--) {<NEW_LINE>SpecializationData current = specializations.get(i);<NEW_LINE>List<SpecializationData> shadowedBy = n...
append(shadowSpecialization.createReferenceName());
1,590,787
public List<SuppressionRule> parseSuppressionRules(InputStream inputStream, SuppressionRuleFilter filter) throws SuppressionParseException, SAXException {<NEW_LINE>try (InputStream schemaStream13 = FileUtils.getResourceAsStream(SUPPRESSION_SCHEMA_1_3);<NEW_LINE>InputStream schemaStream12 = FileUtils.getResourceAsStream...
XMLReader xmlReader = saxParser.getXMLReader();
1,589,148
private void writeCacheHeaders(HttpServerRequest request, FileProps props) {<NEW_LINE>MultiMap headers = request<MASK><NEW_LINE>if (cache.enabled()) {<NEW_LINE>// We use cache-control and last-modified<NEW_LINE>// We *do not use* etags and expires (since they do the same thing - redundant)<NEW_LINE>Utils.addToMapIfAbse...
.response().headers();
327,867
public void onClick(View v) {<NEW_LINE>logDebug("onClick");<NEW_LINE>((MegaApplication) ((Activity) context).getApplication()).sendSignalPresenceActivity();<NEW_LINE>ViewHolderBrowser holder = (ViewHolderBrowser) v.getTag();<NEW_LINE>int currentPosition = holder.getAdapterPosition();<NEW_LINE>logDebug("Current position...
[1] = screenPosition[1];
1,773,054
public static ListDigitalTemplatesResponse unmarshall(ListDigitalTemplatesResponse listDigitalTemplatesResponse, UnmarshallerContext _ctx) {<NEW_LINE>listDigitalTemplatesResponse.setRequestId(_ctx.stringValue("ListDigitalTemplatesResponse.RequestId"));<NEW_LINE>listDigitalTemplatesResponse.setErrorCode(_ctx.stringValue...
("ListDigitalTemplatesResponse.Data.Content[" + i + "].SupportProvider"));
775,123
// Close and remove the JMSContext instances<NEW_LINE>@PreDestroy<NEW_LINE>public synchronized void cleanup() {<NEW_LINE>ServiceLocator serviceLocator = <MASK><NEW_LINE>InvocationManager invMgr = serviceLocator.getService(InvocationManager.class);<NEW_LINE>ComponentInvocation currentInv = invMgr.getCurrentInvocation();...
Globals.get(ServiceLocator.class);
1,764,881
final protected void updateLinkedAttribute(final AttributeState state, long timestamp) {<NEW_LINE>Attribute<?> attribute = linkedAttributes.get(state.getRef());<NEW_LINE>if (attribute == null) {<NEW_LINE>LOG.severe("Update linked attribute called for un-linked attribute: " + state);<NEW_LINE>return;<NEW_LINE>}<NEW_LINE...
LOG.finer("Sending linked attribute update on sensor queue: " + attributeEvent);
742,039
public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {<NEW_LINE>try {<NEW_LINE>rsetImpl.updateBinaryStream(columnIndex, x);<NEW_LINE>} catch (SQLException sqlX) {<NEW_LINE>FFDCFilter.processException(sqlX, getClass().getName() + ".updateBinaryStream", "3157", this);<NEW_LINE>throw WSJdbcUt...
this, tc, "updateBinaryStream", err);
432,018
public static void parseField(FieldMapper.Builder builder, String name, Map<String, Object> fieldNode, Mapper.TypeParser.ParserContext parserContext) {<NEW_LINE>for (Iterator<Map.Entry<String, Object>> iterator = fieldNode.entrySet().iterator(); iterator.hasNext(); ) {<NEW_LINE>Map.Entry<String, Object> entry = iterato...
Object propNode = entry.getValue();
125,678
public static QueryReservedInstanceSharedInfosResponse unmarshall(QueryReservedInstanceSharedInfosResponse queryReservedInstanceSharedInfosResponse, UnmarshallerContext _ctx) {<NEW_LINE>queryReservedInstanceSharedInfosResponse.setRequestId(_ctx.stringValue("QueryReservedInstanceSharedInfosResponse.RequestId"));<NEW_LIN...
("QueryReservedInstanceSharedInfosResponse.Data[" + i + "].SubAccountPk"));
928,646
public Query rewrite(IndexReader reader) throws IOException {<NEW_LINE>Query rewritten = super.rewrite(reader);<NEW_LINE>if (rewritten != this) {<NEW_LINE>return rewritten;<NEW_LINE>}<NEW_LINE>if (reader instanceof DirectoryReader) {<NEW_LINE><MASK><NEW_LINE>indexSearcher.setQueryCache(null);<NEW_LINE>indexSearcher.set...
IndexSearcher indexSearcher = new IndexSearcher(reader);
1,412,949
private void drawLine(MatrixStack matrixStack, ArrayList<Vec3d> path, Vec3d camPos) {<NEW_LINE>Matrix4f matrix = matrixStack.peek().getPositionMatrix();<NEW_LINE>BufferBuilder bufferBuilder = Tessellator.getInstance().getBuffer();<NEW_LINE>RenderSystem.setShader(GameRenderer::getPositionShader);<NEW_LINE>bufferBuilder....
] colorF = color.getColorF();
443,274
public static boolean isJoinKeyHaveSameType(Join join) {<NEW_LINE>JoinInfo joinInfo = join.analyzeCondition();<NEW_LINE>RelDataType keyDataType = CalciteUtils.getJoinKeyDataType(join.getCluster().getTypeFactory(), join, joinInfo.leftKeys, joinInfo.rightKeys);<NEW_LINE>List<RelDataTypeField> keyDataFieldList = keyDataTy...
RelNode right = join.getRight();
142,919
final DeleteIndexFieldResult executeDeleteIndexField(DeleteIndexFieldRequest deleteIndexFieldRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(deleteIndexFieldRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEv...
addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteIndexField");
1,362,076
public void run() {<NEW_LINE>try {<NEW_LINE>boolean findMatchedIndex = checkMatchIndex();<NEW_LINE>if (abort) {<NEW_LINE>peer.resetInconsistentHeartbeatNum();<NEW_LINE>raftMember.getLastCatchUpResponseTime().remove(node);<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>boolean catchUpSucceeded;<NEW_LINE>if (!findMatchedIndex) {<N...
error("Catch up {} errored", node, e);
1,272,923
private void writeOptimizedForEachLoop(CompileStack compileStack, OperandStack operandStack, MethodVisitor mv, ForStatement loop, Expression collectionExpression, ClassNode collectionType, Parameter loopVariable) {<NEW_LINE>BytecodeVariable variable = compileStack.defineVariable(loopVariable, false);<NEW_LINE>Label con...
"$len", ClassHelper.int_TYPE, true);
740,587
public WebResponse createClientEntry(String url, String method, String action, List<endpointSettings> parms, List<endpointSettings> headers, List<validationData> expectations, InputStream source, String contentType) throws Exception {<NEW_LINE>WebResponse response = null;<NEW_LINE>String thisMethod = "createClientEntry...
key + " value: " + parm.value);
739,601
private IExtractor<ResourceIndexedSearchParamString> createStringExtractor(IBaseResource theResource) {<NEW_LINE>return (params, searchParam, value, path, theWantLocalReferences) -> {<NEW_LINE>String resourceType = toRootTypeName(theResource);<NEW_LINE>if (value instanceof IPrimitiveType) {<NEW_LINE>IPrimitiveType<?> n...
addUnexpectedDatatypeWarning(params, searchParam, value);
1,134,214
private void enableTracing(TracingConfig config) throws IOException {<NEW_LINE>final TracingConfig.Lightstep lightstep = config.getLightstep();<NEW_LINE>if (!lightstep.getCollectorHost().isBlank()) {<NEW_LINE>final Options.OptionsBuilder optionsBuilder = new Options.OptionsBuilder().withAccessToken(lightstep.getAccessT...
withCollectorPort(lightstep.getCollectorPort());
1,463,240
protected DBGeometry makeGeometryFromWKT(DBCSession session, String pgString) throws DBCException {<NEW_LINE>if (CommonUtils.isEmpty(pgString)) {<NEW_LINE>return new DBGeometry();<NEW_LINE>}<NEW_LINE>final String geometry;<NEW_LINE>final int srid;<NEW_LINE>if (pgString.startsWith("SRID=") && pgString.indexOf(';') > 5) ...
pgString.substring(index + 1);