text string | label int64 |
|---|---|
{'name': '_ClassifyInclude@tools/cpplint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than "".\n\nReturns:\n One of th... | 0 |
{'name': 'bytes_hash@lib/charliecloud.py', 'description': 'Return the hash of data, as a hex string with no leading algorithm tag.', 'signature': 'def bytes_hash(data):'}</s>CH_RUN = None | 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>{'name': 'checkPlugin@packstack/installer/run_setup.py', 'description': 'DOCS... | 0 |
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>{'name': 'PFRuleset@pf/rule.py', 'description': 'Class representing a Packet Filter ruleset or anchor.', 'base_classes': ['PFRule'], 'methods': [{'name': 'PFRuleset._... | 0 |
{'name': 'testWriteXMLParametersGAFF@openmoltools/tests/test_forcefield_generators.py', 'description': 'Test writing XML parameters loaded from Amber GAFF parameter files ', 'signature': 'def testWriteXMLParametersGAFF():'}</s>{'name': 'create_ffxml_simulation@openmoltools/utils.py', 'description': 'Process a gaff mol2... | 0 |
{'name': 'CheckStyle@tools/caffe-sphereface/scripts/cpp_lint.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 insid... | 0 |
{'name': 'scnym_train@scnym/api.py', 'description': 'Train an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone.\nSaves model outputs to `config["out_path"]` and adds mo... | 0 |
{'name': 'AutoTorrent.link_files@autotorrent/at.py', 'description': 'Links the files to the destination_path if they are found.', 'signature': 'def link_files(self, destination_path, files):'}</s>{'name': 'bdecode@autotorrent/bencode.py', 'description': 'DOCSTRING', 'code': 'def bdecode(x):\n try:\n r, l = de... | 0 |
{'name': 'process_bird_wav@avgn/segment_song/preprocessing.py', 'description': 'This function is the primary workhorse of the preprocessing script - it takes in a wav file,\n breaks it up into several constitutant wav files, then saves them in save_to_folder, with their corresponding timestamp', 'signature': 'def pr... | 1 |
{'name': 'check@watchman/decorators.py', 'description': 'Decorator which wraps checks and returns an error response on failure.', 'signature': 'def check(func):'}</s>WATCHMAN_TOKEN = getattr(settings, "WATCHMAN_TOKEN", None) | 0 |
{'name': 'RootLogger.getRootLogger@local/clogging.py', 'description': ':param stream: An opened stream.\n:param logfile: A log filename or an opened LogFile Instance.', 'signature': "def getRootLogger(cls, name='root', level=WARNING, stream=None, logfile=None):"}</s>_lock_restore_logging = make_lock_decorator() | 0 |
{'name': 'SignRawTransactionsTest.successful_signing_test@test/functional/rpc_signrawtransaction.py', 'description': 'Create and sign a valid raw transaction with one input.\n\nExpected results:\n\n1) The transaction has a complete set of signatures\n2) No script verification error occurred', 'signature': 'def successf... | 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': 'CEModule.forward@model/model.py', 'description': 'Compute joint embeddings and, if requested, a confusion matrix between\nvideo and text representations in the minibatch.\n\nNotation: B = batch size, M = number of modalities', 'signature': 'def forward(self, text, experts, ind, raw_captions):'}</s>{'name': 'd... | 0 |
{'name': 'RejectLog.plot@autoreject/autoreject.py', 'description': "Plot an image of good, bad and interpolated channels for each epoch.\n\nParameters\n----------\norientation : 'vertical' | 'horizontal'\n If `'vertical'` (default), will plot sensors on x-axis and epochs\n on y-axis. If `'horizontal'`, will plot ... | 0 |
{'name': 'test_multiplication@unyt/tests/test_units.py', 'description': 'Multiply two units.', 'signature': 'def test_multiplication():'}</s>{'name': 'test_temperature_offsets@unyt/tests/test_units.py', 'description': 'DOCSTRING', 'code': 'def test_temperature_offsets(u1, u2):\n with pytest.raises(InvalidUnitOperati... | 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': 'test_allocation_after_unsetting_profile_function@tests/integration/test_tracing.py', 'description': 'After tracking starts, unset the profile function then allocate.\n\nMake sure that the stack for the allocation is unknown.', 'signature': 'def test_allocation_after_unsetting_profile_function(tmp_path):'}</s>... | 0 |
{'name': 'extract_sw_logs@hw/vendor/lowrisc_opentitan/util/device_sw_utils/extract_sw_logs.py', 'description': 'This function extracts contents from the logs fields section, and the\nread only sections, processes them and generates a tuple of (results) -\nlog with fields and (rodata) - constant strings with their addre... | 0 |
{'name': 'ready@api/project/__init__.py', 'description': "Return ready status (true or false) for various Malcolm components\n\nParameters\n----------\n\nReturns\n-------\narkime\n true or false, the ready status of Arkime\ndashboards\n true or false, the ready status of Dashboards (or Kibana)\ndashboards_maps\n ... | 0 |
{'name': 'TaprootTest.gen_test_vectors@test/functional/feature_taproot.py', 'description': 'Run a scenario that corresponds (and optionally produces) to BIP341 test vectors.', 'signature': 'def gen_test_vectors(self):'}</s>ERR_SIG_SIZE = {"err_msg": "Invalid Schnorr signature size"} | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_PRIORITY_ERROR = 2050 | 0 |
{'name': 'Retry.__call__@stream/clients/python/bookkeeper/common/retry.py', 'description': 'Wrap a callable with retry behavior.\nArgs:\n func (Callable): The callable to add retry behavior to.\n on_error (Callable): A function to call while processing a\n retryable exception. Any error raised by this fun... | 0 |
{'name': 'InverseLaplaceTransformAlgorithmBase.line_integrate_all_multi@torchlaplace/inverse_laplace.py', 'description': 'Reconstruct trajectories :math:`\\mathbf{x}(t)` for `fp`, Laplace representations evaluated at `s` points from the input `ti` points, :math:`t`, using the selected ILT algorithm (takes batch input o... | 0 |
{'name': 'query_bucket@container/sagemaker-tensorflow-inferentia/build_artifacts/deep_learning_container.py', 'description': 'GET request on an empty object from an Amazon S3 bucket', 'signature': 'def query_bucket():'}</s>{'name': 'requests_helper@container/sagemaker-tensorflow-inferentia/build_artifacts/deep_learning... | 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>MQDCC_DEFAULT_CONVERSION = 1 | 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': 'runprofile@pyFileFixity/lib/profilers/visual/functionprofiler.py', 'description': 'Run the functions profiler and save the result\nIf timeout is greater than 0, the profile will automatically stops after timeout seconds', 'signature': 'def runprofile(mainfunction, output, timeout = 0, calibrate=False):'}</s>{... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQQMF_REPOSITORY_Q_MGR = 2 | 0 |
{'name': 'create_eval_input_fn@object_detection/inputs.py', 'description': 'Creates an eval `input` function for `Estimator`.\n\nArgs:\n eval_config: An eval_pb2.EvalConfig.\n eval_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator` in ... | 0 |
{'name': 'get_hhh_investigator@website/web/__init__.py', 'description': 'Returns all the captures related to a cookie name entry, used in the web interface.', 'signature': 'def get_hhh_investigator(hhh: str, offset: int | None=None, limit: int | None=None, search: str | None=None) -> tuple[int, list[tuple[str, str, str... | 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>EASING_IN_OUT_ELASTIC = 27 | 0 |
{'name': 'resolve_symbol@tools/overlayhelpers/actor_symbols.py', 'description': 'Returns (overlay file path, file offset) from a given VRAM address', 'signature': 'def resolve_symbol(address):'}</s>{'name': 'null_or_ptr@tools/overlayhelpers/actor_symbols.py', 'description': 'DOCSTRING', 'code': 'def null_or_ptr(w):\n ... | 0 |
{'name': 'DenseSum.build@libspn_keras/layers/dense_sum.py', 'description': 'Build the internal components for this layer.\n\nArgs:\n input_shape: Shape of the input Tensor.', 'signature': 'def build(self, input_shape: Tuple[Optional[int], ...]) -> None:'}</s>{'name': 'SumOpBase@libspn_keras/sum_ops/base.py', 'descri... | 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': 'Environment.compile_expression@third_party/dawn/third_party/jinja2/environment.py', 'description': 'A handy helper method that returns a callable that accepts keyword\narguments that appear as variables in the expression. If called it\nreturns the result of the expression.\n\nThis is useful if applications w... | 0 |
{'name': 'CalculateEFG@scopy/ScoRepresent/fingerprints.py', 'description': 'classification system termed “extended functional groups” (EFG),\nwhich are an extension of a set previously used by the CheckMol software, \nthat covers in addition heterocyclic compound classes and periodic table groups. \n583 bits\n\nReferen... | 0 |
{'name': 'DeepCF.build_model@tf2/model.py', 'description': 'set up tf components for main DeepCF net\ncall after setting up desired tf state (cpu/gpu etc...)\n\nNote: should use GPU', 'signature': 'def build_model(self):'}</s>{'name': 'dense_batch_fc_tanh@tf2/model.py', 'description': 'convenience function to build tan... | 1 |
{'name': 'jam_solver@graph/traffic_scheduling_problem.py', 'description': "The traffic jam solver\n- a bidirectional search algorithm that uses simulated annealing\nto induce bias to accelerate the solvers direction of search.\n\n:param graph network available for routing.\n:param loads: dictionary or list with load id... | 1 |
{'name': 'parse_partial_identifier@mssqlcli/packages/parseutils/utils.py', 'description': 'Attempt to parse a (partially typed) word as an identifier\n\nword may include a schema qualification, like `schema_name.partial_name`\nor `schema_name.` There may also be unclosed quotation marks, like\n`"schema`, or `schema."pa... | 0 |
{'name': 'getSegmentation@DigiPathAI/Segmentation.py', 'description': "args:\n img_path: WSI tiff image path (str)\n patch_size: patch size for inference (int)\n stride_size: stride to skip during segmentation (int)\n batch_size: batch_size during inference (int)\n quick: if True; fin... | 0 |
{'name': 'clean_merged_flowlines@oggm/core/flowline.py', 'description': 'Order and cut merged flowlines to size.\n\nAfter matching flowlines were found and merged to one glacier directory\nthis function makes them nice:\nThere should only be one flowline per bed, so overlapping lines have to be\ncut, attributed to a an... | 0 |
{'name': 'CWLApiBackend.export_dag@cwl_airflow/components/api/backend.py', 'description': 'Checks if DAG python file with the same name has been already\nexported. If not, checks if exaclty one of "workflow" and\n"workflow_content" parameters are present in the request. In\ncase of "workflow_content" first we need to l... | 0 |
{'name': '_process_utterance@datasets/moon.py', 'description': 'Preprocesses a single utterance wav/text pair\n\nthis writes the mel scale spectogram to disk and return a tuple to write\nto the train.txt file\n\nArgs:\n - mel_dir: the directory to write the mel spectograms into\n - linear_dir: the directory to wr... | 0 |
{'name': 'TestFile.test_file_dest@python/mozbuild/mozpack/test/test_files.py', 'description': 'Similar to test_file, but for a destination object instead of\na destination file. This ensures the destination object is being\nused properly by File.copy, ensuring that other subclasses of Dest\nwill work.', 'signature': 'd... | 1 |
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'RepeatBitVec@src/api/python/z3/z3.py', 'description': 'Return an expression representing `n` copies of `a`.\n\n>>> x = BitVec(\... | 0 |
{'name': 'cleanup@apim-traffic-tool/lib/attack-tool/src/python/utils/util_methods.py', 'description': 'Terminates a given list of processes\n:param process_list: List of processes that need to be terminated\n:return: None', 'signature': 'def cleanup(process_list):'}</s>{'name': 'write_to_file@apim-traffic-tool/lib/atta... | 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': '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': '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': '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': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
{'name': 'create_database@Twitch Plays Nintendo Switch/Archive/CommunityController v1/Fortnite/main.py', 'description': 'A, B, X, Y, L, R, ZL, ZR, up, down, left, right, left joystick, right joystick, select', 'signature': 'def create_database() -> None:'}</s>DATABASE_FILE = "data.db" | 1 |
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ... | 0 |
{'name': 'attrib@vendor/attr/_make.py', 'description': "Create a new attribute on a class.\n\n.. warning::\n\n Does *not* do anything unless the class is also decorated with\n `attr.s`!\n\n:param default: A value that is used if an ``attrs``-generated ``__init__``\n is used and no value is passed while instan... | 0 |
{'name': 'train_video@goturn/train/train.py', 'description': 'TODO: Docstring for train_video.\n ', 'signature': 'def train_video(videos, tracker_trainer):'}</s>logger = setup_logger(logfile=None) | 1 |
{'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': 'get_arguments@train_s4GAN_wrn38.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>{'name': 'VOCGTDataSet@data/voc_dataset.py', 'description': 'DOCSTRING', 'base_classes': ['data.Dataset'], 'methods': [{'name... | 0 |
{'name': 'TodoistAPI.query@todoist/api.py', 'description': 'DEPRECATED: query endpoint is deprecated for a long time and this\nmethod will be removed in the next major version of todoist-python', 'signature': 'def query(self, queries, **kwargs):'}</s>{'name': 'TodoistAPI@todoist/api.py', 'description': 'Implements the ... | 1 |
{'name': 'Application.update_state@spatialmedia/gui.py', 'description': 'self.checkbox_spherical.configure(state="normal")\nif self.var_spherical.get():\n self.checkbox_3D.configure(state="normal")\n self.button_inject.configure(state="normal")\n if self.enable_spatial_audio:\n self.checkbox_spatial_aud... | 0 |
{'name': 'MetricList.get_sql_and_with_clause@metrics.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed by\n1. Get the query for every children metric.\n2. If all children queries are compatible, we just collect all the columns\n from the children and use the WHERE and GROUP BY clause... | 1 |
{'name': 'KubernetesClient.get_first_or_none@calrissian/k8s.py', 'description': "Check the list. Should be 0 or 1 items. If 0, there's no container yet. If 1, there's a\ncontainer. If > 1, there's more than 1 container and that's unexpected behavior\n:param containers_or_container_statuses: list of V1ContainerStatus or... | 1 |
{'name': '_AppHandler.build@jupyterlab/commands.py', 'description': 'Build the application.', 'signature': 'def build('}</s>{'name': 'get_app_info@jupyterlab/commands.py', 'description': 'Get a dictionary of information about the app.', 'code': 'def get_app_info(app_options=None):\n """Get a dictionary of informatio... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>S_IFCHR = 8192 | 0 |
{'name': 'buildable_env@test/test_builders.py', 'description': 'Set up a temporary directory with everything needed to run the EmulatedDockerBuildStage.', 'signature': 'def buildable_env(request, tmpdir):'}</s>{'name': 'test_custom_post_build_script@test/test_builders.py', 'description': 'DOCSTRING', 'code': 'def test_... | 0 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'process_key@aws-inventory/lambda/inventory-kms.py', 'description': 'Pull additional information for the key, and save to bucket', 'signature': 'def process_key(client, key_arn, target_account, region):'}</s>{'name': 'capture_error@aws-inventory/lambda/common.py', 'description': 'When an exception is thrown, t... | 0 |
{'name': 'train@examples/natural_language/transformers/retrain_distillbert.py', 'description': 'A function that re-trains BERT for sentiment analysis.', 'signature': 'def train(argv=None):'}</s>{'name': '_get_train_length@examples/natural_language/transformers/retrain_distillbert.py', 'description': 'DOCSTRING', 'code'... | 1 |
{'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': 'TestEntityPostSavePostDeleteSignalSync.test_post_updated_entity_no_cascade@entity/tests/sync_tests.py', 'description': 'Verify that updating a mirrored entity does not cause the entity to be deleted (which\nresults in a cascading delete for all pointers.', 'signature': 'def test_post_updated_entity_no_cascade... | 0 |
{'name': 'PecanBase.invoke_controller@pecan/core.py', 'description': 'The main request handler for Pecan applications.', 'signature': 'def invoke_controller(self, controller, args, kwargs, state):'}</s>{'name': 'NonCanonicalPath@pecan/routing.py', 'description': "Exception Raised when a non-canonical path is encountere... | 0 |
{'name': 'scaled_dot_product_attention@Transformers/TensorFlow_version_2.0/EN_SP/BLEU_ricardo_en_sp_transformer_tf2.py', 'description': 'Calculate the attention weights.\nq, k, v must have matching leading dimensions.\nk, v must have matching penultimate dimension, i.e.: seq_len_k = seq_len_v.\nThe mask has different s... | 0 |
{'name': 'Lexer.get_tokens@libs/sqlparse/lexer.py', 'description': "Return an iterable of (tokentype, value) pairs generated from\n`text`. If `unfiltered` is set to `True`, the filtering mechanism\nis bypassed even if filters are defined.\n\nAlso preprocess the text, i.e. expand tabs and strip it if\nwanted and applies... | 0 |
{'name': 'analyze_build@libscanbuild/analyze.py', 'description': 'Entry point for analyze-build command. ', 'signature': 'def analyze_build():'}</s>{'name': 'get_version@libscanbuild/clang.py', 'description': 'Returns the compiler version as string.\n\n:param clang: the compiler we are using\n:return: the vers... | 0 |
{'name': 'CalculateTestLists@googletest/test/googletest-shuffle-test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>{'name': 'GetTestsForAllIterations@googletest/test/googletest-shuffle-test.py', 'description': 'Runs the test program and retur... | 1 |
{'name': 'Parser.parse@src/parsita/parsers/_base.py', 'description': 'Completely parse a source.\n\nArgs:\n source: What will be parsed.\n\nReturns:\n If the parser succeeded in matching and consumed the entire output,\n the value from ``Continue`` is copied to make a ``Success``. If the\n parser failed in ... | 1 |
{'name': '_FindPythonFiles@tools/yapf/yapf/yapflib/file_resources.py', 'description': 'Find all Python files.', 'signature': 'def _FindPythonFiles(filenames, recursive, exclude):'}</s>{'name': 'CreateChromiumStyle@tools/yapf/yapf/yapflib/style.py', 'description': 'DOCSTRING', 'code': "def CreateChromiumStyle():\n styl... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_OBJECT_Q_MGR_NAME_ERROR = 2153 | 0 |
{'name': 'load_key_pubkey@src/M2Crypto/EVP.py', 'description': 'Load an M2Crypto.EVP.PKey from a public key as a file.\n\n:param file: Name of file containing the key in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to protect the\n ... | 0 |
{'name': 'jitcode.generate_lambdas@jitcode/_jitcode.py', 'description': 'If they do not already exists, this generates lambdified functions by calling `self.generate_f_lambda()` and, if wanted, `generate_jac_lambda()`.', 'signature': 'def generate_lambdas(self):'}</s>{'name': 'jitcode_transversal_lyap@jitcode/_jitcode.... | 0 |
{'name': 'test_python_to_cpp_to_python_from_thread_multiple_parallel@seminar08/ml_cxx/third_party/pybind11/tests/test_gil_scoped.py', 'description': 'Makes sure there is no GIL deadlock when running in a thread multiple times in parallel.\n\nIt runs in a separate process to be able to stop and assert if it deadlocks.',... | 1 |
{'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': 'Data._apply_axis@verif/data.py', 'description': 'Slice an array along a certain axis and return an extract array\n\nArguments:\narray 3D numpy array\naxis Of type verif.axis.Axis\naxis_index Index along the axis to slice', 'signature': 'def _apply_axis(self, array, axis, axis_index):'}</s>{'name... | 0 |
{'name': 'BasicConvLSTMCell.__call__@src/models/layers/convrnn.py', 'description': 'Long short-term memory cell (LSTM).', 'signature': 'def __call__(self, inputs, state, scope=None):'}</s>{'name': '_conv@src/models/layers/convrnn.py', 'description': 'convolution:\nArgs:\n args: a Tensor or a list of Tensors of dimensi... | 0 |
{'name': 'MultipleShootingProblem.forward@torchdyn/core/problems.py', 'description': 'For safety redirects to intended method `odeint`', 'signature': 'def forward(self, x: Tensor, t_span: Tensor, B0: Tensor = None):'}</s>{'name': 'ODEProblem@torchdyn/core/problems.py', 'description': 'DOCSTRING', 'base_classes': ['nn.M... | 0 |
{'name': 'l_resnet18@GC_code/Mini_ImageNet/resnet_ws.py', 'description': 'Constructs a ResNet-18 model.\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def l_resnet18(pretrained=False, **kwargs):'}</s>{'name': 'BatchNorm2d@GC_code/Mini_ImageNet/resnet_ws.py', 'description... | 0 |
{'name': '_decode_number@fips-files/generators/sjson/__init__.py', 'description': 'Parse a number.\n\nnext_char -- the next byte in the stream.', 'signature': 'def _decode_number(stream, next_char):'}</s>{'name': '_encode_list@fips-files/generators/sjson/__init__.py', 'description': 'DOCSTRING', 'code': "def _encode_li... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'QueueManager.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': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add... | 0 |
{'name': 'SendClient._on_message_sent@uamqp/client.py', 'description': "Callback run on a message send operation. If message\nhas a user defined callback, it will be called here. If the result\nof the operation is failure, the message state will be reverted\nto 'pending' up to the maximum retry count.\n\n:param message... | 0 |
{'name': 'Zeroconf.unregisterService@stino/pyarduino/base/zeroconf.py', 'description': 'Unregister a service.', 'signature': 'def unregisterService(self, info):'}</s>_UNREGISTER_TIME = 125 | 1 |
{'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': 'test_get_cve_id_state_in_choices@test-http/src/test/cve_id_tests/cve_id_as_org_admin.py', 'description': "state parameter can only be 'REJECTED', 'PUBLISHED' or 'RESERVED' ", 'signature': 'def test_get_cve_id_state_in_choices(org_admin_headers):'}</s>CURRENT_YEAR = dt.datetime.now().year | 0 |
{'name': 'test_novalidate_noerrors@cerberus/tests/test_validation.py', 'description': 'In v0.1.0 and below `self.errors` raised an exception if no\nvalidation had been performed yet.', 'signature': 'def test_novalidate_noerrors(validator):'}</s>{'name': 'test_validate_update@cerberus/tests/test_validation.py', 'descrip... | 0 |
{'name': 'subclasses_wrapper@didyoumean/didyoumean_internal.py', 'description': 'Wrapper around __subclass__ as it is not as easy as it should.', 'signature': 'def subclasses_wrapper(klass):'}</s>SUGGESTION_FUNCTIONS = dict() | 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': 'aggfields@api/project/__init__.py', 'description': 'Returns a bucket aggregation for a particular field over a given time range\n\nParameters\n----------\nfieldname : string or Array of string\n The name of the field(s) on which to perform the aggregation\ncurrent_request : Request\n The flask Request o... | 0 |
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.