text string | label int64 |
|---|---|
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'CheckDependencies@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def CheckDependencies(input):\n missing = []\n for p in input:\n if ... | 0 |
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt... | 0 |
{'name': 'Telnet.process_rawq@soundrts/batteries/telnetlib.py', 'description': "Transfer from raw queue to cooked queue.\n\nSet self.eof when connection is closed. Don't block unless in\nthe midst of an IAC sequence.", 'signature': 'def process_rawq(self):'}</s>TTYLOC = bytes([28]) | 0 |
{'name': 'load@source-builder/sb/options.py', 'description': 'Copy the defaults, get the host specific values and merge them overriding\nany matching defaults, then create an options object to handle the command\nline merging in any command line overrides. Finally post process the\ncommand line.', 'signature': "def loa... | 0 |
{'name': 'tsv_maker@pyrgg/graph_gen.py', 'description': 'Create output file in tsv format.\n\n:param edge_dic: dictionary containing edges data\n:type edge_dic: dict\n:param weight_dic: dictionary containing weights data\n:type weight_dic: dict\n:param mdata: meta data\n:type mdata: dict\n:return: None', 'signature': '... | 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': 'run_doxygen@scripts/docs/api_docgen/system_commands.py', 'description': 'Run Doxygen to generate documentation metadata', 'signature': 'def run_doxygen():'}</s>OCCA_GITHUB_URL = "https://github.com/libocca/occa" | 0 |
{'name': 'init@tools/pydfu.py', 'description': 'Initializes the found DFU device so that we can program it.', 'signature': 'def init():'}</s>__DFU_GETSTATE = 5 | 0 |
{'name': 'nestedExpr@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing expres... | 0 |
{'name': 'check_youtube_movie@get_new_ub_standalone.py', 'description': 'check youtube movie from user input\n\nif movie has error, exit program\n\nArgs:\n url_result (str): movie error type\n\nReturns:', 'signature': 'def check_youtube_movie(url_result):'}</s>UB_ROI = (520, 100, 780, 130) | 0 |
{'name': 'page_erase@tools/pydfu.py', 'description': 'Erases a single page.', 'signature': 'def page_erase(addr):'}</s>__DFU_STATE_APP_DETACH = 1 | 0 |
{'name': 'try_match@flask_cors/core.py', 'description': 'Safely attempts to match a pattern or string to a request origin.', 'signature': 'def try_match(request_origin, maybe_regex):'}</s>ACL_REQUEST_METHOD = "Access-Control-Request-Method" | 0 |
{'name': 'get_natural_earth_file@salem/utils.py', 'description': "Returns the path to the desired natural earth file.\n\nhttp://www.shadedrelief.com/natural3/pages/textures.html\n\nParameters\n----------\nres : str\n 'lr' or 'hr' (low res or high res)", 'signature': "def get_natural_earth_file(res='lr'):"}</s>sample_... | 0 |
{'name': 'scale_matrix@utils/transformations.py', 'description': 'Return matrix to scale by factor around origin in direction.\n\nUse factor -1 for point symmetry.\n\n>>> v = (numpy.random.rand(4, 5) - 0.5) * 20\n>>> v[3] = 1\n>>> S = scale_matrix(-1.234)\n>>> numpy.allclose(numpy.dot(S, v)[:3], -1.234*v[:3])\nTrue\n>>... | 0 |
{'name': 'PGGANGeneratorModel.__init__@models/pggan_generator_model.py', 'description': 'Initializes the generator with basic settings.\n\nArgs:\n resolution: The resolution of the final output image. (default: 1024)\n fused_scale: Whether to fused `upsample` and `conv2d` together, resulting\n in `conv2_transpose`... | 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': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>ICMP_ALTHOSTADDR = 6 | 0 |
{'name': 'Data._get_score@verif/data.py', 'description': 'Load the field variable from input, but only include the common data\n\nScores loaded will have the same dimension, regardless what input_index\nis used.\n\nfield: The type is of verif.field\ninput_index: which input to load from', 'signature': 'def _g... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQZAET_PRINCIPAL = 1 | 0 |
{'name': '_get_params_for_registered_templates@neurodocker/cli/generate.py', 'description': 'Return list of click parameters for registered templates.', 'signature': 'def _get_params_for_registered_templates() -> list[click.Parameter]:'}</s>{'name': 'generate@neurodocker/cli/generate.py', 'description': 'Generate a con... | 0 |
{'name': 'Printer._print_hdr@tools/hadb.py', 'description': 'Print header.', 'signature': 'def _print_hdr(self) -> None:'}</s>COLORS_STATES = [
"light_magenta",
"light_blue",
"light_green",
"light_cyan",
"light_red",
"light_yellow",
"magenta",
"green",
"cyan",
"red",
"yellow"... | 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': 'Constructor@src/api/python/z3/z3types... | 0 |
{'name': 'has_flag@setup.py', 'description': 'Return a boolean indicating whether a flag name is supported on\nthe specified compiler.', 'signature': 'def has_flag(compiler, flagname):'}</s>{'name': 'write_release_version@git_version.py', 'description': 'DOCSTRING', 'code': 'def write_release_version(version):\n f =... | 0 |
{'name': 'draw_rectangle@tgc_kd_terrain.py', 'description': 'Recursively plot a visualization of the KD tree region', 'signature': 'def draw_rectangle(node, depth, mins, maxes, course_json, scale, rotation):'}</s>{'name': 'get_pixel@tgc_kd_terrain.py', 'description': 'DOCSTRING', 'code': 'def get_pixel(x_pos, z_pos, he... | 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>CSR_MHPMCOUNTER29 = 2845 | 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': 'fpToIEEEBV@src/api/python/z3/z3.py', 'description': "\x08rief Conversion of a floating-point term into a bit-vector term in IEEE 754-2008 format.\n\nThe size o... | 0 |
{'name': 'TableBase.print_linear_hist@src/python/bcc/table.py', 'description': 'print_linear_hist(val_type="value", section_header="Bucket ptr",\n section_print_fn=None, bucket_fn=None,\n strip_leading_zero=None, bucket_sort_fn=None)\n\nPrints a table as a linear histogram. This is i... | 0 |
{'name': 'expected_aspls@tests/test_weighting.py', 'description': 'The weighting for adaptive smoothness penalized least squares smoothing (aspls).\n\nDoes not perform error checking since this is just used for simple weighting cases.\n\nParameters\n----------\ny : numpy.ndarray, shape (N,)\n The measured data.\nbas... | 0 |
{'name': 'compile@mako/codegen.py', 'description': 'Generate module source code given a parsetree node,\nuri, and optional source filename', 'signature': 'def compile(node,'}</s>RESERVED_NAMES = set(['context', 'loop', 'UNDEFINED']) | 0 |
{'name': 'ensure_vpc@aegea/util/aws/__init__.py', 'description': 'If a default VPC exists in the current account/region, return it; otherwise, return the first VPC managed by aegea,\ncreating a new one (with an associated IGW, route table, and subnet per AZ) if it does not exist.', 'signature': 'def ensure_vpc():'}</s>... | 0 |
{'name': '_main_worker@rio_rgbify/mbtiler.py', 'description': 'Util for setting global vars w/ a Pool', 'signature': 'def _main_worker(inpath, g_work_func, g_args):'}</s>{'name': '_encode_as_png@rio_rgbify/mbtiler.py', 'description': "Uses rasterio's virtual file system to encode a (3, 512, 512)\narray as a png-encoded... | 0 |
{'name': 'BareValidator.types@cerberus/validator.py', 'description': "The constraints that can be used for the 'type' rule.\nType: A tuple of strings.", 'signature': 'def types(cls):'}</s>SEQUENCE_SCHEMA = ErrorDefinition(0x82, 'schema') | 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>payment_failed_1 = "Zahlung gescheitet" | 0 |
{'name': 'iou_ign@lib/core.py', 'description': "Computes the amount of overap of box_b has within box_a, which is handy for dealing with ignore regions.\nHence, assume that box_b are ignore regions and box_a are anchor boxes, then we may want to know how\nmuch overlap the anchors have inside of the ignore regions (henc... | 0 |
{'name': 'Config.save@cube/io_utils/config.py', 'description': 'Save configuration to file.', 'signature': 'def save(self, filename):'}</s>{'name': 'LemmatizerConfig@cube/io_utils/config.py', 'description': 'DOCSTRING', 'base_classes': ['Config'], 'methods': [{'name': 'LemmatizerConfig.__init__@cube/io_utils/config.py'... | 0 |
{'name': 'vdot@pytenet/operation.py', 'description': 'Compute the dot (scalar) product `<chi | psi>`, complex conjugating `chi`.\n\nArgs:\n chi: wavefunction represented as MPS\n psi: wavefunction represented as MPS\n\nReturns:\n `<chi | psi>`', 'signature': 'def vdot(chi: MPS, psi: MPS):'}</s>{'name': 'qnumbe... | 0 |
{'name': 'ImagePolicyUpdateCommon.build_payloads_to_commit@plugins/module_utils/image_policy/update.py', 'description': '### Summary\nBuild a list of payloads to commit. Skip any payloads that do not\nexist on the controller.\n\nExpects self.payloads to be a list of dict, with each dict\nbeing a payload for the image ... | 0 |
{'name': 'Attachments.add_attachment_to_run@testrail_api/_category.py', 'description': 'Adds attachment to test run.\nThe maximum allowable upload size is set to 256mb.\nRequires TestRail 6.3 or later\n\n:param run_id:\n The ID of the test run the attachment should be added to\n:param path:\n The path to the file... | 0 |
{'name': 'RunWithSharding@3rdparty/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Runs a test program shard and returns exit code and a list of tests run.', 'signature': 'def RunWithSharding(total_shards, shard_index, command):'}</s>DISABLED_TESTS = [
'BarTest.DISABLED_TestFour',
'BarTest... | 0 |
{'name': 'Block._write@pcapng/blocks.py', 'description': 'Writes this block into the given output stream', 'signature': 'def _write(self, outstream):'}</s>{'name': 'RawBytes@pcapng/structs.py', 'description': 'Field containing a fixed-width amount of raw bytes\n\n:param size: field size, in bytes', 'base_classes': ['St... | 0 |
{'name': 'set_bar@library/dot3k/backlight.py', 'description': 'Set a value or values to one or more LEDs\n\n:param index: starting index\n:param value: a single int, or list of brightness values from 0 to 255', 'signature': 'def set_bar(index, value):'}</s>LED_M_B = 5 | 0 |
{'name': 'Grid.from_dataset@uxarray/grid/grid.py', 'description': 'Constructs a ``Grid`` object from a dataset.\n\nParameters\n----------\ndataset : xr.Dataset or path-like\n ``xarray.Dataset`` containing unstructured grid coordinates and connectivity variables or a directory\n containing ASCII files represents... | 0 |
{'name': 'no_update_last_login@loginas/utils.py', 'description': 'Disconnect any signals to update_last_login() for the scope of the context\nmanager, then restore.', 'signature': 'def no_update_last_login():'}</s>{'name': 'login_as@loginas/utils.py', 'description': 'Utility function for forcing a login as specific use... | 0 |
{'name': 'SystemTest.test_get_active_mode_hot_water_no_hotwater@tests/test_system.py', 'description': 'Test active mode without hot water.', 'signature': 'def test_get_active_mode_hot_water_no_hotwater(self) -> None:'}</s>{'name': 'Dhw@pymultimatic/model/dhw.py', 'description': 'This is representing the DHW (Domestic H... | 0 |
{'name': 'displayInfo@source/pi-timolo.py', 'description': 'Display variable settings with plugin overlays if required', 'signature': 'def displayInfo(motioncount, timelapsecount):'}</s>{'name': 'postImageProcessing@source/pi-timolo.py', 'description': 'If required process text to display directly on image', 'code': 'd... | 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': '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': '_get_delocate_generator_header@delocate/delocating.py', 'description': "Return Delocate's version info to be appended to the WHEEL metadata.", 'signature': 'def _get_delocate_generator_header() -> tuple[str, str]:'}</s>{'name': '_decide_dylib_bundle_directory@delocate/delocating.py', 'description': 'Return a ... | 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>MQCACH_WEBCONTENT_PATH = 3570 | 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': 'Subscribers.all@mailerlite/subscriber.py', 'description': 'Get paginated details of all Subscribers from your account.\n\nlook at https://developers.mailerlite.com/v2/reference#subscribers\n\nParameters\n----------\nlimit : int\n How many subscribers you want\noffset : int\n page index\nstype : str\n ... | 0 |
{'name': 'test_mapping@zict/tests/test_cache.py', 'description': 'Test mapping interface for Cache().', 'signature': 'def test_mapping():'}</s>{'name': 'test_weakvaluemapping@zict/tests/test_cache.py', 'description': 'DOCSTRING', 'code': 'def test_weakvaluemapping():\n class C:\n pass\n\n d = WeakValueMapp... | 0 |
{'name': 'IOSPush.push_peer_batch@ios_push.py', 'description': '不同的collapse_id', 'signature': 'def push_peer_batch(cls, appid, notifications):'}</s>{'name': 'get_gcm_key@models/application.py', 'description': 'DOCSTRING', 'code': 'def get_gcm_key(mysql, appid):\n for i in range(2):\n try:\n sql = \... | 0 |
{'name': 'train@gns/train.py', 'description': 'Train the model.\n\nArgs:\n rank: local rank\n world_size: total number of ranks\n device: torch device type', 'signature': 'def train(rank, flags, world_size, device):'}</s>{'name': '_get_simulator@gns/train.py', 'description': "Instantiates the simulator.\n\nArgs:\n ... | 1 |
{'name': 'User.signup@toggl/api/models.py', 'description': 'Creates brand new user. After creation confirmation email is sent to him.\n\n:param email: Valid email of the new user.\n:param password: Password of the new user.\n:param timezone: Timezone to be associated with the user. If empty, than timezone from config i... | 0 |
{'name': "judge_valid@Einstein's Puzzle/Albert_Einstein_Problem.py", 'description': '根据r_dict确定的关系,判断此字典是否满足c_list中描述的条件\n:param r_dict: 关系字典\n:param c_15: 不确定条件c15\n:param c_10: 不确定条件c10\n:param c_11: 不确定条件c11\n:return: 不满足返回False,满足返回r_dict', 'signature': 'def judge_valid(r_dict, c_15, c_10, c_11):'}</s>{'name': "rec... | 0 |
{'name': 'get_bustools_binary_path@kb_python/config.py', 'description': 'Dummy function that simply returns the current value of :data:`BUSTOOLS_PATH`.\n ', 'signature': 'def get_bustools_binary_path() -> str:'}</s>{'name': 'get_kallisto_binary_path@kb_python/config.py', 'description': 'Dummy function that simply re... | 0 |
{'name': 'JavaDataStream.sink@streaming/python/raystreaming/datastream.py', 'description': 'See io.raystreaming.api.stream.DataStream.sink', 'signature': 'def sink(self, java_func_class):'}</s>{'name': 'SourceFunction@streaming/python/raystreaming/function.py', 'description': 'Interface of Source functions.', 'base_cla... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_UNKNOWN_OBJECT_Q_MGR = 2086 | 0 |
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'on_set_option@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_set_option(data):\n RaceContext.rhdata.set_option(data['option'], data['value'])\n... | 0 |
{'name': 'TreeData.__init__@src/data.py', 'description': 'Args:\n config: optional config file to override\n data_dir: override data location, defaults to ROOT \n regenerate: Whether to recreate raw data\n debug: a test mode for small samples', 'signature': 'def __init__(self, csv_file, config, HSI=True, ... | 0 |
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_END = "end" | 0 |
{'name': 'SegWitTest.test_uncompressed_pubkey@test/functional/p2p_segwit.py', 'description': 'Test uncompressed pubkey validity in segwit transactions.\n\nUncompressed pubkeys are no longer supported in default relay policy,\nbut (for now) are still valid in blocks.', 'signature': 'def test_uncompressed_pubkey(self):'}... | 1 |
{'name': 'main.get_info@mcu/qe/qe.py', 'description': 'Extract basis information from the vasprun.xml', 'signature': 'def get_info(self, filename=None): '}</s>dos_header_MATCH = re.compile(r'''
[\w\W]* \# [ ]* E [ ]* \(eV\) [ ]* dos\(E\) [ ]* Int [ ]* dos\(E\) [ ]* EFermi [ ]* = [ ]* (?P<efermi>\S+) [ ]* eV
''', re.... | 0 |
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>{'name': 'tieddict@shingetsu/tiedobj.py', 'description': 'DOCSTRING', 'code': 'def tieddict(path, elemclass=None, caching=False, listclass=None):\n if path in _cache:\n return _ca... | 0 |
{'name': 'XPRESS_PY._extract@pulp/apis/xpress_api.py', 'description': 'Extract a given model to an XPRESS Python API instance.\n\nThe function stores XPRESS specific information in the `solverModel` property\nof `lp` and each variable and constraint. These information can be\nremoved by calling `_reset`.', 'signature':... | 0 |
{'name': 'FormatCode@tools/yapf/yapf/yapflib/yapf_api.py', 'description': 'Format a string of Python code.\n\nThis provides an alternative entry point to YAPF.\n\nArguments:\n unformatted_source: (unicode) The code to format.\n filename: (unicode) The name of the file being reformatted.\n remaining arguments: see co... | 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': 'connect_to_remote_factory@tests/proxy_server.py', 'description': 'simulate target host connection timeout', 'signature': 'def connect_to_remote_factory(cls: typing.Type[AbstractProxy]):'}</s>{'name': 'getaddrinfo_async_mock@tests/mocks.py', 'description': 'DOCSTRING', 'code': "def getaddrinfo_async_mock(origi... | 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': 'face_extraction@Contents/scripts/siweighteditor/modeling.py', 'description': 'メッシュを選択したフェイスで切り分ける\ndeleteOrg\u3000切り分け元のフェイスを削除するかどうかを指定デフォルトTrue\nfaces →\u3000外部ツールからフェイスのリストを渡して実行したい場合の引数', 'signature': 'def face_extraction(faces=None, deleteOrg=True, selectDuplicated=True, transferWeight=True):'}</s>{'name... | 0 |
{'name': 'Field.is_point_cloud@phi/field/_field.py', 'description': 'A Field represents graph data if its `geometry` is not a set of connected elements, but rather individual geometric objects.', 'signature': 'def is_point_cloud(self):'}</s>{'name': 'as_boundary@phi/field/_field.py', 'description': 'Returns an `Extrapo... | 0 |
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>{'name': 'UserTagList@shingetsu/tag.py', 'description': "User's All Tags.\n ", 'base_classes': ['TagList'], 'methods': [{'name': 'UserTagList.__init__@shingetsu/tag.py', 'de... | 0 |
{'name': 'load_libdmtx@pylibdmtx/wrapper.py', 'description': 'Loads the libdmtx shared library.\n\nPopulates the globals LIBDMTX and EXTERNAL_DEPENDENCIES.', 'signature': 'def load_libdmtx():'}</s>dmtxDecodeSetProp = libdmtx_function(
'dmtxDecodeSetProp',
DmtxPassFail,
POINTER(DmtxDecode),
c_int, # p... | 0 |
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'get_bpno_from_match@tools/lldb/packages/Python/lldbsuite/test/lldbu... | 0 |
{'name': 'generate_gbnf_rule_for_type@examples/pydantic_models_to_grammar.py', 'description': 'Generate GBNF rule for a given field type.\n\n:param model_name: Name of the model.\n\n:param field_name: Name of the field.\n:param field_type: Type of the field.\n:param is_optional: Whether the field is optional.\n:param p... | 0 |
{'name': 'VimPlugin.LookupTag@vimdoc/module.py', 'description': 'Returns the tag name for the given type and name.', 'signature': 'def LookupTag(self, typ, name):'}</s>function_line = re.compile(r"""
# Leading whitespace.
^\s*
# fu[nction]
fu(?:n|nc|nct|ncti|nctio|nction)?
# Separation (with an optional bang)... | 0 |
{'name': '_dual_to_ugrid@uxarray/io/_mpas.py', 'description': 'Encodes the MPAS Dual-Mesh in the UGRID conventions.', 'signature': 'def _dual_to_ugrid(in_ds, out_ds):'}</s>FACE_AREAS_DIMS = ["n_face"] | 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': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>RELOAD_REMOVED_MSG = ""importlib.reload" or (`reload` is removed " "since Python 3)" | 0 |
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'getFwfileProctypeStr@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def getFwfileProctypeStr(fileStr):\n dataStr = None\n try:\n dataStr = stm32l... | 0 |
{'name': '_parse_args@ez_setup.py', 'description': 'Parse the command line for options.', 'signature': 'def _parse_args():'}</s>{'name': 'has_curl@ez_setup.py', 'description': 'DOCSTRING', 'code': "def has_curl():\n cmd = ['curl', '--version']\n with open(os.path.devnull, 'wb') as devnull:\n try:\n ... | 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': 'Grid.from_dataset@uxarray/grid/grid.py', 'description': 'Constructs a ``Grid`` object from a dataset.\n\nParameters\n----------\ndataset : xr.Dataset or path-like\n ``xarray.Dataset`` containing unstructured grid coordinates and connectivity variables or a directory\n containing ASCII files represents... | 0 |
{'name': 'pytest_fixture_setup@pytest_asyncio/plugin.py', 'description': 'Adjust the event loop policy when an event loop is produced.', 'signature': 'def pytest_fixture_setup('}</s>{'name': '_provide_clean_event_loop@pytest_asyncio/plugin.py', 'description': 'DOCSTRING', 'code': 'def _provide_clean_event_loop() -> Non... | 1 |
{'name': 'attach_exception_hook@asynq/debug.py', 'description': 'Injects async exception hook into the sys.excepthook.', 'signature': 'def attach_exception_hook():'}</s>{'name': 'format_tb@asynq/debug.py', 'description': 'Formats a traceback into a list of lines.', 'code': 'def format_tb(tb):\n """Formats a tracebac... | 0 |
{'name': 'MarketstoreStub.__init__@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>ServerVersionRequest = _reflection.GeneratedProtocolMessageType('ServerVersionRequest', (_message.Message,), {
'DESCRIP... | 1 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PFUDPS_MULTIPLE = 2 | 0 |
{'name': 'search_topics@world_bank_data/others.py', 'description': 'Return the topics that match the given pattern', 'signature': 'def search_topics(pattern, language=None, **kwargs):'}</s>{'name': 'search_regions@world_bank_data/others.py', 'description': 'Return the regions that match the given pattern', 'code': 'def... | 0 |
{'name': 'Ava._images_and_boxes_preprocessing@models/SlowFast/slowfast/datasets/ava_dataset.py', 'description': 'This function performs preprocessing for the input images and\ncorresponding boxes for one clip.\n\nArgs:\n imgs (tensor): the images.\n boxes (ndarray): the boxes for the current clip.\n\nReturns:\n ... | 1 |
{'name': 'workid_from_url@AO3/utils.py', 'description': 'Get the workid from an archiveofourown.org website url\n\nArgs:\n url (str): Work URL \n\nReturns:\n int: Work ID', 'signature': 'def workid_from_url(url):'}</s>{'name': 'handle_bookmark_errors@AO3/utils.py', 'description': 'DOCSTRING', 'code': 'def handle_... | 0 |
{'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': 'CommonTreeAdaptor.getToken@swap-ssdb-1.9.2/deps/cpy/antlr3/tree.py', 'description': 'What is the Token associated with this node? If\nyou are not using CommonTree, then you must\noverride this in your own adaptor.', 'signature': 'def getToken(self, t):'}</s>{'name': 'RewriteCardinalityException@swap-ssdb-1.9... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIA_SUB_COUNT = 204 | 0 |
{'name': 'cnn_statistics@condensa/util.py', 'description': 'Computes accuracy of given CNN model.\n\n:param model: PyTorch model\n:type model: `torch.nn.Module`\n:param criterion: Loss function\n:param dataloader: Data loader to use\n:return: Top-1 and Top-5 accuracies\n:rtype: Tuple(top1, top5)', 'signature': 'def cnn... | 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': 'MessageBase.handle_unsubscribe_request@sitemessage/messages/base.py', 'description': 'Handles user subscription cancelling request.\n\n:param request: Request instance\n:param message: Message model instance\n:param dispatch: Dispatch model instance\n:param hash_is_valid: Flag indicating that user supplied re... | 0 |
{'name': 'info@ascmhl/commands.py', 'description': 'Prints information from the ASC MHL history\n\n\x08', 'signature': 'def info(verbose, single_file, root_path):'}</s>{'name': 'NoMHLHistoryException@ascmhl/errors.py', 'description': 'DOCSTRING', 'base_classes': ['click.ClickException'], 'methods': [{'name': 'NoMHLHist... | 1 |
{'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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.