text
string
label
int64
{'name': '_get_sentences_with_word_count@summarization/summarizer.py', 'description': 'Given a list of sentences, returns a list of sentences with a\ntotal word count similar to the word count provided.', 'signature': 'def _get_sentences_with_word_count(sentences, word_count):'}</s>{'name': '_create_valid_graph@summari...
0
{'name': 'test_julier_sigma_points_1D@filterpy/kalman/tests/test_ukf.py', 'description': 'tests passing 1D data into sigma_points', 'signature': 'def test_julier_sigma_points_1D():'}</s>{'name': 'RadarSim@filterpy/kalman/tests/test_ukf.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'R...
0
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>KEY_F12 = 301
0
{'name': 'Widget._should_send_property@python/ipywidgets/ipywidgets/widgets/widget.py', 'description': 'Check the property lock (property_lock)', 'signature': 'def _should_send_property(self, key, value):'}</s>{'name': 'deprecation@python/ipywidgets/ipywidgets/widgets/utils.py', 'description': "Generate a deprecation w...
0
{'name': 'RFXtrxProtocolTest.test_complete_packet@test/test_rfxtrx_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>INSTANTANEOUS_ACTIVE_POWER_L1_POSITIVE = "^\d-\d:21\.7\.0.+?\r\n"
0
{'name': 'BaseImage.export_pixels@wand/image.py', 'description': 'Export pixel data from a raster image to\na list of values.\n\nThe ``channel_map`` tells ImageMagick which color\nchannels to export, and what order they should be\nwritten as -- per pixel. Valid entries for\n``channel_map`` are:\n\n- ``\'R\'`` - Red cha...
1
{'name': 'format_readme@src/docker_python_nodejs/readme.py', 'description': 'Format fresh README based on passed in version. Replaces the whole table with new versions.', 'signature': 'def format_readme('}</s>{'name': 'format_supported_versions@src/docker_python_nodejs/readme.py', 'description': 'DOCSTRING', 'code': 'd...
1
{'name': 'ParseArguments@llvm-12.0.0-project/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.', 'sign...
1
{'name': 'plot_sounding@pymeteo/skewt.py', 'description': 'Plot sounding data\n\nThis plots temperature, dewpoint and wind data on a Skew-T/Log-P plot.\nThis will also plot derived values such as wetbulb temperature and\nlabel the surface based LCL, LFC and EL.\n\n:parameter z: height values (1D array)\n:parameter th: ...
1
{'name': 'Box.save@spatialmedia/mpeg/box.py', 'description': 'Save box contents prioritizing set contents.\n\nArgs:\n in_fh: file handle, source to read box contents from.\n out_fh: file handle, destination for written box contents.\n delta: int, index update amount.', 'signature': 'def save(self, in_fh, out_fh, del...
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': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_199 = Badge("speaker high volume", series=2, number=99, symbol="🔊")
0
{'name': '_ExtractImportantEnvironment@gyp/pylib/gyp/msvs_emulation.py', 'description': "Extracts environment variables required for the toolchain to run from\na textual dump output by the cmd.exe 'set' command.", 'signature': 'def _ExtractImportantEnvironment(output_of_set):'}</s>{'name': '_ExtractCLPath@gyp/pylib/gyp...
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'converts_to_typ...
0
{'name': 'LpProblem.sequentialSolve@pulp/pulp.py', 'description': 'Solve the given Lp problem with several objective functions.\n\nThis function sequentially changes the objective of the problem\nand then adds the objective function as a constraint\n\n:param objectives: the list of objectives to be used to solve the pr...
0
{'name': 'get_sbom_fragments@tools/sbom/generate-sbom.py', 'description': 'Return SPDX fragment of source/prebuilt packages, which usually contains a SOURCE/PREBUILT\npackage, a UPSTREAM package and an external SBOM document reference if sbom_ref defined in its\nMETADATA file.\n\nSee go/android-spdx and go/android-sbom...
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>{'name': 'user_prop_diseq@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def user_prop_diseq(ctx, cb, x, y):\n prop = ...
0
{'name': 'Utils.update_screen@util/utils.py', 'description': 'Uses ADB to pull a screenshot of the device and then read it via CV2\nand then stores the images in grayscale and color to screen and color_screen, respectively.\n\nReturns:\n image: A CV2 image object containing the current device screen.', 'signature': ...
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': 'RobustPath.transform@gdspy/path.py', 'description': 'Apply a transform to this path.\n\nParameters\n----------\ntranslation : Numpy array[2]\n Translation vector.\nrotation : number\n Rotation angle.\nscale : number\n Scaling factor.\nx_reflection : bool\n Reflection around the first axis.\narray_...
0
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>fields_without_comments = ('Inspiration', 'Play', 'Platform', 'Code dependency')
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'disable_trace@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def disable_trace(msg):\n Z3_disable_trace(msg)'}
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCA_TOPIC_STRING_FILTER = 2108
0
{'name': 'common_main@tools/warn/warn_common.py', 'description': 'Shared main function for Google3 and non-Google3 versions of warn.py.', 'signature': 'def common_main(use_google3, create_launch_subprocs_fn, classify_warnings_fn,'}</s>{'name': 'emit_table_header@tools/warn/html_writer.py', 'description': 'Returns list ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCHT_CLNTCONN = py23long(6)
0
{'name': 'marginCallerTargetFn@src/margin/marginCallerLib.py', 'description': 'Calculates the posterior probabilities of all the matches in between\neach pairwise alignment of a read to the reference. The collates this \nposterior probabilities and uses them to call SNVs.', 'signature': 'def marginCallerTargetFn(target...
1
{'name': 'test_minimal_data@tests/builder/builder_test.py', 'description': 'Test the minimal data that must be provided to generate UFOs, and in\nsome cases that additional redundant data is not set.', 'signature': 'def test_minimal_data(ufo_module):'}</s>{'name': 'generate_minimal_font@tests/classes_test.py', 'descrip...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCA_USER_LIST = 4000
0
{'name': 'Refiner.__init__@segmentation-refinement/segmentation_refinement/main.py', 'description': "Initialize the segmentation refinement model.\ndevice can be 'cpu' or 'cuda'\nmodel_folder specifies the folder in which the model will be downloaded and stored. Defaulted in ~/.segmentation-refinement.", 'signature': "...
1
{'name': 'BL3Save.set_max_sdus@bl3save/bl3save.py', 'description': 'Sets the specified SDUs (or all SDUs that we know about) to be at the max level', 'signature': 'def set_max_sdus(self, sdulist=None):'}</s>curhash_to_currency = {v: k for k, v in currency_to_curhash.items()}
0
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'afni_seeds@src/python_scripts/afnipy/afni_util.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'n...
0
{'name': 'Stats.function_profile@vmprof/stats.py', 'description': 'Show functions that we call (directly or indirectly) under\na given addr', 'signature': 'def function_profile(self, top_function):'}</s>{'name': 'Stats@vmprof/stats.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Stats...
1
{'name': 'load_excel@src/attributecode/util.py', 'description': 'Read XLSX at `location`, return a list of ordered dictionaries, one\nfor each row.', 'signature': 'def load_excel(location, worksheet=None):'}</s>{'name': 'filter_errors@src/attributecode/util.py', 'description': 'Return a list of unique `errors` Error ob...
0
{'name': 'update_addons_path@saas_demo/os.py', 'description': ':param list folder_of_folders: <folder_of_folders>/REPO/MODULE/__manifest__.py\n:param bool force: override existing addons', 'signature': 'def update_addons_path(folder_of_folders, force=True):'}</s>{'name': 'repos_dir@saas_demo/os.py', 'description': 'DOC...
0
{'name': 'convert_by_vocab@tools/representation/demo/ERNIE/tokenization.py', 'description': 'Converts a sequence of [tokens|ids] using the vocab.', 'signature': 'def convert_by_vocab(vocab, items):'}</s>{'name': 'convert_ids_to_tokens@tools/representation/demo/ERNIE/tokenization.py', 'description': 'DOCSTRING', 'code':...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRO_ACCEPT_UNSUP_IF_XMIT_MASK = 261888
0
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>UInt64Sizer = _SimpleSizer(_VarintSize)
0
{'name': 'fsn2text@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': 'Args:\n path (fsnative): The path to convert\n strict (bool): Fail in case the conversion is not reversible\nReturns:\n `text`\nRaises:\n TypeError: In case no `fsnative` has been passed\n ValueError: ...
0
{'name': 'alma@adv_lib/attacks/augmented_lagrangian.py', 'description': 'Augmented Lagrangian Method for Adversarial (ALMA) attack from https://arxiv.org/abs/2011.11857.\n\nParameters\n----------\nmodel : nn.Module\n Model to attack.\ninputs : Tensor\n Inputs to attack. Should be in [0, 1].\nlabels : Tensor\n ...
1
{'name': 'list_plugged_devices@rivalcfg/devices/__init__.py', 'description': 'List all plugged devices that are supported by rivalcfg.\n\n:rtype: generator\n\n::\n\n [\n {"vendor_id": ..., "product_id": ..., "name": ...},\n ]\n\nIf the ``RIVALCFG_PROFILE=vendor_id:product_id`` environment varialbe is\ndefined...
0
{'name': 'bisect_bad@nix_bisect/bisect_runner.py', 'description': "Mark a commit as bad.\n\nWarning: This may have the side-effect of switching to a different\nrevision.\n\nUnfortunately we don't have control about that. In the future we may want\nto manage the refs and the bisect-log manually.", 'signature': 'def bise...
0
{'name': 'FeedService.get_popular_posts@c3po/api/service/feed_service.py', 'description': 'Retrieves the most popular posts in the past n days', 'signature': 'def get_popular_posts(url, n, start, limit):'}</s>{'name': 'session_scope@c3po/db/base.py', 'description': 'DOCSTRING', 'code': 'def session_scope():\n sessio...
1
{'name': 'VolumeRenderer.forward_once@fairnr/modules/renderer.py', 'description': 'chunks: set > 1 if out-of-memory. it can save some memory by time.', 'signature': 'def forward_once('}</s>{'name': 'FCLayer@fairnr/modules/module_utils.py', 'description': 'Reference:\n https://github.com/vsitzmann/pytorch_prototyping...
0
{'name': 'Enforcer._record_file_rules@oslo_policy/policy.py', 'description': 'Store a copy of rules loaded from a file.\n\nIt is useful to be able to distinguish between rules loaded from a file\nand those registered by a consuming service. In order to do so we keep\na record of rules loaded from a file.\n\n:param data...
0
{'name': 'Installer.installMod@src/core/installer.py', 'description': 'Installs mod from given path. If given mod is an archive first extracts it', 'signature': 'def installMod(self, modPath: str) -> Tuple[bool, int, int]:'}</s>{'name': 'reconfigureGamePath@src/util/util.py', 'description': 'DOCSTRING', 'code': 'def re...
0
{'name': 'runprofile@pyFileFixity/lib/profilers/visual/functionprofiler.py', 'description': 'Run the functions profiler and save the result\nIf timeout is greater than 0, the profile will automatically stops after timeout seconds', 'signature': 'def runprofile(mainfunction, output, timeout = 0, calibrate=False):'}</s>{...
1
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'start_background_threads@src/server/server.py', 'description': 'DOCSTRING', 'code': "def start_background_threads(forceFlag=False):\n global BACKGROUND_THREADS_EN...
0
{'name': 'Header.__init__@src/future/backports/email/header.py', 'description': "Create a MIME-compliant header that can contain many character sets.\n\nOptional s is the initial header value. If None, the initial header\nvalue is not set. You can later append to the header with .append()\nmethod calls. s may be a b...
0
{'name': '_FixPath@gyp/pylib/gyp/generator/msvs.py', 'description': 'Convert paths to a form that will make sense in a vcproj file.\n\nArguments:\n path: The path to convert, may contain / etc.\nReturns:\n The path with all slashes made into backslashes.', 'signature': 'def _FixPath(path, separator="\\\\"):'}</s>_msv...
0
{'name': 'ResourceManager.lookup@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Search for a resource and return an absolute file path, or `None`.\n\nThe :attr:`path` list is searched in order. The first match is\nreturend. Symlinks are followed. The result is cached to speed up\nfuture lookups. ', 's...
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': 'ProcessFileData@tools/caffe-sphereface/scripts/cpp_lint.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 strin...
0
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb...
0
{'name': 'CleanupPolicy.get_artifacts@artifactory_cleanup/rules/base.py', 'description': 'Get artifacts from Artifactory by AQL filters that we collect from all rules in the policy\n:return list of artifacts', 'signature': 'def get_artifacts(self) -> ArtifactsList:'}</s>{'name': 'Rule@artifactory_cleanup/rules/base.py'...
0
{'name': 'AdbDevice.connect@adb_shell/adb_device.py', 'description': "Establish an ADB connection to the device.\n\nSee :meth:`_AdbIOManager.connect`.\n\nParameters\n----------\nrsa_keys : list, None\n A list of signers of type :class:`~adb_shell.auth.sign_cryptography.CryptographySigner`,\n :class:`~adb_shell.au...
0
{'name': 'Rules.load@oslo_policy/policy.py', 'description': 'Allow loading of YAML/JSON rule data.\n\n.. versionadded:: 1.5.0', 'signature': 'def load(cls, data, default_rule=None):'}</s>register = _checks.register
0
{'name': 'test_list@tests/test_monkey.py', 'description': 'Ensure that json.dumps() can serialize a list', 'signature': 'def test_list() -> None:'}</s>{'name': 'test_redisdict@tests/test_monkey.py', 'description': 'Ensure that json.dumps() can serialize a RedisDict', 'code': "def test_redisdict(redis: Redis) -> None:\n...
0
{'name': 'aprint@art/functions.py', 'description': 'Print 1-line art.\n\n:param artname: art name\n:type artname : str\n:param number: number of repeats\n:type number: int\n:param space: space between arts\n:type space: int\n:return: None', 'signature': 'def aprint(artname, number=1, space=1):'}</s>FONT_NAMES = sorted(...
0
{'name': 'get_z_counts@latent_rationale/snli/util.py', 'description': 'Compute z counts (number of 0, continious, 1 elements).\n:param att: similarity matrix [B, prem, hypo]\n:param prem_mask:\n:param hypo_mask:\n:return: z0, zc, z1', 'signature': 'def get_z_counts(att, prem_mask, hypo_mask):'}</s>{'name': 'print_examp...
0
{'name': 'TestAPI.test_load_unused_semantics@tests/test_api.py', 'description': "Test #102\nIf unused Semantics Objects are stored on the geometry, it shouldn't break the\nAPI.", 'signature': 'def test_load_unused_semantics(self, mt_1_path):'}</s>MODULE_CJVAL_AVAILABLE = True
0
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex...
1
{'name': 'FrameRecord.get_link_urls@disdat/hyperframe.py', 'description': 'Assuming a link FrameRecord, return all the URLs in the frame\n\nReturns:\n (:list:str): An ordered set of link URLs', 'signature': 'def get_link_urls(self):'}</s>FLOAT64 = 4
0
{'name': 'Board.san@Monika After Story/game/python-packages/chess/__init__.py', 'description': 'Gets the standard algebraic notation of the given move in the context of\nthe current position.\n\nThere is no validation. It is only guaranteed to work if the move is\nlegal or a null move.', 'signature': 'def san(self, mov...
0
{'name': 'speed_camera@versions/speed-cam_13.07.py', 'description': 'Main speed camera processing function', 'signature': 'def speed_camera():'}</s>cvWhite = (255, 255, 255)
0
{'name': 'sniffer_capture@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Start the sniffer to capture packets', 'signature': 'def sniffer_capture(interface, baudrate, fifo, control_in, control_out):'}</s>{'name': 'create_packet@tools/ble_sniffer/extcap/SnifferAPI/Pcap.py', 'description': 'Create a PCAP p...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_HBAG_ERROR = 2320
0
{'name': 'make_dataset@snape/make_dataset.py', 'description': 'Creates a machine learning dataset based on command line arguments passed\n\n:param config: a configuration dictionary, or None if called from the command line\n:return: None', 'signature': 'def make_dataset(config=None):'}</s>{'name': 'rename_columns@snape...
0
{'name': 'MessageReceiver._message_received@uamqp/receiver.py', 'description': 'Callback run on receipt of every message. If there is\na user-defined callback, this will be called.\nAdditionally if the client is retrieving messages for a batch\nor iterator, the message will be added to an internal queue.\n\n:param mess...
0
{'name': '_format_compatibility_errors@jupyterlab/commands.py', 'description': 'Format a message for compatibility errors.', 'signature': 'def _format_compatibility_errors(name, version, errors):'}</s>{'name': 'get_latest_compatible_package_versions@jupyterlab/commands.py', 'description': 'Get the latest compatible ver...
0
{'name': 'log_sum_exp@nvae/losses.py', 'description': ':param x: Tensor. shape = (batch_size, num_mixtures, height, width)\n:return:', 'signature': 'def log_sum_exp(x):'}</s>{'name': 'discretized_mix_logistic_loss@nvae/losses.py', 'description': 'Discretized mix of logistic distributions loss.\n\nNote that it is assume...
0
{'name': 'ShapeTrainer.set_optimization_variables@experiments/smal_shape.py', 'description': 'Sets as optimization variables those obtained as prediction from the network', 'signature': 'def set_optimization_variables(self):'}</s>{'name': 'kp_l2_loss@nnutils/loss_utils.py', 'description': 'L2 loss between visible keypo...
0
{'name': 'CalculateTestLists@third_party/include/protobuf-2.6.1/gtest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>{'name': 'FilterFlag@third_party/include/protobuf-2.6.1/gtest/test/gtest_shuffle_test.py', 'descriptio...
1
{'name': 'info_file@module/save.py', 'description': 'gather course information. ', 'signature': 'def info_file(url, course_path):'}</s>RENAMING_ERROR = " Error in renaming file !!!"
0
{'name': 'Datasets.add_dataset@testrail_api/_category.py', 'description': 'Creates a new dataset.\n:param project_id: int\n The ID of the project to which the dataset should be added\n:param id: int\n The database ID of the dataset\n:param name: str\n Name of the dataset as provided\n:param variables: List[dic...
0
{'name': 'is_odd@nelpy/utils.py', 'description': 'Returns True if n is odd, and False if n is even.\nAssumes integer.', 'signature': 'def is_odd(n):'}</s>{'name': 'get_events_boundaries@nelpy/utils.py', 'description': "get event boundaries such that event.max >= PrimaryThreshold\nand the event extent is defined by Seco...
0
{'name': 'CheckStyle@tools/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 lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFOP_LESS = 1
0
{'name': 'QEMURunner.__init__@tracer/qemu_runner.py', 'description': ":param argv : Optionally specify argv params (i,e,: ['./calc', 'parm1']).\n:param binary : Path to the binary to be traced.\n:param input : Concrete input to feed to binary (bytes or CGC TracerPoV).\n:param project : ...
1
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
0
{'name': 'BaseImporter.to_unicode@data_importer/importers/base.py', 'description': 'Receive string bytestr and try to return a utf-8 string.', 'signature': 'def to_unicode(bytestr):'}</s>{'name': 'reduce_list@data_importer/core/base.py', 'description': 'DOCSTRING', 'code': 'def reduce_list(key_list, values_list):\n ...
0
{'name': 'MarketstoreStub.__init__@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>_CREATEREQUEST = DESCRIPTOR.message_types_by_name['CreateRequest']
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
0
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PFRKE_COST = 2
0
{'name': 'Image._preamble_read@wand/image.py', 'description': 'Set-up MagickWand properties before reading an image file. The\nproperties are unique to the image decoder.\n\n:param background: Defines the default background color.\n:type background: :class:`Color`, :class:`str`\n:param colorspace: Defines what colorspa...
0
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>km2m = 1000.0
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCO_DELETE = 1
0
{'name': 'Cache.search@shingetsu/cache.py', 'description': 'Search node from network and get records.', 'signature': 'def search(self, searchlist=None, myself4=None, myself6=None):'}</s>server = root_path + "server.cgi"
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQMO_MATCH_OFFSET = 16
0
{'name': 'Connection.channel@amqp/connection.py', 'description': "Create new channel.\n\nFetch a Channel object identified by the numeric channel_id, or\ncreate that object if it doesn't already exist.", 'signature': 'def channel(self, channel_id=None, callback=None):'}</s>{'name': 'ConnectionForced@amqp/exceptions.py'...
0
{'name': 'Matrix.cast@python/taichi/lang/matrix.py', 'description': 'Cast the matrix elements to a specified data type.\n\nArgs:\n dtype (:mod:`~taichi.types.primitive_types`): data type of the\n returned matrix.\n\nReturns:\n :class:`taichi.Matrix`: A new matrix with the specified data dtype.\n\nExample::...
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': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'modsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'modulename', 'signature': 'def modsign2map(m):'}</s>{'name': 'isoptional@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def isoptional(var):\n return ('attrspec' in var and 'optional' in var['...
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': 'TestingParser.convert_json_to_testing_args@tests/run_all_tests.py', 'description': 'Converts JSON config data to TestingArgs.\n\nThis method validates and converts JSON config data to a TestingArgs\nobject. It checks the data types of various fields and sets the\ncorresponding attributes in the TestingArgs ob...
0
{'name': 'fetch_enron_dataset@tests/conftest.py', 'description': "Downloads and caches a given part of the Enron dataset archive (one per individual)\n\nArgs:\n name: The individual's name\n files: A list of expected PST files\n url: The download URL for that file\n\nReturns:\n A directory path", 'signature...
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>CSR_HIP = 580
0
{'name': 'test_unbound_method_handler@tests/test_event.py', 'description': 'Test failure mode for unbound method handlers.', 'signature': 'def test_unbound_method_handler():'}</s>{'name': 'MultipleHandler@tests/utils.py', 'description': 'A generic handler to test multiple callbacks.', 'base_classes': ['object'], 'metho...
0
{'name': 'wrap_deepmind_pytorch@code/SAC-discrete/env.py', 'description': 'Configure environment for DeepMind-style Atari.\n:param env: (Gym Environment) the atari environment\n:param episode_life: (bool) wrap the episode life wrapper\n:param clip_rewards: (bool) wrap the reward clipping wrapper\n:param frame_stack: (b...
0
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'on_expand_heat@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_expand_heat(data):\n if data and 'heat' in data:\n RaceContext.rhui.emit_expand...
0