text string | label int64 |
|---|---|
{'name': 'Camera.save@cameratransform/camera.py', 'description': 'Saves the camera parameters to a json file.\n\nParameters\n----------\nfilename : str\n the filename where to store the parameters.', 'signature': 'def save(self, filename: str):'}</s>{'name': 'getCameraParametersFromExif@cameratransform/camera.py', '... | 0 |
{'name': '_unparsedGroup@metar/Metar.py', 'description': 'Handle otherwise unparseable main-body groups.', 'signature': 'def _unparsedGroup( self, d ):'}</s>COLOR = { "BLU":"blue",
"GRN":"green",
"WHT":"white" } | 0 |
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_ASSOCIAT... | 0 |
{'name': 'IREP._grow_ruleset_cn@wittgenstein/irep.py', 'description': 'Grow a Ruleset with (optional) pruning.', 'signature': 'def _grow_ruleset_cn(self, pos_df, neg_df, initial_model=None):'}</s>{'name': 'preprocess_prediction_data@wittgenstein/preprocess.py', 'description': 'DOCSTRING', 'code': 'def preprocess_predic... | 0 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': '_get_args@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _get_args(args):\n try:\n if len(args) == 1 and (isinstance(args[0], tup... | 0 |
{'name': 'yscale_anchored_text@src/mplhep/plot.py', 'description': 'Automatically scale y-axis up to fit AnchoredText\n\nParameters\n----------\n ax : matplotlib.axes.Axes, optional\n Axes object (if None, last one is fetched or one is created)\n otol : float, optional\n Tolerance for overlap, defau... | 0 |
{'name': 'ServiceInfo.getAddress@stino/pyarduino/base/zeroconf.py', 'description': 'Address accessor', 'signature': 'def getAddress(self):'}</s>_UNREGISTER_TIME = 125 | 0 |
{'name': 'get_identity@guardian/utils.py', 'description': 'Get a tuple with the identity of the given input.\n\nReturns a tuple with one of the members set to `None` depending on whether the input is\na `Group` instance or a `User` instance.\nAlso accepts AnonymousUser instance but would return `User` instead.\nIt is c... | 0 |
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature... | 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': '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>user_signup_endpoint = "" | 0 |
{'name': 'class_schema@src/desert/_make.py', 'description': 'Convert a class to a marshmallow schema.\n\nArgs:\n clazz: A python class (may be a dataclass)\n meta: The marshmallow schema metadata dict.\n\nReturns:\n A :class:`marshmallow.Schema` type corresponding to the dataclass.\n\n.. note::\n All the ar... | 1 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>{'name': 'PFOp@pf/rule.py', 'description': 'Class representing a generic comparison operation.', 'base_classes': ['PFObject'], 'methods': [{'name': 'PFOp.__init__@pf/rule.p... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSYSP_STATUS_PREMOUNT = 31 | 0 |
{'name': 'Comment.get@AO3/comments.py', 'description': 'Request a web page and return a Response object', 'signature': 'def get(self, *args, **kwargs):'}</s>{'name': 'collect@AO3/utils.py', 'description': 'Invites a work to a collection. Be careful, you can collect a work multiple times\n\nArgs:\n work (Work): Work ... | 0 |
{'name': '_single_conversion@convert.py', 'description': "THIS WON'T WORK RIGHT NOW, USE THE WORLD CONVERSION LOOP IN MAIN\n\nCall only from __main__ section in this module. Generates sample converted\ninto each emotion.\n\n(str) filename - name.wav file to be converted\n(StarGAN-emo-VC1) model - pretrained model to pe... | 0 |
{'name': 'volume_figure_layout@dash-stock-pricing/app.py', 'description': 'Add layout specific to x-axis\n\nArgs:\n selected_tickers: stock tickers for title\n xaxis_range: `dict` with layout.xaxis.range config\nReturns:\n a layout dict', 'signature': 'def volume_figure_layout(selected_tickers, xaxis_range=Non... | 0 |
{'name': 'RedisDB.__init__@spider/db/redisdb.py', 'description': 'redis的封装\nArgs:\n ip_ports: ip:port 多个可写为列表或者逗号隔开 如 ip1:port1,ip2:port2 或 ["ip1:port1", "ip2:port2"]\n db:\n user_pass:\n url:\n decode_responses:\n service_name: 适用于redis哨兵模式', 'signature': 'def __init__('}</s>SAVE_FAILED_REQUEST = Tru... | 0 |
{'name': 'get_loss@semantic_seg_synthia/models/model_part_seg_meteor_direct.py', 'description': 'pred: BxNx3,\nlabel: BxN,\nmask: BxN', 'signature': 'def get_loss(pred, label, mask, end_points, label_weights):'}</s>{'name': 'flow_embedding_module@utils/net_utils.py', 'description': 'Input:\n xyz1: (batch_size, npoin... | 0 |
{'name': 'integrate@scanorama/scanorama.py', 'description': "Integrate a list of data sets.\n\nParameters\n----------\ndatasets_full : `list` of `scipy.sparse.csr_matrix` or of `numpy.ndarray`\n Data sets to integrate and correct.\ngenes_list: `list` of `list` of `string`\n List of genes for each data set.\nbatch... | 0 |
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>TIMELINE_SCHEDULE = "schedule" | 0 |
{'name': 'CheckComment@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Checks for common mistakes in TODO comments.\n\nArgs:\n comment: The text of the comment from the line in question.\n filename: The name of the current file.\n linenum: The number of the line to check.\n error: The function to call ... | 0 |
{'name': 'ip2int@launcher/buildipdb.py', 'description': '将 IPv4 地址转换为整数', 'signature': 'def ip2int(ip, unpack=struct.unpack, inet_aton=socket.inet_aton):'}</s>ds_MISAKAIO = data_source_manager.add('MISAKAIO', Url_MISAKAIO, parse_cidr_iplist) | 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': 'Invoice.finalize_draft@paystackapi/invoice.py', 'description': 'Method defined to finalize a draft.\n\nArgs:\n id_or_code: ID or Code (string)\n send_notification: Indicates whether Paystack sends an email notification to customer.\n Defaults to true. (Boolean)\n\nReturns:\n Json data from pay... | 1 |
{'name': 'pre_save_signal@automated_logging/signals/save.py', 'description': 'Compares the current instance and old instance (fetched via the pk)\nand generates a dictionary of changes\n\n:param sender:\n:param instance:\n:param kwargs:\n:return: None', 'signature': 'def pre_save_signal(sender, instance, **kwargs) -> N... | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_INQUIRE_LOG = 120 | 0 |
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_2 = CScriptOp(0x52) | 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': 'TokenList.token_first@sqlparse/sql.py', 'description': 'Returns the first child token.\n\nIf *skip_ws* is ``True`` (the default), whitespace\ntokens are ignored.\n\nif *skip_cm* is ``True`` (default: ``False``), comments are\nignored too.', 'signature': 'def token_first(self, skip_ws=True, skip_cm=False):'}</... | 1 |
{'name': 'get_processed_osm_data@urbansprawl/osm/core.py', 'description': "Retrieves buildings, building parts, and Points of Interest associated with a residential/activity land use from OpenStreetMap data for input city\nIf a name for input city is given, the data will be loaded (if it was previously stored)\nIf no s... | 1 |
{'name': 'read_column_data_from_txt@ace/model.py', 'description': 'Read data from a simple text file.\n\nFormat should be just numbers.\nFirst column is the dependent variable. others are independent.\nWhitespace delimited.\n\nReturns\n-------\nx_values : list\n List of x columns\ny_values : list\n list of y valu... | 0 |
{'name': 'StructureLosses.forward@captioning/modules/losses.py', 'description': 'Input is either logits or log softmax', 'signature': "def forward(self, input, seq, data_gts, reduction='mean'):"}</s>{'name': 'get_self_cider_scores@captioning/utils/rewards.py', 'description': 'DOCSTRING', 'code': 'def get_self_cider_sco... | 1 |
{'name': 'w_pb_fs@disdat/hyperframe.py', 'description': "Write the pb contained in the xxxRecord.\n\nNote: If atomic=True, in almost all cases there won't actually be another file with\nthis name. But if there is, this will atomically replace the file with the new version.\n\nNote: Atomicity means we won't have a corr... | 0 |
{'name': 'serialize@strictyaml/ruamel/main.py', 'description': 'Serialize a representation tree into a YAML stream.\nIf stream is None, return the produced string instead.', 'signature': 'def serialize(node, stream=None, Dumper=Dumper, **kwds):'}</s>{'name': 'CollectionNode@strictyaml/ruamel/nodes.py', 'description': '... | 0 |
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>response = LocalResponse(... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPS_STATUS_COMPAT = 4 | 0 |
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ... | 0 |
{'name': 'get_child_access3@Inventory_Modules.py', 'description': "- faws_acct is a custom class (account_class.aws_acct_access)\n- fChildAccount expects an AWS account number (ostensibly of a Child Account)\n- rRegion expects a string representing one of the AWS regions ('us-east-1', 'eu-west-1', etc.)\n- fRoleList ex... | 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': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t... | 0 |
{'name': 'create_mail@watchdog_status.py', 'description': 'create mail from caches which made in span\n\n\nArgs:\n span (int): cache check span\n\nReturns:\n title (string): time and conditions to mail title\n body (string): statuses to mail body', 'signature': 'def create_mail(span):'}</s>MAIL_ADDRESS = confi... | 0 |
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'is_alive@gef.py', 'description': 'Check if G... | 1 |
{'name': 'create_database@Twitch Plays Nintendo Switch/Archive/CommunityController v1/Fortnite/main.py', 'description': 'A, B, X, Y, L, R, ZL, ZR, up, down, left, right, left joystick, right joystick, select', 'signature': 'def create_database() -> None:'}</s>MODE_SIDESCROLLER = 1 | 0 |
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ... | 0 |
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/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:`s... | 0 |
{'name': 'main@ytmdl/main.py', 'description': 'Run on program call.', 'signature': 'def main(args):'}</s>{'name': 'ret_proper_names@ytmdl/dir.py', 'description': 'Return a list with the names changed to itunespy supported ones.\n\nFor eg: Artist to artist_name', 'code': 'def ret_proper_names(ordered_names):\n """Ret... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'LinearExpression.size@linopy/expressions.py', 'description': 'Get the total size of the linear expression.', 'signature': 'def size(self) -> int:'}</s>{'name': 'conwrap@linopy/constraints.py', 'description': 'DOCSTRING', 'code': 'def conwrap(\n method: Callable, *default_args: Any, **new_default_kwargs: An... | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 0 |
{'name': 'FHfilter.Check_AlphaScreen_FHs@scopy/ScoFH/fh_filter_Lib.py', 'description': 'Check molecule under Check_AlphaScreen_FHs Filter,\nwhich presents a compound may be alphascreen frequent hitters.\nThere are 6 SMARTS in this endpoint.\n \n:return: a list of dictionary\n:rtype: list', 'signature': 'def Check_Al... | 1 |
{'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>MQMLP_ENCRYPTION_ALG_NONE = 0 | 0 |
{'name': 'PyJWK.__init__@jwt/api_jwk.py', 'description': "A class that represents a `JSON Web Key <https://www.rfc-editor.org/rfc/rfc7517>`_.\n\n:param jwk_data: The decoded JWK data.\n:type jwk_data: dict[str, typing.Any]\n:param algorithm: The key algorithm. If not specified, the key's ``alg`` will be used.\n:type al... | 1 |
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>DEF_UBER_DIR = "uber_results" | 0 |
{'name': 'BitcoinTestFramework.skip_if_no_bitcoin_chainstate@test/functional/test_framework/test_framework.py', 'description': 'Skip the running test if bitcoin-chainstate has not been compiled.', 'signature': 'def skip_if_no_bitcoin_chainstate(self):'}</s>{'name': 'write_all_rpc_commands@test/functional/test_framework... | 0 |
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'Xor@src/api/python/z3/z3.py', 'descr... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFSTATUS_EMPTY = 8 | 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': 'Leopard.__init__@binding/python/_leopard.py', 'description': "Constructor.\n\n:param access_key: AccessKey obtained from Picovoice Console (https://console.picovoice.ai/)\n:param model_path: Absolute path to the file containing model parameters.\n:param library_path: Absolute path to Leopard's dynamic library... | 1 |
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>update_range = 24*60*60 | 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': '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': 'BareValidator._validate_max@cerberus/validator.py', 'description': "{'nullable': False }", 'signature': 'def _validate_max(self, max_value, field, value):'}</s>{'name': 'DefinitionSchema@cerberus/schema.py', 'description': 'A dict-subclass for caching of validated schemas.', 'base_classes': ['MutableMapping']... | 0 |
{'name': 'FindStartOfExpressionInLine@tools/cpplint.py', 'description': 'Find position at the matching start of current expression.\n\nThis is almost the reverse of FindEndOfExpressionInLine, but note\nthat the input position and returned position differs by 1.\n\nArgs:\n line: a CleansedLines line.\n endpos: start s... | 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': 'torch_hyp_add@scratch/learning_util.py', 'description': 'Accepts torch tensors u, v and returns their sum in hyperbolic\nspace in tensor format. Radius of the open ball is 1/sqrt(c). ', 'signature': 'def torch_hyp_add(u, v, c=1):'}</s>{'name': 'torch_log_map_x@scratch/learning_util.py', 'description': 'DOCSTR... | 0 |
{'name': 'main_sync@signac/__main__.py', 'description': 'Handle sync subcommand.', 'signature': 'def main_sync(args):'}</s>{'name': 'main_remove@signac/__main__.py', 'description': 'Handle remove subcommand.', 'code': 'def main_remove(args):\n """Handle remove subcommand."""\n project = get_project()\n for job... | 0 |
{'name': 'BreakpointCommandTestCase.breakpoint_command_sequence@lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py', 'description': 'Test a sequence of breakpoint command add, list, and delete.', 'signature': 'def breakpoint_command_sequence(self):'}</s>VALID_BREA... | 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': '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': 'TestObjectIdField@tests/tes... | 0 |
{'name': 'parse_feed@feeds/utils_internal.py', 'description': 'Process the queue of feeds that need polling.\n\n:param max_feeds: The maximum number of feeds to read from the queue (default 3).\n:type max_feeds: int\n\n:param output: A file-like object where logging messages will be written.\n:type output: TextIO', 'si... | 0 |
{'name': 'BinnedEventArray.n_bins@nelpy/core/_eventarray.py', 'description': '(int) The number of bins.', 'signature': 'def n_bins(self):'}</s>{'name': 'get_direction@nelpy/utils.py', 'description': 'Return epochs during which an animal was running left to right, or right\nto left.\n\nParameters\n----------\nasa : Anal... | 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': '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': 'MemoryFindTestCase.test_memory_find@llvm-project/lldb/test/API/functionalities/memory/find/TestMemoryFind.py', 'description': "Test the 'memory find' command.", 'signature': 'def test_memory_find(self):'}</s>{'name': 'expectedFailureAndroid@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', 'des... | 0 |
{'name': 'LegistarAPIBillScraper._version_rank@legistar/bills.py', 'description': 'In general, matter versions are numbers. This method provides an\noverride opportunity for handling versions that are not numbers.', 'signature': 'def _version_rank(self, version):'}</s>{'name': 'LegistarAPIScraper@legistar/base.py', 'de... | 0 |
{'name': 'run_pairs@tensorqtl/coloc.py', 'description': 'Compute COLOC for all phenotype pairs', 'signature': 'def run_pairs(genotype_df, variant_df, phenotype1_df, phenotype2_df, phenotype_pos_df,'}</s>{'name': 'center_normalize@tensorqtl/core.py', 'description': 'Center and normalize M', 'code': 'def center_normalize... | 0 |
{'name': 'read_rdi@mhkit/dolfyn/io/rdi.py', 'description': "Read a TRDI binary data file.\n\nParameters\n----------\nfilename : string\n Filename of TRDI file to read.\nuserdata : True, False, or string of userdata.json filename\n Whether to read the '<base-filename>.userdata.json' file. Default = True\nnens : None, ... | 1 |
{'name': 'Metar.runway_visual_range@metar/Metar.py', 'description': 'Return a textual description of the runway visual range.', 'signature': 'def runway_visual_range( self, units=None ):'}</s>WEATHER_INT = { "-":"light",
"+":"heavy",
"-VC":"nearby light",
"+VC":"nearby... | 0 |
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na... | 0 |
{'name': 'transform_args_prefix@ring/func/base.py', 'description': "`transform_args` for basic single-access methods in interfaces.\n\nCreate and returns uniform fully keyword-annotated arguments except for\nthe first ``rule.get('prefix_count')`` number of positional arguments for\ngiven actual arguments of ring wires.... | 0 |
{'name': 'Gama.__init__@gama/gama.py', 'description': 'Parameters\n----------\nsearch_space: Dict\n Specifies available components and their valid hyperparameter settings.\n For more information, see :ref:`search_space_configuration`.\n\nscoring: str, Metric or Tuple\n Specifies the/all metric(s) to optimize t... | 1 |
{'name': 'Path.add@furl/furl.py', 'description': 'Add <path> to the existing path. <path> can either be a Path instance,\na list of segments, or a path string to append to the existing path.\n\nReturns: <self>.', 'signature': 'def add(self, path):'}</s>DEFAULT_PORTS = {
'acap': 674,
'afp': 548,
'dict': 2628... | 0 |
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>{'name': 'Forward@tests/_lib_vendors/pkg_resou... | 0 |
{'name': 'infidandgrad@examples/fidelity-gradient.py', 'description': '""\nTake a numpy array [hx0, hz0, hx1, hz1, ...] over full timesteps and\nreturn the fidelity and gradient of the fidelity to the global target_derivative', 'signature': 'def infidandgrad(paras):'}</s>bloch_length = np.sqrt(s_x**2 +s_y**2 + s_z**2) | 0 |
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>py = sys.version_info | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'is_bv_value@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is a Z3 bit-vector numeral value.\n\n... | 0 |
{'name': 'media@gedgo/views/media.py', 'description': "Authenticated media endpoint - accepts a 'size' parameter that will\ngenerate previews", 'signature': 'def media(request, storage_name, pathname):'}</s>GEDGO_SHOW_RESEARCH_FILES = os.environ.get('GEDGO_SHOW_RESEARCH_FILES', 'True') == 'True' | 0 |
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>{'name': 'EXTRACT_RVC_SWSP_IMM@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'DOCSTRING', 'code': 'def ... | 0 |
{'name': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >... | 0 |
{'name': 'cd._tab_fuzzy_match@.config/ranger/commands_full.py', 'description': 'Find directories matching tokens recursively ', 'signature': 'def _tab_fuzzy_match(self, basepath, tokens):'}</s>{'name': 'console@.config/ranger/commands_full.py', 'description': ':console <command>\n\nOpen the console with the given comma... | 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': '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': 'ParseArguments@scripts/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>{'name': 'Che... | 0 |
{'name': 'write_rtdc@AIDeveloper/aid_bin.py', 'description': 'fname - path+filename of file to be created\nrtdc_datasets - list paths to rtdc data-data-sets\nX_valid - list containing numpy arrays. Each array contains cropped images of individual measurements corresponding to each rtdc_ds\nIndices - list containing num... | 0 |
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>{'name': 'PassStmt@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['SimpleStmt'], 'methods': []} | 0 |
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>N_NODES_PER_FACE_DIMS = ["n_face"] | 0 |
{'name': 'normalize_numbered_streets@scourgify/normalize.py', 'description': 'Change numbered street names to include missing original identifiers.\n\n:param parsed_addr: address parsed into ordereddict per usaddress.\n:type parsed_addr: Mapping\n:return: parsed_addr with ordinal identifiers appended to numbered street... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.