text
string
label
int64
{'name': 'LongTypesExprTestCase.test_unsigned_long_type_from_block@llvm-project/lldb/test/API/types/TestLongTypesExpr.py', 'description': "Test that 'unsigned_long'-type variables are displayed correctly from a block.", 'signature': 'def test_unsigned_long_type_from_block(self):'}</s>{'name': 'expectedFailureOS@llvm-pr...
0
{'name': 'get_packages_from_download_list@pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py', 'description': "The result of parsing `download.lst`: A list of dicts containing keys\n'name', 'tarball', 'md5', 'brief'.", 'signature': 'def get_packages_from_download_list():'}</s>{'name': 'get_lines@pkgs/app...
1
{'name': 'DebugCmd.list_source@DebugLibrary/debugcmd.py', 'description': 'List source code.', 'signature': 'def list_source(self, longlist=False):'}</s>{'name': 'reset_robotframework_exception@DebugLibrary/robotapp.py', 'description': 'Resume RF after press ctrl+c during keyword running.', 'code': 'def reset_robotframe...
0
{'name': 'find_object@kabuki/utils.py', 'description': "Retrieve a Python object by its fully qualified name from the global Python\nmodule namespace. The first part of the name, that describes a module,\nwill be discovered and imported. Each subsequent part of the name is\ntreated as the name of an attribute of the ...
1
{'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>amount_screen_8 = " sats)"
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_DELETE_OPTIONS = 1092
0
{'name': '_IsType@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stac...
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': 'output2sphinx@jupyter_sphinx/ast.py', 'description': 'Convert a Jupyter output with a specific mimetype to its sphinx representation.', 'signature': 'def output2sphinx(data, mime_type, metadata, out_dir, inline=False):'}</s>{'name': 'cell_output_to_nodes@jupyter_sphinx/ast.py', 'description': 'Convert a jupyt...
0
{'name': 'ServiceInfo.getAddress@stino/pyarduino/base/zeroconf.py', 'description': 'Address accessor', 'signature': 'def getAddress(self):'}</s>_CHECK_TIME = 175
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_TRIGGER_DATA_LENGTH = 64
0
{'name': 'from_json_schema_type@typesystem/json_schema.py', 'description': 'Build a typed field from a JSON schema object.', 'signature': 'def from_json_schema_type('}</s>{'name': 'Const@typesystem/fields.py', 'description': 'Only ever matches the given given value.', 'base_classes': ['Field'], 'methods': [{'name': 'Co...
0
{'name': 'ref@gget/gget_ref.py', 'description': 'Fetch FTPs for reference genomes and annotations by species from Ensembl.\n\nArgs:\n- species Defines the species for which the reference should be fetched in the format "<genus>_<species>",\n e.g. species = "homo_sapiens".\n Sup...
1
{'name': 'IterateProtocol.__call__@quapy/protocol.py', 'description': 'Yields one sample from the initial list at a time\n\n:return: yields a tuple `(sample, prev) at a time, where `sample` is a set of instances\n and in which `prev` is an `nd.array` with the class prevalence values', 'signature': 'def __call__(self...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>PF_OP_NE = 3
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
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>ND_ROUTER_SOLICIT = 133
0
{'name': 'PerfectModelEnsemble.verify@src/climpred/classes.py', 'description': 'Verify initialized predictions against a configuration of its members.\n\n.. note::\n The configuration of the other ensemble members is based off of the\n ``comparison`` keyword argument.\n\nArgs:\n metric: Metric to apply for ver...
0
{'name': 'Employee.verifypassword@app/models.py', 'description': 'Check if hashed password matches actual password', 'signature': 'def verifypassword(self, password):'}</s>db = SQLAlchemy()
0
{'name': 'Assignment.__init__@lib/rule_engine/ast.py', 'description': ':param str name: The symbol name that the assignment is defining.\n:param value: The value of the assignment.\n:param value_type: The data type of the assignment.\n:type value_type: :py:class:`~.DataType`', 'signature': 'def __init__(self, name, *, ...
0
{'name': 'synchronize_cams_all@Pose2Sim/synchronization.py', 'description': 'Post-synchronize your cameras in case they are not natively synchronized.\n\nFor each camera, computes mean vertical speed for the chosen keypoints, \nand find the time offset for which their correlation is highest. \n\nDepending on the analys...
0
{'name': 'BMP3XX.pressure@python/samples/bmp390.py', 'description': 'The pressure in hPa.', 'signature': 'def pressure(self):'}</s>_REGISTER_CHIPID = const(0x00)
0
{'name': 'AcousticCorpusMixin.generate_final_features@montreal_forced_aligner/corpus/acoustic_corpus.py', 'description': 'Generate features for the corpus', 'signature': 'def generate_final_features(self) -> None:'}</s>{'name': 'TextParseError@montreal_forced_aligner/exceptions.py', 'description': 'Class for errors par...
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': 'mainfunction@util/demo_to_notebook.py', 'description': 'Main function. Calls all other functions. Also, it adds a cell that draws the result. The working text is\nthen converted to a version 3 jupyter notebook, subsequently updated to a version 4. Then, metadata\nassociated with the language the macro is writ...
1
{'name': 'parse2_read@pairtools/lib/parse.py', 'description': 'Parse sam entries corresponding to a Hi-C molecule into alignments in parse2 mode\nfor a Hi-C pair.\nReturns\n-------\nstream: iterator\n Each element is a triplet: (algn1, aldn2, pair_index)\n algn1, algn2: dict\n Two alignments selected for r...
0
{'name': 'LambdaSupportTest.assert_contains_lambda_expression_in_m@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'asserts that the given tree contains a method with the supplied\nmethod name containing a lambda expression.', 'signature': 'def assert_contains_lambda_expression_in_m('}</s>{'n...
0
{'name': 'update_boptest_data@bacnet/BopTestProxy.py', 'description': 'Read the current simulation data from the API and set the object values.', 'signature': 'def update_boptest_data():'}</s>_log = ModuleLogger(globals())
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>_HEADERS_MAYBE_TEMPLATES = ( ('<algorithm>', ('copy', 'max', 'min', 'min_element', 'sort'...
0
{'name': 'parse_commands@src/oca_github_bot/commands.py', 'description': 'Parse a text and return an iterator of BotCommand objects.', 'signature': 'def parse_commands(text):'}</s>LABEL_MERGING = "bot is merging ⏳"
0
{'name': 'TestCrud.test_valid_crud_tasks@test/testcases/test_crud.py', 'description': 'Test that valid kafka connect task can be created, updated, paused, resumed, restarted and deleted', 'signature': 'def test_valid_crud_tasks(self, setup, test_input, expected):'}</s>{'name': 'get_running_connector_list@test/lib/commo...
0
{'name': 'S2V_Tests.test1@blockchain-env/lib/python3.7/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py', 'description': 'Verify correctness of test vector', 'signature': 'def test1(self):'}</s>{'name': 'new@blockchain-env/lib/python3.7/site-packages/Cryptodome/Hash/HMAC.py', 'description': 'Create a new MAC obje...
1
{'name': 'queuify_logger@src/concurrent_log_handler/queue.py', 'description': "Replace logger's handlers with a queue handler while adding existing\nhandlers to a queue listener.\n\nThis is useful when you want to use a default logging config but then\noptionally add a logger's handlers to a queue during runtime.\n\nAr...
0
{'name': 'FormatDecisionState.MustSplit@tools/yapf/yapf/yapflib/format_decision_state.py', 'description': 'Returns True if the line must split before the next token.', 'signature': 'def MustSplit(self):'}</s>{'name': '_CreateStyleFromConfigParser@tools/yapf/yapf/yapflib/style.py', 'description': 'Create a style dict fr...
0
{'name': 'render@atlas/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'git_versions_from_keywords@atlas/_version.py', 'description': 'Get version information from git keywords.', 'code': 'def git_versions_from_keywords(key...
0
{'name': 'Inspection.enum_signatures@core/Inspection.py', 'description': 'not callable method - enumerate data ', 'signature': 'def enum_signatures(self, source):'}</s>{'name': 'create_yaml@common/utils.py', 'description': 'create and move YAML file to the export repository', 'code': 'def create_yaml(response, file):\n...
0
{'name': 'CycleGANModel.__init__@models/cycle_gan_model.py', 'description': 'Initialize the CycleGAN class.\n\nParameters:\n opt (Option class)-- stores all the experiment flags; needs to be a subclass of BaseOptions', 'signature': 'def __init__(self, opt):'}</s>{'name': 'uint82bin@utils/util.py', 'description': 're...
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'versions_from_parentdir@versioneer.py', 'description': 'Try to determine the version from the parent directory name.\n\nSource tarballs conventionally unpa...
0
{'name': 'flatten@fn/iters.py', 'description': 'Flatten any level of nested iterables (not including strings, bytes or\nbytearrays).\nReimplemented to work with all nested levels (not only one).\n\nhttp://docs.python.org/3.4/library/itertools.html#itertools-recipes', 'signature': 'def flatten(items):'}</s>{'name': 'par...
0
{'name': 'Field.set_as_cls_member@pyfields/core.py', 'description': 'Updates a field with all information available concerning how it is attached to the class.\n\n - its owner class\n - the name under which it is known in that class\n - the type hints (python 3.6)\n\nIn python 3.6+ this is called directly at class crea...
0
{'name': 'draw_cube@datasets/synthetic_dataset.py', 'description': 'Draw a 2D projection of a cube and output the corners that are visible\nParameters:\n min_size_ratio: min(img.shape) * min_size_ratio is the smallest achievable\n cube side size\n min_angle_rot: minimal angle of rotation\n scale_int...
0
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'proc_log@src/python_scripts/afnipy/afni_util.py', 'description': 'Process the log, which is a li...
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': 'Data._apply_axis@verif/data.py', 'description': 'Slice an array along a certain axis and return an extract array\n\nArguments:\narray 3D numpy array\naxis Of type verif.axis.Axis\naxis_index Index along the axis to slice', 'signature': 'def _apply_axis(self, array, axis, axis_index):'}</s>{'name...
0
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ...
0
{'name': 'prettyjson@topojson/utils.py', 'description': 'Renders JSON content with indentation and line splits/concatenations to fit maxlinelength.\nOnly dicts, lists and basic types are supported', 'signature': 'def prettyjson(obj, indent=2, maxlinelength=80):'}</s>{'name': 'serialize_as_altair@topojson/utils.py', 'de...
0
{'name': 'CompoundExplorer.explore_type@processors/ARM/gdb-8.3.1/gdb/python/lib/gdb/command/explore.py', 'description': 'Function to explore struct/class and union types.\nSee Explorer.explore_type for more information.', 'signature': 'def explore_type(name, datatype, is_child):'}</s>{'name': 'ExploreTypeCommand@proces...
0
{'name': 'test_tls_client_auth@cheroot/test/test_ssl.py', 'description': 'Verify that client TLS certificate auth works correctly.', 'signature': 'def test_tls_client_auth( # noqa: C901, WPS213 # FIXME'}</s>IS_LINUX = SYS_PLATFORM == 'Linux'
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'Connection.cursor@trino/dbapi.py', 'description': 'Return a new :py:class:`Cursor` object using the connection.', 'signature': 'def cursor(self, cursor_style: str = "row", legacy_primitive_types: bool = None):'}</s>{'name': 'JsonQueryDataDecoder@trino/client.py', 'description': 'DOCSTRING', 'base_classes': ['...
0
{'name': 'PathConverter.convert@util/py_lib/seqan/dox/write_html.py', 'description': 'Return None, None on failure path, title otherwise.', 'signature': 'def convert(self, name):'}</s>{'name': 'ProcGroup@util/py_lib/seqan/dox/proc_doc.py', 'description': 'A processed group.', 'base_classes': ['ProcEntry'], 'methods': [...
0
{'name': 'CheckCommaSpacing@tools/cpplint.py', 'description': 'Checks for horizontal spacing near commas and semicolons.\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 ...
0
{'name': 'socksocket._SOCKS5_request@nova/proxy/socks.py', 'description': 'Send SOCKS5 request with given command (CMD field) and\naddress (DST field). Returns resolved DST address that was used.', 'signature': 'def _SOCKS5_request(self, conn, cmd, dst):'}</s>SOCKS5 = 2
0
{'name': 'clean_merged_flowlines@oggm/core/flowline.py', 'description': 'Order and cut merged flowlines to size.\n\nAfter matching flowlines were found and merged to one glacier directory\nthis function makes them nice:\nThere should only be one flowline per bed, so overlapping lines have to be\ncut, attributed to a an...
0
{'name': 'DarwinLogEventBasedTestBase.do_test@lldb/packages/Python/lldbsuite/test/darwin_log.py', 'description': 'Runs the test inferior, returning collected events.\n\nThis method runs the test inferior to the first breakpoint hit.\nIt then adds a listener for structured data events, and collects\nall events from that...
0
{'name': 'SciQuery.submit_query_job@py3/SciServer/SciQuery.py', 'description': "Submits a sql query for execution (as an asynchronous job) inside a relational database (RDB) compute domain.\n\n:param sql_query: sql query (string)\n:param database: defines the database where the sql query is executed in.\n Can be eit...
0
{'name': 'is_arch_supported@python/taichi/lang/misc.py', 'description': 'Checks whether an arch is supported on the machine.\n\nArgs:\n arch (taichi_python.Arch): Specified arch.\n\nReturns:\n bool: Whether `arch` is supported on the machine.', 'signature': 'def is_arch_supported(arch):'}</s>{'name': 'loop_config...
0
{'name': 'ProcessFileData@third_party/cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each rep...
0
{'name': 'ExceptionState.dump@javaobj/v2/beans.py', 'description': 'Returns a dump representation of the exception', 'signature': 'def dump(self, indent=0):'}</s>__version__ = ".".join(str(x) for x in __version_info__)
0
{'name': 'inf_generator@experiments/baseline_models/latent_ode_lib/utils.py', 'description': 'Allows training with DataLoaders in a single infinite loop:\nfor i, (x, y) in enumerate(inf_generator(train_loader)):', 'signature': 'def inf_generator(iterable):'}</s>{'name': 'complex_to_spherical_riemann@torchlaplace/transf...
0
{'name': 'PPO.get_v@ppo_continuous_multiprocess2.py', 'description': 'Compute value\n:param s: state\n:return: value', 'signature': 'def get_v(self, s):'}</s>{'name': 'NormalizedActions@ppo_continuous_multiprocess2.py', 'description': 'DOCSTRING', 'base_classes': ['gym.ActionWrapper'], 'methods': [{'name': 'NormalizedA...
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': 'unset_config@src/workflow/util.py', 'description': 'Delete a workflow variable from ``info.plist``.\n\n.. versionadded:: 1.33\n\nArgs:\n name (str): Name of variable to delete.\n bundleid (str, optional): Bundle ID of workflow variable belongs to.', 'signature': 'def unset_config(name, bundleid=None):'}...
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': 'FuncInterp@src/api/python/z3/z3.py', 'description': 'Stores the interpretation of a function in a Z3 model.', 'base_classes': ['Z3PPObject'], 'methods': [{'nam...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_ENCODING_NOT_SUPPORTED = 2308
0
{'name': 'spenders_taproot_active@test/functional/feature_taproot.py', 'description': 'Return a list of Spenders for testing post-Taproot activation behavior.', 'signature': 'def spenders_taproot_active():'}</s>{'name': 'default_controlblock@test/functional/feature_taproot.py', 'description': 'Default expression for "c...
0
{'name': '_AppHandler._read_build_config@jupyterlab/commands.py', 'description': 'Get the build config data for the app dir.', 'signature': 'def _read_build_config(self):'}</s>{'name': 'ensure_core@jupyterlab/commands.py', 'description': 'Ensure that the core assets are available.', 'code': 'def ensure_core(logger=None...
0
{'name': 'BareValidator._validate_max@cerberus/validator.py', 'description': "{'nullable': False }", 'signature': 'def _validate_max(self, max_value, field, value):'}</s>VALUESCHEMA = ErrorDefinition(0x84, 'valuesrules')
0
{'name': 'cpython_tags@gyp/pylib/packaging/tags.py', 'description': "Yields the tags for a CPython interpreter.\n\nThe tags consist of:\n- cp<python_version>-<abi>-<platform>\n- cp<python_version>-abi3-<platform>\n- cp<python_version>-none-<platform>\n- cp<less than python_version>-abi3-<platform> # Older Python versi...
0
{'name': 'PhonetisaurusTrainerMixin.train_ngram_model@montreal_forced_aligner/g2p/phonetisaurus_trainer.py', 'description': 'Train an ngram model on the aligned FSTs', 'signature': 'def train_ngram_model(self) -> None:'}</s>{'name': 'AlignmentInitWorker@montreal_forced_aligner/g2p/phonetisaurus_trainer.py', 'descriptio...
0
{'name': 'SendMessage._setup_workflow@py/send_message.py', 'description': 'TODO: Document', 'signature': 'def _setup_workflow(self) -> None:'}</s>{'name': 'U2FHid@py/bitbox02/bitbox02/communication/u2fhid/u2fhid.py', 'description': 'U2F-over-HID transport layer.', 'base_classes': ['TransportLayer'], 'methods': [{'name'...
0
{'name': 'page_erase@tools/pydfu.py', 'description': 'Erases a single page.', 'signature': 'def page_erase(addr):'}</s>__DFU_STATE_APP_IDLE = 0
0
{'name': '_main@misc/tabulate.py', 'description': 'Usage: tabulate [options] [FILE ...]\n\nPretty-print tabular data.\nSee also https://bitbucket.org/astanin/python-tabulate\n\nFILE a filename of the file with tabular data;\n if "-" or missing, read data from stdin.\n\nOpti...
0
{'name': 'InputsTest.test_error_with_bad_eval_model_config@object_detection/inputs_test.py', 'description': 'Tests that a TypeError is raised with improper eval model config.', 'signature': 'def test_error_with_bad_eval_model_config(self):'}</s>{'name': '_update_generic@object_detection/utils/config_util.py', 'descript...
0
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
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': 'select@aegea/s3.py', 'description': "Select data from an S3 object using AWS S3 Select.\n\nSee https://docs.aws.amazon.com/AmazonS3/latest/dev/selecting-content-from-objects.html.\n\nExample:\n\n aegea s3 select s3://my-bucket/data.json 'select * from S3Object[*].path'", 'signature': 'def select(args):'}</...
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_IsPresent@python/google/protobuf/internal/python_message.py', 'description': 'Given a (FieldDescriptor, value) tuple f...
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>MQRCCF_CHL_STATUS_NOT_FOUND = 3065
0
{'name': 'main@train.py', 'description': 'start training\n ', 'signature': 'def main(_):'}</s>FLAGS = tf.app.flags.FLAGS
1
{'name': 'bench@bench/main.py', 'description': 'Benchmark the minifiers with given css samples\n\n:Parameters:\n `filenames` : sequence\n List of filenames\n\n `count` : ``int``\n Number of runs per css file and minifier\n\n:Exceptions:\n - `RuntimeError` : empty filenames sequence', 'signature': 'def bench(fi...
0
{'name': 'CortexM.read_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Read one or more core registers\n\nRead core registers in reg_list and return a list of values.\nIf any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER.', 'signature':...
0
{'name': 'event_loop_policy@pytest_asyncio/plugin.py', 'description': 'Return an instance of the policy used to create asyncio event loops.', 'signature': 'def event_loop_policy() -> AbstractEventLoopPolicy:'}</s>_DUPLICATE_LOOP_SCOPE_DEFINITION_ERROR = "An asyncio pytest marker defines both "scope" and "loop_scope", b...
0
{'name': 'PumpEvents@comtypes/client/_events.py', 'description': "This following code waits for 'timeout' seconds in the way\nrequired for COM, internally doing the correct things depending\non the COM appartment of the current thread. It is possible to\nterminate the message loop by pressing CTRL+C, which will raise\...
0
{'name': 'BaseCircuit.__str__@impedance/models/circuits/circuits.py', 'description': 'Defines the pretty printing of the circuit', 'signature': 'def __str__(self):'}</s>{'name': 'plot_bode@impedance/visualization.py', 'description': "Plots impedance as a Bode plot using matplotlib\n\nParameters\n----------\nf: np.array...
0
{'name': 'CheckStyle@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces insid...
0
{'name': 'TreeAnc.tree@treetime/treeanc.py', 'description': 'assigns a tree to the internal self._tree variable. The tree is either\nloaded from file (if in_tree is str) or assigned (if in_tree is a Phylo.tree)', 'signature': 'def tree(self, in_tree):'}</s>SUCCESS = "success"
1
{'name': 'Zeroconf.registerService@stino/pyarduino/base/zeroconf.py', 'description': 'Registers service information to the network with a default TTL\nof 60 seconds. Zeroconf will then respond to requests for\ninformation for that service. The name of the service may be\nchanged if needed to make it unique on the net...
0
{'name': 'test_update_postgres_db_name_from_single_database@tests/test_config.py', 'description': 'Simulate upgrade from single database to two databases.\nWith two databases, KoboCat has its own database. We ensure that\n`kc_postgres_db` gets `postgres_db` value.', 'signature': 'def test_update_postgres_db_name_from_s...
0
{'name': 'run_simple@SneakerBot 2019/venv/lib/python3.7/site-packages/werkzeug/serving.py', 'description': "Start a WSGI application. Optional features include a reloader,\nmultithreading and fork support.\n\nThis function has a command-line interface too::\n\n python -m werkzeug.serving --help\n\n.. versionadded:: ...
1
{'name': 'run_init@atlas/init/atlas_init.py', 'description': "Write the file CONFIG and complete the sample names and paths for all\nFASTQ files in PATH.\n\nPATH is traversed recursively and adds any file with '.fastq' or '.fq' in\nthe file name with the file name minus extension as the sample ID.", 'signature': 'def r...
1
{'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>_b = sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
0
{'name': 'NVMeOFConnectorTestCase.test_connect_volume_not_replicated_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'Single vol attach fails and disconnects on failure.', 'signature': 'def test_connect_volume_not_replicated_fails('}</s>{'name': 'ZeroIntervalLoopingCall@os_brick/tests/initiato...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMDI_RECOVER_COMPLETED = 13
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.__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': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PFTM_TCP_OPENING = 1
0
{'name': 'unpack_properties@mqttools/common.py', 'description': 'Return a dictionary of unpacked properties.\n\n ', 'signature': 'def unpack_properties(packet_name,'}</s>{'name': 'format_properties@mqttools/common.py', 'description': 'DOCSTRING', 'code': "def format_properties(properties):\n if not properties:\n ...
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': 'match@deb_pkg_tools/tests.py', 'description': 'Get the regular expression match in an iterable ...
0