text
string
label
int64
{'name': '_StreamBase.__init__@sounddevice.py', 'description': "Base class for PortAudio streams.\n\nThis class should only be used by library authors who want to\ncreate their own custom stream classes.\nMost users should use the derived classes\n`Stream`, `InputStream`, `OutputStream`,\n`RawStream`, `RawInputStream` ...
0
{'name': 'find_related_origin@django_eventstream/utils.py', 'description': "Find a related origin from a list of CORS (Cross-Origin Resource Sharing) origins\nbased on the request's absolute URI.\n\nArgs:\n request (HttpRequest): The HTTP request object.\n cors_origins (list): A list of CORS origins.\n\nReturns:\...
0
{'name': 'merge@pairtools/cli/merge.py', 'description': 'Merge .pairs/.pairsam files.\nBy default, assumes that the files are sorted and maintains the sorting.\n\nMerge triu-flipped sorted pairs/pairsam files. If present, the @SQ records\nof the SAM header must be identical; the sorting order of\nthese lines is taken f...
0
{'name': '__coord_n@librosa/display.py', 'description': 'Get bare positions', 'signature': 'def __coord_n(n: int, **_kwargs: Any) -> np.ndarray:'}</s>{'name': 'TimeFormatter@librosa/display.py', 'description': 'A tick formatter for time axes.\n\nAutomatically switches between seconds, minutes:seconds,\nor hours:minutes...
0
{'name': 'BaseCommand.main@SneakerBot 2019/venv/lib/python3.7/site-packages/click/core.py', 'description': 'This is the way to invoke a script with all the bells and\nwhistles as a command line application. This will always terminate\nthe application after a call. If this is not wanted, ``SystemExit``\nneeds to be ca...
0
{'name': 'mach_o_change@python/virtualenv/virtualenv.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>{'name': 'copy_required_modules@python/virtualenv/virtu...
0
{'name': 'Imputer.fit@datawig/imputer.py', 'description': "Trains and stores imputer model\n\n:param train_df: training data as dataframe\n:param test_df: test data as dataframe; if not provided, [test_split] % of the training\n data are used as test data\n:param ctx: List of mxnet contexts (if no gpu's ...
1
{'name': 'noise_per_object_v3_@mmdetection3d/mmdet3d/datasets/pipelines/data_augment_utils.py', 'description': 'Random rotate or remove each groundtruth independently. use kitti viewer\nto test this function points_transform_\n\nArgs:\n gt_boxes (np.ndarray): Ground truth boxes with shape (N, 7).\n points (np.nda...
1
{'name': 'Ava._images_and_boxes_preprocessing@models/SlowFast/slowfast/datasets/ava_dataset.py', 'description': 'This function performs preprocessing for the input images and\ncorresponding boxes for one clip.\n\nArgs:\n imgs (tensor): the images.\n boxes (ndarray): the boxes for the current clip.\n\nReturns:\n ...
0
{'name': 'get_precision@pyrgg/functions.py', 'description': 'Return precision of input number.\n\n:param input_number: input number\n:type input_number: float\n:return: precision as int', 'signature': 'def get_precision(input_number):'}</s>SUFFIX_MENU = { 1: ".gr", 2: ".json", 3: ".csv", 4: ".yaml", ...
0
{'name': 'FffYmltoCFsConv.fff_yml_2_tree@Utilities/fineFileFramework/source/fine_file_framework/template/fffyml2c.py', 'description': 'yml scanner entry', 'signature': "def fff_yml_2_tree(self, data, path='', level=0):"}</s>{'name': 'FffHostFileTree@Utilities/fineFileFramework/source/fine_file_framework/template/fffyml...
1
{'name': 'determine_version_to_include_in_release@extra/release_tool.py', 'description': 'Returns True if the user decided on the component, False if the user\nskips the decision for later', 'signature': 'def determine_version_to_include_in_release(state, repo):'}</s>{'name': 'NotAVersionException@extra/release_tool.py...
0
{'name': 'Locale.year_abbreviation@arrow/locales.py', 'description': 'Returns the year for specific locale if available\n\n:param year: the ``int`` year (4-digit)', 'signature': 'def year_abbreviation(self, year: int) -> str:'}</s>{'name': 'JapaneseLocale@arrow/locales.py', 'description': 'DOCSTRING', 'base_classes': [...
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>MQRC_INCONSISTENT_PERSISTENCE = 2185
0
{'name': 'is_mask@eoreader/bands/__init__.py', 'description': 'Returns True if is a Mask band (from :code:`MaskBandNames`)\n\nArgs:\n mask (BandType): Anything that could be a Mask band\n\nReturns:\n bool: True if the band asked is a Mask band\n\nExamples:\n\n >>> from eoreader.bands import NDVI, HH, GREEN, SL...
0
{'name': 'connect_persistent_db@db.py', 'description': 'Create on disk database\n\n@returns: connection and cursor objects as conn and cur', 'signature': 'def connect_persistent_db():'}</s>{'name': 'prepare_ship_data@db.py', 'description': 'Download all ship ids and names from ESI and save in OPTIONS_OBJECT.', 'code': ...
1
{'name': 'SimpleBlock.__init__@models/kpconv/blocks.py', 'description': 'Initialize a simple convolution block with its ReLU and BatchNorm.\n:param in_dim: dimension input features\n:param out_dim: dimension input features\n:param radius: current radius of convolution\n:param config: parameters', 'signature': 'def __in...
0
{'name': 'GSComponent.drawPoints@Lib/glyphsLib/classes.py', 'description': 'Draws points of component with given point pen.', 'signature': 'def drawPoints(self, pointPen: AbstractPointPen) -> None:'}</s>GSLINE_ = 1
0
{'name': '_synchronize_async_fixture@pytest_asyncio/plugin.py', 'description': 'Wraps the fixture function of an async fixture in a synchronous function.', 'signature': 'def _synchronize_async_fixture(fixturedef: FixtureDef) -> None:'}</s>{'name': '_provide_event_loop@pytest_asyncio/plugin.py', 'description': 'DOCSTRIN...
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': 'TestDateUtils.test_datetime_to_timestamp_implicit_utc@tests/test_dateutils.py', 'description': 'onedrivesdk-python returns datetime objects that do not have tzinfo but onedrive_client wants it to be explicit.\nThis test case check if the machine and program can handle implicit UTC.', 'signature': 'def test_da...
1
{'name': 'main@agfusion/cli.py', 'description': 'Main function for processing command line options', 'signature': 'def main():'}</s>PROTEIN_ANNOTATIONS = [ "pfam", "smart", "superfamily", "tigrfam", "pfscan", "tmhmm", "seg", "ncoils", "prints", "pirsf", "signalp", ]
0
{'name': 'improve_order_regularization@wobble/regularization/regularization.py', 'description': 'Use a validation scheme to determine the best regularization parameters for \nall model components in a given order.\nUpdate files at star_filename, tellurics_filename with the best parameters.\n ...
0
{'name': '_decompose_affine@tf2_geometry_msgs/src/tf2_geometry_msgs/tf2_geometry_msgs.py', 'description': 'Decompose an affine transformation into a quaternion and the translation.\n\n:param affine: The affine transformation matrix\n:returns: The quaternion and the translation array', 'signature': 'def _decompose_affin...
0
{'name': 'PointCloud.from_msg@pypcd/pypcd.py', 'description': 'from pointcloud2 msg\nsqueeze: fix when clouds get 1 as first dim', 'signature': 'def from_msg(msg, squeeze=True):'}</s>numpy_pcd_type_mappings = [(np.dtype('float32'), ('F', 4)), (np.dtype('float64'), ('F', 8)), ...
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': 'InterfaceTestCase.test_missing_annotation@marbles/core/tests/test_marbles.py', 'description': 'Does marbles check for missing annotations?', 'signature': 'def test_missing_annotation(self):'}</s>{'name': 'load_tests@marbles/core/tests/test_marbles.py', 'description': 'DOCSTRING', 'code': "def load_tests(loade...
0
{'name': 'get_dir@util/io.py', 'description': 'return the directory it belongs to.\nif path is a directory itself, itself will be return ', 'signature': 'def get_dir(path):'}</s>{'name': 'remove_all@util/strs.py', 'description': 'DOCSTRING', 'code': "def remove_all(s, sub):\n return replace_all(s, sub, '')"}
0
{'name': 'TestStandardLibraryReorganization.test_disable_hooks@tests/test_future/test_standard_library.py', 'description': 'Tests the old (deprecated) names. These deprecated aliases should be\nremoved by version 1.0', 'signature': 'def test_disable_hooks(self):'}</s>{'name': 'import_@src/future/standard_library/__init...
0
{'name': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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 leng...
0
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'max_dim_1D@src/python_scripts/afnipy/afni_util.py', 'description': 'return the larger of the num...
0
{'name': 'get_argument_sources@varname/utils.py', 'description': "Get the sources for argument from an ast.Call node\n\n>>> def func(a, b, c, d=4):\n>>> ...\n>>> x = y = z = 1\n>>> func(y, x, c=z)\n>>> # argument_sources = {'a': 'y', 'b', 'x', 'c': 'z'}\n>>> func(y, x, c=1)\n>>> # argument_sources = {'a': 'y', 'b', 'x...
0
{'name': 'ZKProof.get_array@examples/genzkp.py', 'description': 'Returns an array of variables', 'signature': 'def get_array(self, vtype, name, number, start=0):'}</s>{'name': 'ConstGen@examples/genzkp.py', 'description': 'Represents a generator constant in the environment', 'base_classes': ['Gen'], 'methods': [{'name'...
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': 'init_config@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_database.py', 'description': 'get config from environment\n ', 'signature': 'def init_config():'}</s>SUBSCRIPTION_ID = None
1
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi...
0
{'name': 'map_languages@bcml/mergers/texts.py', 'description': 'Function to map languages from one set to another\n\nParameter: dest_langs: Set[str] - The languages to be mapped to\n- For diffing: the languages our mod has packs for, to diff with\n- For merging: the languages the user has, that we want to merge into\n\...
0
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_store_new@language-bindings/python/src/wamr/wasmcapi/binding.py...
0
{'name': 'IotivitynodeRuntimeTest.tearDown@meta-iotqa/lib/oeqa/runtime/programming/nodejs/iotivity_node_upstream.py', 'description': 'Clean work: remove all the files downloaded on host,\ncopied to the target device during the test and reset firewall setting.\n@fn tearDown\n@param self', 'signature': 'def tearDown(self...
1
{'name': 'correct@scanorama/scanorama.py', 'description': 'Integrate and batch correct a list of data sets.\n\nParameters\n----------\ndatasets_full : `list` of `scipy.sparse.csr_matrix` or of `numpy.ndarray`\n Data sets to integrate and correct.\ngenes_list: `list` of `list` of `string`\n List of genes for each ...
1
{'name': 'versions_from_parentdir@versioneer.py', 'description': 'Try to determine the version from the parent directory name.\n\nSource tarballs conventionally unpack into a directory that includes both\nthe project name and a version string. We will also support searching up\ntwo directory levels for an appropriately...
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': 'add_spectroscopic_redshifts@grizli/aws/db.py', 'description': "Add spectroscopic redshifts to the photometry_apcorr table\...
0
{'name': 'Diagram.ba@discopy/grammar/categorial.py', 'description': 'Backward application. ', 'signature': 'def ba(left, right):'}</s>{'name': 'unaryBoxConstructor@discopy/grammar/categorial.py', 'description': 'DOCSTRING', 'code': "def unaryBoxConstructor(attr):\n class Constructor:\n @classmethod\n d...
0
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'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>MQ_RESPONSE_ID_LENGTH = 24
0
{'name': 'TokenizerTest.testConsumeOctalIntegers@python/google/protobuf/internal/text_format_test.py', 'description': 'Test support for C style octal integers.', 'signature': 'def testConsumeOctalIntegers(self):'}</s>_FLOAT_INFINITY = re.compile('-?inf(?:inity)?f?$', re.IGNORECASE)
0
{'name': 'test_eigen_return_references@bindings/python/ext/pybind11/tests/test_eigen_matrix.py', 'description': 'Tests various ways of returning references and non-referencing copies', 'signature': 'def test_eigen_return_references():'}</s>{'name': 'test_numpy_ref_mutators@bindings/python/ext/pybind11/tests/test_eigen_...
0
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n...
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...
0
{'name': 'RasterMap@MRT_FUNC_PY4.py', 'description': 'Make a map centered at a given point, with given dimensions', 'signature': 'def RasterMap():'}</s>ENABLE = b'E'
1
{'name': 'aux_f1@copulae/stats/stable/pdf.py', 'description': 'Auxiliary for pdf calculation when :math:`\\alpha \\neq 1`\n\nParameters\n----------\nx: scalar\n Input vector\n\nalpha: float\n Value of the index parameter alpha in the interval = (0, 2]\n\nbeta: float\n Skew parameter\n\nlog: bool\n If True, ...
0
{'name': 'TBDeviceMqttClient.send_rpc_reply@tb_device_mqtt.py', 'description': 'Send RPC reply to ThingsBoard. The response will be sent to the RPC_RESPONSE_TOPIC with the request id.', 'signature': 'def send_rpc_reply(self, req_id, resp, quality_of_service=None, wait_for_publish=False):'}</s>FW_TITLE_ATTR = "fw_title"
0
{'name': 'routing@Chapter10/helper_functions.py', 'description': 'This function performs the routing algorithm as mentioned in the paper\n:parameter u: Input tensor with [batch_size, num_caps_input_layer=1152, 1, caps_dim_input_layer=8, 1] shape.\n NCAPS_CAPS1: num capsules in the PrimaryCaps layer l\n ...
0
{'name': 'parse_srst2_ar@bin/GRiPHin.py', 'description': 'Parsing the srst2 file run on the ar gene database.', 'signature': 'def parse_srst2_ar(srst2_file, ar_dic, final_srst2_df, sample_name):'}</s>{'name': 'convert_excel_to_tsv@bin/GRiPHin.py', 'description': 'Reads in the xlsx file that was just created, outputs as...
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': '_make_json_entry@s2e_env/commands/execution_trace.py', 'description': "Combine a trace entry header and item into a single JSON-serializable\nentry. Return this entry as a ``dict``.\n\nSome things to note:\n * The header's ``size`` field is removed - it is not required in the\n JSON\n * Enums are r...
0
{'name': 'fetchlist_dk@xbrl_local/xbrl_ai_dk.py', 'description': "Opslag til ERST json indeks indeholdende regnskaber i XBRL eller uden XBRL:\n\nCVRnummer:\n 8 cifret string bestående af tal.\n\ndate:\n Tekststring med formattet: YYYY-MM-DD\n dd: Default. Dags dato (time)\n\n Anvendes kun hvis style == 'dic...
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': 'Directive@pygraphy/introspection.py', 'description': 'DOCSTRING', 'base_classes': ['Object'], 'methods': []}
0
{'name': 'ConfigObj.__init__@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'Parse a config file or create a config file object.\n\n``ConfigObj(infile=None, configspec=None, encoding=None,\n interpolation=True, raise_errors=False, list_values=True,\n create_empty=False, file_error=False, str...
0
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>SERVICE_CANCEL = "cancel"
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP_DATACONVERR = 31
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIGQPA_ONLY_IGQ = 3
0
{'name': 'make_default_config@atlas/make_config.py', 'description': 'generates a dict with all the default values, if they exist', 'signature': 'def make_default_config():'}</s>DIAMOND_BLOCK_SIZE = 2
0
{'name': 'action_update_article_cache@apps/easytask/actions.py', 'description': '更新所有文章的缓存,缓存格式跟文章视图保持一致\n@return:', 'signature': 'def action_update_article_cache():'}</s>{'name': 'action_check_site_links@apps/easytask/actions.py', 'description': '校验导航网站有效性,只校验状态为True或者False的,为空的不校验,所以特殊地址可以设置成空跳过校验\n@param white_domai...
0
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`...
0
{'name': 'Photo.getPhotoFile@flickr_api/objects.py', 'description': " returns the URL to the photo file corresponding to the\n given size.\n\nArguments:\n size_label: The label corresponding to the photo size\n\n 'Square': 75x75\n 'Thumbnail': 100 on longest side\n 'Small': 240 on longest...
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>MQCHS_RUNNING = 3
0
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_7 = CScriptOp(0x57)
0
{'name': 'ZiGate.__haddr@zigate/core.py', 'description': 'convert int addr to hex ', 'signature': 'def __haddr(self, int_addr, length=4):'}</s>{'name': 'register_actions@zigate/core.py', 'description': 'DOCSTRING', 'code': 'def register_actions(action):\n def decorator(func):\n if action not in ACTIONS:\n ...
0
{'name': 'intPrefixedToBytes@tubes/framing.py', 'description': 'Prepend packed network endian lengths to a sequence of bytes representing\nframes.\n\n@param prefixBits: The number of bits to use for the length prefix: either\n 8, 16, or 32.\n\n@return: a new L{ITube} that does the conversion.', 'signature': 'def int...
0
{'name': 'YoutubeDL.process_info@script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py', 'description': 'Process a single resolved IE result.', 'signature': 'def process_info(self, info_dict):'}</s>{'name': 'sanitized_Request@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'code': "def san...
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>ERR_INVALID_SEQ = 4
0
{'name': 'HeroesMap.xyz_set_river@h3m/phlm/phlm.py', 'description': 'Sets the road of the specified coordinate. \nAccepts: None, Clear, Icy, Muddy, Lava', 'signature': 'def xyz_set_river(self, x, y, z, type = Dirt):'}</s>Pink = c_int(7)
0
{'name': 'read_signature@mhkit/dolfyn/io/nortek2.py', 'description': 'Read a Nortek Signature (.ad2cp) datafile\n\nParameters\n----------\nfilename : string\n The filename of the file to load.\nuserdata : bool\n To search for and use a .userdata.json or not\nnens : None, int or 2-element tuple (start, stop)\n Number...
1
{'name': 'terminal_size@libs/terminaltables/terminal_io.py', 'description': 'Get the width and height of the terminal.\n\nhttp://code.activestate.com/recipes/440694-determine-size-of-console-window-on-windows/\nhttp://stackoverflow.com/questions/17993814/why-the-irrelevant-code-made-a-difference\n\n:param kernel32: Opt...
1
{'name': 'TestNewPg._test_single_node_progress@smr/test/integrated/test_newpg.py', 'description': 'test progress where smr replicator moves LCONN state repeatedly', 'signature': 'def _test_single_node_progress(self):'}</s>{'name': 'TestNewPg@smr/test/integrated/test_newpg.py', 'description': 'DOCSTRING', 'base_classes'...
1
{'name': 'train_one_epoch@train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def train_one_epoch(sess, ops, train_writer):'}</s>{'name': 'get_learning_rate@train.py', 'description': 'DOCSTRING', 'code': 'def get_learning_rate(batch):\n learning_rate = tf.train.exponential_decay(\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': 'train_flow@experiments/train.py', 'description': 'AF training ', 'signature': 'def train_flow(args, dataset, model, simulator):'}</s>{'name': 'score_mse@experiments/training/losses.py', 'description': 'SCANDAL score MSE ', 'code': 'def score_mse(x_pred, x_true, log_p, t_pred=None, t_xz=None, hidden=None):\n ...
0
{'name': 'generate_gbnf_grammar_and_documentation@examples/pydantic_models_to_grammar.py', 'description': 'Generate GBNF grammar and documentation for a list of Pydantic models.\n\nArgs:\n pydantic_model_list: List of Pydantic model classes.\n outer_object_name (str): Outer object name for the GBNF grammar. If No...
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': 'get_search_url@linguee_api/linguee_client.py', 'description': 'Return a Linguee URL.', 'signature': 'def get_search_url('}</s>{'name': 'FollowCorrections@linguee_api/models.py', 'description': 'DOCSTRING', 'base_classes': ['Enum'], 'methods': []}
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': 'BMP3XX.pressure@python/samples/bmp390.py', 'description': 'The pressure in hPa.', 'signature': 'def pressure(self):'}</s>__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BMP3XX.git"
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': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMDI_BACKUP_STARTED = 12
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>RequestVertex = DvzRequestVertex
0
{'name': 'get_signature_string@src/makefun/main.py', 'description': 'Returns the string to be used as signature.\nIf there is a non-native symbol in the defaults, it is created as a variable in the evaldict\n:param func_name:\n:param func_signature:\n:return:', 'signature': 'def get_signature_string(func_name, func_sig...
0
{'name': 'writePreamble@cxxtest/cxxtestgen.py', 'description': 'Write the CxxTest header (#includes and #defines)', 'signature': 'def writePreamble( output ):'}</s>noExceptionHandling = 0
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMON_MEDIUM = 33
0
{'name': 'Placeholders_Calls.test1@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'func placeholder - no ()', 'signature': 'def test1(self):'}</s>{'name': 'BreakDirective@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': [{'name': 'BreakDirective.test1@Cheetah/...
0
{'name': '_transform_attrs@vendor/attr/_make.py', 'description': "Transform all `_CountingAttr`s on a class into `Attribute`s.\n\nIf *these* is passed, use that and don't look for them on the class.\n\n*collect_by_mro* is True, collect them in the correct MRO order, otherwise\nuse the old -- incorrect -- order. See #4...
0
{'name': 'Function.make_params@panoramix/function.py', 'description': "figures out parameter types from the decompiled function code.\n\ndoes so by looking at all 'cd'/calldata occurences and figuring out\nhow they are accessed - are they masked? are they used as pointers?", 'signature': 'def make_params(self):'}</s>EN...
0
{'name': 'init_db@app/commands/init_db.py', 'description': 'Initialize the database.', 'signature': 'def init_db():'}</s>{'name': 'create_users@app/commands/init_db.py', 'description': 'Create users ', 'code': 'def create_users():\n """ Create users """\n\n # Create all tables\n db.create_all()\n\n # Adding...
1
{'name': 'main@blogs/ecs-canary-deployments-pipeline/setup/scripts/delete_blog_contents.py', 'description': 'Main function. ', 'signature': 'def main():'}</s>{'name': '_delete_ecr_images@blogs/ecs-canary-deployments-pipeline/setup/scripts/delete_blog_contents.py', 'description': 'Delete the ECR Images built by individu...
1
{'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._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': 'PingBinarySensor.available@cfg/hass/custom_components/ping_en/binary_sensor.py', 'description': 'Return if we have done the first ping.', 'signature': 'def available(self) -> bool:'}</s>{'name': 'PingData@cfg/hass/custom_components/ping_en/binary_sensor.py', 'description': 'The base class for handling the dat...
0
{'name': 'split_into_segments@preprocess.py', 'description': 'Split into segments.\nAdd subtokens, subtoken_map, info for each segment; add CLS, SEP in the segment subtokens\nInput document_state: tokens, subtokens, token_end, sentence_end, utterance_end, subtoken_map, info', 'signature': 'def split_into_segments(docum...
0