text string | label int64 |
|---|---|
{'name': 'updateDocumentToCMain@third_party/Catch2/scripts/updateDocumentToC.py', 'description': 'Add or update table of contents to specified paths.', 'signature': 'def updateDocumentToCMain():'}</s>{'name': 'createToc@third_party/Catch2/scripts/updateDocumentToC.py', 'description': "Creates the table of contents from... | 0 |
{'name': 'add_multi_constructor@strictyaml/ruamel/main.py', 'description': 'Add a multi-constructor for the given tag prefix.\nMulti-constructor is called for a node if its tag starts with tag_prefix.\nMulti-constructor accepts a Loader instance, a tag suffix,\nand a node object and produces the corresponding Python ob... | 0 |
{'name': 'AdbDevice._filesync_send@adb_shell/adb_device.py', 'description': 'Send/buffer FileSync packets.\n\nPackets are buffered and only flushed when this connection is read from. All\nmessages have a response from the device, so this will always get flushed.\n\nParameters\n----------\ncommand_id : bytes\n Comman... | 0 |
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s... | 0 |
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>lnurl_generation_2 = "QRcode da scansionare" | 0 |
{'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': 'NoDistortion@cameratransform/lens_distortion.py', 'descri... | 1 |
{'name': 'parse_connection_string@uamqp/utils.py', 'description': 'Parse a connection string such as those provided by the Azure portal.\nConnection string should be formatted like: `Key=Value;Key=Value;Key=Value`.\nThe connection string will be parsed into a dictionary.\n\n:param connect_str: The connection string.\n:... | 0 |
{'name': 'execute.open@source-builder/sb/execute.py', 'description': 'Open a command with arguments. Provide the arguments as a list or\na string.', 'signature': 'def open(self,'}</s>{'name': 'flush@source-builder/sb/log.py', 'description': 'DOCSTRING', 'code': 'def flush(log=None):\n if log:\n log.flush()\n ... | 0 |
{'name': 'Bootstrap.compute_children_sql@operations.py', 'description': 'Compute the children on resampled data in SQL.', 'signature': 'def compute_children_sql('}</s>{'name': '_format_to_condition@operations.py', 'description': 'DOCSTRING', 'code': 'def _format_to_condition(val):\n if isinstance(val, str) and not val... | 0 |
{'name': 'Comps._verif_to_comps_threshold@verif/input.py', 'description': 'Converts from verif threshold (i.e. 0.3) to COMPS name (i.e p03) ', 'signature': 'def _verif_to_comps_threshold(threshold):'}</s>{'name': 'date_to_datenum@verif/util.py', 'description': 'Converts date in YYYYMMDD format into datenum\n\nArguments... | 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': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>init_cycle = 20*60 | 0 |
{'name': 'Analyzer.assign@sqf/analyzer.py', 'description': 'Assigns the rhs_v to the lhs variable.', 'signature': 'def assign(self, lhs, rhs_v):'}</s>{'name': 'Statement@sqf/types.py', 'description': 'The main class for holding statements. It is a BaseType because it can be nested, and\nit is a _Statement because it ca... | 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': 'current_umask@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/utils/misc.py', 'description': 'Get the current umask which involves having to set it temporarily.', 'signature': 'def current_umask():'}</s>{'name': 'redact_netloc@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/utils/misc.py',... | 0 |
{'name': 'sigmoidal@rio_color/operations.py', 'description': 'Sigmoidal contrast is type of contrast control that\nadjusts the contrast without saturating highlights or shadows.\nIt allows control over two factors:\nthe contrast range from light to dark, and where the middle value\nof the mid-tones falls. The result is... | 0 |
{'name': 'MultispeakerDictionaryMixin.dictionary_setup@montreal_forced_aligner/dictionary/multispeaker.py', 'description': 'Set up the dictionary for processing', 'signature': 'def dictionary_setup(self) -> Tuple[typing.Set[str], collections.Counter]:'}</s>{'name': 'update_configuration@montreal_forced_aligner/config.p... | 0 |
{'name': 'urljoin@bleach/_vendor/parse.py', 'description': 'Join a base URL and a possibly relative URL to form an absolute\ninterpretation of the latter.', 'signature': 'def urljoin(base, url, allow_fragments=True):'}</s>{'name': '_ResultMixinBytes@bleach/_vendor/parse.py', 'description': 'Standard approach to decodin... | 0 |
{'name': 'sys_tags@blockchain-env/lib/python3.7/site-packages/packaging/tags.py', 'description': 'Returns the sequence of tag triples for the running interpreter.\n\nThe order of the sequence corresponds to priority order for the\ninterpreter, from most to least important.', 'signature': 'def sys_tags():'}</s>{'name': ... | 1 |
{'name': 'gen_inc_module@da/compiler/incgen.py', 'description': 'Generates the interface file from a DistPy AST.', 'signature': 'def gen_inc_module(daast, cmdline_args, filename=""):'}</s>{'name': 'LtOp@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['ComparisonOperator'], 'methods': []} | 0 |
{'name': 'ProcessLine@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 line of the file,\n ... | 0 |
{'name': 'DetailedMessage.addDetailedOneOf@kortex_driver/scripts/ros_kortex_generator.py', 'description': "Adds a DetailedOneOf to the message's one_of_list\n\nArguments: \n- one_of: One_of to add to the message [DetailedOneOf]\n\nReturns: None", 'signature': 'def addDetailedOneOf(self, one_of):'}</s>{'name': 'render@k... | 0 |
{'name': 'run_wrapper@models/stylegan_tf_official/dnnlib/submission/submit.py', 'description': 'Wrap the actual run function call for handling logging, exceptions, typing, etc.', 'signature': 'def run_wrapper(submit_config: SubmitConfig) -> None:'}</s>_user_name_override = None | 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': 'PersistenceImage.transform@sklearn_tda/vector_methods.py', 'description': 'Compute the persistence image for each persistence diagram individually and store the results in a single numpy array.\n\nParameters:\n X (list of n x 2 numpy arrays): input persistence diagrams.\n\nReturns:\n Xfit (numpy array w... | 0 |
{'name': 'NormalizeOutput@googletest/test/googletest-output-test.py', 'description': 'Normalizes output (the output of googletest-output-test_.exe).', 'signature': 'def NormalizeOutput(output):'}</s>GOLDEN_NAME = "googletest-output-test-golden-lin.txt" | 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': '_makeTags@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'replaceHTMLEntity@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'des... | 0 |
{'name': '_format_compatibility_errors@jupyterlab/commands.py', 'description': 'Format a message for compatibility errors.', 'signature': 'def _format_compatibility_errors(name, version, errors):'}</s>{'name': '_normalize_path@jupyterlab/commands.py', 'description': 'Normalize a given extension if it is a path.', 'code... | 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>MQRC_MSG_HANDLE_IN_USE = 2499 | 0 |
{'name': 'LessParser.__init__@lesscpy/lessc/parser.py', 'description': 'Parser object\n\nKwargs:\n lex_optimize (bool): Optimize lexer\n yacc_optimize (bool): Optimize parser\n tabfile (str): Yacc tab filename\n yacc_debug (bool): yacc debug mode\n scope (Scope): Inherited scope\n outputdir (str): Out... | 0 |
{'name': 'RecursiveMakeBackend.consume_object@python/mozbuild/mozbuild/backend/recursivemake.py', 'description': 'Write out build files necessary to build with recursive make.', 'signature': 'def consume_object(self, obj):'}</s>{'name': 'SandboxWrapped@python/mozbuild/mozbuild/frontend/data.py', 'description': 'Generic... | 1 |
{'name': 'ProcessFileData@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strin... | 0 |
{'name': 'wait_until_exit@test/io/postgrest.py', 'description': 'Wait for PostgREST to exit, or times out', 'signature': 'def wait_until_exit(postgrest):'}</s>{'name': 'replicaenv@test/io/config.py', 'description': 'Default environment for a PostgREST replica.', 'code': 'def replicaenv(defaultenv):\n "Default enviro... | 0 |
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'parse_visit_overlaps... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'VersioneerConfig@versioneer.py', 'description': 'Container for Versioneer configuration parameters.', 'base_classes': [], 'methods': []} | 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': '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': 'ProductReadServiceStub@grpc-mate-python/grpc_mate/product_search_engine_pb2_grpc.py', 'de... | 1 |
{'name': 'Test.test_MCD43A4@tests/test_image.py', 'description': 'Test the image module for MCD43A4', 'signature': 'def test_MCD43A4(self):'}</s>{'name': '__sub__@eemont/image.py', 'description': 'Computes the subtraction between two images.\n\nParameters\n----------\nself : ee.Image\n Left operand.\nother : ee.Imag... | 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': 'test_using_ledgers_for_reconciliation@capone/tests/test_create_transaction.py', 'description': 'Test ledger behavior with a revenue reconciliation worked example.\n\nThis test creates an Order and a CreditCardTransaction and, using the\nfour Ledgers created in setUp, it makes all of the ledger entries that\na... | 1 |
{'name': 'field_assertions_and_warnings@scripts/schema/cleaner.py', 'description': 'Additional checks on a fleshed out field', 'signature': 'def field_assertions_and_warnings(field: FieldDetails) -> None:'}</s>YAML_EXT = {'yml', 'yaml'} | 0 |
{'name': 'create_dependencies_overlay@colcon_bundle/verb/_overlay_utilities.py', 'description': 'Create the dependencies overlay from staging_path.\n\n:param str staging_path: Path where all the dependencies\nhave been installed/extracted to\n:param str overlay_path: Path of overlay output file\n(.tar.gz)', 'signature'... | 1 |
{'name': 'get_follows@weibo_scraper.py', 'description': ':param max_item_limit:\n:param name:\n:param uid:\n:param pages:\n:return:', 'signature': 'def get_follows(name: str = None, uid: str = None, pages: int = None, max_item_limit: int = None):'}</s>{'name': 'FollowAndFollowerParser@weibo_base/weibo_parser.py', 'desc... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_GMO_ERROR = 2186 | 0 |
{'name': 'AuthenticationService.user_change_password@sdk/python/teaclave.py', 'description': 'Change password.\n\nArgs:\n\n user_password: New password.', 'signature': 'def user_change_password(self, user_password: str):'}</s>{'name': 'FunctionInput@sdk/python/teaclave.py', 'description': 'Function input for registe... | 0 |
{'name': 'FloatArrayToGrayImage@6_Demo_MatlabAndPythonControl/python/VREP_RemoteAPIs/depth_image_encoding.py', 'description': 'Convert a floating point array of values to an RGB image.\n\nConvert floating point values to a fixed point representation with\nthe given bit depth.\n\nThe precision of the depth image with de... | 0 |
{'name': 'create_yoy_chart@src/fitly/pages/performance.py', 'description': ':param metric: Allowed values from strava summary table [hrss, tss, trimp, distance, elapsed_time, high_intensity_seconds, mod_intensity_seconds, low_intensity_seconds]\n:return:', 'signature': "def create_yoy_chart(metric, sport='all'):"}</s>c... | 1 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PFR_REFCNT_ANCHOR = 1 | 0 |
{'name': 'MatchListener.exitPropTestOrder@stix2matcher/matcher.py', 'description': "Consumes an observation data map, {obs_id: {...}, ...}, representing\n selected values from Cyber Observable objects in each observation\n (grouped by observation index and root Cyber Observable object ID).\n See exitObjectPath().\nP... | 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': 'ascond@wittgenstein/base.py', 'description': 'Return a Cond from a str or Cond', 'code': 'def ascond(obj):\n ""... | 0 |
{'name': '_config_create@dwave/cloud/cli.py', 'description': 'Full/simplified dwave create flows.', 'signature': 'def _config_create(config_file, profile, ask_full=False, auto_token=False, project=None):'}</s>{'name': 'ping@dwave/cloud/cli.py', 'description': 'Ping the QPU by submitting a single-qubit problem.', 'code'... | 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': 'PipeBase.scan_local@d6tpipe/pipe.py', 'description': 'Get file attributes from local. To run before doing a pull/push\n\nArgs:\n include (str): pattern of files to include, eg `*.csv` or `a-*.csv|b-*.csv`\n exclude (str): pattern of files to exclude\n attributes (bool): return filenames with attribut... | 0 |
{'name': 'GlacierDirectory.__init__@oggm/utils/_workflow.py', 'description': "Creates a new directory or opens an existing one.\n\nParameters\n----------\nrgi_entity : a ``geopandas.GeoSeries`` or str\n glacier entity read from the shapefile (or a valid RGI ID if the\n directory exists)\nbase_dir : str\n path ... | 1 |
{'name': 'ApiMixIn.list@k8s/base.py', 'description': 'List all resources in given namespace', 'signature': 'def list(cls, namespace="default"):'}</s>{'name': 'WatchBaseEvent@k8s/base.py', 'description': 'Abstract base class for Watch events.\nContains the resource version of the event as property resource_version.', 'b... | 0 |
{'name': 'TestStartUrls.test_start_urls_should_have_at_least_one_element@tests/config_loader/start_urls_test.py', 'description': 'Should throw if start_urls does not have at least one element ', 'signature': 'def test_start_urls_should_have_at_least_one_element(self):'}</s>{'name': 'config@tests/config_loader/abstract.... | 1 |
{'name': 'word_normalization@src/ocr/normalization.py', 'description': 'Preprocess a word - resize, binarize, tilt world.', 'signature': 'def word_normalization(image, height, border=True, tilt=True, border_size=15, hyst_norm=False):'}</s>{'name': '_sobel_detect@src/ocr/normalization.py', 'description': 'The Sobel Oper... | 0 |
{'name': 'merge_dungeonstatic@bcml/mergers/mubin.py', 'description': 'Merges all changes to the CDungeon Static.smubin', 'signature': 'def merge_dungeonstatic(diffs: dict = None):'}</s>{'name': 'set_profile@bcml/util.py', 'description': 'DOCSTRING', 'code': 'def set_profile(profile_name: str) -> None:\n profile_path... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQOO_SET = 64 | 0 |
{'name': 'GetOutputOfAllCommands@googletest/test/googletest-output-test.py', 'description': 'Returns concatenated output from several representative commands.', 'signature': 'def GetOutputOfAllCommands():'}</s>{'name': '_ParseAndStripGTestFlags@googletest/test/gtest_test_utils.py', 'description': 'Parses and strips Goo... | 0 |
{'name': '_fold_bn_pact@nemo/transf/bn.py', 'description': 'Performs batch-normalization folding following the algorithm presented in\nhttps://arxiv.org/abs/1905.04166. It performs both normal folding and inverse\nfolding using two separate dictionaries `bn_dict` and `bn_inv_dict`.\n\n:param bn_dict: a dictionary of la... | 0 |
{'name': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f... | 0 |
{'name': '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': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'get_mol_supplier@FPSim2/io/chem.py', 'description': 'Returns a mol supplier depending on the object type and file extension.\n\nParameters\n----------\nmols_source : str or iterable\n .smi or .sdf filename or iterable.\n\nfps_sort: bool\n Whether if the FPs should be sorted or not.\n\nReturns\n-------\n... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'voc_ap@utils/utils_map.py', 'description': '--- Official matlab code VOC2012---\nmrec=[0 ; rec ; 1];\nmpre=[0 ; prec ; 0];\nfor i=numel(mpre)-1:-1:1\n mpre(i)=max(mpre(i),mpre(i+1));\nend\ni=find(mrec(2:end)~=mrec(1:end-1))+1;\nap=sum((mrec(i)-mrec(i-1)).*mpre(i));', 'signature': 'def voc_ap(rec, prec)... | 0 |
{'name': 'answer_question@server.py', 'description': ' Will get entities for the question.\n Generate subgraph\n Run corechain and aux predictions\n\n\n:param question: str: intended question to answer\n:return:', 'signature': 'def answer_question(question, entities=None):'}</s>KNOWN_SHORTHANDS = ['dbo', 'dbp'... | 0 |
{'name': 'Metrics.eval@v2/musegan/utils/metrics.py', 'description': 'Evaluate the input bars with the metrics', 'signature': 'def eval(self, bars, verbose=False, mat_path=None, fig_dir=None):'}</s>{'name': 'get_harmonicity@v2/musegan/utils/metrics.py', 'description': 'Return the harmonicity metric value', 'code': 'def ... | 1 |
{'name': 'generate_flat_fields@scripts/generators/intermediate_files.py', 'description': 'Generate ecs_flat.yml', 'signature': 'def generate_flat_fields(fields: Dict[str, FieldEntry]) -> Dict[str, Field]:'}</s>{'name': 'yaml_dump@scripts/generators/ecs_helpers.py', 'description': 'DOCSTRING', 'code': "def yaml_dump(\n ... | 0 |
{'name': 'to_pytorch_type@python/taichi/lang/util.py', 'description': 'Convert taichi data type to its counterpart in torch.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in torch.', 'signature': 'def to_pytorch_type(dt):'}</s>{'name': 'in_python_sco... | 0 |
{'name': 'Path.asGameModRelative@ValveFileSystem/path.py', 'description': "Returns a path instance that is relative to the mod if the path is under the game tree.\nIf the path doesn't match the game tree, the original filepath is returned.", 'signature': 'def asGameModRelative(self):'}</s>{'name': 'getAddonPaths@ValveF... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQOT_LOCAL_Q = 1004 | 0 |
{'name': 'to_human_readable@src/evengsdk/cli/utils.py', 'description': 'Generate human readable output for passed object\n\nArgs:\n obj (dict): Object to format\n keys (list[str]): list of keys to print output for\n\nReturns:\n str: formatted string output', 'signature': 'def to_human_readable(obj: Dict, keys:... | 0 |
{'name': 'MarkMethodMixin.mark_text@altair/vegalite/v3/schema/mixins.py', 'description': "Set the chart's mark to 'text'\n\nFor information on additional arguments, see :class:`MarkDef`", 'signature': 'def mark_text(self, align=Undefined, angle=Undefined, baseline=Undefined, binSpacing=Undefined,'}</s>{'name': 'Padding... | 0 |
{'name': 'SlipSystem.__init__@defdap/crystal.py', 'description': 'Initialise a slip system object.\n\nParameters\n----------\nslipPlane: nunpy.ndarray\n Slip plane.\nslipDir: numpy.ndarray\n Slip direction.\ncrystalStructure : defdap.crystal.CrystalStructure\n Crystal structure of the slip system.\ncOverA : fl... | 0 |
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_EVEN = "even" | 0 |
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'ms_from_race_start@src/server/server.py', 'description': 'Return milliseconds since race start.', 'code': "def ms_from_race_start():\n '''Return milliseconds sinc... | 0 |
{'name': 'main@signac/__main__.py', 'description': 'Provide command line interface.', 'signature': 'def main():'}</s>{'name': '_open_job_by_id@signac/__main__.py', 'description': 'Attempt to open a job by id and provide user feedback on error.', 'code': 'def _open_job_by_id(project, job_id):\n """Attempt to open a j... | 0 |
{'name': 'SendMessage._change_name_workflow@py/send_message.py', 'description': 'Invoke change name workfow.', 'signature': 'def _change_name_workflow(self, name: Optional[str] = None) -> None:'}</s>ERR_GENERIC = 103 | 0 |
{'name': 'test_trino_query_response_headers@tests/unit/test_client.py', 'description': 'Validates that the `TrinoQuery.execute` function can take addtional headers\nthat are pass the the provided request instance post function call and it\nreturns a `TrinoResult` instance.', 'signature': 'def test_trino_query_response_... | 0 |
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>CONF_OUTPUT_EVENTS = "output_events" | 0 |
{'name': 'rerun_failed_testcase@util/testrunner/qt-testrunner.py', 'description': 'Run a specific function:tag of a test, until it passes enough times, or\nuntil max_repeats is reached.\n\nReturn True if it passes eventually, False if it fails.', 'signature': 'def rerun_failed_testcase(test_basename, testargs: List[str... | 1 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com... | 0 |
{'name': 'RegionType.is_indoors@BaseClasses.py', 'description': 'Shorthand for checking if Interior or Dungeon', 'signature': 'def is_indoors(self):'}</s>{'name': 'Location@BaseClasses.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Location.__init__@BaseClasses.py', 'description': 'D... | 0 |
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'bbXYWH2Coords@lib/rpn_util.py', 'description': 'Convert from [x,y,w,h] to [x1, y1, x2, y2]', ... | 0 |
{'name': 'detach@aegea/ebs.py', 'description': 'Detach an EBS volume from an EC2 instance.\n\nIf *volume_id* does not start with "vol-", it is interpreted as a mountpoint on the local instance,\nmapped to its underlying EBS volume, unmounted and detached.', 'signature': 'def detach(args):'}</s>{'name': 'ls@aegea/ebs.py... | 0 |
{'name': 'AbstractCodeEditorView._format@airflow_code_editor/code_editor_view.py', 'description': 'Sort imports and format code', 'signature': 'def _format(cls):'}</s>HTTP_200_OK = 200 | 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>non_game_keywords = ('framework', 'game engine', 'library', 'tool') | 0 |
{'name': 'VirusTotal.__url_lookup@lookyloo/modules/vt.py', 'description': 'Lookup an URL on VT\nNote: force means 2 things:\n * (re)scan of the URL\n * re fetch the object from VT even if we already did it today\n\nNote: the URL will only be sent for scan if autosubmit is set to true in the config', 'signature': ... | 1 |
{'name': 'show_settings@versions/speed-cam_12.06.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>MOTION_CODE = False | 0 |
{'name': 'InputsTest.test_faster_rcnn_resnet50_eval_input@object_detection/inputs_test.py', 'description': 'Tests the eval input function for FasterRcnnResnet50.', 'signature': 'def test_faster_rcnn_resnet50_eval_input(self, eval_batch_size=1):'}</s>{'name': 'random_resize_method@object_detection/core/preprocessor.py',... | 0 |
{'name': 'Card.to_id@python/phevaluator/card.py', 'description': 'Return the Card ID integer as API.\n\nIf the passed argument is integer, it\'s returned with doing nothing.\nIf the passed argument is string, its id is calculated.\nIf the passed argument is Card, `other.id_` is returned.\n\nArgs:\n other (int): The ... | 1 |
{'name': 'html_escape@src/back/kite/bottle.py', 'description': 'Escape HTML special characters ``&<>`` and quotes ``\'"``. ', 'signature': 'def html_escape(string):'}</s>TEMPLATES = {} | 0 |
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>top_recent_range = _get_value(_extconf, 'Gateway',
'top_recent_range', 3*24*60*60, 'int') | 0 |
{'name': 'validate_spec@swagger_spec_validator/validator20.py', 'description': "Validates a Swagger 2.0 API Specification given a Swagger Spec.\n\n:param spec_dict: the json dict of the swagger spec.\n:type spec_dict: dict\n:param spec_url: url from which spec_dict was retrieved. Used for\n dereferencing refs. eg: f... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.