text
string
label
int64
{'name': 'CustomMainWidget.runTheGame@src/gui/main_widget.py', 'description': 'Runs the game', 'signature': 'def runTheGame(self):'}</s>{'name': 'fixUserSettingsDuplicateBrackets@src/util/util.py', 'description': 'Fix invalid section names in user.settings', 'code': 'def fixUserSettingsDuplicateBrackets():\n \'\'\'F...
0
{'name': 'Teams.post@app/modules/teams/resources.py', 'description': 'Create a new team.', 'signature': 'def post(self, args):'}</s>{'name': 'Permission@app/modules/users/permissions/__init__.py', 'description': 'Declares classmethod to provide extended BaseQuery to model,\nwhich adds additional method get_or_403', 'ba...
0
{'name': 'Unit.has_equivalent@unyt/unit_object.py', 'description': "Check to see if this unit object as an equivalent unit in *equiv*.\n\nExample\n-------\n>>> from unyt import km\n>>> km.has_equivalent('spectral')\nTrue\n>>> km.has_equivalent('mass_energy')\nFalse", 'signature': 'def has_equivalent(self, equiv):'}</s>...
1
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/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 ...
0
{'name': 'plot_planar_average@macrodensity/plotting.py', 'description': 'Calculate planar and macroscopic averages of potential data from different\nfileconfigs like gulp, cube, and vasp.\n\nArgs:\n lattice_vector (float): Size (in A) of the repeating unit which is\n used to calculate the macroscopic average....
0
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>goldenkey_category = "/Game/Gear/_Shared/_Design/InventoryCategories/InventoryCategory_GoldenKey"
0
{'name': 'tag_copy@spatialmedia/mpeg/box.py', 'description': 'Copies a block of data from in_fh to out_fh.\n\nArgs:\n in_fh: file handle, source of uncached file contents.\n out_fh: file handle, destination for saved file.\n size: int, amount of data to copy.', 'signature': 'def tag_copy(in_fh, out_fh, size):'}</s>T...
0
{'name': 'INFO@lib/charliecloud.py', 'description': 'Note: Use print() for output; this function is for logging.', 'signature': 'def INFO(msg, hint=None, **kwargs):'}</s>{'name': 'Progress_Reader@lib/charliecloud.py', 'description': 'Wrapper around a binary file object to maintain a progress meter while\nreading.', 'ba...
0
{'name': 'volumeProcessingPipeline@dicom2stl/Dicom2STL.py', 'description': 'Apply a series of filters to the volume image', 'signature': 'def volumeProcessingPipeline('}</s>{'name': 'Dicom2STL@dicom2stl/Dicom2STL.py', 'description': 'The primary dicom2stl function', 'code': 'def Dicom2STL(args):\n """The primary dic...
0
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>ResetEvent = _stdcall_libraries['kernel32'].ResetEvent
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': 'keypoints_ui@Pose2Sim/synchronization.py', 'description': 'Step 1: Initializes the UI for selecting keypoints.\n\nThis function creates an interactive GUI for selecting keypoints. It displays\na human figure with selectable keypoints, allows users to toggle keypoint names,\nselect all or none, and confirm the...
0
{'name': 'main_sync@signac/__main__.py', 'description': 'Handle sync subcommand.', 'signature': 'def main_sync(args):'}</s>{'name': '_SchemaPathEvaluationError@signac/import_export.py', 'description': 'Raised for errors in schema path evaluation.', 'base_classes': ['RuntimeError'], 'methods': []}
0
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ...
0
{'name': 'localize@service.iptv.manager/resources/lib/kodiutils.py', 'description': 'Return the translated string from the .po language files, optionally translating variables', 'signature': 'def localize(string_id, **kwargs):'}</s>{'name': 'addon_id@service.iptv.manager/resources/lib/kodiutils.py', 'description': 'Cac...
0
{'name': 'print_tokens@araelectra/pretrain/pretrain_data.py', 'description': 'Pretty-print model inputs.', 'signature': 'def print_tokens(inputs: Inputs, inv_vocab, updates_mask=None):'}</s>{'name': 'whitespace_tokenize@araelectra/model/tokenization.py', 'description': 'Runs basic whitespace cleaning and splitting on a...
0
{'name': 'load_chained_operator@streaming/python/raystreaming/operator.py', 'description': 'Load chained operator from serialized operators and configs', 'signature': 'def load_chained_operator(chained_operator_bytes: bytes):'}</s>{'name': 'Function@streaming/python/raystreaming/function.py', 'description': 'The base i...
0
{'name': 'test_trino_query_response_headers@tests/unit/test_client.py', 'description': 'Validates that the `TrinoQuery.execute` function can take addtional headers\nthat are pass the the provided request instance post function call and it\nreturns a `TrinoResult` instance.', 'signature': 'def test_trino_query_response_...
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'HighlightListCommand@gef.py', 'description': 'Show the current highlight table with matches to colors.', 'base_classes': ['GenericCommand'], 'methods': ...
0
{'name': 'ApiMixIn.list@k8s/base.py', 'description': 'List all resources in given namespace', 'signature': 'def list(cls, namespace="default"):'}</s>{'name': 'WatchEvent@k8s/base.py', 'description': 'DOCSTRING', 'base_classes': ['WatchBaseEvent'], 'methods': [{'name': 'WatchEvent.__init__@k8s/base.py', 'description': '...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_REFRESH_SECURITY = 78
0
{'name': '_serialize_single@src/betterproto/__init__.py', 'description': 'Serializes a single field and value.', 'signature': 'def _serialize_single('}</s>{'name': 'load_fields@src/betterproto/__init__.py', 'description': 'DOCSTRING', 'code': 'def load_fields(stream: "SupportsRead[bytes]") -> Generator[ParsedField, Non...
0
{'name': 'SendMessage._change_name_workflow@py/send_message.py', 'description': 'Invoke change name workfow.', 'signature': 'def _change_name_workflow(self, name: Optional[str] = None) -> None:'}</s>RESPONSE_FAILURE = b'\x01'
0
{'name': '_walk@swagger_to/go_server.py', 'description': 'Walk the tree of nested type definitions as (nesting type definition, nested type definition).', 'signature': 'def _walk(typedef: Typedef, parent: Optional[Typedef] = None) -> Iterable[Tuple[Optional[Typedef], Typedef]]:'}</s>{'name': 'Arraydef@swagger_to/interm...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_CUR_Q_FILE_SIZE = 1437
0
{'name': 'StandardizeMol.__init__@PyBioMed/PyPretreat/PyPretreatMolutil.py', 'description': 'Initialize a Standardizer with optional custom parameters.\n\n:param normalizations: A list of Normalizations to apply (default: :data:`~molvs.normalize.NORMALIZATIONS`).\n:param acid_base_pairs: A list of AcidBasePairs for com...
0
{'name': 'Diagram.upgrade@discopy/hypergraph.py', 'description': 'Turn a :class:`frobenius.Diagram` into a :class:`hypergraph.Diagram`.\n\n>>> x, y = map(Ty, "xy")\n >>> back_n_forth = lambda d: Diagram.upgrade(d.downgrade())\n>>> for d in [spiders(0, 0, x),\n... spiders(2, 3, x),\n... spiders(1,...
1
{'name': '_populate_objective_func_block@lleaves/compiler/codegen/codegen.py', 'description': 'Takes the objective function specification and generates the code for it into the builder', 'signature': 'def _populate_objective_func_block('}</s>{'name': 'MissingType@lleaves/compiler/utils.py', 'description': 'Codes for at...
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': 'GarminClient._login@garminexport/garminclient.py', 'description': 'Logs in with the supplied account credentials.\nThe return value is a URL where the created authentication ticket can be claimed.\nFor example, "https://connect.garmin.com/modern?ticket=ST-2550833-30KdiEJ3jqvFzLNGi2C7-sso"\n\nThe response mess...
1
{'name': 'OSXBootstrapper.ensure_package_manager@python/mozboot/mozboot/osx.py', 'description': 'Search package mgr in sys.path, if none is found, prompt the user to install one.\nIf only one is found, use that one. If both are found, prompt the user to choose\none.', 'signature': 'def ensure_package_manager(self):'}</...
1
{'name': 'user@backend-tests/tests/test_aws_iotcore.py', 'description': 'Create Mender user and create an AWS IoT Core integration in iot-manager using the connection string.', 'signature': 'def user(clean_mongo) -> Optional[User]:'}</s>{'name': 'TestAWSIoTCoreDeviceLifecycle@backend-tests/tests/test_aws_iotcore.py', '...
0
{'name': 'get_discriminator@config/legacy.py', 'description': 'For a given module function, generate C++ code defining the discriminator struct. ', 'signature': 'def get_discriminator(variant_data, module_data):'}</s>{'name': 'cut@config/util.py', 'description': 'Split an iterable into a head and a tail. The head shoul...
0
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi...
0
{'name': 'sysinit@da/common.py', 'description': 'Initialize the DistAlgo system.\n\nThis function must be called before any DistAlgo code can run. Specifically,\nevery child process created under spawning semantics must call this function\nduring initialization.', 'signature': 'def sysinit():'}</s>log = logging.getLogg...
0
{'name': 'setup_platform@docker_monitor/sensor.py', 'description': 'Set up the Docker Sensor.', 'signature': 'def setup_platform(hass, config, add_entities, discovery_info=None):'}</s>CONTAINER_MONITOR_MEMORY_PERCENTAGE = "container_memory_percentage_usage"
0
{'name': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si...
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': 'setup_platform@docker_monitor/sensor.py', 'description': 'Set up the Docker Sensor.', 'signature': 'def setup_platform(hass, config, add_entities, discovery_info=None):'}</s>PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_HOST, default=DEFAULT_HOST): cv.string, vol.Optional(CONF_MONITORED...
0
{'name': 'Constraints.sanitize_infinities@linopy/constraints.py', 'description': 'Replace infinite values in the constraints with a large value.', 'signature': 'def sanitize_infinities(self) -> None:'}</s>{'name': 'LinearExpressionGroupby@linopy/expressions.py', 'description': 'GroupBy object specialized to grouping Li...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
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>MASK_FMV_X_D = 4293947519
0
{'name': 'rdheader@wfdb/io/record.py', 'description': "Read a WFDB header file and return a `Record` or `MultiRecord`\nobject with the record descriptors as attributes.\n\nParameters\n----------\nrecord_name : str\n The name of the WFDB record to be read, without any file\n extensions. If the argument contains an...
0
{'name': 'JobQueue._run_step_local@worker/bioqueue.py', 'description': 'Parameters\n----------\njob : Task\n Task object\nstdout_to : str\n\nstderr_to : str\n\n\nReturns\n-------', 'signature': 'def _run_step_local(self, job, stdout_to, stderr_to):'}</s>_JS_WRONG = -3
0
{'name': 'parse_wkt@emissionsapi/web.py', 'description': "Function wrapper replacing 'geoframe', 'country' and 'polygon' with a\nWKT polygon.\n\n:param f: Function to call\n:type f: Function\n:raises e: Possible exception of f\n:return: Result of f", 'signature': 'def parse_wkt(f):'}</s>{'name': 'get_country_wkt@emissi...
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': 'AdbDevice._clse@adb_shell/adb_device.py', 'description': "Send a ``b'CLSE'`` message and then read a ``b'CLSE'`` message.\n\n.. warning::\n\n This is not to be confused with the :meth:`AdbDevice.close` method!\n\n\nParameters\n----------\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB tr...
0
{'name': 'follow_device@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Follow the selected device', 'signature': 'def follow_device(sniffer, device):'}</s>{'name': 'Uart@tools/ble_sniffer/extcap/SnifferAPI/UART.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Uart.__init__@tools...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>{'name': 'geticmpcodebynumber@pf/_utils.py', 'description': 'Return the ICMP code as a string.', 'code': 'def geticmpcodebynumber(type, code, af):\n """Return the ICMP cod...
1
{'name': 'PlyData._parse_header@utils/plyfile.py', 'description': 'Parse a PLY header from a readable file-like stream.', 'signature': 'def _parse_header(stream):'}</s>{'name': 'PlyData@utils/plyfile.py', 'description': 'PLY file header and data.\n\nA PlyData instance is created in one of two ways: by the static\nmetho...
1
{'name': 'ChainstateWriteCrashTest.restart_node@test/functional/feature_dbcrash.py', 'description': 'Start up a given node id, wait for the tip to reach the given block hash, and calculate the utxo hash.\n\nExceptions on startup should indicate node crash (due to -dbcrashratio), in which case we try again. Give up\naft...
0
{'name': 'sniffer_capture@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Start the sniffer to capture packets', 'signature': 'def sniffer_capture(interface, baudrate, fifo, control_in, control_out):'}</s>{'name': 'set_sc_ltk@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send LE secure con...
0
{'name': 'IntegrationTestFiltering.test_filter_with_queryset@tests/rest_framework/test_integration.py', 'description': 'Regression test for #814.', 'signature': 'def test_filter_with_queryset(self):'}</s>{'name': 'BooleanFilter@django_filters/filters.py', 'description': 'DOCSTRING', 'base_classes': ['Filter'], 'methods...
0
{'name': 'cal_mcep@utils/preprocess_world.py', 'description': 'cal mcep given wav singnal\nthe frame_period used only for pad_wav_to_get_fixed_frames', 'signature': 'def cal_mcep(wav, sr=SAMPLE_RATE, dim=FEATURE_DIM, fft_size=FFTSIZE):'}</s>{'name': '_normalise_coded_sp@utils/audio_utils.py', 'description': 'DOCSTRING'...
1
{'name': 'get_known_heuristic_names@heudiconv/utils.py', 'description': 'Return a list of heuristic names present under heudiconv/heuristics', 'signature': 'def get_known_heuristic_names() -> list[str]:'}</s>{'name': 'load_json@heudiconv/utils.py', 'description': 'Load data from a json file\n\nParameters\n----------\nf...
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': 'is_app@src/api/python/z3/z3.py', 'descript...
0
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': '_process_witness_query@da/compiler/incgen.py', 'description': 'DOCSTRING', 'code': 'def _process_witness_query(stub_name, params, events,\n ...
1
{'name': 'Session.prepare_request@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/sessions.py', 'description': "Constructs a :class:`PreparedRequest <PreparedRequest>` for\ntransmission and returns it. The :class:`PreparedRequest` has settings\nmerged from the :class:`Request <Request>` instance an...
0
{'name': 'Record.to_dataframe@wfdb/io/record.py', 'description': 'Create a dataframe containing the data from this record.\n\n\nReturns\n-------\nA dataframe, with sig_name in the columns. The index is a DatetimeIndex\nif both base_date and base_time were set, otherwise a TimedeltaIndex.', 'signature': 'def to_datafram...
0
{'name': 'tsv_maker@pyrgg/graph_gen.py', 'description': 'Create output file in tsv format.\n\n:param edge_dic: dictionary containing edges data\n:type edge_dic: dict\n:param weight_dic: dictionary containing weights data\n:type weight_dic: dict\n:param mdata: meta data\n:type mdata: dict\n:return: None', 'signature': '...
0
{'name': 'Confidence.to_flashlfq@mokapot/confidence.py', 'description': 'Save confidenct peptides for quantification with FlashLFQ.', 'signature': 'def to_flashlfq(self, out_file="mokapot.flashlfq.txt"):'}</s>STANDARD_COLUMN_NAME_MAP = { "SpecId": "psm_id", # IMO these two are not the same ... "PSMId": "psm_id...
0
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>SERVER_UNREACHABLE = [4081]
0
{'name': 'DefaultInferenceHandler.default_output_fn@src/sagemaker_inference/default_inference_handler.py', 'description': 'Function responsible for serializing the prediction result to the desired accept type.\n\nArgs:\n prediction (obj): prediction result returned by the predict_fn.\n accept (str): accept header...
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': 'LiquidityHintMgr.badness_penalty@lndmanage/lib/liquidityhints.py', 'description': 'The badness penalty indicates how close a node was to the failing hop of\npayment routes in units of a fee rate. This fee rate can accumulate and may\nlead to complete ignoring of the node, which is why we let the badness penal...
1
{'name': 'tlp_raw_layout@litepcie/tlp/common.py', 'description': 'Generate a raw TLP endpoint description.\n\nParameters:\n data_width (int): Width of the data (in bits).\n\nReturns:\n EndpointDescription: Raw TLP endpoint description.', 'signature': 'def tlp_raw_layout(data_width):'}</s>{'name': 'get_bar_mask@li...
0
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': '_process_pauli_type@tensorflow_quantum/core/serialize/serializer.py', 'description': 'DOCSTRING', 'code': 'def _p...
0
{'name': 'Ct.enc@examples/tormedian.py', 'description': 'Produce a ciphertext, from a public key and message ', 'signature': 'def enc(pub, m):'}</s>{'name': 'CountSketchCt@examples/tormedian.py', 'description': 'A Count Sketch of Encrypted values ', 'base_classes': ['object'], 'methods': [{'name': 'CountSketchCt.epsilo...
0
{'name': 'save_json@heudiconv/utils.py', 'description': 'Save data to a json file\n\nParameters\n----------\nfilename : str or Path\n Filename to save data in.\ndata : dict\n Dictionary to save in json file.\nindent : int, optional\nsort_keys : bool, optional\npretty : bool, optional', 'signature': 'def save_json...
0
{'name': 'include_decl@src/services/mpiwrap/wrap.py', 'description': 'This function is used by macros to include attributes MPI declarations in their scope.', 'signature': 'def include_decl(scope, decl):'}</s>wrapper_diagnosics_macros = " /* Macros to enable and disable compiler warnings for deprecated functions. * Th...
0
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': 'gdir_from_tar...
0
{'name': 'Cursor.set_key@lmdb/cffi.py', 'description': 'Seek exactly to `key`, returning ``True`` on success or ``False`` if\nthe exact key was not found. It is an error to :py:meth:`set_key` the\nempty bytestring.\n\nFor databases opened with `dupsort=True`, moves to the first value\n("duplicate") for the key.\n\nEqui...
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': 'RFXtrxProtocolTest.test_complete_packet@test/test_rfxtrx_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>P1_MESSAGE_HEADER = "^\d-\d:0\.2\.8.+?\r\n"
0
{'name': 'TogglSet.get@toggl/api/base.py', 'description': 'Method for fetching detail object of the entity. it fetches the object based on specified conditions.\n\nIf ID is used then detail URL is used to fetch object.\nIf other conditions are used to specify the object, then TogglSet will fetch all objects using listi...
0
{'name': 'Field.deprecation_reason@pygraphy/introspection.py', 'description': 'Not support yet', 'signature': 'def deprecation_reason(self) -> Optional[str]:'}</s>{'name': 'meta@pygraphy/utils.py', 'description': 'DOCSTRING', 'code': "def meta(obj):\n obj.__name__ = '__' + obj.__name__\n return obj"}
0
{'name': 'DNSIncoming.readOthers@stino/pyarduino/base/zeroconf.py', 'description': 'Reads the answers, authorities and additionals section of the\npacket', 'signature': 'def readOthers(self):'}</s>_CLASS_CH = 3
0
{'name': 'main@tools/otsdb-dump-restore/src/kilda/tsdb_dump_restore/dump.py', 'description': 'This tool dumps the data from an OpenTSDB\n\nOPENTSDB_ENDPOINT openTSDB endpoint\n\nTIME_START time since the data is dumped\n\nExample:\nkilda-otsdb-dump http://example.com:4242 2023-03-08', 'signature': 'def main(opentsdb_en...
0
{'name': 'ImageUploadView.post@simditor/views.py', 'description': 'Post.', 'signature': 'def post(self, request, **kwargs):'}</s>{'name': 'get_slugified_name@simditor/utils.py', 'description': 'get_slugified_name.', 'code': 'def get_slugified_name(filename):\n """get_slugified_name."""\n slugified = slugify(filen...
0
{'name': 'main._generate_dos@mcu/crystal/crystal.py', 'description': "Processing/collecting the DOS data before the plotting function\n\nTDOS dimensions: [spin , [E(eV), tdos(E)]]\n\nspin : spin of DOS.\nlm : string or a list of string, e.g. 'Ni:s' or ['Ni:s','C:s,px,pz']", 'signature': 'def _ge...
0
{'name': 'TestParseTagInput.test_tags_with_double_quotes_can_contain_commas@tagging/tests/tests.py', 'description': 'Double quotes can contain commas ', 'signature': 'def test_tags_with_double_quotes_can_contain_commas(self):'}</s>{'name': 'get_tag_list@tagging/utils.py', 'description': 'Utility function for accepting ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQMF_ACCEPT_UNSUP_MASK = 4293918720
0
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'euclidean_norm@src/python_scripts/afnipy/afni_util.py', 'description': 'name is toooooo long', 'code': 'def euclide...
0
{'name': 'CSSParser.parse_selectors@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse selectors.', 'signature': 'def parse_selectors(self, iselector, index=0, flags=0):'}</s>CSS_CHECKED = CSSParser( ''' html|*:is(input[type=checkbox], input[type=radio])[checked], ...
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': 'test_multiclass_classification_logloss@tests/system/test_gamaclassifier.py', 'description': 'Multiclass classification, log loss (probabilities), numpy data.', 'signature': 'def test_multiclass_classification_logloss():'}</s>{'name': 'AsyncEA@gama/search_methods/async_ea.py', 'description': 'Perform asynchron...
0
{'name': 'Device.modify_hosts@qt4a/device.py', 'description': '修改hosts\n\n:param new_hosts: 要修改的host列表,如果为空,表示恢复为默认hosts\n:type new_hosts: list', 'signature': 'def modify_hosts(self, new_hosts=[]):'}</s>{'name': 'DeviceProviderManager@qt4a/device.py', 'description': '设备提供者管理\n ', 'base_classes': ['Singleton'], 'meth...
0
{'name': 'nestedExpr@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing ex...
0
{'name': 'Parser.parse@funcparserlib/parser.py', 'description': 'Parse the sequence of tokens and return the parsed value.\n\nType: `(Sequence[A]) -> B`\n\nIt takes a sequence of tokens of arbitrary type `A` and returns the parsed value\nof arbitrary type `B`.\n\nIf the parser fails to parse the tokens, it raises `NoPa...
0
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>SERVICE_ENABLE = "enable"
0
{'name': 'StateWithCDMTest.setUp@tests/lib/state.py', 'description': 'Registers the dummy modules and recipe to be used in tests.', 'signature': 'def setUp(self):'}</s>{'name': 'ModulesManager@dftimewolf/lib/modules/manager.py', 'description': 'Modules manager.', 'base_classes': ['object'], 'methods': [{'name': 'Module...
1
{'name': 'Parser.parse@funcparserlib/parser.py', 'description': 'Parse the sequence of tokens and return the parsed value.\n\nType: `(Sequence[A]) -> B`\n\nIt takes a sequence of tokens of arbitrary type `A` and returns the parsed value\nof arbitrary type `B`.\n\nIf the parser fails to parse the tokens, it raises `NoPa...
0
{'name': 'UnpackTag@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/wire_format.py', 'description': 'The inverse of PackTag(). Given an unsigned 32-bit number,\nreturns a (field_number, wire_type) tuple.', 'signature': 'def UnpackTag(tag):'}</s>INT32_MIN = int(-(1 << 31))
0
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ...
0
{'name': '_FloatingPointEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and mak...
0
{'name': 'column_type_eq@graphene_sqlalchemy/utils.py', 'description': 'A simple function that makes the equality based matcher functions for\nSingleDispatchByMatchFunction prettier', 'signature': 'def column_type_eq(value: Any) -> Callable[[Any], bool]:'}</s>{'name': 'registry_sqlalchemy_model_from_str@graphene_sqlalc...
0
{'name': 'template@src/back/kite/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def template(*args, **kwarg...
1
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>RE_NTH = re.compile( r'(?P<s1>[-+])?(?P<a>[0-9]+n?|n)(?:(?<=n){ws}*(?P<s2>[-+]){ws}*(?P<b>[0-9]+))?'.format(w...
0
{'name': 'DECIMER_Predictor.__init__@DECIMER/Repack_model.py', 'description': 'Load the tokenizers, the maximum input and output length and the\nmodel.\n\nArgs:\n encoder (tf.keras.model): The encoder model\n tokenizer (tf.keras.tokenizer): Output tokenizer, defines which character is assigned to what token\n ...
0