text string | label int64 |
|---|---|
{'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': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'code':... | 0 |
{'name': 'SearchList.search@shingetsu/node.py', 'description': 'Search node which has the file.', 'signature': 'def search(self, cache=None, myself4=None, myself6=None, nodes=None):'}</s>server = root_path + "server.cgi" | 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': 'CSSParser.parse_pseudo_class@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse pseudo class.', 'signature': 'def parse_pseudo_class(self, sel, m, has_selector, iselector, is_html):'}</s>{'name': 'SelectorNth@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsi... | 1 |
{'name': 'write_rtdc@AIDeveloper/aid_bin.py', 'description': 'fname - path+filename of file to be created\nrtdc_datasets - list paths to rtdc data-data-sets\nX_valid - list containing numpy arrays. Each array contains cropped images of individual measurements corresponding to each rtdc_ds\nIndices - list containing num... | 0 |
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ... | 0 |
{'name': 'MessageBase.handle_unsubscribe_request@sitemessage/messages/base.py', 'description': 'Handles user subscription cancelling request.\n\n:param request: Request instance\n:param message: Message model instance\n:param dispatch: Dispatch model instance\n:param hash_is_valid: Flag indicating that user supplied re... | 0 |
{'name': 'Dataset.merge@accelerator/dataset.py', 'description': 'Merge this and other dataset. Columns from other take priority.\nIf datasets do not have a common ancestor you get an error unless\nallow_unrelated is set. The new dataset always has the previous\nspecified here (even if None).\nReturns the new dataset.',... | 0 |
{'name': 'abortMission@WAF/WAF-Enhanced-Replicator/waffun.py', 'description': 'Closes the log and template files, throws an error message and exits with -1.', 'signature': 'def abortMission(logFile, templateFile, apiCall):'}</s>versionNumber = "1.0" | 0 |
{'name': 'azure_user@backend-tests/tests/test_azure_iothub.py', 'description': 'Create Mender user and create an Azure IoT Hub integration in iot-manager using the connection string.', 'signature': 'def azure_user(clean_mongo) -> Optional[User]:'}</s>URL_TOKENS = "/settings/tokens" | 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': 'is_mask@eoreader/bands/__init__.py', 'description': 'Returns True if is a Mask band (from :code:`MaskBandNames`)\n\nArgs:\n mask (BandType): Anything that could be a Mask band\n\nReturns:\n bool: True if the band asked is a Mask band\n\nExamples:\n\n >>> from eoreader.bands import NDVI, HH, GREEN, SL... | 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': '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': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>helpstr_todo = "
---------------------------------------------------------------------------
... | 1 |
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', 'signature': 'd... | 0 |
{'name': 'KubernetesPodBuilder.pod_nodeselectors@calrissian/job.py', 'description': 'Submitted node selectors must be strings\n:return:', 'signature': 'def pod_nodeselectors(self):'}</s>{'name': 'Reporter@calrissian/report.py', 'description': 'Singleton thread-safe reporting class', 'base_classes': ['object'], 'methods... | 0 |
{'name': 'example_intersect@examples/mesh_distmesh2d.py', 'description': 'example on how to use dist_intersect and fix_points_fd', 'signature': 'def example_intersect():'}</s>{'name': 'example1@examples/mesh_distmesh2d.py', 'description': 'unit circle mesh', 'code': 'def example1():\n """unit circle mesh"""\n\n d... | 0 |
{'name': 'Background.resize@pibooth/view/background.py', 'description': 'Resize objects to fit to the screen.\n ', 'signature': 'def resize(self, screen):'}</s>{'name': 'get_filename@pibooth/fonts/__init__.py', 'description': 'Return absolute path to a font definition file located in the current\npackage.', 'cod... | 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': 'parse_wkt@emissionsapi/web.py', 'description': "Function wrapper replacing 'geoframe', 'country' and 'polygon' with a\nWKT polygon.\n\n:param f: Function to call\n:type f: Function\n:raises e: Possible exception of f\n:return: Result of f", 'signature': 'def parse_wkt(f):'}</s>{'name': 'polygon_to_wkt@emissio... | 1 |
{'name': 'map_async_run_loop@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Blocks until the Pool.map_async completes and the channel completes.\n\n@param future an AsyncResult instance from a Pool.map_async() call.\n\n@param channel_map the asyncore dispatch channel map that should be pumped.\nOp... | 0 |
{'name': 'Zoo.__len__@Chapter07/zoo.py', 'description': ':return: the total number of features used in this classification problem', 'signature': 'def __len__(self):'}</s>{'name': 'main@Chapter07/zoo.py', 'description': 'DOCSTRING', 'code': 'def main():\n # create a problem instance:\n zoo = Zoo(randomSeed=42)\n\... | 0 |
{'name': '_sum_ft@models/sync_batchnorm/batchnorm.py', 'description': 'sum over the first and last dimention', 'signature': 'def _sum_ft(tensor):'}</s>{'name': '_unsqueeze_ft@models/sync_batchnorm/batchnorm.py', 'description': 'add new dementions at the front and the tail', 'code': 'def _unsqueeze_ft(tensor):\n """a... | 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': 'main@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 tree 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': 'Mosek._solve@linopy/solvers.py', 'description': 'Solve a linear problem from a Mosek task object.\n\nParameters\n----------\nm : mosek.Task\n Mosek task object.\nsolution_fn : Path, optional\n Path to the solution file.\nlog_fn : Path, optional\n Path to the log file.\nwarmstart_fn : Path, optional\n... | 1 |
{'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_TOPIC = 173 | 0 |
{'name': 'Sheet.sort@tksheet/sheet.py', 'description': "Sort the data within specified box regions in the table.\n\nThis method sorts the data within one or multiple box regions defined by their coordinates.\nEach box's columns are sorted independently.\n\nArgs:\n boxes (CreateSpanTypes): A type that can create a Sp... | 0 |
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>EVENT_NO_CODE_PROVIDED = "no_code_provided" | 0 |
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>bchr = chr | 0 |
{'name': 'basic_stats@osmnx/stats.py', 'description': "Calculate basic descriptive geometric and topological measures of a graph.\n\nDensity measures are only calculated if `area` is provided and clean\nintersection measures are only calculated if `clean_int_tol` is provided.\n\nParameters\n----------\nG\n Input gra... | 0 |
{'name': 'string_len_dwc@tg/utils.py', 'description': 'Returns string len including count for double width characters', 'signature': 'def string_len_dwc(string: str) -> int:'}</s>{'name': 'get_mime@tg/utils.py', 'description': 'DOCSTRING', 'code': 'def get_mime(file_path: str) -> str:\n mtype, _ = mimetypes.guess_ty... | 0 |
{'name': 'AGraph.remove_node@pygraphviz/agraph.py', 'description': 'Remove the single node n.\n\nAttempting to remove a node that isn\'t in the graph will produce\nan error.\n\n>>> import pygraphviz as pgv\n>>> G = pgv.AGraph()\n>>> G.add_node("a")\n>>> G.remove_node("a")', 'signature': 'def remove_node(self, n):'}</s>... | 0 |
{'name': 'ResourceManager.lookup@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Search for a resource and return an absolute file path, or `None`.\n\nThe :attr:`path` list is searched in order. The first match is\nreturend. Symlinks are followed. The result is cached to speed up\nfuture lookups. ', 's... | 0 |
{'name': 'auto_cpp_level@extern/pybind/pybind11/setup_helpers.py', 'description': 'Return the max supported C++ std level (17, 14, or 11). Returns latest on Windows.', 'signature': 'def auto_cpp_level(compiler: Any) -> Union[str, int]:'}</s>{'name': 'has_flag@extern/pybind/pybind11/setup_helpers.py', 'description': 'Re... | 1 |
{'name': 'trpo@fireup/algos/trpo/trpo.py', 'description': "Args:\n env_fn : A function which creates a copy of the environment.\n The environment must satisfy the OpenAI Gym API.\n\n actor_critic: The agent's main model which for state ``x`` and\n action, ``a`` returns the following outputs:\n\n ... | 1 |
{'name': 'download_course@run.py', 'description': 'download course ', 'signature': 'def download_course(url):'}</s>{'name': 'aria2@module/save.py', 'description': 'Download aria2c for windows ', 'code': 'def aria2():\n \'\'\' Download aria2c for windows \'\'\'\n try:\n import requests\n except ImportErr... | 0 |
{'name': 'Main.initialise_jobs@accelerator/control.py', 'description': 'Updata database, check deps, create jobids. ', 'signature': 'def initialise_jobs(self, setup, workdir=None):'}</s>{'name': 'run@accelerator/dispatch.py', 'description': 'DOCSTRING', 'code': "def run(cmd, close_in_child, keep_in_child, no_stdin=True... | 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': 'GetExitStatus@Engine/lib/assimp/contrib/googletest/googlemock/test/gmock_test_utils.py', 'description': "Returns the argument to exit(), or -1 if exit() wasn't called.\n\nArgs:\n exit_code: the result value of os.system(command).", 'signature': 'def GetExitStatus(exit_code):'}</s>{'name': 'SetEnvVar@Engine/l... | 0 |
{'name': 'BitDecoder.read_huffman_char@tornado_http2/encoding.py', 'description': 'Reads one huffman-encoded character from the stream.\n\nWill not read past ``limit`` bytes. ``limit`` may be None to\nuse the entire decoder. Returns None for end-of-stream.', 'signature': 'def read_huffman_char(self, limit):'}</s>{'name... | 0 |
{'name': 'reconstruction@Chapter10/helper_functions.py', 'description': 'This function is used to reconstruct sample images for analysis\n:param x: Images\n:param y: Labels\n:param decoder_output: output from decoder\n:param y_pred: predictions from the model\n:param n_samples: num images\n:return: saves the reconstruc... | 0 |
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>get_data = getdata | 0 |
{'name': '_GetTextInside@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, ... | 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': 'SVM@lib/img_function.py', 'description': 'DOCSTRING', 'base_classes': ... | 0 |
{'name': 'get_mol_supplier@FPSim2/io/chem.py', 'description': 'Returns a mol supplier depending on the object type and file extension.\n\nParameters\n----------\nmols_source : str or iterable\n .smi or .sdf filename or iterable.\n\nfps_sort: bool\n Whether if the FPs should be sorted or not.\n\nReturns\n-------\n... | 1 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'HTMLFormatter@src/api/python/z3/z3pri... | 0 |
{'name': 'test_raising_failed_validation@tests/test_models.py', 'description': 'Test validating valid receipts.', 'signature': 'def test_raising_failed_validation(populated_db: None) -> None:'}</s>{'name': 'UserFactory@django_afip/factories.py', 'description': 'DOCSTRING', 'base_classes': ['DjangoModelFactory'], 'metho... | 0 |
{'name': 'Engine._extract_engine_path@cli/cloe_launch/exec.py', 'description': 'Return the first cloe-engine we find in the PATH.', 'signature': 'def _extract_engine_path(self, env: Environment) -> Path:'}</s>{'name': 'Engine@cli/cloe_launch/exec.py', 'description': 'Engine represents the configuration of a single exec... | 1 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': '_coerce_expr_list@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _coerce_expr_list(alist, ctx=None):\n has_expr = False\n for a in al... | 0 |
{'name': 'ReplaceByFeeTest.test_too_many_replacements@test/functional/feature_rbf.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_MAX = CScriptOp(0xa4) | 0 |
{'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_memorytype_vec_delete@language-bindings/python/src/wamr/wasmcap... | 0 |
{'name': 'isi_item_to_swagger_path@components/create_swagger_config.py', 'description': 'Convert isi item endpoint description to Swagger path.', 'signature': 'def isi_item_to_swagger_path(isi_api_name, isi_obj_name_space, isi_obj_name,'}</s>{'name': 'find_or_add_obj_def@components/create_swagger_config.py', 'descripti... | 0 |
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': 'cli_status@peewee_moves.py', 'description': 'Show information about migration status.', 'signature': 'def cli_status(ctx):'}</s>{'name': 'cli_command@peewee_moves.py', 'description': 'Run database migration commands.', 'code': 'def cli_command(ctx, directory, database, table=None):\n """Run database migrat... | 0 |
{'name': 'Analyzer.get_abstract0@tf_verify/analyzer.py', 'description': 'processes self.ir_list and returns the resulting abstract element', 'signature': 'def get_abstract0(self):'}</s>{'name': 'add_bounds@tf_verify/deepzono_nodes.py', 'description': 'DOCSTRING', 'code': 'def add_bounds(man, element, nlb, nub, num_vars... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>_module = sys.modules[__name__] | 0 |
{'name': 'test_ecog@autoreject/tests/test_autoreject.py', 'description': 'Test that autoreject runs on ECoG and sEEG data.', 'signature': 'def test_ecog(ch_type):'}</s>fname_nirx = op.join(
data_path, 'NIRx', 'nirscout', 'nirx_15_2_recording_w_short') | 0 |
{'name': '_check_if_token_in_blacklist@src/backend/api/managers/auth_manager.py', 'description': 'This function is automatically loaded and it does not need to be called.\nhttps://flask-jwt-extended.readthedocs.io/en/stable/blacklist_and_token_revoking/', 'signature': 'def _check_if_token_in_blacklist(token):'}</s>{'na... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'versions_from_parentdir@versioneer.py', 'description': 'Try to determine the version from the parent directory name.\n\nSource tarballs conventiona... | 0 |
{'name': 'data_generator@Mask_RCNN/mrcnn/model.py', 'description': 'A generator that returns images and corresponding target class ids,\nbounding box deltas, and masks.\n\ndataset: The Dataset object to pick data from\nconfig: The model config object\nshuffle: If True, shuffles the samples before every epoch\naugment: ... | 0 |
{'name': 'upload_mirabuf@exporter/SynthesisFusionAddin/src/APS/APS.py', 'description': "uploads mirabuf file to a specific folder in an APS project\nthe folder and project must be created and valid\nif the file has already been created, it will use the APS versioning API to upload it as a new file version\n\nparameters... | 0 |
{'name': '_get_delocate_generator_header@delocate/delocating.py', 'description': "Return Delocate's version info to be appended to the WHEEL metadata.", 'signature': 'def _get_delocate_generator_header() -> tuple[str, str]:'}</s>{'name': '_dylibs_only@delocate/delocating.py', 'description': 'DOCSTRING', 'code': 'def _d... | 0 |
{'name': 'degradation_bsrgan_variant@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is the degradation model of BSRGAN from the paper\n"Designing a Practical Degradation Model for Deep Blind Image Super-Resolution"\n----------\nsf: scale factor\nisp_model: camera ISP model\nReturns\n-------\nimg: low-qu... | 1 |
{'name': 'stream_decode_response_unicode@src/requests/utils.py', 'description': 'Stream decodes an iterator.', 'signature': 'def stream_decode_response_unicode(iterator, r):'}</s>{'name': 'check_header_validity@src/requests/utils.py', 'description': "Verifies that header parts don't contain leading whitespace\nreserved... | 0 |
{'name': 'TestInvoiceGenerationCommand.test_2nd_sub_billing_after_trial_with_some_consumed_units_overflow@silver/tests/commands/test_generate_docs.py', 'description': 'The subscription:\n * start_date=2015-05-20\n * trial_end=2015-06-03\n * first billing_date=2015-06-01\n * second billing_date=2015-06-04 (r... | 0 |
{'name': 'MapperTest.test_holiday_mode@tests/test_mapper.py', 'description': 'Test map holiday mode.', 'signature': 'def test_holiday_mode(self) -> None:'}</s>{'name': '_map_hot_water@pymultimatic/model/mapper.py', 'description': 'DOCSTRING', 'code': 'def _map_hot_water(raw_hot_water, dhw_id, current_temp) -> Optional[... | 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': 'enumerate_mpi_declarations@src/services/mpiwrap/wrap.py', 'description': "Invokes mpicc's C preprocessor on a C file that includes mpi.h.\nParses the output for declarations, and yields each declaration to\nthe caller.", 'signature': 'def enumerate_mpi_declarations(mpicc, includes):'}</s>end_decl_re = re.comp... | 1 |
{'name': 'takePantiltSequence@source/pi-timolo.py', 'description': 'Take a sequence of images based on a list of pantilt positions and save with\na sequence number appended to the filename', 'signature': 'def takePantiltSequence(filename, daymode, pix_ave, num_count, num_path):'}</s>{'name': 'getCurrentCount@source/pi-... | 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': 'ChemicalReaction.remove_duplicates@rxn_biocatalysis_tools/chemical_reaction.py', 'description': 'Remove duplicates and preserve order.\nAdapted from https://stackoverflow.com/a/480227\nArgs:\n seq: sequence to remove duplicates from.\n key: what to base duplicates on, must be hashable.\n Defaults... | 1 |
{'name': 'TestbookNotebookClient._cell_index@testbook/client.py', 'description': 'Get cell index from the cell tag', 'signature': 'def _cell_index(self, tag: Union[int, str]) -> int:'}</s>{'name': 'TestbookExecuteResultNotFoundError@testbook/exceptions.py', 'description': 'Raised when there is no execute_result', 'base... | 0 |
{'name': 'predict_SMILES_with_confidence@DECIMER/Predictor_usingCheckpoints.py', 'description': 'This function takes an image path (str) and returns a list of tuples\nthat contain each token of the predicted SMILES string and the confidence\nlevel from the last layer of the Transformer decoder.\n\nArgs:\n image_path... | 1 |
{'name': 'make_report@nanoplot/NanoPlot.py', 'description': "Creates a fat html report based on the previously created files\nplots is a list of Plot objects defined by a path and title\nstatsfile is the file to which the stats have been saved,\nwhich is parsed to a table (rather dodgy) or nicely if it's a pandas/tsv",... | 0 |
{'name': 'TLP.set_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completion for TLP', 'signature': 'def set_completion(self, tlp, completer_id, has_data=False, status=CPL_STATUS_SC):'}</s>{'name': 'Switch@fpga/lib/pcie/tb/pcie.py', 'description': 'Switch object, container for switch bridges and associate... | 0 |
{'name': 'run_forward_2d@tests/test_elastic.py', 'description': 'Runs run_forward with default parameters for 2D.', 'signature': 'def run_forward_2d(lamb=DEFAULT_LAMB,'}</s>{'name': 'test_gradcheck_2d_chained@tests/test_elastic.py', 'description': 'Test gradcheck when two propagators are chained.', 'code': 'def test_gr... | 0 |
{'name': 'add_constructor@Others_Labs/code/Survey-Survey/yaml/__init__.py', 'description': 'Add a constructor for the given tag.\nConstructor is a function that accepts a Loader instance\nand a node object and produces the corresponding Python object.', 'signature': 'def add_constructor(tag, constructor, Loader=Loader)... | 0 |
{'name': '_CivisBackendResult._make_fetch_callback@src/civis/parallel.py', 'description': 'Create a closure for use as a callback on the ContainerFuture', 'signature': 'def _make_fetch_callback(joblib_callback, client):'}</s>_ALL_JOBS = 50 | 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': 'DenseFunctionalData.covariance@FDApy/representation/functional_data.py', 'description': "Compute an estimate of the covariance function.\n\nThis function computes an estimate of the covariance surface of a\nDenseFunctionalData object. As the curves are sampled on a common grid,\nwe consider the sample covaria... | 0 |
{'name': 'readMPS@pulp/mps_lp.py', 'description': 'adapted from Julian Märte (https://github.com/pchtsp/pysmps)\nreturns a dictionary with the contents of the model.\nThis dictionary can be used to generate an LpProblem\n\n:param path: path of mps file\n:param sense: 1 for minimize, -1 for maximize\n:param dropConsName... | 0 |
{'name': 'Fuels.generate_biofuel_activities@premise/fuels.py', 'description': 'Create region-specific biofuel datasets.\nUpdate the conversion efficiency.\n:return:', 'signature': 'def generate_biofuel_activities(self):'}</s>{'name': 'rescale_exchanges@premise/utils.py', 'description': "Adapted from wurst's change_exch... | 0 |
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>query_separator = "/" | 0 |
{'name': 'TestHttpHandler.test_listdir@papermill/tests/test_iorw.py', 'description': 'Tests that listdir raises `PapermillException` saying that that\n`listdir` function is not supported.', 'signature': 'def test_listdir(self):'}</s>{'name': 'read_yaml_file@papermill/iorw.py', 'description': "Reads a YAML file from the... | 0 |
{'name': 'TruthedCharacters.dump_values@ocr_utils.py', 'description': "prints out the feature names and a short sample of the data in each feature\n\nexample:\n-------------------------------------\n ds = ocr_utils.read_data(input_filters_dict = input_filters_dict, \n output_feature_list=outpu... | 0 |
{'name': 'writeFdat@fwtool/sony/fdat.py', 'description': 'Writes a non-encrypted FDAT file', 'signature': 'def writeFdat(fdat, outFile):'}</s>{'name': 'BlockCryptException@fwtool/sony/fdat.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []} | 0 |
{'name': 'ReconstructorBase.reconstruct@src/mri/reconstructors/base.py', 'description': "Perform the base reconstruction.\n\nParameters\n----------\nkspace_data: numpy.ndarray or KspaceGeneratorBase\n the acquired value in the Fourier domain.\n this is y in above equation.\noptimization_alg: str (optional, defaul... | 1 |
{'name': 'BaseRequest.request@SalesforcePy/commons.py', 'description': 'Makes request to Salesforce and returns serialised response. Catches any exceptions and appends them to\n`self.exceptions`.\n\n :return: response: Salesforce response, if available\n :rtype: list|dict|None', 'signature': 'def request(self):'}</s>... | 1 |
{'name': 'Attack.run@toolkit/run_attacks.py', 'description': 'Runs attack inside Docker.\n\nArgs:\n input_dir: directory with input (dataset).\n output_dir: directory where output (adversarial images) should be written.\n epsilon: maximum allowed size of adversarial perturbation,\n should be in range [0, 255].', ... | 0 |
{'name': 'DebPkgToolsTestCase.test_collect_packages@deb_pkg_tools/tests.py', 'description': 'Test the command line interface for collection of related packages.', 'signature': 'def test_collect_packages(self):'}</s>{'name': 'compare_versions_external@deb_pkg_tools/version/__init__.py', 'description': 'Compare Debian pa... | 0 |
{'name': 'read_file@ocr_utils.py', 'description': "Reads the .csv file containing the labeled data images.\n\nParameters\n------------\n pathName :path name of the zip file containing all the training data\n \n input_filters_dict: ['font', font_name] \n a font_name is a string or tuple containing a list... | 1 |
{'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': 'WorkingSet.resolve@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pkg_resources/__init__.py', 'description': 'List all distributions needed to (recursively) meet `requirements`\n\n`requirements` must be a sequence of ``Requirement`` objects. `env`,\nif supplied, should be an ``Environment`` instance... | 0 |
{'name': 'ParseNolintSuppressions@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Updates the global list of error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: st... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'SortRef@src/api/python/z3/z3.py', 'description': 'A Sort is essentially a type. Every Z3 expression has a sort. A sort is an ... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.