text
string
label
int64
{'name': 'Praetorian._validate_jwt_data@flask_praetorian/base.py', 'description': 'Validates that the data for a jwt token is valid', 'signature': 'def _validate_jwt_data(self, data, access_type):'}</s>{'name': 'LegacyScheme@flask_praetorian/exceptions.py', 'description': 'The processed hash is using an outdated scheme...
0
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>CONF_VOLUME_SCALE = "volume_scale"
0
{'name': 'receive_offline_message@bauhinia_push.py', 'description': '等待100ms,批量发送推送', 'signature': 'def receive_offline_message():'}</s>NAME_CACHE_EXPIRE = 5*60
0
{'name': 'thanksgiving@src/convertdate/holidays.py', 'description': "In the United States, Thanksgiving is celebrated on the last Thursday\nof November. In Canada, on the second Monday of October.\n\nArguments:\n year (int): Gregorian year\n country (str): either ``'usa'`` (default) or ``'canada'``", 'signature':...
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.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': 'convert_2bpp_to_png@tools/gfx/gfx.py', 'description': 'Convert a planar 2bpp graphic to png.', 'signature': 'def convert_2bpp_to_png(image, **kwargs):'}</s>{'name': 'export_2bpp_to_png@tools/gfx/gfx.py', 'description': 'DOCSTRING', 'code': "def export_2bpp_to_png(filein, fileout=None, write_properties=False, ...
0
{'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>CSR_PMPCFG3 = 931
0
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>server_names = { 'cgi': CGIServer, 'flup': FlupFCGIServer, 'wsgiref': WSGIRefServer, 'waitress': WaitressServer,...
0
{'name': 'set_render_settings@robowflex_visualization/old/blender_render_scene.py', 'description': 'Settings for rendering. See https://docs.blender.org/api/current/bpy.types.RenderSettings.html for details.\n\n ', 'signature': 'def set_render_settings(settings):'}</s>{'name': 'add_light@robowflex_visualization/old/...
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': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PFUDPS_NO_TRAFFIC = 0
0
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>{'name': 'srh@pymeteo/dynamics.py', 'description': 'Calculates the storm relative helicity in the layer between zbot and ztop\n\n:param _u: U winds (1D vector in z)\n:param _u: V winds (1D vector in z...
0
{'name': '_Printer._FieldToJsonObject@python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>__author__ = "matthewtoia@google.com (Matt Toia)"
0
{'name': 'PreparedRequest.prepare_url@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/models.py', 'description': 'Prepares the given HTTP URL.', 'signature': 'def prepare_url(self, url, params):'}</s>{'name': 'encode_multipart_formdata@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/req...
0
{'name': 'term_to_binary@src/api/python/erlang.py', 'description': 'Encode Python types into Erlang terms in binary data', 'signature': 'def term_to_binary(term, compressed=False):'}</s>_TAG_BINARY_EXT = 109
0
{'name': 'getVersion@WAF/WAF-Enhanced-Replicator/waffun.py', 'description': 'Prints the composite of current version and build date.', 'signature': 'def getVersion():'}</s>{'name': 'usage@WAF/WAF-Enhanced-Replicator/waffun.py', 'description': 'Prints the correct utility usage.', 'code': 'def usage():\n \'\'\'\n P...
0
{'name': 'projection@polytope/polytope.py', 'description': 'Projects a polytope onto lower dimensions.\n\nAvailable solvers are:\n\n - "esp": Equality Set Projection;\n - "exthull": vertex projection;\n - "fm": Fourier-Motzkin projection;\n - "iterhull": iterative hull method.\n\nExample:\nTo project the polytope `...
0
{'name': 'run_segment_jit_in_chunks_notraceable@python/jax/carfac.py', 'description': "Runs the jitted segment runner in segment groups.\n\nRunning CARFAC on an audio segment this way is most useful when running\nCARFAC-JAX on a number of audio segments that have varying lengths. The\nimplementation is completed by exe...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_SUB_DUR_HIGHWATER = 775
0
{'name': 'parse_numbers@verif/util.py', 'description': 'Parses numbers from an input string. Recognizes MATLAB syntax, such as:\n3 single numbers\n3,4,5 list of numbers\n3:5 number range\n3:2:12 number range with a step size of 2\n3,4:6,2:5:9,6 combinations\n\nAborts if the num...
0
{'name': 'main@evaluations.py', 'description': 'Program entrance.', 'signature': 'def main(argv=None): # pylint: disable=unused-argument'}</s>{'name': 'get_model@models/__init__.py', 'description': 'DOCSTRING', 'code': "def get_model(name):\n mod = __import__('models.{}'.format(name), fromlist=[''])\n return get...
0
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>KEY_KP_6 = 326
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQMF_NONE = 0
0
{'name': 'ihc_model_run@python/np/carfac.py', 'description': 'Design and run the inner hair cell model for some input audio.\n\nArgs:\n input_data: Sound data to run through the IHC model.\n fs: The sampling rate (Hz) for the data,\n\nReturns:\n The output after ther IHC model.', 'signature': 'def ihc_model_run(inpu...
0
{'name': 'to_pytorch_type@python/taichi/lang/util.py', 'description': 'Convert taichi data type to its counterpart in torch.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in torch.', 'signature': 'def to_pytorch_type(dt):'}</s>{'name': 'call_internal...
0
{'name': 'parseUrlPath@ide/routes.py', 'description': "This is boiler plate code for a lot of the route handlers.\n\nAll these handlers require a user, but there's also the authenticated user.\n\nInputs:\n theRegExp: A regular expression to evaluate the path\n numGroups: How many groups are in the regexp.\n \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': 'draw_water_mix_ratio@pymeteo/skewt.py', 'description': 'Plot lines of constant water vapor mixing ratio on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates isolines of constant water vapor\nmixing ratio and plots these lines. Values of w calcul...
0
{'name': 'predict_epitopes@vaxrank/epitope_prediction.py', 'description': 'Parameters\n----------\nmhc_predictor : mhctools.BasePredictor\n Object with predict_peptides method\n\nprotein_fragment : MutantProteinFragment\n\npeptide_length : list of int\n Lengths of peptides to make pMHC binding predictions for\n\n...
1
{'name': '_extract_predictions_and_losses@object_detection/legacy/evaluator.py', 'description': 'Constructs tensorflowFolder detection graph and returns output tensors.\n\nArgs:\n model: model to perform predictions with.\n create_input_dict_fn: function to create input tensor dictionaries.\n ignore_groundtruth: whe...
0
{'name': 'process_post@tor/core/posts.py', 'description': 'Process the given Reddit post.\n\nAfter a valid post has been discovered, this handles the formatting\nand posting of those calls as workable jobs to ToR.\n\n:param new_post: Submission object that needs to be posted.\n:param cfg: the config object.\n:return: N...
0
{'name': 'Nxx.get_sql_and_with_clause@diversity.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed in 4 steps.\n1. Get the query for the Distribution of the child Metric.\n2. Keep all indexing/groupby columns unchanged.\n3. For all value columns, order the values in descending order an...
0
{'name': 'SubstrateInterface.query_map@substrateinterface/base.py', 'description': 'Iterates over all key-pairs located at the given module and storage_function. The storage\nitem must be a map.\n\nExample:\n\n```\nresult = substrate.query_map(\'System\', \'Account\', max_results=100)\n\nfor account, account_info in re...
0
{'name': 'entrypoint@emissionsapi/web.py', 'description': 'Entrypoint for running this as a module or from the binary.\nIt starts the Connexion Debug Server. It is not meant to be used for\nproduction, but only during the development.', 'signature': 'def entrypoint():'}</s>{'name': 'RESTParamError@emissionsapi/utils.py...
0
{'name': 'parse_date@emissionsapi/web.py', 'description': 'Function wrapper replacing string date arguments with\ndatetime.datetime\n\n:param keys: keys to be parsed and replaced\n:type keys: list\n:return: wrapper function\n:rtype: func', 'signature': 'def parse_date(*keys):'}</s>{'name': 'get_statistics@emissionsapi/...
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'generate_string_HP@random_search.py', 'description': 'Chooses from one of the choices in `choices`.\n ', 'signature': 'def generate_string_HP(choices):'}</s>DL_MODELS = ['bidir_clstm','fcn', 'unet', 'fcn_crnn', 'mi_clstm', 'unet3d', 'only_clstm_mi']
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': 'ChecksecCommand@gef.py', 'description': 'Che...
0
{'name': 'routsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'name,NAME,begintitle,endtitle\nrname,ctype,rformat\nroutdebugshowvalue', 'signature': 'def routsign2map(rout):'}</s>c2capi_map = {'double': 'NPY_DOUBLE', 'float': 'NPY_FLOAT', 'long_double': 'NPY_DOUBLE',...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_key2@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_key2():\n def as_int(a):\n try:\n return int(a)\n except ValueEr...
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>MQBMHO_STRUC_ID_ARRAY = [b"B", b"M", b"H", b"O"]
0
{'name': 'CalculateCompositionHydrophobicity@PyBioMed/PyProtein/CTD.py', 'description': '###############################################################################################\nA method used for calculating composition descriptors based on Hydrophobicity of\n\nAADs.\n\nUsage:\n\nresult=CalculateCompositionHydr...
0
{'name': '_transform_attrs@vendor/attr/_make.py', 'description': "Transform all `_CountingAttr`s on a class into `Attribute`s.\n\nIf *these* is passed, use that and don't look for them on the class.\n\n*collect_by_mro* is True, collect them in the correct MRO order, otherwise\nuse the old -- incorrect -- order. See #4...
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': 'PreTrainedModel.from_pretrained@source/pytorch_transformers/modeling_utils.py', 'description': "Instantiate a pretrained pytorch model from a pre-trained model configuration.\n\nThe model is set in evaluation mode by default using ``model.eval()`` (Dropout modules are deactivated)\nTo train the model, you sho...
0
{'name': 'Button.__init__@src/python/approxeng/input/__init__.py', 'description': "Create a new Button - this will be done by the controller implementation classes, you shouldn't create your own\nunless you're writing such a class.\n\n:param name:\n A friendly name for the button\n:param key_code:\n The key code ...
0
{'name': 'NanopbGenerator.__run_generator@Firestore/Protos/build_protos.py', 'description': 'Invokes protoc using the nanopb plugin.', 'signature': 'def __run_generator(self, out_dir):'}</s>{'name': 'protoc_command@Firestore/Protos/build_protos.py', 'description': 'Composes the initial protoc command-line including its...
1
{'name': 'TestVimModule.test_manual_section_ordering@tests/test_module.py', 'description': 'Sections should be ordered according to explicitly configured order.', 'signature': 'def test_manual_section_ordering(self):'}</s>{'name': 'TypeConflict@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['ParseError'...
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_DELETE_SERVICE = 152
0
{'name': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.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 th...
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'ObjCDataFormatterTestCase.plain_data_formatter_commands@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py', 'description': 'Test basic ObjC formatting behavior.', 'signature': 'def plain_data_formatter_commands(self):'}</s>{'name': 'expectedFlakeyF...
0
{'name': 'default_if_empty@yaql/standard_library/queries.py', 'description': ':yaql:defaultIfEmpty\n\nReturns default value if collection is empty.\n\n:signature: collection.defaultIfEmpty(default)\n:receiverArg collection: input collection\n:argType collection: iterable\n:arg default: value to be returned if collectio...
0
{'name': 'VectorWind.__init__@windspharm/iris.py', 'description': "Initialize a VectorWind instance.\n\n**Arguments:**\n\n*u*, *v*\n Zonal and meridional components of the vector wind\n respectively. Both components should be `~iris.cube.Cube`\n instances. The components must have the same dimension\n coord...
1
{'name': 'GTestBreakOnFailureUnitTest.testEnvVar@googletest/test/googletest-break-on-failure-unittest.py', 'description': 'Tests using the GTEST_BREAK_ON_FAILURE environment variable.', 'signature': 'def testEnvVar(self):'}</s>{'name': 'GTestBreakOnFailureUnitTest@googletest/test/googletest-break-on-failure-unittest.py...
1
{'name': 'update_boptest_data@bacnet/BopTestProxy.py', 'description': 'Read the current simulation data from the API and set the object values.', 'signature': 'def update_boptest_data():'}</s>_debug = 0
1
{'name': 'start@server.py', 'description': ' Pulls the parameters from disk\n Instantiate QuestionAnswering class (onefile).\n\n Thus, all models are loaded.\n Help loading the model, then start the server.\n\n CHANGE MAJOR CONFIGS HERE\n:return:', 'signature': 'def start():'}</s>{'name': 'align_id_space...
0
{'name': 'SimpleImputer.fit@datawig/simple_imputer.py', 'description': "Trains and stores imputer model\n\n:param train_df: training data as dataframe\n:param test_df: test data as dataframe; if not provided, a ratio of test_split of the\n training data are used as test data\n:param ctx: List of mxne...
1
{'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': 'ISO3166Utils.short2full@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Convert an ISO 3166-2 country code to the corresponding full name', 'signature': 'def short2full(cls, code):'}</s>{'name': 'locked_file@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'bas...
0
{'name': 'cleanup_conds@panoramix/simplify.py', 'description': 'removes ifs/whiles with conditions that are obviously true\nand replace variables that need to be equal to a constant by that constant', 'signature': 'def cleanup_conds(trace):'}</s>{'name': 'find_mems@panoramix/simplify.py', 'description': 'DOCSTRING', 'c...
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': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'TransfoXLCorpus.from_pretrained@source/pytorch_transformers/tokenization_transfo_xl.py', 'description': 'Instantiate a pre-processed corpus.', 'signature': 'def from_pretrained(cls, pretrained_model_name_or_path, cache_dir=None, *inputs, **kwargs):'}</s>{'name': 'LMMultiFileIterator@source/pytorch_transformer...
0
{'name': 'test_genotypes@cyvcf2/tests/test_reader.py', 'description': '. 1\n./. ./1\n./. 1\n0/1 0\n0 0/1\n ', 'signature': 'def test_genotypes():'}</s>{'name': 'test_set_gts@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_set_gts():\n vcf = VCF(\'{}/test-format-string.vcf\'.format(HER...
0
{'name': 'TestConfigBase.tearDown@test/test_config.py', 'description': 'Test case common fixture teardown.', 'signature': 'def tearDown(self):'}</s>DEFAULT_PARAMETERS = dict([ (k, v['default']) for k, v in CONFIG_OPTIONS.items() ])
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>ICMP_UNREACH_NEEDFRAG = 4
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_LOG_FORCE = 8
0
{'name': 'common_main@tools/warn/warn_common.py', 'description': 'Shared main function for Google3 and non-Google3 versions of warn.py.', 'signature': 'def common_main(use_google3, create_launch_subprocs_fn, classify_warnings_fn,'}</s>{'name': 'find_project_index@tools/warn/warn_common.py', 'description': 'Return the i...
0
{'name': 'GlyphsBuilder._fake_designspace@Lib/glyphsLib/builder/builders.py', 'description': 'Build a fake designspace with the given UFOs as sources, so that all\nbuilder functions can rely on the presence of a designspace.', 'signature': 'def _fake_designspace(self, ufos):'}</s>{'name': 'GlyphData@Lib/glyphsLib/glyph...
0
{'name': 'BisectRunner.get_next@nix_bisect/bisect_runner.py', 'description': 'Computes the next commit to test.\n\nThis takes skip-ranges into account and prioritizes finding the first\ncommit that unbreaks a skip range.\n\nMay add commits for cherry pick. Returns `False` when the bisect is\nfinished.', 'signature': 'd...
0
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
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>GRAPHICS_CUSTOM = 3
0
{'name': 'gen_valid_vectors@contrib/testgen/gen_base58_test_vectors.py', 'description': 'Generate valid test vectors', 'signature': 'def gen_valid_vectors():'}</s>{'name': 'randbool@contrib/testgen/gen_base58_test_vectors.py', 'description': 'Return True with P(p)', 'code': "def randbool(p = 0.5):\n '''Return True w...
0
{'name': 'taproot_construct@test/functional/test_framework/script.py', 'description': 'Construct a tree of Taproot spending conditions\n\npubkey: a 32-byte xonly pubkey for the internal pubkey (bytes)\nscripts: a list of items; each item is either:\n - a (name, CScript or bytes, leaf version) tuple\n - ...
1
{'name': 'VersatileImageFieldBaseTestCase.tearDownClass@tests/tests.py', 'description': 'Delete files made by VersatileImageFields during tests.', 'signature': 'def tearDownClass(cls):'}</s>{'name': 'CroppedImage@versatileimagefield/versatileimagefield.py', 'description': "A SizedImage subclass that creates a 'cropped'...
0
{'name': 'CharacteristicBuffer.readline@_bleio/characteristic_buffer.py', 'description': 'Read a line, ending in a newline character.\n\n:return: the line read', 'signature': 'def readline('}</s>{'name': 'CharacteristicBuffer@_bleio/characteristic_buffer.py', 'description': "Accumulates a Characteristic's incoming valu...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQZFP_VERSION_1 = 1
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': 'downSJ@main.py', 'description': '下载官网的图片数据\n:return:', 'signature': 'def downSJ():'}</s>Path_img = "data/img/"
0
{'name': 'Lexer.default_initialization@sqlparse/lexer.py', 'description': 'Initialize the lexer with default dictionaries.\nUseful if you need to revert custom syntax settings.', 'signature': 'def default_initialization(self):'}</s>KEYWORDS_HQL = { 'EXPLODE': tokens.Keyword, 'DIRECTORY': tokens.Keyword, 'DI...
1
{'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': 'TopologyView.retrieve@moi/views.py', 'description': 'Read information about an individual Topology resource.\n\nThe GET method reads the information of a Topology.', 'signature': 'def retrieve(self, request, *args, **kwargs):'}</s>{'name': 'SNSSAIListSerializer@moi/serializers.py', 'description': 'DOCSTRING',...
0
{'name': 'SystemFilesHome.post@src/backend/api/views/system_views.py', 'description': 'List all files for local home', 'signature': 'def post(self):'}</s>{'name': 'Dummy@src/backend/api/managers/system_manager.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []}
0
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ...
0
{'name': 'ALAuto.__init__@ALAuto.py', 'description': 'Initializes the primary azurlane-auto instance with the passed in\nConfig instance; creates the Stats instance and resets scheduled sleep\ntimers.\n\nArgs:\n config (Config): azurlane-auto Config instance', 'signature': 'def __init__(self, config):'}</s>{'name': ...
1
{'name': 'get_input@rpcq/_utils.py', 'description': 'Get positional or keyword arguments from JSON RPC params\n\n:param params: Parameters passed through JSON RPC\n:return: args, kwargs', 'signature': 'def get_input(params: Union[dict, list]) -> Tuple[list, dict]:'}</s>{'name': 'RandomizedBenchmarkingResponse@rpcq/mess...
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': 'NormalizedConfiguration.apply_defaults_in@config/parse.py', 'description': 'Apply defaults and produce a result suitible for writing the generated files. ', 'signature': 'def apply_defaults_in(self, branch_context, btb_context, prefetcher_context, replacement_context, verbose=False):'}</s>{'name': 'yield_from...
0
{'name': 'main@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test ...
0
{'name': 'init@gvfindtools.templates/gvfindtoolsdeploy.py', 'description': 'Modify the modules variables by adding a path prefix', 'signature': 'def init(pathPrefix):'}</s>llvmBinDir = None
1
{'name': 'Matrix.cast@python/taichi/lang/matrix.py', 'description': 'Cast the matrix elements to a specified data type.\n\nArgs:\n dtype (:mod:`~taichi.types.primitive_types`): data type of the\n returned matrix.\n\nReturns:\n :class:`taichi.Matrix`: A new matrix with the specified data dtype.\n\nExample::...
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': 'get_user@backend/app/routers/user.py', 'description': "Endpoint to get a user's info by id.\n\nWarnings:\n Need security on this endpoint.", 'signature': 'def get_user(user_id: int, db: Session = Depends(get_db)):'}</s>{'name': 'UpdateUser@backend/app/schemas.py', 'description': 'DOCSTRING', 'base_classes'...
0
{'name': 'Diagram.from_pyzx@discopy/quantum/zx.py', 'description': 'Takes a :class:`pyzx.Graph` returns a :class:`zx.Diagram`.\n\nExamples\n--------\n\n>>> bialgebra = Z(1, 2, .25) @ Z(1, 2, .75)\\\n... >> Id(1) @ SWAP @ Id(1) >> X(2, 1, .5) @ X(2, 1, .5)\n>>> graph = bialgebra.to_pyzx()\n>>> assert Diagram.from_py...
0
{'name': 'lift_blocks@maf/impl/naiveLiftUp.py', 'description': 'Lift the given blocks file to a new reference using the given pairwise alignments file.\n\nThe pairwise alignments must point from the old reference to the new.', 'signature': 'def lift_blocks(alignments, blocks, other_genome, output):'}</s>{'name': 'merge...
0
{'name': 'ParallelCompile.function@extern/pybind/pybind11/setup_helpers.py', 'description': 'Builds a function object usable as distutils.ccompiler.CCompiler.compile.', 'signature': 'def function(self) -> CCompilerMethod:'}</s>tmp_chdir_lock = threading.Lock()
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': 'make_dataset@snape/make_dataset.py', 'description': 'Creates a machine learning dataset based on command line arguments passed\n\n:param config: a configuration dictionary, or None if called from the command line\n:return: None', 'signature': 'def make_dataset(config=None):'}</s>{'name': 'make_star_schema@sna...
1