text
string
label
int64
{'name': 'Parser.parse_byte_array@nbtlib/literal/parser.py', 'description': 'Parse a byte array from the token stream.', 'signature': 'def parse_byte_array(self):'}</s>TOKENS_REGEX = re.compile( "|".join(fr"\s*(?P<{key}>{value})\s*" for key, value in TOKENS.items()) )
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': 'HindcastEnsemble.add_uninitialized@src/climpred/classes.py', 'description': 'Add a companion uninitialized ensemble for comparison to verification data.\n\nArgs:\n uninit: uninitialzed ensemble.', 'signature': 'def add_uninitialized('}</s>XCLIM_BIAS_CORRECTION_METHODS = [ "DetrendedQuantileMapping", ...
0
{'name': 'init_media@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard,\nand sound cache', 'signature': 'def init_media():'}</s>SIMPLE_SERVER = [4044]
0
{'name': 'get_collapsed_properties_type_mappings@swagger_spec_validator/validator20.py', 'description': 'Get all the properties for a swagger model (definition).\n:param definition: dictionary representation of the definition\n:type definition: dict\n:param deref: callable that dereferences $refs\n:return: (required pr...
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': 'MapDiffView.get@metro_map_saver/map_saver/views.py', 'description': 'Compare two similar maps and return a diff\n ', 'signature': 'def get(self, request, **kwargs):'}</s>ALLOWED_LINE_STYLES = ['solid', 'dashed', 'dashed_uneven', 'dense_thin', 'dense_thick', 'dotted_dense', 'dotted', 'dotted_square', 'h...
0
{'name': 'plot_sounding@pymeteo/skewt.py', 'description': 'Plot sounding data\n\nThis plots temperature, dewpoint and wind data on a Skew-T/Log-P plot.\nThis will also plot derived values such as wetbulb temperature and\nlabel the surface based LCL, LFC and EL.\n\n:parameter z: height values (1D array)\n:parameter th: ...
0
{'name': 'CheckCommaSpacing@tools/cpplint.py', 'description': 'Checks for horizontal spacing near commas and semicolons.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any ...
0
{'name': '_RDIReader.read_dat@mhkit/dolfyn/io/rdi.py', 'description': 'Main function map used to read or skip stored IDs', 'signature': 'def read_dat(self, id):'}</s>{'name': 'dt642epoch@mhkit/dolfyn/time.py', 'description': 'Convert numpy.datetime64 array to epoch time\n(seconds since 1/1/1970 00:00:00)\n\nParameters\...
0
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'code': "def on_restore_database(data):\n '''Restore database.'''\n success = No...
0
{'name': 'get_dataset@DECIMER/DECIMER_EfficinetNetV2_Transfomer_Trainer.py', 'description': 'Creates a batch of data rom a given dataset.\n\nArgs:\n batch_size (int, optional): number of datapoints per batch. Defaults to BATCH_SIZE.\n buffered_size (int, optional): number of datapoints to be buffered. Defaults to...
0
{'name': 'build_datetime@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built on year, month, day, hour, minute, second,\nmicrosecond, offset.\n\n:signature: datetime(year, month, day, hour => 0, minute => 0, second => 0,\n microsecond => 0, offset => ...
1
{'name': 'ig_request_open_positions@test/common/MockRequests.py', 'description': 'Mock open positions call', 'signature': 'def ig_request_open_positions(mock, data="mock_positions.json", fail=False):'}</s>TEST_DATA_YF = "test/test_data/yfinance"
0
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'StringSort@src/api/python/z3/z3.py', 'description': 'Create a string sort\n>>> s = StringSort()\n>>> print(s)\nString', 'code':...
0
{'name': 'ObjCDataFormatterTestCase.plain_data_formatter_commands@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py', 'description': 'Test basic ObjC formatting behavior.', 'signature': 'def plain_data_formatter_commands(self):'}</s>BACKTRACE_DISPLAYED_CORRE...
0
{'name': 'test_raising_failed_validation@tests/test_models.py', 'description': 'Test validating valid receipts.', 'signature': 'def test_raising_failed_validation(populated_db: None) -> None:'}</s>{'name': 'test_validate_receipt@tests/test_models.py', 'description': 'DOCSTRING', 'code': 'def test_validate_receipt() -> ...
0
{'name': 'RequirementCommand._build_package_finder@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/cli/base_command.py', 'description': 'Create a package finder appropriate to this requirement command.', 'signature': 'def _build_package_finder('}</s>{'name': 'requirements@venv/Lib/site-packages/pip-19.0.3-py3...
0
{'name': 'Login.request@SalesforcePy/sfdc.py', 'description': 'Gets the result of `super` for this method, then assigns the `access_token` to `session_id`.\nReturns request response.\n\n :return: Response dict\n :rtype: dict', 'signature': 'def request(self):'}</s>{'name': 'WaveQuery@SalesforcePy/wave.py', 'descripti...
0
{'name': 'generate_release_changelog@extra/release_tool.py', 'description': 'Generate changelog and write it to a file', 'signature': 'def generate_release_changelog('}</s>{'name': 'do_integration_versions_including@extra/release_tool.py', 'description': 'DOCSTRING', 'code': 'def do_integration_versions_including(args)...
0
{'name': 'load_key_string@src/M2Crypto/RSA.py', 'description': 'Load an RSA key pair from a string.\n\n:param string: String containing RSA key pair in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to unlock the\n key. The d...
0
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>{'name': 'loads@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Load a pickle from the current string.\n\...
0
{'name': 'prettyArray@boxx/ylimg/ylimgTool.py', 'description': 'return str of pretty discrib for array, include nan inf (shape type max min) ', 'signature': 'def prettyArray(array):'}</s>sda = FakeSkimageData()
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...
1
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'on_set_frequency_preset@src/server/server.py', 'description': 'Apply preset frequencies ', 'code': 'def on_set_frequency_preset(data):\n \'\'\' Apply preset frequencies...
0
{'name': 'IPDatabase.export_cadence@ipstools/ipstools/IPDatabase.py', 'description': 'Exports analyze scripts to be used for ASIC synthesis in Cadence RTL Compiler.\n\n :param script_path: The path where the Makefiles are collected\n :type script_path: str\n\n :param target_tech: Target si...
0
{'name': 'answer_question@server.py', 'description': ' Will get entities for the question.\n Generate subgraph\n Run corechain and aux predictions\n\n\n:param question: str: intended question to answer\n:return:', 'signature': 'def answer_question(question, entities=None):'}</s>{'name': '_parse_ulmfit_@utils/e...
0
{'name': 'Cdf.__init__@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Initializes.\n\nIf ps is provided, obj must be the corresponding list of values.\n\nobj: Hist, Pmf, Cdf, Pdf, dict, pandas Series, list of pairs\nps: list of cumulative probabilities\nlabel: string label', 'signature': 'def __init__(self, o...
0
{'name': 'get_model@models.py', 'description': 'Get appropriate model based on model_name and input arguments\nArgs: \n model_name - (str) which model to use \n kwargs - input arguments corresponding to the model name\n\nReturns: \n returns the model!', 'signature': 'def get_model(model_name, **kwargs):'}</s>INT_HP ...
0
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'mapping2dict@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def mapping2dict(input):\n #parse a qiime mapping file pull out seqs and ID into di...
0
{'name': 'upload_file_to_aws@code/iiif/collections/generate_collections_json.py', 'description': 'Upload file to IIIF server S3 bucket. NOTE: File must be in the current working directory.', 'signature': 'def upload_file_to_aws() -> None:'}</s>opts = [opt for opt in arg_vals if opt.startswith('-')]
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': 'CheckStyle@tools/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.\n\nArgs:\n f...
0
{'name': 'populate_objects@tests/functional/common.py', 'description': 'Create a disdat context with count bundles.\nReturn the list of UUIDs and the list of objects\n(list[uuid], list[paths])', 'signature': 'def populate_objects(run_module_test, moto_boto, count: int) -> dict:'}</s>{'name': 'helper_get_files_in_dir@di...
0
{'name': 'unflatten@sklearn_pmml_model/tree/tree.py', 'description': 'Convert a `multiSplit` into a `binarySplit` decision tree which is expressively equivalent.\n\nParameters\n----------\nnode : eTree.Element\n XML Node element representing the current node.\n\nReturns\n-------\nnode : eTree.Element\n Modified XML...
0
{'name': 'MetalAPI.get_position@uarm/wrapper/metal_api.py', 'description': "Get the position\n:param wait: True/False, default is True\n:param timeout: timeout, default is use the default cmd timeout\n:param callback: callback, default is None\n:return: [x, y, z] or 'TIMEOUT' if wait is True else None", 'signature': 'd...
0
{'name': 'test_get_parts_geometry_collection_multi@pygeos/tests/test_geometry.py', 'description': 'On the first pass, the individual Multi* geometry objects are returned\nfrom the collection. On the second pass, the individual singular geometry\nobjects within those are returned.', 'signature': 'def test_get_parts_geo...
0
{'name': 'assert_content_equals_array@tests/test_algorithms.py', 'description': 'Assert that the result is an Arrow structure and the content matches an array.', 'signature': 'def assert_content_equals_array(result, expected):'}</s>{'name': 'test_np_ufunc_op_chunked_chunked@tests/test_algorithms.py', 'description': 'DO...
0
{'name': 'ContentProcessor.add_markup@src/freetype/src/tools/docmaker/content.py', 'description': 'Add a new markup section.', 'signature': 'def add_markup(self):'}</s>output_dir = None
0
{'name': 'MarkMethodMixin.mark_text@altair/vegalite/v3/schema/mixins.py', 'description': "Set the chart's mark to 'text'\n\nFor information on additional arguments, see :class:`MarkDef`", 'signature': 'def mark_text(self, align=Undefined, angle=Undefined, baseline=Undefined, binSpacing=Undefined,'}</s>{'name': 'FieldLT...
0
{'name': 'dependencies_of_symbol@contrib/mbedtls/tests/scripts/set_psa_test_dependencies.py', 'description': 'Return the dependencies for a symbol that designates a cryptographic mechanism.', 'signature': 'def dependencies_of_symbol(symbol):'}</s>{'name': 'update_file@contrib/mbedtls/tests/scripts/set_psa_test_dependen...
0
{'name': 'ProcessFileData@tools/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, each representing a li...
0
{'name': 'textureAsGameTexture@ValveFileSystem/valve.py', 'description': 'returns a resolved game texture filepath given some sort of texture path', 'signature': 'def textureAsGameTexture(texturePath):'}</s>{'name': 'textureAsContentTexture@ValveFileSystem/valve.py', 'description': 'returns a resolved content texture f...
0
{'name': 'ExportHtml.format_text@ExportHtml.py', 'description': 'Format the text.', 'signature': 'def format_text(self, line, text, color, bgcolor, style, empty, annotate=False):'}</s>TABLE_START = "<table cellspacing="0" cellpadding="0" class="code_page">"
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`...
0
{'name': 'GroveI2cColorSensorV2.raw@grove/grove_i2c_color_sensor_v2.py', 'description': 'Read RGBC registers\nreturn 16 bits red, green, blue and clear data', 'signature': 'def raw(self):'}</s>_PON = 1
0
{'name': 'WallSetter.get_setter@QuickWall/setter.py', 'description': 'Return the setter.', 'signature': 'def get_setter(self):'}</s>{'name': 'WallSetter@QuickWall/setter.py', 'description': 'Select the wallpaper setter.', 'base_classes': [], 'methods': [{'name': 'WallSetter.__init__@QuickWall/setter.py', 'description':...
1
{'name': 'HindcastEnsemble.add_uninitialized@src/climpred/classes.py', 'description': 'Add a companion uninitialized ensemble for comparison to verification data.\n\nArgs:\n uninit: uninitialzed ensemble.', 'signature': 'def add_uninitialized('}</s>{'name': 'compute_perfect_model@src/climpred/prediction.py', 'descri...
0
{'name': 'ReceiptPDFTestCase.test_pdf_view@tests/test_views.py', 'description': 'Test the PDF generation view.', 'signature': 'def test_pdf_view(self) -> None:'}</s>{'name': 'ReceiptPDFView@django_afip/views.py', 'description': 'DOCSTRING', 'base_classes': ['PDFView'], 'methods': [{'name': 'ReceiptPDFView.receipt@djang...
0
{'name': 'draw_force@indeterminatebeam/plotly_drawing_aid.py', 'description': 'Draw a force (for load or reaction) on a plotly figure\n\nParameters\n----------\nfig : plotly figure\n plotly figure to append force representation to.\nload : instance of a load class\n force to be represented on figure\nrow : int or...
1
{'name': 'profile_dump@lib/charliecloud.py', 'description': 'If profiling, dump the profile data.', 'signature': 'def profile_dump():'}</s>{'name': 'Progress_Reader@lib/charliecloud.py', 'description': 'Wrapper around a binary file object to maintain a progress meter while\nreading.', 'base_classes': [], 'methods': [{'...
0
{'name': '_sorted_long_to_wide@confidence_interval_display.py', 'description': "Returns a df in wide format for metrics.\n\nThe input df is in so-called long, or tidy, format, i.e., each\nrow is one metric for one slice. This function transforms the df to a wide\nformat, where all metrics for one slice are collected in...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': 'IsoBinned@IsoSpecPy/IsoSpecPy.py', 'description': 'Initialize the IsoDistribution isotopic distribution by total probability.\n\nArgs:\n no_molecules (uint): ionic current in instrument\n formula (str): a chemical formula, e.g. "C2H6O1" or "C2H6O".\n precision (float): passed to IsoTotalProbGenerator...
0
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>AT_TRANSLATED = 2
0
{'name': 'parse_content_transfer_encoding_header@src/future/backports/email/_header_value_parser.py', 'description': 'mechanism\n\n ', 'signature': 'def parse_content_transfer_encoding_header(value):'}</s>{'name': 'UndecodableBytesDefect@src/future/backports/email/errors.py', 'description': 'Header contained bytes t...
0
{'name': 'categoricals_pop@util.py', 'description': 'Assume that the last dim of probs contains the probability vectors,\ni.e. np.sum(probs, axis=-1) == ones', 'signature': 'def categoricals_pop(probs, precision):'}</s>{'name': 'bb_ans_pop@util.py', 'description': 'DOCSTRING', 'code': 'def bb_ans_pop(prior_pop, lik_pop...
0
{'name': 'PortManager._telnet_process_subnegotiation@serial/rfc2217.py', 'description': 'Process subnegotiation, the data between IAC SB and IAC SE.', 'signature': 'def _telnet_process_subnegotiation(self, suboption):'}</s>SERVER_NOTIFY_LINESTATE = b'j'
1
{'name': 'space_minify@htmlmin/minify.py', 'description': 'recursive function to reduce space characters in html code.\n\n:param soup: a BeautifulSoup of the code to reduce\n:type soup: bs4.BeautifulSoup\n:param ignore_comments: whether or not to keep comments in the\n result\n:type ignore_commen...
1
{'name': 'Bottle._cast@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signatu...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': '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': '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': 'ProcessLine@scripts/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': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': '_fill_gaussian@picasso/render.py', 'description': 'Fills image with blurred x and y...
0
{'name': 'MockRunModel.predict@tests/mock.py', 'description': 'feat["msa"] or feat["msa_feat"] for normal/complexes is non-deterministic, so we remove it before storing,\nbut we keep it for predicting or returning, where we need it for plotting', 'signature': 'def predict('}</s>{'name': 'MMseqs2Mock@tests/mock.py', 'de...
0
{'name': 'socksocket.connect@src/socks/__init__.py', 'description': "connect(self, despair)\nConnects to the specified destination through a proxy.\ndestpar - A tuple of the IP/DNS address and the port number.\n(identical to socket's connect).\nTo select the proxy server use setproxy().", 'signature': 'def connect(self...
1
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PFR_TFLAG_INACTIVE = 8
0
{'name': 'displayInfo@source/pi-timolo.py', 'description': 'Display variable settings with plugin overlays if required', 'signature': 'def displayInfo(motioncount, timelapsecount):'}</s>cvWhite = (255, 255, 255)
0
{'name': 'get_verify@小红书/shumei_slide.py', 'description': '进行验证', 'signature': 'def get_verify(organization):'}</s>{'name': 'pad@小红书/shumei_slide.py', 'description': '块填充', 'code': 'def pad(b):\n """\n 块填充\n """\n block_size = 8\n while len(b) % block_size:\n b += b\'\\0\'\n return b'}
0
{'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': 'cpy_buffer_to_tensor@npbg/gl/render.py', 'description': 'Copy GL buffer (cuda view) to pytorch tensor', 'signature': 'def cpy_buffer_to_tensor(buffer, tensor):'}</s>{'name': 'cuda_activate_array@npbg/gl/render.py', 'description': 'Context manager simplifying use of pycuda.gl.RegisteredImage', 'code': 'def cud...
0
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>RES_TIMELINE_HISTORY = "history"
0
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s...
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>MQCMDL_LEVEL_905 = 905
0
{'name': 'TestingParser.fill_default_tls_stdout_filename@tests/run_all_tests.py', 'description': 'Sets the default TLS stdout filename for testing if it is not already\nspecified.\n\nThis method checks if the `tls_stdout_filename` attribute in the\n`testing_args` object is set. If it is not set, it assigns a default\nv...
0
{'name': 'WhatHappenedToTheWeirdAdditionP1.play_farey_addition_animations@ford_circles_explained.py', 'description': "Returns a series of animations showing 'a/b oplus c/d equals (a+c)/(b+d)'", 'signature': 'def play_farey_addition_animations(self, a, b, c, d):'}</s>{'name': 'OtherFieldsWorthExploring@ford_circles_expl...
0
{'name': 'fsn2text@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': 'Args:\n path (fsnative): The path to convert\n strict (bool): Fail in case the conversion is not reversible\nReturns:\n `text`\nRaises:\n TypeError: In case no `fsnative` has been passed\n ValueError: ...
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': 'GlibcHeapLargeBinsCommand@gef.py', 'description': 'Co...
0
{'name': '_SetFilters@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Sets the module\'s error-message filters.\n\nThese filters are applied when deciding whether to emit a given\nerror message.\n\nArgs:\n filters: A string of comma-separated filters (eg "whitespace/indent").\n...
0
{'name': 'PySRRegressor.from_file@pysr/sr.py', 'description': 'Create a model from a saved model checkpoint or equation file.\n\nParameters\n----------\nrun_directory : str\n The directory containing outputs from a previous run.\n This is of the form `[output_directory]/[run_id]`.\n Default is `None`.\nbinary_...
0
{'name': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>{'name': 'get_global_header@tools/ble_sniffer/extcap/SnifferAPI/Pcap.py', 'description': 'Get the PCAP global header.', 'code': 'def get_global_header():\n ...
0
{'name': '_collect_metrics@test/common.py', 'description': 'Verify metrics by running the given api query\n@param: dimension (metric dimension)\n@param: metric_name (metric name)\n@param: start_time (search start time)\n@param: end_time (search end time)\nreturns events', 'signature': 'def _collect_metrics('}</s>{'name...
0
{'name': 'pick_areas_rectangle@picasso/lib.py', 'description': 'Returns pick areas for each pick in picks.\n\nParameters\n----------\npicks : list\n List of picks, each pick is a list of coordinates of the \n rectangle corners.\nw : float\n Pick width.\n\nReturns\n-------\nareas : np.1darray\n Pick areas, s...
0
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_RE_PATTERN_REF_STREAM_PARAM = r'(?:.*stream\s*&\s*' + _RE_PATTERN_IDENT + r')'
0
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>{'name': 'process_dem@oggm/core/gis.py', 'description': 'Reads the DEM from the tiff, attempts to fill voids and apply smooth.\n\nThe data is then wr...
0
{'name': 'MainWindow.newShape@labelImg.py', 'description': 'Pop-up and give focus to the label editor.\n\nposition MUST be in global coordinates.', 'signature': 'def newShape(self):'}</s>FORMAT_YOLO_OBB = "YOLO_OBB"
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': 'test_merged_dup_stream_alignments@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on AlignmentGroups.', 'signature': 'def test_merged_dup_stream_alignments():'}</s>{'name': 'test_prune_tree@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': "def test_prune_tree():\n tr...
0
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\...
0
{'name': 'RIPPER._grow_ruleset_cn@wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': '_exceptions_bits@wittgenstein/ripper.py', 'description': "Returns description length (in bits) for exceptions to a Ruleset's coverage.", 'code': 'def _exceptions_b...
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>MQCACF_CF_SMDS_GENERIC_NAME = 3182
0
{'name': 'ChoiceFilterTests.test_filtering_on_explicitly_defined_field@tests/test_filtering.py', 'description': 'Test for #30.\n\nIf you explicitly declare ChoiceFilter fields you **MUST** pass `choices`.', 'signature': 'def test_filtering_on_explicitly_defined_field(self):'}</s>{'name': 'TimeRangeFilter@django_filters...
0
{'name': 'BareValidator._validate_items@cerberus/validator.py', 'description': "{'type': 'list', 'check_with': 'items'}", 'signature': 'def _validate_items(self, items, field, values):'}</s>MISSING_MEMBERS = ErrorDefinition(0x48, 'contains')
0
{'name': 'Salience.get_saliency@scnym/interpret.py', 'description': 'Compute the saliency of a target class on an input\nvector `x`.\n\nParameters\n----------\nx : torch.FloatTensor\n [1, Genes] vector of gene expression.\ntarget_class : str\n class in `.class_names` for which to compute gradients.\nguide_backpro...
0
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt...
0
{'name': 'Block.AddLine@vimdoc/block.py', 'description': 'Adds a line of text to the block. Paragraph type is auto-determined.', 'signature': 'def AddLine(self, line):'}</s>function_arg = re.compile(r'([a-zA-Z_][a-zA-Z0-9_]*|\.\.\.)')
0
{'name': 'follow@twitter_to_sqlite/cli.py', 'description': 'Experimental: Follow these Twitter users and save tweets in real-time', 'signature': 'def follow(db_path, identifiers, attach, sql, ids, auth, verbose):'}</s>{'name': 'import_from_file@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def imp...
0
{'name': 'predict_test@transformers_learn_icl_by_gd/src/train.py', 'description': 'Predict test data used for analyses as well as metrics computation.', 'signature': 'def predict_test(data: jnp.ndarray, gd) -> Tuple[jnp.ndarray, jnp.ndarray,'}</s>{'name': 'evaluation@transformers_learn_icl_by_gd/src/train.py', 'descrip...
0