text
string
label
int64
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>STAND_MODULES = set(['string', 'os', 'sys', 're', 'math', 'random', 'datetime', 'timeit', 'unittest', 'itertools', 'f...
1
{'name': 'naive_recompile@dependencies/pybind11/pybind11/setup_helpers.py', 'description': 'This will recompile only if the source file changes. It does not check\nheader files, so a more advanced function or Ccache is better if you have\neditable header files in your package.', 'signature': 'def naive_recompile(obj: s...
0
{'name': 'default_if_empty@yaql/standard_library/queries.py', 'description': ':yaql:defaultIfEmpty\n\nReturns default value if collection is empty.\n\n:signature: collection.defaultIfEmpty(default)\n:receiverArg collection: input collection\n:argType collection: iterable\n:arg default: value to be returned if collectio...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIMPO_STRUC_ID_ARRAY = [b"I", b"M", b"P", b"O"]
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_AddEnumValues@python/google/protobuf/internal/python_message.py', 'description': "Sets cla...
0
{'name': 'csrgraph.random_walks@csrgraph/graph.py', 'description': "Create random walks from the transition matrix of a graph\n in CSR sparse format\n\nParameters\n----------\nT : scipy.sparse.csr matrix\n Graph transition matrix in CSR sparse format\nwalklen : int\n length of the random walks\nepochs : int\n ...
0
{'name': 'cleanup_mems@panoramix/simplify.py', 'description': "for every setmem, replace future occurences of it with it's value,\nif possible", 'signature': 'def cleanup_mems(trace):'}</s>{'name': 'make_range@panoramix/simplify.py', 'description': 'DOCSTRING', 'code': 'def make_range(left, right):\n r_len = sub_op(...
0
{'name': 'scale_crop@dataset/preprocess_data.py', 'description': 'Preprocess list(frames) based on train/test and modality.\nTraining:\n - Multiscale corner crop\n - Random Horizonatal Flip (change direction of Flow accordingly)\n - Convert a ``PIL.Image`` or ``numpy.ndarray`` to tensor\n - Normalize R,G,B ...
1
{'name': 'makeplots@bdpy/fig/makeplots.py', 'description': "Make plots.\nParameters\n----------\ndf : pandas.core.frame.DataFrame\nx : str\ny : str\nx_list : list\nsubplot : str\nsubplot : list\nfigure : str\nfigure_list : list\nplot_type : {'bar', 'violin', 'paired violin', 'swarm', 'box', 'swarm+box'}\nhorizontal: bo...
1
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n...
0
{'name': 'ProcessLine@third_party/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 file,\n ...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_SSL_CONFIG_ERROR = 2392
0
{'name': 'pairwise@diffxpy/testing/tests.py', 'description': 'Perform pairwise differential expression test between two groups on adata object\nfor each gene for all combinations of pairs of groups.\n\nThis function wraps the selected statistical test for the scenario of\na two sample comparison. All unit_test offered ...
0
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,...
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>_FLAGS_RA = 32768
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': 'runBody@cxxtest/cxxtestgen.py', 'description': 'Body of TestDescription::run()', 'signature': 'def runBody( suite, test ):'}</s>wroteWorld = 0
0
{'name': 'ContextualMentions.from_json@third_party/utils_mewslix.py', 'description': 'Creates a new ContextualMentions from the given JSON-dictionary.', 'signature': 'def from_json(json_dict: JsonDict) -> ContextualMentions:'}</s>{'name': 'evaluate@third_party/utils_mewslix.py', 'description': 'Evaluates one set of ent...
0
{'name': 'Board.status@Monika After Story/game/python-packages/chess/__init__.py', 'description': 'Gets a bitmask of possible problems with the position.\n\nMove making, generation and validation are only guaranteed to work on\na completely valid board.\n\n:data:`~chess.STATUS_VALID` for a completely valid board.\n\nOt...
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': 'SmoothedValue.synchronize_between_processes@camera2car/auto_calib/util/misc.py', 'description': 'Warning: does not synchronize the deque!', 'signature': 'def synchronize_between_processes(self):'}</s>{'name': 'reduce_dict@camera2car/auto_calib/util/misc.py', 'description': 'Args:\n input_dict (dict): all t...
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
{'name': 'to_traintest_folders@detectree2/preprocessing/tiling.py', 'description': 'Send tiles to training (+validation) and test dir\n\nWith "strict" it is possible to automatically ensure no overlap between train/val and test tiles.\n\nArgs:\n tiles_folder: folder with tiles\n out_folder: folder to save train a...
0
{'name': 'RetroFig.make_plot@src/python_scripts/afnipy/lib_physio_plot.py', 'description': 'Create the plot', 'signature': 'def make_plot(self, do_show = False, do_interact = False, do_save = True):'}</s>{'name': 'PolygonInteractor@src/python_scripts/afnipy/lib_physio_interact.py', 'description': "A polygon editor. He...
1
{'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': 'ProcessFileData@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file...
0
{'name': 'on_config_inited@docs/source/conf.py', 'description': 'rebuild', 'signature': 'def on_config_inited(*args):'}</s>epub_publisher = author
0
{'name': 'tranlate_encoding_arm64@dwex/machounwind.py', 'description': 'From encoding to a parsed operation. LSDA/personality stuff ignored.', 'signature': 'def tranlate_encoding_arm64(address, enc):'}</s>{'name': 'UnwindCommandARM64@dwex/machounwind.py', 'description': 'DOCSTRING', 'base_classes': ['Enum'], 'methods':...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQACTT_MS_ACC_AUTH_SECURITY_ID = b'\r'
0
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>Prope...
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': 'MainWindow.load_standalone_modules@SpicesUpdate@claudiux/files/SpicesUpdate@claudiux/cs/6.0_FUTURE/cinnamon-settings_OLD.py', 'description': 'Loads all standalone settings modules.', 'signature': 'def load_standalone_modules(self):'}</s>{'name': 'DateChooser@SpicesUpdate@claudiux/files/SpicesUpdate@claudiux/c...
0
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>{'name': 'opentext@shingetsu/util.py', 'description': 'DOCSTRING', 'code': "def opentext(path, mode='r'):\n if mode == 'r':\n newline = None\n else:\n newline = '\\n'\n ...
0
{'name': '_AppHandler.__init__@jupyterlab/commands.py', 'description': 'Create a new _AppHandler object', 'signature': 'def __init__(self, options):'}</s>{'name': 'Range@jupyterlab/semver.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Range.__init__@jupyterlab/semver.py', 'description': 'DOC...
0
{'name': 'before_trading_start@templates/short_term_reversal_forex.py', 'description': 'set flag to true for trading. ', 'signature': 'def before_trading_start(context, data):'}</s>{'name': 'daily_square_off@templates/short_term_reversal_forex.py', 'description': 'square off all positions at the end of day.', 'code': '...
0
{'name': '_validate_units_consistency_v2@unyt/_array_functions.py', 'description': 'raise UnitInconsistencyError if units are mixed\nif all args are pure numbers, they are treated as having ref_units,\notherwise they are treated as dimensionless', 'signature': 'def _validate_units_consistency_v2(ref_units, *args) -> No...
0
{'name': 'DepthImage.open@autolab_core/image.py', 'description': 'Creates a DepthImage from a file.\n\nParameters\n----------\nfilename : :obj:`str`\n The file to load the data from. Must be one of .png, .jpg,\n .npy, or .npz.\n\nframe : :obj:`str`\n A string representing the frame of reference in which the ne...
0
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'pyList@da/compiler/pygen.py', 'description': 'DOCSTRING', 'code': 'def pyList(elts, ctx=None):\n ast = List(elts, Load() if ctx is None else ctx)\n r...
0
{'name': 'Paragraph.drawPara@xhtml2pdf/reportlab_paragraph.py', 'description': 'Draws a paragraph according to the given style.\nReturns the final y position at the bottom. Not safe for\nparagraphs without spaces e.g. Japanese; wrapping\nalgorithm will go infinite.', 'signature': 'def drawPara(self, debug=0):'}</s>{'na...
0
{'name': 'display_result@onlinejudge_command/subcommand/test.py', 'description': 'display_result prints the result of the test and its statistics.\n\nThis function prints many logs and does some I/O.', 'signature': 'def display_result(proc: subprocess.Popen, answer: str, memory: Optional[float], test_input_path: pathli...
1
{'name': 'data_generator.__iter__@examples/task_question_answer_generation_by_seq2seq.py', 'description': '单条样本格式:[CLS]篇章[SEP]答案[SEP]问题[SEP]\n ', 'signature': 'def __iter__(self, random=False):'}</s>{'name': 'text_segmentate@bert4keras/snippets.py', 'description': '将文本按照标点符号划分为若干个短句\n ', 'code': 'def text_seg...
0
{'name': 'apply_detrend@dts/datasets/uci_single_households.py', 'description': 'Perform detrending on a time series by subtrating from each value of the dataset\nthe average value computed over the training dataset for each hour/minute/weekdays\n:param df: the dataset\n:param test_len: test length,\n:return:\n - the...
0
{'name': 'favorites@twitter_to_sqlite/cli.py', 'description': 'Save tweets favorited by specified user', 'signature': 'def favorites(db_path, auth, user_id, screen_name, stop_after):'}</s>transformers = {}
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': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': 'save_raw@picasso/io.py', 'descript...
0
{'name': 'datetime_from_timestamp@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built by timestamp.\n\n:signature: datetime(timestamp, offset => timespan(0))\n:arg timestamp: timespan object to represent datetime\n:argType timestamp: number\n:arg offset: datetime offset ...
1
{'name': 'App.set_midi_sound@jupylet/app.py', 'description': 'Start the default MIDI handler with given sound object as its intrument.\n\nArgs:\n s (jupylet.audio.sound.Sound): The sound object to use as MIDI \n instrument.', 'signature': 'def set_midi_sound(self, s):'}</s>{'name': 'c2v@jupylet/color.py', 'de...
0
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'print_stacktrace@llvm-project/ll...
0
{'name': 'train_and_evaluate@train.py', 'description': 'Search hyperparameters and evaluate\n \nArgs:\n X_train (pd.DataFrame): features (train)\n y_train (pd.DataFrame): label (train)\n X_test_list (list): list of features (test)\n y_test_list (list): list of label (test)\n test_files (list): list of...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_OBJECT_NOT_UNIQUE = 2343
0
{'name': 'suggest_attribute_alternative@didyoumean/didyoumean_internal.py', 'description': 'Suggest alternative to the non-found attribute.', 'signature': 'def suggest_attribute_alternative(attribute, type_str, attributes):'}</s>{'name': 'suggest_if_file_does_not_exist@didyoumean/didyoumean_internal.py', 'description':...
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': 'int_to_unknown_bytes@bit/utils.py', 'description': 'Converts an int to the least number of bytes as possible.', 'signature': "def int_to_unknown_bytes(num, byteorder='big'):"}</s>{'name': 'hex_to_int@bit/utils.py', 'description': 'DOCSTRING', 'code': 'def hex_to_int(hexed):\n return int(hexed, 16)'}
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PFR_TFLAG_REFERENCED = 16
0
{'name': '_remove_absolute_rpaths@delocate/tools.py', 'description': 'Remove absolute filename rpaths in `filename`.\n\nParameters\n----------\nfilename : str\n filename of library\nad_hoc_sign : {True, False}, optional\n If True, sign file with ad-hoc signature', 'signature': 'def _remove_absolute_rpaths(filenam...
0
{'name': 'ProcessFileData@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file....
0
{'name': '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>{'name': 'UpdateIncludeState@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Fill up the include_dict with new incl...
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': 'reset_password@flask_security/views.py', 'description': 'View function that handles a reset password request.', 'signature': 'def reset_password(token):'}</s>{'name': 'confirm_email@flask_security/views.py', 'description': 'View function which handles a email confirmation request.', 'code': 'def confirm_email...
0
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>{'name': 'which@llvm-12.0.0-project/lldb/packages/Pyt...
0
{'name': 'Retry.__call__@stream/clients/python/bookkeeper/common/retry.py', 'description': 'Wrap a callable with retry behavior.\nArgs:\n func (Callable): The callable to add retry behavior to.\n on_error (Callable): A function to call while processing a\n retryable exception. Any error raised by this fun...
0
{'name': 'stagger@phi/field/_field_math.py', 'description': "Creates a new grid by evaluating `face_function` given two neighbouring cells.\nOne layer of missing cells is inferred from the extrapolation.\n\nThis method returns a Field of type `type` which must be either StaggeredGrid or CenteredGrid.\nWhen returning a ...
0
{'name': 'VectorEnv.__init__@habitat/core/vector_env.py', 'description': "..\n\n:param make_env_fn: function which creates a single environment. An\n environment can be of type :ref:`env.Env` or :ref:`env.RLEnv`\n:param env_fn_args: tuple of tuple of args to pass to the\n :ref:`_make_env_fn`.\n:param auto_reset_d...
1
{'name': 'CIB.lookup@policy/cib.py', 'description': 'CIB lookup logic implementation\n\nReturn CIB rows that include *all* required properties from the request PropertyArray', 'signature': 'def lookup(self, input_properties, candidate_num=5):'}</s>{'name': 'term_separator@policy/policy.py', 'description': 'Get a separa...
0
{'name': 'Pipe.pull@d6tpipe/pipe.py', 'description': "Pull remote files to local\n\nArgs:\n files (list): override list of filenames\n dryrun (bool): preview only\n include (str): pattern of files to include, eg `*.csv` or `a-*.csv|b-*.csv`\n exclude (str): pattern of files to exclude\n nrecent (int): us...
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': 'fetchRelevantDataFromInputXml@src/core/fetcher.py', 'description': 'DOCSTRING', 'c...
0
{'name': 'block_embed@text_classification/nets.py', 'description': 'Embedding function followed by convolution\n\nArgs:\n embed (callable): A :func:`~chainer.functions.embed_id` function\n or :class:`~chainer.links.EmbedID` link.\n x (:class:`~chainer.Variable` or :class:`numpy.ndarray` or :class:`...
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'get_filename@gef.py', 'description': 'DOCSTR...
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': 'parse_complex_walk@pairtools/lib/parse.py', 'description': 'Parse a set of ligations that appear as a complex walk.\nThis procedure is equivalent to intramolecular deduplication that preserved pair order in a walk.\n\n:param algns1: List of sequential lefts alignments\n:param algns2: List of sequential right ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCA_BATCH_INTERFACE_ID = 2068
0
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'AbstractBaseModelX@modeltranslation/tests/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], '...
0
{'name': 'relative_strength_index@Python/useful_examples/CalculateEMA/indicators.py', 'description': 'Calculate Relative Strength Index(RSI) for given data.\n\n:param df: pandas.DataFrame\n:param n:\n:return: pandas.DataFrame', 'signature': 'def relative_strength_index(df, n):'}</s>{'name': 'accumulation_distribution@P...
0
{'name': 'as_name@app/core/api.py', 'description': 'Enrich IP address.', 'signature': 'def as_name():'}</s>logger = logging.getLogger(APP_NAME)
0
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_RESTORE_SUB_USERS = "RestoreSubUsers"
0
{'name': 'adjust_learning_rate@main.py', 'description': 'Sets the learning rate to the initial LR decayed by 10 every 30 epochs', 'signature': 'def adjust_learning_rate(optimizer, epoch, lr_steps):'}</s>{'name': 'CornerCrop@spatial_transforms.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'na...
0
{'name': 'CalculateTestLists@third_party/libgtest/googletest/test/googletest-shuffle-test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>{'name': 'GetFlag@third_party/dawn/third_party/googletest/googletest/test/gtest_test_utils.py', 'descripti...
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>MQIA_REVERSE_DNS_LOOKUP = 254
0
{'name': 'TestW3CMarshalUnmarshal.test_roundtrip@beeline/propagation/test_w3c.py', 'description': 'Verify that we can successfully roundtrip (marshal and unmarshal)', 'signature': 'def test_roundtrip(self):'}</s>{'name': 'TestW3CHTTPTraceParserHook@beeline/propagation/test_w3c.py', 'description': 'DOCSTRING', 'base_cla...
0
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_ATTACH_T...
0
{'name': 'endOfChunk@egs/vlsp2016_lstm/conlleval_perl.py', 'description': 'checks if a chunk ended between the previous and current word;\narguments: previous and current chunk tags, previous and current types', 'signature': 'def endOfChunk(prevTag, tag, prevType, type):'}</s>{'name': 'evaluate@egs/vlsp2016_lstm/conll...
0
{'name': 'test_MultiBaseTilerFactory@src/titiler/core/tests/test_factories.py', 'description': 'test MultiBaseTilerFactory.', 'signature': 'def test_MultiBaseTilerFactory(rio):'}</s>{'name': 'test_algorithm@src/titiler/core/tests/test_factories.py', 'description': 'Test Algorithms endpoint.', 'code': 'def test_algorith...
0
{'name': 'CosS3Client.get_vod_playlist@qcloud_cos/cos_client.py', 'description': "查询指定时间段播放列表文件\n\n:param Bucket(string): 存储桶名称.\n:param ChannelName(string): 直播通道名称.\n:param StartTime(int): 播放列表ts文件的起始时间,格式为unix时间戳.\n:param EndTime(int): 播放列表ts文件的结束时间,格式为unix时间戳.\n:param kwargs(dict): 设置请求headers.\n:return(string).\n\n...
0
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQBND_BIND_ON_OPEN = 0
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'confirm_email@flask_security/views.py', 'description': 'View function which handles a email confirmation request.', 'signature': 'def confirm_email(token):'}</s>{'name': 'do_flash@flask_security/utils.py', 'description': 'Flash a message depending on if the `FLASH_MESSAGES` configuration\nvalue is set.\n\n:pa...
1
{'name': '_ModifyCSPSearchPathForPath@pymacds-dist/pymacds/__init__.py', 'description': 'Modifies the search nodes for a given path.\n\nArgs:\n action: one of (["append", "delete"]) only.\n node: the node to append or delete.\n path: the DS path to modify.\nReturns:\n True on success\nRaises:\n DSException: Could ...
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': 'input_filter@pyrgg/functions.py', 'description': 'Filter input data.\n\n:param input_dict: i...
1
{'name': 'get_config_path@saltlint/config.py', 'description': 'Return local configuration file.', 'signature': 'def get_config_path():'}</s>default_rulesdir = os.path.join(os.path.dirname(saltlint.utils.__file__), 'rules')
0
{'name': 'TestFacebookWebMiddleware.test_application_authorization@tests/test_fandjango.py', 'description': 'Verify that the user is redirected to authorize the application\nupon querying a view decorated by ``facebook_authorization_required``\nsans code nor access token.', 'signature': 'def test_application_authorizat...
0
{'name': '_find_config@aardvark/app.py', 'description': 'Search for config.py in order of preference and return path if it exists, else None', 'signature': 'def _find_config():'}</s>{'name': 'setup_logging@aardvark/app.py', 'description': 'DOCSTRING', 'code': "def setup_logging(app):\n if not app.debug:\n if ...
0
{'name': 'deobfuscate_email@src/coaster/utils/text.py', 'description': 'Deobfuscate email addresses in provided text.', 'signature': 'def deobfuscate_email(text: str) -> str:'}</s>_deobfuscate_dot2_re = re.compile(r'([a-z0-9])DOT([a-z0-9])')
1
{'name': 'SysTrayIcon.__enter__@python/site-packages/winsystray/traybar.py', 'description': 'Context manager so SysTray can automatically close', 'signature': 'def __enter__(self):'}</s>{'name': 'PumpMessages@python/site-packages/winsystray/win32_adapter.py', 'description': 'DOCSTRING', 'code': 'def PumpMessages():\n ...
0
{'name': 'cluster@modisco/cluster/phenograph/cluster.py', 'description': 'PhenoGraph clustering\n:param data: Numpy ndarray of data to cluster, or sparse matrix of k-nearest neighbor graph\n If ndarray, n-by-d array of n cells in d dimensions\n If sparse matrix, n-by-n adjacency matrix\n:param k: Number of neares...
1
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_VERIFY = CScriptOp(0x69)
0
{'name': 'Batcher.batch_sentences@language_model/bilm_tf/bilm/data.py', 'description': "Batch the sentences as character ids\nEach sentence is a list of tokens without <s> or </s>, e.g.\n[['The', 'first', 'sentence', '.'], ['Second', '.']]", 'signature': 'def batch_sentences(self, sentences: List[List[str]]):'}</s>{'na...
0