text
string
label
int64
{'name': 'getUserPath@example/STM32F051K4/ideScripts/utilities.py', 'description': 'Get path or command from user (by entering path in terminal window).\nRepeated as long as user does not enter a valid path or command to file/folder/executable.', 'signature': 'def getUserPath(pathName):'}</s>{'name': 'getPython3Executa...
0
{'name': 'timedifference@code/link_coref.py', 'description': 'compute difference of time between two mentions', 'signature': 'def timedifference(pubdate,events,eventid1,eventid2):'}</s>{'name': 'strdist@code/link_coref.py', 'description': 'distance between two strings', 'code': 'def strdist(str1,str2):\n """distance...
0
{'name': 'test_create_with_duplicate_dimensions@unyt/tests/test_units.py', 'description': 'Create units with overlapping dimensions. Ex: km/Mpc.', 'signature': 'def test_create_with_duplicate_dimensions():'}</s>m_per_km = 1.0 / km_per_m
1
{'name': 'ThermalComfortOptionsFlow.__init__@custom_components/thermal_comfort/config_flow.py', 'description': 'Initialize options flow.', 'signature': 'def __init__(self, config_entry):'}</s>{'name': 'ThermalComfortOptionsFlow@custom_components/thermal_comfort/config_flow.py', 'description': 'Handle options.', 'base_c...
1
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<...
0
{'name': 'HindcastEnsemble.add_uninitialized@src/climpred/classes.py', 'description': 'Add a companion uninitialized ensemble for comparison to verification data.\n\nArgs:\n uninit: uninitialzed ensemble.', 'signature': 'def add_uninitialized('}</s>{'name': 'xclim_sdba@src/climpred/bias_removal.py', 'description': '...
0
{'name': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/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>{'...
0
{'name': 'standardize_cell@python/spglib/spglib.py', 'description': 'Return standardized cell. When the search failed, ``None`` is returned.\n\nParameters\n----------\ncell, symprec, angle_tolerance:\n See the docstring of get_symmetry.\nto_primitive : bool\n If True, the standardized primitive cell is created.\n...
0
{'name': 'follow_device@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Follow the selected device', 'signature': 'def follow_device(sniffer, device):'}</s>{'name': 'devices_cleared@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Devices have been cleared', 'code': 'def devices_cleared(notif...
0
{'name': 'dict@ring/func/asyncio.py', 'description': ':class:`dict` interface for :mod:`asyncio`.\n\n:see: :func:`ring.func.sync.dict` for common description.', 'signature': 'def dict('}</s>{'name': 'shared_lock@ring/func/asyncio.py', 'description': 'DOCSTRING', 'code': 'def shared_lock():\n global _shared_lock\n ...
0
{'name': 'Uda_lightweight.generate_descriptors@src/scripts/uda2xmf.py', 'description': '!\n@brief Generates h5 and xmf files in order.\n\n@param h5_handle handle of the opened h5 file\n@param xmf_handle handle of the opened xmf file\n@return None', 'signature': 'def generate_descriptors(self, h5_handle, xmf_handle):'}<...
0
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h...
0
{'name': '_format_compatibility_errors@jupyterlab/commands.py', 'description': 'Format a message for compatibility errors.', 'signature': 'def _format_compatibility_errors(name, version, errors):'}</s>{'name': 'pjoin@jupyterlab/commands.py', 'description': 'Join paths to create a real path.', 'code': 'def pjoin(*args):...
0
{'name': 'HighControlInterface.write_static_movie@xled/control.py', 'description': 'Writes movie of single color\n\n:param file_obj: file-like object to write movie to.\n:param int size: numbers of triples (RGB) to write to.\n:param red: integer between 0-255 representing red color\n:param green: integer between 0-255 ...
0
{'name': 'TrainCtx._on_backward@persia/ctx.py', 'description': "Update the embeddings' gradients\n\nArguments:\n loss_scale (float): the loss that scaled by GradScalar, loss_scale always equal\n to 1 for cpu training scenes.\n embedding_gradient_check_frequency (int): the frequency to check gradient finite...
0
{'name': 'PrefsUI._store_prefs@burpui/api/prefs.py', 'description': 'Store the prefs if persistent storage is enabled', 'signature': 'def _store_prefs(self, key, val):'}</s>{'name': 'BUIServer@burpui/engines/server.py', 'description': 'The :class:`burpui.engines.server.BUIServer` class provides the ``Burp-UI`` server.'...
0
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>{'name': 'SocketIO@shingetsu/node.py', 'description': 'Wrapper for SimpleGzipFile and URLopener.\n ', 'base_classes': [], 'methods': [{'name': 'SocketIO.__init__@shingetsu/node.py', 'des...
0
{'name': 'NodeRedTime.update_discovery_config@custom_components/nodered/time.py', 'description': 'Update the entity config.', 'signature': 'def update_discovery_config(self, msg):'}</s>EVENT_VALUE_CHANGE = "value_change"
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': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>docroot = _get_value(_extconf, 'Path', 'docroot', './www', 'path')
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...
0
{'name': 'download@ytmdl/core.py', 'description': 'Download the song by using the passed link.\n\nThe song will be saved with the passed title.\nReturn the saved path of the song.', 'signature': 'def download(link, yt_title, args) -> str:'}</s>{'name': 'escape_quotes@ytmdl/stringutils.py', 'description': 'DOCSTRING', '...
0
{'name': 'YoloLoss.__init__@train/detector/yolo/backend/loss.py', 'description': '# Args\n grid_size : int\n batch_size : int\n anchors : list of floats\n nb_box : int\n nb_class : int\n true_boxes : Tensor instance', 'signature': 'def __init__(self,'}</s>BOX_IDX_Y = 1
0
{'name': 'LpAffineExpression.asCplexVariablesOnly@pulp/pulp.py', 'description': 'helper for asCplexLpAffineExpression', 'signature': 'def asCplexVariablesOnly(self, name: str):'}</s>LpSolution = { LpSolutionNoSolutionFound: "No Solution Found", LpSolutionOptimal: "Optimal Solution Found", LpSolutionIntegerF...
0
{'name': 'Controller.get_selected_configs@tools/ipp_custom_library_tool_python/gui/controller.py', 'description': 'Collecting all user-specified information about future dynamic library into dictionary', 'signature': 'def get_selected_configs(self):'}</s>WINDOWS = "Windows"
0
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>_SLOW_DOWN_TIME = user_input.KEY_MINUS
0
{'name': 'Cache.search@shingetsu/cache.py', 'description': 'Search node from network and get records.', 'signature': 'def search(self, searchlist=None, myself4=None, myself6=None):'}</s>max_connection = _get_value(_extconf, 'Network', 'max_connection', 20, 'int')
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': 'ParseArguments@ament_cpplint/ament_cpplint/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)...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQBACF_LAST_USED = 7039
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': 'cli_progress_bar@versatileimagefield/image_warmer.py', 'description': "Prints out a Yum-style progress bar (via sys.stdout.write).\n`start`: The 'current' value of the progress bar.\n`end`: The '100%' value of the progress bar.\n`bar_length`: The size of the overall progress bar.\n\nExample output with start=...
0
{'name': 'IDispatch.Invoke@comtypes/automation.py', 'description': 'Invoke a method or property.', 'signature': 'def Invoke(self, dispid: int, *args: Any, **kw: Any) -> Any:'}</s>VT_STREAM = 66
0
{'name': 'SimulateNARMAX.simulate@sysidentpy/simulation/_simulation.py', 'description': "Simulate the response of a NARMAX model based on user-defined parameters.\n\nThis method simulates the system's response using a predefined model structure\n(`model_code`) and estimated parameters (`theta`). It allows for both\ntra...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'IUSequence.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load sequence data from the configuration', 'signature': 'def load(self, config: OrderedDict) -> "IUSequence":'}</s>CONF_ENTITY_BASE = "entity_base"
0
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'DatasetDialog@picasso/gui/render.py', 'description': 'A class to handle the Dataset...
0
{'name': 'find_meta@python-shell/setup.py', 'description': 'Extract __*meta*__ from META_FILE.', 'signature': 'def find_meta(meta):'}</s>extras_require = { "requests": ["requests>=2.4.0"] }
0
{'name': 'VersatileImageFieldBaseTestCase.tearDownClass@tests/tests.py', 'description': 'Delete files made by VersatileImageFields during tests.', 'signature': 'def tearDownClass(cls):'}</s>{'name': 'validate_ppoi_tuple@versatileimagefield/validators.py', 'description': 'Validates that a tuple (`value`)...\n...has a le...
0
{'name': 'Camera.getObjectLength@cameratransform/camera.py', 'description': 'Calculate the length of objects in the image, assuming the Z position of the objects is known, e.g. they are\nassumed to lie flat on the Z=0 plane.\n\nParameters\n----------\npoint_front : ndarray\n the positions of the front end, dimension...
0
{'name': 'render@blender_kitti/cli.py', 'description': ' ', 'signature': 'def render(python, background, render_config: typing.Union[str, None], filenames):'}</s>{'name': 'process_file@blender_kitti/cli.py', 'description': 'DOCSTRING', 'code': 'def process_file(filename: str, scene=None):\n tasks, global_config =...
0
{'name': 'TestConfigBase.tearDown@test/test_config.py', 'description': 'Test case common fixture teardown.', 'signature': 'def tearDown(self):'}</s>{'name': 'get_expected_config@test/test_config.py', 'description': 'Return a dict with the values that should be set by a config file.', 'code': "def get_expected_config(op...
0
{'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...
0
{'name': 'SpeechLSTMModel.build_model@espresso/models/speech_lstm.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'move_to_cuda@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def move_to_cuda(sample, device=None):\n device = device or torch.cu...
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': 'user@backend-tests/tests/test_aws_iotcore.py', 'description': 'Create Mender user and create an AWS IoT Core integration in iot-manager using the connection string.', 'signature': 'def user(clean_mongo) -> Optional[User]:'}</s>URL_PASSWORD_RESET_START = "/auth/password-reset/start"
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': 'edit_roster@rosters/views.py', 'description': 'Edit Roster View.', 'signature': 'def edit_roster(request):'}</s>{'name': 'ShiftRuleRoleDeleteView@rosters/views.py', 'description': 'Shift Rule Role Delete View.', 'base_classes': ['LoginRequiredMixin', 'PermissionRequiredMixin', 'DeleteView'], 'methods': []}
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCA_Q_MGR_NAME = 2015
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'register@gef.py', 'description': 'DOCSTRING'...
0
{'name': 'BaseHubConnection.on_close@signalrcore/hub/base_hub_connection.py', 'description': 'Configures on_close connection callback.\n It will be raised on connection closed event\nconnection.on_close(lambda: print("connection closed"))\nArgs:\n callback (function): function without params', 'signature': 'def o...
0
{'name': 'get_reader@meza/io.py', 'description': "Gets the appropriate reader for a given file extension.\n\nArgs:\n extension (str): The file extension.\n\nReturns:\n func: The file reading function\n\nSee also:\n `meza.io.read`\n\nRaises:\n TypeError: If unable to find a suitable reader.\n\nExamples:\n ...
0
{'name': 'init_config@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_database.py', 'description': 'get config from environment\n ', 'signature': 'def init_config():'}</s>{'name': 'create_table_command@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_datab...
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': 'display_sidebar@src/penn_chime/view/st_display.py', 'description': "Initializes the UI in the sidebar. These function calls create input elements, and bind the values they are set to\nto the appropriate variables. It's similar to Ember or Angular, if you are familiar with those frameworks.", 'signature': 'def...
1
{'name': 'assert_invalid_dimensions@tests/helpers.py', 'description': 'Assert an invalid resolution raises a\n:py:class:`luma.core.error.DeviceDisplayModeError`.', 'signature': 'def assert_invalid_dimensions(deviceType, serial_interface, width, height):'}</s>{'name': 'get_reference_image@tests/helpers.py', 'description...
0
{'name': 'TestSettings.test_force_lowercase_tags@tagging/tests/tests.py', 'description': 'Test forcing tags to lowercase. ', 'signature': 'def test_force_lowercase_tags(self):'}</s>{'name': 'TestNormalisedTagListInput@tagging/tests/tests.py', 'description': 'DOCSTRING', 'base_classes': ['TestCase'], 'methods': [{'name'...
0
{'name': 'version_tnf@strictyaml/ruamel/compat.py', 'description': 'return True if strictyaml.ruamel version_info < t1, None if t2 is specified and bigger else False', 'signature': 'def version_tnf(t1, t2=None):'}</s>{'name': 'check_anchorname_char@strictyaml/ruamel/compat.py', 'description': 'DOCSTRING', 'code': 'def ...
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_110 = Badge("viol...
0
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>KEY_4 = 52
0
{'name': 'TBDeviceMqttClient.send_attributes@tb_device_mqtt.py', 'description': 'Send attributes to ThingsBoard. The attributes can be a single dictionary or a list of dictionaries.', 'signature': 'def send_attributes(self, attributes, quality_of_service=None, wait_for_publish=True):'}</s>ATTRIBUTES_TOPIC = "v1/devices...
1
{'name': 'AGraph.draw@pygraphviz/agraph.py', 'description': 'Output graph to path in specified format.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the draw command uses libgvc for drawing instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nAn attempt will be made to guess the output fo...
0
{'name': 'Constraints.sanitize_infinities@linopy/constraints.py', 'description': 'Replace infinite values in the constraints with a large value.', 'signature': 'def sanitize_infinities(self) -> None:'}</s>{'name': 'AnonymousScalarConstraint@linopy/constraints.py', 'description': 'Container for anonymous scalar constrai...
0
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>DEFAULT_LOGIN = "player"
0
{'name': 'DarwinLogEventBasedTestBase.do_test@lldb/packages/Python/lldbsuite/test/darwin_log.py', 'description': 'Runs the test inferior, returning collected events.\n\nThis method runs the test inferior to the first breakpoint hit.\nIt then adds a listener for structured data events, and collects\nall events from that...
0
{'name': 'info@ascmhl/commands.py', 'description': 'Prints information from the ASC MHL history\n\n\x08', 'signature': 'def info(verbose, single_file, root_path):'}</s>{'name': 'create@ascmhl/commands.py', 'description': 'Create a new generation for a folder or file(s)\n\n\x08\nThe create command hashes all files given...
0
{'name': 'Setup.clone_kobodocker@helpers/setup.py', 'description': 'Args:\n config (helpers.config.Config)', 'signature': 'def clone_kobodocker(cls, config):'}</s>{'name': 'CLI@helpers/cli.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'CLI.colored_input@helpers/cli.py', 'description': 'DO...
1
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'Lomuser@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classes...
0
{'name': 'DebuggerAPI.do_delete@tools/p4dbg.py', 'description': "Unsets a break point, previously set with the 'break' command: delete(d) <obj_type> <obj_name>", 'signature': 'def do_delete(self, line):'}</s>{'name': 'Msg_Continue@tools/p4dbg.py', 'description': 'DOCSTRING', 'base_classes': ['BasicMsg'], 'methods': []}
0
{'name': 'pam.authenticate@src/backend/api/utils/pam.py', 'description': "username and password authentication for the given service.\n\n Returns True for success, or False for failure.\n\n self.code (integer) and self.reason (string) are always stored and may\n be referenced for the reason why authentication fai...
0
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current 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 any errors found.', ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPL_OS390 = 1
0
{'name': 'WebSocket.close@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Close Websocket object\n\nstatus: status code to send. see STATUS_XXX.\n\nreason: the reason to close. This must be string.\n\ntimeout: timeout until receive a close frame.\n If None, it will wait forever until receive ...
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>_DecodeVarint = _VarintDecoder((1 << 64) - 1, int)
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': 'get_3dinfo_val_list@src/python_scripts/afnipy/afni_util.py', 'description': 'run 3dinfo -val, an...
0
{'name': 'Support.__init__@indeterminatebeam/indeterminatebeam.py', 'description': 'Constructs all the necessary attributes for the Support object.\n\nParameters:\n-----------\ncoord: float\n x coordinate of support on a beam (default unit m) (default 0)\nfixed: tuple of 3 booleans\n Degrees of freedom that are f...
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': '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': 'Project.fn@signac/project.py', 'description': 'Prepend a filename with the project path.\n\nParameters\n----------\nfilename : str\n The name of the file.\n\nReturns\n-------\nstr\n The absolute path of the file.', 'signature': 'def fn(self, filename):'}</s>JOB_ID_REGEX = re.compile(f"[a-f0-9]{{{JOB_ID_...
0
{'name': 'info_for_entire_history@ascmhl/commands.py', 'description': 'ROOT_PATH: the root path to use for the asc mhl history', 'signature': 'def info_for_entire_history(root_path, verbose):'}</s>{'name': 'hash_of_hash_list@ascmhl/hasher.py', 'description': "computes and returns a new hash string from a given list of ...
0
{'name': 'TestBloomFilterOnDisk.test_bfod_jaccard_diff@tests/bloom_test.py', 'description': 'make sure checking for different bloom filters on disk works jaccard', 'signature': 'def test_bfod_jaccard_diff(self):'}</s>{'name': 'BloomFilterOnDisk@probables/blooms/bloom.py', 'description': 'Simple Bloom Filter implementat...
1
{'name': 'MapperTest.test_holiday_mode@tests/test_mapper.py', 'description': 'Test map holiday mode.', 'signature': 'def test_holiday_mode(self) -> None:'}</s>{'name': 'map_zone@pymultimatic/model/mapper.py', 'description': 'Map *zones*.', 'code': 'def map_zone(raw_zone) -> Optional[Zone]:\n """Map *zones*."""\n ...
0
{'name': 'OptimRegime.adjust@optim.py', 'description': "adjusts optimizer according to a setting dict.\ne.g: setting={optimizer': 'Adam', 'lr': 5e-4}", 'signature': 'def adjust(self, setting):'}</s>_OPTIMIZERS = {name: func for name, func in torch.optim.__dict__.items()}
1
{'name': '_populate_instruction_block@lleaves/compiler/codegen/codegen.py', 'description': 'Generates an instruction_block: loops over all input data and evaluates its chunk of tree_funcs.', 'signature': 'def _populate_instruction_block('}</s>{'name': 'gen_tree@lleaves/compiler/codegen/codegen.py', 'description': 'gene...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPSPROP_RFH2 = 2
0
{'name': 'Printer._print_hdr@tools/hadb.py', 'description': 'Print header.', 'signature': 'def _print_hdr(self) -> None:'}</s>{'name': 'print_time_window@tools/hadb.py', 'description': 'Print time window.', 'code': 'def print_time_window(args: ArgsNamespace) -> None:\n """Print time window."""\n if args.start is ...
0
{'name': '_create_dsmr_protocol@dsmr_parser/clients/protocol.py', 'description': 'Creates a DSMR asyncio protocol.', 'signature': 'def _create_dsmr_protocol(dsmr_version, telegram_callback, protocol, loop=None, **kwargs): #noqa'}</s>BELGIUM_FLUVIUS = { 'checksum_support': True, 'objects': [ { ...
1
{'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-...
0
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>TIMELINE_START = "start"
0
{'name': 'cpy_buffer_to_tensor@npbg/gl/render.py', 'description': 'Copy GL buffer (cuda view) to pytorch tensor', 'signature': 'def cpy_buffer_to_tensor(buffer, tensor):'}</s>{'name': 'create_shared_buffer@npbg/gl/render.py', 'description': 'Create and return a BufferObject with gloo and pycuda views.', 'code': 'def cr...
0
{'name': 'PretrainedConfig.from_pretrained@source/pytorch_transformers/modeling_utils.py', 'description': "Instantiate a :class:`~pytorch_transformers.PretrainedConfig` (or a derived class) from a pre-trained model configuration.\n\nParameters:\n pretrained_model_name_or_path: either:\n\n - a string with the ...
0
{'name': 'run_install_check@third-party/draco/src/draco/tools/install_test/test.py', 'description': 'Runs the install_check program.', 'signature': 'def run_install_check(install_path):'}</s>DRACO_SHARED_BUILD_PATH = os.path.join(TEST_SOURCES_PATH, '_draco_build_shared')
0