content stringlengths 40 137k |
|---|
"public void testPackage(String pkg) throws IOException {\n File dir;\n try {\n dir = cabalUnpack(pkg);\n } catch (ExecutionError e) {\n String msg = e.getCause() == null ? \"String_Node_Str\" : e.getCause().getMessage();\n System.out.println(\"String_Node_Str\" + pkg + \"String_Node_Str\"... |
"public void changed(Database.ChangeEvent event) {\n List<DocumentChange> changes = event.getChanges();\n for (DocumentChange change : changes) {\n RevisionInternal rev = change.getAddedRevision();\n assertNotNull(rev);\n assertNotNull(rev.getDocId());\n assertNotNull(rev.getRevId());\... |
"public void onEvent(SoarEvent event) {\n inputReady = false;\n}\n"
|
"public void setUp() throws MojoExecutionException, MojoFailureException {\n if (locales == null || locales.length == 0) {\n locales = new String[] { \"String_Node_Str\" };\n }\n if (sourcePaths == null) {\n sourcePaths = MavenUtils.getSourcePaths(build);\n if (mergeResourceBundle != null ... |
"public void deleteObjects(long schemaOid, ArrayList<PersistenceCapableImpl> objects) {\n PagedPosIndex oi = schemaIndex.getSchema(schemaOid).getObjectIndex();\n for (PersistenceCapableImpl co : objects) {\n long oid = co.jdoZooGetOid();\n long pos = oidIndex.removeOidNoFail(oid, -1);\n if (p... |
"private void copyResponse(String response, JSONObject internalResp) {\n try {\n if (internalResp != null) {\n if (response != null) {\n logger.fine(\"String_Node_Str\");\n JSONObject respObj = (JSONObject) JSONSerializer.toJSON(response);\n internalResp... |
"public void finished() throws Throwable {\n if (state == FINISHED)\n return;\n if (state != STARTED)\n throw new IllegalStateException(\"String_Node_Str\" + state);\n state = FINISHED;\n Throwable lastThrownException = null;\n if (beforeStepsWereExecuted) {\n for (StageState stage :... |
"public void setUp() {\n MockitoAnnotations.initMocks(this);\n factory = new AttributeDataProxyFactory(proxyProvider, null, attributeTypeCache);\n}\n"
|
"private void updateModelCollaborators(CountDownLatch latch, String repoId) {\n if (model.getRepoId().generateId().equals(repoId)) {\n List<User> collaborators = collaboratorUpdateService.getUpdatedItems(RepositoryId.createFromId(repoId));\n if (collaborators.size() > 0) {\n model.updateColl... |
"public List<CubeInstance> listAllCubes(String project) {\n project = ProjectInstance.getNormalizedProjectName(project);\n HashSet<CubeInstance> ret = new HashSet<CubeInstance>();\n for (String cubeName : projectInstance.getCubes()) {\n CubeInstance cube = CubeManager.getInstance(config).getCube(cubeNam... |
"private void incrementTagCounters(String tag, String weight) {\n if (tag == null || weight == null) {\n log.warn(\"String_Node_Str\" + tag + \"String_Node_Str\" + weight);\n return;\n }\n double dWeight = 1;\n if (weight.length() != 0) {\n dWeight = NumberFormatUtils.getDouble(weight, ... |
"protected Object decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, StateEnum stateEnumValue) throws Exception {\n if (stateEnumValue != null) {\n try {\n State state = stateEnumValue.getState();\n LOG.debug(\"String_Node_Str\" + state + ']');\n state.on... |
"public static String createTempFile(String contents) throws IOException {\n File f = File.createTempFile(FILE_PREFIX, FILE_SUFFIX);\n f.deleteOnExit();\n BufferedWriter out = new BufferedWriter(new FileWriter(f));\n try {\n out.write(contents);\n } finally {\n out.close();\n }\n retu... |
"public void watch(GameEvent event, Game game) {\n if (event.getType() == GameEvent.EventType.LAND_PLAYED) {\n Permanent permanent = game.getPermanentOrLKIBattlefield(event.getTargetId());\n if (permanent != null && permanent.isLand() && !playerPlayedLand.contains(event.getPlayerId())) {\n p... |
"boolean cancelAllNotificationsInt(int callingUid, int callingPid, String pkg, int mustHaveFlags, int mustNotHaveFlags, boolean doit, int userId, int reason, ManagedServiceInfo listener) {\n String listenerName = listener == null ? null : listener.component.toShortString();\n EventLogTags.writeNotificationCancelA... |
"Group lookupResidue(String chainId, String seqId) {\n try {\n Chain chain = structure.getChainByPDB(chainId);\n if (null != chain) {\n try {\n ResidueNumber resNum = null;\n if (Character.isAlphabetic(seqId.charAt(seqId.length() - 1))) {\n re... |
"static public String wktGeometryFixer(String wktGeometry) {\n String regex = \"String_Node_Str\";\n String[] geometryArray = wktGeometry.split(regex);\n StringBuilder fixedGeometry = new StringBuilder();\n String regex = \"String_Node_Str\";\n String[] ga = wktGeometry.split(regex, 2);\n if (ga.lengt... |
"public void run() {\n try {\n TreeParent xobject = (TreeParent) selection;\n serverObject = xobject.getServerRoot();\n if (xobject == null)\n return;\n String server = (String) xobject.getServerRoot().getWsKey();\n ObjectRetriever retriever = new ObjectRetriever((TreePa... |
"public Map<String, String> getFidMappings(String tableName) throws SQLException {\n String fidTable = tableName + \"String_Node_Str\";\n Map<String, String> mappings = new HashMap<String, String>();\n try (Statement st = cx.createStatement()) {\n try (ResultSet rs = st.executeQuery(sql)) {\n ... |
"private void checkRead() throws IOException {\n if (columnsStore == null || current == total) {\n if (columnsStore != null) {\n long timeAssembling = System.currentTimeMillis() - startedReadingCurrentBlockAt;\n totalTimeSpentProcessingRecords += timeAssembling;\n LOG.info(\"S... |
"public Subject authenticate(Object credentials) {\n String user = \"String_Node_Str\", password = \"String_Node_Str\";\n String host = null;\n if (credentials instanceof String[]) {\n String[] up = (String[]) credentials;\n if (up.length == 1) {\n user = up[0];\n } else if (up.... |
"private AudioInputStream toStream(Sound[] channels, AudioFormat audioFormat) {\n int length = channels.length * audioFormat.getFrameSize() * channels[0].getSamples().length;\n byte[] data = new byte[length];\n for (int i = 0; i < data.length; i++) {\n int currentFrameByte = i % audioFormat.getFrameSize... |
"private Map<String, TypeInfo> buildTypeInfo(JavaClass[] allClasses) {\n for (JavaClass javaClass : allClasses) {\n if (javaClass == null) {\n continue;\n }\n TypeInfo info = typeInfo.get(javaClass.getQualifiedName());\n if (info == null || info.isPostBuilt()) {\n co... |
"protected void sendKeyEvent(int keyCode, boolean isPressed) {\n assertRunOnServiceThread();\n List<SendKeyAction> action = getActions(SendKeyAction.class);\n if (!action.isEmpty()) {\n action.get(0).processKeyEvent(keyCode, isPressed);\n } else {\n if (isPressed && getActiveSource().isValid()... |
"public static boolean mightBeTIB(ObjectReference obj) throws InlinePragma, UninterruptiblePragma {\n return !obj.isNull() && Space.isMappedObject(obj) && Space.isImmortal(obj) && Space.isMappedObject(ObjectReference.fromObject(VM_ObjectModel.getTIB(obj)));\n}\n"
|
"public List getReferableBindings(String targetLevel, ICubeQueryDefinition cubeDefn, boolean isSort) throws AdapterException {\n try {\n List bindings = cubeDefn.getBindings();\n if (bindings == null)\n return new ArrayList();\n DimLevel target = OlapExpressionUtil.getTargetDimLevel(t... |
"private boolean maybeBucketHostedStyle(String fullHostHeader) {\n if (!Strings.isNullOrEmpty(fullHostHeader))\n try {\n final String host = Iterables.getFirst(hostSplitter.split(fullHostHeader), fullHostHeader);\n final Name hostDnsName = Name.fromString(host, Name.root);\n r... |
"protected void evolve() {\n boolean[] flamable = Dungeon.level.flamable;\n int cell;\n int fire;\n Freezing freeze = (Freezing) Dungeon.level.blobs.get(Freezing.class);\n boolean observe = false;\n for (int i = area.left - 1; i <= area.right; i++) {\n for (int j = area.top - 1; j <= area.botto... |
"protected void triggerShutdown() {\n runThread.interrupt();\n}\n"
|
"private StackedRankColumnModel createUnBound(RankTableModel table, final int column, final String label, Color color, Color bgColor) {\n StackedRankColumnModel stacked = new StackedRankColumnModel();\n stacked.setTitle(label);\n table.add(stacked);\n for (TumorType type : TumorType.values()) {\n sta... |
"protected void onDownloadNecessary() {\n AndroidApi.UI_THREAD_HANDLER.post(new Runnable() {\n\n public void run() {\n progressBar.setVisibility(View.VISIBLE);\n progressBar.setIndeterminate(true);\n }\n });\n}\n"
|
"public ApplicationDetail getAppDetail(ApplicationId appId) throws Exception {\n ApplicationSpecification appSpec = store.getApplication(appId);\n if (appSpec == null) {\n throw new ApplicationNotFoundException(appId);\n }\n ensureAccess(appId);\n String ownerPrincipal = ownerAdmin.getOwnerPrincip... |
"protected void initData(Composite dataComposite) {\n Label label = new Label(dataComposite, SWT.NONE);\n label.setText(RedisClient.i18nFile.getText(I18nFile.VALUE));\n text_value = new Text(dataComposite, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL | SWT.MULTI);\n text_value.setLayoutData(new GridData(SWT.FIL... |
"public void testNamedQuery() {\n QueryResource resource = new QueryResource();\n resource.setPersistenceFactory(factory);\n PersistenceContext context = getAuctionPersistenceContext(null);\n DynamicEntity entity1 = (DynamicEntity) context.newEntity(\"String_Node_Str\");\n entity1.set(\"String_Node_Str\"... |
"private void cmbGenderFilterActionPerformed(java.awt.event.ActionEvent evt) {\n if (filterListenersActive)\n filterDict();\n}\n"
|
"public void assignSequenceNumber(Object object, ClassDescriptor descriptor) throws DatabaseException {\n if (descriptor.usesSequenceNumbers() && !descriptor.getSequence().shouldAcquireValueAfterInsert()) {\n startOperationProfile(SessionProfiler.AssignSequence);\n ObjectBuilder builder = descriptor.ge... |
"public void run() {\n IChatRoomManager[] managers = new IChatRoomManager[accounts.size()];\n int j = 0;\n for (Iterator i = accounts.values().iterator(); i.hasNext(); ) {\n UserAccount ua = (UserAccount) i.next();\n managers[j++] = ua.getContainer().getChatRoomManager();\n }\n ChatRoomSele... |
"private void reloadChildren() {\n InGetVariable igv = Main.getDebugHandler().getVariable(parentId, thisVar.name, true);\n childs = new ArrayList<>();\n childTraits = new ArrayList<>();\n if (thisVar.vType != VariableType.FUNCTION || ((thisVar.flags & VariableFlags.HAS_GETTER) > 0)) {\n if (parentId ... |
"public void tickStart(TickEvent.ClientTickEvent event) {\n wasInUse = inUse;\n inUse = false;\n if (event.side == Side.CLIENT && Minecraft.getMinecraft().thePlayer != null) {\n EntityPlayer player = Minecraft.getMinecraft().thePlayer;\n if (SteamcraftEventHandler.hasPower(player, 1) && player.ge... |
"public void run() {\n Path out = new Path(context.getProps().getProperty(CommonConstants.GUAGUA_OUTPUT));\n if (!context.getMasterResult().isHalt() && context.getCurrentIteration() != context.getTotalIteration()) {\n writeModelToFileSystem(context.getMasterResult().getTrees(), out);\n }\n saveTmpMod... |
"public void reduce(TextPairWC termFile, Iterable<TermInfo> termInfos, Context context) throws IOException, InterruptedException {\n ArrayList<TermInfo> termInfos_lst = new ArrayList<TermInfo>();\n for (TermInfo termInfo : termInfos) termInfos_lst.add((TermInfo) WritableUtils.clone(termInfo, context.getConfigurat... |
"public ModelNode buildRequestWithoutHeaders(CommandContext ctx) throws CommandFormatException {\n final ModelNode composite = new ModelNode();\n composite.get(Util.OPERATION).set(Util.COMPOSITE);\n composite.get(Util.ADDRESS).setEmptyList();\n final ModelNode steps = composite.get(Util.STEPS);\n final P... |
"public List<BusinessGroup> findBusinessGroupsOfAreaKeys(List<Long> areaKeys) {\n if (areaKeys == null || areaKeys.isEmpty())\n return Collections.emptyList();\n StringBuilder sb = new StringBuilder();\n sb.append(\"String_Node_Str\").append(BGtoAreaRelationImpl.class.getName()).append(\"String_Node_Str... |
"public void thingRemoved(DiscoveryService source, ThingUID thingUID) {\n if (thingUID.equals(this.getThing().getUID())) {\n logger.debug(\"String_Node_Str\", getThing().getUID());\n getThing().setStatus(ThingStatus.OFFLINE);\n }\n}\n"
|
"private void readConfiguration(final String prefix, final boolean output, final Map<String, ARXNode> map, final ZipFile zip) throws IOException, ClassNotFoundException, SAXException {\n final ZipEntry entry = zip.getEntry(prefix + \"String_Node_Str\");\n if (entry == null) {\n return;\n }\n final Ob... |
"protected WizardDialog getPredefinedDialog() {\n CreateNewAnalysisWizard wizard = new CreateNewAnalysisWizard(true, AnalysisType.MULTIPLE_COLUMN);\n wizard.setForcePreviousAndNextButtons(true);\n TimeSliceOptionPage page = new TimeSliceOptionPage();\n wizard.setOtherPages(new WizardPage[] { page });\n r... |
"public <S> GraphTraversal<S, S> of() {\n final GraphTraversal<S, S> traversal = new DefaultGraphTraversal<>();\n traversal.getStrategies().register(SqlGGraphStepStrategy.instance());\n traversal.addStep(new StartStep<>(traversal));\n traversal.sideEffects().setGraph(this);\n return traversal;\n}\n"
|
"public void testGlobalSearch() throws Exception {\n this.testUtils.rest().delete(this.reference);\n this.testUtils.rest().savePage(this.reference);\n this.solrUtils.waitEmpyQueue();\n String query = String.format(\"String_Node_Str\", this.pageName, buildURI(WikisSearchQueryResource.class, getWiki()));\n ... |
"public static Program optimize(Logger logger, PrintStream icOutput, Program prog) throws UserException {\n boolean logIC = icOutput != null;\n if (logIC) {\n prog.log(icOutput, \"String_Node_Str\");\n }\n long nIterations;\n try {\n nIterations = Settings.getLong(Settings.OPT_MAX_ITERATION... |
"private void handleIssueClick(TurboIssue issue, IssueCard card) {\n issuepickerQueryField.setDisable(true);\n state.updateSelectedIssues(issue);\n populateSelectedIssues(state.getSelectedIssues(), state.getCurrentSuggestion());\n}\n"
|
"public void add(int id, int db, String key, List<String> values, boolean headTail, boolean exist, int ttl) {\n AddList command = new AddList(id, db, key, values, headTail, exist);\n command.execute();\n if (ttl != -1) {\n Expire command1 = new Expire(id, db, key, ttl);\n command1.execute();\n ... |
"public MessageInfo buildMessageInfo(NotificationMessage message) {\n MessageInfo messageInfo = new MessageInfo();\n messageInfo.setFrom(getFrom(message)).setTo(getTo(message));\n Provider provider = providerService.getProvider(message.getProviderType());\n String language = getLanguage(message);\n Strin... |
"public boolean isInitialized(Node node) throws NodeNotAccessible, Exception {\n SshUtil ssh = new SshUtil(node.getIp(), node.getUser(), node.getPrivateKeyFile());\n while (!ssh.isAccessible()) {\n System.out.println(\"String_Node_Str\" + node.getIp() + \"String_Node_Str\" + node.getUser() + \"String_Node_... |
"public void exportClusterData(final String name, final String specFileName, final String type, final String topology, final String delimeter, final String output) {\n String path = null;\n if (!CommandsUtils.isBlank(specFileName)) {\n if (!CommandsUtils.isBlank(type)) {\n System.out.println(Con... |
"private ApplicationClusterContext createApplicationClusterContext(String appId, String groupName, CartridgeInfo cartridgeInfo, String subscriptionKey, int tenantId, String repoUrl, String alias, String clusterId, String hostname, String deploymentPolicy, boolean isLBCluster, boolean isKubernetesCluster, String[] depen... |
"public void widgetSelected(SelectionEvent e) {\n boolean success = false;\n String email = emailText.getText().trim();\n String password = passwordText.getText().trim();\n String pseudonym = userNameText.getText().trim();\n try {\n success = RegisterManagement.getInstance().createUser(email, pseu... |
"public static <T extends ImageBase, D extends ImageBase> FeaturePyramid<T, D> hessianPyramid(int featureRadius, float cornerThreshold, int maxFeatures, Class<T> imageType, Class<D> derivType) {\n GeneralFeatureIntensity<T, D> intensity = new WrapperLaplacianBlobIntensity<T, D>(HessianBlobIntensity.Type.DETERMINANT,... |
"protected int internalCompare(final int row1, final int row2, final int[] columns, final boolean ascending) {\n checkRegistry();\n try {\n for (int i = 0; i < columns.length; i++) {\n int index = columns[i];\n int cmp = dataTypes[0][index].compare(internalGetValue(row1, index), inter... |
"private void setLastSourceStat(SourceStatus sourceStat) {\n StreamStatus myStreamStat = null;\n for (StreamStatus streamStat : sourceStat.getSsList()) {\n if (streamStat.getStreamId().equals(sid))\n this.lastStreamStat = streamStat;\n }\n}\n"
|
"public static final void checkNamespacePrefix(String prefix, Locator loc) {\n if (prefix == null || prefix.length() == 0)\n return;\n String reason = null;\n char first = prefix.charAt(0);\n if (isXMLDigit(first)) {\n reason = \"String_Node_Str\";\n } else if (first == '$') {\n reas... |
"public static void jsLoad(String aResourceName, final JavaScriptObject onSuccess, final JavaScriptObject onFailure, final boolean text) throws Exception {\n SafeUri uri = AppClient.getInstance().getResourceUri(aResourceName);\n if (onSuccess != null) {\n AppClient.getInstance().startRequest(uri, text ? Re... |
"static void handleStyle(Element ele, Map cssStyles, IContent content) {\n String tagName = ele.getTagName();\n StyleDeclaration style = new StyleDeclaration(content.getCSSEngine());\n if (\"String_Node_Str\".equals(tagName)) {\n String attr = ele.getAttribute(\"String_Node_Str\");\n if (null != ... |
"private void authorizeRequest(String url, Map<String, String> params) throws PodioException {\n RequestFuture<String> future = RequestFuture.newFuture();\n StringRequest request = new RefreshRequest(url, params, future);\n requestQueue.add(request);\n String resultJson = getBlockingResponse(future);\n s... |
"protected SQLCall buildSimple(AbstractSession session) {\n SQLCall call = new SQLCall();\n call.returnNothing();\n Writer writer = new CharArrayWriter(100);\n ExpressionSQLPrinter printer = new ExpressionSQLPrinter(session, getTranslationRow(), call, false, getBuilder());\n printer.setWriter(writer);\n ... |
"public static void limitDataPointLabelLocation(Chart cm, IDisplayServer xs, Label laDataPoint, double dScale, Location lo) throws ChartException {\n if (lo == null || cm instanceof ChartWithoutAxes) {\n return;\n }\n ChartWithAxes cwa = (ChartWithAxes) cm;\n Plot p = cwa.getPlot();\n BoundingBox ... |
"public QualityControl getQualityControl(CallPeer peer) {\n if (peer instanceof CallPeerJabberImpl)\n return ((CallPeerJabberImpl) peer).getMediaHandler().getQualityControl();\n else\n return null;\n}\n"
|
"public MedicationAdministrationDosageComponent setRate(Type value) throws FHIRFormatError {\n if (value != null && !(value instanceof Ratio || value instanceof Quantity))\n throw new FHIRFormatError(\"String_Node_Str\" + value.fhirType());\n this.rate = value;\n return this;\n}\n"
|
"private void createList(Composite container, final ListingParameter listParam) {\n boolean isRequired = listParam.getHandle().isRequired();\n boolean isStringType = listParam.getHandle().getDataType().equals(DesignChoiceConstants.PARAM_TYPE_STRING);\n Object value = null;\n try {\n value = listParam... |
"public void mouseMove(MouseEvent e) {\n String tooltip = null;\n TableItem item = ((Table) e.widget).getItem(new Point(e.x, e.y));\n if (item != null) {\n List<Object[]> data = (List<Object[]>) tableViewerColumns.getData(KEY_PREVIEW_DATA);\n if (data != null) {\n StringBuilder sb = ne... |
"protected List<Afl> extractAfl(final byte[] pGpo) {\n List<Afl> list = new ArrayList<Afl>();\n ByteArrayInputStream bai = new ByteArrayInputStream(pAfl);\n while (bai.available() >= 4) {\n Afl afl = new Afl();\n afl.setSfi(bai.read() >> 3);\n afl.setFirstRecord(bai.read());\n afl.s... |
"private ValidatorInfo parseValidator(ComponentCtrl compCtrl, Annotation anno) {\n ValidatorInfo info = new ValidatorInfo();\n for (final Iterator<Entry<String, Object>> it = anno.getAttributes().entrySet().iterator(); it.hasNext(); ) {\n final Entry<String, Object> entry = it.next();\n final String... |
"public static void initialize() {\n blockMachine = addBlock(new BlockMachine());\n blockDevice = addBlock(new BlockDevice());\n blockDynamo = addBlock(new BlockDynamo());\n blockCell = addBlock(new BlockCell());\n blockTank = addBlock(new BlockTank());\n blockStrongbox = addBlock(new BlockStrongbox()... |
"public void addTextValue(String appendValue) {\n isNullValue = false;\n if (appendValue != null) {\n value = value + appendValue;\n }\n}\n"
|
"public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n return true;\n } else if (id == R.id.action_normal) {\n listView.setParallax(false);\n return true;\n } else if (id == R.id.action_parallax) {\n ... |
"public Date getFieldDate() {\n return realmGetter$fieldDate();\n}\n"
|
"public Alignments.AlignmentEntry next() {\n if (!alignmentEntryReader.hasNext(collection, numberOfEntries())) {\n throw new NoSuchElementException();\n }\n return collection.getAlignmentEntries(alignmentEntryReader.incrementEntryIndex());\n}\n"
|
"public void deserialize(ReusableBuffer buf) {\n object_data = new ObjectData();\n object_data.deserialize(buf);\n}\n"
|
"public void zoomFit() {\n try {\n Rectangle2D content = dataset().bounds();\n if (content == null) {\n return;\n }\n double w = getWidth() / content.getWidth();\n double h = getHeight() / content.getHeight();\n double scale = Math.min(w, h);\n scale = scal... |
"private String getTimestamp() {\n Calendar calendar = new GregorianCalendar();\n StringBuilder timestamp = new StringBuilder();\n timestamp.append(calendar.get(Calendar.YEAR));\n timestamp.append((\"String_Node_Str\"));\n timestamp.append(StringUtils.pad(calendar.get(Calendar.MONTH)));\n timestamp.ap... |
"private void generateInstanceStream(PartUsageLink usageLink, double tx, double ty, double tz, double rx, double ry, double rz, List<Integer> filteredPath) throws JAXBException, IOException {\n PartMaster pm = usageLink.getComponent();\n PartRevision partR = pm.getLastRevision();\n PartIteration partI = partR.... |
"private int addCuts(IloCplex cplex, int cut) throws UnknownObjectException, IloException {\n List<Integer> rows = sto.projectModelParamsAndAddCuts();\n return rows.size() + mp.rlt.addRowsAsFactors(rows);\n}\n"
|
"public MethodBody convertMethodBody(String path, boolean isStatic, int scriptIndex, int classIndex, ABC abc, Trait trait, AVM2ConstantPool constants, List<MethodInfo> method_info, ScopeStack scopeStack, boolean isStaticInitializer, List<String> fullyQualifiedNames, Traits initTraits) throws InterruptedException {\n ... |
"public AFPChain alignOptimal(Atom[] ca1, Atom[] ca2, Object param, AFPChain[] alignments) throws StructureException {\n long startTime = System.currentTimeMillis();\n if (alignments.length != ca2.length) {\n throw new IllegalArgumentException(\"String_Node_Str\");\n }\n Atom[] ca2p = StructureTools.... |
"public synchronized void init(String connStr, String path, BoardSettings info) throws BoardInitException {\n this.table = info.getTable();\n if (this.insertQuery == null) {\n this.insertQuery = String.format(\"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_N... |
"public void doFree(DownloadLink downloadLink) throws Exception, PluginException {\n boolean resumable = true;\n int maxchunks = 0;\n Form freeform = null;\n Form[] allForms = br.getForms();\n if (allForms == null || allForms.length == 0)\n throw new PluginException(LinkStatus.ERROR_PLUGIN_DEFECT)... |
"protected void setupHandlerForKeepAsElementPolicy(UnmarshalRecord unmarshalRecord, XPathFragment xPathFragment, Attributes atts) {\n SAXFragmentBuilder builder = unmarshalRecord.getFragmentBuilder();\n builder.setOwningRecord(unmarshalRecord);\n try {\n String namespaceURI = XMLConstants.EMPTY_STRING;\... |
"public void clear() {\n bits.clear();\n}\n"
|
"public static ConsumerEndpoint findMatch(String serviceId, Map<String, ConsumerEndpoint> endpoints) {\n if (endpoints.containsKey(serviceId)) {\n logger.debug(\"String_Node_Str\", serviceId);\n return endpoints.get(serviceId);\n }\n for (Map.Entry<String, ConsumerEndpoint> entry : endpoints.entr... |
"public static double adjustedRandError(ImageProcessor label, ImageProcessor proposal, double binaryThreshold) {\n ByteProcessor binaryLabel = new ByteProcessor(label.getWidth(), label.getHeight());\n ByteProcessor binaryProposal = new ByteProcessor(proposal.getWidth(), proposal.getHeight());\n for (int x = 0;... |
"public String getResult() {\n if (myResult != null) {\n return myResult;\n } else {\n return topDebugger().getResult();\n }\n}\n"
|
"private int parseDecimal(int bufferIndex, Context context) {\n double d = 0.0;\n long part = 0;\n boolean neg = (byteBuffer[bufferIndex] == '-');\n if (neg) {\n ++bufferIndex;\n }\n int limit = bufferLimit;\n long shift = 0;\n outer1: while (true) {\n try {\n for (final... |
"protected void onInitialize() {\n super.onInitialize();\n Form<OClass> form = new Form<OClass>(\"String_Node_Str\");\n structureTable = new OrienteerStructureTable<OClass, String>(\"String_Node_Str\", getModel(), OClassMetaPanel.OCLASS_ATTRS) {\n protected Component getValueComponent(String id, final I... |
"public void acceptSearchMatch(final SearchMatch match) throws CoreException {\n IType element = (IType) match.getElement();\n if (toRecType(element).equals(recType)) {\n res[0] = element;\n }\n}\n"
|
"public List<String> getWailaBody(ItemStack itemStack, List<String> currenttip, IWailaDataAccessor accessor, IWailaConfigHandler config) {\n super.getWailaBody(itemStack, currenttip, accessor, config);\n TileEntity tileEntity = accessor.getTileEntity();\n if (tileEntity instanceof PowerCellTileEntity) {\n ... |
"private boolean setupConnector(final INode node, List<ElementParameter> listParam, String paramName, SchemaProperty schemaProperty, boolean isOutput) {\n ComponentProperties rootProperty = node.getComponentProperties();\n boolean found = false;\n for (Connector connector : rootProperty.getPossibleConnectors(i... |
"public Vector getTriggers() {\n Vector relTriggers = expr.getTriggers();\n Vector absTriggers = new Vector();\n for (int i = 0; i < relTriggers.size(); i++) {\n absTriggers.addElement(((TreeReference) relTriggers.elementAt(i)).anchor(originalContextRef));\n }\n return absTriggers;\n}\n"
|
"private void colorNodeLabelBorder(NodeLabelBorderImpl nodeLabelBorder) {\n if (nodeLabelBorder != null) {\n nodeLabelBorderColorizer.color(nodeLabelBorder);\n }\n}\n"
|
"private String conceptId() throws FHIRException {\n StringBuffer res = new StringBuffer(Utilities.padLeft(\"String_Node_Str\", ' ', 18));\n int i = 0;\n while (peek() >= '0' && peek() <= '9') {\n res.setCharAt(i, next());\n i++;\n }\n rule(i > 0, \"String_Node_Str\" + peekDisp() + \"String... |
"private static Claim dbAuthenticate(PasswordCredentials creds, String domainName) {\n Domain domain = null;\n User user = null;\n debug(\"String_Node_Str\");\n try {\n Domains domains = domainStore.getDomains(domainName);\n List<Domain> domainList = domains.getDomains();\n if (domainLi... |
"public void stop(CoprocessorEnvironment e) {\n topicMetadataCacheSupplier.release();\n if (compactionState != null) {\n compactionState.stop();\n }\n}\n"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.