idx
int32
46
1.86M
input
stringlengths
321
6.6k
target
stringlengths
9
1.24k
413,433
public S3Destination unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>S3Destination s3Destination = new S3Destination();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE>String currentParentElement = context.getCurrentParentElement();<NEW_LINE>int targetDepth = originalDepth + 1;<...
class).unmarshall(context));
1,017,264
public Object visit(Object context1, FunctionCallExpression expr, boolean strict) {<NEW_LINE>ExecutionContext context = (ExecutionContext) context1;<NEW_LINE>Object ref = expr.getMemberExpression().accept(context, this, strict);<NEW_LINE>Object function = getValue(context, ref);<NEW_LINE>List<Expression> argExprs = exp...
Object[argExprs.size()];
628,989
public int compare(CapabilityStatementRestResourceComponent theO1, CapabilityStatementRestResourceComponent theO2) {<NEW_LINE>DecimalType count1 = new DecimalType();<NEW_LINE>List<Extension> count1exts = theO1.getExtensionsByUrl(RESOURCE_COUNT_EXT_URL);<NEW_LINE>if (count1exts != null && count1exts.size() > 0) {<NEW_LI...
getTypeElement().getValue());
644,496
public static void validateJsonObject(JsonObject jsonObj) throws IOException {<NEW_LINE>if (jsonObj == null) {<NEW_LINE>if (Category.openapiRequiredFields.isEmpty()) {<NEW_LINE>return;<NEW_LINE>} else {<NEW_LINE>// has required fields<NEW_LINE>throw new IllegalArgumentException(String.format("The required field(s) %s i...
> entries = jsonObj.entrySet();
1,063,449
public static List<Header> createRequestHeaders(Metadata headers, String defaultPath, String authority, String userAgent, boolean useGet, boolean usePlaintext) {<NEW_LINE>Preconditions.checkNotNull(headers, "headers");<NEW_LINE>Preconditions.checkNotNull(defaultPath, "defaultPath");<NEW_LINE>Preconditions.checkNotNull(...
new Header(key, value));
1,263,459
private void drawTransportStops() {<NEW_LINE>GeometryAnchorWayStyle anchorWayStyle = new GeometryAnchorWayStyle(getContext());<NEW_LINE>for (Map.Entry<Integer, GeometryWayStyle<?>> entry : styleMap.entrySet()) {<NEW_LINE>GeometryWayStyle<?> style = entry.getValue();<NEW_LINE>boolean transportStyle = style instanceof Ge...
() : wayStyle.getStopBitmap();
120,725
public List<StatementBase> parseSQL(String originStr) {<NEW_LINE>List<LogicalPlan> logicalPlans = parseMultiple(originStr);<NEW_LINE>List<StatementBase> <MASK><NEW_LINE>for (LogicalPlan logicalPlan : logicalPlans) {<NEW_LINE>// TODO: this is a trick to support explain. Since we do not support any other command in a sho...
statementBases = new ArrayList<>();
1,818,805
public void saveStash(final File repository, final File[] roots) {<NEW_LINE>final File[] modifications = Git.getInstance().getFileStatusCache().listFiles(new File[] { repository }, FileInformation.STATUS_LOCAL_CHANGES);<NEW_LINE>if (modifications.length == 0) {<NEW_LINE>NotifyDescriptor nd = new NotifyDescriptor(Bundle...
getDefault().notifyLater(nd);
1,748,131
private void prepareStyles() {<NEW_LINE>StyledDocument doc = textPane.getStyledDocument();<NEW_LINE>Map<String, Color> keyWordColorMap = owlEditorKit.getWorkspace().getKeyWordColorMap();<NEW_LINE>for (String keyWord : keyWordColorMap.keySet()) {<NEW_LINE>Style s = doc.addStyle(keyWord, null);<NEW_LINE>Color color = key...
doc.addStyle("FEINT_STYLE", null);
1,760,043
public static ConnectionProfile buildDefaultConnectionProfile(Settings settings) {<NEW_LINE>int connectionsPerNodeRecovery = TransportSettings.CONNECTIONS_PER_NODE_RECOVERY.get(settings);<NEW_LINE>int connectionsPerNodeBulk = TransportSettings.CONNECTIONS_PER_NODE_BULK.get(settings);<NEW_LINE>int connectionsPerNodeReg ...
connectionsPerNodePing, TransportRequestOptions.Type.PING);
1,512,969
public R apply(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7) throws Exception {<NEW_LINE>if (t1 == null) {<NEW_LINE>throw new NullPointerException("t1 is null, tag = " + tag);<NEW_LINE>}<NEW_LINE>if (t2 == null) {<NEW_LINE>throw new NullPointerException("t2 is null, tag = " + tag);<NEW_LINE>}<NEW_LINE>if (t3 == null...
tag).appendLast(ex));
863,866
protected boolean fireCloseTab(MouseEvent event, int tabIndexToClose) {<NEW_LINE>boolean closeit = true;<NEW_LINE>// Guaranteed to return a non-null array<NEW_LINE>Object[<MASK><NEW_LINE>for (Object listener : listeners) {<NEW_LINE>if (listener instanceof CloseableTabbedPaneListener) {<NEW_LINE>boolean tabCanBeClosed =...
] listeners = listenerList.getListenerList();
116,496
private static boolean isSameSymbolTable(SymbolTable newTable, SymbolTable curTable) {<NEW_LINE>if (newTable == null && curTable == null) {<NEW_LINE>return true;<NEW_LINE>} else if (newTable != null && curTable == null) {<NEW_LINE>return false;<NEW_LINE>} else if (newTable == null) {<NEW_LINE>return false;<NEW_LINE>}<N...
) == curTable.getVersion());
894,054
private static RangeHighlighter createOrReuseLineMarker(@Nonnull LineMarkerInfo<?> info, @Nonnull MarkupModelEx markupModel, @Nullable HighlightersRecycler toReuse) {<NEW_LINE>LineMarkerInfo.LineMarkerGutterIconRenderer<?> newRenderer = (LineMarkerInfo.LineMarkerGutterIconRenderer<?>) info.createGutterRenderer();<NEW_L...
highlighter.putUserData(LINE_MARKER_INFO, info);
573,459
public void marshall(CreateCompilationJobRequest createCompilationJobRequest, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (createCompilationJobRequest == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(cre...
createCompilationJobRequest.getModelPackageVersionArn(), MODELPACKAGEVERSIONARN_BINDING);
118,164
private void mkXPLine(ProbeMode mode, EioBox eiobox, TOPData data) {<NEW_LINE>if (data.hasXP) {<NEW_LINE>if (mode != ProbeMode.NORMAL || TopConfig.showXPByDefault.get()) {<NEW_LINE>// We need to put the number of levels in as "current" value for it to be displayed as text. To make the progress bar scale to the partial ...
0xff00AA0A).borderColor(0xff00AA0A));
200,148
public void run(RegressionEnvironment env) {<NEW_LINE>String[] fields = "c0,c1,c2,c3,c4,c5".split(",");<NEW_LINE>SupportEvalBuilder builder = new SupportEvalBuilder("SupportBean_ST0_Container");<NEW_LINE>builder.expression(fields[0], "contained.mostFrequent(x => p00)");<NEW_LINE>builder.expression(fields[1], "contained...
12, 12, 28, 28);
809,265
public void queryWithResponse() {<NEW_LINE>// BEGIN: com.azure.storage.blob.specialized.BlobClientBase.queryWithResponse#BlobQueryOptions-Duration-Context<NEW_LINE>ByteArrayOutputStream queryData = new ByteArrayOutputStream();<NEW_LINE>String expression = "SELECT * from BlobStorage";<NEW_LINE>BlobQueryJsonSerialization...
(errorConsumer).setProgressConsumer(progressConsumer);
880,838
final ListGraphqlApisResult executeListGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listGraphqlApisRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.startEvent(F...
addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
187,937
private void onFinishHelper(EVCacheEvent e, Throwable t) {<NEW_LINE>Object clientSpanObj = e.getAttribute(CLIENT_SPAN_ATTRIBUTE_KEY);<NEW_LINE>// Return if the previously saved Client Span is null<NEW_LINE>if (clientSpanObj == null) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>Span clientSpan = (Span) clientSpanObj;<NEW_LINE...
CachedData cachedData = e.getCachedData();
1,544,435
private void add(final NamedOperationDetail namedOperation, final boolean overwrite, final User user, final String adminAuth) throws CacheOperationFailedException {<NEW_LINE>String name;<NEW_LINE>try {<NEW_LINE>name = namedOperation.getOperationName();<NEW_LINE>} catch (final NullPointerException e) {<NEW_LINE>throw ne...
addToCache(name, namedOperation, false);
876,329
public static UpdateHookConfigurationResponse unmarshall(UpdateHookConfigurationResponse updateHookConfigurationResponse, UnmarshallerContext _ctx) {<NEW_LINE>updateHookConfigurationResponse.setRequestId(_ctx.stringValue("UpdateHookConfigurationResponse.RequestId"));<NEW_LINE>updateHookConfigurationResponse.setCode(_ct...
("UpdateHookConfigurationResponse.HooksConfiguration[" + i + "].Name"));
1,696,030
public KuduSink genStreamSink(AbstractTargetTableInfo targetTableInfo) {<NEW_LINE>KuduTableInfo kuduTableInfo = (KuduTableInfo) targetTableInfo;<NEW_LINE>this.kuduMasters = kuduTableInfo.getKuduMasters();<NEW_LINE>this.tableName = kuduTableInfo.getTableName();<NEW_LINE>this.defaultOperationTimeoutMs = kuduTableInfo.get...
.enableKrb = kuduTableInfo.isEnableKrb();
147,657
public static NewTopic toNewTopic(Topic topic, Map<Integer, List<Integer>> assignment) {<NEW_LINE>NewTopic newTopic;<NEW_LINE>if (assignment != null) {<NEW_LINE>if (topic.getNumPartitions() != assignment.size()) {<NEW_LINE>throw new IllegalArgumentException(format("Topic %s has %d partitions supplied, but the number of...
of(topic.getNumReplicas());
1,388,409
public static boolean isWordEnd(@Nonnull CharSequence text, int offset, boolean isCamel) {<NEW_LINE>char prev = offset > 0 ? text.charAt(offset - 1) : 0;<NEW_LINE>char current = text.charAt(offset);<NEW_LINE>char next = offset + 1 < text.length() ? text.charAt(offset + 1) : 0;<NEW_LINE>final boolean firstIsIdentifierPa...
.isWhitespace(current) || secondIsIdentifierPart);
1,733,262
public String create(PipelineOptions options) {<NEW_LINE>GcsOptions gcsOptions = options.as(GcsOptions.class);<NEW_LINE>LOG.info("No stagingLocation provided, falling back to gcpTempLocation");<NEW_LINE>String gcpTempLocation;<NEW_LINE>try {<NEW_LINE>gcpTempLocation = gcsOptions.getGcpTempLocation();<NEW_LINE>} catch (...
"Error constructing default value for stagingLocation: failed to retrieve gcpTempLocation. " + "Either stagingLocation must be set explicitly or a valid value must be provided" + "for gcpTempLocation.", e);
1,808,901
public final RestResourceContext restResource() throws RecognitionException {<NEW_LINE>RestResourceContext _localctx = new <MASK><NEW_LINE>enterRule(_localctx, 6, RULE_restResource);<NEW_LINE>int _la;<NEW_LINE>try {<NEW_LINE>enterOuterAlt(_localctx, 1);<NEW_LINE>{<NEW_LINE>setState(43);<NEW_LINE>match(Name);<NEW_LINE>s...
RestResourceContext(_ctx, getState());
1,348,665
protected void performRewrite(TransformationContext ctx) throws Exception {<NEW_LINE>WorkingCopy wc = ctx.getWorkingCopy();<NEW_LINE>wc.toPhase(JavaSource.Phase.RESOLVED);<NEW_LINE>TreeMaker make = wc.getTreeMaker();<NEW_LINE>// rewrite annotations in case of ManagedBean<NEW_LINE>if (MANAGED_BEAN.equals(annotation.getA...
.getCompilationUnit().getImports();
745,474
public void onIEBlockPlacedBy(BlockPlaceContext context, BlockState state) {<NEW_LINE>Level world = context.getLevel();<NEW_LINE>BlockPos pos = context.getClickedPos();<NEW_LINE>BlockEntity tile = world.getBlockEntity(pos);<NEW_LINE>Player placer = context.getPlayer();<NEW_LINE>Direction side = context.getClickedFace()...
) tile).setFacing(f);
811,969
public void updateIndices(SegmentDirectory.Writer segmentWriter, IndexCreatorProvider indexCreatorProvider) throws Exception {<NEW_LINE>// Remove indices not set in table config any more<NEW_LINE>String segmentName = _segmentMetadata.getName();<NEW_LINE>Set<String> existingColumns = segmentWriter.toSegmentDirectory().g...
columnMetadata = _segmentMetadata.getColumnMetadataFor(column);
1,467,652
public DescribeInstancesResult unmarshall(StaxUnmarshallerContext context) throws Exception {<NEW_LINE>DescribeInstancesResult describeInstancesResult = new DescribeInstancesResult();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE>int targetDepth = originalDepth + 1;<NEW_LINE>if (context.isStartOfDocu...
().unmarshall(context));
1,495,598
static String injectSecurityWhereClauses(@Nullable final String sql, @Nullable final String securityWhereClause) {<NEW_LINE>if (sql == null) {<NEW_LINE>logger.debug("injectSecurityWhereClauses - sql=null; -> return null");<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>if (securityWhereClause == null) {<NEW_LINE>logger.debu...
final StringBuilder sqlCustomized = new StringBuilder();
1,828,414
private float computeMipLevel(float roughness, int numSamples, float size, float voH) {<NEW_LINE>// H[2] is NoH in local space<NEW_LINE>// adds 1.e-5 to avoid ggx / 0.0<NEW_LINE>float NoH = voH + 1E-5f;<NEW_LINE>// Probability Distribution Function<NEW_LINE>float Pdf = ggx(NoH, roughness) * NoH / (4.0f * voH);<NEW_LINE...
) / Math.log(2f);
1,154,701
public boolean shouldRenderGroup(ItemStack stack, String group) {<NEW_LINE>if ("body".equals(group))<NEW_LINE>return true;<NEW_LINE>if ("blade".equals(group))<NEW_LINE>return !this.getHead(stack).isEmpty();<NEW_LINE>CompoundTag upgrades = this.getUpgrades(stack);<NEW_LINE>if ("upgrade_lube".equals(group))<NEW_LINE>retu...
stack, 1).isEmpty();
1,674,552
public void serializeNativeObject(OIndexRIDContainer object, byte[] stream, int offset, Object... hints) {<NEW_LINE>LONG_SERIALIZER.serializeNative(object.getFileId(), stream, offset + FILE_ID_OFFSET);<NEW_LINE>final boolean embedded = object.isEmbedded();<NEW_LINE>final boolean durable = object.isDurableNonTxMode();<N...
), stream, offset + EMBEDDED_SIZE_OFFSET);
1,129,234
public JMeterTreeNode addComponent(TestElement component, JMeterTreeNode node) throws IllegalUserActionException {<NEW_LINE>if (node.getUserObject() instanceof AbstractConfigGui) {<NEW_LINE>throw new IllegalUserActionException("This node cannot hold sub-elements");<NEW_LINE>}<NEW_LINE>GuiPackage guiPackage = GuiPackage...
node, node.getChildCount());
130,493
protected void initPointBuffers() {<NEW_LINE>boolean createBuffer = bufPointVertex == null;<NEW_LINE>if (createBuffer)<NEW_LINE>bufPointVertex = new VertexBuffer(pg, PGL.ARRAY_BUFFER, 4, PGL.SIZEOF_FLOAT, PGL.bufferUsageRetained);<NEW_LINE>pgl.bindBuffer(PGL.ARRAY_BUFFER, bufPointVertex.glId);<NEW_LINE>tessGeo.initPoin...
createBuffer, true, PGL.bufferUsageRetained);
712,236
public SIfcHeader convertToSObject(IfcHeader input) {<NEW_LINE>if (input == null) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>SIfcHeader result = new SIfcHeader();<NEW_LINE>result.setOid(input.getOid());<NEW_LINE>result.setUuid(input.getUuid());<NEW_LINE>result.setRid(input.getRid());<NEW_LINE>result.getDescription().<...
addAll(input.getDescription());
1,652,987
public void marshall(CreateBrokerRequest createBrokerRequest, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (createBrokerRequest == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(createBrokerRequest.getAuth...
createBrokerRequest.getSubnetIds(), SUBNETIDS_BINDING);
271,365
public static Map<IdUrlPair, List<AppResult>> groupJobs(List<AppResult> results, GroupBy groupBy) {<NEW_LINE>Map<String, List<AppResult>> groupMap = new LinkedHashMap<String, List<AppResult>>();<NEW_LINE>Map<String, String> idUrlMap = new HashMap<String, String>();<NEW_LINE>for (AppResult result : results) {<NEW_LINE>S...
String key = entry.getKey();
1,178,130
public OutputEncryptor build() throws CMSException {<NEW_LINE>if (algorithmParameters != null) {<NEW_LINE>if (helper.isAuthEnveloped(encryptionOID)) {<NEW_LINE>return new CMSAuthOutputEncryptor(encryptionOID, keySize, algorithmParameters, random);<NEW_LINE>}<NEW_LINE>return new CMSOutputEncryptor(encryptionOID, keySize...
encryptionOID, keySize, algorithmParameters, random);
541,957
final GetSigningProfileResult executeGetSigningProfile(GetSigningProfileRequest getSigningProfileRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(getSigningProfileRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetrics.st...
HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
1,144,921
private Mono<Response<PolicyAssignmentInner>> updateWithResponseAsync(String scope, String policyAssignmentName, PolicyAssignmentUpdate parameters, Context context) {<NEW_LINE>if (this.client.getEndpoint() == null) {<NEW_LINE>return Mono.error(new IllegalArgumentException("Parameter this.client.getEndpoint() is require...
error(new IllegalArgumentException("Parameter scope is required and cannot be null."));
1,436,712
public void run() {<NEW_LINE>try {<NEW_LINE>if (replies.size() > 0) {<NEW_LINE>ArrayList<twitter4j.Status> reversed = new ArrayList<twitter4j.Status>();<NEW_LINE>for (int i = replies.size() - 1; i >= 0; i--) {<NEW_LINE>reversed.add(replies.get(i));<NEW_LINE>}<NEW_LINE>replies = reversed;<NEW_LINE>adapter = new Timeline...
listView.setVisibility(View.VISIBLE);
666,957
public List<StockKnowledgesEntity> doAddPointByKnowledgeStock(int offset) {<NEW_LINE>List<StockKnowledgesEntity> list;<NEW_LINE>list = StockKnowledgesDao.get().selectAllWidthPager(<MASK><NEW_LINE>for (StockKnowledgesEntity item : list) {<NEW_LINE>KnowledgesEntity knowledge = KnowledgesDao.get().selectOnKey(item.getKnow...
limit, offset, Order.ASC);
38,364
synchronized public void writeMetadata(@NonNull BackupFiles.BackupFile backupFile) throws IOException {<NEW_LINE>if (metadata == null) {<NEW_LINE>throw new RuntimeException(<MASK><NEW_LINE>}<NEW_LINE>Path metadataFile = backupFile.getMetadataFile();<NEW_LINE>try (OutputStream outputStream = metadataFile.openOutputStrea...
"Metadata not set for path " + backupFile.getBackupPath());
1,567,122
protected DepositResult doAddMetadata(SwordContext swordContext, Item item, Deposit deposit, AuthCredentials authCredentials, SwordConfigurationDSpace swordConfig, DepositResult result) throws DSpaceSwordException, SwordError, SwordAuthException, SwordServerException {<NEW_LINE>if (result == null) {<NEW_LINE>result = n...
this.verboseDescription, result, false);
1,420,850
private void drawLayout(Graphics2D g, Color color, int x, int y, boolean fill, JSONObject layout) {<NEW_LINE>JSONObject <MASK><NEW_LINE>int l = bounds.getInt("left");<NEW_LINE>int t = bounds.getInt("top");<NEW_LINE>int r = bounds.getInt("right");<NEW_LINE>int b = bounds.getInt("bottom");<NEW_LINE>boolean isSelected = l...
bounds = layout.getJSONObject("bounds");
1,764,608
public void addControllers(List<HippyAPIProvider> hippyPackages) {<NEW_LINE>if (hippyPackages == null) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>for (HippyAPIProvider hippyPackage : hippyPackages) {<NEW_LINE>List<Class<? extends HippyViewController>> components = hippyPackage.getControllers();<NEW_LINE>if (components != n...
hippyComponent.newInstance(), lazy);
1,240,696
public void applyShipmentScheduleChanges(@NonNull final ApplyShipmentScheduleChangesRequest request) {<NEW_LINE>if (request.isEmptyRequest()) {<NEW_LINE>// nothing to do<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>final I_M_ShipmentSchedule shipmentSchedule = getById(request.getShipmentScheduleId());<NEW_LINE>if (request.getB...
setQtyToDeliver_Override(request.getQtyToDeliverStockingUOM());
1,465,326
protected void process(final FessConfig fessConfig, final ThumbnailQueue entity) {<NEW_LINE>ComponentUtil.getSystemHelper().calibrateCpuLoad();<NEW_LINE>if (logger.isDebugEnabled()) {<NEW_LINE>logger.debug("Processing thumbnail: {}", entity);<NEW_LINE>}<NEW_LINE>final String generatorName = entity.getGenerator();<NEW_L...
setLastModified(System.currentTimeMillis());
1,023,967
protected void grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result) {<NEW_LINE>Set<String> scopeNames = grantedScopes.stream().map(Scope::getNa...
getClaims(), request)));
1,067,267
public boolean visit(SQLAlterTableConvertCharSet x) {<NEW_LINE>final SQLExpr charset = x.getCharset();<NEW_LINE>final SQLExpr collate = x.getCollate();<NEW_LINE>final String charsetName;<NEW_LINE>final String collateName;<NEW_LINE>if (charset != null) {<NEW_LINE>if (charset instanceof SQLIdentifierExpr) {<NEW_LINE>char...
FastSqlParserException.ExceptionType.NOT_SUPPORT, "Unknown collate name.");
249,929
private ObservableTransformer<RxBleInternalScanResult, RxBleInternalScanResult> repeatedWindowTransformer(@IntRange(from = 0, to = 4999) final int windowInMillis) {<NEW_LINE>final long repeatCycleTimeInMillis = TimeUnit.SECONDS.toMillis(5);<NEW_LINE>// to be sure that it won't be negative<NEW_LINE>final long delayToNex...
delayToNextWindow, TimeUnit.MILLISECONDS, scheduler);
221,528
public Void visit(SqlCall call) {<NEW_LINE>// ignore window aggregates and ranking functions (associated with OVER<NEW_LINE>// operator)<NEW_LINE>if (call.getOperator().getKind() == SqlKind.OVER) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>if (call.getOperator().getKind() == SqlKind.FILTER) {<NEW_LINE>// the WHERE in a...
getOperandList().get(1);
695,498
private void beforeReactivate(@NonNull final I_C_Flatrate_DataEntry dataEntry) {<NEW_LINE>final String trxName = InterfaceWrapperHelper.getTrxName(dataEntry);<NEW_LINE>// We need this assumption, because we are going to delete a C_Invoice_Candidate and that needs to happen in the<NEW_LINE>// same trx in which we set da...
(dataEntry.getC_UOM_ID()));
35,193
public EvaluationResult evaluate(Security security, CalculationFunctions functions, String firstToken, List<String> remainingTokens) {<NEW_LINE>MetaBean metaBean = MetaBean.of(security.getClass());<NEW_LINE>// security<NEW_LINE>Optional<String> securityPropertyName = metaBean.metaPropertyMap().keySet().stream().filter(...
EvaluationResult.failure("Property '{}' not set", firstToken);
1,677,850
public void write(FieldBase field, Document doc) {<NEW_LINE><MASK><NEW_LINE>// save the position of the length in the buffer<NEW_LINE>int lenPos = buf.position();<NEW_LINE>// Temporary length, fill in after serialization is done.<NEW_LINE>buf.putInt(0);<NEW_LINE>doc.getId().serialize(this);<NEW_LINE>boolean hasHead = (...
buf.putShort(Document.SERIALIZED_VERSION);
751,859
public boolean notInCache(URL url, File file) {<NEW_LINE>try {<NEW_LINE>// valid for up to four hours.<NEW_LINE>final long validEpoch = Instant.now().toEpochMilli() - 14400000;<NEW_LINE>final File tmp = new File(url.getPath());<NEW_LINE>final String filename = tmp.getName();<NEW_LINE>final File cache = new File(setting...
= new File(cache, filename);
1,076,944
private static Color parseARGBColorComponents(String[] maybeNumbers) {<NEW_LINE>if (maybeNumbers.length < 4) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>final int[] argb = new int[4];<NEW_LINE>for (int i = 0; i < 4; ++i) {<NEW_LINE>final String maybeNumber = maybeNumbers[i].trim();<NEW_LINE>try {<NEW_LINE>if (maybeNumb...
.substring(2), 16);
740,071
private void tryDescribePreparedStatementByJDBC(final PostgreSQLPreparedStatement preparedStatement) throws SQLException {<NEW_LINE>if (!(connectionSession.getBackendConnection() instanceof JDBCBackendConnection)) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>MetaDataContexts metaDataContexts = ProxyContext.getInstance().getC...
), Collections.emptyList());
909,005
public RunState startTracking(IProgressMonitor monitor) throws Exception, OperationCanceledException {<NEW_LINE>// fetch an updated Cloud Application that reflects changes that<NEW_LINE>// were<NEW_LINE>// performed on it. Make sure the element element reference is updated<NEW_LINE>// as<NEW_LINE>// run state of the el...
timeout / (WAIT_TIME + roughEstimateFetchStatsms));
1,038,948
private void parseHeader(ByteBuf frame, Packet packet, PacketType innerType) {<NEW_LINE>int endIndex = frame.bytesBefore((byte) '[');<NEW_LINE>if (endIndex <= 0) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>int attachmentsDividerIndex = frame.bytesBefore(endIndex, (byte) '-');<NEW_LINE>boolean hasAttachments = attachmentsDiv...
nspAckId = readString(frame, endIndex);
449,816
private Registry<ConnectionSocketFactory> createConnectionSocketFactoryRegistry(SSLConfig sslConfig, URI dockerHost) {<NEW_LINE>RegistryBuilder<ConnectionSocketFactory> socketFactoryRegistryBuilder = RegistryBuilder.create();<NEW_LINE>if (sslConfig != null) {<NEW_LINE>try {<NEW_LINE>SSLContext sslContext = sslConfig.ge...
get(dockerHost.getPath());
1,743,204
private void manageToolbarSizes() {<NEW_LINE>// sometimes width is passed in as 0 (not sure why)<NEW_LINE>int width = getOffsetWidth();<NEW_LINE>if (width == 0)<NEW_LINE>return;<NEW_LINE>if (editor_.getFileType().isMarkdown()) {<NEW_LINE>toggleDocOutlineButton_.setText((!isVisualMode() || width >= 675) ? commands_.togg...
setText(width >= 450, knitCommandText_);
1,804,233
public static int readColorInt(ConfigurationNode node) throws NumberFormatException {<NEW_LINE>Object value = node.raw();<NEW_LINE>if (value == null)<NEW_LINE>throw new NumberFormatException("No value!");<NEW_LINE>if (value instanceof Number) {<NEW_LINE>return ((Number) value).intValue();<NEW_LINE>}<NEW_LINE><MASK><NEW...
String val = value.toString();
642,222
public void verifyNoTasksRunning(PrintWriter out) throws Exception {<NEW_LINE>List<TaskStatus<?>> results = new LinkedList<TaskStatus<?>>();<NEW_LINE>for (TaskStatus<?> status : scheduler.findTaskStatus("%", null, TaskState.SCHEDULED, true, null, null)) if (status.getNextExecutionTime().getTime() - System.currentTimeMi...
Date nextExecTime = status.getNextExecutionTime();
1,369,783
public boolean deleteChunks(Filter<?> filter, SelectionData selection) {<NEW_LINE>boolean deleted = false;<NEW_LINE>Point2i regionChunk = location.regionToChunk();<NEW_LINE>for (int i = 0; i < 1024; i++) {<NEW_LINE>RegionChunk region = this.region.getChunk(i);<NEW_LINE>EntitiesChunk entities = this.entities == null ? n...
this.poi.getChunk(i);
849,724
public static void main(String[] args) throws IOException, InterruptedException {<NEW_LINE>int port = 50051;<NEW_LINE>String hostname = null;<NEW_LINE>if (args.length >= 1) {<NEW_LINE>try {<NEW_LINE>port = Integer.parseInt(args[0]);<NEW_LINE>} catch (NumberFormatException ex) {<NEW_LINE>System.err.println("Usage: [port...
System.err.println(" hostname The name clients will see in greet responses. ");
291,182
public static DescribeDnsGtmInstancesResponse unmarshall(DescribeDnsGtmInstancesResponse describeDnsGtmInstancesResponse, UnmarshallerContext _ctx) {<NEW_LINE>describeDnsGtmInstancesResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmInstancesResponse.RequestId"));<NEW_LINE>describeDnsGtmInstancesResponse.setPageSize...
("DescribeDnsGtmInstancesResponse.GtmInstances[" + i + "].Config.StrategyMode"));
870,884
private JSONObject findProperty(final JSONObject parent, final String name) {<NEW_LINE>JSONArray properties = getJSONArrayProperty(parent, PROPERTIES);<NEW_LINE>if (properties != null) {<NEW_LINE>for (Object propertyTmp : properties) {<NEW_LINE>JSONObject property = (JSONObject) propertyTmp;<NEW_LINE>String propertyNam...
propertyName = getJSONStringProperty(property, NAME);
389,437
private static void checkPrint(@NotNull ProblemsHolder holder, @NotNull GoCallExpr callExpr, @NotNull GoFunctionOrMethodDeclaration declaration) {<NEW_LINE>List<GoExpression> arguments = callExpr.getArgumentList().getExpressionList();<NEW_LINE>GoExpression <MASK><NEW_LINE>if (firstArg == null)<NEW_LINE>return;<NEW_LINE...
firstArg = ContainerUtil.getFirstItem(arguments);
1,249,977
private void writeRun() throws IOException {<NEW_LINE>if (count > allowableBlockSize) {<NEW_LINE>endBlock();<NEW_LINE>initBlock();<NEW_LINE>}<NEW_LINE>inUse[currentByte] = true;<NEW_LINE>for (int i = 0; i < runLength; i++) {<NEW_LINE>mCrc.updateCRC(currentByte);<NEW_LINE>}<NEW_LINE>switch(runLength) {<NEW_LINE>case 1:<...
++count] = (byte) currentByte;
925,796
public static GetMediaDNAResultResponse unmarshall(GetMediaDNAResultResponse getMediaDNAResultResponse, UnmarshallerContext _ctx) {<NEW_LINE>getMediaDNAResultResponse.setRequestId(_ctx.stringValue("GetMediaDNAResultResponse.RequestId"));<NEW_LINE>DNAResult dNAResult = new DNAResult();<NEW_LINE>List<VideoDNAItem> videoD...
+ "].Detail[" + j + "].Duplication.Duration"));
898,633
public static DataSet<WeightedLeastSquaresModel> train(DataSet<Row> data, int numFeature, FamilyLink familyLink, double regParam, boolean fitIntercept, int numIter, double epsilon) {<NEW_LINE>FamilyFunction family = familyLink.getFamily();<NEW_LINE>LinkFunction link = familyLink.getLink();<NEW_LINE>DataSet<WeightedLeas...
(1).name("WLS");
907,477
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {<NEW_LINE>com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(this.getUnknownFields());<NEW_LINE>while (tru...
int length = input.readRawVarint32();
51,243
public void run(RegressionEnvironment env) {<NEW_LINE>sendTimer(env, 0);<NEW_LINE>String selectStmt = "@name('s0') select symbol, min(price) as minprice from SupportMarketDataBean" + "#time(10 seconds) group by symbol output snapshot every 1 seconds order by symbol asc";<NEW_LINE>env.compileDeploy(selectStmt).addListen...
String[] { "symbol", "minprice" };
1,770,065
protected boolean handleProcess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) throws LayerGenerationException {<NEW_LINE>for (Element e : roundEnv.getElementsAnnotatedWith(ConstrainedBinaryIndexer.Registration.class)) {<NEW_LINE>assert e<MASK><NEW_LINE>final ConstrainedBinaryIndexer.Registration re...
.getKind().isClass();
566,379
public void onBackupCollectFinished(boolean succeed, boolean empty, @NonNull List<SettingsItem> items, @NonNull List<RemoteFile> remoteFiles) {<NEW_LINE>FragmentActivity activity = getActivity();<NEW_LINE>if (AndroidUtils.isActivityNotDestroyed(activity)) {<NEW_LINE>toolbarLayout.setTitle(getString(R.string.restore_fro...
.getBackupHelper().getBackup();
884,728
public void update() {<NEW_LINE>super.update();<NEW_LINE>laser.iterateTexture();<NEW_LINE>if (worldObj.isRemote) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>// If a gate disabled us, remove laser and do nothing.<NEW_LINE>if (mode == IControllable.Mode.Off) {<NEW_LINE>removeLaser();<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>// Ch...
0, getMaxPowerSent(), false);
1,716,305
public void run() {<NEW_LINE>checkParams();<NEW_LINE>int numIters = 0;<NEW_LINE>int userWaitTimeMs = taskParams().waitTimeMs != 0 ? taskParams().waitTimeMs : UpgradeParams.DEFAULT_SLEEP_AFTER_RESTART_MS;<NEW_LINE>HostAndPort hp = getHostPort();<NEW_LINE>boolean isTserverTask = taskParams().serverType == ServerType.TSER...
e.getMessage(), numIters);
840,696
final DescribeContactFlowModuleResult executeDescribeContactFlowModule(DescribeContactFlowModuleRequest describeContactFlowModuleRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(describeContactFlowModuleRequest);<NEW_LINE><MASK><NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTime...
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
597,483
public RateLimitResponse isAllowByServer(String path) {<NEW_LINE>long currentTimeWindow = Instant<MASK><NEW_LINE>if (!serverTimeMap.containsKey(path)) {<NEW_LINE>synchronized (this) {<NEW_LINE>serverTimeMap.put(path, new ConcurrentHashMap<>());<NEW_LINE>}<NEW_LINE>}<NEW_LINE>LimitQuota limitQuota;<NEW_LINE>if (!config....
.now().getEpochSecond();
1,761,869
protected boolean checkSelector(@NotNull final SvgIcon icon, @NotNull final SVGElement element) {<NEW_LINE>final boolean match;<NEW_LINE>if (TextUtils.isEmpty(this.element) || this.element.equals("*")) {<NEW_LINE>match = true;<NEW_LINE>} else if (this.element.startsWith("#")) {<NEW_LINE>final String id = this.element.s...
this.element.substring(1);
1,170,494
public void performAction(Map<String, Object> objMap, Map<String, Object> resultMap, Collection<RuleActionValue> actionValues) {<NEW_LINE>// need to make sure that the result is true.<NEW_LINE>boolean result = (Boolean) resultMap.get(RuleConstants.RESULT);<NEW_LINE>if (result) {<NEW_LINE>String roles = null;<NEW_LINE>f...
JwtClaims) auditInfo.get("subject_claims");
1,452,897
public ShaderNodeDefinition findDefinition(Statement statement) throws IOException {<NEW_LINE>final String[] defLine = statement.getLine().split(":");<NEW_LINE>if (defLine.length != 3) {<NEW_LINE>throw new MatParseException("Can't find shader node definition for: ", statement);<NEW_LINE>}<NEW_LINE>final Map<String, Sha...
loadAsset(new ShaderNodeDefinitionKey(definitionPath));
446,610
public Request<DescribeStackResourceDriftsRequest> marshall(DescribeStackResourceDriftsRequest describeStackResourceDriftsRequest) {<NEW_LINE>if (describeStackResourceDriftsRequest == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>Request<DescribeStackReso...
request.addParameter("Action", "DescribeStackResourceDrifts");
922,097
public SabrFormulaData effectiveSabrBeforeStart(SabrFormulaData parameters, double tau0, double tau1) {<NEW_LINE>double alpha = parameters.getAlpha();<NEW_LINE>double beta = parameters.getBeta();<NEW_LINE>double rho = parameters.getRho();<NEW_LINE>double nu = parameters.getNu();<NEW_LINE>double tau = 2 * q * tau0 + tau...
(6 * q + 4));
908,136
protected void introspectAll(FFDCLogger info) {<NEW_LINE>info.append(this.toString());<NEW_LINE>// Allow any wrapper specific info to be inserted first.<NEW_LINE>introspectWrapperSpecificInfo(info);<NEW_LINE>// Display generic information.<NEW_LINE>info.append(<MASK><NEW_LINE>info.append("Parent wrapper:", parentWrappe...
"Wrapper State: ", state.name());
291,596
public void marshall(CloudFormationStackRecord cloudFormationStackRecord, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (cloudFormationStackRecord == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(cloudForm...
cloudFormationStackRecord.getArn(), ARN_BINDING);
904,074
protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {<NEW_LINE>Map<String, Object> map = new HashMap<>();<NEW_LINE>User user = securityService.getCurrentUser(request);<NEW_LINE><MASK><NEW_LINE>UserSettings userSettings = settingsService.getUserSettings...
String username = user.getUsername();
423,963
public RubyHash rehash(ThreadContext context) {<NEW_LINE>if (iteratorCount > 0) {<NEW_LINE>throw context.runtime.newRuntimeError("rehash during iteration");<NEW_LINE>}<NEW_LINE>modify();<NEW_LINE>final RubyHashEntry[] oldTable = table;<NEW_LINE>final RubyHashEntry[] newTable = new RubyHashEntry[oldTable.length];<NEW_LI...
bucketIndex(newHash, newTable.length);
1,733,090
public Object createResultObject(List<Object> fields) throws CodingException {<NEW_LINE>if (fields.size() != count()) {<NEW_LINE>throw new CodingException("Invalid field number for create object " + ". Needs " + count() + " fields, while having " + fields.size() + " fields.");<NEW_LINE>}<NEW_LINE>switch(objectType) {<N...
.get(i), i);
1,065,599
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {<NEW_LINE><MASK><NEW_LINE>// noinspection ConstantConditions<NEW_LINE>mRecyclerView = getView().findViewById(R.id.recycler_view);<NEW_LINE>mLayoutManager = new LinearLayoutManager(requireContext());<NEW_LINE>final Parcelable eimSavedSta...
super.onViewCreated(view, savedInstanceState);
504,324
private static StringBuilder filterTableProperties(final String properties) {<NEW_LINE>// splitting the string at = and blanks<NEW_LINE>final String[] values = properties.replaceAll("&quot;", EMPTY).split("[= ]");<NEW_LINE>final StringBuilder stringBuilder = new StringBuilder(properties.length());<NEW_LINE>String key, ...
values[i].trim();
1,166,012
public void onResume() {<NEW_LINE>super.onResume();<NEW_LINE>// TODO [alex] LargeScreenSupport -- Remove these lines.<NEW_LINE><MASK><NEW_LINE>WindowUtil.setLightStatusBarFromTheme(requireActivity());<NEW_LINE>EventBus.getDefault().register(this);<NEW_LINE>initializeIdentityRecords();<NEW_LINE>composeText.setTransport(...
WindowUtil.setLightNavigationBarFromTheme(requireActivity());
164,235
private static void patchWithGitApply(Path rootDir, byte[] diffContents, ImmutableList<String> excludedPaths, int stripSlashes, boolean verbose, boolean reverse, Map<String, String> environment, @Nullable Path gitDir) throws IOException, InsideGitDirException {<NEW_LINE>GitEnvironment gitEnv = new GitEnvironment(enviro...
params.add("--exclude", excludedPath);
1,496,646
public static void main(String[] args) {<NEW_LINE>try {<NEW_LINE>TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());<NEW_LINE>KeyStore trustStore = KeyStore.getInstance(JKS);<NEW_LINE>char[] ksPwd = new char[] { 0x63, 0x6C, 0x69, 0x65, 0x6E, 0x74, 0x5F, 0x6B, 0x73, 0x5F...
init(km, tm, null);
1,063,812
private LimitQueryDeterminismAnalysis analyzeInternal() {<NEW_LINE>if (!enabled) {<NEW_LINE>return NOT_RUN;<NEW_LINE>}<NEW_LINE>Query query;<NEW_LINE>// A query is rewritten to either an Insert or a CreateTableAsSelect<NEW_LINE>if (statement instanceof Insert) {<NEW_LINE>query = ((<MASK><NEW_LINE>} else if (statement i...
Insert) statement).getQuery();
1,221,456
private void initializeView(AttributeSet attrs, int defStyleAttr) {<NEW_LINE>if (attrs != null && !isInEditMode()) {<NEW_LINE>final TypedArray attributes = mContext.getTheme().obtainStyledAttributes(attrs, R.styleable.PinCodeView, defStyleAttr, 0);<NEW_LINE>mEmptyDotDrawableId = attributes.getDrawable(R.styleable.PinCo...
mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);