text string | label int64 |
|---|---|
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>cumprod = _frommethod('cumprod') | 0 |
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'clean_results_cache@src/server/server.py', 'description': 'wipe all results caches ', 'code': "def clean_results_cache(*args):\n ''' wipe all results caches '''\n... | 0 |
{'name': 'without_opponent_pieces@reconchess/utilities.py', 'description': "Returns a copy of `board` with the opponent's pieces removed.", 'signature': 'def without_opponent_pieces(board: chess.Board) -> chess.Board:'}</s>BACK_RANKS = list(chess.SquareSet(chess.BB_BACKRANKS)) | 0 |
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>{'name': 'CScriptInvalidError@test/functional/test_framework/script.py', 'description': 'Base class for CScript exceptions', 'ba... | 0 |
{'name': 'get_version@setup.py', 'description': 'Retrieves the version from django_private_chat/__init__.py', 'signature': 'def get_version(*file_paths):'}</s>history = open('HISTORY.rst').read().replace('.. :changelog:', '') | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIAMO_REPAIR_PKTS_RQSTD = 826 | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQS_OPENMODE_RECOVERY = 3 | 0 |
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>{'name': 'CheckParenthesisSpacing@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Ch... | 0 |
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>{'name': 'write_inspirations@code/utils/osg.py', 'description': 'Given an internal dictionary of inspira... | 0 |
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field... | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>ICMP_UNREACH_TOSNET = 11 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_MOVE_TYPE = 1145 | 0 |
{'name': 'resnet_v1_101@model/nets/resnet_v1.py', 'description': 'ResNet-101 model of [1]. See resnet_v1() for arg and return description.', 'signature': 'def resnet_v1_101(inputs,'}</s>{'name': 'resnet_arg_scope@model/nets/resnet_utils.py', 'description': 'Defines the default ResNet arg scope.\n\nTODO(gpapan): The bat... | 0 |
{'name': 'DebugCmd.do_selenium@DebugLibrary/debugcmd.py', 'description': 'Start a selenium webdriver and open url in browser you expect.\n\nselenium [<url>] [<browser>]\n\ndefault url is google.com, default browser is firefox.', 'signature': 'def do_selenium(self, arg):'}</s>{'name': 'print_output@DebugLibrary/styles... | 1 |
{'name': 'JupyterConsoleApp.init_ssh@jupyter_client/consoleapp.py', 'description': 'set up ssh tunnels, if needed.', 'signature': 'def init_ssh(self) -> None:'}</s>{'name': 'JupyterConsoleApp@jupyter_client/consoleapp.py', 'description': 'The base Jupyter console application.', 'base_classes': ['ConnectionFileMixin'], ... | 1 |
{'name': 'write_voc_results_file@libs/val_libs/voc_eval.py', 'description': ':param all_boxes: is a list. each item reprensent the detections of a img.\nthe detections is a array. shape is [-1, 6]. [category, score, xmin, ymin, xmax, ymax]\nNote that: if none detections in this img. that the detetions is : []\n\n:param... | 0 |
{'name': 'ArgParseDirective._construct_manpage_specific_structure@doc/sphinxarg/ext.py', 'description': 'Construct a typical man page consisting of the following elements:\n NAME (automatically generated, out of our control)\n SYNOPSIS\n DESCRIPTION\n OPTIONS\n FILES\n SEE ALSO\n BUGS', 'signature'... | 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': 'format@src/convertdate/french_republican.py', 'description': 'Convert a FR date into a string with the format DD MONTH YYYY.', 'signature': 'def format(an, mois, jour):'}</s>LEAP_SUPPRESSION_YEARS = 100 | 0 |
{'name': 'ContextualMentions.from_json@third_party/utils_mewslix.py', 'description': 'Creates a new ContextualMentions from the given JSON-dictionary.', 'signature': 'def from_json(json_dict: JsonDict) -> ContextualMentions:'}</s>{'name': 'Context@third_party/utils_mewslix.py', 'description': "A document text fragment ... | 1 |
{'name': 'ExternalScenario.regionalize_inventories@premise/external.py', 'description': 'Produce IAM region-specific version of the dataset.\n:param regions: list of regions to produce datasets for', 'signature': 'def regionalize_inventories(self, ds_names, regions, data: dict) -> None:'}</s>{'name': 'InventorySet@prem... | 0 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'ttest@src/python_scripts/afnipy/afni_util.py', 'description': 'just a top-level function', 'code': 'def ttest(data0... | 0 |
{'name': 'User.formatRecentTrainsKeyboard@src/objects/user.py', 'description': 'Format recent trains keyboard\n:return: list of lists of dict', 'signature': 'def formatRecentTrainsKeyboard(self):'}</s>{'name': 'User@src/objects/user.py', 'description': 'User base object', 'base_classes': [], 'methods': [{'name': 'User.... | 1 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PF_OP_LE = 5 | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>DEFAULT_PRIORITY = 1 | 0 |
{'name': 'get_all_news@Chapter05/PoliticsNewsService/views.py', 'description': 'Get all users', 'signature': 'def get_all_news(num_page, limit):'}</s>politics_news = Blueprint('politics_news', __name__) | 0 |
{'name': 'TLP.pack@fpga/lib/pcie/tb/pcie.py', 'description': 'Pack TLP as DWORD array', 'signature': 'def pack(self):'}</s>TLP_CPL_LOCKED_DATA = (FMT_3DW_DATA, 0x0B) | 1 |
{'name': 'block_wmad_estimator@training_codes/utils/utils_model.py', 'description': "Accepts a torch tensor and provides an estimate of the standard deviation \nof the noise degrading blocks of the input. The overlap of the extracted \nblocks is defined through blckStride. The function can be applied on a\na batch of m... | 0 |
{'name': 'MessageSetItemEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required stri... | 0 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_219 = Badge("snowboarder", series=3, number=19, symbol="🏂") | 0 |
{'name': 'BisectRunner.run@nix_bisect/bisect_runner.py', 'description': 'Finds the first bad commit', 'signature': 'def run(self, bisect_fun):'}</s>{'name': 'try_cherry_pick_all@nix_bisect/git.py', 'description': 'Tries to cherry pick all parents of a (merge) commit.', 'code': 'def try_cherry_pick_all(rev):\n """Tri... | 0 |
{'name': 'cellrange_to_rowcol_pair@IDE/src/main/resources/Lib/xlwt/Utils.py', 'description': 'Convert cell range string in A1 notation to numeric row/col\npair.\n\nReturns: row1, col1, row2, col2', 'signature': 'def cellrange_to_rowcol_pair(cellrange):'}</s>_re_cell_ref = re.compile(r"\$?([A-I]?[A-Z]\$?\d+)", re.IGNORE... | 1 |
{'name': 'TypeErrorTests.test_keyword_sort_cmpkey@didyoumean/didyoumean_sugg_tests.py', 'description': 'Sort and sorted functions have a cmp/key param dep. on the vers.', 'signature': 'def test_keyword_sort_cmpkey(self):'}</s>UNKNOWN_IMPORTERROR = (ImportError, None) | 0 |
{'name': 'CalculateCompositionHydrophobicity@PyBioMed/PyProtein/CTD.py', 'description': '###############################################################################################\nA method used for calculating composition descriptors based on Hydrophobicity of\n\nAADs.\n\nUsage:\n\nresult=CalculateCompositionHydr... | 0 |
{'name': 'render_pep440_post@versioneer.py', 'description': 'TAG[.postDISTANCE[.dev0]+gHEX] .\n\nThe ".dev0" means dirty. Note that .dev0 sorts backwards\n(a dirty tree will appear "older" than the corresponding clean one),\nbut you shouldn\'t be releasing software with -dirty anyways.\n\nExceptions:\n1: no tags. 0.pos... | 0 |
{'name': 'getMaybeGamePaths@gameScanner.py', 'description': 'If supported, searches the computer for things that might be Higurashi games\nCurrently only does things on Mac OS and Windows\nTODO: Find ways to search for games on Linux\n\n:param str gameName: The name of the game to search for (should be either "Higurash... | 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': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_... | 0 |
{'name': 'render_git_describe_long@versioneer.py', 'description': "TAG-DISTANCE-gHEX[-dirty].\n\nLike 'git describe --tags --dirty --always -long'.\nThe distance/hash is unconditional.\n\nExceptions:\n1: no tags. HEX[-dirty] (note: no 'g' prefix)", 'signature': 'def render_git_describe_long(pieces: Dict[str, Any]) -> ... | 0 |
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>cv = 718.0 | 0 |
{'name': 'DebPkgToolsTestCase.test_package_building@deb_pkg_tools/tests.py', 'description': 'Test building of Debian binary packages.', 'signature': 'def test_package_building(self, repository=None, overrides={}, contents={}):'}</s>ALLOW_RESET_SETGID = coerce_boolean(os.environ.get('DPT_RESET_SETGID', 'true')) | 0 |
{'name': 'convert@ytmdl/core.py', 'description': 'Convert the song into the proper format as asked by\nthe user.', 'signature': 'def convert('}</s>{'name': 'is_present@ytmdl/utility.py', 'description': 'Check if the passed app is installed in the machine.', 'code': 'def is_present(app):\n """Check if the passed app ... | 0 |
{'name': 'sign@flask_unsign/session.py', 'description': "Signs a custom session value with a known secret\n:param value: Raw Python object (generally a dictionary) to serialize\n:param secret: Server secret key\n:param salt: Salt (default: 'cookie-session')\n:param legacy: Should the legacy timestamp generator be used?... | 0 |
{'name': '_validate_args@kayobe/kolla_ansible.py', 'description': 'Validate Kayobe Ansible arguments.', 'signature': 'def _validate_args(parsed_args, inventory_filename):'}</s>{'name': 'run@kayobe/kolla_ansible.py', 'description': 'Run a Kolla Ansible command.', 'code': 'def run(parsed_args, command, inventory_filename... | 0 |
{'name': 'TestQueryIndex.test_full_separate_files@tests/test_query.py', 'description': 'Currently if a file has related or annotation files\nthe dtt processes it as if it were a big file so that\nit goes through the old method of downloading,\nregardless of size.\n\nNOTE: This will probably change in the future.', 'sig... | 1 |
{'name': 'Arcball.drag@utils/transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'random_vector@utils/transformations.py', 'description': 'Return array of random doubles in the half-open interval [0.0, 1.0).\n\n>>> v = random_vector(10000)\... | 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': 'CardPredictor.img_first_pre@lib/img_function.py', 'description': ':param car_pic_file: 图像文件\n:return:已经处理好的图像文件 原图像文件', 'signature': 'def img_first_pre(self, car_pic_file):'}</s>MAX_WIDTH = 1000 | 1 |
{'name': 'TileCreator.concatTiles@tensorflow/tools/tilecreator.py', 'description': 'build a frame by concatenation of the given tiles.\ntiles: numpy array of same shaped tiles [batch,z,y,x,c]\nframeShape: the shape of the frame in tiles [z,y,x]\ntileBorder: cut off borders of the tiles. [z,y,x,c]', 'signature': 'def co... | 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': 'run_playbooks@kayobe/ansible.py', 'description': 'Run a Kayobe Ansible playbook.', 'signature': 'def run_playbooks(parsed_args, playbooks,'}</s>{'name': 'install_galaxy_collections@kayobe/ansible.py', 'description': 'Install Ansible Galaxy collection dependencies.\n\nInstalls collection dependencies specified... | 0 |
{'name': 'CPLEX_CMD.readsol@pulp/apis/cplex_api.py', 'description': 'Read a CPLEX solution file', 'signature': 'def readsol(filename):'}</s>LpConstraintEQ = 0 | 0 |
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n... | 0 |
{'name': 'print_info@example.py', 'description': 'Print the device information\n\nArgs:\n number (int): [description]\n device ([type]): [description]', 'signature': 'def print_info(number: int, device):'}</s>EMAIL = "<EMAIL>" | 0 |
{'name': 'Compute.time_bootstrap@asv_bench/benchmarks/benchmarks_PredictionEnsemble.py', 'description': 'Take time for `PredictionEnsemble.bootstrap`.', 'signature': 'def time_bootstrap(self, metric):'}</s>{'name': 'GenerateHindcastEnsembleDask@asv_bench/benchmarks/benchmarks_PredictionEnsemble.py', 'description': 'DOC... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQFB_CICS_CIH_ERROR = 407 | 0 |
{'name': 'GLRasterizer.model_to_image_transform@menpo3d/rasterize/opengl.py', 'description': 'TransformChain from 3D model space to 2D image space.', 'signature': 'def model_to_image_transform(self):'}</s>{'name': 'clip_to_image_transform@menpo3d/rasterize/transform.py', 'description': 'Affine transform that converts 3... | 1 |
{'name': 'TestingParser.fill_default_tls_stdout_filename@tests/run_all_tests.py', 'description': 'Sets the default TLS stdout filename for testing if it is not already\nspecified.\n\nThis method checks if the `tls_stdout_filename` attribute in the\n`testing_args` object is set. If it is not set, it assigns a default\nv... | 0 |
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature... | 0 |
{'name': 'str_filetype@droidutil.py', 'description': 'Provide as input a droidutil filetype (APK, DEX, ARM...) and returns the corresponding string', 'signature': 'def str_filetype(filetype):'}</s>{'name': 'mkdir_if_necessary@droidutil.py', 'description': 'Creates the directory if it does not exist yet.\nIf it exists, ... | 0 |
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>PF_NORDR = 9 | 0 |
{'name': '_get_interfaces@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Get the connected USB devices', 'signature': 'def _get_interfaces():'}</s>INTERFACE = {
'hidapiusb': HidApiUSB,
'pyusb': PyUSB,
'pyusb_v2': PyUSBv2,
'pywinusb': PyWinUSB,
... | 1 |
{'name': 'p_unary_expression@ctypesgen/parser/cgrammar.py', 'description': 'unary_expression : postfix_expression\n| INC_OP unary_expression\n| DEC_OP unary_expression\n| unary_operator cast_expression\n| SIZEOF unary_expression\n| SIZEOF LPAREN type_name RPAREN\n| asm_expression', 'signature': 'def p_unary_expression(... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'Float32@src/api/python/z3/z3.py', 'description': 'Floating-point 32-bit (single) sort.', 'code': 'def Float32(ctx=None):\n ... | 0 |
{'name': 'SemisupervisedTranslationTask.load_dataset@fairseq/tasks/semisupervised_translation.py', 'description': 'Load a dataset split.', 'signature': 'def load_dataset(self, split, epoch=1, **kwargs):'}</s>{'name': 'eval_str_list@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def eval_str_list(x, type=float)... | 0 |
{'name': 'find_FTP_link@gget/gget_ref.py', 'description': 'Helper function for gget ref to find an FTP link, its release date and size.\n\nArgs:\nurl - URL link to FTP subfolder (e.g. GTF) including species and release\nlink_to_find - Unique substring to identify link to find\n\nReturns the link, date, a... | 0 |
{'name': 'process_message@libratom/lib/entities.py', 'description': 'Job function for the worker processes', 'signature': 'def process_message('}</s>RATOM_MSG_BATCH_SIZE = int(os.environ.get("RATOM_MSG_BATCH_SIZE", 1000)) | 0 |
{'name': 'boundary_statistic@graphlearning/utils.py', 'description': 'Boundary test statistic\n===================\n\nComputes the boundary test statistics from [1] for identifying the boundary of a point cloud.\n\nParameters\n----------\nX : (n,d) numpy array (float)\n Point cloud in dimension d.\nr : float or int,... | 0 |
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=... | 0 |
{'name': 'geometric_mean@pytorch_toolbelt/inference/functional.py', 'description': 'Compute geometric mean along given dimension.\nThis implementation assume values are in range (0...1) (Probabilities)\nArgs:\n x: Input tensor of arbitrary shape\n dim: Dimension to reduce\n\nReturns:\n Tensor', 'signature': 'd... | 0 |
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'CastMember@tests/generic/models.py', 'description': 'DOCSTRING', 'base_classes': ['mode... | 0 |
{'name': '_Printer._FieldToJsonObject@third_party/dawn/third_party/protobuf/python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>{'name': 'ToShortestFloat@third_party/dawn/third_party/protobu... | 1 |
{'name': 'TrayNotifyBar.Items@qt4c/wincontrols.py', 'description': '返回TrayNotifyBar的全部TrayNotifyIcon\n ', 'signature': 'def Items(self):'}</s>{'name': 'AccessibleObject@qt4c/accessible.py', 'description': '支持IAccessible接口的对象(控件)的包裹类\n \n ', 'base_classes': ['object'], 'methods': [{'name': 'AccessibleObject... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_OBJECT_INSTANCE_ID_LENGTH = 24 | 0 |
{'name': 'run_random_climate@oggm/core/flowline.py', 'description': 'Runs the random mass balance model for a given number of years.\n\nThis will initialize a\n:py:class:`oggm.core.massbalance.MultipleFlowlineMassBalance`,\nand run a :py:func:`oggm.core.flowline.flowline_model_run`.\n\nParameters\n----------\ngdir : :p... | 0 |
{'name': 'make_plots@nanoplot/NanoPlot.py', 'description': 'Call plotting functions from nanoplotter\nsettings["lengths_pointer"] is a column in the DataFrame specifying which lengths to use', 'signature': 'def make_plots(datadf, settings):'}</s>{'name': 'custom_formatter@nanoplot/utils.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'loadConfig@apim-traffic-tool/lib/traffic-tool/src/python/invoke_API.py', 'description': 'This function will load and set the configuration data\n:return: None', 'signature': 'def loadConfig():'}</s>max_connection_refuse_count = None | 1 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'resize_4d_tensor@metric/cityscapes_mIoU.py', 'description': 'tensor: the semantic label tensor of shape [B, C, H, W]\nwidth: target width\nheight: target height', 'signature': 'def resize_4d_tensor(tensor, width, height):'}</s>{'name': 'Normalize@metric/cityscapes_mIoU.py', 'description': 'Given mean: (R, G, ... | 0 |
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>{'name': 'PasteServer@src/back/kite/bottle.py', 'description': 'DOCSTRING', 'base_classes': ['ServerAdapter'], 'methods': [{'nam... | 0 |
{'name': 'validate_config@buildtest/cli/config.py', 'description': "This method implements ``buildtest config validate`` which attempts to\nvalidate buildtest schema file `settings.schema.json <https://github.com/buildtesters/buildtest/blob/devel/buildtest/schemas/settings.schema.json>`_.\nIf it's not validate an excep... | 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': '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>SEL_OUT_OF_RANGE = 256 | 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': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'calling_function@gef.py', 'description': 'Return the name of the calling function', 'code': 'def calling_function() -> str | None:\n """Return the name of the calling function"""\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': 'make_environment_relocatable@bootstrap.py', 'description': 'Makes the already-existing environment use relative paths, and takes out\nthe #!-based environment selection in scripts.', 'signature': 'def make_environment_relocatable(home_dir):'}</s>is_cygwin = sys.platform == 'cygwin' | 0 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJ_tmPWM16 = 0 | 0 |
{'name': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': '_check_is_model_fit@build/lib/wittgenstein/check.py', 'description': 'DOCSTRING', 'code': 'def _check_is_model_fit(model):\n if not hasattr(model, "ru... | 0 |
{'name': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>Phase = enum_type_wrapper.EnumTypeWrapper(_PHASE) | 0 |
{'name': 'BusinessLogic.list@coal_mine/business_logic.py', 'description': 'N.B.: Returns an iterator.', 'signature': 'def list(self, *, verbose=False, paused=None, late=None, search=None):'}</s>{'name': 'AlreadyExistsError@coal_mine/business_logic.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods... | 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': 'RSSProfiler.profile@torchtnt/utils/memory.py', 'description': 'Profile the current process and store the results with a custom name as the key.\n\nProfile the process by starting a separate thread to capture the RSS periodically.\nThe RSS result is stored in the rss_deltas_bytes dict of the class with the pro... | 1 |
{'name': 'detect@peachpy/x86_64/abi.py', 'description': 'Detects host ABI (either process ABI or system ABI, depending on parameters)\n\n:param bool system_abi: specified whether system ABI or process ABI should be detected. The two may differ, e.g.\n when a 64-bit system runs 32-bit Python interpreter.\n\n:returns:... | 0 |
{'name': 'Installer.installMod@src/core/installer.py', 'description': 'Installs mod from given path. If given mod is an archive first extracts it', 'signature': 'def installMod(self, modPath: str) -> Tuple[bool, int, int]:'}</s>{'name': 'isValidModFolder@src/core/fetcher.py', 'description': 'DOCSTRING', 'code': 'def is... | 0 |
{'name': 'DebPkgToolsTestCase.test_collect_packages@deb_pkg_tools/tests.py', 'description': 'Test the command line interface for collection of related packages.', 'signature': 'def test_collect_packages(self):'}</s>{'name': 'parse_filename@deb_pkg_tools/package.py', 'description': "Parse the filename of a Debian binary... | 0 |
{'name': 'HuaweiScanner.__init__@cfg/hass/custom_components/huawei_ws7200/device_tracker.py', 'description': 'Initialize the scanner.', 'signature': 'def __init__(self, config,cls,hass):'}</s>{'name': 'HuaweiWS7200@cfg/hass/custom_components/huawei_ws7200/device_tracker.py', 'description': 'DOCSTRING', 'base_classes': ... | 0 |
{'name': 'sparse_tensor_to_str@utils/label_utils.py', 'description': ':param sparse_tensor: prediction or ground truth label\n:return: String value of the sparse tensor', 'signature': 'def sparse_tensor_to_str(lang_dict, sparse_tensor: tf.SparseTensor) -> List[str]:'}</s>{'name': 'sparse_to_str@utils/label_utils.py', '... | 0 |
{'name': 'ParsePatchToLines@codereview/patching.py', 'description': "Parses a patch from a list of lines.\n\nReturns None on error, otherwise a list of 3-tuples:\n (old_line_no, new_line_no, line)\n\n A line number can be 0 if it doesn't exist in the old/new file.", 'signature': 'def ParsePatchToLines(lines):'}</s>{'... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.