text string | label int64 |
|---|---|
{'name': 'colorize@npbg/utils/train.py', 'description': "A utility function for Torch/Numpy that maps a grayscale image to a matplotlib\ncolormap for use with TensorBoard image summaries.\nBy default it will normalize the input value to the range 0..1 before mapping\nto a grayscale colormap.\nArguments:\n - value: 2D ... | 0 |
{'name': 'sum_string@pytils/numeral.py', 'description': "Get sum in words\n\n@param amount: amount of objects\n@type amount: C{integer types}\n\n@param gender: gender of object (MALE, FEMALE or NEUTER)\n@type gender: C{int}\n\n@param items: variants of object in three forms:\n for one object, for two objects and for... | 0 |
{'name': 'get_hex_bitmask@ap2-receiver.py', 'description': 'prepares the feature bits into text form', 'signature': 'def get_hex_bitmask(in_features):'}</s>{'name': 'StatusFlags@ap2/bitflags.py', 'description': 'DOCSTRING', 'base_classes': ['IntFlag'], 'methods': [{'name': 'StatusFlags.GetDefaultStatusFlags@ap2/bitflag... | 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': 'datetime_from_timestamp@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built by timestamp.\n\n:signature: datetime(timestamp, offset => timespan(0))\n:arg timestamp: timespan object to represent datetime\n:argType timestamp: number\n:arg offset: datetime offset ... | 0 |
{'name': 'InfoExtractor._search_regex@script.module.youtube.dl/lib/youtube_dl/extractor/common.py', 'description': 'Perform a regex search on the given string, using a single or a list of\npatterns returning the first matching group.\nIn case of failure return a default value or raise a WARNING or a\nRegexNotFoundError... | 0 |
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
{'name': 'test_only_setup_missing@tests/main_test.py', 'description': 'test generate setup.py (when it is missing)', 'signature': 'def test_only_setup_missing('}</s>{'name': 'get_extras_require_dev_list_node@pipenv_setup/setup_parser.py', 'description': 'get the list from [dev]\n\n:raise ValueError: When the extras_req... | 0 |
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>ammo_to_ammoobj = {v: k for k, v in ammoobj_to_ammo.items()} | 0 |
{'name': 'AgentBoxesWithFadedHistory.make_representation@python-sdk/nuscenes/prediction/input_representation/agents.py', 'description': 'Draws agent boxes with faded history into a black background.\n:param instance_token: Instance token.\n:param sample_token: Sample token.\n:return: np.ndarray representing a 3 channel... | 0 |
{'name': 'InverseCompton._iso_ic_on_monochromatic@src/naima/radiative.py', 'description': 'IC cross-section for an isotropic interaction with a monochromatic\nphoton spectrum following Eq. 22 of Aharonian & Atoyan 1981, Ap&SS 79,\n321 (`http://adsabs.harvard.edu/abs/1981Ap%26SS..79..321A`_)', 'signature': 'def _iso_ic_... | 0 |
{'name': 'Node.reparentChildren@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/html5lib/treebuilders/base.py', 'description': "Move all the children of the current node to newParent.\nThis is needed so that trees that don't store text as nodes move the\ntext in the correct way\n\n:arg newParent: the node to mo... | 0 |
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>developers_path = ['developers'] | 0 |
{'name': 'CalculateCTD@PyBioMed/PyProtein/CTD.py', 'description': '###############################################################################################\nCalculate all CTD descriptors based seven different properties of AADs.\n\nUsage:\n\nresult=CalculateCTD(protein)\n\nInput:protein is a pure protein sequenc... | 0 |
{'name': 'LessParser.p_property_decl_arguments@lesscpy/lessc/parser.py', 'description': 'property_decl : prop_open less_arguments t_semicolon\n ', 'signature': 'def p_property_decl_arguments(self, p):'}</s>{'name': 'Mixin@lesscpy/plib/mixin.py', 'description': 'Mixin Node. Represents callable mixin typ... | 0 |
{'name': 'db_open@versions/speed-cam_11.26.py', 'description': 'Insert speed data into database table', 'signature': 'def db_open(db_file):'}</s>{'name': 'get_image_name@versions/speed-cam_11.26.py', 'description': 'build image file names by number sequence or date/time Added tenth of second', 'code': 'def get_image_na... | 0 |
{'name': 'Schema.query_type@pygraphy/introspection.py', 'description': 'The type that query operations will be rooted at.', 'signature': 'def query_type(self) -> Type:'}</s>{'name': 'to_camel_case@pygraphy/utils.py', 'description': 'DOCSTRING', 'code': 'def to_camel_case(name):\n has_prefix = False\n if \'__\' in... | 0 |
{'name': 'ProcessFileData@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: An array of strings, each representing a ... | 0 |
{'name': 'check_pypi@carml/cli.py', 'description': 'Check a PyPI package hash across multiple circuits.', 'signature': 'def check_pypi(cfg, package, revision):'}</s>{'name': 'stream@carml/cli.py', 'description': 'Manipulate Tor streams.', 'code': 'def stream(ctx, list, follow, attach, close, verbose):\n """\n Man... | 0 |
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PFR_FLAG_FEEDBACK = 4 | 0 |
{'name': 'WindowAttention.forward@ppim/models/swin.py', 'description': 'Args:\n x: input features with shape of (num_windows*B, N, C)\n mask: (0/-inf) mask with shape of (num_windows, Wh*Ww, Wh*Ww) or None', 'signature': 'def forward(self, x, mask=None):'}</s>{'name': 'window_partition@ppim/models/swin.py', 'desc... | 0 |
{'name': 'info@jwt/help.py', 'description': 'Generate information for a bug report.\nBased on the requests package help utility module.', 'signature': 'def info() -> Dict[str, Dict[str, str]]:'}</s>__version__ = "2.10.1" | 0 |
{'name': 'character_level_rep@vsm.py', 'description': 'Get a representation for `word` as the sum of all the\nrepresentations of `n`grams that it contains, according to `cf`.\n\nParameters\n----------\nword : str\n The word to represent.\n\ncf : pd.DataFrame\n The character-level VSM (e.g, the output of `ngram_vs... | 0 |
{'name': 'Vocab.__init__@data.py', 'description': 'Creates a vocab of up to max_size words, reading from the vocab_file. If max_size is 0, reads the entire vocab file.\n\nArgs:\n vocab_file: path to the vocab file, which is assumed to contain "<word> <frequency>" on each line, sorted with most frequent word first. Thi... | 0 |
{'name': 'test_genotypes@cyvcf2/tests/test_reader.py', 'description': '. 1\n./. ./1\n./. 1\n0/1 0\n0 0/1\n ', 'signature': 'def test_genotypes():'}</s>{'name': 'test_iterate@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_iterate():\n\n for i, v in enumerate(VCF(VCF_PATH), start=1):\n... | 0 |
{'name': 'ising_mpo@pytenet/hamiltonian.py', 'description': 'Construct Ising Hamiltonian `sum J sz sz + h sz + g sx`\non a 1D lattice as MPO.\n\nArgs:\n L: number of lattice sites\n J: interaction parameter\n h: longitudinal-field strength\n g: transverse-field strength\n\nReturns:\n MPO: Ising Hamil... | 0 |
{'name': 'support_dashboard@browser_calls/views.py', 'description': 'Shows the list of support tickets to a support agent', 'signature': 'def support_dashboard(request):'}</s>{'name': 'SupportTicketCreate@browser_calls/views.py', 'description': 'Renders the home page and the support ticket form', 'base_classes': ['Succ... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>OBSERVE_ANOTHER_PLAYER_EXPLANATION = [4316] | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCBD_VERSION_1 = 1 | 0 |
{'name': 'AmberParser.process_library_file@openmoltools/amber_parser.py', 'description': 'Process an AMBER .lib file.\n\nParameters\n----------\ninputfile : str\n filename of an .lib file', 'signature': 'def process_library_file(self, inputfile):'}</s>ATOMS = 1 | 1 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>_NEG_INF = float('-inf') | 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': 'TextEnc@networks.py', 'description': 'Args:\n L: Text inputs. (B, N)\n\nReturn:\n K: Keys. (B, N, d)\n V: Values. (B, N, d)', 'signature': 'def TextEnc(L, training=True):'}</s>{'name': 'AudioEnc@networks.py', 'description': 'Args:\n S: melspectrogram. (B, T/r, n_mels)\n\nReturns\n Q: Queries. (B, T/r... | 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': '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': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>lnurl_cancel_notice_2 = "¿No es LNURL compatible?" | 0 |
{'name': 'load@spatialmedia/mpeg/sv3d.py', 'description': 'Loads the sv3d box located at position in an mp4 file.\n\nArgs:\n fh: file handle, input file handle.\n position: int or None, current file position.\n\nReturns:\n new_box: box, sv3d box loaded from the file location or None.', 'signature': 'def load(fh, pos... | 0 |
{'name': 'test_docker_build_fails@test/test_utils.py', 'description': 'Test for expected failure when a recipe fails to build', 'signature': 'def test_docker_build_fails(recipes_fixture, config_fixture):'}</s>{'name': 'temp_os@bioconda_utils/utils.py', 'description': 'Context manager to temporarily set sys.platform.', ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO_REPAIR_PKTS_RCVD = 827 | 0 |
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'heartbeat_thread_function@src/server/server.py', 'description': 'Emits current rssi data, etc', 'code': 'def heartbeat_thread_function():\n \'\'\'Emits current rss... | 0 |
{'name': '_MatchesReValidator.__call__@vendor/attr/validators.py', 'description': 'We use a callable class to be able to change the ``__repr__``.', 'signature': 'def __call__(self, inst, attr, value):'}</s>{'name': '_OptionalValidator@vendor/attr/validators.py', 'description': 'DOCSTRING', 'base_classes': ['object'], '... | 0 |
{'name': 'vae_pop@util.py', 'description': 'Assume that the vae uses an isotropic Gaussian for its prior and diagonal\nGaussian for its posterior.', 'signature': 'def vae_pop('}</s>{'name': 'beta_latent_cdf@util.py', 'description': 'DOCSTRING', 'code': 'def beta_latent_cdf(\n a_prior, b_prior, a_post, b_post, pr... | 0 |
{'name': 'parse_extrinsics@fairnr/data/geometry.py', 'description': 'this function is only for numpy for now', 'signature': 'def parse_extrinsics(extrinsics, world2camera=True):'}</s>{'name': 'compute_psnr@fairnr/data/data_utils.py', 'description': 'Compute PSNR of model image predictions.\n:param prediction: Return va... | 0 |
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>OP_2OVER = CScriptOp(0x70) | 0 |
{'name': 'VersatileImageFieldTestCase.test_exif_orientation_rotate_180@tests/tests.py', 'description': 'Ensure exif orientation==3 data processes properly.', 'signature': 'def test_exif_orientation_rotate_180(self):'}</s>{'name': 'VersatileImageFieldTestCase@tests/tests.py', 'description': 'Main test case for versatile... | 1 |
{'name': 'TarInfo.frombuf@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': 'HeaderError@SneakerBot 201... | 0 |
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>{'name': 'IUScheduleQueue@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Class to ... | 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': 'ClsDlg3D@picasso/gui/render.py', 'description': 'A class to cluster picked locs with k-mea... | 0 |
{'name': 'login@ide/auth.py', 'description': "This is a bit too tricky, but I couldn't find another way. Google only allows specific \nredirect URLs to use OAuth2. We want to be able to test with alternative version specific servers\n(e.g., 20201227t175543-dot-py38-glowscript.uc.r.appspot.com). The solution here is to ... | 0 |
{'name': 'topk_accuracy@utils.py', 'description': 'Return @recall accuracies for the given recalls.', 'signature': 'def topk_accuracy(outputs, labels, recalls=(1, 5)):'}</s>{'name': 'rand_bbox@utils.py', 'description': 'DOCSTRING', 'code': 'def rand_bbox(size, lam):\n W = size[2]\n H = size[3]\n cut_rat = np.s... | 0 |
{'name': 'convert@ytmdl/core.py', 'description': 'Convert the song into the proper format as asked by\nthe user.', 'signature': 'def convert('}</s>{'name': 'search@ytmdl/yt.py', 'description': 'Search the song name and return results\n\nSearch the passed query using the `youtube_search` module\nand extract the results ... | 0 |
{'name': 'plot_sounding@pymeteo/skewt.py', 'description': 'Plot sounding data\n\nThis plots temperature, dewpoint and wind data on a Skew-T/Log-P plot.\nThis will also plot derived values such as wetbulb temperature and\nlabel the surface based LCL, LFC and EL.\n\n:parameter z: height values (1D array)\n:parameter th: ... | 0 |
{'name': 'WinograndeTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'NumSamplesDataset@fairseq/data/num_samples_dataset.py', 'description': 'DOCSTRING'... | 1 |
{'name': 'build@bioconda_utils/build.py', 'description': "Build a single recipe for a single env\n\nArguments:\n recipe: Path to recipe\n pkg_paths: List of paths to expected packages\n testonly: Only run the tests described in the meta.yaml\n mulled_test: Run tests in minimal docker container\n channels: Channels... | 0 |
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'stop_reason_to_str@tools/lldb/packages/Python/lldbsuite/test/lldbut... | 0 |
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>non_game_keywords = ('framework', 'game engine', 'library', 'tool') | 0 |
{'name': '_scan_toplevel@tasks/deps/_inspect/_inspect.py', 'description': 'Find toplevel packages\n\nParameters:\n req_files (list):\n Requirement file names\n\nReturns:\n tuple: {(normname, installed-version) -> [{line, requirement}]},\n [constraint]', 'signature': 'def _scan_toplevel(ctx, req_files):'}</... | 1 |
{'name': '_add_material_to_particle@blender_kitti/particles.py', 'description': ':param name_prefix:\n:param colors:\n:param obj_particle:\n:return:', 'signature': 'def _add_material_to_particle(name_prefix, colors, obj_particle, material=None):'}</s>{'name': 'create_flow_material@blender_kitti/material_shader.py', 'de... | 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 ... | 0 |
{'name': 'cpython_tags@gyp/pylib/packaging/tags.py', 'description': "Yields the tags for a CPython interpreter.\n\nThe tags consist of:\n- cp<python_version>-<abi>-<platform>\n- cp<python_version>-abi3-<platform>\n- cp<python_version>-none-<platform>\n- cp<less than python_version>-abi3-<platform> # Older Python versi... | 0 |
{'name': 'PelotonAPI._create_api_session@src/fitly/api/pelotonApi.py', 'description': 'Create a session instance for communicating with the API\n ', 'signature': 'def _create_api_session(cls):'}</s>{'name': 'PelotonClientError@src/fitly/api/pelotonApi.py', 'description': 'Client exception class\n ', 'base_cla... | 1 |
{'name': 'get_prediction@DigiPathAI/Segmentation.py', 'description': 'patch based segmentor', 'signature': 'def get_prediction(wsi_path, '}</s>{'name': 'conv_block@DigiPathAI/models/inception.py', 'description': 'DOCSTRING', 'code': "def conv_block(prev, num_filters, kernel=(3, 3), strides=(1, 1), act='relu', prefix=No... | 0 |
{'name': 'answer_question@server.py', 'description': ' Will get entities for the question.\n Generate subgraph\n Run corechain and aux predictions\n\n\n:param question: str: intended question to answer\n:return:', 'signature': 'def answer_question(question, entities=None):'}</s>ASK_RE_PATTERN = "(?i)ask\s*wher... | 0 |
{'name': 'calculate_energy@chryswoods.com/intro_to_mc/software/metropolis.py', 'description': 'Calculate the energy of the passed atoms (assuming all atoms\nhave the same LJ sigma and epsilon values)', 'signature': 'def calculate_energy():'}</s>temperature = 298.15 | 0 |
{'name': 'CellDivision.Mode@stochpy/modules/StochPyCellDivision.py', 'description': "Set mode for a stochastic simulation.\n\nInput:\n - *sim_mode* [default = 'generations'] (string) ['time','steps', 'generations']", 'signature': "def Mode(self,sim_mode='generations'):"}</s>{'name': 'k_solver@stochpy/tools/kSolver.py',... | 0 |
{'name': 'Connector.is_cookie_expired@infoblox_client/connector.py', 'description': 'Check if the cookie is expired by comparing the expiration time\nwith the current time.', 'signature': 'def is_cookie_expired(self):'}</s>{'name': 'InfobloxGridTemporaryUnavailable@infoblox_client/exceptions.py', 'description': 'DOCSTR... | 0 |
{'name': '_parse_edge_nodes@uxarray/io/_mpas.py', 'description': 'Parses edge node connectivity for either the Primal or Dual Mesh.', 'signature': 'def _parse_edge_nodes(in_ds, out_ds, mesh_type):'}</s>{'name': '_parse_boundary_node_indices@uxarray/io/_mpas.py', 'description': 'Parses the boundary node indices.', 'code... | 0 |
{'name': 'test_element_count@third_party/dawn/third_party/dxc/tools/clang/bindings/python/tests/cindex/test_type.py', 'description': 'Ensure Type.element_count works.', 'signature': 'def test_element_count():'}</s>{'name': 'test_function_variadic@third_party/dawn/third_party/dxc/tools/clang/bindings/python/tests/cindex... | 0 |
{'name': 'IB.cancelOrder@ib_insync/ib.py', 'description': 'Cancel the order and return the Trade it belongs to.\n\nArgs:\n order: The order to be canceled.\n manualCancelOrderTime: For audit trail.', 'signature': "def cancelOrder(self, order: Order, manualCancelOrderTime: str = '') \\"}</s>UNSET_INTEGER = 2 ** 31... | 0 |
{'name': 'EncoderDecoderTests._test_pipeline@baselines/seq2seq_attention_copy/seq2seq/test/models_test.py', 'description': 'Helper function to test the full model pipeline.\n ', 'signature': 'def _test_pipeline(self, mode, params=None):'}</s>{'name': 'TFRecordInputPipeline@baselines/seq2seq_attention_copy/seq2seq/da... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIIH_REPLY_FORMAT_NONE = 8 | 0 |
{'name': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>backlog_file =... | 0 |
{'name': 'get_hhh_investigator@website/web/__init__.py', 'description': 'Returns all the captures related to a cookie name entry, used in the web interface.', 'signature': 'def get_hhh_investigator(hhh: str, offset: int | None=None, limit: int | None=None, search: str | None=None) -> tuple[int, list[tuple[str, str, str... | 0 |
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>query_separator = "/" | 0 |
{'name': 'Connection.cursor@trino/dbapi.py', 'description': 'Return a new :py:class:`Cursor` object using the connection.', 'signature': 'def cursor(self, cursor_style: str = "row", legacy_primitive_types: bool = None):'}</s>MAX_ATTEMPTS = constants.DEFAULT_MAX_ATTEMPTS | 0 |
{'name': '_importable@dill/source.py', 'description': "get an import string (or the source code) for the given object\n\nThis function will attempt to discover the name of the object, or the repr\nof the object, or the source code for the object. To attempt to force\ndiscovery of the source code, use source=True, to at... | 0 |
{'name': 'write_predictions@small_cls/examples/utils_squad.py', 'description': 'Write final predictions to the json file and log-odds of null if needed.', 'signature': 'def write_predictions(all_examples, all_features, all_results, n_best_size,'}</s>{'name': 'SquadExample@small_cls/examples/utils_squad.py', 'descriptio... | 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_EXPIRY_ERROR = 2013 | 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': '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': 'ProcessFileData@third_party/cpplint/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 rep... | 1 |
{'name': 'RunTool@dftimewolf/cli/dftimewolf_recipes.py', 'description': 'Runs DFTimewolfTool.\n\nReturns:\n int: 0 DFTimewolf could be run successfully, 1 otherwise.', 'signature': 'def RunTool(cdm: Optional[CursesDisplayManager] = None) -> int:'}</s>{'name': 'RecipesManager@dftimewolf/lib/recipes/manager.py', 'descri... | 0 |
{'name': 'BrowseView.do_dym@dbdb/core/views.py', 'description': 'Did you mean search', 'signature': 'def do_dym(self, search_q):'}</s>LetterPage = collections.namedtuple('LetterPage', ['id','letter','is_active','is_disabled']) | 0 |
{'name': 'test_matrix@tests/test_layouts.py', 'description': 'Test for matrix layout.\n\nChecks:\n\n1. X-axis minimum is at 1.0\n2. Y-axis minimum is at 1.0\n3. X-axis maximum is at num_nodes.\n4. Y-axis maximum is at num_nodes.', 'signature': 'def test_matrix(dummyG, group_by, sort_by):'}</s>{'name': 'hive@nxviz/layou... | 0 |
{'name': 'IB.reqMktData@ib_insync/ib.py', 'description': 'Subscribe to tick data or request a snapshot.\nReturns the Ticker that holds the market data. The ticker will\ninitially be empty and gradually (after a couple of seconds)\nbe filled.\n\nhttps://interactivebrokers.github.io/tws-api/md_request.html\n\nArgs:\n ... | 0 |
{'name': 'get_snapshot_status@k8s_snapshots/backends/google.py', 'description': 'In Google Cloud, the createSnapshot operation returns a ZoneOperation\nobject which goes from PENDING, to RUNNING, to DONE.\nThe snapshot object itself can be CREATING, DELETING, FAILED, READY,\nor UPLOADING.\n\nWe check both states to mak... | 0 |
{'name': 'a_star_best_path@Perfect Maze/Path_For_Wall_AnFany.py', 'description': '利用A*算法,返回迷宫中从起始网格到结束网格的最短路径\n:param a: 迷宫的行数\n:param b: 迷宫的列数\n:param maze_dict: 描述迷宫墙的字典\n:param enter_cell_sign: 起始的网格编号\n:param outer_cell_sign: 结束的网格编号\n:return: 最短的路径', 'signature': 'def a_star_best_path(a, b, maze_dict, enter_cell_s... | 1 |
{'name': 'find_source_libraries@ctypesgen/processor/operations.py', 'description': 'find_source_libraries() determines which library contains each function\nand variable.', 'signature': 'def find_source_libraries(data, opts):'}</s>{'name': 'TypedefDescription@ctypesgen/descriptions.py', 'description': 'Simple container... | 0 |
{'name': 'cancel_workflow@director/commands/workflows.py', 'description': 'Cancel a workflow', 'signature': 'def cancel_workflow(ctx, id):'}</s>{'name': 'list_workflow@director/commands/workflows.py', 'description': 'List the workflows', 'code': 'def list_workflow(ctx):\n """List the workflows"""\n workflows = {\... | 0 |
{'name': 'switch@agents/bdq/common/tf_util.py', 'description': 'Switches between two operations depending on a scalar value (int or bool).\nNote that both `then_expression` and `else_expression`\nshould be symbolic tensors of the *same shape*.\n\n# Arguments\n condition: scalar tensor.\n then_expression: TensorFl... | 0 |
{'name': 'unset_config@src/workflow/util.py', 'description': 'Delete a workflow variable from ``info.plist``.\n\n.. versionadded:: 1.33\n\nArgs:\n name (str): Name of variable to delete.\n bundleid (str, optional): Bundle ID of workflow variable belongs to.', 'signature': 'def unset_config(name, bundleid=None):'}... | 0 |
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>ISCSI = "ISCSI" | 0 |
{'name': 'find_related_origin@django_eventstream/utils.py', 'description': "Find a related origin from a list of CORS (Cross-Origin Resource Sharing) origins\nbased on the request's absolute URI.\n\nArgs:\n request (HttpRequest): The HTTP request object.\n cors_origins (list): A list of CORS origins.\n\nReturns:\... | 0 |
{'name': 'ReceiveClient.receive_messages_iter@uamqp/client.py', 'description': 'Receive messages by generator. Messages returned in the generator have already been\naccepted - if you wish to add logic to accept or reject messages based on custom\ncriteria, pass in a callback.\n\n:param on_message_received: A callback t... | 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': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'simplify_param_descrs@src/api/python... | 0 |
{'name': 'SimpleScrapingLocator.get_page@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/locators.py', 'description': "Get the HTML for an URL, possibly from an in-memory cache.\n\nXXX TODO Note: this cache is never actually cleared. It's assumed that\nthe data won't get stale over the lifetime of a loc... | 1 |
{'name': 'ImporterFromStats.count_commits_for_date@src/git_import_contributions/ImporterFromStats.py', 'description': "Count the number of commits for a given date.\n:param date: Date in 'YYYY-MM-DD' format.\n:return: Number of commits for the given date.", 'signature': 'def count_commits_for_date(self, date):'}</s>DEF... | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'TestMibSnimpy.testTypes@tests/test_mib.py', 'description': 'Test that we get the correct types', 'signature': 'def testTypes(self):'}</s>{'name': 'IpAddress@snimpy/basictypes.py', 'description': 'Class representing an IP address/', 'base_classes': ['Type', 'ipaddress.IPv4Address'], 'methods': [{'name': 'IpAdd... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.