text
string
label
int64
{'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': 'AnimeGANV2Model.__init__@PaddleGAN-master/ppgan/models/animeganv2_model.py', 'description': 'Initialize the AnimeGANV2 class.\n\nParameters:\n opt (config dict)-- stores all the experiment flags; needs to be a subclass of Dict', 'signature': 'def __init__(self, cfg):'}</s>{'name': 'build_optimizer@PaddleGA...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_SUSPEND_Q_MGR = 146
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_message_event...
0
{'name': 'MarkdownConverter.get_conv_fn@markdownify/__init__.py', 'description': 'Given a tag name, find and return the conversion function.', 'signature': 'def get_conv_fn(self, tag_name):'}</s>SETEXT = UNDERLINED
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': 'Connection.ready@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/server/TNonblockingServer.py', 'description': 'Callback function for switching state and waking up main thread.\n\nThis function is the only function witch can be called asynchronous.\n\nThe ready can switch Connection to three states...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_USAGE_USED_BLOCKS = 1345
0
{'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': 'TestSigner.test_invalid_sep@tests/signing/tests.py', 'description': 'should warn on invalid separator', 'signature': 'def test_invalid_sep(self):'}</s>__all__ = [ "BadSignature", "SignatureExpired", "b64_encode", "b64_decode", "base64_hmac", "get_cookie_signer", "JSONSerializer", ...
0
{'name': 'predictions@bambi/interpret/effects.py', 'description': 'Compute Conditional Adjusted Predictions\n\nParameters\n----------\nmodel : bambi.Model\n The model for which we want to plot the predictions.\nidata : arviz.InferenceData\n The InferenceData object that contains the samples from the posterior dis...
1
{'name': 'furl.set@furl/furl.py', 'description': "Set components of a url and return this furl instance, <self>.\n\nIf any overlapping, and hence possibly conflicting, parameters\nare provided, appropriate UserWarning's will be raised. The\ngroups of parameters that could potentially overlap are\n\n <scheme> and <orig...
0
{'name': 'HtmlRenderer.__init__@mistletoe/html_renderer.py', 'description': "Args:\n extras (list): allows subclasses to add even more custom tokens.\n html_escape_double_quotes (bool): whether to also escape double\n quotes when HTML-escaping rendered text.\n html_escape_single_quotes (bool): whether t...
0
{'name': 'Client.__init__@SalesforcePy/sfdc.py', 'description': 'Constructor.\n\n:Parameters:\n - `*username` (`string`) - Salesforce username.\n - `*password` (`string`) - Salesforce password.\n - `*login_url` (`string`) - Salesforce login URL.\n - `*client_id` (`string`) - Salesforce client ID.\n - `*c...
0
{'name': 'test_linkauth_rw_pb@tests/bundles/test_hframe.py', 'description': 'Write LINKAUTH PBs to disk and back.\n:return:', 'signature': 'def test_linkauth_rw_pb():'}</s>testdir = os.path.join(tempfile.gettempdir(), "hframetests")
1
{'name': 'NDInputAttrTree._renameAttr@scripts/mpylib/ui/mpynode_designer.py', 'description': 'Triggered when the user renames an attribute using the UI', 'signature': 'def _renameAttr(self, item, col):'}</s>{'name': 'logError@scripts/mpylib/ui/mpynode_designer.py', 'description': 'Decorator function that that catches u...
0
{'name': 'MikrotikCoordinator.get_ppp@custom_components/mikrotik_router/coordinator.py', 'description': 'Get PPP data from Mikrotik', 'signature': 'def get_ppp(self) -> None:'}</s>CONF_SENSOR_SCRIPTS = "sensor_scripts"
0
{'name': 'CheckStyle@ament_cpplint/ament_cpplint/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 co...
0
{'name': 'PartitionLog.save@pg_partitioning/models.py', 'description': 'This setting will take effect immediately when you modify the value of\n``is_attached`` in the configuration.', 'signature': 'def save(self, force_insert=False, force_update=False, using=None, update_fields=None):'}</s>{'name': 'PartitionLog@pg_par...
1
{'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': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'GefSaveCommand@gef.py', 'description': "GEF ...
0
{'name': 'BaseUserInterface.update@ring/func/base.py', 'description': 'Execute the original function and `set` the result as the value.\n\nThis action is comprehensible as a concatenation of\n:meth:`ring.func.base.BaseUserInterface.execute` and\n:meth:`ring.func.base.BaseUserInterface.set`.\n\n:see: :meth:`ring.func.ba...
0
{'name': 'Context.resolve@lib/rule_engine/engine.py', 'description': 'The method to use for resolving symbols names to values. This function must return a compatible value for the\nspecified symbol name. When a *scope* is defined, this function handles the resolution itself, however when the\n*scope* is ``None`` the re...
0
{'name': 'build_recipes@bioconda_utils/build.py', 'description': 'Build one or many bioconda packages.\n\nArguments:\n recipe_folder: Directory containing possibly many, and possibly nested, recipes.\n config_path: Path to config file\n packages: Glob indicating which packages should be considered. Note that package...
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': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,...
0
{'name': '_SetVeryStronglyConnected@tools/yapf/yapf/yapflib/split_penalty.py', 'description': 'Set a VERY_STRONGLY_CONNECTED penalty annotation for the given nodes.', 'signature': 'def _SetVeryStronglyConnected(*nodes):'}</s>{'name': 'Subtype@tools/yapf/yapf/yapflib/format_token.py', 'description': 'Subtype information...
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': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra...
1
{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>{'name': 'on_set_led_effect@src/server/server.py', 'description': 'Set effect for event.', 'code': "def on_set_led_effect(data):\n '''Set effect for event.'''\n if 'event' in ...
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': 'get_full_version@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def get_full_version():\n return Z3_get_full...
0
{'name': 'clip_boxes@lib/fast_rcnn/bbox_transform.py', 'description': 'Clip boxes to image boundaries.', 'signature': 'def clip_boxes(boxes, im_shape):'}</s>{'name': 'bbox_transform_inv@lib/fast_rcnn/bbox_transform.py', 'description': 'DOCSTRING', 'code': 'def bbox_transform_inv(boxes, deltas):\n if boxes.shape[0] =...
0
{'name': 'main@storcli.py', 'description': 'main', 'signature': 'def main(args):'}</s>registry = CollectorRegistry()
1
{'name': 'unpack_properties@mqttools/common.py', 'description': 'Return a dictionary of unpacked properties.\n\n ', 'signature': 'def unpack_properties(packet_name,'}</s>{'name': 'MalformedPacketError@mqttools/common.py', 'description': 'DOCSTRING', 'base_classes': ['Error'], 'methods': []}
1
{'name': 'player_params@resources/site-packages/seasonvar/parser.py', 'description': 'extract parameters for player.php to retrieve playlists\nif parameters not found return None', 'signature': 'def player_params(season_page_html):'}</s>{'name': '_main_page_dayblocks@resources/site-packages/seasonvar/parser.py', 'descr...
0
{'name': 'multihead_attention@tensor2tensor_envi/layers/common_attention.py', 'description': 'Multihead scaled-dot-product attention with input/output transformations.\n\nArgs:\n query_antecedent: a Tensor with shape [batch, length_q, channels]\n memory_antecedent: a Tensor with shape [batch, length_m, channels] or N...
0
{'name': 'MinMaxScaler@pytorch/lab-12-5-stock_prediction.py', 'description': 'Min Max Normalization\n\nParameters\n----------\ndata : numpy.ndarray\n input data to be normalized\n shape: [Batch size, dimension]\n\nReturns\n----------\ndata : numpy.ndarry\n normalized data\n shape: [Batch size, dimension]\n\...
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_SimpleEncoder@python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for fie...
0
{'name': 'batch_kernel_product@tf_utils.py', 'description': ':param xv_p: batch * pair * k\n:param xv_q: batch * pair * k\n:param kernel: k * pair * k\n:param add_bias:\n:param bias: pair\n:param init:\n:param factor:\n:param num_pairs:\n:return:', 'signature': 'def batch_kernel_product(xv_p, xv_q, kernel=None, add_bia...
1
{'name': 'CheckBraces@third_party/cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with ...
0
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'HttpError@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['E...
1
{'name': 'convert@astor/rtrip.py', 'description': 'Walk the srctree, and convert/copy all python files\ninto the dsttree', 'signature': 'def convert(srctree, dsttree=dsttree, readonly=False, dumpall=False,'}</s>dsttree = "tmp_rtrip"
1
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>root_path = pathlib.Path(__file__).parent.parent.parent
0
{'name': 'info_for_entire_history@ascmhl/commands.py', 'description': 'ROOT_PATH: the root path to use for the asc mhl history', 'signature': 'def info_for_entire_history(root_path, verbose):'}</s>{'name': 'commit_session_for_collection@ascmhl/commands.py', 'description': 'DOCSTRING', 'code': 'def commit_session_for_co...
0
{'name': 'prettyArray@boxx/ylimg/ylimgTool.py', 'description': 'return str of pretty discrib for array, include nan inf (shape type max min) ', 'signature': 'def prettyArray(array):'}</s>{'name': 'npa@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer other data to np.ndarray\n\nsupport types inculde:\n nump...
1
{'name': 'GDAL2Tiles.open_input@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Initialization of the input raster, reprojection if necessary', 'signature': 'def open_input(self) -> None:'}</s>{'name': 'options_post_processing@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'DOCSTRING',...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQDH_STRUC_ID = b'DH '
0
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>_RE_PATTERN_TODO = re.compile(r'^//(\s*)TODO(\(.+?\))?:?(\s|$)?')
0
{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'VersioneerBadRootError@versioneer.py', 'description': 'The project root directory is unknown or missing key files.', 'base_classes': ['Exception'], 'methods': ...
0
{'name': 'algorithm_4@adaptive/tests/algorithm_4.py', 'description': 'ALGORITHM_4 evaluates an integral using adaptive quadrature. The\nalgorithm uses Clenshaw-Curtis quadrature rules of increasing\ndegree in each interval and bisects the interval if either the\nfunction does not appear to be smooth or a rule of maximu...
0
{'name': 'prepare_download_redirect@videodl/views.py', 'description': 'Downloads the file on the local server if needed and redirects the client\nto the download when ready.', 'signature': 'def prepare_download_redirect(request, download_link_uuid):'}</s>{'name': 'download_form@videodl/views.py', 'description': 'DOCSTR...
0
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': 'serialize_circuit@tensorflow_quantum/core/serialize/serializer.py', 'description': 'Returns a `cirq.Program` prot...
1
{'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': 'TLP.set_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completion for TLP', 'signature': 'def set_completion(self, tlp, completer_id, has_data=False, status=CPL_STATUS_SC):'}</s>MSI_CAP_LEN = 6
0
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/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, ...
1
{'name': 'Product._reproject@eoreader/products/product.py', 'description': 'Reproject using RPCs (cannot use another pixel size than src to ensure RPCs are valid)\n\nArgs:\n src_arr (np.ndarray): Array to reproject\n src_meta (dict): Metadata\n rpcs (rpc.RPC): RPCs\n dem_path (str): DEM path\n\nReturns:\n ...
0
{'name': 'get_validate@geetest_online/geetest_online.py', 'description': 'get geetest validate result by serial call', 'signature': 'def get_validate(session, search_name):'}</s>{'name': 'recover_image@geetest_online/geetest_online.py', 'description': 'load image from binary data, recombine to new image by offset array...
0
{'name': 'FieldMask.MergeMessage@python/google/protobuf/internal/field_mask.py', 'description': 'Merges fields specified in FieldMask from source to destination.\n\nArgs:\n source: Source message.\n destination: The destination message to be merged into.\n replace_message_field: Replace message field if True. Merge ...
0
{'name': 'get_hex_bitmask@ap2-receiver.py', 'description': 'prepares the feature bits into text form', 'signature': 'def get_hex_bitmask(in_features):'}</s>{'name': 'Stream@ap2/connections/stream.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Stream.__init__@ap2/connections/stream.py', 'desc...
0
{'name': 'Duration.__rsub__@app/src/scripts/duration.py', 'description': 'It is possible to subtract Duration objects from date, datetime and\ntimedelta objects.\n\nTODO: there is some weird behaviour in date - timedelta ...\n if timedelta has seconds or microseconds set, then\n date - timedelta != date + (-t...
1
{'name': 'Response.iter_content@src/requests/models.py', 'description': 'Iterates over the response data. When stream=True is set on the\nrequest, this avoids reading the content at once into memory for\nlarge responses. The chunk size is the number of bytes it should\nread into memory. This is not necessarily the l...
1
{'name': 'AttachResumeTestCase.process_attach_continue_interrupt_detach@llvm-12.0.0-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py', 'description': 'Test attach/continue/interrupt/detach', 'signature': 'def process_attach_continue_interrupt_detach(self):'}</s>{'name': 'skipIfReproducer@llvm-12...
0
{'name': 'setup_java_class@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'returns an example java class with the\ngiven content_to_add contained within a method.', 'signature': 'def setup_java_class(content_to_add):'}</s>{'name': 'ArraySelector@baseline_tokenization/javalang/tree.py', 'desc...
0
{'name': 'ConfigObj._parse@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'Actually parse the config file.', 'signature': 'def _parse(self, infile):'}</s>{'name': 'ConfigspecError@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'DOCSTRING', 'base_classes': ['ConfigObjError'], 'methods': []}
0
{'name': 'BertPreTrainedModel.from_pretrained@pytorch_pretrained_bert/modeling.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str w...
1
{'name': '_CallbackContext.check_data@sounddevice.py', 'description': 'Check data and output mapping.', 'signature': 'def check_data(self, data, mapping, device):'}</s>{'name': '_exit_handler@sounddevice.py', 'description': 'DOCSTRING', 'code': "def _exit_handler():\n assert _initialized >= 0\n\n # We cleanup any...
0
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>SERVICE_TIME_ADJUST = "adjust_time"
0
{'name': 'DescriptorBase.GetOptions@python/google/protobuf/descriptor.py', 'description': 'Retrieves descriptor options.\n\nReturns:\n The options set on this descriptor.', 'signature': 'def GetOptions(self):'}</s>{'name': 'ServiceDescriptor@python/google/protobuf/descriptor.py', 'description': 'Descriptor for a servi...
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_34 = Badge("meat ...
0
{'name': '_GHParam.from_input@src/ghhops-server-py/ghhops_server/params.py', 'description': 'Extract parameter data from serialized input', 'signature': 'def from_input(self, input_data):'}</s>{'name': 'HopsSurface@src/ghhops-server-py/ghhops_server/params.py', 'description': 'Wrapper for GH Surface', 'base_classes': [...
0
{'name': 'dict@ring/func/asyncio.py', 'description': ':class:`dict` interface for :mod:`asyncio`.\n\n:see: :func:`ring.func.sync.dict` for common description.', 'signature': 'def dict('}</s>{'name': 'AiomcacheStorage@ring/func/asyncio.py', 'description': 'Storage implementation for :class:`aiomcache.Client`.', 'base_cl...
0
{'name': 'Bottle.mount@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "Mount an application (:class:`Bottle` or plain WSGI) to a specific\nURL prefix. Example::\n\n root_app.mount('/admin/', admin_app)\n\n:param prefix: path prefix or `mount-point`. If it ends in a slash,\n that slash is mandator...
0
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': '_isstring@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description'...
0
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
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': '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': 'PathwayPredictor.run@cameo/strain_design/pathway_prediction/pathway_predictor.py', 'description': 'Run pathway prediction for a desired product.\n\nParameters\n----------\nproduct : Metabolite, str\n Metabolite or id or name of metabolite to find production pathways for.\nmax_predictions : int, optional\n ...
0
{'name': 'MyInterface.execute@src/python_scripts/scripts/build_afni.py', 'description': 'evaluate what needs to be done, report on it, any apply\n\n- evaluate directories\n - abin_path\n - root_path\n\nreturn 0 on success\n 1 on non-fatal termination error\n -1 on fatal error', 'signature': 'def exe...
0
{'name': 'test_no_residue_crossing@vermouth/tests/test_do_mapping.py', 'description': "Make sure we don't cross residue boundaries", 'signature': 'def test_no_residue_crossing():'}</s>{'name': 'test_mod_matches@vermouth/tests/test_do_mapping.py', 'description': 'Test modification matches', 'code': 'def test_mod_matches...
0
{'name': 'ep_wait_all_requests_done@tests/conftest.py', 'description': "Returns function which waits until inner scheduler was empty\nThat's means all requests are done", 'signature': 'def ep_wait_all_requests_done(app_client, ep):'}</s>{'name': 'method_request@tests/conftest.py', 'description': 'DOCSTRING', 'code': "d...
0
{'name': 'fixture_repo_name@tests/conftest.py', 'description': 'Return a repository name.', 'signature': 'def fixture_repo_name() -> str:'}</s>{'name': 'fixture_mock_sync@tests/conftest.py', 'description': 'DOCSTRING', 'code': 'def fixture_mock_sync(\n base_url: str, repo_owner: str, repo_name: str, response_list_la...
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': 'EmptySet@src/api/python/z3/z3.py', 'description': 'Create the empty set\n>>> EmptySet(IntSort())\nK(Int, False)', 'code': 'def EmptySet(s):\n """Create the ...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_LIMIT_TABLES = 3
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_75 = Badge("unico...
0
{'name': 'Kuyruk.connection@kuyruk/kuyruk.py', 'description': 'Returns underlying AMQP connection as a context manager.\nConnection object is locked while in context and cannot be used by other threads.\nIf you need a connection for a longer duration, use :class:`~kuyruk.Kuyruk.new_connection` method.', 'signature': 'd...
0
{'name': 'encode_str@wrappers/python/indy_vdr/bindings.py', 'description': 'Encode an optional input argument as a string.\n\nReturns: None if the argument is None, otherwise the value encoded utf-8.', 'signature': 'def encode_str(arg: Optional[Union[str, bytes]]) -> c_char_p:'}</s>{'name': 'pool_get_verifiers@wrappers...
0
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W...
0
{'name': 'darwin_width@python/xraydb/xray.py', 'description': "darwin width for a crystal reflection and energy\n\nArgs:\nenergy (float): X-ray energy in eV\ncrystal (string): name of crystal (one of 'Si', 'Ge', or 'C') ['Si']\nhkl (tuple): h, k, l for reflection [(1, 1, 1)]\na (float or None): lattice const...
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>CONF_MAXIMUM = "maximum"
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': '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': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQ_DB2_NAME_LENGTH = 4
0
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': 'Parser.p_named_arg_definition@yaql/language/parser.py', 'description': 'named_arg : value MAPPING value', 'signature': 'def p_named_arg_definition(p):'}</s>MappingType = collections.abc.Mapping
0
{'name': '_FloatingPointEncoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and ...
0
{'name': 'UserByID.patch@app/modules/users/resources.py', 'description': 'Patch user details by ID.', 'signature': 'def patch(self, args, user):'}</s>{'name': 'UserSignupFormSchema@app/modules/users/schemas.py', 'description': 'DOCSTRING', 'base_classes': ['Schema'], 'methods': []}
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>{'name': 'DvzRequestTexUpload@datovi...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACH_HB_INTERVAL = 1563
0
{'name': 'read_section_header@pcapng/structs.py', 'description': "Read a section header block from a stream.\n\n.. note::\n The byte order magic will be removed from the returned data\n This is ok as we don't need it anymore once we determined\n the correct endianness of the section.\n\n:returns: a dict contai...
0