text
string
label
int64
{'name': 'HtmlRenderer.__init__@mistletoe/html_renderer.py', 'description': "Args:\n extras (list): allows subclasses to add even more custom tokens.\n html_escape_double_quotes (bool): whether to also escape double\n quotes when HTML-escaping rendered text.\n html_escape_single_quotes (bool): whether t...
0
{'name': '__reassign_times@librosa/core/spectrum.py', 'description': 'Time reassignments based on a spectrogram representation.\n\nThe reassignment vector is calculated using equation 5.23 in Flandrin,\nAuger, & Chassande-Mottin 2002::\n\n t_reassigned = t + np.real(S_th/S_h)\n\nwhere ``S_h`` is the complex STFT cal...
0
{'name': 'convertBezToOutline@python/psautohint/ufoFont.py', 'description': 'Since the UFO outline element as no attributes to preserve,\nI can just make a new one.', 'signature': 'def convertBezToOutline(bezString):'}</s>POINT_TAG = "pointTag"
0
{'name': 'checkVectorList@src/python/Optizelle/Properties.py', 'description': 'Checks that an input is a list', 'signature': 'def checkVectorList(name,value):'}</s>{'name': 'checkVectors@src/python/Optizelle/Properties.py', 'description': 'Check that we have a list of restart vectors', 'code': 'def checkVectors(name,va...
0
{'name': 'TestSyntax.test_ugly_pre_tag@tests/test_syntax.py', 'description': 'A ugly way to make a pre tag whitout leading and trailing whitespace when not using compact mode.', 'signature': 'def test_ugly_pre_tag(self):'}</s>{'name': 'TestSyntax@tests/test_syntax.py', 'description': 'DOCSTRING', 'base_classes': ['test...
1
{'name': 'Block.__init__@src/graphnet/models/components/layers.py', 'description': "Construct 'Block'.\n\nArgs:\n input_dim: Dimension of the input tensor.\n num_heads: Number of attention heads to use in the\n `MultiheadAttention` layer.\n mlp_ratio: Ratio of the hidden size of the feedforward network ...
1
{'name': 'quit@ui/sidebar.py', 'description': 'Stop the Streamlit server', 'signature': 'def quit():'}</s>_progress_dict = { 'total_job_count': 0, 'latest_completed_job_index': 0 }
0
{'name': 'NodeRedText.update_discovery_config@custom_components/nodered/text.py', 'description': 'Update the entity config.', 'signature': 'def update_discovery_config(self, msg):'}</s>DEFAULT_MAX_LENGTH = 100
1
{'name': '_install@ez_setup.py', 'description': 'Install Setuptools.', 'signature': 'def _install(archive_filename, install_args=()):'}</s>{'name': '_unload_pkg_resources@ez_setup.py', 'description': 'DOCSTRING', 'code': "def _unload_pkg_resources():\n del_modules = [\n name for name in sys.modules\n i...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO_Q_TIME_MAX = 742
0
{'name': 'SysTrayIcon.update@python/site-packages/winsystray/traybar.py', 'description': 'update icon image and/or hover text ', 'signature': 'def update(self, icon=None, hover_text=None, menu=None):'}</s>DestroyIcon = ctypes.windll.user32.DestroyIcon
0
{'name': 'Parser.__init__@util/py_lib/pyratemp.py', 'description': 'Init the parser.\n\n:Parameters:\n - `loadfunc`: function to load included templates\n (i.e. ``LoaderFile(...).load``)\n - `testexpr`: function to test if a template-expressions is valid\n (i.e. ``EvalPseudoSandbox().compile``)\n - `...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCA_MONITOR_Q_NAME = 2066
0
{'name': '_net_interface_type@kayobe/plugins/filter/networks.py', 'description': "Return a string describing the network interface type.\n\nPossible types include 'ether', 'bridge', 'bond'.", 'signature': 'def _net_interface_type(context, name, inventory_hostname):'}</s>{'name': 'call_bool_filter@kayobe/plugins/filter/...
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': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_SetStructValue@third_party/dawn/third_party/protobuf...
0
{'name': 'View.analyze_cluster@picasso/gui/render.py', 'description': 'Clusters picked locs using k-means clustering. ', 'signature': 'def analyze_cluster(self):'}</s>{'name': '_cluster@picasso/clusterer.py', 'description': 'Clusters points given by X with a given clustering radius and \nminimum number of localizaitons...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_APPL_IDENTITY_DATA_LENGTH = 32
0
{'name': 'template@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def ...
0
{'name': 'ConfigFixture.start_fixture@gnocchi/tests/functional/fixtures.py', 'description': 'Create necessary temp files and do the config dance.', 'signature': 'def start_fixture(self):'}</s>{'name': 'QueryError@gnocchi/indexer/__init__.py', 'description': 'DOCSTRING', 'base_classes': ['IndexerException'], 'methods': ...
0
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'name': '_ImportRedirect...
0
{'name': 'main@tools/pydfu.py', 'description': 'Test program for verifying this files functionality.', 'signature': 'def main():'}</s>__DFU_GETSTATE = 5
0
{'name': 'compute_loss_on_dataset@notebooks/test_sparse_loss.py', 'description': 'Computes the loss for the given number of iterations\n\n:param dcn:\n:type dcn:\n:param data_loader:\n:type data_loader:\n:param num_iterations:\n:type num_iterations:\n:return:\n:rtype:', 'signature': 'def compute_loss_on_dataset(dcn, da...
0
{'name': 'Viewer.initialize@robopianist/viewer/viewer.py', 'description': 'Initialize the viewer.\n\nArgs:\n physics: Physics instance.\n renderer_instance: A renderer.Base instance.\n touchpad: A boolean, use input dedicated to touchpad.', 'signature': 'def initialize(self, physics, renderer_instance, touchpad):'}<...
0
{'name': 'MCMCMetropoliHastings.sample@abcpy/inferences.py', 'description': 'Samples from the posterior distribution of the model parameter given the observed\ndata observations. The MCMC is run for burnin + n_samples steps, and n_samples_per_param are used at each step\nto estimate the approximate loglikelihood. The b...
0
{'name': 'show_settings@versions/speed-cam_8.87.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>USBCAM_SRC = 0
0
{'name': 'CheckHeaderFileIncluded@tools/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': 'unicode_escape_decode@tools/cpplint.py', 'description': 'DOCSTRING', 'code': 'def unicode_escape_de...
0
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'save_ema_as_checkpoint@fairseq/checkpoint_utils.py', 'description': 'DOCSTRING', 'code': 'def save_ema_as_checkpoint(src_path, dst_path):\n state = load_ema_fro...
0
{'name': 'OpticalProduct._open_bands@eoreader/products/optical/optical_product.py', 'description': 'Open bands from disk.\n\nArgs:\n band_paths (dict): Band dict: {band_enum: band_path}\n pixel_size (float): Band pixel size in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if p...
0
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\...
0
{'name': 'MessageLayer.__init__@roost/roost/model.py', 'description': ' ', 'signature': 'def __init__(self, elem_fea_len, elem_heads, elem_gate, elem_msg):'}</s>{'name': 'SimpleNetwork@roost/segments.py', 'description': 'Simple Feed Forward Neural Network', 'base_classes': ['nn.Module'], 'methods': [{'name': 'Si...
1
{'name': 'Worker._handle_sighup@kuyruk/worker.py', 'description': 'Used internally to fail the task when connection to RabbitMQ is\nlost during the execution of the task.', 'signature': 'def _handle_sighup(self, signum: int, frame: Any) -> None:'}</s>{'name': 'Discard@kuyruk/exceptions.py', 'description': 'The task may...
0
{'name': 'MarketstoreServicer.Write@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Missing associated documentation comment in .proto file.', 'signature': 'def Write(self, request, context):'}</s>{'name': 'add_MarketstoreServicer_to_server@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'DOC...
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PFTM_ADAPTIVE_END = 17
0
{'name': 'AGraph.subgraph_parent@pygraphviz/agraph.py', 'description': 'Return parent graph of subgraph or None if graph is root graph.', 'signature': 'def subgraph_parent(self, nbunch=None, name=None):'}</s>{'name': 'agsubg@pygraphviz/graphviz.py', 'description': 'DOCSTRING', 'code': 'def agsubg(g, name, createflag):\...
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'FPNumRef@src/api/python/z3/z3.py', 'd...
0
{'name': 'CosS3Client.ci_auditing_image_batch@qcloud_cos/cos_client.py', 'description': "图片同步批量审核接口 https://cloud.tencent.com/document/product/436/63593\n\n:param Bucket(string): 存储桶名称.\n:param Input(dict array): 需要审核的图片信息,每个array元素为dict类型,支持的参数如下:\n Object: 存储在 COS 存储桶中的图片文件名称,例如在目录 test 中的文件 image....
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': '_coerce_fp_expr_list@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _coerce_fp_expr_list(alist, ctx):\n ...
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': 'check_input_settings@sounddevice.py', 'description': 'Check if given input device settings are supported.\n\nAll parameters are optional, `default` settings are used for any\nunspecified parameters. If the settings are supported, the function\ndoes nothing; if not, an exception is raised.\n\nParameters\n----...
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>mouse_press = dvz.dvz_mouse_press
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQMCEV_MEMORY_ALERT_OFF = 26
0
{'name': 'BatchUtilTest.test_batch_expectation@tensorflow_quantum/core/ops/batch_util_test.py', 'description': 'Test expectation.', 'signature': 'def test_batch_expectation(self, sim):'}</s>{'name': 'kwargs_cartesian_product@tensorflow_quantum/python/util.py', 'description': "Compute the cartesian product of inputs yie...
0
{'name': 'ConfigObj.reload@BlDevCube/lib.bflb_configobj.pyc.py', 'description': "Reload a ConfigObj from file.\n\nThis method raises a ``ReloadError`` if the ConfigObj doesn't have\na filename attribute pointing to a file.", 'signature': 'def reload(self):'}</s>BOM_LIST = {'utf_16':'utf_16', 'u16':'utf_16', 'utf16'...
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': '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': 'random_id@shutit_util.py', 'description': 'Generates a random string of given size from the given chars.\n\...
0
{'name': 'guess_json_utf@src/requests/utils.py', 'description': ':rtype: str', 'signature': 'def guess_json_utf(data):'}</s>{'name': 'parse_list_header@src/requests/utils.py', 'description': 'Parse lists as described by RFC 2068 Section 2.\n\nIn particular, parse comma-separated lists where the elements of\nthe list ma...
0
{'name': 'AGraph.successors_iter@pygraphviz/agraph.py', 'description': 'Return iterator over successor nodes of n.\n\nNote: modifying the graph structure while iterating over\nnode successors may produce unpredictable results. Use\nsuccessors() as an alternative.', 'signature': 'def successors_iter(self, n):'}</s>{'na...
0
{'name': 'setup@dwave/cloud/cli.py', 'description': 'Setup optional Ocean packages and configuration file(s).\n\nEquivalent to running `dwave install [--all]`, followed by\nan optional `dwave auth login --skip-valid [--oob]` and then by\n`dwave config create [--full] [--auto-token]`.', 'signature': 'def setup(install_a...
0
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', ...
0
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
0
{'name': 'takeVideo@source/pi-timolo.py', 'description': 'Take a short motion video if required', 'signature': 'def takeVideo(filename, duration, vidW=1280, vidH=720, fps=25):'}</s>image_height = (IMAGE_HEIGHT + 15) // 16 * 16
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQOT_SERVICE = 12
0
{'name': 'BL3Profile.get_sdus@bl3save/bl3profile.py', 'description': 'Returns a dict containing the SDU type and the number purchased. The SDU\ntype key will be a constant by default, or an English label if `eng` is `True`', 'signature': 'def get_sdus(self, eng=False):'}</s>plot_missions = set()
0
{'name': 'VectraClientV2_1._generate_rule_params@modules/vectra.py', 'description': 'Generate query parameters for detect usage query based on provided args\n:param args: dict of keys to generate query params\n:rtype: dict', 'signature': 'def _generate_rule_params(args):'}</s>{'name': 'validate_gte_api_v2@modules/vectr...
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': 'prettyArray@boxx/ylimg/ylimgTool.py', 'description': 'return str of pretty discrib for array, include nan inf (shape type max min) ', 'signature': 'def prettyArray(array):'}</s>{'name': 'interactivePlot@boxx/ylcompat.py', 'description': 'turn interactive plot mode if enviroment is interactive', 'code': "def ...
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': '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.__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': 'detect_classifier@sklearn_pmml_model/auto_detect/base.py', 'description': 'Detect the type of classifier in line if present.\n\nParameters\n----------\nline : str, bytes\n Line of a PMML file as a string.\n\npmml : str, object\n Filename or file object containing PMML data.', 'signature': 'def detect_cl...
1
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>essential_developer_fields = ('Name', 'Games')
0
{'name': 'CorpusAligner.evaluate_alignments@montreal_forced_aligner/alignment/base.py', 'description': 'Evaluate alignments against a reference directory\n\nParameters\n----------\nmapping: dict[str, Union[str, list[str]]], optional\n Mapping between phones that should be considered equal across different phone set ...
0
{'name': 'remove_entites@config/utils.py', 'description': 'Remove certain number of entities and make them become O label\n:param train_insts:\n:param config:\n:return:', 'signature': 'def remove_entites(train_insts: List[Instance], config: Config) -> Set:'}</s>{'name': 'write_results@config/utils.py', 'description': '...
0
{'name': 'param_error@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'Helper function for error handling on request parameters.\n\n:param name:\n:return:', 'signature': 'def param_error(name):'}</s>{'name': 'delete_invoice@BambiCTF_2021/ringring/InvoiceApp/utils/invoice_db_helper.py', 'description': 'DOCSTRI...
0
{'name': 'ProcessFileData@scripts/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 representing a ...
0
{'name': 'dictUpdate@configParser/tomlBase.py', 'description': '递归更新字典中的每一键值对。用户数据只会包含基本字典有的键值对', 'signature': 'def dictUpdate(dict_base, dict_userData):'}</s>{'name': 'json2toml@configParser/tomlBase.py', 'description': 'DOCSTRING', 'code': 'def json2toml():\n return jsonParser.jsonRead()'}
0
{'name': 'PyAssimp3DViewer.recursive_render@Engine/lib/assimp/port/PyAssimp/scripts/3d_viewer.py', 'description': 'Main recursive rendering method.\n ', 'signature': 'def recursive_render(self, node, shader, mode=BASE, with_normals=True):'}</s>SILHOUETTE = "SILHOUETTE"
1
{'name': 'main_branch_bot_actions@src/oca_github_bot/tasks/main_branch_bot.py', 'description': "Run main branch bot actions on a local git checkout.\n\n'cwd' is the directory containing the root of a local git checkout.", 'signature': 'def main_branch_bot_actions(org, repo, branch, cwd):'}</s>{'name': 'switchable@src/o...
0
{'name': 'DebPkgToolsTestCase.test_repository_creation@deb_pkg_tools/tests.py', 'description': 'Test the creation of trivial repositories.', 'signature': 'def test_repository_creation(self, preserve=False):'}</s>ALLOW_RESET_SETGID = coerce_boolean(os.environ.get('DPT_RESET_SETGID', 'true'))
0
{'name': 'csqrt@python/taichi/math/_complex.py', 'description': 'Returns the complex square root of a 2d vector `z`, so that\nif `w^2=z`, then `w = csqrt(z)`.\n\nAmong the two square roots of `z`, if their real parts are non-zero,\nthe one with positive real part is returned. If both their real parts\nare zero, the one...
0
{'name': 'Bottle.mount@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "Mount an application (:class:`Bottle` or plain WSGI) to a specific\nURL prefix. Example::\n\n root_app.mount('/admin/', admin_app)\n\n:param prefix: path prefix or `mount-point`. If it ends in a slash,\n that slash is mandator...
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>{'name': '_is_valid_addr@pf/_utils.py', 'description': 'Return True is addr is a valid address in the address family specified', 'code': 'def _is_valid_addr(af, addr)...
0
{'name': 'ProcessFileData@runtimes/compiler-rt/lib/sanitizer_common/scripts/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:...
0
{'name': 'skew@pymeteo/skewt.py', 'description': 'Puts the skew in skew-T\n\n:parameter p: pressure level of the point.\n\nThis calculates the skew of the T axis for a point to plot. \nThis assumes a logarithmic y axes and uses the variable\n:py:data:skew_angle to determine the skew. This is the \nmagic that turns a ...
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': 'Standardizer.__init__@scopy/ScoPretreat/pretreatutil.py', 'description': 'Initialize a Standardizer with optional custom parameters.\n\n:param normalizations: A list of Normalizations to apply (default: :data:`~molvs.normalize.NORMALIZATIONS`).\n:param acid_base_pairs: A list of AcidBasePairs for competitive ...
0
{'name': 'XExtractParser.find_correction@linguee_api/parsers.py', 'description': 'Find the correction for a NOT FOUND page.', 'signature': 'def find_correction(self, page_html: str) -> Optional[str]:'}</s>source_url_schema = [ String( name="src_url", css="div.source_url > a", attr="href", ...
0
{'name': 'smart_query@sqlalchemy_mixins/smartquery.py', 'description': "Does magic Django-ish joins like post___user___name__startswith='Bob'\n (see https://goo.gl/jAgCyM)\nDoes filtering, sorting and eager loading at the same time.\nAnd if, say, filters and sorting need the same joinm it will be done\n only one. That'...
1
{'name': 'serialize@strictyaml/ruamel/main.py', 'description': 'Serialize a representation tree into a YAML stream.\nIf stream is None, return the produced string instead.', 'signature': 'def serialize(node, stream=None, Dumper=Dumper, **kwds):'}</s>{'name': 'yaml_object@strictyaml/ruamel/main.py', 'description': 'deco...
0
{'name': 'dump@json_tricks/nonp.py', 'description': 'Convert a nested data structure to a json string.\n\n:param fp: File handle or path to write to.\n:param compression: The gzip compression level, or None for no compression.\n:param force_flush: If True, flush the file handle used, when possibly also in the operating...
0
{'name': 'IKinBody@7_Demo_youBotPickAndPlace/code/modern_robotics/core.py', 'description': 'Computes inverse kinematics in the body frame for an open chain robot\n\n:param Blist: The joint screw axes in the end-effector frame when the\n manipulator is at the home position, in the format of a\n ...
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>NOT_ADJOINT = "{} and {} are not...
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': 'minus_op@panoramix/core/algebra.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'get_known_heuristic_names@heudiconv/utils.py', 'description': 'Return a list of heuristic names present under heudiconv/heuristics', 'signature': 'def get_known_heuristic_names() -> list[str]:'}</s>Load = Union[str, "TreeSpec", dict]
0
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>{'name': 'global_task@oggm/utils/_workflow.py', 'description': 'Decorator for common job-controlling logic.\n\nIndicates that this task expects a lis...
0
{'name': 'cli_progress@tools/pydfu.py', 'description': 'Prints a progress report suitable for use on the command line.', 'signature': 'def cli_progress(addr, offset, size):'}</s>{'name': 'set_address@tools/pydfu.py', 'description': 'Sets the address for the next operation.', 'code': 'def set_address(addr):\n """Sets...
0
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen...
0
{'name': 'show_figures@ocr_utils.py', 'description': 'Shows the plot or just writes it to a file based on the global boolean \n show_plot at the top of this module\n \n If show_plot is true, the the plot is shown on the screen.\n If show_plot is false, the plot will be saved to a file in the\n /plots fol...
0
{'name': 'get_video_masks_by_moving_random_stroke@src/utils/mask_generators.py', 'description': 'Get video masks by random strokes which move randomly between each\nframe, including the whole stroke and its control points\n\nParameters\n----------\n imageWidth: Image width\n imageHeight: Image height\n nStroke...
1
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'Int64ValueChecker@third_party/dawn/third_party/protob...
0
{'name': 'task_postrun_handler@celery_progress/websockets/tasks.py', 'description': 'Runs after a task has finished. This will be used to push a websocket update for completed events.\n\nIf the websockets version of this package is not installed, this will fail silently.', 'signature': 'def task_postrun_handler(task_id...
1
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'state_type_to_str@tools/lldb/packages/Python/lldbsuite/test/lldbuti...
0
{'name': 'd4_image_deaugment@pytorch_toolbelt/inference/tta.py', 'description': 'Deaugment input tensor (output of the model) assuming the input was D4-augmented image (See d4_augment).\nArgs:\n image: Tensor of [B * 8, C, H, W] shape\n reduction: Reduction model for aggregating outputs. Default is taking mean.\n...
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': 'BufferedIterator@fairseq/data/iterators.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'BufferedIterator.__init__@f...
0
{'name': 'AndroidTestBase.acquire_device@qt4a/androidtestbase.py', 'description': '申请设备接口\n\n:param device_id: 设备ID,用于本地调试\n:type device_id: string', 'signature': 'def acquire_device(self, device_id=None, **kwargs):'}</s>fmt = logging.Formatter( "%(asctime)s %(levelname)s %(thread)d %(message)s" )
0
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_ci_put_media_pic_queue@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_put_media_pic_queue():\n response = ...
0
{'name': 'CODSAnalysis.iterative_signal_decomposition@rdtools/soiling.py', 'description': "Estimates the soiling losses and the degradation rate of a PV system\nbased on its daily normalized energy, or daily Performance Index (PI).\nThe underlying assumption is that the PI\nconsists of a degradation trend, a seasonal c...
0
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_XOR = CScriptOp(0x86)
0