content stringlengths 40 137k |
|---|
"private static ResponseObject getActualResponseObject(ClientletContext context, Class<? extends Object> clazz, Object tentative) throws ClientletException, IllegalAccessException, InvocationTargetException, NoSuchMethodException {\n ClientletStageDelegate csd = new ClientletStageDelegate(context);\n synchronized... |
"public Collection<String> get() {\n try {\n List<ProgramRecord> programs = appClient.listAllPrograms(cliConfig.getCurrentNamespace(), programType);\n List<String> programIds = new ArrayList<>();\n for (ProgramRecord programRecord : programs) {\n programIds.add(programRecord.getApp() ... |
"public List<ItemStack> getSeedEntries() {\n ArrayList<ItemStack> list = this.te.getInventory();\n return list;\n}\n"
|
"protected void executeAction() {\n for (ITimerable s : timerables) {\n try {\n s.timerEvent();\n } catch (Throwable t) {\n System.out.println(\"String_Node_Str\");\n t.printStackTrace();\n s.kill();\n }\n }\n}\n"
|
"void backupIfNextOrPreviousChanged(boolean add) {\n List<Record> lsOwnedRecords = new ArrayList<Record>(1000);\n Collection<CMap> cmaps = concurrentMapManager.maps.values();\n for (final CMap cmap : cmaps) {\n boolean shouldBackup = false;\n if (cmap.backupCount > 0) {\n if (add) {\n ... |
"public void testSort2() throws Exception {\n ICubeQueryDefinition cqd = new CubeQueryDefinition(cubeName);\n IEdgeDefinition columnEdge = cqd.createEdge(ICubeQueryDefinition.COLUMN_EDGE);\n IEdgeDefinition rowEdge = cqd.createEdge(ICubeQueryDefinition.ROW_EDGE);\n IDimensionDefinition dim1 = columnEdge.cre... |
"public void setAll(double value) {\n if (Math.abs(value) >= epsilon) {\n for (int i = 0; i < size; i++) {\n hashMap.put(i, value);\n }\n } else {\n hashMap = new HashMap<>(128);\n }\n}\n"
|
"private boolean processConditionalBranch(OPT_IR ir, OPT_Instruction cb, OPT_BasicBlock bb) {\n OPT_BasicBlock targetBlock = cb.getBranchTarget();\n if (targetBlock.getLandingPad())\n return false;\n OPT_Instruction targetLabel = targetBlock.firstInstruction();\n OPT_Instruction targetInst = firstRea... |
"public List<IUS> getIUSFrom(int laneOrSampleAccession) {\n StringBuilder sb = new StringBuilder();\n if (ll.existsLane(\"String_Node_Str\" + laneOrSampleAccession) != null) {\n sb.append(\"String_Node_Str\");\n } else if (ll.existsSample(\"String_Node_Str\" + laneOrSampleAccession) != null) {\n ... |
"public void testNamespaceIsolation() throws Exception {\n Id.Artifact systemAppArtifactId = Id.Artifact.from(Id.Namespace.SYSTEM, \"String_Node_Str\", \"String_Node_Str\");\n File jar = createAppJar(PluginTestApp.class, new File(systemArtifactsDir1, \"String_Node_Str\"), createManifest(ManifestFields.EXPORT_PACK... |
"public void onQuery() {\n EntityManager em = emf.createEntityManager();\n UUID timeLineId = UUID.randomUUID();\n Date currentDate = new Date();\n CassandraCompoundKey key = new CassandraCompoundKey(\"String_Node_Str\", 1, timeLineId);\n Map<String, Client> clients = (Map<String, Client>) em.getDelegate(... |
"default String sqlgSqlgSchemaCreationScript() {\n return \"String_Node_Str\" + this.maybeWrapInQoutes(\"String_Node_Str\");\n}\n"
|
"public void burn() {\n if (type == Type.MIMIC) {\n Mimic m = Mimic.spawnAt(pos, items);\n if (m != null) {\n Buff.affect(m, Burning.class).reignite(m);\n m.sprite.emitter().burst(FlameParticle.FACTORY, 5);\n destroy();\n }\n }\n if (type != Type.HEAP) {\n ... |
"private T readRow(Row row) {\n try {\n if (row.isEmpty()) {\n return null;\n }\n return getReflectionRowReader().read(row, objectSchema);\n } catch (Exception e) {\n throw new DataSetException(\"String_Node_Str\" + e.getMessage(), e);\n }\n}\n"
|
"public void chatClickListener(View view) {\n if (checkFriendStatus(user.getUserId())) {\n try {\n QBDialog existingPrivateDialog = privateChatHelper.createPrivateDialogIfNotExist(friend.getUserId());\n PrivateDialogActivity.start(FriendDetailsActivity.this, friend, existingPrivateDialog... |
"private void process(final ReplicatedSharedHashMap map, final int serializedEntrySize, final EntryExternalizable externalizable, final TcpReplicatorBuilder tcpReplicatorBuilder) throws IOException {\n final byte identifier = map.identifier();\n final short packetSize = tcpReplicatorBuilder.packetSize();\n try... |
"void prepareMigrationTasks() {\n PartitionStateGenerator psg = getPartitionStateGenerator();\n psg.reArrange(partitions, members, PARTITION_COUNT, lostQ, immediateQ, scheduledQ);\n}\n"
|
"private void triggerToolTipHide() {\n SwingUtilities.invokeLater(new Runnable() {\n\n public void run() {\n hideToolTip();\n }\n });\n}\n"
|
"private ITypeName getTypeNameFromFilename(final String filename) {\n return VmTypeName.get(filename.substring(0, filename.length() - MODEL_POSTFIX.length()).replaceAll(\"String_Node_Str\", \"String_Node_Str\"));\n}\n"
|
"public Object evaluate(Property property, Object storedValue) {\n if (storedValue == null) {\n return storedValue;\n }\n List<?> possibleValues = property.getPossibleValues();\n if (possibleValues != null) {\n if (storedValue instanceof String && !ContextParameterUtils.isContainContextParam((... |
"public static void initDimension(int dim) {\n if (WorldManager.getWorldByDimensionId(dim).isPresent()) {\n return;\n }\n if (dim == 0) {\n throw new RuntimeException(\"String_Node_Str\");\n }\n WorldManager.getWorldByDimensionId(0).orElseThrow(() -> new RuntimeException(\"String_Node_Str\"... |
"public static AbstractDatacenter getAbstractDatacenter(String fileName) throws Exception {\n String json = TestPlacementUtil.readJson(fileName);\n logger.info(json);\n ObjectMapper mapper = new ObjectMapper();\n try {\n AbstractDatacenter dc = gson.fromJson(json, AbstractDatacenter.class);\n ... |
"public void write(ClassWriter writer) {\n if ((this.modifiers & Modifiers.LAZY) == Modifiers.LAZY) {\n String desc = \"String_Node_Str\" + this.getDescription();\n String signature = this.type.getSignature();\n if (signature != null) {\n signature = \"String_Node_Str\" + signature;\n... |
"public void init() {\n out_sel = outputs.create(widget.id, \"String_Node_Str\", MetadataGroup.class, null);\n out_sel_met = outputs.create(widget.id, \"String_Node_Str\", List.class, EMPTY_LIST);\n in_items = inputs.create(\"String_Node_Str\", List.class, EMPTY_LIST, this::setItems);\n root.getChildren().a... |
"public void rejectCallClick() {\n Log.d(CALL_INTEGRATION, \"String_Node_Str\");\n cancelPlayer();\n Runnable rejectTask = callTasksMap.get(REJECT_CALL_TASK);\n executeCallTask(rejectTask);\n}\n"
|
"protected void onSizeChanged(int w, int h, int oldw, int oldh) {\n if (w > 0) {\n Bundle args = new Bundle();\n args.putLong(SYNC_LOG_LOADER_FIRST_POLL, System.currentTimeMillis() - w * STEP_TIME / syncLogView.step);\n getLoaderManager().restartLoader(SYNC_LOG_LOADER, args, SyncLogFragment.this... |
"public List<TypedNamedEntity> performTask1(Document document) throws GerbilException {\n return getDocumentMarkings(document.getDocumentURI(), document.getText().length(), TypedNamedEntity.class);\n}\n"
|
"public O refTo(final O obj) {\n updateAccess(((PoolObject<?, T>) obj).memPool, ((PoolObject<?, T>) obj).index);\n return (O) this;\n}\n"
|
"public MibValue initialize(MibLoaderLog log) throws MibException {\n MibSymbol ref;\n MibValue value;\n String message;\n ref = context.findSymbol(name, false);\n if (ref == null) {\n ref = context.findSymbol(name, true);\n if (ref != null) {\n message = \"String_Node_Str\" + na... |
"private static Object execute(MumblerList<MumblerNode> nodes) {\n MumblerFunction function = MumblerFunction.create(new FrameSlot[] {}, StreamSupport.stream(nodes.spliterator(), false).toArray(size -> new MumblerNode[size]));\n DirectCallNode directCallNode = Truffle.getRuntime().createDirectCallNode(function.ca... |
"public void onNext(BaseResponse<FeedArticleListData> feedArticleListResponse) {\n if (feedArticleListResponse.getErrorCode() == BaseResponse.SUCCESS) {\n mView.showArticleList(feedArticleListResponse, false);\n } else {\n mView.showArticleListFail();\n }\n}\n"
|
"public void storeImage(final byte[] data, android.hardware.Camera camera, Location loc) {\n boolean captureOnly = mIsImageCaptureIntent;\n Message msg = mHandler.obtainMessage(STORE_IMAGE_DONE);\n if (!mIsImageCaptureIntent) {\n storeImage(data, loc);\n sendBroadcast(new Intent(\"String_Node_Str... |
"public ARPanel withDataset(Glyphset<?> data) {\n return new ARPanel(aggregator, display.transfer(), data, renderer);\n}\n"
|
"public static IPath getItemWorkspaceBasePath(Property property) {\n IPath itemBasePath = getItemTypedPath(property);\n return itemBasePath != null ? ResourceManager.getRootProject().getFolder(itemBasePath).getFullPath() : null;\n}\n"
|
"public List getGlobal(String whereSql, String clusterName, String tableName) {\n if (StringUtil.isBlank(whereSql)) {\n return null;\n }\n ShardedJedis redisClient = null;\n try {\n redisClient = jedisPool.getResource();\n String cacheKey = _buildGlobalCacheKey(whereKey, clusterName, ta... |
"public void mouseMoved(MouseEvent e) {\n int x = e.getX(), y = e.getY();\n int bodyPart = getEquipPlace(x, y);\n if (bodyPart != -1) {\n setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));\n selectedItem = player.getEquip(bodyPart);\n runOnUIThread(new Runnable() {\n pub... |
"public void test() throws Exception {\n deleteDb(\"String_Node_Str\");\n testExplainRoundTrip();\n testOrderByExpression();\n testGroupSubquery();\n testAnalyzeLob();\n testLike();\n testExistsSubquery();\n testQueryCacheConcurrentUse();\n testQueryCacheResetParams();\n testRowId();\n ... |
"protected void afterHookedMethod(MethodHookParam param) throws Throwable {\n if (!lpparam.packageName.equals(Constants.PACKAGE_NAME)) {\n List<Sensor> fullSensorList = new ArrayList<>((Collection<? extends Sensor>) param.getResult());\n Iterator<Sensor> iterator = fullSensorList.iterator();\n w... |
"public boolean handleValidate(Object obj) {\n CrosstabReportItemHandle crosstab = getCrosstabCellHandle().getCrosstab();\n if (obj instanceof Object[]) {\n Object[] objects = (Object[]) obj;\n int len = objects.length;\n if (len == 0) {\n return false;\n }\n if (len ... |
"public Logger getParentLogger() throws SQLException {\n if (_embedded != null) {\n return _embedded.getParentLogger();\n } else if (_netclient != null) {\n return _netclient.getParentLogger();\n } else {\n throw nothingWrapped(null);\n }\n}\n"
|
"protected void handlePageBreakInterval() {\n if (listExecutor.breakOnDetailBand) {\n BandDesign band = (BandDesign) design;\n if (band.getBandType() == BandDesign.BAND_DETAIL) {\n if (listExecutor.softBreakBefore) {\n IStyle style = content.getStyle();\n if (st... |
"public void testRecurrenceSet2() throws Exception {\n String recurrence = \"String_Node_Str\" + \"String_Node_Str\";\n verifyPopulateContentValues(recurrence, \"String_Node_Str\", null, null, null, 1250812800000L, \"String_Node_Str\", \"String_Node_Str\", 1);\n}\n"
|
"public void reset() {\n if (_state == State.FIRING) {\n _eventIterator.dispose();\n _actor.stop();\n }\n}\n"
|
"private Tag getTag(Map<String, Object> map) {\n Object rev = (map != null ? map.get(\"String_Node_Str\") : null);\n return (rev != null && rev instanceof String ? new Tag((String) rev, false) : null);\n}\n"
|
"public void turnRight() {\n if (direction != LEFT)\n direction = RIGHT;\n already_turned = true;\n}\n"
|
"protected void makeChanges() throws TransactionFailure {\n for (final String xmlName : mChanges.keySet()) {\n final Object value = mChanges.get(xmlName);\n final ConfigModel.Property prop = getConfigModel_Property(xmlName);\n if (prop.isCollection()) {\n handleCollection(mWriteable, ... |
"static SkylarkList<Object> callGlob(PackageContext originalContext, Object include, Object exclude, boolean excludeDirs, FuncallExpression ast, Environment env) throws EvalException, ConversionException, InterruptedException {\n PackageContext context;\n if (originalContext == null) {\n context = getConte... |
"public void onDestroy() {\n Log.d(TAG, \"String_Node_Str\");\n if (countEventCopiesFailed == 0) {\n notificationBuilder.setProgress(0, 0, false).setContentText(getString(R.string.notification_import_complete_copied) + \"String_Node_Str\" + countEventsCopied + \"String_Node_Str\" + getString(R.string.event... |
"protected CanonicalType parseCanonical(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError {\n CanonicalType res = new CanonicalType(xpp.getAttributeValue(null, \"String_Node_Str\"));\n parseElementAttributes(xpp, res);\n next(xpp);\n int eventType = nextNoWhitespace(xpp);\n w... |
"public static void setRoundingMode() {\n for (RoundingMode roundingMode : RoundingMode.values()) {\n if (roundingMode.id.equals(FOOD_HUNGER_ROUNDING_MODE_STRING.toLowerCase(Locale.ROOT))) {\n FOOD_HUNGER_ROUNDING_MODE = roundingMode;\n break;\n }\n }\n if (FOOD_HUNGER_ROUND... |
"public static Trainer getModel(CommandLine cmd) throws ParseException {\n final String algorithm = cmd.hasOption(\"String_Node_Str\") ? cmd.getOptionValue(\"String_Node_Str\") : \"String_Node_Str\";\n final int iterations = cmd.hasOption(\"String_Node_Str\") ? Integer.parseInt(cmd.getOptionValue(\"String_Node_St... |
"public int indexOf(Object object) {\n if (mode != STRICT_SORT_ORDER || comparator == null)\n return super.indexOf(object);\n int index = ((SimpleTree) sorted).indexOfValue(object, true, false, ALL_COLORS);\n if (index == -1)\n return -1;\n for (; index < size(); index++) {\n E objectAt... |
"protected void sendChunkLoad(Player player, int x, int y) {\n World world = player.getEntity().getLocation().getPosition().getWorld();\n world.getChunkProvider().getChunk(x, y).addCallback(chunk -> {\n if (chunk == null) {\n logger.error(\"String_Node_Str\", x, y);\n return;\n ... |
"private VectorDataProviderFactory findFactory() throws IOException {\n boolean debugEnabled = log.isDebugEnabled();\n if (debugEnabled) {\n log.debug(\"String_Node_Str\" + ((prefix != null) ? prefix : \"String_Node_Str\") + \"String_Node_Str\" + name);\n log.debug(\"String_Node_Str\" + vectorProvid... |
"protected void onPostExecute(APIResponse.CODE code) {\n super.onPostExecute(code);\n View view = mFragment.getView();\n if (view != null && activity != null) {\n ListViewAdapter adapter = new ListViewAdapter(activity, events);\n TextView noDataText = (TextView) view.findViewById(R.id.no_data);\n... |
"public InputGateContext createInputGateContext(final GateID gateID) {\n if (gateID == null) {\n throw new IllegalArgumentException(\"String_Node_Str\");\n }\n InputGate<? extends Record> inputGate = null;\n final RuntimeEnvironment re = this.task.getRuntimeEnvironment();\n for (int i = 0; i < re.... |
"public void init(Config cfg, int containerId, ResourcePlan plan) {\n this.config = cfg;\n this.resourcePlan = plan;\n this.id = containerId;\n this.noOfTasksPerExecutor = NO_OF_TASKS / plan.noOfContainers();\n setupTasks();\n setupNetwork();\n partition = new MPIDataFlowPartition(config, channel, ... |
"protected void _calculateMinDelayOffsets() throws IllegalActionException {\n _clearMinDelayOffsets();\n Map inputModelTimeDelays = new HashMap<IOPort, Map<Integer, SuperdenseDependency>>();\n HashMap portDelays = new HashMap<IOPort, SuperdenseDependency>();\n for (Actor actor : (List<Actor>) (((TypedCompos... |
"protected void parseArgs(Element beanElement, IocObject iocObject) throws Throwable {\n List<Element> list = getChildNodesByTagName(beanElement, TAG_ARGS);\n if (list.size() > 0) {\n Element argsElement = list.get(0);\n NodeList argNodeList = argsElement.getChildNodes();\n for (int i = 0; i ... |
"public void shouldNotMatchSubStringUsingRegex() throws Exception {\n final Matcher<String, Boolean> matcher = Matcher.create();\n matcher.caseOf(Regex(\"String_Node_Str\")).then.value(true);\n matcher.caseOf(_).then.value(false);\n TestCase.assertFalse(matcher.match(\"String_Node_Str\"));\n}\n"
|
"public void close() {\n for (PersistenceManagerImpl pm : pms) {\n if (!pm.isClosed() && pm.currentTransaction().isActive()) {\n throw new JDOUserException(\"String_Node_Str\", new JDOUserException(), pm);\n }\n }\n JDOImplHelper.getInstance().removeStateInterrogation(SI);\n isClose... |
"public static PDPage getPDFPage(int number) {\n PDPage page = null;\n try {\n pdfFile = new File(PDF_PATH);\n if (pdfFile.exists()) {\n inputPDF = PDDocument.load(pdfFile);\n List<PDPage> allPages = inputPDF.getDocumentCatalog().getAllPages();\n if (allPages != null... |
"public void testRemoveDependenciesBetweenModel() {\n ModelElement ana = AnalysisHelper.createAnalysis(\"String_Node_Str\");\n ModelElement conn = ConnectionHelper.createDatabaseConnection(\"String_Node_Str\");\n EList<Dependency> clientDependencyFirst = ana.getClientDependency();\n assertEquals(0, clientDe... |
"public boolean isEmpty() {\n return set.isEmpty();\n}\n"
|
"private void changeBalance(Player player, HumanNPC npc, String[] args) throws NumberFormatException {\n int amount = Integer.valueOf(args[2]);\n if (args[1].equals(\"String_Node_Str\")) {\n if (EconomyHandler.canBuy(new Payment(amount, true), player)) {\n EconomyHandler.pay(new Payment(-amount,... |
"public IStatus doAction() {\n IStructuredSelection selection = (IStructuredSelection) page.getTreeViewer().getSelection();\n XSDSchema schema = ((ISchemaContentProvider) page.getTreeViewer().getContentProvider()).getXsdSchema();\n ArrayList<Object> objList = new ArrayList<Object>();\n Util.getAllObject(pag... |
"public List<String> getCategories() {\n return Arrays.asList(RodaConstants.PLUGIN_CATEGORY_NOT_LISTABLE);\n}\n"
|
"public int compare(int i, int j) {\n final int bufferNumI = i / this.indexEntriesPerSegment;\n final int segmentOffsetI = (i % this.indexEntriesPerSegment) * this.indexEntrySize;\n final int bufferNumJ = j / this.indexEntriesPerSegment;\n final int segmentOffsetJ = (j % this.indexEntriesPerSegment) * this.... |
"private ALayoutAnimation createMoveAnimation(RecordingLayoutElement elem) {\n if (!animateByDefault) {\n return new DummyAnimation(EAnimationType.MOVE, elem.wrappee);\n }\n final IDuration duration = elem.getLayoutDataAs(IDuration.class, defaultDuration);\n final IMoveTransition animation = elem.get... |
"public Object visitTypeExpression(cqlParser.TypeExpressionContext ctx) {\n if (ctx.getChild(1).getText().equals(\"String_Node_Str\")) {\n Is is = of.createIs().withOperand(parseExpression(ctx.expression())).withIsTypeSpecifier(parseTypeSpecifier(ctx.typeSpecifier()));\n is.setResultType(resolveTypeNam... |
"public static void toStream(Project project, OutputStream stream, Gson gson) throws IOException {\n Writer writer = new OutputStreamWriter(stream, Charset.forName(\"String_Node_Str\"));\n ExportPackage p = new ExportPackage();\n p.project = project;\n p.version = Application.getVersion().toString();\n g... |
"public static void getUfidsAndImages(String xmlText) {\n try {\n DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n DocumentBuilder db = dbf.newDocumentBuilder();\n InputSource is = new InputSource();\n is.setCharacterStream(new StringReader(xmlText));\n Document... |
"protected StringBuffer getProfileArgs() {\n StringBuffer profileBuffer = new StringBuffer();\n profileBuffer.append(TalendMavenConstants.PREFIX_PROFILE);\n profileBuffer.append(SPACE);\n addArg(profileBuffer, true, true, TalendMavenConstants.PROFILE_DEFAULT_SETTING);\n addArg(profileBuffer, isOptionChoo... |
"public void onEvent(Event event) throws Exception {\n MDC.put(\"String_Node_Str\", \"String_Node_Str\" + lastSerial.incrementAndGet());\n em.setThreadLocalEntityManager(emf.createEntityManager());\n try {\n botInfo.setLastInteraction(System.currentTimeMillis());\n if (lastListTime < System.curre... |
"public Range findValueRange(Range xRange, TimePeriodAnchor xAnchor, TimeZone zone) {\n ParamChecks.nullNotPermitted(xRange, \"String_Node_Str\");\n ParamChecks.nullNotPermitted(xAnchor, \"String_Node_Str\");\n ParamChecks.nullNotPermitted(zone, \"String_Node_Str\");\n if (this.data.isEmpty()) {\n re... |
"NominalType instantiateGenerics(Map<String, JSType> newTypeMap) {\n if (newTypeMap.isEmpty()) {\n return this;\n }\n if (!this.rawType.isGeneric()) {\n return this.rawType.wrappedAsNominal;\n }\n ImmutableMap.Builder<String, JSType> builder = ImmutableMap.builder();\n if (!typeMap.isEmp... |
"protected void inputsToModel(boolean create) {\n String sourceStr = source.getText();\n if (create) {\n ActorRenderer renderer = parent.getRenderer();\n if (renderer instanceof SpineRenderer) {\n e = new SpineAnimationDesc();\n if (spineAtlasExists(sourceStr)) {\n ... |
"public void setLoader(SDOClassLoader loader) {\n getXMLHelperDelegate().setLoader(loader);\n}\n"
|
"private Context nextContext() {\n Context next = new Context(context);\n Options options = Options.instance(context);\n Assert.checkNonNull(options);\n next.put(Options.optionsKey, options);\n PrintWriter out = context.get(Log.outKey);\n Assert.checkNonNull(out);\n next.put(Log.outKey, out);\n ... |
"public void handleRequest(HttpServerExchange exchange, RequestContext context) throws Exception {\n if (context.getDBName() != null && context.getCollectionName() != null) {\n DBObject collProps;\n if (!LocalCachesSingleton.isEnabled()) {\n final CollectionDAO collectionDAO = new Collection... |
"private List<PathWithUnixSeparators> processDirectory(Path path, Queue<Path> remainingPaths) throws IOException {\n List<PathWithUnixSeparators> childrenRelativePaths = new ArrayList<>();\n for (Path relativeChildPath : projectFilesystem.getDirectoryContents(path)) {\n childrenRelativePaths.add(new PathWi... |
"protected boolean doExecute() throws Exception {\n boolean ok = true;\n DQStructureManager manager = DQStructureManager.getInstance();\n IFolder systemIndicatorFolder = ResourceManager.getSystemIndicatorFolder();\n if (!systemIndicatorFolder.exists()) {\n systemIndicatorFolder = manager.createNewFol... |
"public Long stopCluster(String clusterName) throws Exception {\n logger.info(\"String_Node_Str\" + clusterName);\n ClusterEntity cluster = ClusterEntity.findClusterEntityByName(clusterName);\n if (cluster == null) {\n logger.error(\"String_Node_Str\" + clusterName + \"String_Node_Str\");\n throw... |
"public <T> JournalWriter<T> writer(JournalMetadata<T> metadata) throws JournalException {\n if (closed) {\n LOG.info().$(\"String_Node_Str\").$();\n return null;\n }\n final String path = metadata.getKey().getName();\n Entry e = entries.get(path);\n if (e == null) {\n e = new Entry(... |
"public static org.hl7.fhir.dstu2016may.model.TestScript.TestScriptVariableComponent convertTestScriptVariableComponent(org.hl7.fhir.dstu3.model.TestScript.TestScriptVariableComponent src) throws FHIRException {\n if (src == null || src.isEmpty())\n return null;\n org.hl7.fhir.dstu2016may.model.TestScript.... |
"protected void parseConfigVars(HttpServletRequest request, Collection parameterList) {\n this.configMap = new HashMap();\n String reportConfigName = ParameterAccessor.getConfigFileName(this.reportDesignName);\n if (reportConfigName == null)\n return;\n SessionHandle sessionHandle = DesignEngine.newS... |
"public void serializeLogs(StreamLogSerializer serializer, int limit) throws IOException {\n if (storageBroken) {\n return;\n }\n ;\n Vector<Integer> logIds = new Vector<Integer>();\n Object lock = logStorage.getAccessLock();\n synchronized (lock) {\n int count = 0;\n IStorageIter... |
"public void appendIgnoringWhitespace(char ch) {\n try {\n if (ch == newLine && denormalizeLineEndings) {\n super.appendIgnoringWhitespace(lineSeparator1);\n if (lineSeparator2 != '\\0') {\n super.appendIgnoringWhitespace(lineSeparator2);\n }\n } else {\n... |
"public long availableIndex(long lo) {\n Barrier[] barriers = this.barriers;\n for (int i = 0, n = barriers.length; i < n; i++) {\n long cursor = Unsafe.arrayGet(barriers, i).availableIndex(lo);\n lo = lo < cursor ? lo : cursor;\n }\n return lo;\n}\n"
|
"void refreshChildren() {\n Map<String, TmfAnalysisElement> childrenMap = new HashMap<>();\n for (TmfAnalysisElement analysis : getAvailableAnalysis()) {\n childrenMap.put(analysis.getAnalysisId(), analysis);\n }\n TraceTypeHelper helper = TmfTraceType.getInstance().getTraceType(getTraceType());\n ... |
"private void generateCallToCreateNewMockInvocation(Type[] argTypes, int initialParameterIndex) {\n generateCodeToPassThisOrNullIfStaticMethod();\n int argCount = argTypes.length;\n if (argCount == 0) {\n mw.visitInsn(ACONST_NULL);\n } else {\n generateCodeToCreateArrayOfObject(mw, argCount);\... |
"public void addArgument(String name, IBaseExpression expr) {\n if (\"String_Node_Str\".equals(name)) {\n this.argument.put(\"String_Node_Str\", expr);\n } else {\n this.argument.put(name, expr);\n }\n}\n"
|
"private void newMaster(Pair<Master, Machine> master, StoreId storeId, Exception e) {\n try {\n doNewMaster(master, storeId, e);\n } catch (BranchedDataException bde) {\n System.out.println(\"String_Node_Str\");\n getFreshDatabaseFromMaster(master);\n doNewMaster(master, storeId, bde);... |
"private void testParents(Variable amidstVar, Node huginVar) throws ExceptionHugin {\n ParentSet parentsAmidstVar = amidstBN.getDAG().getParentSet(amidstVar);\n NodeList parentsHuginVar = huginVar.getParents();\n int numParentsAmidstVar = parentsAmidstVar.getNumberOfParents();\n int numParentsHuginVar = par... |
"private void compileSimpleColumnRefExpr(Node refNode, ScriptOrFnNode tree, List columnExprList) throws BirtException {\n Node rowName = refNode.getFirstChild();\n String str = rowName.getString();\n assert (str != null);\n Node rowColumn = rowName.getNext();\n assert (rowColumn != null);\n if (!str.e... |
"private static boolean isRoot(URI base) {\n return base.getPath().equals(\"String_Node_Str\") || base.getPath().equals(\"String_Node_Str\");\n}\n"
|
"public void testUserLogger() throws Exception {\n FileHandler fileHandle = new FileHandler(\"String_Node_Str\");\n try {\n Logger logger = Logger.getAnonymousLogger();\n logger.addHandler(fileHandle);\n logger.setLevel(Level.ALL);\n logger.setUseParentHandlers(false);\n try {\n... |
"private void loadKeys(MProxy mProxy, CMap cmap, Set keys) {\n if (keys.size() > 0) {\n Map map = cmap.loader.loadAll(keys);\n if (map != null && map.size() > 0) {\n Set<Map.Entry> entries = map.entrySet();\n for (Map.Entry entry : entries) {\n mProxy.putTransient(e... |
"public void handleSubscribeRequest(ID fromID, IPresence presence) {\n System.out.println(\"String_Node_Str\" + fromID);\n if (presenceSender != null) {\n presenceSender.sendPresenceUpdate(localUser, fromID, new Presence(IPresence.Type.SUBSCRIBED));\n }\n}\n"
|
"public void actionGetInfo(List<Record<FSEntry>> recordList) {\n if (recordList.size() == 1) {\n FileSystemBrowserWindow.this.actionGetInfo(recordList.get(0).getUserObject());\n else if (recordList.size() > 1) {\n JOptionPane.showMessageDialog(FileSystemBrowserWindow.this, \"String_Node_Str\", \"Str... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.