idx
int32
46
1.86M
input
stringlengths
321
6.6k
target
stringlengths
9
1.24k
273,127
public Stream<ClientModel> searchClientsByAttributes(RealmModel realm, Map<String, String> attributes, Integer firstResult, Integer maxResults) {<NEW_LINE>Map<String, String> filteredAttributes = clientSearchableAttributes == null ? attributes : attributes.entrySet().stream().filter(m -> clientSearchableAttributes.cont...
root.get("clientId")));
579,111
// ------------//<NEW_LINE>// deriveFrom //<NEW_LINE>// ------------//<NEW_LINE>@Override<NEW_LINE>public boolean deriveFrom(ShapeSymbol symbol, Sheet sheet, MusicFont font, Point dropLocation, Alignment alignment) {<NEW_LINE>BeamSymbol beamSymbol = (BeamSymbol) symbol;<NEW_LINE>Model model = beamSymbol.getModel(font, ...
.getScale().getBeamThickness();
456,940
public static String exportRecord(PO entity, MClient client, Integer replicationMode, String replicationType, Integer replicationEvent, MReplicationStrategy replicationStrategy, MEXPFormat exportFormat) {<NEW_LINE>try {<NEW_LINE>// Build Wrapper<NEW_LINE>EntityWrapper wrapper = EntityWrapperFactory.create().withClient(...
log.fine("ExportProcessor = " + exportProcessor);
716,183
public String bpartner(final ICalloutField calloutField) {<NEW_LINE>final I_M_InOut inout = calloutField.getModel(I_M_InOut.class);<NEW_LINE>final BPartnerId bpartnerId = BPartnerId.ofRepoIdOrNull(inout.getC_BPartner_ID());<NEW_LINE>if (bpartnerId == null) {<NEW_LINE>return NO_ERROR;<NEW_LINE>}<NEW_LINE>final IBPartner...
bpartner = bpartnerBL.getById(bpartnerId);
1,071,473
public void addAnomalyTS(CombinedDomainXYPlot plot, DataSequence observedSeries, DataSequence expectedSeries) {<NEW_LINE>// Compute the time-series of errors.<NEW_LINE>HashMap<String, ArrayList<Float>> allErrors = aes.initAnomalyErrors(observedSeries, expectedSeries);<NEW_LINE>Float sDAutoSensitivity = (float) 0.0;<NEW...
().get(i));
1,236,985
public void initialize(Context context, TimePickerController controller) {<NEW_LINE>if (mIsInitialized) {<NEW_LINE>Log.e(TAG, "CircleView may only be initialized once.");<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>Resources res = context.getResources();<NEW_LINE>int colorRes = controller.isThemeDark() ? R.color<MASK><NEW_LIN...
.mdtp_circle_background_dark_theme : R.color.mdtp_circle_color;
517,058
private void populateTablesFromData() {<NEW_LINE>for (QueryVerificationData queryVerificationData : data) {<NEW_LINE>String tableId = queryVerificationData.datasetName() + "." + queryVerificationData.tableName();<NEW_LINE>try {<NEW_LINE>// Clear out error tables<NEW_LINE>statementConnection.executeUpdate("DROP TABLE " ...
String csvContents = queryVerificationData.contents();
972,050
static void c_4_a() throws Exception {<NEW_LINE>AkSourceBatchOp train_data = new AkSourceBatchOp().setFilePath(DATA_DIR + TRAIN_FILE);<NEW_LINE>AkSourceBatchOp test_data = new AkSourceBatchOp().setFilePath(DATA_DIR + TEST_FILE);<NEW_LINE>NaiveBayesTrainBatchOp trainer = new NaiveBayesTrainBatchOp().setFeatureCols(FEATU...
println(sbd.toString());
333,481
final GetFunctionResult executeGetFunction(GetFunctionRequest getFunctionRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(getFunctionRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTi...
awsRequestMetrics.startEvent(Field.RequestMarshallTime);
343,125
private void showJavadoc(LookupImpl lookup) {<NEW_LINE>if (myActiveLookup != lookup)<NEW_LINE>return;<NEW_LINE>DocumentationManager docManager = DocumentationManager.getInstance(myProject);<NEW_LINE>// will auto-update<NEW_LINE>if (docManager.getDocInfoHint() != null)<NEW_LINE>return;<NEW_LINE>LookupElement currentItem...
.getInstance().JAVADOC_INFO_DELAY == 0;
535,111
protected void addOverlays() {<NEW_LINE>super.addOverlays();<NEW_LINE>List<GeoPoint> geoPoints = new ArrayList<>();<NEW_LINE>geoPoints.add(new GeoPoint(26.0, 113.5));<NEW_LINE>geoPoints.add(new GeoPoint(26.0, 114.5));<NEW_LINE>geoPoints.add(<MASK><NEW_LINE>geoPoints.add(new GeoPoint(26.0, 115.0));<NEW_LINE>geoPoints.ad...
new GeoPoint(27.0, 114.5));
208,344
private TypeAndForgePair handleAtEventbeanEnumeration(boolean isEventBeans, ExprForge forge) throws ExprValidationException {<NEW_LINE>if (!(forge instanceof ExprEnumerationForge) || !isEventBeans) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>final ExprEnumerationForge enumEval = (ExprEnumerationForge) forge;<NEW_LINE>f...
getTableCompileTimeResolver().resolveTableFromEventType(eventTypeColl);
670,746
private void handleBeanDefinitionMetadata(Builder code) {<NEW_LINE>String bdVariable = determineVariableName("bd");<NEW_LINE>MultiStatement statements = new MultiStatement();<NEW_LINE>if (this.beanDefinition.isPrimary()) {<NEW_LINE>statements.add("$L.setPrimary(true)", bdVariable);<NEW_LINE>}<NEW_LINE>String scope = th...
= this.beanDefinition.getDependsOn();
1,014,633
static NestedSet<Artifact> collectCompilationPrerequisites(RuleContext ruleContext, CcCompilationContext ccCompilationContext) {<NEW_LINE>// TODO(bazel-team): Use ccCompilationContext.getCompilationPrerequisites() instead; note<NEW_LINE>// that this<NEW_LINE>// will<NEW_LINE>// need cleaning up the prerequisites, as th...
addTransitive(ccCompilationContext.getDeclaredIncludeSrcs());
1,150,754
protected void addCommonPlanItemInstanceFields(PlanItemInstanceEntity planItemInstanceEntity, ObjectNode data) {<NEW_LINE>putIfNotNull(data, CmmnAsyncHistoryConstants.FIELD_ID, planItemInstanceEntity.getId());<NEW_LINE>putIfNotNull(data, CmmnAsyncHistoryConstants.FIELD_REVISION, planItemInstanceEntity.getRevision());<N...
FIELD_LAST_AVAILABLE_TIME, planItemInstanceEntity.getLastAvailableTime());
1,489,107
final CreateRelationalDatabaseFromSnapshotResult executeCreateRelationalDatabaseFromSnapshot(CreateRelationalDatabaseFromSnapshotRequest createRelationalDatabaseFromSnapshotRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(createRelationalDatabaseFromSnapshotRequest);<NEW_LINE>AWSRequestMet...
false), new CreateRelationalDatabaseFromSnapshotResultJsonUnmarshaller());
1,197,323
public static Set<URL> loadResources(String fileName, ClassLoader currentClassLoader) {<NEW_LINE>Map<ClassLoader, Map<String, Set<URL>>> classLoaderCache;<NEW_LINE>if (classLoaderResourcesCache == null || (classLoaderCache = classLoaderResourcesCache.get()) == null) {<NEW_LINE>synchronized (ClassLoaderResourceLoader.cl...
URL url = urls.nextElement();
739,901
private void loadNode104() {<NEW_LINE>UaObjectTypeNode node = new UaObjectTypeNode(this.context, Identifiers.AuditHistoryValueUpdateEventType, new QualifiedName(0, "AuditHistoryValueUpdateEventType"), new LocalizedText("en", "AuditHistoryValueUpdateEventType"), LocalizedText.NULL_VALUE, UInteger.valueOf(0), UInteger.va...
.expanded(), false));
220,566
public void compactTable(AdminCompactTableStmt stmt) throws DdlException {<NEW_LINE>String dbName = stmt.getDbName();<NEW_LINE>String tableName = stmt.getTblName();<NEW_LINE>String type = stmt.getCompactionType();<NEW_LINE>Database db = this.getDbOrDdlException(dbName);<NEW_LINE>OlapTable olapTable = db.getOlapTableOrD...
> partitionNames = stmt.getPartitions();
391,725
private void verifyCertificatesSubject(String serverName, InetSocketAddress peer, X509Certificate certificate) throws SSLPeerUnverifiedException {<NEW_LINE>if (certificate == null) {<NEW_LINE>throw new NullPointerException("Certficate must not be null!");<NEW_LINE>}<NEW_LINE>if (serverName == null && peer == null) {<NE...
cn = CertPathUtil.getSubjectsCn(certificate);
365,487
public static ASTNode addChildren(ASTNode parent, @Nonnull ASTNode first, @Nonnull ASTNode last, ASTNode anchorBefore) {<NEW_LINE>ASTNode lastChild = last.getTreeNext();<NEW_LINE>ASTNode current = first;<NEW_LINE>while (current != lastChild) {<NEW_LINE>saveWhitespacesInfo(current);<NEW_LINE>checkForOuters(current);<NEW...
lastAddedLeaf = findLastLeaf(first, last);
1,516,760
private void askUserToFixPath(DefaultListModel<BasePathSupport.Item> includePathListModel, BasePathSupport.Item item) {<NEW_LINE>PhpProject currentProject = uiProps.getProject();<NEW_LINE>FileObject fileObject = item.getFileObject(currentProject.getProjectDirectory());<NEW_LINE>assert fileObject != null;<NEW_LINE>PhpPr...
"Source files of project {0} not found, Include Path cannot be fixed", owningProject.getName());
1,351,741
public TeslaBaseResult put(@RequestBody TabUpsertParam param, String stageId) {<NEW_LINE>ProductopsTab tab = productopsTabRepository.findFirstByTabIdAndStageId(param.getId(), stageId);<NEW_LINE>if (tab == null) {<NEW_LINE>tab = ProductopsTab.builder().stageId(stageId).gmtCreate(System.currentTimeMillis()).build();<NEW_...
tab.setLastModifier(getUserEmployeeId());
1,340,547
final DeleteRouteCalculatorResult executeDeleteRouteCalculator(DeleteRouteCalculatorRequest deleteRouteCalculatorRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(deleteRouteCalculatorRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>...
addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
702,197
public Request<CompleteLifecycleActionRequest> marshall(CompleteLifecycleActionRequest completeLifecycleActionRequest) {<NEW_LINE>if (completeLifecycleActionRequest == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>Request<CompleteLifecycleActionRequest> r...
(completeLifecycleActionRequest.getInstanceId()));
712,245
private void updateFileDetails(boolean forcedTransferring, boolean refresh) {<NEW_LINE>if (readyToShow()) {<NEW_LINE>FileDataStorageManager storageManager = mContainerActivity.getStorageManager();<NEW_LINE>if (refresh && storageManager != null) {<NEW_LINE>setFile(storageManager.getFileByPath(getFile().getRemotePath()))...
setTimeModified(file.getModificationTimestamp());
264,508
public Map<String, TF_Tensor> recastInputs(Map<String, TF_Tensor> inputs, List<String> inputOrder, Map<String, TensorDataType> inputDataTypes) {<NEW_LINE>if (inputDataTypes == null || inputDataTypes.isEmpty()) {<NEW_LINE>inputDataTypes = new LinkedHashMap<>();<NEW_LINE>for (int i = 0; i < inputOrder.size(); i++) {<NEW_...
ret = new HashMap<>();
317,800
public static KvEntry toKvEntry(Row row, String key) {<NEW_LINE>KvEntry kvEntry = null;<NEW_LINE>String strV = row.get(ModelConstants.STRING_VALUE_COLUMN, String.class);<NEW_LINE>if (strV != null) {<NEW_LINE>kvEntry = new StringDataEntry(key, strV);<NEW_LINE>} else {<NEW_LINE>Long longV = row.get(ModelConstants.LONG_VA...
= new BooleanDataEntry(key, boolV);
20,485
public boolean exitAfterHandlingConnect(Channel channel, NettyResponseFuture<?> future, Request request, ProxyServer proxyServer) {<NEW_LINE>if (future.isKeepAlive())<NEW_LINE><MASK><NEW_LINE>Uri requestUri = request.getUri();<NEW_LINE>LOGGER.debug("Connecting to proxy {} for scheme {}", proxyServer, requestUri.getSche...
future.attachChannel(channel, true);
1,541,389
public void initialize(ExtensionContext context) {<NEW_LINE>if (initialized) {<NEW_LINE>Monitor monitor = context.getMonitor();<NEW_LINE>monitor.severe(() -> "SpotifyTransferExtension already initialized");<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>AppCredentials appCredentials;<NEW_LINE>try {<NEW_LINE>appCredentials = cont...
= new SpotifyPlaylistExporter(monitor, spotifyApi);
1,683,139
final DeleteEventDestinationResult executeDeleteEventDestination(DeleteEventDestinationRequest deleteEventDestinationRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(deleteEventDestinationRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_...
invoke(request, responseHandler, executionContext);
1,305,471
@Support({ FIREBIRD, H2, HSQLDB, IGNITE, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB })<NEW_LINE>public static WithAsStep19 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias1...
fieldAlias16, fieldAlias17, fieldAlias18, fieldAlias19);
510,157
public static DeleteAggregatorsResponse unmarshall(DeleteAggregatorsResponse deleteAggregatorsResponse, UnmarshallerContext _ctx) {<NEW_LINE>deleteAggregatorsResponse.setRequestId(_ctx.stringValue("DeleteAggregatorsResponse.RequestId"));<NEW_LINE>OperateAggregatorsResult operateAggregatorsResult = new OperateAggregator...
("DeleteAggregatorsResponse.OperateAggregatorsResult.OperateAggregators[" + i + "].ErrorCode"));
477,707
private void global_get(WasmContext context, VirtualFrame frame, int stackPointer, int index) {<NEW_LINE>byte type = instance().symbolTable().globalValueType(index);<NEW_LINE>CompilerAsserts.partialEvaluationConstant(type);<NEW_LINE>switch(type) {<NEW_LINE>case WasmType.I32_TYPE:<NEW_LINE>pushInt(frame, stackPointer, c...
).globalAddress(index)));
871,204
/* simple but a version that doesn't guarantee that the chunk is actually loaded<NEW_LINE>@Inject(method = "convertToFullChunk", at = @At("HEAD"))<NEW_LINE>private void onChunkGeneratedEnd(ChunkHolder chunkHolder, CallbackInfoReturnable<CompletableFuture<Either<Chunk, Unloaded>>> cir)<NEW_LINE>{<NEW_LINE>if (CHUNK_GENE...
.world, chpos, true));
1,223,792
public <P extends Page> P dblClick(final boolean shiftKey, final boolean ctrlKey, final boolean altKey) throws IOException {<NEW_LINE>if (isDisabledElementAndDisabled()) {<NEW_LINE>return (P) getPage();<NEW_LINE>}<NEW_LINE>// call click event first<NEW_LINE>P clickPage = click(shiftKey, ctrlKey, altKey);<NEW_LINE>if (c...
ctrlKey, altKey, MouseEvent.BUTTON_LEFT);
56,114
public byte[] doInTransform(Instrumentor instrumentor, ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws InstrumentException {<NEW_LINE>InstrumentClass target = instrumentor.getInstrumentClass(loader, className, classfileBuffer);<NEW_LI...
ArcusPluginConfig(instrumentor.getProfilerConfig());
23,360
private ResponseSpec findPetsByTagsRequestCreation(Set<String> tags) throws WebClientResponseException {<NEW_LINE>Object postBody = null;<NEW_LINE>// verify the required parameter 'tags' is set<NEW_LINE>if (tags == null) {<NEW_LINE>throw new WebClientResponseException("Missing the required parameter 'tags' when calling...
LinkedMultiValueMap<String, String>();
1,208,096
public Mappings deserialize(final JsonParser p, final DeserializationContext ctxt) throws IOException {<NEW_LINE>final Map<String, Object> m = p.getCodec().readValue(p, new TypeReference<Map<String, Object>>() {<NEW_LINE>});<NEW_LINE>final Optional<Map.Entry<String, Object>> typeMapping = m.entrySet().stream().filter(i...
setType(it.getKey());
615,135
final ListDatasetGroupsResult executeListDatasetGroups(ListDatasetGroupsRequest listDatasetGroupsRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listDatasetGroupsRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.st...
false), new ListDatasetGroupsResultJsonUnmarshaller());
489,012
private void onPlumberAPIClosed(JavaScriptObject params) {<NEW_LINE>PlumberAPIParams apiState = params.cast();<NEW_LINE>// this completes any pending disconnection<NEW_LINE>disconnectingUrl_ = null;<NEW_LINE>// if we were asked not to stop when the window closes (i.e. when<NEW_LINE>// changing viewer types), bail out<N...
.interruptR().execute();
754,954
Task<Void> stopHttpMetric(int id, Bundle httpMetricConfig, Bundle attributes) {<NEW_LINE>return Tasks.call(() -> {<NEW_LINE>HttpMetric httpMetric = httpMetrics.get(id);<NEW_LINE>if (httpMetricConfig.containsKey("httpResponseCode")) {<NEW_LINE>httpMetric.setHttpResponseCode((int) httpMetricConfig.getDouble("httpResponse...
attributes.getString(attributeKey)));
1,078,832
final CreateChannelModeratorResult executeCreateChannelModerator(CreateChannelModeratorRequest createChannelModeratorRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(createChannelModeratorRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_...
HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
667,573
private boolean updateAddress0(PO po, String columnName) {<NEW_LINE>final String addressOld = po.get_ValueAsString(columnName);<NEW_LINE>if (!Check.isBlank(addressOld)) {<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE>//<NEW_LINE>// Case: I_C_BPartner_Location.Address<NEW_LINE>// See http://dewiki908/mediawiki/index.php/03...
getDocumentDeliveryLocationAdapter(po).get();
419,001
final ListCuratedEnvironmentImagesResult executeListCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listCuratedEnvironmentImagesRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContex...
awsRequestMetrics.startEvent(Field.ClientExecuteTime);
752,124
public void requestReply(T request, StreamObserver<T> responseObserver) {<NEW_LINE>Message<byte[]> message = this.toSpringMessage(request);<NEW_LINE>FunctionInvocationWrapper function = this.<MASK><NEW_LINE>if (FunctionTypeUtils.isFlux(function.getOutputType())) {<NEW_LINE>String errorMessage = "Flux reply is not suppo...
resolveFunction(message.getHeaders());
1,746,497
public static void writeRSAKeyValueType(XMLStreamWriter writer, RSAKeyValueType type) throws ProcessingException {<NEW_LINE>String prefix = WSTrustConstants.XMLDSig.DSIG_PREFIX;<NEW_LINE>StaxUtil.writeStartElement(writer, prefix, WSTrustConstants.XMLDSig.RSA_KEYVALUE, WSTrustConstants.DSIG_NS);<NEW_LINE>// write the rs...
(modulus, GeneralConstants.SAML_CHARSET));
1,390,554
public static List<String> toStringList(char[] buf, int offset, int len) {<NEW_LINE>List<String> list = new ArrayList<String>();<NEW_LINE>int lastPos = offset;<NEW_LINE>int maxPos = offset + len;<NEW_LINE>for (int curPos = offset; curPos < maxPos; curPos++) {<NEW_LINE>if (buf[curPos] != '\0') {<NEW_LINE>continue;<NEW_L...
buf, lastPos, maxPos - lastPos);
1,306,931
private void savePreferences() {<NEW_LINE>if (mPrefs.enableTaskCheck().get() != mTaskCheck.isChecked()) {<NEW_LINE>boolean checked = mTaskCheck.isChecked() ? true : false;<NEW_LINE>String check = getCheckedStatus(checked);<NEW_LINE>String status = getCheckedStatus(mPrefs.enableTaskCheck().get());<NEW_LINE>mAddLogPresen...
, mTaskCheckTimes.getTimeValueAsString()));
1,738,091
public void computeNetworks(Collection<Interface> interfaces) {<NEW_LINE>for (Interface i : interfaces) {<NEW_LINE>ConcreteInterfaceAddress address = i.getAddress();<NEW_LINE>if (address == null) {<NEW_LINE>continue;<NEW_LINE>}<NEW_LINE>for (IpWildcard wn : _wildcardNetworks) {<NEW_LINE>// Check if the interface IP add...
.getIp().asLong();
938,019
private void noStatus(List<Server> serverList) {<NEW_LINE>if (serverList.isEmpty()) {<NEW_LINE>report.setMessage(NONE);<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>StringBuilder sb = new StringBuilder();<NEW_LINE>boolean firstServer = true;<NEW_LINE>Properties extraProps = new Properties();<NEW_LINE>List<Map<String, Object>> ...
instanceList = new ArrayList<>();
605,534
private void initFirstThumb() {<NEW_LINE>lowThumb = new ThumbPane();<NEW_LINE>// $NON-NLS-1$<NEW_LINE>lowThumb.getStyleClass().setAll("low-thumb");<NEW_LINE>lowThumb.setFocusTraversable(true);<NEW_LINE>track = new StackPane();<NEW_LINE>track.setFocusTraversable(false);<NEW_LINE>// $NON-NLS-1$<NEW_LINE>track.getStyleCla...
me, preDragPos + dragPos / trackLength);
1,821,392
public void write(org.apache.thrift.protocol.TProtocol prot, BuildJobStateDaemonicParserState struct) throws org.apache.thrift.TException {<NEW_LINE>TTupleProtocol oprot = (TTupleProtocol) prot;<NEW_LINE>BitSet optionals = new BitSet();<NEW_LINE>if (struct.isSetCachedIncludes()) {<NEW_LINE>optionals.set(0);<NEW_LINE>}<...
writeString(_iter9.getKey());
599,538
public static void dequantizeAC8x8(int[] coeffs, int qp, int[] scalingList) {<NEW_LINE>int group = qp % 6;<NEW_LINE>if (qp >= 36) {<NEW_LINE>int qbits = qp / 6 - 6;<NEW_LINE>if (scalingList == null) {<NEW_LINE>for (int i = 0; i < 64; i++) coeffs[i] = (coeffs[i] * (dequantCoef8x8[group][i]) << 4) << qbits;<NEW_LINE>} el...
invZigzag8x8[i]]) << qbits;
592,991
public void delete(ESSyncConfig.ESMapping mapping, Object pkVal, Map<String, Object> esFieldData) {<NEW_LINE>if (mapping.get_id() != null) {<NEW_LINE>ESDeleteRequest esDeleteRequest = this.esConnection.new ES6xDeleteRequest(mapping.get_index(), mapping.get_type(), pkVal.toString());<NEW_LINE>getBulk().add(esDeleteReque...
()).setDoc(esFieldData);
1,346,202
public MappingStore match(Tree src, Tree dst, MappingStore mappings) {<NEW_LINE>Map<String, Set<Tree>> srcCandidateMappings = new HashMap<>();<NEW_LINE>for (Tree t : TreeUtils.preOrder(src)) {<NEW_LINE>String id = (<MASK><NEW_LINE>if (id != null) {<NEW_LINE>if (!srcCandidateMappings.containsKey(id))<NEW_LINE>srcCandida...
String) t.getMetadata("id");
308,725
// builds content:// URI from file:// URI<NEW_LINE>public static Uri overrideSystemUri(Uri uri) {<NEW_LINE>Uri overridedUri = null;<NEW_LINE>String scheme = uri.getScheme();<NEW_LINE>if (scheme != null && scheme.equals("file")) {<NEW_LINE>String ssp = uri.getSchemeSpecificPart();<NEW_LINE>String sspPrefix = "//" + getP...
substring(sspPrefix.length());
1,457,108
public void disconnectCardOneConsumer() {<NEW_LINE>if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())<NEW_LINE>SibTr.entry(tc, "disconnectCardOneConsumer");<NEW_LINE>Object[] clonedConsumerPoints = null;<NEW_LINE>synchronized (consumerPoints) {<NEW_LINE>// we clone the list before notifying the exception,...
SibTr.exception(tc, e);
393
private void createTranscationUserTimer() {<NEW_LINE>if (c_logger.isTraceEntryExitEnabled()) {<NEW_LINE>Object[] params = { getAppName(), getSharedId() };<NEW_LINE>c_logger.traceEntry(this, "createTranscationUserTimer", params);<NEW_LINE>}<NEW_LINE>if (getSipApplicationSession() != null) {<NEW_LINE>// moti: basically w...
append("TransactionUser = " + getSharedId());
1,686,900
public static DetailAST createBlockCommentNode(CommonToken token) {<NEW_LINE>final DetailAstImpl blockComment = new DetailAstImpl();<NEW_LINE>blockComment.initialize(TokenTypes.BLOCK_COMMENT_BEGIN, BLOCK_MULTIPLE_COMMENT_BEGIN);<NEW_LINE>blockComment.setColumnNo(token.getCharPositionInLine());<NEW_LINE>blockComment.set...
setText(token.getText());
1,002,726
public static Long insertSystem(HostSystem hostSystem) throws SQLException, GeneralSecurityException {<NEW_LINE>Long userId = null;<NEW_LINE>Connection con = DBUtils.getConn();<NEW_LINE>PreparedStatement stmt = con.prepareStatement("insert into system (display_nm, username, host, port, authorized_keys, status_cd) value...
userId = rs.getLong(1);
1,774,743
private static void updateCommentsData(CodeArea codeArea, Consumer<List<ICodeComment>> updater) {<NEW_LINE>try {<NEW_LINE>JadxProject project = codeArea.getProject();<NEW_LINE>JadxCodeData codeData = project.getCodeData();<NEW_LINE>if (codeData == null) {<NEW_LINE>codeData = new JadxCodeData();<NEW_LINE>}<NEW_LINE>List...
>(codeData.getComments());
1,282,458
private void createBOMLine(int bomId, DefaultMutableTreeNode node) {<NEW_LINE>BOMLineWrapper sourceLine = (BOMLineWrapper) node.getUserObject();<NEW_LINE>MPPProductBOMLine targetLine = new MPPProductBOMLine(Env.getCtx(), 0, null);<NEW_LINE>targetLine.setPP_Product_BOM_ID(bomId);<NEW_LINE>targetLine.setHelp(sourceLine.g...
setValidFrom(sourceLine.getValidFrom());
1,149,267
CachedLayer writeCompressed(Blob compressedLayerBlob) throws IOException {<NEW_LINE>// Creates the layers directory if it doesn't exist.<NEW_LINE>Files.<MASK><NEW_LINE>// Creates the temporary directory.<NEW_LINE>Files.createDirectories(cacheStorageFiles.getTemporaryDirectory());<NEW_LINE>try (TempDirectoryProvider tem...
createDirectories(cacheStorageFiles.getLayersDirectory());
1,842,999
public List<ActivityExecution> findInactiveConcurrentExecutions(PvmActivity activity) {<NEW_LINE>List<ActivityExecution> inactiveConcurrentExecutionsInActivity = new ArrayList<>();<NEW_LINE>List<ActivityExecution> otherConcurrentExecutions = new ArrayList<>();<NEW_LINE>if (isConcurrent()) {<NEW_LINE>List<? extends Acti...
= getParent().getAllChildExecutions();
724,059
public com.squareup.okhttp.Call serverStartupHealthcheckGetCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {<NEW_LINE>Object localVarPostBody = null;<NEW_LINE>// create path and map variables<NEW_LINE>Strin...
= new ArrayList<Pair>();
806,701
public void addTemplateAsYAML(String uid, String yaml) throws ParsingException {<NEW_LINE>try {<NEW_LINE>RuleTemplateDTO dto = yamlMapper.<MASK><NEW_LINE>// add a tag with the add-on ID to be able to identify the widget in the registry<NEW_LINE>dto.tags = new HashSet<@Nullable String>((dto.tags != null) ? dto.tags : ne...
readValue(yaml, RuleTemplateDTO.class);
804,744
public void registerModuleFunctions(final LicenseManager licenseManager) {<NEW_LINE>Functions.put(licenseManager, new MailBeginFunction(this));<NEW_LINE>Functions.put(licenseManager, new MailSetFromFunction(this));<NEW_LINE>Functions.put(licenseManager, new MailSetSubjectFunction(this));<NEW_LINE>Functions.put(licenseM...
licenseManager, new MailResetManualConfigFunction(this));
262,987
ActionResult<List<Wo>> execute(EffectivePerson effectivePerson, Integer page, Integer size, JsonElement jsonElement) throws Exception {<NEW_LINE>try (EntityManagerContainer emc = EntityManagerContainerFactory.instance().create()) {<NEW_LINE>Wi wi = this.<MASK><NEW_LINE>ActionResult<List<Wo>> result = new ActionResult<>...
convertToWrapIn(jsonElement, Wi.class);
1,532,323
public void onContentLoaded(ContentSet contentSet) {<NEW_LINE>if (contentSet.containsKey(Tasks.ACCOUNT_TYPE)) {<NEW_LINE>mListColor = TaskFieldAdapters.LIST_COLOR.get(contentSet);<NEW_LINE>((Callback) getActivity()).onListColorLoaded(new ValueColor(mListColor));<NEW_LINE>updateColor();<NEW_LINE>Activity activity = getA...
TaskFieldAdapters.STATUS.get(contentSet);
1,743,808
private void drawProgressLabel(Graphics2D graphics, XpGlobe globe, int startXp, int goalXp, int x, int y) {<NEW_LINE>if (goalXp <= globe.getCurrentXp()) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>// Convert to int just to limit the decimal cases<NEW_LINE>String progress = (int) (getSkillProgress(startXp, globe.getCurrentXp...
(), goalXp)) + "%";
676,856
private void writeInternal(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {<NEW_LINE>if (!ctx.channel().isActive()) {<NEW_LINE>ReferenceCountUtil.release(msg);<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>if (msg instanceof HttpRequestMessage) {<NEW_LINE>promise.addListener((future) -> {<NEW_LI...
future.cause(), ctx);
477,305
public List<PermissionTicket> find(ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResult) {<NEW_LINE>CriteriaBuilder builder = entityManager.getCriteriaBuilder();<NEW_LINE>CriteriaQuery<PermissionTicketEntity> querybuilder = builder.createQuery(Perm...
(root.get("id"));
1,725,595
public void execute() {<NEW_LINE>final Parameters parameters = getParameters();<NEW_LINE>if (parameters.getPull().get()) {<NEW_LINE>parameters.getBaseImages().get(<MASK><NEW_LINE>}<NEW_LINE>final List<String> tags = parameters.getTags().get();<NEW_LINE>LoggedExec.exec(execOperations, spec -> {<NEW_LINE>spec.executable(...
).forEach(this::pullBaseImage);
1,286,709
// todo to remove sometime later<NEW_LINE>@Deprecated<NEW_LINE>private void writeJarDirectories(@Nonnull Element element) {<NEW_LINE>final List<OrderRootType> rootTypes = sortRootTypes(myRoots.keySet());<NEW_LINE>for (OrderRootType rootType : rootTypes) {<NEW_LINE>VirtualFilePointerContainer container = myRoots.get(roo...
(), String.CASE_INSENSITIVE_ORDER));
1,149,377
public final <K> Map<K, ?> toMap(Supplier<? extends K> keySupplier1, Supplier<? extends K> keySupplier2, Supplier<? extends K> keySupplier3, Supplier<? extends K> keySupplier4, Supplier<? extends K> keySupplier5, Supplier<? extends K> keySupplier6, Supplier<? extends K> keySupplier7, Supplier<? extends K> keySupplier8,...
keySupplier16.get(), v16);
1,782,165
final GetDefaultPatchBaselineResult executeGetDefaultPatchBaseline(GetDefaultPatchBaselineRequest getDefaultPatchBaselineRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(getDefaultPatchBaselineRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();...
HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
959,029
public Object unmarshal(Source source) throws IOException, XmlMappingException {<NEW_LINE>// this.writeXml(((DOMSource)source).getNode().getOwnerDocument());<NEW_LINE>DOMResult result = null;<NEW_LINE>try {<NEW_LINE>Transformer transformer = transformerFactory.newTransformer();<NEW_LINE>result = new DOMResult();<NEW_LI...
evaluateAsString(result.getNode());
944,964
private Instance start(String[] args, Config serviceConfig, Map<String, String> env, Set<ApolloModule> extraModules) throws IOException {<NEW_LINE>final Closer closer = Closer.create();<NEW_LINE>final CountDownLatch shutdownRequested = new CountDownLatch(1);<NEW_LINE>final AtomicBoolean started = new AtomicBoolean(fals...
CountDownLatch stopped = new CountDownLatch(1);
638,809
public static boolean goToMetaSource(org.netbeans.modules.css.model.api.Rule rule) {<NEW_LINE><MASK><NEW_LINE>if (parent instanceof BodyItem) {<NEW_LINE>BodyItem bodyItem = (BodyItem) parent;<NEW_LINE>parent = bodyItem.getParent();<NEW_LINE>if (parent instanceof Body) {<NEW_LINE>Body body = (Body) parent;<NEW_LINE>List...
Element parent = rule.getParent();
672,642
public static double[] invertLowerTriangular(double[] inputMatrix, int dimension) {<NEW_LINE>double[] outputMatrix = new double[inputMatrix.length];<NEW_LINE>@Var<NEW_LINE>double x;<NEW_LINE>for (int row = 0; row < dimension; row++) {<NEW_LINE>for (int col = 0; col <= row; col++) {<NEW_LINE>// Off-diagonal elements are...
(dimension * i) + col];
1,460,560
public void generateMultiCustomerInvoice(ActionRequest request, ActionResponse response) {<NEW_LINE>try {<NEW_LINE>List<Map> stockMoveMap = (List<Map>) request.getContext().get("customerStockMoveToInvoice");<NEW_LINE>List<Long> stockMoveIdList = new ArrayList<>();<NEW_LINE>List<StockMove> stockMoveList = new ArrayList<...
"id")).longValue());
1,387,958
public void reportStatus(boolean verbose, Contexts contexts, LabelExpression labels, Writer out) throws LiquibaseException {<NEW_LINE>changeLogParameters.setContexts(contexts);<NEW_LINE>changeLogParameters.setLabels(labels);<NEW_LINE>try {<NEW_LINE>List<ChangeSet> unrunChangeSets = listUnrunChangeSets(contexts, labels,...
getConnection().getConnectionUserName());
668,674
public T poll() {<NEW_LINE>if (sourceMode == ASYNC) {<NEW_LINE>long dropped = 0;<NEW_LINE>for (; ; ) {<NEW_LINE>T v = s.poll();<NEW_LINE>try {<NEW_LINE>if (v == null || predicate.test(v)) {<NEW_LINE>if (dropped != 0) {<NEW_LINE>request(dropped);<NEW_LINE>}<NEW_LINE>return v;<NEW_LINE>}<NEW_LINE>Operators.onDiscard(v, t...
v, e, currentContext());
386,609
private <C, R> void doDispatch(CommandMessage<? extends C> command, CommandCallback<? super C, R> callback) {<NEW_LINE>Assert.state(!disruptorShutDown, () -> "Disruptor has been shut down. Cannot dispatch or re-dispatch commands");<NEW_LINE>final MessageHandler<? super CommandMessage<?>> commandHandler = commandHandler...
.getCommandName()))));
1,319,973
public static boolean isUndefinedRange(Program program, Address startAddress, Address endAddress) {<NEW_LINE>MemoryBlock block = program.getMemory().getBlock(startAddress);<NEW_LINE>// start and end address must be in the same block of memory.<NEW_LINE>if (block == null || !block.contains(endAddress)) {<NEW_LINE>return...
codeUnit = listing.getDefinedCodeUnitAfter(maxAddress);
1,346,517
public void exportIdentities() {<NEW_LINE>FilePickerPopup filePicker = nuiManager.pushScreen(FilePickerPopup.ASSET_URI, FilePickerPopup.class);<NEW_LINE>filePicker.setTitle(exportPopupTitle);<NEW_LINE>filePicker.setOkHandler(path -> {<NEW_LINE>Runnable action = () -> {<NEW_LINE>Map<PublicIdentityCertificate, ClientIden...
, path.toString()));
1,804,302
public FailureInfo unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>FailureInfo failureInfo = new FailureInfo();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE>String currentParentElement = context.getCurrentParentElement();<NEW_LINE>int targetDepth = originalDepth + 1;<NEW_LINE...
class).unmarshall(context));
328,322
public void refresh() {<NEW_LINE>ExUtil.exec(table, new Runnable() {<NEW_LINE><NEW_LINE>public void run() {<NEW_LINE>}<NEW_LINE>});<NEW_LINE>long now = TimeUtil.getCurrentTime(serverId);<NEW_LINE>date = DateUtil.yyyymmdd(now);<NEW_LINE>stime = now - TIME_RANGE;<NEW_LINE>etime = now;<NEW_LINE>if (isDefaultView) {<NEW_LI...
getSize().y + 1);
1,508,239
final TagResourceResult executeTagResource(TagResourceRequest tagResourceRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(tagResourceRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTi...
awsRequestMetrics.startEvent(Field.RequestMarshallTime);
1,504,118
private String createManifest() throws IOException {<NEW_LINE>Document doc = new Document();<NEW_LINE>Element root = new Element(ITemplateXMLTags.XML_TEMPLATE_ELEMENT_MANIFEST);<NEW_LINE>doc.setRootElement(root);<NEW_LINE>// Type<NEW_LINE>root.setAttribute(ITemplateXMLTags.XML_TEMPLATE_ATTRIBUTE_TYPE, ArchimateModelTem...
setText(TemplateManager.ZIP_ENTRY_THUMBNAILS + "1.png");
779,905
public static QuerySpeechDeviceResponse unmarshall(QuerySpeechDeviceResponse querySpeechDeviceResponse, UnmarshallerContext _ctx) {<NEW_LINE>querySpeechDeviceResponse.setRequestId<MASK><NEW_LINE>querySpeechDeviceResponse.setSuccess(_ctx.booleanValue("QuerySpeechDeviceResponse.Success"));<NEW_LINE>querySpeechDeviceRespo...
(_ctx.stringValue("QuerySpeechDeviceResponse.RequestId"));
491,984
public void marshall(SourceConnectorProperties sourceConnectorProperties, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (sourceConnectorProperties == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(sourceCon...
sourceConnectorProperties.getVeeva(), VEEVA_BINDING);
160,467
// visit //style:section-properties<NEW_LINE>@Override<NEW_LINE>public void visit(StyleSectionPropertiesElement ele) {<NEW_LINE>StyleSectionProperties sectionProperties = currentStyle.getSectionProperties();<NEW_LINE>if (sectionProperties == null) {<NEW_LINE>sectionProperties = new StyleSectionProperties();<NEW_LINE>cu...
Boolean dontBalanceTextColumns = ele.getTextDontBalanceTextColumnsAttribute();
822,429
private static boolean updatePackageStatement(CompilationUnit astCU, String pkgName, ASTRewrite rewriter, ICompilationUnit cu) throws JavaModelException {<NEW_LINE>boolean defaultPackage = pkgName.isEmpty();<NEW_LINE>AST ast = astCU.getAST();<NEW_LINE>if (defaultPackage) {<NEW_LINE>// remove existing package statement<...
+ javadoc.getLength() + 1;
1,282,440
protected void writeToXml(EwsServiceXmlWriter writer) throws Exception {<NEW_LINE>writer.writeStartDocument();<NEW_LINE>writer.writeStartElement(XmlNamespace.Soap, XmlElementNames.SOAPEnvelopeElementName);<NEW_LINE>writer.writeAttributeValue("xmlns", EwsUtilities.getNamespacePrefix(XmlNamespace.Soap), EwsUtilities.getN...
doOnSerializeCustomSoapHeaders(writer.getInternalWriter());
910,695
public void onRun() throws IOException {<NEW_LINE>if (!SignalStore.account().isRegistered() || SignalStore.account().getAci() == null || SignalStore.account().getPni() == null) {<NEW_LINE><MASK><NEW_LINE>return;<NEW_LINE>}<NEW_LINE>SignalProtocolStore aciProtocolStore = ApplicationDependencies.getProtocolStore().aci();...
Log.w(TAG, "Not registered. Skipping.");
1,616,428
private static void addExtensionMetaFromAllFiles(File targetDirectory, List<String> runtimeClasspathElements, Log logger, boolean includeOrigin, List<NamespaceMetaData> namespaceMetaDataList) throws MojoFailureException, MalformedURLException {<NEW_LINE>List<File> jarFiles = new ArrayList<>();<NEW_LINE>listOfJarFiles(t...
.toURI().toURL();
1,735,259
public void start() {<NEW_LINE>metaDataProviderMap.put(RequestMethod.GET, new StandardMetaDataProvider(contextMetaBuilder.build(), RequestMethod.GET));<NEW_LINE>metaDataProviderMap.put(RequestMethod.POST, new StandardMetaDataProvider(contextMetaBuilder.build<MASK><NEW_LINE>metaDataProviderMap.put(RequestMethod.PUT, new...
(), RequestMethod.POST));
1,362,375
static char[][] internSimpleNames(char[][] simpleNames, boolean removeWellKnown, boolean doSort) {<NEW_LINE>if (simpleNames == null)<NEW_LINE>return EmptySimpleNames;<NEW_LINE>int length = simpleNames.length;<NEW_LINE>if (length == 0)<NEW_LINE>return EmptySimpleNames;<NEW_LINE>char[][] keepers = new char[length][];<NEW...
sLength < MaxSimpleNames ? sLength : 0];