text
string
label
int64
{'name': 'markdownToclify@third_party/Catch2/scripts/updateDocumentToC.py', 'description': 'Function to add table of contents to markdown files.\n\nParameters\n-----------\n input_file: str\n Path to the markdown input file.\n\n output_file: str (default: None)\n Path to the markdown output file.\n\n min_toc_l...
0
{'name': 'safe_dump_all@strictyaml/ruamel/main.py', 'description': 'Serialize a sequence of Python objects into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump_all(documents, stream=None, **kwds):'}</s>{'name': 'MappingNode@strictyaml/r...
0
{'name': '_ConfigFlagTestCase.assert_equal_configs@ml_collections/config_flags/tests/config_overriding_test.py', 'description': 'Checks if two configs are identical.', 'signature': 'def assert_equal_configs(self, config1, config2):'}</s>{'name': '_IgnoreFileNotFoundAndCollectErrors@ml_collections/config_flags/config_fl...
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': 'ErrorTree@cerberus/errors.py', 'description': 'Base class for :cl...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQZAS_VERSION_5 = 5
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': 'plot_voronoi_polys_with_points_in_area@geovoronoi/plotting.py', 'description': 'All-in-one function to plot Voronoi region polygons `region_polys` and the respective points `points` inside a\ngeographic area `area_shape` on a matplotlib Axes object `ax`.\n\nBy default, the regions will be blue and the points ...
1
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'MultiLingualMaskedLMTask.load_dataset@fairseq/tasks/multilingual_masked_lm.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(self, split, epoch=1, combine=False, **kwargs):'}</s>{'name': 'get_incremental_st...
0
{'name': 'MessageBase.schedule@sitemessage/messages/base.py', 'description': 'Schedules message for a delivery.\nPuts message (and dispatches if any) data into DB.\nReturns a tuple with message model and a list of dispatch models.\n\n:param recipients: recipient (or a list) or None.\n If `None` Dispatches should be ...
0
{'name': 'MakeOldPsekncVector@PyBioMed/PyDNA/PyDNApsenacutil.py', 'description': 'Generate the pseknc vector.', 'signature': 'def MakeOldPsekncVector(sequence_list, lamada, w, k, phyche_value, theta_type=1):'}</s>{'name': 'GetParallelFactor@PyBioMed/PyDNA/PyDNApsenacutil.py', 'description': 'Get the corresponding facto...
0
{'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': 'ApiClient@test...
0
{'name': 'ZiGate._set_device@zigate/core.py', 'description': 'add/update device to cache list', 'signature': 'def _set_device(self, device):'}</s>RESPONSES = {}
0
{'name': 'speed_camera@versions/speed-cam_8.87.py', 'description': 'Main speed camera processing function ', 'signature': 'def speed_camera():'}</s>CV_WINDOW_BIGGER = 1.0
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': 'BIDSLayoutIndexer._index_metadata@src/bids/layout/index.py', 'description': 'Index metadata for all files in the BIDS dataset.\n ', 'signature': 'def _index_metadata(self):'}</s>{'name': 'BIDSLayoutIndexer@src/bids/layout/index.py', 'description': 'Indexer class for BIDSLayout.\n\nParameters\n---------...
1
{'name': 'FeatureParser._parse_scenario@radish/parser.py', 'description': 'Parses a Feature context\n\n:param string line: the line to parse from', 'signature': 'def _parse_scenario(self, line):'}</s>{'name': 'FeatureFileSyntaxError@radish/exceptions.py', 'description': 'If a a syntax error occured in a feature file', ...
1
{'name': '_FixPath@gyp/pylib/gyp/generator/msvs.py', 'description': 'Convert paths to a form that will make sense in a vcproj file.\n\nArguments:\n path: The path to convert, may contain / etc.\nReturns:\n The path with all slashes made into backslashes.', 'signature': 'def _FixPath(path, separator="\\\\"):'}</s>{'na...
0
{'name': 'Life360Scanner.__init__@custom_components/life360/device_tracker.py', 'description': 'Initialize Life360Scanner.', 'signature': 'def __init__(self, hass, config, see, interval, home_place_name, api):'}</s>ATTR_SPEED = "speed"
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': 'template@pyFileFixity/lib/profilers/visual/pympler/util/bottle3.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.', 'signature': 'def template(tpl, template_adapter=SimpleTemplate, **kwargs):'}</s>{'name': 'BaseTemplate@...
0
{'name': 'rdf_type_candidates@utils/query_graph_to_sparql.py', 'description': ' Takes in path ID (continous IDs, not glove vocab).\n And return type candidates (in continous IDs)\n based on whether we want URI or X candidates\n:param data:\n:param path_id:\n:param relations:\n:param reverse_vocab:\n:param ...
0
{'name': 'PPO.update@ppo_continuous2.py', 'description': 'Update parameter with the constraint of KL divergent\n:return: None', 'signature': 'def update(self):'}</s>EPSILON = 0.2
0
{'name': 'filter_data@mne_bids_pipeline/steps/preprocessing/_04_frequency_filter.py', 'description': 'Filter data from a single subject.', 'signature': 'def filter_data('}</s>{'name': '_import_data_kwargs@mne_bids_pipeline/_import_data.py', 'description': 'Get config params needed for any raw data loading.', 'code': 'd...
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'is_select@src/api/python/z3/z3.py', 'descr...
0
{'name': 'term_to_binary@src/api/python/erlang.py', 'description': 'Encode Python types into Erlang terms in binary data', 'signature': 'def term_to_binary(term, compressed=False):'}</s>_TAG_FUN_EXT = 117
0
{'name': 'RobustPath.transform@gdspy/path.py', 'description': 'Apply a transform to this path.\n\nParameters\n----------\ntranslation : Numpy array[2]\n Translation vector.\nrotation : number\n Rotation angle.\nscale : number\n Scaling factor.\nx_reflection : bool\n Reflection around the first axis.\narray_...
1
{'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>_user_prop_push = Z3_push_eh(user_prop_push)
0
{'name': 'EmitDataChanged@pxr/usdQt/compatability.py', 'description': 'The data changed API has changed between Qt4 and Qt5.\n\nParameters\n----------\nmodel : QtCore.QAbstractItemModel\ntopLeft : QtCore.QModelIndex\nbottomRight : QtCore.QModelIndex', 'signature': 'def EmitDataChanged(model, topLeft, bottomRight):'}</s...
0
{'name': 'pytest_pyfunc_call@pytest_asyncio/plugin.py', 'description': 'Pytest hook called before a test case is run.\n\nWraps marked tests in a synchronous function\nwhere the wrapped test coroutine is executed in an event loop.', 'signature': 'def pytest_pyfunc_call(pyfuncitem: Function) -> object | None:'}</s>{'name...
0
{'name': 'random_path@eval/random_path_loader.py', 'description': 'Returns a random path with given length between source and target.\n\nPaths look like:\n (?source, ?ve1, ?vn1), (?vn1, ?ve2, ?vn2), ... (?vn(l-1), ?vel, ?target)\n\nAs every edge can be flipped randomly.', 'signature': 'def random_path(length):'}</s>...
0
{'name': 'Problem.unbounded_objective@src/pybnb/problem.py', 'description': 'Returns the value that represents an unbounded\nobjective (i.e., +inf or -inf depending on the\nsense). The :class:`Problem <pybnb.problem.Problem>`\nbase class implements this method.', 'signature': 'def unbounded_objective(self):'}</s>maximi...
1
{'name': '_remove_absolute_rpaths@delocate/tools.py', 'description': 'Remove absolute filename rpaths in `filename`.\n\nParameters\n----------\nfilename : str\n filename of library\nad_hoc_sign : {True, False}, optional\n If True, sign file with ad-hoc signature', 'signature': 'def _remove_absolute_rpaths(filenam...
0
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>MAX_SCRIPT_OPCODES = 201
0
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>{'name': 'update_qr_request@displays/waveshare2in13v3.py', 'description': 'DOCSTRING', 'code': 'def update_qr_request():\n # initially set all whi...
0
{'name': '_get_cmap_lightness_rank@src/cmasher/utils.py', 'description': 'Returns a tuple of objects used for sorting the provided `cmap` based\non its lightness profile.\n\nParameters\n----------\ncmap : :obj:`~matplotlib.colors.Colormap` object\n The registered name of the colormap in :mod:`matplotlib.cm` or its\n...
0
{'name': 'mix_letters@art/functions.py', 'description': 'Return letters list in mix mode.\n\n:return: letters as list', 'signature': 'def mix_letters():'}</s>DECORATIONS_MAP = {"angry1": angry1, # pragma: no cover "arrow1": arrow1, "arrow2": arrow2, "arrow3": ar...
0
{'name': 'check_scenarios@premise/new_database.py', 'description': 'Check that the scenarios are properly formatted and that\nall the necessary info is given.', 'signature': 'def check_scenarios(scenario: dict, key: bytes) -> dict:'}</s>{'name': 'NewDatabase@premise/new_database.py', 'description': 'Class that represen...
0
{'name': 'draw_isobars@pymeteo/skewt.py', 'description': 'Plot isobars on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function draws isobars at intervals of 2*dp.', 'signature': 'def draw_isobars(axes):'}</s>vmin = -12.5
0
{'name': 'add_matcher@llvm-12.0.0-project/clang/docs/tools/dump_ast_matchers.py', 'description': 'Adds a matcher to one of our categories.', 'signature': 'def add_matcher(result_type, name, args, comment, is_dyncast=False):'}</s>narrowing_matcher_table = sort_table('NARROWING', narrowing_matchers)
0
{'name': 'get_versions@diffxpy/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>{'name': 'run_command@diffxpy/_version.py', 'description': 'Call the given command(s).', 'code': 'def run_command(commands, args, cwd=None, verbose=False, h...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_STATE_SYNPROXY = 3
0
{'name': 'BaseImage.caption@wand/image.py', 'description': 'Writes a caption ``text`` into the position.\n\n:param text: text to write\n:type text: :class:`str`\n:param left: x offset in pixels\n:type left: :class:`numbers.Integral`\n:param top: y offset in pixels\n:type top: :class:`numbers.Integral`\n:param width: wi...
0
{'name': '_to_request@swagger_to/elm_client.py', 'description': 'Translate an endpoint to a client request function.\n\n:param endpoint: to be translated\n:param typedefs: table of Elm type definitions\n:return: representation of the request function suitable for generating Elm client code', 'signature': 'def _to_reque...
0
{'name': 'PDDLParser._parse_into_literal@pddlgym/parser.py', 'description': 'Parse the given string (representing either preconditions or effects)\ninto a literal. Check against params to make sure typing is correct.', 'signature': 'def _parse_into_literal(self, string, params, is_effect=False):'}</s>PROBLEM_STR = " (d...
0
{'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': '_AdbIOManager.send@adb_shell/adb_device.py', 'description': 'Send a message to the device.\n\nParameters\n----------\nmsg : AdbMessage\n The data that will be sent\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB transaction', 'signature': 'def send(self, msg, adb_info):'}</s>{'name': 'g...
0
{'name': 'ExternalScenario.create_markets@premise/external.py', 'description': 'Create new markets, and create a `World` market\nif no data is provided for it.', 'signature': 'def create_markets(self) -> None:'}</s>{'name': 'fetch_loc@premise/external.py', 'description': 'DOCSTRING', 'code': 'def fetch_loc(loc: str) ->...
1
{'name': 'filter_data@mne_bids_pipeline/steps/preprocessing/_04_frequency_filter.py', 'description': 'Filter data from a single subject.', 'signature': 'def filter_data('}</s>{'name': 'get_subjects_sessions@mne_bids_pipeline/_config_utils.py', 'description': 'DOCSTRING', 'code': 'def get_subjects_sessions(\n config:...
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PFTM_TCP_FIN_WAIT = 4
0
{'name': 'validate_subkeys@pre_commit_hooks/check_preference_manifests.py', 'description': 'Given a list of subkeys, run validation on their contents.', 'signature': 'def validate_subkeys(subkeys, filename):'}</s>PLIST_TYPES = { "string": str, "boolean": bool, "dict": dict, "dictionary": dict, "inte...
0
{'name': 'compute_prior@tensor2tensor_envi/models/research/glow_ops.py', 'description': 'Distribution on z_t conditioned on z_{t-1} and latent.\n\nArgs:\n name: variable scope.\n z: 4-D Tensor.\n latent: optional,\n if hparams.latent_dist_encoder == "pointwise", this is a list\n of 4-D Tensors of l...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCMDL_LEVEL_114 = 114
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': 'Parser.run@funcparserlib/parser.py', 'description': 'Run the parser against the tokens with the specified parsing state.\n\nType: `(Sequence[A], State) -> Tuple[B, State]`\n\nThe parsing state includes the current position in the sequence being parsed,\nand the position of the rightmost token that has been co...
0
{'name': 'test_dotted_name_import_from@tests/test_module.py', 'description': "Test dotted-name 'import from'.", 'signature': 'def test_dotted_name_import_from():'}</s>{'name': 'test_simple_import_from@tests/test_module.py', 'description': "Test simple 'import from'.", 'code': 'def test_simple_import_from():\n """Tes...
0
{'name': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>{'name': 'IURQStatus@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Define the return status of...
0
{'name': 'TestAggregatedTimeSerie.test_back_window@gnocchi/tests/test_carbonara.py', 'description': 'Back window testing.\n\nTest the back window on an archive is not longer than the window we\naggregate on.', 'signature': 'def test_back_window(self):'}</s>{'name': 'TestAggregatedTimeSerie@gnocchi/tests/test_carbonara....
1
{'name': 'PolicyNetwork.evaluate@td3.py', 'description': 'generate action with state as input wrt the policy network, for calculating gradients', 'signature': 'def evaluate(self, state, deterministic, eval_noise_scale, epsilon=1e-6):'}</s>batch_size = 300
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': 'overwrites_mem@panoramix/simplify.py', 'description': "for a given line, returns True if it potentially\noverwrites *any part* of memory index, False if it *for sure* doesn't", 'signature': 'def overwrites_mem(line, mem_idx):'}</s>{'name': 'opcode@panoramix/utils/helpers.py', 'description': 'DOCSTRING', 'code...
1
{'name': 'cjkFragSplit@xhtml2pdf/reportlab_paragraph.py', 'description': 'This attempts to be wordSplit for frags using the dumb algorithm.', 'signature': 'def cjkFragSplit(frags, maxWidths, calcBounds, encoding="utf8"):'}</s>{'name': 'Paragraph@xhtml2pdf/reportlab_paragraph.py', 'description': 'Paragraph(text, style, ...
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': 'Check...
0
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'COMPLETION_MSG@llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'description': 'A generic asserti...
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': 'ParseArguments@compiler-rt/lib/sanitizer_common/scripts/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 ParseAr...
0
{'name': 'build_transformer_model@bert4keras/models.py', 'description': '根据配置文件构建模型,可选加载checkpoint权重\n ', 'signature': 'def build_transformer_model('}</s>{'name': 'T5_Decoder@bert4keras/models.py', 'description': 'Google的T5模型(Decoder)\n ', 'base_classes': ['LM_Mask', 'T5_Base'], 'methods': [{'name': 'T5_Decoder._...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQBO_CURRENT_LENGTH = 12
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_CHANNEL_BLOCKED = 2577
0
{'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': '_makeTags@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'MatchFirst@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'descriptio...
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': 'ProcessFileData@llvm-12.0.0-project/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...
0
{'name': '_typedef@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Create a new typedef for an object.\n ', 'signature': 'def _typedef(obj, derive=False, infer=False):'}</s>{'name': '_typedefof@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Get the typedef for an object...
0
{'name': 'StyleGANGenerator.__init__@models/stylegan_generator.py', 'description': 'Initializes with basic settings.\n\nRaises:\n ValueError: If the `resolution` is not supported, or `fused_scale`\n is not supported.', 'signature': 'def __init__(self,'}</s>{'name': 'Blur@models/stylegan_generator.py', 'descri...
0
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'isstring@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description':...
1
{'name': '_read_geometry_fs@brainspace/vtk_interface/io_support/freesurfer_support.py', 'description': 'Adapted from nibabel. Add ascii support.', 'signature': 'def _read_geometry_fs(ipth, is_ascii=False):'}</s>TRIANGLE_MAGIC = 16777214
1
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'MisplacedXHTMLContent@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Warning'], 'm...
0
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'ValidURLAttribute@src/feedvalidator/logging.py', 'description': ...
0
{'name': 'remove_y@test/test_utils.py', 'description': 'Quadruplets and triplets learners have no y in fit, but to write test for\nall estimators, it is convenient to have this function, that will return X\nand y if the estimator needs a y to fit on, and just X otherwise.', 'signature': 'def remove_y(estimator, X, y):'...
0
{'name': 'render@src/harvesters_gui/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'get_versions@src/harvesters_gui/_version.py', 'description': 'Get version information or return default if unable to do so.', 'code': 'def...
0
{'name': 'LazyClassifier.fit@lazypredict/Supervised.py', 'description': 'Fit Classification algorithms to X_train and y_train, predict and score on X_test, y_test.\nParameters\n----------\nX_train : array-like,\n Training vectors, where rows is the number of samples\n and columns is the number of features.\nX_tes...
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_MR_INTERVAL_ERROR = 4073
0
{'name': 'parse@code/parseJsontoFeatures.py', 'description': 'entry point to add feature into dict', 'signature': 'def parse(jsonfile,labelfile,options):'}</s>{'name': 'combineNearTrggr@code/parseJsontoFeatures.py', 'description': 'find nearest trigger in dependency path', 'code': 'def combineNearTrggr(tokens,trggrlist...
1
{'name': 'Block._write@pcapng/blocks.py', 'description': 'Writes this block into the given output stream', 'signature': 'def _write(self, outstream):'}</s>{'name': 'register_block@pcapng/blocks.py', 'description': 'Handy decorator to register a new known block type', 'code': 'def register_block(block):\n """Handy de...
0
{'name': 'QueryAndGroup_score.forward@pointnet2/utils/pointnet2_utils.py', 'description': 'Parameters\n----------\nxyz : torch.Tensor\n xyz coordinates of the features (B, N, 3)\nnew_xyz : torch.Tensor\n centriods (B, npoint, 3)\nfeatures : torch.Tensor\n Descriptors of the features (B, C, N)\n\nReturns\n-----...
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': 'indigenous_peoples_day@src/convertdate/holidays.py', 'description': 'Celebrated on the second Monday in October in the United States.', 'signature': "def indigenous_peoples_day(year, country='usa'):"}</s>{'name': 'shavuot@src/convertdate/holidays.py', 'description': 'DOCSTRING', 'code': 'def shavuot(year, eve...
0
{'name': 'TrackDataset.processData@datasets.py', 'description': 'After posttransforms,\n@sample: [dataA, dataB] where dataA and dataB are concatenated rgb with depth CHW\n@A_in_cam: 4x4 mat', 'signature': 'def processData(self,rgbA,depthA,A_in_cam,rgbB,depthB,B_in_cam,maskB=None,original_size=None):'}</s>{'name': 'make...
0
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
0
{'name': 'MetricList.get_sql_and_with_clause@metrics.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed by\n1. Get the query for every children metric.\n2. If all children queries are compatible, we just collect all the columns\n from the children and use the WHERE and GROUP BY clause...
0
{'name': 'PVPCData.attribution@aiopvpc/pvpc_data.py', 'description': 'Return data-source attribution string.', 'signature': 'def attribution(self) -> str:'}</s>DataSource = Literal["esios_public", "esios"]
0
{'name': 'ZiGate.set_bootloader_mode@zigate/core.py', 'description': 'configure ZiGate DIN in flash mode', 'signature': 'def set_bootloader_mode(self):'}</s>ZIGATE_RESPONSE_RECEIVED = "ZIGATE_RESPONSE_RECEIVED"
0
{'name': 'asdict@rpcq/external/dataclasses.py', 'description': "Return the fields of a dataclass instance as a new dictionary mapping\nfield names to field values.\n\nExample usage:\n\n @dataclass\n class C:\n x: int\n y: int\n\n c = C(1, 2)\n assert asdict(c) == {'x': 1, 'y': 2}\n\nIf given, 'dict_factor...
0
{'name': 'test_image_validate_00920@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_validate.py', 'description': '### Classes and Methods\n- ``ImageValidate``\n ` ``commit``\n\n### Summary\nVerify that commit() sets result, response, and response_data\nappropriately when serial_numbers is empty.\n\n###...
0
{'name': 'GWRResults.summary@stwr/gwr.py', 'description': 'Print out GWR summary', 'signature': 'def summary(self):'}</s>{'name': 'GWRResultsLite@stwr/gwr.py', 'description': 'Lightweight GWR that computes the minimum diagnostics needed for bandwidth\nselection\n\nParameters\n----------\nmodel : GWR objec...
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': '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