text string | label int64 |
|---|---|
{'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': 'TestFile.test_file_dest@python/mozbuild/mozpack/test/test_files.py', 'description': 'Similar to test_file, but for a destination object instead of\na destination file. This ensures the destination object is being\nused properly by File.copy, ensuring that other subclasses of Dest\nwill work.', 'signature': 'd... | 0 |
{'name': 'Scene.state_derivatives@machupX/scene.py', 'description': 'Determines the derivatives of forces and moments at the current state\nwith respect to the 13 element state vector. Uses a central difference scheme.\nThese states are:\n\n Position in Earth-fixed coordinates.\n Velocity in body-fixed coordinate... | 0 |
{'name': 'NetSuiteClient.request@netsuitesdk/internal/client.py', 'description': "Make a NetSuite web service request\n\n:param str name: the name of the request service ('get', 'search', ...)\n:return: the request response object\n:rtype: the exact type depends on the request", 'signature': 'def request(self, name, *a... | 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_tabletype_limits@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def w... | 0 |
{'name': 'test_in_place_or_with_two_empty_counters@tests/test_counter.py', 'description': 'Test RedisCounter.__ior__() with two empty counters', 'signature': 'def test_in_place_or_with_two_empty_counters(redis: Redis) -> None:'}</s>{'name': 'test_init_with_iterable@tests/test_counter.py', 'description': 'DOCSTRING', 'c... | 0 |
{'name': 'displayInfo@source/pi-timolo.py', 'description': 'Display variable settings with plugin overlays if required', 'signature': 'def displayInfo(motioncount, timelapsecount):'}</s>TRACK_TRIG_LEN_MIN = int(MOTION_TRACK_TRIG_LEN / 6) | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>FIELD_TYPE_TO_WIRE_TYPE = {
_FieldDescriptor.TYPE_DOUBLE: wire_format.WIRETYPE_FIXED64,
_FieldDescriptor.TYPE_FLOAT: wire... | 0 |
{'name': 'get_max_w_pen@src/SparseSC/utils/penalty_utils.py', 'description': 'Calculates maximum value of w_pen for which the elements of tensor\nmatrix (V) are not all zero conditional on the provided v_pen\n\nRelies on the fact that conditional on the data `v_pen * w_pen` is constant', 'signature': 'def get_max_w_pen... | 1 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'PropKB.tell@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Add the sentence's clauses to the KB.", 'signature': 'def tell(self, sentence):'}</s>{'name': 'find_pure_symbol@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'Find a symbol and its value if it appears only as a po... | 0 |
{'name': 'takePano@source/pi-timolo.py', 'description': 'Take a series of overlapping images using pantilt at specified PANO_CAM_STOPS\nthen attempt to stitch the images into one panoramic image. Note this\nwill take time so depending on number of cpu cores and speed. The PANO_TIMER\nshould be set to avoid multiple sti... | 0 |
{'name': 'get_measures@gnocchi/rest/aggregates/processor.py', 'description': 'Get aggregated measures of multiple entities.\n\n:param storage: The storage driver.\n:param metrics_and_aggregations: List of metric+agg_method tuple\n measured to aggregate.\n:param from timestamp: The timest... | 1 |
{'name': 'TestConnection.test_identify_deflate_unsupported@test/test_connection.py', 'description': 'Raises an exception about the lack of deflate support', 'signature': 'def test_identify_deflate_unsupported(self):'}</s>CLS = b'CLS' | 0 |
{'name': 'get_includes@compilelib.py', 'description': 'Gets a list of included local header files from the given source file.\n(e.g., #include <nba/xxx/xxxx.hh>)', 'signature': 'def get_includes(srcfile, nba_include_dir):'}</s>_rx_export_elem_decl = re.compile(r'^EXPORT_ELEMENT\(([a-zA-Z0-9_]+)\)') | 0 |
{'name': 'TerraformCommand.destroy@pretf/pretf/command.py', 'description': 'Runs terraform destroy and returns the stdout.', 'signature': 'def destroy(self, *args: str) -> str:'}</s>__all__ = [
"create_files",
"custom",
"default",
"delete_files",
"execute_terraform",
"mirror_files",
"require... | 0 |
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>converge = 0.0002 | 0 |
{'name': 'im_detect_3d@lib/rpn_util.py', 'description': 'Object detection in 3D', 'signature': 'def im_detect_3d(im, net, rpn_conf, preprocess, p2, gpu=0, synced=False, return_base=False):'}</s>{'name': 'get_polygon_grid@lib/util.py', 'description': 'DOCSTRING', 'code': 'def get_polygon_grid(im, poly_verts):\n\n fro... | 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': 'save_config@pyrgg/functions.py', 'description': 'Save input_dict as the generation config.\n\n:param input_dict: input data\n:type input_dict: dict\n:return: path to file as str', 'signature': 'def save_config(input_dict):'}</s>{'name': 'json_to_yaml@pyrgg/functions.py', 'description': 'Convert json file to y... | 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_func_new@language-bindings/python/src/wamr/wasmcapi/binding.py'... | 0 |
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/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>GNUTYPE_SPARSE = b'S' | 1 |
{'name': 'RestApi.create_deck@tinycards/networking/rest_api.py', 'description': 'Create a new Deck for the currently logged in user.\n\nArgs:\n deck (Deck): The Deck object to create.\n\nReturns:\n Deck: The created Deck object if creation was successful.', 'signature': 'def create_deck(self, deck):'}</s>{'name':... | 1 |
{'name': 'DetectionNetwork.postprocess_fastrcnn@libs/networks/build_whole_network.py', 'description': ':param rois:[-1, 4]\n:param bbox_ppred: [-1, (cfgs.Class_num+1) * 4]\n:param scores: [-1, cfgs.Class_num + 1]\n:return:', 'signature': 'def postprocess_fastrcnn(self, rois, bbox_ppred, scores, img_shape):'}</s>ROOT_PA... | 0 |
{'name': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-p... | 0 |
{'name': 'writeInitialize@cxxtest/cxxtestgen.py', 'description': 'Write CxxTest::initialize(), which replaces static initialization', 'signature': 'def writeInitialize(output):'}</s>{'name': 'scanLineForDestroy@cxxtest/cxxtestgen.py', 'description': 'Check if current line defines a destroySuite() function', 'code': "de... | 0 |
{'name': 'db_open@versions/speed-cam_11.26.py', 'description': 'Insert speed data into database table', 'signature': 'def db_open(db_file):'}</s>{'name': 'subDirCheckMaxFiles@versions/speed-cam_11.26.py', 'description': 'Count number of files in a folder path', 'code': 'def subDirCheckMaxFiles(directory, filesMax):\n ... | 0 |
{'name': 'RemoveSelfDependencies@gyp/pylib/gyp/input.py', 'description': 'Remove self dependencies from targets that have the prune_self_dependency\nvariable set.', 'signature': 'def RemoveSelfDependencies(targets):'}</s>path_sections = set() | 0 |
{'name': 'update_weights_gd@chapter5/logistic_regression_from_scratch.py', 'description': 'Update weights by one step', 'signature': 'def update_weights_gd(X_train, y_train, weights, learning_rate):'}</s>X_train = X[:n_train] | 1 |
{'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': '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': '_rd_dat_signals@wfdb/io/_signal.py', 'description': "Read all signals from a WFDB dat file.\n\nParameters\n----------\nfile_name : str\n The name of the dat file.\ndir_name : str\n The full directory where the dat file(s) are located, if the dat\n file(s) are local.\npn_dir : str\n The PhysioNet d... | 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': 'Fairplay3.cycle@ap2/fairplay3.py', 'description': 'key_schedule is a 2d array of integral values', 'signature': 'def cycle(self, block: bytes, key_schedule: bytes):'}</s>sap_iv = [0x2B, 0x84, 0xFB, 0x79, 0xDA, 0x75, 0xB9, 0x04, 0x6C, 0x24, 0x73, 0xF7, 0xD1, 0xC4, 0xAB, 0x0E, 0x2B, 0x84, 0xFB, 0x79, 0x75, 0xB9... | 0 |
{'name': 'RasterArray.clip@rioxarray/raster_array.py', 'description': 'Crops a :obj:`xarray.DataArray` by geojson like geometry dicts.\n\nPowered by `rasterio.features.geometry_mask`.\n\nExamples:\n\n >>> geometry = \'\'\' {"type": "Polygon",\n ... "coordinates": [\n ... [[-94.0... | 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': 'test_check_tuples_invalid_shape@test/test_utils.py', 'description': 'Checks that a value error with the appropriate message is raised if\nshape is invalid (not 2D with preprocessor or 3D with no preprocessor)', 'signature': 'def test_check_tuples_invalid_shape(estimator, context, tuples, found,'}</s>{'name': ... | 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': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_self_validation@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_self_validation():\n sch... | 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... | 1 |
{'name': 'DebPkgToolsTestCase.test_custom_pretty_printer@deb_pkg_tools/tests.py', 'description': 'Test pretty printing of control file fields and parsed relationships.', 'signature': 'def test_custom_pretty_printer(self):'}</s>{'name': 'find_object_files@deb_pkg_tools/package.py', 'description': 'Find binary executable... | 0 |
{'name': 'TestPintArray.test_reduce_scaling@pint_pandas/testsuite/test_pandas_extensiontests.py', 'description': 'Make sure that the reductions give the same physical result independent of the unit representation.\n\nThis verifies that the result units are sensible.', 'signature': 'def test_reduce_scaling(self, data, a... | 0 |
{'name': 'test_tracking@PyGitUp/tests/test_tracking.py', 'description': "Run 'git up' with a local tracking branch ", 'signature': 'def test_tracking():'}</s>ON_WINDOWS = sys.platform == 'win32' | 0 |
{'name': 'GetPostCtrl.post_detail@back/controller/posts.py', 'description': '用户点击文章链接跳详情页的数据接口,返回在这里找\n:param post_info:\n:return:', 'signature': 'def post_detail(post_info):'}</s>{'name': 'PatchPostCtrl@back/controller/posts.py', 'description': '关于文章的部分更新,应该在这个中进行', 'base_classes': [], 'methods': [{'name': 'PatchPostC... | 0 |
{'name': 'DebPkgToolsTestCase.test_collect_packages@deb_pkg_tools/tests.py', 'description': 'Test the command line interface for collection of related packages.', 'signature': 'def test_collect_packages(self):'}</s>{'name': 'Context@deb_pkg_tools/tests.py', 'description': 'Context manager for simple and reliable finali... | 1 |
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>SIGHASH_ANYONECANPAY = 128 | 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': 'plot_gaussian_pdf@filterpy/stats/stats.py', 'description': "Plots a normal distribution PDF with the given mean and variance.\nx-axis contains the mean, the y-axis shows the probability density.\n\nParameters\n----------\n\nmean : scalar, default 0.\n mean for the normal distribution.\n\nvariance : scalar,... | 0 |
{'name': 'TestEPA.test_O3@test/test_epa.py', 'description': 'Test Ozone AQI', 'signature': 'def test_O3(self):'}</s>POLLUTANT_PM25 = "pm25" | 0 |
{'name': 'CombinedFunction.add_penalty@parsimony/functions/combinedfunctions.py', 'description': 'Add a penalty, i.e. a constraint on the Lagrange form.\n\nParameters\n----------\npenalty : Penalty\n A function that penalises the objective function.\n\naccepts_params : 2-tuple or list of 2-tuples\n The outer func... | 0 |
{'name': 'download@ytmdl/core.py', 'description': 'Download the song by using the passed link.\n\nThe song will be saved with the passed title.\nReturn the saved path of the song.', 'signature': 'def download(link, yt_title, args) -> str:'}</s>{'name': 'extract_part_convert@ytmdl/utility.py', 'description': 'Extract pa... | 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': 'ProcessLine@compiler-rt/lib/sanitizer_common/scripts/cpplint.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 l... | 0 |
{'name': 'TestSettings.test_force_lowercase_tags@tagging/tests/tests.py', 'description': 'Test forcing tags to lowercase. ', 'signature': 'def test_force_lowercase_tags(self):'}</s>{'name': 'TestTagFieldInForms@tagging/tests/tests.py', 'description': 'DOCSTRING', 'base_classes': ['TestCase'], 'methods': [{'name': 'Test... | 0 |
{'name': 'BaseTestDDSketches.test_add_multiple@tests/test_ddsketch.py', 'description': 'Test DDSketch on adding integer weighted values', 'signature': 'def test_add_multiple(self):'}</s>{'name': 'NegativeUniformForward@tests/datasets.py', 'description': 'DOCSTRING', 'base_classes': ['Dataset'], 'methods': [{'name': 'Ne... | 0 |
{'name': 'main@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Create the configuration module module.\n\nargv is the list of command line arguments.', 'signature': 'def main(argv):'}</s>sip_version_str = "4.11.2" | 1 |
{'name': 'VirtualBMCManager._sync_vbmc_states@virtualbmc/manager.py', 'description': 'Starts/stops vBMC instances\n\nWalks over vBMC instances configuration, starts\nenabled but dead instances, kills non-configured\nbut alive ones.', 'signature': 'def _sync_vbmc_states(self, shutdown=False):'}</s>{'name': 'DetachProces... | 0 |
{'name': 'AlarmoMasterEntity.__init__@custom_components/alarmo/alarm_control_panel.py', 'description': 'Initialize the alarm_control_panel entity.', 'signature': 'def __init__(self, hass: HomeAssistant, name: str, entity_id: str) -> None:'}</s>ARM_MODE_TO_STATE = {
"away": STATE_ALARM_ARMED_AWAY,
"home": STATE_... | 0 |
{'name': '_read_or_calc_samples@src/naima/plot.py', 'description': 'Get samples from blob or compute them from chain and sampler.modelfn', 'signature': 'def _read_or_calc_samples('}</s>{'name': '_plot_ulims@src/naima/plot.py', 'description': 'Plot upper limits as arrows with cap at value of upper limit.\n\nuplim behavi... | 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>BERT_PRETRAINED_MODEL_ARCHIVE_MAP = {
'bert-base-uncased': "https://s3.amazonaws.co... | 0 |
{'name': 'TerraformTest.generate_cache_hash@tftest.py', 'description': "Returns a hash value using the instance's attributes and method keyword arguments", 'signature': 'def generate_cache_hash(self, method_kwargs):'}</s>{'name': 'parse_args@tftest.py', 'description': "Convert method arguments for use in Terraform comm... | 0 |
{'name': 'course@module/save.py', 'description': 'create course folder ', 'signature': 'def course(url, lynda_folder_path):'}</s>{'name': 'find_cookie@module/cookies.py', 'description': 'Find the latest cookie file ', 'code': 'def find_cookie(desktop_folder, download_folder):\n \'\'\' Find the latest cookie file \'\... | 0 |
{'name': 'FancyPage.draw_background@rst2pdf/createpdf.py', 'description': 'Draws a background and/or foreground image\non each page which uses the template.\n\nCalculates the image one time, and caches\nit for reuse on every page in the template.\n\nHow the background is drawn depends on the\n--fit-background-mode opti... | 0 |
{'name': 'MaxAndSkipEnv.reset@wrappers.py', 'description': 'Clear past frame buffer and init. to first obs. from inner env.', 'signature': 'def reset(self):'}</s>{'name': 'ScaledFloatFrame@wrappers.py', 'description': 'DOCSTRING', 'base_classes': ['gym.ObservationWrapper'], 'methods': [{'name': 'ScaledFloatFrame.observ... | 0 |
{'name': 'diff_entire_folder_against_full_history_subcommand@ascmhl/commands.py', 'description': 'Checks MHL hashes from all generations against all file hash entries.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nTraverses through the content of a folder. The command finds all files that are existent i... | 0 |
{'name': 'Message.to_pydict@src/betterproto/__init__.py', 'description': 'Returns a python 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: :class:`bool... | 0 |
{'name': 'crs_reproject_cmd@cjio/cjio.py', 'description': 'Reproject to a new EPSG.\nThe current CityJSON must have an EPSG defined \n(which can be done with function epsg_assign).', 'signature': 'def crs_reproject_cmd(epsg):'}</s>{'name': 'subset_cmd@cjio/cjio.py', 'description': 'Create a subset, City Objects can be ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQINBD_Q_MGR = 0 | 0 |
{'name': 'GitlabTree.get_projects@gitlabber/gitlab_tree.py', 'description': 'Get projects for a group.\n\nArgs:\n group: Group to get projects for\n parent: Parent node', 'signature': 'def get_projects(self, group: Group, parent: Node) -> None:'}</s>{'name': 'GitlabTreeError@gitlabber/gitlab_tree.py', 'descriptio... | 0 |
{'name': 'VxmAffineFeatureDetector.__init__@voxelmorph/tf/networks.py', 'description': 'Internally, the model computes transforms in a centered frame at full resolution. However,\nmatrix transforms returned with `make_dense=False` operate on zero-based indices to\nfacilitate composition, in particular when changing res... | 1 |
{'name': 'auth@twitter_to_sqlite/cli.py', 'description': 'Save authentication credentials to a JSON file', 'signature': 'def auth(auth):'}</s>IGNORE = {"manifest"} | 0 |
{'name': 'NodeRedText.update_discovery_config@custom_components/nodered/text.py', 'description': 'Update the entity config.', 'signature': 'def update_discovery_config(self, msg):'}</s>CONF_TEXT = "text" | 0 |
{'name': 'get_hconfig_view@hier_config/constructors.py', 'description': 'Instantiates the appropriate HConfigView.\n\nIf you implement your own HConfigView, you will likely need to create a function like this one locally.', 'signature': 'def get_hconfig_view(config: HConfig) -> HConfigViewBase:'}</s>{'name': 'HConfigDr... | 0 |
{'name': 'get_arm_tools_prefix_path@puncover/puncover.py', 'description': "Try to find and return the arm tools triple prefix path, like this:\n /usr/local/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-\n\nIt's used to invoke the other tools, like objdump/nm.\n\nNote that we could instead use the '-print-prog-na... | 0 |
{'name': 'test@joeynmt/prediction.py', 'description': 'Main test function. Handles loading a model from checkpoint, generating\ntranslations, storing them, and plotting attention.\n\n:param cfg: configuration dict\n:param output_path: path to output\n:param prepared: model and datasets passed from training\n:param save... | 0 |
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>SERVICE_RESUME = "resume" | 0 |
{'name': 'test_non_void@capone/tests/test_transaction_model.py', 'description': 'Test Transaction.objects.non_void filter.', 'signature': 'def test_non_void():'}</s>{'name': 'test_setting_explicit_timestamp_field@capone/tests/test_transaction_model.py', 'description': 'DOCSTRING', 'code': 'def test_setting_explicit_tim... | 0 |
{'name': '_init@Engine/lib/assimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", 'sig... | 0 |
{'name': 'writeFdat@fwtool/sony/fdat.py', 'description': 'Writes a non-encrypted FDAT file', 'signature': 'def writeFdat(fdat, outFile):'}</s>{'name': 'ShaCrypter@fwtool/sony/fdat.py', 'description': 'Decrypts a block from a 1st gen firmware image using sha1 digests', 'base_classes': ['BlockCrypter'], 'methods': [{'nam... | 0 |
{'name': 'patches_grid@dpipe/predict/shape.py', 'description': 'Divide an incoming array into patches of corresponding ``patch_size`` and ``stride`` and then combine\nthe predicted patches by aggregating the overlapping regions using the ``combiner`` - Average by default.\n\nIf ``padding_values`` is not None, the array... | 1 |
{'name': '_skip_whitespace@fips-files/generators/sjson/__init__.py', 'description': 'skip whitespace. Returns the next character if a new position within the\nstream was found; returns None if the end of the stream was hit.', 'signature': 'def _skip_whitespace(stream):'}</s>{'name': '_indent@fips-files/generators/sjson... | 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': 'FluidDataLoader.loadFiles@tensorflow/tools/fluiddataloader.py', 'description': 'Load all NPZs from list.\nNote, data always has to have shape ZYXc (3d) or YXc (2d), \nwhere c is channels (eg 3 for vels, 1 for scalar data).', 'signature': 'def loadFiles(self):'}</s>{'name': 'FluidDataLoaderError@tensorflow/too... | 1 |
{'name': 'FeedlySession.__init__@feedly/api_client/session.py', 'description': ':param auth: either the access token str to use when making requests or an Auth object to manage tokens. If none\n are passed, it is assumed that the token and refresh token are correcly setup in the `~/.config/feedly`\n directory. You can ... | 1 |
{'name': 'to_excess_returns@ffn/core.py', 'description': 'Given a series of returns, it will return the excess returns over rf.\n\nArgs:\n * returns (Series, DataFrame): Returns\n * rf (float, Series): `Risk-Free rate(s) <https://www.investopedia.com/terms/r/risk-freerate.asp>`_ expressed in annualized term or re... | 0 |
{'name': '_type_expression@swagger_to/ts_angular5_client.py', 'description': 'Translate the type definition in Typescript representation to a type expression as Typescript code.\n\n:param typedef: Typescript representation of the type definition\n:param path: path in the Swagger spec\n:return: Typescript code', 'signat... | 0 |
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'name': 'RouteError@src/... | 0 |
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in... | 0 |
{'name': 'main@bin/exercises.py', 'description': 'Main driver.', 'signature': 'def main():'}</s>{'name': 'getExercises@bin/exercises.py', 'description': 'DOCSTRING', 'code': "def getExercises(filename):\n with open(filename, 'r') as reader:\n text = reader.read()\n return [f'{d}\\n' for d in PAT_EXERCI... | 1 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>C_STANDARD_HEADER_FOLDERS = frozenset([
# standard C library
"sys",
# glibc for lin... | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PFR_TFLAG_INACTIVE = 8 | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'Message.from_dict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n--... | 0 |
{'name': 'networkd_networks@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd network configuration.\n\nThe format is compatible with the systemd_networkd_network variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: ... | 1 |
{'name': 'Core.start_receivers@lib/analysis/Core.py', 'description': 'Start handler that handles the devices interactions\n:param module:\n:return:', 'signature': 'def start_receivers(self, module):'}</s>Base = Database.get_declarative_base() | 0 |
{'name': 'GlyphsBuilder._fake_designspace@Lib/glyphsLib/builder/builders.py', 'description': 'Build a fake designspace with the given UFOs as sources, so that all\nbuilder functions can rely on the presence of a designspace.', 'signature': 'def _fake_designspace(self, ufos):'}</s>{'name': 'cast_to_number_or_bool@Lib/gl... | 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': 'fetch_tomtom_matches@modisco/util.py', 'description': "Fetches top matches from a motifs database using TomTom.\n\nArgs:\n ppm: position probability matrix- numpy matrix of dimension (N,4)\n background: list with ACGT background probabilities\n tomtom_exec_path: path to TomTom executable\n motifs_... | 0 |
{'name': 'EngineTest.testPlotStateVariables@reversibility/pycolab/pycolab/tests/engine_test.py', 'description': 'State variables inside the Plot are updated correctly.', 'signature': 'def testPlotStateVariables(self):'}</s>{'name': 'get_pre_update@reversibility/pycolab/pycolab/tests/test_things.py', 'description': 'Ret... | 0 |
{'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... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.