text
string
label
int64
{'name': 'change_widget_color@Contents/scripts/sisidebar/qt.py', 'description': '引数\nwidget 色を変えたいウィジェットオブジェクト\nbgColor 背景色をRGBのリストか0~255のグレースケールで指定、省略可能。', 'signature': 'def change_widget_color('}</s>MAYA_VER = int(cmds.about(v=True)[:4])
0
{'name': 'Logger.enable@local/clogging.py', 'description': ":param level is None: Enable logger and all its parents.\n:param level is other: Setting the root instance's `disable` attribute.", 'signature': 'def enable(self, level=None):'}</s>root = getRootLogger()
1
{'name': 'right_shift_blockwise@tensor2tensor_envi/layers/common_attention.py', 'description': 'Right shifts once in every block.\n\nArgs:\n x: a tensor of shape [batch, height, width, depth]\n query_shape: A 2d tuple of ints\n name: a string\n\nReturns:\n output: a tensor of the same shape as x', 'signature': 'def...
0
{'name': 'get_color@src/czml3/types.py', 'description': 'Determines if the input is a valid color', 'signature': 'def get_color(color) -> list[float] | None:'}</s>{'name': 'RgbafValue@src/czml3/types.py', 'description': 'A color specified as an array of color components [Red, Green, Blue, Alpha]\n where each component ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQREGO_NO_ALTERATION = 32768
0
{'name': 'read_table@bioframe/io/fileops.py', 'description': 'Read a tab-delimited file into a data frame.\n\nEquivalent to :func:`pandas.read_table` but supports an additional\n`schema` argument to populate column names for common genomic formats.\n\nParameters\n----------\nfilepath_or : str, path object or file-like ...
0
{'name': 'findlines@tests/utils.py', 'description': 'Extract the lines from the buffer which contains the pattern\n`substring`\n\nArgs:\n substring (str): the pattern to look for\n buffer (str): the buffer to look into\n\nReturns:\n List[str]', 'signature': 'def findlines(substring: str, buffer: str) -> List[s...
0
{'name': 'clone_axom@scripts/llnl_scripts/find_unused_tpl_dirs.py', 'description': 'Creates a fresh clone of axom', 'signature': 'def clone_axom():'}</s>{'name': 'get_supported_sys_types@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCSTRING', 'code': 'def get_supported_sys_types():\n return ["blueo...
0
{'name': '_https_resolve@local/common/dns.py', 'description': '此函数功能实现仅限于解析为 A、AAAA 记录', 'signature': 'def _https_resolve(server, qname, qtype, query_data):'}</s>doh_servers = set()
0
{'name': 'expect_author@tests/radish/steps.py', 'description': 'Then I will find <author>', 'signature': 'def expect_author(step, author):'}</s>{'name': 'cap_first_name@tests/radish/steps.py', 'description': 'When I capitalize their first name', 'code': 'def cap_first_name(step):\n "When I capitalize their first nam...
0
{'name': 'process_mtl_data@refreshdata.py', 'description': 'Processes new Sante Montreal data.\n\nParameters\n----------\nsources_dir : str\n Absolute path to source data dir.\nprocessed_dir : str\n Absolute path to processed data dir.\ndate : str\n Date of data to append (yyyy-mm-dd).', 'signature': 'def proc...
0
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_DELETE_A...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'LndNode.__init__@lndmanage/lib/node.py', 'description': ':param config_file: path to the config file\n:param lnd_home: path to lnd home folder\n:param lnd_host: lnd host of format "127.0.0.1:9735"\n:param regtest: if the node is representing a regtest node', 'signature': 'def __init__(self, config_file: Optio...
0
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_MEDIA_IMAGE_INTERVAL = 269
0
{'name': 'CARE.train@csbdeep/models/care_standard.py', 'description': 'Train the neural network with the given data.\n\nParameters\n----------\nX : :class:`numpy.ndarray`\n Array of source images.\nY : :class:`numpy.ndarray`\n Array of target images.\nvalidation_data : tuple(:class:`numpy.ndarray`, :class:`numpy....
1
{'name': 'main@src/freetype/src/tools/docmaker/docmaker.py', 'description': 'Main program loop.', 'signature': 'def main(argv):'}</s>{'name': 'index_key@src/freetype/src/tools/docmaker/utils.py', 'description': 'DOCSTRING', 'code': 'def index_key(s):\n return string.join(itertools.chain(*zip(s.lower(), s)))'}
0
{'name': 'QGFieldNHN22._compute_reference_states@src/falwa/oopinterface.py', 'description': 'Added for NHN 2022 GRL\n\n.. versionadded:: 0.6.0', 'signature': 'def _compute_reference_states(self):'}</s>{'name': 'zonal_convergence@src/falwa/utilities.py', 'description': 'The function "zonal_convergence" computes the zona...
0
{'name': 'CheckForNonConstReference@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n cl...
0
{'name': 'AddUserAdminTests.test_adds_user@vertex/test/test_standalone.py', 'description': "When L{UserAdder} is connected to L{IdentityAdmin}, the L{AddUser}\ncommand is called and L{IdentityAdmin} adds the user to its factory's\nstore.", 'signature': 'def test_adds_user(self):'}</s>{'name': 'ISessionTokenStorage@vert...
0
{'name': 'get_normalized_annulus_to_valve1_first_phase@ValveBatchExport/HeartValveBatchAnalysis/annulus_shape_analysis.py', 'description': "Get average relative pose between two valve contours\n:param csv_filename: input CSV file containing columns Filename, Phase, Valve, AnnulusContourX, AnnulusContourY, AnnulusContou...
0
{'name': 'get_local_part@src/future/backports/email/_header_value_parser.py', 'description': 'local-part = dot-atom / quoted-string / obs-local-part\n\n ', 'signature': 'def get_local_part(value):'}</s>{'name': 'get_ttext@src/future/backports/email/_header_value_parser.py', 'description': "ttext = <matches _ttext_ma...
0
{'name': 'get_random_vector@articles/inversion.py', 'description': "Return a random vector with a maximum length of 'max_step'.", 'signature': 'def get_random_vector(max_step):'}</s>{'name': 'KissingCirclesPuzzle@articles/inversion.py', 'description': 'DOCSTRING', 'base_classes': ['Scene'], 'methods': [{'name': 'Kissin...
0
{'name': 'ViewRotation.load_locs@picasso/gui/rotation.py', 'description': 'Loads localizations from a pick in the main window.\n\nCalled when updating rotation window from there or when \nshifting the pick from rotation window.\n\nParameters\n----------\nupdate_window : boolean (default=False)\n If True, load attrib...
0
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'exit_handler@gef.py', 'description': 'GDB event handler for exit cases.', 'code': 'def exit_handler(_: "gdb.ExitedEvent") -> None:\n """GDB event handler for exit cases."...
0
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li...
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': 'GitlabTree.__init__@gitlabber/gitlab_tree.py', 'description': 'Initialize GitlabTree.\n\nArgs:\n url: GitLab instance URL\n token: Personal access token\n method: Clone method (SSH or HTTP)\n naming: Folder naming strategy\n archived: Whether to include archived projects\n includes: List of ...
1
{'name': 'loadPlugins@packstack/installer/run_setup.py', 'description': 'Load All plugins from ./plugins', 'signature': 'def loadPlugins():'}</s>ERR_FAILED_START_SERVICE = "Error: Can't start the %s service"
0
{'name': '_CallbackContext.check_data@sounddevice.py', 'description': 'Check data and output mapping.', 'signature': 'def check_data(self, data, mapping, device):'}</s>{'name': 'CoreAudioSettings@sounddevice.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'CoreAudioSettings.__init__@sounddevic...
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': 'get_versions@diffxpy/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>{'name': 'render_git_describe@diffxpy/_version.py', 'description': "TAG[-DISTANCE-gHEX][-dirty].\n\nLike 'git describe --tags --dirty --always'.\n\nExceptio...
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': 'preprocess_nwm_shp@src/Utility/Pre-Processing/STOFS-3D-Atl-shadow-VIMS/Pre_processing/Source_sink/Replace_with_USGS/replace_with_obs.py', 'description': 'Preprocess the NWM hydrofabric shapefile.\nAdd a "from" property to each segment, i.e., the featureID of the upstream segments.', 'signature': 'def preproce...
0
{'name': 'rs_correct_msg_nofsynd@reedsolo.py', 'description': 'Reed-Solomon main decoding function, without using the modified Forney syndromes', 'signature': 'def rs_correct_msg_nofsynd(msg_in, nsym, fcr=0, generator=2, erase_pos=None, only_erasures=False):'}</s>{'name': 'rs_find_error_locator@reedsolo.py', 'descripti...
1
{'name': 'ParseArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args)...
1
{'name': 'DayGroupCreateView.form_valid@rosters/views.py', 'description': 'Add all days to day group by default.', 'signature': 'def form_valid(self, form):'}</s>{'name': 'ShiftRuleRoleCreateView@rosters/views.py', 'description': 'Shift Rule Role Create View.', 'base_classes': ['LoginRequiredMixin', 'PermissionRequired...
0
{'name': 'func_get_searcher@python/ffi_navigator/pattern.py', 'description': 'Search pattern <func_name>("<skey>")\n\nParameters\n----------\nfunc_names : list\n List of macro names to match.\n\nfcreate : Function (skey, path, range, func_name) -> result.', 'signature': 'def func_get_searcher(func_names, fcreate=Non...
0
{'name': 'RecurrentHelper.sort_by@modules/modules.py', 'description': 'Sort batch data and labels by length.\nUseful for variable length inputs, for utilizing PackedSequences\nArgs:\n lengths (nn.Tensor): tensor containing the lengths for the data\n\nReturns:\n - sorted lengths Tensor\n - sort (callable) which...
0
{'name': 'get_formatted_scans_key_row@heudiconv/bids.py', 'description': 'Parameters\n----------\ndcm_fn: str\n\nReturns\n-------\nrow: list\n [ISO acquisition time, performing physician name, random string]', 'signature': 'def get_formatted_scans_key_row(dcm_fn: str | Path) -> list[str]:'}</s>{'name': 'populate_bid...
0
{'name': 'task_dev@dodo.py', 'description': 'setup up local packages for interactive development', 'signature': 'def task_dev():'}</s>{'name': 'task_repo@dodo.py', 'description': 'DOCSTRING', 'code': 'def task_repo():\n pkg_jsons = [P.ROOT / "app" / app / "package.json" for app in D.APPS]\n yield dict(\n n...
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>MQS_STATUS_NOTENABLED = 4
0
{'name': 'SQLInsertCompiler.handle_insert_through@rest_models/backend/compiler.py', 'description': "special case where we don't insert into the given table because it's not exposed. we\nhandle this case by updating the field on either side of the through.\n:return:", 'signature': 'def handle_insert_through(self):'}</s>...
0
{'name': 'purpose_handling@bidskit/translate.py', 'description': 'Special handling for each image purpose (func, anat, fmap, dwi, etc)\n\n:param bids_meta: dict\n Metadata dict populated from BIDS JSON sidecar\n:param bids_purpose: str\n BIDS purpose directory name (eg anat, func, fmap, etc)\n:param bids_intended...
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>MQTMC_VERSION_2 = b' 2'
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': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>_dflt_fpsort_sbits = 53
0
{'name': 'BattleSchedule.enter4@foo/arknight/Schedule.py', 'description': '前往关卡', 'signature': 'def enter4(self, objLevel):'}</s>{'name': 'find_squares@foo/pictureR/squreDetect.py', 'description': 'DOCSTRING', 'code': 'def find_squares(img):\n squares = []\n img = GaussianBlur(img, (3, 3), 0) \n gray = cvtCo...
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': 'BertPreTrainedModel@purifier/modeling_purifier.py', 'description': 'An abstract class to handle weights in...
0
{'name': 'AzureDLFileSystem.set_expiry@azure/datalake/store/core.py', 'description': 'Set or remove the expiration time on the specified file.\nThis operation can only be executed against files.\n\nNote: Folders are not supported.\n\nParameters\n----------\npath: str\n File path to set or remove expiration time\nexp...
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>MATCH_BGEU = 28771
0
{'name': 'wrapmodule@src/socks/__init__.py', 'description': "wrapmodule(module)\nAttempts to replace a module's socket library with a SOCKS socket. Must set\na default proxy using setdefaultproxy(...) first.\nThis will only work on modules that import socket directly into the namespace;\nmost of the Python Standard Lib...
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': '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_CHANNEL_BLOCKED = 2577
0
{'name': 'ROMTable.for_each@pyocd/coresight/rom_table.py', 'description': '! @brief Apply an action to every component defined in the ROM table and child tables.\n\nThis method iterates over every entry in the ROM table. For each entry it calls the\nfilter function if provided. If the filter passes (returns True or was...
0
{'name': 'find_all_lineages@ncbitax2lin/lineage.py', 'description': 'Finds the lineages for all tax ids\n\nArgs:\n tax_id: all tax ids to find lineages for.\n tax_dict: a dictionary of tax_id => tax_unit.', 'signature': 'def find_all_lineages('}</s>{'name': 'collect_df_info@ncbitax2lin/utils.py', 'description': '...
0
{'name': 'gen_valid_vectors@contrib/testgen/gen_base58_test_vectors.py', 'description': 'Generate valid test vectors', 'signature': 'def gen_valid_vectors():'}</s>PUBKEY_ADDRESS_TEST = 111
0
{'name': 'OpticalProduct._open_bands@eoreader/products/optical/optical_product.py', 'description': 'Open bands from disk.\n\nArgs:\n band_paths (dict): Band dict: {band_enum: band_path}\n pixel_size (float): Band pixel size in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if p...
0
{'name': 'localize@service.iptv.manager/resources/lib/kodiutils.py', 'description': 'Return the translated string from the .po language files, optionally translating variables', 'signature': 'def localize(string_id, **kwargs):'}</s>{'name': 'get_global_setting@service.iptv.manager/resources/lib/kodiutils.py', 'descript...
0
{'name': 'RIPPER.fit@build/lib/wittgenstein/ripper.py', 'description': "Fit a Ruleset model.\n\nParameters\n----------\ntrainset : DataFrame, numpy array, or other iterable\n Training dataset. Optional whether to include or exclude class labels column.\ny : iterable of str, int, bool\n Class labels corresponding ...
0
{'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>_INSIDE_ASM = 1
0
{'name': 'ParseArguments@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseAr...
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': 'traverse_obj@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Safely traverse nested `dict`s an...
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': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>{'name': 'Tensor@discopy/tensor....
0
{'name': '_get_package_data@jupyter_packaging/setupbase.py', 'description': 'Expand file patterns to a list of `package_data` paths.\n\nParameters\n-----------\nroot: str\n The relative path to the package root from the current dir.\nfile_patterns: list or str, optional\n A list of glob patterns for the data file...
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': 'PropKB@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'A KB for propositional logic. Inefficient, with no indexing. ', ...
1
{'name': 'pantiltGoHome@source/pi-timolo.py', 'description': 'Move pantilt to home position. If pantilt installed then this\ncan position pantilt to a home position for consistent\nmotion tracking and timelapse camera pointing.', 'signature': 'def pantiltGoHome():'}</s>{'name': 'takeDayImage@source/pi-timolo.py', 'desc...
0
{'name': 'BaseResponse.add_header@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Add an additional response header, not removing duplicates. ', 'signature': 'def add_header(self, name, value):'}</s>{'name': 'LocalRequest@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'A thread-local s...
0
{'name': 'TestStrictWrapper.test_strict_wrapper@responses/tests/test_responses.py', 'description': 'Test that assert_all_requests_are_fired could be applied to the decorator.', 'signature': 'def test_strict_wrapper(self):'}</s>{'name': 'test_deprecated_package_attributes@responses/tests/test_responses.py', 'description...
0
{'name': 'document@libscanbuild/report.py', 'description': 'Generates cover report and returns the number of bugs/crashes. ', 'signature': 'def document(args):'}</s>{'name': 'escape@libscanbuild/report.py', 'description': 'Paranoid HTML escape method. (Python version independent) ', 'code': 'def escape(text):\n # ty...
0
{'name': 'decode_image@DECIMER/config.py', 'description': 'Loads an image and preprocesses the input image in several steps to get\nthe image ready for DECIMER input.\n\nArgs:\n image_path (Union[str, np.ndarray]): path of input image or numpy array representing the image.\n\nReturns:\n Processed image', 'signatu...
1
{'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>REQUEST_OBJECT_POLYGON = 10
0
{'name': 'TcpServer.request_termination@cli/rpc2socks/utils/tcpserver.py', 'description': "Request this server's own I/O handling thread to leave gracefully.", 'signature': 'def request_termination(self):'}</s>NOTSET = loggex.NOTSET
0
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ...
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': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'entrypoint@da/api.py', 'description': 'Entry point for running DistAlgo as the main module.\n\n ', 'signature': 'def entrypoint():'}</s>{'name': 'MessageTooBigException@da/sim.py', 'description': 'DOCSTRING', 'base_classes': ['RoutingException'], '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': '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': 'test_to_geodataframe@test/test_dataarray.py', 'description': 'Tests the conversion to ``GeoDataFrame``', 'signature': 'def test_to_geodataframe():'}</s>dsfile_v1_geoflow = current_path / "meshfiles" / "ugrid" / "geoflow-small" / "v1.nc"
1
{'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>{'name': 'DvzCullMode@datoviz/__init...
0
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'gdb_disassemble@gef.py', 'description': 'Disassemble instructions from `start_pc` (Integer). Accepts the fol...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': '_makeTags@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>commaSeparatedList = delimitedList( Optional( quotedString.copy() | _commasepitem, default="") )...
0
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>{'name': 'facilities_status@pymultimatic/api/urls.py', 'description': 'Url to get faci...
0
{'name': 'nestedExpr@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (default= ``"("``); can also ...
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': 'TestUnicodeReader.test_wrong_encoding_detection_windows@tests/test_io.py', 'description': 'Test for detecting the encoding of a windows file opened in ascii', 'signature': 'def test_wrong_encoding_detection_windows(self):'}</s>{'name': 'records2geojson@meza/convert.py', 'description': "Converts records into a...
0
{'name': 'test_raise_error_for_unrealistic_kmax@tests/test_oopinterface.py', 'description': 'Error shall be raised if kmax is out of bound of the pressure grid provided in the input data\n\n.. versionadded:: 0.4.0', 'signature': 'def test_raise_error_for_unrealistic_kmax():'}</s>nlon = 240
0
{'name': 'vpg@fireup/algos/vpg/vpg.py', 'description': "Args:\n env_fn : A function which creates a copy of the environment.\n The environment must satisfy the OpenAI Gym API.\n\n actor_critic: The agent's main model which is composed of\n the policy and value function model, where the policy takes\...
1
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCIH_NONE = 0
0
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>{'name': 'BaseRequest@src/back/kite/bottle.py', 'description': "A wrapper for WSGI environment dictionaries that adds a lot of\n...
0
{'name': 'ConfigObj._parse@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'Actually parse the config file.', 'signature': 'def _parse(self, infile):'}</s>{'name': 'flatten_errors@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'An example function that will turn a nested dictionary of results\n(as returned b...
0
{'name': 'fixup_pth_and_egg_link@bootstrap.py', 'description': 'Makes .pth and .egg-link files use relative paths', 'signature': 'def fixup_pth_and_egg_link(home_dir, sys_path=None):'}</s>{'name': 'make_environment_relocatable@bootstrap.py', 'description': 'Makes the already-existing environment use relative paths, and...
0
{'name': 'Request.get_response@spider/network/request.py', 'description': '获取带有selector功能的response\n@param save_cached: 保存缓存 方便调试时不用每次都重新下载\n@return:', 'signature': 'def get_response(self, save_cached=False):'}</s>{'name': 'RedisDB@spider/db/redisdb.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'nam...
0
{'name': 'is_resource_modified@blockchain-env/lib/python3.7/site-packages/werkzeug/http.py', 'description': 'Convenience method for conditional requests.\n\n:param environ: the WSGI environment of the request to be checked.\n:param etag: the etag for the response for comparison.\n:param data: or alternatively the data ...
0