text
string
label
int64
{'name': 'KeyValueFile.parse_lines@ValveUtils.py', 'description': 'this method does the actual parsing/data creation. deals with comments, passing off data to the line_parser,\nfiring off the read callback, all that juicy stuff...', 'signature': 'def parse_lines(self, lines):'}</s>{'name': 'GameInfoException@ValveUtil...
0
{'name': 'furl.set@furl/furl.py', 'description': "Set components of a url and return this furl instance, <self>.\n\nIf any overlapping, and hence possibly conflicting, parameters\nare provided, appropriate UserWarning's will be raised. The\ngroups of parameters that could potentially overlap are\n\n <scheme> and <orig...
0
{'name': 'du@samples/benchmarks.py', 'description': 'Find total size of content used by path ', 'signature': 'def du(path):'}</s>{'name': 'bench_download_1_50gb@samples/benchmarks.py', 'description': 'DOCSTRING', 'code': 'def bench_download_1_50gb(adl, lpath, rpath, config):\n return multithread.ADLDownloader(\n ...
0
{'name': 'test_image_upgrade_01030@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\n- User explicitly sets default values for several options.\n- ``policy_changed`` ...
0
{'name': 'Plottable.scale@src/mplhep/utils.py', 'description': 'Scale values and variances to match, errors are recalculated', 'signature': 'def scale(self, scale):'}</s>{'name': 'get_plottables@src/mplhep/utils.py', 'description': 'Generate plottable histograms from various histogram data sources.\n\nParameters\n-----...
0
{'name': 'modify_descendants_for_jackknife_fast@operations.py', 'description': 'Gets the columns for leaf Metrics and modify them for fast Jackknife SQL.\n\nSee the doc of get_jackknife_data_fast() first. Here we\n1. collects the LOO columns for all Sum and Count.\n2. Modify them in-place so when we generate SQL later,...
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': 'to_lonlat@tilemapbase/mapping.py', 'description': 'Inverse project from "web mercator" coords back to longitude, latitude.\n\n:param x: The x coordinate, between 0 and 1.\n:param y: The y coordinate, between 0 and 1.\n\n:return: A pair `(longitude, latitude)` in degrees.', 'signature': 'def to_lonlat(x, y):'}...
0
{'name': '_NestingState.Update@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: T...
0
{'name': 'LocaleScanner.__fromLdmlPath@util/locale_database/ldml.py', 'description': "Convert LDML's [@name='value'] to our [name=value] form.", 'signature': 'def __fromLdmlPath(seq: list[str]) -> Iterator[str]: # tool function for __xpathJoin()'}</s>{'name': 'Supplement@util/locale_database/ldml.py', 'description': 'D...
0
{'name': 'RadianceObj.genCumSky@bifacial_radiance/main.py', 'description': 'Generate Skydome using gencumsky. \n\n.. warning::\n gencumulativesky.exe is required to be installed,\n which is not a standard radiance distribution.\n You can find the program in the bifacial_radiance distribution directory\n in ...
0
{'name': 'short_replace@vendor/k8s.io/kubectl/pkg/util/i18n/translations/extract.py', 'description': 'Replace a Short: ... cobra command description with an internationalization\n ', 'signature': 'def short_replace(match, file, line_number):'}</s>{'name': 'long_string_replace@vendor/k8s.io/kubectl/pkg/util/i18n/tran...
0
{'name': 'get_objects_for_group@guardian/shortcuts.py', 'description': "Get objects that a group has *all* the supplied permissions for.\n\nParameters:\n group (Group): `Group` instance for which objects would be returned.\n perms (str | list[str]): permission(s) which should be checked.\n If `klass` param...
1
{'name': 'AmharicLocale.describe@arrow/locales.py', 'description': 'Describes a delta within a timeframe in plain language.\n\n:param timeframe: a string representing a timeframe.\n:param delta: a quantity representing a delta in a timeframe.\n:param only_distance: return only distance eg: "11 seconds" without "in" or ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_TEMPORARY_Q_PREFIX_LENGTH = 32
0
{'name': 'Bottle.mount@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "Mount an application (:class:`Bottle` or plain WSGI) to a specific\nURL prefix. Example::\n\n root_app.mount('/admin/', admin_app)\n\n:param prefix: path prefix or `mount-point`. If it ends in a slash,\n that slash is mandator...
0
{'name': 'Serial._reconfigure_port@serial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>EV_EVENT1 = 2048
0
{'name': 'PathConverter.convert@util/py_lib/seqan/dox/write_html.py', 'description': 'Return None, None on failure path, title otherwise.', 'signature': 'def convert(self, name):'}</s>{'name': 'RawBrief@util/py_lib/seqan/dox/raw_doc.py', 'description': "A representation of a @brief entry.\n\n@ivar text The @brief claus...
0
{'name': 'TestMetadata.__init__@scripts/test_manager/kickstart_test.py', 'description': 'Create kickstart test metadata object.\n\nThis object will load metadata and store all the relevant information for the test.\n\n:param test_path: Path to the test.\n:type test_path: str', 'signature': 'def __init__(self, test_path...
1
{'name': 'AuthServiceProxy._request@qa/rpc-tests/test_framework/authproxy.py', 'description': 'Do a HTTP request, with retry if we get disconnected (e.g. due to a timeout).\nThis is a workaround for https://bugs.python.org/issue3566 which is fixed in Python 3.5.', 'signature': 'def _request(self, method, path, postdata...
0
{'name': 'main@util/locale_database/qlocalexml2cpp.py', 'description': "Updates QLocale's CLDR data from a QLocaleXML file.\n\nTakes sys.argv, sys.stdout, sys.stderr (or equivalents) as\narguments. In argv[1:] it expects the QLocaleXML file as first\nparameter and the ISO 639-3 data table as second\nparameter. Accepts ...
0
{'name': 'Type.input_fields@pygraphy/introspection.py', 'description': 'INPUT_OBJECT only', 'signature': 'def input_fields(self) -> Optional[List[InputValue]]:'}</s>{'name': 'Interface@pygraphy/types/interface.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []}
0
{'name': 'ConfigDictUpdateTest.testRecursiveRename@ml_collections/config_dict/tests/config_dict_test.py', 'description': 'Test recursive_rename.\n\nThe dictionary should be the same but with the specified name changed.', 'signature': 'def testRecursiveRename(self):'}</s>{'name': '_get_test_dict_best_effort@ml_collectio...
0
{'name': 'login@ide/auth.py', 'description': "This is a bit too tricky, but I couldn't find another way. Google only allows specific \nredirect URLs to use OAuth2. We want to be able to test with alternative version specific servers\n(e.g., 20201227t175543-dot-py38-glowscript.uc.r.appspot.com). The solution here is to ...
0
{'name': 'asdict@rpcq/external/dataclasses.py', 'description': "Return the fields of a dataclass instance as a new dictionary mapping\nfield names to field values.\n\nExample usage:\n\n @dataclass\n class C:\n x: int\n y: int\n\n c = C(1, 2)\n assert asdict(c) == {'x': 1, 'y': 2}\n\nIf given, 'dict_factor...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCAMO_CONN_DATE = 2703
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_externtype_vec_new_empty@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code'...
0
{'name': '_configure_host_iface@kuryr/lib/binding/drivers/veth.py', 'description': 'Configures the interface that is placed on the default net ns\n\n:param ifname: the name of the interface to configure\n:param endpoint_id: the identifier of the endpoint\n:param port_id: the Neutron uuid of the port to which t...
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': 'FakeProcess.call_count@pytest_subprocess/fake_process.py', 'description': 'Count how many times a certain command was called. Can be used\ntogether with `fake_process.any()`.\n\nArgs:\n command: lookup command\n\nReturns:\n number of times a command was called', 'signature': 'def call_count(self, comman...
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PFR_TFLAG_ALLMASK = 127
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXT_CHANNEL_MSG_EXIT = py23long(12)
0
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'is_false@src/api/python/z3/z3.py', '...
0
{'name': '__coord_n@librosa/display.py', 'description': 'Get bare positions', 'signature': 'def __coord_n(n: int, **_kwargs: Any) -> np.ndarray:'}</s>{'name': 'ChromaSvaraFormatter@librosa/display.py', 'description': 'A formatter for chroma axes with svara instead of notes.\n\nIf mela is given, Carnatic svara names wil...
0
{'name': 'glacier_masks@oggm/core/gis.py', 'description': 'Makes a gridded mask of the glacier outlines that can be used by OGGM.\n\nFor a more robust solution (not OGGM compatible) see simple_glacier_masks.\n\nParameters\n----------\ngdir : :py:class:`oggm.GlacierDirectory`\n where to write the data', 'signature': ...
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': 'flatten@fn/iters.py', 'description': 'Flatten any level of nested iterables (not including strings, bytes or\nbytearrays).\nReimplemented to work with all nested levels (not only one).\n\nhttp://docs.python.org/3.4/library/itertools.html#itertools-recipes', 'signature': 'def flatten(items):'}</s>{'name': 'tak...
0
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': 'fixed_dx_elev...
0
{'name': 'create_method@src/civis/resources/_resources.py', 'description': "Dynamically create a function to make an API call.\n\nThe returned function accepts required parameters as positional arguments\nand optional parameters as kwargs. The function passes these parameters\ninto the appropriate place (path, query o...
0
{'name': 'subdir_checks@source/speed-cam.py', 'description': 'Check if motion SubDir needs to be created', 'signature': 'def subdir_checks(maxHours, maxFiles, directory, prefix):'}</s>speed_CSV_filepath = os.path.join(baseDir, baseFileName + ".csv")
0
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'ApplyDialog@picasso/gui/render.py', 'description': "A class for the Apply Dialog.\n...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'Datetime@voluptuous/validators.py', 'description': 'Validate that the value matches the datetime format.', 'base_classes': ['object'], 'methods': [{'name': 'Datetime.__init__@v...
0
{'name': 'TestFilter.__init__@tests/file_utils.py', 'description': ':param file_name: Optional[str]\n:note: if file_name is None the tests are not filtered at all', 'signature': 'def __init__(self, file_name):'}</s>{'name': 'cd@tests/file_utils.py', 'description': 'DOCSTRING', 'code': 'def cd(newdir, cleanup=lambda: Tr...
0
{'name': 'main_config_show@signac/__main__.py', 'description': 'Handle config show subcommand.', 'signature': 'def main_config_show(args):'}</s>{'name': 'main_config_verify@signac/__main__.py', 'description': 'Handle config verify subcommand.', 'code': 'def main_config_verify(args):\n """Handle config verify subcomm...
0
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': '_phased_eigen_gate_deserializer@tensorflow_quantum/core/serialize/serializer.py', 'description': 'Make a standard...
0
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>DEVICE_SCAN_ATTEMPTS_DEF...
0
{'name': 'test_get_features_from_precomputed_ica@mne_icalabel/iclabel/tests/test_features.py', 'description': "Test that we get the correct set of features from an MNE instance.\n\nCorresponds to the output from 'ICL_feature_extractor.m'.", 'signature': 'def test_get_features_from_precomputed_ica('}</s>{'name': '_eeg_a...
0
{'name': 'BitVector.expand@fletcher/algorithms/string_builder.py', 'description': 'Double the size of the underlying buffer and copy over the existing data.\n\nThis allocates a new buffer and copies the data.', 'signature': 'def expand(self, min_bit_capacity):'}</s>libc = C.cdll.LoadLibrary(cast(str, find_library("c"))...
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': 'genesetAnalysisBetweenConditions@pipelines/pipeline_scxl.py', 'description': 'Naive geneset over-enrichment analysis of genes DE within-cluster.\n\nTesting is performed with the gsfisher package.\n\nGO categories and KEGG pathways are tested by default.\n\nArbitrary sets of genes cat be supplied as GMT files\...
0
{'name': 'lava_cell_op@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create the exclusive function of LAVA cells.\n\nLAVA expires after a minimum age.\nLAVA has a falling-sand property. But, if it cannot fall, it then may\nburn nearby burnable cells (making them FIRE).', 'signature': 'def ...
0
{'name': 'rotation_matrix@src/ikpy/utils/geometry.py', 'description': 'Return a rotation matrix using the given Euler angles', 'signature': 'def rotation_matrix(phi, theta, psi):'}</s>{'name': 'to_transformation_matrix@src/ikpy/utils/geometry.py', 'description': 'Convert a tuple (translation_vector, orientation_matrix)...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCIH_NO_SYNC_ON_RETURN = 0
0
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_CHECKMULTISIGVERIFY = CScriptOp(0xaf)
0
{'name': 'coerce_to_list@slackblocks/utils.py', 'description': 'Takes and object or list of objects and validates its contents, ensuring that the\nresulting object is a list.\n\nArgs:\n object_or_objects: the Python object or objects to validate and convert to a list.\n class_: the Python type (or class) of objec...
0
{'name': 'add_sections@bin/docs/build_standalone_md.py', 'description': 'Add a new section to a markdown documentation, using a list of files to concatenate', 'signature': 'def add_sections(doc: MarkdownDoc, title: str | None, files: [str]):'}</s>{'name': 'rewrite_content@bin/docs/build_standalone_md.py', 'description'...
0
{'name': 'test_odeint_adjoint_trained@test/test_sensitivity.py', 'description': 'Compare ODE Adjoint vs Autograd gradients, s := [0, 1], adaptive-step', 'signature': 'def test_odeint_adjoint_trained():'}</s>{'name': 'NeuralODE@torchdyn/core/neuralde.py', 'description': 'DOCSTRING', 'base_classes': ['ODEProblem', 'pl.Li...
1
{'name': 'run_training@chemprop/train/run_training.py', 'description': 'Trains a model and returns test scores on the model checkpoint with the highest validation score.\n\n:param args: Arguments.\n:param logger: Logger.\n:return: A list of ensemble scores for each task.', 'signature': 'def run_training(args: Namespace...
1
{'name': 'get_prediction@DigiPathAI/Segmentation.py', 'description': 'patch based segmentor', 'signature': 'def get_prediction(wsi_path, '}</s>{'name': 'dense_block@DigiPathAI/models/densenet.py', 'description': 'A dense block.\n# Arguments\n x: input tensor.\n blocks: integer, the number of building blocks.\n ...
0
{'name': '_root@KDEpy/bw_selection.py', 'description': 'Root finding algorithm. Based on MATLAB implementation by Botev et al.\n\n>>> # From the matlab code\n>>> ints = np.arange(1, 51)\n>>> ans = _root(_fixed_point, N=50, args=(50, ints, ints))\n>>> np.allclose(ans, 9.237610787616029e-05)\nTrue', 'signature': 'def _ro...
0
{'name': 'test_indices@gplearn/tests/test_genetic.py', 'description': 'Check that indices are stable when generated on the fly.', 'signature': 'def test_indices():'}</s>{'name': 'test_trigonometric@gplearn/tests/test_genetic.py', 'description': 'Check that using trig functions work and that results differ', 'code': 'de...
0
{'name': 'create_linux_export_file@tools/ipp_custom_library_tool_python/tool/generators.py', 'description': 'Creates Linux export file\n\n:param export_file:\n:param functions_list:\n:return:', 'signature': 'def create_linux_export_file(export_file, functions_list):'}</s>FUNCTION_DISPATCHER = "{ippapi} {ippfun} {{ ...
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>{'name': 'start_node@qa/rpc-tests/test_framework/util.py', 'description': 'Start a bitcoind and ret...
0
{'name': 'FutureBase._computed@asynq/futures.py', 'description': 'Protected method invoked when value or error property\nis set.\n\nRaises on_computed event.', 'signature': 'def _computed(self):'}</s>{'name': 'disable_complex_assertions@asynq/debug.py', 'description': 'DOCSTRING', 'code': 'def disable_complex_assertion...
0
{'name': 'SelfActuatedPiano.__init__@robopianist/suite/tasks/self_actuated_piano.py', 'description': 'Task constructor.\n\nArgs:\n midi: A `MidiFile` object.\n n_steps_lookahead: Number of timesteps to look ahead when computing the\n goal state.\n trim_silence: If True, shifts the MIDI file so that the ...
0
{'name': 'codep_dist@riskfolio/src/AuxFunctions.py', 'description': "Calculate the codependence and distance matrix according the selected method.\n\nParameters\n----------\nreturns : DataFrame of shape (n_samples, n_assets)\n Assets returns DataFrame, where n_samples is the number of\n observations and n_assets ...
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
{'name': 'plot_partition@polytope/plot.py', 'description': 'Plot partition with arrows from digraph.\n\nFor filtering edges based on label use L{plot_ts_on_partition}.\n\nSee Also\n========\nL{abstract.prop2partition.PropPreservingPartition},\nL{plot_trajectory}\n\n@type ppp: L{PropPreservingPartition}\n\n@param trans:...
0
{'name': 'random_sized_crop_list@models/SlowFast/slowfast/datasets/cv2_transform.py', 'description': 'Perform random sized cropping on the given list of images. Random crop with\n size 8% - 100% image area and aspect ratio in [3/4, 4/3].\nArgs:\n images (list): image to crop.\n size (int): size to crop.\n a...
0
{'name': '_print_windows@Monika After Story/game/python-packages/mutagen/_senf/_print.py', 'description': 'The windows implementation of print_()', 'signature': 'def _print_windows(objects, sep, end, file, flush):'}</s>SetConsoleCP = kernel32.SetConsoleCP
0
{'name': 'imGrad@training_codes/utils/utils_model.py', 'description': 'Computes the discrete gradient of an input batch of images of size \nB x C x H x W. The output is of size B x 2*C x H x W where in the 2nd \ndimension from 0:C the gradient with respect to the y-axis of each channel\nof the image is stored, while in...
0
{'name': 'Diagram.from_pyzx@discopy/quantum/zx.py', 'description': 'Takes a :class:`pyzx.Graph` returns a :class:`zx.Diagram`.\n\nExamples\n--------\n\n>>> bialgebra = Z(1, 2, .25) @ Z(1, 2, .75)\\\n... >> Id(1) @ SWAP @ Id(1) >> X(2, 1, .5) @ X(2, 1, .5)\n>>> graph = bialgebra.to_pyzx()\n>>> assert Diagram.from_py...
0
{'name': 'ServiceInfo.request@stino/pyarduino/base/zeroconf.py', 'description': 'Returns true if the service could be discovered on the\nnetwork, and updates this object with details discovered.', 'signature': 'def request(self, zc, timeout):'}</s>_CLASS_HS = 4
0
{'name': 'MergeJob.update_from_target_branch_and_push@marge/job.py', 'description': 'Updates `source_branch` on `target_branch`, optionally add trailers and push.\nThe update strategy can either be rebase or merge. The default is rebase.\n\nReturns\n-------\n(sha_of_target_branch, sha_after_update, sha_after_rewrite)',...
0
{'name': '_do_download@ez_setup.py', 'description': 'Download Setuptools.', 'signature': 'def _do_download(version, download_base, to_dir, download_delay):'}</s>{'name': 'download_file_insecure@ez_setup.py', 'description': 'Use Python to download the file, without connection authentication.', 'code': 'def download_file...
0
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_XOR = CScriptOp(0x86)
0
{'name': 'prepare_docker_build_environment@ros_cross_compile/sysroot_creator.py', 'description': 'Prepare the directory for the sysroot.Docker build context.\n\n:param platform Information about the target platform\n:param ros_workspace Location of the ROS source workspace\n:param custom_setup_script Optional arbitrary...
0
{'name': 'Task.apply@kuyruk/task.py', 'description': 'Called by workers to run the wrapped function.\nYou may call it yourself if you want to run the task in current process\nwithout sending to the queue.\n\nIf task has a `retry` property it will be retried on failure.\n\nIf task has a `max_run_time` property the task ...
0
{'name': 'url_to_filename@albert/albert_zh/file_utils.py', 'description': "Convert `url` into a hashed filename in a repeatable way.\nIf `etag` is specified, append its hash to the url's, delimited\nby a period.", 'signature': 'def url_to_filename(url, etag=None):'}</s>CONFIG_NAME = "config.json"
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': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'test@integration/test_script.py', 'description': 'Runs a script, exit the process if there is an error.\n\nArguments:\nscript_file -- the script file to run', 'signature': 'def test(script_file: str):'}</s>{'name': 'escape_regex_metacharacter@integration/test_script.py', 'description': 'escape regex metachara...
0
{'name': 'user_timeline@twitter_to_sqlite/cli.py', 'description': 'Save tweets posted by specified user', 'signature': 'def user_timeline('}</s>{'name': 'fetch_status_batches@twitter_to_sqlite/utils.py', 'description': 'DOCSTRING', 'code': 'def fetch_status_batches(session, tweet_ids, sleep=1):\n # Yields lists of u...
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': '_AddEqualsMethod@third_party/dawn/third_party/protobu...
1
{'name': 'ProcessLine@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the fi...
0
{'name': 'quat2mat@inverse_warp.py', 'description': 'Convert quaternion coefficients to rotation matrix.\n\nArgs:\n quat: first three coeff of quaternion of rotation. fourht is then computed to have a norm of 1 -- size = [B, 3]\nReturns:\n Rotation matrix corresponding to the quaternion -- size = [B, 3, 3]', 'sig...
0
{'name': 'SearchList.search@shingetsu/node.py', 'description': 'Search node which has the file.', 'signature': 'def search(self, cache=None, myself4=None, myself6=None, nodes=None):'}</s>visitor_net = _get_value(_extconf, 'Gateway', 'visitor_net', '::/0, 0.0.0.0/0')
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PFR_FLAG_FEEDBACK = 4
0
{'name': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>Int64Sizer = _SimpleSizer(_SignedVarintSize)
0
{'name': 'CodeGenTest.test_fgpu_agent_func_comments@tests/python/codegen/test_codegen.py', 'description': 'Comments and doc string should be removed and not translated', 'signature': 'def test_fgpu_agent_func_comments(self):'}</s>cpp_fgpu_for_msg_input_math_func = "for (const auto& m : FLAMEGPU->message_in){ auto i...
0
{'name': 'ImmediateManager.startup@marrow/mailer/manager/immediate.py', 'description': 'Perform startup actions.\n\nThis just chains down to the transport layer.', 'signature': 'def startup(self):'}</s>{'name': 'DeliveryFailedException@marrow/mailer/exc.py', 'description': 'The message stored in args[0] could not be de...
0
{'name': 'analyze_dir@sqflint.py', 'description': 'Analyzes a directory recursively', 'signature': 'def analyze_dir(directory, writer, exceptions_list, exclude):'}</s>{'name': 'analyze@sqf/analyzer.py', 'description': 'DOCSTRING', 'code': "def analyze(statement, analyzer=None):\n assert (isinstance(statement, Statem...
0
{'name': '_get_function_param_value@pangres/tests/conftest.py', 'description': "Helper for function `drop_table_between_tests` to\nretrieve the value of a specific parameter\nfrom *args and **kwargs like when we wrap a function\n\nExamples\n--------\n>>> def dummy_decorator(function):\n... def wrapper(*args, **kwar...
0
{'name': 'FileInfo.BaseName@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'File base name - text after the final slash, before the final period.', 'signature': 'def BaseName(self):'}</s>_THREADING_LIST = ( ('asctime(', 'asctime_r(', _UNSAFE_FUNC_PREFIX + r'asctime\([^)]+\)'), ('ctime(', 'ctime_r(', _U...
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>valid_building_fields = valid_building_properties + ('Note',)
0
{'name': 'loadPlugins@packstack/installer/run_setup.py', 'description': 'Load All plugins from ./plugins', 'signature': 'def loadPlugins():'}</s>{'name': 'remove_remote_var_dirs@packstack/installer/run_setup.py', 'description': "Removes the temp directories on remote hosts,\ndoesn't remove data on localhost", 'code': '...
0
{'name': 'get_list_of_tutorial_files@python/infra/GeneratePyChasteTutorials.py', 'description': "Scans the PYCHASTE_SRC_DIR directory recursively to find all files with a name\nmatching 'TestPy*Tutorial.py', and returns a list of their resolved paths.\n\n:return: List of resolved Path objects of tutorial source files."...
1
{'name': 'RequestsCookieJar.list_paths@scripts/pdns/lib/python2.7/site-packages/requests/cookies.py', 'description': 'Utility method to list all the paths in the jar.', 'signature': 'def list_paths(self):'}</s>{'name': 'extract_cookies_to_jar@scripts/pdns/lib/python2.7/site-packages/requests/cookies.py', 'description':...
0
{'name': 'setup@jupyter_sphinx/__init__.py', 'description': 'A temporary setup function so that we can use it here and in execute.\n\nThis should be removed and converted into `setup` after a deprecation\ncycle.', 'signature': 'def setup(app: Sphinx):'}</s>{'name': 'skip@jupyter_sphinx/__init__.py', 'description': 'DOC...
1
{'name': 'runExperiment@mininet-wifi/scalabilityTest/code.py', 'description': 'Run Experiment', 'signature': 'def runExperiment():'}</s>repetitions = 1
1