text
string
label
int64
{'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': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>generic_comment_string = "[comment]: # (partly autogenerated content, edit with care, read the manual be...
0
{'name': 'PySRRegressor.from_file@pysr/sr.py', 'description': 'Create a model from a saved model checkpoint or equation file.\n\nParameters\n----------\nrun_directory : str\n The directory containing outputs from a previous run.\n This is of the form `[output_directory]/[run_id]`.\n Default is `None`.\nbinary_...
0
{'name': 'test_merged_dup_stream_blocks@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on Blocks.', 'signature': 'def test_merged_dup_stream_blocks():'}</s>{'name': 'test_merge_child_blocks_simple_overlap@maf/impl/naiveLiftUp.py', 'description': "Run merge_child_blocks with two blocks that d...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACF_EVENT_Q_MGR = 3047
0
{'name': 'PBKDF1@blockchain-env/lib/python3.7/site-packages/Cryptodome/Protocol/KDF.py', 'description': 'Derive one key from a password (or passphrase).\n\nThis function performs key derivation according to an old version of\nthe PKCS#5 standard (v1.5) or `RFC2898\n<https://www.ietf.org/rfc/rfc2898.txt>`_.\n\n.. warnin...
0
{'name': 'execute@Toolbox/arcsdm/ModelTrain.py', 'description': 'Model Train tool\n Trains one of the predefined models with their respective parameters. This tool should be executed from a \n python toolbox \n Currently supports for Adaboost(SAMME), BrownBoost, logistic regression, random forest and suppo...
1
{'name': 'get_expected_config@test/test_config.py', 'description': 'Return a dict with the values that should be set by a config file.', 'signature': 'def get_expected_config(option_spec):'}</s>CONFIG_FILENAME = "config.py"
0
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'test_read_secre...
0
{'name': 'defaultArgs@pyppeteer/launcher.py', 'description': 'Get the default flags the chromium will be launched with.\n\n``options`` or keyword arguments are set of configurable options to set on\nthe browser. Can have the following fields:\n\n* ``headless`` (bool): Whether to run browser in headless mode. Defaults t...
0
{'name': '_sparsemax_threshold_and_support@entmax/activations.py', 'description': 'Core computation for sparsemax: optimal threshold and support size.\n\nParameters\n----------\nX : torch.Tensor\n The input tensor to compute thresholds over.\n\ndim : int\n The dimension along which to apply sparsemax.\n\nk : int ...
1
{'name': 'FlexFieldsSerializerMixin._validate_recursive_expansion@rest_flex_fields/serializers.py', 'description': 'Given an expand_path, a dotted-separated string,\nan Exception is raised when a recursive\nexpansion is detected.\nOnly applies when REST_FLEX_FIELDS["RECURSIVE_EXPANSION"] setting is False.', 'signature'...
0
{'name': 'calculate_hidden_flow@experiments/causal_trace.py', 'description': 'Runs causal tracing over every token/layer combination in the network\nand returns a dictionary numerically summarizing the results.', 'signature': 'def calculate_hidden_flow('}</s>{'name': 'collect_embedding_tdist@experiments/causal_trace.py...
0
{'name': 'test_style_hang@tests/test_css.py', 'description': 'The sanitizer should not hang on any inline styles', 'signature': 'def test_style_hang():'}</s>clean = partial(clean, tags={"p"}, attributes=["style"])
1
{'name': '_mut_shrink_is_applied@tests/unit/test_ea_mutation.py', 'description': 'Checks if mutation was caused by `mut_shrink`.\n\n:param original: the pre-mutation individual\n:param mutated: the post-mutation individual\n:return: (bool, str). If mutation was caused by function, True. False otherwise.\n str is a ...
0
{'name': 'ParserElement.setDebug@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.\nSet ``flag`` to True to enable, False to disable.\n\nExample::\n\n wd = Word(alphas).setName("alphaword")\n integer = Word(num...
0
{'name': 'JobQueue._run_step_local@worker/bioqueue.py', 'description': 'Parameters\n----------\njob : Task\n Task object\nstdout_to : str\n\nstderr_to : str\n\n\nReturns\n-------', 'signature': 'def _run_step_local(self, job, stdout_to, stderr_to):'}</s>{'name': 'main@worker/bioqueue.py', 'description': 'DOCSTRING',...
0
{'name': 'asciihexdecode@pdfminer3/ascii85.py', 'description': 'ASCIIHexDecode filter: PDFReference v1.4 section 3.3.1\nFor each pair of ASCII hexadecimal digits (0-9 and A-F or a-f), the\nASCIIHexDecode filter produces one byte of binary data. All white-space\ncharacters are ignored. A right angle bracket character (>...
1
{'name': 'indigenous_peoples_day@src/convertdate/holidays.py', 'description': 'Celebrated on the second Monday in October in the United States.', 'signature': "def indigenous_peoples_day(year, country='usa'):"}</s>SEP = 9
0
{'name': 'student_known@github_no_partners.py', 'description': 'Given a GitHub IDs, returns whether that student is a known student in\nthe student-data CSV file.', 'signature': 'def student_known(github_id: str) -> bool:'}</s>{'name': 'get_github_endpoint_paged_list@github_scanner.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'demo@src/doitlive/cli.py', 'description': 'Run a demo doitlive session.', 'signature': 'def demo(quiet, shell, speed, prompt, commentecho):'}</s>{'name': '_compose@src/doitlive/cli.py', 'description': 'DOCSTRING', 'code': 'def _compose(*functions):\n def inner(func1, func2):\n return lambda x: func1...
0
{'name': 'resnet152@training/resnet.py', 'description': 'Constructs a ResNet-152 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet152(pretrained=False, **kwargs):'}</s>{'name': 'ResNet@training/resnet.py', 'description': 'DOCSTRING', 'base_classes': ['nn...
1
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si...
0
{'name': 'test_mapping@zict/tests/test_cache.py', 'description': 'Test mapping interface for Cache().', 'signature': 'def test_mapping():'}</s>{'name': 'check_same_key_threadsafe@zict/tests/utils_test.py', 'description': 'DOCSTRING', 'code': 'def check_same_key_threadsafe(z: MutableMapping) -> None:\n barrier = thre...
0
{'name': 'Graph.__init__@train.py', 'description': 'Args:\n num: Either 1 or 2. 1 for Text2Mel 2 for SSRN.\n mode: Either "train" or "synthesize".', 'signature': 'def __init__(self, num=1, mode="train"):'}</s>{'name': 'SSRN@networks.py', 'description': 'Args:\n Y: Melspectrogram Predictions. (B, T/r, n_mels)\n\nRetu...
1
{'name': 'InstanceSetup._GenerateSshKey@packages/python-google-compute-engine/google_compute_engine/instance_setup/instance_setup.py', 'description': 'Generate a new SSH key.\n\nArgs:\n key_type: string, the type of the SSH key.\n key_dest: string, a file location to store the SSH key.\n\nReturns:\n tuple, key_type ...
0
{'name': 'parse_date@emissionsapi/web.py', 'description': 'Function wrapper replacing string date arguments with\ndatetime.datetime\n\n:param keys: keys to be parsed and replaced\n:type keys: list\n:return: wrapper function\n:rtype: func', 'signature': 'def parse_date(*keys):'}</s>{'name': 'filter_query@emissionsapi/db...
0
{'name': '_lookup_module@dill/session.py', 'description': 'lookup name or id of obj if module is imported', 'signature': 'def _lookup_module(modmap, name, obj, main_module):'}</s>_CELL_REF = None
0
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>{'name': '_PreprocessorInfo@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Stores checkpoints of nesting s...
0
{'name': 'add_point_light@robowflex_visualization/old/blender_render_scene.py', 'description': 'https://docs.blender.org/api/current/bpy.types.PointLamp.html\n\n ', 'signature': 'def add_point_light(light):'}</s>{'name': 'add_sun_light@robowflex_visualization/old/blender_render_scene.py', 'description': 'https://doc...
0
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>{'name': 'InteractiveProgram@da/compiler...
0
{'name': 'get_address_list@src/future/backports/email/_header_value_parser.py', 'description': 'address_list = (address *("," address)) / obs-addr-list\n obs-addr-list = *([CFWS] ",") address *("," [address / CFWS])\n\nWe depart from the formal grammar here by continuing to parse until the end\nof the input, assumin...
0
{'name': 'make_html_table@grizli/aws/db.py', 'description': ' ', 'signature': 'def make_html_table(engine=None, columns=[\'root\', \'status\', \'id\', \'p_ra\', \'p_dec\', \'mag_auto\', \'flux_radius\', \'z_spec\', \'z_map\', \'bic_diff\', \'chinu\', \'log_pdf_max\', \'d4000\', \'d4000_e\'], where="AND status >= 5 A...
0
{'name': 'get_invoice_controller@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'Helper function to return the correct logger.\n:param payment_type:\n:param log_level:\n:return:', 'signature': "def get_invoice_controller(payment_type=PAYMENT_ON_ACCOUNT, log_level='ACCOUNT'):"}</s>{'name': 'get_invoice_number...
0
{'name': 'deobfuscate_email@src/coaster/utils/text.py', 'description': 'Deobfuscate email addresses in provided text.', 'signature': 'def deobfuscate_email(text: str) -> str:'}</s>_deobfuscate_at1_re = re.compile(r'\W*@\W*|\W+at\W+', re.U | re.I)
1
{'name': '_wrap_callback@sounddevice.py', 'description': 'Invoke callback function and check for custom exceptions.', 'signature': 'def _wrap_callback(callback, *args):'}</s>{'name': 'check_input_settings@sounddevice.py', 'description': 'Check if given input device settings are supported.\n\nAll parameters are optional...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_USER_ID_LENGTH = 12
0
{'name': 'preprocess_objdump_out@tools/asm-differ/diff.py', 'description': 'Preprocess the output of objdump into a format that `process()` expects.\nThis format is suitable for saving to disk with `--write-asm`.\n\n- Optionally filter the output to a single function (`restrict`)\n- Otherwise, strip objdump header (7 l...
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'is_le@src/api/python/z3/z3.py', 'descripti...
0
{'name': 'get_versions@src/nccutil/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>{'name': 'git_versions_from_keywords@src/nccutil/_version.py', 'description': 'Get version information from git keywords.', 'code': 'def git_versions_fr...
0
{'name': 'LayoutViewSet.download_layout@vulfocus-api/layout_image/views.py', 'description': '下载环境编排压缩包\n:param request:\n:param pk:\n:return:', 'signature': 'def download_layout(self, request, pk=None):'}</s>{'name': 'upload_file@vulfocus-api/layout_image/views.py', 'description': '上传文件', 'code': 'def upload_file(reque...
0
{'name': 'TeamCloudClientOperationsMixin.get_schedule@client/tc/azext_tc/vendored_sdks/teamcloud/operations/_team_cloud_client_operations.py', 'description': 'Gets the Schedule.\n\nGets the Schedule.\n\n:param schedule_id:\n:type schedule_id: str\n:param organization_id:\n:type organization_id: str\n:param project_id:\...
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>CARTESIAN_FACE_COORDINATES = ["face_x", "face_y", "fac...
0
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>{'name': 'MessageDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a messa...
0
{'name': 'PerfectModelEnsemble._compute_climatology@src/climpred/classes.py', 'description': "Verify a climatology forecast.\n\nArgs:\n metric: Metric to apply for verification, see `metrics <../metrics.html>`_\n comparison: How to compare the climatology against itself, see\n `comparisons <../comparisons....
0
{'name': 'get_root@versioneer.py', 'description': 'Get the project root directory.\n\nWe require that all commands are run from the project root, i.e. the\ndirectory that contains setup.py, setup.cfg, and versioneer.py .', 'signature': 'def get_root():'}</s>{'name': 'do_setup@versioneer.py', 'description': 'Do main VCS...
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': 'poisson_mbo.__init__@graphlearning/ssl.py', 'description': "PoissonMBO \n===================\n\nSemi-supervised learning via Poisson MBO method [1]. class_priors must be provided.\n\nParameters\n----------\nW : numpy array, scipy sparse matrix, or graphlearning graph object (optional), default=None\n Weigh...
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>DIOCIGETIFACES = _IOWR('D', 87, pfioc_iface)
0
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>_HTTP_STATUS_LINES = dict...
0
{'name': 'RKAdaptiveStepsizeODESolver._adaptive_step@torchdiffeq/_impl/rk_common.py', 'description': 'Take an adaptive Runge-Kutta step to integrate the ODE.', 'signature': 'def _adaptive_step(self, rk_state):'}</s>{'name': 'Perturb@torchdiffeq/_impl/misc.py', 'description': 'DOCSTRING', 'base_classes': ['Enum'], 'meth...
1
{'name': 'FileInfo.BaseName@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'File base name - text after the final slash, before the final period.', 'signature': 'def BaseName(self):'}</s>_INSIDE_ASM = 1
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': 'test_assert_return@tests/requirement-engineering/gc-aot/runtest.py', 'description': 'm. to search a pattern like (assert_return (invoke function_name ... ) ...)\nn. to search a pattern like (assert_return (invoke $module_name function_name ... ) ...)', 'signature': 'def test_assert_return(r, opts, form):'}</s...
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>PF_DIVERT = 13
0
{'name': 'apply_mask@echopype/mask/api.py', 'description': 'Applies the provided mask(s) to the Sv variable ``var_name``\nin the provided Dataset ``source_ds``.\n\nThe code allows for these 3 cases of `source_ds` and `mask` dimensions:\n\n1) No channel in both `source_ds` and `mask`,\nbut they have matching `ping_time`...
1
{'name': 'update@hokusai/cli/review_app.py', 'description': 'Updates the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml', 'signature': 'def update(app_name, verbose):'}</s>{'name': 'run@hokusai/cli/review_app.py', 'description': 'Launch a new container and run a command', 'code': 'def run(app_name, cont...
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_pplanfloatpar...
0
{'name': 'get_similar_image_from_query@6_AI-ML/2_gemini_LLM/notebooks/gemini-course/utils/intro_multimodal_rag_utils.py', 'description': 'Finds the top N most similar images from a metadata DataFrame based on a text query or an image query.\n\nArgs:\n project_id: The Project ID of the embedding model used for text o...
1
{'name': 'SlowLorisAttack.start@pyslowloris/attack.py', 'description': 'Start slow loris attack.', 'signature': 'def start(self) -> None:'}</s>{'name': 'HostAddress@pyslowloris/uri_info.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'HostAddress.__init__@pyslowloris/uri_info.py', 'description...
0
{'name': 'TestCase.tearDown@tests/__init__.py', 'description': 'Clean db session and drop all tables.', 'signature': 'def tearDown(self):'}</s>db = SQLAlchemy()
1
{'name': 'include_decl@src/services/mpiwrap/wrap.py', 'description': 'This function is used by macros to include attributes MPI declarations in their scope.', 'signature': 'def include_decl(scope, decl):'}</s>includes = []
0
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': '_LocalProcess@llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'description': 'DOCSTRING', 'base_...
0
{'name': 'get_weibo_tweets_formatted@weibo_scraper.py', 'description': 'Get weibo formatted tweets by container id\n\nCompatibility:\nNew Api\n1. Get uid by searching name via "https://m.weibo.cn/api/container/getIndex?queryVal=来去之间&containerid=100103type%3D3%26q%3D来去之间"\n2. Get weibo profile containerid by uid via "ht...
1
{'name': 'TestTcpTransport.test_bulk_read@tests/test_tcp_transport.py', 'description': 'TODO\n\n ', 'signature': 'def test_bulk_read(self):'}</s>MSG_CONNECT_WITH_AUTH_NEW_KEY3 = AdbMessage(command=constants.CNXN, arg0=constants.PROTOCOL, arg1=3*constants.MAX_LEGACY_ADB_DATA, data=b'host::unknown\0')
0
{'name': 'DECIMER_Predictor.__call__@DECIMER/Repack_model.py', 'description': 'This function takes in the Decoded image as input and makes the\npredicted list of tokens and return the tokens as tf.Tensor array.\nBefore feeding the input array we must define start and the end tokens.\n\nArgs:\n Decoded_image (tf.Tens...
0
{'name': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>CC_MAX = 9
0
{'name': 'slug_create@src/pinnwand/utility.py', 'description': 'Creates a new slug, a slug has to be unique within both the Paste and\nFile namespace. These slugs auto-lengthen unless they are specified not\nto.\n\nSlugs are unique identifiers that are used the URLs that pinnwand serves\npastes and files on.', 'signatu...
0
{'name': 'collect_extensions@setup.py', 'description': 'Collect all the directories with Cython extensions and return the list\nof Extension.\n\nTh function combines static Extension declaration and calls to cythonize\nto build the list of extensions.', 'signature': 'def collect_extensions():'}</s>{'name': 'get_define_...
1
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>PF_FLUSH_GLOBAL = 2
0
{'name': 'ImageTest.test_create@thumbnails/tests/test_images.py', 'description': 'Ensure that ``create`` properly generates the thumbnail\nand its relevant metadata.', 'signature': 'def test_create(self):'}</s>{'name': 'FallbackImage@thumbnails/images.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'method...
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': 'NestingState.Update@scripts/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.'...
0
{'name': 'TLP.pack@fpga/lib/pcie/tb/pcie.py', 'description': 'Pack TLP as DWORD array', 'signature': 'def pack(self):'}</s>{'name': 'PcieId@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'PcieId.__init__@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'Model._gen_phys_param@src/pysource/models.py', 'description': 'Create symbolic object an initialize its data', 'signature': 'def _gen_phys_param(self, field, name, space_order, is_param=False,'}</s>__all__ = ['Model']
0
{'name': 'AlarmoBaseEntity.device_info@custom_components/alarmo/alarm_control_panel.py', 'description': 'Return info for device registry.', 'signature': 'def device_info(self) -> dict:'}</s>VERSION = "1.9.5"
1
{'name': 'TestSubscription.test_subscription_billing_cycle_intervals_2@silver/tests/unit/test_subscription.py', 'description': 'Every 2 months, 150 days of trial (2015-05-30)\nseparate_cycles_during_trial = True\ngenerate_documents_on_trial_end = True', 'signature': 'def test_subscription_billing_cycle_intervals_2(self...
1
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n...
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': 'adjust_learning_rate@train_trades_cifar10.py', 'description': 'decrease the learning rate', 'signature': 'def adjust_learning_rate(optimizer, epoch):'}</s>{'name': 'BasicBlock@models/wideresnet.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'BasicBlock.__init__@models/wid...
0
{'name': 'check_json_precision@test/functional/test_framework/util.py', 'description': 'Make sure json library being used does not lose precision converting BTC values', 'signature': 'def check_json_precision():'}</s>{'name': 'assert_raises@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'd...
0
{'name': 'add_main_cli@rivalcfg/cli.py', 'description': 'Adds the main CLI options.\n\n:param ArgumentParser cli_parser: An :class:`ArgumentParser` instance.', 'signature': 'def add_main_cli(cli_parser):'}</s>{'name': 'is_rules_file_up_to_date@rivalcfg/udev.py', 'description': 'Check if the given udev rules file is up ...
0
{'name': 'comm@tests/input/test_InputFromData.py', 'description': 'Creates a MPI.COMM_WORLD object for working with multi-process information.', 'signature': 'def comm():'}</s>{'name': 'test_draw_samples_invalid_parameters_fails@tests/input/test_InputFromData.py', 'description': 'Ensure expected exceptions occur when i...
0
{'name': 'Parser.p_expression_bytes@lib/rule_engine/parser/__init__.py', 'description': 'object : BYTES', 'signature': 'def p_expression_bytes(self, p):'}</s>{'name': 'GetAttributeExpression@lib/rule_engine/ast.py', 'description': 'A class representing an expression in which *name* is retrieved as an attribute of *obje...
0
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found....
0
{'name': 'TestAuditLogsEnterprise.test_get_params@backend-tests/tests/test_auditlogs.py', 'description': 'Mix up some audiltog events, check GET with various params', 'signature': 'def test_get_params(self, tenant_users):'}</s>{'name': 'Tenant@testutils/common.py', 'description': 'DOCSTRING', 'base_classes': [], 'metho...
0
{'name': 'Hub.mode@custom_components/hubitat/hub.py', 'description': 'Return the current mode of this hub.', 'signature': 'def mode(self) -> str | None:'}</s>ATTR_HUB = "hub"
0
{'name': 'test_https_h2_tls_context_configuration_rsa@test/integration/test_integration_basics.py', 'description': 'Test that specifying RSA compatible tls cipher suites works with the h2 pool.', 'signature': 'def test_https_h2_tls_context_configuration_rsa(https_test_server_fixture):'}</s>{'name': 'test_https_h2_trans...
0
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>{'name': 'InitiatorConne...
0
{'name': 'must_be_called@tests/tasks.py', 'description': "This function is patched in tests to see the caller is doing it's job.\n ", 'signature': 'def must_be_called():'}</s>{'name': 'flood@tests/tasks.py', 'description': 'DOCSTRING', 'code': "def flood():\n s = ''.join(random.choice(string.ascii_uppercase) for ...
0
{'name': 'Structure.add_field@msldap/external/bloodhoundpy/lib/cstruct.py', 'description': 'Add a field to this structure.\n\nArgs:\n name: The field name.\n type_: The field type.\n offset: The field offset.', 'signature': 'def add_field(self, name, type_, offset=None):'}</s>{'name': 'log@msldap/external/bloo...
0
{'name': 'G3TemporalZeppelin.__call__@dmipy/signal_models/gaussian_models.py', 'description': 'Estimates the signal attenuation.\n\nParameters\n----------\nacquisition_scheme : DmipyAcquisitionScheme instance,\n An acquisition scheme that has been instantiated using dMipy.\nkwargs: keyword arguments to the model par...
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': '_get_args@src/api/python/z3/z3.py', '...
1
{'name': 'main_branch_bot_actions@src/oca_github_bot/tasks/main_branch_bot.py', 'description': "Run main branch bot actions on a local git checkout.\n\n'cwd' is the directory containing the root of a local git checkout.", 'signature': 'def main_branch_bot_actions(org, repo, branch, cwd):'}</s>GEN_ADDON_ICON_EXTRA_ARGS ...
0
{'name': 'get_runs@mne_bids_pipeline/_config_utils.py', 'description': 'Return a list of runs in the BIDS input data.\n\nParameters\n----------\nsubject\n Returns a list of the runs of this subject.\nverbose\n Notify if different subjects do not share the same runs.\n\nReturns\n-------\nThe list of runs of the su...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_INSUFFICIENT_DATA = 6114
0
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', ...
0
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
1