text string | label int64 |
|---|---|
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACH_BATCHES = 1537 | 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': 'disabled_train@ldm/models/diffusion/ddpm.py', 'description': 'Overwrite model.train with this function to make sure train/eval mode\ndoes not change anymore.', 'signature': 'def disabled_train(self, mode=True):'}</s>{'name': 'isimage@ldm/util.py', 'description': 'DOCSTRING', 'code': 'def isimage(x):\n if n... | 0 |
{'name': 'wide_resnet101_2@src/model/tsm/resnet.py', 'description': 'Wide ResNet-101-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... | 0 |
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': '_Back... | 0 |
{'name': 'test_fail_if_model_outputs_do_not_match_shapes@tests/mlmc/test_MLMCSimulator.py', 'description': 'Ensures simulator throws an exception if inputs and outputs with differing\nnumbers of samples are provided.', 'signature': 'def test_fail_if_model_outputs_do_not_match_shapes(filename_2d_5_column_data,'}</s>{'na... | 0 |
{'name': 'MapperTest.test_holiday_mode@tests/test_mapper.py', 'description': 'Test map holiday mode.', 'signature': 'def test_holiday_mode(self) -> None:'}</s>_DATE_FORMAT = "%Y-%m-%d" | 0 |
{'name': 'add_implicit_resolver@strictyaml/ruamel/main.py', 'description': 'Add an implicit scalar detector.\nIf an implicit scalar value matches the given regexp,\nthe corresponding tag is assigned to the scalar.\nfirst is a sequence of possible initial characters or None.', 'signature': 'def add_implicit_resolver('}<... | 0 |
{'name': 'dump_json_data@pages/plugins/jsonexport/utils.py', 'description': 'Return a python dict representation of this page for use as part of\na JSON export.', 'signature': 'def dump_json_data(page):'}</s>PAGES_STATIC_URL = get_setting('PAGES_STATIC_URL') | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>OP_RESERVED1 = CScriptOp(0x89) | 0 |
{'name': 'BaseImage.polaroid@wand/image.py', 'description': "Creates a special effect simulating a Polaroid photo.\n\n:see: Example of :ref:`polaroid`.\n\n:param angle: applies a shadow effect along this angle.\n:type angle: :class:`numbers.Real`\n:param caption: Writes a message at the bottom of the photo's border.\n:... | 0 |
{'name': 'TestBulkLoader.teardown_class@test/test_bulk_loader.py', 'description': 'Delete temporary files', 'signature': 'def teardown_class(cls):'}</s>person_count = "" | 0 |
{'name': 'euler2quat@trajopt/math_utils.py', 'description': 'Convert Euler Angles to Quaternions. See rotation.py for notes ', 'signature': 'def euler2quat(euler):'}</s>{'name': 'axis_angle2quat@trajopt/math_utils.py', 'description': 'DOCSTRING', 'code': 'def axis_angle2quat(axis, angle):\n c = np.cos(angle/2)\n ... | 0 |
{'name': 'NormalizedConfiguration.__init__@config/parse.py', 'description': 'Normalize a JSON configuration in preparation for parsing ', 'signature': 'def __init__(self, config_file, verbose=False):'}</s>{'name': 'do_deprecation@config/parse.py', 'description': 'Print a warning and return a replacement dictionary for ... | 0 |
{'name': 'human_readable_number@trimmed_match/design/util.py', 'description': 'Print a large number in a readable format.\n\nReturn a readable format for a number, e.g. 123 milions becomes 123M.\n\nArgs:\n number: a float to be printed in human readable format.\n\nReturns:\n readable_number: a string containing the f... | 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': 'add_material@python/xraydb/materials.py', 'description': "add a material to the users local material database\n\nArgs:\n name (str): name of material\n formula (str): chemical formula\n density (float): density\n categories (list of strings or None): list of category names\n\nReturns:\n None\n\... | 0 |
{'name': '_rs_total_bits@build/lib/ruleset/ripper.py', 'description': 'Returns total description length (in bits) of ruleset -- the sum of its theory dl and exceptions dl.\n\nbestsubset_dl (optional, <bool>): whether to return estimated minimum possible dl were all rules that increase dl to be removed\nret_bestsubset (... | 0 |
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin... | 0 |
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PF_SYNCOOKIES_MODE_MAX = PF_SYNCOOKIES_ADAPTIVE | 0 |
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>{'name': 'mine_large_block@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def mine_large_block(no... | 0 |
{'name': 'TrainCtx.__init__@persia/ctx.py', 'description': 'Arguments:\n embedding_optimizer (persia.embedding.optim.Optimizer): optimizer for the\n embedding parameters.\n dense_optimizer (torch.optim.Optimizer): optimizer for dense parameters.\n grad_scalar_update_factor (float, optional): update fact... | 0 |
{'name': 'Unit.has_equivalent@unyt/unit_object.py', 'description': "Check to see if this unit object as an equivalent unit in *equiv*.\n\nExample\n-------\n>>> from unyt import km\n>>> km.has_equivalent('spectral')\nTrue\n>>> km.has_equivalent('mass_energy')\nFalse", 'signature': 'def has_equivalent(self, equiv):'}</s>... | 0 |
{'name': 'rho@py_vollib/ref_python/black_scholes_merton/greeks/numerical.py', 'description': "Returns the Black-Scholes-Merton rho of an option.\n\n:param flag: 'c' or 'p' for call or put.\n:type flag: str\n:param S: underlying asset price\n:type S: float\n:param K: strike price\n:type K: float\n:param t: time to expir... | 0 |
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>{'name': 'AppStack@src/back/kite/bottle.py', 'description... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_COMM_INFO_TYPE_ERROR = 3320 | 0 |
{'name': 'pad@loadProbDist/loadProbDist.py', 'description': 'Utility function that returns a left padded version of the bit string\npassed.', 'signature': 'def pad(x, numQubits):'}</s>truthDisc = [integrate(distribution, regBounds[i], regBounds[i + 1]) * shots for i in range(
len(regBounds) - 1)] | 0 |
{'name': 'modular_sqrt_composite@crypto_commons/rsa/rsa_commons.py', 'description': 'Calculates modular square root of composite value for given all modulus factors\nFor a = b^2 mod p*q*r*m... calculates b\n:param c: residue\n:param factors: list of modulus prime factors\n:return: all potential root values', 'signature... | 0 |
{'name': 'vae_append@util.py', 'description': 'Assume that the vae uses an isotropic Gaussian for its prior and diagonal\nGaussian for its posterior.', 'signature': 'def vae_append(latent_shape, gen_net, rec_net, obs_append, prior_prec=8,'}</s>std_gaussian_centres_cache = {} | 0 |
{'name': 'idmapper.map_column@py2cytoscape/cyrest/idmapper.py', 'description': 'Uses the BridgeDB service to look up analogous identifiers from a wide\nselection of other databases\n\n:param only_use_one (string, optional): When multiple identifiers can be\n mapped from a single term, this forces a singular result\n... | 0 |
{'name': 'load_json@policy/cib.py', 'description': 'Read CIB node from JSON file', 'signature': 'def load_json(filename):'}</s>REST_PORT = 45888 | 0 |
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'skip_if_library_missing@tools/lldb/packages/Python/lldbsu... | 0 |
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': 'plot_sounding_data_uwyo@pymeteo/skewt.py', 'description': 'Plot SkewT from University of Wyoming sounding data\n\n:param filename: The name of the file containing sounding data\n:type filemane: str\n:param output: The name of the file to output plot\n:type output: str\n:param stationID: The station ID of a so... | 0 |
{'name': 'get_dir@util/io.py', 'description': 'return the directory it belongs to.\nif path is a directory itself, itself will be return ', 'signature': 'def get_dir(path):'}</s>{'name': 'find_all@util/strs.py', 'description': 'DOCSTRING', 'code': 'def find_all(s, pattern):\n import re\n return re.findall(pattern... | 0 |
{'name': 'test_novalidate_noerrors@cerberus/tests/test_validation.py', 'description': 'In v0.1.0 and below `self.errors` raised an exception if no\nvalidation had been performed yet.', 'signature': 'def test_novalidate_noerrors(validator):'}</s>{'name': 'test_nullable_skips_allowed@cerberus/tests/test_validation.py', '... | 0 |
{'name': 'BuildImage@utils/pyHDLC/__init__.py', 'description': "Build and optionally test container image(s).\n\n:param image:\n Bare image name(s), without registry, collection or architecture.\n The supported syntax for each image name is ``name[#location]``, where the optional ``location`` is ignored during\n the... | 0 |
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instan... | 0 |
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': '_get_centerli... | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP_UNREACH_NET_UNKNOWN = 6 | 0 |
{'name': 'TestParseTagInput.test_tags_with_double_quotes_can_contain_commas@tagging/tests/tests.py', 'description': 'Double quotes can contain commas ', 'signature': 'def test_tags_with_double_quotes_can_contain_commas(self):'}</s>{'name': 'Article@tagging/tests/models.py', 'description': 'DOCSTRING', 'base_classes': [... | 0 |
{'name': 'plot_planar_average@macrodensity/plotting.py', 'description': 'Calculate planar and macroscopic averages of potential data from different\nfileconfigs like gulp, cube, and vasp.\n\nArgs:\n lattice_vector (float): Size (in A) of the repeating unit which is\n used to calculate the macroscopic average.... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQQA_GET_ALLOWED = 0 | 0 |
{'name': 'get_env_variable@ponycheckup/settings/base.py', 'description': 'Get the environment variable or return exception ', 'signature': 'def get_env_variable(var_name):'}</s>STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder... | 0 |
{'name': 'TestUtils.test_get_carry_over@tests/test_utils.py', 'description': 'Test get_carry_over.', 'signature': 'def test_get_carry_over(self):'}</s>{'name': 'create_free_days@small_small_hr/utils.py', 'description': 'Create FreeDay records.\n\n:param start_year: the year from which to start creating free days\n:par... | 0 |
{'name': 'Function.make_params@panoramix/function.py', 'description': "figures out parameter types from the decompiled function code.\n\ndoes so by looking at all 'cd'/calldata occurences and figuring out\nhow they are accessed - are they masked? are they used as pointers?", 'signature': 'def make_params(self):'}</s>{'... | 0 |
{'name': 'TreeView.count@qt4c/wincontrols.py', 'description': '返回TreeView的item数\n ', 'signature': 'def count(self):'}</s>{'name': '_AccessibleObjectWrapper_comtypes@qt4c/accessible.py', 'description': '使用comtypes模块实现IAccessible接口的包裹类\n \n ', 'base_classes': ['object'], 'methods': [{'name': '_AccessibleObje... | 0 |
{'name': 'buildmodule@venv/Lib/site-packages/numpy/f2py/rules.py', 'description': 'Return', 'signature': 'def buildmodule(m, um):'}</s>{'name': 'iscomplexfunction_warn@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': 'def iscomplexfunction_warn(rout):\n if iscomplexfunction(rout):\... | 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>RE_DATE = re.compile(r'^(?P<year>[0-9]{4,})-(?P<month>[0-9]{2})-(?P<day>[0-9]{2})$') | 0 |
{'name': 'CalculateChiv1@PyBioMed/PyMolecule/connectivity.py', 'description': '#################################################################\nCalculation of valence molecular connectivity chi index for\n\npath order 1\n\n---->Chiv1\n\nUsage:\n\n result=CalculateChiv1(mol)\n\n Input: mol is a molecule object.\... | 0 |
{'name': 'parse_file@src/pyradox/filetype/yml.py', 'description': 'Return a dictionary containing all key-value pairs in the given file. All keys are lower-case. ', 'signature': 'def parse_file(path):'}</s>{'name': 'parse_walk@src/pyradox/filetype/yml.py', 'description': 'DOCSTRING', 'code': "def parse_walk(path):\n ... | 0 |
{'name': 'merge_dungeonstatic@bcml/mergers/mubin.py', 'description': 'Merges all changes to the CDungeon Static.smubin', 'signature': 'def merge_dungeonstatic(diffs: dict = None):'}</s>{'name': 'get_modded_map@bcml/mergers/mubin.py', 'description': 'DOCSTRING', 'code': 'def get_modded_map(map_unit: Union[Map, tuple], t... | 0 |
{'name': 'Result.header_id@pytest_testdox/data_structures.py', 'description': 'Return the same value when the result should be aggregated under the\nsame class or module (this is not guaranteed in "header" property,\nwhich should be used when displaying to the user)', 'signature': 'def header_id(self) -> str:'}</s>{'na... | 0 |
{'name': 'is_unix_socket@haproxyadmin/utils.py', 'description': 'Return ``True`` if path is a valid UNIX socket otherwise False.\n\n:param path: file name path\n:type path: ``string``\n:rtype: ``bool``', 'signature': 'def is_unix_socket(path):'}</s>{'name': 'converter@haproxyadmin/utils.py', 'description': "Tries to co... | 0 |
{'name': 'DebuggerAPI.do_next@tools/p4dbg.py', 'description': 'Go to next field update: next(n)', 'signature': 'def do_next(self, line):'}</s>args = parser.parse_args() | 0 |
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>{'name': 'StplSyntaxError@src/back/kite/bottle.py', 'desc... | 0 |
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': '_symbols_in_op@tensorflow_quantum/python/util.py', 'description': 'Returns the set of symbols in a parameterized ... | 0 |
{'name': 'GetJob.__init__@SalesforcePy/jobs.py', 'description': "Constructor. Calls `super`, then encodes the `service` including the `query_string` provided\n\n:param: session_id: Session ID used to make request\n:type: session_id: string\n:param: instance_url: Instance URL used to make the request (eg. `'eu11.salesfo... | 1 |
{'name': 'CheckStyle@third_party/cpplint/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.... | 0 |
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': '_Quie... | 1 |
{'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': 'CommentsMatch@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_match.py', 'description': 'C... | 0 |
{'name': 'insert_from_sql@cr8/insert_from_sql.py', 'description': 'Insert data read from another SQL source into table.', 'signature': 'def insert_from_sql(*,'}</s>{'name': 'setup_sigint_handling@cr8/aio.py', 'description': 'DOCSTRING', 'code': "def setup_sigint_handling(loop, q, iterable):\n if sys.platform == 'win... | 0 |
{'name': 'cello@cello/scanpy_cello.py', 'description': "CellO [Bernstein21]_.\n\nHierarchical cell type classification of human cells with the Cell Ontology.\n\nFor more information, tutorials, and bug reports, visit the `CellO\nGitHub page <https://github.com/deweylab/CellO>`__. \n\nParameters\n----------\nadata\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': '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>gSTR_COND_M_BASE = " cond of main+baseline: " | 1 |
{'name': 'TestMonitorClientEnterprise.test_monitorclient_logs_and_surround@tests/tests/test_monitor_client.py', 'description': 'Tests more lines of logs surrounding a line matching a pattern', 'signature': 'def test_monitorclient_logs_and_surround(self, monitor_commercial_setup_no_client):'}</s>{'name': 'get_factory@te... | 0 |
{'name': 'test_simple_reroute_2@tests/test_traffic_scheduling_problem.py', 'description': 'to loads on a collision path.\n\n[1]<-->[2]<-->[3]<-->[4]\n | ^\n +---->[5]-->[6]------+', 'signature': 'def test_simple_reroute_2():'}</s>{'name': 'is_sequence_valid@tests/test_traffic_scheduling_problem.py', ... | 1 |
{'name': 'get_numeric_roles_stat@lightautoml/reader/guess_roles.py', 'description': 'Calculate statistics about different encodings performances.\n\nWe need it to calculate rules about advanced roles guessing.\nOnly for numeric data.\n\nArgs:\n train: Dataset.\n subsample: size of subsample.\n random_state: in... | 1 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': '_find_human_readable_labels@slim/datasets/build_imagenet_data.py', 'description': "Build a list of human-readable labels.\n\nArgs:\n synsets: list of strings; each string is a unique WordNet ID.\n synset_to_human: dict of synset to human labels, e.g.,\n 'n02119022' --> 'red fox, Vulpes vulpes'\n\nReturns... | 0 |
{'name': 'diff_match_patch.diff_commonOverlap@plugins/vim/tandem_lib/diff_match_patch.py', 'description': 'Determine if the suffix of one string is the prefix of another.\n\nArgs:\n text1 First string.\n text2 Second string.\n\nReturns:\n The number of characters common to the end of the first\n string and ... | 1 |
{'name': 'is_new_mtl_data_available@refreshdata.py', 'description': "Returns whether new date provided by Sante Montreal is available.\nData is available if the data's last date is equal the given expected date.\n\nParameters\n----------\nexpected_date : date\n The date that new data needs to have to be considered n... | 0 |
{'name': 'corrupt_one_client_data@models/utils/main_utils.py', 'description': 'Apply corruption to train data of given client in-place. Note: eval data is unchanged', 'signature': 'def corrupt_one_client_data(dataset, client, corruption):'}</s>{'name': 'get_corrupted_fraction@models/utils/main_utils.py', 'description':... | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>{'name': 'pf_threshold@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'test_minimal_data@tests/builder/builder_test.py', 'description': 'Test the minimal data that must be provided to generate UFOs, and in\nsome cases that additional redundant data is not set.', 'signature': 'def test_minimal_data(ufo_module):'}</s>{'name': 'test_load_kerning_bracket@tests/builder/builder_test.p... | 0 |
{'name': 'AGraph.subgraph_parent@pygraphviz/agraph.py', 'description': 'Return parent graph of subgraph or None if graph is root graph.', 'signature': 'def subgraph_parent(self, nbunch=None, name=None):'}</s>{'name': 'agidedge@pygraphviz/graphviz.py', 'description': 'DOCSTRING', 'code': 'def agidedge(g, t, h, id, creat... | 0 |
{'name': 'generate_config@deprecated/gcp/R80.30/single-byol-R80.30/check-point-vsec--byol.py', 'description': 'Creates the gateway.', 'signature': 'def generate_config(context):'}</s>MAX_NICS = 8 | 1 |
{'name': '_FunctionDataTypeDef.__call__@lib/rule_engine/types.py', 'description': '.. versionadded:: 4.0.0\n\n:param str name: The name of the function, e.g. "split".\n:param return_type: The data type of the functions return value.\n:param tuple argument_types: The data types of the functions arguments.\n:param int mi... | 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_ipv6_local@qa/rpc-tests/test_framework/netutil.py', 'description': 'Check for (local) IPv6 support.', 'signature': 'def test_ipv6_local():'}</s>{'name': 'get_bind_addrs@qa/rpc-tests/test_framework/netutil.py', 'description': 'Get bind addresses as (host,port) tuples for process pid.', 'code': "def get_bi... | 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': 'spatial_sampling@models/SlowFast/slowfast/datasets/utils.py', 'description': 'Perform spatial sampling on the given video frames. If spatial_idx is\n-1, perform random scale, random crop, and random flip on the given\nframes. If spatial_idx is 0, 1, or 2, perform spatial uniform sampling\nwith the given spati... | 1 |
{'name': 'CorpusAligner.evaluate_alignments@montreal_forced_aligner/alignment/base.py', 'description': 'Evaluate alignments against a reference directory\n\nParameters\n----------\nmapping: dict[str, Union[str, list[str]]], optional\n Mapping between phones that should be considered equal across different phone set ... | 0 |
{'name': 'main@verify_security_groups.py', 'description': 'Main Python function to attach security group to ENIs. Responsible for:\n1. Identifying current account id, region.\n2. Importing CSV file and loading into state.\n3. Comparing CSV ARN entry with AWS current ID and Region.\n4. Identifying Security Group ID and ... | 0 |
{'name': 'set_key_value@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send key value to device', 'signature': 'def set_key_value(sniffer, payload):'}</s>CTRL_CMD_ADD = 2 | 0 |
{'name': 'test_kitti_3d@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def test_kitti_3d(dataset_test, net, rpn_conf, results_path, test_path, has_rcnn=False):'}</s>{'name': 'locate_anchors@lib/rpn_util.py', 'description': 'Spreads each anchor shape across a featur... | 0 |
{'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': 'lecun_unif... | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Allnsgroup@infoblox_client/objects.py', 'description': "Allnsgroup: All NS Gr... | 0 |
{'name': 'PiApplication._initialize@pibooth/booth.py', 'description': 'Restore the application with initial parameters defined in the\nconfiguration file.\nOnly parameters that can be changed at runtime are restored.', 'signature': 'def _initialize(self):'}</s>{'name': 'PoolingTimer@pibooth/utils.py', 'description': 'T... | 0 |
{'name': 'next_tzolkin_haab@src/convertdate/mayan.py', 'description': "For a given haab-tzolk'in combination, and a Julian day count, find the next occurrance of the combination after the date", 'signature': 'def next_tzolkin_haab(tzolkin, haab, jd):'}</s>{'name': 'tzolkin_generator@src/convertdate/mayan.py', 'descript... | 0 |
{'name': 'relocate_BZ_grid_address@python/spglib/spglib.py', 'description': 'Grid addresses are relocated to be inside first Brillouin zone.\n\nNumber of ir-grid-points inside Brillouin zone is returned.\nIt is assumed that the following arrays have the shapes of\n\nNote that the shape of grid_address is (prod(mesh), 3... | 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': 'point_cloud_from_fileobj@pypcd/pypcd.py', 'description': 'parse pointcloud coming from file object f\n ', 'signature': 'def point_cloud_from_fileobj(f):'}</s>{'name': 'make_xyz_point_cloud@pypcd/pypcd.py', 'description': 'Make a pointcloud object from xyz array.\nxyz array is cast to float32.', 'code': 'de... | 0 |
{'name': 'profile_dump@lib/charliecloud.py', 'description': 'If profiling, dump the profile data.', 'signature': 'def profile_dump():'}</s>{'name': 'done_notify@lib/charliecloud.py', 'description': 'DOCSTRING', 'code': 'def done_notify():\n if (user() == "jogas"):\n INFO("!!! KOBE !!!")\n else:\n INFO("do... | 0 |
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>keyword_map = {} | 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': 'NMEAStreamReader.__iter__@pynmea2/stream.py', 'description': 'Support the iterator protocol.\n\nThis allows NMEAStreamReader object to be used in a for loop.\n\n for batch in NMEAStreamReader(stream):\n for msg in batch:\n print msg', 'signature': 'def __iter__(self):'}</s>{'name': 'TalkerSente... | 0 |
{'name': 'build_timespan@yaql/standard_library/date_time.py', 'description': ':yaql:timespan\n\nReturns timespan object with specified args.\n\n:signature: timespan(days => 0, hours => 0, minutes => 0, seconds => 0,\n milliseconds => 0, microseconds => 0)\n:arg days: number of days in timespan, 0 by... | 0 |
{'name': 'calculate_gross_price@steampy/utils.py', 'description': "Calculate the price including the publisher's fee and the Steam fee.\n\nArguments:\n price_net (Decimal): The amount that the seller receives after a market transaction.\n publisher_fee (Decimal): The Publisher Fee is a game specific fee that is d... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.