text string | label int64 |
|---|---|
{'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_while = "while (true){
break;
}
" | 0 |
{'name': 'mpl_palette@nelpy/plotting/palettes.py', 'description': 'Return discrete colors from a matplotlib palette.\n\nNote that this handles the qualitative colorbrewer palettes\nproperly, although if you ask for more colors than a particular\nqualitative palette can provide you will get fewer than you are\nexpecting... | 0 |
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa... | 0 |
{'name': 'install_binary@util/build-third-party/paraview/make_macos_pvsdk_relocatable.py', 'description': 'Install the main binary into the package.', 'signature': 'def install_binary(binary: Library, is_excluded, bundle_dest, '}</s>_installed = {} | 0 |
{'name': 'JSONEncoder.iterencode@simplejson/encoder.py', 'description': 'Encode the given object and yield each string\nrepresentation as available.\n\nFor example::\n\n for chunk in JSONEncoder().iterencode(bigobject):\n mysocket.write(chunk)', 'signature': 'def iterencode(self, o, _one_shot=False):'}</s>enc... | 1 |
{'name': 'E2E.prefix_recognize@espnet/nets/pytorch_backend/streaming_transformer.py', 'description': 'recognize feat\n\n:param ndnarray x: input acouctic feature (B, T, D) or (T, D)\n:param namespace recog_args: argment namespace contraining options\n:param list char_list: list of characters\n:param torch.nn.Module rnn... | 0 |
{'name': 'get_material@python/xraydb/materials.py', 'description': "look up material name, return formula and density\n\n\nArgs:\n name (str): name of material or chemical formula\n\nReturns:\n chemical formula, density of material\n\nExamples:\n >>> xraydb.get_material('kapton')\n ('C22H10N2O5', 1.43)\n\nS... | 0 |
{'name': 'lint@scripts/build.py', 'description': 'Run all linters and type checkers in order of importance - returns the first non-zero exit code or zero.', 'signature': 'def lint(*, fix: bool = False) -> None:'}</s>{'name': '_ruff_format_command@scripts/build.py', 'description': 'DOCSTRING', 'code': 'def _ruff_format_... | 1 |
{'name': 'Invoice.finalize_draft@paystackapi/invoice.py', 'description': 'Method defined to finalize a draft.\n\nArgs:\n id_or_code: ID or Code (string)\n send_notification: Indicates whether Paystack sends an email notification to customer.\n Defaults to true. (Boolean)\n\nReturns:\n Json data from pay... | 0 |
{'name': 'LatLonFix.longitude@pynmea2/nmea_utils.py', 'description': 'Longitude in signed degrees (python float)', 'signature': 'def longitude(self):'}</s>{'name': 'datestamp@pynmea2/nmea_utils.py', 'description': 'Converts a datestamp given in "DDMMYY" ASCII text format to a\ndatetime.datetime object', 'code': 'def da... | 0 |
{'name': 'plot_swarm@alphapy/plots.py', 'description': 'Display a Swarm Plot.\n\nParameters\n----------\ndf : pandas.DataFrame\n The dataframe containing the ``x`` and ``y`` features.\nx : str\n Variable name in ``df`` to display along the x-axis.\ny : str\n Variable name in ``df`` to display along the y-axis.... | 0 |
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'reset_architecture@gef.py', 'description': 'Sets the ... | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'MsserverDns@infoblox_client/objects.py', 'description': "MsserverDns: Microsoft Server DNS properties object.\nCorresponds to WAPI object 'msserver:dns'\n\nThis object represe... | 0 |
{'name': 'Person.getFromToken@flickr_api/objects.py', 'description': 'Retrieve the person corresponding to the authentication token.', 'signature': 'def getFromToken(token=None, filename=None, token_key=None,'}</s>{'name': 'Category@flickr_api/objects.py', 'description': 'DOCSTRING', 'base_classes': ['FlickrObject'], '... | 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': 'conv1d@capslayer/layers/convolutional.py', 'description': 'A 1D convolutional capsule layer (e.g. temporal convolution).\n\nArgs:\n inputs: A 5-D tensor with shape [batch_size, in_width, in_channels] + in_caps_dims.\n activation: A 3-D tensor with shape [batch_size, in_width, in_channels].\n kernel_s... | 0 |
{'name': 'Box3dEvaluator.evaluate@cityscapesscripts/evaluation/evalObjectDetection3d.py', 'description': 'Main evaluation routine.', 'signature': 'def evaluate(self):'}</s>{'name': 'main@cityscapesscripts/evaluation/evalObjectDetection3d.py', 'description': 'main method', 'code': 'def main():\n """main method"""\n ... | 0 |
{'name': 'new@todoman/cli.py', 'description': 'Create a new task with SUMMARY.', 'signature': 'def new('}</s>{'name': 'show@todoman/cli.py', 'description': 'Show details about a task.', 'code': 'def show(ctx: AppContext, id: int) -> None:\n """\n Show details about a task.\n """\n todo = ctx.db.todo(id, rea... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'Sort@src/api/python/z3/z3types.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.c_void_p'], 'methods': [{'name': 'So... | 0 |
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'line_number@tools/lldb/packages/Python/lldbsuite/test/lld... | 0 |
{'name': 'decode_logs@eth_event/main.py', 'description': 'Decode a list of event logs from a transaction receipt.\n\nIf `allow_undecoded` is `True`, an undecoded event is returned with the\nfollowing structure:\n\n{\n \'name\': None,\n \'decoded\': False,\n \'data\': "", # raw data hexstring\n \'topics\': ... | 1 |
{'name': '_read_leaf@src/newick.py', 'description': 'Read a leaf (taxon name) while parsing the tree from the function _parse_tree.', 'signature': 'def _read_leaf(tstring, index):'}</s>{'name': '_assign_model_flags_to_nodes@src/newick.py', 'description': 'Determine the evolutionary model to be used at each node, while ... | 0 |
{'name': 'WeatherIrrigarion.__init__@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__(self, hass, conf):'}</s>{'name': 'atm_pressure@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': 'Estimate atmospheric pressure from altitude... | 0 |
{'name': 'iou@solver/lov_softmax_multigpu.py', 'description': 'Array of IoU for each (non ignored) class', 'signature': 'def iou(preds, labels, C, EMPTY=1., ignore=None, per_image=False):'}</s>{'name': 'lovasz_softmax_flat@solver/lov_softmax_multigpu.py', 'description': "Multi-class Lovasz-Softmax loss\n probas: [P, C... | 0 |
{'name': '_convert_to_training_df@wittgenstein/preprocess.py', 'description': 'Make a labeled Xy DataFrame from data.', 'signature': 'def _convert_to_training_df(X_or_Xy, y, class_feat, user_requested_feature_names=None):'}</s>{'name': 'preprocess_prediction_data@wittgenstein/preprocess.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'to_jd@src/convertdate/gregorian.py', 'description': 'Convert gregorian date to julian day count.', 'signature': 'def to_jd(year, month, day):'}</s>EPOCH = 1721425.5 | 1 |
{'name': 'TrafficManager.spawn_one_actor@tools/modules.py', 'description': 'Spawn an actor on the main road based on the frenet s and d values', 'signature': 'def spawn_one_actor(self, s, lane, targetSpeed):'}</s>{'name': 'euclidean_distance@tools/modules.py', 'description': 'DOCSTRING', 'code': 'def euclidean_distance... | 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_module_imports@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def was... | 0 |
{'name': 'output_noun_phrase_recognizers@do_benchmark.py', 'description': ' ', 'signature': 'def output_noun_phrase_recognizers(size):'}</s>{'name': 'nltk_parse_clause@do_benchmark.py', 'description': 'Natural Language Toolkit: code_cascaded_chunker\nhttp://www.nltk.org/book/ch07.html#code-cascaded-chunker', 'code': '... | 0 |
{'name': 'learn_continuous_tasks@agents/bdq/deepq/procedure_continuous_tasks.py', 'description': "Train a branching deepq model to solve continuous control tasks via discretization.\nCurrent assumptions in the implementation: \n- for solving continuous control domains via discretization (can be adjusted to be compatibl... | 0 |
{'name': 'FancyPage.is_left@rst2pdf/createpdf.py', 'description': 'Default behavior is that the first page is on the left.\n\nIf the user has --first_page_on_right, the calculation is reversed.', 'signature': 'def is_left(self, page_num):'}</s>{'name': 'OddEven@rst2pdf/flowables.py', 'description': 'This flowable takes... | 0 |
{'name': 'Installer.installMod@src/core/installer.py', 'description': 'Installs mod from given path. If given mod is an archive first extracts it', 'signature': 'def installMod(self, modPath: str) -> Tuple[bool, int, int]:'}</s>{'name': 'openFile@src/util/util.py', 'description': 'DOCSTRING', 'code': 'def openFile(path... | 0 |
{'name': 'BaseTestDDSketches.test_merge_equal@tests/test_ddsketch.py', 'description': 'Test merging equal-sized DDSketches', 'signature': 'def test_merge_equal(self):'}</s>{'name': 'Constant@tests/datasets.py', 'description': 'DOCSTRING', 'base_classes': ['Dataset'], 'methods': [{'name': 'Constant.name@tests/datasets.p... | 0 |
{'name': 'search@ytmdl/core.py', 'description': 'Search the song on YouTube, ask the user for an input and accordingly\nreturn a selected song.\n\nThe song can be extracted either from an URL or the name. If the name is\npresent, we will search on YouTube for the name, ask the user for a choice\nand accordingly return ... | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'BertConfig.from_json_file@baselines/models/ernie/modeling.py', 'description': 'Constructs a `BertConfig` from a json file of parameters.', 'signature': 'def from_json_file(cls, json_file):'}</s>{'name': 'reshape_to_matrix@baselines/models/ernie/modeling.py', 'description': 'Reshapes a >= rank 2 tensor to a ra... | 0 |
{'name': 'Context.resolve@lib/rule_engine/engine.py', 'description': 'The method to use for resolving symbols names to values. This function must return a compatible value for the\nspecified symbol name. When a *scope* is defined, this function handles the resolution itself, however when the\n*scope* is ``None`` the re... | 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': 'net_out_lw_rad@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': "Estimate net outgoing longwave radiation.\n\nThis is the net longwave energy (net energy flux) leaving the\nearth's surface. It is proportional to the absolute temperature of\nthe surface raised to the fourth power accordin... | 0 |
{'name': 'get_trigger_subtypes@custom_components/hubitat/device_trigger.py', 'description': 'Return the list of trigger subtypes for a device and a trigger type.', 'signature': 'def get_trigger_subtypes(device: Device, trigger_type: str) -> list[str]:'}</s>{'name': 'get_device_entry_by_device_id@custom_components/hubit... | 0 |
{'name': 'pyin@librosa/core/pitch.py', 'description': 'Fundamental frequency (F0) estimation using probabilistic YIN (pYIN).\n\npYIN [#]_ is a modificatin of the YIN algorithm [#]_ for fundamental frequency (F0) estimation.\nIn the first step of pYIN, F0 candidates and their probabilities are computed using the YIN alg... | 0 |
{'name': 'SAMLIdentityProvider.get_user_details@third_party/social_core/backends/saml.py', 'description': 'Given the SAML attributes extracted from the SSO response, get\nthe user data like name.', 'signature': 'def get_user_details(self, attributes):'}</s>{'name': 'AuthFailed@third_party/social_core/exceptions.py', 'd... | 0 |
{'name': 'update_weights_sgd@chapter5/logistic_regression_from_scratch.py', 'description': 'One weight update iteration: moving weights by one step based on each individual sample\nArgs:\n X_train, y_train (numpy.ndarray, training data set)\n weights (numpy.ndarray)\n learning_rate (float)\nReturns:\n numpy... | 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>MQUOWST_ACTIVE = 1 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQOO_BIND_ON_GROUP = 4194304 | 0 |
{'name': '_generate_unique_filename@vendor/attr/_make.py', 'description': 'Create a "filename" suitable for a function being generated.', 'signature': 'def _generate_unique_filename(cls, func_name):'}</s>{'name': 'fields@vendor/attr/_make.py', 'description': 'Return the tuple of ``attrs`` attributes for a class.\n\nThe... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PFSTATE_PFLOW = 4 | 0 |
{'name': 'fmap_info@src/bids/reports/parsing.py', 'description': "Generate a paragraph describing field map acquisition information.\n\nParameters\n----------\nlayout : :obj:`bids.layout.BIDSLayout`\n Layout object for a BIDS dataset.\nfiles : :obj:`list` of :obj:`bids.layout.models.BIDSFile`\n List of nifti file... | 1 |
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_SYNC_SWITCHES = "sync_switches" | 0 |
{'name': 'BreakpointCommandTestCase.breakpoint_command_sequence@lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py', 'description': 'Test a sequence of breakpoint command add, list, and delete.', 'signature': 'def breakpoint_command_sequence(self):'}</s>VALID_BREA... | 0 |
{'name': 'MessageSetItemDecoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a MessageSet item.\n\nThe parameter is the message Descriptor.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n ... | 0 |
{'name': 'TableCreator.integer@peewee_moves.py', 'description': "Create a integer column. Alias for ``table.column('integer')``", 'signature': 'def integer(self, name, **kwargs):'}</s>{'name': 'cli_delete@peewee_moves.py', 'description': 'Delete the target migration from the filesystem and database.', 'code': 'def cli_... | 0 |
{'name': 'AdbDevice.push@adb_shell/adb_device.py', 'description': "Push a file or directory to the device.\n\nParameters\n----------\nlocal_path : str, BytesIO\n A filename, directory, or BytesIO stream to push to the device\ndevice_path : str\n Destination on the device to write to.\nst_mode : int\n Stat mode... | 0 |
{'name': 'EvaluateTest.test_evaluate_stop@tests/framework/test_evaluate.py', 'description': "Test evaluate entry point with setting state's `stop()` flag", 'signature': 'def test_evaluate_stop(self) -> None:'}</s>{'name': 'Timer@torchtnt/utils/timer.py', 'description': 'DOCSTRING', 'base_classes': ['TimerProtocol'], 'm... | 0 |
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>payment_failed_1 = "Payment failed!" | 0 |
{'name': 'BlockingPortal._spawn_task_from_thread@src/anyio/from_thread.py', 'description': 'Spawn a new task using the given callable.\n\nImplementers must ensure that the future is resolved when the task finishes.\n\n:param func: a callable\n:param args: positional arguments to be passed to the callable\n:param kwargs... | 0 |
{'name': 'plot_rows@src/tools/vis.py', 'description': 'feats_list : a list of 4-D tensors (n, c, h, w)', 'signature': 'def plot_rows(feats_list, labels=None, egs="timit", '}</s>{'name': 'plot_grids@src/tools/vis.py', 'description': 'images_mat : images_mat[j][i] is 4-D tensors (n, c, h, w) for row i, col j', '... | 0 |
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n... | 1 |
{'name': 'pt_tempo_compute@oqupy/pt_tempo.py', 'description': "Shortcut for creating a process tensor by performing a PT-TEMPO\ncomputation.\n\nParameters\n----------\nbath: Bath\n The Bath (includes the coupling operator to the system).\nstart_time: float\n The start time.\nend_time: float\n The time to which... | 1 |
{'name': 'modify_list@ansible/roles/es6/filter_plugins/custom.py', 'description': 'Perform a `re.sub` on every item in the list', 'signature': "def modify_list(values=[], pattern='', replacement='', ignorecase=False):"}</s>{'name': 'filename@ansible/roles/es6/filter_plugins/custom.py', 'description': 'DOCSTRING', 'code... | 0 |
{'name': 'watch_dev@jupyterlab/commands.py', 'description': 'Run watch mode in a given directory.\n\nParameters\n----------\nlogger: :class:`~logger.Logger`, optional\n The logger instance.\n\nReturns\n-------\nA list of `WatchHelper` objects.', 'signature': 'def watch_dev(logger=None):'}</s>{'name': 'get_app_dir@ju... | 0 |
{'name': 'generate_flat_fields@scripts/generators/intermediate_files.py', 'description': 'Generate ecs_flat.yml', 'signature': 'def generate_flat_fields(fields: Dict[str, FieldEntry]) -> Dict[str, Field]:'}</s>{'name': 'safe_merge_dicts@scripts/generators/ecs_helpers.py', 'description': 'Merges two dictionaries into on... | 0 |
{'name': '_getTestStatus@python/DisplayTests.py', 'description': "Return the status for all tests in the given directory, and compute\na summary status given the build type.\nReturn a tuple (dict, string, string, dict, dict) where the first entry maps\ntest suite names to a string describing their status, the second is... | 0 |
{'name': 'RemoveStackTraceDetails@third_party/libassimp/contrib/gtest/test/gtest_output_test.py', 'description': "Removes all stack traces from a Google Test program's output.", 'signature': 'def RemoveStackTraceDetails(output):'}</s>SUPPORTS_TYPED_TESTS = 'TypedTest' in test_list | 0 |
{'name': '_GenerateRenderMethod.write_toplevel@mako/codegen.py', 'description': 'Traverse a template structure for module-level directives and\ngenerate the start of module-level code.', 'signature': 'def write_toplevel(self):'}</s>{'name': 'sorted_dict_repr@mako/util.py', 'description': 'repr() a dictionary with the k... | 0 |
{'name': 'get_cmap_list@src/cmasher/utils.py', 'description': "Returns a list with the names of all colormaps available in *CMasher* of\nthe given `cmap_type`.\n\nNote that *CMasher* colormaps registered in *MPL* have an added 'cmr.'\nprefix.\n\nOptional\n--------\ncmap_type : {'a'/'all'; 's'/'seq'/'sequential'; 'd'/'d... | 0 |
{'name': 'CSSParser.parse_pseudo_class@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse pseudo class.', 'signature': 'def parse_pseudo_class(self, sel, m, has_selector, iselector, is_html):'}</s>{'name': 'CSSParser@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsiev... | 1 |
{'name': 'CheckStyle@third_party/cpplint/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.... | 0 |
{'name': 'chunks@sublime_lxml.py', 'description': 'Return a generator that will split the range into chunks of the specified size.', 'signature': 'def chunks(start, end, chunk_size): # inspired by http://stackoverflow.com/a/18854817/4473405'}</s>{'name': 'regionIntersects@sublime_lxml.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'load_config@pyrgg/functions.py', 'description': 'Load config based on given path.\n\n:param path: path to config file\n:type path: str\n:return: input data as dict', 'signature': 'def load_config(path):'}</s>{'name': '_update_using_menu@pyrgg/functions.py', 'description': 'Update result_dict using user input ... | 0 |
{'name': 'get_keywords@skein/_version.py', 'description': 'Get the keywords needed to look up the version information.', 'signature': 'def get_keywords():'}</s>{'name': 'versions_from_parentdir@skein/_version.py', 'description': 'Try to determine the version from the parent directory name.\n\nSource tarballs convention... | 0 |
{'name': 'SQLCompiler.__init__@rest_models/backend/compiler.py', 'description': ':param django.db.models.sql.query.Query query: the query\n:param rest_models.backend.base.DatabaseWrapper connection: the connection\n:param str using:', 'signature': 'def __init__(self, query, connection, using, elide_empty=True):'}</s>{'... | 0 |
{'name': 'SCPreferences.Save@gmacpyutil/gmacpyutil/systemconfig.py', 'description': 'Commits changes to permanent store, applies to running config.', 'signature': 'def Save(self):'}</s>{'name': 'GetHostName@gmacpyutil/gmacpyutil/systemconfig.py', 'description': 'Get the hostname.', 'code': 'def GetHostName():\n """Get... | 0 |
{'name': '_nested_lookup@src/libs/util.py', 'description': 'Lookup a key in a nested document, yield a value', 'signature': 'def _nested_lookup(key, values, document, wild=False, return_parent=False):'}</s>{'name': 'get_specified_parent_region_scope@src/libs/util.py', 'description': 'DOCSTRING', 'code': 'def get_specif... | 0 |
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'tweet@twtxt/cli.py', 'description': 'Append a new tweet to your twtxt file.', 'signature': 'def tweet(ctx, created_at, twtfile, text):'}</s>{'name': 'run_post_tweet_hook@twtxt/helper.py', 'description': 'DOCSTRING', 'code': 'def run_post_tweet_hook(hook, options):\n try:\n command = shlex.split(hook... | 1 |
{'name': 'TestEffectPrediciton.test_mouse_6@test/test_base.py', 'description': 'Test junction location annotated', 'signature': 'def test_mouse_6(self):'}</s>{'name': 'BreakFusion@agfusion/parsers.py', 'description': 'BreakFusion parser.', 'base_classes': ['_Parser'], 'methods': [{'name': 'BreakFusion.__init__@agfusion... | 0 |
{'name': 'w_pb_fs@disdat/hyperframe.py', 'description': "Write the pb contained in the xxxRecord.\n\nNote: If atomic=True, in almost all cases there won't actually be another file with\nthis name. But if there is, this will atomically replace the file with the new version.\n\nNote: Atomicity means we won't have a corr... | 0 |
{'name': 'error@tools/audio/extraction/util.py', 'description': 'Debug message + exit', 'signature': 'def error(msg):'}</s>{'name': 'align@tools/audio/extraction/util.py', 'description': 'Align to next n (power of 2)', 'code': 'def align(x, n):\n """\n Align to next n (power of 2)\n """\n return (x + (n - 1... | 0 |
{'name': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ... | 0 |
{'name': 'Node.bye@shingetsu/node.py', 'description': 'Unconnect.', 'signature': 'def bye(self):'}</s>lock = RLock() | 0 |
{'name': 'process_client_hello@core/packet_processor.py', 'description': 'Extracts the SNI field from the ClientHello packet.', 'signature': 'def process_client_hello(pkt):'}</s>{'name': 'process_arp@core/packet_processor.py', 'description': 'Updates ARP cache upon receiving ARP packets, only if the packet is not\nspoo... | 0 |
{'name': 'MessageBase.schedule@sitemessage/messages/base.py', 'description': 'Schedules message for a delivery.\nPuts message (and dispatches if any) data into DB.\nReturns a tuple with message model and a list of dispatch models.\n\n:param recipients: recipient (or a list) or None.\n If `None` Dispatches should be ... | 1 |
{'name': 'get_crawl_args@scrapyd/launcher.py', 'description': 'Return the command-line arguments to use for the scrapy crawl process\nthat will be started for this message', 'signature': 'def get_crawl_args(message):'}</s>{'name': 'Launcher@scrapyd/launcher.py', 'description': 'DOCSTRING', 'base_classes': ['Service'], ... | 0 |
{'name': 'MUSX.__init__@examples/musx.py', 'description': 'Constructor.', 'signature': "def __init__(self, formula, solver='m22', verbosity=1):"}</s>{'name': 'WCNFPlus@pysat/formula.py', 'description': "WCNF formulas augmented with *native* cardinality constraints.\n\nThis class inherits most of the functionality of th... | 1 |
{'name': 'LongTypesExprTestCase.test_unsigned_long_type_from_block@llvm-project/lldb/test/API/types/TestLongTypesExpr.py', 'description': "Test that 'unsigned_long'-type variables are displayed correctly from a block.", 'signature': 'def test_unsigned_long_type_from_block(self):'}</s>{'name': 'skipUnlessAArch64MTELinux... | 0 |
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n... | 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': 'is_true@src/api/python/z3/z3.py', 'de... | 0 |
{'name': 'Client.__init__@ironicclient/v1/client.py', 'description': 'Initialize a new client for the Ironic v1 API.', 'signature': 'def __init__(self, endpoint_override=None, *args, **kwargs):'}</s>{'name': 'DeployTemplate@ironicclient/v1/deploy_template.py', 'description': 'DOCSTRING', 'base_classes': ['base.Resource... | 0 |
{'name': 'training_loop_hparams_from_scoped_overrides@tensor2tensor_envi/rl/trainer_model_based_params.py', 'description': 'Create HParams suitable for training loop from scoped HParams.\n\nArgs:\n scoped_overrides: HParams, with keys all scoped by one of HP_SCOPES. These\n parameters are overrides for the base HPa... | 0 |
{'name': 'typecasted@clashroyale/official_api/utils.py', 'description': 'Decorator that converts arguments via annotations.', 'signature': 'def typecasted(func):'}</s>{'name': 'to_snake_case@clashroyale/official_api/utils.py', 'description': 'DOCSTRING', 'code': "def to_snake_case(name):\n s1 = first_cap_re.sub(r'\\... | 0 |
{'name': 'fig_to_html@mpld3/_display.py', 'description': 'Output html representation of the figure\n\nParameters\n----------\nfig : matplotlib figure\n The figure to display\nd3_url : string (optional)\n The URL of the d3 library. If not specified, a standard web path\n will be used.\nmpld3_url : string (opti... | 0 |
{'name': 'fmap_info@src/bids/reports/parsing.py', 'description': "Generate a paragraph describing field map acquisition information.\n\nParameters\n----------\nlayout : :obj:`bids.layout.BIDSLayout`\n Layout object for a BIDS dataset.\nfiles : :obj:`list` of :obj:`bids.layout.models.BIDSFile`\n List of nifti file... | 0 |
{'name': 'DataBank.on_holding_registers_change@pyModbusTCP/server.py', 'description': 'Call by server when a value change occur in holding registers space\n\nThis method is provided to be overridden with user code to catch changes\n\n:param address: address of register\n:type address: int\n:param from_value: register o... | 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>read_status = run_dir + '/readstatus.txt' | 0 |
{'name': 'Partition.__init__@PartitionFinderV1.1.1/partfinder/partition.py', 'description': 'A named partition\n\n ', 'signature': 'def __init__(self, cfg, name=None, *partlist):'}</s>log = logging.getLogger("partition") | 1 |
{'name': 'Splitwise.getComments@splitwise/__init__.py', 'description': 'Get expense comments.\n\nArgs:\n expense_id(long): Expense Id\n\nReturns:\n :obj:`splitwise.comment.Comment`: Object representing a comment', 'signature': 'def getComments(self, expense_id):'}</s>{'name': 'SplitwiseNotFoundException@splitwise... | 1 |
{'name': 'main@scripts/quiz-score-sync/update_gradebook_quiz_score.py', 'description': 'Main function to orchestrate the gradebook update and report generation process.', 'signature': 'def main():'}</s>{'name': 'load_csv@scripts/quiz-score-sync/update_gradebook_quiz_score.py', 'description': 'Loads a CSV file into a pa... | 1 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.