content stringlengths 40 137k |
|---|
"private static void pipeApplicationLogicHandlers(final Configuration conf, final PathHandler paths, final IdentityManager identityManager, final AccessManager accessManager) {\n if (conf.getApplicationLogicMounts() != null) {\n conf.getApplicationLogicMounts().stream().forEach(al -> {\n try {\n ... |
"public static boolean dropColumnFamily(String columnFamilyName, String keyspaceName) {\n try {\n if (columnFamilyExist(columnFamilyName, keyspaceName)) {\n client.system_drop_column_family(columnFamilyName);\n }\n } catch (InvalidRequestException e) {\n return true;\n } catch (... |
"protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect) {\n InterpolationTable jtable = (InterpolationTable) interp;\n mediaLibImageInterpTable mlibInterpTable;\n Raster source = sources[0];\n Rectangle srcRect = source.getBounds();\n int formatTag = MediaLibAccessor.findCo... |
"protected Entity newRocket() {\n Vector2f pos = newRocketPosition();\n Vector2f vel = calculateVelocity(owner.getFacing());\n final int speed = 650;\n final int splashDamage = 80;\n Rocket bullet = new Rocket(pos, speed, game, owner, vel, damage, splashDamage);\n game.addEntity(bullet);\n return b... |
"public void setDownloadDirectory(String subFolder) {\n downloadDirectory = JDUtilities.removeEndingPoints(subFolder);\n}\n"
|
"public void onHit(MagesStaff staff, Char attacker, Char defender, int damage) {\n Chill chill = defender.buff(Chill.class);\n if (chill != null && Random.IntRange(2, 10) <= chill.cooldown()) {\n new FlavourBuff() {\n {\n actPriority = VFX_PRIO;\n }\n public ... |
"Digest uploadBlob(byte[] blob) throws IOException, InterruptedException {\n Digest digest = Digests.computeDigest(blob);\n ImmutableSet<Digest> missing = getMissingDigests(ImmutableList.of(digest));\n if (!missing.isEmpty()) {\n uploadChunks(1, new Chunker.Builder().addInput(blob));\n }\n}\n"
|
"public boolean check(HttpServerExchange exchange, RequestContext context, DBObject args) {\n if (args instanceof BasicDBList) {\n boolean patching = context.getMethod() == RequestContext.METHOD.PATCH;\n BasicDBList conditions = filterMissingOptionalAndNullNullableConditions((BasicDBList) args, context... |
"protected void createGrizzlyListener(final NetworkListener networkListener) {\n if (\"String_Node_Str\".equals(networkListener.getProtocol())) {\n return createServiceInitializerListener();\n } else {\n createGlassfishListener();\n }\n}\n"
|
"protected void run() {\n LoggingContextAccessor.setLoggingContext(loggingContext);\n initFlowlet();\n PriorityBlockingQueue<ProcessEntry> processQueue = new PriorityBlockingQueue<ProcessEntry>(processSpecs.size());\n for (ProcessSpecification spec : processSpecs) {\n processQueue.offer(new ProcessEn... |
"protected Long decodeLong(IServiceProperties props, String name) {\n Object o = props.getPropertyString(name);\n if (o == null)\n return DEFAULT_LONG;\n if (o instanceof Long)\n return (Long) o;\n if (o instanceof Integer)\n return new Long(((Integer) o).longValue());\n if (o instan... |
"public String genericToSerialized(IElementParameter param) {\n if (param instanceof GenericElementParameter) {\n return ((Node) ((GenericElementParameter) param).getElement()).getComponentProperties().toSerialized();\n } else {\n ComponentProperties componentProperties = ComponentsUtils.getComponen... |
"public void afterStory(boolean isGivenStory) {\n logger.info(\"String_Node_Str\", currentStoryDescription.getDisplayName(), isGivenStory ? \"String_Node_Str\" : \"String_Node_Str\");\n if (isGivenStory) {\n givenStoryContext = false;\n notifier.fireTestFinished(currentStep);\n prepareNextSte... |
"private void elimRefCountsCont(Logger logger, Function f, Continuation cont, HierarchicalSet<Var> parentAssignedAliasVars) {\n for (Block block : cont.getBlocks()) {\n Counters<Var> readIncrements = new Counters<Var>();\n Counters<Var> writeIncrements = new Counters<Var>();\n if (isSingleSpawnC... |
"public void disconnect() throws SkypeException {\n try {\n String response = Connector.getInstance().execute(\"String_Node_Str\" + application.getName() + \"String_Node_Str\" + getId());\n Utils.checkError(response);\n application.fireDisconnected(this);\n } catch (ConnectorException e) {\n ... |
"private String generateNewQuery() {\n if (realDBType != null) {\n dbType = realDBType;\n }\n if (node != null && node instanceof INode) {\n process = ((INode) node).getProcess();\n }\n if (this.realTableId != null && this.dbNameAndDbTypeMap.containsKey(this.realTableId)) {\n dbType ... |
"public void onPreWeaponFired(ItemStack stack, World world, EntityPlayer shooter) {\n if (ammoHandler == null) {\n if (searchInventoryForAmmo(shooter, false) != null) {\n if (!world.isRemote)\n ammoHandler = new AmmoHandler(stack, capacity);\n }\n }\n}\n"
|
"public Vector getPointOnEdge(Coordinate obsPoint) {\n if (this == InferredEdge.emptyEdge)\n return null;\n final Coordinate revObsPoint = new Coordinate(obsPoint.y, obsPoint.x);\n final LinearLocation here = locationIndexedLine.project(revObsPoint);\n final Coordinate pointOnLine = locationIndexedLi... |
"public static long dumpSingleTime(PrintWriter pw, String prefix, long[] durations, int curState, long curStartTime, long now) {\n long totalTime = 0;\n int printedScreen = -1;\n for (int iscreen = 0; iscreen < ADJ_COUNT; iscreen += ADJ_SCREEN_MOD) {\n int printedMem = -1;\n for (int imem = 0; im... |
"public void activateStatic(UserRequest ureq, String className, String viewIdentifier, List<ContextEntry> entries) {\n for (Iterator<SiteInstance> it_sites = sites.iterator(); it_sites.hasNext(); ) {\n SiteInstance site = it_sites.next();\n String cName = site.getClass().getName();\n if (cName.e... |
"public static void saveChatMessage(Context context, ChatMessageCache chatMessageCache) {\n ContentValues values = new ContentValues();\n values.put(ChatMessageTable.Cols.BODY, chatMessageCache.getMessage());\n values.put(ChatMessageTable.Cols.SENDER_ID, chatMessageCache.getSenderId());\n values.put(ChatMes... |
"public void setChoiceFieldToClassAssociations(ArrayList associations) {\n if (associations.size() > 0) {\n for (Object next : associations) {\n XMLChoiceFieldToClassAssociation<Converter, XMLField> association = (XMLChoiceFieldToClassAssociation) next;\n this.addChoiceElement(associatio... |
"private boolean applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) {\n boolean changed = false;\n LayoutParams lp = (LayoutParams) view.getLayoutParams();\n if (left && lp.leftMargin != insets.left) {\n changed = true;\n lp.leftMargin = insets.left;\n ... |
"public LSN switchLogFile(boolean incrementViewId) throws IOException {\n if (!hasLock()) {\n throw new IllegalStateException(\"String_Node_Str\");\n }\n final String newFileName = createLogFileName();\n this.channel.close();\n this.fos.close();\n this.currentLogFileName = newFileName;\n Fil... |
"public int bulkInsert(Uri uri, ContentValues[] values) {\n String table = null;\n int token = ContentDescriptor.URI_MATCHER.match(uri);\n switch(token) {\n case FriendTable.PATH_TOKEN:\n {\n table = FriendTable.TABLE_NAME;\n break;\n }\n case C... |
"public Boolean apply(ProcessTaskWrapper<?> task) {\n if (task.getExitCode() == 0 && task.getStdout().contains(\"String_Node_Str\" + id))\n return true;\n Entity entity = BrooklynTaskTags.getTargetOrContextEntity(Tasks.current());\n String message = \"String_Node_Str\" + task.getMachine().getUser() + \"... |
"public void createControl(Composite parent) {\n int numGridCols = 2;\n parentComposite = new Composite(parent, SWT.NONE);\n GridLayout layout = new GridLayout(numGridCols, true);\n parentComposite.setLayout(layout);\n loadFile = new LoadFileWidget(parentComposite, \"String_Node_Str\", new ICallback<Stri... |
"public void onBlockBreak(BlockBreakEvent event) {\n Block block = event.getBlock();\n V10Location loc = new V10Location(block);\n plugin.funnelBridgeManager.updateBridge(loc);\n Portal portal = null;\n if (plugin.portalManager.borderBlocks.containsKey(loc))\n portal = plugin.portalManager.borderB... |
"private void synchronizeConfigSpecificDir(Payload.Outbound payload, Server server, SyncRequest sr) throws URISyntaxException {\n String configDirName = server.getConfigRef();\n File configDir = env.getConfigDirPath();\n File configSpecificDir = new File(configDir, configDirName);\n if (logger.isLoggable(Le... |
"public void testDateRangeQueries() throws Exception {\n logger.debug(\"String_Node_Str\");\n ConnectionManager cm = getConnectionManager();\n CKeyspaceDefinition definition = JsonUtil.objectFromJsonResource(CKeyspaceDefinition.class, this.getClass().getClassLoader(), \"String_Node_Str\");\n assertNotNull(d... |
"public static <E> HashSet<E> newHashSet(Iterator<? extends E> elements) {\n HashSet<E> set = newHashSet();\n Iterators.addAll(set, elements);\n return set;\n}\n"
|
"public void execute(long t) {\n switch(stateMachine) {\n case STATE_RX_CALIBRATE:\n setCCA(true);\n setState(STATE_RX_SFD_SEARCH);\n break;\n case STATE_TX_CALIBRATE:\n setState(STATE_TX_PREAMBLE);\n break;\n case STATE_RX_WAIT:\n ... |
"public void declareAttacker(UUID attackerId, UUID defenderId, Game game) {\n if (!defenders.contains(defenderId)) {\n return;\n Permanent defender = game.getPermanent(defenderId);\n CombatGroup newGroup = new CombatGroup(defenderId, defender != null);\n newGroup.attackers.add(attackerId);\n Perma... |
"public void handleFailure(Throwable t) {\n resultFuture.setFailure(t);\n}\n"
|
"public void run() {\n final ITmfTrace[] traces = new ITmfTrace[tl.size()];\n final TmfExperimentElement exp = uiexperiment.get(0);\n for (int i = 0; i < tl.size(); i++) {\n ITmfTrace trace = tl.get(i).instantiateTrace();\n ITmfEvent traceEvent = tl.get(i).instantiateEvent();\n if (trace =... |
"protected void onCreate(Bundle tableSex) {\n super.onCreate(tableSex);\n setContentView(R.layout.activity_list_songs);\n songListView = (ListView) findViewById(R.id.activity_list_songs_list);\n Intent intent = getIntent();\n Bundle bundle = intent.getExtras();\n if (bundle == null)\n throw new... |
"public void handleError() throws Exception {\n short errorCode = fetchResponse.errorCode(consumerConfig.topic, currentPartition);\n logger.error(\"String_Node_Str\", errorCode, currentPartition);\n if (errorCode == ErrorMapping.BrokerNotAvailableCode()) {\n logger.error(\"String_Node_Str\", currentPart... |
"public Representation getMedia() {\n setServerHeader();\n Request request = getRequest();\n String userId = null;\n String token;\n String entityId = (String) request.getAttributes().get(Constants.ENTITY_ARG);\n String mediaId = (String) request.getAttributes().get(Constants.MEDIA_ARG);\n boolean ... |
"public Date getDateSent() {\n return new Date(dateSent.getTime());\n}\n"
|
"public void testWaitUntilPageTitlePresentNeg() {\n String origTimeout = Config.getConfigProperty(Config.ConfigProperty.EXECUTION_TIMEOUT);\n try {\n Config.setConfigProperty(Config.ConfigProperty.EXECUTION_TIMEOUT, \"String_Node_Str\");\n Grid.driver().get(url);\n WebDriverWaitUtils.waitUnti... |
"private PeriodHolder findPeriodHolder(long positionUs) {\n if (positionUs < periodHolders.valueAt(0).getAvailableStartTimeUs()) {\n return periodHolders.valueAt(0);\n }\n for (int i = 0; i < periodHolders.size() - 1; i++) {\n PeriodHolder periodHolder = periodHolders.valueAt(i);\n if (pos... |
"private void removeTag(final Dtos.TaskTag tag) {\n filterObject.deleteFromStorage(tag);\n tagsFilter.remove(new PanelWithCheckboxes.Predicate() {\n public boolean toRemove(FilterCheckBox w) {\n Dtos.TaskTag candidate = (Dtos.TaskTag) w.getEntity();\n return objEq(candidate.getName(),... |
"public void getVbrAsString(final BootableSet bootSet, final VmType vmType) {\n try {\n return BindingManager.getDefaultBinding().toString(bootSet.populateVirtualBootRecord(vmType));\n } catch (MetadataException ex1) {\n LOG.error(ex1, ex1);\n }\n}\n"
|
"public void setUp() throws Exception {\n super.setUp();\n File inputFile = new File(testFileRaw);\n byte[] fileData = new byte[(int) inputFile.length()];\n DataInputStream dis = new DataInputStream(new FileInputStream(inputFile));\n dis.readFully(fileData);\n SuccinctBuffer sBuf = new SuccinctBuffer(... |
"public static Double naToNuls(Object object) {\n if (null == object) {\n return null;\n }\n Long na = null;\n if (object instanceof Long) {\n na = (Long) object;\n } else if (object instanceof Integer) {\n na = ((Integer) object).longValue();\n } else {\n return null;\n ... |
"public void rebuildConstantPool() {\n ConstantPoolGen newPool = new ConstantPoolGen();\n ConstantPoolRebuilder rebuilder = new ConstantPoolRebuilder(cpg);\n Set<Integer> usedIndices = ClassReferenceFinder.findPoolReferences(this, true);\n rebuilder.createNewConstantPool(usedIndices);\n rebuilder.updateC... |
"private Map<Boolean, List<IndexClause>> prepareIndexClause(EntityMetadata m) {\n IndexClause indexClause = Selector.newIndexClause(Bytes.EMPTY, maxResult);\n List<IndexClause> clauses = new ArrayList<IndexClause>();\n List<IndexExpression> expr = new ArrayList<IndexExpression>();\n Map<Boolean, List<IndexC... |
"private String loadAttributeValue(int attrId, TransactionId transactionId, Artifact artifact) {\n String appServer = OseeClientProperties.getOseeApplicationServer();\n URI uri = UriBuilder.fromUri(appServer).path(\"String_Node_Str\").path(\"String_Node_Str\").path(String.valueOf(artifact.getBranchId())).path(\"S... |
"public void clearAll() {\n synchronized (lock) {\n cartRepository.clear(cartId);\n logger.info(\"String_Node_Str\");\n }\n}\n"
|
"synchronized void close(boolean fromShutdownHook) {\n if (closing) {\n return;\n }\n if (fileLockMethod == FileLock.LOCK_SERIALIZED && !reconnectChangePending) {\n try {\n if (log != null) {\n log.setReadOnly(true);\n }\n closeOpenFilesAndUnlock(fa... |
"public void onComplete(String body, Exception ex, int code) {\n if (ex != null) {\n LogManager.w(TAG, \"String_Node_Str\", ex, mRemoteUpdateUrlString);\n } else if (code != 200) {\n LogManager.w(TAG, \"String_Node_Str\" + \"String_Node_Str\", mRemoteUpdateUrlString, code);\n } else {\n Lo... |
"public void resetHandlers() {\n TestResponseExceptionMapper.reset();\n TestResponseExceptionMapperOverridePriority.reset();\n getWireMockServer().stubFor(get(urlEqualTo(\"String_Node_Str\")).willReturn(aResponse().withBody(\"String_Node_Str\")));\n}\n"
|
"public void run() {\n int reconnect_delay = 0;\n String reason = \"String_Node_Str\";\n do {\n if (getConsumerState() == StreamConsumer.STATE_RUNNING && reconnect_delay > 0) {\n try {\n Thread.sleep(reconnect_delay * 1000);\n } catch (Exception e) {\n }\n... |
"public void onInventoryChanged(IInventory inventory) {\n ItemStack firstItem = this.gemStorage.getStackInSlot(0);\n this.setItemStackToSlot(EntityEquipmentSlot.MAINHAND, firstItem);\n}\n"
|
"protected void _readChacoOutputFile() throws IllegalActionException {\n String codeFileNameWritten = this.getCodeFileName();\n codeFileNameWritten = codeFileNameWritten.replaceAll(\"String_Node_Str\", \"String_Node_Str\");\n File file = new File(codeFileNameWritten);\n FileInputStream fis = null;\n Buff... |
"void changeFileName(File file) {\n if (file.equals(absoluteFile)) {\n return;\n }\n synchronized (rotationLock) {\n super.flush();\n super.close();\n try {\n openFile(file);\n absoluteFile = file;\n } catch (IOException ix) {\n new ErrorManag... |
"public final void onBusEvent(final ScreenPinningRequestEvent event) {\n int processUser = sSystemServicesProxy.getProcessUser();\n if (sSystemServicesProxy.isSystemUser(processUser)) {\n mImpl.onStartScreenPinning(event.applicationContext);\n } else {\n postToSystemUser(new Runnable() {\n ... |
"public void setStrokeColor(int strokeColor) {\n mStrokeColor = strokeColor;\n invalidatePaints();\n}\n"
|
"public void joinArcade(String playername) {\n PluginInstance pli = MinigamesAPI.getAPI().pinstances.get(plugin);\n if (!players.contains(playername)) {\n players.add(playername);\n arena.addPlayer(playername);\n }\n if (players.size() >= plugin.getConfig().getInt(\"String_Node_Str\")) {\n ... |
"public String getDataFromFile(String fileConfig) throws TransportException {\n String str = \"String_Node_Str\";\n log.info(\"String_Node_Str\" + fileConfig);\n try {\n str = FileHelper.getInstance().readStringFromFile(fileConfig);\n } catch (Exception e) {\n e.printStackTrace();\n log... |
"public double calculatetax() {\n if (age < 60) {\n switch(gender) {\n case 'M':\n if (totalSalary <= 180000)\n return 0.0;\n if (totalSalary <= 500000)\n return (totalSalary - 180000) * 0.10;\n if (totalSalary <= 80... |
"public org.hl7.fhir.dstu3.model.ExplanationOfBenefit convertExplanationOfBenefit(org.hl7.fhir.dstu2.model.ExplanationOfBenefit src) throws FHIRException {\n if (src == null || src.isEmpty())\n return null;\n org.hl7.fhir.dstu3.model.ExplanationOfBenefit tgt = new org.hl7.fhir.dstu3.model.ExplanationOfBene... |
"public Saveable[] getSaveables() {\n Saveable[] superSaveables = super.getSaveables();\n Saveable[] allSavables = Arrays.copyOf(superSaveables, superSaveables.length + 1);\n allSavables[allSavables.length - 1] = editorSavable;\n return allSavables;\n}\n"
|
"public void onSubredditDiscovery(String subreddit) {\n NavigationFragment navFrag = getNavigationFragment();\n if (navFrag != null && navFrag.isRandom()) {\n navFrag.onSubredditDiscovery(subreddit);\n }\n ControlFragment controlFrag = getControlFragment();\n if (controlFrag != null && controlFrag... |
"public boolean isAttributeValueFullyBuilt(Object attributeValue) {\n return attributeValue != null && !(attributeValue instanceof ValueHolder && ((ValueHolder) attributeValue).isNewlyWeavedValueHolder());\n}\n"
|
"public long invokeNativeLong(String name, Object jthis, Class<?>[] types, Object[] args) throws Throwable {\n JsValue result = invokeNative(name, jthis, types, args);\n String msgPrefix = composeResultErrorMsgPrefix(name, \"String_Node_Str\");\n Long value = JsValueGlue.get(result, null, Long.TYPE, msgPrefix)... |
"public void testSplitDag() {\n ConnectorDag cdag = ConnectorDag.builder().addConnection(\"String_Node_Str\", \"String_Node_Str\").addConnection(\"String_Node_Str\", \"String_Node_Str\").addConnection(\"String_Node_Str\", \"String_Node_Str\").addConnection(\"String_Node_Str\", \"String_Node_Str\").addConnection(\"St... |
"public void setApplication(Application application) {\n synchronized (this) {\n if (application == null) {\n throw new NullPointerException(\"String_Node_Str\");\n }\n _application = application;\n }\n}\n"
|
"public void shouldWriteArrayOfPrimitive() {\n boolean[] array = new boolean[] { true };\n Map<String, Object> expected = new HashMap<String, Object>();\n expected.put(DEFAULT_TYPE_KEY, PrimitiveArray.class.getName());\n expected.put(\"String_Node_Str\", array);\n PrimitiveArray entity = new PrimitiveArr... |
"private CacheEntryWithGlobDeps<Package.Builder> loadPackage(Package externalPkg, String replacementContents, PackageIdentifier packageId, Path buildFilePath, FileValue buildFileValue, RuleVisibility defaultVisibility, List<Statement> preludeStatements, Path packageRoot, Environment env) throws InterruptedException, Pa... |
"public void encode(TlsContext context, OutputStream output) throws IOException {\n TlsUtils.writeUint8(type, output);\n TlsUtils.checkUint16(payload.length);\n TlsUtils.writeUint16(payload.length, output);\n output.write(payload);\n byte[] padding = new byte[paddingLength];\n context.getSecureRandom(... |
"public void logMessage(final String fqcn, final Level level, final Marker marker, final Message msg, final Throwable t) {\n StackTraceElement element = null;\n if (fqcn != null) {\n element = getStackTraceElement(fqcn, Thread.currentThread().getStackTrace());\n }\n final StatusData data = new Status... |
"private void reassignGraphFragment(final ExecutionVertex vertex, final AllocatedResource oldResource, final AllocatedResource newResource) {\n synchronized (vertex.getExecutionGraph()) {\n if (oldResource.equals(vertex.getAllocatedResource())) {\n vertex.setAllocatedResource(newResource);\n ... |
"public void execute(Collection<Annotation> annos) {\n SessionManager.getInstance().createSession(\"String_Node_Str\");\n Project prj = Application.getInstance().getProject();\n Collection<Annotation> toremove = new HashSet<Annotation>();\n try {\n for (Annotation anno : annos) {\n Element... |
"protected String wrapHTML(JavadocBrowserInformationControlInput input, IGroovyResolvedElement elt) {\n String preamble;\n if (!elt.getElementName().equals(elt.getInferredElementName())) {\n preamble = createLabel(elt.getInferredElement());\n } else {\n preamble = \"String_Node_Str\";\n }\n ... |
"public MessageElement next() {\n StringBuilder str = new StringBuilder();\n int i = this.bufferIndex;\n for (; i < this.buffer.length; ++i) {\n if (this.buffer[i] == ESCAPE_CHAR) {\n int nb = countEscaping(i);\n int iNext = i + nb;\n if (iNext == this.buffer.length) {\n... |
"private String[] getItemsToDisplay(final IElement element, final IElementParameter param, int rowNumber) {\n if (param instanceof ElementParameter) {\n ((ElementParameter) param).setCurrentRow(rowNumber);\n }\n String[] originalList = param.getListItemsDisplayName();\n List<String> stringToDisplay =... |
"public String getImageWidthDescription() {\n try {\n Integer value = _directory.getInteger(PsdHeaderDirectory.TAG_IMAGE_WIDTH);\n if (value == null)\n return null;\n return value + \"String_Node_Str\" + (value == 1 ? \"String_Node_Str\" : \"String_Node_Str\");\n } catch (Exception... |
"private void checkCryptoSetup() {\n BooleanProperty result = new SimpleBooleanProperty();\n Thread checkCryptoThread = new Thread(() -> {\n try {\n Thread.currentThread().setName(\"String_Node_Str\");\n log.trace(\"String_Node_Str\");\n Ping payload = new Ping(1, 1);\n ... |
"public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_scan);\n setUpDefaultToolbar();\n setActivityBackgroundColor(Color.WHITE);\n scanProgressView = findViewById(R.id.scan_status_layout);\n scanResultListView = findViewById(R.id.sc... |
"private Path doMapReduce(final String inputFile) throws Exception {\n final FileSystem fileSystem = FileSystem.get(conf);\n final Path inputPath = new Path(inputFile);\n final Path outputPath = fileSystem.makeQualified(new Path(\"String_Node_Str\"));\n fileSystem.delete(outputPath, true);\n final Job jo... |
"public void update_with_override_succeeds() {\n databaseHelper.addObject(PAULETH_PALTHEN);\n databaseHelper.insertUser(User.createWithPlainTextPassword(\"String_Node_Str\", \"String_Node_Str\", ObjectType.PERSON));\n final RpslObject updatedObject = new RpslObjectBuilder(PAULETH_PALTHEN).append(new RpslAttrib... |
"public PluginType getType() {\n return PluginType.INTERNAL;\n}\n"
|
"public void activityDagger() {\n JavaFileObject sourcePresenter = JavaFileObjects.forSourceString(\"String_Node_Str\", \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" +... |
"private View initFragment(LayoutInflater inflater, ViewGroup container) {\n if (mViewDataBinding == null) {\n mContext = getActivity();\n mViewDataBinding = DataBindingUtil.inflate(inflater, getLayoutId(), container, false);\n mViewModel = TUtil.getT(this, 0);\n M model = TUtil.getT(this... |
"public float calculateRecursiveLayout(IDrawAbleNode node, float fRadius, float fParentAngle, int fLayer, float fNodeSize, float fXCoordOfParent, float fYCoordOfParent) {\n float fRadiusUpdate = 0;\n if (tree.hasChildren(node) && fLayer <= HyperbolicRenderStyle.MAX_DEPTH && fLayer <= fDepth) {\n ArrayList<... |
"private File generateDefaultTemplate() throws MojoExecutionException {\n File templates = new File(build.getDirectory(), \"String_Node_Str\");\n templates.mkdirs();\n try {\n for (Artifact artifact : pluginArtifacts) {\n if (\"String_Node_Str\".equals(artifact.getClassifier())) {\n ... |
"public NotificationEvent getEvent() {\n return new ContentEvent(container, content, slot, ContentEvent.SHIFT);\n}\n"
|
"public boolean isConstant() {\n return false;\n}\n"
|
"public static ArrayList<Player> loadPlayers(File worldDir, PlayerSkinCache playerSkinCache) {\n File playersDir = Minecraft.findPlayersDir(worldDir);\n System.out.println(\"String_Node_Str\" + playersDir.getAbsolutePath());\n ArrayList<Player> players = new ArrayList<Player>();\n File[] playerFiles = playe... |
"public void actionPerformed(ActionEvent event) {\n final ProductSceneView sceneView = SnapApp.getDefault().getSelectedProductSceneView();\n if (sceneView != null && sceneView.getProduct().isMultiSize()) {\n _MultiSizeIssue.maybeResample(sceneView.getProduct());\n } else {\n exportTransectPixels(... |
"private void writeMeta(Table table, Id.Artifact artifactId, ArtifactData data) throws IOException {\n ArtifactCell artifactCell = new ArtifactCell(artifactId);\n table.put(artifactCell.rowkey, artifactCell.column, Bytes.toBytes(GSON.toJson(data)));\n byte[] artifactColumn = new ArtifactColumn(artifactId).getC... |
"public String[] getActionExpressions(Action action, StructureSource source) {\n if (ActionType.URL_REDIRECT_LITERAL.equals(action.getType())) {\n URLValue uv = (URLValue) action.getValue();\n String sa = uv.getBaseUrl();\n try {\n ActionHandle handle = ModuleUtil.deserializeAction(sa... |
"public JsRecords execute(IDb db) throws IOException {\n Optional<JsScope> executionScope = getOptionalExecutionScope(db);\n if (!executionScope.isPresent()) {\n throw new MissingScopeException(Joiner.on(\"String_Node_Str\").join(predefinedScopeNames));\n }\n Records records = db.createQuery().from(t... |
"protected ConsumerZooKeeper initConsumerZooKeeper(final RemotingClientWrapper remotingClientWrapper, final ZkClient zkClient2, final ZKConfig config) {\n return new ConsumerZooKeeper(this.metaZookeeper, this.remotingClient, this.zkClient, this.zkConfig);\n}\n"
|
"protected void validateParamCount(String[] arguments, int numParamsExpected) throws InvalidDataException {\n if (arguments.length != numParamsExpected) {\n throw new InvalidDataException(NLS.bind(Messages.WrongNumFunctionArgs, new Integer[] { numParamsExpected, arguments.length }), MessageIDs.E_WRONG_NUM_FUN... |
"private void doLoadIncludedModules(File modRoot, File currentModuleDir, ModuleReference mr, String includesString, Set<String> included) {\n checkWorkerContext();\n for (String moduleName : parseIncludeString(includesString)) {\n ModuleIdentifier modID = new ModuleIdentifier(moduleName);\n if (incl... |
"private String extractCharacters(String target, String source, String anchor_pattern, int[] idxs) {\n int start_idx = target.indexOf(anchor_pattern);\n String ret = \"String_Node_Str\";\n if (start_idx < 0)\n throw new Exception(\"String_Node_Str\");\n for (Integer idx : idxs) {\n ret += sour... |
"public List<JsonValue> getDeviceProfiles(String username, String realm) throws InternalServerErrorException {\n List<JsonValue> devices = new ArrayList<>();\n final AMIdentity identity = getIdentity(username, realm);\n try {\n final DeviceService deviceService = serviceFactory.create(realm);\n f... |
"public void afterPropertiesSet() throws Exception {\n final Properties properties = Objects.requireNonNull(this.properties, \"String_Node_Str\");\n readPropertyValues(properties);\n}\n"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.