text string | label int64 |
|---|---|
{'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': 'Channel.open@amqp/channel.py', 'description': 'Open a channel for use.\n\nThis method opens a virtual connection (a channel).\n\nRULE:\n\n This method MUST NOT be called when the channel is already\n open.\n\nPARAMETERS:\n out_of_band: shortstr (DEPRECATED)\n\n out-of-band settings\n\n ... | 0 |
{'name': 'process_report@cspreports/utils.py', 'description': 'Given the HTTP request of a CSP violation report, log it in the required ways. ', 'signature': 'def process_report(request):'}</s>{'name': 'get_midnight@cspreports/utils.py', 'description': 'Return last midnight in localtime as datetime.\n\n@return: Midnigh... | 0 |
{'name': 'BIDSLayoutIndexer._index_metadata@src/bids/layout/index.py', 'description': 'Index metadata for all files in the BIDS dataset.\n ', 'signature': 'def _index_metadata(self):'}</s>{'name': '_regexfy@src/bids/layout/index.py', 'description': 'DOCSTRING', 'code': 'def _regexfy(patt, root=None):\n if has... | 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': 'dashboard_get@tessera-server/tessera/views_api.py', 'description': 'Get the metadata for a single dashboard.\n\n ', 'signature': 'def dashboard_get(id):'}</s>{'name': '_set_dashboard_hrefs@tessera-server/tessera/views_api.py', 'description': 'Add the various ReSTful hrefs to an outgoing dashboard\nrepresen... | 1 |
{'name': 'TestConfigBase.tearDown@test/test_config.py', 'description': 'Test case common fixture teardown.', 'signature': 'def tearDown(self):'}</s>{'name': 'TestConfigBase@test/test_config.py', 'description': 'Base class for config test cases.', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'TestConfigBa... | 1 |
{'name': 'swaggerCheck@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will check if the swagger definitions exist for all APIs\n:return: True if exists. False otherwise', 'signature': 'def swaggerCheck():'}</s>store_application_endpoint = "" | 0 |
{'name': '_network@kayobe/plugins/filter/networkd.py', 'description': 'Return a networkd network for an interface.\n\n:param context: a Jinja2 Context object.\n:param name: name of the network.\n:param inventory_hostname: Ansible inventory hostname.\n:param bridge: Name of a bridge into which the interface is plugged, ... | 0 |
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>masked_singleton = MaskedConstant() | 0 |
{'name': 'Client.get_export_dates@recurly/client.py', 'description': 'List the dates that have an available export to download.\n\nReturns\n-------\n\nExportDates\n Returns a list of dates.', 'signature': 'def get_export_dates(self, **options):'}</s>{'name': 'BaseClient@recurly/base_client.py', 'description': 'DOCST... | 0 |
{'name': 'transform@support/docopt.py', 'description': 'Expand pattern into an (almost) equivalent one, but with single Either.\n\nExample: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d)\nQuirks: [-a] => (-a), (-a...) => (-a -a)', 'signature': 'def transform(pattern):'}</s>{'name': 'Required@support/docopt.py... | 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': 'textureAsGameTexture@ValveFileSystem/valve.py', 'description': 'returns a resolved game texture filepath given some sort of texture path', 'signature': 'def textureAsGameTexture(texturePath):'}</s>{'name': 'getAddonBasePaths@ValveFileSystem/valve.py', 'description': "Returns a list of Paths for the addon base... | 0 |
{'name': 'S5SSM.setup@s5/ssm.py', 'description': 'Initializes parameters once and performs discretization each time\nthe SSM is applied to a sequence', 'signature': 'def setup(self):'}</s>{'name': 'init_log_steps@s5/ssm_init.py', 'description': 'Initialize an array of learnable timescale parameters\nArgs:\n key: jax... | 1 |
{'name': 'round_filters@siim_acr/src/layers/backbone/utils.py', 'description': 'Calculate and round number of filters based on depth multiplier. ', 'signature': 'def round_filters(filters, global_params):'}</s>PRETRAINED_DIR = "/data5/data/pretrained" | 0 |
{'name': 'run_model_on_ep@onnxruntime/python/tools/tensorrt/perf/benchmark.py', 'description': 'Benchmarks and/or validates the given model on the given EP.\n\n:param args: The command-line arguments to this script.\n:param model_name: The name of the model to run.\n:param model_info: A dictionary that contains paths t... | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP_ALTHOSTADDR = 6 | 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>MQXR_XMIT = py23long(14) | 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': 'get_word@src/future/backports/email/_header_value_parser.py', 'description': "word = atom / ... | 0 |
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>{'name': 'FreePattern@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['PatternElement'], 'methods': [{'name': 'FreePattern.__init__@da/compiler/dast.py',... | 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>{'name': 'RegExpList@shingetsu/conflist.py', 'description': 'RegExp list.\n\nOne regexp per one line.', 'base_cla... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQGI_NONE_ARRAY = [b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0",
b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0",
... | 0 |
{'name': 'NetworkProfile.AddAnchorCertificate@gmacpyutil/gmacpyutil/profiles.py', 'description': 'Adds a certificate payload to the profile for server identification.\n\nArgs:\n certificate: str, PEM-formatted certificate.\n\nRaises:\n CertificateError: there was an error processing the certificate', 'signature': 'de... | 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': 'TarInfo.frombuf@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>TSGID = 1024 | 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_exporttype_vec_copy@language-bindings/python/src/wamr/wasmcapi/... | 0 |
{'name': 'TestAdminTreeList.test_result_tree_list_escapes_labels@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree_list_escapes_labels(self, model_with_unicode):'}</s>{'name': 'TestMP... | 0 |
{'name': 'ProductReadServiceStub.__init__@grpc-mate-python/grpc_mate/product_search_engine_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>{'name': 'add_ProductUpdateServiceServicer_to_server@grpc-mate-python/grpc_mate/product_search_engi... | 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': 'disassemble@tools/lldb/packages/Python/lldbsuite/test/lldbutil.py'... | 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': 'Zenodo.upload_file@src/showyourwork/zenodo.py', 'description': 'Upload a file to the latest deposit draft.', 'signature': 'def upload_file(self, file, rule_name, tarball=False):'}</s>{'name': 'get_repo_slug@src/showyourwork/git.py', 'description': 'Return the current repository slug ("user/repo").', 'code': '... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>PRODUCED_M = [4022] | 0 |
{'name': 'parseItem@python_v2/label_data_utils.py', 'description': '_summary_\n\nArgs:\n item (LabelItem): _description_\n map_item (Map<string, LabelItem>): _description_', 'signature': 'def parseItem(item, map_item):'}</s>labelInputPath = os.path.join(os.path.dirname(os.path.abspath(__file__)), labelInputDir) | 0 |
{'name': 'Xpress.solve_problem_from_file@linopy/solvers.py', 'description': 'Solve a linear problem from a problem file using the Xpress solver.\n\nThis function reads the linear problem file and passes it to\nthe Xpress solver. If the solution is successful it returns\nvariable solutions and constraint dual values. Th... | 0 |
{'name': 'DetectionNetwork.postprocess_fastrcnn@libs/networks/build_whole_network.py', 'description': ':param rois:[-1, 4]\n:param bbox_ppred: [-1, (cfgs.Class_num+1) * 4]\n:param scores: [-1, cfgs.Class_num + 1]\n:return:', 'signature': 'def postprocess_fastrcnn(self, rois, bbox_ppred, scores, img_shape):'}</s>{'name'... | 1 |
{'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': 'InverseCompton._iso_ic_on_monochromatic@src/naima/radiative.py', 'description': 'IC cross-section for an isotropic interaction with a monochromatic\nphoton spectrum following Eq. 22 of Aharonian & Atoyan 1981, Ap&SS 79,\n321 (`http://adsabs.harvard.edu/abs/1981Ap%26SS..79..321A`_)', 'signature': 'def _iso_ic_... | 0 |
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJE_DEVICE_NOT_CONNECTED = 1015 | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'PySRRegressor.get_hof@pysr/sr.py', 'description': 'Get the equations from a hall of fame file or search output.\n\nIf no arguments entered, the ones used\npreviously from a call to PySR will be used.', 'signature': 'def get_hof(self, search_output=None) -> pd.DataFrame | list[pd.DataFrame]:'}</s>{'name': 'PyS... | 1 |
{'name': 'Parser.p_expression_bytes@lib/rule_engine/parser/__init__.py', 'description': 'object : BYTES', 'signature': 'def p_expression_bytes(self, p):'}</s>{'name': 'MappingExpression@lib/rule_engine/ast.py', 'description': 'Literal mapping expression representing a set of associations between keys and values.', 'bas... | 0 |
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>{'name': 'simxRem... | 0 |
{'name': 'profile_dump@lib/charliecloud.py', 'description': 'If profiling, dump the profile data.', 'signature': 'def profile_dump():'}</s>RSYNC_MIN = (3,1,0) | 0 |
{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'signature': 'def test_email_validation_with_none():'}</s>{'name': 'test_path_with_float_dict_key@voluptuous/tests/tests.py', 'description': 'Not obvious case with dict having not strings, but fl... | 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_72 = Badge("bouqu... | 0 |
{'name': 'FramelessEnterSendQTextEdit.is_alphabet@jamWidgets.py', 'description': '判断一个unicode是否是英文字母', 'signature': 'def is_alphabet(self, uchar):'}</s>{'name': 'FramelessEnterSendQTextEdit@jamWidgets.py', 'description': 'DOCSTRING', 'base_classes': ['QTextEdit'], 'methods': [{'name': 'FramelessEnterSendQTextEdit.__ini... | 1 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJE_DATA_BUFFER_OVERFLOW = 20 | 0 |
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>{'name': 'load_properties@code/utils/utils.py', 'description': 'Read the file as a properties file (in Java).', 'cod... | 0 |
{'name': 'StdCmd@MRT_FUNC_PY4_influxDB.py', 'description': 'Use instead of writing ser.write all the time', 'signature': 'def StdCmd(ser,cmd):'}</s>nIDBytes = 18 | 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': 'TestDateTimeField.test__parent__init__method_included_in_init_chain@tests/test_db_fields.py', 'description': 'Test to protect from accidental incorrect __init__ method overwrite.', 'signature': 'def test__parent__init__method_included_in_init_chain(self, db, mocker):'}</s>{'name': 'TestStringFieldCommons@test... | 0 |
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>OP_12 = CScriptOp(0x5c) | 0 |
{'name': 'get_battery_voltage@board/board.py', 'description': 'Returns the current battery voltage. If no battery is connected, returns 3.7V\nThis is an approximation only, but useful to detect if the battery is getting low.', 'signature': 'def get_battery_voltage():'}</s>bat_fct = 2 | 1 |
{'name': 'run@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:... | 0 |
{'name': 'vgg13_bn@Yolov1_pytorch/models/net.py', 'description': 'VGG 13-layer model (configuration "B") with batch normalization\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def vgg13_bn(pretrained=False, **kwargs):'}</s>cfg = {
'A': [64, 'M', 128, 'M', 256, 256... | 1 |
{'name': 'LoadtestWorkerStub.__init__@load-test-framework/python_src/proto_dir/loadtest_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>_LOADTESTWORKER = _descriptor.ServiceDescriptor(
name='LoadtestWorker',
full_name='google.pubsub.l... | 0 |
{'name': 'verify_database@oaiharvest/registry.py', 'description': 'Verify that a suitable database exists, create it if not.', 'signature': 'def verify_database(path):'}</s>MAX_NAME_LENGTH = 15 | 1 |
{'name': 'run@src/pygenomeviz/scripts/pmauve.py', 'description': 'Run genome visualization workflow', 'signature': 'def run('}</s>__all__ = [
"fetch_genbank_by_accid",
"load_example_fasta_dataset",
"load_example_genbank_dataset",
"load_example_gff_file",
"ColorCycler",
"extract_features_within_r... | 0 |
{'name': 'Contract.make_asts@panoramix/contract.py', 'description': 'we need to do ast creation from the contract, not function level,\nbecause some simplifications (type/field removal) require insight to all the functions,\nnot just a single one', 'signature': 'def make_asts(self):'}</s>{'name': 'try_merge@panoramix/f... | 0 |
{'name': 'LongTypesExprTestCase.test_unsigned_long_type_from_block@llvm-project/lldb/test/API/types/TestLongTypesExpr.py', 'description': "Test that 'unsigned_long'-type variables are displayed correctly from a block.", 'signature': 'def test_unsigned_long_type_from_block(self):'}</s>_re_pattern_type = type(re.compile(... | 0 |
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=... | 0 |
{'name': 'LpProblem.sequentialSolve@pulp/pulp.py', 'description': 'Solve the given Lp problem with several objective functions.\n\nThis function sequentially changes the objective of the problem\nand then adds the objective function as a constraint\n\n:param objectives: the list of objectives to be used to solve the pr... | 0 |
{'name': 'CorpusAligner.evaluate_alignments@montreal_forced_aligner/alignment/base.py', 'description': 'Evaluate alignments against a reference directory\n\nParameters\n----------\nmapping: dict[str, Union[str, list[str]]], optional\n Mapping between phones that should be considered equal across different phone set ... | 0 |
{'name': 'URLopener.open_ftp@src/future/backports/urllib/request.py', 'description': 'Use FTP protocol.', 'signature': 'def open_ftp(self, url):'}</s>{'name': 'LineTooLong@src/future/backports/http/client.py', 'description': 'DOCSTRING', 'base_classes': ['HTTPException'], 'methods': [{'name': 'LineTooLong.__init__@src/... | 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': 'Test.test_TS_Regions@tests/test_imagecollection.py', 'description': 'Test the Container Emulation Methods', 'signature': 'def test_TS_Regions(self):'}</s>MOD13Q1 = ee.ImageCollection("MODIS/006/MOD13Q1").filterBounds(point) | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': '_get_args_ast_list@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _get_args_ast_list(args):\n try:\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': 'BlockManager.blocking@friendship/models.py', 'description': 'Return a list of all users the given user blocks', 'signature': 'def blocking(self, user):'}</s>followee_removed = Signal() | 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': '_dump_float@src/betterproto/__init__.py', 'description': 'Dump the given float to JSON\n\nParameters\n----------\nvalue: float\n Value to dump\n\nReturns\n-------\nUnion[float, str]\n Dumped value, either a float or the strings', 'signature': 'def _dump_float(value: float) -> Union[float, str]:'}</s>{'n... | 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': '_AttributeResolver.resolve_type@lib/rule_engine/engine.py', 'description': 'The method to use for resolving the data type of an attribute.\n\n:param object_type: The data type of the object that *name* is an attribute of.\n:param str name: The name of the attribute to retrieve the data type of.\n:return: The ... | 0 |
{'name': 'RunningMetrics.get_scores@util/metrics.py', 'description': 'Returns score about:\n - overall accuracy\n - mean accuracy\n - mean IU\n - fwavacc\nFor reference, please see: https://en.wikipedia.org/wiki/Confusion_matrix\n:return:', 'signature': 'def get_scores(self):'}</s>eps = np.finfo(float).eps | 1 |
{'name': 'all_gather@camera2car/auto_calib/util/misc.py', 'description': 'Run all_gather on arbitrary picklable data (not necessarily tensors)\nArgs:\n data: any picklable object\nReturns:\n list[data]: list of data gathered from each rank', 'signature': 'def all_gather(data):'}</s>{'name': 'is_dist_avail_and_ini... | 0 |
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'GlibcHeapSmallBinsCommand@gef.py', 'description': 'Convenience command for viewing small bins.', 'base_class... | 0 |
{'name': 'TestUtils.test_add_remove_ghosts@grand/tests/test_utils.py', 'description': 'Test that the add_ghosts() and remove_ghosts() functions work fine', 'signature': 'def test_add_remove_ghosts(self):'}</s>{'name': 'TestUtils@grand/tests/test_utils.py', 'description': 'Class to store the tests for grand.utils', 'bas... | 1 |
{'name': 'create_blueprint@flask_security/views.py', 'description': 'Creates the security extension blueprint', 'signature': 'def create_blueprint(state, import_name):'}</s>{'name': 'url_for_security@flask_security/utils.py', 'description': 'Return a URL for the security blueprint\n\n:param endpoint: the endpoint of th... | 0 |
{'name': 'ShopTests.test_order@tests/test_shop.py', 'description': "Test that a completed order contains cart items and that\nthey're removed from stock.", 'signature': 'def test_order(self):'}</s>{'name': 'ProductImage@cartridge/shop/models.py', 'description': "An image for a product - a relationship is also defined w... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': 'getsource@dill/source.py', 'description': "Return the text of the source code for an object. The source code for\ninteractively-defined objects are extracted from the interpreter's history.\n\nThe argument may be a module, class, method, function, traceback, frame,\nor code object. The source code is returne... | 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': 'Arcball.drag@utils/transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'random_quaternion@utils/transformations.py', 'description': 'Return uniform random unit quaternion.\n\nrand: array like or None\n Three independent random ... | 0 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'scan_setup_py@versioneer.py', 'description': "Validate the contents of setup.py against Versioneer's expectations.", 'code': 'def scan_setup_py():\n """... | 0 |
{'name': 'Client.request@agithub/base.py', 'description': 'Low-level networking. All HTTP-method methods call this', 'signature': 'def request(self, method, url, bodyData, headers):'}</s>{'name': 'IncompleteRequest@agithub/base.py', 'description': 'IncompleteRequests are partially-built HTTP requests.\nThey can be buil... | 0 |
{'name': 'COCOeval.evaluateImg@src/data/pycocotools/cocoeval.py', 'description': 'perform evaluation for single category and image\n:return: dict (single image results)', 'signature': 'def evaluateImg(self, imgId, catId, aRng, maxDet):'}</s>iou = _mask.iou | 1 |
{'name': 'create_objects@bacnet/BopTestProxy.py', 'description': 'Create the objects that hold the result values.', 'signature': 'def create_objects(app, configfile):'}</s>{'name': 'main@bacnet/BopTestProxy.py', 'description': 'DOCSTRING', 'code': 'def main():\n global vendor_id, g, baseurl\n\n parser = ConfigArg... | 0 |
{'name': 'ETagResponseMixin._is_range_request_processable@blockchain-env/lib/python3.7/site-packages/werkzeug/wrappers/etag.py', 'description': 'Return ``True`` if `Range` header is present and if underlying\nresource is considered unchanged when compared with `If-Range` header.', 'signature': 'def _is_range_request_pr... | 0 |
{'name': 'BaseComponent.sparse_fit@torchnmf/nmf.py', 'description': 'Learn a NMF model for the data V by minimizing beta divergence with sparseness constraints proposed in\n`Non-negative Matrix Factorization with Sparseness Constraints`_.\n\nTo invoke this function, attributes :meth:`H <torchnmf.nmf.BaseComponent.H>` a... | 0 |
{'name': 'catch_errors@django_afip/admin.py', 'description': 'Catches specific errors in admin actions and shows a friendly error.', 'signature': 'def catch_errors('}</s>{'name': 'GenericAfipType@django_afip/models.py', 'description': "An abstract class for several of AFIP's metadata types.\n\nThis superclass is used t... | 0 |
{'name': 'Countries.__getitem__@django_countries/__init__.py', 'description': 'Some applications expect to be able to access members of the field\nchoices by index.', 'signature': 'def __getitem__(self, index):'}</s>CountryCode = Union[str, int, None] | 0 |
{'name': 'construct_model@src/experiments.py', 'description': 'Construct NN graph.', 'signature': 'def construct_model(args):'}</s>{'name': 'process_data@src/experiments.py', 'description': 'DOCSTRING', 'code': "def process_data():\n data_dir = args.data_dir\n raw_kb_path = os.path.join(data_dir, 'raw.kb')\n t... | 0 |
{'name': 'AGraph.remove_node@pygraphviz/agraph.py', 'description': 'Remove the single node n.\n\nAttempting to remove a node that isn\'t in the graph will produce\nan error.\n\n>>> import pygraphviz as pgv\n>>> G = pgv.AGraph()\n>>> G.add_node("a")\n>>> G.remove_node("a")', 'signature': 'def remove_node(self, n):'}</s>... | 0 |
{'name': 'buildGraph@mininet-wifi/scalabilityTest/code.py', 'description': 'Builds the Graph', 'signature': 'def buildGraph():'}</s>pmem_ovs_linear = [] | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_RECONNECTING = 2544 | 0 |
{'name': 'NVMeOFConnectorTestCase.test_connect_volume_not_replicated_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'Single vol attach fails and disconnects on failure.', 'signature': 'def test_connect_volume_not_replicated_fails('}</s>REPLICAS = "volume_replicas" | 0 |
{'name': 'have_qstring@labelImg.py', 'description': 'p3/qt5 get rid of QString wrapper as py3 has native unicode str type', 'signature': 'def have_qstring():'}</s>{'name': 'YoloOBBReader@libs/yolo_obb_io.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'YoloOBBReader.__init__@libs/yolo_obb_io.p... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.