text string | label int64 |
|---|---|
{'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>_EPOCH_DATETIME_NAIVE = datetime.datetime.utcfromtimestamp(0) | 0 |
{'name': 'PerfectModelEnsemble.verify@src/climpred/classes.py', 'description': 'Verify initialized predictions against a configuration of its members.\n\n.. note::\n The configuration of the other ensemble members is based off of the\n ``comparison`` keyword argument.\n\nArgs:\n metric: Metric to apply for ver... | 1 |
{'name': 'perform_scaling@Pose2Sim/kinematics.py', 'description': 'Perform model scaling based on the (not necessarily static) TRC file:\n- Remove 10% fastest frames (potential outliers)\n- Remove frames where coordinate speed is null (person probably out of frame)\n- Remove 40% most extreme calculated segment values (... | 0 |
{'name': 'GTestFailIfNoTestLinkedTest.Run@third_party/libgtest/googletest/test/googletest-fail-if-no-test-linked-test.py', 'description': 'Run the given program with the given flag.\n\nArgs:\n program_name: Name of the program to run.\n flag: The command line flag to pass to the program, or None.\n env: Dictionary w... | 0 |
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ... | 0 |
{'name': 'ProcessFileData@runtimes/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.\n lines:... | 0 |
{'name': 'traced@beeline/__init__.py', 'description': 'Function decorator to wrap an entire function in a trace span. If no trace\nis active in the current thread, starts a new trace, and the wrapping span\nwill be a root span. If a trace is active, creates a child span of the\nexisting trace.\n\nExample use:\n\n```\n@... | 0 |
{'name': 'save_class_activation_images@src/misc_functions.py', 'description': ' Saves cam activation map and activation map on the original image\n\nArgs:\n org_img (PIL img): Original image\n activation_map (numpy arr): Activation map (grayscale) 0-255\n file_name (str): File name of the exported image', '... | 0 |
{'name': 'Message.load@src/betterproto/__init__.py', 'description': 'Load the binary encoded Protobuf from a stream into this message instance. This\nreturns the instance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nstream: :class:`bytes`\n The stream to load the message from.\nsize:... | 0 |
{'name': 'Connection.read@nsq/connection.py', 'description': 'Responses from an established socket', 'signature': 'def read(self):'}</s>FRAME_TYPE_RESPONSE = 0 | 0 |
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi... | 0 |
{'name': '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': 'GaussianMixtureCopula.dim@copulae/mixtures/gmc/gmc.py', 'description': 'Number of dimensions for each copula in the :class:`GaussianMixtureCopula`', 'signature': 'def dim(self):'}</s>{'name': 'expectation_maximization@copulae/mixtures/gmc/estimators/em.py', 'description': "Executes a pseudo expectation maximi... | 0 |
{'name': '_build_classification_loss@object_detection/builders/losses_builder.py', 'description': 'Builds a classification loss based on the loss config.\n\nArgs:\n loss_config: A losses_pb2.ClassificationLoss object.\n\nReturns:\n Loss based on the config.\n\nRaises:\n ValueError: On invalid loss_config.', 'signatu... | 0 |
{'name': 'calculate_association@tensorqtl/cis.py', 'description': 'Standalone helper function for computing the association between\na set of genotypes and a single phenotype.', 'signature': 'def calculate_association(genotype_df, phenotype_s, covariates_df=None,'}</s>{'name': 'map_nominal@tensorqtl/cis.py', 'descripti... | 0 |
{'name': 'test_build_classification_matrix_sparse@tests/test_utils.py', 'description': 'Builds a classification matrix from two\nmatrices with gene names that are not aligned.\n\nTests using sparse matrices.', 'signature': 'def test_build_classification_matrix_sparse():'}</s>{'name': 'test_build_classification_matrix_d... | 0 |
{'name': 'LCSAlgorithm.new_model@xcs/framework.py', 'description': 'Create and return a new classifier set initialized for handling\nthe given scenario.\n\nUsage:\n scenario = MUXProblem()\n model = algorithm.new_model(scenario)\n model.run(scenario, learn=True)\n\nArguments:\n scenario: A Scenario instance... | 0 |
{'name': 'eval_adv_test_blackbox@pgd_attack_mnist.py', 'description': 'evaluate model by black-box attack', 'signature': 'def eval_adv_test_blackbox(model_target, model_source, device, test_loader):'}</s>{'name': 'main@pgd_attack_mnist.py', 'description': 'DOCSTRING', 'code': "def main():\n\n if args.white_box_attac... | 0 |
{'name': 'ContinuousWaveformClient._request_cont_waveform@HinetPy/client.py', 'description': 'Request continuous waveform.\n\nParameters\n----------\ncode: str\n Network code.\nstarttime: :py:class:`datetime.datetime`\n Starttime of data request.\nspan: int\n Time span in minutes.\n\nReturns\n-------\nid: str\... | 0 |
{'name': 'MediaWiki.get_user_id@third_party/social_core/backends/mediawiki.py', 'description': 'Get the unique Mediawiki user ID.', 'signature': 'def get_user_id(self, details, response):'}</s>{'name': 'BaseOAuth1@third_party/social_core/backends/oauth.py', 'description': 'Consumer based mechanism OAuth authentication,... | 0 |
{'name': 'NewDatabase.update@premise/new_database.py', 'description': 'Update a specific sector by name.', 'signature': 'def update(self, sectors: [str, list, None] = None) -> None:'}</s>{'name': 'end_of_process@premise/utils.py', 'description': 'Delete all pickle files in the cache folder.\nAnd all information not nee... | 0 |
{'name': 'Session.prepare_request@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/requests/sessions.py', 'description': "Constructs a :class:`PreparedRequest <PreparedRequest>` for\ntransmission and returns it. The :class:`PreparedRequest` has settings\nmerged from the :class:`Request <Request>` instance and th... | 0 |
{'name': 'is_block@tests/test_backbones/test_resnet.py', 'description': 'Check if is ResNet building block.', 'signature': 'def is_block(modules):'}</s>{'name': 'test_resnet_v1d@tests/test_backbones/test_resnet.py', 'description': 'DOCSTRING', 'code': "def test_resnet_v1d():\n model = ResNetV1d(depth=50, out_indices... | 0 |
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': 'IsErrorSuppressedByNolint@scripts/cpplint.py', 'description': 'Returns true if the specified error category is suppressed on this line.\n\n... | 0 |
{'name': 'reflection_matrix@transformations.py', 'description': 'Return matrix to mirror at plane defined by point and normal vector.\n\n>>> v0 = numpy.random.random(4) - 0.5\n>>> v0[3] = 1.\n>>> v1 = numpy.random.random(3) - 0.5\n>>> R = reflection_matrix(v0, v1)\n>>> numpy.allclose(2, numpy.trace(R))\nTrue\n>>> numpy... | 0 |
{'name': 'showBox@source/pi-timolo.py', 'description': 'Show stream image detection area on image to align camera\nThis is a quick fix for restricting motion detection\nto a portion of the final image. Change the stream image size\non line 206 and 207 above\nAdjust track config.py file MOTION_TRACK_TRIG_LEN as required... | 0 |
{'name': 'merge@linopy/expressions.py', 'description': 'Merge multiple expression together.\n\nThis function is a bit faster than summing over multiple linear expressions.\nIn case a list of LinearExpression with exactly the same shape is passed\nand the dimension to concatenate on is TERM_DIM, the concatenation uses\n... | 0 |
{'name': 'networkd_networks@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd network configuration.\n\nThe format is compatible with the systemd_networkd_network variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: ... | 0 |
{'name': 'merge_config_sources@src/flashfocus/config.py', 'description': 'Merge the user, default configs and CLI options into a single dict.', 'signature': 'def merge_config_sources(user_config: dict, default_config: dict, cli_options: dict) -> dict:'}</s>{'name': 'unset_invalid_x11_options@src/flashfocus/config.py', ... | 0 |
{'name': 'provider.__send_data@dataset/inria_person.py', 'description': 'a single thread which send a data to the data queue\n ', 'signature': 'def __send_data(self):'}</s>{'name': 'draw_keypoints_on_image@utils/test_tools.py', 'description': 'Draws keypoints on an image.\nArgs:\n image: a PIL.Image object.\n ... | 0 |
{'name': '_decode_region@pylibdmtx/pylibdmtx.py', 'description': 'Decodes and returns the value in a region.\n\nArgs:\n region (DmtxRegion):\n\nYields:\n Decoded or None: The decoded value.', 'signature': 'def _decode_region(decoder, region, corrections, shrink, return_vertices=False):'}</s>{'name': 'encode@pylib... | 0 |
{'name': 'facet_reference_volumes@python/basix/cell.py', 'description': 'Reference volumes of the facets of a reference cell.\n\nArgs:\n celltype: Cell type.\n\nReturns:\n Reference volumes.', 'signature': 'def facet_reference_volumes(celltype: CellType) -> npt.ArrayLike:'}</s>{'name': 'sub_entity_connectivity@py... | 0 |
{'name': 'FakeFount._actuallyResume@tubes/test/util.py', 'description': 'Resume the flow (decrementing flowIsPaused).\n\n@note: this is overridden in subclasses to modify behavior.', 'signature': 'def _actuallyResume(self):'}</s>{'name': 'NullTube@tubes/test/util.py', 'description': 'An L{ITube} that does nothing when ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_SYSP_Q_MGR_TIME = 3119 | 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': 'MessageSetItemEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required stri... | 1 |
{'name': 'r6d2mat@fairnr/data/geometry.py', 'description': 'Converts 6D rotation representation by Zhou et al. [1] to rotation matrix\nusing Gram--Schmidt orthogonalisation per Section B of [1].\nArgs:\n d6: 6D rotation representation, of size (*, 6)\n\nReturns:\n batch of rotation matrices of size (*, 3, 3)\n\n[... | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'DarwinLogEventBasedTestBase.do_test@lldb/packages/Python/lldbsuite/test/darwin_log.py', 'description': 'Runs the test inferior, returning collected events.\n\nThis method runs the test inferior to the first breakpoint hit.\nIt then adds a listener for structured data events, and collects\nall events from that... | 0 |
{'name': 'run_applescript@src/workflow/util.py', 'description': 'Execute an AppleScript script and return its output.\n\n.. versionadded:: 1.31\n\nRun AppleScript either by filepath or code. If ``script`` is a valid\nfilepath, that script will be run, otherwise ``script`` is treated\nas code.\n\nArgs:\n script (str,... | 0 |
{'name': 'PredictionEnsemble._bootstrap@src/climpred/classes.py', 'description': "PredictionEnsemble.bootstrap() parent method.\n\nexplain: OPTIONS['bootstrap_resample_skill_func']\n\nSee also:\n* :py:meth:`~climpred.PerfectModelEnsemble.bootstrap`\n* :py:meth:`~climpred.HindcastEnsemble.bootstrap`", 'signature': 'def ... | 1 |
{'name': 'CScript.raw_iter@test/functional/test_framework/script.py', 'description': 'Raw iteration\n\nYields tuples of (opcode, data, sop_idx) so that the different possible\nPUSHDATA encodings can be accurately distinguished, as well as\ndetermining the exact opcode byte indexes. (sop_idx)', 'signature': 'def raw_ite... | 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>{'name'... | 0 |
{'name': 'make_plots@nanoplot/NanoPlot.py', 'description': 'Call plotting functions from nanoplotter\nsettings["lengths_pointer"] is a column in the DataFrame specifying which lengths to use', 'signature': 'def make_plots(datadf, settings):'}</s>{'name': 'list_colormaps@nanoplot/utils.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'BaseHubConnection.on_close@signalrcore/hub/base_hub_connection.py', 'description': 'Configures on_close connection callback.\n It will be raised on connection closed event\nconnection.on_close(lambda: print("connection closed"))\nArgs:\n callback (function): function without params', 'signature': 'def o... | 0 |
{'name': 'NewDatabase.update@premise/new_database.py', 'description': 'Update a specific sector by name.', 'signature': 'def update(self, sectors: [str, list, None] = None) -> None:'}</s>FILEPATH_BIOCHAR = INVENTORY_DIR / "lci-biochar-spruce.xlsx" | 0 |
{'name': 'LeapAccount.get_project_token@dwave/cloud/api/resources.py', 'description': 'Retrieve SAPI token for a given Leap project.', 'signature': 'def get_project_token(self, *,'}</s>{'name': 'DWaveAPIClient@dwave/cloud/api/client.py', 'description': "Low-level client for D-Wave APIs. A thin wrapper around\n`requests... | 0 |
{'name': 'PathCompositionInterface.__init__@furl/furl.py', 'description': 'Params:\n force_absolute: See Path._force_absolute.\n\nAssignments to <self> in __init__() must be added to\n__setattr__() below.', 'signature': 'def __init__(self, strict=False):'}</s>{'name': 'attemptstr@furl/furl.py', 'description': 'DOCSTRI... | 0 |
{'name': 'MethodReferenceSyntaxTest.test_method_reference_to_the_new_method_with_explict_type@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': "test support for method references to 'new' with an\nexplicit type.", 'signature': 'def test_method_reference_to_the_new_method_with_explict_type(self... | 0 |
{'name': 'run@slim/datasets/download_and_convert_cifar10.py', 'description': 'Runs the download and conversion operation.\n\nArgs:\n dataset_dir: The dataset directory where the dataset is stored.', 'signature': 'def run(dataset_dir):'}</s>{'name': 'has_labels@slim/datasets/dataset_utils.py', 'description': 'Specifies... | 0 |
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>{'name': 'pf_addr_wrap@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'Muse._handle_gyro@muselsl/muse.py', 'description': 'Handle incoming gyroscope data.\n\nsampling rate: ~17 x second (3 samples in each message, roughly 50Hz)', 'signature': 'def _handle_gyro(self, handle, packet):'}</s>RETRY_SLEEP_TIMEOUT = 1 | 0 |
{'name': '_unparsedGroup@metar/Metar.py', 'description': 'Handle otherwise unparseable main-body groups.', 'signature': 'def _unparsedGroup( self, d ):'}</s>TS_LOC_RE = re.compile(r"""TS(\s+(?P<loc>( OHD | VC | DSNT\s+ | \s+AND\s+ |
[NSEW][EW]? (-[NSEW][EW]?)* )+))?
... | 0 |
{'name': 'handle_exception@radish/errororacle.py', 'description': 'Handle the given exception\n\nThis will print more information about the given exception\n\n:param Exception exception: the exception to handle', 'signature': 'def handle_exception(exception):'}</s>__RADISH_DOC__ = "https://github.com/radish-bdd/radish" | 0 |
{'name': 'MarketstoreStub.__init__@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>DataType = enum_type_wrapper.EnumTypeWrapper(_DATATYPE) | 0 |
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>root_index = _get_value(_extconf, 'Gateway', 'root_index', gateway) | 0 |
{'name': 'PBES1.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES1*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ... | 0 |
{'name': 'b_index@tksheet/functions.py', 'description': 'Designed to be a faster way of finding the index of an int\nin a sorted list of ints than list.index()', 'signature': 'def b_index(sorted_seq: Sequence[int], num_to_index: int) -> int:'}</s>{'name': 'str_to_int@tksheet/functions.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'main@run.py', 'description': 'Main function ', 'signature': 'def main():'}</s>{'name': 'download@module/exercise_file.py', 'description': 'Download exercise file ', 'code': 'def download(url, course_folder, cookie_path):\n \'\'\' Download exercise file \'\'\'\n if read.web_browser_for_exfile.lower() == ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXR_CLWL_REPOS = 23 | 0 |
{'name': 'GTestFilterUnitTest.testUniversalFilters@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Tests filters that match everything.', 'signature': 'def testUniversalFilters(self):'}</s>param_tests_present = None | 0 |
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'render_welcome@src/server/server.py', 'description': 'Route to first-run (admin) setup.', 'code': "def render_welcome():\n '''Route to first-run (admin) setup.'''\n ... | 0 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'string_to_type_list@src/python_scripts/afnipy/afni_util.py', 'des... | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>CMAP_YLGNBU = 21 | 0 |
{'name': '_build_absolute_path@python/src/multi_language_broadcast_ts.py', 'description': 'Builds an absolute path by concatenating the S3_OUTPUT_BASE_PATH configuration parameter, the\nname of this example and the given relative path\n\n<p>e.g.: /s3/base/path/exampleName/relative/path\n\n:param relative_path: The rela... | 0 |
{'name': 'before_save@rulematrix/server/utils.py', 'description': 'make sure that the dedicated path exists (create if not exist)\n:param file_or_dir:\n:return:', 'signature': 'def before_save(file_or_dir):'}</s>{'name': 'df2csv@rulematrix/server/utils.py', 'description': 'DOCSTRING', 'code': 'def df2csv(df, filename, ... | 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': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'Optimizer.__init__@tf_verify/optimizer.py', 'description': 'Arguments\n---------\noperations : list\n list of dicts, each dict contains a mapping from a domain (like deepzono, refinezono or deeppoly) to a tuple with resources (like matrices, biases ...)\nresources : list\n list of str, each one being a ... | 0 |
{'name': 'CommandBuffer.enqueue_command@rb/clients.py', 'description': 'Enqueue a new command into this pipeline.', 'signature': 'def enqueue_command(self, command_name, args, options):'}</s>{'name': 'auto_batch_commands@rb/clients.py', 'description': 'Given a pipeline of commands this attempts to merge the commands\ni... | 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': 'match_VCF_samples@vireoSNP/utils/vcf_utils.py', 'description': 'Match donors in two VCF files. Please subset the VCF with bcftools first,\nas it is more computationally efficient:\n\n`bcftools view large_file.vcf.gz -R small_file.vcf.gz -Oz -o sub.vcf.gz`\n\nParameters\n----------\nVCF_file1: str\n the ful... | 0 |
{'name': 'AssessmentBase.__init__@pelicun/assessment.py', 'description': 'Initialize an Assessment object.\n\nParameters\n----------\nconfig_options:\n User-specified configuration dictionary.', 'signature': 'def __init__(self, config_options: dict[str, Any] | None = None) -> None:'}</s>{'name': 'Logger@pelicun/base... | 1 |
{'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': 'oracle_padding_recovery@crypto_commons/symmetrical/symmetrical.py', 'description': 'Orale padding attack based on https://github.com/mpgn/Padding-oracle-attack/blob/master/exploit.py\n:param ciphertext: \n:param oracle_fun: \n:param size_block: \n:param search_charset: \n:return: ', 'signature': 'def oracle_p... | 0 |
{'name': 'ProcessFileData@llvm-4.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': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>private_properties_file = root_path / 'private.properties' | 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': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ... | 0 |
{'name': 'scnym_api@scnym/api.py', 'description': 'scNym: Semi-supervised adversarial neural networks for\nsingle cell classification [Kimmel2020]_.\n\nscNym is a cell identity classifier that transfers annotations from one\nsingle cell experiment to another. The model is implemented as a neural\nnetwork that employs M... | 0 |
{'name': 'get_exemplar_motifs@modisco/hit_scoring/exemplar_based_hitscoring.py', 'description': 'This identifies the exemplars among seqlets\n\nArgs:\n seqlets: A list of :class:`modisco.core.Seqlet` that are already\n aligned relative to each other\n pattern_comparison_settings: determines which tracks to... | 0 |
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'CNAMEDtcRecord@infoblox_client/objects.py', 'description': "CNAMEDtcRecord: DT... | 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': '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': 'mulaw@utils/audio.py', 'description': 'Mu-Law companding\nMethod described in paper [1]_.\n.. math::\n f(x) = sign(x) ln (1 + mu |x|) / ln (1 + mu)\nArgs:\n x (array-like): Input signal. Each value of input signal must be in\n range of [-1, 1].\n mu (number): Compression parameter ``μ``.\nReturn... | 0 |
{'name': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f... | 0 |
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI... | 0 |
{'name': 'test_minimal_data@tests/builder/builder_test.py', 'description': 'Test the minimal data that must be provided to generate UFOs, and in\nsome cases that additional redundant data is not set.', 'signature': 'def test_minimal_data(ufo_module):'}</s>{'name': 'test_glyph_color_layers_strokecolor@tests/builder/buil... | 0 |
{'name': 'get_makefile_filename@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/sysconfig.py', 'description': 'Return the path of the Makefile.', 'signature': 'def get_makefile_filename():'}</s>{'name': '_init_non_posix@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/syscon... | 0 |
{'name': 'create_uuid_tables@.translation-tables/translation-tables.py', 'description': 'CREATE UUID.md TRANSLATION TABLES ', 'signature': 'def create_uuid_tables():'}</s>{'name': 'create_readme_locale_tables@.translation-tables/translation-tables.py', 'description': 'CREATE README.md AND LOCALE.md TRANSLATION TABLES '... | 0 |
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'AbstractModelA@modeltranslation/tests/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'meth... | 0 |
{'name': 'TestMibSnimpy.testGet@tests/test_mib.py', 'description': 'Test that we can get all named attributes', 'signature': 'def testGet(self):'}</s>{'name': 'Integer@snimpy/basictypes.py', 'description': 'Class for any integer.', 'base_classes': ['Type', 'int'], 'methods': [{'name': 'Integer._internal@snimpy/basictyp... | 0 |
{'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': 'FiniteDomainRef@src/api/python/z3/z3.... | 0 |
{'name': 'SpeechLSTMModel.build_model@espresso/models/speech_lstm.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'get_available_activation_fns@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def get_available_activation_fns() -> List:\n return... | 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': 'build_would_succeed@nix_bisect/nix.py', 'description': 'Determines build success without actually building if possible', 'signature': 'def build_would_succeed('}</s>_BUILDER_FAILED_PAT = re.compile(b"builder for '([^']+)' failed with exit code (\\d+);") | 0 |
{'name': 'add_packet_to_queue@core/packet_collector.py', 'description': 'Adds a packet to the packet queue.', 'signature': 'def add_packet_to_queue(pkt):'}</s>IP_INSIGHTS_URL = INSPECTOR_DATA_DONATION_SERVER + '/get_hostname_from_ip' | 0 |
{'name': '_read_csv@meza/io.py', 'description': "Helps read a csv file.\n\nArgs:\n f (obj): The csv file like object.\n header (Seq[str]): Sequence of column names.\n has_header (bool): Whether or not file has a header.\n\nKwargs:\n first_col (int): The first column (default: 0).\n\nYields:\n dict: A csv... | 0 |
{'name': 'TestingParser.set_parser@tests/run_all_tests.py', 'description': 'Sets a new argument parser.\n\nThis method sets a new instance of the argument parser.\n\nParameters:\n- newParser (argparse.ArgumentParser): The new argument parser to set.', 'signature': 'def set_parser(self, newParser: argparse.ArgumentParse... | 0 |
{'name': 'test_single_build_pkg_dir@test/test_utils.py', 'description': 'Builds the "one" recipe with pkg_dir.', 'signature': 'def test_single_build_pkg_dir(recipes_fixture):'}</s>{'name': 'envstr@bioconda_utils/utils.py', 'description': 'DOCSTRING', 'code': "def envstr(env):\n env = dict(env)\n return ';'.join([... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.