idx
int32
46
1.86M
input
stringlengths
321
6.6k
target
stringlengths
9
1.24k
203,271
public void configure(Context context) {<NEW_LINE>this.context = context;<NEW_LINE>this.reloadInterval = context.getLong(RELOAD_INTERVAL, 60000L);<NEW_LINE>String loaderType = context.getString(IDTOPIC_CONFIG_TYPE, ContextIdTopicConfigLoader.class.getName());<NEW_LINE>LOG.info("Init IdTopicConfigLoader,loaderType:{}", ...
loaderClass = ClassUtils.getClass(loaderType);
1,498,863
private static void tryAssertionSum(RegressionEnvironment env) {<NEW_LINE>String[] fields = new String[] { "symbol", "volume", "mySum" };<NEW_LINE>env.assertPropsPerRowIteratorAnyOrder("s0", fields, null);<NEW_LINE>// assert select result type<NEW_LINE>env.assertStatement("s0", statement -> {<NEW_LINE>assertEquals(Stri...
env, SYMBOL_DELL, 20000, 52);
998,549
protected void contentsCreated() {<NEW_LINE>super.contentsCreated();<NEW_LINE>if (fPane == null) {<NEW_LINE>try {<NEW_LINE>// $NON-NLS-1$<NEW_LINE>Field f = CompareEditorInput.class.getDeclaredField("fContentInputPane");<NEW_LINE>f.setAccessible(true);<NEW_LINE>fPane = (CompareViewerSwitchingPane) f.get(this);<NEW_LINE...
getCurrentTheme().getForeground());
1,854,360
final DescribeTargetGroupAttributesResult executeDescribeTargetGroupAttributes(DescribeTargetGroupAttributesRequest describeTargetGroupAttributesRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(describeTargetGroupAttributesRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionC...
DescribeTargetGroupAttributesResult>(new DescribeTargetGroupAttributesResultStaxUnmarshaller());
802,046
public void marshall(CreateApplicationRequest createApplicationRequest, ProtocolMarshaller protocolMarshaller) {<NEW_LINE>if (createApplicationRequest == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>try {<NEW_LINE>protocolMarshaller.marshall(createApplic...
createApplicationRequest.getPlatforms(), PLATFORMS_BINDING);
1,164,358
public void connect() throws IOException {<NEW_LINE>channel = new OChannelBinarySynchClient(remoteHost, remotePort, null, contextConfig, OChannelBinaryProtocol.CURRENT_PROTOCOL_VERSION);<NEW_LINE>networkOperation(OChannelBinaryProtocol.DISTRIBUTED_CONNECT, () -> {<NEW_LINE>ODistributedConnectRequest request = new ODist...
request.write(channel, null);
831,871
public void dispatchResourceLoadEvent(long frame, int state, String url, String contentType, double progress, int errorCode) {<NEW_LINE>final Settings settings = SettingsManager.settings();<NEW_LINE>if (settings == null) {<NEW_LINE>throw new RuntimeException("Request made after browser closed. Ignoring...");<NEW_LINE>}...
resources.remove(frame + original);
529,618
private void initializePlainTCPTransport(NewNettyMQTTHandler handler, IConfig props) {<NEW_LINE>LOG.debug("Configuring TCP MQTT transport");<NEW_LINE><MASK><NEW_LINE>String host = props.getProperty(BrokerConstants.HOST_PROPERTY_NAME);<NEW_LINE>String tcpPortProp = props.getProperty(PORT_PROPERTY_NAME, DISABLED_PORT_BIN...
final MoquetteIdleTimeoutHandler timeoutHandler = new MoquetteIdleTimeoutHandler();
1,415,723
public void run() {<NEW_LINE>try {<NEW_LINE>File file = new File(query.getDescription());<NEW_LINE>if (file.isFile() && !file.canWrite()) {<NEW_LINE>ProfilerDialogs.<MASK><NEW_LINE>return;<NEW_LINE>}<NEW_LINE>Files.write(file.toPath(), query.getScript().getBytes());<NEW_LINE>SwingUtilities.invokeLater(new Runnable() {<...
displayError(Bundle.OQLQueries_InvalidScript());
925,049
private void initComponentsI18n() {<NEW_LINE>// JFormDesigner - Component i18n initialization - DO NOT MODIFY //GEN-BEGIN:initI18n<NEW_LINE>DefaultComponentFactory.setTextAndMnemonic(_titleAppearance, SikuliIDEI18N._I("PreferencesWin.titleAppearance.textWithMnemonic"));<NEW_LINE>DefaultComponentFactory.setTextAndMnemo...
(SikuliIDEI18N._I("prefCaptureHotkey"));
1,640,627
public ResponseEntity<? extends Object> torznabapi(NewznabParameters params) throws Exception {<NEW_LINE>if (params.getT() == ActionAttribute.CAPS) {<NEW_LINE>return new ResponseEntity<Object>(NewznabMockBuilder.<MASK><NEW_LINE>}<NEW_LINE>String titleBase = params.getQ() + "_" + params.getApikey();<NEW_LINE>if (!params...
getCaps(), HttpStatus.OK);
1,623,003
private void markEndpointUnavailable(URI unavailableEndpoint, OperationType unavailableOperationType) {<NEW_LINE><MASK><NEW_LINE>LocationUnavailabilityInfo updatedInfo = this.locationUnavailabilityInfoByEndpoint.compute(unavailableEndpoint, new BiFunction<URI, LocationUnavailabilityInfo, LocationUnavailabilityInfo>() {...
Instant currentTime = Instant.now();
957,792
private // converts them to proto, then exports them to OC-Agent.<NEW_LINE>void export() {<NEW_LINE>if (exportRpcHandler == null || exportRpcHandler.isCompleted()) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>ArrayList<Metric> metricsList = Lists.newArrayList();<NEW_LINE>for (MetricProducer metricProducer : metricProducerMan...
addAll(metricProducer.getMetrics());
1,001,179
private void revokeInternal(UserIdentity userIdent, String role, ResourcePattern resourcePattern, PrivBitSet privs, boolean errOnNonExist, boolean isReplay) throws DdlException {<NEW_LINE>writeLock();<NEW_LINE>try {<NEW_LINE>if (role != null) {<NEW_LINE>// revoke privs from role<NEW_LINE>PaloRole existingRole = roleMan...
user, resourcePattern, privs, false);
1,463,171
protected void init_unixsock(Ruby runtime, IRubyObject _path, boolean server) {<NEW_LINE>RubyString strPath = unixsockPathValue(runtime, _path);<NEW_LINE>ByteList path = strPath.getByteList();<NEW_LINE>String fpath = Helpers.decodeByteList(runtime, path);<NEW_LINE>// Max size from Darwin, lowest common value we know of...
(new File(fpath)));
1,174,496
private static Event ionStreamToEvent(IonReader ionReader) throws IllegalStateException {<NEW_LINE>if (ionReader.getType() == null)<NEW_LINE>throw new IllegalStateException("Can't convert ionReader null type to Event");<NEW_LINE>IonType ionType = ionReader.getType();<NEW_LINE>SymbolToken fieldName = ionReader.getFieldN...
int depth = ionReader.getDepth();
1,642,003
public void onResume() {<NEW_LINE>super.onResume();<NEW_LINE>if (thermoSensor.playingData) {<NEW_LINE>sensorLabel.setText(getResources().getString(R.string.thermometer));<NEW_LINE>recordedThermoArray = new ArrayList<>();<NEW_LINE>resetInstrumentData();<NEW_LINE>playRecordedData();<NEW_LINE>} else if (thermoSensor.viewi...
(R.string.thermometer));
1,264,134
public void accept(SnippetRun snippetRun) throws PolyglotException {<NEW_LINE>List<? extends Value> parameters = snippetRun.getParameters();<NEW_LINE><MASK><NEW_LINE>Value par0 = parameters.get(0);<NEW_LINE>Value par1 = parameters.get(1);<NEW_LINE>if (isStringMul(par0, par1) || isStringMul(par1, par0)) {<NEW_LINE>// st...
assert parameters.size() == 2;
344,868
private void configureMQTTPipeline(ChannelPipeline pipeline, MoquetteIdleTimeoutHandler timeoutHandler, NewNettyMQTTHandler handler) {<NEW_LINE>pipeline.addFirst("idleStateHandler", new IdleStateHandler(nettyChannelTimeoutSeconds, 0, 0));<NEW_LINE>pipeline.addAfter("idleStateHandler", "idleEventHandler", timeoutHandler...
"wizardMetrics", metrics.get());
1,426,565
public static void main(String[] args) {<NEW_LINE>serverStartTime = System.currentTimeMillis();<NEW_LINE>HealthSupport health = HealthSupport.builder().addLiveness(HealthChecks.healthChecks()).addReadiness(() -> HealthCheckResponse.named("exampleHealthCheck").up().withData("time", System.currentTimeMillis()).build()).a...
("Hello World!")).build();
1,119,847
private void onTick(TickEvent.Post event) {<NEW_LINE>voidHoles.clear();<NEW_LINE>if (PlayerUtils.getDimension() == Dimension.End)<NEW_LINE>return;<NEW_LINE>int px = mc.player.getBlockPos().getX();<NEW_LINE>int pz = mc.player.getBlockPos().getZ();<NEW_LINE>int radius = horizontalRadius.get();<NEW_LINE>for (int x = px - ...
), z), false));
1,417,243
public boolean process(List<Point2D_F64> observations, List<Se3_F64> listWorldToView, Point4D_F64 worldPt, Point4D_F64 refinedPt) {<NEW_LINE>cameras.resize(listWorldToView.size());<NEW_LINE>for (int i = 0; i < cameras.size; i++) {<NEW_LINE>PerspectiveOps.convertToMatrix(listWorldToView.get(i), cameras.get(i));<NEW_LINE...
param[3] = worldPt.w;
1,599,795
public static DescribeReservedInstancesResponse unmarshall(DescribeReservedInstancesResponse describeReservedInstancesResponse, UnmarshallerContext _ctx) {<NEW_LINE>describeReservedInstancesResponse.setRequestId(_ctx.stringValue("DescribeReservedInstancesResponse.RequestId"));<NEW_LINE>describeReservedInstancesResponse...
(_ctx.integerValue("DescribeReservedInstancesResponse.PageSize"));
1,132,095
private static Map<String, List<CardInfo>> generateBasicLands(List<String> setsToUse) {<NEW_LINE>Set<String> landSets = TournamentUtil.getLandSetCodeForDeckSets(setsToUse);<NEW_LINE>CardCriteria criteria = new CardCriteria();<NEW_LINE>if (!landSets.isEmpty()) {<NEW_LINE>criteria.setCodes(landSets.toArray(new String[lan...
.LAND).name(landName);
1,638,367
static private void loadStackAnalyzedInfo(StackFileInfo stackFileInfo) {<NEW_LINE>File file = null;<NEW_LINE>StackAnalyzedInfo analyzedInfo = null;<NEW_LINE>try {<NEW_LINE>analyzedInfo = readStackAnalyzedInfo(stackFileInfo, file, StackParser.TOP_NAME, StackParser.TOP_EXT);<NEW_LINE>if (analyzedInfo != null)<NEW_LINE>st...
StackParser.UNIQUE_NAME, StackParser.UNIQUE_EXT);
845,558
private RemotingCommand queryCorrectionOffset(ChannelHandlerContext ctx, RemotingCommand request) throws RemotingCommandException {<NEW_LINE>final RemotingCommand response = RemotingCommand.createResponseCommand(null);<NEW_LINE>QueryCorrectionOffsetHeader requestHeader = (QueryCorrectionOffsetHeader) request.decodeComm...
Integer queueId = entry.getKey();
1,216,562
// -----------------------------------------------------<NEW_LINE>// Actually Crud<NEW_LINE>// -------------<NEW_LINE>@Execute<NEW_LINE>@Secured({ ROLE })<NEW_LINE>public HtmlResponse create(final CreateForm form) {<NEW_LINE>verifyCrudMode(form.crudMode, CrudMode.CREATE, form.dictId);<NEW_LINE>validate(form, messages -...
store(form.dictId, entity);
68,357
private void drawBackground(MatrixStack matrixStack, int x2, int x3, int y1, int y2) {<NEW_LINE>float[] bgColor = GUI.getBgColor();<NEW_LINE><MASK><NEW_LINE>Matrix4f matrix = matrixStack.peek().getPositionMatrix();<NEW_LINE>BufferBuilder bufferBuilder = Tessellator.getInstance().getBuffer();<NEW_LINE>RenderSystem.setSh...
float opacity = GUI.getOpacity();
1,344,595
private void singleLine(float x1, float y1, float x2, float y2, int color) {<NEW_LINE>float r = strokeWeight * 0.5f;<NEW_LINE>float dx = x2 - x1;<NEW_LINE>float dy = y2 - y1;<NEW_LINE>float d = PApplet.sqrt(dx * dx + dy * dy);<NEW_LINE>float tx = dy / d * r;<NEW_LINE>float ty = dx / d * r;<NEW_LINE>if (strokeCap == PRO...
c = PApplet.cos(step);
616,121
public boolean onCreateOptionsMenu(Menu menu) {<NEW_LINE>MenuInflater inflater = getMenuInflater();<NEW_LINE>inflater.inflate(R.menu.search_activity, menu);<NEW_LINE>// Get the SearchView and set the searchable configuration<NEW_LINE>SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE)...
ImageView) searchView.findViewById(searchImgId);
285,250
public Request<UntagServerCertificateRequest> marshall(UntagServerCertificateRequest untagServerCertificateRequest) {<NEW_LINE>if (untagServerCertificateRequest == null) {<NEW_LINE>throw new SdkClientException("Invalid argument passed to marshall(...)");<NEW_LINE>}<NEW_LINE>Request<UntagServerCertificateRequest> reques...
request.addParameter("Version", "2010-05-08");
452,038
public static KeyValuePart[] split(MatrixMeta matrixMeta, Vector vector) {<NEW_LINE>KeyHash hasher = HasherFactory.getHasher(matrixMeta.getRouterHash());<NEW_LINE>PartitionKey[] matrixParts = matrixMeta.getPartitionKeys();<NEW_LINE>KeyValuePart[] dataParts = new KeyValuePart[matrixParts.length];<NEW_LINE>int estSize = ...
vector.getType(), estSize);
1,711,219
public static String prettyPrint2D(Edit[][] m) {<NEW_LINE>StringBuilder sb = new StringBuilder();<NEW_LINE>int rows = m.length;<NEW_LINE>int columns = m[0].length;<NEW_LINE>// ins(1,2,3,4) --> size is 12<NEW_LINE>int size = 12 + 4;<NEW_LINE>for (int i = 0; i < size / 2; i++) sb.append(" ");<NEW_LINE>String spaces = sb....
append(spaces + i + spaces);
312,223
public static org.osmdroid.views.overlay.Polygon addPolygonToMap(MapView map, List<GeoPoint> pts, List<List<GeoPoint>> holes, PolygonOptions options) {<NEW_LINE>org.osmdroid.views.overlay.Polygon polygon1 = new org.osmdroid.views.overlay.Polygon(map);<NEW_LINE>polygon1.setPoints(pts);<NEW_LINE>polygon1.<MASK><NEW_LINE>...
getHoles().addAll(holes);
501,812
final GetWorkingLocationResult executeGetWorkingLocation(GetWorkingLocationRequest getWorkingLocationRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(getWorkingLocationRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>awsRequestMetri...
addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
1,122,077
public void run() {<NEW_LINE>Preferences p = NbPreferences.forModule(InstallLibraryTask.class);<NEW_LINE>if (p.getBoolean(KEY, false)) {<NEW_LINE>// Only check once (i.e. on first start for a fresh user dir).<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>p.putBoolean(KEY, true);<NEW_LINE>// find licenseAcceptedFile<NEW_LINE>// ...
toFileObject(licenseAcceptedFile).asText();
484,513
public static void createAndRegister() {<NEW_LINE>SubstrateTargetDescription target = ConfigurationValues.getTarget();<NEW_LINE>SubstrateRegisterConfig registerConfig = new SubstrateAArch64RegisterConfig(SubstrateRegisterConfig.ConfigKind.NORMAL, null, target, SubstrateOptions.PreserveFramePointer.getValue());<NEW_LINE...
calleeSavedRegisterOffsets = new HashMap<>();
134,552
private Person parsePerson(final String baseURI, final Element ePerson, final Locale locale) {<NEW_LINE>final Person person = new Person();<NEW_LINE>final Element name = ePerson.getChild("name", getAtomNamespace());<NEW_LINE>if (name != null) {<NEW_LINE>person.setName(name.getText());<NEW_LINE>}<NEW_LINE>final Element ...
getChild("email", getAtomNamespace());
1,062,338
public static String diagramToXml(Diagram diagram) {<NEW_LINE>Document doc = XMLParser.createDocument();<NEW_LINE>Element diagramElement = doc.createElement(DIAGRAM);<NEW_LINE>diagramElement.setAttribute(ATTR_PROGRAM, "umletino");<NEW_LINE>diagramElement.setAttribute(ATTR_VERSION, BuildInfoProperties.getVersion());<NEW...
.getZoomLevel()))));
5,723
private void updateColumnItem(TableItem attrItem) {<NEW_LINE>DBDAttributeBinding attr = (DBDAttributeBinding) attrItem.getData();<NEW_LINE>String transformStr = "";<NEW_LINE>DBVEntityAttribute vAttr = vEntity.getVirtualAttribute(attr, false);<NEW_LINE>if (vAttr != null) {<NEW_LINE>DBVTransformSettings transformSettings...
attrItem.setText(1, transformStr);
1,056,641
private Map<String, AccessElements> findMatchingResult(Map<String, ExecutableElement> setters, Map<String, ExecutableElement> getters, Map<String, VariableElement> arguments, Map<String, AccessElements> fieldDetails) {<NEW_LINE>Map<String, AccessElements> result = new HashMap<String, AccessElements>();<NEW_LINE>for (Ma...
!= null ? field.annotation : null;
218,525
public static byte[] decode(CharSequence in) {<NEW_LINE>int inLength = in.length();<NEW_LINE>int nGroups = inLength / 4;<NEW_LINE>if (inLength != 4 * nGroups) {<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>int missingBytesInLastGroup = 0;<NEW_LINE>int nFullGroups = nGroups;<NEW_LINE>if (inLength != 0) {<NEW_LINE>if (in.ch...
in.charAt(inIndex++)];
877,415
public GetTargetResourceTypeResult unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>GetTargetResourceTypeResult getTargetResourceTypeResult = new GetTargetResourceTypeResult();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE><MASK><NEW_LINE>int targetDepth = originalDepth + 1;<NE...
String currentParentElement = context.getCurrentParentElement();
1,646,697
public RegexMatchTuple unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>RegexMatchTuple regexMatchTuple = new RegexMatchTuple();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE><MASK><NEW_LINE>int targetDepth = originalDepth + 1;<NEW_LINE>JsonToken token = context.getCurrentToken...
String currentParentElement = context.getCurrentParentElement();
827,997
public static void load() throws FileNotFoundException, IOException, NumberFormatException {<NEW_LINE>Properties properties = new Properties();<NEW_LINE>properties.<MASK><NEW_LINE>if (properties.containsKey("KALDI_HOST"))<NEW_LINE>KALDI_HOST = properties.getProperty("KALDI_HOST");<NEW_LINE>if (properties.containsKey("K...
loadFromXML(new FileInputStream(PROPERTY_FILE));
1,707,867
final MoveAddressToVpcResult executeMoveAddressToVpc(MoveAddressToVpcRequest moveAddressToVpcRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(moveAddressToVpcRequest);<NEW_LINE><MASK><NEW_LINE>awsRequestMetrics.startEvent(Field.ClientExecuteTime);<NEW_LINE>Request<MoveAddressToVpcRequest> ...
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
613,081
void finishCleanup() {<NEW_LINE>ExecutorService localCleanupService;<NEW_LINE>synchronized (this) {<NEW_LINE>if (isActive(Thread.currentThread())) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>localCleanupService = cleanupExecutorService;<NEW_LINE>}<NEW_LINE>if (localCleanupService != null) {<NEW_LINE>try {<NEW_LINE>try {<NEW...
Level.INFO, "Waiting for polyglot context cleanup was interrupted!", ie);
672,112
private void drawShadow(Canvas canvas, View child) {<NEW_LINE>int <MASK><NEW_LINE>if ((movingEdge & EDGE_LEFT) != 0) {<NEW_LINE>mShadowLeft.setBounds(child.getLeft() - mShadowLeft.getIntrinsicWidth(), child.getTop(), child.getLeft(), child.getBottom());<NEW_LINE>mShadowLeft.setAlpha((int) (mScrimOpacity * FULL_ALPHA));...
movingEdge = mViewMoveAction.getEdge(mCurrentDragDirection);
1,067,872
private ImmutableList<BakedQuad> buildQuads(IModelData data) {<NEW_LINE>List<BakedQuad<MASK><NEW_LINE>ItemStack shader = ItemStack.EMPTY;<NEW_LINE>ShaderCase sCase = null;<NEW_LINE>IOBJModelCallback callback = null;<NEW_LINE>Object callbackObject = null;<NEW_LINE>LazyOptional<ShaderWrapper> shaderOpt = tempStack.getCap...
> quads = Lists.newArrayList();
420,014
public static void applySortOrder(final Set<String> view, final String orderString) {<NEW_LINE>final List<String> <MASK><NEW_LINE>if ("alphabetic".equals(orderString)) {<NEW_LINE>// copy elements to list for sorting<NEW_LINE>list.addAll(view);<NEW_LINE>// sort alphabetically<NEW_LINE>Collections.sort(list);<NEW_LINE>} ...
list = new LinkedList<>();
729,892
public ItemStack assemble(CraftingContainer inv) {<NEW_LINE>int[] colourArray = new int[3];<NEW_LINE>int j = 0;<NEW_LINE>int totalColourSets = 0;<NEW_LINE>ItemStack bullet = ItemStack.EMPTY;<NEW_LINE>for (int i = 0; i < inv.getContainerSize(); i++) {<NEW_LINE>ItemStack stackInSlot = inv.getItem(i);<NEW_LINE>if (!stackI...
.max(g, b));
245,250
private boolean maybeWriteResponseMetadata(HttpResponse responseMetadata, GenericFutureListener<ChannelFuture> listener) {<NEW_LINE>long writeProcessingStartTime = System.currentTimeMillis();<NEW_LINE>boolean writtenThisTime = false;<NEW_LINE>if (ctx.channel().isActive() && responseMetadataWriteInitiated.compareAndSet(...
= System.currentTimeMillis() - writeProcessingStartTime;
1,661,560
public static CreateDataModelResponse unmarshall(CreateDataModelResponse createDataModelResponse, UnmarshallerContext _ctx) {<NEW_LINE>createDataModelResponse.setRequestId(_ctx.stringValue("CreateDataModelResponse.RequestId"));<NEW_LINE>Data data = new Data();<NEW_LINE>data.setCreateTime(_ctx.stringValue("CreateDataMod...
(_ctx.mapValue("CreateDataModelResponse.Data.Props"));
1,034,805
private void updateParameters() {<NEW_LINE>StringBuilder builder = new StringBuilder();<NEW_LINE>builder.append("Hummer SDK Version: ");<NEW_LINE>builder.append(BuildConfig.VERSION_NAME);<NEW_LINE>builder.append("\n\n\n");<NEW_LINE>Object env = hummerContext.<MASK><NEW_LINE>if (env != null) {<NEW_LINE>builder.append("H...
getJsContext().evaluateJavaScript("JSON.stringify(Hummer.env)");
140,168
public io.kubernetes.client.proto.V1Scheduling.PriorityClassList buildPartial() {<NEW_LINE>io.kubernetes.client.proto.V1Scheduling.PriorityClassList result = new io.kubernetes.client.proto.V1Scheduling.PriorityClassList(this);<NEW_LINE>int from_bitField0_ = bitField0_;<NEW_LINE>int to_bitField0_ = 0;<NEW_LINE>if (((fro...
util.Collections.unmodifiableList(items_);
1,819,589
private static boolean validQueryConditionValues(HugeGraph graph, ConditionQuery query) {<NEW_LINE>Set<Id> keys = query.userpropKeys();<NEW_LINE>for (Id key : keys) {<NEW_LINE>PropertyKey pk = graph.propertyKey(key);<NEW_LINE>Set<Object> values = query.userpropValues(key);<NEW_LINE>E.checkState(!values.isEmpty(), "Expe...
(key).relation());
1,674,349
public static DescribeLiveDomainTimeShiftDataResponse unmarshall(DescribeLiveDomainTimeShiftDataResponse describeLiveDomainTimeShiftDataResponse, UnmarshallerContext _ctx) {<NEW_LINE>describeLiveDomainTimeShiftDataResponse.setRequestId(_ctx.stringValue("DescribeLiveDomainTimeShiftDataResponse.RequestId"));<NEW_LINE>Lis...
= new ArrayList<DataModule>();
371,670
public static byte[] toJson(OsVersionChange change) {<NEW_LINE>var slime = new Slime();<NEW_LINE><MASK><NEW_LINE>var targetsObject = object.setArray(TARGETS_FIELD);<NEW_LINE>change.targets().forEach((nodeType, target) -> {<NEW_LINE>var targetObject = targetsObject.addObject();<NEW_LINE>targetObject.setString(NODE_TYPE_...
var object = slime.setObject();
509,701
public void runChecks() {<NEW_LINE>CssSource source = null;<NEW_LINE>try {<NEW_LINE>if (this.mode == Mode.FILE && !context.ocf.get().hasEntry(path)) {<NEW_LINE>report.message(MessageId.RSC_001, EPUBLocation.create(context.ocf.get().getName()), path);<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>CSSHandler handler = new CSSHand...
handler.setStartingLineNumber(this.line);
365,432
public void configure(Map<String, ?> configs) {<NEW_LINE>super.configure(configs);<NEW_LINE>_violatedGoalsByFixability = new HashMap<>();<NEW_LINE>_optimizationResult = null;<NEW_LINE>KafkaCruiseControl kafkaCruiseControl = extractKafkaCruiseControlObjectFromConfig(configs, GOAL_VIOLATION);<NEW_LINE>KafkaCruiseControlC...
allowCapacityEstimation = config.getBoolean(ANOMALY_DETECTION_ALLOW_CAPACITY_ESTIMATION_CONFIG);
1,192,738
public OrderedCollection<PortChangeEvent> handlePortStatusMessage(OFPortStatus ps) {<NEW_LINE>if (ps == null) {<NEW_LINE>throw new NullPointerException("OFPortStatus message must " + "not be null");<NEW_LINE>}<NEW_LINE>lock.writeLock().lock();<NEW_LINE>try {<NEW_LINE>OFPortDesc port = ps.getDesc();<NEW_LINE><MASK><NEW_...
OFPortReason reason = ps.getReason();
1,703,801
private BlockParsedResult parseNumericBlock() throws FormatException {<NEW_LINE>while (isStillNumeric(current.getPosition())) {<NEW_LINE>DecodedNumeric numeric = decodeNumeric(current.getPosition());<NEW_LINE>current.setPosition(numeric.getNewPosition());<NEW_LINE>if (numeric.isFirstDigitFNC1()) {<NEW_LINE>DecodedInfor...
append(numeric.getSecondDigit());
1,634,081
public void testTransferWithMBean(HttpServletRequest request, HttpServletResponse response) throws Exception {<NEW_LINE>String jndiName = request.getParameter("jndiName");<NEW_LINE>String[] <MASK><NEW_LINE>PersistentExecutor executor = InitialContext.doLookup(jndiName);<NEW_LINE>DataSource ds = InitialContext.doLookup(...
taskIds = request.getParameterValues("taskId");
187,305
private static String createJavapTaskFromArguments(String fqClassName, String[] args) throws Exception {<NEW_LINE>String byteCodeString = null;<NEW_LINE>if (classJavapTask != null) {<NEW_LINE>Constructor<?> constructor = classJavapTask.getDeclaredConstructor();<NEW_LINE><MASK><NEW_LINE>Method methodSetLog = classJavapT...
Object javapObject = constructor.newInstance();
752,481
public static BatchInsertItemsResponse unmarshall(BatchInsertItemsResponse batchInsertItemsResponse, UnmarshallerContext _ctx) {<NEW_LINE>batchInsertItemsResponse.setRequestId(_ctx.stringValue("BatchInsertItemsResponse.RequestId"));<NEW_LINE>batchInsertItemsResponse.setErrorMessage(_ctx.stringValue("BatchInsertItemsRes...
(_ctx.stringValue("BatchInsertItemsResponse.Code"));
362,476
private boolean visit(List<SQLInsertStatement.ValuesClause> valuesList) {<NEW_LINE>boolean isBatch = false;<NEW_LINE>List<SQLInsertStatement.ValuesClause> newValuesList = convertToSingleValuesIfNeed(valuesList);<NEW_LINE>if (newValuesList.size() < valuesList.size()) {<NEW_LINE>isBatch = true;<NEW_LINE>valuesList = newV...
get(j).getValues();
1,018,978
public void run() {<NEW_LINE>long lastTime = Long.MIN_VALUE + 1;<NEW_LINE>for (final Memory record : records) {<NEW_LINE>long time = jfrModel.nsToAbsoluteMillis(record.time);<NEW_LINE>if (time <= lastTime)<NEW_LINE>time = lastTime + 1;<NEW_LINE>chartSupport.addValues(time, new long<MASK><NEW_LINE>lastTime = time;<NEW_L...
[] { record.value });
834,236
private void updateView() {<NEW_LINE>controlsMap.clear();<NEW_LINE>MonthView view = getSkinnable();<NEW_LINE>gridPane.getChildren().clear();<NEW_LINE>displayedYearMonth = view.getYearMonth();<NEW_LINE>WeekFields weekFields = view.getWeekFields();<NEW_LINE>DayOfWeek dayOfWeek = weekFields.getFirstDayOfWeek();<NEW_LINE>i...
GridPane.setHgrow(dayOfWeekLabel, ALWAYS);
93,145
private void editValues(PlayerProfile profile) {<NEW_LINE>mcMMO.p.debug("========================================================================");<NEW_LINE>mcMMO.p.debug("Conversion report for " + <MASK><NEW_LINE>for (PrimarySkillType primarySkillType : SkillTools.NON_CHILD_SKILLS) {<NEW_LINE>int oldLevel = profile.g...
profile.getPlayerName() + ":");
357,716
public void bindingChanged(BindingProvider provider, String itemName) {<NEW_LINE>if (provider instanceof DigitalSTROMBindingProvider) {<NEW_LINE>// remove device associated with the item<NEW_LINE>Device device = deviceMap.get(itemName);<NEW_LINE>if (device != null) {<NEW_LINE>List<String> itemNamesForDsid = getItemName...
confItem.dsid.getValue());
322,691
private void fillSegment(FillBlock filler, Position position) {<NEW_LINE>Block addressBlock = null, inputBlock = null;<NEW_LINE>boolean dataIndependentAddressing = isDataIndependentAddressing(position);<NEW_LINE>int startingIndex = getStartingIndex(position);<NEW_LINE>int currentOffset = position.lane * laneLength <MAS...
+ position.slice * segmentLength + startingIndex;
1,660,433
public Object calculate(Context ctx) {<NEW_LINE>IParam param = this.param;<NEW_LINE>Expression[] exps = null;<NEW_LINE>String[] names = null;<NEW_LINE>String[] removeCols = null;<NEW_LINE>if (param == null) {<NEW_LINE>MessageManager mm = EngineMessage.get();<NEW_LINE>throw new RQException("alter" + mm.getMessage("funct...
param, "alter", false, false);
8,347
final ListIdentityProvidersResult executeListIdentityProviders(ListIdentityProvidersRequest listIdentityProvidersRequest) {<NEW_LINE>ExecutionContext executionContext = createExecutionContext(listIdentityProvidersRequest);<NEW_LINE>AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();<NEW_LINE>...
addHandlerContext(HandlerContextKey.SERVICE_ID, "WorkSpaces Web");
1,002,248
private TargetModuleID[] translateForUndeploy(TargetModuleID[] ids) {<NEW_LINE>final String deployDir = getInstanceProperties().getProperty(JBPluginProperties.PROPERTY_DEPLOY_DIR);<NEW_LINE>if (deployDir != null) {<NEW_LINE>TargetModuleID[] ret <MASK><NEW_LINE>for (int i = 0; i < ids.length; i++) {<NEW_LINE>File testFi...
= new TargetModuleID[ids.length];
57,993
public Media findMatchingMedia(Model model, Media media) {<NEW_LINE>assert media.getModel() == model;<NEW_LINE>if (media.getParent() == null) {<NEW_LINE>// detached or not attached yet rule<NEW_LINE>return null;<NEW_LINE>}<NEW_LINE>// find id of the given rule in the given model<NEW_LINE>final MediaRefModelVisitor rule...
this.styleSheet.accept(resolveRuleRef);
1,846,086
private void run() {<NEW_LINE>if (badOptions || helpRequested || blobFile == null || outDir == null) {<NEW_LINE>System.out.printf("Usage: java %s [options]%n", getClass().getName());<NEW_LINE><MASK><NEW_LINE>System.out.printf(" --blob=<blob file>%n");<NEW_LINE>System.out.printf(" --debug%n");<NEW_LINE>System.out....
System.out.printf(" options:%n");
1,206,611
public Metric deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException {<NEW_LINE>JsonObject jsonObject = jsonElement.getAsJsonObject();<NEW_LINE>String name = null;<NEW_LINE>if (jsonObject.get("name") != null)<NEW_LINE>name = jsonObject.get("name"...
tagEntry.getKey(), "value must not be null or empty");
973,711
public int apply(MethodVisitor methodVisitor, Method method) {<NEW_LINE>Class<?>[] source = method.getParameterTypes(), target = this.method.getParameterTypes();<NEW_LINE>int offset = 1;<NEW_LINE>for (int index = 0; index < source.length; index++) {<NEW_LINE>Type type = Type.getType(source[index]);<NEW_LINE>methodVisit...
(Opcodes.ILOAD), offset);
493,564
public int compareTo(drainReplicationTable_result other) {<NEW_LINE>if (!getClass().equals(other.getClass())) {<NEW_LINE>return getClass().getName().compareTo(other.getClass().getName());<NEW_LINE>}<NEW_LINE>int lastComparison = 0;<NEW_LINE>lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()...
this.success, other.success);
1,683,849
private Object resolveSourceValue(MappingContextImpl<?, ?> context, Mapping mapping) {<NEW_LINE>Object source = context.getSource();<NEW_LINE>if (mapping instanceof PropertyMappingImpl) {<NEW_LINE>StringBuilder destPathBuilder = new StringBuilder().append(context.destinationPath);<NEW_LINE>for (Accessor accessor : (Lis...
ConstantMapping) mapping).getConstant();
1,005,337
public void connectionsAdded(int start, ConnectionDescriptor[] conns) {<NEW_LINE>synchronized (this) {<NEW_LINE>// Save the latest port->ID mapping<NEW_LINE>for (ConnectionDescriptor conn : conns) {<NEW_LINE>// Log.d(TAG, "[+] port " + conn.local_port);<NEW_LINE>mPortToConnId.put(<MASK><NEW_LINE>// Check if the payload...
conn.local_port, conn.incr_id);
1,621,289
protected Control createDialogArea(Composite parent) {<NEW_LINE>setMessage(DEFAULT_TASKNAME, false);<NEW_LINE>createMessageArea(parent);<NEW_LINE>// Only set for backwards compatibility<NEW_LINE>taskLabel = messageLabel;<NEW_LINE>// progress indicator<NEW_LINE>progressIndicator = new ProgressIndicator(parent);<NEW_LINE...
gd.heightHint = convertVerticalDLUsToPixels(LABEL_DLUS);
1,084,757
public ExpectedAttributeValue unmarshall(JsonUnmarshallerContext context) throws Exception {<NEW_LINE>ExpectedAttributeValue expectedAttributeValue = new ExpectedAttributeValue();<NEW_LINE>int originalDepth = context.getCurrentDepth();<NEW_LINE>String currentParentElement = context.getCurrentParentElement();<NEW_LINE>i...
class).unmarshall(context));
1,185,848
protected void doConnect(String operator, DataSource dataSource) throws ErrorException {<NEW_LINE>if (dataSource.getConnectParams().containsKey("envId")) {<NEW_LINE>try {<NEW_LINE>dataSourceInfoService.addEnvParamsToDataSource(Long.parseLong((String) dataSource.getConnectParams().get("envId")), dataSource);<NEW_LINE>} ...
getKeyDefinitionsByType(dataSource.getDataSourceTypeId());
1,336,163
private void updateSortOrderDots(int sortPos) {<NEW_LINE>double arrowWidth = arrow.prefWidth(-1);<NEW_LINE>sortOrderDots.getChildren().clear();<NEW_LINE>for (int i = 0; i <= sortPos; i++) {<NEW_LINE>Region r = new Region();<NEW_LINE>r.getStyleClass().add("sort-order-dot");<NEW_LINE>String sortTypeName = getSortTypeName...
getChildren().add(r);
383,517
public void validate(ValidationContext validationContext) {<NEW_LINE>List<CaseInsensitiveString> allEnvironmentNames = new ArrayList<>();<NEW_LINE>Map<CaseInsensitiveString, CaseInsensitiveString> pipelineToEnvMap = new HashMap<>();<NEW_LINE>List<CaseInsensitiveString> allPipelineNames = validationContext.getCruiseConf...
.getName()) + " environment");
433,979
final void ensureSubDecor() {<NEW_LINE>if (mHasActionBar && !mSubDecorInstalled) {<NEW_LINE>if (mOverlayActionBar) {<NEW_LINE>mActivity.superSetContentView(R.layout.abc_action_bar_decor_overlay);<NEW_LINE>} else {<NEW_LINE>mActivity.<MASK><NEW_LINE>}<NEW_LINE>mActionBarView = (ActionBarView) mActivity.findViewById(R.id...
superSetContentView(R.layout.abc_action_bar_decor);
817,542
void drain() {<NEW_LINE>if (WIP.getAndIncrement(this) != 0) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>Subscriber<? super R> a = actual;<NEW_LINE>Queue<Object> q = queue;<NEW_LINE>int missed = 1;<NEW_LINE>for (; ; ) {<NEW_LINE>long r = requested;<NEW_LINE>long e = 0L;<NEW_LINE>while (r != e) {<NEW_LINE>boolean d = active =...
.addAndGet(this, -e);
459,274
private void saveVisualComponent(RADVisualComponent component, StringBuffer buf, String indent) {<NEW_LINE>saveComponent(component, buf, indent);<NEW_LINE>if (component.isInLayeredPane()) {<NEW_LINE>formModel.raiseVersionLevel(FormModel.FormVersion.NB74, FormModel.FormVersion.NB74);<NEW_LINE>formModel.setMaxVersionLeve...
(layout31ConstraintsNames[convIndex]) });
1,707,969
public void collect(MonitoringDataCollector collector) {<NEW_LINE>if (hzCore.isEnabled()) {<NEW_LINE>try (Context ctx = ctxUtil.empty().pushContext()) {<NEW_LINE>HazelcastInstance hz = hzCore.getInstance();<NEW_LINE>for (DistributedObject obj : hz.getDistributedObjects()) {<NEW_LINE>if (MapService.SERVICE_NAME.equals(o...
LocalMapStats stats = map.getLocalMapStats();
984,524
public static List<RegressionExecution> executions() {<NEW_LINE>List<RegressionExecution> execs = new ArrayList<>();<NEW_LINE>execs.add(new EPLInsertIntoColBeanFromSubquerySingle("objectarray", false));<NEW_LINE>execs.add(<MASK><NEW_LINE>execs.add(new EPLInsertIntoColBeanFromSubquerySingle("map", false));<NEW_LINE>exec...
new EPLInsertIntoColBeanFromSubquerySingle("objectarray", true));
326,103
private Page<TaskInfoVO> sortAndPage(int pageNum, int pageSize, String sortType, String sortField, List<TaskInfoVO> tasks) {<NEW_LINE>if (!Sort.Direction.ASC.name().equalsIgnoreCase(sortType)) {<NEW_LINE>sortType = Sort.Direction.DESC.name();<NEW_LINE>}<NEW_LINE>ListSortUtil.sort(tasks, sortField, sortType);<NEW_LINE>i...
total + pageSize - 1) / pageSize;
1,460,874
public void nullityMismatchingTypeAnnotation(Expression expression, TypeBinding providedType, TypeBinding requiredType, NullAnnotationMatching status) {<NEW_LINE>// $IDENTITY-COMPARISON$<NEW_LINE>if (providedType == requiredType)<NEW_LINE>return;<NEW_LINE>// try to improve nonnull vs. null:<NEW_LINE>if (providedType.id...
IProblem.NullityMismatchAgainstFreeTypeVariable : IProblem.NullityMismatchingTypeAnnotation);
1,139,193
public void generate() {<NEW_LINE>Stack<TypeElement> q = new Stack<TypeElement>();<NEW_LINE>Set<TypeElement> visited = new HashSet<TypeElement>();<NEW_LINE>q.push(clz);<NEW_LINE>while (!q.isEmpty()) {<NEW_LINE>TypeElement t = q.pop();<NEW_LINE>// been here already<NEW_LINE>if (!visited.add(t))<NEW_LINE>continue;<NEW_LI...
Field((VariableElement) child));
1,048,058
private ExtractConstantDescriptor createRefactoringDescriptor() {<NEW_LINE>final Map<String, String> arguments = new HashMap<>();<NEW_LINE>String project = null;<NEW_LINE>IJavaProject javaProject = fCu.getJavaProject();<NEW_LINE>if (javaProject != null) {<NEW_LINE>project = javaProject.getElementName();<NEW_LINE>}<NEW_...
comment.addSetting(RefactoringCoreMessages.ExtractConstantRefactoring_qualify_references);
1,226,474
public void update() {<NEW_LINE>super.update();<NEW_LINE>if (worldObj.isRemote) {<NEW_LINE>simpleAnimationIterate();<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>if (updateNetworkTime.markTimeIfDelay(worldObj)) {<NEW_LINE>sendNetworkUpdate();<NEW_LINE>}<NEW_LINE>isActive = false;<NEW_LINE>if (currentRecipe == null) {<NEW_LINE>...
crafted.copy(), true);
150,174
private static void printHelpExit(CmdLineParser parser) {<NEW_LINE>parser.getProperties().withUsageWidth(120);<NEW_LINE>parser.printUsage(System.out);<NEW_LINE>System.out.println();<NEW_LINE>System.out.println("Target Types");<NEW_LINE>for (CalibrationPatterns p : CalibrationPatterns.values()) {<NEW_LINE>System.out.pri...
System.out.println(" circle hexagonal, grid 24x28, 1cm diameter, 1.2cm separation, on letter paper");
1,375,776
public void conf(JobConf job) {<NEW_LINE>super.configure(job);<NEW_LINE>this.conf = job;<NEW_LINE>this.position = new int[getNumChunks()];<NEW_LINE>this.outputDir = job.get("final.output.dir");<NEW_LINE>this.taskId = job.get("mapred.task.id");<NEW_LINE>this.checkSumType = CheckSum.fromString(job.get(VoldemortBuildAndPu...
= new DataOutputStream[getNumChunks()];
1,273,438
public void inASTSwitchNode(ASTSwitchNode node) {<NEW_LINE>Object obj = cp.getBeforeSet(node);<NEW_LINE>if (obj == null) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>if (!(obj instanceof CPFlowSet)) {<NEW_LINE>return;<NEW_LINE>}<NEW_LINE>// before set is a non null CPFlowSet<NEW_LINE>CPFlowSet beforeSet = (CPFlowSet) obj;<NE...
className, useLocal.toString());
1,548,006
public HttpResponseOutputStream<StorageObject> write(final Path file, final TransferStatus status, final ConnectionCallback callback) throws BackgroundException {<NEW_LINE>final S3Object object = new S3WriteFeature(session).getDetails(file, status);<NEW_LINE>// ID for the initiated multipart upload.<NEW_LINE>final Mult...
bucket.getName(), object);