text
string
label
int64
{'name': 'StateWithCDMTest.setUp@tests/lib/state.py', 'description': 'Registers the dummy modules and recipe to be used in tests.', 'signature': 'def setUp(self):'}</s>_T = TypeVar("TestContainer")
0
{'name': 'test_image_upgrade_01150@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\nInvalid value for ``options.package.install``.\n\n### Setup\n\n- ``devices`` is s...
0
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>PF_TCPS_PROXY_SRC = TCP_NSTATES + 0
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': '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': 'retryable@laika/downloader.py', 'description': 'Decorator to allow us to pass multiple URLs from which to download.\nAutomatically retry the request with the next URL on failure', 'signature': 'def retryable(f):'}</s>{'name': 'DownloadFailed@laika/downloader.py', 'description': 'DOCSTRING', 'base_classes': ['...
1
{'name': 'write_i32@robust_serial/robust_serial.py', 'description': ':param f: file handler or serial file\n:param value: (int32_t)', 'signature': 'def write_i32(f: BinaryIO, value: int) -> None:'}</s>{'name': 'read_i32@robust_serial/robust_serial.py', 'description': ':param f: file handler or serial file\n:return: (in...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_CHANNEL_CLOSED = 4090
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_ZONE_ID = "zone_id"
0
{'name': 'hemisphere_to_globe@src/falwa/xarrayinterface.py', 'description': 'Create a global dataset from a hemispheric one.\n\nTakes data from the given hemisphere, mirrors it to the other hemisphere\nand combines both hemispheres into a global dataset.\n\nIf the meridional wind component is found in the dataset, its ...
0
{'name': 'Abundance.from_files@vamb/parsebam.py', 'description': 'Input:\npaths: List of paths to BAM files\ncache_directory: Where to store temp parts of the larger matrix, if reading multiple\n BAM files in chunks. Required if len(paths) > min(16, nthreads)\ncomp_metadata: CompositionMetaData of sequence catalogue ...
1
{'name': 'BlockParser.getBlocks@libc/kernel/tools/cpp.py', 'description': 'Return all the blocks parsed.', 'signature': 'def getBlocks(self, tokzer=None):'}</s>tokARROW = "->"
0
{'name': 'generate_pyramid_anchors@Mask_RCNN/mrcnn/utils.py', 'description': 'Generate anchors at different levels of a feature pyramid. Each scale\nis associated with a level of the pyramid, but each ratio is used in\nall levels of the pyramid.\n\nReturns:\nanchors: [N, (y1, x1, y2, x2)]. All generated anchors in one ...
0
{'name': 'post_processing@ytmdl/main.py', 'description': 'Handle all the activities post search of the song.\n\nThis function will handle the following:\nConvert, Trim, Metadata, Cleaning up.', 'signature': 'def post_processing('}</s>{'name': 'arguments@ytmdl/main.py', 'description': 'Parse the arguments.', 'code': 'de...
0
{'name': 'SiteAnalyzer._calculate_equivalent_sites@robocrys/condense/site.py', 'description': 'Determines the indices of the structurally inequivalent sites.\n\nArgs:\n likeness_tol: The tolerance used to determine if two likeness\n parameters are the same.\n bond_dist_tol: The tolerance used to determine ...
1
{'name': 'register_captcha@小红书/shumei_slide.py', 'description': '注册验证码', 'signature': 'def register_captcha(organization):'}</s>p = {}
0
{'name': 'Model.feed_sample@pygad/cnn/cnn.py', 'description': 'Feeds a sample in the CNN layers.\n\nsample: The samples to be fed to the CNN layers.\n\nReturns results of the last layer in the CNN.', 'signature': 'def feed_sample(self, sample):'}</s>{'name': 'relu@pygad/cnn/cnn.py', 'description': 'Applies the rectifie...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>ICMP_MASKREPLY = 18
0
{'name': 'main@bin/chunks.py', 'description': 'Main driver.', 'signature': 'def main(source_files):'}</s>LANGUAGES = {'r', 'python'}
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACH_SSL_KEY_RESETS = 1610
0
{'name': 'AdalineSGD._initialize_weights@Chapter02/ch02.py', 'description': 'Initialize weights to small random numbers', 'signature': 'def _initialize_weights(self, m):'}</s>v1 = np.array([1, 2, 3])
0
{'name': 'main@lib/ddupdate/main.py', 'description': 'Indeed: main function.', 'signature': 'def main():'}</s>{'name': 'load_plugins@lib/ddupdate/main.py', 'description': 'Load ip and service plugins into dicts keyed by name.', 'code': 'def load_plugins(path, log):\n """Load ip and service plugins into dicts keyed b...
0
{'name': 'delPluginFile@app/plugin/pluginlist.py', 'description': '删除文件\n因为这里的文件名是安全的,所以直接进行删除', 'signature': 'def delPluginFile(filename):'}</s>{'name': 'uploadPlugin@app/plugin/pluginlist.py', 'description': 'DOCSTRING', 'code': "def uploadPlugin():\n for file in request.files.getlist('files'):\n if file an...
0
{'name': 'TrackDataset.processData@datasets.py', 'description': 'After posttransforms,\n@sample: [dataA, dataB] where dataA and dataB are concatenated rgb with depth CHW\n@A_in_cam: 4x4 mat', 'signature': 'def processData(self,rgbA,depthA,A_in_cam,rgbB,depthB,B_in_cam,maskB=None,original_size=None):'}</s>{'name': 'Gaus...
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': 'render_git_describe@versioneer.py', 'description': "TAG[-DISTANCE-gHEX][-dirty].\n\nLike 'git describe --tags --dirty --always'.\n\nExceptions:\n1: no tags. HEX[-dirty] (note: no 'g' prefix)", 'signature': 'def render_git_describe(pieces):'}</s>HANDLERS = {}
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_OVER = CScriptOp(0x78)
0
{'name': 'MapperTest.test_errors_with_errors@tests/test_mapper.py', 'description': 'Test map hvac errors.', 'signature': 'def test_errors_with_errors(self) -> None:'}</s>{'name': '_find_hvac_message_status@pymultimatic/model/mapper.py', 'description': 'DOCSTRING', 'code': 'def _find_hvac_message_status(hvac_state) -> O...
0
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ...
0
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_UNSAFE_FUNC_PREFIX = "(?:[-+*/=%^&|(<]\s*|>\s+)"
0
{'name': 'DebuggerAPI.do_resume_packet_in@tools/p4dbg.py', 'description': 'Start accepting packets into the switch again (undoes stop_packet_in)', 'signature': 'def do_resume_packet_in(self, line):'}</s>FIELD_ID_CTR = 18446744073709551615
0
{'name': 'load_config@kubespawner/clients.py', 'description': 'Loads global configuration for the Python client we use to communicate with\na Kubernetes API server, and optionally tweaks that configuration based on\nspecific settings on the passed caller object.\n\nThis needs to be called before creating a kubernetes c...
0
{'name': 'main@freezer/main.py', 'description': 'freezer-agent binary main execution', 'signature': 'def main():'}</s>{'name': 'create_dir@freezer/utils/utils.py', 'description': "Creates a directory if it doesn't exists and write the execution\nin the logs", 'code': 'def create_dir(directory, do_log=True):\n """\n ...
0
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>{'name': 'str_to_b64str@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': "def str_to_b64str(string):\n return ...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCA_ADMIN_TOPIC_NAME = 2105
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_SYNPROXY_DROP = 10
0
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
1
{'name': 'Cache.todos@todoman/model.py', 'description': 'Returns filtered cached todos, in a specified order.\n\nIf no order is specified, todos are sorted by the following fields::\n\n completed_at\n -priority\n due\n -created_at\n\n:param lists: Only return todos for these lists.\n:param location: Only re...
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>PROC_INITARGS = ["procimpl", "forwarder"...
0
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'data_to_hex_str@src/python_scripts/afnipy/afni_util.py', 'description': 'c...
0
{'name': 'assureRatio@utils.py', 'description': 'Ensure imgH <= imgW.', 'signature': 'def assureRatio(img):'}</s>{'name': 'averager@utils.py', 'description': 'Compute average for `torch.Variable` and `torch.Tensor`. ', 'base_classes': ['object'], 'methods': [{'name': 'averager.__init__@utils.py', 'description': 'DOCSTR...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
0
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': '_is_...
0
{'name': 'test_update_machine_info_hook_detection@tests/test_benchmark.py', 'description': 'Tests detection and execution and update_machine_info_hooks.\n\nVerifies that machine info hooks are detected and executed in nested\n`conftest.py`s.', 'signature': 'def test_update_machine_info_hook_detection(testdir):'}</s>{'n...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_CFH_CONTROL_ERROR = 3005
0
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>{'name': 'find_output@test/functional/test_framework/util.py', 'description': 'Return index to output of txid with value amoun...
0
{'name': 'PropKB.tell@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Add the sentence's clauses to the KB.", 'signature': 'def tell(self, sentence):'}</s>{'name': 'dissociate@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'Given an associative op, return a flattened list result such...
0
{'name': 'train@src/train.py', 'description': 'Trains the model\n\n:param config:\n:return:', 'signature': 'def train(config):'}</s>{'name': 'Config@src/utils/Config.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Config.__init__@src/utils/Config.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'rollapply@ffn/core.py', 'description': 'Apply a function fn over a rolling window of size window.\n\nArgs:\n * data (Series or DataFrame): Series or DataFrame\n * window (int): Window size\n * fn (function): Function to apply over the rolling window.\n For a series, the return value is expecte...
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': 'FollowingManager.remove_follower@friendship/models.py', 'description': "Remove 'follower' follows 'followee' relationship", 'signature': 'def remove_follower(self, follower, followee):'}</s>{'name': 'BlockManager@friendship/models.py', 'description': 'Following manager', 'base_classes': ['models.Manager'], 'm...
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>{'name': 'html_error_template@mako/exceptions.py', 'description': "Provides a template that renders a stack trace in an HTML format,\nprovidin...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'stop_shutdown_button_thread@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def stop_shutdown_button_thread():\n if ShutdownButtonInputHandler:\n ...
0
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,...
0
{'name': 'info_for_entire_history@ascmhl/commands.py', 'description': 'ROOT_PATH: the root path to use for the asc mhl history', 'signature': 'def info_for_entire_history(root_path, verbose):'}</s>{'name': 'commit_session@ascmhl/commands.py', 'description': 'DOCSTRING', 'code': 'def commit_session(session, author_name,...
0
{'name': 'ProcessFile@tools/cpplint.py', 'description': 'Does google-lint on a single file.\n\nArgs:\n filename: The name of the file to parse.\n\n vlevel: The level of errors to report. Every error of confidence\n >= verbose_level will be reported. 0 is a good default.\n\n extra_check_functions: An array of addi...
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'Logicfilterrule@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classes': ['SubObjects'], 'methods': []}
0
{'name': 'GroveI2cColorSensorV2._valid@grove/grove_i2c_color_sensor_v2.py', 'description': 'Check if RGBC is valid', 'signature': 'def _valid(self):'}</s>_ENABLE = 0
0
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'on_add_pilot@src/server/server.py', 'description': 'Adds the next available pilot id number in the database.', 'code': "def on_add_pilot(*args):\n '''Adds the nex...
0
{'name': 'Client.connect@skein/core.py', 'description': "Connect to a running application.\n\nParameters\n----------\napp_id : str\n The id of the application.\nwait : bool, optional\n If true [default], blocks until the application starts. If False,\n will raise a ``ApplicationNotRunningError`` immediately if...
0
{'name': 'normalize_numbered_streets@scourgify/normalize.py', 'description': 'Change numbered street names to include missing original identifiers.\n\n:param parsed_addr: address parsed into ordereddict per usaddress.\n:type parsed_addr: Mapping\n:return: parsed_addr with ordinal identifiers appended to numbered street...
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>VALID_BREAKPOINT = "Got a valid breakpoint"
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_INHIBIT_SUB = 182
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>ICMP_ROUTERADVERT_NOROUTE_COMMON = 16
0
{'name': '_is_one_hot_encoding@mcfly/find_architecture.py', 'description': 'Helper function that checks if a target complies with one-hot encoding.\n ', 'signature': 'def _is_one_hot_encoding(y):'}</s>{'name': '_sample_model_types@mcfly/modelgen.py', 'description': 'DOCSTRING', 'code': 'def _sample_model_types(model...
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>MQIACH_LISTENER_CONTROL = 1601
0
{'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': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>_RE_PATTERN_EXPLICIT_MAKEPAIR = re.compile(r'\bmake_pair\s*<')
0
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'UnknownNamespace@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classe...
0
{'name': 'LeapAccount.get_project_token@dwave/cloud/api/resources.py', 'description': 'Retrieve SAPI token for a given Leap project.', 'signature': 'def get_project_token(self, *,'}</s>{'name': 'ProblemStatusWithAnswer@dwave/cloud/api/models.py', 'description': 'DOCSTRING', 'base_classes': ['ProblemStatus'], 'methods':...
0
{'name': 'connect@trino/dbapi.py', 'description': 'Constructor for creating a connection to the database.\n\nSee class :py:class:`Connection` for arguments.\n\n:returns: a :py:class:`Connection` object.', 'signature': 'def connect(*args, **kwargs):'}</s>DEFAULT_TLS_PORT = 443
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>MQXPT_UDP = py23long(6)
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': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'signature': 'def EnumDecoder(field_number, is_repeated, is_packed, key, new_default,'}</s>{'name': 'SInt64ByteSize@python/google/protobuf/internal/wire_format.py', 'description': 'DOCSTRING', 'code': ...
0
{'name': 'test_estoi_good_fs@tests/test_stoi.py', 'description': 'Test extended STOI at sampling frequency of 10kHz. ', 'signature': 'def test_estoi_good_fs():'}</s>{'name': 'stoi@pystoi/stoi.py', 'description': "Short term objective intelligibility\nComputes the STOI (See [1][2]) of a denoised signal compared to a cle...
1
{'name': 'AdbDevice._clse@adb_shell/adb_device.py', 'description': "Send a ``b'CLSE'`` message and then read a ``b'CLSE'`` message.\n\n.. warning::\n\n This is not to be confused with the :meth:`AdbDevice.close` method!\n\n\nParameters\n----------\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB tr...
0
{'name': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'num_neg@wittgenstein/base_functions.py', 'description': 'Return number of instances that are labeled negative.', 'code': 'def num_neg(df, class_feat, pos...
0
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>{'name': 'PcieExtCapList@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['PcieCapList'], 'methods': [{'name': 'PcieExtCapList.__init__@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCS...
0
{'name': 'safe_dump@Others_Labs/code/Survey-Survey/yaml/__init__.py', 'description': 'Serialize a Python object into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump(data, stream=None, **kwds):'}</s>{'name': 'FlowMappingEndToken@Others_L...
0
{'name': 'do_templates@src/scripts/ncc-async.py', 'description': 'Execute a list of templates, using the kwargs passed in to\ncomplete the rendering.', 'signature': "def do_templates(m, t_list, default_op='merge', **kwargs):"}</s>NC_CANDIDATE = "urn:ietf:params:netconf:capability:candidate:1.0"
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'Keypair.sign@substrateinterface/keypair.py', 'description': 'Creates a signature for given data\n\nParameters\n----------\ndata: data to sign in `Scalebytes`, bytes or hex string format\n\nReturns\n-------\nsignature in bytes', 'signature': 'def sign(self, data: Union[ScaleBytes, bytes, str]) -> bytes:'}</s>{...
0
{'name': 'get_validation_augmentation@v1/notebooks/scripts/train.py', 'description': 'Add paddings to make image shape divisible by 32', 'signature': 'def get_validation_augmentation():'}</s>optim = keras.optimizers.Adam(LR)
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACH_SECURITY_PROTOCOL = 1645
0
{'name': 'send_db_message@django_yubin/engine.py', 'description': 'Sends a django_yubin.models.Message by its PK.', 'signature': 'def send_db_message(message_pk, log_message=None):'}</s>PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
1
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants ...
0
{'name': 'commentify_all_notebooks@notebooks/add_github_links.py', 'description': 'Add comment-on-github links to each notebook in the book.', 'signature': 'def commentify_all_notebooks(book_nb_path, original_nb_path,'}</s>{'name': 'github_magic@notebooks/add_github_links.py', 'description': 'Add links in nb_file to li...
1
{'name': 'TestEdge.looseVer@test_pyderman.py', 'description': 'Shorten the given version, dropping the trailing build ID to prevent artifact caching errors.', 'signature': 'def looseVer(ver1):'}</s>{'name': 'process_driver@test_pyderman.py', 'description': 'DOCSTRING', 'code': 'def process_driver(driver: ModuleType, se...
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': 'git_call@airflow_code_editor/git.py', 'description': 'Run git command. If capture_output is true, stdout and stderr will be captured.', 'signature': 'def git_call(argv: List[str], capture_output: bool = False) -> Tuple[int, bytes, bytes]:'}</s>{'name': 'git_enabled@airflow_code_editor/git.py', 'description': ...
1
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': 'InventorySet.generate_heat_map@premise/activity_maps.py', 'description': 'Filter ecoinvent processes related to heat production.\n\n:return: dictionary with heat prod. techs as keys (see below) and\n sets of related ecoinvent activities as values.\n:rtype: dict', 'signature': 'def generate_heat_map(self) -...
1
{'name': 'dl_database@wfdb/io/record.py', 'description': "Download WFDB record (and optionally annotation) files from a\nPhysioNet database. The database must contain a 'RECORDS' file in\nits base directory which lists its WFDB records.\n\nParameters\n----------\ndb_dir : str\n The PhysioNet database directory to do...
0
{'name': 'entrypoint@da/api.py', 'description': 'Entry point for running DistAlgo as the main module.\n\n ', 'signature': 'def entrypoint():'}</s>loads = pickle.loads
0
{'name': 'CheckStyle@third_party/cpplint/cpplint.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 inside code, etc....
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': 'get_nvme_host_...
0
{'name': 'CheckStyle@scripts/cpplint.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 inside code, etc.\n\nArgs:\n ...
0
{'name': 'table.getTable@py2cytoscape/cyrest/table.py', 'description': 'Gets tables from cytoscape.\n\n:param table: table to retrieve eg. node\n:param columns: columns to retrieve in list format\n:param network (string, optional): Specifies a network by name, or by\n SUID if the prefix SUID: is used. The keyword CU...
0