text
string
label
int64
{'name': 'setup_logger@tune/local.py', 'description': 'Setup logger with correct verbosity and file handler.\n\nParameters\n----------\nverbose : int\n Verbosity level. If verbose = 0, use INFO level, otherwise DEBUG.\nlogfile : str\n Desired path to the logfile.\n\nReturns\n-------\nLogger\n Logger to be used...
0
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W...
0
{'name': 'gradient_linkage@gneiss/cluster/_pba.py', 'description': "Hierarchical Clustering on known gradient.\n\nThe hierarchy is built based on the values of the samples\nlocated along a gradient. Given a feature :math:`x`, the mean gradient\nvalues that :math:`x` was observed in is calculated by\n\n.. math::\n f...
1
{'name': '_ScannerDelegate.handleDiscovery@blue_st_sdk/manager.py', 'description': 'Discovery handling callback.\n\nCalled when an advertising data is received from a BLE device while a\nScanner object is active.\n\nArgs:\n scan_entry (ScanEntry): BLE device. It contains device information\n and advertising data....
1
{'name': 'TorchServeEnvironment.is_env_set@src/sagemaker_pytorch_serving_container/ts_environment.py', 'description': 'bool: whether or not the environment variables have been set', 'signature': 'def is_env_set(self): # type: () -> bool'}</s>DEFAULT_TS_MAX_BATCH_DELAY = 100
0
{'name': 'check_and_process_entry@code/utils/osg.py', 'description': ':param entry:\n:return:', 'signature': 'def check_and_process_entry(entry):'}</s>{'name': 'extract_inactive_year@code/utils/osg.py', 'description': 'DOCSTRING', 'code': "def extract_inactive_year(entry):\n state = entry['State']\n phrase = 'ina...
0
{'name': 'CortexM.write_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Write one or more core registers\n\nWrite core registers in reg_list with the associated value in\ndata_list. If any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER....
0
{'name': 'Problems.submit_problem@dwave/cloud/api/resources.py', 'description': 'Blocking problem submit with timeout, returning final status and\nanswer, if problem is solved within the (undisclosed) time limit.', 'signature': 'def submit_problem(self,'}</s>{'name': 'MetadataAPIClient@dwave/cloud/api/client.py', 'desc...
0
{'name': 'standardize_variables@aimacode/logic.py', 'description': 'Replace all the variables in sentence with new variables.', 'signature': 'def standardize_variables(sentence, dic=None):'}</s>{'name': 'is_symbol@aimacode/logic.py', 'description': 'A string s is a symbol if it starts with an alphabetic char.', 'code':...
0
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>generator = type(_yield())
0
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>ATTR_OLD_CODE = "old_code"
0
{'name': 'auto_detect_estimator@sklearn_pmml_model/auto_detect/base.py', 'description': 'Automatically detect and return the described estimator from PMML file.\n\nParameters\n----------\npmml : str, object\n Filename or file object containing PMML data.', 'signature': 'def auto_detect_estimator(pmml, **kwargs):'}</...
1
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen...
1
{'name': 'clean_number@nova/utils.py', 'description': 'Utility method to clean up a number contained in a string to dot decimal format\n\nArgs:\n string (str): Number contained in a string\n\nReturns:\n str: The formatted number as a string', 'signature': 'def clean_number(string):'}</s>{'name': 'translation@nova...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCD_VERSION_9 = py23long(9)
0
{'name': 'parse_target_components@linodecli/plugins/ssh.py', 'description': 'Returns the components (username, label) of the\ngiven `label` argument.', 'signature': 'def parse_target_components(label: str) -> Tuple[Optional[str], str]:'}</s>{'name': 'ExitCodes@linodecli/exit_codes.py', 'description': 'An enumeration of...
0
{'name': 'DIETableModel.format_expr@dwex/die.py', 'description': 'expr is a list of parsed operations\n ', 'signature': 'def format_expr(self, expr, len_cutoff = None):'}</s>{'name': 'is_block@dwex/dwarfutil.py', 'description': 'DOCSTRING', 'code': "def is_block(form):\n return form in ('DW_FORM_block', 'DW_F...
0
{'name': 'run@onlinejudge_command/subcommand/login.py', 'description': ':returns: whether it is logged in or not.', 'signature': 'def run(args: argparse.Namespace) -> bool:'}</s>user_cache_dir = utils.user_cache_dir
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': 'search_by_name@weibo_base/weibo_api.py', 'description': "get summary info which searched by name,\n this api is like 'https://m.weibo.cn/api/container/getIndex?queryVal=<name sample as Helixcs>&containerid=100103type%3D3%26q%3D<name sample as Helixcs>'\n\n>>> from weibo_base import search_by_name\n>>> _respon...
0
{'name': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>SInt64Sizer = _ModifiedSizer( _SignedVarintSize, wire_format.ZigZagEncode)
0
{'name': 'test_imputer_without_test_set_random_split@test/test_imputer.py', 'description': 'Test asserting that the random split is working internally\nby calling imputer.fit only with a training set.', 'signature': 'def test_imputer_without_test_set_random_split(test_dir, data_frame):'}</s>{'name': 'test_imputer_load_...
0
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>OP_VERIF = CScriptOp(0x65)
0
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""...
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': 'DNSIncoming.readOthers@stino/pyarduino/base/zeroconf.py', 'description': 'Reads the answers, authorities and additionals section of the\npacket', 'signature': 'def readOthers(self):'}</s>_REGISTER_TIME = 225
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': 'make_new_odir@src/python_scripts/afnipy/afni_util.py', 'description': "When outputting to a new directory new_dir, ...
0
{'name': 'dashboard_get@tessera-server/tessera/views_api.py', 'description': 'Get the metadata for a single dashboard.\n\n ', 'signature': 'def dashboard_get(id):'}</s>{'name': 'DashboardItem@tessera-server/tessera/client/api/model.py', 'description': 'JS class: ds.models.item', 'base_classes': ['object'], 'methods'...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQTA_PROXY_SUB_FIRSTUSE = 2
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': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': 'TarFile@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/...
0
{'name': 'logkv_mean@qbert/logger.py', 'description': 'The same as logkv(), but if called many times, values averaged.', 'signature': 'def logkv_mean(key, val):'}</s>ERROR = 40
0
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>KEY_R = 82
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
{'name': 'toggle_bit@pyModbusTCP/utils.py', 'description': 'Return an integer with the bit at offset position inverted.\n\n:param value: value of integer where invert the bit\n:type value: int\n:param offset: bit offset (0 is lsb)\n:type offset: int\n:returns: value of integer with bit inverted\n:rtype: int', 'signatur...
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': 'build_input_pipeline@6_AI-ML/4_tensorflow/advanced-tf/vq_vae.py', 'description': 'Builds an Iterator switching between train and heldout data.', 'signature': 'def build_input_pipeline(data_dir, batch_size, heldout_size, mnist_type):'}</s>{'name': 'visualize_training@6_AI-ML/4_tensorflow/advanced-tf/vq_vae.py'...
0
{'name': 'get_prediction@DigiPathAI/Segmentation.py', 'description': 'patch based segmentor', 'signature': 'def get_prediction(wsi_path, '}</s>{'name': 'BinMorphoProcessMaskOS@DigiPathAI/helpers/utils.py', 'description': 'Binary operation performed on tissue mask', 'code': 'def BinMorphoProcessMaskOS(mask, level):\n ...
0
{'name': 'TautomerEnumerator.__init__@scopy/ScoPretreat/pretreatutil.py', 'description': ':param transforms: A list of TautomerTransforms to use to enumerate tautomers.\n:param max_tautomers: The maximum number of tautomers to enumerate (limit to prevent combinatorial explosion).', 'signature': 'def __init__(self, tran...
0
{'name': 'locust_program@transformer/locust.py', 'description': 'Converts a ScenarioGroup into a Locust File.', 'signature': 'def locust_program(scenarios: Sequence[Scenario]) -> py.Program:'}</s>{'name': 'Standalone@transformer/python.py', 'description': 'Wraps an :class:`Expression` so that it can be used as a :class...
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>MQCMD_CHANGE_PROCESS = 3
0
{'name': 'NDInputAttrTree._renameAttr@scripts/mpylib/ui/mpynode_designer.py', 'description': 'Triggered when the user renames an attribute using the UI', 'signature': 'def _renameAttr(self, item, col):'}</s>{'name': 'NDAttrIcon@scripts/mpylib/ui/mpynode_designer.py', 'description': 'DOCSTRING', 'base_classes': ['QIcon'...
0
{'name': 'train@joeynmt/training.py', 'description': 'Main training function. After training, also test on test data if given.\n\n:param rank: ddp local rank\n:param world_size: ddp world size\n:param cfg: configuration dict\n:param skip_test: whether a test should be run or not after training', 'signature': 'def train...
1
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PF_LIMIT_STATES = 0
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>ICMP_ROUTERADVERT_NOROUTE_COMMON = 16
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': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of th...
0
{'name': 'str_filetype@droidutil.py', 'description': 'Provide as input a droidutil filetype (APK, DEX, ARM...) and returns the corresponding string', 'signature': 'def str_filetype(filetype):'}</s>ZIP = 5
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>MQIACF_USAGE_DATA_SET = 1169
0
{'name': 'compute_dynamics@oqupy/system_dynamics.py', 'description': 'Compute the system dynamics for a given system Hamiltonian, accounting\n(optionally) for interaction with an environment using one or more\nprocess tensors.\n\nParameters\n----------\nsystem: Union[System, TimeDependentSystem]\n Object containing ...
0
{'name': 'plot_sounding_data_csv@pymeteo/skewt.py', 'description': 'Plot SkewT from a CSV sounding data file\n\n:param filename: The name of the file to open.\n:type filename: str\n:param output: The name of the file to output plot\n:type output: str\n\nThe datafile format is CSV with the following columns: \n\n- press...
0
{'name': 'Record.remove@shingetsu/cache.py', 'description': 'Remove record.\n\nThe record is removed from cache,\nbut do not removed from file-system.', 'signature': 'def remove(self):'}</s>{'name': 'primize@shingetsu/apollo.py', 'description': 'Make x a plime number.\n\nResult >= x.', 'code': 'def primize(x):\n """...
0
{'name': 'smart_query@sqlalchemy_mixins/smartquery.py', 'description': "Does magic Django-ish joins like post___user___name__startswith='Bob'\n (see https://goo.gl/jAgCyM)\nDoes filtering, sorting and eager loading at the same time.\nAnd if, say, filters and sorting need the same joinm it will be done\n only one. That'...
0
{'name': '_feed_stream@plugin.image.premiumizer/resources/lib/modules/pyaes/blockfeeder.py', 'description': 'Uses feeder to read and convert from in_stream and write to out_stream.', 'signature': 'def _feed_stream(feeder, in_stream, out_stream, block_size = BLOCK_SIZE):'}</s>{'name': '_segment_can_consume@plugin.image....
0
{'name': 'LightRGB.update_status_information@pyShelly/light.py', 'description': 'Update the status information.', 'signature': 'def update_status_information(self, status, src):'}</s>{'name': 'LightRGB@pyShelly/light.py', 'description': 'DOCSTRING', 'base_classes': ['Light'], 'methods': [{'name': 'LightRGB.__init__@pyS...
1
{'name': 'FillInf.transform@lightautoml/transformers/numeric.py', 'description': 'Replace inf to nan.\n\nArgs:\n dataset: Pandas or Numpy dataset of categorical features.\n\nReturns:\n Numpy dataset with encoded labels.', 'signature': 'def transform(self, dataset: NumpyTransformable) -> NumpyDataset:'}</s>{'name'...
0
{'name': 'PPO.update@ppo_continuous2.py', 'description': 'Update parameter with the constraint of KL divergent\n:return: None', 'signature': 'def update(self):'}</s>EPS = 1e-08
0
{'name': 'PackageFinder._link_package_versions@scripts/pdns/lib/python2.7/site-packages/pip/index.py', 'description': 'Return an InstallationCandidate or None', 'signature': 'def _link_package_versions(self, link, search):'}</s>ARCHIVE_EXTENSIONS = ZIP_EXTENSIONS + BZ2_EXTENSIONS + TAR_EXTENSIONS + XZ_EXTENSIONS
0
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot...
0
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>wallet_fault_1 = "Fallo en la wallet"
0
{'name': 'XMLFeedsTest.test_sanitize_1@feeds/tests.py', 'description': "Make sure feedparser's sanitization is running", 'signature': 'def test_sanitize_1(self, mock):'}</s>{'name': 'parse_feed_xml@feeds/utils_internal.py', 'description': 'DOCSTRING', 'code': 'def parse_feed_xml(source_feed, feed_content, output: TextI...
0
{'name': 'receive_offline_message@bauhinia_push.py', 'description': '等待100ms,批量发送推送', 'signature': 'def receive_offline_message():'}</s>{'name': 'push_message_u@bauhinia_push.py', 'description': 'DOCSTRING', 'code': 'def push_message_u(appid, appname, u, content, extra, collapse_id=None, content_available=None):\n r...
0
{'name': 'RecurrentDecoder.forward@joeynmt/decoders.py', 'description': 'Unroll the decoder one step at a time for `unroll_steps` steps. For every step,\nthe `_forward_step` function is called internally.\n\nDuring training, the target inputs (`trg_embed\') are already known for the full\nsequence, so the full unrol is...
0
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCNO_HANDLE_SHARE_NONE = 32
0
{'name': 'NetworkProfile.AddAnchorCertificate@gmacpyutil/gmacpyutil/profiles.py', 'description': 'Adds a certificate payload to the profile for server identification.\n\nArgs:\n certificate: str, PEM-formatted certificate.\n\nRaises:\n CertificateError: there was an error processing the certificate', 'signature': 'de...
1
{'name': '_print_windows@Monika After Story/game/python-packages/mutagen/_senf/_print.py', 'description': 'The windows implementation of print_()', 'signature': 'def _print_windows(objects, sep, end, file, flush):'}</s>STD_INPUT_HANDLE = DWORD(-10)
0
{'name': 'num_tf_params@human_aware_rl/utils.py', 'description': 'Prints number of trainable parameters defined', 'signature': 'def num_tf_params():'}</s>{'name': 'get_trailing_number@human_aware_rl/utils.py', 'description': "Get the trailing number from a string,\ni.e. 'file123' -> '123'", 'code': 'def get_trailing_nu...
0
{'name': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl...
0
{'name': 'CSSParser.parse_pseudo_class_custom@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse custom pseudo class alias.\n\nCompile custom selectors as we need them. When compiling a custom selector,\nset it to `None` in the dictionary so we can avoid an infinite loop.',...
0
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'ValidUpdatePeriod@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Va...
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': '_phase_damp_channel_deserializer@tensorflow_quantum/core/serialize/serializer.py', 'description': 'Make standard ...
0
{'name': 'process_line@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPOR...
0
{'name': 'main@linodecli/__init__.py', 'description': 'Handle incoming command arguments', 'signature': 'def main(): # pylint: disable=too-many-branches,too-many-statements'}</s>{'name': 'print_help_plugins@linodecli/help_pages.py', 'description': 'Print available plugins registered to the CLI (do arbitrary things). U...
1
{'name': 'Serial.reset_output_buffer@serial/serialwin32.py', 'description': 'Clear output buffer, aborting the current output and discarding all\nthat is in the buffer.', 'signature': 'def reset_output_buffer(self):'}</s>CLRDTR = 6
0
{'name': 'HTTPResponse._init_decoder@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/urllib3/response.py', 'description': 'Set-up the _decoder attribute if necessary.', 'signature': 'def _init_decoder(self):'}</s>{'name': 'DeflateDecoder@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/urllib3/response.p...
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': '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': 'cur_commit@nix_bisect/git.py', 'description': 'Returns the rev of the current HEAD.', 'signature': 'def cur_commit():'}</s>{'name': 'try_cherry_pick@nix_bisect/git.py', 'description': 'DOCSTRING', 'code': 'def try_cherry_pick(rev, mainline=1):\n rev_name = rev + ("" if mainline == 1 else f"(mainline {mainl...
0
{'name': 'test_filtering@tests/test_extended_functionality.py', 'description': 'Do we return filtered results when a URL parameter is provided?', 'signature': 'def test_filtering(client):'}</s>{'name': 'test_sorting@tests/test_extended_functionality.py', 'description': "Do we return sorted results when a 'sort' URL par...
0
{'name': 'unpackCommand@fwtool.py', 'description': 'Extracts the input file to the specified directory', 'signature': 'def unpackCommand(file, outDir):'}</s>{'name': '_decryptBigEndian@fwtool/sony/dslr.py', 'description': 'DOCSTRING', 'code': 'def _decryptBigEndian(data):\n return _decrypt(data, False)'}
0
{'name': 'test_create_with_duplicate_dimensions@unyt/tests/test_units.py', 'description': 'Create units with overlapping dimensions. Ex: km/Mpc.', 'signature': 'def test_create_with_duplicate_dimensions():'}</s>{'name': 'UnitSystem@unyt/unit_systems.py', 'description': 'Create a UnitSystem for facilitating conversions ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCXP_LENGTH_5 = 160
0
{'name': 'main@plugins/modules/dcnm_image_upgrade.py', 'description': 'main entry point for module execution', 'signature': 'def main():'}</s>{'name': 'ImageUpgrade@plugins/module_utils/image_upgrade/image_upgrade.py', 'description': '### Summary\nUpgrade the image on one or more switches.\n\n\n### Usage example\n```py...
0
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'fpLEQ@src/api/python/z3/z3.py', 'description': "Create the Z3 floating-point expression `other <= self`.\n\n>>> x, y = FPs('x y', FPSort(8, 24))\n>>> fpLEQ(x, ...
0
{'name': 'ResnetUtilsTest.testEndPointsV1@libs/networks/slim_nets/resnet_v1_test.py', 'description': 'Test the end points of a tiny v1 bottleneck network.', 'signature': 'def testEndPointsV1(self):'}</s>{'name': 'resnet_v1_200@libs/networks/slim_nets/resnet_v1.py', 'description': 'ResNet-200 model of [2]. See resnet_v1...
0
{'name': 'Countries.__getitem__@django_countries/__init__.py', 'description': 'Some applications expect to be able to access members of the field\nchoices by index.', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'CountriesBase@django_countries/base.py', 'description': 'DOCSTRING', 'base_classes': [], 'meth...
0
{'name': 'EquivarianceMetric.compute_equivariance_diff@metrics/equivariance.py', 'description': 'Computes the equivariance difference with the generator.', 'signature': 'def compute_equivariance_diff(self, generator, generator_kwargs):'}</s>{'name': 'setup_filter@third_party/stylegan3_official_ops/upfirdn2d.py', 'descr...
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': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'get_args@fairseq/options.py', 'description': 'DOCSTRING', 'code': 'def get_args(\n data: Union[str, Path],\n task: str = "translation",\n arch: str = "tra...
0
{'name': 'TLP.get_size@fpga/lib/pcie/tb/pcie.py', 'description': 'Return size of TLP in bytes', 'signature': 'def get_size(self):'}</s>TLP_MEM_READ = (FMT_3DW, 0x00)
0
{'name': 'get_qr_url_protection_signed_token@qr_code/qrcode/serve.py', 'description': 'Generate a signed token to handle view protection.', 'signature': 'def get_qr_url_protection_signed_token(qr_code_options: QRCodeOptions):'}</s>{'name': 'get_qr_url_protection_token@qr_code/qrcode/serve.py', 'description': 'Generate ...
1
{'name': 'API.subscribe_count@src/api/python/cloudi.py', 'description': 'returns the number of subscriptions for a single service name pattern', 'signature': 'def subscribe_count(self, pattern):'}</s>_MESSAGE_RETURN_SYNC = 6
0
{'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': 'tlp_ptm_layout@litepcie/tlp/common.py', 'description': 'Generate a PTM TLP endpoint description.\n\nParameters:\n data_width (int): Width of the data (in bits).\n\nReturns:\n EndpointDescription: PTM TLP endpoint description.', 'signature': 'def tlp_ptm_layout(data_width):'}</s>MB = 1024*KB
0
{'name': 'pytest_runtest_teardown@Chapter03/tests/conftest.py', 'description': 'Called at the end of each test', 'signature': 'def pytest_runtest_teardown(item, nextitem):'}</s>{'name': '_drop_tables@Chapter02/serverless/cupping/db/__init__.py', 'description': 'DOCSTRING', 'code': 'def _drop_tables(*, force=False):\n ...
0
{'name': '_resolve_conflicting_annotations@code/corpus/mapTagWorksResult2TEI.py', 'description': 'As we have at least 2 annotators per task, we will have conflicting annotations.\nBasically, when two annotations are similar or overlapping, we need to discard one of them.', 'signature': 'def _resolve_conflicting_annotat...
0
{'name': 'imshow@DigiPathAI/new_Segmentation.py', 'description': 'Handy function to show multiple plots in on row, possibly with different cmaps and titles\nUsage:\nimshow(img1, title="myPlot")\nimshow(img1,img2, title=[\'title1\',\'title2\'])\nimshow(img1,img2, cmap=\'hot\')\nimshow(img1,img2,cmap=[\'gray\',\'Blues\']...
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