text string | label int64 |
|---|---|
{'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': 'generalised_geodesic3d@FastGeodis/__init__.py', 'description': 'Computes Generalised Geodesic Distance using FastGeodis raster scanning.\nFor more details on generalised geodesic distance, check the following reference:\n\nCriminisi, Antonio, Toby Sharp, and Andrew Blake.\n"Geos: Geodesic image segmentation."... | 0 |
{'name': 'test_image_validate_00500@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_validate.py', 'description': '### Classes and Methods\n- ``ImageValidate``\n - ``wait_for_controller``\n\n### Summary\nVerify proper behavior of ``wait_for_controller`` when no actions\nare pending.\n\n### Setup\n- ``re... | 0 |
{'name': 'LpProblem.sequentialSolve@pulp/pulp.py', 'description': 'Solve the given Lp problem with several objective functions.\n\nThis function sequentially changes the objective of the problem\nand then adds the objective function as a constraint\n\n:param objectives: the list of objectives to be used to solve the pr... | 0 |
{'name': 'IWLBeamformReader.read_file@CSIKit/reader/readers/read_bfee.py', 'description': 'This function parses .dat files generated by log_to_file.\n\nParameters:\n file (filereader): File reader object returned from open().\n\nReturns:\n total_csi (list): All valid CSI blocks contained within the given file.', ... | 1 |
{'name': 'test@examples/python/learning_pytorch.py', 'description': 'Runs a test_episodes_per_epoch episodes and prints the result', 'signature': 'def test(game, agent):'}</s>episodes_to_watch = 10 | 0 |
{'name': 'TestFacebookMiddleware.test_authed_user_doesnt_get_redirected@tests/test_fandjango.py', 'description': 'Verify that authorizing the application will register a new user.', 'signature': 'def test_authed_user_doesnt_get_redirected(self):'}</s>TEST_AUTH_CODE = "TEST_CODE" | 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': 'CheckRo2@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check molecular under RO2\n\nRef.:\n Goldberg, Frederick W., et al.\n Drug Discovery Today 20.1 (2015): 11-17.\n \nRule details:\n MW <= 200\n Logp <= 2\n NHD <= 2\n NHA <= 4\n\n:param mol: molecule\n:type mol: rdkit.Chem.rdc... | 0 |
{'name': '_configure_container_iface@kuryr/lib/binding/drivers/utils.py', 'description': 'Configures the interface that is placed in the container net ns\n\n:param iface: the pyroute IPDB interface object to configure\n:param subnets: an iterable of all the Neutron subnets which the\n endpo... | 0 |
{'name': 'Profile._ValidateProfile@gmacpyutil/gmacpyutil/profiles.py', 'description': 'Validate the profile and all payloads are valid.\n\nRaises:\n ProfileValidationError: the profile data was not valid.', 'signature': 'def _ValidateProfile(self):'}</s>{'name': 'InitMockFoundation@gmacpyutil/gmacpyutil/gmacpyutil_tes... | 0 |
{'name': 'DistributedCheckpointSaver.restore_with_id@torchtnt/framework/callbacks/dcp_saver.py', 'description': 'Utility method to restore dcp checkpoint from a checkpoint_id.\n\nThere are additional flags offered should the user want to skip loading the train and eval progress.\nBy default, the train and eval progress... | 1 |
{'name': 'test_script_types@tests/integration.py', 'description': 'test script types with empty type.', 'signature': 'def test_script_types(client):'}</s>JS_RAW = "
console.warn( [
'testing',
' suite' ]
);
" | 0 |
{'name': 'CachetClient.get_default_metric_value@cachet_url_monitor/client.py', 'description': 'Returns default value for configured metric.', 'signature': 'def get_default_metric_value(self, metric_id):'}</s>{'name': 'convert_to_unit@cachet_url_monitor/latency_unit.py', 'description': 'Will convert the given value from... | 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': '_TestAWSIoTCoreDeviceLifecycleBase.test_device_accept_and_reject_or_dismiss@backend-tests/tests/test_aws_iotcore.py', 'description': 'Test how accepted-rejected and accepted-dismissed Mender flow affects AWS IoT Core devices.', 'signature': 'def test_device_accept_and_reject_or_dismiss('}</s>URL_MGMT_DEVICE_C... | 0 |
{'name': 'GTestHelpTest.TestHelpFlag@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the bi... | 1 |
{'name': 'initialize_ad_tracking_db@core/friendly_organizer.py', 'description': 'Initializes the AdTracker table with the default list of trackers. Ran only once at startup.', 'signature': 'def initialize_ad_tracking_db():'}</s>_log_lock = threading.Lock() | 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': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', '... | 0 |
{'name': 'race_get_background_sf@goneng.py', 'description': "返回羁绊背景图片地址,以及羁绊图标'\n:param race: race数据\n:param race_id: 需要查询的id\n:param s: 羁绊数量\n:param sftx: 是否天选\n:return:返回3个数据 背景图,图标,race数据 返回None表示没达成", 'signature': 'def race_get_background_sf(race, race_id, s, sftx=False):'}</s>{'name': 'CreateNewImage@goneng.py', ... | 0 |
{'name': 'IB.reqGlobalCancel@ib_insync/ib.py', 'description': 'Cancel all active trades including those placed by other\nclients or TWS/IB gateway.', 'signature': 'def reqGlobalCancel(self):'}</s>{'name': 'DepthMktDataDescription@ib_insync/objects.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []} | 0 |
{'name': 'Response.iter_content@src/requests/models.py', 'description': 'Iterates over the response data. When stream=True is set on the\nrequest, this avoids reading the content at once into memory for\nlarge responses. The chunk size is the number of bytes it should\nread into memory. This is not necessarily the l... | 0 |
{'name': 'Analysis@FastProject/Pipelines.py', 'description': 'Run the full FastProject analysis pipeline\n\nParameters\n----------\nexpressionMatrix : ExpressionData\nsignatures : list of Signatures.Signature\nprecomputed_signatures : dict\n Keys are precomputed signature names (str)\n Values are signature levels... | 0 |
{'name': 'load_chained_operator@streaming/python/raystreaming/operator.py', 'description': 'Load chained operator from serialized operators and configs', 'signature': 'def load_chained_operator(chained_operator_bytes: bytes):'}</s>{'name': 'ChainedSourceOperator@streaming/python/raystreaming/operator.py', 'description'... | 0 |
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'Type@third_party/dawn/third_party/protobuf/python/goo... | 0 |
{'name': 'Windows.setupLogger@addon/addonWindow.py', 'description': '初始化 Logger ', 'signature': 'def setupLogger(self):'}</s>{'name': 'QueryWorker@addon/workers.py', 'description': 'DOCSTRING', 'base_classes': ['QObject'], 'methods': [{'name': 'QueryWorker.__init__@addon/workers.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': 'Helpfile.WriteParagraph@vimdoc/output.py', 'description': 'Writes one paragraph.', 'signature': 'def WriteParagraph(self, p, namespace, indent=0):'}</s>{'name': 'ParseError@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['Error'], 'methods': [{'name': 'ParseError.__init__@vimdoc/error.py', 'des... | 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 ... | 0 |
{'name': 'stagger@phi/field/_field_math.py', 'description': "Creates a new grid by evaluating `face_function` given two neighbouring cells.\nOne layer of missing cells is inferred from the extrapolation.\n\nThis method returns a Field of type `type` which must be either StaggeredGrid or CenteredGrid.\nWhen returning a ... | 0 |
{'name': 'elab_intermodule@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan/util/topgen/intermodule.py', 'description': "Check the connection of inter-module and categorize them\n\nIn the top template, it uses updated inter_module fields to create\nconnections between the modules (incl. memories). T... | 0 |
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>{'name': 'update_lnurl_generation@displays/inkyphat.py', 'description': 'DOCSTRING', 'code': 'def update_lnurl_generation():\n image, width, hei... | 0 |
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im... | 0 |
{'name': 'get_security_data@src/rororo/openapi/security.py', 'description': 'Get security data from request.\n\nCurrently supported getting API Key & HTTP security data. OAuth & OpenID\ndata not supported yet.', 'signature': 'def get_security_data('}</s>{'name': 'is_jwt_bearer_security_scheme@src/rororo/openapi/securit... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_RECOVER_CF_STRUC = 129 | 0 |
{'name': 'init_tables@reedsolo.py', 'description': "Precompute the logarithm and anti-log tables for faster computation later, using the provided primitive polynomial.\nThese tables are used for multiplication/division since addition/substraction are simple XOR operations inside GF of characteristic 2.\nThe basic idea ... | 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': 'download_file@autodecrypt/utils.py', 'description': 'Download file from IPSW or OTA.', 'signature': 'def download_file('}</s>{'name': 'split_key@autodecrypt/utils.py', 'description': 'Split IV and key.', 'code': 'def split_key(ivkey: str) -> Tuple[str, str]:\n """Split IV and key."""\n iv = ivkey[:32]\n... | 0 |
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'StringSizer@third_party/dawn/third_party/protobuf/pyt... | 0 |
{'name': 'DNSIncoming.readQuestions@stino/pyarduino/base/zeroconf.py', 'description': 'Reads questions section of packet', 'signature': 'def readQuestions(self):'}</s>_TYPE_MR = 9 | 0 |
{'name': 'getTradeHistory@btceapi/public.py', 'description': 'Retrieve the trade history for the given pair. Returns a list of\nTrade instances. If count is not None, it should be an integer, and\nspecifies the number of items from the trade history that will be\nprocessed and returned.', 'signature': 'def getTradeHi... | 0 |
{'name': 'UFOBuilder.__init__@Lib/glyphsLib/builder/builders.py', 'description': 'Create a builder that goes from Glyphs to UFO + designspace.\n\nKeyword arguments:\nfont -- The GSFont object to transform into UFOs. We expect this GSFont\n object to have been pre-processed with\n ``glyphsLib.builder.prefl... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFCONLOS_TOLERATE = 1 | 0 |
{'name': 'QPSEncoderTestCase.test_cosent_speed@tests/test_qps.py', 'description': '测试cosent_speed', 'signature': 'def test_cosent_speed(self):'}</s>{'name': 'SentenceModel@text2vec/sentence_model.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'SentenceModel.__init__@text2vec/sentence_model.py... | 1 |
{'name': 'SAMLIdentityProvider.get_user_details@third_party/social_core/backends/saml.py', 'description': 'Given the SAML attributes extracted from the SSO response, get\nthe user data like name.', 'signature': 'def get_user_details(self, attributes):'}</s>OID_COMMON_NAME = "urn:oid:2.5.4.3" | 1 |
{'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': 'marching_cubes_2d_single_cell@marching_cubes_2d.py', 'description': "Returns a list of edges that approximate f's boundary for a single cell", 'signature': 'def marching_cubes_2d_single_cell(f, x, y):'}</s>CELL_SIZE = 1 | 1 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'versions_from_file@versioneer.py', 'description': 'Try to determine the version from _version.py if present.', 'code': 'def versions_from_file(file... | 0 |
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier... | 0 |
{'name': 'gen_data@sgmcmcjax/models/logistic_regression.py', 'description': 'Generate data with dimension `dim` and `N` data points\n\nParameters\n----------\nkey: uint32\n random key\ndim: int\n dimension of data\nN: int\n Size of dataset\n\nReturns\n-------\ntheta_true: ndarray\n Theta array used to gener... | 1 |
{'name': 'render@blender_kitti/cli.py', 'description': ' ', 'signature': 'def render(python, background, render_config: typing.Union[str, None], filenames):'}</s>handler = logging.StreamHandler() | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>version_info = pbr.version.VersionInfo('packstack') | 0 |
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'NotInANamespace@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Miss... | 0 |
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_multi_string_literal@ctypesgen/parser... | 0 |
{'name': 'what@boxx/ylimg/ylimgTool.py', 'description': "tell you what's this by\npretty print `Document`, `Classes`, `Inner Struct`, `Attributes` of anything.\n\na magic tool to learn new Python Package\n\nParameters\n----------\nanything : anything in Python\n decompose all of anything\nfull : bool, default False\... | 1 |
{'name': 'main@streaming/language_support/python/distribute_setup.py', 'description': 'Install or upgrade setuptools and EasyInstall', 'signature': 'def main(version=DEFAULT_VERSION):'}</s>{'name': 'use_setuptools@streaming/language_support/python/distribute_setup.py', 'description': 'DOCSTRING', 'code': 'def use_setup... | 0 |
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>_program_start_mtonic = monotonic() | 0 |
{'name': 'RemoveSelfDependencies@gyp/pylib/gyp/input.py', 'description': 'Remove self dependencies from targets that have the prune_self_dependency\nvariable set.', 'signature': 'def RemoveSelfDependencies(targets):'}</s>{'name': 'ValidateRunAsInTarget@gyp/pylib/gyp/input.py', 'description': 'DOCSTRING', 'code': 'def V... | 0 |
{'name': 'main@data/src/data/get_zipcodes.py', 'description': 'Downloads zipcodes from lacounty.gov, and runs data processing\nscripts to turn raw data into cleaned data ready\nto be analyzed. Also updates environmental\nvariable RAW_DATA_FILEPATH.', 'signature': 'def main(input_filedir: str, output_filedir: str):'}</s... | 0 |
{'name': '_create_p2p_link_worker@src/evengsdk/cli/lab/commands.py', 'description': 'Worker for Thread Executor to create p2p links', 'signature': 'def _create_p2p_link_worker(link: Dict, path: str, tasks: List) -> None:'}</s>{'name': 'create_network_links@src/evengsdk/cli/lab/commands.py', 'description': 'Create netwo... | 0 |
{'name': 'draw_dry_adiabat@pymeteo/skewt.py', 'description': 'Plot dry adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates dry adiabats\nand plots these lines. Adiabats are calculated \nevery 10 K', 'signature': 'def draw_dry_adiabat(axes):'}</s... | 0 |
{'name': 'ProcessFileData@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file... | 0 |
{'name': 'delete_database@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_database.py', 'description': 'deletedatabase\n\n:param number_of_companies: number_of_companies\n :type number_of_companies: int\n ', 'signature': 'def delete_database(number_of_companies):'}</s>RESOURCE_GROUP = Non... | 1 |
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>{'name': 'skipIfRemote@tools/lldb/packages/Python/lldbsuite/test/decorators.... | 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': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_set_of_integers_and_strings@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_set_of_integers_and_strings():\n schema = Sc... | 0 |
{'name': 'lf_summary@trove/metrics/analysis.py', 'description': 'Returns a pandas DataFrame with the various per-LF statistics.\n\nArgs:\n L: an n x m scipy.sparse matrix where L_{i,j} is the label given by the\n jth LF to the ith candidate\n Y: an [n] or [n, 1] np.ndarray of gold labels.\n If provi... | 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': 'CameraGroup.getLogProbability@cameratransform/camera.py', 'description': 'Gives the sum of all terms of the log probability. This function is used for sampling and fitting.', 'signature': 'def getLogProbability(self):'}</s>Image = ArrayLike | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_XWAIT_ERROR = 2108 | 0 |
{'name': 'TestFillingCustomFields.test_uses_generator_function_for_custom_foreignkey@tests/test_filling_fields.py', 'description': 'Should use the generator function passed as a value for the add method', 'signature': 'def test_uses_generator_function_for_custom_foreignkey(self, custom_cfg):'}</s>{'name': 'TestFillingI... | 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': 'PairCounter.from_file@pairtools/lib/stats.py', 'description': 'create instance of PairCounter from file\nParameters\n----------\nfile_handle: file handle\nReturns\n-------\nPairCounter\n new PairCounter filled with the contents of the input file', 'signature': 'def from_file(cls, file_handle, n_dist_bins_d... | 0 |
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': '_prepare_related@model_mommy/random_gen.py', 'description': 'DOCSTRING', 'code': 'def _... | 0 |
{'name': 'MarkdownConverter.get_conv_fn@markdownify/__init__.py', 'description': 'Given a tag name, find and return the conversion function.', 'signature': 'def get_conv_fn(self, tag_name):'}</s>{'name': 'MarkdownConverter@markdownify/__init__.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'n... | 1 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'read_tsv_file@src/python_scripts/afnipy/afni_util.py', 'description': 'read a TSV file, and retu... | 0 |
{'name': 'validate_config@buildtest/cli/config.py', 'description': "This method implements ``buildtest config validate`` which attempts to\nvalidate buildtest schema file `settings.schema.json <https://github.com/buildtesters/buildtest/blob/devel/buildtest/schemas/settings.schema.json>`_.\nIf it's not validate an excep... | 0 |
{'name': 'PACT_Conv1d.get_output_eps@nemo/quant/pact.py', 'description': 'Get the output quantum (:math:`\\varepsilon`) given the input one.\n\n:param eps_in: input quantum :math:`\\varepsilon_{in}`.\n:type eps_in: :py:class:`torch.Tensor`\n:return: output quantum :math:`\\varepsilon_{out}`.\n:rtype: :py:class:`torch... | 0 |
{'name': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar... | 0 |
{'name': 'get_async_fn@asynq/decorators.py', 'description': 'Returns an async function for the specified source function.', 'signature': 'def get_async_fn(fn, wrap_if_none=False):'}</s>{'name': 'AsyncDecoratorBinder@asynq/decorators.py', 'description': 'DOCSTRING', 'base_classes': ['qcore.decorators.DecoratorBinder'], ... | 0 |
{'name': 'rs_correct_errata@reedsolo6.py', 'description': 'Forney algorithm, computes the values (error magnitude) to correct the input message.', 'signature': 'def rs_correct_errata(msg_in, synd, err_pos, fcr=0, generator=2): # err_pos is a list of the positions of the errors/erasures/errata'}</s>{'name': 'rs_find_err... | 1 |
{'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': 'create_plot@pyeit/visual/plot.py', 'description': 'Creates a plot of a reconstructed EIT image. Optionally plots electrode positions and adds coordinate labels.\n\nParameters\n----------\nax\n Matplotlib axes on which to create the plot\neit_image\n Real valued output of pyeit solve methods\nmesh\n P... | 1 |
{'name': 'SpliceComments@tools/yapf/yapf/yapflib/comment_splicer.py', 'description': 'Given a pytree, splice comments into nodes of their own right.\n\nExtract comments from the prefixes where they are housed after parsing.\nThe prefixes that previously housed the comments become empty.\n\nArgs:\n tree: a pytree.Node ... | 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... | 1 |
{'name': 'StandardRun.check_options@selection_pipeline/standard_run.py', 'description': 'Check the options for any incombatibilities as they are not perfect.\n\nFor instance specifying the no genetic map option and not using\nbeagle will cause direct problems with shapeit', 'signature': 'def check_options(self):'}</s>{... | 0 |
{'name': 'calculate_model_name@httpstan/models.py', 'description': 'Calculate model name from Stan program code.\n\nNames look like this: ``models/2uxewutp``. Name uses a hash of the\nconcatenation of the following:\n\n- UTF-8 encoded Stan program code\n- UTF-8 encoded string recording the httpstan version\n- UTF-8 enc... | 0 |
{'name': 'nestedExpr@venv/Lib/site-packages/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 ex... | 0 |
{'name': 'conv3x3@src/model/tsm/resnet.py', 'description': '3x3 convolution with padding', 'signature': 'def conv3x3(in_planes, out_planes, stride=1, groups=1, dilation=1):'}</s>{'name': 'conv1x1@src/model/tsm/resnet.py', 'description': '1x1 convolution', 'code': 'def conv1x1(in_planes, out_planes, stride=1):\n """1... | 0 |
{'name': 'catch_client_error@core/utils.py', 'description': 'Decorator to catch the ClientError exception and translate it into a reply.', 'signature': 'def catch_client_error(func):'}</s>{'name': 'generate_name@core/utils.py', 'description': 'DOCSTRING', 'code': "def generate_name():\n adjective_list = [\n '... | 0 |
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MATCH_LD = 12291 | 0 |
{'name': 'cross_couple@python/np/carfac.py', 'description': "This function cross couples gain between multiple ears.\n\nThere's no impact for this function in the case of monoaural input.\nArgs:\n ears: the list of ear inputs.\n\nReturns:\n The list of ear inputs, modified to multiaural coupling.", 'signature': 'def ... | 0 |
{'name': 'default_if_empty@yaql/standard_library/queries.py', 'description': ':yaql:defaultIfEmpty\n\nReturns default value if collection is empty.\n\n:signature: collection.defaultIfEmpty(default)\n:receiverArg collection: input collection\n:argType collection: iterable\n:arg default: value to be returned if collectio... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCTLO_CURRENT_VERSION = 1 | 0 |
{'name': 'real_env_step_increment@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Real env step increment.', 'signature': 'def real_env_step_increment(hparams):'}</s>{'name': 'training_loop@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Run the main training loop.', 'code': 'def training_... | 0 |
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>nodes = 5 | 0 |
{'name': 'assign_confidence@mokapot/confidence.py', 'description': 'Assign confidence to PSMs, peptides, and optionally proteins.\n\nParameters\n----------\ndatasets : list[PsmDataset]\n A collection of PSMs.\nscores_list : list[numpy.ndarray[float]] | None, optional\n The scores by which to rank the PSMs. Usuall... | 1 |
{'name': 'test_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that DB errors are logged to stderr', 'signature': 'def test_db_error_logging_to_stderr(level, defaultenv, metapostgrest):'}</s>{'name': 'test_jwt_secret_reload@test/io/test_io.py', 'description': 'JWT secret should be reloaded from f... | 0 |
{'name': 'DonutModel.plot_results@loudml/donut.py', 'description': '# Arguments:\n models (tuple): encoder and decoder models\n data (tuple): test data and label\n model_name (string): which model is using this function', 'signature': 'def plot_results('}</s>{'name': 'NotFound@loudml/errors.py', 'description':... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.