content
stringlengths
40
137k
"private void drawFacesRaw(GL2 gl, PolygonalMesh mesh, TextureProps textureProps, int flags) {\n Vector3d nrm;\n Vector3d[] nrms = null;\n Vector3d vtxNrm = new Vector3d();\n int[] shadingModel = new int[1];\n gl.glGetIntegerv(GL2.GL_SHADE_MODEL, shadingModel, 0);\n boolean computeVertexNormals = (fla...
"private boolean commonPassedParametersAlreadyContainOneOfTheKeys(VariableBindingKeyPair keyPair) {\n for (VariableBindingKeyPair key : commonPassedParameters.keySet()) {\n if (key.getKey1().equals(keyPair.getKey1()) || key.getKey2().equals(keyPair.getKey2())) {\n return key;\n }\n }\n ...
"public void prepareFor(Record record) {\n DirectMapValues values = MapUtils.getMapValues(map, record, partitionBy);\n final CharSequence str = valueColumn.getFlyweightStr(record);\n if (values.isNew()) {\n nextNull = true;\n if (str == null) {\n allocAndStoreNull(values);\n } e...
"public Set<String> getTeamIDs() {\n final Set<String> set = new HashSet<>();\n if (participantId != null) {\n try {\n Long.parseLong(participantId);\n } catch (final NumberFormatException e) {\n set.add(participantId);\n }\n }\n for (final LeagueEntry entry : entr...
"protected T[] convertInternal(Object value) {\n return value.getClass().isArray() ? convertArrayToArray(value) : convertObjectToArray(value);\n}\n"
"protected <T> ICompletableFuture<T> removeAsyncInternal(K key, V oldValue, boolean hasOldValue, boolean isGet, boolean withCompletionEvent) {\n ensureOpen();\n if (hasOldValue) {\n validateNotNull(key, oldValue);\n CacheProxyUtil.validateConfiguredTypes(cacheConfig, key, oldValue);\n } else {\n ...
"private ProgramVariant createProgramInstance(List<SuspiciousCode> suspiciousList, int idProgramInstance) {\n ProgramVariant progInstance = new ProgramVariant(idProgramInstance);\n log.debug(\"String_Node_Str\" + idProgramInstance);\n if (!suspiciousList.isEmpty()) {\n for (SuspiciousCode suspiciousCode...
"private void addFooter(StringBuffer html, boolean isType, boolean isComplexType, String typeName, String relPath, boolean isIndex, String keyLinks) throws OutputFormatterException {\n logger.entering(\"String_Node_Str\", \"String_Node_Str\", html);\n String content = getFooterInformation(replacementMap, hdrFileP...
"public void consume(ChangeInfo changeDetails) {\n if (selectedChange.changeId.equals(changeDetails.changeId)) {\n selectedChange = changeDetails;\n baseRevision = Optional.absent();\n selectBaseRevisionAction.setSelectedChange(selectedChange);\n for (GerritChangeNodeDecorator decorator :...
"public static void main(String[] args) throws UnknownHostException, ScribbleRuntimeException, IOException, ClassNotFoundException, ExecutionException, InterruptedException {\n Proto1 adder = new Proto1();\n SessionEndpoint se = adder.project(Proto1.C, new ObjectStreamFormatter());\n try (Proto1_C_0 s0 = new P...
"private void logEvent(final Map map, final Player player, final Object obj, long time) {\n map.put(player.getName(), obj);\n micromanage.getPlugin().getServer().getScheduler().scheduleSyncDelayedTask(micromanage.getPlugin(), new Runnable() {\n public void run() {\n map.remove(player);\n ...
"public synchronized void registerCache(Cache<?, ?> cache, float ratio, int minSize) {\n if (cache == null || ratio >= 1 || ratio <= 0 || minSize < 0) {\n throw new IllegalArgumentException(\"String_Node_Str\" + cache + \"String_Node_Str\" + ratio + \"String_Node_Str\" + minSize);\n }\n if (cache instan...
"public KurentoClient getKurentoClient() {\n if (kurentoClient == null && isKmsStarted) {\n kurentoClient = createKurentoClient();\n }\n return kurentoClient;\n}\n"
"public void createPost(Integer groupId, String title, String summary) {\n Map<String, String> post = new HashMap<String, String>();\n post.put(\"String_Node_Str\", title);\n post.put(\"String_Node_Str\", summary);\n return restOperations.postForLocation(GROUP_CREATE_POST_URL, post, groupId);\n}\n"
"private boolean init(Uri uri, IImageList imageList) {\n if (uri == null)\n return false;\n mAllImages = (imageList == null) ? buildImageListFromUri(uri) : imageList;\n mAllImages.open(getContentResolver());\n IImage image = mAllImages.getImageForUri(uri);\n if (image == null)\n return fals...
"public Map<String, Object> toData(TransactionReadable txRecord) throws OseeCoreException {\n Map<String, Object> data = new LinkedHashMap<>();\n data.put(\"String_Node_Str\", txRecord.getLocalId());\n data.put(\"String_Node_Str\", txRecord.getTxType());\n data.put(\"String_Node_Str\", txRecord.getDate());\...
"String getResponseCotent(HttpURLConnection conn, String charset) throws IOException {\n InputStream is = null;\n BufferedReader br = null;\n try {\n is = conn.getInputStream();\n Reader isr = (charset != null) ? new InputStreamReader(is, charset) : new InputStreamReader(is);\n br = new Bu...
"public void setEnvironment() throws Exception {\n String fileFormat = \"String_Node_Str\";\n super.init(userMode);\n log.info(\"String_Node_Str\" + userMode);\n String path = TestConfigurationProvider.getResourceLocation() + File.separator + \"String_Node_Str\" + File.separator + \"String_Node_Str\" + File...
"public Vector getCachedUpdateCalls(Vector updateFields) {\n return (Vector) getCachedUpdateCalls().get(updateFields);\n}\n"
"public Scriptable getScriptable() {\n if (jsObject == null) {\n jsObject = new JSDataSource(this, this.scope);\n }\n return jsObject;\n}\n"
"private Object authenticate(Connection connection, Credentials credentials, ClientPrincipal principal, boolean reAuth, boolean firstConnection) throws IOException {\n AuthenticationRequest auth = new AuthenticationRequest(credentials, principal);\n auth.setReAuth(reAuth);\n auth.setFirstConnection(firstConnec...
"public <T> T addStage(Class<T> stepsClass) {\n if (stages.containsKey(stepsClass)) {\n return (T) stages.get(stepsClass).instance;\n T result = setupCglibProxy(stepsClass);\n stages.put(stepsClass, new StageState(result));\n gatherRules(result);\n injectSteps(result);\n return result;\n}\n"
"private boolean setState(RadioState state) {\n if (DEBUG)\n log(\"String_Node_Str\" + stateMachine + \"String_Node_Str\" + state);\n stateMachine = state;\n memory[REG_FSMSTAT0] = (memory[REG_FSMSTAT0] & 0x3f);\n switch(stateMachine) {\n case VREG_OFF:\n if (DEBUG)\n ...
"public static boolean isAztecEditorToolbarExpanded() {\n return getBoolean(UndeletablePrefKey.AZTEC_EDITOR_TOOLBAR_EXPANDED, false);\n}\n"
"private void initOptions() {\n ConfigurableOption bidiProcessing = new ConfigurableOption(BIDI_PROCESSING);\n bidiProcessing.setDisplayName(getMessage(\"String_Node_Str\"));\n bidiProcessing.setDataType(IConfigurableOption.DataType.BOOLEAN);\n bidiProcessing.setDisplayType(IConfigurableOption.DisplayType.C...
"private void buildProcess() {\n process = new Process(property);\n process.getContextManager().getListContext().addAll(node.getProcess().getContextManager().getListContext());\n process.getContextManager().setDefaultContext(this.selectContext);\n outputComponent = ComponentsFactoryProvider.getInstance().ge...
"protected DataType resolveProperty(DataType sourceType, String identifier, boolean mustResolve) {\n DataType currentType = sourceType;\n while (currentType != null) {\n if (currentType instanceof ClassType) {\n ClassType classType = (ClassType) currentType;\n for (ClassTypeElement e ...
"public void updatePlayer(Server server, List<PlayerInfo> list) {\n try {\n int connected = server.getOnlinePlayers();\n for (PlayerInfo playerInfo : list) {\n try {\n Date playerLastUpdate;\n Player player = playerDAO.findByServerAndGuid(server.getKey(), player...
"public Node[] selectStartNodes(Graph g, int dimension) {\n Collection<Node> sn = new ArrayList<Node>();\n Random r = new Random();\n int gsize = g.getNodeCount();\n int nid;\n Node n;\n int i = 0;\n while (sn.size() < dimension) {\n nid = r.nextInt(gsize - 1);\n nid = nid % gsize;\n ...
"public Collection getSelectionList(String name) {\n usingParameterValues();\n ReportDesignHandle report = (ReportDesignHandle) this.runnable.getDesignHandle();\n ScalarParameterHandle parameter = (ScalarParameterHandle) report.findParameter(name);\n if (parameter == null) {\n return Collections.EMPT...
"public CreateImageResponseType createImage(CreateImageType request) throws EucalyptusCloudException {\n CreateImageResponseType reply = request.getReply();\n Context ctx = Contexts.lookup();\n VmInstance vm;\n try {\n vm = RestrictedTypes.doPrivileged(request.getInstanceId(), VmInstance.class);\n ...
"public String getPassword() {\n if (getServerRoot() != null)\n return getServerRoot().getUser().getPassword();\n return null;\n}\n"
"public void handleReceived(ClientConnection connection) {\n TridentPlayer player = ((PlayerConnection) connection).getPlayer();\n player.setLocale(locale);\n}\n"
"public static void getAdminObjectResourceWizard(HandlerContext handlerCtx) {\n Boolean reload = (Boolean) handlerCtx.getInputValue(\"String_Node_Str\");\n Map attrMap = (Map) handlerCtx.getInputValue(\"String_Node_Str\");\n Map currentMap = (Map) handlerCtx.getInputValue(\"String_Node_Str\");\n String name...
"private void processGetPreviousRevision(final String line) {\n if (!line.startsWith(\"String_Node_Str\")) {\n final String message = REZ.getString(\"String_Node_Str\", line);\n throw new IllegalStateException(message);\n }\n m_previousRevision = line.substring(9);\n saveEntry();\n m_revisi...
"public QueryExecutionNode deepcopy() {\n SelectAllExecutionNode node = new SelectAllExecutionNode(plan);\n copyFields(this, node);\n return node;\n}\n"
"public String getResponse(String url) {\n Cursor cursor = db.query(TABLE_API, new String[] { Response.URL, Response.RESPONSE, Response.LASTUPDATE }, Response.URL + \"String_Node_Str\", new String[] { url }, null, null, null, null);\n if (cursor != null && cursor.moveToFirst()) {\n String response = cursor...
"public static ArrayList<Location> getAllSpawns(JavaPlugin plugin, String arena) {\n FileConfiguration config = MinigamesAPI.getAPI().pinstances.get(plugin).getArenasConfig().getConfig();\n ArrayList<Location> ret = new ArrayList<Location>();\n if (!config.isSet(\"String_Node_Str\" + arena + \"String_Node_Str\...
"public void testConfig2LoadingTypes() {\n List<LoadingType> loadingTypes = StatementPredicateFactory.LoadingType.fromConfig(config2);\n assertTrue(loadingTypes.size() == 1);\n assertTrue(loadingTypes.get(0).equals(LoadingType.COMPLETE));\n}\n"
"public void report(final Measurement m) throws ReportingException {\n final String delim = delimiter;\n synchronized (this) {\n final StringBuffer sb = new StringBuffer();\n final Map<String, Object> results = m.getAll();\n final Object defaultResult = m.get();\n if (resultNames.isEmp...
"protected void fireSyntheticLoadEvent(final Image image) {\n DeferredCommand.addCommand(new Command() {\n public void execute() {\n NativeEvent evt = Document.get().createLoadEvent();\n getImageElement(image).dispatchEvent(evt);\n }\n };\n Scheduler.get().scheduleDeferred(s...
"public void writeNBT() {\n HashMap<Block, Integer> mapBlockToInternalID = getBlockToInternalIDMap();\n try {\n if (levelData == null) {\n System.out.println(\"String_Node_Str\");\n levelData = new NBTTagCompound();\n }\n int[] metadataInt = new int[map_sizeX * map_sizeY...
"public String getInvalidRowsStatement() {\n IndicatorDefinition indicatorDefinition = this.indicator.getIndicatorDefinition();\n if (indicatorDefinition instanceof UDIndicatorDefinition) {\n EList<TdExpression> list = ((UDIndicatorDefinition) indicatorDefinition).getViewInvalidRowsExpression();\n r...
"public static org.hl7.fhir.dstu2016may.model.ImplementationGuide.ImplementationGuideContactComponent convertImplementationGuideContactComponent(org.hl7.fhir.dstu3.model.ImplementationGuide.ImplementationGuideContactComponent src) throws FHIRException {\n if (src == null || src.isEmpty())\n return null;\n ...
"protected void handleReactionSubstrateTag() {\n Integer reactionSubstrateID = -1;\n for (int attributeIndex = 0; attributeIndex < attributes.getLength(); attributeIndex++) {\n attributeName = attributes.getLocalName(attributeIndex);\n if (\"String_Node_Str\".equals(attributeName)) {\n at...
"public void repaint() {\n if (skipRepaint) {\n return;\n }\n try {\n if (parent != null) {\n core = parent.getCore();\n }\n if (core == null) {\n return;\n }\n PropertiesManager propMan = core.getPropertiesManager();\n skipRepaint = true;\...
"private void reAssemble() {\n clear();\n if (items != null) {\n for (int i = 0; i < items.size(); i++) {\n items.get(i).dispose();\n }\n }\n items.clear();\n for (int i = 0; i < dataVO.composite.sImages.size(); i++) {\n SimpleImageVO tmpVo = dataVO.composite.sImages.get(i...
"public void setProperty(String key, String value, String comment) {\n this.commentMap.put(key, comment);\n keys.add(key);\n return super.setProperty(key, value);\n}\n"
"protected void addXMLEntityMappings(String mappingFile) {\n try {\n addXMLEntityMappings(mappingFile, XMLEntityMappingsReader.getEclipseLinkOrmProject());\n } catch (XMLMarshalException e) {\n try {\n fileObject = persistenceUnitReader.getFileObject(mappingFile, processingEnv);\n ...
"public String constructCompleteCopyCommandTemporarySqlVertex(SqlgGraph sqlgGraph, SqlgVertex vertex, Map<String, Object> keyValueMap) {\n return internalConstructCompleteCopyCommandSqlVertex(sqlgGraph, true, vertex, false, keyValueMap);\n}\n"
"public void onChunkUnload() {\n removeFromRegistry();\n}\n"
"public void setUp() throws MojoExecutionException, MojoFailureException {\n builder = new Library();\n if (directory != null) {\n builder.setDirectory(directory);\n }\n super.setUp();\n builder.setOutput(getOutput());\n if (checkNullOrEmpty(includeClasses) && checkNullOrEmpty(includeFiles) && ...
"public boolean execute() {\n try {\n IProject rootProject = ResourceManager.getRootProject();\n if (!rootProject.exists()) {\n rootProject = DQStructureManager.getInstance().createNewProject(ResourceManager.DEFAULT_PROJECT_NAME);\n }\n IResource[] resources = ResourcesPlugin.g...
"public void setClosed() {\n closed.set(true);\n PortfolioOwner shareDestination;\n if (canBeRestarted) {\n if (certsAreInitiallyAvailable) {\n shareDestination = bank.getIpo();\n } else {\n shareDestination = bank.getUnavailable();\n }\n reinitialise();\n }...
"private BeanDefinition getEntityManagerBeanDefinitionFor(String entityManagerFactoryBeanName, Object source) {\n BeanDefinitionBuilder builder = BeanDefinitionBuilder.rootBeanDefinition(\"String_Node_Str\");\n builder.setFactoryMethod(\"String_Node_Str\");\n builder.addConstructorArgReference(entityManagerFac...
"public boolean attackEntityFrom(DamageSource source, float amount) {\n if (isEntityInvulnerable(source)) {\n return false;\n } else {\n markVelocityChanged();\n Entity entity = source.getTrueSource();\n if (entity != null) {\n Vec3d vec3 = entity.getLookVec();\n ...
"public synchronized void addMessageListener(MessageListener messageListener) {\n check(messageListener);\n boolean shouldCall = messageListenerManager().noMessageListenerRegistered(name);\n messageListenerManager().registerMessageListener(name, messageListener);\n if (shouldCall) {\n doAddListenerCa...
"static void appendExtensionSourceCode(StringBuilder buf, String code) {\n Assertion.on(\"String_Node_Str\").mustNotBeNull(buf);\n Assertion.on(\"String_Node_Str\").mustNotBeNull(code);\n String[] separatedListBySemicolon = code.split(StringValue.Semicolon);\n for (String separatedBySemicolon : separatedLis...
"public Object create(User user, PropertyMap properties) {\n orgUnitModel = (OrgUnitModelDTO) properties.get(AdminUtil.ADMIN_ORG_UNIT_MODEL);\n if (orgUnitModel != null && ProjectModelStatus.DRAFT.equals(orgUnitModel.getStatus())) {\n if (orgUnitModel.getId() != -1) {\n update(user, orgUnitModel...
"public static void refreshAllBuffers() {\n synchronized (buffers) {\n for (Vertexbuffer buf : buffers) {\n buf.updateVertices();\n buf.updateGLData();\n }\n }\n}\n"
"public static <T> T clone(T data) {\n if (data == null || Data.isPrimitive(data.getClass())) {\n return data;\n }\n if (data instanceof GenericData) {\n return (T) ((GenericData) data).clone();\n }\n T copy;\n Class<?> dataClass = data.getClass();\n if (dataClass.isArray()) {\n ...
"public synchronized void start(FtpServerContext context) {\n try {\n this.context = context;\n acceptor = new NioSocketAcceptor(Runtime.getRuntime().availableProcessors());\n if (getServerAddress() != null) {\n address = new InetSocketAddress(getServerAddress(), getPort());\n ...
"private void selectBucketAndUploadFiles(File[] files) {\n List<String> names = model.getCurrentNames();\n final String bucketName = display.selectOption(\"String_Node_Str\", \"String_Node_Str\", names);\n if (bucketName != null) {\n controller.selectBucket(bucketName);\n controller.showObjects()...
"private ProductDetailVo assembleProductDetailVo(Product product) {\n ProductDetailVo productDetailVo = new ProductDetailVo();\n productDetailVo.setId(product.getId());\n productDetailVo.setSubtitle(product.getSubtitle());\n productDetailVo.setPrice(product.getPrice());\n productDetailVo.setMainImage(pro...
"public void run() {\n List<Player> tmpPlayers = new ArrayList<Player>();\n while (true) {\n tmpPlayers = new ArrayList<Player>(players);\n for (Iterator<Animation> it = animations.iterator(); it.hasNext(); ) {\n Animation a = it.next();\n a.duration -= 20.0f / 1000.0f;\n ...
"public int getSize() {\n return data.size();\n}\n"
"protected void handleAttributes(MediaFormat format, Map<String, String> attrs) {\n if (attrs != null) {\n String width = null;\n String height = null;\n for (Map.Entry<String, String> attr : attrs.entrySet()) {\n String key = attr.getKey();\n String value = attr.getValue()...
"private void handlePresencePacket(Presence p) {\n PacketExtension packetExt = p.getExtension(MediaExtension.NAMESPACE);\n MUCUser userExt = (MUCUser) p.getExtension(\"String_Node_Str\", \"String_Node_Str\");\n String remoteJid = userExt.getItem().getJid();\n if (null != remoteJid && null != packetExt) {\n ...
"private void registerActions(RegisterAction[] actions) {\n for (int i = 0; i < actions.length; i++) {\n if (actions[i] != null)\n addRetargetAction(new ReportRetargetAction(actions[i].id, actions[i].displayName, actions[i].style));\n }\n}\n"
"protected String getDNOfUser(String adminUser, String adminPassword, Context context, String netid) {\n String resultDN;\n int ldap_search_scope_value = 0;\n try {\n ldap_search_scope_value = Integer.parseInt(ldap_search_scope.trim());\n } catch (Exception e) {\n if (ldap_search_scope != null...
"public void doWork() throws Exception {\n List<Position> positions = positionProvider.getPositions();\n Date currentDate = new Date();\n for (EventProducer eventProducer : eventProducers) {\n eventProducer.setCurrentDate(currentDate);\n eventProducer.before();\n }\n Position prevPosition =...
"public static Bundle verifyText(Context context, InputData data, OutputStream outStream, boolean lookupUnknownKey, ProgressDialogUpdater progress) throws IOException, GeneralException, PGPException, SignatureException {\n Bundle returnData = new Bundle();\n ByteArrayOutputStream out = new ByteArrayOutputStream()...
"private void recordUnidentifiableAtomLinkages(List<ModifiedCompound> modComps, List<Group> residues, List<Group> ligands) {\n Set<StructureAtomLinkage> identifiedLinkages = new HashSet<StructureAtomLinkage>();\n for (ModifiedCompound mc : modComps) {\n identifiedLinkages.addAll(mc.getAtomLinkages());\n ...
"public static AccountManager getAccountManager() {\n if (accountManager == null) {\n accountManager = ServiceUtils.getService(bundleContext, AccountManager.class);\n }\n return accountManager;\n}\n"
"public IFile duplicate() {\n IFile newFile = SimpleHandle.getNewFile(file);\n try {\n file.copy(newFile.getFullPath(), true, null);\n } catch (CoreException e) {\n e.printStackTrace();\n }\n createProperty(newFile.getLocation().toFile());\n return newFile;\n}\n"
"public void modifyText(ModifyEvent e) {\n String min = lowerText.getText();\n String max = higherText.getText();\n if (!CheckValueUtils.isEmpty(max)) {\n if (isRangeForDate) {\n if (!CheckValueUtils.isDateValue(max)) {\n updateStatus(IStatus.ERROR, MSG_ONLY_DATE);\n ...
"public RESTCoverageStore publishExternalMosaic(String workspace, String storeName, File mosaicDir, GSCoverageEncoder coverageEncoder, GSLayerEncoder layerEncoder) throws FileNotFoundException {\n if (!createExternalMosaic(workspace, storeName, mosaicDir, coverageEncoder, layerEncoder)) {\n return null;\n ...
"public void refresh() {\n List plugins = Orderings.pluginOrdering().sortedCopy(this.documentationPluginsManager.documentationPlugins());\n logger.info(\"String_Node_Str\", Integer.valueOf(plugins.size()));\n Iterator var3 = plugins.iterator();\n while (var3.hasNext()) {\n DocumentationPlugin each = ...
"public void write(ByteBuffer buf) {\n try {\n for (; ; ) {\n if (!rwLock.compareAndSet(false, true)) {\n break;\n }\n }\n buf.flip();\n int bufSize = buf.limit();\n if (bufSize <= MAPPED_SIZE) {\n mappedByteBuffer.clear();\n ...
"private TridentChunk rawChunk(ChunkLocation location) {\n TridentChunk chunk = world.chunkAt(location, false);\n if (chunk == null) {\n chunk = new TridentChunk(world, location);\n world.addChunkAt(location, chunk);\n }\n chunk.generate();\n return chunk;\n}\n"
"public void setCrawlerTraps(List<String> regExps, boolean strictMode) {\n ArgumentNotValid.checkNotNull(regExps, \"String_Node_Str\");\n List<String> cleanedListOfCrawlerTraps = new ArrayList<String>();\n for (String crawlerTrap : regExps) {\n log.trace(\"String_Node_Str\" + crawlerTrap + \"String_Node...
"public void testCharConvert_whenPassedString_thenConvertToChar() {\n Comparable value = \"String_Node_Str\";\n Comparable expectedCharacter = 'f';\n Comparable actualCharacter = TypeConverters.CHAR_CONVERTER.convert(value);\n assertThat(actualCharacter, allOf(is(instanceOf(Character.class)), is(equalTo(exp...
"public boolean processAnnotation(Annotation annotation) {\n String name = annotation.type.fullName;\n if (\"String_Node_Str\".equals(name)) {\n this.modifiers |= Modifiers.VAR;\n return true;\n }\n if (\"String_Node_Str\".equals(name)) {\n this.modifiers |= Modifiers.LAZY;\n ret...
"public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {\n Player player = null;\n String commandName = command.getName();\n if (sender instanceof Player) {\n player = (Player) sender;\n } else {\n log.info(\"String_Node_Str\");\n return fal...
"public String toNonNullValue(LocalDateTime value) {\n String formatted = LOCAL_DATETIME_PRINTER.print(value);\n return formatted;\n}\n"
"public void addRoutes(RestRouter rootRouter, RestRouter realmRouter) {\n realmRouter.route(\"String_Node_Str\").auditAs(OAUTH2).authorizeWith(ResourceOwnerOrSuperUserAuthzModule.class).through(UmaEnabledFilter.class).toCollection(ResourceSetResource.class);\n realmRouter.route(\"String_Node_Str\").auditAs(OAUTH2...
"public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {\n Log.d(TAG, \"String_Node_Str\" + isAllowUntrusted());\n if (isAllowUntrusted()) {\n handler.proceed();\n } else {\n handler.cancel();\n }\n}\n"
"void setParent(Widget parent) {\n this.parent = parent;\n if (parent == null) {\n if (oldParent != null && oldParent.isAttached()) {\n onDetach();\n }\n } else if (parent.isAttached()) {\n onAttach();\n }\n}\n"
"private void updateClipping() {\n int top = mClipTopOptimization;\n if (top >= getActualHeight()) {\n top = getActualHeight() - 1;\n }\n mClipRect.set(0, top, getWidth(), getActualHeight());\n setClipBounds(mClipRect);\n}\n"
"public void appendDeclarations(NTASystem system, String NUM_METHODS) {\n super.appendDeclarations(system, NUM_METHODS);\n system.appendDeclaration(String.format(\"String_Node_Str\", NUM_METHODS, initNumBlocks()));\n system.appendDeclaration(String.format(\"String_Node_Str\", NUM_METHODS, cache.getNumBlocks(),...
"private void addColumn(PROXY proxy, Field singleField, byte[] idValue, RowToPersist row) {\n Object value = ReflectionUtil.fetchFieldValue(proxy, singleField);\n Column c = new Column();\n byte[] columnName = formTheColumnName(proxy, idValue, singleField);\n c.setName(columnName);\n if (value != null) {...
"private void fillPlayersPane() {\n playersPane.setVisible(false);\n int maxPlayers = GamesInfo.getMaxPlayers(gameName);\n String[] playerList = new String[maxPlayers];\n String[] testPlayers = Config.get(\"String_Node_Str\").split(\"String_Node_Str\");\n for (int i = 0; i < playerNameFields.length; i++)...
"private boolean inChild(int x, int y) {\n if (getChildCount() > 0) {\n final View child = getChildAt(0);\n return !(y < child.getTop() || y >= child.getBottom() || x < child.getLeft() - scrollX || x >= child.getRight() - scrollX);\n }\n return false;\n}\n"
"private int[] getDisplayColorCalibrationArray() {\n try {\n if (checkService()) {\n return sService.getDisplayColorCalibration();\n }\n } catch (RemoteException e) {\n }\n return null;\n}\n"
"private static CronDefinition quartz() {\n return CronDefinitionBuilder.defineCron().withSeconds().and().withMinutes().and().withHours().and().withDayOfMonth().supportsHash().supportsL().supportsW().supportsLW().supportsQuestionMark().and().withMonth().and().withDayOfWeek().withValidRange(1, 7).withMondayDoWValue(2...
"public List<List<Position>> lines() {\n List<List<Position>> lines = new LinkedList<List<Position>>();\n List<Position> line;\n line = new LinkedList<Position>();\n for (int x = 0; x < Model.LEVELS - z; x++) {\n line.add(at(x, y, z));\n }\n lines.add(line);\n line = new LinkedList<Position>...
"public String getTableOriginalColumnPath(String tableName, String columnName) {\n Object tableInfo = this.tableInfos.get(tableName == null ? \"String_Node_Str\" : tableName.trim());\n if (tableInfo != null)\n return ((TableInfo) tableInfo).getOriginalPath(columnName == null ? \"String_Node_Str\" : columnN...
"protected void endPage() {\n if (context.isAutoPageBreak()) {\n context.setAutoPageBreak(false);\n autoPageBreak();\n }\n if (isPageEmpty()) {\n if (!isFirst) {\n if (isLast) {\n context.setPageNumber(context.getPageNumber() - 1);\n context.setPage...
"public PointF getTrans(float x, float y) {\n ViewPortHandler vph = mChart.getViewPortHandler();\n float xTrans = x - vph.offsetLeft();\n float yTrans = 0f;\n if (inverted()) {\n yTrans = -(y - vph.offsetTop());\n } else {\n yTrans = -(mChart.getMeasuredHeight() - y - vph.offsetBottom());\n...
"public void onLoadFinished(Loader<ObaStopsForLocationResponse> loader, ObaStopsForLocationResponse response) {\n Log.d(TAG, \"String_Node_Str\");\n mFragment.showProgress(false);\n if (response.getCode() != ObaApi.OBA_OK) {\n Activity act = mFragment.getActivity();\n Toast.makeText(act, act.getS...