text
string
label
int64
{'name': '_Partition.t_test@diffxpy/testing/tests.py', 'description': "Performs a Welch's t-test within each partition of a data set.\n\nSee also annotation of de.test.t_test()\n\n:param grouping: str\n\n - column in data.obs/sample_description which contains the split of observations into the two groups.\n:param is...
0
{'name': '_prepare_request_headers@aiosonic/client.py', 'description': 'Prepare get data.', 'signature': 'def _prepare_request_headers('}</s>{'name': 'HttpHeaders@aiosonic/client.py', 'description': 'Http headers dict.', 'base_classes': ['CaseInsensitiveDict'], 'methods': [{'name': 'HttpHeaders._clear_line@aiosonic/cli...
0
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>PROCESS_IS_VALID = "Process is valid"
0
{'name': 'loads@json_tricks/nonp.py', 'description': 'Convert a nested data structure to a json string.\n\n:param string: The string containing a json encoded data structure.\n:param decode_cls_instances: True to attempt to decode class instances (requires the environment to be similar the the encoding one).\n:param pr...
1
{'name': 'create_test_db@tests/mssqltestutils.py', 'description': 'Creates database for test, using various status checks and retry logic for reliability.\n- Calls helper method to check status of create db task, if possible\n- Exits on successful response or retry period exceeds time limit', 'signature': 'def create_t...
0
{'name': 'babel_extract@venv/Lib/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find the best...
1
{'name': 'load_key_pubkey@src/M2Crypto/EVP.py', 'description': 'Load an M2Crypto.EVP.PKey from a public key as a file.\n\n:param file: Name of file containing the key in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to protect the\n ...
1
{'name': 'add_hostname_info_to_flows@core/friendly_organizer.py', 'description': 'Adds hostname, reg_domain, and tracker_company to flows retroactively.', 'signature': 'def add_hostname_info_to_flows():'}</s>{'name': 'initialize_tables@core/model.py', 'description': "Creates the tables if they don't exist yet, and crea...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'AstVectorObj@src/api/python/z3/z3types.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.c_void_p'], 'me...
0
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': 'FlowlineModel...
0
{'name': 'make_fol_nodes@tulip/spec/ast.py', 'description': 'AST classes for fragment of first-order logic.', 'signature': 'def make_fol_nodes('}</s>_logger = logging.getLogger(__name__)
0
{'name': 'load_inventory@src/attributecode/gen.py', 'description': 'Load the inventory file at `location` for ABOUT and LICENSE files stored in\nthe `base_dir`. Return a list of errors and a list of About objects\nvalidated against the `base_dir`.\n\nOptionally use `reference_dir` as the directory location of extra ref...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>{'name': 'pfioc_synflwats@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
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': 'RepeatedScalarFieldContainer@python/google/protobuf/internal/containers.py', 'description': 'Simple, type-checked, list...
0
{'name': 'MarkMethodMixin.mark_text@altair/vegalite/v3/schema/mixins.py', 'description': "Set the chart's mark to 'text'\n\nFor information on additional arguments, see :class:`MarkDef`", 'signature': 'def mark_text(self, align=Undefined, angle=Undefined, baseline=Undefined, binSpacing=Undefined,'}</s>{'name': 'ImputeM...
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_globaltype_vec_t@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'base_classes'...
0
{'name': 'set_M4A_data@ytmdl/song.py', 'description': 'Set the tags in the m4a file passed.', 'signature': 'def set_M4A_data(song, song_path):'}</s>{'name': 'get_default@ytmdl/song.py', 'description': "Get the default song that will be selected if the user\ndoesn't select a value.", 'code': 'def get_default(songs, type...
0
{'name': 'install_python@bootstrap.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>{'name': 'fix_lib64@bootstrap.py', 'description': "Some platforms (particularly Gentoo on ...
1
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>SIMPLE_SERVER = [4044]
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>MQRO_EXCEPTION_WITH_FULL_DATA = 117440512
0
{'name': 'get_status@tools/pydfu.py', 'description': 'Get the status of the last operation.', 'signature': 'def get_status():'}</s>__DFU_STATE_DFU_IDLE = 2
0
{'name': 'dcm2niix_json_fname@bidskit/dcm2niix.py', 'description': 'Construct a dcm2niix filename from parse_dcm2niix_fname dictionary\nSee dcm2niix call in __main__.py for output file format string\n\nAllows custom ser_no, echo_no and suffix different from d2n_meta entries\n\n:param info d2n_meta: dict\n dcm2niix f...
0
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': 'IsDerivedFunction@scripts/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A Cle...
0
{'name': 'RegressorDictionary.get_y_lag_list@sysidentpy/narmax_base.py', 'description': 'Return y regressor code list.\n\nReturns\n-------\ny_vec = ndarray of ints\n The y regressor code list given the ylag.', 'signature': 'def get_y_lag_list(self) -> np.ndarray:'}</s>{'name': 'Polynomial@sysidentpy/basis_function/_...
0
{'name': 'reconstruction@Chapter10/helper_functions.py', 'description': 'This function is used to reconstruct sample images for analysis\n:param x: Images\n:param y: Labels\n:param decoder_output: output from decoder\n:param y_pred: predictions from the model\n:param n_samples: num images\n:return: saves the reconstruc...
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': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_57 = Badge("ogre", series=1, number=57, symbol="👹")
0
{'name': 'colorise@shutit_util.py', 'description': 'Colorize the given string for a terminal.\nSee https://misc.flogisoft.com/bash/tip_colors_and_formatting', 'signature': 'def colorise(code, msg):'}</s>{'name': 'print_frame_recurse@shutit_util.py', 'description': 'DOCSTRING', 'code': "def print_frame_recurse(frame):\n...
0
{'name': 'ImageInfoViewSet.delete_image@vulfocus-api/dockerapi/views.py', 'description': '删除镜像\n:param request:\n:param pk:\n:return:', 'signature': 'def delete_image(self, request, pk=None):'}</s>{'name': 'UserRank@vulfocus-api/dockerapi/views.py', 'description': 'DOCSTRING', 'base_classes': ['viewsets.ModelViewSet'],...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>mi_image_search_file = "image_search.png"
0
{'name': 'Application.create_widgets@spatialmedia/gui.py', 'description': 'Sets up GUI contents.', 'signature': 'def create_widgets(self):'}</s>HEAD_LOCKED_STEREO_LABEL = "with head-locked stereo"
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass: Optional[Dict[str, Any]] = None):'}</s>{'name': 'render_pep4...
0
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_286 = Badge("feather", ser...
0
{'name': 'Parser.p_named_arg_definition@yaql/language/parser.py', 'description': 'named_arg : value MAPPING value', 'signature': 'def p_named_arg_definition(p):'}</s>{'name': 'YaqlException@yaql/language/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []}
0
{'name': 'load_tf_weights_in_bert@purifier/modeling_purifier.py', 'description': 'Load tf checkpoints in a pytorch model\n ', 'signature': 'def load_tf_weights_in_bert(model, tf_checkpoint_path):'}</s>{'name': 'BertPredictionHeadTransform@purifier/modeling_purifier.py', 'description': 'DOCSTRING', 'base_classes': ['...
0
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'add_dataset_args@fairseq/options.py', 'description': 'DOCSTRING', 'code': 'def add_dataset_args(parser, train=False, gen=False):\n group = parser.a...
0
{'name': 'create_blueprint@flask_security/views.py', 'description': 'Creates the security extension blueprint', 'signature': 'def create_blueprint(state, import_name):'}</s>{'name': 'login_user@flask_security/utils.py', 'description': 'Perform the login routine.\n\nIf SECURITY_TRACKABLE is used, make sure you commit ch...
0
{'name': 'determine_version_to_include_in_release@extra/release_tool.py', 'description': 'Returns True if the user decided on the component, False if the user\nskips the decision for later', 'signature': 'def determine_version_to_include_in_release(state, repo):'}</s>{'name': 'get_extra_buildparams@extra/release_tool.p...
0
{'name': 'get_default_command@onlinejudge_command/utils.py', 'description': 'get_default_command returns a command to execute the default output of g++ or clang++. The value is basically `./a.out`, but `.\x07.exe` on Windows.\n\nThe type of return values must be `str` and must not be `pathlib.Path`, because the strings...
0
{'name': 'Analyzer.value@sqf/analyzer.py', 'description': 'Given a single token, recursively evaluates and returns its value', 'signature': 'def value(self, token, namespace_name=None):'}</s>PREPROCESSORS = {'#define'}.union(PREPROCESSORS_UNARY).union(PREPROCESSORS_NULLARY)
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_QMOPT_TRACE_SYSTEM = 169
0
{'name': 'evaluate@examples/task_sequence_labeling_ner_crf.py', 'description': '评测函数\n ', 'signature': 'def evaluate(data):'}</s>{'name': 'NamedEntityRecognizer@examples/task_sequence_labeling_ner_crf.py', 'description': '命名实体识别器\n ', 'base_classes': ['ViterbiDecoder'], 'methods': [{'name': 'NamedEntityRecognizer...
0
{'name': 'Block._write@pcapng/blocks.py', 'description': 'Writes this block into the given output stream', 'signature': 'def _write(self, outstream):'}</s>LINKTYPE_FRELAY = 107
0
{'name': 'BaseRequest.is_xhr@src/back/kite/bottle.py', 'description': 'True if the request was triggered by a XMLHttpRequest. This only\nworks with JavaScript libraries that support the `X-Requested-With`\nheader (most of the popular libraries do). ', 'signature': 'def is_xhr(self):'}</s>__license__ = "MIT"
0
{'name': 'test_parsing_with_links@tests/parsing_test.py', 'description': 'Tests that "links" parses correctly', 'signature': 'def test_parsing_with_links(with_links):'}</s>{'name': 'test_example_type_array@tests/parsing_test.py', 'description': 'Tests that examples, defined as "any" type, accept arrays', 'code': 'def t...
0
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m...
0
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>_urllib_response_moved_attributes = [ ...
0
{'name': 'removeAPIs@apim-traffic-tool/lib/traffic-tool/src/python/cleanup_scenario.py', 'description': 'This function will remove all created APIs from API Manager\n:return: None', 'signature': 'def removeAPIs():'}</s>{'name': 'selfSignupIS@apim-traffic-tool/lib/traffic-tool/src/python/utils/request_methods.py', 'desc...
0
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
0
{'name': 'RandomInitializer.get_goal@python/rrc_simulation/gym_wrapper/envs/cube_env.py', 'description': 'Get a random goal depending on the difficulty.', 'signature': 'def get_goal(self):'}</s>{'name': 'goal_to_json@python/rrc_simulation/tasks/move_cube.py', 'description': 'Convert goal object to JSON string.\n\nArgs:...
0
{'name': 'SlackMessageReaction.__init__@slack_cleaner2/model.py', 'description': ':param entry: json dict entry as returned by slack api\n:type entry: dict\n:param msg\n:type msg: SlackMessage\n:param slack: slack cleaner instance\n:type slack: SlackCleaner', 'signature': 'def __init__(self, entry: JSONDict, msg: Slack...
0
{'name': 'ParseArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args)...
0
{'name': 'imfilter2D_SpatialDomain@training_codes/utils/utils_model.py', 'description': 'If the input and the kernel are both multichannel tensors then each\nchannel of the input is filtered by the corresponding channel of the \nkernel.Otherwise, if kernel has a single channel each channel of the input\nis filtered by ...
0
{'name': 'GeoQuerySet.pbf@spillway/query.py', 'description': 'Returns tranlated and scaled geometries suitable for Mapbox vector\ntiles.', 'signature': 'def pbf(self, bbox, geo_col=None, scale=4096):'}</s>{'name': 'SimplifyPreserveTopology@spillway/query.py', 'description': 'DOCSTRING', 'base_classes': ['geofn.GeoFunc'...
0
{'name': 'ToDoViews.__init__@todopyramid/views.py', 'description': 'Set some common variables needed for each view.\n ', 'signature': 'def __init__(self, context, request):'}</s>{'name': 'universify_datetime@todopyramid/utils.py', 'description': 'Makes a datetime object a naive object\n ', 'code': 'def univer...
0
{'name': 'MemoryFindTestCase.test_memory_find@llvm-project/lldb/test/API/functionalities/memory/find/TestMemoryFind.py', 'description': "Test the 'memory find' command.", 'signature': 'def test_memory_find(self):'}</s>{'name': 'skipIfReproducer@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', 'descripti...
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': 'TestThresholdBased.test_basic@verif/tests/test_metric.py', 'description': 'Test the basic threshold-based metrics ', 'signature': 'def test_basic(self):'}</s>{'name': 'PitHistDev@verif/metric.py', 'description': 'DOCSTRING', 'base_classes': ['Metric'], 'methods': [{'name': 'PitHistDev.__init__@verif/metric.py...
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'versions_from_file@versioneer.py', 'description': 'Try to determine the version from _version.py if present.', 'code': 'def versions_from_file(file...
0
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h...
0
{'name': 'MeCard.make_qr_code_data@qr_code/qrcode/utils.py', 'description': 'Creates a string encoding the contact information as MeCARD.\n\n:rtype: str', 'signature': 'def make_qr_code_data(self) -> str:'}</s>{'name': 'Email@qr_code/qrcode/utils.py', 'description': 'Represents the data of an e-mail.\n\nFields meaning:...
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_shapefloatpar...
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': 'deploy@hokusai/cli/review_app.py', 'description': "Update the project's deployment(s) to reference the given image tag", 'signature': 'def deploy(app_name, tag, migration, constraint, git_remote, timeout, update_config, verbose):'}</s>{'name': 'print_yellow@hokusai/lib/common.py', 'description': 'DOCSTRING', ...
0
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>{'name': 'save_user_settings@picasso/io.py', 'description': 'DOCSTRING', 'code': 'def save_user_settings(settings):\n settings = ...
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>trace = _get_logging(...
0
{'name': 'kallisto_bus@kb_python/count.py', 'description': 'Runs `kallisto bus`.\n\nArgs:\n fastqs: List of FASTQ file paths, or a single path to a batch file\n index_path: Path to kallisto index\n technology: Single-cell technology used\n out_dir: Path to output directory\n threads: Number of threads to...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<...
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': 'SelfDoesntMatchLocation@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base...
0
{'name': 'getShutterSetting@source/pi-timolo.py', 'description': 'Calculate a shutter speed based on image pixel average', 'signature': 'def getShutterSetting(pxAve):'}</s>cvBlue = (255, 0, 0)
0
{'name': 'partial@src/makefun/main.py', 'description': 'Equivalent of `functools.partial` but relies on a dynamically-created function. As a result the function\nlooks nicer to users in terms of apparent documentation, name, etc.\n\nSee [documentation](./index.md#removing-parameters-easily) for details.\n\n:param prese...
0
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
0
{'name': 'find_divisor@crypto_commons/generic.py', 'description': 'Use sieve to find first prime divisor of given number\n:param n: number\n:param limit: sieve limit\n:return: prime divisor if exists in sieve limit', 'signature': 'def find_divisor(n, limit=1000000):'}</s>{'name': 'multiply@crypto_commons/generic.py', '...
0
{'name': 'set_key_value@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send key value to device', 'signature': 'def set_key_value(sniffer, payload):'}</s>{'name': 'ExtcapLoggerHandler@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Handler used to display all logging messages in extcap', 'b...
0
{'name': 'test_request_exception_compatibility@tests/test_errors.py', 'description': 'Test that exceptions replacing RequestException are backwards compatible', 'signature': 'def test_request_exception_compatibility(op_courier_exception):'}</s>{'name': 'test_quay_exception_inheritance@tests/test_errors.py', 'descriptio...
0
{'name': 'bash_unset_variable@src/conda_devenv/gen_scripts.py', 'description': 'Render the code to unset a variable and/or restore its backup in bash.\n\n:param variable_name: The name of the variable.\n:return: The code to restore and/or unset the variable.', 'signature': 'def bash_unset_variable(variable_name: str) -...
0
{'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': 'Service.delete@sandman2/service.py', 'description': "Return an HTTP response object resulting from a HTTP DELETE call.\n\n:param resource_id: The value of the resource's primary key", 'signature': 'def delete(self, resource_id):'}</s>{'name': 'NotFoundException@sandman2/exception.py', 'description': 'Raised w...
0
{'name': 'ProcessLine@tools/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n wi...
0
{'name': 'ProAntiSaccades.run_trials@demo_experiments/anti_saccades.py', 'description': ' ', 'signature': 'def run_trials(self, nTrials, task, practice=False):'}</s>saccade_amplitude = 8
1
{'name': 'render_quoted_form@hy/core/result_macros.py', 'description': 'Render a quoted form as a new hy Expression.\n\n`level` is the level of quasiquoting of the current form. We can\nunquote if level is 0.\n\nReturns a two-tuple (`expression`, `splice`).\n\nThe `splice` return value is used to mark `unquote-splice`d...
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>MQCMD_CREATE_LISTENER = 95
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': 'ProcessIncludeOrderOption@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'DOCSTRING', 'code': 'de...
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': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>{'name': '_DropCommonSuffixes@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Drops ...
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': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>CONF_RUN = "run"
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': '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': '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_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that DB errors are logged to stderr', 'signature': 'def test_db_error_logging_to_stderr(level, defaultenv, metapostgrest):'}</s>{'name': 'test_admin_ready_includes_schema_cache_state@test/io/test_io.py', 'description': 'Should get a f...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP_UNREACH_FILTER_PROHIB = 13
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': 'datetime.tzname@src/future/backports/datetime.py', 'description': 'Return the timezone name.\n\nNote that the name is 100% informational -- there\'s no requirement that\nit mean anything in particular. For example, "GMT", "UTC", "-500",\n"-5:00", "EDT", "US/Eastern", "America/New York" are all valid replies.'...
0
{'name': 'resnet50@habitat_baselines/slambased/monodepth.py', 'description': 'Constructs a ResNet-50 model.\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet50(pretrained=False, **kwargs):'}</s>accimage = None
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'list_files_by_glob@src/python_scripts/afnipy/afni_util.py', 'description': "Input a list L of one or more stri...
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': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_RESERVED2 = CScriptOp(0x8a)
0
{'name': 'download_official_website_layout@vulfocus-api/layout_image/views.py', 'description': '下载官网编排场景(社区)', 'signature': 'def download_official_website_layout(request):'}</s>{'name': 'start_docker_compose@vulfocus-api/tasks/tasks.py', 'description': 'DOCSTRING', 'code': 'def start_docker_compose(request, image_id, c...
0