content
stringlengths
40
137k
"public void onClick(View v) {\n if (mSearchable == null) {\n return;\n }\n try {\n if (searchable.getVoiceSearchLaunchWebSearch()) {\n getContext().startActivity(mVoiceWebSearchIntent);\n } else if (mSearchable.getVoiceSearchLaunchRecognizer()) {\n Intent appSearchIn...
"public void testSha224SignatureVerification() throws Exception {\n runTestSignatureVerification(factory.getInstance(true, new PssSignerParameters(privateKey, \"String_Node_Str\", -1)), factory.getInstance(false, new PssSignerParameters(publicKey, \"String_Node_Str\", -1)));\n}\n"
"public GroupStatistics getGroupStatistics() {\n double averageEquivalenceClassSize = 0;\n int maximalEquivalenceClassSize = Integer.MIN_VALUE;\n int minimalEquivalenceClassSize = Integer.MAX_VALUE;\n int numberOfEquivalenceClasses = this.size();\n int numberOfOutlyingEquivalenceClasses = 0;\n int num...
"protected void setDefaultDestination() {\n String userDir = System.getProperty(\"String_Node_Str\");\n IPath path = new Path(userDir);\n int length = nodes.length;\n String destinationFile = \"String_Node_Str\";\n if (getDialogSettings() != null) {\n IDialogSettings section = getDialogSettings()....
"protected Void doInBackground(String... ip_serverid) {\n floatingip = ip_serverid[0];\n serverid = ip_serverid[1];\n OSClient osc = OSClient.getInstance(U);\n try {\n osc.associateFloatingIP(floatingip, serverid);\n } catch (Exception e) {\n errorMessage = e.getMessage();\n hasError...
"public IValue withType(IType type, ITypeContext typeContext, MarkerList markers, IContext context) {\n IMethod method = this.method;\n if (method == null) {\n method = IContext.resolveMethod(type, null, this.methodName, this.arguments);\n if (method == null) {\n StringBuilder builder = n...
"public void inspectExec() throws Exception {\n String containerName = \"String_Node_Str\" + new SecureRandom().nextInt();\n CreateContainerResponse container = dockerClient.createContainerCmd(\"String_Node_Str\").withCmd(\"String_Node_Str\", \"String_Node_Str\").withName(containerName).exec();\n LOG.info(\"St...
"public Object get(final InjectionPoint injectionPoint) {\n Callable<Object> task = new Callable<Object>() {\n public Object call() throws Exception {\n Bean<R> bean = (Bean<R>) manager.resolve(manager.getBeans(actualType));\n context = manager.createCreationalContext(bean);\n ...
"public void saveEObject(InternalEObject internalEObject, Check check) throws IOException {\n if (internalEObject == null) {\n writeCompressedInt(-1);\n } else {\n Integer id = eObjectIDMap.get(internalEObject);\n if (id == null) {\n int idValue = eObjectIDMap.size();\n ...
"private void setupHive() {\n File tmpDir = new File(System.getProperty(\"String_Node_Str\")).getAbsoluteFile();\n File localScratchFile = new File(tmpDir, \"String_Node_Str\" + System.getProperty(\"String_Node_Str\"));\n System.setProperty(HiveConf.ConfVars.LOCALSCRATCHDIR.toString(), localScratchFile.getAbso...
"private ComponentEntity _attemptToFindMoMLClass(String className, String source) throws Exception {\n String classAsFile = null;\n String altClassAsFile = null;\n ComponentEntity reference = null;\n if (source == null) {\n classAsFile = className.replace('.', '/') + \"String_Node_Str\";\n alt...
"private boolean removePid(int pid) {\n CommandContext[] contexts = null;\n synchronized (currentAsyncCommands) {\n for (int i = 0, n = currentAsyncCommands.size(); i < n; i++) {\n CommandContext[] cntx = currentAsyncCommands.get(i);\n if (pid == cntx[0].getPID()) {\n c...
"private void updateItem(IMarker marker) {\n try {\n Assert.isTrue(marker.getType().equals(ProverHelper.OBLIGATION_MARKER), \"String_Node_Str\");\n int id = marker.getAttribute(ProverHelper.OBLIGATION_ID, -1);\n if (id != -1) {\n ExpandItem item = (ExpandItem) items.get(new Integer(id...
"public Widget getWidgetAt(int column, final ExpectedResultDTO userObject) {\n switch(column) {\n case 0:\n final Label parentCodeLabel = new Label();\n parentCodeLabel.addStyleName(CSS_CODE_LABEL_STYLE_NAME);\n final SpecificObjectiveDTO parent;\n if (userObject !=...
"static void _depose() {\n if (count.get() == 0)\n try {\n if (DEBUG)\n log.debugf(\"String_Node_Str\", trans.get().getId(), count.get());\n trans.get().close();\n } catch (Throwable e) {\n throw Lang.wrapThrow(e);\n } finally {\n trans....
"private void startLoadingAnimation() {\n mLoadingView.setVisibility(View.VISIBLE);\n getView().setVisibility(View.GONE);\n if (null != mUpdateNowMenu)\n mUpdateNowMenu.setTitle(R.string.cancel);\n}\n"
"public String toCodeString() {\n StringBuffer sb = new StringBuffer();\n if (nodetype == WCETBasicBlock.SNODE) {\n sb.append(WU.postpad(getIDS() + \"String_Node_Str\", 6));\n } else if (nodetype == WCETBasicBlock.TNODE) {\n String tStr = \"String_Node_Str\";\n for (Iterator iter = inbbs.k...
"public BranchId getBranch(IAtsVersion version) {\n String branchId = services.getAttributeResolver().getSoleAttributeValue(version, AtsAttributeTypes.BaselineBranchUuid, \"String_Node_Str\");\n if (branchId == null || branchId.isEmpty()) {\n return BranchId.SENTINEL;\n }\n return BranchId.valueOf(br...
"public int nextValue() {\n findNext();\n return entries[getKeyPosition() + offset];\n}\n"
"public void entitySetCompCollComp() throws SAXException, DataProvider.DataProviderException, SerializerException, IOException {\n final EdmEntitySet edmEntitySet = entityContainer.getEntitySet(\"String_Node_Str\");\n final EntityCollection entitySet = data.readAll(edmEntitySet);\n long currentTimeMillis = Sys...
"public void actionPerformed(ActionEvent e) {\n if (this_.getSelectedIndex() == 0) {\n JOptionPane.showMessageDialog(this_, \"String_Node_Str\");\n } else {\n String name = this_.getSelectedValue().toString();\n if (name.indexOf(\"String_Node_Str\") != -1) {\n name = name.substring...
"public void build() {\n for (Iterator iter = accesses.values().iterator(); iter.hasNext(); ) {\n Boolean entry = (Boolean) iter.next();\n atLeastOneAccessible = atLeastOneAccessible || entry.booleanValue();\n }\n if (isVisible()) {\n gtn = new GenericTreeNode();\n gtn.setTitle(cour...
"public double increment(KeyType key, final double value) {\n final MutableDoubleCount entry = (MutableDoubleCount) this.map.get(key);\n double newValue;\n double delta;\n if (entry == null) {\n if (value > 0.0) {\n this.map.put(key, new MutableDouble(value));\n delta = value;\n...
"public void readHeader() {\n String str = null;\n int flag = 0;\n while (true) {\n str = _br.readLine();\n if (str.indexOf(\"String_Node_Str\") != -1) {\n String sub;\n try {\n sub = str.substring(15);\n } catch (ArrayIndexOutOfBoundsException e) {...
"public void restart() {\n initialStream.restart();\n}\n"
"public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) throws Exception {\n super.messageReceived(ctx, e);\n if (ctx.getAttachment() instanceof DiscardEvent) {\n ctx.getChannel().setReadable(false);\n return;\n } else if (ctx.getAttachment() instanceof AsyncCallable) {\n H...
"private synchronized void controlResizedExecute(ControlEvent e) {\n final TableColumn currentTableColumn = (TableColumn) e.widget;\n if (!WindowSystem.isGTK() && !columnsResizingByLayout && (fillHorizontal || continuousLayout)) {\n if (continuousLayout && !fillHorizontal) {\n asyncThreadingForM...
"private void updateControls() {\n if (this.model == null) {\n return;\n }\n MetricConfiguration config = model.getMetricConfiguration();\n MetricDescription description = model.getMetricDescription();\n if (config == null || description == null) {\n reset();\n return;\n }\n ro...
"public void drawAt(GLDrawContext gl) {\n if (listIsOld) {\n ArrayList<DisplayableMatch> displaymatches = new ArrayList<DisplayableMatch>();\n for (IMatch m : networkConnector.getMatches()) {\n if (m != null)\n displaymatches.add(new DisplayableMatch(m));\n }\n l...
"public void testSort2Cache() 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 = columnEdg...
"public PlanSummary process(ArrayList<Chargeable> data) {\n PlanSummary ret = new PlanSummary(this);\n ret.addPlanCall(new PlanChargeable(new ChargeableMessage(ChargeableMessage.MESSAGE_MONTH_FEE), monthFee, this.getCurrency()));\n long secondsTotal = 0;\n int smsSent = 0;\n for (Chargeable chargeable : ...
"private void processFile(String file) throws BuildException {\n File srcFile = new File(srcDir, file);\n long lastModified = srcFile.lastModified();\n File destD = destDir == null ? srcDir : destDir;\n if (fcv == null) {\n FilterChain fc = new FilterChain();\n fc.add(filter);\n fcv = n...
"public Map<String, Object> parse(byte[] data, int size) throws UnsupportedEncodingException, ParserException {\n Map<String, Object> metadata = new HashMap<String, Object>();\n ParsableByteArray id3Data = new ParsableByteArray(data, size);\n int id3Size = parseId3Header(id3Data);\n while (id3Size > 0) {\n ...
"public ChatPanel createChat(MetaContact contact, Contact protocolContact) {\n synchronized (syncChat) {\n ChatWindow chatWindow;\n if (Constants.TABBED_CHAT_WINDOW && this.chatWindow != null)\n chatWindow = this.chatWindow;\n else {\n chatWindow = new ChatWindow(mainFrame)...
"public void actionMenuEditAnonymize() {\n if (model == null) {\n main.showInfoDialog(Resources.getMessage(\"String_Node_Str\"), Resources.getMessage(\"String_Node_Str\"));\n return;\n }\n if (model.getInputConfig().getInput() == null) {\n main.showInfoDialog(Resources.getMessage(\"String_...
"public synchronized TooltipPainter setBorderSize(int size) {\n this.borderSize = size;\n this.textLayout = null;\n return this;\n}\n"
"private void create() throws IOException {\n if (isCreate) {\n return;\n }\n ICompressor compressor = FindCompressor.get(columnBinary.compressorClassName);\n byte[] binary = compressor.decompress(columnBinary.binary, binaryStart, binaryLength);\n column = new PrimitiveColumn(columnBinary.columnTy...
"public void showHelp(CommandSender sender, String topic) {\n Messaging mess = new Messaging(sender);\n mess.send(\"String_Node_Str\" + Misc.headerify(\"String_Node_Str\" + iConomyLand.name + \"String_Node_Str\" + iConomyLand.codename + \"String_Node_Str\"));\n if (topic == null || topic.isEmpty()) {\n ...
"public void actionMenuFileExportData() {\n if (model == null) {\n main.showInfoDialog(Resources.getMessage(\"String_Node_Str\"), Resources.getMessage(\"String_Node_Str\"));\n return;\n } else if (model.getOutput() == null) {\n main.showInfoDialog(Resources.getMessage(\"String_Node_Str\"), Re...
"private TestSummary.Builder markIncomplete(TestSummary.Builder summaryBuilder) {\n TestSummary summary = summaryBuilder.peek();\n BlazeTestStatus status = summary.getStatus();\n if (skipTargetsOnFailure) {\n status = BlazeTestStatus.NO_STATUS;\n } else if (status != BlazeTestStatus.NO_STATUS) {\n ...
"protected List<EllipseRotated_F64> getFoundEllipses() {\n return detector.getDetector().getEllipseDetector().getFoundEllipses(null);\n}\n"
"public void parseIcsFile_Normal() {\n testCalendar.clear();\n testCalendar = IcsParser.parseIcsFile(\"String_Node_Str\");\n calendarValidity(testCalendar, 3);\n}\n"
"private void renderEpisodes(final TvShowViewModel tvShow) {\n List<Renderer<EpisodeViewModel>> episodeRenderers = new LinkedList<Renderer<EpisodeViewModel>>();\n episodeRenderers.add(new EpisodeRenderer());\n EpisodeRendererBuilder episodeRendererBuilder = new EpisodeRendererBuilder(episodeRenderers);\n Ep...
"protected void populateItem(final ListItem<Pair<V>> item) {\n item.add(getKeyEditComponent(item));\n item.add(visualizer.createComponent(\"String_Node_Str\", DisplayMode.EDIT, documentModel, propertyModel, oType, new PropertyModel<V>(item.getModel(), \"String_Node_Str\")));\n item.add(new AjaxFormCommand<Obje...
"private void dumpMemInfo(PrintWriter pw, Debug.MemoryInfo memInfo, boolean checkin, boolean dumpInfo, boolean dumpDalvik) {\n long nativeMax = Debug.getNativeHeapSize() / 1024;\n long nativeAllocated = Debug.getNativeHeapAllocatedSize() / 1024;\n long nativeFree = Debug.getNativeHeapFreeSize() / 1024;\n Ru...
"protected String[] getExtensionIdsToActivate(String perspectiveId) {\n if (perspectiveFilterExtensionsReader == null) {\n perspectiveFilterExtensionsReader = new PerspectiveFilterRegistryReader(getActionProviderId());\n perspectiveFilterExtensionsReader.readRegistry();\n }\n INavigatorContentSer...
"public void readPortableData(EntityPlayer player, NBTTagCompound tag) {\n if (!canPlayerAccess(player.getCommandSenderName())) {\n return;\n }\n rsMode = RedstoneControlHelper.getControlFromNBT(tag);\n frequency = tag.getInteger(\"String_Node_Str\");\n modeItem = tag.getByte(\"String_Node_Str\");...
"private void cancelPostUploadMatchingMedia(MediaModel media, String errorMessage) {\n PostModel postToCancel = mPostStore.getPostByLocalPostId(media.getLocalPostId());\n if (postToCancel == null)\n return;\n SiteModel site = mSiteStore.getSiteByLocalId(postToCancel.getLocalSiteId());\n mPostUploadNo...
"public static void sendResults(EmailExport export) {\n if (WebApp.DEV) {\n return;\n }\n Map<String, Object> params = new HashMap<String, Object>();\n params.put(\"String_Node_Str\", Config.instance.mandrillKey());\n List<Map<String, String>> to = new ArrayList<Map<String, String>>();\n for (i...
"public void widgetSelected(SelectionEvent e) {\n SessionHandleAdapter.getInstance().getCommandStack().startTrans(Messages.getString(\"String_Node_Str\"));\n if (((Button) e.widget).getSelection()) {\n for (int i = 0; i < toggleProviders.length; i++) {\n BorderInfomation information = new Border...
"public void testTotal() throws Exception {\n if (!isApplicable()) {\n return;\n }\n MondrianProperties props = MondrianProperties.instance();\n propSaver.set(props.UseAggregates, false);\n propSaver.set(props.ReadAggregates, false);\n String mdx = \"String_Node_Str\";\n Result result = getT...
"public boolean isAllUpperCase() {\n if (size() <= 1) {\n return mCapitalizedMode == CAPS_MODE_AUTO_SHIFT_LOCKED || mCapitalizedMode == CAPS_MODE_MANUAL_SHIFT_LOCKED;\n } else {\n return mCapsCount == size();\n }\n}\n"
"public boolean marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, Object objectValue, AbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext, XPathFragment rootFragment) {\n XPathFragment xmlRootFrag = null;\n if (objectValue instanceo...
"public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n locationComparator = new ChapterComparator(PrefUtils.getHomeChapterIdNotNull(this), App.getInstance().getLastLocation());\n setupChapterSwitcher();\n if (savedInstanceState...
"public boolean isFragment() {\n return isApplicationXML() && fragment;\n}\n"
"public void timeRangeUpdated(TmfRangeSynchSignal signal) {\n assert (signal != null);\n if (fTrace != null) {\n TmfTimeRange range = signal.getCurrentRange().getIntersection(fTrace.getTimeRange());\n if (range == null) {\n return;\n }\n fWindowStartTime = range.getStartTime...
"public boolean isQueueThread(final QueueAction<?, ? extends Throwable> item) {\n if (Thread.currentThread() == thread) {\n return true;\n }\n QueueAction<?, ? extends Throwable> last = item;\n Thread t = null;\n while (last != null && (t = last.getCallerThread()) != null) {\n if (t != null...
"public Object get(int hash, Object obj, long field) {\n WriteFieldAccess w = entries.get(hash);\n while (w != null) {\n if (w.getReference() == obj && w.getField() == field)\n return w;\n w = w.getNext();\n }\n return null;\n}\n"
"void addCaseProofs(Vector<String[]> pfStepVec, Vector<NodeRepresentation> childVec, String[] assumpArray, String[] proofText) {\n int newAssumpCount = assumpArray.length;\n NodeRepresentation lastChildNode = childVec.elementAt(childVec.size() - 1);\n int lenOfChildAssumps = childVec.size();\n if (lastChild...
"public BigDecimal getAsBigDecimal() {\n if (value instanceof BigDecimal) {\n return (BigDecimal) value;\n } else {\n return new BigDecimal(value.toString());\n }\n}\n"
"public boolean onOptionsItemSelected(MenuItem item) {\n final int id = item.getItemId();\n if (id == R.id.show_on_map) {\n if (mStop != null) {\n HomeActivity.start(getActivity(), mStop.getId(), mStop.getLatitude(), mStop.getLongitude());\n }\n return true;\n } else if (id == R...
"public void canGetJobCoordinatorServiceBean() {\n final JobPersistenceService jobPersistenceService = Mockito.mock(JobPersistenceService.class);\n final JobSubmitterService jobSubmitterService = Mockito.mock(JobSubmitterService.class);\n final JobKillService jobKillService = Mockito.mock(JobKillService.class)...
"protected int compareHierarchicallyButSiblingsByValue(Member m1, Member m2) {\n if (FunUtil.equals(m1, m2)) {\n return 0;\n }\n while (true) {\n int levelDepth1 = m1.getLevel().getDepth(), levelDepth2 = m2.getLevel().getDepth();\n if (levelDepth1 < levelDepth2) {\n m2 = m2.getP...
"protected void init(NodeMainExecutor nodeMainExecutor) {\n this.nodeMainExecutor = nodeMainExecutor;\n nodeConfiguration = NodeConfiguration.newPublic(InetAddressFactory.newNonLoopback().getHostAddress(), getMasterUri());\n if (getIntent().hasExtra(ROBOT_DESCRIPTION_EXTRA)) {\n robotDescription = (Robo...
"public void createDisk(String diskName) {\n try {\n disk = new RandomAccessFile(diskName, \"String_Node_Str\");\n byte[] diskInit = new byte[diskSize];\n Arrays.fill(diskInit, zero);\n disk.seek(0);\n disk.write(diskInit);\n disk.seek(0);\n for (int i = 0; i < tableS...
"public static void export(Writer writer, OTDataObject rootObject, OTDatabase db) throws Exception {\n writtenIds = new ArrayList();\n processedClasses = new ArrayList();\n duplicateClasses = new ArrayList();\n containers = new HashMap();\n processedIds = new ArrayList();\n incomingReferenceMap = new ...
"private Bitmap transformResult(Request request, Bitmap result) {\n List<Transformation> transformations = request.transformations;\n if (!transformations.isEmpty()) {\n for (int i = 0, count = transformations.size(); i < count; i++) {\n Transformation t = transformations.get(i);\n re...
"public void action(Action action) {\n System.out.println(\"String_Node_Str\" + action.getActionType());\n if (action.getActionType() == EActionType.SELECT_AREA) {\n } else if (action instanceof DrawLineAction) {\n if (tool != null && !(tool instanceof SetStartpointTool)) {\n DrawLineAction l...
"public void inotTest6() {\n System.out.println(\"String_Node_Str\");\n final short[] content = new short[32768 - 5];\n content[0] = 0;\n content[1] = 2;\n content[2] = 4;\n content[3] = 6;\n content[4] = 8;\n for (int i = 10; i <= 32767; ++i) content[i - 10 + 5] = (short) i;\n MappeableConta...
"protected TdDataProvider findDataProvider() {\n TdDataProvider provider = DataProviderHelper.getTdDataProvider((Package) selectedObj);\n IFile file = PrvResourceFileHelper.getInstance().findCorrespondingFile(provider);\n TdDataProvider synchronizedProvider = PrvResourceFileHelper.getInstance().readFromFile(fi...
"private void showCancelAlert() {\n if (mEditPostContentFragment != null && mEditPostContentFragment.hasEmptyContentFields()) {\n if (mIsNewPost) {\n WordPress.wpDB.deletePost(mPost);\n }\n finish();\n return;\n }\n savePost(true);\n if (mOriginalPost != null && !mPost...
"public void doTests() {\n TreeElement root = null;\n EvaluationContext ec = new EvaluationContext(null);\n TreeElementParser parser;\n try {\n InputStream is = System.class.getResourceAsStream(formPath);\n parser = new TreeElementParser(ElementParser.instantiateParser(is), 0, \"String_Node_St...
"protected String generateUniqueID() {\n if (random == null) {\n random = new Random();\n }\n String randLong = \"String_Node_Str\" + random.nextLong();\n randLong = randLong.replaceAll(\"String_Node_Str\", \"String_Node_Str\");\n return \"String_Node_Str\" + randLong;\n}\n"
"public void setLord(IMinionLord b) {\n if (!b.equals(boss)) {\n this.setBossId(b.getThePersistentID());\n boss = b;\n }\n}\n"
"private TextArea getNextTextArea(int maxLineWidth) {\n if (null != wordVestige) {\n TextArea textArea = createTextArea(textContent, offset, lineBaseLevel, runLevel, fontInfo);\n textArea.setMaxWidth(maxLineWidth);\n textArea.setWidth(0);\n addWordIntoTextArea(textArea, wordVestige);\n ...
"public void finalize() {\n try {\n clearDiskFile();\n } catch (IOException e) {\n logger.log(Level.FINE, e.getMessage(), e);\n }\n}\n"
"public boolean onMeasured(View view) {\n crossfadeView.getLayoutParams().height = crossfadeView.getHeight();\n crossfadeView.requestLayout();\n crossfadeView.toggle(!loggedIn, false);\n return false;\n}\n"
"private static void toXml(String objectName, ResultSet results, PrintWriter out) throws SQLException {\n ResultSetMetaData meta = results.getMetaData();\n int size = meta.getColumnCount();\n while (results.next()) {\n out.println(\"String_Node_Str\" + objectName + \"String_Node_Str\");\n for (in...
"public boolean finish() {\n if (treeViewer != null) {\n treeViewer.removeCheckStateListener(checkStateListener);\n }\n List<ContextParameterType> contextEditableResultValuesList = null;\n if (manager != null) {\n contextEditableResultValuesList = manager.getContextEditableResultValuesList();\...
"public void widgetSelected(SelectionEvent event) {\n int selectionIndex = predefinedCommands.getSelectionIndex();\n if (selectionIndex != -1) {\n int predefIndex = selectionIndex - 1;\n ServiceCommand value = predefIndex >= 0 && predefIndex < predefined.size() ? predefined.get(predefIndex) : null;\...
"public int announceXValue(Ability source, Game game) {\n int xValue = 0;\n Player controller = game.getPlayer(source.getControllerId());\n StackObject stackObject = game.getStack().getStackObject(source.getId());\n if (controller != null && stackObject != null) {\n xValue = controller.announceXCost(...
"public static Readable newInstance(Context context, Integer intentType, String intentText, String intentPath) {\n Readable readable;\n if (TextUtils.isEmpty(intentText)) {\n readable = new TestSettingsText();\n readable.setText(context.getResources().getString(R.string.sample_text));\n } else {\...
"public static IResultMetaData retrieveResultMetaData(DataSetHandle dataSetHandle) throws BirtException {\n List resultSetList = null;\n if (dataSetHandle instanceof OdaDataSetHandle) {\n PropertyHandle handle = dataSetHandle.getPropertyHandle(OdaDataSetHandle.RESULT_SET_PROP);\n resultSetList = han...
"public void call(Subscriber<? super String> o) {\n char[] buffer = new char[size];\n try {\n if (o.isUnsubscribed())\n return;\n int n = 0;\n n = i.read(buffer);\n while (n != -1 && !o.isUnsubscribed()) {\n o.onNext(new String(buffer, 0, n));\n n = i.r...
"protected void write(ContentModelContainer parent, boolean isOptional, boolean repeated) {\n TypeRef<T, C> t = ep.getTypes().get(0);\n LocalElement e = parent.element();\n QName tn = t.getTagName();\n e.name(tn.getLocalPart());\n List lst = e.simpleType().list();\n writeTypeRef(lst, t, \"String_Node_...
"private static void setLDAPSchemaValue(LDAPSchemaConnection connection, INode node, String repositoryValue) {\n if (\"String_Node_Str\".equals(repositoryValue)) {\n String value = getParameterValue(connection, node, \"String_Node_Str\").replaceAll(\"String_Node_Str\", \"String_Node_Str\");\n if (value...
"public Collection<UnorderedPair> getRltRowsForLeq(int startFac1, int endFac1, int startFac2, int endFac2, RowType type) {\n List<Factor> leqFactors = rlt.getLeqFactors();\n Map<Integer, List<Integer>> varConsMap = getVarConsMap(leqFactors);\n Set<UnorderedPair> rltRows = new HashSet<UnorderedPair>();\n for...
"public void aliasSet() {\n String name = this.getName();\n AliasPair aliasPair = (AliasPair) aliasPairList_.get(name);\n innerAlias_ = (Port) aliasPair.getInnerAlias();\n outerAlias_ = (Port) aliasPair.getOuterAlias();\n}\n"
"public void processImages() throws IOException {\n DefaultCaret caret = (DefaultCaret) OutputTxtArea.getCaret();\n caret.setUpdatePolicy(ALWAYS_UPDATE);\n if (CopyXXHDPIChk.isSelected()) {\n xxhdpiDirectory = new File(originalDirectory.getParent() + \"String_Node_Str\" + PrefixText.getText() + \"String...
"public void setBaby(boolean flag) {\n if (flag) {\n this.datawatcher.watch(12, new Integer(-24000));\n } else {\n this.datawatcher.watch(12, 0);\n }\n ((MyCow) myPet).isBaby = flag;\n}\n"
"protected IStatus undo() {\n log.info(getText() + \"String_Node_Str\");\n String doc = undoActionTrack.get(getActionUndoPos() - 1);\n refresh(doc);\n return Status.OK_STATUS;\n}\n"
"private void update(PlayerTablistHandler tablistHandler) {\n try {\n if (tablistHandler.getPlayer().getServer() != null) {\n if (BungeeTabListPlus.getInstance().getConfigManager().getMainConfig().excludeServers.contains(tablistHandler.getPlayer().getServer().getInfo().getName()) || tablistHandler....
"public void release() {\n if (_state != RELEASED) {\n _mediaPlayer.release();\n _state = RELEASED;\n }\n}\n"
"public static IOConsoleOutputStream getOutputStream() {\n IOConsoleOutputStream outputStream = findConsole().newOutputStream();\n outputStream.setEncoding(System.getProperty(\"String_Node_Str\", \"String_Node_Str\"));\n return outputStream;\n}\n"
"public void Unjail(String[] args, User user) {\n if (args.length != 1) {\n user.sendMessage(ChatColor.YELLOW + \"String_Node_Str\");\n return;\n }\n PermissionUser puser2;\n if ((puser2 = PermissionUser.matchUserIgnoreCase(args[0])) == null) {\n user.sendMessage(ChatColor.RED + \"Strin...
"public String toString() {\n return getHandler() + \"String_Node_Str\" + EVENT_NAME + \"String_Node_Str\" + getScheduledTime() + \"String_Node_Str\" + getDuration() + \"String_Node_Str\" + localFSClient;\n}\n"
"public byte[] read(long offset) {\n if (offset >= startOffset + fileSize) {\n LOG.warn(\"String_Node_Str\", offset);\n return null;\n }\n try {\n channel.position(offset - startOffset);\n ByteBuffer headerBuffer = ByteBuffer.allocate(MESSAGE_HEADER_LENGTH);\n int readLen = c...
"public boolean handle(Object receive) throws Exception {\n if (receive instanceof RpbGetBucketResp) {\n RpbGetBucketResp resp = (RpbGetBucketResp) receive;\n RpbBucketProps props = resp.getProps();\n Bucket pb = new PbcBucket(bucket);\n pb.setNumberOfReplicas(props.getNVal());\n p...
"public void test() throws IOException, InterruptedException {\n String input = \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\";\n List<IElement> elements = HtmlConverter.convertToElements...
"public void n() {\n if (this.jumpDelay > 0) {\n --this.jumpDelay;\n }\n if (this.bi > 0 && !this.bA()) {\n double d0 = this.locX + (this.bj - this.locX) / (double) this.bi;\n double d1 = this.locY + (this.bk - this.locY) / (double) this.bi;\n double d2 = this.locZ + (this.bl - this...