text string | label int64 |
|---|---|
{'name': 'setup_java_class@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'returns an example java class with the\ngiven content_to_add contained within a method.', 'signature': 'def setup_java_class(content_to_add):'}</s>{'name': 'ExplicitConstructorInvocation@baseline_tokenization/javalang... | 0 |
{'name': 'FancyPage.draw_background@rst2pdf/createpdf.py', 'description': 'Draws a background and/or foreground image\non each page which uses the template.\n\nCalculates the image one time, and caches\nit for reuse on every page in the template.\n\nHow the background is drawn depends on the\n--fit-background-mode opti... | 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_MSG_SEQ_NUMBER_ERROR = 3030 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQEXTATTRS_NONDEF = 1 | 0 |
{'name': 'valentines_day@alphapy/calendrical.py', 'description': "Get Valentine's day for a given year.\n\nParameters\n----------\ngyear : int\n Gregorian year.\n\nReturns\n-------\nvalentines : int\n Valentine's Day in RDate format.", 'signature': 'def valentines_day(gyear):'}</s>{'name': 'set_events@alphapy/cal... | 0 |
{'name': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is... | 0 |
{'name': 'Record.remove@shingetsu/cache.py', 'description': 'Remove record.\n\nThe record is removed from cache,\nbut do not removed from file-system.', 'signature': 'def remove(self):'}</s>{'name': 'spsptest@shingetsu/apollo.py', 'description': "Do Rabin-Miller test with ``count'' prime number.\n\nSee: http://primes.u... | 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': 'complete@cartridge/shop/views.py', 'description': 'Redirected to once an order is complete - pass the order object\nfor tracking items via Google Anayltics, and displaying in\nthe template if required.', 'signature': 'def complete(request, template="shop/complete.html", extra_context=None):'}</s>{'name': 'pro... | 1 |
{'name': 'FrameRecord.get_link_urls@disdat/hyperframe.py', 'description': 'Assuming a link FrameRecord, return all the URLs in the frame\n\nReturns:\n (:list:str): An ordered set of link URLs', 'signature': 'def get_link_urls(self):'}</s>{'name': 'DisdatConfig@disdat/common.py', 'description': "Configure Disdat. C... | 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': 'test_check_tuples_invalid_shape@test/test_utils.py', 'description': 'Checks that a value error with the appropriate message is raised if\nshape is invalid (not 2D with preprocessor or 3D with no preprocessor)', 'signature': 'def test_check_tuples_invalid_shape(estimator, context, tuples, found,'}</s>pairs_lea... | 0 |
{'name': 'user_can_push@src/oca_github_bot/manifest.py', 'description': 'Check if the user is maintainer of all modified addons.\n\nAssuming, addons_dir is a git clone of an addons repository,\nreturn true if username is declared in the maintainers key\non the target branch, for all addons modified in the current branc... | 1 |
{'name': 'test_single_build_pkg_dir@test/test_utils.py', 'description': 'Builds the "one" recipe with pkg_dir.', 'signature': 'def test_single_build_pkg_dir(recipes_fixture):'}</s>{'name': 'get_free_space@bioconda_utils/utils.py', 'description': 'Return free space in MB on disk', 'code': 'def get_free_space():\n """... | 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': 'Sortlist@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classe... | 0 |
{'name': 'DirectRegistry.tag@shipwright/_lib/cache.py', 'description': "A noop operation because we can't tag locally, if we don't have the\nbuilt images", 'signature': 'def tag(self, targets, tags):'}</s>{'name': 'mkcontext@shipwright/_lib/tar.py', 'description': 'Returns a streaming tarfile suitable for passing to do... | 0 |
{'name': 'PropKB.tell@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Add the sentence's clauses to the KB.", 'signature': 'def tell(self, sentence):'}</s>{'name': 'unit_clause_assign@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'Return a single variable/value pair that makes claus... | 0 |
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa... | 0 |
{'name': 'RegBlock.build_blocks@hw/vendor/pulp_platform_gpio/util/reggen/reggen/reg_block.py', 'description': "Build a dictionary of blocks for a 'registers' field in the hjson\n\nThere are two different syntaxes we might see here. The simple syntax\njust consists of a list of entries (register, multireg, window,\nskip... | 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': 'APIConnection.__init__@qingcloud/iaas/connection.py', 'description': '@param qy_access_key_id - the access key id\n@param qy_secret_access_key - the secret access key\n@param zone - the zone id to access\n@param host - the host to make the connection to\n@param port - the port to use when connect to host\n@pa... | 0 |
{'name': 'Serial.open@serial/rfc2217.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>MODEMSTATE_MASK_RI = 64 | 0 |
{'name': 'get_aspp@model/utils.py', 'description': 'Create aspp block', 'signature': 'def get_aspp(high_level_ch, bottleneck_ch, output_stride, dpc=False):'}</s>{'name': 'get_trunk@model/utils.py', 'description': 'Retrieve the network trunk and channel counts.', 'code': 'def get_trunk(trunk_name, output_stride=8):\n ... | 0 |
{'name': 'modular_sqrt_composite@crypto_commons/rsa/rsa_commons.py', 'description': 'Calculates modular square root of composite value for given all modulus factors\nFor a = b^2 mod p*q*r*m... calculates b\n:param c: residue\n:param factors: list of modulus prime factors\n:return: all potential root values', 'signature... | 0 |
{'name': 'cosine_distance@text2vec/utils/distance.py', 'description': '余弦距离\nreturn cos score', 'signature': 'def cosine_distance(v1, v2):'}</s>{'name': 'euclidean_distance_standardized@text2vec/utils/distance.py', 'description': 'DOCSTRING', 'code': 'def euclidean_distance_standardized(v1, v2): # 标准化欧氏距离\n v1_v2 =... | 0 |
{'name': 'TopologyView.retrieve@moi/views.py', 'description': 'Read information about an individual Topology resource.\n\nThe GET method reads the information of a Topology.', 'signature': 'def retrieve(self, request, *args, **kwargs):'}</s>{'name': 'AMFRegionSerializer@moi/serializers.py', 'description': 'DOCSTRING', ... | 0 |
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'ShellcodeCommand@gef.py', 'description': 'ShellcodeCommand uses @JonathanSalwan simple-yet-awesome shellcode API to\ndownload shellcodes.', 'base_classes': ['GenericCommand'], 'methods... | 0 |
{'name': '_net_interface_type@kayobe/plugins/filter/networks.py', 'description': "Return a string describing the network interface type.\n\nPossible types include 'ether', 'bridge', 'bond'.", 'signature': 'def _net_interface_type(context, name, inventory_hostname):'}</s>{'name': 'net_select_vlan_interfaces@kayobe/plugi... | 0 |
{'name': 'test_get_atoms_errors@vermouth/tests/test_ffinput.py', 'description': 'Test _get_atoms fails when expected.', 'signature': 'def test_get_atoms_errors(tokens, natoms):'}</s>{'name': '_split_node_key@vermouth/ffinput.py', 'description': 'Split a node key into a prefix and a base and validate the key validity.',... | 0 |
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>{'name': 'CleansedLines@tools/cpplint.py', 'description': "Holds 4 copies of all lines with different preprocessing applied to them.\n\n1) el... | 0 |
{'name': '_proximal_map@spmimage/linear_model/hmlasso.py', 'description': 'Proximal mapping.\n\nParameters\n----------\nx : np.ndarray, shape = (n, )\n\nReturns\n-------\n: np.ndarray, shape = (n, )', 'signature': 'def _proximal_map(x: np.ndarray, alpha: float) -> np.ndarray:'}</s>{'name': '_projection@spmimage/linear_... | 0 |
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_CONTROLLER_ID = "controller_id" | 0 |
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'skipIfLLVMTargetMissing@llvm-pro... | 0 |
{'name': 'loadPlugins@packstack/installer/run_setup.py', 'description': 'Load All plugins from ./plugins', 'signature': 'def loadPlugins():'}</s>{'name': 'process_password@packstack/installer/processors.py', 'description': 'Process passwords, checking the following:\n1- If there is a user-entered password, use it\n2- O... | 0 |
{'name': 'direct_sum_factory@e2cnn/group/representation.py', 'description': 'The method builds and returns a function implementing the direct sum of the "irreps" transformed by the given\n"change_of_basis" matrix.\n\nMore precisely, the built method will take as input a value accepted by all the irreps, evaluate the ir... | 0 |
{'name': 'Kam1n0PluginManager.copy_comments@kam1n0-clients/ida-plugin/Kam1n0/Manager.py', 'description': 'Processes the copy action.\n ', 'signature': 'def copy_comments(self, ctx):'}</s>{'name': 'get_all_ida_funcs@kam1n0-clients/ida-plugin/Kam1n0/IDAUtils.py', 'description': 'DOCSTRING', 'code': 'def get_all_id... | 0 |
{'name': 'render@render/render.py', 'description': 'Load CSV Results and render it into README.', 'signature': 'def render():'}</s>PAGES_RESULTS_TEMPLATE = jinja2.Template((BASEDIR / 'render/pages/results.md').read_text()) | 1 |
{'name': 'Zeroconf.checkService@stino/pyarduino/base/zeroconf.py', 'description': 'Checks the network for a unique service name, modifying the\nServiceInfo passed in if it is not unique.', 'signature': 'def checkService(self, info):'}</s>{'name': 'DNSOutgoing@stino/pyarduino/base/zeroconf.py', 'description': 'Object re... | 1 |
{'name': 'compute_prediction@chapter5/logistic_regression_from_scratch.py', 'description': 'Compute the prediction y_hat based on current weights', 'signature': 'def compute_prediction(X, weights):'}</s>{'name': 'update_weights_sgd@chapter5/logistic_regression_from_scratch.py', 'description': 'One weight update iterati... | 0 |
{'name': 'main@mne_bids_pipeline/steps/preprocessing/_07_make_epochs.py', 'description': 'Run epochs.', 'signature': 'def main(*, config: SimpleNamespace) -> None:'}</s>{'name': 'get_parallel_backend@mne_bids_pipeline/_parallel.py', 'description': 'DOCSTRING', 'code': 'def get_parallel_backend(exec_params: SimpleNamesp... | 1 |
{'name': 'discrete_bottleneck@tensor2tensor_envi/layers/discretization.py', 'description': 'Discretization bottleneck.\n\nArgs:\n inputs: Input to the bottleneck, a Tensor of shape [..., channels].\n hidden_size: Dimension of the dense output.\n z_size: Number of bits, where discrete codes range from 1 to 2**z_size.... | 0 |
{'name': 'test_cli_addremove_role@tests/test_cli.py', 'description': 'Test add/remove role.', 'signature': 'def test_cli_addremove_role(cli_app):'}</s>{'name': 'roles_remove@flask_security/cli.py', 'description': 'Remove user from role.', 'code': 'def roles_remove(user, role):\n """Remove user from role."""\n use... | 1 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam... | 0 |
{'name': 'test_read_mapping_file@vermouth/tests/test_map_input.py', 'description': 'Test that regular mapping files are read as expected.', 'signature': 'def test_read_mapping_file(case):'}</s>{'name': 'generate_self_mappings@vermouth/map_input.py', 'description': "Generate self mappings from a collection of blocks.\n\... | 0 |
{'name': 'BuildModel.set_device@argus/model/build.py', 'description': 'Move nn_module and loss to the specified device.\n\nIf a list of devices is passed, :class:`torch.nn.DataParallel` will be\nused. Batch tensors will be scattered on dim 0. The first device in the\nlist is the location of the output. By default, devi... | 0 |
{'name': 'auto_from_etree@a38/fattura.py', 'description': 'Instantiate a Fattura or FatturaElettronicaSemplificata from a parsed XML', 'signature': 'def auto_from_etree('}</s>{'name': 'DatiRiepilogo@a38/fattura.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'methods': [{'name': 'DatiRiepilogo.valida... | 0 |
{'name': 'follow_device@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Follow the selected device', 'signature': 'def follow_device(sniffer, device):'}</s>logFileName = None | 0 |
{'name': 'lava_cell_op@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create the exclusive function of LAVA cells.\n\nLAVA expires after a minimum age.\nLAVA has a falling-sand property. But, if it cannot fall, it then may\nburn nearby burnable cells (making them FIRE).', 'signature': 'def ... | 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': 'KubernetesClient.get_first_or_none@calrissian/k8s.py', 'description': "Check the list. Should be 0 or 1 items. If 0, there's no container yet. If 1, there's a\ncontainer. If > 1, there's more than 1 container and that's unexpected behavior\n:param containers_or_container_statuses: list of V1ContainerStatus or... | 0 |
{'name': 'wrap_installers@jupyter_packaging/setupbase.py', 'description': 'Make a setuptools cmdclass that calls a prebuild function before installing.\n\nParameters\n----------\npre_develop: function\n The function to call prior to the develop command.\npre_dist: function\n The function to call prior to the sdis... | 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': 'extcap_dlts@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List DLTs for the given interface', 'code': 'def extcap_dlts(inter... | 0 |
{'name': 'LayoutViewSet.download_layout@vulfocus-api/layout_image/views.py', 'description': '下载环境编排压缩包\n:param request:\n:param pk:\n:return:', 'signature': 'def download_layout(self, request, pk=None):'}</s>{'name': 'delete_container_task@vulfocus-api/tasks/tasks.py', 'description': '删除漏洞容器\n:param container_vul: cont... | 0 |
{'name': 'test_trigger_unpacking@tests/unit/test_client.py', 'description': 'Usual semantics for unpacking **kwargs ', 'signature': 'def test_trigger_unpacking(client, flush):'}</s>{'name': 'test_stop_processing@tests/unit/test_client.py', 'description': 'DOCSTRING', 'code': 'def test_stop_processing(loop, flush):\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': 'get_ard_reg@torch_ard/torch_ard.py', 'description': ':param module: model to evaluate ard regularization for\n:param reg: auxilary cumulative variable for recursion\n:return: total regularization for module', 'signature': 'def get_ard_reg(module):'}</s>{'name': 'ELBOLoss@torch_ard/torch_ard.py', 'description'... | 0 |
{'name': 'SemanticSymbol.parse_from_mathml@TangentS/math_tan/semantic_symbol.py', 'description': 'Parse operator tree from content mathml using recursive descent\n:param elem: a node in MathML structure on which an iterator is defined to select children\n:param identified: a hash table of nodes marked with identifiers\... | 1 |
{'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': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.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 line of th... | 0 |
{'name': 'NodeList.init@shingetsu/node.py', 'description': 'Connect initial node.', 'signature': 'def init(self):'}</s>rss = "1" | 0 |
{'name': 'Ivis.load_model@ivis/ivis.py', 'description': 'Load ivis model\n\nParameters\n----------\nfolder_path : string\n Path to serialised model files and metadata\n\nReturns\n-------\nself: ivis.Ivis object\n Returns estimator instance.', 'signature': 'def load_model(self, folder_path):'}</s>{'name': '_resolv... | 1 |
{'name': 'parse_expr@classes/docopt.py', 'description': "expr ::= seq ( '|' seq )* ;", 'signature': 'def parse_expr(tokens, options):'}</s>{'name': 'Tokens@classes/docopt.py', 'description': 'DOCSTRING', 'base_classes': ['list'], 'methods': [{'name': 'Tokens.__init__@classes/docopt.py', 'description': 'DOCSTRING', 'cod... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': '_AppHandler.__init__@jupyterlab/commands.py', 'description': 'Create a new _AppHandler object', 'signature': 'def __init__(self, options):'}</s>{'name': '_node_check@jupyterlab/commands.py', 'description': 'Check for the existence of nodejs with the correct version.', 'code': 'def _node_check(logger):\n ""... | 0 |
{'name': 'Annotation.get_available_label_stores@wfdb/io/annotation.py', 'description': "Get the label store values that may be used\nfor writing this annotation.\n\nAvailable store values include:\n- the undefined values in the standard WFDB labels\n- the store values not used in the current\n annotation object.\n- th... | 0 |
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in... | 0 |
{'name': 'Unit.__new__@unyt/unit_object.py', 'description': "Create a new unit. May be an atomic unit (like a gram) or combinations\nof atomic units (like g / cm**3).\n\nParameters\n----------\nunit_expr : Unit object, sympy.core.expr.Expr object, or str\n The symbolic unit expression.\nbase_value : float\n The u... | 1 |
{'name': 'EntryTransformer.unquoted_value@code/utils/osg_parse.py', 'description': ':param x:\n:return:', 'signature': 'def unquoted_value(self, x):'}</s>license_urls_repo = {
'2-clause BSD': 'https://en.wikipedia.org/wiki/BSD_licenses#2-clause_license_(%22Simplified_BSD_License%22_or_%22FreeBSD_License%22)',
'... | 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': 'BlockList.removeStructs@libc/kernel/tools/cpp.py', 'description': 'Remove structs.', 'signature': 'def removeStructs(self, structs):'}</s>{'name': 'strip_space@libc/kernel/tools/cpp.py', 'description': 'Strip out redundant space in a given string.', 'code': 'def strip_space(s):\n """Strip out redundant spa... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCACF_MQCB_NAME = 3192 | 0 |
{'name': 'apogee@gaia_tools/load/__init__.py', 'description': "PURPOSE:\n read the APOGEE allStar file\nINPUT:\n IF the apogee package is not installed:\n dr= (14) SDSS data release\n use_astroNN= (False) if True, swap in astroNN (Leung & Bovy 2019a) parameters (get placed in, e.g., TEFF and TEFF_ERR) a... | 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': 'set_request_headers@behave_restful/_lang_imp/request_builder.py', 'description': ' ', 'signature': 'def set_request_headers(context, headers):'}</s>{'name': 'set_url@behave_restful/_lang_imp/request_builder.py', 'description': ' ', 'code': 'def set_url(context, url):\n """\n """\n resolved_url ... | 0 |
{'name': 'main@databricks-adx-integration/src/code/functions/adxingesterrorhandler/__app__/errorhandler/__init__.py', 'description': 'Main function, triggered by Azure Storage Queue, parsed queue content\n:param msg: func.QueueMessage\n:return: None', 'signature': 'def main(msg: func.QueueMessage) -> None:'}</s>RETRY_E... | 1 |
{'name': 'setup_java_class@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'returns an example java class with the\ngiven content_to_add contained within a method.', 'signature': 'def setup_java_class(content_to_add):'}</s>{'name': 'Member@baseline_tokenization/javalang/tree.py', 'description... | 0 |
{'name': 'list_members@twitter_to_sqlite/cli.py', 'description': 'Fetch lists - accepts one or more screen_name/list_slug identifiers', 'signature': 'def list_members(db_path, identifiers, auth, ids):'}</s>{'name': 'tweet@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def tweet(item):\n # Older ... | 0 |
{'name': 'TrimmedMatchDesignTest.testComplexDesignWithPairing@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks the design is the same when pairs are passed or not on a complex case.', 'signature': 'def testComplexDesignWithPairing(self):'}</s>{'name': '_construct_potential_outcomes@trimm... | 0 |
{'name': 'HTTPHeaderDict.getlist@blockchain-env/lib/python3.7/site-packages/urllib3/_collections.py', 'description': "Returns a list of all the values for the named field. Returns an\nempty list if the key doesn't exist.", 'signature': 'def getlist(self, key, default=__marker):'}</s>{'name': 'HTTPHeaderDict@blockchain-... | 1 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam... | 0 |
{'name': 'torch_exp_map@scratch/learning_util.py', 'description': 'Exp map for the vector v lying on the tangent space T_xM to \nthe point x in the manifold M.', 'signature': 'def torch_exp_map(x, v, c=1):'}</s>{'name': 'euclidean_softmax@scratch/learning_util.py', 'description': 'Euclidean softmax.', 'code': 'def eucl... | 0 |
{'name': 'release_notes@tasks.py', 'description': "Generates release notes based on issues in the issue tracker.\n\nArgs:\n version: Generate release notes for this version. If not given,\n generated them for the current version.\n username: GitHub username.\n password: GitHub password.\n writ... | 0 |
{'name': 'IgmpSnooper._do_report@multiple/ilib.py', 'description': 'the process when the snooper received a REPORT message.', 'signature': 'def _do_report(self, report, in_port, msg):'}</s>MG_GROUP_ADDED = 1 | 1 |
{'name': 'cubic_spline@manifold_flow/transforms/splines/cubic.py', 'description': 'References:\n> Blinn, J. F. (2007). How to solve a cubic equation, part 5: Back to numerics. IEEE Computer\nGraphics and Applications, 27(3):78–89.', 'signature': 'def cubic_spline('}</s>{'name': 'is_nonnegative_int@manifold_flow/utils/v... | 0 |
{'name': 'test_binaries@kb_python/main.py', 'description': 'Test whether kallisto and bustools binaries are executable.\n\nInternally, this function calls :func:`utils.get_kallisto_version` and\n:func:`utils.get_bustools_version`, both of which return `None` if there is\nsomething wrong with their respective binaries.\... | 0 |
{'name': '_TestAWSIoTCoreDeviceLifecycleBase.test_device_accept_and_reject_or_dismiss@backend-tests/tests/test_aws_iotcore.py', 'description': 'Test how accepted-rejected and accepted-dismissed Mender flow affects AWS IoT Core devices.', 'signature': 'def test_device_accept_and_reject_or_dismiss('}</s>URL_MGMT = "/api/... | 0 |
{'name': 'eval_word_analogies@src/codes/utils/emb_utils.py', 'description': 'Sonvx: Evaluate word analogy for one embedding.\n:param word_analogies_file:\n:param words:\n:return:', 'signature': 'def eval_word_analogies(word_analogies_file, words: List[Word], embedding_name):'}</s>{'name': 'find_word@src/codes/utils/emb... | 1 |
{'name': 'Sheet.sort@tksheet/sheet.py', 'description': "Sort the data within specified box regions in the table.\n\nThis method sorts the data within one or multiple box regions defined by their coordinates.\nEach box's columns are sorted independently.\n\nArgs:\n boxes (CreateSpanTypes): A type that can create a Sp... | 0 |
{'name': 'AnkiDataFrame.add_cards@ankipandas/ankidf.py', 'description': "Add cards belonging to notes of one model.\n\nArgs:\n nid: Note IDs of the notes that you want to add cards for\n cdeck: Name of deck to add cards to as string or list of strings\n (different deck for each nid).\n cord: Number of t... | 0 |
{'name': 'TableHandler.generate_table@SyntaxParser/BackUp/Materials/Sample/prettytable.py', 'description': 'Generates from a list of rows a PrettyTable object.', 'signature': 'def generate_table(self, rows):'}</s>{'name': 'from_csv@SyntaxParser/BackUp/Materials/Sample/prettytable.py', 'description': 'DOCSTRING', 'code'... | 0 |
{'name': 'PipeBase.filepaths@d6tpipe/pipe.py', 'description': 'Full path to Files synced in local repo\n\nArgs:\n include (str): pattern of files to include, eg `*.csv` or `a-*.csv|b-*.csv`\n exclude (str): pattern of files to exclude\n sortby (str): sort files this key. `name`, `mod`, `size`\n check_exists... | 0 |
{'name': 'dist_factory@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Return a dist_factory for a path_item and entry', 'signature': 'def dist_factory(path_item, entry, only):'}</s>{'name': '_macosx_vers@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'DOCSTRING', 'code': "def _macosx_vers... | 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': 'MyInterface.execute@src/python_scripts/scripts/build_afni.py', 'description': 'evaluate what needs to be done, report on it, any apply\n\n- evaluate directories\n - abin_path\n - root_path\n\nreturn 0 on success\n 1 on non-fatal termination error\n -1 on fatal error', 'signature': 'def exe... | 0 |
{'name': 'test_mapping@zict/tests/test_zip.py', 'description': 'Test mapping interface for Zip().', 'signature': 'def test_mapping(fn):'}</s>{'name': 'test_bytearray@zict/tests/test_zip.py', 'description': 'DOCSTRING', 'code': 'def test_bytearray(fn):\n data = bytearray(b"123")\n with Zip(fn) as z:\n z["x"... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_OPTIONS_CHANGED = 2457 | 0 |
{'name': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>{'name': 'BoolValueChecker@python/google/protobuf/internal/type_checkers.py', 'description': 'Type checker used ... | 0 |
{'name': 'student_known@github_no_partners.py', 'description': 'Given a GitHub IDs, returns whether that student is a known student in\nthe student-data CSV file.', 'signature': 'def student_known(github_id: str) -> bool:'}</s>scanner_cache = {} | 0 |
{'name': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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 leng... | 1 |
{'name': 'timolo@source/pi-timolo.py', 'description': 'Main motion and or motion tracking\ninitialization and logic loop', 'signature': 'def timolo():'}</s>cvWhite = (255, 255, 255) | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.