text
string
label
int64
{'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': 'build_badodab_kernel@sgmcmcjax/kernels.py', 'description': 'build BADODAB kernel, a splitting scheme for the 3-equation Langevin diffusion. See https://arxiv.org/abs/1505.06889\n\nArgs:\n dt (float): step size\n loglikelihood (Callable): log-likelihood for a single data point\n logprior (Callable): l...
0
{'name': 'RangeTransfer._parse_headers@wfdb/io/_url.py', 'description': 'Parse the headers of the response object.\n\nParameters\n----------\nmethod : str\n The HTTP method used for the request.\nresponse : requests.Response\n The resulting response object.\n\nReturns\n-------\nN/A\n\nNotes\n-----\n- response_url...
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': 'TOPPRAsd.compute_parameterization@toppra/algorithm/reachabilitybased/desired_duration_algorithm.py', 'description': 'Compute a path parameterization.\n\nIf there is no valid parameterizations, simply return None(s).\nIf the desired duration is not achievable, returns the fastest\nor the slowest parameterizati...
0
{'name': 'NewDatabase.update@premise/new_database.py', 'description': 'Update a specific sector by name.', 'signature': 'def update(self, sectors: [str, list, None] = None) -> None:'}</s>{'name': '_update_fuels@premise/fuels.py', 'description': 'DOCSTRING', 'code': 'def _update_fuels(scenario, version, system_model):\n...
1
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>record_limit = _get_value(_extconf, 'Gateway', 'record_limit', 2048, 'int')
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': 'write_pfm@PaddleGAN-master/ppgan/apps/midas/utils.py', 'description': 'Write pfm file.\n\nArgs:\n path (str): pathto file\n image (array): data\n scale (int, optional): Scale. Defaults to 1.', 'signature': 'def write_pfm(path, image, scale=1):'}</s>{'name': 'write_depth@PaddleGAN-master/ppgan/apps/mi...
0
{'name': 'FiltersSet.__init__@sievelib/factory.py', 'description': "Represents a set of one or more filters.\n\n:param name: the filterset's name\n:param filter_name_pretext: the text that is used to mark a filter name\n (as comment preceding the filter)\n:param filter_desc_pretext: the text ...
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils 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=None):'}</s>{'name': 'do_setup@versioneer.py', 'des...
0
{'name': 'AmharicLocale.describe@arrow/locales.py', 'description': 'Describes a delta within a timeframe in plain language.\n\n:param timeframe: a string representing a timeframe.\n:param delta: a quantity representing a delta in a timeframe.\n:param only_distance: return only distance eg: "11 seconds" without "in" or ...
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': 'plotRdimsMarkers@pipelines/pipeline_scxl.py', 'description': 'Visualise expression of discovered markers on rdims plots.', 'signature': 'def plotRdimsMarkers(infile, outfile):'}</s>section = "\section{%(title)s}"
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': 'test_create_with_duplicate_dimensions@unyt/tests/test_units.py', 'description': 'Create units with overlapping dimensions. Ex: km/Mpc.', 'signature': 'def test_create_with_duplicate_dimensions():'}</s>cgs_unit_system = UnitSystem("cgs", "cm", "g", "s", current_mks_unit=None)
0
{'name': 'load_config@pyrgg/functions.py', 'description': 'Load config based on given path.\n\n:param path: path to config file\n:type path: str\n:return: input data as dict', 'signature': 'def load_config(path):'}</s>{'name': 'get_min_max_weight@pyrgg/functions.py', 'description': 'Get minimum and maximum weight value...
0
{'name': 'get_qr_url_protection_signed_token@qr_code/qrcode/serve.py', 'description': 'Generate a signed token to handle view protection.', 'signature': 'def get_qr_url_protection_signed_token(qr_code_options: QRCodeOptions):'}</s>{'name': 'qr_code_etag@qr_code/qrcode/serve.py', 'description': 'DOCSTRING', 'code': 'def...
0
{'name': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>{'name': 'tagBINDPTR@comtypes/typeinfo.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.Union'], 'methods': []}
0
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0...
0
{'name': 'plot@scripts/benchmarks/mir_concentric_circles.py', 'description': 'Read the available timing files and plot them.', 'signature': 'def plot(params):'}</s>{'name': 'flux_run@scripts/benchmarks/mir_concentric_circles.py', 'description': 'DOCSTRING', 'code': 'def flux_run(np):\n return f"flux run -n {np}"'}
0
{'name': '_get_unique_value@pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py', 'description': 'Match attribute in text and return unique match.\n\n:returns: Single match.', 'signature': 'def _get_unique_value(attribute, text):'}</s>INDEX = "https://pypi.io/pypi"
0
{'name': 'Cdf.__init__@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Initializes.\n\nIf ps is provided, obj must be the corresponding list of values.\n\nobj: Hist, Pmf, Cdf, Pdf, dict, pandas Series, list of pairs\nps: list of cumulative probabilities\nlabel: string label', 'signature': 'def __init__(self, o...
0
{'name': 'deg2tobii@titta/helpers_tobii.py', 'description': 'Converts from degrees to Tobiis coordinate system [0, 1].\nNote that the Tobii coordinate system start in the upper left corner\nand the PsychoPy coordinate system in the center', 'signature': 'def deg2tobii(pos, mon):'}</s>{'name': 'EThead@titta/helpers_tobi...
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>LPAREN = L("(").suppress()
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': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'fpNaN@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point NaN term.\n\n>>> s = FPSort(8, 24)\n>>> set_fpa_pr...
0
{'name': 'test_linkauth_rw_pb@tests/bundles/test_hframe.py', 'description': 'Write LINKAUTH PBs to disk and back.\n:return:', 'signature': 'def test_linkauth_rw_pb():'}</s>{'name': '_make_hframe_record@tests/bundles/test_hframe.py', 'description': 'Create a hyperframe. Attach three frames.\n1.) 1 Frame w ith 8 bytes ...
0
{'name': 'MPEServiceCommand.publish_proto_in_ipfs@snet/cli/commands/mpe_service.py', 'description': 'Publish proto files in ipfs and print hash ', 'signature': 'def publish_proto_in_ipfs(self):'}</s>{'name': 'publish_proto_in_ipfs@snet/cli/utils/ipfs_utils.py', 'description': 'make tar from protodir/*proto, and publish...
1
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'update_gef@gef.py', 'description': 'Obsolete. Use `gef.sh`.', 'code': 'def update_gef(argv: list[str]) -> int:\n """Obsolete. Use `gef.sh`."""\n return -1'}
0
{'name': 'iSpotTV.buildCategory@plugin.video.ispot.tv/resources/lib/ispot.py', 'description': '< div\nclass ="mb-0" >\n< a adname = "FootJoy Pro/SLX TV Spot, \'Joy Ride\' Featuring Max Homa, Danielle Kang, Song by 10cc - 16 airings" href = "/ad/6K6T/footjoy-pro-slx-joy-ride" >\n< img alt = "FootJoy Pro/SLX TV Spot, \'J...
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': 'entrypoint@da/api.py', 'description': 'Entry point for running DistAlgo as the main module.\n\n ', 'signature': 'def entrypoint():'}</s>internal_registry = dict()
0
{'name': 'multiply@crypto_commons/generic.py', 'description': 'Multiply values on the list\n:param values: list of values\n:return: a*b*c*d...', 'signature': 'def multiply(values):'}</s>{'name': 'baby_steps_giant_steps@crypto_commons/generic.py', 'description': 'DOCSTRING', 'code': 'def baby_steps_giant_steps(a, b, p, ...
0
{'name': 'run@slim/datasets/download_and_convert_mnist.py', 'description': 'Runs the download and conversion operation.\n\nArgs:\n dataset_dir: The dataset directory where the dataset is stored.', 'signature': 'def run(dataset_dir):'}</s>WSI_RAW_PATCHES_COUNT_FILE_TO_GET_HEATMAPS = RAW_PATCHES_DIR_TO_GET_HEATMAPS + "W...
0
{'name': 'test_am_replacer_titleandhdrs_invalid@sphinx_automodapi/tests/test_automodapi.py', 'description': 'Tests replacing an ".. automodapi::" entry with title-setting and header\ncharacter options.', 'signature': 'def test_am_replacer_titleandhdrs_invalid(tmpdir, capsys):'}</s>{'name': 'test_am_replacer_noinh@sphin...
0
{'name': 'py2round@intervals/interval.py', 'description': 'Round values as in Python 2, for Python 3 compatibility.\n\nAll x.5 values are rounded away from zero.\n\nIn Python 3, this has changed to avoid bias: when x is even,\nrounding is towards zero, when x is odd, rounding is away\nfrom zero. Thus, in Python 3, roun...
0
{'name': 'CommandLineTestCase.test_running_install_hosts@tests/installer/test_run_setup.py', 'description': 'Test packstack.installer.run_setup.main\n\nThis test effectivly runs all of the python code ran by\npackstack --install-hosts=127.0.0.1 --os-swift-install=y\n\nIt is a fairly wide net but boost code coverage of ...
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_IsMapField@python/google/protobuf/internal/python_message.py', 'description': 'DOCSTRING',...
0
{'name': 'find_related_origin@django_eventstream/utils.py', 'description': "Find a related origin from a list of CORS (Cross-Origin Resource Sharing) origins\nbased on the request's absolute URI.\n\nArgs:\n request (HttpRequest): The HTTP request object.\n cors_origins (list): A list of CORS origins.\n\nReturns:\...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_MSG_TRUNCATED = 3048
0
{'name': 'log_to_csv@versions/speed-cam_12.06.py', 'description': 'Store date to a comma separated value file', 'signature': 'def log_to_csv(data_to_append):'}</s>{'name': 'speed_image_add_lines@versions/speed-cam_12.06.py', 'description': 'DOCSTRING', 'code': 'def speed_image_add_lines(image, color):\n cv2.line(ima...
0
{'name': 'overwrites_mem@panoramix/simplify.py', 'description': "for a given line, returns True if it potentially\noverwrites *any part* of memory index, False if it *for sure* doesn't", 'signature': 'def overwrites_mem(line, mem_idx):'}</s>{'name': '_loop_to_setmem@panoramix/simplify.py', 'description': 'DOCSTRING', '...
0
{'name': 'Windows.setupLogger@addon/addonWindow.py', 'description': '初始化 Logger ', 'signature': 'def setupLogger(self):'}</s>{'name': 'VersionCheckWorker@addon/workers.py', 'description': 'DOCSTRING', 'base_classes': ['QObject'], 'methods': [{'name': 'VersionCheckWorker.run@addon/workers.py', 'description': 'DOCSTRING'...
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': 'FairseqTask.build_generator@fairseq/tasks/fairseq_task.py', 'description': 'Build a :class:`~fairseq.SequenceGenerator` instance for this\ntask.\n\nArgs:\n models (List[~fairseq.models.FairseqModel]): ensemble of models\n args (fairseq.dataclass.configs.GenerationConfig):\n configuration object (...
0
{'name': 'WebPGetInfo@external/SDL2_image/external/libwebp-1.0.2/swig/libwebp.py', 'description': 'WebPGetInfo(uint8_t data) -> (width, height)', 'signature': 'def WebPGetInfo(*args):'}</s>{'name': 'WebPGetDecoderVersion@external/SDL2_image/external/libwebp-1.0.2/swig/libwebp.py', 'description': 'WebPGetDecoderVersion(...
0
{'name': 'run@rf/batch.py', 'description': 'Create example configuration file and tutorial or load config.\n\nAfter that call `run_commands`.', 'signature': 'def run(command, conf=None, tutorial=False, **kw):'}</s>{'name': 'write@rf/batch.py', 'description': 'Write stream to one or more files depending on format.', 'co...
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': 'config_file@test/conftest.py', 'description': 'Prepares Bioconda config.yaml', 'signature': 'def config_file(tmpdir: py.path.local, case):'}</s>{'name': 'sandboxed_env@bioconda_utils/utils.py', 'description': 'Context manager to temporarily set os.environ, only allowing env vars from\nthe existing `os.environ...
0
{'name': 'NDInputAttrTree._renameAttr@scripts/mpylib/ui/mpynode_designer.py', 'description': 'Triggered when the user renames an attribute using the UI', 'signature': 'def _renameAttr(self, item, col):'}</s>{'name': 'NDLogWidget@scripts/mpylib/ui/mpynode_designer.py', 'description': 'DOCSTRING', 'base_classes': ['QtLog...
0
{'name': 'format_search_filter@django_python3_ldap/utils.py', 'description': 'Creates an LDAP search filter for the given set of model\nfields.', 'signature': 'def format_search_filter(model_fields):'}</s>{'name': 'format_username_openldap@django_python3_ldap/utils.py', 'description': 'Formats a user identifier into a ...
0
{'name': 'Translator.get_options_for_model@modeltranslation/translator.py', 'description': 'Thin wrapper around ``_get_options_for_model`` to preserve the\nsemantic of throwing exception for models not directly registered.', 'signature': 'def get_options_for_model(self, model: type[Model]) -> TranslationOptions:'}</s>{...
0
{'name': 'invoice_details@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'Return full invoice details for an invoice number. Needs both the invoice number and the guest name.\n:return:', 'signature': 'def invoice_details():'}</s>SETTLED_INVOICES = "accounting/settled-invoices.log"
0
{'name': 'TranscriptionEvaluationMixin.compute_wer@montreal_forced_aligner/transcription/transcriber.py', 'description': 'Evaluates the transcripts if there are reference transcripts\n\nRaises\n------\n:class:`~montreal_forced_aligner.exceptions.KaldiProcessingError`\n If there were any errors in running Kaldi binar...
1
{'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': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
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': 'add_common_flags@agfusion/cli.py', 'description': 'Add commaond line flags that are common to multiple sub parsers', 'signature': 'def add_common_flags(parser):'}</s>{'name': 'AGFusionDBBManager@agfusion/database.py', 'description': 'Class to handle methods managing the SQLite3 database\n\nname: name of the d...
0
{'name': 'receive_messages@examples/socket_example.py', 'description': 'Receive messages (server side)', 'signature': 'def receive_messages():'}</s>SERVER_ADDR = "localhost"
0
{'name': 'ResourceManager.lookup@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Search for a resource and return an absolute file path, or `None`.\n\nThe :attr:`path` list is searched in order. The first match is\nreturend. Symlinks are followed. The result is cached to speed up\nfuture lookups. ', 's...
0
{'name': 'run_playbooks@kayobe/ansible.py', 'description': 'Run a Kayobe Ansible playbook.', 'signature': 'def run_playbooks(parsed_args, playbooks,'}</s>{'name': '_validate_args@kayobe/ansible.py', 'description': 'Validate Kayobe Ansible arguments.', 'code': 'def _validate_args(parsed_args, playbooks):\n """Validat...
1
{'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...
0
{'name': 'plot_sounding_axes@pymeteo/skewt.py', 'description': 'Plots Skew-T/Log-P axes\n\nThis will plot isotherms, isobars, dry and moist adiabats, \nlines of constant water vapor mixing ratio, labels and \nsetup the y axes to be reversed.\n\n:paramter axes: The axes to draw on', 'signature': 'def plot_sounding_axes(...
0
{'name': 'BertTokenizer.__init__@ZEN/tokenization.py', 'description': "Constructs a BertTokenizer.\n\nArgs:\n vocab_file: Path to a one-wordpiece-per-line vocabulary file\n do_lower_case: Whether to lower case the input\n Only has an effect when do_wordpiece_only=False\n do_basic_tokenize: Whether to...
1
{'name': 'FutureBase._computed@asynq/futures.py', 'description': 'Protected method invoked when value or error property\nis set.\n\nRaises on_computed event.', 'signature': 'def _computed(self):'}</s>{'name': 'format_tb@asynq/debug.py', 'description': 'Formats a traceback into a list of lines.', 'code': 'def format_tb(...
0
{'name': 'runBody@cxxtest/cxxtestgen.py', 'description': 'Body of TestDescription::run()', 'signature': 'def runBody( suite, test ):'}</s>include_re = re.compile( r"\s*\#\s*include\s+<cxxtest/" )
0
{'name': 'HubitatSwitch.__init__@custom_components/hubitat/switch.py', 'description': 'Initialize a Hubitat switch.', 'signature': 'def __init__('}</s>{'name': 'create_and_add_event_emitters@custom_components/hubitat/entities.py', 'description': 'Create event emitters.', 'code': 'def create_and_add_event_emitters(\n ...
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': 'filter_scores_greater_than@alphaction/dataset/datasets/evaluation/ava/pascal_evaluation/np_box_list_ops.py', 'description': "Filter to keep only boxes with score exceeding a given threshold.\n\nThis op keeps the collection of boxes whose corresponding scores are\ngreater than the input threshold.\n\nArgs:\n ...
0
{'name': 'MarkdownRenderer.__init__@mistletoe/markdown_renderer.py', 'description': 'Args:\n extras (list): allows subclasses to add even more custom tokens.\n max_line_length (int): if specified, the document is word wrapped to the\n specified line length when rendered. Otherwise the formatting from the\n...
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'get_config_from_root@versioneer.py', 'description': 'Read the project setup.cfg file to d...
1
{'name': 'quarter_and_year@gnocchi/calendar.py', 'description': 'Return the quarter per year of given dates.', 'signature': 'def quarter_and_year(datetimes):'}</s>{'name': 'day_of_month@gnocchi/calendar.py', 'description': 'Return the day of the month of given dates.', 'code': 'def day_of_month(datetimes):\n """Retu...
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': 'english_cleaners@text/cleaners.py', 'description': 'Pipeline for English text, including number and abbreviation expansion.', 'signature': 'def english_cleaners(text):'}</s>{'name': 'convert_to_ascii@text/cleaners.py', 'description': 'Converts to ascii, existed in keithito but deleted in carpedm20', 'code': "...
1
{'name': 'OrCheck.__call__@oslo_policy/_checks.py', 'description': 'Check the policy.\n\nRequires that at least one rule accept in order to return True.', 'signature': 'def __call__(self, target, cred, enforcer, current_rule=None):'}</s>{'name': 'OrCheck@oslo_policy/_checks.py', 'description': 'DOCSTRING', 'base_classe...
1
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex...
0
{'name': 'DataWriter.get_output_checkpoints@streaming/python/raystreaming/runtime/transfer.py', 'description': 'Get output offsets of all downstream channels\nReturns:\n a list contains current msg_id of each downstream channel', 'signature': 'def get_output_checkpoints(self) -> List[int]:'}</s>{'name': 'ChannelID@s...
0
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>{'name': 'nb2msg@soundrts/lib/msgs.py', 'description': 'DOCSTRING', 'code': 'def nb2msg(n):\n n = int(n)\n if n < 0:\n return []\n return [NB_...
0
{'name': '_get_unique_value@pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py', 'description': 'Match attribute in text and return unique match.\n\n:returns: Single match.', 'signature': 'def _get_unique_value(attribute, text):'}</s>{'name': 'Version@pkgs/development/interpreters/p...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'test_indices@gplearn/tests/test_genetic.py', 'description': 'Check that indices are stable when generated on the fly.', 'signature': 'def test_indices():'}</s>sqrt1 = _Function(function=_protected_sqrt, name='sqrt', arity=1)
0
{'name': 'LambdaSupportTest.test_parameters_with_mixed_inferred_and_declared_types@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'this tests that lambda type specification mixing is considered\ninvalid as per the specifications.', 'signature': 'def test_parameters_with_mixed_inferred_and_de...
0
{'name': 'init_media@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard,\nand sound cache', 'signature': 'def init_media():'}</s>SERVER_UNREACHABLE = [4081]
0
{'name': 'GroveI2cColorSensorV2.raw@grove/grove_i2c_color_sensor_v2.py', 'description': 'Read RGBC registers\nreturn 16 bits red, green, blue and clear data', 'signature': 'def raw(self):'}</s>_STATUS = 19
0
{'name': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>{'name': 'Ob@discopy/rigid.py', ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQTOPT_ALL = 2
0
{'name': 'corr_plt@notebook/py_bar/plt_data.py', 'description': "功能: 画相关系数热力图\nwhy: 大于0.75的特征只留一个,不然会造成特征冗余模型效果差,但是现实情况中,一般去掉其中一个就会导致模型效果变差,请慎用。\ndata: 数据集(df型)\nfeats: 特征集(list性/一般是去掉id和label),可用该方法生成 feats = [x for x in data.columns if x not in ['id','label']]\nstart: 用以画相关系数特征的开始点,默认0(int型)\nend: 用以画相关系数特征的结束点,默认30,...
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_eq@src/api/python/z3/z3.py', 'descripti...
0
{'name': 'save_config@pyrgg/functions.py', 'description': 'Save input_dict as the generation config.\n\n:param input_dict: input data\n:type input_dict: dict\n:return: path to file as str', 'signature': 'def save_config(input_dict):'}</s>{'name': 'check_for_config@pyrgg/functions.py', 'description': 'Check for config f...
0
{'name': 'DebuggerAPI.do_next@tools/p4dbg.py', 'description': 'Go to next field update: next(n)', 'signature': 'def do_next(self, line):'}</s>{'name': 'Msg@tools/p4dbg.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Msg.__init__@tools/p4dbg.py', 'description': 'DOCSTRING', 'code': 'de...
0
{'name': 'km@kramersmoyal/kmc.py', 'description': 'Estimates the Kramers─Moyal coefficients from a timeseries using a kernel\nestimator method. `km` can calculate the Kramers─Moyal coefficients for a\ntimeseries of any dimension, up to any desired power.\n\nParameters\n----------\ntimeseries: np.ndarray\n The D-dime...
0
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature...
0
{'name': 'PretrainingModel._get_masked_lm_output@araelectra/run_pretraining.py', 'description': 'Masked language modeling softmax layer.', 'signature': 'def _get_masked_lm_output(self, inputs: pretrain_data.Inputs, model):'}</s>{'name': 'get_candidates_mask@araelectra/pretrain/pretrain_helpers.py', 'description': 'Retu...
0
{'name': 'current_umask@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/utils/misc.py', 'description': 'Get the current umask which involves having to set it temporarily.', 'signature': 'def current_umask():'}</s>{'name': 'dist_location@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/utils/misc.py',...
0
{'name': 'Dispatch.__getattr__@comtypes/client/lazybind.py', 'description': 'Get a COM attribute.', 'signature': 'def __getattr__(self, name):'}</s>VT_ERROR = 10
0
{'name': 'read_info@mcu/elk/elk_io.py', 'description': 'Read the INFO.OUT file', 'signature': 'def read_info(filename): '}</s>BOLK = BOLKEV * EVTOJ
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': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ICMP_IREQREPLY = 16
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'push_context_message@gef.py', 'description':...
0