content
stringlengths
40
137k
"protected byte[] getLogEntry(final byte[] pSelectResponse) {\n return TlvUtil.getValue(pSelectResponse, EmvTags.LOG_ENTRY, EmvTags.VISA_LOG_ENTRY);\n}\n"
"private AccessTokenResult refreshTokenAuthenticationRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {\n OAuthGrantRequestAuthenticationResult authenticationResult;\n try {\n Application app = getApplication(request);\n OAuthRefreshTokenRequestAuthentication refres...
"public Set<EClass> getSubClasses(EClass eClass) {\n Set<EClass> set = indirectSubClasses.get(eClass);\n if (set == null) {\n return initIndirectSubClasses(eClass);\n }\n return set;\n}\n"
"public String toString() {\n String status = \"String_Node_Str\";\n if (mode == ENABLED) {\n status = \"String_Node_Str\";\n }\n return String.format(\"String_Node_Str\", this.getClass().getSimpleName(), status);\n}\n"
"private void save() throws IOException {\n if (!this.dir.exists())\n throw new IOException(\"String_Node_Str\" + this.dir.getSource());\n final DataFile indexFile = new DataFile(dir, INDEX_FILENAME);\n final BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(indexFile.create(), Globals.D...
"private void signalChangedForDelayOffGate(EntityRef entity, SignalConsumerStatusComponent consumerStatusComponent) {\n SignalTimeDelayComponent delay = entity.getComponent(SignalTimeDelayComponent.class);\n if (consumerStatusComponent.hasSignal) {\n entity.removeComponent(SignalDelayedActionComponent.clas...
"public void testDefineClass_DeadTypeLiveConstructor() {\n FragmentExtractor fragmentExtractor;\n LivenessPredicate constructorLivePredicate;\n {\n SourceInfo nullSourceInfo = new MockSourceInfo();\n final JClassType barType = new JClassType(nullSourceInfo, \"String_Node_Str\", false, false);\n ...
"private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {\n NetworkInterface scope_ifname = null;\n if (getClass().getClassLoader() != null) {\n throw new SecurityException(\"String_Node_Str\");\n }\n ObjectInputStream.GetField gf = s.readFields();\n byte[] ipaddre...
"public C parse(XmlPullParser parser, int initialDepth) throws Exception {\n C packetExtension = packetClass.newInstance();\n int attrCount = parser.getAttributeCount();\n for (int i = 0; i < attrCount; i++) {\n packetExtension.setAttribute(parser.getAttributeName(i), parser.getAttributeValue(i));\n ...
"public default void addType(Type type) {\n int index = this.getParameters().size();\n this.addParameter(new Parameter(index, \"String_Node_Str\" + index, type, 0));\n}\n"
"protected Object doSafeGetValue(final Object source) {\n SourceAccessor sourceAccessor = (SourceAccessor) source;\n return sourceAccessor.eGet(getFeature());\n}\n"
"private static void copyPixel(final int x, final int y, final int b, final Raster src, final WritableRaster dst, double[] nodatas) {\n switch(src.getTransferType()) {\n case DataBuffer.TYPE_BYTE:\n {\n final byte p = (byte) src.getSample(x, y, b);\n if (p != nodata.by...
"public Property defineOpenContentProperty(String uri, DataObject property) {\n return getTypeHelperDelegate().defineOpenContentProperty(uri, property);\n}\n"
"private void renderModules(FontRenderer fontrenderer, ScreenTileEntity tileEntity, IClientScreenModule.TransformMode mode, List<IClientScreenModule> modules, Map<Integer, IModuleData> screenData, int size) {\n float f3;\n float factor = size + 1.0f;\n int currenty = 7;\n int moduleIndex = 0;\n BlockPos ...
"public Depth getDepth(CurrencyPair currencyPair) throws TradeDataNotAvailableException {\n if (!isSupportedCurrencyPair(currencyPair)) {\n throw new CurrencyNotSupportedException(\"String_Node_Str\" + currencyPair.toString() + \"String_Node_Str\" + _name);\n }\n JSONObject buyJSON = null, sellJSON = nu...
"protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n switch(requestCode) {\n case SEAT_APP_ACTIVITY:\n if (resultCode == RESULT_OK) {\n refreshForNewApp();\n }\n }\n}\n"
"private static void performConsistencyCheck() throws Exception {\n DispatcherState state = DBS.getReplicationManager().stop();\n System.out.println(\"String_Node_Str\" + state.latest);\n if (state.latest != null && state.latest.getSequenceNo() > 0L) {\n LookupGroup lookupGroup = generator.getLookupGrou...
"private void transitionOtherNNActive() throws AccessControlException, ServiceFailedException, IOException {\n LOG.info(\"String_Node_Str\");\n createHAProtocolProxy().transitionToActive(new StateChangeRequestInfo(RequestSource.REQUEST_BY_USER));\n LOG.info(\"String_Node_Str\");\n}\n"
"private Token scanPostZero(int beginToken) {\n switch(peekChar()) {\n case 'b':\n case 'B':\n nextChar();\n if (!isBinaryDigit(peekChar())) {\n reportError(\"String_Node_Str\");\n }\n skipBinaryDigits();\n return new LiteralToken(To...
"List<PartP2PLiquids> getOutputs(Fluid input) {\n List<PartP2PLiquids> outs = new LinkedList<PartP2PLiquids>();\n try {\n for (PartP2PLiquids l : getOutputs()) {\n IFluidHandler targ = l.getTarget();\n if (targ != null) {\n if (targ.canFill(side.getOpposite(), input))\n...
"public Object next() {\n Data value = it.next();\n return toObject(value);\n}\n"
"public BsonDocument getSortByDocument() throws JsonParseException {\n BsonDocument sort = new BsonDocument();\n if (sortBy == null) {\n sort.put(\"String_Node_Str\", new BsonInt32(-1));\n } else {\n sortBy.stream().forEach((s) -> {\n String _s = s.trim();\n try {\n ...
"private File createZIP(List<Media> media, String fileName) throws IOException {\n String tmpPath = conf.getString(\"String_Node_Str\");\n File file = File.createTempFile(tempPrefix, \"String_Node_Str\", new File(tmpPath));\n ZipOutputStream zipOut = new ZipOutputStream(new FileOutputStream(file));\n zipOut...
"public void setAction(String actionID, IAction action) {\n super.setAction(actionID, action);\n if (action != null) {\n if (action.getId() == null) {\n action.setId(actionID);\n }\n getActionRegistry().registerAction(action);\n }\n getActionRegistry().registerAction(action);...
"protected double calculateNumericalVariance() {\n final double b = getBeta();\n return getAlpha() * b * b;\n}\n"
"private QueryDefinition createQueryDefinition(DataSetHandle dataSet) {\n QueryDefinition queryDefn = new QueryDefinition();\n queryDefn.setDataSetName(dataSet.getQualifiedName());\n queryDefn.setAutoBinding(true);\n return queryDefn;\n}\n"
"public void setContentType(String contentType) {\n ArgumentUtility.validateNotNull(\"String_Node_Str\", contentType);\n contentType = contentType.replaceAll(\"String_Node_Str\", \"String_Node_Str\").replaceAll(\"String_Node_Str\", \"String_Node_Str\");\n if (!isValidContentType(contentType)) {\n throw ...
"public ResponseEntity searchDomain(String name, HttpServletRequest request, HttpServletResponse response) {\n String decodeDomain = name;\n String punyDomainName = decodeDomain;\n try {\n decodeDomain = DomainUtil.decodeAndTrimAndReplaceAsciiToLowercase(name);\n punyDomainName = decodeDomain;\n ...
"public void startListGroup(IListGroupContent group) {\n setGroupToc(group);\n}\n"
"private Optional<OArtifact> getOArtifact(String groupArtifactVersion, Path pathToJar) {\n Optional<OArtifactReference> mainArtifact = pathToJar != null ? getArtifactReference(groupArtifactVersion, pathToJar) : resolveAndGetArtifactReference(groupArtifactVersion);\n if (!mainArtifact.isPresent())\n return ...
"public void watch(GameEvent event, Game game) {\n if (step != null && game.getTurn().getStep() != step) {\n spellsCastFromHand.clear();\n step = null;\n }\n if (event.getType() == GameEvent.EventType.SPELL_CAST && event.getZone().equals(Zone.HAND)) {\n if (step == null) {\n ste...
"public static String listen(HazelcastClient client, ClientRequest request, Object key, EventHandler handler) {\n final Future future;\n try {\n if (key == null) {\n future = client.getInvocationService().invokeOnRandomTarget(request, handler);\n } else {\n future = client.getI...
"public void testCreateDeleteImageMosaicDatastore() {\n if (!enabled()) {\n return;\n }\n deleteAll();\n final String wsName = \"String_Node_Str\";\n final String coverageStoreName = \"String_Node_Str\";\n final GSImageMosaicEncoder coverageEncoder = new GSImageMosaicEncoder();\n coverageEnc...
"public static void emitPointToNearestCluster(Vector point, List<Cluster> clusters, Text values, OutputCollector<Text, Text> output) throws IOException {\n Cluster nearestCluster = null;\n double nearestDistance = Double.MAX_VALUE;\n for (Cluster cluster : clusters) {\n double distance = measure.distanc...
"public void testChangeTargetOpponent() {\n addCard(Zone.HAND, playerA, \"String_Node_Str\");\n addCard(Zone.BATTLEFIELD, playerA, \"String_Node_Str\", 3);\n addCard(Zone.HAND, playerB, \"String_Node_Str\");\n addCard(Zone.HAND, playerB, \"String_Node_Str\", 2);\n addCard(Zone.BATTLEFIELD, playerB, \"Str...
"public void memberPresenceChanged(ChatRoomMemberPresenceChangeEvent evt) {\n ChatRoom sourceChatRoom = (ChatRoom) evt.getSource();\n if (!sourceChatRoom.equals(chatRoomWrapper.getChatRoom()))\n return;\n String eventType = evt.getEventType();\n ChatRoomMember chatRoomMember = evt.getChatRoomMember()...
"public void onCounterFriendsChanged(int valueCounter) {\n if (actionMode != null) {\n if (valueCounter == Consts.ZERO_INT_VALUE) {\n closeActionModeWithRedirect(true);\n return;\n }\n } else {\n startAction();\n }\n actionMode.setTitle(getResources().getString(R.s...
"public void importItemRecords(final IProgressMonitor progressMonitor, final ResourcesManager resManager, final List<ImportItem> checkedItemRecords, final boolean overwrite, final ImportItem[] allImportItemRecords, final IPath destinationPath) throws InvocationTargetException {\n TimeMeasure.display = CommonsPlugin....
"public synchronized void shutdown() {\n SourceHandlerManager sourceHandlerManager = siddhiAppContext.getSiddhiContext().getSourceHandlerManager();\n for (List<Source> sources : sourceMap.values()) {\n for (Source source : sources) {\n try {\n if (sourceHandlerManager != null) {\n...
"public Blob getBlob(final InputStream in, final long estimatedSize, final Map<String, String> hints) throws IOException {\n HDFSBlob blob;\n OutputStream out = null;\n try {\n blob = new HDFSBlob(URI.create(\"String_Node_Str\" + UUID.randomUUID().toString()), this);\n log.debug(\"String_Node_Str...
"public void setObject(Serializable object) {\n item.setModelObject((String) object);\n}\n"
"private void printEdge(Edge edge) throws IOException {\n printOpen(\"String_Node_Str\");\n printTag(\"String_Node_Str\" + edge.getSource().getId());\n printTag(\"String_Node_Str\" + edge.getTarget().getId());\n if (exportLabel && edge.getEdgeData().getLabel() != null) {\n printTag(\"String_Node_Str\...
"private void _saveModel() throws Exception {\n try {\n _modelToSave.setName(_attributesListPanel.getModelName());\n if (_initialModelName != null && _initialModelName.length() > 0) {\n if (!_modelToSave.getName().equals(_initialModelName)) {\n Object[] options = { \"String_No...
"public void readFromWorld(IBuilderContext context, TileEntity anchorTile, BlockPos pos) {\n Vec3 nPos = Utils.convert(pos).subtract(Utils.convert(context.surroundingBox().min()));\n if (!BuildCraftAPI.isSoftBlock(anchorTile.getWorld(), pos)) {\n set(new BlockPos(posX, posY, posZ), new SchematicMask(true))...
"public static <ModelClass extends Model, TableClass extends Model, AdapterClass extends RetrievalAdapter & InternalAdapter> boolean update(TableClass model, AdapterClass adapter, ModelAdapter<ModelClass> modelAdapter) {\n boolean exists;\n SQLiteDatabase db = FlowManager.getDatabaseForTable(modelAdapter.getModel...
"public Set<BlobReference> reserveBlobs(Set<BlobReference> blobs) throws IOException {\n Set<BlobReference> failedBlobs = new HashSet<BlobReference>();\n for (BlobReference referencedBlob : blobs) {\n try {\n if (!reserveBlob(referencedBlob))\n failedBlobs.add(referencedBlob);\n ...
"private void updateScriptContext(DesignElementHandle handle, String method) {\n List args = DEUtil.getDesignElementMethodArgumentsInfo(handle, method);\n JSSyntaxContext context = scriptEditor.getContext();\n context.clear();\n for (Iterator iter = args.iterator(); iter.hasNext(); ) {\n IArgumentInf...
"public boolean advance() {\n StreamInputReader top = this.prio.poll();\n if (top == null) {\n return false;\n }\n if (hasMoreEvents()) {\n StreamInputPacketReader packetReader = top.getPacketReader();\n boolean packetHasMoreEvents = packetReader.hasMoreEvents();\n StreamInputPac...
"public boolean read(ByteBuf buf, int id, EntityPlayer player, PacketType type) {\n if (id == 1) {\n this.target = new Pos(buf);\n return true;\n }\n return false;\n}\n"
"private void createMenuChildScene() {\n Sprite playItemSprite = new Sprite(0, 0, resourcesManager.play_region, vbom) {\n public boolean onAreaTouched(TouchEvent pSceneTouchEvent, float pTouchAreaLocalX, float pTouchAreaLocalY) {\n sceneService.loadGameScene();\n return true;\n }\...
"public void init(byte[] seed) throws MaxBytesExceededException {\n csprng.init(seed);\n if (nonce == null) {\n nonce = new byte[nonceLen];\n } else {\n byte[] curNonce = new byte[nonce.length];\n for (cycle = 1; cycle <= MAXCYCLES; ++cycle) {\n csprng.nextBytes(curNonce);\n ...
"String getOrderId(String type) {\n Long sid = redisTemplate.opsForValue().increment(type, 1);\n return type + String.format(\"String_Node_Str\", sid);\n}\n"
"public void With_Orientation() {\n WrapFHtoInterestPoint alg = new WrapFHtoInterestPoint(detector, orientation);\n new GeneralInterestPointDetectorChecks(alg, true, true, ImageUInt8.class).performAllTests();\n}\n"
"void checkOldFiles() {\n File data = new File(getDataFolder() + \"String_Node_Str\", \"String_Node_Str\");\n if (!data.exists()) {\n if (data.mkdir()) {\n Util.logging.Debug(\"String_Node_Str\" + getDataFolder() + \"String_Node_Str\");\n }\n }\n data = new File(getDataFolder() + \"...
"public void execute(JobExecutionContext context) throws JobExecutionException {\n try {\n subexecute(context);\n } catch (Exception e) {\n LOGGER.error(\"String_Node_Str\", e);\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...
"static State make(int vertex, Treap<Binding> store, Queue<Event> events, Queue<Event> consumed, State parent) {\n return new State(vertex, store, events, new Parent(parent, consumed), parent.time + 1);\n}\n"
"private void menuDelete() {\n boolean res = false;\n int pos = getSelectedItemPosition();\n if (pos > -1) {\n mCursor.moveTo(pos);\n res = mCursor.deleteRow();\n Log.d(_TAG, \"String_Node_Str\" + pos + \"String_Node_Str\" + res);\n }\n}\n"
"public XPathNode addChild(XPathFragment anXPathFragment, NodeValue aNodeValue, NamespaceResolver namespaceResolver) {\n if (null != anXPathFragment && anXPathFragment.nameIsText()) {\n if (aNodeValue.isOwningNode(anXPathFragment)) {\n XPathNode textXPathNode = this.getTextNode();\n if (...
"private byte[] getApkSignature(File apkFile) {\n final String pkgPath = apkFile.getAbsolutePath();\n PackageInfo pkgInfo = pm.getPackageArchiveInfo(pkgPath, PackageManager.GET_SIGNATURES);\n return signatureToBytes(pkgInfo.signatures);\n}\n"
"private void refreshLists() {\n if (wwd == null) {\n return;\n }\n layerList.removeAllFromSection(this, layers);\n elevationModel.removeAllFromSection(this, elevationModels);\n layers.clear();\n elevationModels.clear();\n for (Wrapper wrapper : wrappers) {\n if (wrapper.node.isEnable...
"protected void checkVisibleTopMessages() {\n missModulesNeeded.clear();\n final Element ele = this.getElement();\n if (ele instanceof Node) {\n List<ModuleNeeded> updatedModules = LibrariesManagerUtils.getNotInstalledModules(((Node) ele));\n missModulesNeeded.addAll(updatedModules);\n }\n ...
"public void initChannel(SocketChannel ch) throws Exception {\n ChannelPipeline pipeline = ch.pipeline();\n pipeline.addLast(new DelimiterBasedFrameDecoder(8192, Delimiters.lineDelimiter()));\n pipeline.addLast(DECODER);\n pipeline.addLast(ENCODER);\n pipeline.addLast(MANAGE_HANDLER);\n}\n"
"public Object execute(ExecutionEvent event) throws ExecutionException {\n boolean compareMode = Boolean.TRUE.toString().equals(event.getParameter(HistoryViewCommands.COMPARE_MODE_PARAM));\n IStructuredSelection selection = getSelection(getPage());\n if (selection.size() < 1)\n return null;\n Object ...
"String getColumnAccessString(TypeName fieldType, String elementName, String fullElementName, String variableNameString, boolean isModelContainerAdapter) {\n if (isModelContainerAdapter) {\n return getExistingColumnAccess().getColumnAccessString(fieldType, elementName, fullElementName, variableNameString, isM...
"public CharSequence formatBigMessage(String city) {\n final TextAppearanceSpan notificationSubjectSpan = new TextAppearanceSpan(this, R.style.NotificationPrimaryText);\n final String message = !TextUtils.isEmpty(city) ? city : \"String_Node_Str\";\n String afterStr = \"String_Node_Str\";\n SpannableStringB...
"public void validateGenericEntity(final InternalDataDefinition dataDefinition, final Entity genericEntity, final Entity existingGenericEntity) {\n copyReadOnlyAndMissingFields(dataDefinition, genericEntity, existingGenericEntity);\n parseFields(dataDefinition, genericEntity);\n if (genericEntity.getId() == nu...
"protected void onFailure(RequestFailureType type, Throwable t, StatusLine status, String readableMessage) {\n final RRError error = General.getGeneralErrorForFailure(context, type, t, status, null);\n AndroidApi.UI_THREAD_HANDLER.post(new Runnable() {\n\n public void run() {\n General.showResul...
"protected void buildItemBody() {\n List<Block> blocks = assessmentItem.getItemBody().getBlocks();\n blocks.clear();\n getHtmlHelper().appendHtml(assessmentItem.getItemBody(), question);\n List<Interaction> interactions = assessmentItem.getItemBody().findInteractions();\n for (Interaction interaction : i...
"List<Parameter> getNormalizedParameters(String oAuthNonce, Long oAuthTimestamp) {\n List<Parameter> params = new ArrayList<Parameter>();\n params.add(new Parameter(\"String_Node_Str\", consumer.getConsumerKey()));\n if (accessToken != null) {\n params.add(new Parameter(\"String_Node_Str\", accessToken....
"private static boolean like(Object obj1, Object obj2) {\n if (obj2 == null) {\n throw new java.lang.IllegalArgumentException(\"String_Node_Str\");\n }\n if (obj1 == null) {\n return false;\n }\n String str = obj1.toString();\n String pattern = toPatternString(obj2.toString());\n retu...
"ArrayList[] filterGroupBoundaryInfos(ArrayList[] groupArray) {\n ArrayList[] result = new ArrayList[groupArray.length];\n for (int i = 0; i < result.length; i++) {\n result[i] = new CachedList(GroupBoundaryInfo.getCreator());\n }\n for (int i = 0; i < groupArray.length; i++) {\n for (int j = ...
"private void writeHydraVariableMapping(JsonGenerator jgen, AnnotatedParameters annotatedParameters, Collection<String> variableNames) throws IOException {\n if (annotatedParameters != null) {\n for (String variableName : variableNames) {\n ActionInputParameter annotatedParameter = annotatedParamet...
"protected Map<String, RateLimiterPolicyModel> getActiveRL() {\n if (activeRL == null) {\n activeRL = new HashMap<String, RateLimiterPolicyModel>();\n }\n return activeRL;\n}\n"
"public void run() {\n for (Long2IntMap.Entry entry : openHM.long2IntEntrySet()) {\n int value = entry.getIntValue();\n if (value <= freqThreshold) {\n continue;\n }\n long key = entry.getLongKey();\n ShortKmer kmerF = new ShortKmer(key, k);\n ShortKmer[] kmers = ...
"public boolean onCreateOptionsMenu(Menu menu) {\n super.onCreateOptionsMenu(menu);\n getMenuInflater().inflate(R.menu.refresh_menu, menu);\n mOptionsMenu = menu;\n if (mRefreshInProgress) {\n setMenuProgressBarVisible(true);\n }\n return true;\n}\n"
"private void refreshTextures(GL gl) {\n if (textureLoader != null) {\n for (int i = 0; i < 3; i++) {\n if (!textureLoader.isTextureValid(textureIds[i])) {\n int nx = myImage.getNumCols();\n int ny = myImage.getNumRows();\n int nz = myImage.getNumSlices(...
"private Object deserializeJSON(Object object, JsonObject jsonObject) {\n for (Map.Entry<String, JsonElement> entry : jsonObject.entrySet()) {\n String key = entry.getKey();\n JsonElement element = entry.getValue();\n if (element.isJsonNull()) {\n try {\n setFieldValue(...
"public Value computeValue(CSSStylableElement elt, CSSEngine engine, int idx, Value value) {\n if (value.getCssValueType() == CSSValue.CSS_PRIMITIVE_VALUE) {\n switch(value.getPrimitiveType()) {\n case CSSPrimitiveValue.CSS_NUMBER:\n return value;\n case CSSPrimitiveValue....
"protected void setup() {\n addSlotBox(new SlotDefinition(SlotType.SLOT_SPECIFICITEM, new ItemStack(DimletSetup.knownDimlet)), CONTAINER_INVENTORY, SLOT_DIMLETS, 13, 7, 13, 18, 7, 18);\n addSlotBox(new SlotDefinition(SlotType.SLOT_OUTPUT), CONTAINER_INVENTORY, SLOT_TAB, 13, 142, 1, 18, 1, 18);\n layoutPlayerIn...
"private void setDbCollectionName() throws IllegalArgumentException {\n dbCollectionName = COLLECTION_NAME_UTIL.getName(owner, name);\n}\n"
"private Status checkFileName(final String name) {\n if (name == null || EMPTY_STR.equals(name.trim())) {\n return EMPTY_NAME_STATUS;\n } else {\n if (!WorkspaceUtils.checkNameIsOK(name)) {\n return SPECIAL_CHAR_STATUS;\n }\n if (fileNameExist(WorkspaceUtils.ifolderToFile(de...
"protected boolean isActive(TriggerGenericData trigger) {\n boolean result = super.isActive(trigger);\n if (checked) {\n return result;\n }\n float target = 0;\n result = false;\n TriggerGeneric.TargetType targetType = trigger.getType();\n switch(targetType) {\n case AP_CONGREGATE_IN:...
"public final Object deepCopyArray(Object origFieldValue, IdentityHashMap<Object, Object> visited) {\n if (visited.containsKey(origFieldValue)) {\n return visited.get(origFieldValue);\n }\n final Class<?> componentType = origFieldValue.getClass().getComponentType();\n Object result = null;\n if (c...
"private String addQuoteForSpecialChar(String expression) {\n String[] split = expression.split(\"String_Node_Str\");\n if (split.length > 1) {\n String exp = MetadataToolHelper.validateValue(split[1].trim());\n if (!exp.equals(split[1].trim())) {\n split[1] = \"String_Node_Str\" + split[...
"public void channelRead(ChannelHandlerContext ctx, Object message) {\n MqttMessage msg = (MqttMessage) message;\n MqttMessageType messageType = msg.fixedHeader().messageType();\n LOG.debug(\"String_Node_Str\", messageType);\n try {\n switch(messageType) {\n case CONNECT:\n ...
"private void handleByARow(String[] rowValues, long currentRow, List<ModelElement> analysisElementList, List<MetadataColumn> columnElementList, EMap<Indicator, AnalyzedDataSet> indicToRowMap) {\n Object object = null;\n int maxNumberRows = analysis.getParameters().getMaxNumberRows();\n int recordIncrement = 0;...
"protected static synchronized boolean deleteRealm(RealmConfiguration configuration) {\n if (isFileOpen(configuration)) {\n throw new IllegalStateException(\"String_Node_Str\" + \"String_Node_Str\" + configuration.getPath());\n }\n boolean realmDeleted = true;\n String canonicalPath = configuration.g...
"public void handle(OreRegisterEvent oreEvent) {\n switch(oreEvent.Name) {\n case \"String_Node_Str\":\n DecomposerRecipe.add(new DecomposerRecipe(oreEvent.Ore, certusQuartzDecompositionFormula));\n if (Loader.isModLoaded(\"String_Node_Str\")) {\n SynthesisRecipe.add(new S...
"public int hashCode() {\n final int prime = 31;\n int result = (isFuture ? 0 : 1);\n result = prime * result + ((id == null) ? 0 : id.hashCode());\n result = prime * result + ((schema == null) ? 0 : schema.hashCode());\n return result;\n}\n"
"public void testValidateNodes6() throws DataException {\n ExprManager em = new ExprManager(null);\n Map m = new HashMap();\n m.put(\"String_Node_Str\", new ScriptExpression(\"String_Node_Str\"));\n m.put(\"String_Node_Str\", new ScriptExpression(\"String_Node_Str\"));\n m.put(\"String_Node_Str\", new Sc...
"private void logfileUsed() {\n System.out.println(\"String_Node_Str\" + logger);\n if (ologfile != null && ologfile.used) {\n try {\n List<String> as = ologfile.getStrings();\n logger.debug(\"String_Node_Str\" + as.get(0));\n FileAppender appender = new FileAppender(new Fi...
"public void action(WalIndexWriter indexWriter) throws CorruptIndexException, IOException {\n indexWriter.deleteDocuments(true, new Term(\"String_Node_Str\", \"String_Node_Str\"));\n}\n"
"public boolean validateMemoryResult(int startPid, int startMemory, Writer output, int limit) throws Exception {\n Thread.sleep(10000);\n mEndPid = getMediaserverPid();\n int memDiff = mEndMemory - startMemory;\n if (memDiff < 0) {\n memDiff = 0;\n else\n output.write(\"String_Node_Str\" + ...
"public IContainer[] getContainers() {\n final ServiceTracker tracker = new ServiceTracker(context, IContainerManager.class.getName(), null);\n tracker.open();\n return (IContainer[]) ((IContainerManager) tracker.getService()).getAllContainers();\n}\n"
"public static void writeObject(DataOutput out, Object obj) throws IOException {\n if (obj == null) {\n out.writeByte(0);\n } else if (obj instanceof Long) {\n out.writeByte(1);\n out.writeLong((Long) obj);\n } else if (obj instanceof Integer) {\n out.writeByte(2);\n out.writ...
"public NuageVspDeviceVO updateNuageVspDevice(UpdateNuageVspDeviceCmd command) {\n NuageVspResource resource = new NuageVspResource();\n final String deviceName = Network.Provider.NuageVsp.getName();\n ExternalNetworkDeviceManager.NetworkDevice networkDevice = ExternalNetworkDeviceManager.NetworkDevice.getNetw...
"protected void initialWorldChunkLoad() {\n for (WorldServer worldserver : DimensionManager.getWorlds()) {\n WorldProperties worldProperties = ((World) worldserver).getProperties();\n if (worldProperties.doesKeepSpawnLoaded()) {\n prepareSpawnArea(worldserver);\n }\n }\n this.cl...
"public static void reason(final TaskLink tLink, final TermLink bLink, final NAL nal) {\n final Memory memory = nal.mem();\n memory.logic.REASON.commit(tLink.getPriority());\n final Task task = nal.getCurrentTask();\n final Sentence taskSentence = task.sentence;\n final Term taskTerm = taskSentence.conte...
"public void sendRawTransaction() throws Exception {\n String codeHex = \"String_Node_Str\";\n codeAddress = \"String_Node_Str\";\n Transaction tx = ontSdk.vm().makeDeployCodeTransaction(codeHex, true, \"String_Node_Str\", \"String_Node_Str\", \"String_Node_Str\", \"String_Node_Str\", \"String_Node_Str\", VmTy...