idx
int32
46
1.86M
input
stringlengths
321
6.6k
target
stringlengths
9
1.24k
1,660,878
private void updateRecentProjectsMenu() {<NEW_LINE>recentProjectsMenu.removeAll();<NEW_LINE>String recent = SoapUI.getSettings().getString(RECENT_PROJECTS_SETTING, null);<NEW_LINE>StringToStringMap history = recent == null ? new StringToStringMap() : StringToStringMap.fromXml(recent);<NEW_LINE>if (history.size() > 0) {...
setDescription("Switches to the [" + wsName + "] project");
615,415
public static PyString SyntaxError__str__(PyObject self, PyObject[] arg, String[] kwargs) {<NEW_LINE>PyObject msg = self.__getattr__("msg");<NEW_LINE>PyObject str = msg.__str__();<NEW_LINE>if (!(msg instanceof PyString)) {<NEW_LINE>return Py.newString(str.toString());<NEW_LINE>}<NEW_LINE>PyObject filename = self.__find...
str, lineno.asInt());
676,710
public void createIfNotExistsCodeSnippet() {<NEW_LINE>// BEGIN: com.azure.storage.blob.PageBlobClient.createIfNotExists#long<NEW_LINE>PageBlobItem pageBlob = client.createIfNotExists(size);<NEW_LINE>System.out.printf("Created page blob with sequence number %s%n", pageBlob.getBlobSequenceNumber());<NEW_LINE>// END: com....
"Create completed with status %d%n", response.getStatusCode());
1,562,912
public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {<NEW_LINE>if (settingsService.isLdapEnabled()) {<NEW_LINE>auth.ldapAuthentication().contextSource().managerDn(settingsService.getLdapManagerDn()).managerPassword(settingsService.getLdapManagerPassword()).url(settingsService.getLdapUrl()).a...
new CustomLDAPAuthenticatorPostProcessor(securityService, settingsService));
910,591
public RegistryCenterClient connect(final String nameAndNameSpace) {<NEW_LINE>final RegistryCenterClient registryCenterClient = new RegistryCenterClient();<NEW_LINE>registryCenterClient.setNameAndNamespace(nameAndNameSpace);<NEW_LINE>if (nameAndNameSpace == null) {<NEW_LINE>return registryCenterClient;<NEW_LINE>}<NEW_L...
String digest = registryCenterConfiguration.getDigest();
538,327
public final Object invoke(Object proxy, Method method, Object[] args) throws Throwable {<NEW_LINE>String name = method.getName();<NEW_LINE>Class<?>[] params = method.getParameterTypes();<NEW_LINE>if ("equals".equals(name) && params.length == 1 && params[0] == Object.class) {<NEW_LINE>Object o = args[0];<NEW_LINE>if (o...
DebuggingInvoker) ih).target));
1,516,974
public void encodePage(Page page, ScorePartwise scorePartwise) {<NEW_LINE>final ObjectFactory factory = new ObjectFactory();<NEW_LINE>Identification identification = scorePartwise.getIdentification();<NEW_LINE>if (identification == null) {<NEW_LINE>identification = factory.createIdentification();<NEW_LINE>scorePartwise...
(sheetSystems.getSystems()));
1,130,258
public void channelRead(ChannelHandlerContext ctx, Object msg) {<NEW_LINE>Channel channel = ctx.channel();<NEW_LINE>Attribute<Context> contextAttr = channel.attr(AttributeKeys.SERVER_CONTEXT);<NEW_LINE>Attribute<HttpRequestAndChannel> requestAttr = channel.attr(NettyServerSingletons.HTTP_REQUEST);<NEW_LINE>if (!(msg in...
((HttpRequest) msg, channel);
1,580,488
public static DescribeAssetListResponse unmarshall(DescribeAssetListResponse describeAssetListResponse, UnmarshallerContext context) {<NEW_LINE>describeAssetListResponse.setRequestId(context.stringValue("DescribeAssetListResponse.RequestId"));<NEW_LINE>describeAssetListResponse.setPageSize(context.integerValue("Describ...
("DescribeAssetListResponse.AssetList[" + i + "].Os"));
1,021,239
public void flip(final long rangeStart, final long rangeEnd) {<NEW_LINE>rangeSanityCheck(rangeStart, rangeEnd);<NEW_LINE>if (rangeStart >= rangeEnd) {<NEW_LINE>// empty range<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>final int hbStart = (BufferUtil.highbits(rangeStart));<NEW_LINE>final int lbStart = (BufferUtil.lowbits(rang...
.highbits(rangeEnd - 1));
830,484
public void start() {<NEW_LINE>if (log.isInfoEnabled()) {<NEW_LINE>log.info("Starting EsperIO Kafka Input Adapter for runtime URI '{}'", runtimeURI);<NEW_LINE>}<NEW_LINE>// Obtain Kafka consumer properties from provided and excluding esperio<NEW_LINE>Properties consumerProperties = new Properties();<NEW_LINE>for (Strin...
getClasspathImportServiceRuntime().getClassForNameProvider());
749,146
public Function newInstance(int position, ObjList<Function> args, IntList argPositions, CairoConfiguration configuration, SqlExecutionContext sqlExecutionContext) throws SqlException {<NEW_LINE>final char c = args.getQuick(0).getChar(null);<NEW_LINE>switch(c) {<NEW_LINE>case 'd':<NEW_LINE>return new TimestampFloorDDFun...
(args.getQuick(1));
1,177,304
public okhttp3.Call deleteAPIProductCall(String apiProductId, String ifMatch, final ApiCallback _callback) throws ApiException {<NEW_LINE>Object localVarPostBody = null;<NEW_LINE>// create path and map variables<NEW_LINE>String localVarPath = "/api-products/{apiProductId}".replaceAll("\\{" + "apiProductId" + "\\}", loc...
= new ArrayList<Pair>();
657,522
private void onAddStackTrace(StringBuilder sb, CallbackInfo info) {<NEW_LINE>if (Modules.get() != null) {<NEW_LINE>sb.append("\n\n");<NEW_LINE>sb.append("-- Meteor Client --\n");<NEW_LINE>sb.append("Version: ").append(MeteorClient.VERSION).append("\n");<NEW_LINE>if (!MeteorClient.DEV_BUILD.isEmpty()) {<NEW_LINE>sb.appe...
get().getGroup(category);
274,131
public static Map<String, Reader> resolveTemplates(JReleaserLogger logger, String distributionType, String toolName, boolean snapshot) {<NEW_LINE>String distributionTypeName = distributionType.toLowerCase().replace('_', '-');<NEW_LINE>Map<String, Reader> <MASK><NEW_LINE>logger.debug(RB.$("templates.templates.resolve.cl...
templates = new LinkedHashMap<>();
358,448
private static Map<Character.UnicodeBlock, List<String>> mapCompat(String word) {<NEW_LINE>Map<Character.UnicodeBlock, List<String>> map = new HashMap<>();<NEW_LINE>final int length = word.length();<NEW_LINE>for (int offset = 0; offset < length; ) {<NEW_LINE>final int codePoint = word.codePointAt(offset);<NEW_LINE>offs...
Character.toChars(codePoint)));
1,449,673
public Memory queryParameters() {<NEW_LINE>request.getParameterMap();<NEW_LINE>MultiMap<String> parameters = request.getQueryParameters();<NEW_LINE>if (parameters != null) {<NEW_LINE>ArrayMemory result = ArrayMemory.createHashed(parameters.size());<NEW_LINE>for (Map.Entry<String, List<String>> entry : parameters.entryS...
new ArrayMemory().toConstant();
1,618,337
public List<DataFetcherResult<Assertion>> batchLoad(@Nonnull List<String> urns, @Nonnull QueryContext context) throws Exception {<NEW_LINE>final List<Urn> assertionUrns = urns.stream().map(this::getUrn).collect(Collectors.toList());<NEW_LINE>try {<NEW_LINE>final Map<Urn, EntityResponse> entities = _entityClient.batchGe...
gmsResults = new ArrayList<>();
1,064,792
private void processStartDateAlert() {<NEW_LINE>String whereClauseGeneral = "";<NEW_LINE>String whereClause = "";<NEW_LINE>isScheduled = true;<NEW_LINE>ArrayList<Object> params = new ArrayList<Object>();<NEW_LINE>Timestamp currentDate = new Timestamp(TimeUtil.getToday().getTimeInMillis());<NEW_LINE>int daysBeforeStart ...
add(m_model.getC_ProjectTaskCategory_ID());
86,975
public boolean createFullClone(String cloneName, ManagedObjectReference morFolder, ManagedObjectReference morResourcePool, ManagedObjectReference morDs, Storage.ProvisioningType diskProvisioningType) throws Exception {<NEW_LINE>VirtualMachineCloneSpec cloneSpec = new VirtualMachineCloneSpec();<NEW_LINE>VirtualMachineRe...
setDiskProvisioningType(relocSpec, morDs, diskProvisioningType);
1,585,684
protected void buildTimePercentageStats(String name, long value, long time) throws InterruptedException {<NEW_LINE>Entry entry = previousData2D.get(name);<NEW_LINE>if (entry == null) {<NEW_LINE>entry = new Entry();<NEW_LINE>entry.value = value;<NEW_LINE>entry.time = time;<NEW_LINE>previousData2D.put(name, entry);<NEW_L...
double statValue = valueDelta * 100 / timeDelta;
586,296
// find_among_b is for backwards processing. Same comments apply<NEW_LINE>protected int find_among_b(Among[] v, int v_size) {<NEW_LINE>int i = 0;<NEW_LINE>int j = v_size;<NEW_LINE>int c = cursor;<NEW_LINE>int lb = limit_backward;<NEW_LINE>int common_i = 0;<NEW_LINE>int common_j = 0;<NEW_LINE>boolean first_key_inspected...
= common_i < common_j ? common_i : common_j;
1,101,786
private RootBuilderMethodSpec generateActionMethod(RootBuilderSpec rootBuilderSpec, String keyClass, ActionSchema action, String resourceName, List<String> pathKeys, Map<String, String> pathKeyTypes) {<NEW_LINE>String actionName = action.getName();<NEW_LINE>String returnType = action.getReturns();<NEW_LINE>String actio...
getDoc(), actionBuilderClass, rootBuilderSpec);
1,572,490
public Notebook deleteNotebook(NotebookSpec spec, String notebookId) throws SubmarineRuntimeException {<NEW_LINE>Notebook notebook = null;<NEW_LINE>final String name = spec.getMeta().getName();<NEW_LINE>String namespace = getServerNamespace();<NEW_LINE>NotebookCR notebookCR = NotebookSpecParser.parseNotebook(spec, null...
Status.STATUS_NOT_FOUND.getValue());
255,121
/*<NEW_LINE>* We support only TEXT, CHART, DROPDOWN, TABLE, INPUT widgets as part of the suggestion<NEW_LINE>* We need string and number type fields to construct the query which will bind data to the above widgets<NEW_LINE>*/<NEW_LINE>private static DataFields collectFieldsFromData(Iterator<Map.Entry<String, JsonNode>>...
fields = new ArrayList<>();
1,212,124
protected AdbMySqlTable convertTable(Map<String, Object> recordMap) {<NEW_LINE>AdbMySqlTable table = null;<NEW_LINE>if (recordMap.get("MV_NAME") != null) {<NEW_LINE>table = new AdbMySqlMaterialized();<NEW_LINE>((AdbMySqlMaterialized) table).setFirstRefreshTime(safeToDate(recordMap.get("FIRST_REFRESH_TIME")));<NEW_LINE>...
table.setTableType(AdbMySqlTableType.Materialized);
1,362,575
public void run() {<NEW_LINE>checkArgument(!(runInEmpty && (forEachTestTld || forEachRealTld)), "runInEmpty and forEach*Tld are mutually exclusive");<NEW_LINE>checkArgument(runInEmpty || forEachTestTld || forEachRealTld, "At least one of runInEmpty, forEachTestTld, forEachRealTld must be given");<NEW_LINE>checkArgument...
setPayload(outputPayload.toString());
717,315
private void mimeBuildSignedMessage(@NonNull BodyPart signedBodyPart, Intent result) throws MessagingException {<NEW_LINE>if (!cryptoStatus.isSigningEnabled()) {<NEW_LINE>throw new IllegalStateException("call to mimeBuildSignedMessage while signing isn't enabled!");<NEW_LINE>}<NEW_LINE>byte[] signedData = result.getByt...
String.format("; micalg=\"%s\"", micAlgParameter);
660,909
public static void main(String[] args) {<NEW_LINE>final Properties options = StringUtils.argsToProperties(args, argOptionDefs());<NEW_LINE>if (args.length < 1 || options.containsKey("help")) {<NEW_LINE>log.info(usage());<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>final Pattern posPattern = options.containsKey("searchPos") ? ...
ner, detailedAnnotations, expandElisions, expandConmigo);
95,570
public void download(final Path file, final Local local, final BandwidthThrottle throttle, final StreamListener listener, final TransferStatus status, final ConnectionCallback callback) throws BackgroundException {<NEW_LINE>try {<NEW_LINE>final IRODSFileSystemAO fs = session.getClient();<NEW_LINE>final IRODSFile f = fs...
getDataTransferOperations(fs.getIRODSAccount());
695,584
protected void runCreateSql(Connection connection) throws IOException {<NEW_LINE>if (createAllContent == null) {<NEW_LINE>createAllContent = readFile(getCreateFileName());<NEW_LINE>}<NEW_LINE>runScript(connection, false, createAllContent, getCreateFileName());<NEW_LINE>if (extraDdl && jaxbPresent) {<NEW_LINE>if (curren...
connection, false, extraPartitioning, "builtin-partitioning-ddl");
294,919
final DescribeFileSystemPolicyResult executeDescribeFileSystemPolicy(DescribeFileSystemPolicyRequest describeFileSystemPolicyRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(describeFileSystemPolicyRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetri...
addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
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<MASK><NEW_LINE>lower.set(vertices[0]....
.mul(vertices[0]);
852,269
protected PageList onNewRootPageList() {<NEW_LINE>String defaultCurrencyCode = GnuCashApplication.getDefaultCurrencyCode();<NEW_LINE>BranchPage defaultCurrencyPage = new BranchPage(this, mContext.getString(R.string.wizard_title_default_currency));<NEW_LINE>String[] currencies = new String[] { defaultCurrencyCode, <MASK...
"CHF", "EUR", "GBP", "USD" };
1,049,092
protected WebView createViewInstance(ThemedReactContext reactContext) {<NEW_LINE>ReactWebView webView = createReactWebViewInstance(reactContext);<NEW_LINE>webView.setWebChromeClient(new WebChromeClient() {<NEW_LINE><NEW_LINE>@Override<NEW_LINE>public boolean onConsoleMessage(ConsoleMessage message) {<NEW_LINE>if (React...
invoke(origin, true, false);
864,598
private void drawInterpolate(Canvas canvas) {<NEW_LINE>float weight = 1f - System.currentTimeMillis() % 500 / 500f;<NEW_LINE>long pair = (System.currentTimeMillis() / 500) % 4;<NEW_LINE>try (Path p1 = new Path().moveTo(0, 14).lineTo(20, 14).lineTo(20, 0).lineTo(40, 20).lineTo(20, 40).lineTo(20, 26).lineTo(0, 26).lineTo...
0, 14).closePath();
103,914
protected void doAction() {<NEW_LINE>KeyStoreHistory history = kseFrame.getActiveKeyStoreHistory();<NEW_LINE>KeyStoreState currentState = history.getCurrentState();<NEW_LINE>String alias = kseFrame.getSelectedEntryAlias();<NEW_LINE>Password password = getEntryPassword(alias, currentState);<NEW_LINE>if (password == null...
keyPairType = KeyPairUtil.getKeyPairType(privateKey);
701,843
final UpdateRegionSettingsResult executeUpdateRegionSettings(UpdateRegionSettingsRequest updateRegionSettingsRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(updateRegionSettingsRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRe...
awsRequestMetrics.startEvent(Field.RequestMarshallTime);
301,215
private void createLogger() {<NEW_LINE>// Create logger<NEW_LINE>synchronized (logCreatorLock) {<NEW_LINE>final String loggerName = System.currentTimeMillis() + "." + this.executionId + "." + this.jobId;<NEW_LINE>this.<MASK><NEW_LINE>try {<NEW_LINE>attachFileAppender(createFileAppender());<NEW_LINE>} catch (final IOExc...
logger = Logger.getLogger(loggerName);
3,447
private void parseDirectoryFiles(WsResource directory, ServerConfiguration configuration) throws ConfigParserException, ConfigValidationException {<NEW_LINE>if (directory != null) {<NEW_LINE>File[] defaultFiles = getChildXMLFiles(directory);<NEW_LINE>if (defaultFiles == null)<NEW_LINE>return;<NEW_LINE>Arrays.sort(defau...
directory.getName() + ". Ignoring. ");
813,459
public final void sizeFnExpr() throws RecognitionException, TokenStreamException {<NEW_LINE>returnAST = null;<NEW_LINE>ASTPair currentAST = new ASTPair();<NEW_LINE>AST sizeFnExpr_AST = null;<NEW_LINE>AST tmp87_AST = null;<NEW_LINE>tmp87_AST = astFactory.create(LT(1));<NEW_LINE><MASK><NEW_LINE>match(AT_SIZE);<NEW_LINE>{...
astFactory.addASTChild(currentAST, tmp87_AST);
876,034
protected Control createContents(Composite parent) {<NEW_LINE>Composite area = new Composite(parent, SWT.NONE);<NEW_LINE>GridLayoutFactory.fillDefaults().numColumns(2).applyTo(area);<NEW_LINE>Label label = new Label(area, SWT.NONE);<NEW_LINE>label.setText(Messages.LabelLanguage);<NEW_LINE>languageCombo = new ComboViewe...
setContentProvider(ArrayContentProvider.getInstance());
880,139
private static Expression rewriteArrayCreate(NewArray newArrayExpression) {<NEW_LINE>checkArgument(newArrayExpression.getArrayLiteral() == null);<NEW_LINE>if (newArrayExpression.getTypeDescriptor().isUntypedArray()) {<NEW_LINE>if (newArrayExpression.getDimensionExpressions().size() == 1) {<NEW_LINE>Expression dimension...
getOnlyElement(newArrayExpression.getDimensionExpressions());
1,530,099
Object run(VirtualFrame frame, PythonObject moduleSpec, @SuppressWarnings("unused") Object filename, @Cached ReadAttributeFromDynamicObjectNode readNameNode, @Cached ReadAttributeFromDynamicObjectNode readOriginNode, @Cached CastToJavaStringNode castToJavaStringNode) {<NEW_LINE>String name = castToJavaStringNode.execut...
).raiseOSError(frame, e);
1,277,204
final ListTagsForResourceResult executeListTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listTagsForResourceRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequest...
endClientExecution(awsRequestMetrics, request, response);
906,426
final CreateLedgerResult executeCreateLedger(CreateLedgerRequest createLedgerRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(createLedgerRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExec...
(super.beforeMarshalling(createLedgerRequest));
1,765,063
public Response add(T entity) throws StorageException {<NEW_LINE>Context.getPermissionsManager().checkReadonly(getUserId());<NEW_LINE>if (baseClass.equals(Device.class)) {<NEW_LINE>Context.getPermissionsManager().checkDeviceReadonly(getUserId());<NEW_LINE>Context.getPermissionsManager().checkDeviceLimit(getUserId());<N...
) entity).getGroupId());
1,750,851
public void readConfig(final RunConfig config) {<NEW_LINE>Project prj = config.getProject();<NEW_LINE>if (prj != null) {<NEW_LINE>project = prj.getLookup(<MASK><NEW_LINE>}<NEW_LINE>historyMappings.clear();<NEW_LINE>btnNext.setVisible(false);<NEW_LINE>btnPrev.setVisible(false);<NEW_LINE>txtGoals.setText(createSpaceSepar...
).lookup(NbMavenProjectImpl.class);
1,709,864
private Long retrieveTemplateGuestOsIdFromGuestOsInfo(long templateId, String guestOsType, String guestOsDescription, String minimumHardwareVersion) {<NEW_LINE>VMTemplateVO template = templateDao.findById(templateId);<NEW_LINE>Hypervisor.HypervisorType hypervisor = template.getHypervisorType();<NEW_LINE>if (hypervisor ...
guestOsMappings.size() - 1);
739,842
public static <HK, HV> Map<HK, HV> deserialize(@Nullable Map<byte[], byte[]> rawValues, @Nullable RedisSerializer<HK> hashKeySerializer, @Nullable RedisSerializer<HV> hashValueSerializer) {<NEW_LINE>if (rawValues == null) {<NEW_LINE>return Collections.emptyMap();<NEW_LINE>}<NEW_LINE>Map<HK, HV> map = new LinkedHashMap<...
>(rawValues.size());
826,454
public void createWithByForField(AccessLevel level, EclipseNode fieldNode, EclipseNode sourceNode, boolean whineIfExists, List<Annotation> onMethod) {<NEW_LINE>ASTNode source = sourceNode.get();<NEW_LINE>if (fieldNode.getKind() != Kind.FIELD) {<NEW_LINE>sourceNode.addError("@WithBy is only supported on a class or a fie...
addWarning("Not generating " + withName + " for this field: With methods cannot be generated for fields starting with $.");
645,388
protected void parseEdge(BackendColumn col, HugeVertex vertex, HugeGraph graph) {<NEW_LINE>// owner-vertex + dir + edge-label + sort-values + other-vertex<NEW_LINE>BytesBuffer buffer = BytesBuffer.wrap(col.name);<NEW_LINE>if (this.keyWithIdPrefix) {<NEW_LINE>// Consume owner-vertex id<NEW_LINE>buffer.readId();<NEW_LINE...
edgeLabel = graph.edgeLabelOrNone(labelId);
462,739
public int fromStream(int offset, byte[] stream) {<NEW_LINE>int chunkLength = OShortSerializer.<MASK><NEW_LINE>offset += OShortSerializer.SHORT_SIZE;<NEW_LINE>for (int c = 0; c < chunkLength; c++) {<NEW_LINE>int i = OByteSerializer.INSTANCE.deserializeNative(stream, offset);<NEW_LINE>offset += OByteSerializer.BYTE_SIZE...
INSTANCE.deserializeNative(stream, offset);
731,243
private String uploadImage(MediaFile mediaFile) {<NEW_LINE>AppLog.i(T.POSTS, <MASK><NEW_LINE>if (mediaFile.getFilePath() == null) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>Uri imageUri = Uri.parse(mediaFile.getFilePath());<NEW_LINE>File imageFile = null;<NEW_LINE>if (imageUri.toString().contains("content:")) {<NEW_LI...
"PostUploadHandler > UploadImage: " + mediaFile.getFilePath());
992,741
final DescribeAccountLimitsResult executeDescribeAccountLimits(DescribeAccountLimitsRequest describeAccountLimitsRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(describeAccountLimitsRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>...
endClientExecution(awsRequestMetrics, request, response);
362,757
private boolean tryPsk(byte[] guessedPsk, Record encryptedRecord, State state) throws CryptoException, NoSuchAlgorithmException {<NEW_LINE>state.getConfig().setDefaultPSKKey(guessedPsk);<NEW_LINE>computeMasterSecret(state.getTlsContext(), state.getWorkflowTrace());<NEW_LINE>byte[] controlValue = computeControlValue(sta...
+ ArrayConverter.bytesToHexString(receivedVrfyData));
651,791
private void consolidateEntry(final int entryIndex) {<NEW_LINE>int previousVersionIndex = getPreviousVersionIndex(entryIndex);<NEW_LINE>if (previousVersionIndex == 0)<NEW_LINE>return;<NEW_LINE>if (getPreviousVersionIndex(previousVersionIndex) != 0) {<NEW_LINE>throw new IllegalStateException("Encountered Previous Versio...
numberOfSlotsInEntry = Integer.bitCount(packedSlotsIndicators);
1,847,997
public static void fitBinaryImage(GrayF32 input) {<NEW_LINE>GrayU8 binary = new GrayU8(<MASK><NEW_LINE>BufferedImage polygon = new BufferedImage(input.width, input.height, BufferedImage.TYPE_INT_RGB);<NEW_LINE>// the mean pixel value is often a reasonable threshold when creating a binary image<NEW_LINE>double mean = Im...
input.width, input.height);
1,761,293
public boolean apply(Game game, Ability source) {<NEW_LINE>Player player = game.getPlayer(source.getControllerId());<NEW_LINE>Spell spell = (Spell) this.getValue("spellCast");<NEW_LINE>if (player == null || spell == null) {<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE>List<Predicate<Permanent>> predicates = spell.getSpel...
collect(Collectors.toList());
891,776
private Entry lastEntry(Transaction transaction) throws ObjectManagerException {<NEW_LINE>if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())<NEW_LINE>trace.entry(this, cclass, "lastEntry", new Object[] { transaction });<NEW_LINE>// Find the first entry in the tree, commited or not.<NEW_LINE>Entry entry = null...
Entry) maximum(getRoot());
713,214
public void onUpdateKeyspace(final String ksName) {<NEW_LINE>logger.trace("{}", ksName);<NEW_LINE>MetaData metadata = this.clusterService<MASK><NEW_LINE>for (ObjectCursor<IndexMetaData> imdCursor : metadata.indices().values()) {<NEW_LINE>if (ksName.equals(imdCursor.value.keyspace())) {<NEW_LINE>KeyspaceMetadata ksm = S...
.state().metaData();
208,840
public void dataTypeRemoved(DataTypeManager dtm, DataTypePath path) {<NEW_LINE>DataTypeManager originalDTM = getOriginalDataTypeManager();<NEW_LINE>if (dtm != originalDTM) {<NEW_LINE>// Different DTM than the one for this data type.<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>DataType dataType = viewDTM.getDataType(path.getCa...
dt = viewDTM.getDataType(dtPath);
816,373
public boolean addBizTag(String instanceId, String ip, Map<String, Object> data) throws InterruptedException {<NEW_LINE>if (data == null) {<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE>while (!inited) {<NEW_LINE>log.error("wait es info oss sync inited");<NEW_LINE>Thread.sleep(3000);<NEW_LINE>}<NEW_LINE>lock.readLock().lo...
esInfo = temp.get(instanceId);
468,728
public void dump() {<NEW_LINE>// for debugging<NEW_LINE>if (LOGGER.isLoggable(Level.FINE)) {<NEW_LINE>StringBuilder m = new StringBuilder(100);<NEW_LINE>for (int i = 0; i < level; i++) {<NEW_LINE>m.append(' ');<NEW_LINE>}<NEW_LINE>m.append(((kind != CLASSSCOPE) ? scope_name : "class " + scope_name) + ": ");<NEW_LINE>fo...
String name = entry.getKey();
58,289
public void bind(@NonNull ArgumentConversionContext<Object> context, @NonNull ClientRequestUriContext uriContext, @NonNull Object value, @NonNull MutableHttpRequest<?> request) {<NEW_LINE>String key = context.getAnnotationMetadata().stringValue(QueryParam.class).filter(StringUtils::isNotEmpty).orElse(context.<MASK><NEW...
getArgument().getName());
931,908
private void handleResultEvent(TaskEvent taskEvent, TaskInstance taskInstance) {<NEW_LINE><MASK><NEW_LINE>try {<NEW_LINE>if (taskInstance != null) {<NEW_LINE>dataQualityResultOperator.operateDqExecuteResult(taskEvent, taskInstance);<NEW_LINE>taskInstance.setStartTime(taskEvent.getStartTime());<NEW_LINE>taskInstance.set...
Channel channel = taskEvent.getChannel();
69,650
protected void initCoordinatorLayout() {<NEW_LINE>mTopRecyclerView = new QMUIContinuousNestedTopRecyclerView(getContext());<NEW_LINE>mTopRecyclerView.setBackgroundColor(Color.LTGRAY);<NEW_LINE>int matchParent = ViewGroup.LayoutParams.MATCH_PARENT;<NEW_LINE>CoordinatorLayout.LayoutParams webViewLp = new CoordinatorLayou...
CoordinatorLayout.LayoutParams(matchParent, matchParent);
266,518
private VolumeVO createVolume(VirtualDisk disk, VirtualMachineMO vmToImport, long domainId, long zoneId, long accountId, long instanceId, Long poolId, long templateId, Backup backup, boolean isImport) throws Exception {<NEW_LINE>VMInstanceVO vm = _vmDao.findByIdIncludingRemoved(backup.getVmId());<NEW_LINE>if (vm == nul...
Type type = Volume.Type.DATADISK;
1,507,622
private DependencyNode readDependencyTree(org.eclipse.aether.RepositorySystem repositorySystem, RepositorySystemSession repositorySession, MavenProject mavenProject, String scope) {<NEW_LINE>DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(repositorySession);<NEW_LINE>ConflictResolver transfo...
, Boolean.toString(true));
374,550
public void andNot(final ImmutableRoaringBitmap x2) {<NEW_LINE>int pos1 = 0<MASK><NEW_LINE>final int length1 = highLowContainer.size(), length2 = x2.highLowContainer.size();<NEW_LINE>while (pos1 < length1 && pos2 < length2) {<NEW_LINE>final char s1 = highLowContainer.getKeyAtIndex(pos1);<NEW_LINE>final char s2 = x2.hig...
, pos2 = 0, intersectionSize = 0;
346,253
final DeleteConfigurationSetResult executeDeleteConfigurationSet(DeleteConfigurationSetRequest deleteConfigurationSetRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(deleteConfigurationSetRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_...
endClientExecution(awsRequestMetrics, request, response);
664,242
public void onClick(DialogInterface dialog, int which) {<NEW_LINE>// reset<NEW_LINE>mTotalLoopClosures = 0;<NEW_LINE>int index = STATUS_TEXTS_POSE_INDEX;<NEW_LINE>mMapNodes = 0;<NEW_LINE>mStatusTexts[index++] = getString(R.string.nodes) + 0;<NEW_LINE>mStatusTexts[index++] = getString(R.string.words) + 0;<NEW_LINE>mStat...
R.string.hypothesis) + 0;
619,252
void shutdown() throws InterruptedException {<NEW_LINE>List<NGSession> allSessions;<NEW_LINE>synchronized (lock) {<NEW_LINE>done = true;<NEW_LINE>allSessions = Stream.concat(workingPool.stream(), idlePool.stream()).collect(Collectors.toList());<NEW_LINE>idlePool.clear();<NEW_LINE>workingPool.clear();<NEW_LINE>}<NEW_LIN...
"NGSession has not completed in " + NGConstants.SESSION_TERMINATION_TIMEOUT_MILLIS + " ms");
735,291
public static void update() {<NEW_LINE>final String jsonSerialiserClass = System.getProperty(JSON_SERIALISER_CLASS_KEY, DEFAULT_SERIALISER_CLASS_NAME);<NEW_LINE>final JSONSerialiser newInstance;<NEW_LINE>try {<NEW_LINE>newInstance = Class.forName(jsonSerialiserClass).asSubclass(JSONSerialiser.class).newInstance();<NEW_...
(moduleFactories.split(","));
1,153,136
public com.amazonaws.services.iot1clickdevices.model.PreconditionFailedException unmarshallFromContext(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>com.amazonaws.services.iot1clickdevices.model.PreconditionFailedException preconditionFailedException = new com.amazonaws.services.iot1clickdevices.model.Pr...
int originalDepth = context.getCurrentDepth();
1,726,338
private Mono<Response<Void>> patchWithResponseAsync(String applicationObjectId, String tenantId, ApplicationUpdateParameters parameters, Context context) {<NEW_LINE>if (this.client.getEndpoint() == null) {<NEW_LINE>return Mono.error(new IllegalArgumentException("Parameter this.client.getEndpoint() is required and canno...
tenantId, parameters, accept, context);
1,123,186
private boolean checkResetPassword(final Authenticator auth, final HttpServletRequest request, final HttpServletResponse response, final String path) throws FrameworkException, IOException {<NEW_LINE>logger.debug("Checking reset password ...");<NEW_LINE>final String key = request.getParameter(CONFIRMATION_KEY_KEY);<NEW...
key(User.class, "confirmationKey");
323,437
public boolean hasNextAvailable(int timeout, TimeUnit timeUnit) {<NEW_LINE>long deadline = System.currentTimeMillis() + timeUnit.toMillis(timeout);<NEW_LINE>try {<NEW_LINE>while (peekNullable() == null && System.currentTimeMillis() < deadline) {<NEW_LINE>lock.lock();<NEW_LINE>try {<NEW_LINE>long waitTime = deadline - S...
logger.warn("Event consumer thread was interrupted. Returning thread to event processor.", e);
328,748
public static ObjectMapper config() {<NEW_LINE>final ObjectMapper m = new ObjectMapper(new YAMLFactory());<NEW_LINE>m.addMixIn(ClusterDiscoveryModule.class, TypeNameMixin.class);<NEW_LINE>m.addMixIn(RpcProtocolModule.class, TypeNameMixin.class);<NEW_LINE>m.addMixIn(ConsumerModule.Builder.class, TypeNameMixin.class);<NE...
Builder.class, TypeNameMixin.class);
773,772
void downloadFileList(@Nullable final OnDownloadFileListListener listener) throws UserNotRegisteredException {<NEW_LINE>checkRegistered();<NEW_LINE>Map<String, String> params = new HashMap<>();<NEW_LINE>params.put("deviceid", getDeviceId());<NEW_LINE>params.put("accessToken", getAccessToken());<NEW_LINE>params.put("all...
= new OperationLog("downloadFileList", DEBUG);
1,684,670
void positionScreenAttributes(View view, RectF start, RectF end, float x, float y, String[] attribute, float[] value) {<NEW_LINE>float startCenterX = start.centerX();<NEW_LINE>float startCenterY = start.centerY();<NEW_LINE>float endCenterX = end.centerX();<NEW_LINE>float endCenterY = end.centerY();<NEW_LINE>float pathV...
value[1] = x / width;
1,500,622
public UserKeyPairContainer requestSystemRescueKeyPair(String xSdsDateFormat, String version, String xSdsAuthToken) throws ApiException {<NEW_LINE>Object localVarPostBody = null;<NEW_LINE>// create path and map variables<NEW_LINE>String localVarPath = "/v4/settings/keypair";<NEW_LINE>// query params<NEW_LINE>List<Pair>...
HashMap<String, Object>();
1,317,854
void deleteStreams(Transaction t, final Set<Long> streamIds) {<NEW_LINE>if (streamIds.isEmpty()) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>Set<HotspottyDataStreamMetadataTable.HotspottyDataStreamMetadataRow> smRows = new HashSet<>();<NEW_LINE>Multimap<HotspottyDataStreamHashAidxTable.HotspottyDataStreamHashAidxRow, Hotspo...
getNumberOfBlocksFromMetadata(e.getValue());
1,544,965
public Builder mergeFrom(emu.grasscutter.net.proto.CalcWeaponUpgradeReturnItemsReqOuterClass.CalcWeaponUpgradeReturnItemsReq other) {<NEW_LINE>if (other == emu.grasscutter.net.proto.CalcWeaponUpgradeReturnItemsReqOuterClass.CalcWeaponUpgradeReturnItemsReq.getDefaultInstance())<NEW_LINE>return this;<NEW_LINE>if (other.g...
foodWeaponGuidList_.addAll(other.foodWeaponGuidList_);
1,803,206
public void updateClob(int i, Reader x) throws SQLException {<NEW_LINE>try {<NEW_LINE>rsetImpl.updateClob(i, x);<NEW_LINE>} catch (SQLException sqlX) {<NEW_LINE>FFDCFilter.processException(sqlX, getClass().getName() + ".updateClob", "3799", this);<NEW_LINE>throw <MASK><NEW_LINE>} catch (NullPointerException nullX) {<NE...
WSJdbcUtil.mapException(this, sqlX);
270,505
public static void main1(String[] args) throws IOException {<NEW_LINE>Cmd cmd = MainUtils.parseArguments(args, ALL_FLAGS);<NEW_LINE>if (cmd.args.length < 3) {<NEW_LINE>System.out.println("A utility to tweak MPEG TS timestamps.");<NEW_LINE>MainUtils.printHelp(ALL_FLAGS, Arrays.asList("command", "arg", "in name", "?out f...
"\n" + "\t" + COMMAND_ROUND + "\tRound timestamps of selected stream to multiples of arg.");
1,512,967
//<NEW_LINE>@Override<NEW_LINE>@Trivial<NEW_LINE>public boolean holds(String holderName, String heldName) {<NEW_LINE>String methodName = "holds";<NEW_LINE>String i_holderName = internHolder(holderName, Util_InternMap.DO_NOT_FORCE);<NEW_LINE>if (i_holderName == null) {<NEW_LINE>if (logger.isLoggable(Level.FINER)) {<NEW_...
(), holderName, heldName });
1,017,082
public static void main(final String[] args) throws Exception {<NEW_LINE>final Options options = new Options();<NEW_LINE>options.addRequiredOption("host", "host", true, "Host to connect to");<NEW_LINE>options.addRequiredOption("port", "port", true, "Port to connect to");<NEW_LINE>options.addRequiredOption("command", "c...
println(e.getMessage());
353,603
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {<NEW_LINE>ServletOutputStream sos = response.getOutputStream();<NEW_LINE>ServletContext sc = request.getServletContext();<NEW_LINE>String servletName = "3";<NEW_LINE>// SCI<NEW_LINE>String sciRanMsg = (S...
(sc.getAttribute("listenerOrder"));
1,428,224
public static Map<Integer, SubSelectFactoryResult> startSubselects(Map<Integer, SubSelectFactory> subselects, ExprEvaluatorContext exprEvaluatorContext, AgentInstanceContext agentInstanceContextOpt, List<AgentInstanceMgmtCallback> stopCallbacks, boolean isRecoveringResilient) {<NEW_LINE>if (subselects == null || subsel...
SubselectAggregationPreprocessorBase aggregationPreprocessor = realization.getSubselectAggregationPreprocessor();
779,272
private RtpParameters.Encoding mapToEncoding(Map<String, Object> parameters) {<NEW_LINE>RtpParameters.Encoding encoding = new RtpParameters.Encoding((String) parameters.get("rid"), true, 1.0);<NEW_LINE>if (parameters.get("active") != null) {<NEW_LINE>encoding.active = (Boolean) parameters.get("active");<NEW_LINE>}<NEW_...
Integer) parameters.get("maxBitrate");
268,941
private RelRoot replaceIsTrue(final RelDataTypeFactory typeFactory, RelRoot root) {<NEW_LINE>final RexShuttle callShuttle = new RexShuttle() {<NEW_LINE><NEW_LINE><MASK><NEW_LINE><NEW_LINE>public RexNode visitCall(RexCall call) {<NEW_LINE>call = (RexCall) super.visitCall(call);<NEW_LINE>if (call.getKind() == SqlKind.IS_...
RexBuilder builder = new RexBuilder(typeFactory);
506,395
private RelNode buildSingleTableInsert(LogicalInsert logicalInsert, ExecutionContext ec) {<NEW_LINE><MASK><NEW_LINE>// process sequence<NEW_LINE>List<Integer> paramIndex = PlannerUtils.getDynamicParamIndex(sqlTemplate);<NEW_LINE>int[] autoIncResult = new int[1];<NEW_LINE>logicalInsert = processAutoInc(logicalInsert, pa...
replaceTableNameWithQuestionMark(logicalInsert.getSchemaName());
308,737
public void loadOcs(String dataSigner, String defaultPassword, Screens screens) throws NFException, IOException {<NEW_LINE>// Unless we have more than one HSM in our server, the first module is going to be usable.<NEW_LINE>module = securityWorld.getModule(1);<NEW_LINE>CardSet[] cardSets = securityWorld.getCardSets(null...
System.out.println("OCS found");
825,210
protected XContentBuilder internalXContent(XContentBuilder builder, Params params) throws IOException {<NEW_LINE>builder.startObject();<NEW_LINE>builder.field(SearchSourceBuilder.FROM_FIELD.getPreferredName(), from);<NEW_LINE>builder.field(SearchSourceBuilder.SIZE_FIELD.getPreferredName(), size);<NEW_LINE>builder.field...
HIGHLIGHT_FIELD.getPreferredName(), highlightBuilder);
1,782,124
public static ListNotaryOrdersResponse unmarshall(ListNotaryOrdersResponse listNotaryOrdersResponse, UnmarshallerContext _ctx) {<NEW_LINE>listNotaryOrdersResponse.setRequestId(_ctx.stringValue("ListNotaryOrdersResponse.RequestId"));<NEW_LINE>listNotaryOrdersResponse.setTotalItemNum(_ctx.integerValue("ListNotaryOrdersRe...
("ListNotaryOrdersResponse.Data[" + i + "].AliyunOrderId"));
608,458
public Object calculate(Context ctx) {<NEW_LINE>if (param == null) {<NEW_LINE>MessageManager mm = EngineMessage.get();<NEW_LINE>throw new RQException("ftp_cd" + mm.getMessage("function.missingParam"));<NEW_LINE>}<NEW_LINE>int size = param.getSubSize();<NEW_LINE>// if (size != 2) {<NEW_LINE>// MessageManager mm = Engine...
"ftp_cd : " + e.getMessage());
386,692
static void transform(Collection<Transformation> edits, Path path, Supplier<String> source, Consumer<String> outConsumer) {<NEW_LINE>final String src = source.get();<NEW_LINE>final Document document;<NEW_LINE>try {<NEW_LINE>final DOMResult domResult = new DOMResult();<NEW_LINE>TransformerFactory.newInstance().newTransf...
("Could not write DOM from [%s]", path), e);
933,907
private void writeDoc(String file) throws IOException {<NEW_LINE>DumperOptions options = new DumperOptions();<NEW_LINE>options.setDefaultFlowStyle(FlowStyle.BLOCK);<NEW_LINE><MASK><NEW_LINE>Yaml yaml = new Yaml(options);<NEW_LINE>Writer writer;<NEW_LINE>if (Strings.isNullOrEmpty(file)) {<NEW_LINE>writer = new OutputStr...
options.setDefaultScalarStyle(ScalarStyle.LITERAL);
863,095
public void populateShippingInfo(PaymentResponseDTO responseDTO, Order order) {<NEW_LINE>FulfillmentGroup shippableFulfillmentGroup = fulfillmentGroupService.getFirstShippableFulfillmentGroup(order);<NEW_LINE>if (responseDTO.getShipTo() != null && responseDTO.getShipTo().addressPopulated() && shippableFulfillmentGroup ...
> shipToDTO = responseDTO.getShipTo();