text string | label int64 |
|---|---|
{'name': 'decode_log@eth_event/main.py', 'description': 'Decode a single event log from a transaction receipt.\n\nIndexed arrays cannot be decoded. The returned value will still\nbe encoded. Anonymous events and events where the topic is not found in\n`topic_map` will raise an exception.\n\nThe return data is formatted... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQGACF_Q_ACCOUNTING_DATA = 8010 | 0 |
{'name': 'REP.__init__@rep0/rep.py', 'description': 'Init object from an open REP file object.', 'signature': 'def __init__(self, rep_file):'}</s>intro = "
The REP contains the index of all ROS Enhancement Proposals,
known as REPs. REP numbers are assigned by the REP Editor, and
once assigned are never cha... | 0 |
{'name': 'BaseResponse.add_header@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Add an additional response header, not removing duplicates. ', 'signature': 'def add_header(self, name, value):'}</s>{'name': 'makelist@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'DOCSTRING', 'code': ... | 0 |
{'name': 'NodeRedSwitch.is_on@custom_components/nodered/switch.py', 'description': 'Return the state of the switch.', 'signature': 'def is_on(self) -> bool:'}</s>CONF_SWITCH = "switch" | 0 |
{'name': 'phenotypic_phase_plane@cameo/flux_analysis/analysis.py', 'description': "Phenotypic phase plane analysis [1].\n\nImplements a phenotypic phase plan analysis with interpretation same as\nthat presented in [1] but calculated by optimizing the model for all\nsteps of the indicated variables (instead of using sha... | 0 |
{'name': 'EntriesMaintainer.update_statistics@code/maintenance_entries.py', 'description': 'Generates the statistics page.\n\nShould be done every time the entries change.', 'signature': 'def update_statistics(self):'}</s>local_config_file = root_path / 'local-config.ini' | 0 |
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>OP_RIPEMD160 = CScriptOp(0xa6) | 0 |
{'name': 'ProcessLine@compiler-rt/lib/sanitizer_common/scripts/cpplint.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 l... | 0 |
{'name': '_rd_dat_signals@wfdb/io/_signal.py', 'description': "Read all signals from a WFDB dat file.\n\nParameters\n----------\nfile_name : str\n The name of the dat file.\ndir_name : str\n The full directory where the dat file(s) are located, if the dat\n file(s) are local.\npn_dir : str\n The PhysioNet d... | 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': 'gf_mult_noLUT_slow@reedsolo.py', 'description': "Multiplication in Galois Fields without using a precomputed look-up table (and thus it's slower) by using the standard carry-less multiplication + modular reduction using an irreducible prime polynomial.", 'signature': 'def gf_mult_noLUT_slow(x, y, prim=0):'}</... | 0 |
{'name': 'TerminalFrame.StartThread@examples/wxTerminal.py', 'description': 'Start the receiver thread', 'signature': 'def StartThread(self):'}</s>ID_CLEAR = wx.NewId() | 0 |
{'name': 'do_setup@versioneer.py', 'description': 'Do main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup() -> int:'}</s>{'name': 'scan_setup_py@versioneer.py', 'description': "Validate the contents of setup.py against Versioneer's expectations.", 'code': 'def scan_setup_py() -> ... | 0 |
{'name': 'BasicGEModel.link_predict@python/dglke/models/ke_model.py', 'description': "Predicts missing entities or relations in a triplet.\n\nGiven head_id, relation_id and tail_id, return topk most relevent triplet.\n\nParameters\n----------\nhead: th.Tensor\n A tensor of head entity id.\n\nrel: th.Tensor\n A te... | 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': 'IWLBeamformReader.read_file@CSIKit/reader/readers/read_bfee.py', 'description': 'This function parses .dat files generated by log_to_file.\n\nParameters:\n file (filereader): File reader object returned from open().\n\nReturns:\n total_csi (list): All valid CSI blocks contained within the given file.', ... | 1 |
{'name': 'numpy@examples/python/ggml/utils.py', 'description': "Convert a ggml tensor to a numpy array.\nIf the tensor isn't quantized, the returned numpy array will be a view over its data.\n\nIf it is quantized (and allow_copy is True), the copy will involve dequantization and the returned array will\nbe a copy of th... | 0 |
{'name': 'describe_pe_direction@src/bids/reports/parameters.py', 'description': 'Generate description of phase encoding direction.', 'signature': 'def describe_pe_direction(metadata: dict, config: dict) -> str:'}</s>{'name': 'describe_multiband_factor@src/bids/reports/parameters.py', 'description': 'Generate descriptio... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CHL_INST_TYPE_ERROR = 3064 | 0 |
{'name': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>TYPE_RAIN_DAY = "rain_day" | 0 |
{'name': 'TestHttpHandler.test_read@papermill/tests/test_iorw.py', 'description': 'Tests that the `read` function performs a request to the giving path\nand returns the response.', 'signature': 'def test_read(self):'}</s>{'name': 'PapermillIO@papermill/iorw.py', 'description': 'The holder which houses any io system reg... | 0 |
{'name': 'BPF._sym_cache@src/python/bcc/__init__.py', 'description': '_sym_cache(pid)\n\nReturns a symbol cache for the specified PID.\nThe kernel symbol cache is accessed by providing any PID less than zero.', 'signature': 'def _sym_cache(pid):'}</s>{'name': 'get_online_cpus@src/python/bcc/utils.py', 'description': 'D... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_PURGE_CHANNEL = 195 | 0 |
{'name': 'test_keys@tests/unit/featurizers/test_cgr.py', 'description': 'Test that the keys function returns the correct set of modes.', 'signature': 'def test_keys(expected_aliases):'}</s>{'name': 'mode_imbalanced@tests/unit/featurizers/test_cgr.py', 'description': 'DOCSTRING', 'code': 'def mode_imbalanced(request):\n... | 0 |
{'name': 'Assignment.__init__@lib/rule_engine/ast.py', 'description': ':param str name: The symbol name that the assignment is defining.\n:param value: The value of the assignment.\n:param value_type: The data type of the assignment.\n:type value_type: :py:class:`~.DataType`', 'signature': 'def __init__(self, name, *, ... | 0 |
{'name': 'Monitor.decode_json@wideq/client.py', 'description': 'Decode a bytestring that encodes JSON status data.', 'signature': 'def decode_json(data: bytes) -> Dict[str, Any]:'}</s>{'name': 'MalformedResponseError@wideq/core.py', 'description': 'The server produced malformed data, such as invalid JSON.', 'base_class... | 0 |
{'name': 'Context.resolve@lib/rule_engine/engine.py', 'description': 'The method to use for resolving symbols names to values. This function must return a compatible value for the\nspecified symbol name. When a *scope* is defined, this function handles the resolution itself, however when the\n*scope* is ``None`` the re... | 0 |
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'test_db_schema_... | 0 |
{'name': '_plugin_analyze@plecost_lib/libs/plugins_utils.py', 'description': 'This functions download and URL, if pass callback function validation.\n\n:param data_map: a dict with with plugin info, into a list. This list comes from csv iteration. Format:\n {\n plugin_name: [\n [0] => plugin ur... | 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': 'ReceiptAdmin@django_afip/admin.py', 'description': 'DOCSTRING', 'base_classes': ['admin.ModelAdmin'], 'methods': [{'name': 'ReceiptAdmin.get... | 0 |
{'name': 'add_handlers@jupyterlab_server/handlers.py', 'description': 'Add the appropriate handlers to the web app.', 'signature': 'def add_handlers(handlers: list[Any], extension_app: LabServerApp) -> None:'}</s>{'name': 'ThemesHandler@jupyterlab_server/themes_handler.py', 'description': 'A file handler that mangles l... | 1 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>MLD_MTRACE = 201 | 0 |
{'name': 'build_badodabCV_kernel@sgmcmcjax/kernels.py', 'description': 'build BADODAB kernel with Control Variates\n\nArgs:\n dt (float): step size\n loglikelihood (Callable): log-likelihood for a single data point\n logprior (Callable): log-prior for a single data point\n data (Tuple): tuple of data. It sh... | 0 |
{'name': 'ParseArguments@third_party/cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{... | 1 |
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen... | 1 |
{'name': 'get_dir@util/io.py', 'description': 'return the directory it belongs to.\nif path is a directory itself, itself will be return ', 'signature': 'def get_dir(path):'}</s>{'name': 'load_json@util/io.py', 'description': 'DOCSTRING', 'code': "def load_json(path):\n import ujson as json\n path = get_absolute_... | 0 |
{'name': 'XMLDump.finish@TDScanner/sqlmap/lib/core/xmldump.py', 'description': 'Finishes the dumper operation:\n1. Adds the session status to the xml\n2. Writes the xml to the file\n3. Closes the xml file', 'signature': 'def finish(self, resultStatus, resultMsg=""):'}</s>kb = AttribDict() | 0 |
{'name': 'Paystack.__init__@paystackapi/paystack.py', 'description': 'Instantiate Basic Classes to call here.', 'signature': 'def __init__(self, secret_key=None):'}</s>{'name': 'Transaction@paystackapi/transaction.py', 'description': 'docstring for Transaction.', 'base_classes': ['PayStackBase'], 'methods': [{'name': '... | 1 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'main@src/python_scripts/scripts/1d_tool.py', 'description': 'DOCSTRING', 'code': 'def main():\n aint = A1DInterfa... | 0 |
{'name': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>CAL_OBJ_PX_L2R = 80 | 0 |
{'name': 'from_arrow_type@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/types.py', 'description': 'Convert pyarrow type to Spark data type.\n ', 'signature': 'def from_arrow_type(at):'}</s>_FIXED_DECIMAL = re.compile(r"decimal\(\s*(\d+)\s*,\s*(\d+)\s*\)") | 0 |
{'name': 'Product.copy_default_variation@cartridge/shop/models.py', 'description': 'Copies the price and image fields from the default variation\nwhen the product is updated via the change view.', 'signature': 'def copy_default_variation(self):'}</s>{'name': 'sale_update_products@cartridge/shop/models.py', 'description... | 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': 'locked@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/server/TNonblockingServer.py', 'description': 'Decorator which locks self.lock.', 'signature': 'def locked(func):'}</s>{'name': 'TFramedTransportFactory@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/transport/TTransport.py', 'descr... | 0 |
{'name': 'ListingManager.populate@src/plugins/tags/structure/listing/manager/__init__.py', 'description': 'Populate listing with tags featured in the mappings.\n\nArguments:\n listing: The listing.\n mappings: The mappings.\n renderer: The renderer.', 'signature': 'def populate('}</s>{'name': 'Mapping@material... | 1 |
{'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': '_get_bool_config_skip_if_decorat... | 0 |
{'name': '_sampling_strategy_auto@self_paced_ensemble/utils/_validation.py', 'description': 'Returns sampling target auto for over-sampling and not-minority for\nunder-sampling.', 'signature': 'def _sampling_strategy_auto(y, sampling_type):'}</s>SAMPLING_KIND = (
"over-sampling",
"under-sampling",
"clean-sa... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_CF_OFFLOAD_THRESHOLD1 = 225 | 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>MQPSCLUS_ENABLED = 1 | 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': 'Architecture@gef.py', 'description': 'Generic metaclass for the architec... | 0 |
{'name': 'Analysis@FastProject/Pipelines.py', 'description': 'Run the full FastProject analysis pipeline\n\nParameters\n----------\nexpressionMatrix : ExpressionData\nsignatures : list of Signatures.Signature\nprecomputed_signatures : dict\n Keys are precomputed signature names (str)\n Values are signature levels... | 1 |
{'name': 'SystemTest.test_get_active_mode_hot_water_holiday_mode@tests/test_system.py', 'description': 'Test get active mode for hot water with holiday mode.', 'signature': 'def test_get_active_mode_hot_water_holiday_mode(self) -> None:'}</s>{'name': 'HolidayMode@pymultimatic/model/quick_mode.py', 'description': "Repre... | 1 |
{'name': 'RenderCar._render_pascal@car/render_car.py', 'description': "Parameters\n----------\nmode: string\n ['train', 'valid']\nr1: resize ratio of height to width\n\nReturns\n----------", 'signature': 'def _render_pascal(self, mode, r1=1.0):'}</s>{'name': 'cv2_add_bbox_text@yolo_modules/yolo_cv.py', 'description': ... | 0 |
{'name': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>RE_PATTERN_LINE_SPLIT = re.compile(r'(?:\r\n|(?!\r\n)[\n\r])|$') | 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': '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': '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': 'GefSessionManager@gef.py', 'description': 'Class managing the runtime pr... | 0 |
{'name': 'validate_args@lib/topology/args.py', 'description': 'Validate that arguments are valid.\n\n:param args: An arguments namespace.\n:type args: :py:class:`argparse.Namespace`\n\n:return: The validated namespace.\n:rtype: :py:class:`argparse.Namespace`', 'signature': 'def validate_args(args):'}</s>FORMAT = "%(asc... | 1 |
{'name': 'networkd_networks@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd network configuration.\n\nThe format is compatible with the systemd_networkd_network variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: ... | 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': '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': 'AdaBoundW.step@exp2/utils/adabound.py', 'description': 'Performs a single optimization step.\nArguments:\n closure (callable, optional): A closure that reevaluates the model\n and returns the loss.', 'signature': 'def step(self, closure=None):'}</s>{'name': 'AdaBound@exp2/utils/adabound.py', 'descri... | 0 |
{'name': 'test_multi_labelview@dynamic_raw_id/tests/test_integrity.py', 'description': 'Call the labelview directly (what usually an Ajax JS call would do)\nand check for proper response. Exect a multi response.', 'signature': 'def test_multi_labelview(admin_client: Client, sample_obj: Any) -> None:'}</s>{'name': 'test... | 0 |
{'name': 'Player.update@demo_experiments/breakout_tobii.py', 'description': 'Update the player position. ', 'signature': 'def update(self):'}</s>{'name': 'Connect@titta/Titta.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Connect.__init__@titta/Titta.py', 'description': "in_arg can b... | 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>{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'descript... | 0 |
{'name': 'copy@tessera-server/tasks.py', 'description': 'Copy a dashboard (via API) between two running Tessera instances.\n\n:param str source_id:\n Source dashboard ID, e.g. if copying a dashboard that lives at\n ``http://mytessera.com/dashboards/123``, this would simply be ``123``.\n\n:param str source_uri:\n ... | 0 |
{'name': 'RMLAttribute.get@src/z3c/rml/attr.py', 'description': 'See zope.schema.interfaces.IField', 'signature': 'def get(self):'}</s>SampleStyleSheet = getSampleStyleSheet() | 0 |
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo... | 0 |
{'name': 'TetherTask.configure@lang/py/avro/tether/tether_task.py', 'description': 'Parameters\n-------------------------------------------------------------------\ntaskType - What type of task (e.g map, reduce)\n - This is an enumeration which is specified in the input protocol\ninSchemaText - string containi... | 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': 'resolveAndSplit@ValveFileSystem/path.py', 'description': "recursively expands all environment variables and '..' tokens in a pathname", 'signature': 'def resolveAndSplit(path, envDict=None, raiseOnMissing=False):'}</s>{'name': 'stripcomments@ValveFileSystem/valve.py', 'description': 'Strips all C++ style bloc... | 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': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>SIGHASH_SINGLE = 3 | 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': 'post_add_arguments@awsume/awsumepy/hookspec.py', 'description': 'post add_arguments hook', 'signature': 'def post_add_arguments(config: dict, arguments: argparse.Namespace, parser: argparse.ArgumentParser):'}</s>{'name': 'catch_user_authentication_error@awsume/awsumepy/hookspec.py', 'description': 'DOCSTRING'... | 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': 'Sheet.insert@tksheet/sheet.py', 'description': 'Insert an item into the treeview\n\nReturns:\n str: new item iid', 'signature': 'def insert('}</s>{'name': 'del_named_span_options_nested@tksheet/functions.py', 'description': 'DOCSTRING', 'code': 'def del_named_span_options_nested(\n options: dict, itr1: ... | 0 |
{'name': 'is_odd@nelpy/utils.py', 'description': 'Returns True if n is odd, and False if n is even.\nAssumes integer.', 'signature': 'def is_odd(n):'}</s>{'name': 'find_threshold_crossing_events@nelpy/utils.py', 'description': "Find threshold crossing events. INCLUSIVE\n\nParameters\n----------\nx : numpy array\n In... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_SERVICE_STATUS = 1260 | 0 |
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'create_2d_data@3DLabelGen/Left2Right/data_utils.py', 'description': 'Creates 2d poses by projecting 3d poses with the corresponding camera\nparameters. Also normalizes the 2d poses\n\nArgs\n actions: list of strings. Actions to load\n data_dir: string. Directory where the data can be loaded from\n rcams: d... | 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': 'load_operator@streaming/python/raystreaming/operator.py', 'description': 'Deserialize `descriptor_operator_bytes` to get operator info, then\ncreate streaming operator.\nNote that this function must be kept in sync with\n `io.ray.streaming.runtime.python.GraphPbBuilder.serializeOperator`\n\nArgs:\n descrip... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSCO_STRUC_ID_ARRAY = [b"S", b"C", b"O", b" "] | 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': 'draw_moist_adiabat@pymeteo/skewt.py', 'description': 'Plot moist adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates moist adiabats\nand plots these lines. Adiabats are calculated for\nvalues of T at 1000mb from -15 to 45 C every 5 C b... | 0 |
{'name': 'deobfuscate_email@src/coaster/utils/text.py', 'description': 'Deobfuscate email addresses in provided text.', 'signature': 'def deobfuscate_email(text: str) -> str:'}</s>{'name': 'ustrip@src/coaster/utils/text.py', 'description': 'Strip Unicode extended whitespace from a string.', 'code': 'def ustrip(text: st... | 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': 'reportUsageToAuthor@ValveFileSystem/valve.py', 'description': 'when called, this method will fire of a ... | 0 |
{'name': 'galah@gaia_tools/load/__init__.py', 'description': "NAME:\n galah\nPURPOSE:\n Load the GALAH data\nINPUT:\n dr= (2) data release\n ages= (False; DR >= 3) if True, add ages and other info from VAC\n ages_join_type= ('inner') type of table join to do between the main catalog and the ages VAC: 'inner' ... | 0 |
{'name': 'check_conditions@07_train/privacy/research/pate_2018/smooth_sensitivity.py', 'description': 'Checks conditions C5 and C6 (Section B.4.2 in Appendix).', 'signature': 'def check_conditions(sigma, m, order):'}</s>{'name': 'compute_params_for_ss_release@07_train/privacy/research/pate_2018/smooth_sensitivity.py', ... | 0 |
{'name': 'create_config@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Create the SIP configuration module so that it can be imported by build\nscripts.\n\nmodule is the module file name.\ntemplate is the template file name.\nmacros is the dictionary of build macros.', 'signature': 'def create_config(mo... | 0 |
{'name': 'test_extract_sac_defaults@tests/test_win32.py', 'description': 'Extract SAC files using default settings.', 'signature': 'def test_extract_sac_defaults():'}</s>{'name': 'test_extract_sacpz_non_input@tests/test_win32.py', 'description': 'Return None if the input is None.', 'code': 'def test_extract_sacpz_non_i... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQUSAGE_EXPAND_SYSTEM = 2 | 0 |
{'name': 'RIPPER.fit@build/lib/wittgenstein/ripper.py', 'description': "Fit a Ruleset model.\n\nParameters\n----------\ntrainset : DataFrame, numpy array, or other iterable\n Training dataset. Optional whether to include or exclude class labels column.\ny : iterable of str, int, bool\n Class labels corresponding ... | 0 |
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'Error@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Message'], 'methods': []} | 0 |
{'name': 'ProAntiSaccades.take_a_break@demo_experiments/anti_saccades.py', 'description': 'Break\nArgs:\n duration - time in s to break', 'signature': 'def take_a_break(self, duration, calibrate=False):'}</s>duration_peripheral_target = 1 | 0 |
{'name': 'Receipt.formatted_number@django_afip/models.py', 'description': "This receipt's number in the usual format: ``0001-00003087``.", 'signature': 'def formatted_number(self) -> str | None:'}</s>{'name': 'default_expires@django_afip/models.py', 'description': 'The default expiration date for new tickets.', 'code':... | 0 |
{'name': 'DetectionNetwork.build_loss@libs/networks/build_whole_network.py', 'description': ':param rpn_box_pred: [-1, 4]\n:param rpn_bbox_targets: [-1, 4]\n:param rpn_cls_score: [-1]\n:param rpn_labels: [-1]\n:param bbox_pred: [-1, 4*(cls_num+1)]\n:param bbox_targets: [-1, 4*(cls_num+1)]\n:param cls_score: [-1, cls_nu... | 0 |
{'name': 'test_image_validate_00920@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_validate.py', 'description': '### Classes and Methods\n- ``ImageValidate``\n ` ``commit``\n\n### Summary\nVerify that commit() sets result, response, and response_data\nappropriately when serial_numbers is empty.\n\n###... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.