text string | label int64 |
|---|---|
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'http_get@gef.py', 'description': 'Basic HTTP wrapper for GET request. Re... | 0 |
{'name': 'do_mapping@vermouth/processors/do_mapping.py', 'description': "Creates a new :class:`~vermouth.molecule.Molecule` in force field `to_ff`\nfrom `molecule`, based on `mappings`. It does this by doing a subgraph\nisomorphism of all blocks in `mappings` and `molecule`. Will issue warnings\nif there's atoms not co... | 0 |
{'name': 'scaled_dot_product_attention@Transformers/TensorFlow_version_2.0/EN_SP/BLEU_ricardo_en_sp_transformer_tf2.py', 'description': 'Calculate the attention weights.\nq, k, v must have matching leading dimensions.\nk, v must have matching penultimate dimension, i.e.: seq_len_k = seq_len_v.\nThe mask has different s... | 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': 'get_info@venv/Lib/site-packages/numpy/distutils/system_info.py', 'description': 'notfound_action:\n 0 - do nothing\n 1 - display warning message\n 2 - raise error', 'signature': 'def get_info(name, notfound_action=0):'}</s>{'name': 'fftw_threads_info@venv/Lib/site-packages/numpy/distutils/system_info.py', ... | 1 |
{'name': 'count_velocity@kb_python/count.py', 'description': 'Generates RNA velocity matrices (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n cdna_t2c_path: Path to cDNA transcripts-to-capture file\n intron_t2c_path: Path to intron transcripts-to-... | 0 |
{'name': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>IM_RECENT_DIR_PATH = "media/recent" | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQADPCTX_YES = 1 | 0 |
{'name': 'SSAFile.save@pysubs2/ssafile.py', 'description': 'Save subtitle file to given path.\n\nThis method is implemented in terms of :meth:`SSAFile.to_file()`.\n\nSee also:\n Specific formats may implement additional saving options,\n please refer to documentation of the implementation classes\n (eg. :meth:... | 0 |
{'name': 'PyAssimp3DViewer.recursive_render@Engine/lib/assimp/port/PyAssimp/scripts/3d_viewer.py', 'description': 'Main recursive rendering method.\n ', 'signature': 'def recursive_render(self, node, shader, mode=BASE, with_normals=True):'}</s>logger = logging.getLogger("pyassimp") | 0 |
{'name': 'Module._AddMaktabaFlagHelp@vimdoc/module.py', 'description': 'If any maktaba flags were documented, add a default configuration section\nto explain how to use them.', 'signature': 'def _AddMaktabaFlagHelp(self):'}</s>command_line = re.compile(r"""
# Leading whitespace.
^\s*
# com[mand]
com(?:m|ma|man|... | 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': 'create_run_container_task@vulfocus-api/tasks/tasks.py', 'description': '创建运行容器任务\n:param container_vul: 漏洞容器对象\n:param user_info: 用户信息', 'signature': 'def create_run_container_task(container_vul, user_info):'}</s>VUL_IP = "" | 0 |
{'name': '_BinaryLogisticHeadWithSigmoidCrossEntropyLoss._create_tpu_estimator_spec@07_train/privacy/tensorflow_privacy/privacy/estimators/v1/head.py', 'description': "Returns an `EstimatorSpec`.\n\nArgs:\n features: Input `dict` of `Tensor` or `SparseTensor` objects.\n mode: Estimator's `ModeKeys`.\n logits: logits... | 0 |
{'name': 'AssessmentBase.__init__@pelicun/assessment.py', 'description': 'Initialize an Assessment object.\n\nParameters\n----------\nconfig_options:\n User-specified configuration dictionary.', 'signature': 'def __init__(self, config_options: dict[str, Any] | None = None) -> None:'}</s>{'name': 'fit_distribution_to... | 0 |
{'name': 'Automata._submit@accelerator/build.py', 'description': 'Submit job to server and conditionaly wait for completion.', 'signature': 'def _submit(self, method, options, datasets, jobs, caption=None, wait=True, why_build=False, force_build=False, workdir=None, concurrency=None):'}</s>{'name': 'print_status_stacks... | 0 |
{'name': 'ProjectBuilder.check_dependencies@src/build/_builder.py', 'description': 'Return the dependencies which are not satisfied from the combined set of\n:attr:`build_system_requires` and :meth:`get_requires_for_build` for a given\ndistribution.\n\n:param distribution: Distribution to check (``sdist`` or ``wheel``)... | 0 |
{'name': 'YcmdHandle._HmacForBody@lib/ycmd_handler.py', 'description': '@return bytes\nbytes request_body\nbool to_base64', 'signature': 'def _HmacForBody(self, request_body, to_base64=False):'}</s>HMAC_SECRET_LENGTH = 16 | 0 |
{'name': 'MockBlueDot.mock_client_connected@bluedot/mock.py', 'description': "Simulates a client connecting to the Blue Dot.\n\n:param string client_address:\n The mock client mac address, defaults to '11:11:11:11:11:11'", 'signature': 'def mock_client_connected(self):'}</s>PROTOCOL_VERSION = 2 | 1 |
{'name': 'HFTModel.get_arguments@elpis/engines/hft/objects/model.py', 'description': 'Build arguments from various sources (GUI, files, default, etc.).', 'signature': 'def get_arguments(self):'}</s>DEBUG = False | 1 |
{'name': 'IsoParamsFromDict@IsoSpecPy/IsoSpecPy.py', 'description': 'Produces a set of IsoSpec parameters from a chemical formula.\n\nArgs:\n formula (dict): a parsed chemical formula, e.g. {"C": 2, "H": 6, "O": 1}\n use_nominal_masses (boolean): use masses of elements rounded to integer numbers (nominal masses)\... | 0 |
{'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': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'isFloat@src/python_scripts/afnipy/afni_base.py', 'description': 'DOCSTRING', 'code': 'def isFloat(s):\n try:\n ... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>{'name': 'CheckCasts@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Various cast re... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'FreshFunction@src/api/python/z3/z3.py', 'description': 'Create a new fresh Z3 uninterpreted function with the given sorts.\n ... | 0 |
{'name': 'Tracker.render_window@predict.py', 'description': '@ob2cam: 4x4 mat ob in opencv cam', 'signature': 'def render_window(self, ob2cam):'}</s>{'name': 'get_random_view_matrix@Utils.py', 'description': 'DOCSTRING', 'code': 'def get_random_view_matrix(min_radius,max_radius):\n eye = random_direction()\n distance... | 0 |
{'name': 'NodeManager.list_volume_targets@ironicclient/v1/node.py', 'description': 'List all the volume targets for a given node.\n\n:param node_id: Name or UUID of the node.\n:param marker: Optional, the UUID of a volume target, eg the last\n volume target from a previous result set. Return\n ... | 0 |
{'name': 'get_sitemessage_urls@sitemessage/toolbox.py', 'description': "Returns sitemessage urlpatterns, that can be attached to urlpatterns of a project:\n\n# Example from urls.py.\n\nfrom sitemessage.toolbox import get_sitemessage_urls\n\nurlpatterns = patterns('',\n # Your URL Patterns belongs here.\n\n) + get_si... | 0 |
{'name': 'config_file@test/conftest.py', 'description': 'Prepares Bioconda config.yaml', 'signature': 'def config_file(tmpdir: py.path.local, case):'}</s>{'name': 'is_stable_version@bioconda_utils/utils.py', 'description': 'DOCSTRING', 'code': 'def is_stable_version(version):\n return re.match(r"^\\d+\\.\\d+\\.\\d+$... | 0 |
{'name': 'create_autospec@Contents/Libraries/Shared/mock.py', 'description': "Create a mock object using another object as a spec. Attributes on the\nmock will use the corresponding attribute on the `spec` object as their\nspec.\n\nFunctions or methods being mocked will have their arguments checked\nto check that they ... | 0 |
{'name': 'unparse@fontFeatures/ttLib/__init__.py', 'description': 'Convert a binary OpenType font into a fontFeatures object\n\nArgs:\n font: A ``TTFont`` object.\n do_gdef: Boolean. Whether the GDEF table should also be read.\n doLookups: Whether the lookups should be read, or just the script/language\n ... | 1 |
{'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': 'test_flux_sed@tests/test_models.py', 'description': 'test IC calculation', 'signature': 'def test_flux_sed(particle_dists):'}</s>alpha_2 = 2.5 | 0 |
{'name': 'OutputRender.render_subscribe@iredis/renders.py', 'description': 'message type;\nchannel;\nmessage;\nsee: https://redis.io/topics/pubsub#format-of-pushed-messages', 'signature': 'def render_subscribe(raw):'}</s>{'name': 'nativestr@iredis/utils.py', 'description': 'DOCSTRING', 'code': 'def nativestr(x):\n r... | 0 |
{'name': 'FormattedValue.rjust@pylib/cqlshlib/displaying.py', 'description': 'Similar to self.strval.rjust(width), but takes expected terminal\ndisplay width into account for special characters, and does not\ntake color escape codes into account.', 'signature': "def rjust(self, width, fill=' ', color=False):"}</s>GREEN... | 0 |
{'name': 'noise_cov@mne_bids_pipeline/tests/configs/config_ds000248_base.py', 'description': 'Estimate the noise covariance.', 'signature': 'def noise_cov(bp: mne_bids.BIDSPath) -> mne.Covariance:'}</s>{'name': 'mri_t1_path_generator@mne_bids_pipeline/tests/configs/config_ds000248_base.py', 'description': 'Return the p... | 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': 'bool_or_none@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'co... | 0 |
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'Classroom@tests/generic/models.py', 'description': 'DOCSTRING', 'base_classes': ['model... | 0 |
{'name': 'test_http_over_https_error@cheroot/test/test_ssl.py', 'description': 'Ensure that connecting over HTTP to HTTPS port is handled.', 'signature': 'def test_http_over_https_error('}</s>{'name': 'ntou@cheroot/_compat.py', 'description': 'Return the native string as Unicode with the given encoding.', 'code': 'def ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQAS_SUSPENDED_TEMPORARY = 5 | 0 |
{'name': 'test_trigger_unpacking@tests/unit/test_client.py', 'description': 'Usual semantics for unpacking **kwargs ', 'signature': 'def test_trigger_unpacking(client, flush):'}</s>{'name': 'test_on_signature@tests/unit/test_client.py', 'description': 'register a handler with full function signature options', 'code': '... | 0 |
{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'signature': 'def control_read_initial_values(sniffer):'}</s>{'name': 'new_packet@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A new Bluetooth LE packet has arrived', 'code'... | 0 |
{'name': 'urljoin@bleach/_vendor/parse.py', 'description': 'Join a base URL and a possibly relative URL to form an absolute\ninterpretation of the latter.', 'signature': 'def urljoin(base, url, allow_fragments=True):'}</s>{'name': '_fix_result_transcoding@bleach/_vendor/parse.py', 'description': 'DOCSTRING', 'code': 'd... | 0 |
{'name': 'on_config_inited@docs/source/conf.py', 'description': 'rebuild', 'signature': 'def on_config_inited(*args):'}</s>epub_copyright = copyright | 0 |
{'name': 'main._generate_dos@mcu/qe/qe.py', 'description': "Processing/collecting the DOS data before the plotting function\n\nTDOS dimensions: [spin , [E(eV), tdos(E)]]\n\nspin : spin of DOS.\nlm : string or a list of string, e.g. 'Ni:s' or ['Ni:s','C:s,px,pz']", 'signature': 'def _generate_dos... | 0 |
{'name': 'SlidingWindowFeature.crop@src/pyannote/core/feature.py', 'description': "Extract frames\n\nParameters\n----------\nfocus : Segment or Timeline\nmode : {'loose', 'strict', 'center'}, optional\n In 'strict' mode, only frames fully included in 'focus' support are\n returned. In 'loose' mode, any intersecti... | 1 |
{'name': 'DotAttentionLayer.forward@layers.py', 'description': 'input: (unpacked_padded_output: batch_size x seq_len x hidden_size, lengths: batch_size)', 'signature': 'def forward(self, input):'}</s>{'name': 'DotAttentionLayer@layers.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': ... | 1 |
{'name': 'parse_srst2_ar@bin/GRiPHin.py', 'description': 'Parsing the srst2 file run on the ar gene database.', 'signature': 'def parse_srst2_ar(srst2_file, ar_dic, final_srst2_df, sample_name):'}</s>{'name': 'Get_Metrics@bin/GRiPHin.py', 'description': 'For each step to gather metrics try to find the file and if not t... | 0 |
{'name': 'NormalizedConfiguration.apply_defaults_in@config/parse.py', 'description': 'Apply defaults and produce a result suitible for writing the generated files. ', 'signature': 'def apply_defaults_in(self, branch_context, btb_context, prefetcher_context, replacement_context, verbose=False):'}</s>ptw_deprecation_keys... | 1 |
{'name': 'speed_camera@versions/speed-cam_13.07.py', 'description': 'Main speed camera processing function', 'signature': 'def speed_camera():'}</s>{'name': 'db_open@versions/speed-cam_13.07.py', 'description': 'Insert speed data into database table', 'code': 'def db_open(db_file):\n """\n Insert speed data into ... | 1 |
{'name': 'ProvisioningView.create@nssmf/views.py', 'description': 'Allocate Network Slice Subnet Instance.\nAllocate a new individual Network Slice Subnet Instance', 'signature': 'def create(self, request, *args, **kwargs):'}</s>LANGUAGE_CODE = "en-us" | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_22 = Badge("crossed finger... | 0 |
{'name': 'TypeErrorTests.test_keyword_builtin@didyoumean/didyoumean_sugg_tests.py', 'description': 'A few builtins (like int()) have a different error message.', 'signature': 'def test_keyword_builtin(self):'}</s>NEEDMOREVALUES = (ValueError, re.NEED_MORE_VALUES_RE) | 0 |
{'name': 'ScaleClient.batches@scaleapi/__init__.py', 'description': "This is a paged endpoint for all of your batches.\nPagination is based off limit and offset parameters,\nwhich determine the page size and how many results to skip.\nReturns up to 100 batches at a time (limit).\nhttps://docs.scale.com/reference#batch-... | 0 |
{'name': 'test_cli_addremove_role@tests/test_cli.py', 'description': 'Test add/remove role.', 'signature': 'def test_cli_addremove_role(cli_app):'}</s>{'name': 'roles_add@flask_security/cli.py', 'description': 'Add user to role.', 'code': 'def roles_add(user, role):\n """Add user to role."""\n user, role = _datas... | 1 |
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam... | 0 |
{'name': 'JalaliDate._check_date_fields@persiantools/jdatetime.py', 'description': "Validate and normalize the date fields.\n\nArgs:\n year (int): The year of the Jalali date.\n month (int): The month of the Jalali date.\n day (int): The day of the Jalali date.\n locale (str): The locale for the date repres... | 0 |
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'is_re@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def is_re(s):\n return isinstance(s, ReRef)'} | 0 |
{'name': '_delete_files@slack_cleaner2/cli.py', 'description': 'delete old files', 'signature': 'def _delete_files(slack: SlackCleaner, args: Any):'}</s>{'name': '_channels@slack_cleaner2/cli.py', 'description': 'resolves channels to delete messages from', 'code': 'def _channels(slack: SlackCleaner, args: Any):\n ""... | 1 |
{'name': '_tokenize_large_file_content@onlinejudge_command/pretty_printers.py', 'description': '`_tokenize_large_file_content` constructs the intermediate representations. They have no color infomation.\n ', 'signature': 'def _tokenize_large_file_content(*, content: bytes, limit: int, head: int, tail: int, char_in_l... | 1 |
{'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>__version__ = "15.1.0" | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQACTT_OS400_ACCOUNT_TOKEN = b'\x08' | 0 |
{'name': 'get_measures@gnocchi/rest/aggregates/processor.py', 'description': 'Get aggregated measures of multiple entities.\n\n:param storage: The storage driver.\n:param metrics_and_aggregations: List of metric+agg_method tuple\n measured to aggregate.\n:param from timestamp: The timest... | 1 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQQDT_PERMANENT_DYNAMIC = 2 | 0 |
{'name': 'locust_program@transformer/locust.py', 'description': 'Converts a ScenarioGroup into a Locust File.', 'signature': 'def locust_program(scenarios: Sequence[Scenario]) -> py.Program:'}</s>{'name': 'Import@transformer/python.py', 'description': 'The import statement in all its forms: ``import X``, ``import X as ... | 1 |
{'name': 'plot_results@tune/local.py', 'description': 'Plot the current results of the optimizer.\n\nParameters\n----------\noptimizer : bask.Optimizer\n Fitted Optimizer object.\nresult_object : scipy.optimize.OptimizeResult\n Result object containing the data and the last fitted model.\niterations : np.ndarray\... | 0 |
{'name': 'extract_spoes@examples/task_relation_extraction.py', 'description': '抽取输入text所包含的三元组\n ', 'signature': 'def extract_spoes(text):'}</s>output = LayerNormalization(conditional=True)([output, subject]) | 0 |
{'name': 'marching_cubes_2d_single_cell@marching_cubes_2d.py', 'description': "Returns a list of edges that approximate f's boundary for a single cell", 'signature': 'def marching_cubes_2d_single_cell(f, x, y):'}</s>{'name': 'make_svg@utils_2d.py', 'description': 'Writes an svg file showing the given edges and solidity... | 0 |
{'name': 'HTTPAdapter.send@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py', 'description': 'Sends PreparedRequest object. Returns Response object.\n\n:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.\n:param stream: (optional) Whether to stream the request content.\n:... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_LOG_NOT_REDUCED = 3380 | 0 |
{'name': 'writePreamble@cxxtest/cxxtestgen.py', 'description': 'Write the CxxTest header (#includes and #defines)', 'signature': 'def writePreamble( output ):'}</s>{'name': 'generateSuite@cxxtest/cxxtestgen.py', 'description': 'Write a suite declared with CXXTEST_SUITE()', 'code': "def generateSuite( output, suite ):\n... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACH_LISTENER_NAME = 3554 | 0 |
{'name': 'CheckBraces@tools/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors fou... | 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': 'Client.client_id@mqttools/client.py', 'description': 'The client identifier string.\n\n ', 'signature': 'def client_id(self):'}</s>{'name': 'unpack_connack@mqttools/common.py', 'description': 'DOCSTRING', 'code': "def unpack_connack(payload):\n flags = unpack_u8(payload)\n session_present = bool(... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIAMO_REPAIR_PKTS_RQSTD = 826 | 0 |
{'name': 'expand_pairs@pairtools/lib/parse.py', 'description': 'Perform combinatorial expansion of the pairs.\n\nParameters\n----------\npairs_list: List of formatted pairs (triplets: algn1, algn2, pair_index).\nmax_expansion_depth: maximum depth of expansion; all by default (None),\n number will enforce... | 0 |
{'name': 'test_topic@tests/unit/test_unpack.py', 'description': 'TOPIC command ', 'signature': 'def test_topic():'}</s>{'name': 'test_name_reply@tests/unit/test_unpack.py', 'description': 'DOCSTRING', 'code': 'def test_name_reply():\n command = "RPL_NAMREPLY"\n expected_kwargs = {"channel": "#ch", "target": "#t",... | 0 |
{'name': 'design_and_init_filters@python/jax/carfac.py', 'description': 'Design the actual CAR filters.\n\nArgs:\n ear: the index of the ear to be designed and initialised.\n params: The design parameters.\n hypers: The hyperparameters. This is needed because things like `n_ch`\n are not in `DesignParameters`.\n\nR... | 0 |
{'name': 'scan@archive/skylift/cli_scan.py', 'description': 'Scan WiFi networks using local system', 'signature': 'def scan(ctx, opt_fp_out, opt_os):'}</s>{'name': 'mkdirs@archive/skylift/app/utils/file_utils.py', 'description': 'Ensure parent directories exist for a filepath\n:param fp: string, Path, or click.File', '... | 0 |
{'name': 'IPDatabase.generate_vivado_inc_dirs@ipstools/ipstools/IPDatabase.py', 'description': "Exports the Vivado `inc_dirs` script.\n\n :param filename: Output script file name.\n :type filename: str\n\n :param domain: If not None, the domain to be targeting for script generation... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQTYPE_NULL = 2 | 0 |
{'name': 'TestUnusualSocketConditions.test_handle_recv_wantread_upload@test/test_sync_connection.py', 'description': 'When a socket is marked readable during request upload but returns\nWANT_READ when read from, the code ignores it and continues with upload.', 'signature': 'def test_handle_recv_wantread_upload(self):'}... | 0 |
{'name': 'test_update_thread@tests/unit/test_tui_reporter.py', 'description': 'Test that our update thread posts the expected messages to our app.', 'signature': 'def test_update_thread(native_traces):'}</s>{'name': 'test_header_with_no_snapshots@tests/unit/test_tui_reporter.py', 'description': 'DOCSTRING', 'code': 'de... | 0 |
{'name': 'LibcxxMultiMapDataFormatterTestCase.test_with_run_command@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test_with_ru... | 0 |
{'name': 'TIS.select_format@python/capture-sequence/TIS.py', 'description': ' ', 'signature': 'def select_format(self):'}</s>{'name': 'FmtDesc@python/capture-sequence/TIS.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'FmtDesc.__init__@python/capture-sequence/TIS.py', 'description': 'D... | 0 |
{'name': 'filter_prune@condensa/pi.py', 'description': 'Prunes 3D blocks (filters) of module parameters based on magnitude (inplace).\n\n:param module: PyTorch module.\n:type module: `torch.nn.Module`\n:param threshold: Magnitude threshold for pruning.\n:type threshold: `float`\n:param criteria: Aggregation function fo... | 0 |
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>CONF_RESYNC = "resync" | 0 |
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig... | 0 |
{'name': 'solve_only@diffcp/cone_program.py', 'description': 'Solves a cone program and returns its solution.\n\nFor more information on the arguments and return values,\nsee the docstring for `solve_and_derivative` function. However, note\nthat only x, y, and s are being returned from this function.\n\nThis is another... | 0 |
{'name': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>_FLAGS_AD = 32 | 0 |
{'name': 'run@dev/stress_test.py', 'description': 'Runs through TLS hosts in the Alexa top 1000 to test TLS functionality\n\n:return:\n A bool - if the test succeeded without any socket errors', 'signature': 'def run():'}</s>{'name': 'PathValidationError@certvalidator/errors.py', 'description': 'DOCSTRING', 'base_cl... | 1 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'list_minus_pref_suf@src/python_scripts/afnipy/afni_util.py', 'description': 'just strip the pref... | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>DAT_FLAGS_MAPPABLE = 512 | 0 |
{'name': 'run_migrations_offline@migrations/env.py', 'description': "Run migrations in 'offline' mode.\n\nThis configures the context with just a URL\nand not an Engine, though an Engine is acceptable\nhere as well. By skipping the Engine creation\nwe don't even need a DBAPI to be available.\n\nCalls to context.execut... | 0 |
{'name': 'create_transforms@scripts/imagenet/utils.py', 'description': 'Create transforms from configuration\n\nParameters\n----------\ninput_config : dict\n Dictionary containing the configuration options for input pre-processing.\n\nReturns\n-------\ntrain_transforms : list\n List of transforms to be applied to... | 1 |
{'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': 'wasm_instance_copy@language-bindings/python/src/wamr/wasmcapi/bindin... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'Praetorian.init_app@flask_praetorian/base.py', 'description': 'Initializes the Praetorian extension\n\n:param: app: The flask app to bind this\n extension to\n:param: user_class: The class used to interact with\n user... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.