text string | label int64 |
|---|---|
{'name': 'set_bar@library/dothat/backlight.py', 'description': 'Does nothing.\n\nImplemented for library compatibility with Dot3k backlight.', 'signature': 'def set_bar(index, value):'}</s>{'name': 'right_rgb@library/dothat/backlight.py', 'description': 'Set the right backlight to supplied r, g, b colour\n\n:param r: r... | 0 |
{'name': 'ConvolutionalBoxPredictor._predict@object_detection/predictors/convolutional_box_predictor.py', 'description': 'Computes encoded object locations and corresponding confidences.\n\nArgs:\n image_features: A list of float tensors of shape [batch_size, height_i,\n width_i, channels_i] containing features for... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQMCB_DISABLED = 0 | 0 |
{'name': 'subdir_checks@source/speed-cam.py', 'description': 'Check if motion SubDir needs to be created', 'signature': 'def subdir_checks(maxHours, maxFiles, directory, prefix):'}</s>{'name': 'get_image_name@source/speed-cam.py', 'description': 'build image file names by number sequence or\ndate/time Added tenth of se... | 0 |
{'name': 'test_parse_uri_invalid_uri@cheroot/test/test_core.py', 'description': 'Check that server responds with Bad Request to invalid GET queries.\n\nInvalid request line test case: it should only contain US-ASCII.', 'signature': 'def test_parse_uri_invalid_uri(test_client):'}</s>{'name': 'test_no_content_length@cher... | 0 |
{'name': 'generate_request_id@oslo_context/context.py', 'description': 'Generate a unique request id.', 'signature': 'def generate_request_id() -> str:'}</s>_request_store = threading.local() | 0 |
{'name': 'TenantAwareSchedulerMixin.apply_entry@tenant_schemas_celery/scheduler.py', 'description': 'See https://github.com/celery/celery/blob/c571848023be732a1a11d46198cf831a522cfb54/celery/beat.py#L277', 'signature': 'def apply_entry(self, entry: TenantAwareScheduleEntry, producer=None):'}</s>{'name': 'TenantAwareSch... | 1 |
{'name': 'visualize_pdb@enzynet/visualization.py', 'description': 'Plots PDB in a volume and saves it in a file.', 'signature': 'def visualize_pdb(pdb_id: Text, p: int = 5, v_size: int = 32, num: int = 1,'}</s>RCSB_DOWNLOAD_WEBSITE = "https://files.rcsb.org/download/" | 0 |
{'name': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'col@amptk/process_illumina_folder.py', 'description': 'DOCSTR... | 0 |
{'name': 'Wrapper.execDetails@ib_insync/wrapper.py', 'description': 'This wrapper handles both live fills and responses to\nreqExecutions.', 'signature': 'def execDetails('}</s>UNSET_INTEGER = 2 ** 31 - 1 | 1 |
{'name': 'GlobalGeodetic.TileLatLonBounds@auxiliary/gdal2customtiles/legacy/gdal2customtiles.py', 'description': 'Returns bounds of the given tile in the SWNE form', 'signature': 'def TileLatLonBounds(self, tx, ty, zoom):'}</s>{'name': 'GDAL2Tiles@auxiliary/gdal2customtiles/legacy/gdal2customtiles.py', 'description': '... | 0 |
{'name': 'SetCriterion.loss_masks@models/detr.py', 'description': 'Compute the losses related to the masks: the focal loss and the dice loss.\ntargets dicts must contain the key "masks" containing a tensor of dim [nb_target_boxes, h, w]', 'signature': 'def loss_masks(self, outputs, targets, indices, num_boxes):'}</s>{'... | 0 |
{'name': 'writeInitialize@cxxtest/cxxtestgen.py', 'description': 'Write CxxTest::initialize(), which replaces static initialization', 'signature': 'def writeInitialize(output):'}</s>noStandardLibrary = 0 | 0 |
{'name': 'build_cmdstan_model@python/setup.py', 'description': 'Rebuild cmdstan in the build environment, then use this installation to compile the stan model.\nThe stan model is copied to {target_dir}/prophet_model.bin\nThe cmdstan files required to run cmdstanpy commands are copied to {target_dir}/cmdstan-{version}.\... | 1 |
{'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>profile_weapontrinkets_hash_to_eng = weapon_cust_paths_to_hash(profile_weapontrinkets_obj_to_eng) | 0 |
{'name': 'grab_image_from_env@self_organising_systems/biomakerca/environments.py', 'description': 'Create a visualization of the environment.\n\nResulting values are floats ranging from [0,1].\n\nIf color_by_id is True, we blend the agent cell colors with unique per id\ncolors with a mix of id_color_intensity.', 'signa... | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'gen_return_txouts@qa/rpc-tests/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def gen_return_txouts():\n # Som... | 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': 'Win32Serial.setRTS@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set terminal status line: Request To Send', 'signature': 'def setRTS(self, level=1):'}</s>MS_DSR_ON = 32 | 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': 'PathConverter.convert@util/py_lib/seqan/dox/write_html.py', 'description': 'Return None, None on failure path, title otherwise.', 'signature': 'def convert(self, name):'}</s>{'name': 'ProcEnum@util/py_lib/seqan/dox/proc_doc.py', 'description': 'A processed enum documentation.\n\n@ivar values: A list of ProcVa... | 0 |
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_val_vec_copy@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def wasm_... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_PORT_NUMBER_ERROR = 3167 | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>{'name': 'validate_ssh@packstack/installer/validators.py', 'description': 'Ra... | 0 |
{'name': 'MemoryFindTestCase.test_memory_find@llvm-project/lldb/test/API/functionalities/memory/find/TestMemoryFind.py', 'description': "Test the 'memory find' command.", 'signature': 'def test_memory_find(self):'}</s>VALID_SYMBOL = "Got a valid symbol" | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>CWCur... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIA_PERFORMANCE_EVENT = 53 | 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': 'cheb_templates@grizli/utils.py', 'description': 'Chebyshev polynomial basis functions\n\nParameters\n----------\nwave : ar... | 0 |
{'name': '_primal_to_ugrid@uxarray/io/_icon.py', 'description': 'Encodes the Primal Mesh of an ICON Grid into the UGRID conventions.', 'signature': 'def _primal_to_ugrid(in_ds, out_ds):'}</s>NODE_EDGE_CONNECTIVITY_ATTRS = {
"cf_role": "node_edge_connectivity",
"long name": "Edges that neighbor each node",
"... | 0 |
{'name': 'brew@mokapot/brew.py', 'description': 'Re-score one or more collection of PSMs.\n\nThe provided PSMs analyzed using the semi-supervised learning\nalgorithm that was introduced by\n`Percolator <http://percolator.ms>`_. Cross-validation is used to\nensure that the learned models to not overfit to the PSMs used ... | 0 |
{'name': 'Product.copy_default_variation@cartridge/shop/models.py', 'description': 'Copies the price and image fields from the default variation\nwhen the product is updated via the change view.', 'signature': 'def copy_default_variation(self):'}</s>{'name': 'ProductOptionManager@cartridge/shop/managers.py', 'descripti... | 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': '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': 'install@tasks/app/dependencies.py', 'description': 'Install project dependencies.', 'signature': 'def install(context):'}</s>{'name': 'install_python_dependencies@tasks/app/dependencies.py', 'description': 'Install Python dependencies listed in requirements.txt.', 'code': 'def install_python_dependencies(cont... | 1 |
{'name': 'ApproximateEventDurationAndHypocenter@postprocessing/science/spectral_corner_frequency_from_surface_xdmf.py', 'description': 'Calculates the derivative of ASl (probably faster than loading SR1 and SR2)\nand approximates event duration by multiplying dt with the number of timesteps,\nwhere maximum on-fault sli... | 0 |
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>CONF_QUEUE_MANUAL = "queue_manual" | 1 |
{'name': 'draw_cube@datasets/synthetic_dataset.py', 'description': 'Draw a 2D projection of a cube and output the corners that are visible\nParameters:\n min_size_ratio: min(img.shape) * min_size_ratio is the smallest achievable\n cube side size\n min_angle_rot: minimal angle of rotation\n scale_int... | 0 |
{'name': 'Recognizer.recognize_google_cn@__init__.py', 'description': 'Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the Google Speech Recognition API.\n\nThe Google Speech Recognition API key is specified by ``key``. If not specified, it uses a generic key that works out of the box. ... | 0 |
{'name': 'GenericSimpleClauseState.getEntry@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Returns the Entry for the brief clause.', 'signature': 'def getEntry(self):'}</s>{'name': 'SnippetState@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Handler used in *DocState for handling @snippet clauses.\n ',... | 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': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>{'name': 'catchment_width_geom@oggm/core/centerlines.py', 'description': "Compute geometrical catchment widths for each point of the flowlines.\n\nUp... | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQTM_CURRENT_VERSION = 1 | 0 |
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>{'name': 'get_plural_or_singular@code/html/generate_static_website.py', 'description': 'Gets t... | 0 |
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,... | 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': 'read_file@swagger_spec_validator/common.py', 'description': 'Utility method for reading a JSON/YAML file and converting it to a Python dictionary\n:param file_path: path of the file to read\n\n:return: Python dictionary representation of the JSON file\n:rtype: dict', 'signature': 'def read_file(file_path: str... | 1 |
{'name': 'AutoModel.from_pretrained@baselines/models_pytorch/classifier_pytorch/transformers/modeling_auto.py', 'description': "Instantiates one of the base model classes of the library\nfrom a pre-trained model configuration.\n\nThe model class to instantiate is selected as the first pattern matching\nin the `pretrain... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_INDOUBT_VALUE_ERROR = 3053 | 0 |
{'name': 'get_detail_view_name@rest_witchcraft/field_mapping.py', 'description': 'Given a model class, return the view name to use for URL relationships\nthat rever to instances of the model.', 'signature': 'def get_detail_view_name(model):'}</s>SERIALIZER_FIELD_MAPPING = {
# sqlalchemy types
postgresql.HSTORE:... | 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>{'name': 'assert_is_hex_string@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'co... | 0 |
{'name': 'getBrowser@custom_components/browser_mod/browser.py', 'description': 'Get or create browser by browserID.', 'signature': 'def getBrowser(hass, browserID, *, create=True):'}</s>{'name': 'deleteBrowser@custom_components/browser_mod/browser.py', 'description': 'Delete a browser by BrowserID.', 'code': 'def delet... | 0 |
{'name': 'test_components_is_2D@test/test_mahalanobis_mixin.py', 'description': 'Tests that the transformation matrix of metric learners is 2D', 'signature': 'def test_components_is_2D(estimator, build_dataset):'}</s>{'name': 'test_get_metric_compatible_with_scikit_learn@test/test_mahalanobis_mixin.py', 'description': ... | 0 |
{'name': 'configure_logging_via_cli@isi_data_insights_config.py', 'description': 'Setup the logging from command line args.', 'signature': 'def configure_logging_via_cli(args):'}</s>{'name': '_log_level_str_to_enum@isi_data_insights_config.py', 'description': 'DOCSTRING', 'code': 'def _log_level_str_to_enum(log_level):... | 1 |
{'name': '_normalize_playtime@src/stats.py', 'description': "All known games has 'unit': 'Seconds' in for time fields\nChampions of Anteria is exception, it has 'Hours' for playtime, but uses miliseconds in fact\nThat is why we assume Seconds everywhere\n:param card statistic card with 'format': 'LongTimespan'\n:re... | 0 |
{'name': 'html_escape@src/back/kite/bottle.py', 'description': 'Escape HTML special characters ``&<>`` and quotes ``\'"``. ', 'signature': 'def html_escape(string):'}</s>py3k = py >= (3, 0, 0) | 0 |
{'name': 'b_index@tksheet/functions.py', 'description': 'Designed to be a faster way of finding the index of an int\nin a sorted list of ints than list.index()', 'signature': 'def b_index(sorted_seq: Sequence[int], num_to_index: int) -> int:'}</s>Highlight = namedtuple(
"Highlight",
(
"bg",
"fg"... | 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': 'PackageIndex.process_index@venv/Lib/site-packages/setuptools/package_index.py', 'description': 'Process the contents of a PyPI page', 'signature': 'def process_index(self, url, page):'}</s>{'name': 'set_threshold@venv/Lib/site-packages/numpy/distutils/log.py', 'description': 'DOCSTRING', 'code': "def set_thre... | 0 |
{'name': 'complete@cartridge/shop/views.py', 'description': 'Redirected to once an order is complete - pass the order object\nfor tracking items via Google Anayltics, and displaying in\nthe template if required.', 'signature': 'def complete(request, template="shop/complete.html", extra_context=None):'}</s>{'name': 'Ord... | 1 |
{'name': 'make_html_table@grizli/aws/db.py', 'description': ' ', 'signature': 'def make_html_table(engine=None, columns=[\'root\', \'status\', \'id\', \'p_ra\', \'p_dec\', \'mag_auto\', \'flux_radius\', \'z_spec\', \'z_map\', \'bic_diff\', \'chinu\', \'log_pdf_max\', \'d4000\', \'d4000_e\'], where="AND status >= 5 A... | 0 |
{'name': 'TrimmedMatchGeoXDesign.__init__@trimmed_match/design/trimmed_match_design.py', 'description': "Initializes the instance.\n\nArgs:\n geox_type: str, type of the experiment. See supported values in GeoXType.\n pretest_data: pd.DataFrame (date, geo, ...).\n time_window_for_design: TimeWindow, representing the... | 0 |
{'name': 'monthly_mean_daylight_hours@cfg/hass/custom_components/wb_irrigation/pyeto/thornthwaite.py', 'description': 'Calculate mean daylight hours for each month of the year for a given\nlatitude.\n\n:param latitude: Latitude [radians]\n:param year: Year for the daylight hours are required. The only effect of\n *y... | 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': 'OtpErlangAtom.binary@src/api/python/erlang.py', 'description': 'return encoded representation', 'signature': 'def binary(self):'}</s>_TAG_NEW_REFERENCE_EXT = 114 | 0 |
{'name': 'na_cmp@pint_pandas/testsuite/test_pandas_extensiontests.py', 'description': 'Binary operator for comparing NA values.', 'signature': 'def na_cmp():'}</s>{'name': 'data_missing_for_sorting@pint_pandas/testsuite/test_pandas_extensiontests.py', 'description': 'DOCSTRING', 'code': 'def data_missing_for_sorting(nu... | 0 |
{'name': 'main@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'Main function, triggered by Azure Storage Queue, parsed queue content and call ingest_to_ADX\n:param msg: func.QueueMessage\n:return: None', 'signature': 'def main(msg: func.QueueMessage) -> None:'}... | 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_SLTI = 28799 | 0 |
{'name': '_export_xml@contrib/xml/xmlio.py', 'description': 'Exports Tulip data structures to XML structures for later import.\n\nThis function is called both internal\n\n@param data:\n the data structure to be exported into an XML tree.\n@return:\n `None` (if parent is not `None`), or\n an xml tree', 'signatu... | 0 |
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ... | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 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': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign... | 0 |
{'name': 'check_sign_f8_quantization@onnxruntime/test/python/quantization/op_test_utils.py', 'description': 'Quantization to float 8 type does not change the sign as zero_point is always null.\nThis function checks that the quantized parameters did not change.', 'signature': 'def check_sign_f8_quantization(model_path_o... | 0 |
{'name': 'init_media@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard,\nand sound cache', 'signature': 'def init_media():'}</s>FIRST_PERSON_MODE = [4211] | 0 |
{'name': 'crdt_test@agent/test_client.py', 'description': 'Tests the Milestone 2 flow.\n1. Agent 1 makes a local change\n2. Check that Agent 2 received the changes\n3. Repeat\n4. Agent 2 makes a local change\n5. Check that Agent 1 received the changes', 'signature': 'def crdt_test():'}</s>{'name': 'send_new_patches@age... | 1 |
{'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': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>CONF_MAX_LOG_ENTRIES = "max_log_entries" | 0 |
{'name': '_AutoReject.fit@autoreject/autoreject.py', 'description': 'Compute the thresholds.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object from which the channel-level thresholds are\n estimated.\n\nReturns\n-------\nself : instance of _AutoReject\n The instance.', 'signature':... | 1 |
{'name': 'test_validate_program@gplearn/tests/test_genetic.py', 'description': 'Check that valid programs are accepted & invalid ones raise error', 'signature': 'def test_validate_program():'}</s>{'name': 'test_verbose_output@gplearn/tests/test_genetic.py', 'description': 'Check verbose=1 does not cause error', 'code':... | 0 |
{'name': 'main._generate_dos@mcu/qe/qe.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 _generate_dos... | 0 |
{'name': 'parse_content_transfer_encoding_header@src/future/backports/email/_header_value_parser.py', 'description': 'mechanism\n\n ', 'signature': 'def parse_content_transfer_encoding_header(value):'}</s>{'name': 'MIMEVersion@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRING', 'base_cla... | 0 |
{'name': 'GF.cosets@scripts/commpy/channelcoding/gfields.py', 'description': 'Compute the cyclotomic cosets of the Galois field.', 'signature': 'def cosets(self):'}</s>{'name': 'GF@scripts/commpy/channelcoding/gfields.py', 'description': 'Defines a Binary Galois Field of order m, containing n,\nwhere n can be a single ... | 1 |
{'name': 'adjust_contrast@utils/transforms.py', 'description': 'Adjust contrast of an RGB image.\nArgs:\n vid (Tensor): Video to be adjusted [C,N,H,W].\n contrast_factor (1D float tensor): How much to adjust the contrast. Can be any\n non negative number. 0 gives a solid gray image, 1 gives the\n or... | 0 |
{'name': 'TestMibSnimpy.testLoadInvalidModule@tests/test_mib.py', 'description': 'Check that an obviously invalid module cannot be loaded', 'signature': 'def testLoadInvalidModule(self):'}</s>{'name': 'getNodes@snimpy/mib.py', 'description': 'Return all nodes from a given MIB.\n\n:param mib: The MIB name\n:return: The ... | 1 |
{'name': 'url_unparse@SneakerBot 2019/venv/lib/python3.7/site-packages/werkzeug/urls.py', 'description': 'The reverse operation to :meth:`url_parse`. This accepts arbitrary\nas well as :class:`URL` tuples and returns a URL as a string.\n\n:param components: the parsed URL as tuple which should be converted\n ... | 0 |
{'name': 'getWorkloadLensReview@static/watool/utilities/Code/exportImportWAFR.py', 'description': 'List all lenses currently available', 'signature': 'def getWorkloadLensReview('}</s>FILENAME = ARGUMENTS.fileName | 0 |
{'name': 'loadPlugins@packstack/installer/run_setup.py', 'description': 'Load All plugins from ./plugins', 'signature': 'def loadPlugins():'}</s>INFO_VAL_STRING_EMPTY = "Warning: The %s parameter is empty" | 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': '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': 'BertSelfOutput@purifier/modeling_purifier.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], ... | 0 |
{'name': 'plot_network@wntr/graphics/network.py', 'description': 'Plot network graphic\n \nParameters\n----------\nwn : wntr WaterNetworkModel\n A WaterNetworkModel object\n \nnode_attribute : None, str, list, pd.Series, or dict, optional\n \n - If node_attribute is a string, then a node attribut... | 0 |
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>recent = run_dir + "/recent.txt" | 0 |
{'name': '_NestingState.Update@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to cal... | 0 |
{'name': 'load_tf_weights_in_bert@large_nocls/pytorch_transformers/modeling_bert.py', 'description': 'Load tf checkpoints in a pytorch model.\n ', 'signature': 'def load_tf_weights_in_bert(model, config, tf_checkpoint_path):'}</s>ACT2FN = {"gelu": gelu, "relu": torch.nn.functional.relu, "swish": swish} | 0 |
{'name': 'yscale_anchored_text@src/mplhep/plot.py', 'description': 'Automatically scale y-axis up to fit AnchoredText\n\nParameters\n----------\n ax : matplotlib.axes.Axes, optional\n Axes object (if None, last one is fetched or one is created)\n otol : float, optional\n Tolerance for overlap, defau... | 0 |
{'name': 'convert_loras_to_safeloras_with_embeds@lora_diffusion/lora.py', 'description': 'Converts the Lora from multiple pytorch .pt files into a single safetensor file.\n\nmodelmap is a dictionary of {\n "module name": (pytorch_model_path, target_replace_module, rank)\n}', 'signature': 'def convert_loras_to_safelo... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.