text string | label int64 |
|---|---|
{'name': 'TestInboundESL.test_event_without_handler@tests/test_lib_esl.py', 'description': 'Should not break if receive an event without handler.', 'signature': 'def test_event_without_handler(self):'}</s>{'name': 'InboundESL@greenswitch/esl.py', 'description': 'DOCSTRING', 'base_classes': ['ESLProtocol'], 'methods': [... | 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': 'workspace_users_ls@toggl/cli/commands.py', 'description': 'Lists all users in current workspace and some related information.\n\nID of entries are ID of Workspace User and not User entity!', 'signature': 'def workspace_users_ls(ctx, fields):'}</s>{'name': 'tags_ls@toggl/cli/commands.py', 'description': 'Lists... | 0 |
{'name': 'view_cmap@src/cmasher/utils.py', 'description': 'Shows a simple plot of the provided `cmap`.\n\nParameters\n----------\ncmap : str or :obj:`~matplotlib.colors.Colormap` object\n The registered name of the colormap in :mod:`matplotlib.cm` or its\n corresponding :obj:`~matplotlib.colors.Colormap` object.\... | 0 |
{'name': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'split_fastqPE@amptk/amptklib.py', 'description': 'DOCSTRING',... | 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': 'edit_department@app/admin/views.py', 'description': 'Edit a department', 'signature': 'def edit_department(id):'}</s>{'name': 'Department@app/models.py', 'description': 'Create a Department table', 'base_classes': ['db.Model'], 'methods': [{'name': 'Department.__repr__@app/models.py', 'description': 'DOCSTRIN... | 1 |
{'name': 'handle_backlog@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'submit the next item in the _backlog if it is non-empty or clean up the\n_BACKFILL and _bqlock files.\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n bkt: storage.Buck... | 0 |
{'name': 'PSStackParser.nextobject@pdfminer3/psparser.py', 'description': 'Yields a list of objects.\n\nReturns keywords, literals, strings, numbers, arrays and dictionaries.\nArrays and dictionaries are represented as Python lists and dictionaries.', 'signature': 'def nextobject(self):'}</s>NONSPC = re.compile(br'\S') | 0 |
{'name': 'RPCBindTest.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(self, allow_ips, connect_to, addresses, expected):'... | 0 |
{'name': 'PathConverter.convert@util/py_lib/seqan/dox/write_html.py', 'description': 'Return None, None on failure path, title otherwise.', 'signature': 'def convert(self, name):'}</s>{'name': 'RawMainPage@util/py_lib/seqan/dox/raw_doc.py', 'description': 'The main page in the documentation.', 'base_classes': ['RawPage... | 0 |
{'name': 'Registrar.register@comtypes/server/register.py', 'description': 'Register the COM server class.', 'signature': 'def register(self, cls: Type, executable: Optional[str] = None) -> None:'}</s>SHDeleteKey = _shlwapi.SHDeleteKeyW | 0 |
{'name': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce... | 0 |
{'name': '_len_preprocessed_single@src/betterproto/__init__.py', 'description': 'Calculate the size of adjusted values for serialization without fully serializing them.', 'signature': 'def _len_preprocessed_single(proto_type: str, wraps: str, value: Any) -> int:'}</s>{'name': 'serialized_on_wire@src/betterproto/__init_... | 0 |
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 0 |
{'name': 'buildmodule@venv/Lib/site-packages/numpy/f2py/rules.py', 'description': 'Return', 'signature': 'def buildmodule(m, um):'}</s>{'name': 'getargs2@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def getargs2(rout):\n sortargs, args = [], rout.get('args', [])\n auxvars =... | 0 |
{'name': 'takePantiltSequence@source/pi-timolo.py', 'description': 'Take a sequence of images based on a list of pantilt positions and save with\na sequence number appended to the filename', 'signature': 'def takePantiltSequence(filename, daymode, pix_ave, num_count, num_path):'}</s>LOCK_FILEPATH = os.path.join(BASE_DI... | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACH_CHANNEL_START_TIME = 3528 | 0 |
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PF_ROUTETO = 1 | 0 |
{'name': 'init_app@app/extensions/__init__.py', 'description': 'Application extensions initialization.', 'signature': 'def init_app(app):'}</s>api_v1 = Api( # pylint: disable=invalid-name
version='1.0',
title="Flask-RESTplus Example API",
description=(
"It is a [real-life example RESTful API server ... | 0 |
{'name': 'Function.get_parameters@sqlparse/sql.py', 'description': 'Return a list of parameters.', 'signature': 'def get_parameters(self):'}</s>{'name': 'Command@sqlparse/sql.py', 'description': 'Grouping of CLI commands.', 'base_classes': ['TokenList'], 'methods': []} | 0 |
{'name': 'plot_sounding_axes@pymeteo/skewt.py', 'description': 'Plots Skew-T/Log-P axes\n\nThis will plot isotherms, isobars, dry and moist adiabats, \nlines of constant water vapor mixing ratio, labels and \nsetup the y axes to be reversed.\n\n:paramter axes: The axes to draw on', 'signature': 'def plot_sounding_axes(... | 0 |
{'name': 'fillAvailableBlenderDists@BlendNet/addon.py', 'description': 'Cached blender dists list for the UI interface', 'signature': 'def fillAvailableBlenderDists(scene = None, context = None):'}</s>{'name': 'getResources@BlendNet/addon.py', 'description': 'Cached provider allocated resources', 'code': "def getResour... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CLUSTER_NAME_CONFLICT = 3088 | 0 |
{'name': 'uhstack@unyt/array.py', 'description': 'Stack arrays in sequence horizontally while preserving units\n\nThis is a wrapper around np.hstack that preserves units.\n\nExamples\n--------\n>>> from unyt import km\n>>> a = [1, 2, 3]*km\n>>> b = [2, 3, 4]*km\n>>> print(uhstack([a, b])) # doctest: +IGNORE_EXCEPTION_D... | 0 |
{'name': 'NanopbGenerator.run@scripts/nanopb/proto_generator.py', 'description': 'Performs the action of the generator.', 'signature': 'def run(self):'}</s>{'name': 'mkdir@scripts/nanopb/proto_generator.py', 'description': 'DOCSTRING', 'code': 'def mkdir(dirname):\n if not os.path.isdir(dirname):\n os.makedir... | 1 |
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>payment_failed_1 = "Le paiement a échoué!" | 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': 'isa_c@riscvmodel/isa.py', 'description': 'Decorator for the instructions. The decorator contains the static information for the\ninstructions, in particular the encoding parameters and the assembler mnemonic.\n\n:param mnemonic: Assembler mnemonic\n:return: Wrapper class that overwrites the actual definition ... | 0 |
{'name': 'Template._addCheetahPlumbingCodeToClass@Cheetah/Template.py', 'description': 'If concreteTemplateClass is not a subclass of Cheetah.Template, add\nthe required cheetah methods and attributes to it.\n\nThis is called on each new template class after it has been compiled.\nIf concreteTemplateClass is not a subc... | 0 |
{'name': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>_FLAGS_QR_MASK = 32768 | 0 |
{'name': 'NewDatabase.write_superstructure_db_to_brightway@premise/new_database.py', 'description': 'Register a super-structure database,\naccording to https://github.com/dgdekoning/brightway-superstructure\n:param name: name of the super-structure database\n:param filepath: filepath of the "scenarios difference file"\... | 0 |
{'name': 'station_text@metro_map_saver/map_saver/templatetags/metromap_utils.py', 'description': 'Generate the SVG text tag for a station based on\n whether it\'s a transfer station, and\n what its orientation is.\n\nOrientations where the text is on the left:\n text-anchor: "end" and x - .75 (or 1.5 for xfer)... | 0 |
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n... | 0 |
{'name': 'cleanup_properties@skosify/skosify.py', 'description': 'Remove unnecessary property definitions.\n\nRemoves SKOS and DC property definitions and definitions of unused\nproperties.', 'signature': 'def cleanup_properties(rdf):'}</s>{'name': 'transform_sparql_update@skosify/skosify.py', 'description': 'Perform a... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_PUT_APPL_NAME_LENGTH = 28 | 0 |
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>hook = make_default_app_w... | 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': 'Core.start_receivers@lib/analysis/Core.py', 'description': 'Start handler that handles the devices interactions\n:param module:\n:return:', 'signature': 'def start_receivers(self, module):'}</s>{'name': 'Database@lib/model/database/Database.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'na... | 0 |
{'name': 'V2Api.get_tasks_with_http_info@scaleapi/api_client/v2/api/v2_api.py', 'description': "Get Multiple Tasks\n\nRetrieve multiple [Tasks](/core-resources/task) from a [Project](/core-resources/project) or [Batch](/core-resources/batch).\n\n:param project_id: Scale's unique identifier for the project.\n:type proje... | 1 |
{'name': 'tmp_chdir@dependencies/pybind11/pybind11/setup_helpers.py', 'description': 'Prepare and enter a temporary directory, cleanup when done', 'signature': 'def tmp_chdir() -> Iterator[str]:'}</s>CCompilerMethod = Callable[
[
distutils.ccompiler.CCompiler,
List[str],
Optional[str],
... | 0 |
{'name': 'MatchListener.exitPropTestLike@stix2matcher/matcher.py', 'description': "Consumes an observation data map, {obs_id: {...}, ...}, representing\n selected values from Cyber Observable objects in each observation\n (grouped by observation index and root Cyber Observable object ID).\n See exitObjectPath().\nPr... | 1 |
{'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>MQROUTE_DELIVER_REJ_UNSUP_MASK = 4294901760 | 0 |
{'name': 'ensure_core@jupyterlab/commands.py', 'description': 'Ensure that the core assets are available.', 'signature': 'def ensure_core(logger=None):'}</s>REPO_ROOT = osp.abspath(osp.join(HERE, "..")) | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'GridX509Certificate@infoblox_client/objects.py', 'description': "GridX509Certificate: X509Certificate object.\nCorresponds to WAPI object 'grid:x509certificate'\n\nIn the X.50... | 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': 'GTestHelpTest.test_prints_help_with_full_flag@googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.', 'signature': 'def test_prints_help_with_full_flag(self)... | 0 |
{'name': 'IrokoTopo._install_proactive@dc_gym/topos/topo_dumbbell.py', 'description': 'Install proactive flow entries for the switch.', 'signature': 'def _install_proactive(self):'}</s>{'name': 'kill_processes@dc_gym/utils.py', 'description': 'DOCSTRING', 'code': 'def kill_processes(procs, use_sigkill=False):\n if n... | 0 |
{'name': 'Datasets.add_dataset@testrail_api/_category.py', 'description': 'Creates a new dataset.\n:param project_id: int\n The ID of the project to which the dataset should be added\n:param id: int\n The database ID of the dataset\n:param name: str\n Name of the dataset as provided\n:param variables: List[dic... | 0 |
{'name': 'compare_recursive_mtime@jupyter_packaging/setupbase.py', 'description': 'Compare the newest/oldest mtime for all files in a directory.\n\nCutoff should be another mtime to be compared against. If an mtime that is\nnewer/older than the cutoff is found it will return True.\nE.g. if newest=True, and a file in pa... | 0 |
{'name': '_exception_closes_worker_guard@gp_query.py', 'description': 'Temporarily closes _multi_query for current worker.\n\nThis is a workaround for SCOOP\'s map otherwise having already dispatched\nfurther work to this worker, despite an exception of a previous _multi_query\nnot being handled in origin yet.\n\nAn ex... | 0 |
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>TYPE_TO_BYTE_SIZE_FN = {
_FieldDescriptor.TYPE_DOUBLE: wire_format.DoubleByteSize,
_FieldDesc... | 0 |
{'name': '_read_esmf@uxarray/io/_esmf.py', 'description': 'Reads in an Xarray dataset containing an ESMF formatted Grid dataset and\nencodes it in the UGRID conventions.\n\nAdheres to the ESMF Unstructrued Grid Format (ESMFMESH) outlined in the ESMF documentation:\nhttps://earthsystemmodeling.org/docs/release/latest/ES... | 1 |
{'name': 'populate_intended_for@heudiconv/bids.py', 'description': "Adds the 'IntendedFor' field to the fmap .json files in a session folder.\nIt goes through the session folders and for every json file, it finds\ncompatible_fmaps: fmaps that have the same matching_parameters as the json\nfile (e.g., same 'Shims').\n\n... | 1 |
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_ci_update_ai_queue@ut/test.py', 'description': '更新ai队列信息', 'code': 'def test_ci_update_ai_queue():\n """更新ai队列信息"""\n if TEST_CI != \'true\':\n r... | 0 |
{'name': 'save_libsvm@kaggler/data_io.py', 'description': 'Save data as a LibSVM file.\n\nArgs:\n X (numpy or scipy sparse matrix): Data matrix\n y (numpy array): Target vector.\n path (str): Path to the CSV file to save data.', 'signature': 'def save_libsvm(X, y, path):'}</s>{'name': 'save_obj@kaggler/data_io... | 0 |
{'name': 'locust_program@transformer/locust.py', 'description': 'Converts a ScenarioGroup into a Locust File.', 'signature': 'def locust_program(scenarios: Sequence[Scenario]) -> py.Program:'}</s>{'name': 'Scenario@transformer/scenario.py', 'description': 'A web browsing session that we want to emulate, i.e. a sequence... | 1 |
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no... | 0 |
{'name': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'ascond@wittgenstein/base.py', 'description': 'Return a Cond from a str or Cond', 'code': 'def ascond(obj):\n """Return a Cond from a str or Cond"""\n ... | 0 |
{'name': 'add_multi_constructor@strictyaml/ruamel/main.py', 'description': 'Add a multi-constructor for the given tag prefix.\nMulti-constructor is called for a node if its tag starts with tag_prefix.\nMulti-constructor accepts a Loader instance, a tag suffix,\nand a node object and produces the corresponding Python ob... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRCCF_APPL_STATUS_NOT_FOUND = 4097 | 0 |
{'name': 'TestBrierScore.test@verif/tests/test_metric.py', 'description': "These have been checked against the Brier scores in the verification R package. The 'bins'\nattribute was set to False, and the code had to be changed because it didn't work for cases\nwhere forecasts were not equal to whole 1/10ths (i.e. 0.1, 0... | 0 |
{'name': 'TestControlledDict.test_frozen_like@tests/test_collections.py', 'description': 'Make sure add and update are allowed at init time.', 'signature': 'def test_frozen_like(self):'}</s>{'name': 'TestControlledDict@tests/test_collections.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Tes... | 1 |
{'name': 'Board._heal@rts/src/Board.py', 'description': 'Actor heals actor on other coordinate\n:param x: coordinate of actor executing heal action\n:param y: oordinate of actor executing heal action\n:param n_x: coordinate of actor that will receive heal\n:param n_y: coordinate of actor that will receive heal\n:param ... | 0 |
{'name': 'PythonTypeObjectFunctionPrototype.GetDataTypeDescription@yaldevtools/source_code.py', 'description': 'Retrieves the data type description.\n\nReturns:\n str: data type description.', 'signature': 'def GetDataTypeDescription(self):'}</s>FUNCTION_TYPE_COPY_TO = "copy_to" | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_SECURITY_PROFILE = 3090 | 0 |
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>{'name': 'skipIftvOS@tools/lldb/packages/Python/lldbsuite/test/decorators.py... | 0 |
{'name': 'get_page_from_string_or_id@pages/templatetags/pages_tags.py', 'description': 'Return a Page object from a slug or an id.', 'signature': 'def get_page_from_string_or_id(page_string, lang=None):'}</s>show_revisions = register.inclusion_tag(
'pages/revisions.html',
takes_context=True)(show_revisions) | 0 |
{'name': 'Model.save_samples@musegan/bmusegan/models.py', 'description': 'Save samples to an image file (and a MIDI file).', 'signature': 'def save_samples(self, filename, samples, save_midi=False, shape=None,'}</s>{'name': 'save_midi@musegan/utils/midi_io.py', 'description': 'Save a batch of phrases to a single MIDI f... | 1 |
{'name': 'connect@pyngrok/ngrok.py', 'description': 'Establish a new ``ngrok`` tunnel for the given protocol to the given port, returning an object representing\nthe connected tunnel.\n\nIf a `tunnel definition in ngrok\'s config file\n<https://ngrok.com/docs/agent/config/v2/#tunnel-configurations>`_ matches the given\... | 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': 'to_band@eoreader/bands/__init__.py', 'description': 'Convert a string (or real value) to any alias, band or index.\n\nYou can pass the name or the value of the bands.\n\nArgs:\n to_convert (Union[list, BandNames, str]): Values to convert into band objects\n as_list (bool): Return the result as a list\n\... | 1 |
{'name': 'tracker.track@goturn/tracker/tracker.py', 'description': 'TODO: Docstring for tracker.\n:returns: TODO', 'signature': 'def track(self, image_curr, objRegressor):'}</s>{'name': 'cropPadImage@goturn/helper/image_proc.py', 'description': 'TODO: Docstring for cropPadImage.\n:returns: TODO', 'code': 'def cropPadIm... | 1 |
{'name': 'calculate_hidden_flow@experiments/causal_trace.py', 'description': 'Runs causal tracing over every token/layer combination in the network\nand returns a dictionary numerically summarizing the results.', 'signature': 'def calculate_hidden_flow('}</s>{'name': 'trace_with_repatch@experiments/causal_trace.py', 'd... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQQDT_PERMANENT_DYNAMIC = 2 | 0 |
{'name': '_dot_product@torchdiffeq/torchdiffeq/_impl/misc.py', 'description': 'Calculate the vector inner product between two lists of Tensors.', 'signature': 'def _dot_product(xs, ys):'}</s>{'name': '_check_inputs@torchdiffeq/torchdiffeq/_impl/misc.py', 'description': 'DOCSTRING', 'code': "def _check_inputs(func, y0, ... | 0 |
{'name': 'plot_sounding_axes@pymeteo/skewt.py', 'description': 'Plots Skew-T/Log-P axes\n\nThis will plot isotherms, isobars, dry and moist adiabats, \nlines of constant water vapor mixing ratio, labels and \nsetup the y axes to be reversed.\n\n:paramter axes: The axes to draw on', 'signature': 'def plot_sounding_axes(... | 0 |
{'name': 'add_translation_fields@modeltranslation/translator.py', 'description': 'Monkey patches the original model class to provide additional fields for\nevery language.\n\nAdds newly created translation fields to the given translation options.', 'signature': 'def add_translation_fields(model: type[Model], opts: Tran... | 0 |
{'name': 'pollardLambda@2020/Crypto/bakflip/Admin/exploit.py', 'description': 'input\n@Y: Pubkey\n@G: Generator\n@d: Msbits for recovered secret_multiplier\n\nOUTPUT\n@secret_multiplier as the output of pollardLambda algo.', 'signature': 'def pollardLambda(Y: Point, G: Point, d: int, lsb_mask: int) -> int:'}</s>r = pro... | 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': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_DESCRIBE... | 0 |
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou... | 0 |
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_SPEED = "speed" | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'taproot_construct@test/functional/test_framework/script.py', 'description': 'Construct a tree of Taproot spending conditions\n\npubkey: a 32-byte xonly pubkey for the internal pubkey (bytes)\nscripts: a list of items; each item is either:\n - a (name, CScript or bytes, leaf version) tuple\n - ... | 0 |
{'name': 'translate@joeynmt/prediction.py', 'description': "Interactive translation function.\nLoads model from checkpoint and translates either the stdin input or asks for\ninput to translate interactively. Translations and scores are printed to stdout.\nNote: The input sentences don't have to be pre-tokenized.\n\n:pa... | 1 |
{'name': 'test_rollup_10000@tests/system_tests/test_brew_rollup.py', 'description': 'Test that basic cli works.', 'signature': 'def test_rollup_10000(rollup_src_dirs, suffix, tmp_path):'}</s>{'name': 'CSVFileReader@mokapot/tabular_data/csv.py', 'description': 'A tabular data reader for reading CSV files.\n\nTechnically... | 0 |
{'name': 'GDAL2Tiles.open_input@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Initialization of the input raster, reprojection if necessary', 'signature': 'def open_input(self) -> None:'}</s>tmsMap = {} | 1 |
{'name': 'control_write_defaults@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Write default control values', 'signature': 'def control_write_defaults():'}</s>write_new_packets = False | 0 |
{'name': 'mutate_fix_var_filter@gp_learner.py', 'description': 'Filters results of fix var mutation in-place.\n\nExcludes:\n- too long literals\n- URIs with encoding errors (real world!)\n- BNode results (they will not be fixed but stay SPARQL vars)\n- NaN or INF literals (Virtuoso bug\n https://github.com/openlink/... | 0 |
{'name': 'Fingerprint.plot_barcode@prolif/fingerprint.py', 'description': 'Generate and display a :class:`~prolif.plotting.barcode.Barcode` plot from\na fingerprint object that has been used to run an analysis.\n\nParameters\n----------\nfigsize: tuple[int, int] = (8, 10)\n Size of the matplotlib figure.\ndpi: int =... | 1 |
{'name': 'serialise_key@amulet_map_editor/api/wx/util/key_config.py', 'description': 'Get the serialised version of the key that was pressed/released.', 'signature': 'def serialise_key(evt: Union[wx.KeyEvent, wx.MouseEvent]) -> Optional[KeyType]:'}</s>PageDown = "PAGE_DOWN" | 0 |
{'name': 'test_socketutils_netstring@tests/test_socketutils.py', 'description': 'A holistic feature test of BufferedSocket via the NetstringSocket\nwrapper. Runs', 'signature': 'def test_socketutils_netstring():'}</s>{'name': 'NetstringMessageTooLong@boltons/socketutils.py', 'description': "NetstringMessageTooLong is r... | 1 |
{'name': 'Downloader.video@tcd/downloader.py', 'description': 'Download chat from video\n:param video: Video object\n:return: None', 'signature': 'def video(self, video: Video) -> None:'}</s>{'name': 'Logger@tcd/logger.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Logger.__init__@tcd/logger... | 1 |
{'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': 'FairseqTask.build_generator@fairseq/tasks/fairseq_task.py', 'description': 'Build a :class:`~fairseq.SequenceGenerator` instance for this\ntask.\n\nArgs:\n models (List[~fairseq.models.FairseqModel]): ensemble of models\n args (fairseq.dataclass.configs.GenerationConfig):\n configuration object (... | 0 |
{'name': 'resnet18@siim_acr/src/layers/backbone/resnet.py', 'description': 'Constructs a ResNet-18 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet18(pretrained=False, **kwargs):'}</s>{'name': 'resnet34@siim_acr/src/layers/backbone/resnet.py', 'descript... | 0 |
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>VALID_FILTERS = OPT_M_FILTERS ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.