idx
int32
46
1.86M
input
stringlengths
321
6.6k
target
stringlengths
9
1.24k
1,370,697
// Parse the encoded extension<NEW_LINE>private void parseExtension(Extension ext) throws CRLException {<NEW_LINE>try {<NEW_LINE>Class<?> extClass = OIDMap.getClass(ext.getExtensionId());<NEW_LINE>if (extClass == null) {<NEW_LINE>// Unsupported extension<NEW_LINE>if (ext.isCritical())<NEW_LINE>unsupportedCritExt = true...
CRLException(e.toString());
741,588
public void sendJoinedRoomMessage(String room, String newStreamId, Map<String, String> streamIdNameMap, HashMap<String, String> streamMetaDataMap) {<NEW_LINE>JSONObject jsonResponse = new JSONObject();<NEW_LINE>JSONArray jsonStreamIdArray = new JSONArray();<NEW_LINE>JSONArray jsonStreamListArray = new JSONArray();<NEW_...
put(WebSocketConstants.ATTR_ROOM_NAME, room);
115,303
protected Object createVariable(CaseInstance caseInstance, int variableType, HttpServletRequest request, HttpServletResponse response) {<NEW_LINE>Object result = null;<NEW_LINE>if (request instanceof MultipartHttpServletRequest) {<NEW_LINE>result = setBinaryVariable((MultipartHttpServletRequest) request, caseInstance, ...
variablesToSet = new HashMap<>();
1,217,893
final GetPolicyResult executeGetPolicy(GetPolicyRequest getPolicyRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(getPolicyRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTime);<NEW_L...
endClientExecution(awsRequestMetrics, request, response);
299,843
public static ExplodedPattern explodePattern(String pattern) throws IllegalArgumentException {<NEW_LINE>List<String> parts <MASK><NEW_LINE>for (int i = 0; i < pattern.length(); i++) {<NEW_LINE>char currentChar = pattern.charAt(i);<NEW_LINE>if (currentChar == '\\' && i + 1 == pattern.length()) {<NEW_LINE>throw new Illeg...
= new ArrayList<String>();
712,100
private void handleSplitFile(File file, long start, long end) throws Exception {<NEW_LINE>long count = end - start + 1;<NEW_LINE>// NOTE: keep it small for better speed<NEW_LINE>int readPice = 1024;<NEW_LINE>byte[] byteBuf;<NEW_LINE>long currentOffset = 0;<NEW_LINE>NSSplitReader nsr = new NSSplitReader(file, start);<NE...
Math.toIntExact(count - currentOffset);
715,223
public boolean onResult(@NonNull String dialogTag, int which, @NonNull Bundle extras) {<NEW_LINE>if (which != BUTTON_POSITIVE) {<NEW_LINE>return true;<NEW_LINE>}<NEW_LINE>if (dialogTag.equalsIgnoreCase(PreferenceNames.LOG_TO_URL_BASICAUTH_USERNAME)) {<NEW_LINE>String basicAuthUsername = extras.getString(PreferenceNames...
extras.getString(PreferenceNames.LOG_TO_URL_BASICAUTH_PASSWORD);
1,467,662
private void cloneMetaData(CharSequence tableName, CharSequence backupRoot, int mkDirMode, TableReader reader) {<NEW_LINE>srcPath.of(backupRoot).<MASK><NEW_LINE>if (ff.exists(srcPath)) {<NEW_LINE>throw CairoException.instance(0).put("Backup dir for table \"").put(tableName).put("\" already exists [dir=").put(srcPath).p...
concat(tableName).slash$();
261,481
protected void onHandleWork(@Nullable Intent intent) {<NEW_LINE>System.gc();<NEW_LINE>LocalGallery gallery = intent.<MASK><NEW_LINE>if (gallery == null)<NEW_LINE>return;<NEW_LINE>preExecute(gallery.getDirectory());<NEW_LINE>try {<NEW_LINE>File file = new File(Global.ZIPFOLDER, gallery.getTitle() + ".zip");<NEW_LINE>Fil...
getParcelableExtra(getPackageName() + ".GALLERY");
247,829
public void install(final Model model, final Map<String, ?> options) {<NEW_LINE>assert model != null;<NEW_LINE>List<ExecuteTask> tasks = getTasks(model);<NEW_LINE>if (tasks.isEmpty()) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>if (log.isDebugEnabled()) {<NEW_LINE>log.debug("Registering tasks for: " + model.getId());<NEW_LI...
String id = task.getId();
1,448,007
public void afterPropertiesSet() throws IOException {<NEW_LINE>Map<String, String> finalConfig = new HashMap<String, String>();<NEW_LINE>if (systemPropertyMode == SystemPropertyMode.MODE_FALLBACK) {<NEW_LINE>finalConfig.putAll(lookupSystemProperties());<NEW_LINE>}<NEW_LINE>if (config != null) {<NEW_LINE>finalConfig.put...
finalConfig.putAll(lookupSystemProperties());
1,823,771
private static List<URI> expand(Iterable<URI> inputs) throws IOException {<NEW_LINE>List<URI> expanded = new ArrayList<>();<NEW_LINE>for (URI input : inputs) {<NEW_LINE>if (isFileOrDir(input)) {<NEW_LINE>Path inputPath = Paths.get(input);<NEW_LINE>if (Files.isDirectory(inputPath)) {<NEW_LINE>try (DirectoryStream<Path> ...
()).toUri());
1,159,792
public void combineOne(SumByFloatProcedure<T, V> thingToCombine) {<NEW_LINE>if (this.result.isEmpty()) {<NEW_LINE>thingToCombine.getResult().forEachKeyValue(new Procedure2<V, DoubleDoublePair>() {<NEW_LINE><NEW_LINE>public void value(V each, DoubleDoublePair sumCompensation) {<NEW_LINE>SumByFloatCombiner.this.result.pu...
= sumCompensation.getOne() - currentCompensation;
425,997
private IClientExecutable<?, ?> createDeliveryRequestTransaction(CanonicalSubscription theSubscription, IGenericClient theClient, IBaseResource thePayloadResource) {<NEW_LINE>IClientExecutable<?, ?> operation;<NEW_LINE>String resType = theSubscription.getPayloadSearchCriteria().substring(0, theSubscription.getPayloadSe...
resourceDefinition, MatchUrlService.processIncludes());
364,848
public static void trackCommentReplyWithDetails(boolean isQuickReply, SiteModel site, CommentModel comment, AnalyticsCommentActionSource source) {<NEW_LINE>AnalyticsTracker.Stat legacyTracker = null;<NEW_LINE>if (source == AnalyticsCommentActionSource.NOTIFICATIONS) {<NEW_LINE>legacyTracker = isQuickReply ? AnalyticsTr...
, AnalyticsSiteType.toStringFromSiteModel(site));
1,073,032
final StopStackResult executeStopStack(StopStackRequest stopStackRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(stopStackRequest);<NEW_LINE><MASK><NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTime);<NEW_LINE>Request<StopStackRequest> request = null;<NEW_LINE>Response<StopStac...
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
1,457,618
public void configure(ClientOptionsBase options, boolean domainSocket, Bootstrap bootstrap) {<NEW_LINE>if (!domainSocket) {<NEW_LINE>bootstrap.option(ChannelOption.SO_REUSEADDR, options.isReuseAddress());<NEW_LINE>bootstrap.option(ChannelOption.TCP_NODELAY, options.isTcpNoDelay());<NEW_LINE>bootstrap.option(ChannelOpti...
IP_TOS, options.getTrafficClass());
26,711
private static void initialize() {<NEW_LINE>try {<NEW_LINE>if (System.getProperty("osxaccess.light", "0").equals("1")) {<NEW_LINE>initializeLight();<NEW_LINE>Class<?> claOSXFileOpen = Class.forName("com.biglybt.ui.swt.osx.OSXFileOpen");<NEW_LINE>if (claOSXFileOpen != null) {<NEW_LINE>Method method = claOSXFileOpen.getM...
driveInfo, "Writable", 0) != 0;
660,444
public PropertyResponse unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>PropertyResponse propertyResponse = new PropertyResponse();<NEW_LINE><MASK><NEW_LINE>String currentParentElement = context.getCurrentParentElement();<NEW_LINE>int targetDepth = originalDepth + 1;<NEW_LINE>JsonToken token = c...
int originalDepth = context.getCurrentDepth();
557,778
private void configureKeepAliveVisualizer() {<NEW_LINE>final KeepAliveMonitor kaMonitor = monitor.getKeepAliveMonitor();<NEW_LINE>SimpleXYChartDescriptor desc = SimpleXYChartDescriptor.decimal(10, false, 500);<NEW_LINE>desc.<MASK><NEW_LINE>keepAliveChart = ChartFactory.createSimpleXYChart(desc);<NEW_LINE>kaRefreshTask ...
addLineItems("Refused", "Flushed", "Timed Out");
1,786,722
public AbortConfig unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>AbortConfig abortConfig = new AbortConfig();<NEW_LINE><MASK><NEW_LINE>String currentParentElement = context.getCurrentParentElement();<NEW_LINE>int targetDepth = originalDepth + 1;<NEW_LINE>JsonToken token = context.getCurrentTok...
int originalDepth = context.getCurrentDepth();
557,494
public static Node reifyAs(Graph graph, Node node, Triple triple) {<NEW_LINE>if (node == null)<NEW_LINE>node = NodeFactory.createBlankNode();<NEW_LINE>else {<NEW_LINE>Triple t = getTriple(graph, node);<NEW_LINE>if (t != null && !t.equals(triple))<NEW_LINE>throw new AlreadyReifiedException(node);<NEW_LINE>if (t != null)...
, triple.getSubject()));
780,197
public Map<String, List<LineChart>> queryDependencyGraph() {<NEW_LINE>Map<String, List<LineChart>> allCharts = new HashMap<String, List<LineChart>>();<NEW_LINE>for (String type : m_types) {<NEW_LINE>List<LineChart> charts = new ArrayList<LineChart>();<NEW_LINE>Map<String, Item> totalItems = m_dependencies.get(appendStr...
allCharts.put(type, charts);
1,058,755
final ListIdentityProvidersResult executeListIdentityProviders(ListIdentityProvidersRequest listIdentityProvidersRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listIdentityProvidersRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>...
addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
1,741,684
public void collectMatches(String name, WildcardMatch wcm) {<NEW_LINE>this.matchType = name;<NEW_LINE>this.lValue = wcm.getLValueWildCard("lvalue").getMatch();<NEW_LINE>if (matchType.equals(MUTATION1) || matchType.equals(MUTATION2) || matchType.equals(ASSIGNMENT1)) {<NEW_LINE>this.rValue = wcm.getExpressionWildCard("rv...
getSuperFunction("super").getMatch();
1,289,396
public final void postProcessBeanFactory(final ConfigurableListableBeanFactory beanFactory) {<NEW_LINE>try {<NEW_LINE>// 1) Retrieve properties from ff4j<NEW_LINE>BeanDefinitionVisitor visitor = new PropertiesPlaceHolderBeanDefinitionVisitor(ff4j);<NEW_LINE>// 2) Inject property & features value<NEW_LINE>String[] beanN...
.getBeanDefinition(beanNames[i]);
1,855,567
public ListenableFuture<Void> execute(Comment statement, QueryStateMachine stateMachine, List<Expression> parameters, WarningCollector warningCollector) {<NEW_LINE>Session session = stateMachine.getSession();<NEW_LINE>if (statement.getType() == Comment.Type.TABLE) {<NEW_LINE>QualifiedObjectName originalTableName = crea...
COLUMN_NOT_FOUND, statement, "Column does not exist: " + columnName);
1,227,063
public static GetCopyrightPersonListResponse unmarshall(GetCopyrightPersonListResponse getCopyrightPersonListResponse, UnmarshallerContext _ctx) {<NEW_LINE>getCopyrightPersonListResponse.setRequestId(_ctx.stringValue("GetCopyrightPersonListResponse.RequestId"));<NEW_LINE>getCopyrightPersonListResponse.setPageNum(_ctx.i...
(_ctx.booleanValue("GetCopyrightPersonListResponse.Success"));
1,252,633
public List<IPair<I_M_HU_PackingMaterial, Integer>> retrievePackingMaterialAndQtys(final I_M_HU hu) {<NEW_LINE>// FIXME<NEW_LINE>final IHandlingUnitsBL handlingUnitsBL = Services.get(IHandlingUnitsBL.class);<NEW_LINE>final IHUPackingMaterialDAO packingMaterialDAO = Services.get(IHUPackingMaterialDAO.class);<NEW_LINE>fi...
packingMaterial = packingMaterialDAO.retrieveHUPackingMaterialOrNull(huItem);
1,684,941
protected void rebalanceClusterOwnership(final String iNode, String databaseName, final OModifiableDistributedConfiguration cfg, final boolean canCreateNewClusters) {<NEW_LINE>final ODistributedConfiguration.ROLES role = cfg.getServerRole(iNode);<NEW_LINE>if (role != ODistributedConfiguration.ROLES.MASTER)<NEW_LINE>// ...
instance().set(current);
1,413,538
public SubjectAreaOMASAPIResponse<Categorization> updateTermCategorization(String serverName, String userId, String guid, Categorization termCategorization, boolean isReplace) {<NEW_LINE>String restAPIName = "updateTermCategorization";<NEW_LINE>RESTCallToken token = restCallLogger.logRESTCall(serverName, userId, restAP...
exception, auditLog, className, restAPIName);
720,376
protected <T> T toPrimitiveJavaType(String json, Class<T> type) {<NEW_LINE>json = jsonHelper.cleanString(json);<NEW_LINE>if (typeIsString(type)) {<NEW_LINE>return (T) json;<NEW_LINE>}<NEW_LINE>if (typeIsInteger(type)) {<NEW_LINE>return (T) Integer.valueOf(json);<NEW_LINE>}<NEW_LINE>if (typeIsBoolean(type)) {<NEW_LINE>r...
T) Boolean.valueOf(json);
1,701,820
public TaskExecutorBuilder taskExecutorBuilder(TaskExecutionProperties properties, ObjectProvider<TaskExecutorCustomizer> taskExecutorCustomizers, ObjectProvider<TaskDecorator> taskDecorator) {<NEW_LINE>TaskExecutionProperties.Pool pool = properties.getPool();<NEW_LINE>TaskExecutorBuilder builder = new TaskExecutorBuil...
taskExecutorCustomizers.orderedStream()::iterator);
1,562,157
private BLangNode transformErrorTypeDescriptor(ParameterizedTypeDescriptorNode parameterizedTypeDescNode) {<NEW_LINE>BLangErrorType errorType = (BLangErrorType) TreeBuilder.createErrorTypeNode();<NEW_LINE>Optional<TypeParameterNode> typeParam = parameterizedTypeDescNode.typeParamNode();<NEW_LINE>errorType.pos = getPosi...
flagSet.add(Flag.DISTINCT);
1,615,440
final ListInstancesResult executeListInstances(ListInstancesRequest listInstancesRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listInstancesRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEvent(Field.Clien...
addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
1,310,292
private void copy(Route src, Route it) {<NEW_LINE>Route.Before before = Optional.ofNullable(it.getBefore()).map(filter -> Optional.ofNullable(src.getBefore()).map(filter::then).orElse(filter)).orElseGet(src::getBefore);<NEW_LINE>Route.Decorator decorator = Optional.ofNullable(it.getDecorator()).map(filter -> Optional.o...
).orElseGet(src::getDecorator);
796,794
public static File[] flatten(File[] files, Set<Status> statuses) {<NEW_LINE>LinkedList<File> ret <MASK><NEW_LINE>FileStatusCache cache = Git.getInstance().getFileStatusCache();<NEW_LINE>for (int i = 0; i < files.length; i++) {<NEW_LINE>File dir = files[i];<NEW_LINE>FileInformation info = cache.getStatus(dir);<NEW_LINE>...
= new LinkedList<File>();
864,968
public void closeElement(String element, HashMap<String, String> attributes, String content, WarningSet warnings) throws SAXException {<NEW_LINE>// DEBUG ONLY<NEW_LINE>// System.err.println("closing MotorMount element: "+ element);<NEW_LINE>if (element.equals("motor")) {<NEW_LINE>FlightConfigurationId fcid = new Flight...
inst.setIgnitionEvent(ignitionConfigHandler.ignitionEvent);
889,391
final CreateOutboundConnectionResult executeCreateOutboundConnection(CreateOutboundConnectionRequest createOutboundConnectionRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(createOutboundConnectionRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetri...
HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
1,078,363
private String generateTemporaryS3UploadUrl(String key, Date expiration) throws IOException {<NEW_LINE>GeneratePresignedUrlRequest generatePresignedUrlRequest = new GeneratePresignedUrlRequest(bucketName, key).withMethod(HttpMethod.PUT).withExpiration(expiration);<NEW_LINE>// Require user to add this header to indicate...
presignedUrl = s3.generatePresignedUrl(generatePresignedUrlRequest);
933,865
private Map<String, RequestParameter> validateQueryParams(RoutingContext routingContext) throws ValidationException {<NEW_LINE>// Validation process validate only params that are registered in the validation -> extra params are allowed<NEW_LINE>Map<String, RequestParameter> parsedParams = new HashMap<>();<NEW_LINE>Mult...
(parsedParam.getName()));
1,421,167
private BigDecimal computePriceDifference(@NonNull final ContextForCompesationOrder compensationOrderContext, @NonNull final I_C_Contract_Change contractChange) {<NEW_LINE>final List<I_C_SubscriptionProgress> sps = compensationOrderContext.getSubscriptionProgress();<NEW_LINE>final Timestamp changeDate = compensationOrd...
Services.get(ISubscriptionBL.class);
307,502
protected void sendAuthnRequest(HttpFacade httpFacade, SAML2AuthnRequestBuilder authnRequestBuilder, BaseSAML2BindingBuilder binding) {<NEW_LINE>try {<NEW_LINE>MessageFactory messageFactory = MessageFactory.newInstance();<NEW_LINE>SOAPMessage message = messageFactory.createMessage();<NEW_LINE>SOAPEnvelope envelope = me...
getResponse().getOutputStream());
832,530
public static HmsValidationTool create(Map<Object, Object> configMap) {<NEW_LINE>String metastoreUri = "";<NEW_LINE>String database = DEFAULT_DATABASE;<NEW_LINE>String tables = "";<NEW_LINE>int socketTimeout = DEFAULT_SOCKET_TIMEOUT_MINUTES;<NEW_LINE>try {<NEW_LINE>metastoreUri = (String) configMap.getOrDefault(Validat...
getOrDefault(ValidationConfig.TABLES_CONFIG_NAME, "");
160,849
public void buildFinished(BuildResult buildResult) {<NEW_LINE>StringBuilder log = new StringBuilder();<NEW_LINE>log.append("Build finished at ").append(Instant.now().toString()).append(System.lineSeparator());<NEW_LINE>log.append("build action: ").append(buildResult.getAction()).<MASK><NEW_LINE>log.append("build result...
append(System.lineSeparator());
1,320,958
public Sequence execute(final StaticContext sctx, final QueryContext ctx, final Sequence[] args) {<NEW_LINE>if (args.length != 4) {<NEW_LINE>throw new QueryException(new QNm("No valid arguments specified!"));<NEW_LINE>}<NEW_LINE>final var col = (JsonDBCollection) ctx.getJsonItemStore().lookup(((Str) args[0]).stringValu...
col.getDocument(expResName, startPointInTime);
497,004
protected MethodInvocation createValueOfInvocation(ASTRewrite rewrite, CompilationUnit compilationUnit, ClassInstanceCreation primitiveTypeCreation) {<NEW_LINE>Assert.isNotNull(rewrite);<NEW_LINE>Assert.isNotNull(primitiveTypeCreation);<NEW_LINE>final AST ast = rewrite.getAST();<NEW_LINE>MethodInvocation valueOfInvocat...
.createCopyTarget((ASTNode) argument);
739,867
private static <T> Map<String, T> configs(Class<T> clazz, String prefix) {<NEW_LINE>Map<String, T> ret = <MASK><NEW_LINE>if (ret.size() > 0 && !RPCUtil.isDefaultConfigExist(clazz, ret)) {<NEW_LINE>for (Map.Entry<String, T> entry : ret.entrySet()) {<NEW_LINE>if ("default".equals(entry.getKey())) {<NEW_LINE>if (entry.get...
ConfigUtil.getConfigModels(clazz, prefix);
1,078,366
private JComponent createGainPanel() {<NEW_LINE>final JSlider gainSlider;<NEW_LINE>gainSlider = new JSlider(0, 200);<NEW_LINE>gainSlider.setValue(100);<NEW_LINE>gainSlider.setPaintLabels(true);<NEW_LINE>gainSlider.setPaintTicks(true);<NEW_LINE>final JLabel label = new JLabel("Gain: 100%");<NEW_LINE>gainSlider.addChange...
setBorder(new TitledBorder("Volume control"));
1,152,810
public void insert(final SpanBo span) {<NEW_LINE>Objects.requireNonNull(span, "span");<NEW_LINE>if (logger.isDebugEnabled()) {<NEW_LINE>logger.debug("insert ApplicationTraceIndex: {}", span);<NEW_LINE>}<NEW_LINE>// Assert agentId<NEW_LINE>CollectorUtils.checkAgentId(span.getAgentId());<NEW_LINE>// Assert applicationNam...
putPrefixedString(span.getAgentId());
1,406,563
public FileHandle[] list(String suffix) {<NEW_LINE>if (type == FileType.Classpath)<NEW_LINE>throw new GdxRuntimeException("Cannot list a classpath directory: " + file);<NEW_LINE>String[] relativePaths = file().list();<NEW_LINE>if (relativePaths == null)<NEW_LINE>return new FileHandle[0];<NEW_LINE>FileHandle[] handles =...
] newHandles = new FileHandle[count];
411,809
public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException, ServletException {<NEW_LINE>if (LOG.isDebugEnabled()) {<NEW_LINE>LOG.debug("Processing successful authentication successful");<NEW_LINE>}<NEW_LINE>String callbackURL = (String...
String) request.getAttribute(VERIFIER_ATTRIBUTE);
1,178,663
static PropertyValue[] interpretRasterLayerProperties(Object o) {<NEW_LINE>final Map<String, String> data = (Map<String, String>) toMap(o);<NEW_LINE>final List<PropertyValue> properties = new LinkedList();<NEW_LINE>final JsonParser parser = new JsonParser();<NEW_LINE>for (Map.Entry<String, String> entry : data.entrySet...
(PropertyFactory.rasterHueRotate(expression));
199,340
public com.amazonaws.services.directory.model.UnsupportedOperationException unmarshallFromContext(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>com.amazonaws.services.directory.model.UnsupportedOperationException unsupportedOperationException = new com.amazonaws.services.<MASK><NEW_LINE>int originalDepth...
directory.model.UnsupportedOperationException(null);
1,091,460
public static DescribeVsDomainPvDataResponse unmarshall(DescribeVsDomainPvDataResponse describeVsDomainPvDataResponse, UnmarshallerContext _ctx) {<NEW_LINE>describeVsDomainPvDataResponse.setRequestId(_ctx.stringValue("DescribeVsDomainPvDataResponse.RequestId"));<NEW_LINE>describeVsDomainPvDataResponse.setDomainName(_ct...
("DescribeVsDomainPvDataResponse.PvDataInterval[" + i + "].TimeStamp"));
920,463
public static boolean isInputSoapEncoded(BindingOperation bindingOperation) {<NEW_LINE>if (bindingOperation == null) {<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE>BindingInput bindingInput = bindingOperation.getBindingInput();<NEW_LINE>if (bindingInput == null) {<NEW_LINE>return false;<NEW_LINE>}<NEW_LINE>SOAPBody soapB...
getExtensibilityElements(), SOAPBody.class);
841,221
private DeleteOrphanFiles.Result doExecute() {<NEW_LINE>Dataset<Row> validContentFileDF = buildValidContentFileDF(table);<NEW_LINE>Dataset<Row> validMetadataFileDF = buildValidMetadataFileDF(table);<NEW_LINE>Dataset<Row> validFileDF = validContentFileDF.union(validMetadataFileDF);<NEW_LINE>Dataset<Row> actualFileDF = b...
nameEqual = actualFileName.equalTo(validFileName);
247,760
public static Collection<? extends RegressionExecution> executions(boolean withStats) {<NEW_LINE>List<FilterTestMultiStmtPermutable> cases = new ArrayList<FilterTestMultiStmtPermutable>();<NEW_LINE>FilterTestMultiStmtAssertStats[] stats = FilterTestMultiStmtAssertStats.makeSingleStat("P0=(fh:1,fi:1),P1=(fh:0,fi:0,fipar...
makeBean("A"), false));
1,248,598
final UpdateLaunchProfileMemberResult executeUpdateLaunchProfileMember(UpdateLaunchProfileMemberRequest updateLaunchProfileMemberRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(updateLaunchProfileMemberRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequest...
awsRequestMetrics.endEvent(Field.RequestMarshallTime);
1,142,098
public void propertyChange(PropertyChangeEvent event) {<NEW_LINE>// TODO Some of these properties should be pulled up as they are common for may steps<NEW_LINE>// FIXME The property names shouldn't be hardcoded<NEW_LINE>if (event.getSource() == testRequest) {<NEW_LINE>if (event.getNewValue() instanceof SinglePartHttpRe...
.valueOf(XMLCOntent), null);
178,929
public DescribeCustomDomainsResult unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>DescribeCustomDomainsResult describeCustomDomainsResult = new DescribeCustomDomainsResult();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE><MASK><NEW_LINE>int targetDepth = originalDepth + 1;<NE...
String currentParentElement = context.getCurrentParentElement();
144,021
public static final void _idct4x4(int[] block, int[] out) {<NEW_LINE>// Horisontal<NEW_LINE>for (int i = 0; i < 16; i += 4) {<NEW_LINE>int e0 = block[i] + block[i + 2];<NEW_LINE>int e1 = block[i] - block[i + 2];<NEW_LINE>int e2 = (block[i + 1] >> 1) - block[i + 3];<NEW_LINE>int e3 = block[i + 1] + (block[i + 3] >> 1);<...
i + 2] = e1 - e2;
192,508
private Mono<Response<RemediationInner>> cancelAtResourceGroupWithResponseAsync(String resourceGroupName, String remediationName, Context context) {<NEW_LINE>if (this.client.getEndpoint() == null) {<NEW_LINE>return Mono.error(new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be nu...
this.client.mergeContext(context);
1,638,248
public CachedPostingListCounter rebuildCache() {<NEW_LINE>MinMaxPriorityQueue<Entry> mostExpensive = MinMaxPriorityQueue.maximumSize(32).expectedSize(32).create();<NEW_LINE>synchronized (this) {<NEW_LINE>for (ObjectLongPair<int[]> p : frequency.keyValuesView()) {<NEW_LINE>mostExpensive.add(new Entry(p.getOne(), p.getTw...
int length = mostExpensive.size();
1,488,740
private void updateAutoComplete() {<NEW_LINE>int position = codeArea.getCaretPosition();<NEW_LINE>int line = codeArea.getCurrentParagraph();<NEW_LINE>String lineText = codeArea.getParagraph(line).getText();<NEW_LINE>// Ensure that the caret is at the end of the line.<NEW_LINE>if (codeArea.getCaretColumn() < lineText.le...
), pointer.getMinY());
1,435,555
private void compareJSON(String expected, String actual) throws Exception {<NEW_LINE>System.out.println("compareJSON\n\texpected = " + expected + "\n\tactual = " + actual);<NEW_LINE>try {<NEW_LINE>JsonReader jsonReader = Json.createReader(new StringReader(expected));<NEW_LINE>JsonObject exp = jsonReader.readObject();<N...
, exp.equals(act));
804,771
private ComposedTaskProperties composedTaskProperties() {<NEW_LINE>ComposedTaskProperties properties = new ComposedTaskProperties();<NEW_LINE>String skipTlsCertificateVerification = getPropertyValue("skip-tls-certificate-verification");<NEW_LINE>if (skipTlsCertificateVerification != null) {<NEW_LINE>properties.setSkipT...
.setDataflowServerPassword(getPropertyValue("dataflow-server-password"));
247,771
public static boolean intersectSegmentCircle(Vector2 start, Vector2 end, Circle circle, MinimumTranslationVector mtv) {<NEW_LINE>v2a.set(end).sub(start);<NEW_LINE>v2b.set(circle.x - start.x, circle.y - start.y);<NEW_LINE>float len = v2a.len();<NEW_LINE>float u = v2b.dot(v2a.nor());<NEW_LINE>if (u <= 0) {<NEW_LINE>v2c.s...
set(v2d).nor();
107,326
final DeleteEndpointAccessResult executeDeleteEndpointAccess(DeleteEndpointAccessRequest deleteEndpointAccessRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(deleteEndpointAccessRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRe...
HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
123,378
private Mono<Response<Flux<ByteBuffer>>> purgeDeletedWithResponseAsync(String vaultName, String location, Context context) {<NEW_LINE>if (this.client.getEndpoint() == null) {<NEW_LINE>return Mono.<MASK><NEW_LINE>}<NEW_LINE>if (vaultName == null) {<NEW_LINE>return Mono.error(new IllegalArgumentException("Parameter vault...
error(new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
1,272,610
protected void configureEngine(AbstractEngineConfiguration engineConfiguration, DataSource dataSource) {<NEW_LINE>engineConfiguration.setDataSource(dataSource);<NEW_LINE>engineConfiguration.setDatabaseSchema(defaultText(flowableProperties.getDatabaseSchema(), engineConfiguration.getDatabaseSchema()));<NEW_LINE>engineCo...
setUseLockForDatabaseSchemaUpdate(flowableProperties.isUseLockForDatabaseSchemaUpdate());
294,273
protected int doWork() {<NEW_LINE>final ProgressLogger progress = new ProgressLogger(LOG, 10000);<NEW_LINE>IOUtil.assertFileIsReadable(INPUT);<NEW_LINE>IOUtil.assertFileIsWritable(OUTPUT);<NEW_LINE>final VCFFileReader reader = new VCFFileReader(INPUT, REQUIRE_INDEX);<NEW_LINE>final VCFHeader header = new VCFHeader(read...
VariantContext context = iterator.next();
1,773,883
private static void evaluateNarlsAgainstTruth(final SVIntervalTree<String> narlyBreakpoints, final SVIntervalTree<String> trueBreakpoints, final Logger localLogger) {<NEW_LINE>final float falsePos = 1.f - narlyBreakpoints.overlapFraction(trueBreakpoints);<NEW_LINE>final int nNarly = narlyBreakpoints.size();<NEW_LINE>lo...
) + "/" + nTrue + ")");
851,413
protected List<DatabaseParamValue> convertDatabaseParamValue(Long dbId) {<NEW_LINE>DatabaseParamValue[] paramValues = new DatabaseParamValue[6];<NEW_LINE>for (int i = 0; i < paramValues.length; i++) {<NEW_LINE>paramValues[<MASK><NEW_LINE>}<NEW_LINE>paramValues[0].setParamKey("esNodes").setParamValue(prop.getEsNodes());...
i] = new DatabaseParamValue(dbId);
770,274
static org.batfish.datamodel.isis.IsisProcess toIsisProcess(IsisProcess proc, Configuration c, CiscoConfiguration oldConfig) {<NEW_LINE>org.batfish.datamodel.isis.IsisProcess.Builder newProcess = org.batfish.datamodel<MASK><NEW_LINE>if (proc.getNetAddress() == null) {<NEW_LINE>oldConfig.getWarnings().redFlag("Cannot cr...
.isis.IsisProcess.builder();
1,792,302
public static DescribeFlowJobResponse unmarshall(DescribeFlowJobResponse describeFlowJobResponse, UnmarshallerContext _ctx) {<NEW_LINE>describeFlowJobResponse.setRequestId(_ctx.stringValue("DescribeFlowJobResponse.RequestId"));<NEW_LINE>describeFlowJobResponse.setAdhoc(_ctx.stringValue("DescribeFlowJobResponse.Adhoc"))...
(_ctx.stringValue("DescribeFlowJobResponse.AlertConf"));
1,496,216
public synchronized void updateLists(TaskLists remoteLists) {<NEW_LINE>readLists();<NEW_LINE>HashSet<Long> previousLists = new HashSet<Long>(lists.length);<NEW_LINE>for (StoreObject list : lists) previousLists.add(list.getId());<NEW_LINE>List<TaskList> items = remoteLists.getItems();<NEW_LINE>StoreObject[] newLists = n...
StoreObject.TYPE, GtasksList.TYPE);
559,424
final UpdateLicenseConfigurationResult executeUpdateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(updateLicenseConfigurationRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRe...
awsRequestMetrics.startEvent(Field.RequestMarshallTime);
934,652
protected void onMeasure(final int widthMeasureSpec, final int heightMeasureSpec) {<NEW_LINE>if (MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY) {<NEW_LINE>super.onMeasure(widthMeasureSpec, heightMeasureSpec);<NEW_LINE>// HorizontalScrollView will first measure use with UNSPECIFIED, and then with<NEW_LINE...
childLayoutParams.topMargin + childLayoutParams.bottomMargin);
1,200,598
static byte[] toByteArray(InputStream in, long expectedSize) throws IOException {<NEW_LINE>checkArgument(<MASK><NEW_LINE>if (expectedSize > MAX_ARRAY_LEN) {<NEW_LINE>throw new OutOfMemoryError(expectedSize + " bytes is too large to fit in a byte array");<NEW_LINE>}<NEW_LINE>byte[] bytes = new byte[(int) expectedSize];<...
expectedSize >= 0, "expectedSize (%s) must be non-negative", expectedSize);
1,179,968
public static TargetTriple create(String triple) {<NEW_LINE>String[] s = triple.split("-", 4);<NEW_LINE>if (s.length < 3) {<NEW_LINE>throw new IllegalArgumentException("Malformed target-triple string: " + triple);<NEW_LINE>}<NEW_LINE>final String arch = s[0];<NEW_LINE><MASK><NEW_LINE>final String system = s[2];<NEW_LIN...
final String vendor = s[1];
331,897
/*<NEW_LINE>* Initialize compilation unit encoding.<NEW_LINE>* If we have a project, then get file name corresponding IFile and retrieve its encoding using<NEW_LINE>* new API for encoding.<NEW_LINE>* In case of a class file, then go through project in order to let the possibility to retrieve<NEW_LINE>* a corresponding ...
.getJavaProject().getProject();
379,499
public static void dropTempTables(final String endpointId) throws DotDataException {<NEW_LINE>DotConnect dc = new DotConnect();<NEW_LINE>try {<NEW_LINE>IntegrityType[] types = IntegrityType.values();<NEW_LINE>for (IntegrityType integrityType : types) {<NEW_LINE>for (String tempTableName : integrityType.getIntegrityChec...
error(IntegrityResource.class, "Error dropping Temp tables");
1,716,696
public void secondaryTypesRemoving(IFile file, boolean cleanIndexCache) {<NEW_LINE>if (VERBOSE) {<NEW_LINE>// $NON-NLS-1$<NEW_LINE><MASK><NEW_LINE>buffer.append(file.getName());<NEW_LINE>buffer.append(')');<NEW_LINE>Util.verbose(buffer.toString());<NEW_LINE>}<NEW_LINE>if (file != null) {<NEW_LINE>PerProjectInfo project...
StringBuffer buffer = new StringBuffer("JavaModelManager.removeFromSecondaryTypesCache(");
153,445
public Intent executeApi(Intent data, InputStream is, OutputStream os) {<NEW_LINE>ParcelFileDescriptor input = null;<NEW_LINE>ParcelFileDescriptor output = null;<NEW_LINE>try {<NEW_LINE>if (is != null) {<NEW_LINE>input = ParcelFileDescriptorUtil.pipeFrom(is);<NEW_LINE>}<NEW_LINE>Thread pumpThread = null;<NEW_LINE>int o...
executeApi(data, input, outputPipeId);
1,635,957
public void testConfigWebServiceInWebXml_NoServletMapping() throws Exception {<NEW_LINE>setWebXml("noServletMapping/web.xml");<NEW_LINE>server.startServer();<NEW_LINE>// Pause for application to start successfully<NEW_LINE>server.waitForStringInLog("CWWKZ0001I.*converter");<NEW_LINE>URL url = new URL("http://" + server...
server.getHttpDefaultPort() + "/converter/ConverterSvcName?wsdl");
693,537
default ToBooleanNullable<T> mapIfPresent(BooleanUnaryOperator mapper) {<NEW_LINE><MASK><NEW_LINE>return new ToBooleanNullable<T>() {<NEW_LINE><NEW_LINE>@Override<NEW_LINE>public Boolean apply(T object) {<NEW_LINE>return delegate.isNull(object) ? null : mapper.applyAsBoolean(delegate.applyAsBoolean(object));<NEW_LINE>}...
final ToBooleanNullable<T> delegate = this;
1,607,257
protected void rehash(int newN) {<NEW_LINE><MASK><NEW_LINE>int[] value = this.value;<NEW_LINE>int mask = newN - 1;<NEW_LINE>long[] newKey = new long[newN + 1];<NEW_LINE>int[] newValue = new int[newN + 1];<NEW_LINE>int i = this.n;<NEW_LINE>int pos;<NEW_LINE>for (int size = realSize(); size-- != 0; newValue[pos] = value[...
long[] key = this.key;
345,940
protected void testRepeating(boolean completeBefore, boolean fromCompletion, RRule rrule, Frequency frequency, String title) {<NEW_LINE>Task t = new Task();<NEW_LINE>t.setValue(Task.TITLE, title);<NEW_LINE>long dueDate = DateUtilities.now() + ((completeBefore ? -1 : 1) * DateUtilities.ONE_DAY * 3);<NEW_LINE>// Strip mi...
(TaskCriteria.notDeleted()));
60,367
protected void init() {<NEW_LINE><MASK><NEW_LINE>try {<NEW_LINE>this.setHandler(defaultHandler);<NEW_LINE>} catch (ServletException e) {<NEW_LINE>}<NEW_LINE>setSharedId(_transactionUser.getId());<NEW_LINE>// Moti: June 2008: beware of invoking here virtual methods.<NEW_LINE>// this method is called from SipSessionImpl#...
String defaultHandler = ThreadLocalStorage.getSipServletName();
10,308
public ScalarTypeArrayList typeFor(Type valueType, boolean nullable) {<NEW_LINE>lock.lock();<NEW_LINE>try {<NEW_LINE>String key = valueType + ":" + nullable;<NEW_LINE>if (valueType.equals(UUID.class)) {<NEW_LINE>return cache.computeIfAbsent(key, s -> new ScalarTypeArrayList(nullable, "uuid", DocPropertyType.UUID, Array...
.INTEGER, ArrayElementConverter.INTEGER));
200,025
private Map<String, Object> expandArguments(final PluginDefinition pluginDefinition, final ConfigVariableExpander cve) {<NEW_LINE>Map<String, Object> arguments = expandConfigVariables(cve, pluginDefinition.getArguments());<NEW_LINE>// Intercept codec definitions from LIR<NEW_LINE>for (final Map.Entry<String, Object> en...
String key = entry.getKey();
108,743
public void playerToggleSneak(PlayerToggleSneakEvent event) {<NEW_LINE>Player player = event.getPlayer();<NEW_LINE>UserConnection userConnection = getUserConnection(player);<NEW_LINE>if (userConnection == null)<NEW_LINE>return;<NEW_LINE>ProtocolInfo info = userConnection.getProtocolInfo();<NEW_LINE>if (info == null)<NE...
sneaking.put(player, false);
992,835
private void printTags(SootField f, String declaration, PrintWriter out) {<NEW_LINE>Type fieldType = f.getType();<NEW_LINE>if (fieldType instanceof DoubleType) {<NEW_LINE>DoubleConstantValueTag t = (DoubleConstantValueTag) f.getTag(DoubleConstantValueTag.NAME);<NEW_LINE>if (t != null) {<NEW_LINE>out.println(" " + de...
== 0 ? " = false;" : " = true;"));
1,668,223
public BufferedImage generateDistanceField(BufferedImage inImage) {<NEW_LINE>final int inWidth = inImage.getWidth();<NEW_LINE>final int inHeight = inImage.getHeight();<NEW_LINE>final int outWidth = inWidth / downscale;<NEW_LINE>final int outHeight = inHeight / downscale;<NEW_LINE>final BufferedImage outImage = new Buff...
downscale) + (downscale / 2);
1,779,789
public Set<K> keySet() {<NEW_LINE>return new AbstractSet<K>() {<NEW_LINE><NEW_LINE>final List<String> keys = data.getPropertyKeys();<NEW_LINE><NEW_LINE>@Override<NEW_LINE>public Iterator<K> iterator() {<NEW_LINE>return new Iterator<K>() {<NEW_LINE><NEW_LINE>final Iterator<String> it = keys.iterator();<NEW_LINE><NEW_LIN...
StringQuoter.quote(lastEncodedKey)));
765,782
public Map<String, Object> completeSourceOAuth(final CompleteSourceOauthRequest oauthSourceRequestBody) throws JsonValidationException, ConfigNotFoundException, IOException {<NEW_LINE>final StandardSourceDefinition sourceDefinition = configRepository.getStandardSourceDefinition(oauthSourceRequestBody.getSourceDefinitio...
LOGGER.error("failed while reporting usage.", e);
203,271
public void configure(Context context) {<NEW_LINE>this.context = context;<NEW_LINE>this.reloadInterval = <MASK><NEW_LINE>String loaderType = context.getString(IDTOPIC_CONFIG_TYPE, ContextIdTopicConfigLoader.class.getName());<NEW_LINE>LOG.info("Init IdTopicConfigLoader,loaderType:{}", loaderType);<NEW_LINE>try {<NEW_LIN...
context.getLong(RELOAD_INTERVAL, 60000L);
364,887
public PermissionEntry unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>PermissionEntry permissionEntry = new PermissionEntry();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE>String currentParentElement = context.getCurrentParentElement();<NEW_LINE>int targetDepth = originalDep...
class).unmarshall(context));
521,828
public void visit(Element node) {<NEW_LINE>switch(node.type()) {<NEW_LINE>case OPEN_TAG:<NEW_LINE>OpenTag openTag = (OpenTag) node;<NEW_LINE>if (LexerUtils.equals(OUTPUT_STYLESHEET_TAG_NAME, openTag.unqualifiedName(), false, true) || LexerUtils.equals(OUTPUT_SCRIPT_TAG_NAME, openTag.unqualifiedName(), false, true)) {<N...
library = openTag.getAttribute("library");