text
string
label
int64
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>nocoin_screen_2 = "Veuillez ajouter"
0
{'name': 'build_rpn_targets@driving/maskModel.py', 'description': 'Given the anchors and GT boxes, compute overlaps and identify positive\nanchors and deltas to refine them to match their corresponding GT boxes.\n\nanchors: [num_anchors, (y1, x1, y2, x2)]\ngt_class_ids: [num_gt_boxes] Integer class IDs.\ngt_boxes: [num...
0
{'name': 'update_network_info@core/networking.py', 'description': 'Updates the network info in global_state.', 'signature': 'def update_network_info():'}</s>DATA_DONATION_URL = INSPECTOR_DATA_DONATION_SERVER + '/donate_data'
0
{'name': 'Section.__setitem__@BlDevCube/lib.bflb_configobj.pyc.py', 'description': "Correctly set a value.\n\nMaking dictionary values Section instances.\n(We have to special case 'Section' instances - which are also dicts)\n\nKeys must be strings.\nValues need only be strings (or lists of strings) if\n``main.stringify...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQOT_SAVED_CHANNEL = 1012
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'GlibcHeapInfo@gef.py', 'description': 'Glibc heap_info struct', 'base_cl...
0
{'name': 'MHLHistory.load_from_path@ascmhl/history.py', 'description': 'finds all MHL files in the asc-mhl folder, returns the mhl_history instance with all mhl_hashlists', 'signature': 'def load_from_path(cls, root_path):'}</s>{'name': '_write_xml_string_to_file@ascmhl/hashlist_xml_parser.py', 'description': 'DOCSTRIN...
0
{'name': 'test_am_replacer_titleandhdrs_invalid@sphinx_automodapi/tests/test_automodapi.py', 'description': 'Tests replacing an ".. automodapi::" entry with title-setting and header\ncharacter options.', 'signature': 'def test_am_replacer_titleandhdrs_invalid(tmpdir, capsys):'}</s>{'name': 'test_am_replacer_nomain@sphi...
0
{'name': 'test_born_gradcheck_2d_big@tests/test_scalar_born.py', 'description': 'Test gradcheck with a big model.', 'signature': 'def test_born_gradcheck_2d_big():'}</s>{'name': 'test_born_gradcheck_only_wavefield_0_2d@tests/test_scalar_born.py', 'description': 'Test gradcheck with only wavefield_0 requiring gradient.'...
0
{'name': 'load_tf_weights_in_bert@purifier/modeling_purifier.py', 'description': 'Load tf checkpoints in a pytorch model\n ', 'signature': 'def load_tf_weights_in_bert(model, tf_checkpoint_path):'}</s>{'name': 'BertLayer@purifier/modeling_purifier.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'meth...
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_current_error@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the error result from the previous failed API method.\n\nArgs:\n expect: Return a default error message if none is found', 'signature': 'def get_current_error(expect: bool = False) -> VdrError:'}</s>{'name': '_create_callback@wrap...
0
{'name': 'quantize_pact@nemo/transform.py', 'description': "Takes a PyTorch module and makes it quantization-aware with PACT, recursively.\n\nThe function follows recursively the data structures containing PyTorch layers (typically as hierarchical lists, e.g.\nblock-level :py:class:`torch.nn.Sequential` for networks li...
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'get_map_func@src/api/python/z3/z3.py', 'de...
0
{'name': 'Beam.plot_analytical@indeterminatebeam/indeterminatebeam.py', 'description': 'Auxiliary function for plotting a sympy.Piecewise analytical\nfunction.\n\nParameters\n-----------\nfunc: str\n String representing function to query:\n \'nf\' if normal force.\n \'sf\' if shear force.\n \'bm...
0
{'name': 'Sun.update_as_of@custom_components/sun/__init__.py', 'description': 'Update the attributes containing solar events.', 'signature': 'def update_as_of(self, utc_point_in_time):'}</s>ENTITY_ID = "sun.sun"
0
{'name': 'get_address_list@src/future/backports/email/_header_value_parser.py', 'description': 'address_list = (address *("," address)) / obs-addr-list\n obs-addr-list = *([CFWS] ",") address *("," [address / CFWS])\n\nWe depart from the formal grammar here by continuing to parse until the end\nof the input, assumin...
0
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>{'name': 'to_secs@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Convert the supplied time to ...
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': 'get_selected_function@Data/rda.ucar/rdams_client.py', 'description': 'Returns correct function based on options.\nArgs:\n options (dict) : Command with options.\n\nReturns:\n (function): function that the options specified', 'signature': 'def get_selected_function(args_dict):'}</s>{'name': 'write_token_...
0
{'name': 'prepare_backend@scratch/converters/modules/model_zoo/getter.py', 'description': "Check if ONNX, MXNet and TensorRT models exist and download/create them otherwise.\n\n:param model_name: Name of required model. Must be one of keys in `models` dict.\n:param backend_name: Name of inference backend. (onnx, trt)\n...
0
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'sub@example/example_command.py', 'description': 'A sub group', 'signature': 'def sub():'}</s>{'name': 'add_external_command@example/example_command.py', 'description': 'Shows an example of how to add external click commands from other modules', 'code': 'def add_external_command(USE_MULTI_COMMAND=False):\n ...
0
{'name': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >...
0
{'name': 'main@tools/pydfu.py', 'description': 'Test program for verifying this files functionality.', 'signature': 'def main():'}</s>__DFU_STATE_DFU_DOWNLOAD_SYNC = 3
0
{'name': 'db2file@django_yubin/storage_backends.py', 'description': 'Migrate emails from DatabaseStorageBackend to FileStorageBackend.', 'signature': 'def db2file():'}</s>MAILER_STORAGE_BACKEND = getattr( settings, "MAILER_STORAGE_BACKEND", "django_yubin.storage_backends.DatabaseStorageBackend", )
1
{'name': 'as_model@hy/models.py', 'description': "Convert ``x`` and any elements thereof into :ref:`models <models>`\nrecursively. This function is called implicitly by Hy in many situations,\nsuch as when inserting the expansion of a macro into the surrounding code,\nso you don't often need to call it. One use is to e...
0
{'name': '_typedef@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Create a new typedef for an object.\n ', 'signature': 'def _typedef(obj, derive=False, infer=False):'}</s>_i = _intern
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>{'name': 'get_symbol_name...
0
{'name': '_export_region@contrib/xml/xmlio.py', 'description': '@return:\n `None` (if `parent` is not `None`), or\n an xml tree', 'signature': 'def _export_region('}</s>N_CHEBXC = "chebXc"
1
{'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': 'markerReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF report visualising the discovered cluster markers', 'signature': 'def markerReport(infile, outfile):'}</s>{'name': 'scvelo@pipelines/pipeline_scxl.py', 'description': 'Plot the RNA velocity.\nThis analysis is highly parameterised and diff...
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': 'PVPCData.__init__@aiopvpc/pvpc_data.py', 'description': 'Set up API access.', 'signature': 'def __init__('}</s>{'name': 'EsiosApiData@aiopvpc/const.py', 'description': 'Data schema to store multiple series from ESIOS API.', 'base_classes': [], 'methods': []}
0
{'name': 'NVMeOFConnectorTestCase.test_extend_volume_unreplicated_nvme_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'nvme command fails, so it rescans, waits, and reads size.', 'signature': 'def test_extend_volume_unreplicated_nvme_fails('}</s>PORT = "target_port"
0
{'name': 'takeMiniTimelapse@source/pi-timolo.py', 'description': 'Take a motion tracking activated mini timelapse sequence\nusing yield if motion triggered', 'signature': 'def takeMiniTimelapse(moPath, prefix, NumOn, motionNumCount, currentDayMode, NumPath):'}</s>{'name': 'showDots@source/pi-timolo.py', 'description': ...
0
{'name': 'add_message@k8s_snapshots/logconf.py', 'description': "Creates a ``message`` value based on the ``hint`` and ``key_hint`` keys.\n\n``key_hint`` : ``Optional[str]``\n a '.'-separated path of dictionary keys.\n\n``hint`` : ``Optional[str]``\n will be formatted using ``.format(**event_dict)``.", 'signature...
0
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'get_spectrum_AB_mags@grizli/utils.py', 'description': "Integrate a `~pysynphot` spectrum through filter bandpasses\n\nPara...
0
{'name': 'disable_logging@src/jsonspec/cli.py', 'description': 'Temporary disable logging.', 'signature': 'def disable_logging(func):'}</s>{'name': 'indentation_arguments@src/jsonspec/cli.py', 'description': 'DOCSTRING', 'code': 'def indentation_arguments(parser):\n parser.add_argument(\n "--indent", type=int...
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._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': 'kallisto_bus@kb_python/count.py', 'description': 'Runs `kallisto bus`.\n\nArgs:\n fastqs: List of FASTQ file paths, or a single path to a batch file\n index_path: Path to kallisto index\n technology: Single-cell technology used\n out_dir: Path to output directory\n threads: Number of threads to...
1
{'name': 'countedArray@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': "Helper to define a counted list of expressions.\n\nThis helper defines a pattern of the form::\n\n integer expr expr expr...\n\nwhere the leading integer tells how many expr expressions follow.\nThe matched ...
0
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_SIZE = CScriptOp(0x82)
0
{'name': 'LandingPages.__init__@mailchimp3/entities/landingpages.py', 'description': 'Initialize the endpoint', 'signature': 'def __init__(self, *args, **kwargs):'}</s>{'name': 'LandingPages@mailchimp3/entities/landingpages.py', 'description': 'Manage your Landing Pages, including publishing and unpublishing.', 'base_c...
1
{'name': 'slip_encode_esc_chars@nordicsemi/dfu/util.py', 'description': 'Encode esc characters in a SLIP package.\n\nReplace 0xCO with 0xDBDC and 0xDB with 0xDBDD.\n\n :type str data_in: str to encode\n :return: str with encoded packet', 'signature': 'def slip_encode_esc_chars(data_in):'}</s>{'name': 'int16_to_bytes@n...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'on_expand_heat@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_expand_heat(data):\n if data and 'heat' in data:\n RaceContext.rhui.emit_e...
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>c_ClearFloatSigna...
0
{'name': 'hash_create@src/pinnwand/utility.py', 'description': 'Create a random string by taking `length` random bytes and encoding them\nas base32. This makes them URL-safe and uses discernable characters to\nreduce typos.', 'signature': 'def hash_create(length: int = 16) -> str:'}</s>Base = declarative_base(cls=_Base...
0
{'name': 'SymSpell.lookup_compound@symspellpy/symspellpy.py', 'description': '`lookup_compound` supports compound aware automatic spelling\ncorrection of multi-word input strings with three cases:\n\n1. mistakenly inserted space into a correct word led to two incorrect\n terms\n2. mistakenly omitted space between two...
0
{'name': 'display_result@onlinejudge_command/subcommand/test.py', 'description': 'display_result prints the result of the test and its statistics.\n\nThis function prints many logs and does some I/O.', 'signature': 'def display_result(proc: subprocess.Popen, answer: str, memory: Optional[float], test_input_path: pathli...
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': 'find_split_point@maf/impl/naiveLiftUp.py', 'description': 'Find the position at which blocks stop sharing ove...
0
{'name': '_is_one_hot_encoding@mcfly/find_architecture.py', 'description': 'Helper function that checks if a target complies with one-hot encoding.\n ', 'signature': 'def _is_one_hot_encoding(y):'}</s>{'name': '_get_shape_from_input@mcfly/find_architecture.py', 'description': 'DOCSTRING', 'code': "def _get_shape_fro...
0
{'name': '_start_sound_stream@jupylet/audio/device.py', 'description': 'Start the sound device output stream handler.', 'signature': 'def _start_sound_stream():'}</s>{'name': 'set_effects@jupylet/audio/device.py', 'description': 'DOCSTRING', 'code': 'def set_effects(*effects):\n\n global _effects\n\n if effects a...
0
{'name': 'mount_imagenet@train.py', 'description': 'Attaches EBS disks with imagenet data to each task of the job.', 'signature': 'def mount_imagenet(job: ncluster.aws_backend.Job):'}</s>{'name': 'get_nccl_params@train.py', 'description': 'DOCSTRING', 'code': 'def get_nccl_params(num_tasks, nproc_per_node):\n if num...
0
{'name': 'NodeRedEntity.update_config@custom_components/nodered/__init__.py', 'description': 'Update entity config.', 'signature': 'def update_config(self, msg):'}</s>CONF_CONFIG = "config"
1
{'name': 'KernelProfiler.get_kernel_profiler_mode@python/taichi/profiler/kernel_profiler.py', 'description': 'Get status of :class:`~taichi.profiler.kernel_profiler.KernelProfiler`.', 'signature': 'def get_kernel_profiler_mode(self):'}</s>{'name': 'get_default_kernel_profiler@python/taichi/profiler/kernel_profiler.py',...
0
{'name': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is...
0
{'name': '_recent@python/DisplayTests.py', 'description': 'Display brief summaries of recent builds of the given type.\n\nReturns a string representing part of a webpage.', 'signature': "def _recent(req, type='', start=0, n_per_page=30, **filters):"}</s>{'name': '_machine_name_aliases@python/DisplayTests.py', 'descript...
0
{'name': 'make_group_dict@ansible_extras/lookup_plugins/get_users.py', 'description': 'Create dictionary from group record.', 'signature': 'def make_group_dict(gid):'}</s>{'name': 'LookupModule@ansible_extras/lookup_plugins/get_users.py', 'description': 'DOCSTRING', 'base_classes': ['LookupBase'], 'methods': [{'name': ...
0
{'name': 'add_input_output_information_deeppoly@tf_verify/deeppoly_nodes.py', 'description': 'sets for an object the three fields:\n - self.output_length\n - self.input_names\n - self.output_name\nwhich will mainly be used by the Optimizer, but can also be used by the Nodes itself\n\nArguments\n---------\nself...
0
{'name': 'window@tests/conftest.py', 'description': 'Single blank window.', 'signature': 'def window() -> Generator[Window, None, None]:'}</s>{'name': 'stub_server@tests/conftest.py', 'description': 'StubServer instance.', 'code': 'def stub_server(server_socket: socket.socket) -> StubServer:\n """StubServer instance...
0
{'name': 'TemperatureModule.get_current_settings@pymetawear/modules/temperature.py', 'description': 'Get the current settings for this module.\n\n:return: Dict with the name of the currently active channel.', 'signature': 'def get_current_settings(self):'}</s>_CHANNEL_ID_TO_SOURCE_NAME = { -1: 'Invalid', 0: 'On...
1
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': 'deconvolve@rf/deconvolve.py', 'description': "Deconvolve one component of a stream from other components.\n\nThe deconvolutions are written to the data arrays of the stream. To keep\nthe original data use the copy method of Stream.\nThe stats dictionaries of the traces inside stream must have an 'onset'\nentr...
1
{'name': 'get_dims_with_index_levels@linopy/common.py', 'description': "Get the dimensions of a Dataset with their index levels.\n\nExample usage with a dataset that has:\n- regular dimension 'time'\n- multi-indexed dimension 'station' with levels ['country', 'city']\nThe output would be: ['time', 'station (country, ci...
0
{'name': 'denoiseCov@riskfolio/src/AuxFunctions.py', 'description': "Remove noise from cov by fixing random eigenvalues of their correlation\nmatrix. For more information see chapter 2 of :cite:`d-MLforAM`.\n\nParameters\n----------\ncov : DataFrame of shape (n_assets, n_assets)\n Covariance matrix, where n_assets i...
0
{'name': 'Printer.__init__@tools/hadb.py', 'description': 'Initialize printer.', 'signature': 'def __init__('}</s>{'name': 'event_factory@tools/hadb.py', 'description': 'Convert database row to Event object.', 'code': 'def event_factory(cur: sqlite3.Cursor, row: tuple) -> Event:\n """Convert database row to Event ob...
0
{'name': 'CWLApiBackend.wait_until_dag_validated@cwl_airflow/components/api/backend.py', 'description': 'Reads the md5 sum of the DAG python file to see whether it\nwas updated. Searches by md5 sum if exactly the same DAG\npython file has been already validated. If it was already\nvalidated raises exception in case of ...
0
{'name': 'is_address@eth_utils/address.py', 'description': 'Is the given string an address in any of the known formats?', 'signature': 'def is_address(value: Any) -> bool:'}</s>{'name': 'keccak@eth_utils/crypto.py', 'description': 'DOCSTRING', 'code': 'def keccak(\n primitive: Optional[Union[bytes, int, bool]] = Non...
0
{'name': 'parse_field@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan/util/reggen/gen_rtl.py', 'description': 'Convert OrderedDict field into Field class\n ', 'signature': 'def parse_field(obj, reg, nfields):'}</s>{'name': 'Reg@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan...
0
{'name': 'Gama.__init__@gama/gama.py', 'description': 'Parameters\n----------\nsearch_space: Dict\n Specifies available components and their valid hyperparameter settings.\n For more information, see :ref:`search_space_configuration`.\n\nscoring: str, Metric or Tuple\n Specifies the/all metric(s) to optimize t...
1
{'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': 'GetDefaultInterface@gmacpyutil/gmacpyutil/airport.py', 'description': 'Returns the default Wi-Fi interface.', 'signature': 'def GetDefaultInterface():'}</s>SSIDS = ['MegaWifi$WPA2E']
0
{'name': 'Schema.query_type@pygraphy/introspection.py', 'description': 'The type that query operations will be rooted at.', 'signature': 'def query_type(self) -> Type:'}</s>{'name': 'is_union@pygraphy/utils.py', 'description': 'Returns True if annotation is a typing.Union', 'code': 'def is_union(annotation):\n """Re...
0
{'name': '_network@kayobe/plugins/filter/networkd.py', 'description': 'Return a networkd network for an interface.\n\n:param context: a Jinja2 Context object.\n:param name: name of the network.\n:param inventory_hostname: Ansible inventory hostname.\n:param bridge: Name of a bridge into which the interface is plugged, ...
0
{'name': 'CheckStyle@ament_cpplint/ament_cpplint/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 co...
1
{'name': 'bind_gre_fmaps@bidskit/fmaps.py', 'description': 'GRE fieldmap binding\n\n:param gre_fmap_jsons:\n:param bold_jsons:\n:param t_bold:\n:param no_sessions: bool\n:param nii_ext: str\n:return:', 'signature': 'def bind_gre_fmaps(gre_fmap_jsons, bold_jsons, t_bold, no_sessions, nii_ext):'}</s>{'name': 'bids_filena...
0
{'name': 'misconception_model_2@classification/models/layers.py', 'description': 'A misconception tower.\n\nArgs:\n input: a tensor of size [batch_size, 1, width, depth].\n window_size: the width of the conv and pooling filters to apply.\n depth: the depth of the output tensor.\n levels: the height of the tower in ...
0
{'name': 'Initializer.init_module@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n m: Module', 'signature': 'def init_module(self, m):'}</s>{'name': 'Loss@src/Pix2Pix/Pix2Pix.py', 'description': 'This class implements different losses required to train the generators and discriminators of CycleGAN', 'base_cla...
0
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>OP_11 = CScriptOp(0x5b)
0
{'name': 'predict_to_file@examples/task_iflytek_adversarial_training.py', 'description': '输出预测结果到文件\n结果文件可以提交到 https://www.cluebenchmarks.com 评测。', 'signature': 'def predict_to_file(in_file, out_file):'}</s>maxlen = 128
1
{'name': 'DataContext.rebuild_db@disdat/data_context.py', 'description': "For this context, read in all pb's and rebuild tables.\nAll state is immutable.\n1.) Read in all HFrame PBs\n2.) Ensure that each HFrame PB is WEAKLY consistent -- file names corresponding to the\nframes are on disk (but we do not check their con...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQZID_TERM_USERID = 1
0
{'name': 'NormalMappedMaterial.shade@pyrt/material/normalmappedmaterial.py', 'description': 'Shade method: Texture\n\ntexture shader', 'signature': 'def shade(self, camera: Camera, ray: Ray, hitrecord: HitRecord, lights: list) -> Vec3:'}</s>{'name': 'PerspectiveCamera@pyrt/camera/perspectivecamera.py', 'description': '...
0
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'p16@gef.py', 'description': 'Pack one word respecting the current architecture endianness.', 'code': 'def p1...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>TCPS_SYN_RECEIVED = 3
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': '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': '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': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'fixture_mock_list_labels_paginated@tests/conftest.py', 'description': 'Mock requests for list labels with pagination.', 'signature': 'def fixture_mock_list_labels_paginated('}</s>ResponseLabel = Dict[str, Any]
1
{'name': 'ContainerVulViewSet.check_flag@vulfocus-api/dockerapi/views.py', 'description': '验证Flag是否正确\n:param request:\n:param pk:\n:return:', 'signature': 'def check_flag(self, request, pk=None):'}</s>{'name': 'check_images@vulfocus-api/tasks/tasks.py', 'description': '定期检测镜像状态', 'code': 'def check_images():\n """\...
0
{'name': 'SQLiteCache.close@tilemapbase/cache.py', 'description': 'Close the underlying database connection (for this thread).', 'signature': 'def close(self):'}</s>{'name': 'database_exists@tilemapbase/cache.py', 'description': 'Attempt to open the file as a SQLite database and see if there is a\ntable "cache". Retur...
0
{'name': 'w_slice@visualization_utils.py', 'description': 'n_shift and n_factor denote the shift and multiplication constant of the normal\nequivalent for the shift\nsym makes shift and normal symmetric', 'signature': 'def w_slice(shift, normal, shift_addend, shift_factor, normal_addend, normal_factor, sym=False, pos=F...
0
{'name': 'Expression.statement@da/compiler/dast.py', 'description': 'The first statement parent of this expression, if any.\n\n ', 'signature': 'def statement(self):'}</s>{'name': 'YieldStmt@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['SimpleStmt'], 'methods': [{'name': 'YieldStmt.__init__...
0
{'name': '_add_schema_to_global_schema_dictionary@inference_schema/schema_decorators.py', 'description': "function to add a generated schema for 'attr_name', to the function schema dict\n\n:param attr_name:\n:type attr_name: str\n:param schema:\n:type schema: dict\n:param user_func:\n:type user_func: function | Functio...
1
{'name': 'register@flask_security/views.py', 'description': 'View function which handles a registration request.', 'signature': 'def register():'}</s>{'name': 'send_reset_password_instructions@flask_security/recoverable.py', 'description': 'Sends the reset password instructions email for the specified user.\n\n:param u...
0
{'name': 'GenericAfipTypeManager.populate@django_afip/models.py', 'description': "Fetch and save data for this model from AFIP's WS.\n\nDirect usage of this method is discouraged, use\n:func:`~.models.load_metadata` instead.", 'signature': 'def populate(self, ticket: AuthTicket | None = None) -> None:'}</s>{'name': 'Ta...
0