text string | label int64 |
|---|---|
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_CHANNEL_ACTIVATED = 2295 | 0 |
{'name': 'find_all_links@boltons/urlutils.py', 'description': "This function uses heuristics to searches plain text for strings\nthat look like URLs, returning a :class:`list` of :class:`URL`\nobjects. It supports limiting the accepted schemes, and returning\ninterleaved text as well.\n\n>>> find_all_links('Visit https... | 0 |
{'name': 'speed_camera@versions/speed-cam_11.26.py', 'description': 'Main speed camera processing function', 'signature': 'def speed_camera():'}</s>{'name': 'speed_get_contours@versions/speed-cam_11.26.py', 'description': 'Read Camera image and crop and process\nwith opencv to detect motion contours.\nAdded timeout in ... | 1 |
{'name': 'NoisyPQC.symbol_values@tensorflow_quantum/python/layers/high_level/noisy_pqc.py', 'description': 'Returns a Python `dict` containing symbol name, value pairs.\n\nReturns:\n Python `dict` with `str` keys and `float` values representing\n the current symbol values.', 'signature': 'def symbol_values(se... | 0 |
{'name': 'task_docs@dodo.py', 'description': 'Build sphinx document.', 'signature': 'def task_docs():'}</s>{'name': 'task_check@dodo.py', 'description': 'Run flake8/mypy/pydocstyle/docs/readme tasks.', 'code': 'def task_check():\n """Run flake8/mypy/pydocstyle/docs/readme tasks."""\n return {\n \'actions\'... | 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': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl... | 0 |
{'name': 'vee_validate_rules@vuetifyforms/templatetags/crispy_forms_vuetify.py', 'description': 'Generates vee validate rules based on django validators. Throws exception when validator is unknown.', 'signature': 'def vee_validate_rules(parser, token):'}</s>{'name': '_set_sub_field@vuetifyforms/templatetags/crispy_form... | 0 |
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li... | 0 |
{'name': 'test_tamper_index@pyFileFixity/tests/test_repair_ecc.py', 'description': 'recc: tamper index file and see if it can repair itself (hecc) ', 'signature': 'def test_tamper_index():'}</s>{'name': 'conditional_decorator@pyFileFixity/repair_ecc.py', 'description': 'DOCSTRING', 'code': 'def conditional_decorator(fl... | 0 |
{'name': 'PPOTrainer.train@habitat_baselines/rl/ppo/ppo_trainer.py', 'description': 'Main method for training PPO.\n\nReturns:\n None', 'signature': 'def train(self, ckpt_path="", ckpt=-1, start_updates=0) -> None:'}</s>{'name': 'batch_list@habitat_baselines/common/utils.py', 'description': 'Batch potentially nested... | 0 |
{'name': 'test_tls_client_auth@cheroot/test/test_ssl.py', 'description': 'Verify that client TLS certificate auth works correctly.', 'signature': 'def test_tls_client_auth( # noqa: C901, WPS213 # FIXME'}</s>missing_ipv6 = pytest.mark.skipif(
not _probe_ipv6_sock('::1'),
reason=''
'IPv6 is disabled '
'... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_NEGATIVE_LENGTH = 6117 | 0 |
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>VALID_BREAKPOINT_LOCATION = "Got a valid breakpoint location" | 0 |
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n... | 0 |
{'name': 'init_pairing_fock@doc/LectureNotes/_build/jupyter_execute/cc.py', 'description': 'initializes the Fock matrix of the pairing model\n\nparam delta: Single-particle spacing, as in Eq. (8.41)\nparam g: pairing strength, as in eq. (8.42)\nparam pnum: number of particle states\nparam hnum: number of hole states\n\... | 1 |
{'name': 'itertests@scripts/update_lit_checks.py', 'description': 'Yield (filename, lines) for each test specified in the command line args', 'signature': 'def itertests(args):'}</s>ALL_ITEMS = DECL_ITEMS + '|' + IMPORT_ITEM + '|' + EXPORT_ITEM | 0 |
{'name': 'ProcessFileData@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines:... | 0 |
{'name': 'Receipt.formatted_number@django_afip/models.py', 'description': "This receipt's number in the usual format: ``0001-00003087``.", 'signature': 'def formatted_number(self) -> str | None:'}</s>{'name': 'CannotValidateTogether@django_afip/exceptions.py', 'description': 'Raised when attempting to validate invalid ... | 0 |
{'name': 'View.pick_areas@picasso/gui/render.py', 'description': 'Finds the areas of all current picks in um^2.\n\nReturns\n-------\nareas : np.1darray\n Areas of all picks.', 'signature': 'def pick_areas(self):'}</s>{'name': 'render@picasso/render.py', 'description': "Renders locs.\n\nParameters\n----------\nlocs :... | 0 |
{'name': 'template@src/back/kite/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def template(*args, **kwarg... | 0 |
{'name': 'get_test_file@django_afip/factories.py', 'description': 'Helper to get test files.', 'signature': 'def get_test_file(filename: str, mode: str = "r") -> Path:'}</s>{'name': 'GenericAfipTypeManager@django_afip/models.py', 'description': 'Default Manager for GenericAfipType.', 'base_classes': ['models.Manager', ... | 0 |
{'name': 'test_create_with_duplicate_dimensions@unyt/tests/test_units.py', 'description': 'Create units with overlapping dimensions. Ex: km/Mpc.', 'signature': 'def test_create_with_duplicate_dimensions():'}</s>{'name': 'assert_allclose_units@unyt/testing.py', 'description': 'Raise an error if two objects are not equal... | 1 |
{'name': 'URLObject.query@urlobject/urlobject.py', 'description': 'This URL\'s query string.\n\n>>> print(URLObject("http://www.google.com").query)\n<BLANKLINE>\n>>> print(URLObject("http://www.google.com?a=b").query)\na=b', 'signature': 'def query(self):'}</s>{'name': 'URLObject@urlobject/urlobject.py', 'description':... | 1 |
{'name': 'tag_approved@src/oca_github_bot/tasks/tag_approved.py', 'description': 'Add the ``approved`` tag to the given PR if conditions are met.\n\nRemove it if conditions are not met.', 'signature': 'def tag_approved(org, repo, pr, dry_run=False):'}</s>{'name': 'git_get_current_branch@src/oca_github_bot/github.py', '... | 0 |
{'name': 'MQTTProtocol._retryUnsubscribe@src/mqtt/client/pubsubs.py', 'description': 'Transmit/Retransmit UNSUBSCRIBE packet', 'signature': 'def _retryUnsubscribe(self, request, dup):'}</s>log = Logger(namespace='mqtt') | 1 |
{'name': 'wide_resnet50_2@models/resnet.py', 'description': 'Wide ResNet-50-2 model from\n`"Wide Residual Networks" <https://arxiv.org/pdf/1605.07146.pdf>`_\n\nThe model is the same as ResNet except for the bottleneck number of channels\nwhich is twice larger in every block. The number of channels in outer 1x1\nconvolu... | 0 |
{'name': 'transform_text_with_addrs@cpca/__init__.py', 'description': '将含有多个地址的长文本中的地址全部提取出来\nArgs:\n text_with_addrs: 一个字符串,里面可能含有多个地址\n index:可以通过这个参数指定输出的DataFrame的index,默认情况下是range(len(data))\n pos_sensitive:如果为True则会多返回三列,分别提取出的省市区在字符串中的位置,如果字符串中不存在的话则显示-1\n umap: 当只有区的信息时, 且该区存在同名时, 指定该区具体是哪一个,字典的 key... | 0 |
{'name': 'Channel.download@yark/channel.py', 'description': "Downloads all videos which haven't already been downloaded", 'signature': 'def download(self, config: DownloadConfig):'}</s>{'name': '_migrate_archive@yark/channel.py', 'description': 'Automatically migrates an archive from one version to another by bootstrap... | 0 |
{'name': 'Scripts@deps/pog/deps/re2/re2/re2/unicode.py', 'description': 'Returns dict mapping script names to code lists.\n\nArgs:\n unicode_dir: Unicode data directory\n\nReturns:\n dict mapping script names to code lists', 'signature': 'def Scripts(unicode_dir=_UNICODE_DIR):'}</s>{'name': 'Categories@deps/pog/deps/... | 0 |
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'TestEntityPostSavePostDeleteSignalSync.test_post_updated_entity_no_cascade@entity/tests/sync_tests.py', 'description': 'Verify that updating a mirrored entity does not cause the entity to be deleted (which\nresults in a cascading delete for all pointers.', 'signature': 'def test_post_updated_entity_no_cascade... | 0 |
{'name': '_exec_and_log@imagegw/shifter_imagegw/transfer.py', 'description': 'Execute a command and log the results to logger', 'signature': 'def _exec_and_log(cmd, logger):'}</s>{'name': 'copy_file@imagegw/shifter_imagegw/transfer.py', 'description': 'Copy a file to the specified system', 'code': 'def copy_file(filena... | 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>CMAP_GNUPLOT2 = 59 | 0 |
{'name': 'temp_html_filepath@folium/utilities.py', 'description': 'Yields the path of a temporary HTML file containing data.', 'signature': 'def temp_html_filepath(data: str) -> Iterator[str]:'}</s>{'name': 'camelize@folium/utilities.py', 'description': 'Convert a python_style_variable_name to lowerCamelCase.\n\nExampl... | 0 |
{'name': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>DESCKIND_MAX = 5 | 0 |
{'name': 'TransformerModel.build_model@fairseq_deen_ende/fairseq/models/transformer.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>DEFAULT_MAX_SOURCE_POSITIONS = 1024 | 1 |
{'name': 'convert_sqlalchemy_hybrid_property_bare_str@graphene_sqlalchemy/converter.py', 'description': 'Convert Bare String into a ForwardRef', 'signature': 'def convert_sqlalchemy_hybrid_property_bare_str(type_arg: str, **kwargs):'}</s>use_non_null_many_relationships = True | 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>MQACTV_DETAIL_LOW = 1 | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCFOP_LESS = 1 | 0 |
{'name': 'TileCreator.__init__@tensorflow/tools/tilecreator.py', 'description': "tileSizeLow, simSizeLow: int, [int,int] if 2D, [int,int,int]\nchannelLayout: 'key,key,...'\n the keys are NOT case sensitive and leading and trailing whitespace characters are REMOVED.\n key:\n default: ... | 0 |
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_key3@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_key3():\n schema = Schema(\n {\n Any("name", "area"): str,\n ... | 0 |
{'name': 'parse_ionex@laika/iono.py', 'description': ':param ionex_file: path to the IONEX file\n:return: TEC interpolation function `f( (lat,lon), datetime )`', 'signature': 'def parse_ionex(ionex_file):'}</s>{'name': 'get_int_from_header@laika/iono.py', 'description': 'Returns the first int from the line that contain... | 1 |
{'name': 'show_reload_popup@addon_updater_ops.py', 'description': 'For use in register only, to show popup after re-enabling the addon.\n\nMust be enabled by developer.', 'signature': 'def show_reload_popup():'}</s>{'name': 'layout_split@addon_updater_ops.py', 'description': 'Intermediate method for pre and post blende... | 0 |
{'name': 'validate_transaction@capone/api/queries.py', 'description': 'Validates a Transaction and its sub-models before saving.\n\nOne, it validates that this Transaction properly balances.\n\nA Transaction balances if its credit amounts match its debit amounts.\nIf the Transaction does not balance, then a Transaction... | 0 |
{'name': 'sort_enum_for_model@graphene_sqlalchemy/utils.py', 'description': 'Get a Graphene Enum for sorting the given model class.\n\nThis is deprecated, please use object_type.sort_enum() instead.', 'signature': 'def sort_enum_for_model(cls, name=None, symbol_name=None):'}</s>{'name': 'is_graphene_version_less_than@g... | 0 |
{'name': 'Path.add@furl/furl.py', 'description': 'Add <path> to the existing path. <path> can either be a Path instance,\na list of segments, or a path string to append to the existing path.\n\nReturns: <self>.', 'signature': 'def add(self, path):'}</s>{'name': 'idna_encode@furl/furl.py', 'description': 'DOCSTRING', 'c... | 0 |
{'name': 'parse_query_sequences@cblaster/helpers.py', 'description': 'Creates a Cluster object from query sequences.\n\nIf EMBL/GenBank, Cluster will use exact genomic coordinates parsed from file.\nOtherwise, a fake Cluster will be created where genes are drawn to scale,\nbut always on positive strand and with fixed i... | 0 |
{'name': 'train@src/train.py', 'description': 'Trains the model\n\n:param config:\n:return:', 'signature': 'def train(config):'}</s>tn2stats = {
'BoolQ': ['Acc'],
'CB': ['Acc', 'F1'],
'COPA': ['Acc'],
'MultiRC': ['EM', 'F1'],
'ReCoRD': ['EM', 'F1'],
'RTE': ['Acc'],
'WiC': ['Acc'],
'WSC':... | 0 |
{'name': 'ConfigObj.reload@BlDevCube/lib.bflb_configobj.pyc.py', 'description': "Reload a ConfigObj from file.\n\nThis method raises a ``ReloadError`` if the ConfigObj doesn't have\na filename attribute pointing to a file.", 'signature': 'def reload(self):'}</s>{'name': 'UnreprError@BlDevCube/lib.bflb_configobj.pyc.py'... | 0 |
{'name': 'ContinuousWaveformClient._request_cont_waveform@HinetPy/client.py', 'description': 'Request continuous waveform.\n\nParameters\n----------\ncode: str\n Network code.\nstarttime: :py:class:`datetime.datetime`\n Starttime of data request.\nspan: int\n Time span in minutes.\n\nReturns\n-------\nid: str\... | 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': 'test_get_cve_id_state_in_choices@test-http/src/test/cve_id_tests/cve_id_as_org_admin.py', 'description': "state parameter can only be 'REJECTED', 'PUBLISHED' or 'RESERVED' ", 'signature': 'def test_get_cve_id_state_in_choices(org_admin_headers):'}</s>{'name': 'test_post_cve_id_invalid_amount@test-http/src/tes... | 0 |
{'name': 'LatentDiffusion._prior_bpd@ldm/models/diffusion/ddpm.py', 'description': "Get the prior KL term for the variational lower-bound, measured in\nbits-per-dim.\nThis term can't be optimized, as it only depends on the encoder.\n:param x_start: the [N x C x ...] tensor of inputs.\n:return: a batch of [N] KL values ... | 1 |
{'name': 'make_default_config@atlas/make_config.py', 'description': 'generates a dict with all the default values, if they exist', 'signature': 'def make_default_config():'}</s>NORMALIZATION_TARGET_DEPTH = 1000 | 1 |
{'name': 'write_entry@code/utils/osg.py', 'description': ':param entry:\n:return:', 'signature': 'def write_entry(entry, overwrite=True):'}</s>web_screenshots_path = web_path / 'screenshots' | 0 |
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'render_pep440_post@versioneer.py', 'description': 'TAG[.postDISTANCE[.dev0]+gHEX] .\n\nTh... | 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': 'compute_sparse_agent_cell_f@self_organising_systems/biomakerca/env_logic.py', 'description': "Compute a sparse agent cell_f.\n\nThis works for ExclusiveOp, ParallelOp and ReproduceOp.\nNote that the cell_f *requires* to have the proper argument name 'programs',\nso this is an informal interface.\n\nif it is u... | 0 |
{'name': 'Bottleneck.__init__@mmdet/models/backbones/resnext.py', 'description': 'Bottleneck block for ResNeXt.\nIf style is "pytorch", the stride-two layer is the 3x3 conv layer,\nif it is "caffe", the stride-two layer is the first 1x1 conv layer.', 'signature': 'def __init__(self, inplanes, planes, groups=1, base_wid... | 0 |
{'name': 'Predicate.test@rules/predicates.py', 'description': 'The canonical method to invoke predicates.', 'signature': 'def test(self, obj: Any = NO_VALUE, target: Any = NO_VALUE) -> bool:'}</s>always_deny = predicate(lambda: False, name="always_deny") | 0 |
{'name': 'Schema._compile_sequence@voluptuous/schema_builder.py', 'description': "Validate a sequence type.\n\nThis is a sequence of valid values or validators tried in order.\n\n>>> validator = Schema(['one', 'two', int])\n>>> validator(['one'])\n['one']\n>>> with raises(er.MultipleInvalid, 'expected int @ data[0]'):\... | 0 |
{'name': 'WrappedSocket.handshake@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/urllib3/contrib/securetransport.py', 'description': "Actually performs the TLS handshake. This is run automatically by\nwrapped socket, and shouldn't be needed in user code.", 'signature': 'def handshake(self,'}</s>orig_util_SSLCo... | 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': 'arcball_constrain_to_axis@transformations.py', 'description': 'Return sphere point perpendicular to axis.', 'signature': 'def arcball_constrain_to_axis(point, axis):'}</s>_AXES2TUPLE = {
'sxyz': (0, 0, 0, 0), 'sxyx': (0, 0, 1, 0), 'sxzy': (0, 1, 0, 0),
'sxzx': (0, 1, 1, 0), 'syzx': (1, 0, 0, 0), 'syzy... | 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': 'TestHandlingModelsWithGenericRelationFields@tests/test_mommy.py', 'description': 'DOCST... | 0 |
{'name': 'IotivitynodeRuntimeTest.tearDown@meta-iotqa/lib/oeqa/runtime/programming/nodejs/iotivity_node_upstream.py', 'description': 'Clean work: remove all the files downloaded on host,\ncopied to the target device during the test and reset firewall setting.\n@fn tearDown\n@param self', 'signature': 'def tearDown(self... | 0 |
{'name': 'RejectLog.plot@autoreject/autoreject.py', 'description': "Plot an image of good, bad and interpolated channels for each epoch.\n\nParameters\n----------\norientation : 'vertical' | 'horizontal'\n If `'vertical'` (default), will plot sensors on x-axis and epochs\n on y-axis. If `'horizontal'`, will plot ... | 0 |
{'name': 'elab_intermodule@hw/vendor/lowrisc_opentitan/util/topgen/intermodule.py', 'description': "Check the connection of inter-module and categorize them\n\nIn the top template, it uses updated inter_module fields to create\nconnections between the modules (incl. memories). This function is to\ncreate and check the ... | 1 |
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n... | 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>ICMP_ROUTERADVERT_NORMAL = 0 | 0 |
{'name': 'transcribe@whisper/transcribe.py', 'description': 'Transcribe an audio file using Whisper\n\nParameters\n----------\nmodel: Whisper\n The Whisper model instance\n\naudio: Union[str, np.ndarray, torch.Tensor]\n The path to the audio file to open, or the audio waveform\n\nverbose: bool\n Whether to dis... | 0 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'TupleSort@src/api/python/z3/z3.py', '... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'ap_per_class@yolov3/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 (nparray, nx1 or nx10).\n conf: Objectness value from 0-1 (nparray).\n p... | 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': 'BitcoinTestFramework.setup_chain@test/functional/test_framework/test_framework.py', 'description': 'Override this method to customize blockchain setup', 'signature': 'def setup_chain(self):'}</s>TEST_EXIT_PASSED = 0 | 0 |
{'name': 'blazepose_detec_func@Pose2Sim/Utilities/Blazepose_runsave.py', 'description': "Runs BlazePose (Mediapipe) on a video\nSaves coordinates to OpenPose format (json files) or DeepLabCut format (csv or h5 table)\nOptionally displays and saves images with keypoints overlayed\n\nN.B.: First install mediapipe: `pip i... | 0 |
{'name': 'create_uuid_tables@.translation-tables/translation-tables.py', 'description': 'CREATE UUID.md TRANSLATION TABLES ', 'signature': 'def create_uuid_tables():'}</s>{'name': 'get_table_body_close@.translation-tables/translation-tables.py', 'description': 'Closes HTML body tag. ', 'code': 'def get_table_body_close... | 1 |
{'name': 'MaskedLayer.get_output_mask@modified_keras/keras/layers/core.py', 'description': 'The default output mask is just the input mask unchanged. Override this in your own\nimplementations if, for instance, you are reshaping the input', 'signature': 'def get_output_mask(self, train=False):'}</s>{'name': 'sigmoid@mo... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'test_text_predict_on_public_models@tests/public_models/test_public_models_predicts.py', 'description': 'Test non translation text/nlp models.\nAll these models can take the same test text input.', 'signature': 'def test_text_predict_on_public_models(channel):'}</s>_sym_db = _symbol_database.Default() | 0 |
{'name': 'AdbDevice.push@adb_shell/adb_device.py', 'description': "Push a file or directory to the device.\n\nParameters\n----------\nlocal_path : str, BytesIO\n A filename, directory, or BytesIO stream to push to the device\ndevice_path : str\n Destination on the device to write to.\nst_mode : int\n Stat mode... | 0 |
{'name': 'main@alphapy/__main__.py', 'description': 'AlphaPy Main Program\n\nNotes\n-----\n(1) Initialize logging.\n(2) Parse the command line arguments.\n(3) Get the model configuration.\n(4) Create the model object.\n(5) Call the main AlphaPy pipeline.', 'signature': 'def main(args=None):'}</s>{'name': 'drop_features... | 0 |
{'name': 'load_image_bytes@6_AI-ML/2_gemini_LLM/notebooks/gemini-course/utils/intro_multimodal_rag_utils.py', 'description': 'Loads an image from a URL or local file path.\n\nArgs:\n image_uri (str): URL or local file path to the image.\n\nRaises:\n ValueError: If `image_uri` is not provided.\n\nReturns:\n byt... | 0 |
{'name': 'test_switching_threads@tests/unit/test_tui_reporter.py', 'description': 'Test that we can switch which thread is displayed', 'signature': 'def test_switching_threads():'}</s>{'name': 'FakeDatetime@tests/unit/test_tui_reporter.py', 'description': 'DOCSTRING', 'base_classes': ['datetime.datetime'], 'methods': [... | 0 |
{'name': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post.devDISTANCE', 'signature': 'def render_pep440_pre(pieces):'}</s>{'name': 'VersioneerBadRootError@versioneer.py', 'description': 'The project root directory is unknown or missing key files.... | 0 |
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""... | 0 |
{'name': 'scene@solution/tools/aliyun_subscribe_actiontrail/index.py', 'description': 'Params: context 格式\n{\n "accountId":"",\n "eventId:":"",\n "rgId":"",\n "resId":"",\n "resType":"disk"\n}\n场景一:有两个账号:\n1、日志账号,开通事件总线 + 函数计算 + RDS,用于响应事件。\n2、业务账号,开通事件总线,将事件总线消息推到日志账号。\n\n场景二:有三个账号:\n1、日志账号,开通事件总线 + 函数计... | 1 |
{'name': 'MainWindow.load_standalone_modules@SpicesUpdate@claudiux/files/SpicesUpdate@claudiux/cs/6.0_FUTURE/cinnamon-settings_OLD.py', 'description': 'Loads all standalone settings modules.', 'signature': 'def load_standalone_modules(self):'}</s>{'name': 'get_proxy_settings@SpicesUpdate@claudiux/files/SpicesUpdate@cla... | 0 |
{'name': 'award_points@pinax/points/models.py', 'description': "Awards target the point value for key. If key is an integer then it's a\none off assignment and should be interpreted as the actual point value.", 'signature': 'def award_points(target, key, reason="", source=None):'}</s>{'name': 'record_vote@pinax/points... | 0 |
{'name': 'ConfigFixture.start_fixture@gnocchi/tests/functional/fixtures.py', 'description': 'Create necessary temp files and do the config dance.', 'signature': 'def start_fixture(self):'}</s>{'name': 'ResourceClassMapper@gnocchi/indexer/sqlalchemy.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods':... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_SYSP_SMF_STAT_TIME_MINS = 1199 | 0 |
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants ... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PF_ROUTETO = 1 | 0 |
{'name': 'Image._preamble_read@wand/image.py', 'description': 'Set-up MagickWand properties before reading an image file. The\nproperties are unique to the image decoder.\n\n:param background: Defines the default background color.\n:type background: :class:`Color`, :class:`str`\n:param colorspace: Defines what colorspa... | 0 |
{'name': 'd4_image_deaugment@pytorch_toolbelt/inference/tta.py', 'description': 'Deaugment input tensor (output of the model) assuming the input was D4-augmented image (See d4_augment).\nArgs:\n image: Tensor of [B * 8, C, H, W] shape\n reduction: Reduction model for aggregating outputs. Default is taking mean.\n... | 0 |
{'name': 'user_has_voted@pinax/points/templatetags/pinax_points_tags.py', 'description': 'Usage::\n {% user_has_voted user obj as var %}', 'signature': 'def user_has_voted(parser, token):'}</s>{'name': 'TopObjectsNode@pinax/points/templatetags/pinax_points_tags.py', 'description': 'DOCSTRING', 'base_classes': ['temp... | 0 |
{'name': 'NormalizeOutput@googletest/test/googletest-output-test.py', 'description': 'Normalizes output (the output of googletest-output-test_.exe).', 'signature': 'def NormalizeOutput(output):'}</s>{'name': 'GetShellCommandOutput@googletest/test/googletest-output-test.py', 'description': "Runs a command in a sub-proce... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.