idx
int32
46
1.86M
input
stringlengths
321
6.6k
target
stringlengths
9
1.24k
1,096,897
protected Control createPageContents(Composite parent) {<NEW_LINE>Composite propsGroup = new Composite(parent, SWT.NONE);<NEW_LINE>propsGroup.setLayout(new GridLayout(2, false));<NEW_LINE>GridData gd <MASK><NEW_LINE>propsGroup.setLayoutData(gd);<NEW_LINE>final Text containerText = UIUtils.createLabelText(propsGroup, Ed...
= new GridData(GridData.FILL_HORIZONTAL);
670,593
public Sql[] generateSql(InsertOrUpdateStatement insertOrUpdateStatement, Database database, SqlGeneratorChain sqlGeneratorChain) {<NEW_LINE>StringBuilder completeSql = new StringBuilder();<NEW_LINE>String <MASK><NEW_LINE>if (!insertOrUpdateStatement.getOnlyUpdate()) {<NEW_LINE>completeSql.append(getRecordCheck(insertO...
whereClause = getWhereClause(insertOrUpdateStatement, database);
1,538,647
public void invalidated(Observable valueModel) {<NEW_LINE>if (valueModel == labeled.textProperty()) {<NEW_LINE>labeledImpl.setText(labeled.getText());<NEW_LINE>} else if (valueModel == labeled.graphicProperty()) {<NEW_LINE>// If the user set the graphic, then mirror that.<NEW_LINE>// Otherwise, the graphic was set via ...
targetProperty = cssMetaData.getStyleableProperty(labeledImpl);
13,490
private String createJsonMessage(Server server, Query query, Result result, List<String> valuePath, Object value) throws IOException {<NEW_LINE>String keyString = getKeyString(server, query, result, typeNames, this.rootPrefix);<NEW_LINE>String cleanKeyString = keyString.replaceAll("[()]", "_");<NEW_LINE>try (ByteArrayO...
result.getEpoch() / 1000);
1,641,549
public double multi8p(int x, int y, double masc) {<NEW_LINE>int aR = getIntComponent0(x - 1, y - 1);<NEW_LINE>int bR = getIntComponent0(x - 1, y);<NEW_LINE>int cR = getIntComponent0(x - 1, y + 1);<NEW_LINE>int aG = getIntComponent1(x - 1, y - 1);<NEW_LINE>int bG = getIntComponent1(x - 1, y);<NEW_LINE>int cG = getIntCom...
x + 1, y + 1);
159,991
private // column major (though matrix computation is done in row major)<NEW_LINE>void updateRawMatrix(GeneralTransform3D src) {<NEW_LINE>// Scale X<NEW_LINE>rawMatrix[0] = (float) src.get(0);<NEW_LINE>// Shear Y<NEW_LINE>rawMatrix[1] = (float) src.get(4);<NEW_LINE>rawMatrix[2] = (float) src.get(8);<NEW_LINE>rawMatrix[...
float) src.get(1);
989,417
private void saveAttachmentToFile() {<NEW_LINE>int index = cbContent.getSelectedIndex();<NEW_LINE>log.info("index=" + index);<NEW_LINE>if (m_attachment.getEntryCount() < index)<NEW_LINE>return;<NEW_LINE>String fileName = getFileName(index);<NEW_LINE>String ext = fileName.substring(fileName.lastIndexOf('.'));<NEW_LINE>l...
"Save to " + saveFile.getAbsolutePath());
1,480,700
protected ServerSocketChannel openAcceptChannel() throws IOException {<NEW_LINE>ServerSocketChannel serverChannel = null;<NEW_LINE>if (isInheritChannel()) {<NEW_LINE>Channel channel = System.inheritedChannel();<NEW_LINE>if (channel instanceof ServerSocketChannel)<NEW_LINE>serverChannel = (ServerSocketChannel) channel;<...
getHost(), getPort());
1,748,505
public static void main(String[] args) throws IOException {<NEW_LINE>String folder = "data/data/sequence/root.group_1/0";<NEW_LINE>if (args.length >= 1) {<NEW_LINE>folder = args[0];<NEW_LINE>}<NEW_LINE>File folderFile = SystemFileFactory.INSTANCE.getFile(folder);<NEW_LINE>if (folderFile.isDirectory()) {<NEW_LINE>// ana...
println("Analyzing the resource file " + folder + " finished.");
1,153,800
public String readUTF2() throws IOException {<NEW_LINE>if (in.available() > 0) {<NEW_LINE>int utflen = readShort();<NEW_LINE><MASK><NEW_LINE>byte[] bytearr = new byte[utflen];<NEW_LINE>int c, char2, char3;<NEW_LINE>int count = 0;<NEW_LINE>readFully(bytearr, 0, utflen);<NEW_LINE>while (count < utflen) {<NEW_LINE>c = (in...
StringBuffer str = new StringBuffer(utflen);
793,222
public static void main(final String[] args) {<NEW_LINE>logger.info("Begin of {} main-method ", ServerBoot.class);<NEW_LINE>final Stopwatch stopwatch = Stopwatch.createStarted();<NEW_LINE>logger.info("Parse command line arguments (if any!)");<NEW_LINE>final CommandLineOptions commandLineOptions = CommandLineParser.pars...
activeProfiles.add(Profiles.PROFILE_PrintService);
323,139
boolean addListener(ActionListener<Value> listener, BooleanSupplier isCancelled) {<NEW_LINE>if (tryIncRef()) {<NEW_LINE>if (future.isDone()) {<NEW_LINE>// No need to bother with ref counting & cancellation any more, just complete the listener.<NEW_LINE>// We know it wasn't cancelled because there are still references.<...
.wrapPreservingContext(listener, threadContext));
73,841
final CreateClientVpnRouteResult executeCreateClientVpnRoute(CreateClientVpnRouteRequest createClientVpnRouteRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(createClientVpnRouteRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRe...
(super.beforeMarshalling(createClientVpnRouteRequest));
1,581,352
protected Object decode(Channel channel, SocketAddress remoteAddress, Object msg) throws Exception {<NEW_LINE>String sentence = (String) msg;<NEW_LINE>Parser parser = new Parser(PATTERN, sentence);<NEW_LINE>if (!parser.matches()) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>DeviceSession deviceSession = getDeviceSession...
KEY_SATELLITES, parser.nextInt());
95,687
public KubernetesNetworkConfigResponse unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>KubernetesNetworkConfigResponse kubernetesNetworkConfigResponse = new KubernetesNetworkConfigResponse();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE>String currentParentElement = context.g...
class).unmarshall(context));
916,495
private void citationExists(EntityManagerContainerBasic emc, Field field, List<String> values, JpaObject jpa, CheckRemove checkRemove, CheckRemoveType checkRemoveType) throws Exception {<NEW_LINE>next: for (String value : ListTools.nullToEmpty(values)) {<NEW_LINE>if (ArrayUtils.contains(checkRemove.excludes(), value)) ...
createQuery(cq).getSingleResult();
593,595
// Validate parts and throw an IllegalArgumentException if a part is not valid<NEW_LINE>private void doValidate() {<NEW_LINE>List<String> errors = new ArrayList<>();<NEW_LINE>// Strip off user from repository name<NEW_LINE>String image = user != null ? repository.substring(user.length() + 1) : repository;<NEW_LINE>Obje...
("Given Docker name '%s' is invalid:\n", getFullName()));
688,526
public boolean uninstallApkFromDevice(String packageName, boolean keepData) {<NEW_LINE>String name = getNameForDisplay();<NEW_LINE>PrintStream stdOut = console.getStdOut();<NEW_LINE><MASK><NEW_LINE>try {<NEW_LINE>long start = System.currentTimeMillis();<NEW_LINE>String reason = deviceUninstallPackage(packageName, keepD...
stdOut.printf("Removing apk from %s.\n", name);
918,983
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {<NEW_LINE>View view = inflater.inflate(R.layout.fragment_invite_all, container, false);<NEW_LINE>mResult = (TextView) view.findViewById(R.id.result);<NEW_LINE>mButton = (Button) view.findViewById(R.id.button);<NEW_LINE>mB...
recipientFriends.iterator(), "<br>");
1,533,169
final ListExperiencesResult executeListExperiences(ListExperiencesRequest listExperiencesRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listExperiencesRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEvent(F...
awsRequestMetrics.startEvent(Field.RequestMarshallTime);
700,757
private synchronized void updateStores(TransactionsLockWatchUpdate updateForTransactions) {<NEW_LINE>Multimap<Sequence, StartTimestamp> reversedMap = createSequenceTimestampMultimap(updateForTransactions);<NEW_LINE>// Without this block, updates with no events would not store a snapshot.<NEW_LINE>currentVersion.map(Loc...
of(event.sequence());
1,275,962
public void create() {<NEW_LINE>camera = new OrthographicCamera();<NEW_LINE>batch = new TwoColorPolygonBatch();<NEW_LINE>renderer = new SkeletonRenderer();<NEW_LINE>// PMA results in correct blending without outlines.<NEW_LINE>renderer.setPremultipliedAlpha(true);<NEW_LINE>debugRenderer = new SkeletonRendererDebug();<N...
(skeletonData.findSkin("goblingirl"));
305,437
void deferTask(Runnable task, String appName, PersistentExecutorImpl persistentExecutor) {<NEW_LINE>ApplicationState state;<NEW_LINE>ExecutorService executor;<NEW_LINE>lock<MASK><NEW_LINE>try {<NEW_LINE>executor = this.executor;<NEW_LINE>state = appStates.get(appName);<NEW_LINE>if (state != ApplicationState.STARTED) {<...
.writeLock().lock();
247,192
public Object imp(VirtualFrame frame, Object dict, @Cached InitNode initNode, @CachedLibrary(limit = "1") HashingStorageLibrary lib, @CachedLibrary(limit = "1") DynamicObjectLibrary dyLib, @Cached TransformExceptionToNativeNode transformExceptionToNativeNode) {<NEW_LINE>try {<NEW_LINE>PSimpleNamespace ns = factory().cr...
DictEntry e = it.next();
20,336
public void onSignUpdate(UpdateSignC2SPacket packet, List<TextStream.Message> signText, CallbackInfo info, ServerWorld serverWorld, BlockPos blockPos, BlockState blockState, BlockEntity blockEntity, SignBlockEntity signBlockEntity) {<NEW_LINE>// Pull the raw text from the input.<NEW_LINE>String[] rawTexts = new String[...
blockState.getMaterial(), player);
505,476
private Component buildEditor() {<NEW_LINE>if (times == null || times.isEmpty()) {<NEW_LINE>JPanel panel = <MASK><NEW_LINE>panel.add(new JLabel("No Data Available"));<NEW_LINE>return panel;<NEW_LINE>}<NEW_LINE>JPanel panel = new JPanel(new PairLayout(6, 10));<NEW_LINE>panel.add(new GDLabel(""));<NEW_LINE>GDLabel label ...
new JPanel(new FlowLayout());
257,401
private void scheduleCallback() {<NEW_LINE>isCallbackScheduled = true;<NEW_LINE>ScheduleHandleCallback callback = new ScheduleHandleCallback() {<NEW_LINE><NEW_LINE>public void scheduledTrigger() {<NEW_LINE>context.getInstrumentationProvider().qOutputRateConditionScheduledEval();<NEW_LINE>context.getAuditProvider().sche...
outputCallback.continueOutputProcessing(DO_OUTPUT, FORCE_UPDATE);
1,706,324
private static void mul(float[] mata, float[] matb) {<NEW_LINE>float v00 = mata[M00] * matb[M00] + mata[M01] * matb[M10] + mata[M02] * matb[M20];<NEW_LINE>float v01 = mata[M00] * matb[M01] + mata[M01] * matb[M11] + mata[M02] * matb[M21];<NEW_LINE>float v02 = mata[M00] * matb[M02] + mata[M01] * matb[M12] + mata[M02] * m...
[M22] * matb[M21];
1,234,703
/*<NEW_LINE>* (non-Javadoc)<NEW_LINE>*<NEW_LINE>* @see javax.jms.JMSContext#createSharedConsumer(javax.jms.Topic, java.lang.String, java.lang.String)<NEW_LINE>*/<NEW_LINE>@Override<NEW_LINE>public JMSConsumer createSharedConsumer(Topic topic, String sharedSubscriptionName, String messageSelector) throws JMSRuntimeExcep...
createSharedConsumer(topic, sharedSubscriptionName, messageSelector);
1,012,533
public byte[] decrypt(final byte[] ciphertext, final byte[] contextInfo) throws /* unused */<NEW_LINE>GeneralSecurityException {<NEW_LINE>if (contextInfo != null) {<NEW_LINE>throw new GeneralSecurityException("contextInfo must be null because it is unused");<NEW_LINE>}<NEW_LINE>if (ciphertext.length < WebPushConstants....
WebPushUtil.computeCek(ikm, salt);
1,330,873
public static Map<String, Object> merge(Map<String, Object> source, Map<String, Object> defaultMap) {<NEW_LINE>if (source == null) {<NEW_LINE>source = Collections.emptyMap();<NEW_LINE>}<NEW_LINE>if (defaultMap == null) {<NEW_LINE>defaultMap = Collections.emptyMap();<NEW_LINE>}<NEW_LINE>Map<String, Object> result <MASK>...
= new HashMap<>(defaultMap);
952,049
final ListBotsResult executeListBots(ListBotsRequest listBotsRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listBotsRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTime);<NEW_LINE>R...
endClientExecution(awsRequestMetrics, request, response);
523,843
private void extractRequestBodyExample(RequestBody requestBody, String contentTypeValue, List<Parameter> bodyOrFormParams) {<NEW_LINE>Optional<Map.Entry<String, Example>> requestBodyExampleEntry = requestBody.getContent().get(contentTypeValue).getExamples().entrySet()<MASK><NEW_LINE>if (requestBodyExampleEntry.isPresen...
.stream().findFirst();
782,935
public void insert(InsertRowsOfOneDevicePlan insertRowsOfOneDevicePlan) throws QueryProcessException {<NEW_LINE>if (insertRowsOfOneDevicePlan.getRowPlans().length == 0) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>// insert to storage engine<NEW_LINE>StorageEngine.<MASK><NEW_LINE>List<String> notExistedPaths =...
getInstance().insert(insertRowsOfOneDevicePlan);
350,303
public static Pattern parseSlashyRegex(StringReader reader) throws CommandSyntaxException {<NEW_LINE>final int start = reader.getCursor();<NEW_LINE>boolean slashy = reader.canRead() && reader.peek() == '/';<NEW_LINE>if (!slashy) {<NEW_LINE>String text = reader.readUnquotedString();<NEW_LINE>try {<NEW_LINE>return Patter...
.substring(start, end));
1,251,218
public static void serializeHeader(ByteBuffer outputBuffer, long totalSize, int blobPropertiesRecordRelativeOffset, int updateRecordRelativeOffset, int userMetadataRecordRelativeOffset, int blobRecordRelativeOffset) throws MessageFormatException {<NEW_LINE>checkHeaderConstraints(totalSize, blobPropertiesRecordRelativeO...
startOffset, getHeaderSize() - Crc_Size);
470,120
public ListWebhooksResult unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>ListWebhooksResult listWebhooksResult = new ListWebhooksResult();<NEW_LINE><MASK><NEW_LINE>String currentParentElement = context.getCurrentParentElement();<NEW_LINE>int targetDepth = originalDepth + 1;<NEW_LINE>JsonToken t...
int originalDepth = context.getCurrentDepth();
1,199,254
public void marshall(RecordDetail recordDetail, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (recordDetail == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(recordDetail.getRecordId(), RECORDID_BINDING);<N...
recordDetail.getProductId(), PRODUCTID_BINDING);
1,236,723
static Task<Void> displayNotification(NotificationModel notificationModel, Bundle triggerBundle) {<NEW_LINE>return notificationBundleToBuilder(notificationModel).continueWith(CACHED_THREAD_POOL, (task) -> {<NEW_LINE>NotificationCompat.Builder builder = task.getResult();<NEW_LINE>// Add the following extras for `getDisp...
getTag(), hashCode, notification);
1,550,383
protected void addCompletions(@NotNull final CompletionParameters parameters, @NotNull ProcessingContext context, @NotNull CompletionResultSet result) {<NEW_LINE>final PsiElement completionElement = parameters.getPosition();<NEW_LINE>final GraphQLImplementsInterfaces implementsInterfaces = PsiTreeUtil.getParentOfType(c...
getOriginalFile()).getTypeDefinitionRegistry();
1,390,204
public static boolean createOrphanBranch(Repository repository, String branchName, PersonIdent author) {<NEW_LINE>boolean success = false;<NEW_LINE>String message = "Created branch " + branchName;<NEW_LINE>if (author == null) {<NEW_LINE>author = new PersonIdent("Gitblit", "gitblit@localhost");<NEW_LINE>}<NEW_LINE>try {...
.getBytes(Constants.CHARACTER_ENCODING));
888,094
public Response addEvent(String content) throws IOException {<NEW_LINE>ObjectMapper mapper = new ObjectMapper();<NEW_LINE>LOGGER.info(String<MASK><NEW_LINE>JsonNode input = mapper.readTree(content);<NEW_LINE>String eventType = getStringField(input, "eventType");<NEW_LINE>String groupType = getStringField(input, "groupT...
.format("JSON content: '%s'", content));
949,819
public void handleEvent(Event e) {<NEW_LINE>// modify menu text a bit<NEW_LINE>TableColumn tableColumn = (TableColumn) e.widget;<NEW_LINE>Fetcher fetcher = (Fetcher) tableColumn.getData();<NEW_LINE>MenuItem sortMenuItem = columnsMenu.getItem(0);<NEW_LINE>MenuItem preferencesMenuItem = columnsMenu.getItem(1);<NEW_LINE>M...
e.display.getCursorLocation());
1,303,405
public void loadWorkspace(File file) throws XmlException, IOException {<NEW_LINE>if (file.exists()) {<NEW_LINE>log.info(messages.get("FailedToLoadWorkspaceFrom"<MASK><NEW_LINE>workspaceConfig = SoapuiWorkspaceDocumentConfig.Factory.parse(file);<NEW_LINE>if (workspaceConfig.getSoapuiWorkspace().getSettings() == null) {<...
, file.getAbsolutePath()));
1,741,417
final UpdateResourcePolicyResult executeUpdateResourcePolicy(UpdateResourcePolicyRequest updateResourcePolicyRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(updateResourcePolicyRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE><MASK...
awsRequestMetrics.startEvent(Field.ClientExecuteTime);
1,723,764
public boolean loadInit(final Context a) {<NEW_LINE>boolean init = isLoaded;<NEW_LINE>if (!isLoaded) {<NEW_LINE>defaults(a);<NEW_LINE>load(a);<NEW_LINE>if (AppState.get().isShowPanelBookNameBookMode && AppState.get().statusBarPosition == AppState.STATUSBAR_POSITION_TOP) {<NEW_LINE>AppState.get().isShowPanelBookNameBook...
o3.put(key, value);
1,134,208
public synchronized boolean updateNewWeight(Weighable counter, int newWeight, long currentLoad) {<NEW_LINE>if (c_logger.isTraceDebugEnabled()) {<NEW_LINE>StringBuffer buff = new StringBuffer();<NEW_LINE>buff.append("Try to update new weight from ");<NEW_LINE>buff.append(PerfUtil.getTypeStr(counter.getCounterID()));<NEW...
"updateNewWeight", buff.toString());
1,369,191
protected void onCreate(Bundle savedInstanceState) {<NEW_LINE>super.onCreate(savedInstanceState);<NEW_LINE>setContentView(R.layout.activity_main);<NEW_LINE>// authentication with an API key or named user is required to access basemaps and other<NEW_LINE>// location services<NEW_LINE>ArcGISRuntimeEnvironment.setApiKey(B...
findViewById(R.id.rotationValueText);
1,158,739
public static boolean guessRows(RelNode rel) {<NEW_LINE>final PlannerSettings settings = rel.getCluster().getPlanner().getContext().unwrap(PlannerSettings.class);<NEW_LINE>if (!settings.useStatistics()) {<NEW_LINE>return true;<NEW_LINE>}<NEW_LINE>if (rel instanceof RelSubset) {<NEW_LINE>if (((RelSubset) rel).getBest() ...
TableStatisticsKind.HAS_DESCRIPTIVE_STATISTICS.getValue(tableMetadata);
454,322
private void resetValues(FacesContext context) {<NEW_LINE>Object resetValuesObject = context.getExternalContext().getRequestParameterMap().<MASK><NEW_LINE>boolean resetValues = (null != resetValuesObject && "true".equals(resetValuesObject));<NEW_LINE>if (resetValues) {<NEW_LINE>VisitContext visitContext = null;<NEW_LIN...
get(Constants.RequestParams.RESET_VALUES_PARAM);
934,315
protected IStatus run(IProgressMonitor monitor) {<NEW_LINE>monitor.beginTask("Load Batch Stack....", IProgressMonitor.UNKNOWN);<NEW_LINE>final String stackfile = getStackData(serverId, pack);<NEW_LINE>if (stackfile == null) {<NEW_LINE>return Status.CANCEL_STATUS;<NEW_LINE>}<NEW_LINE>if (isSFA) {<NEW_LINE>ExUtil.exec(Di...
[] lists = getStackIndexList(indexFilename);
1,587,799
public static BufferedImage applyGrayDecode(BufferedImage rgbImage, int bitsPerComponent, float[] decode) {<NEW_LINE>WritableRaster wr = rgbImage.getRaster();<NEW_LINE>int[] cmap = null;<NEW_LINE>if (bitsPerComponent == 1) {<NEW_LINE>boolean defaultDecode = 0.0f == decode[0];<NEW_LINE>cmap = defaultDecode ? GRAY_1_BIT_...
getDataBuffer().getDataType());
242,650
protected void checkIfUnknownAttributesPresent() {<NEW_LINE>Iterator<Entry<QName, Object>> iterator = unknownAttributes.entrySet().iterator();<NEW_LINE>while (iterator.hasNext()) {<NEW_LINE>Entry<QName, Object> attribute = iterator.next();<NEW_LINE><MASK><NEW_LINE>Object attributeValue = attribute.getValue();<NEW_LINE>...
QName attributeName = attribute.getKey();
1,608,000
protected void actionPerformed(ListingActionContext context) {<NEW_LINE>ListingActionContext programActionContext = (ListingActionContext) context.getContextObject();<NEW_LINE><MASK><NEW_LINE>Program program = programActionContext.getProgram();<NEW_LINE>ProgramLocation loc = programActionContext.getLocation();<NEW_LINE...
PluginTool tool = plugin.getTool();
1,396,308
private int rewriteExpressionOptionalQualifier(SwitchCase parent, StructuralPropertyDescriptor property, int startPos) {<NEW_LINE>RewriteEvent event = getEvent(parent, property);<NEW_LINE>if (event != null) {<NEW_LINE>switch(event.getChangeKind()) {<NEW_LINE>case RewriteEvent.INSERTED:<NEW_LINE>{<NEW_LINE>ASTNode node ...
) + node.getLength());
233,619
private Accessor _initializeAccessor() throws Exception {<NEW_LINE>if (deferFinish) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>Class cls = loadClass(className, cw.toByteArray());<NEW_LINE>assert debug("[MVEL JIT Completed Optimization <<" + (expr != null ? new String(expr) : "") + ">>]::" + cls + " (time: " + (System....
() - time) + "ms)");
1,446,802
public void executeAttackRound(Record record) {<NEW_LINE>tlsConfig.getDefaultClientConnection().setTransportHandlerType(TransportHandlerType.TCP_PROXY_TIMING);<NEW_LINE>tlsConfig.setWorkflowExecutorShouldClose(true);<NEW_LINE>WorkflowTrace trace = new WorkflowConfigurationFactory(tlsConfig).createWorkflowTrace(Workflow...
AlertMessage alertMessage = new AlertMessage(tlsConfig);
413,614
public RtComponentInstanceDTO to(RtComponentInstanceDO componentInstanceDO) {<NEW_LINE>if (componentInstanceDO == null) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>RtComponentInstanceDTO result = new RtComponentInstanceDTO();<NEW_LINE>result.setGmtCreate(componentInstanceDO.getGmtCreate());<NEW_LINE>result.setGmtModifi...
setComponentInstanceId(componentInstanceDO.getComponentInstanceId());
142,833
private static List<SelectClauseElementRaw> mapSelectClauseElements(List<SelectClauseElement> elements, StatementSpecMapContext mapContext) {<NEW_LINE>List<SelectClauseElementRaw> result = new ArrayList<>();<NEW_LINE>for (SelectClauseElement element : elements) {<NEW_LINE>if (element instanceof SelectClauseWildcard) {<...
exprNode = mapExpressionDeep(expr, mapContext);
1,179,791
public void enterBcl_expanded(Bcl_expandedContext ctx) {<NEW_LINE>String name = toString(ctx.name);<NEW_LINE>if (Strings.isNullOrEmpty(name)) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>String regex = ctx.quoted != null ? ctx.quoted.text != null ? ctx.quoted.text.getText() : "" <MASK><NEW_LINE>BgpCommunityList communityList...
: ctx.regex.getText();
1,797,323
private static CodegenExpression codegenCompare(CodegenExpressionRef lhs, EPType lhsType, CodegenExpressionRef rhs, EPType rhsType, ExprCaseNodeForge forge, CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope) {<NEW_LINE>if (lhsType == null || lhsType == EPTypeNull.INSTANCE) {<NEW_LINE>return equ...
pass(rhs).call();
1,034,907
public JSONObject installAllPackages(String kubeconfig, JSONObject jsonEnvMap) throws IOException, InterruptedException, TimeoutException {<NEW_LINE>JSONObject result = new JSONObject();<NEW_LINE>for (String clientName : this.clientPackageService.getNames()) {<NEW_LINE>JSONObject clientInfo = this.clientPackageService....
toJavaObject(jsonEnvMap, Map.class);
1,545,774
public void serialize(IdentityProvider value, JsonGenerator gen, SerializerProvider serializers) throws IOException {<NEW_LINE>gen.writeStartObject();<NEW_LINE>gen.writeStringField(FIELD_TYPE, value.getType());<NEW_LINE>if (value.isSerializeConfigRaw()) {<NEW_LINE>gen.writeObjectField(FIELD_CONFIG, value.getConfig());<...
FIELD_NAME, value.getName());
962,061
public ContentType encode(Packet packet, OutputStream out) throws IOException {<NEW_LINE>ContentTypeImpl ctImpl = (ContentTypeImpl) this.getStaticContentType(packet);<NEW_LINE>String boundary = ctImpl.getBoundary();<NEW_LINE>String rootId = ctImpl.getRootId();<NEW_LINE>if (packet.getMessage() != null) {<NEW_LINE>try {<...
getMessage().writeTo(writer);
385,984
final DescribeProcessingJobResult executeDescribeProcessingJob(DescribeProcessingJobRequest describeProcessingJobRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(describeProcessingJobRequest);<NEW_LINE><MASK><NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTime);<NEW_LINE>Request<...
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
1,817,228
protected void initNode(MNode result) {<NEW_LINE>MBool renderable = (<MASK><NEW_LINE>renderable.set(true);<NEW_LINE>MInt filmFit = (MInt) result.getAttr("ff");<NEW_LINE>// horizontal fit<NEW_LINE>filmFit.set(1);<NEW_LINE>MFloat centerOfInterest = (MFloat) result.getAttr("coi");<NEW_LINE>centerOfInterest.set(5.0f);<NEW_...
MBool) result.getAttr("rnd");
1,824,093
final GetClientCertificateResult executeGetClientCertificate(GetClientCertificateRequest getClientCertificateRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(getClientCertificateRequest);<NEW_LINE><MASK><NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTime);<NEW_LINE>Request<GetCl...
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
1,829,465
public Object clone() {<NEW_LINE>JRDesignDataset clone = (JRDesignDataset) super.clone();<NEW_LINE>// recreate and register the query language listener<NEW_LINE>clone.queryLanguageChangeListener = clone.new QueryLanguageChangeListener();<NEW_LINE>clone.addQueryLanguageListener();<NEW_LINE>if (parametersList != null) {<...
>(groupsList.size());
1,486,124
public void marshall(ECSTaskSet eCSTaskSet, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (eCSTaskSet == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(eCSTaskSet.getIdentifer(), IDENTIFER_BINDING);<NEW_LIN...
eCSTaskSet.getRunningCount(), RUNNINGCOUNT_BINDING);
272,677
private void defineWriteUnionMethod() {<NEW_LINE>MethodDefinition write = new MethodDefinition(a(PUBLIC), "write", null, arg("struct", structType), arg("protocol", TProtocol.class));<NEW_LINE>classDefinition.addMethod(write);<NEW_LINE>// TProtocolWriter writer = new TProtocolWriter(protocol);<NEW_LINE>write.addLocalVar...
write.newObject(TProtocolWriter.class);
333,510
private int markIntersectionEdge(Object g, int idx, int[] yPoints, int[] xPoints, int nPoints, int[] intersections, int intersectionsCount) {<NEW_LINE>intersections[intersectionsCount] = xPoints[idx];<NEW_LINE>if ((yPoints[idx] - yPoints[(idx + 1) % nPoints]) * (yPoints[idx] - yPoints[(idx + nPoints - 1) % nPoints]) > ...
+ 1] = xPoints[idx];
651,107
public FileVisitResult visitFile(java.nio.file.Path path, java.nio.file.Path mod, BasicFileAttributes attrs) throws IOException {<NEW_LINE>String name = JRTUtil.sanitizedFileName(path);<NEW_LINE>if (Util.isClassFileName(name) && isValidPackageNameForClassOrisModule(name)) {<NEW_LINE>try {<NEW_LINE>String fullPath = pat...
this.index, this.indexPath);
44,726
public static void main(String[] args) {<NEW_LINE>Exercise18 exercise18 = new Exercise18();<NEW_LINE>// Graph with girth = 3<NEW_LINE>Graph graph1 = new Graph(6);<NEW_LINE>graph1.addEdge(2, 3);<NEW_LINE>graph1.addEdge(0, 1);<NEW_LINE>graph1.addEdge(3, 1);<NEW_LINE>graph1.addEdge(5, 3);<NEW_LINE>graph1.addEdge(2, 0);<NE...
.new GraphProperties(graph3, false);
957,708
static String escape(String text) {<NEW_LINE>// unwrap double quotes<NEW_LINE>if (text.length() > 1 && text.charAt(0) == '"' && text.charAt(text.length() - 1) == '"') {<NEW_LINE>text = text.substring(1, <MASK><NEW_LINE>}<NEW_LINE>int i = 0;<NEW_LINE>int length = text.length();<NEW_LINE>StringBuilder result = new String...
text.length() - 1);
1,609,866
public void gen(ActionElement action) {<NEW_LINE>if (DEBUG_CODE_GENERATOR || DEBUG_CPP_CODE_GENERATOR)<NEW_LINE>System.out.println("genAction(" + action + ")");<NEW_LINE>if (action.isSemPred) {<NEW_LINE>genSemPred(<MASK><NEW_LINE>} else {<NEW_LINE>if (grammar.hasSyntacticPredicate) {<NEW_LINE>println("if ( inputState->...
action.actionText, action.line);
798,350
private JPanel createPlotPanel() {<NEW_LINE>JPanel plotPanel = new JPanel(new LCBLayout(3));<NEW_LINE>plotPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));<NEW_LINE>plotPanel.add(new JLabel(localizationResources.getString("AngleOffset")));<NEW_LINE>this.angleOffset = new JTextField(Double.toString(this.angl...
.toString(this.manualTickUnitValue));
291,574
public Flux<NumericResponse<GeoSearchStoreCommand, Long>> geoSearchStore(Publisher<GeoSearchStoreCommand> commands) {<NEW_LINE>return connection.execute(cmd -> Flux.from(commands).flatMap(command -> {<NEW_LINE>Assert.notNull(command.getKey(), "Key must not be null!");<NEW_LINE>Assert.notNull(command.getDestKey(), "Dest...
ref, predicate, geoArgs, storeDist);
373,753
public String executeCustomFormLogin(HttpClient httpclient, String url, String username, String password, String viewState, String[] cookies) throws Exception {<NEW_LINE>String methodName = "executeCustomFormLogin";<NEW_LINE>Log.info(logClass, methodName, "Submitting custom login form (POST) = " + url + ", username = ...
String location = header.getValue();
150,865
public // data.<NEW_LINE>void createKeyAsymmetricDecrypt(String projectId, String locationId, String keyRingId, String id) throws IOException {<NEW_LINE>// Initialize client that will be used to send requests. This client only<NEW_LINE>// needs to be created once, and can be reused for multiple requests. After<NEW_LINE...
"Created asymmetric key %s%n", createdKey.getName());
705,049
public int doReplace(String find, String replace, boolean caseSensitive) {<NEW_LINE>int nextPosn = 0;<NEW_LINE>int posn;<NEW_LINE>// Will perform a "find" and return, unless positioned at the end of<NEW_LINE>// a selected "find" result.<NEW_LINE>if (find == null || !find.equals(sourceCode.getSelectedText()) || sourceCo...
nextPosn + find.length());
507,444
public String login(HttpServletRequest httpServletRequest, HttpServletResponse response, @RequestParam String userName, @RequestParam String password) {<NEW_LINE>ExtensionLoader<LoginAuthentication> extensionLoader = ExtensionLoader.getExtensionLoader(LoginAuthentication.class);<NEW_LINE>Set<LoginAuthentication<MASK><N...
> supportedExtensionInstances = extensionLoader.getSupportedExtensionInstances();
1,135,493
public List<RelatedDocumentsCandidateGroup> retrieveRelatedDocumentsCandidates(@NonNull final IZoomSource fromDocument, @Nullable final AdWindowId targetWindowId) {<NEW_LINE>final AdWindowId adWindowId;<NEW_LINE>final ITranslatableString display;<NEW_LINE>// #2340 Reference Target relation type: There is no source, onl...
final MQuery query = mkZoomOriginQuery(fromDocument);
496,610
private String buildMBRecordingQuery(final CoverArtArchiveTagInfo tagInfo, final boolean fuzzy) {<NEW_LINE>final String and = urlEncode(" AND ");<NEW_LINE>StringBuilder query = new StringBuilder("recording/?query=");<NEW_LINE>boolean added = false;<NEW_LINE>if (isNotBlank(tagInfo.title)) {<NEW_LINE>if (fuzzy) {<NEW_LIN...
year)).append('*');
523,068
public void render(PoseStack transform, int mouseX, int mouseY, float partialTicks) {<NEW_LINE>if (this.visible) {<NEW_LINE>ClientUtils.bindTexture(GuiReactiveList.TEXTURE);<NEW_LINE>this.isHovered = mouseX >= this.x && mouseY >= this.y && mouseX < this.x + this.width && mouseY < this.y + this.height;<NEW_LINE>RenderSy...
770, 771, 1, 0);
1,115,457
public void channelRead(final ChannelHandlerContext ctx, final Object msg) throws Exception {<NEW_LINE>if (msg instanceof PUBLISH) {<NEW_LINE>// client already disconnected. No need to read more publishes.<NEW_LINE>if (serverSendQuota.get() < 0) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>final PUBLISH publish = (PUBLISH) m...
super.channelRead(ctx, msg);
1,458,335
public void caseLoadInst(LoadInst i) {<NEW_LINE>final int slot = localToSlot.get(i.getLocal());<NEW_LINE>i.getOpType().apply(new TypeSwitch() {<NEW_LINE><NEW_LINE>@Override<NEW_LINE>public void caseArrayType(ArrayType t) {<NEW_LINE>mv.visitVarInsn(Opcodes.ALOAD, slot);<NEW_LINE>}<NEW_LINE><NEW_LINE>@Override<NEW_LINE>p...
visitVarInsn(Opcodes.ILOAD, slot);
1,084,142
protected String generateSyntaxIncorrectAST() {<NEW_LINE>// create some dummy source to generate an ast node<NEW_LINE>StringBuffer buff = new StringBuffer();<NEW_LINE>IType type = getType();<NEW_LINE>String lineSeparator = org.eclipse.jdt.internal.core.util.Util.getLineSeparator(this.source, type == null ? null : type....
List bodyDeclarations = typeDeclaration.bodyDeclarations();
828,928
protected void prepare() {<NEW_LINE>ProcessInfoParameter[] para = getParametersAsArray();<NEW_LINE>for (int i = 0; i < para.length; i++) {<NEW_LINE>String name = para[i].getParameterName();<NEW_LINE>if (name.equals("From_C_BP_BankAccount_ID")) {<NEW_LINE>p_From_C_BP_BankAccount_ID = ((BigDecimal) para[i].<MASK><NEW_LIN...
getParameter()).intValue();
1,605,096
static Value[] computeResult(BitWidth width, Value a, Value b, Value upper, boolean unsigned) {<NEW_LINE>int w = width.getWidth();<NEW_LINE>if (upper == Value.NIL || upper.isUnknown())<NEW_LINE>upper = Value.createKnown(width, 0);<NEW_LINE>if (a.isFullyDefined() && b.isFullyDefined() && upper.isFullyDefined()) {<NEW_LI...
0 : (-1L) << w;
751,052
// update the bounds to the union of all the rectangles<NEW_LINE>void updateBounds() {<NEW_LINE>Rectangle rect = null;<NEW_LINE>Screen s = new Screen();<NEW_LINE>for (Visual comp : landmarks) {<NEW_LINE>if (rect == null) {<NEW_LINE>rect = new Rectangle(comp.getBounds());<NEW_LINE>continue;<NEW_LINE>} else {<NEW_LINE>if...
intersection(comp.getBounds());
1,336,870
// GEN-LAST:event_rewindButtonActionPerformed<NEW_LINE>private void fastForwardButtonActionPerformed(java.awt.event.ActionEvent evt) {<NEW_LINE>Gst.getExecutor().submit(() -> {<NEW_LINE>if (gstPlayBin != null) {<NEW_LINE>long duration = gstPlayBin.queryDuration(TimeUnit.NANOSECONDS);<NEW_LINE>long currentTime = <MASK><...
gstPlayBin.queryPosition(TimeUnit.NANOSECONDS);
1,310,740
private Stream<SimilarityResult> similarityParallelStream(T[] inputs, int[] sourceIndexIds, int[] targetIndexIds, int length, TerminationFlag terminationFlag, int concurrency, double cutoff, SimilarityComputer<T> computer, Supplier<RleDecoder> decoderFactory) {<NEW_LINE>Supplier<IntStream> sourceRange = () -> idRange(s...
SimilarityResult.TOMB, terminationFlag, timeout);
602,403
public static void printShortStackTrace(PrintWriter out, ServletException e) {<NEW_LINE>// determine the absolute root exception<NEW_LINE>Throwable th = null;<NEW_LINE>while (e != null) {<NEW_LINE>th = e.getRootCause();<NEW_LINE>if (th == null) {<NEW_LINE>th = e;<NEW_LINE>break;<NEW_LINE>} else<NEW_LINE>e = th instance...
PrintWriter pw = new PrintWriter(sw);
786,500
public Object stringToObject(final I_AD_Column column, final String valueStr) {<NEW_LINE>if (valueStr == null) {<NEW_LINE>if (column.isMandatory()) {<NEW_LINE>return VALUE_Unknown;<NEW_LINE>} else {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>}<NEW_LINE>final int displayType = column.getAD_Reference_ID();<NEW_LINE>if (Di...
) || "Y".equalsIgnoreCase(valueStr);
1,107,789
public void activate(BundleContext context) {<NEW_LINE>super.activate(context);<NEW_LINE>logger.info("Loading eclim plugins...");<NEW_LINE>String pluginsDir = System.getProperty("eclim.home") + File.separator + ".." + File.separator;<NEW_LINE>String[] pluginDirs = new File(pluginsDir).list(new FilenameFilter() {<NEW_LI...
IResourceChangeEvent.PRE_BUILD | IResourceChangeEvent.POST_BUILD);
525,305
public static void addEngineLoggingData(String type, String message, String engineType, ObjectMapper objectMapper) {<NEW_LINE>ObjectNode loggingNode = objectMapper.createObjectNode();<NEW_LINE>loggingNode.put("message", message);<NEW_LINE>loggingNode.put("engineType", engineType);<NEW_LINE>LoggingSession loggingSession...
addLoggingData(type, loggingNode, engineType);
1,081,927
private List<E> descendants(E e, boolean up) {<NEW_LINE>Node<E> <MASK><NEW_LINE>final Collection<Node<E>> c;<NEW_LINE>if (node == null) {<NEW_LINE>c = up ? findChildren(e) : findParents(e);<NEW_LINE>} else {<NEW_LINE>c = up ? node.childList : node.parentList;<NEW_LINE>}<NEW_LINE>if (c.size() == 1 && c.iterator().next()...
node = map.get(e);
1,154,848
public WasmFunction generate(MethodReference methodReference, MethodHolder bodyMethod) {<NEW_LINE>ClassHolder cls = classSource.get(methodReference.getClassName());<NEW_LINE>MethodHolder method = cls.getMethod(methodReference.getDescriptor());<NEW_LINE>RegularMethodNode methodAst = decompiler.decompileRegular(bodyMetho...
("name").getString());
53,139
public void searchForOtherClusters() {<NEW_LINE>node.multicastService.send(node.createSplitBrainJoinMessage());<NEW_LINE>SplitBrainJoinMessage splitBrainMsg;<NEW_LINE>try {<NEW_LINE>while ((splitBrainMsg = splitBrainJoinMessages.poll(3, TimeUnit.SECONDS)) != null) {<NEW_LINE>if (logger.isFineEnabled()) {<NEW_LINE>logge...
send(node.createSplitBrainJoinMessage());
1,696,722
public int[][] encodeAttributesAsArray(List<String[]> columns) {<NEW_LINE>if (columns.isEmpty()) {<NEW_LINE>return new int[0][0];<NEW_LINE>}<NEW_LINE>int numColumns = columns.size();<NEW_LINE>int numRows = columns.get(0).length;<NEW_LINE>for (int i = 0; i < numColumns; i++) {<NEW_LINE>if (!encoder.containsKey(i)) {<NEW...
curKey = curColEncoder.get(colVal);