query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
7c29e188b95c075683129c81068baf9f
org.xms.f.messaging.RemoteMessage.getSentTime() Gets the time in milliseconds from the Epoch that the message was sent. Support running environments including both HMS and GMS which are chosen by users. Below are the references of HMS apis and GMS apis respectively: com.huawei.hms.push.RemoteMessage.getSentTime(): <a h...
[ { "docid": "47c8aaff0df17c3d010fe3d0e4cef3b6", "score": "0.90061206", "text": "public long getSentTime() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.push.RemoteMessage) this.getHInstance()).getSentTime()\");\n ...
[ { "docid": "772819c388f7ba68f5f785e5d4070736", "score": "0.7448889", "text": "public String getSendTime() {\n Object ref = sendTime_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = ...
786597d40e53ce83c932e9709a416941
Generated method Getter of the User.cartlogs attribute.
[ { "docid": "bb18e91fa3f6448a6ce22c37e3bd18ee", "score": "0.7011197", "text": "public Collection<CartLog> getCartlogs(final SessionContext ctx, final User item)\n\t{\n\t\treturn USER2CARTLOGRELATIONCARTLOGSHANDLER.getValues( ctx, item );\n\t}", "title": "" } ]
[ { "docid": "52bb975c990fea7909a66e2b27f51d4f", "score": "0.68612736", "text": "public Collection<CartLog> getCartlogs(final User item)\n\t{\n\t\treturn getCartlogs( getSession().getSessionContext(), item );\n\t}", "title": "" }, { "docid": "70a32131cc111cf320999898c4cb7b87", "score": "0....
c98cc3b473bf2c747890e2239bd4b254
Constructor from String values.
[ { "docid": "d60637009b3b0fb6abbdcf14bed26abe", "score": "0.0", "text": "public CommodityTradeRecord(String countryOrArea, String flowString, String tradeUSDString) {\n\t\tFlow flow;\n\t\tswitch (flowString) {\n\t\t\tcase \"Import\":\n\t\t\tcase \"Re-Import\":\n\t\t\t\tflow = Flow.IMPORT;\n\t\t\t\tbreak;...
[ { "docid": "d632546e1a7e0666407c8c40477b0bc1", "score": "0.6415656", "text": "public T fromString(String string);", "title": "" }, { "docid": "f0ee3573e2b60ec4bdecc72deb035c31", "score": "0.62331843", "text": "public Strings(Integer languageConstant, String[] stringValues)\n\t{\n\t\t...
422636edb6281ea70a6e5695a986dee1
Obtains the medium image raw byte data.
[ { "docid": "92d40d231cba0957c5b4a8b7bcf6d194", "score": "0.735754", "text": "public byte[] getMediumImageByteArray()\n\t{\n\t\ttry\n\t\t{\n\t\t\treturn imageDataObtainer.getMediumImageByteArray();\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\n\t\t\treturn null;\n\t\t}\n\t}", ...
[ { "docid": "abf257b7c8050624cbefd1280d3a3827", "score": "0.7517918", "text": "public ReadableByteChannel getRawImageData();", "title": "" }, { "docid": "328fca8b6111c6680b2766dc5d36143a", "score": "0.705903", "text": "@Override\n\tpublic synchronized byte[] getPictureData () {\n\t\tr...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "805419ab4d9919d90bb89c19b352298e", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tQueueArray obj1 = new QueueArray(10);\n\t\tobj1.enQueue(0);\n\t\tobj1.enQueue(1);\n\t\tobj1.enQueue(2);\n\t\tobj1.enQueue(3);\n\t\tobj1.enQueue(4);\n\t\tobj1.enQueue(5);\n\t\tobj1.enQueu...
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
eb92c94d4c6d36179c4d015d8b06a30a
Attach a span to an expanded statement.
[ { "docid": "5cbe6465d1d2e7b232dde89dd1e13de6", "score": "0.639319", "text": "public ExpandedStatement trace(final Tracer tracer, final Span span) {\n return new ExpandedStatement(this.sql, this.parameters, tracer, span);\n }", "title": "" } ]
[ { "docid": "66acaf0a042fb13f525672a139f6d3c1", "score": "0.57213026", "text": "@WithSpan\n public void method1() {}", "title": "" }, { "docid": "77017967ef9840f34f2ae14671b4ed22", "score": "0.5257191", "text": "@WithSpan(\"shinyName\")\n public void method2() {}", "title": "" ...
f81343a26ea59bf4d825b9aa6458492c
The first rear facing camera
[ { "docid": "7d07aebfa2d5ab638719e4c38f477342", "score": "0.0", "text": "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\n\t\t// Do we have a camera?\n\t\tif (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA)) {\n\t\t\tToast.mak...
[ { "docid": "ccb523a52483a4473d30ba2ce7ec063b", "score": "0.690382", "text": "private static int getFrontCameraId(){\n int camId = -1;\n int numberOfCameras = Camera.getNumberOfCameras();\n Camera.CameraInfo ci = new Camera.CameraInfo();\n\n for(int i = 0;i < numberOfCameras;i...
9928ee48d2498255a0240d6f0f516cee
Create an Instance of a class
[ { "docid": "ef83e068dc02fbcc06c60fd7e17fca71", "score": "0.0", "text": "public static void main(String[] args) {\n Theatre theatre = new Theatre(\"Sydney\", 8,12);\n List<Theatre.Seat> seatCopy = new ArrayList<>(theatre.seats);\n printList(seatCopy);\n\n seatCopy.get(1).reser...
[ { "docid": "b090426878bc75222bc039ae675df189", "score": "0.75366944", "text": "Object newInstance(Class cls);", "title": "" }, { "docid": "13201bf2fe16163bc01dc18dd3a10325", "score": "0.7172346", "text": "T newInstance();", "title": "" }, { "docid": "e87267183a8fee87b0be7...
d8bcf33afb45501d3b5cee34396e0577
Adds a transition tp the set of states
[ { "docid": "d1fa20b60557e6fbdf34d91db970b861", "score": "0.6565391", "text": "public void addTransition(Pair<String, LinkedHashSet<Integer>> newTransitionPair) {\n if (newTransitionPair != null) {\n this.transitions.add(newTransitionPair);\n }\n }", "title": "" } ]
[ { "docid": "f0870d32445427d2208da19e5f4104f4", "score": "0.7827387", "text": "public void addTransition(Transition t) {\r\n ourTrans.add(t);\r\n }", "title": "" }, { "docid": "3eafe658f0eaa22786d9c1e0055c6da6", "score": "0.74363303", "text": "public void addinTransition(Tra...
57db8aec8f41d484507bdeeed6625558
Generated interface for the Service GenreService.
[ { "docid": "d973ef9b96ca3f6eb83c0a47410d93fe", "score": "0.7149439", "text": "public interface GenreService {\r\n public static final String BEAN_ID = \"genreService\";\r\n\r\n public Genre save(ServiceContext ctx, Genre entity);\r\n\r\n public List<Genre> getAllGenres(ServiceContext ctx);\r\n\...
[ { "docid": "7426b1043fefda7d1a5ba230e0fc1c12", "score": "0.7288743", "text": "public interface GenreService {\n\n /**\n * Find all genres list.\n *\n * @return the list\n * @throws ServiceException the service exception\n */\n List<Genre> findAllGenres() throws ServiceException...
37130c3744ea9402436081f8ed8ec4f6
Used to manually remove a block_id to server_guid mapping from the manager database. This is used when moving data blocks around in the network and updating the manager db state.
[ { "docid": "ba6a315e4c9f0e6713761309723850ac", "score": "0.73687214", "text": "private void internalRemoveBlockServerMapping(\n BlockId block_id, long[] server_guids) {\n\n long[] current_server_guids = manager_db.getBlockIdServerMap(block_id);\n ArrayList<Long...
[ { "docid": "7c9533e80166aea588da562a839ae9f0", "score": "0.7399843", "text": "private void deregisterBlockServer(ServiceAddress block_server_address) {\n\n // Remove from the db,\n final String block_addr_key =\n \"block.addr.\" + block_server_address.formatString();\n ...
e68bf0d919f45e1e07111ae6b219115b
This method returns the value of the database column xf_jl.jl_count
[ { "docid": "c1914b17de83f4f318760a6e13ea19d5", "score": "0.75183105", "text": "public Integer getJlCount() {\n return jlCount;\n }", "title": "" } ]
[ { "docid": "02f00a163eb8a596efbe3c7812a38f53", "score": "0.7086953", "text": "public java.math.BigInteger getCount()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.Simpl...
69507ac4581e84b3ef2e809cec83b389
Required. The repository in which to list compilation results. Must be in the format `projects/locations/repositories`.
[ { "docid": "ec04a74d75e771e21dd20b919462d8fc", "score": "0.0", "text": "public java.lang.String getParent() {\n return parent;\n }", "title": "" } ]
[ { "docid": "3776571fcdbb7af12564f5724c135ad3", "score": "0.61768967", "text": "public String getRepositoryString()\n {\n return repository.toString();\n }", "title": "" }, { "docid": "e600129407da9cb53ee0ba88da115ab8", "score": "0.6056374", "text": "public abstract Immut...
022c4456d7864ca9498f0de532a4aac6
Get the distance to start point
[ { "docid": "f26f1f5a7dab24fe2d67cda127d820b4", "score": "0.80174696", "text": "public double getDistanceToStart() {\r\n return startDistance;\r\n }", "title": "" } ]
[ { "docid": "412b1c0758e3bb87da17d094ff685438", "score": "0.7899934", "text": "public double getDistanceFromStart() {\n return distanceFromStart;\n }", "title": "" }, { "docid": "d299043e5a7b3033c154c9d6d8b4f4fe", "score": "0.78065956", "text": "public double getStartingDist...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "e92e9d1228bb8396fe2992db6dba4edc", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_register, container, false);\n\...
[ { "docid": "20692959eae44893b50b4d537901ae50", "score": "0.67938715", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view=inflater.inflate(R.layout.fragment_base, container, false);\...
8a91ebf548a621c9f13c59b74d26e851
no data, ModuleTest should not allow this to execute by default
[ { "docid": "a8b2bb47599880f24dd0e4d5f778a2a5", "score": "0.0", "text": "public void Test04() {\n// errln(\"Test04 should not execute!\");\n }", "title": "" } ]
[ { "docid": "3882c1659edff0079ff4ee80b48a4a4d", "score": "0.6674879", "text": "private void loadDummyData(){\n\n\n }", "title": "" }, { "docid": "e3194fd57bcff30e610cf4fdd565c2c7", "score": "0.6566523", "text": "@Test\n public void testNoDataFound() {\n }", "title": "" ...
dbe8872545e551dfa92bb5c9540c7b6d
Added by hrh 20110525_> //////////////////////////////////////////////////////////////// All of UI callback functions //////////////////////////////////////////////////////////////// implementing update.
[ { "docid": "0ea0431c81c75c9989c93896be0949d7", "score": "0.0", "text": "synchronized public void update( CEventWnd pWnd ) {}", "title": "" } ]
[ { "docid": "1dee9b6b3798c921bf8edccff8ce2627", "score": "0.76932484", "text": "protected void updateWidget() { }", "title": "" }, { "docid": "71d8466aa619074b92584799e43bf1ae", "score": "0.757254", "text": "@Override\n\tpublic void updateGUI() {\n\t\t\n\t}", "title": "" }, { ...
405bda64faa95334f0bec5b0fc5e3548
Register Task beans defined in the application context with the environment. Calling this method will refresh the context if it hasn't already been refreshed.
[ { "docid": "39f321292ea5b25be51d4b5e7f91b8f9", "score": "0.73799556", "text": "public SpringServiceConfigurer registerTasks() {\n\t\tfinal Map<String,Task> beans = this.getRequiredRefreshedContext().getBeansOfType(Task.class);\n\t\tfor (final Map.Entry<String,Task> entry : beans.entrySet()) {\n\t\t\tLOG...
[ { "docid": "4d0b8766aeb191d36e8f7267e0d81053", "score": "0.6171769", "text": "private static void autoRegister(ApplicationContext applicationContext) throws BeansException {\n LOG.info(\"Registratando contexto como singleton\");\n context = new StaticApplicationContext(applicationContext);...
e6fbf2a0ed4061f64c1d1509c5511a00
repeated .User users = 1;
[ { "docid": "4f837b7045f44ab3fe54f92f6b0cc4de", "score": "0.4853463", "text": "public java.util.List<? extends com.lys.protobuf.ProtocolPair.UserOrBuilder> \n getUsersOrBuilderList() {\n return users_;\n }", "title": "" } ]
[ { "docid": "a3f5c685054aaa734728137eda1dfe16", "score": "0.6039074", "text": "public void setUsers(int users) {\n this.users = users;\n }", "title": "" }, { "docid": "df09d077313e8e21be77ae2ed06c9929", "score": "0.5815328", "text": "public void setNumUsers(Long numUsers) { this.n...
d7104fd350c383e9e84edc90b2c4741e
Selects a number of columns from a table based on columnspecs
[ { "docid": "9e6b2a3efab0877d7d579b2c454301ae", "score": "0.0", "text": "public ComputedTable selectColumns(Table oldTable, HashMap<String,String> tableNameAliases) throws InvalidNameException {\r\n\t\tArrayList<Column> cols = oldTable.getColumns();\r\n\t\tArrayList<Column> newCols = new ArrayList<>();\r...
[ { "docid": "809151a3385837b487882e28e73b64c8", "score": "0.6271851", "text": "List<ColumnInfo> getColumns(String tableName, String rowKey, List<ColumnInfo> columns, List<ColumnInfo> filters);", "title": "" }, { "docid": "ab196b556dc951b3e49b77d9f9f20f77", "score": "0.62073594", "text...
227fb6715be9d69d71036dbebd9a8680
end of method Crea una entity e la registra
[ { "docid": "796c51f1207bf7dc761c9a4b104ae72a", "score": "0.0", "text": "public Log crea(String descrizione) {\n return crea(EALogType.edit, descrizione, 0);\n }", "title": "" } ]
[ { "docid": "a1ccf9db9a5cc003c04b9ae48811d4ab", "score": "0.80004543", "text": "Entier createEntier();", "title": "" }, { "docid": "16405039e84166e81a2a89c53b79fabb", "score": "0.7637204", "text": "@Override\r\n\tvoid createNewEntity() {\n\t\t\r\n\t}", "title": "" }, { "do...
37e6005ec789d6bfe2f90ae370018bab
Constructs a new empty database.
[ { "docid": "7b2d4f09c54e7cf71c21508ed43e193b", "score": "0.6434066", "text": "public Database() {\n //Assign instance variables.\n this.movies = new ArrayList<>();\n this.users = new ArrayList<>();\n }", "title": "" } ]
[ { "docid": "4e95355bcca4c173875e724512220e53", "score": "0.79526126", "text": "public Database() {\n size = 0;\n tables = new HashMap();\n p = new Parse(this);\n }", "title": "" }, { "docid": "bbf8d26d14e121ba0251c2746e021676", "score": "0.7635271", "text": "p...
d9bcd8962f8ece8eae4c538ed9f3325b
Gets the height of the actual data.
[ { "docid": "0b2fa5b236521ab389ed19fa27a95979", "score": "0.0", "text": "public int getActualHeight() {\n return actualHeight;\n }", "title": "" } ]
[ { "docid": "8156542d8d75ac69c8fe686ec23ee71c", "score": "0.8315174", "text": "public int getHeight() {\n\t\treturn buffer.getHeight();\n\t}", "title": "" }, { "docid": "559c9fb9aa177cdf7f35932a59a8d09d", "score": "0.82069373", "text": "@Basic\n\t@Raw\n\tpublic double getHeight() {\n\...
99ddb8983b9042df1a0a3ac92519a8f7
Get the formatted URL with base URL and endpoint concatenated.
[ { "docid": "bb95cef78cfbd5e9f077d45aa60dc4b8", "score": "0.8067851", "text": "private String getFormattedUrl(final String baseUrl, final String endpoint) throws URISyntaxException {\n return new URIBuilder(baseUrl.concat(endpoint)).build().toString();\n }", "title": "" } ]
[ { "docid": "3d0fab0b3cba4833a6fdb7d5b1e581b9", "score": "0.7410962", "text": "private String getFormattedUrl(final Response authResponse, final String endpoint, final List<NameValuePair> params)\n throws RestClientException, URISyntaxException {\n\n String formattedUrl = StringUtils.EM...
ec5f402b0822b8828cacbeeac4a27ab1
Server communication Reads from the server process's stdout until the port number is printed, then stores it in port. This blocks until the port number is read, or throws an exception.
[ { "docid": "df617b493d3d1ce486c8ab054c49256b", "score": "0.7886715", "text": "private void capturePortNumber() throws IOException {\n \t\t// Wait until the port number is printed\n \t\tfinal String start = \"=== Listening on port: \";\n \t\tString line;\n \t\tdo {\n \t\t\tline = serverStdOutReader.readL...
[ { "docid": "023d5f9b49f066ea084c509fc1bc02a5", "score": "0.68894285", "text": "protected synchronized void getPortFromServer() {\n try {\n socket = new Socket(\"localhost\", PortNumbers.SERVER_PORT);\n DataInputStream inputStream = new DataInputStream(socket.getInputStream()...
42f4e8e7fa650a62609fbf5b7a126579
get toOne destination and create its transient companion
[ { "docid": "725fd057da2b3d68fb9bf2653aab0b14", "score": "0.45706245", "text": "public Persistable propagateManyToOne( Object attributeOwner, String attributeName, Class attributeType,\n String inverseAttributeName, Class inverseType )\n {\n Persistable otherDestination;\n Persistable thisDes...
[ { "docid": "58062444663c80ade4b334235c37031a", "score": "0.60255784", "text": "public Object destinationEntity(D2WContext c) {\n EOEntity destinationEntity = (EOEntity)c.valueForKeyPath(\"smartRelationship.destinationEntity\");\n return destinationEntity;\n }", "title": "" }, { ...
67165eff0d07eae41f51880b4cde1f54
stringRedisTemplate.opsForValue().set(prefix + KEY_SPLIT + key, value);
[ { "docid": "3890da3ad977ae940f252e53e16d7fbf", "score": "0.70414394", "text": "public void setStringToSet(String prefix, String key, String value) {\n redisTemplate2.opsForSet().add(prefix + KEY_SPLIT + key, value);\n Slf4jLogUtil.SimpleLogUtil.debug(\"RedisService:set cache key={},value={...
[ { "docid": "eadb2b870522756133ea64b37dadf755", "score": "0.69741744", "text": "@Test\n\tvoid testRedis() {\n\t\tValueOperations<String, String> valueStr = redisTemplate.opsForValue();\n\t\t// insert set\n\t\tvalueStr.set(\"goodsProdu\",\"BMW\");\n\t\t// redis get\n\t\tString goodsName = valueStr.get(\"g...
5d9001aa652a43019073d2464d1e707a
Created by hp on 11/19/2016.
[ { "docid": "97c7dea32849b92dc9b31beb03d2ce4b", "score": "0.0", "text": "public interface OnAdminDetailItemClick {\n\n void onAdminDetailItemClicked(ArrayList<UserList> lstEvt, int position);\n\n\n}", "title": "" } ]
[ { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.6087406", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.60064715", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\...
dc9b538d59e0ad611f246cb0b252246e
Retrieves the default settings.
[ { "docid": "a6cfbc8f2f381a67a7e0adcf8358c381", "score": "0.8225919", "text": "public DefaultSettings getDefaultSettings ()\n {\n return (m_defaultSettings);\n }", "title": "" } ]
[ { "docid": "e41621852347f481e697bcdbc7cb0c8b", "score": "0.82274485", "text": "public Map< String, Object > getDefaultSettings();", "title": "" }, { "docid": "1bdbc23d26f4e58ddaf1d3285fd32f89", "score": "0.7224712", "text": "public static void getDefaultSettings(UserSettings settings...
452fde016fa3108f92071c21369fdf83
Construct a InflatableMap with the same mappings as the given map.
[ { "docid": "2dd813c9c128522d8a144300dfcb6d0b", "score": "0.7439707", "text": "public InflatableMap(Map<? extends K, ? extends V> map)\n {\n putAll(map);\n }", "title": "" } ]
[ { "docid": "72387051af2b54fc01cef9a37375a3ba", "score": "0.68661416", "text": "public InflatableMap()\n {\n }", "title": "" }, { "docid": "de15316e4ac1077094b58b9937f23215", "score": "0.6441422", "text": "public static <K, V> IModel<Map<K, V>> ofMap(final Map<K, V> map)...
7b084cc2d7f18b523dca51e04f752fbf
The architecture of the AMI. Default: For Amazon EBSbacked AMIs, i386. For instance storebacked AMIs, the architecture specified in the manifest file.
[ { "docid": "da5926f7eaf966eec924ae91dbfad150", "score": "0.7310789", "text": "public String getArchitecture() {\n return this.architecture;\n }", "title": "" } ]
[ { "docid": "58c36a0fae0a78210d9cd20381571347", "score": "0.71214056", "text": "static public native int getArchitecture();", "title": "" }, { "docid": "08a27c9d559977dfcb510fa90968eb76", "score": "0.70337826", "text": "@Nonnull\n\tGenericAttributeValue<String> getArchitecture();", ...
6e11fc78369ad11dc22472633e581e30
Hurt Mobs around it
[ { "docid": "8c3ee9c9ead7d81abfc0438ec5e4ca83", "score": "0.0", "text": "private void explode()\r\n\t{\n\t\tint radius2 = (int) (160F / 4);\r\n\r\n\t\tBlockPos pos1 = new BlockPos(this.posX - radius2, this.posY - radius2, this.posZ - radius2);\r\n\t\tBlockPos pos2 = new BlockPos(this.posX + radius2, this...
[ { "docid": "0bfd5584a184d1af4999b84ddeb71bb0", "score": "0.6749732", "text": "@Override@Model\n\tprotected void hurt(GameObject other){\n\t\tif(other instanceof Mazub && !((Mazub) other).isImmune() &&\n\t\t\t\t!((Mazub) other).standsOn(this)){\n\t\t\t((Mazub) other).getImmuneTimer().reset();\n\t\t\tothe...
d880caf1b3d5db660ea08415e5af50e4
O(n^2) time complexity and O(n) space complexity
[ { "docid": "b2b753f4e934d6c73d0c30285dfe302f", "score": "0.0", "text": "public BSTSet union(BSTSet s) {\n int[] thisArray = BSTToArray();\n int[] sArray = s.BSTToArray();\n int[] unionArray = new int[thisArray.length + sArray.length];\n int unionArrayIndex = 0;\n\n // ...
[ { "docid": "333ce2308611e2ab70ba55551d271083", "score": "0.73594856", "text": "public static int f2(int N) { \n int x = 0; //O(1)\n for(int i = 0; i < N; i++) // O(n)\n // O(n)`\n for(int j = 0; j < i; j++) \n x++;\n return x;\n }", "...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "638c3badc78adbefed9d55ce262cbde8", "score": "0.0", "text": "@Override\n\tpublic void resume() {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n ...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "09b7c391ee6775df683ff855937e822a", "score": "0.0", "text": "public final void mo25387a(String str, String str2, int i, ServiceConnection serviceConnection, String str3) {\n mo25389b(new C9880a(str, str2, i), serviceConnection, str3);\n }", "title": "" } ]
[ { "docid": "59fb7d137f85b012d3708b776f11150f", "score": "0.6218701", "text": "public interface C32666a {\n /* renamed from: a */\n void mo84109a();\n }", "title": "" }, { "docid": "42bede8e5f8886d152f3ee2639e2ed0e", "score": "0.6139383", "text": "public interface C11...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "294bca9ea12372fe29f3f5332be88eb0", "score": "0.0", "text": "@Override\n\t\t\t\t\t\tpublic void onFailure(int arg0, String arg1) {\n\t\t\t\t\t\t\tToast.makeText(AddBook.this, \"添加书籍失败,请重新上传\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
61535011cae19c76bf1f3fa5666ab602
File file = new File("C:\\Users\\user\\Desktop\\a.csv");
[ { "docid": "93ef1c72d0a49376158ac3c2c1bcfcaa", "score": "0.0", "text": "public static void processing() {\n\t\tFile file2 = new File(\"C:\\\\Users\\\\user\\\\Desktop\\\\word_defination4.csv\");\n\n\t\ttry {\n\t\t\t// Scanner scanner = new Scanner(file);\n\t\t\tBufferedWriter bufferedwriter = new Buffere...
[ { "docid": "eee94c75ff97893f538c9ca99d5b2d0a", "score": "0.65041333", "text": "public void readCSV(String pathToFile) ;", "title": "" }, { "docid": "cbfd758f527ed8f8e0a612c5a2ff0ec7", "score": "0.64779246", "text": "public void abrirArchivo(){\n try{\n entrada = new...
5fcd82e235a834d7e9d2a397fefc305f
READ CLASS JAVA_DOC WHEN TEST FAILS!
[ { "docid": "b06f38807115dda5b54ade3a000e1f1d", "score": "0.0", "text": "@Test\n public void subjectsByName() throws Exception {\n final SubjectResponse response = isbndb.subjectsByName(\"Fantasy\");\n assertNotNull(response);\n assertThat(response.getIndexSearched(), is(\"subject...
[ { "docid": "82b6a7791a8e6851951541eb2d298d52", "score": "0.61456466", "text": "@Test\n public void testGetDoc_fornecedor() {\n }", "title": "" }, { "docid": "7786d81f85a73158d84d1f44830ce23e", "score": "0.6078868", "text": "public static void process(Class clazz) {\n if ...
10ae6eda130e4d2d0f21efe93ad2f90f
/ adds padding to the UI components
[ { "docid": "1012f9b8f6378c755d4023421d93ebaf", "score": "0.7913466", "text": "private void setComponentPadding() {\n\t\tBorder padding = BorderFactory.createEmptyBorder(10, 10, 10, 10);\n\t\treel1Panel.setBorder(padding);\n\t\treel2Panel.setBorder(padding);\n\t\treel3Panel.setBorder(padding);\n\n\t\tdis...
[ { "docid": "df29c5cd71e7f08d4d6f9e4afc552073", "score": "0.7305561", "text": "@Override\n public void setPadding(int left, int top, int right, int bottom) {\n }", "title": "" }, { "docid": "56caa1ad85ff9281aa9dc0ff95d34062", "score": "0.662885", "text": "private void setPadding...
6dee2faa9892d37284a32fb842a55c7b
Metodo que obtiene el tipo de sorpresa
[ { "docid": "cd64319a96a62c4d20c9bb0f32549fac", "score": "0.6495448", "text": "public String getTipo() {\r\n\t\treturn tipo;\r\n\t}", "title": "" } ]
[ { "docid": "8e61954dcf71f17b45dda0ace2720be0", "score": "0.71262", "text": "TipoRecurso getTipo();", "title": "" }, { "docid": "5d6cb27283d3148df634a6dc4243548c", "score": "0.7089318", "text": "public String getTipo();", "title": "" }, { "docid": "ca3abc7b384b841c8f71be7e...
af85bb6c482d73705eab8afad5fa7652
This method was generated by MyBatis Generator. This method corresponds to the database table t_oms_comm_sys_para
[ { "docid": "b7bec77b9befa14fc7de19ed4fa97b99", "score": "0.0", "text": "int updateByExampleSelective(@Param(\"record\") OmsCommSysPara record, @Param(\"example\") OmsCommSysParaExample example);", "title": "" } ]
[ { "docid": "bb61b91b43d8fb1cd22acd75dd8595bd", "score": "0.571391", "text": "OmsCommSysPara selectByPrimaryKey(Long id);", "title": "" }, { "docid": "c8893e57952f819fd7a6406b28a44c08", "score": "0.55245143", "text": "public List<SystemsParameterEntity> findAllSystemsParameter() {\n\t...
367f93824e03ae49b3c8e748936eb20b
TODO : play sound with a pattern, synchronized with vibrator
[ { "docid": "1fd04049e1e44dcf19c217e20d9abd5b", "score": "0.65413195", "text": "private void playSound(Context context, Uri alert) {\n mediaPlayer = new MediaPlayer();\r\n try {\r\n mediaPlayer.setDataSource(context, alert);\r\n final AudioManager audioManager = (Audio...
[ { "docid": "9c69839f749fcbc62c709f3dfaa4393d", "score": "0.7360876", "text": "public void playSound() {\n mMediaPlayer.setVolume(1.0f, 1.0f);\n mMediaPlayer.start();\n\n vibrate(500);\n }", "title": "" }, { "docid": "0d7dc55e3c9c217a5b02c9c7509952cb", "score": "0....
59ab2d40f19b9a5efc7b72012464f5dc
use to get the list of task from sqlite
[ { "docid": "3f3bf8d3371e0f2d1882084ca993be91", "score": "0.73085654", "text": "public static List<TaskModel> getTasks(){\n return new Select().from(TaskModel.class).execute();\n }", "title": "" } ]
[ { "docid": "1eabbaa8ae4bb524d093dd4dd8ea243f", "score": "0.78089356", "text": "public ArrayList<String> getTaskNameList(){\n SQLiteDatabase db = dbHelper.getReadableDatabase();\n String selectQuery = \"SELECT \" +\n Task.KEY_ID + \",\" +\n Task.Task_Name+\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "36e3a4e4356c68db118720d501a94bd7", "score": "0.0", "text": "@Override\n\t\t\t\tpublic boolean onMarkerClick(Marker marker) {\n\t\t\t\t\tfor(int i=0;i<markerNum;i++){\n\t\t\t\t\t\tif(marker == mMarker[i]){\n\t\t\t\t\t\t\tLog.d(\"jy\", \"点击了第\"+i+\"个marker\");\n\t\t\t\t\t\t\tIntent intent = ne...
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
d81e130ebd2d97100fe5bc13c22b69c7
builder for setProductPriceCustomType subtype
[ { "docid": "cb6457def179bc264f0a3eae229c4f4f", "score": "0.77326506", "text": "public static com.commercetools.api.models.product.ProductSetProductPriceCustomTypeActionBuilder setProductPriceCustomTypeBuilder() {\n return com.commercetools.api.models.product.ProductSetProductPriceCustomTypeAction...
[ { "docid": "902fc47f6878010d2ba8ac781036e778", "score": "0.6407488", "text": "public static com.commercetools.api.models.product.ProductSetProductPriceCustomFieldActionBuilder setProductPriceCustomFieldBuilder() {\n return com.commercetools.api.models.product.ProductSetProductPriceCustomFieldActi...
8a74c101cbad3acac30b47ccdfacd031
Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.
[ { "docid": "9b082dcc102df5689bdcaf03a51adfe8", "score": "0.87942", "text": "MethodDefinition<S> annotateParameter(int index, AnnotationDescription... annotation);", "title": "" } ]
[ { "docid": "30148df5e651a813004858286058683b", "score": "0.8892288", "text": "MethodDefinition<S> annotateParameter(int index, List<? extends Annotation> annotations);", "title": "" }, { "docid": "41c813bb9bba78111d3e51f4f7c07696", "score": "0.88617045", "text": "MethodDefinition<S> ...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "859c1725980dbf1670026c7b0d6c0363", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_albums, container, false);\n }", ...
[ { "docid": "726a37df904bcdd4ebbe2d72a17d7ae6", "score": "0.6869027", "text": "@Override\n\tprotected int initLayout() {\n\t\treturn R.layout.fragment_my;\n\t}", "title": "" }, { "docid": "640e442841b6d1efbd06df59f42e7cdf", "score": "0.68370074", "text": "@Override\n public View on...
c8909349ce34be989ab647a43b6d2478
Unsets the "description" element
[ { "docid": "90f49e26c43636ef555007effac3f03d", "score": "0.83922786", "text": "public void unsetDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(DESCRIPTION$0, 0);\n }\n }", "title": "" } ]
[ { "docid": "113f8140e29376df4967b0633d5f9768", "score": "0.84297734", "text": "public void unsetDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(DESCRIPTION$4, 0);\n }\n }", "title": "" }, { "do...
3504a3fdc5855cfc972e0785587e0737
Created by cpu005 on 26/4/16.
[ { "docid": "d166eb753eec97cc8c9d458e74613be6", "score": "0.0", "text": "public interface OnClickListener {\n\n public void onClick(Object groupPosition, Object obj);\n}", "title": "" } ]
[ { "docid": "5cf6e7275cb8d34bdacabdb57b1297ed", "score": "0.61405087", "text": "public void mo74847b() {\n }", "title": "" }, { "docid": "fee1a18ceca61748f93149cd393850fc", "score": "0.60858154", "text": "public void mo74768d() {\n }", "title": "" }, { "docid...
c72991232815cfb4f84a085489fe6241
Removes category and associated keys.
[ { "docid": "90656ad7ba759bce7ccfce7e9a5e126c", "score": "0.0", "text": "public static void removeCategory(String name) {\n Category category = CATEGORIES.remove(name);\n category.clear();\n }", "title": "" } ]
[ { "docid": "52a7aaf836d9d8d26c2ba48b46afc152", "score": "0.660272", "text": "public void removeCategory()\n\t{\n\t\tcategory = null;\n\t\tisCategorized = false;\n\t}", "title": "" }, { "docid": "9c7061ad0060ca0eeae4c8812eca3c88", "score": "0.62469834", "text": "public void removeCate...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "18683f37c7249e5eaa1a1d48c3d08cc6", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_search_grades, container, false);\n ...
[ { "docid": "9889cfe738b7e9b399fedfcc374cd8be", "score": "0.6940545", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_feed, parent,...
37dfc254a2bdce2fbd2da19065c6e7ff
Returns the node to the south of the current node. If this node exists, it becomes the current node. Otherwise, null is returned and the current node does not change.
[ { "docid": "70f9cfc8251b7317bff91f9dcd5a4415", "score": "0.6668517", "text": "public ArgNode goSouth () {\r\n \tArgNode node = curr;\r\n if (node != null) {\r\n node = curr.getSouth();\r\n if (node != null) {\r\n \tcurr = node;\r\n }\r\n }\r\...
[ { "docid": "fa68994dfaf95304fcc3469a06e03575", "score": "0.6131973", "text": "public ArgNode endSouth () {\r\n if (curr != null) {\r\n while (goSouth() != null) ;\r\n }\r\n return curr;\r\n }", "title": "" }, { "docid": "f51e323bf6255f0a480ad601729e06ea", ...
7abe97f9c5faa8ffa3b970348e3eb435
Reading from config to create the JComponentVisibleMaker for this exporter facade. If it's not configured, default DefaultVisibleMaker will be used.
[ { "docid": "eb2c9b748504fcb547ae5996a2ca39fe", "score": "0.71756893", "text": "private JComponentVisibleMaker initVisibleMaker(String namespace, ObjectFactory objectFactory)\n throws ImageExporterConfigurationException {\n String visibleMakerKey = ConfigHelper.getStringProperty(namespace, ...
[ { "docid": "ad7e317ce5f2c7fa8b129519df10e06b", "score": "0.51904345", "text": "private void initComponents() {\n\n defaultConfigPanel = new javax.swing.JPanel();\n defaultConfigDescription = new javax.swing.JLabel();\n showTestCheckBox = new javax.swing.JCheckBox();\n\n defau...
dd1f9fbc3d7a400f4afa3a71261ea252
Check that method arguments conform to its instantation.
[ { "docid": "89ff04f9a11798f09978e8d9560aee20", "score": "0.0", "text": "public Type checkMethod(Type site,\n Symbol sym,\n Env<AttrContext> env,\n final List<JCExpression> argtrees,\n List<Type> a...
[ { "docid": "80d14796c8c9faedb08d65047152dd44", "score": "0.6598866", "text": "boolean hasArguments();", "title": "" }, { "docid": "967d873f62f5efac832c88992eb34c07", "score": "0.64791244", "text": "protected void validateArgs(java.lang.String[] param){\n \...
510a6137ad395f46d6f5b84c6502c964
Shuffles the given array using the FischerYates algorithm.
[ { "docid": "acbbd232e0f7bf94221681472bf46f83", "score": "0.56260765", "text": "private static void shuffle(int[] a, int p, int r) {\n Random random = new Random();\n for (int i = p; i < r; i++) {\n int j = random.nextInt(r - i) + i;\n int temp = a[j];\n a[j...
[ { "docid": "cceb64aa83b98ddd2292cbb5cbe005f7", "score": "0.70112056", "text": "private static void shuffleArray(int[] array)\n{\n int index;\n Random random = new Random();\n for (int i = array.length - 1; i > 0; i--)\n {\n index = random.nextInt(i + 1);\n if (index != i)\n ...
2608258f0d6aeacc48ba94cba68d16d4
Returns the result of interpreting the object as an instance of 'Statement'. This implementation returns null; returning a nonnull result will terminate the switch.
[ { "docid": "fb9ca941dbb253cf79f2dab9d16bd6a5", "score": "0.7094972", "text": "public T caseStatement(Statement object) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "edba55ee5965cae4218ba5db55666146", "score": "0.73534507", "text": "private Statement statement() {\n\n switch (lexer.token) {\n case THIS:\n case IDENT:\n case SUPER:\n case INT:\n case BOOLEAN:\n case STRING:\n ...
e152b73f3e2d77ca886a37456963d7bf
this allows other classes to access private variables
[ { "docid": "d95badb082300cc9ca5c7fdfa39103e2", "score": "0.0", "text": "public String getScore() {\n return scoreString;\r\n }", "title": "" } ]
[ { "docid": "2a2ff5b452481dad51d49c7c066db687", "score": "0.69900906", "text": "public void privateVariablesOfOuterClassAreNOTAvailable() {\n\t\t}", "title": "" }, { "docid": "f4701dd3165b9a2c8348b1b05e303cf3", "score": "0.63698184", "text": "void getVariables() {\n\t\t/*\n\t\t * has ...
4231226c059854454201e6cbf5190311
This method receives two parameters. The first parameter is the page in which we have discovered this new url and the second parameter is the new url. You should implement this function to specify whether the given url should be crawled or not (based on your crawling logic). In this example, we are instructing the craw...
[ { "docid": "9c45267131cbb015b79ad05f47fb9ba5", "score": "0.6788563", "text": "@Override\n\tpublic boolean shouldVisit(Page referringPage, WebURL url) {\n\t\t//\n\t\tSystem.out.println(\"URL: \" + url);\n\t\t//\n\t\tString href = url.getURL().toLowerCase().replaceAll(\",\", \"-\");\n\t\tSystem.out.printl...
[ { "docid": "394ba57e7d740faa9ba260985e84ac33", "score": "0.6802177", "text": "@Override\n public boolean shouldVisit(Page referringPage, WebURL url) {\n String href = url.getURL().toLowerCase();\n\n // Filter filetypes\n if (Pattern.compile(getFiletypeFilter()).matcher(href).find...
c37447d0820101bc13e9bfe6ed7ac093
5. get graph with jobs
[ { "docid": "24d2e0a1b2fa7d9c1175a6cf5547d225", "score": "0.7302717", "text": "public static Map<String, GNode> getGraph(Job j){\n Map<String, GNode> graph = new HashMap<>();\n for(Task t: j.tasks){\n GNode child = graph.getOrDefault(t.taskId, new GNode(0, 0, t.taskId));\n ...
[ { "docid": "b677166bcb03964f1c6b9d7b855f8501", "score": "0.6508536", "text": "public List<Job> GetFullsRoadNetwork()\n {\n List<Job> jobs = new ArrayList<Job>();\n Iterable<Node> allNodes = NodeRepo.findAll();\n List<Long> doneNodes = new ArrayList<Long>();\n\n for (Node n...
56845d3fdedc9c4fdca376ea854962a7
Helper method to convert string (of teachables, for example) into an arraylist of strings:
[ { "docid": "5dfe97866808c6ce00b7f64b1641ae45", "score": "0.6779395", "text": "public ArrayList<String> parseString(String stringIn){\n\t \t\t\tArrayList<String> strings = new ArrayList<String>();\n\t \t\t\t\n\t \t\t\t// for each string listed in string, append it to strings arraylist:\n\n\t \t\t\treturn...
[ { "docid": "459b5f97a6efae52915d15b7a4ba12b8", "score": "0.7136002", "text": "public ArrayList<String> stringToArray(String s){\n\t\tArrayList<String> stringList = new ArrayList<String>();\n\t\tString[] array = s.split(\"\\n\");\n\t\tfor(String content: array){\n\t\t\tstringList.add(content);\n\t\t}\n\t...
293577a97094310c283b922a9176475c
Run the String getInheritedAttribute(String,String) method test.
[ { "docid": "05380f836d3242dcaf2074f42c5b28ca", "score": "0.684029", "text": "@Test\n\tpublic void testGetInheritedAttribute_fixture26_1()\n\t\tthrows Exception {\n\t\tNode fixture = getFixture26();\n\t\tString namespaceURI = \"\";\n\t\tString localName = \"0123456789\";\n\n\t\tString result = fixture.ge...
[ { "docid": "c0a3c2fbd2a56822618e2c01c5a311e6", "score": "0.71941423", "text": "@Test\n\tpublic void testGetInheritedAttribute_fixture18_1()\n\t\tthrows Exception {\n\t\tNode fixture = getFixture18();\n\t\tString namespaceURI = \"\";\n\t\tString localName = \"0123456789\";\n\n\t\tString result = fixture....
48c2b984414f2e4810729cfd58a271f1
check if a Bundle is in storage.
[ { "docid": "f64a2647beae32c5164aea5e3c9d5e72", "score": "0.6006713", "text": "boolean contains(BundleId bid);", "title": "" } ]
[ { "docid": "04d1c6a2fbe2e92e1b9c310d5862fde5", "score": "0.6274017", "text": "public static boolean hasStoragePermission(Context context) {\n return hasPermission(context, STORAGE_PERMISSION);\n }", "title": "" }, { "docid": "3db356098ae5ac747a09b32d96ef853d", "score": "0.61907...
fa4362d58d2ac6507c972f740f32a739
Does nothing it is just for the override
[ { "docid": "a7a608f8529bc6eaae41b2ec16bccc80", "score": "0.0", "text": "@Override\n public void move() {\n\n }", "title": "" } ]
[ { "docid": "0fa90e40e6488bdb9f25599153d0b156", "score": "0.8106387", "text": "@Override\n public void unwanted() {\n }", "title": "" }, { "docid": "34b43810a805e0d48661629f62b35f2b", "score": "0.792852", "text": "@Override\r\n\tpu...
f77b27c2769bae4afba90befe5006208
Use for delete T.
[ { "docid": "27455223fa290f520f5b0c5bf1f13f80", "score": "0.0", "text": "Collection<T> delete(CriteriaHelper<T> criteriaHelper);", "title": "" } ]
[ { "docid": "f48cbc1e192c7430af5efa58f96dc504", "score": "0.8531568", "text": "public void delete(T t) {\n\t\t\n\t}", "title": "" }, { "docid": "ba5d7920a3c16bb5dc54154ae1dd24cc", "score": "0.82646704", "text": "@Override\n\tpublic void delete(Object T) {\n\n\t}", "title": "" },...
cebaf453518c500fbae1ea792ff442ec
Method for fetch the Semester start & end date Details.
[ { "docid": "024ab2f84ec49490dd5ebfe8e1edf6fd", "score": "0.6739444", "text": "public ModelAndView SemesterStartEndDate(HttpServletRequest request, HttpServletResponse response)throws Exception {\r\n\t\tActivityMaster activityMasterObject = new ActivityMaster();\r\n\t\tHttpSession session = request.getSe...
[ { "docid": "f379a5975de1a3762eec3d086c036056", "score": "0.60321933", "text": "public String getSemesterName(){ return this.semester.getSemesterName();}", "title": "" }, { "docid": "24be2ff5d3403515f20c3e5e6abd2557", "score": "0.59762216", "text": "String getStartDate();", "title...
eaee8fe4bc2ae38afbdec6598a37b585
Tests checking a connector's name for usage by another.
[ { "docid": "3a8696589344930face186f4f853669f", "score": "0.7387619", "text": "@Test\n @DisplayName(\"Tests checking a connector's name for usage by another.\")\n @SneakyThrows(Exception.class)\n void testCheckConnectorName() {\n mockMvc.perform(get(\"/api/connector/check/\" + Base64.getE...
[ { "docid": "cee515f28ea4edd60bb8d511426417dc", "score": "0.58611476", "text": "@Test\n public void shouldRequireAnExternalConnection() {\n boolean result = command.requiresExternalConnection();\n \n // Then the answer should be true\n assertTrue(result);\n }", "title"...
94be51937ab20a43de6b4a4d8f948300
Setting the detail of a laptop
[ { "docid": "3ebc68f25c7759c311f563aabd4ca616", "score": "0.6380993", "text": "public void setLaptop(Laptop laptop) {\n\t\tthis.laptop = laptop;\n\t}", "title": "" } ]
[ { "docid": "905459e18d0f05bac252161e838ce74a", "score": "0.6344834", "text": "public void showComputerDetails();", "title": "" }, { "docid": "e96a8a2e9c5b572094f42e9c6b49fbd7", "score": "0.59488386", "text": "@Override\n\tvoid displayDetailInfo() {\n\t\tsuper.displayBasicInfo();\n\t\...
a1254d1ce1c67e17c91a1eda1ba81d6b
adds a key/value attribute to the json response string.
[ { "docid": "f72d5c005f9d10cc72ced584f64ab20b", "score": "0.5732639", "text": "protected void addSuccess(String key, String value) {\n\t\tif(success == null) {\n\t\t\tsuccess = Json.newObject();\n\t\t\tsuccess.put(\"status\", \"OK\");\n\t\t}\n\t\tsuccess.put(key, value);\n\t}", "title": "" } ]
[ { "docid": "219764f1df14706bdbca20068cb500a5", "score": "0.66212314", "text": "public Attributes add(String key, String value) {\n\t\tif (value == null)\n\t\t\treturn this;\n\t\tout.append(' ');\n\t\tout.append(key);\n\t\tout.append(\"=\\\"\");\n\t\tout.append(value);\n\t\tout.append('\\\"');\n\t\tretur...
82843f4c5bc73e06480ac9a1e408ad57
Test of incrementCount method, of class PeopleCounter.
[ { "docid": "f823117adf97ba90463391a3998e632b", "score": "0.8126361", "text": "@Test\n public void testIncrementCount() {\n System.out.println(\"incrementCount\");\n PeopleCounter instance = new PeopleCounter();\n instance.incrementCount();\n // TODO review the generated te...
[ { "docid": "4e524c39ff36259cc6e9664e460bcd51", "score": "0.77976257", "text": "TestCounter()\n\t{\n\t\tcount++;\n\t}", "title": "" }, { "docid": "9c67322a3d6ddc8a421857325815df0d", "score": "0.7680485", "text": "public void incrementTestCount()\n\t{\n\t\ttestCount++;\n\t}", "titl...
747828765982d4a8775b88771ef9d2c1
Detects PDF417 codes in an image. Only checks 0 degree rotation
[ { "docid": "d1a1886c88150dca563d3e609eb958d2", "score": "0.5167148", "text": "private static List<ResultPoint[]> detect(boolean multiple, BitMatrix bitMatrix) {\n List<ResultPoint[]> barcodeCoordinates = new ArrayList<>();\n int row = 0;\n int column = 0;\n boolean foundBarco...
[ { "docid": "2ba06a248a8779bc8af31ed27be9e3f8", "score": "0.58271134", "text": "@Override\n public List<QRCodePoint> detectQRCode(BufferedImage img, List<Point> cornerPoints) {\n Rect2d boundingBox = Utils.getTightestBoundingRectangle(cornerPoints);\n BufferedImage focusImg = Utils.cropI...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "ad31de28329be9ef2f4100b43839e2c4", "score": "0.0", "text": "@Override\n public void onValueDeselected() {\n\n }", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
f3b008b0e4b66e8c176b4096770a88b9
Calcul la longueur d'une ligne
[ { "docid": "1aa7aa1c907eb52b81e3bd662ecb7795", "score": "0.5722317", "text": "double getLongueur(){\n\t\treturn getDistance();\n\t}", "title": "" } ]
[ { "docid": "551c2137624cd6a90cb98d9abaeb8de5", "score": "0.70241", "text": "public long longueurDeLigne(Line trait){\n long longueur = (long)(Math.sqrt(Math.pow(trait.getEndX()-trait.getStartX(),2)+Math.pow(trait.getEndY()-trait.getStartY(),2)));\n additionneur.set(additionneur.get()+longu...
8f501edd080d31ad4a822340cce4f38e
Auto generated getter method
[ { "docid": "9dbc4fc4bcaebf3c064acaa9f1224c6e", "score": "0.0", "text": "public Auth getIdentity(){\r\n return localIdentity;\r\n }", "title": "" } ]
[ { "docid": "4b847f28313d4968410f629d805ed421", "score": "0.75256884", "text": "public abstract String get();", "title": "" }, { "docid": "4b847f28313d4968410f629d805ed421", "score": "0.75256884", "text": "public abstract String get();", "title": "" }, { "docid": "cae7dd0c...
3ec2acef39bba892e9f68841ed3f44b4
MOVE TO NEXT Record
[ { "docid": "447eb16243225b687fd09b56ad4e50d4", "score": "0.6200968", "text": "public Designation moveNext()\n\t{\n\t\tdes = new Designation();\n\n\t\ttry\n\t\t{\n\t\t\tif (!rsDesignation.next()) rsDesignation.last();\n\t\t\tsetData();\n\t\t}catch(SQLException sqle)\n\t\t{\n\t\t\tSystem.out.println(\"Ser...
[ { "docid": "bb4d87066bed44c81418b87a6cba56e5", "score": "0.6972618", "text": "void moveNext() {\n\t\tif(cursor != null){\n\t\t\tif(index == (numData-1)){\n\t\t\t\tcursor = null; \n\t\t\t\tindex = -1;\n\t\t\t}\n\t\t\tif(index < numData-1 && index >= 0){\n\t\t\t\tcursor = cursor.next;\n\t\t\t\tindex++;\n\...
cc37b9eb98a28084066c2d1d2d7fa6ed
Check whether a given tool will cause a drop.
[ { "docid": "5b65c1aaa38f3e56e85e3a190623cfaa", "score": "0.0", "text": "public LootCondition matchTool(String item, String nbt) {\n\t\tItemPredicate.Builder builder = ItemPredicate.Builder.create();\n\t\tif (item.indexOf('#') == 0) {\n\t\t\tIdentifier id = new Identifier(item.substring(1));\n\t\t\tbuild...
[ { "docid": "e1b96b9354ae91dfeb77b1e2df041853", "score": "0.6133084", "text": "public boolean toolStatus() {\n if(!selectedTool.toolCanContinue(getPlayerById(fsm.getUserPlayingId()))){\n List<Integer> oldIndexes=selectedTool.getOldIndexes();\n for (Integer index: oldIndexes){...
3e1b2f925b3289d84f9dca434cfe2d53
Using the standard AWS lambda logger
[ { "docid": "f80e4e4a8ad7e7b6554fc85d537ffb76", "score": "0.0", "text": "public APIGatewayProxyResponseEvent handleRequest(APIGatewayProxyRequestEvent event, Context context) {\n\t\tLambdaLogger logger = context.getLogger();\n\n\t\t// Declare and instance the response\n\t\tAPIGatewayProxyResponseEvent re...
[ { "docid": "0da66ac22d7d9b4f1fa0cd160770fe27", "score": "0.60507786", "text": "@Override\n\tpublic LambdaLogger getLogger() {\n\t\treturn logger;\n\t}", "title": "" }, { "docid": "14009c06c72e95a5c55ac783ba018568", "score": "0.59539104", "text": "protected abstract EventSink logger()...
12cd71830fb84d9adf693ff60371bb87
The account Id. string accountId = 3;
[ { "docid": "b210b80effcad8e38fe480f4ff09f469", "score": "0.0", "text": "com.google.protobuf.ByteString\n getAccountIdBytes();", "title": "" } ]
[ { "docid": "27827b5a91eedba2714b456fd946e969", "score": "0.837444", "text": "public String getId() {\n return accountId;\n }", "title": "" }, { "docid": "5c84dceea8cbb0254a492152307bb9be", "score": "0.82291394", "text": "public String accountId() {\n return accountId;\n ...
5960ee3cca30d7551df5c98fdcdcaaa8
returns the maxProperties property from a Schema instance. minimum: 0
[ { "docid": "0d0217aacdc40aef4f60331a33afd876", "score": "0.78727", "text": "public Integer getMaxProperties() {\n return maxProperties;\n }", "title": "" } ]
[ { "docid": "0723b603ea003e5b1f5f942c4d00d346", "score": "0.71698654", "text": "public int getMAX_PROPERTY() {\n return MAX_PROPERTY;\n }", "title": "" }, { "docid": "9b3ce5d79d07d365fe0bea30d3c88d80", "score": "0.7161448", "text": "public int getMAX_PROPERTY()\r\n\t\t{\r\n\t\t\tr...
e56a94b24ec703b6f4426373fbdb646a
Initializing the document creator object
[ { "docid": "beb73ac61231354a95570e0684f78634", "score": "0.0", "text": "public static void main(String[] args) throws Exception {\n\t\tMSWordDocumentCreator msWordDoc = new MSWordDocumentCreator();\n\n\t\tmsWordDoc.createWordDocument();\n\t\t\n\t\tSystem.out.println(\"Document created successfully...\")...
[ { "docid": "f0b943b28c611ab65f5877501011e947", "score": "0.7570776", "text": "public Document() {\r\n }", "title": "" }, { "docid": "f0b943b28c611ab65f5877501011e947", "score": "0.7570776", "text": "public Document() {\r\n }", "title": "" }, { "docid": "2f2459fab197...
e0117958c9d71e2effc3996ef9b5baf8
greedy action selection implementation return the index of the most valuable action for a particular state
[ { "docid": "090f002c2cc0bf48232a3812b4b6378a", "score": "0.7548607", "text": "private int getMaxValuedAction(int[] state) {\n\t\tint maxIndex = -1;\n\t\tfloat maxValue = -Float.MAX_VALUE;\n\t\tfor (int action = 0; action < numActions; action++) {\n\t\t\t// if Q-Value here is greater than maxValue\n\t\t\...
[ { "docid": "e3aad2ea3b5d1247a0ab714b84c5879f", "score": "0.77603203", "text": "public int chooseAction(int state) {\r\n int bestAction = 0;\r\n \r\n /* Epsilon-Greedy Algorithm */\r\n if (rand.nextInt(10000) <= 10000*this.epsilon)\r\n bestAction = rand.nextInt(this.numOfActions);\r\n ...
2038bc2c7e1ba886b6658dd30e4f9bdf
Tests if the combo box entries have changed.
[ { "docid": "642513e3da84290d3656c5d6429708f2", "score": "0.5669671", "text": "private boolean completionsChanged(final StringList list) {\n final int ls = list.size();\n if(ls != completions.getItemCount()) return true;\n for(int l = 0; l < ls; ++l) {\n if(!list.get(l).equals(completions.g...
[ { "docid": "dd2e347539bf5788e9c818a39fe388ac", "score": "0.6794383", "text": "public boolean isModified() {\n return(!this.getSelectedItem().equals(editBeginValue));\n }", "title": "" }, { "docid": "ccdaac5d774a86196908faaddc7eb6ac", "score": "0.675062", "text": "public boolean h...
c1f55b10c7bd48fa43bd812e9a2da6f7
Sets the X coordinate of the point.
[ { "docid": "36e992b79a1795403639a413372fa978", "score": "0.77967167", "text": "public void setX(double x) {\r\n\t\tthis.x = x;\r\n\t}", "title": "" } ]
[ { "docid": "b6e932a314918d11cf2f47ec5975cd2d", "score": "0.82454586", "text": "public void setX(int x) {\n this.xCoordinate = x;\n }", "title": "" }, { "docid": "986e2e7169fd86da041a8cd89762d62e", "score": "0.8041644", "text": "public void setX(int x){\n\t\txCoord=x;\n\t}", "...
0bfae6e465362d02671766c0ad87a15a
Gets the Localized value for the specified key. The default String text is return if the specified key does not exist
[ { "docid": "c65a9714cbef5559283a49113c7e3a77", "score": "0.0", "text": "public String getString(String key, String dft, Object arg0, Object arg1, Object arg2, Object arg3)\n {\n return this.getString(key, dft, new Object[] { NonNull(arg0), NonNull(arg1), NonNull(arg2), NonNull(arg3) });\n }...
[ { "docid": "0dc0247805e4319deaed97302ad3c258", "score": "0.7755978", "text": "@Nonnull\n public String get(@Nonnull Translatable key) {\n String message = messages.getProperty(key.name());\n if (message == null || message.length() < 2) {\n if (parentStorage != null) {\n ...
429790fe3f79ebcf8fb424df6bfedb72
Free all the resources
[ { "docid": "8a404b04d6b95a19a873e654e988076e", "score": "0.0", "text": "public synchronized void close() {\n\t\ttrackingPnl.close();\n\t\ttheToolbar.close();\n\t\tsuper.close();\n\t}", "title": "" } ]
[ { "docid": "ba6d27df1b8db0188d72cdee09bd472a", "score": "0.79437137", "text": "public void freeResources() throws DataSourceFinalizationException {\n \n sourceManager.shutdown();\n \n File[] tempFiles = tempDir.listFiles(new GdmsFileFilter());\n \n boolean...
ec4c1e6338d3348355e08db78638e221
ASSIGNMENT: Fix the code found below this block
[ { "docid": "7314638d71d8a3b66e6001717d750713", "score": "0.0", "text": "public static void main(String [] args) {\n\t\tif (true) {\n\t\t\tint x = 5;\n\t\t}\n\t\tint syntaxIsFun = 5;\n\t\t// The following line prints stuff out, I promise\n\t\tSystem.out.println(\"If you can see this message, you've won!\...
[ { "docid": "2f8bc325cbd58e19eae4acec86ffe12c", "score": "0.6897177", "text": "public final void mo51373a() {\n }", "title": "" }, { "docid": "680ac9d1bc1773741a758290a71e990c", "score": "0.6639732", "text": "@Override\n public void func_104112_b() {\n \n }", "...
5eeb5c9c578398a9108882d75dbb2695
This method was generated by MyBatis Generator. This method corresponds to the database table activity_task
[ { "docid": "093a7fb011ffd9e3051d720118e537be", "score": "0.0", "text": "int deleteByExample(ActivityTaskExample example);", "title": "" } ]
[ { "docid": "d137c4ed5ee512b0ab0943323c3e8b38", "score": "0.6042991", "text": "public interface TaskMapper {\n\n @Select(\"SELECT * FROM task WHERE task_no=#{taskNo};\")\n Task getByTaskNo(@Param(\"taskNo\") String taskNo);\n\n @Select(\"SELECT * FROM task\")\n List<Task> getAllTasks();\n\n ...
f2aa069fa2b6f04e1b82c0fd3a3db118
This method was generated by MyBatis Generator. This method corresponds to the database table t_origin_material_info
[ { "docid": "4e93de2186d4f66ce578cf6582cdbc06", "score": "0.47171122", "text": "int updateByExample(TOriginMaterialInfo record, TOriginMaterialInfoExample example);", "title": "" } ]
[ { "docid": "48af8978fa791f2e83dd8e2a102e9339", "score": "0.65433156", "text": "TOriginMaterialInfo selectByPrimaryKey(Integer materialId);", "title": "" }, { "docid": "ee3e19af3e7d1924e55c02d4925d66d0", "score": "0.53827727", "text": "List<TOriginMaterialInfo> selectByExample(TOrigin...
bd1d73a88dba1cfcb8ea227c6bae4f0f
determines which button was pressed
[ { "docid": "57892a105112193ee66e18d208494a77", "score": "0.0", "text": "public void jButtonLevelAction(java.awt.event.ActionEvent evt){\n JButton source = (JButton)evt.getSource();\n //changes level based on button selected\n if(source==levels[0]){\n level = (\"1\");\n ...
[ { "docid": "8a8aefab6d7bf8f5888cb8b868b87912", "score": "0.74226874", "text": "void onButtonPressed(int button);", "title": "" }, { "docid": "197cab4d45bde24906eff8cb4c02db4b", "score": "0.72647387", "text": "protected final int getButton() {\r\n return button;\r\n }", "title...
91948dbaf835f69727ba0f7e6b9dddb5
Generate a name from given chromosome array data.
[ { "docid": "9b72a0ba9cc71f5673957ac3322934bc", "score": "0.79485124", "text": "String getName(ChromosomeArrayData cad);", "title": "" } ]
[ { "docid": "364499d45797aecef88493772271532d", "score": "0.60582507", "text": "char[] getName();", "title": "" }, { "docid": "3a75c938257e61a0ca5beb7c38c1a5f8", "score": "0.5899676", "text": "public static Name of(char[] data) {\n return factory.of(data);\n }", "title": "" ...
b472b7e7c6092e9ed8a7fa78ee2110b4
Returns the actual classpath of a classloader instance.
[ { "docid": "d224a279042c47a26e76cff1888816d0", "score": "0.62394947", "text": "String[] getClasspath(ClassloaderContext task,\n ClassLoader classloader, boolean defaultToFile);", "title": "" } ]
[ { "docid": "3c5934370eab9701786cfae2fd2faafb", "score": "0.70351374", "text": "public String getClassPath(){\r\n\t return classpath;\r\n }", "title": "" }, { "docid": "c4f9168503a2dd4dcc1383a200ee48ea", "score": "0.6973002", "text": "public Path getClasspath() {\n return ...
810a74d8ecde39afb761f85d78b5f679
return "tools" + FILE_SEPARATOR + "chromedriver" + FILE_SEPARATOR + "chromedriver.exe"; // need to check why not working (30/06/2020)
[ { "docid": "ad8abe2350f47e57e5433a41082804e9", "score": "0.8208658", "text": "private static String returnChromeDriverPath() {\n return \"Tools/chromedriver/chromedriver.exe\";\r\n }", "title": "" } ]
[ { "docid": "e8731beeda7e408ced509f95055487a5", "score": "0.6411961", "text": "public static void main (String[] args) {\nSystem.out.println(\"svhasgahgs\");\n//C:\\Software RAHUL\\DRIVER\nSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Software RAHUL\\\\DRIVER\\\\chromedriver.exe\");\nWebDriver ...
0336322222073d007cbbadbd161b11d0
Function to get mother
[ { "docid": "1e9e1b5461f442b9f172677b983c8314", "score": "0.7647869", "text": "public FamilyMember getMother() {\r\n\t\treturn mother;\r\n\t}", "title": "" } ]
[ { "docid": "4434bd4c4955e0b3339adcb1449c53f5", "score": "0.7787804", "text": "public Person getMother() {\n return mother;\n }", "title": "" }, { "docid": "ece063737e3dbed36109f5fe86f78519", "score": "0.6597566", "text": "public GeographicArea getMotherArea() {\n ret...
f6088f9d078d4a24cd2958d86cd13185
Act do whatever the JefeFinal wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment.
[ { "docid": "4e9ee87cf7341f89b2d90f8b7af92293", "score": "0.5877454", "text": "public void act() \n {\n TanqueWorld mundo = (TanqueWorld) getWorld();\n if(Mov)\n {\n if(getX()<500)\n setLocation(getX()+5,getY());\n else\n Mov=false;\n ...
[ { "docid": "ab4143141d1d6a0c6896e4a48c9d0b13", "score": "0.6827307", "text": "public void act() {\n }", "title": "" }, { "docid": "7c1cdc264ca8be3f858f374189fdbc83", "score": "0.66919667", "text": "public void act()\n {\n }", "title": "" }, { "docid": "7c1cdc264c...
d4d19cf5cc33a351d439b7e178b16799
Created by Administrator on 2017/11/22.
[ { "docid": "40533245d24f5ac6c2aa7298680f5604", "score": "0.0", "text": "public interface UiElementInizializer {\n void updateUiElements();\n}", "title": "" } ]
[ { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.6272859", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.61512476", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t...
d1562820be072607801257af7e062090
double dirDouble = (Math.atan2(xSpeed, ySpeed) / (Math.PI / 2) + 2); int direction = (int) Math.round(dirDouble) % BMP_ROWS;
[ { "docid": "9f726ebbe0b7018f567b2ea150c28ba1", "score": "0.0", "text": "private int getAnimationRow() {\n return DIRECTION_TO_ANIMATION_MAP[direccio];\n }", "title": "" } ]
[ { "docid": "718425d273946038d4aad59d4091e90c", "score": "0.651135", "text": "private static int GetDirection(PachinkoBall ball)\r\n\t{\n\t\tint move = (int)((Math.random() * 100) % 2);\r\n\t\tint temp = (int)((Math.random() * 100) % 2);\r\n\t\t\r\n\t\t//get direction\r\n\t\tif (ball.pos.x > MAX_POSITION...
c5694be954bd73b44f08cc68a6d5b113
/ Method to edit transaction...
[ { "docid": "d80abffa43960e076d1415ec78ab9abb", "score": "0.6735966", "text": "public void edit() {\n\n System.out.println(\"Enter the date(yyyy-MM-DD)\");\n date = sc.next();\n\n System.out.println(\"Type of transaction : '\\n Choose 1 for 'Income' or '\\n Choose 2 for 'Expenses'...
[ { "docid": "e26e902c6109216986e5fc9b68a87934", "score": "0.76955754", "text": "public Transaction edit(){\r\n Transaction transaction = new Transaction();\r\n transaction.setLedgerID(revised.getLedgerID());\r\n transaction.setDate(dtDate.getValue());\r\n transaction.setTransa...
c3320d0b1dee97fba66577f551d71208
Start the application by making a Main Game Controller
[ { "docid": "0f5cfbe9c1d6f90ce13d5c90df565389", "score": "0.0", "text": "public static void main(String[] args) throws Exception {\r\n new MainMenuController();\r\n }", "title": "" } ]
[ { "docid": "a494ad802122d0e231a03e527ed74e7b", "score": "0.752591", "text": "public static void main(String[] args) {\r\n\t\tController controller = new Controller();\r\n\t\tcontroller.startGame();\r\n\t}", "title": "" }, { "docid": "f4b8f9f920bde050fd4109807c7b47b7", "score": "0.7469775...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "9d099efca717dc630952159e4c9604ed", "score": "0.0", "text": "@Override\r\n\tpublic List<Push_notice> list(Map map) {\n\t\treturn IN_push_notice_dao.list(map);\r\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
947c28d44c2710fd4b381b18f8511d06
This is indirect call to the undertow reverse proxy with a 4k json as body on 8080 which the reverse proxy is listening
[ { "docid": "de0d80fc8355aad66a549e881e3d0364", "score": "0.5804764", "text": "public void testProxy4k() throws Exception {\n ClientConnection connection = null;\n try {\n connection = client.connect(new URI(\"http://localhost:8000\"), Http2Client.WORKER, Http2Client.BUFFER_POOL,...
[ { "docid": "0ac1c482518725891fcc59cb7923401d", "score": "0.62815064", "text": "HttpResponse proxyToServerRequest(HttpObject httpObject);", "title": "" }, { "docid": "04cd60a6e8fe98e3ee72e2717a326f08", "score": "0.6079298", "text": "Proxy proxy();", "title": "" }, { "docid...
6c726f40d8327317fe9de59fb68db916
Regex: "+"; that dont work
[ { "docid": "1b4fb531484f2502fc35a21542dc28f3", "score": "0.5274853", "text": "@Test public void test_54() {\n\t\tassertEquals(false, match(\"daveb\", \"bc+\"));\n\t}", "title": "" } ]
[ { "docid": "562c719f418703eaa7036aa0e5c36cfc", "score": "0.5785446", "text": "private NodeAddop parseAddop() throws SyntaxException {\n\t\tif (curr().equals(new Token(\"+\"))) {\n\t\t\tmatch(\"+\");\n\t\t\treturn new NodeAddop(pos(),\"+\");\n\t\t}\n\t\tif (curr().equals(new Token(\"-\"))) {\n\t\t\tmatch...