text string | label int64 |
|---|---|
{'name': 'ProtocolTest.test_complete_packet@test/test_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>MBUS_DEVICE_TYPE = "^\d-[1-9]:24\.1\.0.+?\r\n" | 0 |
{'name': 'BlockParser.getBlocks@libc/kernel/tools/cpp.py', 'description': 'Return all the blocks parsed.', 'signature': 'def getBlocks(self, tokzer=None):'}</s>kernel_structs_to_remove = {
# Remove these structures since they are still the same as
# timeval, itimerval. Also, add an include of linux/time.h
#... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'GridSearchQ.fit@quapy/model_selection.py', 'description': 'Learning routine. Fits methods with all combinations of hyperparameters and selects the one minimizing\n the error metric.\n\n:param training: the training set on which to optimize the hyperparameters\n:return: self', 'signature': 'def fit(self, tr... | 0 |
{'name': 'Logger.setStream@local/clogging.py', 'description': 'Pass NULL_STREAM to ignore stream output.', 'signature': 'def setStream(self, stream):'}</s>_StdoutHandle = None | 0 |
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>_PRINT_CAMERA = user_input.KEY_F11 | 0 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_CPP_SYS_HEADER = 2 | 0 |
{'name': 'Webhooks.update@mailerlite/webhook.py', 'description': 'Update webhook.\n\nhttps://developers.mailerlite.com/v2/reference#update-a-webhook\n\nParameters\n----------\nwebhook_id : int\n ID of a webhook\nurl : str\n Your URL where callbacks are sent\nevent : str\n Subscribed event\n\nReturns\n-------\n... | 0 |
{'name': 'main@tools/generate_events.py', 'description': 'Tool entry point - read parameters from users and start tool.', 'signature': 'def main():'}</s>{'name': 'EventDef@tools/generate_events.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'EventDef.__init__@tools/generate_events.py', 'descr... | 0 |
{'name': 'no_update_last_login@loginas/utils.py', 'description': 'Disconnect any signals to update_last_login() for the scope of the context\nmanager, then restore.', 'signature': 'def no_update_last_login():'}</s>{'name': 'is_impersonated_session@loginas/utils.py', 'description': 'Checks if the session in the request ... | 0 |
{'name': 'T@pymeteo/thermo.py', 'description': 'Convert Potential Temperature :math:`\\theta` to Temperature\n\n:parameter theta: Potential temperature (K)\n:parameter p: Pressure (Pa)\n:returns: Temperature (K)', 'signature': 'def T(theta,p):'}</s>lv2 = cpl - cpv | 0 |
{'name': 'test_url_cannot_include_unicode_strings@tests/test_models.py', 'description': 'URLs instantiated with strings outside of the plain ASCII range are disallowed,\nbut the explicit style allows for these ambiguous cases to be precisely expressed.', 'signature': 'def test_url_cannot_include_unicode_strings():'}</s... | 0 |
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign... | 0 |
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>ICMP_PARAMPROB = 12 | 0 |
{'name': 'sanitize_filename@pathvalidate/_filename.py', 'description': 'Make a valid filename from a string.\n\nTo make a valid filename, the function does the following:\n\n - Replace invalid characters as file names included in the ``filename``\n with the ``replacement_text``. Invalid characters are:\n\n ... | 1 |
{'name': 'CheckRo2@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check molecular under RO2\n\nRef.:\n Goldberg, Frederick W., et al.\n Drug Discovery Today 20.1 (2015): 11-17.\n \nRule details:\n MW <= 200\n Logp <= 2\n NHD <= 2\n NHA <= 4\n\n:param mol: molecule\n:type mol: rdkit.Chem.rdc... | 0 |
{'name': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>INTEXPECTED = (TypeError, re.INTEGER_EXPECTED_GOT_RE) | 0 |
{'name': 'proxy_config@benchmarks/dynamic_config_envoy_proxy.py', 'description': 'Yield the stock Envoy proxy configuration.', 'signature': 'def proxy_config() -> Generator[str, None, None]:'}</s>{'name': 'https_test_server_fixture@test/integration/integration_test_fixtures.py', 'description': 'Fixture for setting up a... | 0 |
{'name': 'ConnectionPool.size@memsql/common/connection_pool.py', 'description': 'Returns the number of connections cached by the pool. ', 'signature': 'def size(self):'}</s>{'name': 'PoolConnectionException@memsql/common/connection_pool.py', 'description': 'This exception consolidates all connection exceptions into one... | 0 |
{'name': 'ap_per_class@utils/utils.py', 'description': 'Compute the average precision, given the recall and precision curves.\nSource: https://github.com/rafaelpadilla/Object-Detection-Metrics.\n# Arguments\n tp: True positives (list).\n conf: Objectness value from 0-1 (list).\n pred_cls: Predicted object ... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'MsgView._collect_msgs_to_draw@tg/views.py', 'description': 'Tries to collect list of messages that will satisfy `min_msg_padding`\ntheshold. Long messages could prevent other messages from displaying on\nthe screen. In order to prevent scenario when *selected* message moved\nout from the visible area of the s... | 0 |
{'name': 'count_velocity_smartseq3@kb_python/count.py', 'description': 'Generates count matrices for Smartseq3 (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n out_dir: Path to output directory\n fastqs: List of FASTQ file paths\n whitelist_path... | 0 |
{'name': 'check_file_status@Data/rda.ucar/rdams_client.py', 'description': 'Prints file download status as percent of file complete.\n\nArgs:\n filepath (str): File being downloaded.\n filesize (int): Expected total size of file in bytes.\n\nReturns:\n None', 'signature': 'def check_file_status(filepath, files... | 0 |
{'name': 'stoi@pystoi/stoi.py', 'description': "Short term objective intelligibility\nComputes the STOI (See [1][2]) of a denoised signal compared to a clean\nsignal, The output is expected to have a monotonic relation with the\nsubjective speech-intelligibility, where a higher score denotes better\nspeech intelligibil... | 1 |
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>_valid_extensions = set([]) | 0 |
{'name': 'main@pyngrok/ngrok.py', 'description': "Entry point for the package's ``console_scripts``. This initializes a call from the command\nline and invokes :func:`~pyngrok.ngrok.run`.\n\nThis method is meant for interacting with ``ngrok`` from the command line and is not necessarily\ncompatible with non-blocking AP... | 0 |
{'name': '_BuildBootableImage@tools/releasetools/common.py', 'description': "Build a bootable image from the specified sourcedir.\n\nTake a kernel, cmdline, and optionally a ramdisk directory from the input (in\n'sourcedir'), and turn them into a boot image. 'two_step_image' indicates if\nwe are building a two-step spe... | 0 |
{'name': 'DescriptorPoolTestBase.testEnumDefaultValue@python/google/protobuf/internal/descriptor_pool_test.py', 'description': "Test the default value of enums which don't start at zero.", 'signature': 'def testEnumDefaultValue(self):'}</s>_c_module = None | 0 |
{'name': 'MainToolTest.testFailingArgValidation@tests/cli/main_tool.py', 'description': "Tests that a recipe fails when args don't validate.", 'signature': 'def testFailingArgValidation(self):'}</s>{'name': '_EnumerateRecipeNames@tests/cli/main_tool.py', 'description': 'Enumerate recipe names for the purposes of genera... | 0 |
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in... | 0 |
{'name': 'unpackCommand@fwtool.py', 'description': 'Extracts the input file to the specified directory', 'signature': 'def unpackCommand(file, outDir):'}</s>DosHeader = Struct('DosHeader', [
('magic', Struct.STR % 2),
('...', 58),
('peHeaderOffset', Struct.INT32),
]) | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_RECOVERY_TIME = 3185 | 0 |
{'name': 'dig@limbo/slack.py', 'description': 'Return obj[key_1][key_2][...] for each key in keys, or None if any key\nin the chain is not found\n\nSo, given this `obj`:\n\n{\n "banana": {\n "cream": "pie"\n }\n}\n\ndig(obj, "banana") -> {"cream": "pie"}\ndig(obj, "banana", "cream") -> "pie"\ndig(obj, "ban... | 0 |
{'name': 'test_geetest@geetest_online/test/testgeetestjs.py', 'description': 'test geetest related functions.', 'signature': 'def test_geetest():'}</s>{'name': 'fun_d@geetest_online/test/testgeetestjs.py', 'description': 'reversed from geetest.js', 'code': 'def fun_d(param):\n \'\'\'reversed from geetest.js\'\'\'\n ... | 0 |
{'name': 'open_rasterio@rioxarray/_io.py', 'description': 'Open a file with rasterio (experimental).\n\nThis should work with any file that rasterio can open (most often:\ngeoTIFF). The x and y coordinates are generated automatically from the\nfile\'s geoinformation and refer to the center of the pixel.\n\n.. versionad... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>{'name': 'Subscription@code/pymqi/__init__.py', 'description': 'Encapsulates a subscription to a topic.\n ', 'base_classes': [], 'methods':... | 0 |
{'name': 'perform_release@changes/flow.py', 'description': 'Executes the release process.', 'signature': 'def perform_release(context):'}</s>{'name': 'upload_release_distributions@changes/vcs.py', 'description': 'DOCSTRING', 'code': "def upload_release_distributions(context, gh_token, distributions, upload_url):\n f... | 0 |
{'name': 'example_generator.make_training_example_BBShift_@goturn/train/example_generator.py', 'description': 'TODO: Docstring for make_training_example_BBShift_.\n:returns: TODO', 'signature': 'def make_training_example_BBShift_(self, bbParams, visualize_example=False):'}</s>{'name': 'bbParams@goturn/train/example_gen... | 1 |
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ... | 0 |
{'name': '_environ_cols_wrapper@SneakerBot 2019/venv/lib/python3.7/site-packages/tqdm/_utils.py', 'description': 'Return a function which gets width and height of console\n(linux,osx,windows,cygwin).', 'signature': 'def _environ_cols_wrapper(): # pragma: no cover'}</s>RE_ANSI = re.compile(r"\x1b\[[;\d]*[A-Za-z]") | 0 |
{'name': 'write_readme@scripts/python-skywater-pdk/skywater_pdk/cells/generate/readme.py', 'description': 'Generates README for a given cell.\n\nArgs:\n cellpath - path to a cell [str of pathlib.Path]\n define_data - cell data from json [dic]', 'signature': 'def write_readme(cellpath, define_data):'}</s>{'name': ... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>{'name': 'SelectorPattern@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description':... | 0 |
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>{'name': 'setChecksum8@src/LabJackPython.py', 'description': 'DOCSTRING', 'code': 'def setChecksum8(buffer, numBytes):\n total = 0\n\n ... | 0 |
{'name': '_get_wrapper@src/betterproto/__init__.py', 'description': 'Get the wrapper message class for a wrapped type.', 'signature': 'def _get_wrapper(proto_type: str) -> Type:'}</s>TYPE_FIXED64 = "fixed64" | 0 |
{'name': 'babel_extract@blockchain-env/lib/python3.7/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n ... | 0 |
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>__author__ = "Sam Ruby <http://intertwingly.net/> and Mark Pilgrim <http://diveintomark.org/>" | 0 |
{'name': '_read_csv@meza/io.py', 'description': "Helps read a csv file.\n\nArgs:\n f (obj): The csv file like object.\n header (Seq[str]): Sequence of column names.\n has_header (bool): Whether or not file has a header.\n\nKwargs:\n first_col (int): The first column (default: 0).\n\nYields:\n dict: A csv... | 0 |
{'name': 'filtertime@api/project/__init__.py', 'description': 'Applies a time filter (inclusive; extracted from request arguments) to an OpenSearch query and\nreturns the range as a tuple of integers representing the milliseconds since EPOCH. If\neither end of the range is unspecified, the start and end times default t... | 0 |
{'name': 'observations_to_image@habitat/utils/visualizations/utils.py', 'description': 'Generate image of single frame from observation and info\nreturned from a single environment step().\n\nArgs:\n observation: observation returned from an environment step().\n info: info returned from an environment step().\n ... | 0 |
{'name': 'BaseAlert.configure@graphite_beacon/alerts.py', 'description': 'Configure the alert.', 'signature': 'def configure(self, name=None, rules=None, query=None, **options):'}</s>LEVELS = {
'critical': 0,
'warning': 10,
'normal': 20,
} | 1 |
{'name': 'check_hierarchy@skosify/skosify.py', 'description': 'Check for, and optionally fix, problems in the skos:broader hierarchy\nusing a recursive depth first search algorithm.\n\n:param Graph rdf: An rdflib.graph.Graph object.\n:param bool fix_cycles: Break cycles.\n:param bool fix_disjoint_relations: Remoe skos:... | 0 |
{'name': 'VolumeDataGenerator.__data_augmentation@enzynet/volume.py', 'description': 'Returns augmented data with batch_size enzymes.', 'signature': 'def __data_augmentation('}</s>{'name': 'flip_around_axis@enzynet/volume.py', 'description': 'Flips coordinates randomly w.r.t. each axis with its associated probability.'... | 1 |
{'name': 'generate_entropy@deb_pkg_tools/gpg.py', 'description': 'Force the system to generate entropy based on disk I/O.\n\nThis function is run in a separate process by :class:`EntropyGenerator`.\nIt scans the complete file system and reads every file it finds in blocks\nof 1 KB. This function never returns; it has t... | 0 |
{'name': 'BertModel.__init__@arabert/modeling.py', 'description': 'Constructor for BertModel.\n\nArgs:\n config: `BertConfig` instance.\n is_training: bool. true for training model, false for eval model. Controls\n whether dropout will be applied.\n input_ids: int32 Tensor of shape [batch_size, seq_length].\n in... | 1 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'SetUnion@src/api/python/z3/z3.py', 'descri... | 0 |
{'name': 'PBES2.encrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': "Encrypt a piece of data using a passphrase and *PBES2*.\n\n:Parameters:\n data : byte string\n The piece of data to encrypt.\n passphrase : byte string\n The passphrase to use for encrypting the data.\n ... | 0 |
{'name': 'IUZone.zone_id@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the zone_id. Should match the zone_id used in sequences', 'signature': 'def zone_id(self) -> str:'}</s>CONF_ACTUAL = "actual" | 0 |
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>{'name': 'html_format@tool/mkarchive.py', 'description': 'DOCSTRING', 'code': 'def html_format(plain):\n buf = plain.replace("<br>", "\\n")\n buf = escape(buf)\n buf = re.sub(r"<br>",\n... | 0 |
{'name': 'EstimatorTest.setUp@trimmed_match/estimator_test.py', 'description': 'Setup reusable data.', 'signature': 'def setUp(self):'}</s>{'name': 'TrimmedMatch@trimmed_match/estimator.py', 'description': 'The TrimmedMatch estimator.\n\nExample usage:\n delta_response = [1, 10, 3, 8]\n delta_spend = [1, 5, 2, 5]\n ... | 0 |
{'name': 'ISO3166Utils.short2full@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Convert an ISO 3166-2 country code to the corresponding full name', 'signature': 'def short2full(cls, code):'}</s>{'name': 'clean_podcast_url@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING'... | 0 |
{'name': 'TimeRangePartitionManager.create_partition@pg_partitioning/manager.py', 'description': 'The partition of the next cycle is created according to the configuration.\nAfter modifying the period field, the new period will take effect the next time.\nThe start time of the new partition is the end time of the previ... | 0 |
{'name': 'AsyncClient.create_queue@src/engineio/async_client.py', 'description': 'Create a queue object.', 'signature': 'def create_queue(self):'}</s>{'name': 'BaseClient@src/engineio/base_client.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'BaseClient.__init__@src/engineio/base_client.py',... | 0 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': '__repr_wasm_globaltype_t@language-bindings/python/src/wamr/wasmcapi/... | 0 |
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'HexdumpByteCommand@gef.py', 'description': 'Display SIZE lines of hexdump as BYTE from the memory location pointed by ADDRESS.', 'base_classes': ['Hexdu... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_ARM_SUFFIX_LENGTH = 2 | 0 |
{'name': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>MO_CROP_AUTO_ON = False | 0 |
{'name': 'from_json_schema_type@typesystem/json_schema.py', 'description': 'Build a typed field from a JSON schema object.', 'signature': 'def from_json_schema_type('}</s>{'name': 'enum_from_json_schema@typesystem/json_schema.py', 'description': 'DOCSTRING', 'code': 'def enum_from_json_schema(data: dict, definitions: D... | 0 |
{'name': 'Unit.__new__@unyt/unit_object.py', 'description': "Create a new unit. May be an atomic unit (like a gram) or combinations\nof atomic units (like g / cm**3).\n\nParameters\n----------\nunit_expr : Unit object, sympy.core.expr.Expr object, or str\n The symbolic unit expression.\nbase_value : float\n The u... | 0 |
{'name': 'write_rig_as_usdskel@tools/export_usdskel_from_scratch/python/convert_maya_to_usdskel/converter.py', 'description': 'Write an animated USD Skeleton to-disk.\n\nIf no time range is given then a start/end range is found by looking\nat the earliest start and the latest end animation keys from the\ngiven nodes.\n... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQS_STATUS_NOTENABLED = 4 | 0 |
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>{'name': 'pfioc_state_kill@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'BssBaseFunction@gef.py', 'description': 'Ret... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'graph@python/DisplayTests.py', 'description': 'Send the given graph file (a .gif) back to the user.', 'signature': 'def graph(req, type, revision, machine, buildType, graphName, timestamp=None):'}</s>{'name': '_linkBuildType@python/DisplayTests.py', 'description': 'Return a link tag to the detailed info page ... | 0 |
{'name': '_build_vocab@joeynmt/vocabulary.py', 'description': 'Builds vocabulary either from file or sentences.\n\n:param cfg: data cfg\n:param special_symbols: special symbols\n:param dataset: dataset object which contains preprocessed sentences\n:return: Vocabulary created from either `tokens` or `vocab_file`', 'sign... | 0 |
{'name': 'SeriesTests.test_tubeDiverting_ReEntrantResumeReceive@tubes/test/test_tube.py', 'description': 'Diverting a tube that is receiving data from a fount which\nsynchronously produces some data to C{receive} will ... uh .. work.', 'signature': 'def test_tubeDiverting_ReEntrantResumeReceive(self):'}</s>{'name': 'Fa... | 0 |
{'name': 'BaseImage.convex_hull@wand/image.py', 'description': "Find the smallest convex polygon, and returns a list of points.\n\n.. note:: Requires ImageMagick-7.0.10 or greater.\n\nYou can pass the list of points directly to\n:meth:`Drawing.polygon() <wand.drawing.Drawing.polygon>` method\nto draw the convex hull sh... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCFUNC_MQPUT = b'PUT ' | 0 |
{'name': '_import_module@urlobject/six.py', 'description': 'Import module, returning the module after the last dot.', 'signature': 'def _import_module(name):'}</s>get_method_self = operator.attrgetter(_meth_self) | 0 |
{'name': 'speed_camera@versions/speed-cam_8.87.py', 'description': 'Main speed camera processing function ', 'signature': 'def speed_camera():'}</s>DB_NAME = "speed_cam.db" | 0 |
{'name': '_test_core@ci/weekly/test_all_sat_end_to_end_on_disk.py', 'description': 'Core function testing all data\nArgs:\n pattern (str): Pattern of the satellite\n prod_dirs (Union[str, list]): Product directory\n possible_bands(list): Possible bands\n debug (bool): Debug option', 'signature': 'def _test_... | 0 |
{'name': 'docs@tasks.py', 'description': 'Generate documentation', 'signature': 'def docs(c):'}</s>DOCS_BUILD_DIR = DOCS_DIR.joinpath("_build") | 1 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>_CAMERA_MOVEMENT_ACTIONS = [
mujoco.mjtMouse.mjMOUSE_MOVE_V,
mujoco.mjtMouse.mjMOUSE_ROTATE_H,
] | 0 |
{'name': 'LeastSquares@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Computes a linear least squares fit for ys as a function of xs.\n\nArgs:\n xs: sequence of values\n ys: sequence of values\n\nReturns:\n tuple of (intercept, slope)', 'signature': 'def LeastSquares(xs, ys):'}</s>{'name': 'Percentil... | 0 |
{'name': 'mach_o_change@bootstrap.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>FAT_MAGIC = 3405691582 | 1 |
{'name': 'CheckRespiratory@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check mol under Respiratory\n\nReference:\n Ritchie, Timothy J., Christopher N. Luscombe, and Simon JF Macdonald. \n J Chem Inf Model, 49.4 (2009): 1025-1032.\n \nRule details:\n 240<=MW<= 520\n -2.0<=logP<=4.7\n 6<=nHB<... | 0 |
{'name': 'JSONDecoder.decode@simplejson/decoder.py', 'description': 'Return the Python representation of ``s`` (a ``str`` or ``unicode``\ninstance containing a JSON document)', 'signature': 'def decode(self, s, _w=WHITESPACE.match, _PY3=PY3):'}</s>{'name': 'JSONArray@simplejson/decoder.py', 'description': 'DOCSTRING', ... | 0 |
{'name': 'degradation_bsrgan@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is the degradation model of BSRGAN from the paper\n"Designing a Practical Degradation Model for Deep Blind Image Super-Resolution"\n----------\nimg: HXWXC, [0, 1], its size should be large than (lq_patchsizexsf)x(lq_patchsizexsf... | 0 |
{'name': 'build_recipes@bioconda_utils/build.py', 'description': 'Build one or many bioconda packages.\n\nArguments:\n recipe_folder: Directory containing possibly many, and possibly nested, recipes.\n config_path: Path to config file\n packages: Glob indicating which packages should be considered. Note that package... | 1 |
{'name': 'VolumeGANGenerator.__init__@models/volumegan_generator.py', 'description': 'Initializes with basic settings.\n\nRaises:\n ValueError: If the `resolution` is not supported, or `architecture`\n is not supported.', 'signature': 'def __init__(self,'}</s>{'name': '_FusedMultiplyAdd@third_party/stylegan2_... | 0 |
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'calling_function@gef.py', 'description': 'Return the name of the calling function', 'code': 'def calling_function() -> str | None:\n """Return the name of the calling fun... | 0 |
{'name': 'read_json@utils/file_utils.py', 'description': 'Reads json from a file and returns a json object\n:param file_path: the path to the file\n:return: a json object', 'signature': 'def read_json(file_path):'}</s>FEED_API_PROD_URL = "https://api.ebay.com/buy/feed/v1_beta/" | 0 |
{'name': 'DNSIncoming.readQuestions@stino/pyarduino/base/zeroconf.py', 'description': 'Reads questions section of packet', 'signature': 'def readQuestions(self):'}</s>_FLAGS_QR_RESPONSE = 32768 | 0 |
{'name': 'Struct.field@python/taichi/lang/struct.py', 'description': 'Creates a :class:`~taichi.StructField` with each element\nhas this struct as its type.\n\nArgs:\n members (dict): a dict, each item is like `name: type`.\n methods (dict): a dict of methods that should be included with\n the field. Each... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'summaryReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF summary report.', 'signature': 'def summaryReport(infile, outfile):'}</s>RDIMS_VIS_COMP_1 = "UMAP_1" | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.