text
string
label
int64
{'name': 'TraceForest.add_trace@jitlog/objects.py', 'description': 'Create a new trace object and attach it to the forest ', 'signature': 'def add_trace(self, trace_type, unique_id, trace_nmr, jd_name=None):'}</s>{'name': 'PointInTrace@jitlog/objects.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods...
0
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'log_function_time@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def log_function_time(func):\n try:\n\n @functools.wraps(func) # 将函数的原来属性付给新函数\n def calculate_time(*args, **kw):\n...
0
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>{'name': 'all_urls@code/utils/osg.py', 'description': 'Gets all urls of all entries in a dictionary (key=url value=l...
0
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'ModOp@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['Operator'], 'methods': []}
0
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'd...
0
{'name': '_BinaryLogisticHeadWithSigmoidCrossEntropyLoss._create_tpu_estimator_spec@07_train/privacy/tensorflow_privacy/privacy/estimators/v1/head.py', 'description': "Returns an `EstimatorSpec`.\n\nArgs:\n features: Input `dict` of `Tensor` or `SparseTensor` objects.\n mode: Estimator's `ModeKeys`.\n logits: logits...
1
{'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': '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': 'extract_data@ytmdl/main.py', 'description': 'Extract the arguments and act accordingly.', 'signature': 'def extract_data():'}</s>{'name': '__get_title_from_yt@ytmdl/yt.py', 'description': 'Return the title of the passed URL.', 'code': 'def __get_title_from_yt(url, ytdl_config: str = None):\n """\n Retur...
0
{'name': 'DeviceManager._get_transport@src/StreamDeck/DeviceManager.py', 'description': 'Creates a new HID transport instance from the given transport back-end\nname. If no specific transport is supplied, an attempt to find an\ninstalled backend will be made.\n\n:param str transport: Name of a supported HID transport b...
0
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign...
0
{'name': 'KGEServer.set_clr@python/dglke/kvserver.py', 'description': 'Set learning rate for Row-Sparse Adagrad updater\n ', 'signature': 'def set_clr(self, learning_rate):'}</s>{'name': 'ArgParser@python/dglke/kvserver.py', 'description': 'DOCSTRING', 'base_classes': ['argparse.ArgumentParser'], 'methods': [{'n...
0
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>{'name': 'FastRenderDialog@picasso/gui/render.py', 'description': 'A class to randomly sample a given percentage of locs to increase...
0
{'name': 'sub_df@char60/rvar_mean.py', 'description': ":param start: the quantile to start cutting, usually it should be 0\n:param end: the quantile to end cutting, usually it should be 1\n:param step: quantile step\n:return: a dictionary including all the 'firm_list' dataframe and 'stock data' dataframe", 'signature':...
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': 'PlainChildTestModel@modeltranslation/tests/models.py', 'description': 'DOCSTRING', 'base_classes': ['CustomManagerBas...
0
{'name': 'subscriber_monitor@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'Monitor to handle a rare race condition where:\n\n1. subscriber reads an empty backlog (before it can delete the\n _BACKFILL blob...)\n2. a new item is added to the backlog (causing a separa...
0
{'name': 'deserialize@streaming/python/raystreaming/function.py', 'description': 'Deserialize a binary function serialized by `serialize` method.', 'signature': 'def deserialize(func_bytes):'}</s>{'name': 'deserialize@streaming/python/raystreaming/runtime/gateway_client.py', 'description': 'Deserialize the binary data ...
0
{'name': 'iou_ign@lib/core.py', 'description': "Computes the amount of overap of box_b has within box_a, which is handy for dealing with ignore regions.\nHence, assume that box_b are ignore regions and box_a are anchor boxes, then we may want to know how\nmuch overlap the anchors have inside of the ignore regions (henc...
0
{'name': 'test_get_features_from_precomputed_ica@mne_icalabel/iclabel/tests/test_features.py', 'description': "Test that we get the correct set of features from an MNE instance.\n\nCorresponds to the output from 'ICL_feature_extractor.m'.", 'signature': 'def test_get_features_from_precomputed_ica('}</s>epo_eeglab_path ...
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>FEEDTYPEDISPLAY = {0:"(unknown type)", 1:"RSS", 2:"RSS", 3:"Atom 1.0", 4:"Atom 1.0", 5:"Atom Publi...
0
{'name': 'CheckForNonConstReference@third_party/cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance conta...
0
{'name': 'check_input_settings@sounddevice.py', 'description': 'Check if given input device settings are supported.\n\nAll parameters are optional, `default` settings are used for any\nunspecified parameters. If the settings are supported, the function\ndoes nothing; if not, an exception is raised.\n\nParameters\n----...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_SSL_ALT_PROVIDER_REQD = 3325
0
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_181 = Badge("gem stone", series=2, number=81, symbol="💎")
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQDMPO_CURRENT_VERSION = 1
0
{'name': 'mach_o_change@python/virtualenv/virtualenv.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>is_win = sys.platform == 'win32'
0
{'name': 'ExportHtml.get_tools@ExportHtml.py', 'description': 'Get tools for toolbar.', 'signature': 'def get_tools(self, tools, use_annotation, use_wrapping):'}</s>BODY_START = "<body class="code_page code_text"><pre class="code_page">"
0
{'name': 'create_makefiles@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Create the Makefiles.\n\nmacros is the dictionary of platform specific build macros.', 'signature': 'def create_makefiles(macros):'}</s>MACOSX_SDK_DIR = "/Developer/SDKs"
0
{'name': 'modify_descendants_for_jackknife_fast@operations.py', 'description': 'Gets the columns for leaf Metrics and modify them for fast Jackknife SQL.\n\nSee the doc of get_jackknife_data_fast() first. Here we\n1. collects the LOO columns for all Sum and Count.\n2. Modify them in-place so when we generate SQL later,...
0
{'name': 'Endpoint._delete@consulate/api/base.py', 'description': 'Perform a DELETE request\n\n:param list params: List of path parts\n:rtype: bool', 'signature': 'def _delete('}</s>{'name': 'is_string@consulate/utils.py', 'description': 'Python 2 & 3 safe way to check if a value is either an instance of str\nor unicod...
0
{'name': 'IRML2PDF.parseString@src/z3c/rml/interfaces.py', 'description': 'Parse an XML string and convert it to PDF.\n\nThe output is a ``StringIO`` object.', 'signature': 'def parseString(xml):'}</s>UNDERLINE_KIND_CHOICES = ('single', 'double', 'triple')
0
{'name': 'TestBaseGrandCanonicalMonteCarloSampler.test_report@grand/tests/test_samplers.py', 'description': 'Make sure the BaseGrandCanonicalMonteCarloSampler.report() method works correctly', 'signature': 'def test_report(self):'}</s>{'name': 'setup_NonequilibriumGCMCSystemSampler@grand/tests/test_samplers.py', 'descr...
0
{'name': 'build_bone_hierarchy@io_scene_minecraft_json/export_minecraft_json_by_bones.py', 'description': 'Get serializable bone tree and map bones -> object clusters.\nInputs:\n- objects: Objects to consider\nReturns:\n- bone_tree: BoneNode dict tree of skeleton tree\n- bone_object_groups: dict of bone name -> BoneObj...
0
{'name': 'ensure_subnet@aegea/util/aws/__init__.py', 'description': 'Find and return a subnet in the given VPC, or create one subnet per AZ and return one of them if no suitable subnet\nis found.', 'signature': 'def ensure_subnet(vpc, availability_zone=None, assign_ipv6_cidr_blocks=False):'}</s>{'name': 'resolve_securi...
0
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'u64@gef.py', 'description': 'Unpack one qword respecting the current architecture endianness.', 'code': 'def u64(x: bytes, s: b...
0
{'name': 'marshal@flask_restx/marshalling.py', 'description': "Takes raw data (in the form of a dict, list, object) and a dict of\nfields to output and filters the data based on those fields.\n\n:param data: the actual object(s) from which the fields are taken from\n:param fields: a dict of whose keys will make up the ...
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_CLUSTER_RESOURCE_ERROR = 2269
0
{'name': 'optimize_if01@libc/kernel/tools/cpp.py', 'description': 'Remove the code between #if 0 .. #endif in a list of CppBlocks.', 'signature': 'def optimize_if01(blocks):'}</s>tokNEQUAL = "!="
0
{'name': 'NesterovFunction.prox@parsimony/functions/properties.py', 'description': 'The proximal operator corresponding to this function.\n\nThe proximal operator is computed numerically. This method should be\noverloaded if the function has a known proximal operator.\n\nFrom the interface "ProximalOperator".\n\nParame...
0
{'name': '_maybe_update_config_with_key_value@object_detection/utils/config_util.py', 'description': "Checks key type and updates `configs` with the key value pair accordingly.\n\nArgs:\n configs: Dictionary of configuration objects. See outputs from\n get_configs_from_pipeline_file() or get_configs_from_multiple_f...
0
{'name': 'test_model_from_data@tests/mlmc/test_MLMCSimulator.py', 'description': 'Executes simulate() with models and inputs created from files\nto ensure there are no exceptions while performing basic functionality.', 'signature': 'def test_model_from_data(data_input, models_from_data):'}</s>{'name': 'test_multiple_c...
0
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>pf_timeouts = { "tcp.first": PFTM_TCP_FIRST_PACKET, "tcp.opening": PFTM_TCP_OPENING, "tcp.established": PFTM_TCP_ESTABLISHED, "tcp.closing": ...
0
{'name': '_AutoReject.fit@autoreject/autoreject.py', 'description': 'Compute the thresholds.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object from which the channel-level thresholds are\n estimated.\n\nReturns\n-------\nself : instance of _AutoReject\n The instance.', 'signature':...
0
{'name': 'AnkiDataFrame.add_cards@ankipandas/ankidf.py', 'description': "Add cards belonging to notes of one model.\n\nArgs:\n nid: Note IDs of the notes that you want to add cards for\n cdeck: Name of deck to add cards to as string or list of strings\n (different deck for each nid).\n cord: Number of t...
1
{'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': '_BuildBootableImage@tools/releasetools/common.py', 'description': "Build a bootable image from the specified sourcedir.\n\nTake a kernel, cmdline, and optionally a ramdisk directory from the input (in\n'sourcedir'), and turn them into a boot image. 'two_step_image' indicates if\nwe are building a two-step spe...
0
{'name': 'ProcessFileData@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: An array of strings, each representing a ...
0
{'name': 'BaseImage.caption@wand/image.py', 'description': 'Writes a caption ``text`` into the position.\n\n:param text: text to write\n:type text: :class:`str`\n:param left: x offset in pixels\n:type left: :class:`numbers.Integral`\n:param top: y offset in pixels\n:type top: :class:`numbers.Integral`\n:param width: wi...
1
{'name': 'add_main_cli@rivalcfg/cli.py', 'description': 'Adds the main CLI options.\n\n:param ArgumentParser cli_parser: An :class:`ArgumentParser` instance.', 'signature': 'def add_main_cli(cli_parser):'}</s>RULES_FILE_PATH = "/etc/udev/rules.d/99-steelseries-rival.rules"
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_NOPFROUTE = 0
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': 'SeqSort@src/api/python/z3/z3.py', 'description': 'Create a sequence sort over elements provided in the argument\n>>> s = SeqSor...
0
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'name': 'AppStack@src/ba...
0
{'name': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object...
0
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'ValidHour@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['ValidValue'], 'methods': ...
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': 'saveResultstoDisk@FastProject/FileIO.py', 'description': 'Save the results of a FastProject analysis to a directory structure in `dir_name`', 'signature': 'def saveResultstoDisk(models, signatures, qc_info, dir_name):'}</s>{'name': 'get_housekeeping_dir@FastProject/Global.py', 'description': 'DOCSTRING', 'cod...
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>MQCFCONLOS_TERMINATE = 0
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_boolparam_hie...
0
{'name': 'VtkFile.addData@pyevtk/vtk.py', 'description': 'Add array description to xml header section.\n\nParameters\n----------\nname : str\n data array name.\ndata : array-like\n one numpy array or a tuple with 3 numpy arrays.\n If a tuple, the individual arrays must represent the components\n of a vector...
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...
0
{'name': 'main@lib/ddupdate/main.py', 'description': 'Indeed: main function.', 'signature': 'def main():'}</s>{'name': 'envvar_default@lib/ddupdate/main.py', 'description': 'Return var if found in environment, else default.', 'code': 'def envvar_default(var, default=None):\n """Return var if found in environment, el...
0
{'name': 'json_numpy_obj_hook@json_tricks/decoders.py', 'description': 'Replace any numpy arrays previously encoded by `numpy_encode` to their proper\nshape, data type and data.\n\n:param dct: (dict) json encoded ndarray\n:return: (ndarray) if input was an encoded ndarray', 'signature': 'def json_numpy_obj_hook(dct):'}...
1
{'name': 'StandardRun.check_options@selection_pipeline/standard_run.py', 'description': 'Check the options for any incombatibilities as they are not perfect.\n\nFor instance specifying the no genetic map option and not using\nbeagle will cause direct problems with shapeit', 'signature': 'def check_options(self):'}</s>{...
1
{'name': 'auto_from_etree@a38/fattura.py', 'description': 'Instantiate a Fattura or FatturaElettronicaSemplificata from a parsed XML', 'signature': 'def auto_from_etree('}</s>{'name': 'Field@a38/fields.py', 'description': 'Description of a value that can be validated and serialized to XML.\n\nIt does not contain the va...
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': 'load_preprocess_file@Chapter13/utils.py', 'description': 'Loading the processed Book Scripts Data', 'signature': 'def load_preprocess_file():'}</s>INPUT_SHAPE = (IMAGE_SIZE, IMAGE_SIZE, 1)
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_POOL_RDR = 2
0
{'name': 'GetExitStatus@Engine/lib/assimp/contrib/googletest/googlemock/test/gmock_test_utils.py', 'description': "Returns the argument to exit(), or -1 if exit() wasn't called.\n\nArgs:\n exit_code: the result value of os.system(command).", 'signature': 'def GetExitStatus(exit_code):'}</s>PREMATURE_EXIT_FILE_ENV_VAR ...
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'test_no_setsid_doesnt_signal_entire_group@tests/child_processes_test.py', 'description': 'When dumb-init is not running in setsid mode, it should only signal its\nimmediate child.', 'signature': 'def test_no_setsid_doesnt_signal_entire_group():'}</s>{'name': 'spawn_process_which_dies_with_children@tests/child...
0
{'name': 'CheckTrailingSemicolon@third_party/cpplint/cpplint.py', 'description': 'Looks for redundant trailing semicolon.\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': 'PrintState@MRT.py', 'description': 'Make a pretty version of the current state ', 'signature': 'def PrintState():'}</s>{'name': 'W2dBm@MRT.py', 'description': 'DOCSTRING', 'code': 'def W2dBm(W):\n return 10. * np.log10(W / 1e-3)'}
0
{'name': 'Export.load_data@core/Export.py', 'description': 'load metadata related to vuln', 'signature': 'def load_data(self):'}</s>{'name': 'init@common/utils.py', 'description': 'init test ', 'code': 'def init():\n """ init test """\n\n global db_file\n global db_path\n global export_path\n\n db_file =...
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 => ...
0
{'name': 'get_operand_registers@peachpy/x86_64/operand.py', 'description': 'Returns a set of registers that comprise the operand', 'signature': 'def get_operand_registers(operand):'}</s>qword = SizeSpecification(8)
0
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_182 = Badge("taco", series...
0
{'name': 'WSCTask.load_dataset@examples/roberta/wsc/wsc_task.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('}</s>{'name': 'numpy_seed@fairseq/data/data_utils.py', 'description': 'Context manager which seeds the N...
1
{'name': 'serve_content@gedgo/views/media.py', 'description': 'Generate a response to server protected content.', 'signature': 'def serve_content(storage, name):'}</s>GEDGO_SENDFILE_PREFIX = os.environ.get('GEDOG_SENDFILE_PREFIX', '/protected/')
1
{'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_PARTIALLY_CONVERTED = 2272
0
{'name': 'package@noxfile.py', 'description': 'Build source and wheel distributions.', 'signature': 'def package(session: nox.Session):'}</s>{'name': 'coverage@noxfile.py', 'description': 'Run tests, with coverage.', 'code': "def coverage(session: nox.Session):\n '''Run tests, with coverage.'''\n session.run('cov...
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'execute_and_aggregate_exclusive_ops@self_organising_systems/biomakerca/env_logic.py', 'description': 'Execute all exclusive functions and aggregate them all into a single\nExclusiveOp for each cell.\n\nThis function constructs sanitized interfaces for the input excl_fs and \nagent_excl_f, making sure that no ...
0
{'name': 'ConvAE.initialization_AE@avgn/network/convnet_model.py', 'description': 'Initializes the network architecture of an autoencoder by\n1) running inputs through the network architecture\n2) calculating the losses for the architecture\n3) applying the losses to different parts of the network\n4) Creating a list o...
1
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
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': 'subdict@config/util.py', 'description': 'Extract only the given keys from a dictionary. If they keys are not present, they are not defaulted. ', 'signature': 'def subdict(whole_dict, keys, invert=False):'}</s>{'name': 'path_ancestors@config/util.py', 'description': 'Yield all directories that are ancestors 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_SUB_JOIN_NOT_ALTERABLE = 29440
0
{'name': 'lift_job@maf/impl/naiveLiftUp.py', 'description': "Lift this genome's blocks file to another genome.", 'signature': 'def lift_job(job, up_or_down, genome, other_genome, blocks_id, hal_id, opts):'}</s>{'name': 'test_maximize_gapless_alignment_length@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code':...
0
{'name': 'MeasurementPreset.addSegmentedLeafletMeasurements@ValveQuantification/ValveQuantificationLib/MeasurementPreset.py', 'description': 'Add leaflet measurements for all leaflets\n:param valveModel:\n:param planePosition: center of the valve, used for tilting the leaflet extraction surface normal\n:param planeNorm...
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': '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': 'http_list@icesat2_toolkit/utilities.py', 'description': "List a directory on an Apache http Server\n\nParameters\n----------\nHOST: str or list\n remote http host path\ntimeout: int or NoneType, default None\n timeout in seconds for blocking operations\ncontext: obj, default ssl.SSLContext(ssl.PROTOCOL_...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'Contains@voluptuous/validators.py', 'description': "Validate that the given schema element is in the sequence being validated.\n\n>>> s = Contains(1)\n>>> s([3, 2, 1])\n[3, 2, ...
0
{'name': '_wrap@dill/source.py', 'description': "encapsulate a function and it's __import__ ", 'signature': 'def _wrap(f):'}</s>{'name': 'getimport@dill/source.py', 'description': 'get the likely import string for the given object\n\nobj is the object to inspect\nIf verify=True, then test the import string before retur...
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': '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': 'test_with_users_and_all_pages@src/tests/commands/test_users.py', 'description': 'When all_pageas applied there is user returned API ', 'signature': 'def test_with_users_and_all_pages(capsys):'}</s>{'name': 'test_no_users@src/tests/commands/test_users.py', 'description': 'When there is no user profile found by...
0
{'name': 'test_error_messages_interface@tests/test_fields.py', 'description': '`errors.messages()` should return a list of Message instances.', 'signature': 'def test_error_messages_interface():'}</s>{'name': 'UUID@typesystem/fields.py', 'description': 'DOCSTRING', 'base_classes': ['String'], 'methods': [{'name': 'UUID...
0