text string | label int64 |
|---|---|
{'name': 'ProcessFileData@tools/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: An array of strings, each representing a li... | 0 |
{'name': 'CheckTrailingSemicolon@third_party/cpplint/cpplint.py', 'description': 'Looks for redundant trailing semicolon.\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... | 0 |
{'name': '_getTestStatus@python/DisplayTests.py', 'description': "Return the status for all tests in the given directory, and compute\na summary status given the build type.\nReturn a tuple (dict, string, string, dict, dict) where the first entry maps\ntest suite names to a string describing their status, the second is... | 0 |
{'name': 'mpl_palette@nelpy/plotting/palettes.py', 'description': 'Return discrete colors from a matplotlib palette.\n\nNote that this handles the qualitative colorbrewer palettes\nproperly, although if you ask for more colors than a particular\nqualitative palette can provide you will get fewer than you are\nexpecting... | 0 |
{'name': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f... | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_40 = Badge("lizard", serie... | 0 |
{'name': 'table.getTable@py2cytoscape/cyrest/table.py', 'description': 'Gets tables from cytoscape.\n\n:param table: table to retrieve eg. node\n:param columns: columns to retrieve in list format\n:param network (string, optional): Specifies a network by name, or by\n SUID if the prefix SUID: is used. The keyword CU... | 0 |
{'name': 'get_split@slim/datasets/raw_patches_for_heatmaps.py', 'description': "Gets a dataset tuple with instructions for reading flowers.\n\nArgs:\n split_name: A train/validation split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset... | 0 |
{'name': 'include_decl@src/services/mpiwrap/wrap.py', 'description': 'This function is used by macros to include attributes MPI declarations in their scope.', 'signature': 'def include_decl(scope, decl):'}</s>{'name': 'usage@src/services/mpiwrap/wrap.py', 'description': 'DOCSTRING', 'code': 'def usage():\n sys.stder... | 0 |
{'name': 'process_bird_wav@avgn/segment_song/preprocessing.py', 'description': 'This function is the primary workhorse of the preprocessing script - it takes in a wav file,\n breaks it up into several constitutant wav files, then saves them in save_to_folder, with their corresponding timestamp', 'signature': 'def pr... | 0 |
{'name': 'render@atlas/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'get_config@atlas/_version.py', 'description': 'Create, populate and return the VersioneerConfig() object.', 'code': 'def get_config():\n """Create, ... | 0 |
{'name': 'reconstruct_image@icnn/icnn_gd.py', 'description': "Reconstruct image from CNN features using gradient descent with momentum.\n\nParameters\n----------\nfeatures: dict\n The target CNN features.\n The CNN features of multiple layers are assembled in a python dictionary, arranged in pairs of layer name (... | 1 |
{'name': 'random_mat_panel.poll@random_material_assigners/random_material_assigner_per_face_new_features.py', 'description': 'Only show panel if there is an active mesh object ', 'signature': 'def poll( self, context ):'}</s>bl_info = {
"name" : "Random Face Material Assigner",
"author" : "Tamir Lousk... | 0 |
{'name': 'asynq@asynq/decorators.py', 'description': 'Async task decorator.\nConverts a method returning generator object to\na method returning AsyncTask object.', 'signature': 'def asynq('}</s>_futures_none = futures._none | 0 |
{'name': 'save_alias@d2lbook/library.py', 'description': 'Save alias into the library file', 'signature': 'def save_alias(tab_lib):'}</s>{'name': 'call_args@d2lbook/library.py', 'description': 'DOCSTRING', 'code': 'def call_args(call_str):\n call = ast.parse(call_str).body[0].value\n assert isinstance(call, ast.C... | 0 |
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'StubCommand@gef.py', 'description': 'Stub out the specified function. Th... | 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': 'Figure.tostr@src/svgutils/compose.py', 'description': 'Export SVG as a string', 'signature': 'def tostr(self):'}</s>{'name': 'TextElement@src/svgutils/transform.py', 'description': 'Text element.\n\nCorresponds to SVG ``<text>`` tag.', 'base_classes': ['FigureElement'], 'methods': [{'name': 'TextElement.__ini... | 0 |
{'name': 'GTestHelpTest.TestHelpFlag@Engine/lib/gtest/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.\n\nArgs:\n flag: A flag to pass to the binary or None.', ... | 1 |
{'name': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': 'MimeParameters@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRIN... | 0 |
{'name': 'html_escape@src/back/kite/bottle.py', 'description': 'Escape HTML special characters ``&<>`` and quotes ``\'"``. ', 'signature': 'def html_escape(string):'}</s>{'name': 'BottleException@src/back/kite/bottle.py', 'description': 'A base class for exceptions used by bottle. ', 'base_classes': ['Exception'], 'met... | 0 |
{'name': 'Filter.method@django_filters/filters.py', 'description': "Filter method needs to be lazily resolved, as it may be dependent on\nthe 'parent' FilterSet.", 'signature': 'def method():'}</s>{'name': 'BaseInFilter@django_filters/filters.py', 'description': 'DOCSTRING', 'base_classes': ['BaseCSVFilter'], 'methods'... | 0 |
{'name': 'update_travis_deploy_password@travis_pypi_setup.py', 'description': 'Put `encrypted_password` into the deploy section of .travis.yml.', 'signature': 'def update_travis_deploy_password(encrypted_password):'}</s>{'name': 'load_yaml_config@travis_pypi_setup.py', 'description': 'Load yaml config file at the given... | 1 |
{'name': 'flux_balance_impact_degree@cameo/flux_analysis/analysis.py', 'description': 'Flux balance impact degree by Zhao et al 2013\n\nParameters\n----------\nmodel: cobra.Model\n Wild-type model\nknockouts: list\n Reactions to knockout\nmethod: str\n The method to compute the perturbation. default is "fva" -... | 0 |
{'name': 'device_added@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is added or updated', 'signature': 'def device_added(notification):'}</s>CTRL_KEY_TYPE_OOB = 1 | 0 |
{'name': 'FiltersSet.get_filter_conditions@sievelib/factory.py', 'description': 'Retrieve conditions of the given filter.', 'signature': 'def get_filter_conditions(self, name: str) -> Union[List[str], None]:'}</s>{'name': 'CommandArg@sievelib/commands.py', 'description': 'Type definition for command argument.', 'base_c... | 0 |
{'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': 'PtrRecordV4@infoblox_client/objects.py', 'description': 'PtrRecordV4: DNS PTR ... | 0 |
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>_CHECK_REPLACEMENT = dict([(macro_var, {}) for macro_var in _CHECK_MACROS]... | 0 |
{'name': 'main@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test ... | 0 |
{'name': 'ProcessFileData@tools/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: An array of strings, each representing a li... | 0 |
{'name': 'RPCBindTest.run_allowip_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with rpcallow IP, and request getnetworkinfo\nat a non-localhost IP.', 'signature': 'def run_allowip_test(self, allow_ips, rpchost, rpcport):'}</s>{'name': 'log_filename@qa/rpc-tests/test_framework/util.py', 'description'... | 0 |
{'name': 'VehiclePIDController.__init__@agents/low_level_controller/controller.py', 'description': ':param vehicle: actor to apply to local planner logic onto\n:param args_lateral: dictionary of arguments to set the lateral PID controller using the following semantics:\n K_P -- Proportional term\n ... | 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': '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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_ADAPTER_DEFS_ERROR = 2131 | 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>_USAGE = "
Synt... | 0 |
{'name': 'euler_from_matrix@Engine/lib/assimp/port/PyAssimp/scripts/transformations.py', 'description': 'Return Euler angles from rotation matrix for specified axis sequence.\n\naxes : One of 24 axis sequences as string or encoded tuple\n\nNote that many Euler angle triplets can describe one matrix.\n\n>>> R0 = euler_m... | 0 |
{'name': 'TestTornado.test_good_solution_to_set_parent@testbed/test_common_request_handler/test_tornado.py', 'description': 'Solution is good because, though the RequestHandler being shared,\nthe context will be properly detected.', 'signature': 'def test_good_solution_to_set_parent(self):'}</s>{'name': 'OpenTracingTes... | 0 |
{'name': 'AdbDevice.push@adb_shell/adb_device.py', 'description': "Push a file or directory to the device.\n\nParameters\n----------\nlocal_path : str, BytesIO\n A filename, directory, or BytesIO stream to push to the device\ndevice_path : str\n Destination on the device to write to.\nst_mode : int\n Stat mode... | 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': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'Remoteddnszone@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classes': ['SubObjects'], 'methods': []} | 0 |
{'name': 'Nxx.get_sql_and_with_clause@diversity.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed in 4 steps.\n1. Get the query for the Distribution of the child Metric.\n2. Keep all indexing/groupby columns unchanged.\n3. For all value columns, order the values in descending order an... | 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': 'gef_execute_external@gef.py', 'description':... | 0 |
{'name': 'main@consulate/cli.py', 'description': 'Entrypoint for the consulate cli application', 'signature': 'def main():'}</s>{'name': 'add_run_once_args@consulate/cli.py', 'description': 'Add the run_once command and arguments.\n\n:param argparse.Subparser parser: parser', 'code': 'def add_run_once_args(parser):\n ... | 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': 'get_split@slim/datasets/raw_patches_for_heatmaps.py', 'description': "Gets a dataset tuple with instructions for reading flowers.\n\nArgs:\n split_name: A train/validation split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset... | 0 |
{'name': 'PRPList.__setitem__@scripts/psd.py', 'description': 'insert buffer PRP to PRP List', 'signature': 'def __setitem__(self, index, buf: PRP):'}</s>{'name': 'CQE@scripts/psd.py', 'description': 'DOCSTRING', 'base_classes': ['list'], 'methods': [{'name': 'CQE.__init__@scripts/psd.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'IUZone.zone_id@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the zone_id. Should match the zone_id used in sequences', 'signature': 'def zone_id(self) -> str:'}</s>CONF_POSTAMBLE = "postamble" | 0 |
{'name': '_SignBootableImage@tools/releasetools/common.py', 'description': "Performs AVB signing for a prebuilt boot.img.\n\nArgs:\n image_path: The full path of the image, e.g., /path/to/boot.img.\n prebuilt_name: The prebuilt image name, e.g., boot.img, boot-5.4-gz.img,\n boot-5.10.img, recovery.img or init_bo... | 0 |
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>CONF_CONTROLLERS = "controllers" | 0 |
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/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>{'name': 'ExtractError@venv/Lib/site-packages/pip-19.0.3-py3.6... | 0 |
{'name': 'extract_circuit_elements@impedance/models/circuits/fitting.py', 'description': 'Extracts circuit elements from a circuit string.\n\nParameters\n----------\ncircuit : str\n Circuit string.\n\nReturns\n-------\nextracted_elements : list\n list of extracted elements.', 'signature': 'def extract_circuit_ele... | 0 |
{'name': 'create_overview_tile@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generating an overview tile from no more than 4 underlying tiles(base tiles)', 'signature': 'def create_overview_tile('}</s>{'name': 'GDAL2Tiles@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'DOCSTRING', 'b... | 1 |
{'name': 'get_control_file_template@Data/rda.ucar/rdams_client.py', 'description': "Write a control file for use in subset requests.\n\nArgs:\n ds (str): datset id. e.g. 'ds083.2'\n\nReturns:\n dict: JSON decoded result of the query.", 'signature': 'def get_control_file_template(ds):'}</s>{'name': 'globus_downloa... | 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': 'rdheader@wfdb/io/record.py', 'description': "Read a WFDB header file and return a `Record` or `MultiRecord`\nobject with the record descriptors as attributes.\n\nParameters\n----------\nrecord_name : str\n The name of the WFDB record to be read, without any file\n extensions. If the argument contains an... | 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': '_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': 'user_has_voted@pinax/points/templatetags/pinax_points_tags.py', 'description': 'Usage::\n {% user_has_voted user obj as var %}', 'signature': 'def user_has_voted(parser, token):'}</s>{'name': 'top_objects@pinax/points/templatetags/pinax_points_tags.py', 'description': 'Usage::\n\n {% top_objects "auth.U... | 0 |
{'name': 'update_self@backend/app/routers/me.py', 'description': 'Endpoint to allow a user to update *their own* profile.', 'signature': 'def update_self('}</s>{'name': 'UserBase@backend/app/schemas.py', 'description': 'DOCSTRING', 'base_classes': ['BaseModel'], 'methods': []} | 0 |
{'name': 'UserGenericPermsMixin.has_module_perms@protector/models.py', 'description': 'Returns True if the user has any permissions in the given app label.\nUses pretty much the same logic as has_perm, above.', 'signature': 'def has_module_perms(self, app_label):'}</s>{'name': 'OwnerToPermissionManager@protector/manage... | 0 |
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>{'name': '_xyz_to_lonlat_deg@uxarray/gri... | 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': '_export_xml@contrib/xml/xmlio.py', 'description': 'Exports Tulip data structures to XML structures for later import.\n\nThis function is called both internal\n\n@param data:\n the data structure to be exported into an XML tree.\n@return:\n `None` (if parent is not `None`), or\n an xml tree', 'signatu... | 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': 'main@ml_collections/config_flags/tests/config_overriding_test.py', 'descr... | 0 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'hotreload_function@fairseq/utils.py', 'description': 'Decorator to function to enable hot-reload for debugging.\nIt allows you to debug a function without having r... | 0 |
{'name': 'expr_value@tools/kconfig_new/kconfiglib.py', 'description': "Evaluates the expression 'expr' to a tristate value. Returns 0 (n), 1 (m),\nor 2 (y).\n\n'expr' must be an already-parsed expression from a Symbol, Choice, or\nMenuNode property. To evaluate an expression represented as a string, use\nKconfig.eval_s... | 0 |
{'name': 'Win32Serial._reconfigurePort@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigurePort(self):'}</s>{'name': '_COMMTIMEOUTS@stino/pyarduino/base/pyserial/win32.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], ... | 0 |
{'name': 'test_LocalstackEndpointResolver@tests/integration/test_contrib/test_botocore.py', 'description': 'Test pytest_localstack.botocore.LocalstackEndpointResolver.', 'signature': 'def test_LocalstackEndpointResolver('}</s>{'name': 'test_patch_fixture_contributed_to_module@tests/integration/test_contrib/test_botocor... | 0 |
{'name': 'get_all_news_by_type@Chapter13/NewsOrchestrator/views.py', 'description': 'Get all new by type', 'signature': 'def get_all_news_by_type(news_type, num_page, limit):'}</s>{'name': 'rpc_get_all_news@Chapter13/NewsOrchestrator/views.py', 'description': 'DOCSTRING', 'code': "def rpc_get_all_news(news_type, num_pa... | 1 |
{'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': 'CalculateVariables@gyp/pylib/gyp/generator/make.py', 'description': 'Calculate additional variables for use in the build (called by gyp).', 'signature': 'def CalculateVariables(default_variables, params):'}</s>{'name': 'Sourceify@gyp/pylib/gyp/generator/make.py', 'description': 'Convert a path to its source d... | 0 |
{'name': 'lift_blocks@maf/impl/naiveLiftUp.py', 'description': 'Lift the given blocks file to a new reference using the given pairwise alignments file.\n\nThe pairwise alignments must point from the old reference to the new.', 'signature': 'def lift_blocks(alignments, blocks, other_genome, output):'}</s>{'name': 'test_... | 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_700 = 700 | 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': 'SendMessage._change_name_workflow@py/send_message.py', 'description': 'Invoke change name workfow.', 'signature': 'def _change_name_workflow(self, name: Optional[str] = None) -> None:'}</s>{'name': 'NoneFoundException@py/bitbox02/bitbox02/communication/devices.py', 'description': 'DOCSTRING', 'base_classes': ... | 0 |
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>g_def_vreg_base = "MIN_OUTLIER" | 1 |
{'name': 'StorageDriver.add_measures_to_metrics@gnocchi/storage/__init__.py', 'description': 'Update a metric with a new measures, computing new aggregations.\n\n:param metrics_and_measures: A dict there keys are `storage.Metric`\n objects and values are timeseries array of\n ... | 0 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_memory_delete@language-bindings/python/src/wamr/wasmcapi/bindin... | 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': 'get_data_parallel_rank@fairseq/distributed/utils.py', 'description': 'Return my rank for the data parallel group.', 'code': 'def get_data_parallel_ran... | 0 |
{'name': 'device_added@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is added or updated', 'signature': 'def device_added(notification):'}</s>{'name': 'addTimestamp@tools/ble_sniffer/extcap/SnifferAPI/Logger.py', 'description': 'DOCSTRING', 'code': 'def addTimestamp():\n try:\n with o... | 0 |
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>{'name': '_populate_n_nodes_per_face@uxa... | 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>MQPD_SUPPORT_OPTIONAL = 1 | 0 |
{'name': 'test_kitti_3d@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def test_kitti_3d(dataset_test, net, rpn_conf, results_path, test_path, has_rcnn=False):'}</s>{'name': 'compute_rel_pose@lib/core.py', 'description': 'DOCSTRING', 'code': 'def compute_rel_pose(p... | 0 |
{'name': 'Storage.load_model_from_template@loudml/storage.py', 'description': 'Load model from template file', 'signature': 'def load_model_from_template(self, _name, *args, **kwargs):'}</s>{'name': 'BucketError@loudml/errors.py', 'description': 'Error occured on bucket query', 'base_classes': ['LoudMLException'], 'met... | 0 |
{'name': 'test_RunningSession_endpoint_url@tests/unit/test_session.py', 'description': 'Test pytest_localstack.session.RunningSession.endpoint_url.', 'signature': 'def test_RunningSession_endpoint_url(use_ssl, service_name, not_service_name):'}</s>SERVICE_ALIASES = {
"email": "ses",
"monitoring": "cloudwatch",
... | 0 |
{'name': 'generate_json@hackr/object_generator.py', 'description': 'Use generators to fill the data of each field', 'signature': 'def generate_json(count, **kwargs):'}</s>{'name': 'names@hackr/generator.py', 'description': 'DOCSTRING', 'code': 'def names(count):\n dataset = []\n for i in range(count):\n da... | 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': 'URLopener.open_ftp@src/future/backports/urllib/request.py', 'description': 'Use FTP protocol.', 'signature': 'def open_ftp(self, url):'}</s>PRECONDITION_FAILED = 412 | 0 |
{'name': 'Board.san@Monika After Story/game/python-packages/chess/__init__.py', 'description': 'Gets the standard algebraic notation of the given move in the context of\nthe current position.\n\nThere is no validation. It is only guaranteed to work if the move is\nlegal or a null move.', 'signature': 'def san(self, mov... | 0 |
{'name': 'clean_number@nova/utils.py', 'description': 'Utility method to clean up a number contained in a string to dot decimal format\n\nArgs:\n string (str): Number contained in a string\n\nReturns:\n str: The formatted number as a string', 'signature': 'def clean_number(string):'}</s>definitions = {} | 0 |
{'name': 'edit_roster@rosters/views.py', 'description': 'Edit Roster View.', 'signature': 'def edit_roster(request):'}</s>{'name': 'ShiftRuleRoleCreateView@rosters/views.py', 'description': 'Shift Rule Role Create View.', 'base_classes': ['LoginRequiredMixin', 'PermissionRequiredMixin', 'CreateView'], 'methods': [{'nam... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_GMO_ERROR = 2186 | 0 |
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>{'name': 'InvalidSyndicationRight@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Invali... | 0 |
{'name': 'test_novalidate_noerrors@cerberus/tests/test_validation.py', 'description': 'In v0.1.0 and below `self.errors` raised an exception if no\nvalidation had been performed yet.', 'signature': 'def test_novalidate_noerrors(validator):'}</s>{'name': 'test_a_list_of_values@cerberus/tests/test_validation.py', 'descri... | 0 |
{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'register_vcs_handler@versioneer.py', 'description': 'Decorator to mark a method as the handler for a particular VCS.', 'code': 'def register_vcs_handler(vcs, m... | 0 |
{'name': 'Constraint.lhs@linopy/constraints.py', 'description': 'Get the left-hand-side linear expression of the constraint.\n\nThe function raises an error in case no model is set as a\nreference.', 'signature': 'def lhs(self) -> expressions.LinearExpression:'}</s>{'name': '_expr_unwrap@linopy/expressions.py', 'descri... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.