text
string
label
int64
{'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': 'BlockList.removeStructs@libc/kernel/tools/cpp.py', 'description': 'Remove structs.', 'signature': 'def removeStructs(self, structs):'}</s>tokRPAREN = ")"
0
{'name': 'page_erase@tools/pydfu.py', 'description': 'Erases a single page.', 'signature': 'def page_erase(addr):'}</s>{'name': 'get_status@tools/pydfu.py', 'description': 'Get the status of the last operation.', 'code': 'def get_status():\n """Get the status of the last operation."""\n stat = __dev.ctrl_transfer...
1
{'name': 'TestIntegration.setUp@tests/integration_test.py', 'description': 'Load data needed for most test cases.', 'signature': 'def setUp(self):'}</s>{'name': 'Tinycards@tinycards/client/tinycards.py', 'description': "The entry point class to the Tinycards Python API.\n\nExample:\n >>> import tinycards\n >>> ti...
1
{'name': 'check@watchman/decorators.py', 'description': 'Decorator which wraps checks and returns an error response on failure.', 'signature': 'def check(func):'}</s>logger = logging.getLogger("watchman")
1
{'name': 'distribute_jobs@source/tomopy/util/mproc.py', 'description': 'Distribute N-dimensional shared-memory array into cores by splitting along\nan axis.\n\nParameters\n----------\narr : ndarray, or iterable(ndarray)\n Array(s) to be split up for processing.\nfunc : func\n Function to be parallelized. Should ...
1
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PF_OP_LT = 4
0
{'name': 'ISO3166Utils.short2full@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Convert an ISO 3166-2 country code to the corresponding full name', 'signature': 'def short2full(cls, code):'}</s>{'name': 'preferredencoding@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Get prefer...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>{'name': 'EXTRACT_RVC_J_IMM@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'DOCSTRING', 'code': 'def EXT...
0
{'name': 'diff_matrix@dynaphopy/interface/iofile/__init__.py', 'description': ':param array_1: supercell scaled positions respect unit cell\n:param array_2: supercell scaled positions respect unit cell\n:param cell_size: diference between arrays accounting for periodicity\n:return:', 'signature': 'def diff_matrix(array...
0
{'name': 'normalize_addr_str@scourgify/normalize.py', 'description': 'Normalize a complete or partial address string.\n\n:param addr_str: str containing address data.\n:type addr_str: str\n:param line2: optional str containing occupancy or sub-address data\n (eg: Unit, Apt, Lot).\n:type line2: str\n:param city: opti...
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_argument_sources@varname/utils.py', 'description': "Get the sources for argument from an ast.Call node\n\n>>> def func(a, b, c, d=4):\n>>> ...\n>>> x = y = z = 1\n>>> func(y, x, c=z)\n>>> # argument_sources = {'a': 'y', 'b', 'x', 'c': 'z'}\n>>> func(y, x, c=1)\n>>> # argument_sources = {'a': 'y', 'b', 'x...
0
{'name': 'build_match_function@onlinejudge_command/subcommand/test.py', 'description': "build_match_function builds the function to compare actual outputs and expected outputs.\n\nThis function doesn't any I/O.", 'signature': 'def build_match_function(*, compare_mode: CompareMode, error: Optional[float], judge_command:...
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Test that witness stack can only allow up to MAX_SCRIPT_ELEMENT_SIZE byte pushes.', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_2DROP = CScriptOp(0x6d)
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>_T = TypeVar("_T", bound="GenericAfipType", covariant=True)
0
{'name': 'NACLASP.__init__@peachpy/x86_64/nacl.py', 'description': 'Supported forms:\n\n* NACLASP(r32)\n* NACLASP(imm32)', 'signature': 'def __init__(self, *args, **kwargs):'}</s>{'name': 'is_imm32@peachpy/x86_64/operand.py', 'description': 'DOCSTRING', 'code': 'def is_imm32(operand, ext_size=None):\n import peachpy...
1
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>PFR_FLAG_ALLMASK = 127
0
{'name': 'integrate_budget@src/falwa/xarrayinterface.py', 'description': 'Compute the integrated LWA budget terms for the given data.\n\nIntegrates the LWA tendencies from equation (2) of `NH18\n<https://doi.org/10.1126/science.aat0721>`_ in time (over the time interval\ncovered by the input data). The residual (term I...
0
{'name': 'genesetAnalysisBetweenConditions@pipelines/pipeline_scxl.py', 'description': 'Naive geneset over-enrichment analysis of genes DE within-cluster.\n\nTesting is performed with the gsfisher package.\n\nGO categories and KEGG pathways are tested by default.\n\nArbitrary sets of genes cat be supplied as GMT files\...
0
{'name': '_estimate_noise_variance@FDApy/misc/utils.py', 'description': 'Estimate the variance of the noise.\n\nThis function estimates the variance of the noise non-parametrically using\nthe methodology developed in [1]_. The estimator is based on the difference\nof observed values.\n\nParameters\n----------\nx\n V...
0
{'name': 'Packet.parse_packets_batch@src/explorepy/packet.py', 'description': 'Process multiple packets at once for offline file parsing.\nArgs:\n packet_list (list): List of tuples containing (packet_id, timestamp, binary_data, time_offset)\n where:\n - packet_id (int): The ID ...
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': 'add_to_bill@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'Endpoint to add an item to the invoice. Adds it both to the db as well as to the logfile.\n\n:return:', 'signature': 'def add_to_bill():'}</s>{'name': 'validate_invoice@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'DOCSTRING',...
1
{'name': 'grab_image_from_env@self_organising_systems/biomakerca/environments.py', 'description': 'Create a visualization of the environment.\n\nResulting values are floats ranging from [0,1].\n\nIf color_by_id is True, we blend the agent cell colors with unique per id\ncolors with a mix of id_color_intensity.', 'signa...
0
{'name': 'routing@Chapter10/helper_functions.py', 'description': 'This function performs the routing algorithm as mentioned in the paper\n:parameter u: Input tensor with [batch_size, num_caps_input_layer=1152, 1, caps_dim_input_layer=8, 1] shape.\n NCAPS_CAPS1: num capsules in the PrimaryCaps layer l\n ...
0
{'name': 'MailChimp.__init__@mailchimp3/__init__.py', 'description': 'Initialize the class with your api_key and user_id and attach all of\nthe endpoints', 'signature': 'def __init__(self, *args, **kwargs):'}</s>{'name': 'ReportUnsubscribes@mailchimp3/entities/reportunsubscribes.py', 'description': 'Get information abo...
1
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
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': 'JupyterWidget.set_default_style@qtconsole/jupyter_widget.py', 'description': 'Sets the widget style to the class defaults.\n\nParameters\n----------\ncolors : str, optional (default lightbg)\n Whether to use the default light background or dark\n background or B&W style.', 'signature': "def set_default_...
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': 'remove_y@test/test_utils.py', 'description': 'Quadruplets and triplets learners have no y in fit, but to write test for\nall estimators, it is convenient to have this function, that will return X\nand y if the estimator needs a y to fit on, and just X otherwise.', 'signature': 'def remove_y(estimator, X, y):'...
0
{'name': 'ParserElement.addCondition@blockchain-env/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Add a boolean predicate function to expression\'s list of parse actions. See \nL{I{setParseAction}<setParseAction>} for function call signatures. Unlike C{setParseAction}, \nfunctions pas...
0
{'name': 'load_yaml_dict@src/conda_devenv/devenv.py', 'description': 'Loads the given devenv.yml file, recursively processing it, using the selectors for the given\nplatform -- when not given, use the current platform.', 'signature': 'def load_yaml_dict('}</s>{'name': '_get_env@src/conda_devenv/devenv.py', 'description...
0
{'name': 'Doc.textarea@Others_Labs/code/SurveySubmit/yattag/doc.py', 'description': "required attribute: 'name'", 'signature': 'def textarea(self, *args, **kwargs):'}</s>{'name': 'Select@Others_Labs/code/SurveySubmit/yattag/doc.py', 'description': 'DOCSTRING', 'base_classes': ['ContainerTag'], 'methods': []}
0
{'name': 'get_n_batch@src/deepwave/common.py', 'description': 'Get the size of the batch dimension.', 'signature': 'def get_n_batch(args: List[Optional[Tensor]]) -> int:'}</s>{'name': 'check_extents_within_model@src/deepwave/common.py', 'description': 'DOCSTRING', 'code': 'def check_extents_within_model(extents: List[i...
0
{'name': 'BL3Profile.get_sdus@bl3save/bl3profile.py', 'description': 'Returns a dict containing the SDU type and the number purchased. The SDU\ntype key will be a constant by default, or an English label if `eng` is `True`', 'signature': 'def get_sdus(self, eng=False):'}</s>diamondkey_category = "/Game/Gear/_Shared/_D...
0
{'name': 'align_one_cli@montreal_forced_aligner/command_line/align_one.py', 'description': 'Align a single file with a pronunciation dictionary and a pretrained acoustic model.', 'signature': 'def align_one_cli(context, **kwargs) -> None:'}</s>MFA_PROFILE_VARIABLE = "MFA_PROFILE"
0
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ...
0
{'name': '_parabolic_bed_from_topo@oggm/core/centerlines.py', 'description': 'this returns the parabolic bedshape for all points on idl', 'signature': 'def _parabolic_bed_from_topo(gdir, idl, interpolator):'}</s>IS_INITIALIZED = False
0
{'name': 'RIPPER._grow_ruleset_cn@wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'aslist@wittgenstein/utils.py', 'description': 'DOCSTRING', 'code': 'def aslist(data):\n try:\n return data.aslist()\n except:\n return data'}
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': 'create_yoy_chart@src/fitly/pages/performance.py', 'description': ':param metric: Allowed values from strava summary table [hrss, tss, trimp, distance, elapsed_time, high_intensity_seconds, mod_intensity_seconds, low_intensity_seconds]\n:return:', 'signature': "def create_yoy_chart(metric, sport='all'):"}</s>o...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>_prog_start_epoch2 = (RHTimeFns.getUtcDateTimeNow() - EPOCH_START).total_seconds()
0
{'name': 'CARE.train@csbdeep/models/care_standard.py', 'description': 'Train the neural network with the given data.\n\nParameters\n----------\nX : :class:`numpy.ndarray`\n Array of source images.\nY : :class:`numpy.ndarray`\n Array of target images.\nvalidation_data : tuple(:class:`numpy.ndarray`, :class:`numpy....
0
{'name': 'BytesEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Returns an encoder for a bytes field.', 'signature': 'def BytesEncoder(field_number, is_repeated, is_packed):'}</s>WIRETYPE_VARINT = 0
0
{'name': 'TestLongGf.test_parse_mouse@test/test_parsers.py', 'description': 'Test basic parsing.', 'signature': 'def test_parse_mouse(self):'}</s>{'name': 'AGFusionDB@agfusion/database.py', 'description': 'Class to handle methods around interacting with the AGFusion SQLite3\ndatabase\n\nname: name of the database\nrefe...
0
{'name': 'git_pieces_from_vcs@versioneer.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the git-archive 'subst' keywords were *not*\nexpanded, and _version.py hasn't already been rewritten with a short\nversion string, meaning we're inside a checked out ...
0
{'name': 'draw_moist_adiabat@pymeteo/skewt.py', 'description': 'Plot moist adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates moist adiabats\nand plots these lines. Adiabats are calculated for\nvalues of T at 1000mb from -15 to 45 C every 5 C b...
0
{'name': 'UnsupervisedLoss.stochastic_neighborhood@models/loss.py', 'description': 'param: inputs: (B, N, 3)\nreturn: knn_idx: (B, N, k), Indices of neighboring points\nreturn: mask: (B, N, k), Mask', 'signature': 'def stochastic_neighborhood(self, inputs):'}</s>{'name': 'EMDLoss@models/loss.py', 'description': 'D...
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': 'calibrate_extrinsics@Pose2Sim/calibration.py', 'description': 'Calibrates extrinsic parameters\nfrom an image or the first frame of a video\nof a checkerboard or of measured clues on the scene\n\nINPUTS:\n- calib_dir: directory containing intrinsic and extrinsic folders, each populated with camera directories...
0
{'name': 'build_block_parser@source-builder/sb/markdown/blockprocessors.py', 'description': 'Build the default block parser used by Markdown. ', 'signature': 'def build_block_parser(md_instance, **kwargs):'}</s>HTML_PLACEHOLDER = STX + "wzxhzdk:%s" + ETX
0
{'name': 'NestingState.Update@scripts/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.'...
0
{'name': '_get_package_data@jupyter_packaging/setupbase.py', 'description': 'Expand file patterns to a list of `package_data` paths.\n\nParameters\n-----------\nroot: str\n The relative path to the package root from the current dir.\nfile_patterns: list or str, optional\n A list of glob patterns for the data file...
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>_as_utf8_default = True
0
{'name': 'push_files@src/showyourwork/overleaf.py', 'description': "Push files to the Overleaf remote.\n\nArgs:\n files (list): A list of strings corresponding to the paths of the\n files to be pushed to the Overleaf remote. These files must\n be located in ``src/tex/``. Subdirectories will be preserve...
1
{'name': 'NestingState.CheckCompletedBlocks@scripts/cpplint.py', 'description': 'Checks that all classes and namespaces have been completely parsed.\n\nCall this when all lines in a file have been processed.\nArgs:\n filename: The name of the current file.\n error: The function to call with any errors found.', 'signa...
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': 'TokenList.get_parent_name@libs/sqlparse/sql.py', 'description': 'Return name of the parent object if any.\n\nA parent object is identified by the first occurring dot.', 'signature': 'def get_parent_name(self):'}</s>{'name': 'Comment@libs/sqlparse/sql.py', 'description': 'A comment.', 'base_classes': ['TokenLi...
0
{'name': 'test_depth_loss@model.py', 'description': 'compute loss and accuracy ', 'signature': 'def test_depth_loss(estimated_depth_image, depth_image, depth_interval):'}</s>{'name': 'repeat_float@homography_warping.py', 'description': 'DOCSTRING', 'code': "def repeat_float(x, num_repeats):\n ones = tf.ones((1, num_...
0
{'name': 'DebugCmd.do_selenium@DebugLibrary/debugcmd.py', 'description': 'Start a selenium webdriver and open url in browser you expect.\n\nselenium [<url>] [<browser>]\n\ndefault url is google.com, default browser is firefox.', 'signature': 'def do_selenium(self, arg):'}</s>{'name': 'get_libs_dict@DebugLibrary/robot...
0
{'name': 'AbstractSegmentsContainer.get_footer_segment@pydifact/segmentcollection.py', 'description': 'Craft and return a footer segment.\n\nThis is similar to :meth:`get_header_segment`, but for the footer segment.', 'signature': 'def get_footer_segment(self) -> Optional[Segment]:'}</s>{'name': 'FileSourcableMixin@pyd...
0
{'name': 'RunInReactorTests.test_signature@crochet/tests/test_api.py', 'description': 'The function decorated with the run_in_reactor decorator has the same\nsignature as the original function.', 'signature': 'def test_signature(self):'}</s>{'name': 'RunInReactorTests@crochet/tests/test_api.py', 'description': 'Tests f...
1
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>{'name': 'read_entry@code/utils/osg.py', 'description': 'Reads a single entry\n:param file: the ent...
0
{'name': '__decorate_axis@librosa/display.py', 'description': 'Configure axis tickers, locators, and labels', 'signature': 'def __decorate_axis('}</s>_FloatLike_co = Union[_IntLike_co, float, "np.floating[Any]"]
0
{'name': 'IntelHex._decode_record@nordicsemi/dfu/intelhex/__init__.py', 'description': 'Decode one record of HEX file.\n\n@param s line with HEX record.\n@param line line number (for error messages).\n\n@raise EndOfFile if EOF record encountered.', 'signature': 'def _decode_record(self, s, line=0):'}</s>{...
1
{'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': '_check@oslo_policy/_checks.p...
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': 'StandardMzml.__getitem__@pymzml/file_classes/standardMzml.py', 'description': "Access the item with id 'identifier'.\n\nEither use linear, binary or interpolated search.\n\nArguments:\n identifier (str): native id of the item to access\n\nReturns:\n data (str): text associated with the given identifier"...
0
{'name': 'postprocess_CHM@src/CHM.py', 'description': 'Field measured height must be within min_diff meters of canopy model', 'signature': 'def postprocess_CHM(df, lookup_pool):'}</s>{'name': 'year_from_tile@src/neon_paths.py', 'description': 'DOCSTRING', 'code': 'def year_from_tile(path):\n return path.split("/")[6...
0
{'name': 'UpdateItemTest.test_update_foreignkey@feedreader/test_views.py', 'description': 'Update foreign key', 'signature': 'def test_update_foreignkey(self):'}</s>PORT = 8081
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_CF_STRUC_BACKUP_SIZE = 1144
0
{'name': 'SendClient.send_message@uamqp/client.py', 'description': 'Send a single message or batched message.\n\n:param messages: A message to send. This can either be a single instance\n of `Message`, or multiple messages wrapped in an instance of `BatchMessage`.\n:type message: ~uamqp.message.Message\n:param close_on...
0
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,...
0
{'name': 'traverse_yaml_tree@src/nitpick/blender.py', 'description': 'Traverse a YAML document recursively and change values, keeping its formatting and comments.', 'signature': 'def traverse_yaml_tree(yaml_obj: YamlObject, change: JsonDict):'}</s>unflatten_quotes = partial(unflatten, splitter=quotes_splitter)
0
{'name': '_NestingState.Update@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: T...
0
{'name': 'BL3Serial.get_serial_number@bl3save/datalib.py', 'description': 'Returns the binary item serial number. If `orig_seed` is `True`, the\nserial number will use the same seed that was used in the savegame.\nOtherwise, it will use a seed of `0`, which will then be unencrypted.', 'signature': 'def get_serial_numb...
0
{'name': 'get_env_name@src/conda_devenv/devenv.py', 'description': ':param args:\n When the user supplies the name option in the command line this namespace have a "name"\n defined with a not `None` value and this value is returned.\n:param conda_yaml_dict:\n If supplied and not `None` then `output_filename` i...
0
{'name': 'get_task@araelectra/finetune/task_builder.py', 'description': 'Get an instance of a task based on its name.', 'signature': 'def get_task(config: configure_finetuning.FinetuningConfig, task_name,'}</s>{'name': 'SearchQA@araelectra/finetune/qa/qa_tasks.py', 'description': 'DOCSTRING', 'base_classes': ['MRQATask...
1
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_ADDW = 4261441663
0
{'name': 'run_commands@rf/batch.py', 'description': 'Load files, apply commands and write result files.', 'signature': 'def run_commands(command, commands=(), events=None, inventory=None,'}</s>{'name': 'iter_event_processed_data@rf/batch.py', 'description': 'Iterator yielding streams or traces which are read from disc....
1
{'name': 'print_state@copasi/bindings/python/examples/get_steady_state.py', 'description': 'prints species concentration and concentration rates, as well as\nfluxes.', 'signature': 'def print_state():'}</s>{'name': 'load_model@copasi/bindings/python/examples/get_steady_state.py', 'description': "Loads a COPASI model if...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_ADDR_RTLABEL = 4
0
{'name': 'CastlingTestCase.test_castling_into_check@tests/test_utilities.py', 'description': '. . . . . . . .\n. . . . . . . .\n. . . . . . . .\n. . . . . . . .\n. . . . . . q .\n. . . . . . . .\n. . . . . . . .\n. . . . K . . R', 'signature': 'def test_castling_into_check(self):'}</s>{'name': 'CastlingTestCase@tests/t...
1
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_remove_with_error@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_remove_with_error():\n ...
0
{'name': 'cluster_points@brainspace/mesh/mesh_cluster.py', 'description': "Clustering of surface points.\n\nParameters\n----------\nsurf : vtkPolyData or BSPolyData\n Input surface.\nn_clusters : int, optional\n Number of clusters. Default is 100.\nis_size : bool, optional\n If True, interpret `n_clusters` as ...
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': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
0
{'name': '_transform_attrs@blockchain-env/lib/python3.7/site-packages/attr/_make.py', 'description': "Transform all `_CountingAttr`s on a class into `Attribute`s.\n\nIf *these* is passed, use that and don't look for them on the class.\n\nReturn an `_Attributes`.", 'signature': 'def _transform_attrs(cls, these, auto_att...
1
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'name': 'validate_F@xmldiff/main.py', 'description': 'Type function for argparse - a float within some predefined bounds', 'signature': 'def validate_F(arg):'}</s>FORMATTERS = { "diff": formatting.DiffFormatter, "xml": formatting.XMLFormatter, "old": formatting.XmlDiffFormatter, }
0
{'name': 'Circuit.eval@discopy/quantum/circuit.py', 'description': "Evaluate a circuit on a backend, or simulate it with numpy.\n\nParameters\n----------\nothers : :class:`discopy.quantum.circuit.Circuit`\n Other circuits to process in batch.\nbackend : pytket.Backend, optional\n Backend on which to run the circu...
0
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>dnsname = _get_value(_extconf, 'Network', 'dnsname', '')
0
{'name': 'TestUnicodeReader.test_wrong_encoding_detection_windows@tests/test_io.py', 'description': 'Test for detecting the encoding of a windows file opened in ascii', 'signature': 'def test_wrong_encoding_detection_windows(self):'}</s>encode = lambda iterable: (s.encode(ENCODING) for s in iterable)
0
{'name': 'initialize_chain@qa/rpc-tests/test_framework/util.py', 'description': 'Create a cache of a 200-block-long chain (with wallet) for MAX_NODES\nAfterward, create num_nodes copies from the cache', 'signature': 'def initialize_chain(test_dir, num_nodes, cachedir):'}</s>{'name': 'initialize_datadir@qa/rpc-tests/tes...
1
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ...
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': 'Client.sleep@src/engineio/client.py', 'description': 'Sleep for the requested amount of time.', 'signature': 'def sleep(self, seconds=0):'}</s>binary_types = (bytes, bytearray)
0