text
string
label
int64
{'name': 'gate2zx@discopy/quantum/zx.py', 'description': 'Turns gates into ZX diagrams. ', 'signature': 'def gate2zx(box):'}</s>{'name': 'Y@discopy/quantum/zx.py', 'description': 'Y spider. ', 'base_classes': ['Spider'], 'methods': []}
1
{'name': 'RobustPath.segment@gdspy/path.py', 'description': 'Add a straight section to the path.\n\nParameters\n----------\nend_point : array-like[2]\n End position of the straight segment.\nwidth : number, callable, list\n If a number, all parallel paths are linearly tapered to this\n width along the segment....
1
{'name': 'isCpio@fwtool/archive/cpio.py', 'description': 'Returns true if the file provided is a cpio file', 'signature': 'def isCpio(file):'}</s>{'name': '_roundUp@fwtool/archive/cpio.py', 'description': 'DOCSTRING', 'code': 'def _roundUp(n, i):\n return (n + i - 1) // i * i'}
0
{'name': '_parse_edge_nodes@uxarray/io/_mpas.py', 'description': 'Parses edge node connectivity for either the Primal or Dual Mesh.', 'signature': 'def _parse_edge_nodes(in_ds, out_ds, mesh_type):'}</s>{'name': '_replace_zeros@uxarray/io/_mpas.py', 'description': 'Replaces zeros with fill-value.', 'code': 'def _replace...
1
{'name': '_FloatingPointEncoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and ...
0
{'name': 'SubstitutionParser.sub@haros/launch_parser.py', 'description': 'Resolve substitution arguments in the given string.\nReturn a literal value if resolution is possible.\nOtherwise, return an UnresolvedValue instance.', 'signature': 'def sub(self, value, conversion = str):'}</s>{'name': 'TestTag@haros/launch_par...
0
{'name': 'BytesEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Returns an encoder for a bytes field.', 'signature': 'def BytesEncoder(field_number, is_repeated, is_packed):'}</s>FORMAT_UINT32_LITTLE_ENDIAN = "<I"
0
{'name': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>valid_multipla...
0
{'name': 'generate_data_tables@tools/unicode_properties_parse/unicode_properties_data_gen.py', 'description': 'Generate Unicode data for inclusion into <format> from\nGraphemeBreakProperty.txt, emoji-data.txt, DerivedGeneralCategory.txt, DerivedCoreProperties.txt,\nand EastAsianWidth.txt.\n\nGraphemeBreakProperty.txt c...
0
{'name': 'TreeFormats.visualConfigStructure@source/treeformats.py', 'description': 'Export a TreeLine structure containing the config types and fields.\n\nReturns the structure.\nArguments:\n fileName -- the name for the root node', 'signature': 'def visualConfigStructure(self, fileName):'}</s>_showConfTypeSeparator...
1
{'name': 'PUBLISH.encode@src/mqtt/pdu.py', 'description': 'Encode and store a PUBLISH control packet.\n@raise e: C{ValueError} if encoded topic string exceeds 65535 bytes.\n@raise e: C{ValueError} if encoded packet size exceeds 268435455 bytes.\n@raise e: C{TypeError} if C{data} is not a string, bytearray, int, boolean...
0
{'name': 'ContainerVulViewSet.check_flag@vulfocus-api/dockerapi/views.py', 'description': '验证Flag是否正确\n:param request:\n:param pk:\n:return:', 'signature': 'def check_flag(self, request, pk=None):'}</s>{'name': 'R@vulfocus-api/dockerapi/common.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'R...
1
{'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_146 = Badge("potted plant"...
0
{'name': 'Differ._report_dir_diffs@tests/integration/differ.py', 'description': 'Returns a string listing the paths that exist in folder 1 but not in 2,\nand vice-versa.', 'signature': 'def _report_dir_diffs(self, all_paths1, all_paths2):'}</s>__version__ = "0.3.3"
0
{'name': 'render_newline@lookatme/render/markdown_block.py', 'description': 'Render a newline\n\nSee :any:`lookatme.tui.SlideRenderer.do_render` for argument and return\nvalue descriptions.', 'signature': 'def render_newline(token, body, stack, loop):'}</s>{'name': 'styled_text@lookatme/utils.py', 'description': 'Retur...
0
{'name': 'ZenPreTrainedModel.from_pretrained@ZEN/modeling.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str with the name of a pre...
0
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ...
0
{'name': 'AutoName@deprecated/gcp/R80.40-R81/ha-payg/common.py', 'description': 'Helper method to generate names automatically based on default.', 'signature': 'def AutoName(base, resource, *args):'}</s>{'name': 'GenerateEmbeddableYaml@deprecated/gcp/R80.40-R81/ha-payg/common.py', 'description': 'DOCSTRING', 'code': 'd...
0
{'name': 'IPv6Address.__init__@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/ipaddress.py', 'description': "Instantiate a new IPv6 address object.\n\nArgs:\n address: A string or integer representing the IP\n\n Additionally, an integer can be passed, so\n IPv6Address('2001:db8::') ==\n IPv...
0
{'name': 'LightOSConnector.disconnect_volume@os_brick/initiator/connectors/lightos.py', 'description': 'Disconnect a volume from the local host.\n\nThe connection_properties are the same as from connect_volume.\nThe device_info is returned from connect_volume.\n:param connection_properties: The dictionary that describe...
0
{'name': '_BaseNodeItem.connectSource@lib/python/usdNodeGraph/ui/graph/nodeItem/nodeItem.py', 'description': 'input -> output\n:param node:\n:param inputName:\n:param outputName:\n:return:', 'signature': "def connectSource(self, node, inputName='input', outputName='output'):"}</s>PORT_SPACING = 20
0
{'name': 'MigrationsTesterBase.test_current_date@test_project/tests/__init__.py', 'description': 'Make sure we can provide current dates as default', 'signature': 'def test_current_date(self):'}</s>{'name': 'MigrationsTesterMySQL@test_project/tests/__init__.py', 'description': 'DOCSTRING', 'base_classes': ['TestCase', ...
0
{'name': 'num_tf_params@human_aware_rl/utils.py', 'description': 'Prints number of trainable parameters defined', 'signature': 'def num_tf_params():'}</s>{'name': 'set_style@human_aware_rl/utils.py', 'description': 'DOCSTRING', 'code': 'def set_style(font_scale=1.6):\n import seaborn, matplotlib\n seaborn.set(fon...
0
{'name': 'text_error_template@mako/exceptions.py', 'description': 'Provides a template that renders a stack trace in a similar format to\nthe Python interpreter, substituting source template filenames, line\nnumbers and code for that of the originating source template, as\napplicable.', 'signature': 'def text_error_tem...
0
{'name': 'create_and_add_event_emitters@custom_components/hubitat/entities.py', 'description': 'Create event emitters.', 'signature': 'def create_and_add_event_emitters('}</s>{'name': 'HubitatEventEmitter@custom_components/hubitat/device.py', 'description': 'An event emitter related to a Hubitat device.', 'base_classes...
1
{'name': 'IMAP._fetch_emails_info@imapy/imap.py', 'description': 'Fetches email info from server and returns as parsed email\nobjects', 'signature': 'def _fetch_emails_info(self, email_uids: List[str]) -> List[EmailMessage]:'}</s>{'name': 'utf7_to_unicode@imapy/utils.py', 'description': 'Convert string in utf-7 to unic...
0
{'name': 'CustomMainWidget.runTheGame@src/gui/main_widget.py', 'description': 'Runs the game', 'signature': 'def runTheGame(self):'}</s>{'name': 'removeDirectory@src/util/util.py', 'description': 'DOCSTRING', 'code': 'def removeDirectory(directory: str) -> None:\n def getWriteAccess(func: Callable, directory: str, e...
0
{'name': 'numpy@examples/python/ggml/utils.py', 'description': "Convert a ggml tensor to a numpy array.\nIf the tensor isn't quantized, the returned numpy array will be a view over its data.\n\nIf it is quantized (and allow_copy is True), the copy will involve dequantization and the returned array will\nbe a copy of th...
0
{'name': 'UnpackTag@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/wire_format.py', 'description': 'The inverse of PackTag(). Given an unsigned 32-bit number,\nreturns a (field_number, wire_type) tuple.', 'signature': 'def UnpackTag(tag):'}</s>_WIRETYPE_MAX = 5
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': 'cmdline_parser@src/tools/scripts/lofreq2_bias.py', 'description': 'Returns an argparse instance\n ', 'signature': 'def cmdline_parser():'}</s>LOG = logging.getLogger("")
0
{'name': '_get_comm_manager@src/sos_notebook/kernel.py', 'description': 'Create a new CommManager.', 'signature': 'def _get_comm_manager(*args, **kwargs):'}</s>{'name': 'make_transient_msg@src/sos_notebook/kernel.py', 'description': 'DOCSTRING', 'code': 'def make_transient_msg(msg_type, content):\n if msg_type == \'...
0
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_RESIZE_C...
0
{'name': 'preprocess_img@tools/train_with_placeholder.py', 'description': ':param img_plac: [H, W, 3] uint 8 img. In RGB.\n:param gtbox_plac: shape of [-1, 5]. [xmin, ymin, xmax, ymax, label]\n:return:', 'signature': 'def preprocess_img(img_plac, gtbox_plac):'}</s>{'name': 'train@tools/train_with_placeholder.py', 'desc...
0
{'name': 'API.lamps@pymyq/api.py', 'description': 'Return only those devices that are lamps.', 'signature': 'def lamps(self) -> Dict[str, MyQLamp]:'}</s>OAUTH_REDIRECT_URI = "com.myqops://ios"
0
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam...
0
{'name': 'Client._download@src/gdc_client/parcel/client.py', 'description': 'Start ``self.n_procs`` to download the file.\n\n:params str file_id:\n String containing the id of the entity to download', 'signature': 'def _download(self, nprocs, stream):'}</s>{'name': 'calculate_segments@src/gdc_client/parcel/utils.py'...
0
{'name': 'build_model@chapter08-seq2seq-attn/transformer.py', 'description': 'Build the full transformer model', 'signature': 'def build_model(source_vocabulary: int,'}</s>{'name': 'RandomDataset@chapter08-seq2seq-attn/transformer.py', 'description': 'Random data copy dataset', 'base_classes': ['torch.utils.data.Datase...
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': 'parse_args@sstmap/scripts/run_hsa.py', 'description': 'Parse the command-line arguments and check if input args are valid.\n\nReturns\n-------\nargs : argparse.Namespace\n The namespace containing the arguments', 'signature': 'def parse_args():'}</s>{'name': 'main@sstmap/scripts/run_hsa.py', 'description':...
0
{'name': 'HarosAnalyseRunner._load_history@haros/haros.py', 'description': "Load analyis history from database file\nand add it to self.database.history, append the previously\n'current' analysis report to history.", 'signature': 'def _load_history(self):'}</s>{'name': 'HarosExportRunner@haros/haros.py', 'description':...
0
{'name': 'check_pypi@carml/cli.py', 'description': 'Check a PyPI package hash across multiple circuits.', 'signature': 'def check_pypi(cfg, package, revision):'}</s>{'name': '_PasteBinHTTPChannel@carml/carml_pastebin.py', 'description': 'DOCSTRING', 'base_classes': ['HTTPChannel'], 'methods': [{'name': '_PasteBinHTTPCh...
0
{'name': 'Annotation.calc_cl_bytes@wfdb/io/annotation.py', 'description': 'Calculate the bytes written to the annotation file for the\ncustom_labels field.\n\nParameters\n----------\nN/A\n\nReturns\n-------\nlist, ndarray\n All of the bytes to be written to the annotation file.', 'signature': 'def calc_cl_bytes(self...
0
{'name': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>OP_NIP = CScriptOp(0x77)
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': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig...
0
{'name': 'race_get_background_sf@goneng.py', 'description': "返回羁绊背景图片地址,以及羁绊图标'\n:param race: race数据\n:param race_id: 需要查询的id\n:param s: 羁绊数量\n:param sftx: 是否天选\n:return:返回3个数据 背景图,图标,race数据 返回None表示没达成", 'signature': 'def race_get_background_sf(race, race_id, s, sftx=False):'}</s>Path_job = "data/job/"
0
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>{'name': 'ObservableFlag@robopianist/viewer/util.py', 'description': 'Observable boolean flag.\n\nThe QuietState provides necessary ...
1
{'name': 'MultispeakerDictionaryMixin.dictionary_setup@montreal_forced_aligner/dictionary/multispeaker.py', 'description': 'Set up the dictionary for processing', 'signature': 'def dictionary_setup(self) -> Tuple[typing.Set[str], collections.Counter]:'}</s>{'name': 'MultispeakerDictionaryMixin@montreal_forced_aligner/d...
1
{'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_pathproperty_...
0
{'name': 'ExchangeRateDynamics._parse@pycbrf/rates/dynamics.py', 'description': 'Parse raw XML strings with rate dynamics to the dict of ExchangeRate', 'signature': 'def _parse(cls, data: bytes, currency: Currency, *, locale_en: bool = False) -> Dict[datetime, ExchangeRate]:'}</s>{'name': 'FormatMixin@pycbrf/utils.py',...
0
{'name': 'git_push_if_needed@src/oca_github_bot/github.py', 'description': 'Push current HEAD to remote branch.\n\nReturn True if push succeeded, False if there was nothing to push.\nRaises a celery Retry exception in case of non-fast-forward push.', 'signature': 'def git_push_if_needed(remote, branch, cwd=None):'}</s>...
0
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>LOG_INFO = 6
0
{'name': 'extract_nodes@mako/ext/babelplugin.py', 'description': "Extract messages from Mako's lexer node objects\n\n:param nodes: an iterable of Mako parsetree.Node objects to extract from\n:param keywords: a list of keywords (i.e. function names) that should be\n recognized as translation functions\n:...
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_ikresult_succ...
0
{'name': 'start_client@python/dglke/kvclient.py', 'description': 'Start kvclient for training\n ', 'signature': 'def start_client(args):'}</s>{'name': 'get_partition_dataset@python/dglke/dataloader/KGDataset.py', 'description': 'DOCSTRING', 'code': "def get_partition_dataset(data_path, data_name, part_id):\n part...
1
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': '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': '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>resource_stream = None
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_c@tests/models/weng_lin/test_thurstone_mosteller_full.py', 'description': 'Ensure the c function from Thurstone-Mosteller Full Pairing works as expected.', 'signature': 'def test_c() -> None:'}</s>{'name': 'test_predict_5p_impostor@tests/models/weng_lin/test_thurstone_mosteller_full.py', 'description': '...
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': 'PerfectModelEnsemble._compute_climatology@src/climpred/classes.py', 'description': "Verify a climatology forecast.\n\nArgs:\n metric: Metric to apply for verification, see `metrics <../metrics.html>`_\n comparison: How to compare the climatology against itself, see\n `comparisons <../comparisons....
0
{'name': 'TVCaptionDataset._load_indexed_video_feature@baselines/multimodal_transformer/transformer/tvc_dataset.py', 'description': '[CLS], [VID], ..., [VID], [SEP], [PAD], ..., [PAD],\nAll non-PAD tokens are valid, will have a mask value of 1.\nReturns:\n feat is padded to length of (self.max_v_len + self.max_cap_l...
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>_doc = "A group netcdf file containing the model diagnostics (volume, thickness, velocity...) along the flowlines (thus much heavier).Netcdf groups =...
0
{'name': '_clean_up_temporary_files@slim/datasets/download_and_convert_mnist.py', 'description': 'Removes temporary files used to create the dataset.\n\nArgs:\n dataset_dir: The directory where the temporary files are stored.', 'signature': 'def _clean_up_temporary_files(dataset_dir):'}</s>_TEST_LABELS_FILENAME = "t10...
1
{'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.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': 'PTraveltime@postprocessing/science/compute_isochrones.py', 'description': 'Picks the P-wave arrival. This function is only suited for synthetic data with negligible noise', 'signature': 'def PTraveltime(receiverIndex, trigger=0.01):'}</s>dtSurface = surfaceXdmf.ReadTimeStep()
1
{'name': 'basic_stats@osmnx/stats.py', 'description': "Calculate basic descriptive geometric and topological measures of a graph.\n\nDensity measures are only calculated if `area` is provided and clean\nintersection measures are only calculated if `clean_int_tol` is provided.\n\nParameters\n----------\nG\n Input gra...
0
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>{'name': 'CacheList@shingetsu/cache.py', 'description': 'All cache.', 'base_classes': ['list'], 'methods': [{'name': 'CacheList.__init__@shingetsu/cach...
0
{'name': 'Herbie.index_as_dataframe@herbie/core.py', 'description': 'Read and cache the full index file.', 'signature': 'def index_as_dataframe(self) -> pd.DataFrame:'}</s>log = logging.getLogger(__name__)
1
{'name': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>Int64Encoder = _SimpleEncoder( wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize)
0
{'name': 'Data.__init__@verif/data.py', 'description': "Arguments:\ninputs A list of verif.input\ntimes A numpy array of times. Discard data for all other times\ndates A numpy array of dates. Only allow times that occur on\n these dates (but alllow any hour of the day).\ntods ...
0
{'name': 'isData@src/util/util.py', 'description': 'Checks if given name represents correct mod folder or not', 'signature': 'def isData(name):'}</s>{'name': 'getConfigFolderName@src/util/util.py', 'description': 'DOCSTRING', 'code': 'def getConfigFolderName() -> str:\n if platform == "linux" or platform == "darwin"...
0
{'name': 'add_children@parenting.py', 'description': 'Adds parent-child relationships to sequences\nArguments:\n parent_sequence: VSE Sequence to set as the parent\n child_sequences: List of VSE Sequence objects to set as children', 'signature': 'def add_children(parent_sequence, child_sequences):'}</s>{'name': '...
0
{'name': 'Copyleaks.set_api_uri@copyleaks/copyleaks.py', 'description': 'Set the API server URI.\n\nParameters:\n uri: string.', 'signature': 'def set_api_uri(uri):'}</s>{'name': 'RateLimitError@copyleaks/exceptions/rate_limit_error.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name':...
0
{'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': 'get_hostname_from_ip_addr@core/friendly_organizer.py', 'description': 'Returns the hostname associated...
1
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_FMADD_S = 100663423
0
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n...
0
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>wallet_scan_3 = "de tu wallet."
0
{'name': 'repl_repr_utt@src/runners/fhvae_runner.py', 'description': 'modify the representations of selected labels\nfeat_rspec set to test_feat_rspec by default\nlabel for mod_label_in is repr_label (str)', 'signature': 'def repl_repr_utt('}</s>{'name': '_est_mu2@src/runners/fhvae_runner.py', 'description': 'heuristic...
0
{'name': 'TestAdminTreeList.test_result_tree_list_escapes_labels@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree_list_escapes_labels(self, model_with_unicode):'}</s>{'name': 'TestMo...
0
{'name': 'map_async_run_loop@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Blocks until the Pool.map_async completes and the channel completes.\n\n@param future an AsyncResult instance from a Pool.map_async() call.\n\n@param channel_map the asyncore dispatch channel map that should be pumped.\nOp...
0
{'name': 'SubProgram._analyze_func@mando/core.py', 'description': 'Analyze the given function, merging default arguments, overridden\narguments (with @arg) and parameters extracted from the docstring.\n\n:param func: The function to analyze.\n:param doc_params: Parameters extracted from docstring.', 'signature': 'def _...
0
{'name': 'suggest_name_as_special_case@didyoumean/didyoumean_internal.py', 'description': 'Suggest that name could be handled in a special way.', 'signature': 'def suggest_name_as_special_case(name):'}</s>{'name': 'suggest_outside_func_error@didyoumean/didyoumean_internal.py', 'description': 'Get suggestions in case of...
0
{'name': 'AttachResumeTestCase.process_attach_continue_interrupt_detach@llvm-12.0.0-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py', 'description': 'Test attach/continue/interrupt/detach', 'signature': 'def process_attach_continue_interrupt_detach(self):'}</s>{'name': 'skipIfDarwinSimulator@ll...
0
{'name': 'IgmpSnooper._do_report@multiple/ilib.py', 'description': 'the process when the snooper received a REPORT message.', 'signature': 'def _do_report(self, report, in_port, msg):'}</s>{'name': 'EventPacketIn@multiple/ilib.py', 'description': 'a PacketIn event class using except IGMP.', 'base_classes': ['event.Even...
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': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'p_additive_expression@ctypesgen/parser/cgrammar.py', 'description': 'additive_expression : multiplicative_expression\n| add...
0
{'name': 'numpy@examples/python/ggml/utils.py', 'description': "Convert a ggml tensor to a numpy array.\nIf the tensor isn't quantized, the returned numpy array will be a view over its data.\n\nIf it is quantized (and allow_copy is True), the copy will involve dequantization and the returned array will\nbe a copy of th...
0
{'name': 'train@examples/natural_language/transformers/retrain_bert.py', 'description': 'A function that re-trains BERT for sentiment analysis.', 'signature': 'def train(argv=None):'}</s>{'name': '_set_config@examples/natural_language/transformers/retrain_bert.py', 'description': 'A helper function to set global option...
1
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme...
0
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'get_firstday_of_month@spider/utils/tools.py', 'description': '\'\'\ndate format = "YYYY-MM-DD"', 'code': 'def get_firstday_of_month(date):\n """\'\'\n date format = "YYYY-MM-DD"\n """\n\n year, month,...
0
{'name': 'rdheader@wfdb/io/record.py', 'description': "Read a WFDB header file and return a `Record` or `MultiRecord`\nobject with the record descriptors as attributes.\n\nParameters\n----------\nrecord_name : str\n The name of the WFDB record to be read, without any file\n extensions. If the argument contains an...
1
{'name': 'euler_from_quaternion@utils/transformations.py', 'description': 'Return Euler angles from quaternion for specified axis sequence.\n\n>>> angles = euler_from_quaternion([0.99810947, 0.06146124, 0, 0])\n>>> numpy.allclose(angles, [0.123, 0, 0])\nTrue', 'signature': "def euler_from_quaternion(quaternion, axes='s...
0
{'name': 'IB.reqGlobalCancel@ib_insync/ib.py', 'description': 'Cancel all active trades including those placed by other\nclients or TWS/IB gateway.', 'signature': 'def reqGlobalCancel(self):'}</s>{'name': 'WshEventData@ib_insync/objects.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []}
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': 'createFamilies@python/app/mob_loc.py', 'description': 'creates families', 'signature': 'def createFamilies(config, residenceLocList, numWorkLoc, numSchoolLoc, personTypes):'}</s>personTypes = ["working", "homeMaker", "student"]
1
{'name': 'configured_instances@custom_components/mikrotik_router/config_flow.py', 'description': 'Return a set of configured instances.', 'signature': 'def configured_instances(hass):'}</s>CONF_SENSOR_SCRIPTS = "sensor_scripts"
0