text string | label int64 |
|---|---|
{'name': 'print_numpy@utils/util.py', 'description': 'Print the mean, min, max, median, std, and size of a numpy array\n\nParameters:\n val (bool) -- if print the values of the numpy array\n shp (bool) -- if print the shape of the numpy array', 'signature': 'def print_numpy(x, val=True, shp=False):'}</s>{'name': ... | 0 |
{'name': 'IPDatabase.generate_vsim_tcl@ipstools/ipstools/IPDatabase.py', 'description': "Exports the `vsim.tcl` script.\n\n :param filename: Output TCL script file name.\n :type filename: str\n\n :param source: 'ips' or 'rtl'\n :type source: str\n\nThis function exports the `vs... | 0 |
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>KEY_F9 = 298 | 0 |
{'name': 'build_inlinepatterns@source-builder/sb/markdown/inlinepatterns.py', 'description': 'Build the default set of inline patterns for Markdown. ', 'signature': 'def build_inlinepatterns(md_instance, **kwargs):'}</s>ETX = "" | 0 |
{'name': '_TestAWSIoTCoreDeviceLifecycleBase.test_device_accept_and_reject_or_dismiss@backend-tests/tests/test_aws_iotcore.py', 'description': 'Test how accepted-rejected and accepted-dismissed Mender flow affects AWS IoT Core devices.', 'signature': 'def test_device_accept_and_reject_or_dismiss('}</s>{'name': 'create_... | 0 |
{'name': 'readFdat@fwtool/sony/fdat.py', 'description': 'Reads a decrypted FDAT file and returns its contents', 'signature': 'def readFdat(file):'}</s>{'name': 'parse32be@fwtool/util/__init__.py', 'description': 'DOCSTRING', 'code': "def parse32be(data):\n return struct.unpack('>I', data)[0]"} | 0 |
{'name': 'runBody@cxxtest/cxxtestgen.py', 'description': 'Body of TestDescription::run()', 'signature': 'def runBody( suite, test ):'}</s>{'name': 'scanLineInsideSuite@cxxtest/cxxtestgen.py', 'description': 'Analyze line which is part of a suite', 'code': "def scanLineInsideSuite( suite, lineNo, line ):\n '''Analyze... | 0 |
{'name': 'ModifyVABCCompressionParam@tools/releasetools/ota_from_target_files.py', 'description': 'Update update VABC Compression Param in dynamic_partitions_info.txt\nArgs:\n content: The string content of dynamic_partitions_info.txt\n algo: The compression algorithm should be used for VABC. See\n https://cs.... | 0 |
{'name': 'LinearExpression.size@linopy/expressions.py', 'description': 'Get the total size of the linear expression.', 'signature': 'def size(self) -> int:'}</s>{'name': 'ScalarLinearExpression@linopy/expressions.py', 'description': 'A scalar linear expression container.\n\nIn contrast to the LinearExpression class, a ... | 0 |
{'name': 'FancyPage.is_left@rst2pdf/createpdf.py', 'description': 'Default behavior is that the first page is on the left.\n\nIf the user has --first_page_on_right, the calculation is reversed.', 'signature': 'def is_left(self, page_num):'}</s>{'name': 'SmartFrame@rst2pdf/flowables.py', 'description': 'A (Hopefully) sm... | 0 |
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ... | 0 |
{'name': 'AnkiDataFrame.add_cards@ankipandas/ankidf.py', 'description': "Add cards belonging to notes of one model.\n\nArgs:\n nid: Note IDs of the notes that you want to add cards for\n cdeck: Name of deck to add cards to as string or list of strings\n (different deck for each nid).\n cord: Number of t... | 0 |
{'name': 'Request.get_response@spider/network/request.py', 'description': '获取带有selector功能的response\n@param save_cached: 保存缓存 方便调试时不用每次都重新下载\n@return:', 'signature': 'def get_response(self, save_cached=False):'}</s>RANDOM_HEADERS = True | 1 |
{'name': 'FrameRecord.get_link_urls@disdat/hyperframe.py', 'description': 'Assuming a link FrameRecord, return all the URLs in the frame\n\nReturns:\n (:list:str): An ordered set of link URLs', 'signature': 'def get_link_urls(self):'}</s>UINT8 = 5 | 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': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'floats_to_strin... | 0 |
{'name': 'softmax@RULSTM/utils.py', 'description': 'Compute softmax values for each sets of scores in x.', 'signature': 'def softmax(x):'}</s>{'name': 'topk_recall@RULSTM/utils.py', 'description': 'DOCSTRING', 'code': 'def topk_recall(scores, labels, k=5, classes=None):\n unique = np.unique(labels)\n if classes i... | 0 |
{'name': 'RobustPath.segment@gdspy/path.py', 'description': 'Add a straight section to the path.\n\nParameters\n----------\nend_point : array-like[2]\n End position of the straight segment.\nwidth : number, callable, list\n If a number, all parallel paths are linearly tapered to this\n width along the segment.... | 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': 'collect_oracle_results_at_res@mseg_semantic/scripts/collect_results.py', 'description': 'For all test datasets (except WildDash), aggregate the results of the corresponding\noracle models at a specific evaluation resolution (from resolution-specific .txt files in subfolders).\n\nArgs:\n resolution: either ... | 0 |
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'InvalidListItemType@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['... | 0 |
{'name': 'init_media@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard,\nand sound cache', 'signature': 'def init_media():'}</s>HITPOINTS_ON = [39] | 0 |
{'name': 'MH.get_sql_and_with_clause@operations.py', 'description': 'Gets the SQL query and WITH clause.\n\nThe query is constructed in a similar way to AbsoluteChange except that we\napply weights to adjust the change.\n\nFor example, the query for\nMH(\'condition\', \'base_value\', \'stratified\',\n metr... | 0 |
{'name': 'Filter.__init__@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/html5lib/filters/sanitizer.py', 'description': 'Creates a Filter\n\n:arg allowed_elements: set of elements to allow--everything else will\n be escaped\n\n:arg allowed_attributes: set of attributes to allow in\n elements--everything ... | 1 |
{'name': 'cartesian@src/auspex/stream.py', 'description': 'http://stackoverflow.com/questions/28684492/numpy-equivalent-of-itertools-product', 'signature': "def cartesian(arrays, out=None, dtype='f'):"}</s>{'name': 'DataStream@src/auspex/stream.py', 'description': 'A stream of data', 'base_classes': ['object'], 'method... | 0 |
{'name': 'transcribe@whisper/transcribe.py', 'description': 'Transcribe an audio file using Whisper\n\nParameters\n----------\nmodel: Whisper\n The Whisper model instance\n\naudio: Union[str, np.ndarray, torch.Tensor]\n The path to the audio file to open, or the audio waveform\n\nverbose: bool\n Whether to dis... | 1 |
{'name': 'count_velocity_smartseq3@kb_python/count.py', 'description': 'Generates count matrices for Smartseq3 (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n out_dir: Path to output directory\n fastqs: List of FASTQ file paths\n whitelist_path... | 1 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>romantic_postcard = Postcard(
name="romantic postcard",
description="A romantic postcard with sparkling hearts on it.",
border=constants.BORDERS["roma... | 0 |
{'name': 'PyrataReTest.test_greedy_finditer_a_a_star_in_caaaad@do_tests.py', 'description': 'Test greedy finditer wi a_a_star_in_caaaad. The pattern is present in the data.', 'signature': 'def test_greedy_finditer_a_a_star_in_caaaad(self):'}</s>{'name': 'extend@pyrata/re.py', 'description': 'Return the data after updat... | 0 |
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>KEY_8 = 56 | 0 |
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': '_FunctionDataTypeDef.__call__@lib/rule_engine/types.py', 'description': '.. versionadded:: 4.0.0\n\n:param str name: The name of the function, e.g. "split".\n:param return_type: The data type of the functions return value.\n:param tuple argument_types: The data types of the functions arguments.\n:param int mi... | 0 |
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>TIMELINE_START = "start" | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQZAC_CURRENT_VERSION = 1 | 0 |
{'name': 'matchOnlyAtCol@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining parse actions that require matching at a specific\ncolumn in the input text.', 'signature': 'def matchOnlyAtCol(n):'}</s>{'name': 'line@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'des... | 0 |
{'name': '_typedef@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Create a new typedef for an object.\n ', 'signature': 'def _typedef(obj, derive=False, infer=False):'}</s>{'name': '_prepr@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Prettify and clip long repr() str... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_SHARING_CONVS_ERROR = 3301 | 0 |
{'name': 'stofs3d_v8_LA@src/Utility/Pre-Processing/STOFS-3D-Atl-shadow-VIMS/Pre_processing/Bathy_edit/DEM_loading/pload_dem2.py', 'description': 'Load bathymetry for STOFS3D-v8 Louisiana.\n\nTwo DEM sets are used to load bathymetry from different sources: v2a and v3a.\n DEM_info.json v2a: v1 (DEM_info_original.json,... | 1 |
{'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': 'Lookyloo.remove_pickle@lookyloo/lookyloo.py', 'description': 'Remove the pickle from a specific capture.', 'signature': 'def remove_pickle(self, capture_uuid: str, /) -> None:'}</s>{'name': 'get_email_template@lookyloo/helpers.py', 'description': 'DOCSTRING', 'code': "def get_email_template() -> str:\n wit... | 0 |
{'name': 'MUSX.__init__@examples/musx.py', 'description': 'Constructor.', 'signature': "def __init__(self, formula, solver='m22', verbosity=1):"}</s>{'name': 'usage@examples/musx.py', 'description': 'Prints usage message.', 'code': 'def usage():\n """\n Prints usage message.\n """\n\n print(\'Usage:... | 0 |
{'name': 'add_run_number@bidskit/translate.py', 'description': 'Safely add run number to BIDS stub\nAllow protocol translator to override auto run numbering\n\n:param bids_stub, str\n:param run_no, int\n:return: new_bids_stub, str', 'signature': 'def add_run_number(bids_stub, run_no):'}</s>{'name': 'add_bids_key@bidski... | 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>MQCACF_FIRST = 3001 | 0 |
{'name': 'Command.get_missing_languages@modeltranslation/management/commands/sync_translation_fields.py', 'description': 'Gets only missing fields.', 'signature': 'def get_missing_languages(self, field_name: str, db_table: str) -> Iterator[str]:'}</s>{'name': 'Command@modeltranslation/management/commands/sync_translati... | 1 |
{'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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQDMPO_NONE = 0 | 0 |
{'name': 'PyrataReTest.test_greedy_finditer_a_a_star_in_caaaad@do_tests.py', 'description': 'Test greedy finditer wi a_a_star_in_caaaad. The pattern is present in the data.', 'signature': 'def test_greedy_finditer_a_a_star_in_caaaad(self):'}</s>{'name': 'subn@pyrata/re.py', 'description': 'Perform the same operation as... | 0 |
{'name': 'Processor._create_examples@code/main-multislot.py', 'description': 'Creates examples for the training and dev sets.', 'signature': 'def _create_examples(self, lines, set_type, accumulation=False):'}</s>{'name': 'Processor@code/main-multislot.py', 'description': 'Processor for the belief tracking dataset (GLUE... | 1 |
{'name': 'CSSParser.parse_pseudo_class@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse pseudo class.', 'signature': 'def parse_pseudo_class(self, sel, m, has_selector, iselector, is_html):'}</s>REL_HAS_PARENT = ": " | 0 |
{'name': 'YoutubeBaseInfoExtractor._login@script.module.youtube.dl/lib/youtube_dl/extractor/youtube.py', 'description': 'Attempt to log in to YouTube.\nTrue is returned if successful or skipped.\nFalse is returned if login failed.\n\nIf _LOGIN_REQUIRED is set and no authentication was provided, an error is raised.', 's... | 0 |
{'name': 'Project.read_configuration@src/nitpick/core.py', 'description': 'Return the ``[tool.nitpick]`` table from the configuration file.\n\nOptionally, validate it against a Marshmallow schema.', 'signature': 'def read_configuration(self) -> Configuration:'}</s>DOT_NITPICK_TOML = ".nitpick.toml" | 0 |
{'name': 'RawVectorizer.unvectorize@vectorizers.py', 'description': ':param np.ndarray color: A vectorized color in the internal color space\n:param hsv: If `True`, return colors in HSV format [0 <= hue <= 360,\n 0 <= sat <= 100, 0 <= val <= 100]; if `False`, RGB\n [0 <= r/g/b <= 256]. `None` (def... | 1 |
{'name': 'runBody@cxxtest/cxxtestgen.py', 'description': 'Body of TestDescription::run()', 'signature': 'def runBody( suite, test ):'}</s>generatedSuite_re = re.compile( r'\bCXXTEST_SUITE\s*\(\s*(\w*)\s*\)' ) | 0 |
{'name': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of th... | 0 |
{'name': 'local_cloudbuild@scripts/local_cloudbuild.py', 'description': 'Execute the steps of a cloudbuild.yaml locally\n\nArgs:\n args: command line flags as per parse_args', 'signature': 'def local_cloudbuild(args):'}</s>SUBSTITUTION_REGEX = re.compile(r"""(?x)
[$] # Dollar sign
(
... | 0 |
{'name': 'CARE._predict_mean_and_scale@csbdeep/models/care_standard.py', 'description': 'Apply neural network to raw image to predict restored image.\n\nSee :func:`predict` for parameter explanations.\n\nReturns\n-------\ntuple(:class:`numpy.ndarray`, :class:`numpy.ndarray` or None)\n If model is probabilistic, retu... | 0 |
{'name': 'MempoolPackagesTest.run_test@test/functional/mempool_packages.py', 'description': 'Mine some blocks and have them mature. ', 'signature': 'def run_test(self):'}</s>{'name': 'assert_raises_rpc_error@test/functional/test_framework/util.py', 'description': 'Run an RPC and verify that a specific JSONRPC exception... | 1 |
{'name': 'Bottle._cast@src/back/kite/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signature': 'def _cast(self,... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_Q_SERVICE_INTERVAL_HIGH = 2226 | 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': '_to_ugrid@uxarray/io/_scrip.py', 'description': 'If input dataset (``in_ds``) file is an unstructured SCRIP file,\nfunction will reassign SCRIP variables to UGRID conventions in output file\n(``out_ds``).', 'signature': 'def _to_ugrid(in_ds, out_ds):'}</s>NODE_FACE_CONNECTIVITY_ATTRS = {
"cf_role": "node_... | 0 |
{'name': 'Modules@vimdoc/module.py', 'description': 'Creates modules from a plugin directory.\n\nNote that there can be many, if a plugin has standalone parts that merit their\nown helpfiles.\n\nArgs:\n directory: The plugin directory.\nYields:\n Module objects as necessary.', 'signature': 'def Modules(directory):'}<... | 0 |
{'name': '_BuildBootableImage@tools/releasetools/common.py', 'description': "Build a bootable image from the specified sourcedir.\n\nTake a kernel, cmdline, and optionally a ramdisk directory from the input (in\n'sourcedir'), and turn them into a boot image. 'two_step_image' indicates if\nwe are building a two-step spe... | 0 |
{'name': 'UrlBuilder.create_srcset@imgix/urlbuilder.py', 'description': "Create a srcset attribute.\n\nA srcset attribute consists of one or more non-empty URL. Each URL\nrepresents an image candidate string and each candidate string is\nseparated by a comma (U+002C) character (,). Read more about the\nsrcset attribute... | 0 |
{'name': 'findlines@tests/utils.py', 'description': 'Extract the lines from the buffer which contains the pattern\n`substring`\n\nArgs:\n substring (str): the pattern to look for\n buffer (str): the buffer to look into\n\nReturns:\n List[str]', 'signature': 'def findlines(substring: str, buffer: str) -> List[s... | 0 |
{'name': 'get_config_path@saltlint/config.py', 'description': 'Return local configuration file.', 'signature': 'def get_config_path():'}</s>{'name': 'get_file_type@saltlint/utils.py', 'description': 'DOCSTRING', 'code': 'def get_file_type(file_name):\n extension = os.path.splitext(file_name)[1].lower()\n\n if ext... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_SECOND_MARK_NOT_ALLOWED = 2062 | 0 |
{'name': 'draw_isobars@pymeteo/skewt.py', 'description': 'Plot isobars on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function draws isobars at intervals of 2*dp.', 'signature': 'def draw_isobars(axes):'}</s>L = 2501000.0 | 0 |
{'name': 'joydata@project_sample/2019-2ProjectSamples_Code/11조-수강과목을 통한 전공 예측 프로그램/joy.py', 'description': "joydata reads data/joydata.txt file and returns the data'\nParameters\n standardized: If True, performs standardization or \n feature scaling such that mean is 0 and std dev = 1.0\n shuffled: If True... | 0 |
{'name': 'writePreamble@cxxtest/cxxtestgen.py', 'description': 'Write the CxxTest header (#includes and #defines)', 'signature': 'def writePreamble( output ):'}</s>{'name': 'startOutputFile@cxxtest/cxxtestgen.py', 'description': 'Create output file and write header', 'code': 'def startOutputFile():\n \'\'\'Create ou... | 0 |
{'name': 'save_checkpoint@roost/core.py', 'description': 'Saves a checkpoint and overwrites the best model when is_best = True', 'signature': 'def save_checkpoint(state, is_best, model_name, run_id):'}</s>{'name': 'RobustL2Loss@roost/core.py', 'description': 'Robust L2 loss using a gaussian prior. Allows for estimation... | 0 |
{'name': '_start_process@pyngrok/process.py', 'description': 'Start a ``ngrok`` process with no tunnels. This will start the ``ngrok`` web interface, against\nwhich HTTP requests can be made to create, interact with, and destroy tunnels.\n\n:param pyngrok_config: The ``pyngrok`` configuration to use when interacting wi... | 1 |
{'name': 'request_get_body@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the canonical signature input for a prepared request.', 'signature': 'def request_get_body(handle: RequestHandle) -> str:'}</s>{'name': 'request_free@wrappers/python/indy_vdr/bindings.py', 'description': "Manually free a prepared requ... | 0 |
{'name': '_get_reviewer_names_and_emails@marge/job.py', 'description': "Return a list ['A. Prover <a.prover@example.com', ...]` for `merge_request.`", 'signature': 'def _get_reviewer_names_and_emails(commits, approvals, api):'}</s>{'name': 'Branch@marge/branch.py', 'description': 'DOCSTRING', 'base_classes': ['gitlab.R... | 0 |
{'name': 'get_path@dictdiffer/utils.py', 'description': 'Return the path for a given dictdiffer.diff patch.', 'signature': 'def get_path(patch):'}</s>{'name': 'create_dotted_node@dictdiffer/utils.py', 'description': "Create the *dotted node* notation for the dictdiffer.diff patches.\n\n>>> create_dotted_node( ['foo', '... | 0 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'DatatypeRef@src/api/python/z3/z3.py',... | 0 |
{'name': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>EVENT_SWITCH_ERROR = "switch_error" | 0 |
{'name': 'rotate@apphelper/image.py', 'description': '点(x,y) 绕(cx,cy)点旋转', 'signature': 'def rotate(x,y,angle,cx,cy):'}</s>{'name': 'resize_im@apphelper/image.py', 'description': 'DOCSTRING', 'code': 'def resize_im(w,h, scale=416, max_scale=608):\n f=float(scale)/min(h, w)\n if max_scale is not None:\n if ... | 0 |
{'name': 'builder_inited@jupyter_sphinx/__init__.py', 'description': 'Init the build.\n\n2 cases\ncase 1: ipywidgets 7, with require\ncase 2: ipywidgets 7, no require.', 'signature': 'def builder_inited(app: Sphinx):'}</s>{'name': 'JupyterWidgetViewNode@jupyter_sphinx/ast.py', 'description': 'Inserted into doctree when... | 0 |
{'name': 'read_rtp@vermouth/gmx/rtp.py', 'description': 'Read blocks and links from a Gromacs RTP file to populate a force field\n\nParameters\n----------\nlines: collections.abc.Iterator\n An iterator over the lines of a RTP file (e.g. a file handle, or a\n list of string).\nforce_field: vermouth.forcefield.Forc... | 1 |
{'name': 'get_deck_info@ankipandas/raw.py', 'description': 'Get information about decks.\n\nArgs:\n db: Database (:class:`sqlite3.Connection`)\n\nReturns:\n Nested dictionary', 'signature': 'def get_deck_info(db: sqlite3.Connection) -> dict:'}</s>{'name': 'NumpyJSONEncoder@ankipandas/raw.py', 'description': 'JSON... | 0 |
{'name': 'test_raising_failed_validation@tests/test_models.py', 'description': 'Test validating valid receipts.', 'signature': 'def test_raising_failed_validation(populated_db: None) -> None:'}</s>{'name': '_get_storage_from_settings@django_afip/models.py', 'description': 'DOCSTRING', 'code': 'def _get_storage_from_set... | 0 |
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,... | 0 |
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot... | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PF_LOG_SOCKET_LOOKUP = 4 | 1 |
{'name': 'request_data@mhkit/wave/io/ndbc.py', 'description': 'Requests data by filenames and returns a dictionary of DataFrames or dictionary of Datasets\nfor each filename passed. If filenames for a single buoy are passed\nthen the yearly DataFrames in the returned dictionary (ndbc_data) are\nindexed by year (e.g. nd... | 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': 'content@ValveFileSystem/valve.py', 'description': "returns a Path instance represe... | 0 |
{'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': 'DNSIncoming.readOthers@stino/pyarduino/base/zeroconf.py', 'description': 'Reads the answers, authorities and additionals section of the\npacket', 'signature': 'def readOthers(self):'}</s>_CLASS_IN = 1 | 0 |
{'name': 'bash_unset_variable@src/conda_devenv/gen_scripts.py', 'description': 'Render the code to unset a variable and/or restore its backup in bash.\n\n:param variable_name: The name of the variable.\n:return: The code to restore and/or unset the variable.', 'signature': 'def bash_unset_variable(variable_name: str) -... | 0 |
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_boolparam_mir... | 0 |
{'name': 'skipIfCustomUser@tests/tests/tests.py', 'description': 'Copied from django.contrib.auth.tests.utils, This is deprecated in the future, but we still\nneed it for some of our tests.', 'signature': 'def skipIfCustomUser(test_func):'}</s>{'name': 'UserAdminTest@tests/tests/tests.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'TarInfo.frombuf@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': '_LowLevelFile@SneakerBot 2... | 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': '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': 'DNSIncoming.readOthers@stino/pyarduino/base/zeroconf.py', 'description': 'Reads the answers, authorities and additionals section of the\npacket', 'signature': 'def readOthers(self):'}</s>{'name': 'DNSService@stino/pyarduino/base/zeroconf.py', 'description': 'A DNS service record', 'base_classes': ['DNSRecord'... | 1 |
{'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': 'apply_styling@jupyter_sphinx/ast.py', 'description': 'Change the cell node appearance, according to its settings.', 'signature': 'def apply_styling(node, thebe_config):'}</s>{'name': 'JupyterCell@jupyter_sphinx/ast.py', 'description': 'Define a code cell to be later executed in a Jupyter kernel.\n\nThe conten... | 0 |
{'name': 'TestBloomFilter.test_bf_use_different_hash@tests/bloom_test.py', 'description': 'test that the different hash works as intended', 'signature': 'def test_bf_use_different_hash(self):'}</s>{'name': 'calc_file_md5@tests/utilities.py', 'description': 'calc the md5 of a file', 'code': 'def calc_file_md5(filename: ... | 1 |
{'name': '_len_preprocessed_single@src/betterproto/__init__.py', 'description': 'Calculate the size of adjusted values for serialization without fully serializing them.', 'signature': 'def _len_preprocessed_single(proto_type: str, wraps: str, value: Any) -> int:'}</s>DATETIME_ZERO = datetime_default_gen() | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.