text string | label int64 |
|---|---|
{'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': 'fpLT@src/api/python/z3/z3.py', 'desc... | 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': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'Color@gef.py', 'description': 'Used to colorify terminal output.', 'base_classes': [], 'methods': [{'name': 'Color.redify@gef.py', 'description': 'DOCST... | 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_binomials_pop@util.py', 'description': 'DOCSTRING', 'code': 'def beta_binomials_pop(a, b, n, precision):\n # TODO: Implem... | 0 |
{'name': 'TestFirst.test_selection@tests/test_iterutils.py', 'description': 'Success cases with and without a key function.', 'signature': 'def test_selection(self):'}</s>isint = lambda x: isinstance(x, int) | 1 |
{'name': 'nestedExpr@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing expres... | 0 |
{'name': 'is_mutibyte_string@qt4a/androiddriver/util.py', 'description': '判断是否是多字节字符串', 'signature': 'def is_mutibyte_string(data):'}</s>{'name': 'get_adb_server_port@qt4a/androiddriver/util.py', 'description': '获取adb server端口', 'code': 'def get_adb_server_port():\n """获取adb server端口"""\n port = os.environ.get("A... | 0 |
{'name': 'nestedExpr@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (default= ``"("``); can also ... | 0 |
{'name': 'MsxReactionSystem.add_variable@wntr/msx/model.py', 'description': "Add a variable object to the registry.\n\nThe appropriate group is determined by querying the object's\nvar_type attribute.\n\nParameters\n----------\nvariable\n Variable to add.\n\nRaises\n------\nTypeError\n If `variable` is not an Msx... | 0 |
{'name': 'remove_real_time_thread@vmprof/__init__.py', 'description': "Removes a thread from the list of threads to be sampled in real time mode.\nWhen disabling in real time mode, *all* threads are removed automatically.\nReturns the number of registered threads, or -1 if we can't remove thread.\nRemoves the current t... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_MCA_JOB_NAME_LENGTH = 28 | 0 |
{'name': '_search_coarse@source/tomopy/recon/rotation.py', 'description': 'Coarse search for finding the rotation center.', 'signature': 'def _search_coarse(sino, smin, smax, ratio, drop, ncore=None):'}</s>{'name': '_calculate_metric@source/tomopy/recon/rotation.py', 'description': 'Metric calculation.', 'code': 'def _... | 1 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'code': 'def render(pieces, style):\n """Rend... | 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': '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_GREATERTHAN = CScriptOp(0xa0) | 0 |
{'name': 'Aioredlock._validate_internal_lock_timeout@aioredlock/algorithm.py', 'description': 'Validate if internal_lock_timeout is greater than 0', 'signature': 'def _validate_internal_lock_timeout(self, attribute, value):'}</s>{'name': 'Lock@aioredlock/lock.py', 'description': 'DOCSTRING', 'base_classes': [], 'method... | 0 |
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>{'name': 'ReceivedEvent@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['EventType'], 'methods': []} | 0 |
{'name': 'BitBoxCommonAPI.get_info@py/bitbox02/bitbox02/communication/bitbox_api_protocol.py', 'description': 'Returns (version, platform, edition, unlocked, initialized).\nThis is useful to get the version of the firmware or the device unlocked/initialized status\nwhen a usb descriptor is not available (via BitBoxBrid... | 0 |
{'name': 'count_velocity@kb_python/count.py', 'description': 'Generates RNA velocity matrices (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n cdna_t2c_path: Path to cDNA transcripts-to-capture file\n intron_t2c_path: Path to intron transcripts-to-... | 1 |
{'name': '_BuildBootableImage@tools/releasetools/common.py', 'description': "Build a bootable image from the specified sourcedir.\n\nTake a kernel, cmdline, and optionally a ramdisk directory from the input (in\n'sourcedir'), and turn them into a boot image. 'two_step_image' indicates if\nwe are building a two-step spe... | 0 |
{'name': 'sub_df@char60/zerotrade.py', 'description': ":param start: the quantile to start cutting, usually it should be 0\n:param end: the quantile to end cutting, usually it should be 1\n:param step: quantile step\n:return: a dictionary including all the 'firm_list' dataframe and 'stock data' dataframe", 'signature':... | 1 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>LOG_ALERT = 1 | 0 |
{'name': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'p_conditional_expression@ctypesgen/parser/cgrammar.py', 'description': 'conditional_expression : logical_or_expression\n| l... | 0 |
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im... | 0 |
{'name': 'DonutModel.plot_results@loudml/donut.py', 'description': '# Arguments:\n models (tuple): encoder and decoder models\n data (tuple): test data and label\n model_name (string): which model is using this function', 'signature': 'def plot_results('}</s>{'name': 'ModelNotFound@loudml/errors.py', 'descript... | 0 |
{'name': 'to_aqi@aqi/__init__.py', 'description': 'Calculate the AQI based on a list of pollutants\n\n:param ccs: a list of tuples of pollutants concentrations with\n pollutant constant and concentration as values\n:type ccs: list\n:param algo: algorithm module name\n:type algo: str', 'signature': 'def to_aq... | 0 |
{'name': 'Cdf.__init__@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Initializes.\n\nIf ps is provided, obj must be the corresponding list of values.\n\nobj: Hist, Pmf, Cdf, Pdf, dict, pandas Series, list of pairs\nps: list of cumulative probabilities\nlabel: string label', 'signature': 'def __init__(self, o... | 0 |
{'name': 'determine_version_to_include_in_release@extra/release_tool.py', 'description': 'Returns True if the user decided on the component, False if the user\nskips the decision for later', 'signature': 'def determine_version_to_include_in_release(state, repo):'}</s>GITLAB_JOB = "projects/Northern.tech%2FMender%2Fmend... | 0 |
{'name': 'EntriesMaintainer.update_readme_tocs@code/maintenance_entries.py', 'description': 'Recounts entries in sub categories and writes them to the readme.\nAlso updates the _toc files in the categories directories.\n\nNote: The Readme must have a specific structure at the beginning, starting with "# Open Source Gam... | 0 |
{'name': 'get_objects_for_user@guardian/shortcuts.py', 'description': "Get objects that a user has *all* the supplied permissions for.\n\nParameters:\n user (User | AnonymousUser): user to check for permissions.\n perms (str | list[str]): permission(s) to be checked.\n If `klass` parameter is not given, th... | 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': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'View._repr_mimebundle_@src/higlass/api.py', 'description': '"Displays the view in an IPython environment.', 'signature': 'def _repr_mimebundle_(self, include=None, exclude=None):'}</s>{'name': 'PluginTrack@src/higlass/api.py', 'description': 'Represents an unknown plugin track.', 'base_classes': ['hgs.BaseTra... | 0 |
{'name': 'ProcessLine@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a l... | 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': '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': 'CivisAsyncResultBase._state@src/civis/base.py', 'description': 'State of the CivisAsyncResultBase in `future` language.', 'signature': 'def _state(self):'}</s>FINISHED = ["success", "succeeded"] | 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': 'copy_ctypes@capstone/bindings/python/capstone/__init__.py', 'description': 'Returns a new ctypes object which is a bitwise copy of an existing one', 'signature': 'def copy_ctypes(src):'}</s>{'name': '_load_lib@capstone/bindings/python/capstone/__init__.py', 'description': 'DOCSTRING', 'code': 'def _load_lib(p... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMDI_CMDSCOPE_GENERATED = 2 | 0 |
{'name': 'BuildFailureRecord.commit_and_push_changes@bioconda_utils/build_failure.py', 'description': 'Commit and push any changes, including removal of the record.', 'signature': 'def commit_and_push_changes(self):'}</s>{'name': '_load_platform_metas@bioconda_utils/utils.py', 'description': 'DOCSTRING', 'code': 'def _... | 0 |
{'name': '_nested_lookup@src/libs/util.py', 'description': 'Lookup a key in a nested document, yield a value', 'signature': 'def _nested_lookup(key, values, document, wild=False, return_parent=False):'}</s>{'name': '_wrapper_func_stdout_listen_error@src/libs/util.py', 'description': 'DOCSTRING', 'code': 'def _wrapper_f... | 0 |
{'name': 'str_to_timedelta@src/rororo/timedelta.py', 'description': 'Convert string value to timedelta instance according to the given format.\n\nIf format not set function tries to load timedelta using default\n``TIMEDELTA_FORMAT`` and then both of magic "full" formats.\n\nYou should also specify list of formats and f... | 1 |
{'name': 'get_int_property@serial/tools/list_ports_osx.py', 'description': 'Search the given device for the specified string property\n\n@param device_type Device to search\n@param property String to search for\n@param cf_number_type CFType number\n\n@return Python string containing the value, or None if not found.', '... | 0 |
{'name': 'Metar.runway_visual_range@metar/Metar.py', 'description': 'Return a textual description of the runway visual range.', 'signature': 'def runway_visual_range( self, units=None ):'}</s>PRECIP_1HR_RE = re.compile(r"^P(?P<precip>\d\d\d\d)\s+") | 0 |
{'name': 'compute_loss_on_dataset@notebooks/test_sparse_loss.py', 'description': 'Computes the loss for the given number of iterations\n\n:param dcn:\n:type dcn:\n:param data_loader:\n:type data_loader:\n:param num_iterations:\n:type num_iterations:\n:return:\n:rtype:', 'signature': 'def compute_loss_on_dataset(dcn, da... | 0 |
{'name': 'run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(tmpdir, allow_ips, connect_to, addresses, expected):'}</s>{'nam... | 1 |
{'name': 'test_continuity_interval_facet@test/test_continuity.py', 'description': 'Test that continuity between neighbouring cells of different types.', 'signature': 'def test_continuity_interval_facet(degree, element, variant):'}</s>{'name': 'test_continuity_triangle_facet@test/test_continuity.py', 'description': 'Tes... | 0 |
{'name': 'resolve_rpc_at_end_of_request@src/supporting-files/lock_util.py', 'description': "Call get_result() on this rpc at the end of the current request.\n\nThere's nothing to do this automatically. So if you have an RPC\nthat can take all request long, but you want to make sure finishes\nbefore this request does, ... | 0 |
{'name': 'Unmarshaller._read_header@dbus_next/_private/unmarshaller.py', 'description': 'Read the header of the message.', 'signature': 'def _read_header(self):'}</s>IS_LITTLE_ENDIAN = sys.byteorder == "little" | 1 |
{'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>CONF_FLOW_RATE_SCALE = "flow_rate_scale" | 0 |
{'name': 'main@src/weresync/interface/cli.py', 'description': 'The entry point for the command line function. This uses argparse to\nparse arguments to call call :py:func:`.copy_drive` with. For help use\n"weresync -h" in a commandline after installation.', 'signature': 'def main():'}</s>{'name': '_print_progress_bar@s... | 1 |
{'name': 'eval_one_epoch@semantic_seg_synthia/train_direct.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer, dataset, epoch_cnt):'}</s>{'name': 'train@semantic_seg_synthia/train_direct.py', 'description': 'DOCSTRING', 'code': 'def train():\n with... | 0 |
{'name': 'Metric.compute_through@metrics.py', 'description': 'Precomputes df -> split df and apply compute() -> postcompute.', 'signature': 'def compute_through(self, df, split_by: Optional[List[Text]] = None):'}</s>{'name': 'get_extra_idx@utils.py', 'description': 'Collects the extra indexes added by Operations for th... | 0 |
{'name': 'get_chunk_text_metadata@6_AI-ML/2_gemini_LLM/notebooks/gemini-course/utils/intro_multimodal_rag_utils.py', 'description': '* Extracts text from a given page object, chunks it, and generates embeddings for each chunk.\n* Takes a page object, character limit per chunk, overlap between chunks, and embedding size... | 1 |
{'name': 'RemoteTest.fill_default_arguments@tests/run_all_tests.py', 'description': 'Fills in default arguments for the RemoteTest object.\n\nThis method fills in default arguments for the RemoteTest object based\non the specified test name. It sets default values for test name filters,\nMinIO configurations, Google te... | 0 |
{'name': 'main@swagger_to/bin/swagger_to_py_client.py', 'description': 'Execute the main routine.', 'signature': 'def main() -> None:'}</s>{'name': 'Strdef@swagger_to/py_client.py', 'description': 'Represent a Python string.', 'base_classes': ['Typedef'], 'methods': []} | 0 |
{'name': 'run_training_loop@projects/reinforcement learning/covid19_confounder/utils.py', 'description': 'Trains a neural network policy using policy gradients.\nParameters\n----------\nn_iter: number of training iterations\nmax_episode_length: episode length, up to 400\nbatch_size: number of steps used in each iterati... | 0 |
{'name': 'Table.__init__@src/rust/vendor/unicode-width/scripts/unicode.py', 'description': 'Create a lookup table with a sub-table for each `(Codepoint, EffectiveWidth)` iterator\nin `entry_groups`. Each sub-table is indexed by codepoint bits in `low_bit..cap_bit`,\nand each table entry is represented in the format spe... | 1 |
{'name': 'apply@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'Apply an incremental batch to the target BigQuery table via an asynchronous\nload job or external query.\n\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n success_blob: storage.Bl... | 0 |
{'name': 'Zenodo.upload_file@src/showyourwork/zenodo.py', 'description': 'Upload a file to the latest deposit draft.', 'signature': 'def upload_file(self, file, rule_name, tarball=False):'}</s>{'name': 'get_repo_tag@src/showyourwork/git.py', 'description': 'Return a tag name if the HEAD corresponds to a tagged version.... | 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>{'name': 'AfniXmat@src/python_scripts/afnipy/afni_xmat.py', 'description': 'DOCSTRING', 'base_classes': []... | 0 |
{'name': 'KernelProfiler.get_kernel_profiler_mode@python/taichi/profiler/kernel_profiler.py', 'description': 'Get status of :class:`~taichi.profiler.kernel_profiler.KernelProfiler`.', 'signature': 'def get_kernel_profiler_mode(self):'}</s>{'name': 'set_kernel_profiler_toolkit@python/taichi/profiler/kernel_profiler.py',... | 0 |
{'name': 'Lexer.wrap@third_party/dawn/third_party/jinja2/lexer.py', 'description': 'This is called with the stream as returned by `tokenize` and wraps\nevery token in a :class:`Token` and converts the value.', 'signature': 'def wrap('}</s>TOKEN_SUB = intern("sub") | 0 |
{'name': 'nestedExpr@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pypa... | 0 |
{'name': 'Structure.show@msldap/external/bloodhoundpy/lib/cstruct.py', 'description': 'Pretty print this structure.', 'signature': 'def show(self, indent=0):'}</s>{'name': 'BaseType@msldap/external/bloodhoundpy/lib/cstruct.py', 'description': 'Base class for cstruct type classes.', 'base_classes': ['object'], 'methods'... | 0 |
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>OP_SH_SUCC = 20 | 0 |
{'name': 'CreatorNameMapView.post@metro_map_saver/map_saver/views.py', 'description': 'Allow creators to name / "tag" their maps\n(but not after I\'ve named them)\nAlso prevent subsequent visitors from naming the maps', 'signature': 'def post(self, request, **kwargs):'}</s>{'name': 'parse_map_ids_and_urlhashes@metro_ma... | 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': 'execute_sql@pg_partitioning/shortcuts.py', 'description': 'Execute SQL sequence and returning result.', 'signature': 'def execute_sql(sql_sequence: Union[str, List[str], Tuple[str]], fetch: bool = False) -> Optional[List]:'}</s>{'name': 'set_tablespace@pg_partitioning/shortcuts.py', 'description': 'Set the ta... | 0 |
{'name': 'MultipleChoiceFilterTests.test_filter_conjoined_true@tests/test_filters.py', 'description': 'Tests that a filter with `conjoined=True` returns objects that\nhave all the values included in `value`. For example filter\nusers that have all of these books.', 'signature': 'def test_filter_conjoined_true(self):'}<... | 0 |
{'name': '_create_p2p_link_worker@src/evengsdk/cli/lab/commands.py', 'description': 'Worker for Thread Executor to create p2p links', 'signature': 'def _create_p2p_link_worker(link: Dict, path: str, tasks: List) -> None:'}</s>{'name': '_get_client_session@src/evengsdk/cli/lab/commands.py', 'description': 'DOCSTRING', '... | 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': 'non_max_suppression@utils/utils.py', 'description': "Removes detections with lower object confidence score than 'conf_thres'\nNon-Maximum Suppression to further filter detections.\nReturns detections with shape:\n (x1, y1, x2, y2, object_conf, class_score, class_pred)\nArgs:\n prediction,\n conf_thre... | 0 |
{'name': 'MarkChecker.verify_all_nodes@tests/tools.py', 'description': 'Generically test atok.get_text() on the ast tree: for each statement and expression in the\ntree, we extract the text, parse it, and see if it produces an equivalent tree. Returns the\nnumber of nodes that were tested this way.', 'signature': 'def ... | 0 |
{'name': 'BL3Save.set_max_sdus@bl3save/bl3save.py', 'description': 'Sets the specified SDUs (or all SDUs that we know about) to be at the max level', 'signature': 'def set_max_sdus(self, sdulist=None):'}</s>profile_echothemes_defaults = set([
'/Game/PatchDLC/Heroes/Customizations/EchoTheme_Heroes_1.EchoTheme_Heroes... | 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': 'ApplyResult@src/api/python/z3/z3.py', 'des... | 0 |
{'name': 'split_scopes@info_popup.py', 'description': 'Splits "foo, bar, baz" into ["foo", "bar", "baz"]', 'signature': 'def split_scopes(scopes):'}</s>{'name': 'restore_corrections_regions@symbols.py', 'description': 'DOCSTRING', 'code': "def restore_corrections_regions(views, corrs):\n for view in views:\n ... | 0 |
{'name': 'init@pyprof/nvtx/nvmarker.py', 'description': 'Initialize pyprof and monkey-patch Torch functions', 'signature': 'def init(*args, **kwargs):'}</s>{'name': 'patch_apex_module@pyprof/nvtx/nvmarker.py', 'description': 'Patch all forward/backward/step functions in classes in the given apex module.', 'code': 'def ... | 0 |
{'name': 'NNFOwithBayesianJumps.ode_step@gru_ode_bayes/models.py', 'description': 'Executes a single ODE step.', 'signature': 'def ode_step(self, h, p, delta_t, current_time):'}</s>{'name': 'GRUObservationCell@gru_ode_bayes/models.py', 'description': 'Implements discrete update based on the received observations.', 'ba... | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>{'name': 'divert@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_italic_angle@tests/builder/builder_test.py', 'des... | 0 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': '_prove_html@src/api/python/z3/z3.py', 'description': 'Version of function `prove` that renders HTML.', 'code': 'def _prove_html(claim, show=False, **keywords):... | 0 |
{'name': 'tracer@pyFileFixity/lib/profilers/visual/pycallgraph.py', 'description': 'This is an internal function that is called every time a call is made\nduring a trace. It keeps track of relationships between calls.', 'signature': 'def tracer(frame, event, arg):'}</s>{'name': 'simple_memoize@pyFileFixity/lib/profiler... | 0 |
{'name': 'print_heap@algorithms/models/print_util.py', 'description': 'Print a heap both in array and tree representations', 'signature': 'def print_heap(heap: list[int]):'}</s>{'name': 'ListNode@algorithms/models/list_node.py', 'description': 'Definition for a singly-linked list node', 'base_classes': [], 'methods': [... | 0 |
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'coun... | 0 |
{'name': 'GuiMain.updateMainLabelsConfiguration@guiMain.py', 'description': 'Updates labels with actual amount of items in global lists', 'signature': 'def updateMainLabelsConfiguration(self):'}</s>{'name': 'get_random_color@globalData.py', 'description': 'DOCSTRING', 'code': 'def get_random_color(pastel_factor=0.5):\n... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PFTM_INTERVAL = 15 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMDI_BACKUP_STARTED = 12 | 0 |
{'name': 'dijkstra@lndmanage/lib/pathfinding.py', 'description': 'Wrapper for calculating a shortest path given a weight function.\n\n:param graph: networkx graph\n:param source: find a path from this key\n:param target: to this key\n:param weight: weight function, takes node_from (pubkey from), node_to (pubkey to), ch... | 0 |
{'name': 'CheckBraces@third_party/cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with ... | 0 |
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>MSG_INVALIDATE_REQ = 1 | 0 |
{'name': 'generate_request_id@oslo_context/context.py', 'description': 'Generate a unique request id.', 'signature': 'def generate_request_id() -> str:'}</s>{'name': 'is_user_context@oslo_context/context.py', 'description': 'Indicates if the request context is a normal user.', 'code': 'def is_user_context(context: ty.A... | 0 |
{'name': '_init@third_party/libassimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", ... | 0 |
{'name': 'build_test_project@third-party/draco/src/draco/tools/install_test/test.py', 'description': 'Builds the test application in shared and static configurations.', 'signature': 'def build_test_project():'}</s>DRACO_STATIC_INSTALL_PATH = os.path.join(TEST_SOURCES_PATH,
'_dra... | 0 |
{'name': 'Metric.compute_on_sql_sql_mode@metrics.py', 'description': 'Executes the query from to_sql() and process the result.', 'signature': 'def compute_on_sql_sql_mode(self, table, split_by=None, execute=None):'}</s>{'name': 'SqlComponents@sql.py', 'description': 'Base class for a bunch of SQL components like column... | 0 |
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/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>S_IFBLK = 24576 | 0 |
{'name': 'PercentileNormalizer.after@csbdeep/data/prepare.py', 'description': 'Undo percentile-based normalization to map restored image to similar range as input image.\n\nSee :func:`csbdeep.predict.Normalizer.after` for parameter descriptions.\n\nRaises\n------\nValueError\n If parameter `do_after` was set to ``Fa... | 1 |
{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_maybe@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_maybe():\n s = Schema(Maybe(int))\n... | 0 |
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'TimeMeter@fairseq/logging/meters.py', 'description': 'Computes the average occurrence of some event per second', 'base_classes': ['Meter'], 'methods':... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.