text string | label int64 |
|---|---|
{'name': 'nestedExpr@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing expres... | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PF_OP_GT = 6 | 0 |
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>... | 0 |
{'name': 'PartitionLog.delete@pg_partitioning/models.py', 'description': 'When the instance is deleted, the partition corresponding to it will also be deleted.', 'signature': 'def delete(self, using=None, keep_parents=False):'}</s>SQL_ATTACH_TIME_RANGE_PARTITION = "ALTER TABLE IF EXISTS %(parent)s ATTACH PARTITION %(ch... | 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': 'noncritical@PFERD/crawl/crawler.py', 'description': "Catches and logs a few noncritical exceptions occurring during the function\ncall, mainly CrawlWarning.\n\nIf any exception occurs during the function call, the crawler's error_free\nvariable is set to False. This includes noncritical exceptions.\n\nWarning... | 0 |
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>{'name': '_DoubleDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a doubl... | 0 |
{'name': 'GTestFilterUnitTest.testDefaultBehavior@googletest/test/googletest-filter-unittest.py', 'description': 'Tests the behavior of not specifying the filter.', 'signature': 'def testDefaultBehavior(self):'}</s>CAN_PASS_EMPTY_ENV = False | 0 |
{'name': 'Metar.runway_visual_range@metar/Metar.py', 'description': 'Return a textual description of the runway visual range.', 'signature': 'def runway_visual_range( self, units=None ):'}</s>LIGHTNING_TYPE = { "IC":"intracloud",
"CC":"cloud-to-cloud",
"CG":"cloud-to-ground",
... | 0 |
{'name': 'BitcoinTestFramework.setup_chain@test/functional/test_framework/test_framework.py', 'description': 'Override this method to customize blockchain setup', 'signature': 'def setup_chain(self):'}</s>{'name': 'set_node_times@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def set_node... | 0 |
{'name': 'parse_python_interpreter@onlinejudge_command/subcommand/submit.py', 'description': ':param description: must be for Python', 'signature': 'def parse_python_interpreter(description: str) -> str:'}</s>{'name': '_PrettyTokenType@onlinejudge_command/pretty_printers.py', 'description': 'DOCSTRING', 'base_classes':... | 0 |
{'name': 'compute_sparse_agent_cell_f@self_organising_systems/biomakerca/env_logic.py', 'description': "Compute a sparse agent cell_f.\n\nThis works for ExclusiveOp, ParallelOp and ReproduceOp.\nNote that the cell_f *requires* to have the proper argument name 'programs',\nso this is an informal interface.\n\nif it is u... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_CHINIT_TRACE_TABLE_SIZE = 118 | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'ProbeObj@src/api/python/z3/z3types.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.c_void_p'], 'method... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRO_NAN = 2 | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_NOT_OPEN = 6125 | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>_EncodeVarint = _VarintEncoder() | 0 |
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/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 fi... | 0 |
{'name': 'BaseCommand.main@SneakerBot 2019/venv/lib/python3.7/site-packages/click/core.py', 'description': 'This is the way to invoke a script with all the bells and\nwhistles as a command line application. This will always terminate\nthe application after a call. If this is not wanted, ``SystemExit``\nneeds to be ca... | 0 |
{'name': 'RegistrationRequest.__init__@py/u2f/u2f.py', 'description': 'Creates an APDU packet for request.', 'signature': 'def __init__(self, app_id: str, bogus: str = ""):'}</s>{'name': 'RegistrationRequest@py/u2f/u2f.py', 'description': 'Container for request', 'base_classes': [], 'methods': [{'name': 'RegistrationRe... | 1 |
{'name': 'left_hue@library/dot3k/backlight.py', 'description': 'Set the left backlight to supplied hue\n\n:param hue: hue value between 0.0 and 1.0', 'signature': 'def left_hue(hue):'}</s>{'name': 'hue_to_rgb@library/dot3k/backlight.py', 'description': 'Convert a hue to RGB brightness values\n\n:param hue: hue value be... | 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': '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': 'Bootstrap.compute_children_sql@operations.py', 'description': 'Compute the children on resampled data in SQL.', 'signature': 'def compute_children_sql('}</s>SAFE_DIVIDE = "IF(({denom}) = 0, NULL, ({numer}) / ({denom}))" | 0 |
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt... | 0 |
{'name': 'sum_string@pytils/numeral.py', 'description': "Get sum in words\n\n@param amount: amount of objects\n@type amount: C{integer types}\n\n@param gender: gender of object (MALE, FEMALE or NEUTER)\n@type gender: C{int}\n\n@param items: variants of object in three forms:\n for one object, for two objects and for... | 0 |
{'name': 'SessionRedirectMixin.resolve_redirects@src/requests/sessions.py', 'description': 'Receives a Response. Returns a generator of Responses or Requests.', 'signature': 'def resolve_redirects('}</s>{'name': 'RequestsCookieJar@src/requests/cookies.py', 'description': "Compatibility class; is a http.cookiejar.Cookie... | 0 |
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>{'name': 'es@pymeteo/thermo.py', 'description': 'DOCSTRING', 'code': 'def es(T):\n\t#return 611.2 * np.exp((Lv(T)/Rv)*((1./T00)-(1./T)))\n return 611.2 * np.exp(17.67*(T-T00)/(T-29.65))'} | 0 |
{'name': 'consecutive_nights@camping.py', 'description': 'Returns a list of dates from which you can start that have\nenough consecutive nights.\n\nIf there is one or more entries in this list, there is at least one\ndate range for this site that is available.', 'signature': 'def consecutive_nights(available, nights):'... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_Printer@python/google/protobuf/text_format.py', 'description': 'Text format printer for protocol message.', 'base_clas... | 0 |
{'name': 'dist_factory@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Return a dist_factory for a path_item and entry', 'signature': 'def dist_factory(path_item, entry, only):'}</s>{'name': 'get_provider@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Return an IResourceProvider for the n... | 0 |
{'name': '_is_running_tests@src/supporting-files/txn_safety.py', 'description': "An imperfect check for whether we're in a test: we see *_test.py.", 'signature': 'def _is_running_tests():'}</s>{'name': 'written_once_model@src/supporting-files/txn_safety.py', 'description': 'Decorator that says that a model is unchanged... | 0 |
{'name': 'render_quoted_form@hy/core/result_macros.py', 'description': 'Render a quoted form as a new hy Expression.\n\n`level` is the level of quasiquoting of the current form. We can\nunquote if level is 0.\n\nReturns a two-tuple (`expression`, `splice`).\n\nThe `splice` return value is used to mark `unquote-splice`d... | 1 |
{'name': 'AutoUplift._generate_data_depend_uplift_candidates@lightautoml/addons/uplift/base.py', 'description': "Generate uplift candidates.\n\nGenerate new uplift candidates which depend from data.\n\nIf there is imbalance in treatment , adds the simple linear model for smaller stage.\n\nArgs:\n data: Dataset to tr... | 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>VALID_VARIABLE = "Got a v... | 0 |
{'name': 'CEModule.forward@model/model.py', 'description': 'Compute joint embeddings and, if requested, a confusion matrix between\nvideo and text representations in the minibatch.\n\nNotation: B = batch size, M = number of modalities', 'signature': 'def forward(self, text, experts, ind, raw_captions):'}</s>{'name': 'M... | 0 |
{'name': 'View._dbscan@picasso/gui/render.py', 'description': 'Performs DBSCAN in a given channel with user-defined parameters\nand saves the result.\n\nParameters\n----------\nchannel : int\n Index of the channel were clustering is performed\npath : str\n Path to save clustered localizations\nradius : float\n ... | 1 |
{'name': '_SetFilters@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Sets the module\'s error-message filters.\n\nThese filters are applied when deciding whether to emit a given\nerror message.\n\nArgs:\n filters: A string of comma-separated filters (eg "whitespace/indent").\n... | 0 |
{'name': 'release_notes@tasks.py', 'description': "Generates release notes based on issues in the issue tracker.\n\nArgs:\n version: Generate release notes for this version. If not given,\n generated them for the current version.\n username: GitHub username.\n password: GitHub password.\n writ... | 1 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': '_uniq_ints_to_tpattern@src/python_scripts/afnipy/afni_util.py', '... | 0 |
{'name': 'colorize@npbg/utils/train.py', 'description': "A utility function for Torch/Numpy that maps a grayscale image to a matplotlib\ncolormap for use with TensorBoard image summaries.\nBy default it will normalize the input value to the range 0..1 before mapping\nto a grayscale colormap.\nArguments:\n - value: 2D ... | 0 |
{'name': 'wind_deg_to_uv@pymeteo/dynamics.py', 'description': 'Converts direction and speed into u,v wind\n\n:param direction: wind direction (mathmatical angle)\n:param speed: wind magnitude\n:returns: u and v wind components', 'signature': 'def wind_deg_to_uv(direction, speed):'}</s>{'name': 'linear@pymeteo/interp.py... | 0 |
{'name': 'MergeDirectoryTask._handle_remote_item@onedrive_client/od_tasks/merge_dir.py', 'description': ':param onedrivesdk.model.item.Item remote_item:\n:param [str] all_local_items:\n:param dict(str, onedrive_client.od_repo.ItemRecord) all_records:', 'signature': 'def _handle_remote_item(self, remote_item, all_local_... | 0 |
{'name': 'LessParser.__init__@lesscpy/lessc/parser.py', 'description': 'Parser object\n\nKwargs:\n lex_optimize (bool): Optimize lexer\n yacc_optimize (bool): Optimize parser\n tabfile (str): Yacc tab filename\n yacc_debug (bool): yacc debug mode\n scope (Scope): Inherited scope\n outputdir (str): Out... | 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': '_genUniqueModuleName@Cheetah/Template.py', 'description': 'The calling code is responsible for concurrency locking.\n ', 'signature': 'def _genUniqueModuleName(baseModuleName):'}</s>{'name': 'TemplatePreprocessor@Cheetah/Template.py', 'description': 'This is used with the preprocessors argument to Template... | 0 |
{'name': 'IPDatabase.generate_vivado_inc_dirs@ipstools/ipstools/IPDatabase.py', 'description': "Exports the Vivado `inc_dirs` script.\n\n :param filename: Output script file name.\n :type filename: str\n\n :param domain: If not None, the domain to be targeting for script generation... | 0 |
{'name': 'format_filename@nhentai/utils.py', 'description': 'It used to be a whitelist approach allowed only alphabet and a part of symbols.\nbut most doujinshi\'s names include Japanese 2-byte characters and these was rejected.\nso it is using blacklist approach now.\nif filename include forbidden characters (\'/:,;*?... | 0 |
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>{'name': 'round_td@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Round the supplied timede... | 0 |
{'name': 'loadSwagger@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the swagger definitions for APIs\n:return: None', 'signature': 'def loadSwagger():'}</s>store_application_endpoint = "" | 0 |
{'name': 'TypeErrorTests.test_keyword_sort_cmpkey@didyoumean/didyoumean_sugg_tests.py', 'description': 'Sort and sorted functions have a cmp/key param dep. on the vers.', 'signature': 'def test_keyword_sort_cmpkey(self):'}</s>{'name': 'interpreter_in@didyoumean/didyoumean_sugg_tests.py', 'description': 'Test if current... | 0 |
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi... | 0 |
{'name': 'PBES2.encrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': "Encrypt a piece of data using a passphrase and *PBES2*.\n\n:Parameters:\n data : byte string\n The piece of data to encrypt.\n passphrase : byte string\n The passphrase to use for encrypting the data.\n ... | 0 |
{'name': 'height_width@object_detection/core/box_list_ops.py', 'description': 'Computes height and width of boxes in boxlist.\n\nArgs:\n boxlist: BoxList holding N boxes\n scope: name scope.\n\nReturns:\n Height: A tensor with shape [N] representing box heights.\n Width: A tensor with shape [N] representing box wid... | 0 |
{'name': 'trim@ytmdl/core.py', 'description': 'Trim the song of unwanted noise by making calls to the\ninternal functions.', 'signature': 'def trim(name: str, args) -> None:'}</s>{'name': 'is_yt_url@ytmdl/yt.py', 'description': 'Check if the passed URL is a valid youtube URL.', 'code': 'def is_yt_url(url):\n """\n ... | 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': 'TraceMallocRetBreakpoint@gef.py', 'descripti... | 0 |
{'name': 'getSegmentation@DigiPathAI/Segmentation.py', 'description': "args:\n img_path: WSI tiff image path (str)\n patch_size: patch size for inference (int)\n stride_size: stride to skip during segmentation (int)\n batch_size: batch_size during inference (int)\n quick: if True; fin... | 0 |
{'name': 'test_aspls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not occur from aspls weighting.', 'signature': 'def test_aspls_overflow(one_d, asymmetric_coef):'}</s>{'name': 'test_arpls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not oc... | 0 |
{'name': 'left_hue@library/dot3k/backlight.py', 'description': 'Set the left backlight to supplied hue\n\n:param hue: hue value between 0.0 and 1.0', 'signature': 'def left_hue(hue):'}</s>{'name': 'left_rgb@library/dot3k/backlight.py', 'description': 'Set the left backlight to supplied r, g, b colour\n\n:param r: red v... | 1 |
{'name': 'get_info@venv/Lib/site-packages/numpy/distutils/system_info.py', 'description': 'notfound_action:\n 0 - do nothing\n 1 - display warning message\n 2 - raise error', 'signature': 'def get_info(name, notfound_action=0):'}</s>{'name': 'atlas_3_10_blas_info@venv/Lib/site-packages/numpy/distutils/system_info.py... | 1 |
{'name': 'CalculateNumRotatableBonds@scopy/ScoDruglikeness/molproperty.py', 'description': 'Calculation of the number of rotatableBonds\n--->nRot\n\nNote:\n In some situaion Amide C-N bonds are not considered \n because of their high rotational energy barrier\n\n:param mol: molecule\n:type mol: rdkit.Chem.rdchem.... | 0 |
{'name': 'euclidean_distance@examples/clustering/example_clustering_3.py', 'description': 'Calculate the euclidean distance between X and Y. It accepts:\n:X should be a matrix of size (N, f) where N is the number of samples and f is the number of features for each sample.\n:Y should be of size f. In other words, it is ... | 0 |
{'name': 'Header.FillOut@vimdoc/docline.py', 'description': 'Expands the usage line with the given arguments.', 'signature': 'def FillOut(self, name, sep, extra_reqs, extra_opts):'}</s>inline_directive = re.compile(r'@([a-zA-Z_][a-zA-Z0-9_]*)(?:\(([^\s)]+)\))?') | 0 |
{'name': 'from_jd@src/convertdate/positivist.py', 'description': 'Convert a Julian day count to Positivist date.', 'signature': 'def from_jd(jd):'}</s>LEAP_CYCLE_YEARS = 4 | 1 |
{'name': 'update_travis_deploy_password@travis_pypi_setup.py', 'description': 'Put `encrypted_password` into the deploy section of .travis.yml.', 'signature': 'def update_travis_deploy_password(encrypted_password):'}</s>{'name': 'fetch_public_key@travis_pypi_setup.py', 'description': 'Download RSA public key Travis wil... | 0 |
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou... | 0 |
{'name': 'LessParser.p_property_decl_arguments@lesscpy/lessc/parser.py', 'description': 'property_decl : prop_open less_arguments t_semicolon\n ', 'signature': 'def p_property_decl_arguments(self, p):'}</s>{'name': 'Expression@lesscpy/plib/expression.py', 'description': 'Expression node. Parses all exp... | 0 |
{'name': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'signature': 'def EnumDecoder(field_number, is_repeated, is_packed, key, new_default,'}</s>UINT32_MAX = (1 << 32) - 1 | 0 |
{'name': 'PlyData._parse_header@utils/plyfile.py', 'description': 'Parse a PLY header from a readable file-like stream.', 'signature': 'def _parse_header(stream):'}</s>{'name': '_lookup_type@utils/plyfile.py', 'description': 'DOCSTRING', 'code': 'def _lookup_type(type_str):\n if type_str not in _data_type_reverse:\n... | 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': 'aprint@art/functions.py', 'description': 'Print 1-line art.\n\n:param artname: art name\n:type artname : str\n:param number: number of repeats\n:type number: int\n:param space: space between arts\n:type space: int\n:return: None', 'signature': 'def aprint(artname, number=1, space=1):'}</s>CHAR_TYPE_ERROR = "T... | 0 |
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': 'set_logging_c... | 0 |
{'name': 'test_wrap_nested_expr@tests/test_models.py', 'description': 'Test conversion of Expressions with embedded non-HyObjects.', 'signature': 'def test_wrap_nested_expr():'}</s>{'name': 'test_list_add@tests/test_models.py', 'description': 'Check that adding two Lists generates a List', 'code': 'def test_list_add():... | 0 |
{'name': 'RPCBindTest.run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(self, allow_ips, connect_to, addresses, expected):'... | 1 |
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'on_datadir_handler@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_datadir_handler(data):\n method = data['method']\n if method:\n if... | 0 |
{'name': 'optimze_conformation.score_conformation@deepdock/DockingFunction.py', 'description': 'Parameters\n----------\nvalues : numpy.ndarray\n set of inputs of shape :code:`(n_particles, dimensions)`\nReturns\n-------\nnumpy.ndarray\n computed cost of size :code:`(n_particles, )`', 'signature': 'def score_confo... | 0 |
{'name': 'train@scripts/train.py', 'description': 'Monocular depth estimation training script.\n\nParameters\n----------\nfile : str\n Filepath, can be either a\n **.yaml** for a yacs configuration file or a\n **.ckpt** for a pre-trained checkpoint file.', 'signature': 'def train(file):'}</s>{'name': 'set_debu... | 1 |
{'name': 'create_run_container_task@vulfocus-api/tasks/tasks.py', 'description': '创建运行容器任务\n:param container_vul: 漏洞容器对象\n:param user_info: 用户信息', 'signature': 'def create_run_container_task(container_vul, user_info):'}</s>{'name': 'get_request_ip@vulfocus-api/tasks/tasks.py', 'description': '获取请求IP\n:param request:\n:... | 0 |
{'name': 'to_taichi_type@python/taichi/lang/util.py', 'description': 'Convert numpy or torch or paddle data type to its counterpart in taichi.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in taichi.', 'signature': 'def to_taichi_type(dt):'}</s>{'nam... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'QueueManager._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': 'ConnectionPool.handle_request@httpcore/_sync/connection_pool.py', 'description': 'Send an HTTP request, and return an HTTP response.\n\nThis is the core implementation that is called into by `.request()` or `.stream()`.', 'signature': 'def handle_request(self, request: Request) -> Response:'}</s>{'name': 'Net... | 0 |
{'name': 'PathConverter.convert@util/py_lib/seqan/dox/write_html.py', 'description': 'Return None, None on failure path, title otherwise.', 'signature': 'def convert(self, name):'}</s>{'name': 'RawHtmlOnly@util/py_lib/seqan/dox/raw_doc.py', 'description': 'A special paragraph that is directly put into HTML.', 'base_cla... | 0 |
{'name': 'find_compilation_database@third-party/run-clang-tidy/run-clang-tidy.py', 'description': 'Adjusts the directory until a compilation database is found.', 'signature': 'def find_compilation_database(path):'}</s>{'name': 'make_absolute@third-party/run-clang-tidy/run-clang-tidy.py', 'description': 'DOCSTRING', 'co... | 0 |
{'name': 'generate_release_changelog@extra/release_tool.py', 'description': 'Generate changelog and write it to a file', 'signature': 'def generate_release_changelog('}</s>{'name': 'get_value_from_password_storage@extra/release_tool.py', 'description': 'Gets a value from the \'pass\' password storage framework. \'serve... | 0 |
{'name': 'DescriptorBase.GetOptions@python/google/protobuf/descriptor.py', 'description': 'Retrieves descriptor options.\n\nReturns:\n The options set on this descriptor.', 'signature': 'def GetOptions(self):'}</s>_GOOGLE3_PYTHON_UPB_DEFAULT = True | 0 |
{'name': 'IUCoordinator.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the system', 'signature': 'def load(self, config: OrderedDict) -> "IUCoordinator":'}</s>ATTR_ZONES = "zones" | 0 |
{'name': 'Dense.__init__@pygad/cnn/cnn.py', 'description': 'num_neurons: Number of neurons in the dense layer.\nprevious_layer: Reference to the previous layer.\nactivation_function: Name of the activation function to be used in the current layer.\nlogger=None: Reference to the instance of the logging.Logger class.', '... | 0 |
{'name': 'CardPredictor.img_only_color@lib/img_function.py', 'description': ':param filename: 图像文件\n:param oldimg: 原图像文件\n:return: 已经定位好的车牌', 'signature': 'def img_only_color(self, filename, oldimg, img_contours, add_box_point=False):'}</s>{'name': 'img_read@lib/img_math.py', 'description': 'DOCSTRING', 'code': 'def im... | 0 |
{'name': 'DefaultPytorchInferenceHandler.default_model_fn@src/sagemaker_pytorch_serving_container/default_pytorch_inference_handler.py', 'description': 'Loads a model. For PyTorch, a default function to load a model only if Elastic Inference is used.\nIn other cases, users should provide customized model_fn() in script... | 0 |
{'name': 'AGraph.clear@pygraphviz/agraph.py', 'description': 'Remove all nodes, edges, and attributes from the graph.', 'signature': 'def clear(self):'}</s>{'name': 'ItemAttribute@pygraphviz/agraph.py', 'description': 'Attributes for individual nodes and edges.\n\nAssigned on initialization of Node or Edge classes\nand... | 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': 'TestCore.test_bad_schema@tests/test_core.py', 'description': 'Test illegal JSON schema', 'signature': 'def test_bad_schema(self, bad_schema):'}</s>{'name': 'SchemaError@notifiers/exceptions.py', 'description': 'Raised on schema issues, relevant probably when creating or changing a provider schema\n\n:param sc... | 1 |
{'name': 'GeoNetcdf.__init__@salem/datasets.py', 'description': 'Open the file and try to understand it.\n\nParameters\n----------\nfile: path to the netcdf file\ngrid: a Grid object. This will override the normal behavior of\nGeoNetcdf, which is to try to understand the grid automatically.\ntime: a time array. This wi... | 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_boolparam_dis... | 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>VALID_MODULE = "Got a val... | 0 |
{'name': '_len_preprocessed_single@src/betterproto/__init__.py', 'description': 'Calculate the size of adjusted values for serialization without fully serializing them.', 'signature': 'def _len_preprocessed_single(proto_type: str, wraps: str, value: Any) -> int:'}</s>{'name': 'safe_snake_case@src/betterproto/casing.py'... | 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_validate_program@gplearn/tests/test_genetic.py', 'description': 'Check that valid programs are accepted & invalid ones raise error', 'signature': 'def test_validate_program():'}</s>{'name': 'test_run_details@gplearn/tests/test_genetic.py', 'description': 'Check the run_details_ attribute works as expecte... | 0 |
{'name': 'main@plugins/modules/dcnm_image_policy.py', 'description': 'main entry point for module execution', 'signature': 'def main():'}</s>{'name': 'ParamsValidate@plugins/module_utils/common/params_validate_v2.py', 'description': '### Summary\nValidate playbook parameters.\n\n### Mandatory Properties\n - ``para... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.