text string | label int64 |
|---|---|
{'name': 'MultivariateFunctionalData.extend@FDApy/representation/functional_data.py', 'description': 'Extend the list of FunctionalData by appending from iterable.', 'signature': 'def extend(self, other: Iterable[Type[FunctionalData]]) -> None:'}</s>{'name': '_smooth_covariance@FDApy/representation/functional_data.py',... | 0 |
{'name': 'extract_symbol@python/ffi_navigator/pattern.py', 'description': 'Find the complete expression, include namespace prefix', 'signature': 'def extract_symbol(source, pos: Position):'}</s>RE_PY_IMPORT_PREFIX = re.compile(r"\s*from\s+(?P<mod>[^\s]+)\s+import") | 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': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>{'name': 'update_startup_screen@displays/papiruszero2in.py', 'description': 'Show startup screen on eInk Display\n ', 'code': 'def ... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCD_VERSION_4 = 4 | 0 |
{'name': 'load_train_data@smart-chatbot-zero/Rerank/data_preprocess2.py', 'description': 'load train data', 'signature': 'def load_train_data(transformed_corpus, ques_len, ans_len):'}</s>{'name': 'load_stopword@smart-chatbot-zero/Rerank/data_preprocess2.py', 'description': 'DOCSTRING', 'code': "def load_stopword(file):... | 0 |
{'name': 'load_mnist@Chapter13/ch13.py', 'description': 'Load MNIST data from `path`', 'signature': "def load_mnist(path, kind='train'):"}</s>y_class = np.argmax(Z, axis=0) | 0 |
{'name': 'startInstance@BlendNet/providers/gcp/__init__.py', 'description': 'Start stopped instance with specified name', 'signature': 'def startInstance(instance_name):'}</s>{'name': 'deleteInstance@BlendNet/providers/gcp/__init__.py', 'description': 'Delete the instance with specified name', 'code': "def deleteInstan... | 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': 'get_supported@scripts/pdns/lib/python2.7/site-packages/pip/pep425tags.py', 'description': 'Return a list of supported tags for each version specified in\n`versions`.\n\n:param versions: a list of string versions, of the form ["33", "32"],\n or None. The first version will be assumed to support our ABI.\n:p... | 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>MQLR_MAX = -2 | 0 |
{'name': 'Plane3D.split_points@autolab_core/points.py', 'description': 'Split a point cloud into two along this plane.\n\nParameters\n----------\npoint_cloud : :obj:`PointCloud`\n The PointCloud to divide in two.\n\nReturns\n-------\n:obj:`tuple` of :obj:`PointCloud`\n Two new PointCloud objects. The first contai... | 0 |
{'name': 'note_to_svara_h@librosa/core/convert.py', 'description': "Convert western notes to Hindustani svara\n\nNote that this conversion assumes 12-tone equal temperament.\n\nParameters\n----------\nnotes : str or iterable of str\n Notes to convert (e.g., `'C#'` or `['C4', 'Db4', 'D4']`\n\nSa : str\n Note corre... | 0 |
{'name': 'expectation_maximization@copulae/mixtures/gmc/estimators/em.py', 'description': "Executes a pseudo expectation maximization algorithm to obtain the best model parameters.\n\nThe algorithm is very sensitive to the starting parameters. Thus, choose the initial parameters very carefully.\n\nParameters\n---------... | 1 |
{'name': 'HuaweiScanner.__init__@cfg/hass/custom_components/huawei_ws7200/device_tracker.py', 'description': 'Initialize the scanner.', 'signature': 'def __init__(self, config,cls,hass):'}</s>CONF_DISABLE_SWITCH = "disable_input" | 1 |
{'name': 'PretrainingModel._get_masked_lm_output@araelectra/run_pretraining.py', 'description': 'Masked language modeling softmax layer.', 'signature': 'def _get_masked_lm_output(self, inputs: pretrain_data.Inputs, model):'}</s>{'name': 'create_optimizer@araelectra/model/optimization.py', 'description': 'Creates an opt... | 0 |
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'name... | 1 |
{'name': 'FileSession.__init__@torndsession/filesession.py', 'description': "Initialize File Session Driver.\nsettings section 'host' is recommended, the option 'prefix' is an optional.\nif prefix is not given, 'default' is the default.\nhost: where to save session object file, this is a directory path.\nprefix: sessio... | 0 |
{'name': 'workspace_users_ls@toggl/cli/commands.py', 'description': 'Lists all users in current workspace and some related information.\n\nID of entries are ID of Workspace User and not User entity!', 'signature': 'def workspace_users_ls(ctx, fields):'}</s>{'name': 'timezone@toggl/cli/commands.py', 'description': "Upda... | 0 |
{'name': '_disjoint@stix2matcher/matcher.py', 'description': "Checks whether the values in first sequence are disjoint from the\nvalues in the sequences in rest_seq.\n\nAll 'None' values in the sequences are ignored.\n\n:return: True if first_seq is disjoint from the rest, False otherwise.", 'signature': 'def _disjoint... | 0 |
{'name': 'MultiLingualMaskedLMTask.load_dataset@fairseq/tasks/multilingual_masked_lm.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset(self, split, epoch=1, combine=False, **kwargs):'}</s>{'name': 'parse_alignment@fa... | 0 |
{'name': 'truncate_words@src/contextualise/utilities/filters.py', 'description': "Truncate a string to a specified number of words, followed by '...'.\n:param text: The input string to truncate.\n:param num_words: The number of words to keep before truncating.\n:return: Truncated string with ellipsis if longer than num... | 0 |
{'name': 'Data._get_score@verif/data.py', 'description': 'Load the field variable from input, but only include the common data\n\nScores loaded will have the same dimension, regardless what input_index\nis used.\n\nfield: The type is of verif.field\ninput_index: which input to load from', 'signature': 'def _g... | 0 |
{'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': 'ProcessFileData@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, ... | 0 |
{'name': 'get_path@dictdiffer/utils.py', 'description': 'Return the path for a given dictdiffer.diff patch.', 'signature': 'def get_path(patch):'}</s>{'name': 'PathLimit@dictdiffer/utils.py', 'description': 'Class to limit recursion depth during the dictdiffer.diff execution.', 'base_classes': ['object'], 'methods': [{... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'CrateNode.start@cr8/run_crate.py', 'description': 'Start the process.\n\nThis will block until the Crate cluster is ready to process requests.', 'signature': 'def start(self):'}</s>{'name': '_find_matching_version@cr8/run_crate.py', 'description': "Return the first matching version\n\n>>> _find_matching_versi... | 0 |
{'name': 'YOLO_ONNX.get_anchors@yolo.py', 'description': 'loads the anchors from a file', 'signature': 'def get_anchors(self, anchors_path):'}</s>{'name': 'resize_image@utils/utils.py', 'description': 'DOCSTRING', 'code': "def resize_image(image, size, letterbox_image):\n iw, ih = image.size\n w, h = size\n ... | 0 |
{'name': 'PDFParser.do_keyword@pdfminer3/pdfparser.py', 'description': 'Handles PDF-related keywords.', 'signature': 'def do_keyword(self, pos, token):'}</s>{'name': 'PSSyntaxError@pdfminer3/psparser.py', 'description': 'DOCSTRING', 'base_classes': ['PSException'], 'methods': []} | 1 |
{'name': 'find_indices_srnn@src/read_data.py', 'description': 'Obtain the same action indices as in SRNN using a fixed random seed\nSee https://github.com/asheshjain399/RNNexp/blob/master/structural_rnn/CRFProblems/H3.6m/processdata.py', 'signature': 'def find_indices_srnn(data, action):'}</s>{'name': 'read_human@src/r... | 0 |
{'name': 'wind_deg_to_uv@pymeteo/dynamics.py', 'description': 'Converts direction and speed into u,v wind\n\n:param direction: wind direction (mathmatical angle)\n:param speed: wind magnitude\n:returns: u and v wind components', 'signature': 'def wind_deg_to_uv(direction, speed):'}</s>{'name': 'interp_pressure@pymeteo/... | 0 |
{'name': 'ParseStateMeta.__new__@oslo_policy/_parser.py', 'description': "Create the class.\n\nInjects the 'reducers' list, a list of tuples matching token sequences\nto the names of the corresponding reduction methods.", 'signature': 'def __new__(mcs, name, bases, cls_dict):'}</s>{'name': '_parse_tokenize@oslo_policy/... | 0 |
{'name': 'CustomUpdater.import_handlers@bot/bot.py', 'description': 'A text file named "manifest" can be placed in the dir we are importing the handlers from.\nIt can contain the list of the files to import, the bot will import only these\nmodules as ordered in the manifest file.\nInline comments are allowed, they must... | 1 |
{'name': 'Session.prepare_request@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/sessions.py', 'description': "Constructs a :class:`PreparedRequest <PreparedRequest>` for\ntransmission and returns it. The :class:`PreparedRequest` has settings\nmerged from the :class:`Request <Request>` instance an... | 0 |
{'name': 'AbstractInterval.lub@intervals/interval.py', 'description': 'Return the least upper bound for given intervals.\n\n:param other: AbstractInterval instance', 'signature': 'def lub(self, other):'}</s>{'name': 'FloatInterval@intervals/interval.py', 'description': 'DOCSTRING', 'base_classes': ['NumberInterval'], '... | 0 |
{'name': 'enumerate_mpi_declarations@src/services/mpiwrap/wrap.py', 'description': "Invokes mpicc's C preprocessor on a C file that includes mpi.h.\nParses the output for declarations, and yields each declaration to\nthe caller.", 'signature': 'def enumerate_mpi_declarations(mpicc, includes):'}</s>{'name': 'def_macro@s... | 0 |
{'name': 'Kconfig._parse_properties@tools/kconfig_new/kconfiglib.py', 'description': "Parses properties for symbols, menus, choices, and comments. Also takes\ncare of propagating dependencies from the menu node to the properties\nof the item (this mirrors the C tools, though they do it after\nparsing).\n\nnode:\n The ... | 1 |
{'name': 'VersionNegotiationMixin.negotiate_version@ironicclient/common/http.py', 'description': 'Negotiate the server version\n\nAssumption: Called after receiving a 406 error when doing a request.\n\n:param conn: A connection object\n:param resp: The response object from http request', 'signature': 'def negotiate_ver... | 0 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_300 = Badge("partying face", series=3, number=100, symbol="🥳") | 0 |
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>{'name': 'SelectorList@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_types.py', 'description': '... | 1 |
{'name': 'scan_homoplasies@treetime/wrappers.py', 'description': 'the function implementing treetime homoplasies', 'signature': 'def scan_homoplasies(params):'}</s>{'name': 'print_save_plot_skyline@treetime/CLI_io.py', 'description': 'DOCSTRING', 'code': 'def print_save_plot_skyline(tt, n_std=2.0, screen=True, save=\'\... | 0 |
{'name': 'noncritical@PFERD/crawl/crawler.py', 'description': "Catches and logs a few noncritical exceptions occurring during the function\ncall, mainly CrawlWarning.\n\nIf any exception occurs during the function call, the crawler's error_free\nvariable is set to False. This includes noncritical exceptions.\n\nWarning... | 1 |
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'print_json_dict@src/python_scripts/afnipy/afni_util.py', 'description': 'DOCSTRING', 'code': "def print_json_d... | 0 |
{'name': 'Handle.get_handle_full_screen_shot_size@handle/handle.py', 'description': '句柄截图大小', 'signature': 'def get_handle_full_screen_shot_size(self):'}</s>{'name': 'Handle@handle/handle.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Handle.initial@handle/handle.py', 'description': ... | 1 |
{'name': 'test_serving_is_false_and_stop_returns_after_ctrlc@cheroot/test/test_server.py', 'description': 'Check that stop() interrupts running of serve().', 'signature': 'def test_serving_is_false_and_stop_returns_after_ctrlc():'}</s>{'name': '_TestGateway@cheroot/test/test_server.py', 'description': 'DOCSTRING', 'bas... | 0 |
{'name': 'connect_to_raw_database@fink_broker/common/spark_utils.py', 'description': 'Initialise SparkSession, and connect to the raw database (Parquet)\n\nParameters\n----------\nbasepath: str\n The base path that partition discovery should start with.\npath: str\n The path to the data (typically as basepath wit... | 0 |
{'name': 'main@plugins/modules/dcnm_image_policy.py', 'description': 'main entry point for module execution', 'signature': 'def main():'}</s>{'name': 'ImagePolicyReplaceBulk@plugins/module_utils/image_policy/replace.py', 'description': '### Summary\nHandle Ansible replaced state for image policies\n\nGiven a list of pa... | 0 |
{'name': 'Model._fit@modified_keras/keras/models.py', 'description': 'Abstract fit function for f(*ins). Assume that f returns a list, labelled by out_labels.', 'signature': 'def _fit(self, f, ins, out_labels=[], batch_size=128, nb_epoch=100, verbose=1, callbacks=[],'}</s>MSLE = mean_squared_logarithmic_error | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>{'name': 'pfioc_tm@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'vqt@librosa/core/constantq.py', 'description': 'Compute the variable-Q transform of an audio signal.\n\nThis implementation is based on the recursive sub-sampling method\ndescribed by [#]_.\n\n.. [#] Schörkhuber, Christian, Anssi Klapuri, Nicki Holighaus, and Monika Dörfler.\n "A Matlab toolbox for efficie... | 0 |
{'name': '_Underride@reference/ThinkDSP/code/.ipynb_checkpoints/thinkplot-checkpoint.py', 'description': 'Add key-value pairs to d only if key is not in d.\n\nIf d is None, create a new dictionary.\n\nd: dictionary\noptions: keyword args to add to d', 'signature': 'def _Underride(d, **options):'}</s>subplot = SubPlot | 0 |
{'name': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'signature': 'def EnumDecoder(field_number, is_repeated, is_packed, key, new_default,'}</s>{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown fi... | 0 |
{'name': 'flips_image_augment@pytorch_toolbelt/inference/tta.py', 'description': 'Augment input tensor by adding vertically and horizontally flipped images to it.\n\nArgs:\n image: Tensor of [B,C,H,W] shape\n\nReturns:\n Tensor of [B * 3, C, H, W] shape with:\n - Original tensor\n - Horizontally-fli... | 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>MQIMPO_INQ_FIRST = 0 | 0 |
{'name': 'query_string_to_json@pycnic/utils.py', 'description': 'Returns a dictionary from a QUERY_STRING with JSON in it ', 'signature': 'def query_string_to_json(qs):'}</s>{'name': 'HTTP_400@pycnic/errors.py', 'description': 'DOCSTRING', 'base_classes': ['HTTPNumeric'], 'methods': []} | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRO_COA_WITH_DATA = 768 | 0 |
{'name': 'buildmodule@venv/Lib/site-packages/numpy/f2py/rules.py', 'description': 'Return', 'signature': 'def buildmodule(m, um):'}</s>arg_rules = [
{
'separatorsfor': sepdict
},
{ # Common
'frompyobj': ['\t/* Processing variable #varname# */',
{debugcapi: '\tfprintf(s... | 0 |
{'name': 'jpn@Contents/scripts/siweighteditor/startup.py', 'description': 'encode utf8 into cp932', 'signature': 'def jpn(string):'}</s>{'name': 'WeightEditorWindow@Contents/scripts/siweighteditor/siweighteditor.py', 'description': 'DOCSTRING', 'base_classes': ['qt.DockWindow'], 'methods': [{'name': 'WeightEditorWindow... | 0 |
{'name': '_profileHistory@python/DisplayTests.py', 'description': 'Show runtimes for the last n profile builds.', 'signature': 'def _profileHistory(req, n=20, buildTypes=None):'}</s>{'name': 'buildType@python/DisplayTests.py', 'description': 'Display information on the compiler settings, etc. used to build a set of tes... | 0 |
{'name': 'DAPAccessCMSISDAP._abort_all_transfers@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Abort any ongoing transfers and clear all buffers', 'signature': 'def _abort_all_transfers(self, exception):'}</s>WRITE = 0 << 1 | 0 |
{'name': 'DetectionNetwork.build_loss@libs/networks/build_whole_network.py', 'description': ':param rpn_box_pred: [-1, 4]\n:param rpn_bbox_targets: [-1, 4]\n:param rpn_cls_score: [-1]\n:param rpn_labels: [-1]\n:param bbox_pred: [-1, 4*(cls_num+1)]\n:param bbox_targets: [-1, 4*(cls_num+1)]\n:param cls_score: [-1, cls_nu... | 0 |
{'name': 'plot_items@wfdb/plot/plot.py', 'description': "Subplot individual channels of signals and/or annotations.\n\nParameters\n----------\nsignal : 1d or 2d numpy array or list, optional\n The signal or signals to be plotted. If signal is a\n one-dimensional array, it is assumed to represent a single channel... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_COPY_Q = 10 | 0 |
{'name': 'coerce_boolean@flask_mongoengine/wtf/fields.py', 'description': 'Transform SelectField boolean value from string and in reverse direction.', 'signature': 'def coerce_boolean(value: Optional[str]) -> Optional[bool]:'}</s>{'name': 'JSONField@flask_mongoengine/wtf/fields.py', 'description': 'Special version fo :... | 0 |
{'name': 'test_iterator_passthrough@3rdparty/pybind11/tests/test_sequences_and_iterators.py', 'description': '#181: iterator passthrough did not compile', 'signature': 'def test_iterator_passthrough():'}</s>{'name': 'test_map_iterator@3rdparty/pybind11/tests/test_sequences_and_iterators.py', 'description': 'DOCSTRING',... | 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': 'WebSocket.close@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Close Websocket object\n\nstatus: status code to send. see STATUS_XXX.\n\nreason: the reason to close. This must be string.\n\ntimeout: timeout until receive a close frame.\n If None, it will wait forever until receive ... | 0 |
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0... | 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': 'PortManager.check_modem_lines@serial/rfc2217.py', 'description': 'read control lines from serial port and compare the last value sent to remote.\nsend updates on changes.', 'signature': 'def check_modem_lines(self, force_notification=False):'}</s>SET_CONTROL_DTR_ON = b'\x08' | 0 |
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>MSG_ERR_COR = 48 | 0 |
{'name': 'CheckStyle@ament_cpplint/ament_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 co... | 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': 'calculate_shortid@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'write_entry@code/utils/osg.py', 'description': ':param entry:\n:return:', 'signature': 'def write_entry(entry, overwrite=True):'}</s>{'name': 'read_entries@code/utils/osg.py', 'description': 'Parses all entries and assembles interesting infos about them.', 'code': 'def read_entries():\n """\n Parses all... | 0 |
{'name': 'TestMetricsQuery.test_execute@ads/tests/test_export.py', 'description': 'ExportQuery.execute() should return a ExportResponse object, and\nthat object should be set as the .response attribute', 'signature': 'def test_execute(self):'}</s>{'name': 'MockResponse@ads/tests/mocks.py', 'description': 'mock for a si... | 0 |
{'name': '_parse_requested_output_file_names@pelicun/tools/DL_calculation.py', 'description': 'Parse the output file names from the output configuration.\n\nParameters\n----------\noutput_config : dict\n Configuration for output files.\n\nReturns\n-------\nset\n Set of requested output file names.', 'signature': ... | 0 |
{'name': 'define_G@SIM-CycleGAN/models/networks.py', 'description': "Create a generator\n\nParameters:\n input_nc (int) -- the number of channels in input images\n output_nc (int) -- the number of channels in output images\n ngf (int) -- the number of filters in the last conv layer\n netG (str) -- the archi... | 0 |
{'name': 'get_file_name@utils/file_utils.py', 'description': 'Finds name of the file from the given file path or name\n:param name_or_path: name or path to the file\n:return: file name', 'signature': 'def get_file_name(name_or_path):'}</s>{'name': 'FileCreationError@errors/custom_exceptions.py', 'description': 'DOCSTRI... | 0 |
{'name': 'Container.image_not_exists@infraform/platforms/container.py', 'description': 'Returns true if image exists.', 'signature': 'def image_not_exists(self):'}</s>{'name': 'missing_arg@infraform/exceptions/usage.py', 'description': 'Missing arg message format.', 'code': 'def missing_arg(arg):\n """Missing arg me... | 1 |
{'name': 'YoutubeBaseInfoExtractor._login@script.module.youtube.dl/lib/youtube_dl/extractor/youtube.py', 'description': 'Attempt to log in to YouTube.\nTrue is returned if successful or skipped.\nFalse is returned if login failed.\n\nIf _LOGIN_REQUIRED is set and no authentication was provided, an error is raised.', 's... | 0 |
{'name': 'Struct.field@python/taichi/lang/struct.py', 'description': 'Creates a :class:`~taichi.StructField` with each element\nhas this struct as its type.\n\nArgs:\n members (dict): a dict, each item is like `name: type`.\n methods (dict): a dict of methods that should be included with\n the field. Each... | 0 |
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>determineexprtype_re_2 = r... | 0 |
{'name': 'RFC6979.test_SECP256k1@components/esptool_py/esptool/ecdsa/test_pyecdsa.py', 'description': "RFC doesn't contain test vectors for SECP256k1 used in bitcoin.\nThis vector has been computed by Golang reference implementation instead.", 'signature': 'def test_SECP256k1(self):'}</s>{'name': 'remove_bitstring@comp... | 0 |
{'name': 'cleanup_unused_ckeditor_images_on_update@django_ckeditor_5/signals.py', 'description': "Removes unused images when an object is updated.\nIf any unexpected error occurs, it will be logged, but the deletion process won't break the update.", 'signature': 'def cleanup_unused_ckeditor_images_on_update(sender, ins... | 1 |
{'name': 'adjust_learning_rate@train.py', 'description': 'Sets the learning rate to the initial LR decayed by 10 every 30 epochs', 'signature': 'def adjust_learning_rate(optimizer, epoch):'}</s>{'name': 'train@train.py', 'description': 'DOCSTRING', 'code': 'def train(model, args, train_loader, criterion, Hash_center, o... | 0 |
{'name': 'Confidence.to_flashlfq@mokapot/confidence.py', 'description': 'Save confidenct peptides for quantification with FlashLFQ.', 'signature': 'def to_flashlfq(self, out_file="mokapot.flashlfq.txt"):'}</s>{'name': 'PepsConvergenceError@mokapot/peps.py', 'description': 'Raised when nnls iterations do not converge.',... | 0 |
{'name': 'preprocess_for_train@preprocessing/densenet_preprocessing.py', 'description': 'Preprocesses the given image for training.\n\nNote that the actual resizing scale is sampled from\n [`resize_size_min`, `resize_size_max`].\n\nArgs:\n image: A `Tensor` representing an image of arbitrary size.\n output_height: T... | 1 |
{'name': 'RIPPER.score@wittgenstein/ripper.py', 'description': "Score the performance of a fit model.\n\nX : DataFrame, numpy array, or other iterable\n Examples to score.\ny : Series, numpy array, or other iterable\n Class label actuals.\n\nscore_function : function, default=score_accuracy\n Any scoring funct... | 0 |
{'name': 'matchPreviousLiteral@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper to define an expression that is indirectly defined from\nthe tokens matched in a previous expression, that is, it looks\nfor a \'repeat\' of a previous expression. For example::\n first = Word(n... | 0 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'quotize_list@src/python_scripts/afnipy/afni_util.py', 'description': "given a list of text eleme... | 0 |
{'name': 'ProcessFileData@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines:... | 0 |
{'name': 'repl@todoman/cli.py', 'description': 'Start an interactive shell.', 'signature': 'def repl(ctx: click.Context) -> None:'}</s>{'name': '_validate_date_param@todoman/cli.py', 'description': 'DOCSTRING', 'code': 'def _validate_date_param(\n click_ctx: click.Context,\n param: click.Parameter,\n val: str,... | 0 |
{'name': '_filter_lines_slope@oggm/core/centerlines.py', 'description': 'Filter the centerline candidates by slope: if they go up, remove\n\nKienholz et al. (2014), Ch. 4.3.1\n\nParameters\n----------\nlines : list of shapely.geometry.LineString instances\n The lines to filter out (in raster coordinates).\ntopo : th... | 0 |
{'name': 'parse_ionex@laika/iono.py', 'description': ':param ionex_file: path to the IONEX file\n:return: TEC interpolation function `f( (lat,lon), datetime )`', 'signature': 'def parse_ionex(ionex_file):'}</s>{'name': 'get_header_body@laika/iono.py', 'description': 'Opens `file_path`, reads file and returns header and... | 1 |
{'name': 'create_for_folder_subcommand@ascmhl/commands.py', 'description': 'Creates a new generation with all files in a folder hierarchy.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nAll files are hashed and will be compared to previous records in the `asc-mhl` folder if they exists.\nThe command find... | 0 |
{'name': 'start@server.py', 'description': ' Pulls the parameters from disk\n Instantiate QuestionAnswering class (onefile).\n\n Thus, all models are loaded.\n Help loading the model, then start the server.\n\n CHANGE MAJOR CONFIGS HERE\n:return:', 'signature': 'def start():'}</s>{'name': 'better_warning... | 0 |
{'name': 'ConsoleWidget.can_paste@qtconsole/console_widget.py', 'description': 'Returns whether text can be pasted from the clipboard.\n ', 'signature': 'def can_paste(self):'}</s>{'name': 'MetaQObjectHasTraits@qtconsole/util.py', 'description': 'A metaclass that inherits from the metaclasses of HasTraits and QO... | 0 |
{'name': 'TeamCloudClientOperationsMixin.get_schedule@client/tc/azext_tc/vendored_sdks/teamcloud/operations/_team_cloud_client_operations.py', 'description': 'Gets the Schedule.\n\nGets the Schedule.\n\n:param schedule_id:\n:type schedule_id: str\n:param organization_id:\n:type organization_id: str\n:param project_id:\... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.