text
string
label
int64
{'name': 'do_enable_pretty_printer@processors/ARM/gdb-8.3.1/gdb/python/lib/gdb/command/pretty_printers.py', 'description': 'Internal worker for enabling/disabling pretty-printers.', 'signature': 'def do_enable_pretty_printer (arg, flag):'}</s>{'name': 'register_pretty_printer_commands@processors/ARM/gdb-8.3.1/gdb/pytho...
0
{'name': 'Analyzer.get_abstract0@tf_verify/analyzer.py', 'description': 'processes self.ir_list and returns the resulting abstract element', 'signature': 'def get_abstract0(self):'}</s>{'name': 'layers@tf_verify/analyzer.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'layers.__init__@tf_verif...
0
{'name': 'scnym_predict@scnym/api.py', 'description': 'Predict cell identities using an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone. Adds `adata.obs[config["key_ad...
0
{'name': 'disabled_train@ldm/models/diffusion/ddpm.py', 'description': 'Overwrite model.train with this function to make sure train/eval mode\ndoes not change anymore.', 'signature': 'def disabled_train(self, mode=True):'}</s>{'name': 'exists@ldm/util.py', 'description': 'DOCSTRING', 'code': 'def exists(x):\n return...
0
{'name': 'SemisupervisedTranslationTask.load_dataset@fairseq/tasks/semisupervised_translation.py', 'description': 'Load a dataset split.', 'signature': 'def load_dataset(self, split, epoch=1, **kwargs):'}</s>{'name': 'multi_tensor_total_norm@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def multi_tensor_total...
0
{'name': 'create_eval_input_fn@object_detection/inputs.py', 'description': 'Creates an eval `input` function for `Estimator`.\n\nArgs:\n eval_config: An eval_pb2.EvalConfig.\n eval_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator` in ...
0
{'name': 'MetarTest.test_030_parseTime_legal@test/test_metar.py', 'description': 'Check parsing of the time stamp.', 'signature': 'def test_030_parseTime_legal(self):'}</s>STATION_RE = re.compile(r"^(?P<station>[A-Z][A-Z0-9]{3})\s+")
0
{'name': 'HyperFrameRecord.add_frames@disdat/hyperframe.py', 'description': "Add frames to the PB. If UUID, just add the UUID. If a FrameRecord,\nthen add both the UUID in the pb.frames map and the FrameRecord in the frame_cache.\n\nArgs:\n frames (:list:'FrameRecord' or :list:tuple:str,str): List of Frames to app...
0
{'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...
0
{'name': 'smimeplus.verify@contrib/smimeplus.py', 'description': "Verify to see if 'smsg' was signed by 'scert', and scert was\nissued by cacert of this object. Return message signed if success,\nNone otherwise", 'signature': 'def verify(self, smsg, scert):'}</s>log = logging.getLogger(__name__)
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': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_SCHEDULES = "schedules"
1
{'name': 'create_users@app/commands/init_db.py', 'description': 'Create users ', 'signature': 'def create_users():'}</s>{'name': 'init_db@app/commands/init_db.py', 'description': 'Initialize the database.', 'code': 'def init_db():\n """ Initialize the database."""\n db.drop_all()\n db.create_all()\n create_...
0
{'name': 'typecasted@clashroyale/official_api/utils.py', 'description': 'Decorator that converts arguments via annotations.', 'signature': 'def typecasted(func):'}</s>{'name': 'to_camel_case@clashroyale/official_api/utils.py', 'description': 'DOCSTRING', 'code': 'def to_camel_case(snake):\n parts = snake.split(\'_\'...
0
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJ_tmSYSTIMERLOW = 10
0
{'name': 'test_static_named_route@tests/unit/test_cors_config.py', 'description': 'Test adding dynamic named route.', 'signature': 'def test_static_named_route(app, cors):'}</s>{'name': 'test_dynamic_named_route@tests/unit/test_cors_config.py', 'description': 'Test adding dynamic named route.', 'code': 'def test_dynami...
0
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>use_client_log = _get_value(_extconf,'Path','use_client_log', True, 'boolean')
0
{'name': 'PytestAsyncioFunction._can_substitute@pytest_asyncio/plugin.py', 'description': 'Returns whether the specified function can be replaced by this class', 'signature': 'def _can_substitute(item: Function) -> bool:'}</s>{'name': 'AsyncStaticMethod@pytest_asyncio/plugin.py', 'description': 'Pytest item that is a c...
0
{'name': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will push the rdf type to the\nconstraint candidate and there will be no positive or negative path in the query.\n\n'path_id': [u'+25212']", 'signature': 'def qald_run(test = T...
0
{'name': 'CertificateListView.get_queryset@api/views.py', 'description': 'This view should return a list of all the certificates\nfor the currently authenticated user.', 'signature': 'def get_queryset(self):'}</s>{'name': 'CertificateInstanceView@api/views.py', 'description': 'DOCSTRING', 'base_classes': ['RetrieveDest...
0
{'name': 'ptmalloc.request2size@libheap/ptmalloc/ptmalloc.py', 'description': 'pad request bytes into a usable size', 'signature': 'def request2size(self, req):'}</s>{'name': 'malloc_chunk@libheap/ptmalloc/malloc_chunk.py', 'description': 'python representation of a struct malloc_chunk', 'base_classes': [], 'methods': ...
0
{'name': 'HindcastEnsemble.plot_alignment@src/climpred/classes.py', 'description': 'Plot ``initialized`` ``valid_time`` where matching ``verification`` ``time``.\n\nDepends on ``alignment``. Plots ``days since reference date`` controlled by\n``date2num_units``. ``NaN`` / white space shows where no verification is done....
0
{'name': 'search@ytmdl/core.py', 'description': 'Search the song on YouTube, ask the user for an input and accordingly\nreturn a selected song.\n\nThe song can be extracted either from an URL or the name. If the name is\npresent, we will search on YouTube for the name, ask the user for a choice\nand accordingly return ...
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>BREAKPOINT_HIT_ONCE = "Br...
0
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'get_current_date@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def get_current_date(date_format="%Y-%m-%d %H:%M:%S"):\n return datetime.datetime.now().strftime(date_format)'}
0
{'name': 'TrainCtx._on_backward@persia/ctx.py', 'description': "Update the embeddings' gradients\n\nArguments:\n loss_scale (float): the loss that scaled by GradScalar, loss_scale always equal\n to 1 for cpu training scenes.\n embedding_gradient_check_frequency (int): the frequency to check gradient finite...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIIH_REPLY_FORMAT_NONE = 8
0
{'name': 'test_default_values_when_not_played@tests/test_stats.py', 'description': 'One card of type LongTimespan; "" and 1970 are Uplay defaults when game was not played', 'signature': 'def test_default_values_when_not_played():'}</s>{'name': 'test_playtime_assasin3_remastered@tests/test_stats.py', 'description': 'DOC...
0
{'name': 'RIPPER._optimize_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Optimization phase.', 'signature': 'def _optimize_ruleset_cn('}</s>{'name': '_upgrade_bin_transformer_ifdepr@wittgenstein/preprocess.py', 'description': 'DOCSTRING', 'code': 'def _upgrade_bin_transformer_ifdepr(obj):\n old_bin_t...
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>__author__ = "kenton@google.com (Kenton Varda)"
0
{'name': 'TestFillingCustomFields.test_uses_generator_function_for_custom_foreignkey@tests/test_filling_fields.py', 'description': 'Should use the generator function passed as a value for the add method', 'signature': 'def test_uses_generator_function_for_custom_foreignkey(self, custom_cfg):'}</s>{'name': 'UnsupportedM...
0
{'name': 'ClientApplication.parse_response_challenge@xled/auth.py', 'description': "Modifies prepared request so challenge can be sent to login\n\n:param: requests.PreparedRequest response prepared request\n:return: Modified prepared request\n:rtype: requests.PreparedRequest\n:raises AuthenticationError: if application...
0
{'name': 'watch_dev@jupyterlab/commands.py', 'description': 'Run watch mode in a given directory.\n\nParameters\n----------\nlogger: :class:`~logger.Logger`, optional\n The logger instance.\n\nReturns\n-------\nA list of `WatchHelper` objects.', 'signature': 'def watch_dev(logger=None):'}</s>{'name': '_rmtree_star@j...
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': 'AbstractResolver.load_locations@carmen/resolver.py', 'description': 'Load locations into this resolver from the given\n*location_file*, which should contain one JSON object per line\nrepresenting a location. If *location_file* is not specified,\nan internal location database is used.', 'signature': 'def load...
0
{'name': 'skew@pymeteo/skewt.py', 'description': 'Puts the skew in skew-T\n\n:parameter p: pressure level of the point.\n\nThis calculates the skew of the T axis for a point to plot. \nThis assumes a logarithmic y axes and uses the variable\n:py:data:skew_angle to determine the skew. This is the \nmagic that turns a ...
0
{'name': 'main@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Create the configuration module module.\n ', 'signature': 'def main():'}</s>{'name': 'run_command@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Run a command and display the output if verbose mode is enabled.\n...
0
{'name': 'SEOBackendBase.update_url@django_seo_js/backends/base.py', 'description': 'Force an update of the cache for a particular URL.\nReturns True on success, False on fail.', 'signature': 'def update_url(self, url):'}</s>IGNORE_URLS = frozenset(getattr(django_settings, 'SEO_JS_IGNORE_URLS', ['/sitemap.xml']))
0
{'name': 'Client.timeit_task@aiodogstatsd/client.py', 'description': 'Creates a task and returns it, adds a done callback for sending time metric when\ndone and if exceeds threshold.', 'signature': 'def timeit_task('}</s>{'name': 'build@aiodogstatsd/protocol.py', 'description': 'DOCSTRING', 'code': 'def build(\n *,\...
0
{'name': 'Context.log@blogger_cli/cli.py', 'description': 'Logs a message to stderr.', 'signature': 'def log(self, msg, *args):'}</s>cmd_folder = os.path.abspath(os.path.join(os.path.dirname(__file__), "commands"))
0
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi...
0
{'name': 'CheckForNonConstReference@tools/caffe-sphereface/scripts/cpp_lint.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 in...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'QueryXpathCommand.cache_context_nodes@xpath.py', 'description': 'Cache context nodes to allow live mode to work with them.', 'signature': 'def cache_context_nodes(self):'}</s>html_cleaning_answer = {}
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': '_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': 'update_graphics@rts/visualization/rts_pygame.py', 'description': 'Executes game tick on canvas, redrawing whole game state. Values here are somewhat hardcoded, which can be changed to display game in some nicer config.\nBoard size 8x8 is working best with this config, 6x6 might work as well, but other might n...
1
{'name': 'acquire_global_lock@src/supporting-files/lock_util.py', 'description': 'Acquire a \'global\' lock (across all instances) for the given key.\n\nThis is technically a \'lease\' rather than a \'lock\' because it can\ntime out. The timeout should be the maximum length of a request,\nwhich is 60 seconds for norma...
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_appobj_distan...
0
{'name': 'BitBoxCommonAPI.get_info@py/bitbox02/bitbox02/communication/bitbox_api_protocol.py', 'description': 'Returns (version, platform, edition, unlocked, initialized).\nThis is useful to get the version of the firmware or the device unlocked/initialized status\nwhen a usb descriptor is not available (via BitBoxBrid...
0
{'name': 'create_app@app/__init__.py', 'description': 'Create an application context with blueprints.', 'signature': 'def create_app(debug=False):'}</s>logger = logging.getLogger(APP_NAME)
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': 'bottleneck@libs/networks/slim_nets/resnet_v2.py', 'description': "Bottleneck residual unit variant with BN before convolutions.\n\nThis is the full preactivation residual unit variant proposed in [2]. See\nFig. 1(b) of [2] for its definition. Note that we use here the bottleneck\nvariant which has an extra bo...
1
{'name': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>PSEUDO_SPECIAL = { ':dir', ':lang', ':nth-child', ':nth-last-child', ':nth-last-of-type', '...
0
{'name': 'BloomFilter.bloom@probables/blooms/bloom.py', 'description': 'list(int): The bit/int array', 'signature': 'def bloom(self) -> array:'}</s>SimpleBloomT = Union["BloomFilter", "BloomFilterOnDisk"]
0
{'name': 'waveshow@librosa/display.py', 'description': 'Visualize a waveform in the time domain.\n\nThis function constructs a plot which adaptively switches between a raw\nsamples-based view of the signal (`matplotlib.pyplot.step`) and an\namplitude-envelope view of the signal (`matplotlib.pyplot.fill_between`)\ndepen...
0
{'name': 'euler_from_quaternion@utils/transformations.py', 'description': 'Return Euler angles from quaternion for specified axis sequence.\n\n>>> angles = euler_from_quaternion([0.99810947, 0.06146124, 0, 0])\n>>> numpy.allclose(angles, [0.123, 0, 0])\nTrue', 'signature': "def euler_from_quaternion(quaternion, axes='s...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMEDIMGSCHED_AUTO = 1
0
{'name': 'DocumentPointer.extract@src/jsonspec/pointer/bases.py', 'description': 'Extract subelement from obj, according to pointer.\nIt assums that document is the object.\n\n:param obj: the object source\n:param bypass_ref: disable JSON Reference errors', 'signature': 'def extract(self, obj, bypass_ref=False):'}</s>{...
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': 'test_topic@tests/unit/test_unpack.py', 'description': 'TOPIC command ', 'signature': 'def test_topic():'}</s>{'name': 'test_info_commands@tests/unit/test_unpack.py', 'description': '*info + message commands ', 'code': 'def test_info_commands():\n """ *info + message commands """\n cmds = ["RPL_MYINFO", ...
0
{'name': 'Rules.load@oslo_policy/policy.py', 'description': 'Allow loading of YAML/JSON rule data.\n\n.. versionadded:: 1.5.0', 'signature': 'def load(cls, data, default_rule=None):'}</s>_options = [ cfg.BoolOpt('enforce_scope', default=True, deprecated_for_removal=True, ...
0
{'name': 'torch_exp_map@scratch/learning_util.py', 'description': 'Exp map for the vector v lying on the tangent space T_xM to \nthe point x in the manifold M.', 'signature': 'def torch_exp_map(x, v, c=1):'}</s>{'name': 'torch_log_map_x@scratch/learning_util.py', 'description': 'DOCSTRING', 'code': 'def torch_log_map_x...
0
{'name': 'position_encoding_init@deepvoice3_pytorch/modules.py', 'description': 'Init the sinusoid position encoding table ', 'signature': 'def position_encoding_init(n_position, d_pos_vec, position_rate=1.0,'}</s>{'name': 'Conv1d@deepvoice3_pytorch/modules.py', 'description': 'DOCSTRING', 'code': 'def Conv1d(in_channe...
0
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>{'name': 'isdouble@venv/Li...
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'interval_offset...
0
{'name': 'encode_data@src/move/tasks/encode_data.py', 'description': 'Encodes categorical and continuous datasets specified in configuration.\nCategorical data is one-hot encoded, whereas continuous data is z-score\nnormalized.\n\nArgs:\n config: data configuration', 'signature': 'def encode_data(config: DataConfig)...
0
{'name': 'DECIMER_Predictor.__call__@DECIMER/Repack_model.py', 'description': 'This function takes in the Decoded image as input and makes the\npredicted list of tokens and return the tokens as tf.Tensor array.\nBefore feeding the input array we must define start and the end tokens.\n\nArgs:\n Decoded_image (tf.Tens...
1
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>wallet_scan_3 = "votre portefeuille."
0
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou...
0
{'name': 'indigenous_peoples_day@src/convertdate/holidays.py', 'description': 'Celebrated on the second Monday in October in the United States.', 'signature': "def indigenous_peoples_day(year, country='usa'):"}</s>{'name': 'to_jd@src/convertdate/islamic.py', 'description': 'Determine Julian day count from Islamic date'...
0
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>FORMAT_UINT32_LITTLE_ENDIAN = "<I"
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXT_CLUSTER_WORKLOAD_EXIT = 20
0
{'name': 'convert_sqlalchemy_hybrid_property_bare_str@graphene_sqlalchemy/converter.py', 'description': 'Convert Bare String into a ForwardRef', 'signature': 'def convert_sqlalchemy_hybrid_property_bare_str(type_arg: str, **kwargs):'}</s>{'name': 'convert_sqlalchemy_type@graphene_sqlalchemy/converter.py', 'description'...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQZID_SET_AUTHORITY = 5
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': 'ICFIDMetric.__init__@metrics/intra_class_fid.py', 'description': 'Initializes the class with number of real/fakes samples for ICFID.\n\nArgs:\n interested_classes: A list of interested classes. If left empty, all\n available classes will be treated as interested. (default: None)\n real_num_per_cl...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>list_ow_modes = list(dict_ow_modes.keys())
0
{'name': 'get_insns@riscvmodel/isa.py', 'description': 'Get all Instructions. This is based on all known subclasses of `cls`. If non\nis given, all Instructions are returned. Only such instructions are returned\nthat can be generated, i.e., that have a mnemonic, opcode, etc. So other\nclasses in the hierarchy are not m...
0
{'name': 'TestbookNotebookClient.execute_cell@testbook/client.py', 'description': 'Executes a cell or list of cells', 'signature': 'def execute_cell(self, cell, **kwargs) -> Union[Dict, List[Dict]]:'}</s>{'name': 'TestbookNotebookClient@testbook/client.py', 'description': 'DOCSTRING', 'base_classes': ['NotebookClient']...
1
{'name': 'Canvas.mouseMoveEvent@libs/canvas.py', 'description': 'Update line with last point and current coordinates.', 'signature': 'def mouseMoveEvent(self, ev):'}</s>{'name': 'Shape@libs/shape.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Shape.__init__@libs/shape.py', 'descripti...
1
{'name': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>_CLASS_UNIQUE = 32768
0
{'name': 'run_model_on_ep@onnxruntime/python/tools/tensorrt/perf/benchmark.py', 'description': 'Benchmarks and/or validates the given model on the given EP.\n\n:param args: The command-line arguments to this script.\n:param model_name: The name of the model to run.\n:param model_info: A dictionary that contains paths t...
0
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>import_find_test_24_def = " def import_find_test_24(libname, details=1, verb=1): # return loaded library or None (on fail...
0
{'name': 'load@source-builder/sb/options.py', 'description': 'Copy the defaults, get the host specific values and merge them overriding\nany matching defaults, then create an options object to handle the command\nline merging in any command line overrides. Finally post process the\ncommand line.', 'signature': "def loa...
0
{'name': '_IsType@tools/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stack of nested blocks bei...
0
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'test_update_thread@tests/unit/test_tui_reporter.py', 'description': 'Test that our update thread posts the expected messages to our app.', 'signature': 'def test_update_thread(native_traces):'}</s>{'name': 'test_tui_pause@tests/unit/test_tui_reporter.py', 'description': 'DOCSTRING', 'code': 'def test_tui_paus...
0
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'skipUnlessPlatform@tools/lldb/packages/Python/lldbsuite/t...
0
{'name': 'render_newline@lookatme/render/markdown_block.py', 'description': 'Render a newline\n\nSee :any:`lookatme.tui.SlideRenderer.do_render` for argument and return\nvalue descriptions.', 'signature': 'def render_newline(token, body, stack, loop):'}</s>{'name': 'render_hrule@lookatme/render/markdown_block.py', 'des...
0
{'name': 'MPDense.setup@mplp/mplp/tf_layers.py', 'description': 'This has to be called either at __init__ time, or by a constructor,\nbefore the layer can be used.', 'signature': 'def setup(self, in_dim, message_size, shared_params=None):'}</s>{'name': 'RepeatInputs@mplp/mplp/core.py', 'description': 'DOCSTRING', 'base...
1
{'name': 'suggest_name_as_special_case@didyoumean/didyoumean_internal.py', 'description': 'Suggest that name could be handled in a special way.', 'signature': 'def suggest_name_as_special_case(name):'}</s>{'name': 'suggest_zero_len_field@didyoumean/didyoumean_internal.py', 'description': 'Get suggestions in case of ZER...
0
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_func_call@language-bindings/python/src/wamr/wasmcapi/binding.py...
0
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'set_torch_seed@fairseq/utils.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'set_torch_seed.__init__@fairseq/utils.py', 'descrip...
0
{'name': 'BIP9SoftForksTest.csv_invalidate@test/functional/feature_bip9_softforks.py', 'description': 'Modify the signature in vin 0 of the tx to fail CSV\nPrepends -1 CSV DROP in the scriptSig itself.', 'signature': 'def csv_invalidate(self, tx):'}</s>{'name': 'assert_is_hex_string@test/functional/test_framework/util....
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMDL_LEVEL_711 = 711
0
{'name': 'device_added@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is added or updated', 'signature': 'def device_added(notification):'}</s>{'name': 'get_default_baudrate@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Return the baud rate that interface is running at, or exit i...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQTA_SUB_INHIBITED = 1
0
{'name': 'sample_components@products/curv.py', 'description': 'Sample dot products of tangent vectors ', 'signature': 'def sample_components(n1=5, n2=5):'}</s>{'name': 'draw_points_on_circle@utils/vis.py', 'description': 'DOCSTRING', 'code': 'def draw_points_on_circle(a, node, ax):\n ax.plot(a[0], a[1], "o", markers...
0