content stringlengths 40 137k |
|---|
"protected void initOptions() {\n loadDefaultValues(\"String_Node_Str\");\n ConfigurableOption bidiProcessing = new ConfigurableOption(BIDI_PROCESSING);\n bidiProcessing.setDisplayName(getMessage(\"String_Node_Str\"));\n bidiProcessing.setDataType(IConfigurableOption.DataType.BOOLEAN);\n bidiProcessing.s... |
"public void breakBlock(World world, int x, int y, int z, Block block, int meta) {\n if (!field_149934_M) {\n TileEntityBoiler tileentityboiler = (TileEntityBoiler) world.getTileEntity(x, y, z);\n if (tileentityboiler != null) {\n for (int i1 = 0; i1 < tileentityboiler.getSizeInventory(); ++... |
"public ATTRIBUTE_GROUP getKeyGroup(Class type) {\n if (this.keyGroups == null || type == null) {\n return null;\n }\n ATTRIBUTE_GROUP result = this.keyGroups.get(type);\n while (result == null && !type.equals(CoreClassConstants.OBJECT)) {\n type = type.getSuperclass();\n if (type == nu... |
"void setAttributeReadOnly(String name) {\n synchronized (attributesLock) {\n if (attributes.containsKey(name))\n readOnlyAttributes.put(name, name);\n }\n}\n"
|
"public Response execute() {\n DatabaseAccessor db = null;\n try {\n db = initDB();\n List<String> values = db.getChoices(name);\n if (values.contains(value)) {\n db.removeDropDownAnnotationValue(name, value);\n } else {\n return new ErrorResponse(HttpStatusCode.B... |
"private void splitByComma(List<Expression> result, Expression expression) {\n if (expression.getType() == ASTCssNodeType.COMPOSED_EXPRESSION) {\n ComposedExpression composed = (ComposedExpression) expression;\n return composed.splitByComma();\n } else {\n result.add(expression);\n }\n}\n"... |
"public void testXmlAttributeOverride() {\n if (shouldGenerateSchema) {\n outputResolver = generateSchema(CONTEXT_PATH, PATH, 1);\n String controlSchema = PATH + \"String_Node_Str\";\n compareSchemas(outputResolver.schemaFiles.get(EMPTY_NAMESPACE), new File(controlSchema));\n shouldGenera... |
"protected final DelayedHttpServiceResponder wrapResponder(HttpResponder responder) {\n MetricsCollector collector = this.metricsCollector;\n if (context.getServiceContext() != null && context.getServiceContext().getSpecification() != null) {\n collector = metricsCollector.childCollector(Constants.Metrics.... |
"public void onMouseOver(NUIMouseOverEvent event) {\n int sectionOver = getSectionOver(event.getRelativeMousePosition());\n if (selectedTab != -1) {\n sections.get(selectedTab).setSelected(false);\n }\n if (sectionOver != -1) {\n sections[sectionOver].setSelected(true);\n }\n selectedTab... |
"private void reRequestMissingParams(int howManyParams) {\n for (int i = 0; i < howManyParams; i++) {\n Boolean isPresent = paramsRollCall.get(i);\n if (isPresent == null || !isPresent) {\n MavLinkParameters.readParameter(myDrone, i);\n }\n }\n}\n"
|
"public void onSuccess(final String newType) {\n Dialogs.showPromptDialog(messages.outcomeDetailTitle(), null, null, messages.outcomeDetailPlaceholder(), RegExp.compile(\"String_Node_Str\"), messages.cancelButton(), messages.confirmButton(), false, new AsyncCallback<String>() {\n\n public void onFailure(Throw... |
"private Artifact createArtifact(IProgressMonitor monitor, RoughArtifact roughArtifact, Artifact realParent) throws OseeCoreException {\n Artifact realArtifact = roughToRealArtifact.get(roughArtifact);\n if (realArtifact != null) {\n return realArtifact;\n }\n realArtifact = artifactResolver.resolve(... |
"public ItemStack simulateRemove(int how_many, ItemStack Filter, IInventoryDestination dest) {\n ItemStack target = null;\n for (ItemStack is : cs.getContents()) {\n if (is != null) {\n if (is.stackSize > 0 && (Filter == null || Platform.isSameItem(Filter, is))) {\n if (dest == nu... |
"private InputStream runOpReport(String[] args) {\n ArrayList<String> cmd = new ArrayList<>();\n cmd.add(\"String_Node_Str\");\n if (OprofileProject.getProfilingBinary().equals(OprofileProject.OPERF_BINARY)) {\n String workingDir = \"String_Node_Str\";\n RemoteProxyManager proxy = RemoteProxyMana... |
"public Object execute(ExecutionEvent event) {\n TestSuiteBrowser testExecTreeView = (TestSuiteBrowser) Plugin.getView(Constants.TS_BROWSER_ID);\n if (testExecTreeView == null) {\n return null;\n }\n if (!(testExecTreeView.getTreeViewer().getSelection() instanceof IStructuredSelection)) {\n re... |
"public Connection getAdaptableProvider(Object element) {\n Connection adaptedDataProvider = null;\n if (element instanceof IFile) {\n adaptedDataProvider = PrvResourceFileHelper.getInstance().findProvider((IFile) element);\n } else if (element instanceof IRepositoryViewObject) {\n Item item = ((... |
"public XMLChoiceObjectMapping generateChoiceMapping(Property property, XMLDescriptor descriptor, NamespaceInfo namespace) {\n ChoiceProperty prop = (ChoiceProperty) property;\n XMLChoiceObjectMapping mapping = new XMLChoiceObjectMapping();\n mapping.setAttributeName(property.getPropertyName());\n if (prope... |
"private void modifyOldRepositoryNode(DatabaseConnection connection, IMetadataConnection iMetadataConnection, RepositoryNode oldNode) throws Exception {\n boolean status = new ManagerConnection().check(iMetadataConnection);\n connection.setDivergency(!status);\n if (status) {\n List<MetadataTable> table... |
"protected void addToCache() {\n mCache.addModel(getModelAdapter().getCachingId(this), this);\n}\n"
|
"public static void buy(Player player, HumanNPC npc, Operation op) {\n if (!EconomyHandler.useEconomy() || EconomyHandler.canBuy(op, player)) {\n if (EconomyHandler.useEconomy()) {\n boolean canSend = false;\n WizardNPC wizard = npc.getToggleable(\"String_Node_Str\");\n double... |
"protected void __initParameters(HttpServletRequest request) throws Exception {\n this.reportDesignHandle = getDesignHandle(request);\n InputOptions options = new InputOptions();\n options.setOption(InputOptions.OPT_REQUEST, request);\n options.setOption(InputOptions.OPT_LOCALE, locale);\n options.setOpt... |
"public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {\n response.setContentType(\"String_Node_Str\");\n response.setHeader(\"String_Node_Str\", \"String_Node_Str\");\n response.setHeader(\"String_Node_Str\", \"String_Node_Str\");\n response.setD... |
"protected void onResume() {\n super.onResume();\n if (WordPress.wpDB == null)\n WordPress.wpDB = new WordPressDB(this);\n boolean commentsLoaded = commentList.loadComments(false, false);\n if (!commentsLoaded)\n commentList.refreshComments(false, false, false);\n}\n"
|
"public Object[] getElements(Object inputElement) {\n ArrayList elementsList = new ArrayList(inputParameterGroup.getParameters().getContents());\n for (Iterator iter = elementsList.iterator(); iter.hasNext(); ) {\n ScalarParameterHandle handle = (ScalarParameterHandle) iter.next();\n String[] column... |
"public static void calculateModelImportsElementLChanges(IFile file, PathPair pathPair, TextFileChange textFileChange) throws Exception {\n File nativeFile = ModelUtil.getLocation(file).makeAbsolute().toFile();\n if (nativeFile == null || !nativeFile.exists())\n throw new Exception(getString(\"String_Node_... |
"public void operationComplete(Future<? super Void> future) throws Exception {\n if (cf.cause() != null) {\n logger.error(\"String_Node_Str\", channel, cf.cause());\n progress.incrFailed();\n message.addFailedClient(userId, new PushError(PushError.WriterError, cf.cause().getMessage()));\n } e... |
"private boolean isUpdateRequired(Datapoint datapoint) {\n boolean update = true;\n if (storage.containsKey(datapoint.simpleHashCode())) {\n Datapoint prevDatapoint = storage.get(datapoint.simpleHashCode());\n update = !prevDatapoint.getValue().equals(datapoint.getValue()) || datapoint.getTime() - p... |
"protected Object putInternal(final K key, final V value, final ExpiryPolicy expiryPolicy, final boolean isGet, final boolean withCompletionEvent, final boolean async) {\n final long start = System.nanoTime();\n ensureOpen();\n validateNotNull(key, value);\n CacheProxyUtil.validateConfiguredTypes(cacheConfi... |
"protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n Log.d(\"String_Node_Str\", \"String_Node_Str\");\n QBRTCClient.getInstance().prepareToProcessCalls(this);\n canPerformLogout.set(false);\n setContentView(R.layout.activity_main_call);\n actionBar.hide();\n ... |
"public void setVertexValueAfterWrapper(V vertexValueAfter) {\n this.vertexValueAfter = makeCloneOf(vertexValueAfter, vertexValueClass);\n}\n"
|
"public void getStudyEventAndFormMetaOC1_3(int parentStudyId, int studyId, MetaDataVersionBean metadata, String odmVersion, boolean isIncludedSite) {\n ArrayList<StudyEventDefBean> seds = (ArrayList<StudyEventDefBean>) metadata.getStudyEventDefs();\n ArrayList<FormDefBean> forms = (ArrayList<FormDefBean>) metadat... |
"public void run() {\n parentItem = null;\n selectObj = getSelectedObject().get(0);\n if (selectObj instanceof IRepositoryViewObject) {\n Item pItem = ((IRepositoryViewObject) selectObj).getProperty().getItem();\n if (pItem instanceof ContainerItem) {\n parentItem = (ContainerItem) pIt... |
"public SCIMResponse updateWithPATCH(String existingId, String scimObjectString, UserManager userManager, String attributes, String excludeAttributes) {\n try {\n JSONDecoder decoder = getDecoder();\n JSONEncoder encoder = getEncoder();\n List<PatchOperation> opList = decoder.decodeRequest(scimO... |
"public void testIntegerDeclaration() {\n int len = 1;\n boolean signed = true;\n int base = 1;\n ByteOrder byteOrder = ByteOrder.BIG_ENDIAN;\n Encoding encoding = Encoding.ASCII;\n IntegerDeclaration result = new IntegerDeclaration(len, signed, base, byteOrder, encoding, null, 16);\n assertNotNull... |
"public void startAnimation(String id, Tween.Type repeatType, int count, ActionCallback cb) {\n inAnim();\n if (posTween != null && posTween instanceof WalkTween)\n posTween = null;\n EngineLogger.debug(\"String_Node_Str\" + this.id + \"String_Node_Str\" + id);\n renderer.startAnimation(id, repeatTyp... |
"public CubeDesc updateCubeAndDesc(CubeInstance cube, CubeDesc desc, String newProjectName) throws UnknownHostException, IOException, JobException {\n final List<BuildCubeJob> buildCubeJobs = listAllCubingJobs(cube.getName(), null, EnumSet.of(ExecutableState.READY, ExecutableState.RUNNING));\n if (!buildCubeJobs.... |
"public String getClassKey(CrawlURI cauri) {\n String candidate;\n boolean ignoreSourceSeed = cauri != null;\n try {\n candidate = super.getClassKey(cauri);\n } catch (NullPointerException e) {\n log.debug(\"String_Node_Str\" + cauri);\n candidate = DEFAULT_CLASS_KEY;\n }\n String... |
"private void initializeSSLTCPTransport(IMessaging messaging, Properties props) throws IOException {\n String sslPortProp = props.getProperty(Constants.SSL_PORT_PROPERTY_NAME);\n if (sslPortProp == null) {\n LOG.info(\"String_Node_Str\");\n return;\n }\n int sslPort = Integer.parseInt(sslPortP... |
"public void checkRemoteLatency(final long testTime, final TimeUnit testTimeUnit, SystemMonitorManager monitor) {\n String msgName = (name != null) ? \"String_Node_Str\" + name + \"String_Node_Str\" : \"String_Node_Str\";\n if (localChangeColor == null || remoteChangeColor == null) {\n throw new RuntimeExc... |
"public boolean canTake(Player player) {\n return take;\n}\n"
|
"public Result setNextRow(Row row) {\n return downstream.setNextRow(row);\n}\n"
|
"public void setRecipesPerPage(int recipesPerPage) {\n if (state == null) {\n return;\n }\n if (state.recipesPerPage != recipesPerPage) {\n int recipeIndex = state.pageIndex * state.recipesPerPage;\n state.pageIndex = recipeIndex / recipesPerPage;\n this.recipesPerPage = recipesPerP... |
"protected JSONObject getExpectedParameters(int sdlVersion) {\n JSONObject result = new JSONObject();\n try {\n result.put(PerformAudioPassThru.KEY_AUDIO_PASS_THRU_DISPLAY_TEXT_1, TEXT_1);\n result.put(PerformAudioPassThru.KEY_AUDIO_PASS_THRU_DISPLAY_TEXT_2, TEXT_2);\n result.put(PerformAudio... |
"public String generateInitializeCode() throws IllegalActionException {\n CodeStream codeStream = _templateParser.getCodeStream();\n codeStream.clear();\n LinkedList args = new LinkedList();\n Parameter stopTime = ((ptolemy.actor.lib.DiscreteClock) getComponent()).stopTime;\n double doubleStopTime = ((Do... |
"public Map<String, JSONObject> alert(JSONObject raw_message) {\n Map<String, JSONObject> alerts = new HashMap<String, JSONObject>();\n JSONObject content = (JSONObject) raw_message.get(\"String_Node_Str\");\n if (!content.containsKey(\"String_Node_Str\") || !content.containsKey(\"String_Node_Str\")) {\n ... |
"protected void updateMarkerRangeImpl(String name, EObject eParentObj, MarkerRange eObj, MarkerRange eRefObj, MarkerRange eDefObj, boolean eDefOverride, boolean checkVisible) {\n if (eObj == null) {\n if (eRefObj != null) {\n eObj = eRefObj.copyInstance();\n ChartElementUtil.setEObjectAt... |
"private String createForeignKeyForTable(final ColumnMetaData columnMetaData, int counter) {\n final TableMetaData tableMetaData = columnMetaData.getTableMetaData();\n final String schemaPrefix = \"String_Node_Str\".equals(_targetSchema) ? \"String_Node_Str\" : _targetSchema + \"String_Node_Str\";\n final Colu... |
"public List<ExecutionResult> execute(List<File> assemblies, File outputDir, String jobPrefix, ConanExecutorService ces) throws InterruptedException, ProcessExecutionException, ConanParameterException, IOException {\n List<ExecutionResult> jobResults = new ArrayList<>();\n if (outputDir.exists()) {\n FileU... |
"public void setUp() throws Exception {\n currentDateTime = ZonedDateTime.of(LocalDateTime.of(2016, 12, 20, 12, 0), ZoneId.systemDefault());\n parser = new CronParser(CronDefinitionBuilder.instanceDefinitionFor(CronType.QUARTZ));\n}\n"
|
"public double[][] getUHat() {\n return uHat;\n}\n"
|
"public void bindStatement() throws StandardException {\n boolean wasSkippingTypePrivileges = getCompilerContext().skipTypePrivileges(true);\n DataDictionary dataDictionary;\n dataDictionary = getDataDictionary();\n checkIndexStats = (dataDictionary.getIndexStatsRefresher(true) != null);\n if (orderByLis... |
"public void ingest(Context context, DSpaceObject dso, Element root, boolean createMissingMetadataFields) throws CrosswalkException, IOException, SQLException, AuthorizeException {\n if (dso.getType() != Constants.ITEM) {\n throw new CrosswalkObjectNotSupported(\"String_Node_Str\");\n }\n Item item = (I... |
"private void checkPrimeItemDiagram(RoughArtifact artifact) {\n Set<String> attributeTypeNames = artifact.getAttributeTypeNames();\n assertEquals(\"String_Node_Str\", ATTRIBUTE_TYPE_LIST.length, attributeTypeNames.size());\n Iterator<String> iterator = attributeTypeNames.iterator();\n for (String expectedTy... |
"private void compilePlanToJSON(List<DumpableNode<?>> nodes, PrintWriter writer) {\n this.nodeIds = new HashMap<DumpableNode<?>, Integer>();\n this.nodeCnt = 0;\n writer.print(\"String_Node_Str\");\n for (int i = 0; i < nodes.size(); i++) {\n visit(nodes.get(i), writer);\n }\n writer.println(\"... |
"public void fire() throws IllegalActionException {\n super.fire();\n for (int i = 0; i < trigger.getWidth(); i++) {\n if (trigger.hasToken(i)) {\n trigger.get(i);\n }\n }\n if ((enable.getWidth() == 0) || (enable.hasToken(0) && ((BooleanToken) enable.get(0)).booleanValue())) {\n ... |
"private boolean appendList(StringBuilder builder, Object value) {\n boolean isPresent = false;\n Collection collection = ((Collection) value);\n isPresent = true;\n builder.append(\"String_Node_Str\");\n for (Object o : collection) {\n if (o != null) {\n appendValue(builder, o.getClass... |
"public String getCustomImplementationRef() {\n return getElement().getAttribute(CUSTOM_IMPL_REF);\n}\n"
|
"public void actionOps(String id, Map<String, ?> queryStrings) {\n actionOps(id, id, queryStrings);\n}\n"
|
"public void modifyNetwork(final String name, final String ip) {\n if (!validateIP(ip, Constants.OUTPUT_OP_MODIFY)) {\n return;\n }\n NetworkAdd networkAdd = new NetworkAdd();\n networkAdd.setName(name);\n try {\n networkAdd.setIp(transferIpInfo(ip));\n networkRestClient.increaseIPs(... |
"public void setColors(List<float[]> colors, int[] indices) {\n if (colors == null) {\n myColors = null;\n myColorIndices = null;\n } else {\n ArrayList<float[]> newColors = new ArrayList<float[]>(colors.size());\n for (int i = 0; i < colors.size(); i++) {\n float[] c = colo... |
"protected void decode(ChannelHandlerContext ctx, FMLProxyPacket msg, List<Object> out) throws Exception {\n ByteBuf payload = msg.payload();\n byte discriminator = payload.readByte();\n Class<? extends PacketBase> packetClass = this.packets.get(discriminator);\n if (packetClass == null) {\n throw ne... |
"private void fillContents() {\n IBrandingService brandingService = (IBrandingService) GlobalServiceRegister.getDefault().getService(IBrandingService.class);\n boolean isOnlyRemoteConnection = brandingService.getBrandingConfiguration().isOnlyRemoteConnection();\n for (ConnectionBean bean : storedConnections) {... |
"public static BigDecimal calculateTheta(List<WeightedSensitivity> weightedSensitivies) {\n BigDecimal sumOfRiskExposures = WeightedSensitivityUtils.sumWeightSensitivities(weightedSensitivies);\n BigDecimal sumOfAbsRiskExposures = WeightedSensitivityUtils.sumAbsoluteValues(weightedSensitivies);\n if (sumOfAbsR... |
"private void paintSelection(Canvas canvas) {\n if (mCurrentSelection == INDEX_NONE)\n return;\n int row = mCurrentSelection / mColumns;\n int col = mCurrentSelection - (row * mColumns);\n int spacing = mSpec.mCellSpacing;\n int leftSpacing = mSpec.mLeftEdgePadding;\n int xPos = leftSpacing + (... |
"public void copyTestCases(Item newItem, RepositoryNode sourceNode, boolean isDuplicate) {\n if (!isAllowedToCopyTestCase(newItem, sourceNode)) {\n return;\n }\n final IPath path = getTestCasePath(newItem, sourceNode);\n if (GlobalServiceRegister.getDefault().isServiceRegistered(ITestContainerProvide... |
"public void testStaticProperties_GRE364_2() {\n runConformTest(new String[] { \"String_Node_Str\", \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\", \"String_Node_Str\", \"String_Node_Str\" }, \"String_Node_Str\");\n}\n"
|
"public Token divide(Token a) throws IllegalActionException {\n if (a instanceof ScalarToken) {\n double tmp = _value / ((ScalarToken) a).doubleValue();\n return new DoubleToken(tmp);\n } else {\n String str = \"String_Node_Str\" + this.getClass().getName();\n str = str + \"String_Node... |
"private void loadAllData() {\n String actionJson = sharedPreferences.getString(BeaconAction.SHARED_PREFS_TAG, \"String_Node_Str\");\n if (!actionJson.isEmpty()) {\n Type listType = new TypeToken<Set<BeaconAction>>() {\n }.getType();\n synchronized (beaconActionsLock) {\n beaconAct... |
"public void afterCommit() {\n Future<?> activationFuture = myTaskExecutor.submit(new Runnable() {\n public void run() {\n activateSubscription(activeStatus, theSubscription, requestedStatus);\n }\n });\n if (ourWaitForSubscriptionActivationSynchronouslyForUnitTest) {\n try {\n ... |
"public MoveLine getInvoiceCustomerMoveLineByQuery(Invoice invoice) throws AxelorException {\n if (this.isDebitCustomer(invoice, true)) {\n return moveLineRepository.all().filter(\"String_Node_Str\", invoice.getMove(), invoice.getPartnerAccount()).fetchOne();\n } else {\n return moveLineRepository.a... |
"protected void doOnePassBinomial(int[][] indices, double[][] values, double[] theta, double[] y, final double tl1, final double tl2, double[] w, double[] pTrain, double[] rTrain) {\n for (int j = 0; j < indices.length; j++) {\n if (Math.abs(theta[j]) <= MathUtils.EPSILON) {\n continue;\n }\... |
"public String toString() {\n return \"String_Node_Str\" + \"String_Node_Str\" + stages + \"String_Node_Str\" + connections + \"String_Node_Str\" + resources + \"String_Node_Str\" + driverResources + \"String_Node_Str\" + clientResources + \"String_Node_Str\" + stageLoggingEnabled + \"String_Node_Str\" + numOfRecord... |
"public void determineAccessRights(String page, State currentState) {\n currentState.setMode(GwtModesType.ReadWrite);\n}\n"
|
"public Object getValue(ELContext ctx, Object base, Object property) throws PropertyNotFoundException, ELException {\n Object value = super.getValue(ctx, base, property);\n final ReferenceBinding rbinding = value instanceof ReferenceBinding ? (ReferenceBinding) value : null;\n if (rbinding != null) {\n ... |
"public int moveCaretGotoLineLastEndAppend(Editor editor, DataContext context, int rawCount, int lline) {\n saveJumpLocation(editor, context);\n return moveCaretToLineEndAppend(editor, rawCount == 0 ? EditorHelper.normalizeLine(editor, EditorHelper.getLineCount(editor) - 1) : lline);\n}\n"
|
"public void startRequest(DIRRequest rq) {\n try {\n final service_get_by_typeRequest request = (service_get_by_typeRequest) rq.getRequestMessage();\n Iterator<Entry<byte[], byte[]>> iter = database.directPrefixLookup(DIRRequestDispatcher.DB_NAME, DIRRequestDispatcher.INDEX_ID_SERVREG, new byte[0]);\n ... |
"public AppLeave getAppLeave() {\n return appLeaveRepo.all().fetchOne();\n}\n"
|
"public String getReplacement(ShellServer server, Session session) throws ShellException {\n return GraphDatabaseApp.getDisplayName((GraphDatabaseShellServer) server, session, GraphDatabaseApp.getCurrent((GraphDatabaseShellServer) server, session), false).toString();\n}\n"
|
"protected void createFormElements(Composite editArea) {\n bindings().bindComboViewer(editArea, Messages.ColumnTransactionType, \"String_Node_Str\", new LabelProvider() {\n\n public String getText(Object element) {\n return ((AccountTransaction.Type) element).name();\n }\n }, EnumSet.of(A... |
"public static void prepareWebArchive(String webAppsDir, String warFile) throws Exception, IOException {\n String webModule = warFile;\n if (webModule.indexOf(\"String_Node_Str\") != -1)\n webModule = webModule.substring(webModule.lastIndexOf(\"String_Node_Str\") + 1);\n if (webModule.indexOf(dirDelim) ... |
"private void initAllFolders() {\n Project newProject = ProjectManager.getInstance().getCurrentProject();\n List<FolderItem> folderItems = ProjectManager.getInstance().getFolders(newProject.getEmfProject());\n try {\n for (FolderItem folder : new ArrayList<FolderItem>(folderItems)) {\n if (Wo... |
"public void closeVpn() {\n try {\n LOG.debug(\"String_Node_Str\");\n ScriptUtil script = new ScriptUtil();\n ShellUtil su = script.execute(\"String_Node_Str\", \"String_Node_Str\", \"String_Node_Str\", CubeClientCoreProperties.getProperty(\"String_Node_Str\"), \"String_Node_Str\");\n LOG... |
"protected void parse_medialist(List<Map<String, String>> medien, Document doc, int offset, String accountName) throws ClientProtocolException, IOException {\n Elements copytrs = doc.select(\"String_Node_Str\");\n SimpleDateFormat sdf = new SimpleDateFormat(\"String_Node_Str\", Locale.GERMAN);\n int trs = copy... |
"public void onSurfaceChanged(GL10 gl, int width, int height) {\n mWidth = width;\n mHeight = height;\n mProgramId = GLES20.glCreateProgram();\n String vertexShaderSource = TextResourceReader.readTextFileFromResource(context, R.raw.pano_vertex_shader);\n String fragmentShaderSource = TextResourceReader.r... |
"public void mousePressed(MouseEvent mouseEvent) {\n mouseReleased = false;\n leftMouseButtonPressed = false;\n rightMouseButtonPressed = false;\n pickedPointDragStart.setLocation(mouseEvent.getPoint());\n prevMouseX = mouseEvent.getX();\n prevMouseY = mouseEvent.getY();\n if (mouseEvent.getClickCo... |
"public void setApiBaseUrl(String apiBaseUrl) {\n if (null != apiBaseUrl && !apiBaseUrl.trim().isEmpty()) {\n _apiBaseUrl = apiBaseUrl;\n }\n}\n"
|
"public DesignElementHandle createElement(Object extendedData) {\n boolean isTable = ReportDesignConstants.TABLE_ITEM.equals(getElementType());\n TableOptionDialog dialog = new TableOptionDialog(UIUtil.getDefaultShell(), isTable);\n if (dialog.open() == Window.OK && dialog.getResult() instanceof Object[]) {\n ... |
"public static List<String> parseTabulatedDesignLine(final String s) {\n if (s == null)\n return null;\n return Arrays.asList(s.split(\"String_Node_Str\"));\n}\n"
|
"public void disconnect() {\n if (isConnected) {\n String dbUrl = getDatabaseUrl();\n dbProperties.put(\"String_Node_Str\", \"String_Node_Str\");\n try {\n DriverManager.getConnection(dbUrl, dbProperties);\n } catch (SQLException ex) {\n if (ex.getSQLState().equals(\... |
"public static Set<ModuleNeeded> getRunningModules() {\n Set<ModuleNeeded> runningModules = new HashSet<ModuleNeeded>();\n runningModules.addAll(getCodesModuleNeededs(ERepositoryObjectType.ROUTINES, true));\n runningModules.addAll(getCodesModuleNeededs(ERepositoryObjectType.getType(\"String_Node_Str\"), true))... |
"public float getFieldFloat() {\n return realmGetter$fieldFloat();\n}\n"
|
"private String getConcreteSuccessorParameters(EndpointState s) {\n return \"String_Node_Str\" + s.getTakeable().stream().sorted(IOStateInterfaceGenerator.IOACTION_COMPARATOR).map((a) -> this.getSuccName.apply(s.take(a))).collect(Collectors.joining(\"String_Node_Str\")) + \"String_Node_Str\";\n}\n"
|
"public List getReferencedLevels(String targetLevel, String bindingExpr, ICubeQueryDefinition queryDefn) throws AdapterException {\n try {\n List result = new ArrayList();\n DimLevel target = OlapExpressionUtil.getTargetDimLevel(targetLevel);\n String bindingName = OlapExpressionCompiler.getRefe... |
"public void launchVideoCamera() {\n MediaUtils.launchVideoCamera(this);\n}\n"
|
"public static Status[] getStatus(String[] pdbIds) {\n Status[] statuses = new Status[pdbIds.length];\n List<Map<String, String>> attrList = getStatusIdRecords(pdbIds);\n if (attrList == null || attrList.size() != pdbIds.length) {\n logger.error(\"String_Node_Str\", Arrays.toString(pdbIds));\n re... |
"private byte[] md5(String value) {\n MessageDigest md5;\n try {\n md5 = MessageDigest.getInstance(\"String_Node_Str\");\n } catch (NoSuchAlgorithmException e) {\n throw new IllegalStateException(e.getMessage(), e);\n }\n md5.reset();\n byte[] bytes;\n try {\n bytes = value.get... |
"public void onOrientationChanged(float azimuth, float pitch, float roll) {\n Location loc = LocationState.getLocation();\n mAzimuth = azimuth;\n mPitch = pitch;\n mRoll = roll;\n String provider = loc.getProvider();\n switch(provider) {\n case LocationManager.GPS_PROVIDER:\n provide... |
"public WritableValue[] getOptionValues() {\n return optionValues.clone();\n}\n"
|
"protected GLCapabilities getCaps() {\n GLCapabilities caps = new GLCapabilities();\n try {\n caps.setAlphaBits(8);\n caps.setDoubleBuffered(true);\n caps.setHardwareAccelerated(true);\n int antialisaing = vizController.getVizConfig().getAntialiasing();\n if (antialisaing == 0) ... |
"public static void shutdownAll() {\n MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();\n try {\n Set<ObjectName> entries = mbs.queryNames(new ObjectName(DOMAIN + \"String_Node_Str\"), null);\n for (ObjectName name : entries) {\n if (mbs.isRegistered(name)) {\n ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.