text string | label int64 |
|---|---|
{'name': '_isinstance@dill/source.py', 'description': 'True if object is a class instance type (and is not a builtin)', 'signature': 'def _isinstance(object):'}</s>{'name': '_matchlambda@dill/source.py', 'description': "check if lambda object 'func' matches raw line of code 'line'", 'code': 'def _matchlambda(func, line... | 0 |
{'name': 'main@lib/ddupdate/config.py', 'description': 'Indeed: main function.', 'signature': 'def main():'}</s>{'name': '_load_auth_plugins@lib/ddupdate/config.py', 'description': 'Load auth plugins from paths into dict keyed by name.', 'code': 'def _load_auth_plugins(log, paths):\n """Load auth plugins from paths ... | 1 |
{'name': 'Merger.description@bcml/mergers/__init__.py', 'description': 'The description of this merger in the UI', 'signature': 'def description(self) -> str:'}</s>{'name': 'TempSettingsContext@bcml/util.py', 'description': 'DOCSTRING', 'base_classes': ['AbstractContextManager'], 'methods': [{'name': 'TempSettingsConte... | 0 |
{'name': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'runSubprocess@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def runSubprocess(cmd, logfile):\n logfile.de... | 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>MQS_AVAIL_ERROR = 1 | 0 |
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb... | 0 |
{'name': '_serialize_single@src/betterproto/__init__.py', 'description': 'Serializes a single field and value.', 'signature': 'def _serialize_single('}</s>TYPE_UINT64 = "uint64" | 0 |
{'name': '_generate_unique_filename@vendor/attr/_make.py', 'description': 'Create a "filename" suitable for a function being generated.', 'signature': 'def _generate_unique_filename(cls, func_name):'}</s>NO_OP = object() | 0 |
{'name': 'collect_inventory_license_expression@src/attributecode/model.py', 'description': 'Read the inventory file at location and return a list of ABOUT objects without\nvalidation. The purpose of this is to speed up the process for `gen_license` command.', 'signature': 'def collect_inventory_license_expression(loca... | 0 |
{'name': 'profile_stop@lib/charliecloud.py', 'description': 'If profiling, stop the profiler.', 'signature': 'def profile_stop():'}</s>{'name': 'OrderedSet@lib/charliecloud.py', 'description': 'DOCSTRING', 'base_classes': ['collections.abc.MutableSet'], 'methods': [{'name': 'OrderedSet.__init__@lib/charliecloud.py', 'd... | 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_... | 1 |
{'name': 'NestingState.CheckCompletedBlocks@scripts/cpplint.py', 'description': 'Checks that all classes and namespaces have been completely parsed.\n\nCall this when all lines in a file have been processed.\nArgs:\n filename: The name of the current file.\n error: The function to call with any errors found.', 'signa... | 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': 'GDAL2Tiles.generate_base_tiles@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generation of the base tiles (the lowest in the pyramid) directly from the input raster', 'signature': 'def generate_base_tiles(self) -> Tuple[TileJobInfo, List[TileDetail]]:'}</s>{'name': '_get_creation_options@au... | 0 |
{'name': 'verify_ocsp_response@certvalidator/validate.py', 'description': 'Verifies an OCSP response, checking to make sure the certificate has not\nbeen revoked. Fulfills the requirements of\nhttps://tools.ietf.org/html/rfc6960#section-3.2.\n\n:param cert:\n An asn1cyrpto.x509.Certificate object to verify the OCSP ... | 0 |
{'name': 'test_input_validation@gplearn/tests/test_genetic.py', 'description': 'Check that guarded input validation raises errors', 'signature': 'def test_input_validation():'}</s>sqrt1 = _Function(function=_protected_sqrt, name='sqrt', arity=1) | 0 |
{'name': 'Muse._subscribe_eeg@muselsl/muse.py', 'description': 'subscribe to eeg stream.', 'signature': 'def _subscribe_eeg(self):'}</s>MUSE_GYRO_SCALE_FACTOR = 0.0074768 | 0 |
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'ValidDate@src/feedvalidator/logging.py', 'description': 'DOCSTRI... | 0 |
{'name': 'test_pick_points_pd_index_off@tests/test_pick_points.py', 'description': 'Test a very simple grid.', 'signature': 'def test_pick_points_pd_index_off():'}</s>ds3 = Herbie("2024-03-01 00:00", model="gfs").xarray("TMP:[5,6,7,8,9][0,5]0 mb") | 0 |
{'name': 'Hashing.encode_image@imagededup/methods/hashing.py', 'description': "Generate hash for a single image.\n\nArgs:\n image_file: Path to the image file.\n image_array: Optional, used instead of image_file. Image typecast to numpy array.\n\nReturns:\n hash: A 16 character hexadecimal string hash for the ... | 1 |
{'name': 'assert_same_tree@delocate/tests/test_fuse.py', 'description': 'Assert that `tree2` has files with the same content as `tree1`.\n\nIf `updated_metadata` is True then the RECORD and WHEEL files are skipped.', 'signature': 'def assert_same_tree('}</s>{'name': 'cmp_contents@delocate/tools.py', 'description': 'Ret... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'PlotModel.__init__@openmc_plotter/plotmodel.py', 'description': 'Initialize PlotModel class attributes ', 'signature': 'def __init__(self, use_settings_pkl, model_path, default_res):'}</s>_ENERGY_UNITS_VOL = "eV/cm³/source" | 0 |
{'name': 'Setup.get_files@setup.py', 'description': 'List all files in a data directory.', 'signature': 'def get_files(*bases):'}</s>CLASSIFIERS = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"P... | 0 |
{'name': 'getSetting@ide/auth.py', 'description': "Grab some setting from the datastore. If it's not a string, it should be stored as a JSON representation.\nSet returnObject to True to force a JSON load. Otherwise use the type of the default to trigger JSON conversion", 'signature': 'def getSetting(name, default=None,... | 0 |
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_ACTUAL = "actual" | 0 |
{'name': 'AGraph.draw@pygraphviz/agraph.py', 'description': 'Output graph to path in specified format.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the draw command uses libgvc for drawing instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nAn attempt will be made to guess the output fo... | 1 |
{'name': 'lvm_snap@freezer/snapshot/lvm.py', 'description': 'Checks the provided parameters and create the lvm snapshot if requested\n\nThe path_to_backup might be adjusted in case the user requested\na lvm snapshot without specifying an exact path for the snapshot).\nThe assumption in this case is that the user wants ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQMHBO_VERSION_1 = 1 | 0 |
{'name': 'get_credentials@linodecli/plugins/obj/__init__.py', 'description': 'Get access_key and secret_key of the object storage.', 'signature': 'def get_credentials(cli: CLI):'}</s>{'name': 'inherit_plugin_args@linodecli/plugins/plugins.py', 'description': 'This function allows plugin-defined ArgumentParsers to inher... | 0 |
{'name': 'add@logme/cli/_cli.py', 'description': 'Command for adding a logger configuration in a logme.ini file. Assuming logme.ini exists', 'signature': 'def add(ctx, project_root, name, level, formatter, log_path):'}</s>{'name': 'cli@logme/cli/_cli.py', 'description': '*entry point*\n\nSimple init:\n\n >>> logme i... | 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': 'TDClient.hours@tdameritrade/client.py', 'description': "get market hours\n\nArgs:\n market (str): market to get hours for, in ('EQUITY', 'OPTION', 'FUTURE', 'BOND', 'FOREX')\n date (str): date to get hours for, yyyy-MM-dd or yyyy-MM-dd'T'HH:mm::ssz", 'signature': 'def hours(self, market="EQUITY", date=N... | 0 |
{'name': 'answer_question@onefile.py', 'description': 'Uses everything to do everyhing for one data instance (one question, subgraph etc).', 'signature': 'def answer_question(qa, index, data, relations, parameter_dict):'}</s>{'name': 'QuestionAnswering@onefile.py', 'description': 'Usage:\n\n qa = QuestionAnswering(p... | 0 |
{'name': 'getsource@dill/source.py', 'description': "Return the text of the source code for an object. The source code for\ninteractively-defined objects are extracted from the interpreter's history.\n\nThe argument may be a module, class, method, function, traceback, frame,\nor code object. The source code is returne... | 0 |
{'name': 'inform_user@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Tell the user the option values that are going to be used.\n ', 'signature': 'def inform_user():'}</s>pydbusmoddir = None | 1 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_ref_get_host_info@language-bindings/python/src/wamr/wasmcapi/bi... | 0 |
{'name': 'mpl_palette@nelpy/plotting/palettes.py', 'description': 'Return discrete colors from a matplotlib palette.\n\nNote that this handles the qualitative colorbrewer palettes\nproperly, although if you ask for more colors than a particular\nqualitative palette can provide you will get fewer than you are\nexpecting... | 0 |
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>{'name': 'CheckCasts@tools/cpplint.py', 'description': 'Various cast related checks.\n\nArgs:\n filename: The name of the current file.\n c... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>{'name': 'ensure_bytes@code/pymqi/__init__.py', 'description': 'DOCSTRING', 'code': "def ensure_bytes(s, encoding='ascii'):\n if is_unicode(s):\n return s.encode(encoding)\n else:\n ... | 0 |
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>_MIDI_T... | 0 |
{'name': 'Stat._restore_result_shape@util/runningstats.py', 'description': 'Restores output data to input data shape.', 'signature': 'def _restore_result_shape(self, x, attr="data_shape"):'}</s>{'name': 'CombinedStat@util/runningstats.py', 'description': 'A Stat that bundles together multiple Stat objects.\nConvenient ... | 0 |
{'name': 'RDBComputeDomain.__init__@py3/SciServer/SciQuery.py', 'description': 'Creates an instance of an RDBComputeDomain, which defines a domain or environment with databases that users.\nare able to query.\n\n:param rdb_compute_domain: Parameter that identifies the domain. Could be either its name (string),\n ID ... | 0 |
{'name': 'DateTimeParser._build_datetime@arrow/parser.py', 'description': 'Build a datetime object from a dictionary of date parts.\n\n:param parts: A dictionary containing the date parts extracted from a date string.\n:type parts: dict\n:return: A datetime object representing the date and time.\n:rtype: datetime.datet... | 0 |
{'name': 'PlotModel.create_tally_image@openmc_plotter/plotmodel.py', 'description': 'Parameters\n----------\nview : PlotView\n View used to set bounds of the tally data\n\nReturns\n-------\ntuple\n image data (numpy.ndarray), data extents (optional),\n data_min_value (float), data_max_value (float),\n data ... | 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': 'set_debug@source/tomopy/util/mproc.py', 'description': 'Set the global DEBUG variable.\n\nIf DEBUG is True, all computations will be run on the host process instead\nof distributing work over different processes. This can help to debug\nfunctions that give errors or cause segmentation faults. If DEBUG is Fals... | 0 |
{'name': 'TestStrictWrapper.test_strict_wrapper@responses/tests/test_responses.py', 'description': 'Test that assert_all_requests_are_fired could be applied to the decorator.', 'signature': 'def test_strict_wrapper(self):'}</s>{'name': 'test_callback_content_type_tuple@responses/tests/test_responses.py', 'description':... | 0 |
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_ADDR_RTLABEL = 4 | 0 |
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'... | 0 |
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen... | 0 |
{'name': 'MempoolPackagesTest.run_test@test/functional/mempool_packages.py', 'description': 'Mine some blocks and have them mature. ', 'signature': 'def run_test(self):'}</s>{'name': 'assert_is_hex_string@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def assert_is_hex_string(string):\n ... | 0 |
{'name': 'visualize_result@image_adaptive_lut_evaluation.py', 'description': 'Saves a generated sample from the validation set', 'signature': 'def visualize_result():'}</s>LUT2 = Generator3DLUT_zero() | 0 |
{'name': 'sync_params@cm/dist_util.py', 'description': 'Synchronize a sequence of Tensors across ranks from rank 0.', 'signature': 'def sync_params(params):'}</s>{'name': 'load_state_dict@cm/dist_util.py', 'description': 'Load a PyTorch file without redundant fetches across MPI ranks.', 'code': 'def load_state_dict(pat... | 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': 'InitializerListTestCase.test@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test(self):'}</s>{'name': 'skipUnlessFeature@... | 0 |
{'name': 'S2V_Tests.test2@blockchain-env/lib/python3.7/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py', 'description': 'Verify that no more than 127(AES) and 63(TDES)\ncomponents are accepted.', 'signature': 'def test2(self):'}</s>{'name': 'bcrypt_Tests@blockchain-env/lib/python3.7/site-packages/Cryptodome/Self... | 0 |
{'name': 'save_config@pyrgg/functions.py', 'description': 'Save input_dict as the generation config.\n\n:param input_dict: input data\n:type input_dict: dict\n:return: path to file as str', 'signature': 'def save_config(input_dict):'}</s>SUFFIX_MENU = {
1: ".gr",
2: ".json",
3: ".csv",
4: ".yaml",
5... | 0 |
{'name': 'streets_per_node_proportions@osmnx/stats.py', 'description': 'Calculate streets-per-node proportions.\n\nParameters\n----------\nG\n Input graph.\n\nReturns\n-------\nspnp\n Dictionary keyed by count of streets incident on each node, and with\n values of what proportion of nodes in the graph have thi... | 0 |
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>__all__ = ['tiedlist', 'tieddict'] | 0 |
{'name': 'setup_devices_and_management_st@backend-tests/tests/test_deployments.py', 'description': 'Sets up user creates authorized devices.', 'signature': 'def setup_devices_and_management_st(nr_devices=100, deploy_to_group=None):'}</s>WAITING_MULTIPLIER = 8 if isK8S() else 1 | 0 |
{'name': 'NodeList.init@shingetsu/node.py', 'description': 'Connect initial node.', 'signature': 'def init(self):'}</s>get_timeout = 2*60 | 0 |
{'name': 'clean_environment@tests/conftest.py', 'description': 'Ensure all tests start with a clean environment.\n\nEven if tests properly clean up after themselves, we still need this in\ncase the user runs tests with an already-polluted environment.', 'signature': 'def clean_environment():'}</s>{'name': 'setsid_enabl... | 0 |
{'name': 'Lexer.wrap@third_party/dawn/third_party/jinja2/lexer.py', 'description': 'This is called with the stream as returned by `tokenize` and wraps\nevery token in a :class:`Token` and converts the value.', 'signature': 'def wrap('}</s>integer_re = re.compile(
r"""
(
0b(_?[0-1])+ # binary
|
... | 0 |
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_config_new@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def wasm_co... | 0 |
{'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': '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': 'connect@trino/dbapi.py', 'description': 'Constructor for creating a connection to the database.\n\nSee class :py:class:`Connection` for arguments.\n\n:returns: a :py:class:`Connection` object.', 'signature': 'def connect(*args, **kwargs):'}</s>{'name': 'Binary@trino/dbapi.py', 'description': 'DOCSTRING', 'cod... | 0 |
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'fpMinusInfinity@src/api/python/z3/z3... | 0 |
{'name': 'TaprootTest.gen_test_vectors@test/functional/feature_taproot.py', 'description': 'Run a scenario that corresponds (and optionally produces) to BIP341 test vectors.', 'signature': 'def gen_test_vectors(self):'}</s>ERR_CONTROLBLOCK_SIZE = {"err_msg": "Invalid Taproot control block size"} | 0 |
{'name': 'identity_matrix@imgviz/external/transformations.py', 'description': 'Return 4x4 identity/unit matrix.\n\n>>> I = identity_matrix()\n>>> np.allclose(I, np.dot(I, I))\nTrue\n>>> np.sum(I), np.trace(I)\n(4.0, 4.0)\n>>> np.allclose(I, np.identity(4))\nTrue', 'signature': 'def identity_matrix():'}</s>{'name': 'vec... | 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': 'make_visit_mosaic@grizli/aws/visit_processor.py', 'description': "Make a mosaic of the exposures from a visit with a tangent point selected\nfrom the sky tile grid\n\nParameters\n----------\nassoc : str\n grizli association name\n\nbase_path : str\n Base working directory. Working directory will be\n ... | 0 |
{'name': 'makeplots@bdpy/fig/makeplots.py', 'description': "Make plots.\nParameters\n----------\ndf : pandas.core.frame.DataFrame\nx : str\ny : str\nx_list : list\nsubplot : str\nsubplot : list\nfigure : str\nfigure_list : list\nplot_type : {'bar', 'violin', 'paired violin', 'swarm', 'box', 'swarm+box'}\nhorizontal: bo... | 0 |
{'name': 'OdfeSqlCli.is_too_wide@sql-cli/src/odfe_sql_cli/odfesql_cli.py', 'description': 'Will this line be too wide to fit into terminal?', 'signature': 'def is_too_wide(self, line):'}</s>{'name': 'style_factory_output@sql-cli/src/odfe_sql_cli/esstyle.py', 'description': 'DOCSTRING', 'code': 'def style_factory_output... | 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': 'csrgraph.random_walks@csrgraph/graph.py', 'description': "Create random walks from the transition matrix of a graph\n in CSR sparse format\n\nParameters\n----------\nT : scipy.sparse.csr matrix\n Graph transition matrix in CSR sparse format\nwalklen : int\n length of the random walks\nepochs : int\n ... | 0 |
{'name': 'at@contrib/objgraph.py', 'description': 'Return an object at a given memory address.\n\nThe reverse of id(obj):\n\n >>> at(id(obj)) is obj\n True\n\nNote that this function does not work on objects that are not tracked by\nthe GC (e.g. ints or strings).', 'signature': 'def at(addr):'}</s>__date__ = "200... | 0 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'normalize_address_components@scourgify/normalize.py', 'description': 'Normalize parsed sections of address as appropriate.\n\nProcesses parsed address through subsets of normalization rules.\n\n:param parsed_addr: address parsed into ordereddict per usaddress.\n:param long_hand: bool indicating whether to use... | 0 |
{'name': 'ReceiptPDFTestCase.test_pdf_view@tests/test_views.py', 'description': 'Test the PDF generation view.', 'signature': 'def test_pdf_view(self) -> None:'}</s>{'name': 'test_template_discovery@tests/test_views.py', 'description': 'DOCSTRING', 'code': 'def test_template_discovery(client: Client) -> None:\n taxp... | 0 |
{'name': 'Path.asGameModRelative@ValveFileSystem/path.py', 'description': "Returns a path instance that is relative to the mod if the path is under the game tree.\nIf the path doesn't match the game tree, the original filepath is returned.", 'signature': 'def asGameModRelative(self):'}</s>{'name': 'contentModRelativePa... | 0 |
{'name': 'get_maintenance_response@maintenance_mode/http.py', 'description': "Return a '503 Service Unavailable' HTML or JSON response based on user preference.", 'signature': 'def get_maintenance_response(request):'}</s>{'name': '_need_maintenance_from_view@maintenance_mode/http.py', 'description': 'DOCSTRING', 'code'... | 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': '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': 'create_function@src/makefun/main.py', 'description': 'Creates a function with signature `func_signature` that will call `func_impl` when called. All arguments received\nby the generated function will be propagated as keyword-arguments to `func_impl` when it is possible (so all the\ntime, except for var-positi... | 0 |
{'name': 'threshold_fit@mord/threshold_based.py', 'description': "Solve the general threshold-based ordinal regression model\nusing the logistic loss as surrogate of the 0-1 loss\n\nParameters\n----------\nmode : string, one of {'AE', '0-1', 'SE'}", 'signature': "def threshold_fit(X, y, alpha, n_class, mode='AE',"}</s>... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_HCONN_ASYNC_ACTIVE = 2500 | 0 |
{'name': 'test_algo@pyFileFixity/tests/test_header_ecc.py', 'description': 'hecc: test algorithms equivalence ', 'signature': 'def test_algo():'}</s>{'name': 'dummy_ecc_file_gen@pyFileFixity/tests/aux_tests.py', 'description': 'Generate a dummy ecc file, following the specs (of course the ecc tracks are fake!) ', 'code... | 0 |
{'name': 'render@pyevtk/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'get_config@pyevtk/_version.py', 'description': 'Create, populate and return the VersioneerConfig() object.', 'code': 'def get_config():\n """Create... | 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': 'ProcessLine@ament_cpplint/ament_cpplint/cpplint.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 the fi... | 0 |
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>lntxbot_balance_1 = "Erfolg !!" | 0 |
{'name': 'BaseElectron.compute_We@src/naima/radiative.py', 'description': 'Total energy in electrons between energies Eemin and Eemax\n\nParameters\n----------\nEemin : :class:`~astropy.units.Quantity` float, optional\n Minimum electron energy for energy content calculation.\n\nEemax : :class:`~astropy.units.Quantit... | 1 |
{'name': 'train@ddparser/run.py', 'description': 'Train', 'signature': 'def train(env):'}</s>{'name': 'istree@ddparser/parser/data_struct/utils.py', 'description': 'Is the sequence a project tree', 'code': 'def istree(sequence):\n """Is the sequence a project tree"""\n return DepTree(sequence).judge_legal()'} | 0 |
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com... | 0 |
{'name': 'stoi@pystoi/stoi.py', 'description': "Short term objective intelligibility\nComputes the STOI (See [1][2]) of a denoised signal compared to a clean\nsignal, The output is expected to have a monotonic relation with the\nsubjective speech-intelligibility, where a higher score denotes better\nspeech intelligibil... | 0 |
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W... | 0 |
{'name': 'KeysightM8190A.upload_waveform@src/auspex/instruments/keysight.py', 'description': 'Uploads the waveform to the device. Technically we should split the data into multiple chunks\nif we exceed the 999999999 Bytes, i.e. 1GB SCPI transfer limit.', 'signature': 'def upload_waveform(self, wf_data, segment_id, chan... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.