text
string
label
int64
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXR_AUTO_CLUSRCVR = py23long(28)
0
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_ci_update_ai_queue@ut/test.py', 'description': '更新ai队列信息', 'code': 'def test_ci_update_ai_queue():\n """更新ai队列信息"""\n ...
0
{'name': 'plot_stack_peak@rtm/plotting.py', 'description': 'Plot the stack function (at the spatial stack max) as a function of time.\n\nArgs:\n S: :class:`~xarray.DataArray` containing the stack function :math:`S`\n plot_max (bool): Plot maximum value with red circle (default: `False`)\n ax (:class:`~matplotl...
1
{'name': 'get_collapsed_properties_type_mappings@swagger_spec_validator/validator20.py', 'description': 'Get all the properties for a swagger model (definition).\n:param definition: dictionary representation of the definition\n:type definition: dict\n:param deref: callable that dereferences $refs\n:return: (required pr...
0
{'name': 'AutoReject.fit@autoreject/autoreject.py', 'description': 'Fit the epochs on the AutoReject object.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object to be fit.\n\nReturns\n-------\nself : instance of AutoReject\n The instance.', 'signature': 'def fit(self, epochs):'}</s>{'na...
0
{'name': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/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>NO...
0
{'name': '_wrap@dill/source.py', 'description': "encapsulate a function and it's __import__ ", 'signature': 'def _wrap(f):'}</s>{'name': '_getimport@dill/source.py', 'description': 'helper to build a likely import string from head and tail of namespace.\n(\'head\',\'tail\') are used in the following context: "from head...
0
{'name': 'Modules@vimdoc/module.py', 'description': 'Creates modules from a plugin directory.\n\nNote that there can be many, if a plugin has standalone parts that merit their\nown helpfiles.\n\nArgs:\n directory: The plugin directory.\nYields:\n Module objects as necessary.', 'signature': 'def Modules(directory):'}<...
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': '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>panzoom_pan_shift = dvz.dvz_panzoom_...
0
{'name': 'open_rasterio@rioxarray/_io.py', 'description': 'Open a file with rasterio (experimental).\n\nThis should work with any file that rasterio can open (most often:\ngeoTIFF). The x and y coordinates are generated automatically from the\nfile\'s geoinformation and refer to the center of the pixel.\n\n.. versionad...
0
{'name': 'Life360Scanner.__init__@custom_components/life360/device_tracker.py', 'description': 'Initialize Life360Scanner.', 'signature': 'def __init__(self, hass, config, see, interval, home_place_name, api):'}</s>{'name': '_exc_msg@custom_components/life360/device_tracker.py', 'description': 'DOCSTRING', 'code': "def...
0
{'name': '_FloatingPointEncoder@third_party/include/protobuf-2.6.1/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 mak...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_OPEN_SET = 1100
0
{'name': 'fame_manage@main.py', 'description': 'HTTP Google cloud function. Adds/Removes/Lists repos.', 'signature': 'def fame_manage(request):'}</s>{'name': 'get_fame_pubsub_topic@main.py', 'description': 'DOCSTRING', 'code': "def get_fame_pubsub_topic():\n project = os.environ.get('project', None)\n error_if_fa...
1
{'name': 'parse_ifdef_block@sqf/parser.py', 'description': 'Given a IfDefStatement and the defines, converts the statement.tokens into\na list of tokens that can be analyzed after processing the #ifdef statement.\n`position_until_here` used to compute position of errors', 'signature': 'def parse_ifdef_block(expression,...
0
{'name': 'cross_corr@utils.py', 'description': 'Calculates the cross correlation and lags without normalization.\n\nThe definition of the discrete cross-correlation is in:\nhttps://www.mathworks.com/help/matlab/ref/xcorr.html\n\nArgs:\ny1, y2: Should have the same length.\n\nReturns:\nmax_corr: Maximum correlation with...
0
{'name': 'TLP.unpack@fpga/lib/pcie/tb/pcie.py', 'description': 'Unpack TLP from DWORD array', 'signature': 'def unpack(self, pkt):'}</s>TLP_CFG_READ_0 = (FMT_3DW, 0x04)
1
{'name': 'BaseImage.range_threshold@wand/image.py', 'description': "Applies soft & hard thresholding.\n\nFor a soft thresholding, parameters should be monotonically increasing:\n\n with Image(filename='text.png') as img:\n img.range_threshold(0.2, 0.4, 0.6, 0.8)\n\nFor a hard thresholding, parameters should b...
0
{'name': 'has_flag@setup.py', 'description': 'Return a boolean indicating whether a flag name is supported on\nthe specified compiler.', 'signature': 'def has_flag(compiler, flagname):'}</s>{'name': 'cpp_flag@setup.py', 'description': 'Return the -std=c++[11/14/17] compiler flag.\nThe newer version is prefered over c++...
0
{'name': 'AndroidTestBase.acquire_device@qt4a/androidtestbase.py', 'description': '申请设备接口\n\n:param device_id: 设备ID,用于本地调试\n:type device_id: string', 'signature': 'def acquire_device(self, device_id=None, **kwargs):'}</s>{'name': 'KeyCode@qt4a/androiddriver/util.py', 'description': '按键对应关系', 'base_classes': ['object']...
0
{'name': 'interpolate_record@datagen/action_generator/data_processor.py', 'description': 'Returns result record with interpolated values', 'signature': 'def interpolate_record(record1, record2, image_record):'}</s>{'name': 'run@datagen/action_generator/data_processor.py', 'description': 'DOCSTRING', 'code': "def run(\n...
0
{'name': 'load_gensim_topicvec_sklearnclassifier@shorttext/classifiers/bow/topic/SkLearnClassification.py', 'description': 'Load the classifier, a wrapper that uses scikit-learn classifier, with\n feature vectors given by a topic model, from files.\n\n# Reference\n\nXuan Hieu Phan, Cam-Tu Nguyen, Dieu-Thu Le, Minh Le N...
1
{'name': '_deaugment_averaging@pytorch_toolbelt/inference/tta.py', 'description': 'Average predictions of TTA-ed model.\nThis function assumes TTA dimension is 0, e.g [T, B, C, Ci, Cj, ..]\n\nArgs:\n x: Input tensor of shape [T, B, ... ]\n reduction: Reduction mode ("sum", "mean", "gmean", "hmean", function, None...
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>MASK_HRET = 4294967295
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>MQIA_MULTICAST = 176
0
{'name': 'read_annotations@externals/modified_gap/gap_scorer.py', 'description': "Reads coreference annotations for the examples in the given file.\n\nArgs:\n filename: Path to .tsv file to read.\n is_gold: Whether or not we are reading the gold annotations.\n\nReturns:\n A dict mapping example ID strings to their A...
1
{'name': 'edit_configuration@buildtest/cli/config.py', 'description': 'This method will open configuration file in editor. The preferred editor will be determined based on environment\nvariable ``EDITOR`` if found otherwise will resort to ``vim``.\n\nArgs:\n configuration (buildtest.config.SiteConfiguration): Instan...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCHSSTATE_IN_MQPUT = 1500
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>batch_print = dvz.dvz_batch_print
0
{'name': 'Serial.open@serial/rfc2217.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>PURGE_RECEIVE_BUFFER = b'\x01'
0
{'name': 'NoteTrajectory.seq_to_trajectory@robopianist/music/midi_file.py', 'description': 'Converts a NoteSequence into a time series representation.', 'signature': 'def seq_to_trajectory('}</s>{'name': 'play_sound@robopianist/music/audio.py', 'description': 'Play a waveform using PyAudio.', 'code': 'def play_sound(\n...
0
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s...
1
{'name': 'GoogleParser.parse@docstring_parser/google.py', 'description': 'Parse the Google-style docstring into its components.\n\n:returns: parsed docstring', 'signature': 'def parse(self, text: str) -> Docstring:'}</s>{'name': 'DocstringRaises@docstring_parser/common.py', 'description': 'DocstringMeta symbolizing :ra...
0
{'name': 'prepare@joeynmt/prediction.py', 'description': 'Helper function for model and data loading.\n\n:param args: config args\n:param rank: ddp rank\n:param mode: execution mode', 'signature': 'def prepare(args: BaseConfig, rank: int,'}</s>{'name': 'write_list_to_file@joeynmt/helpers.py', 'description': 'Write list...
0
{'name': 'initLogging@train_6_sia_map.py', 'description': 'Init for logging\n ', 'signature': "def initLogging(logFilename='record_sia_map.log'):"}</s>image_width = 32
0
{'name': 'register_functions@llvm-4.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Register function prototypes with a libclang library instance.\n\nThis must be called as part of library instantiation so Python knows how\nto call out to the shared library.', 'signature': 'def register_functions(li...
0
{'name': 'SchemaDoc.getReference@redfish_service_validator/catalog.py', 'description': 'getSchemaFromReference\n\nGet tuple from generated references\n\n:param namespace: Namespace of reference', 'signature': 'def getReference(self, namespace):'}</s>excerpt_info_by_type = { 'Redfish.ExcerptCopy': ExcerptTypes.CONTA...
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI...
0
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>{'name': 'IsMacroDefinition@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'DOCSTRING', 'code': "def IsMacr...
0
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>ICMP_UNREACH_TOSNET = 11
0
{'name': 'CheckForNonConstReference@tools/caffe-sphereface/scripts/cpp_lint.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 clean_lines: A CleansedLines in...
0
{'name': 'move@py3/SciServer/Files.py', 'description': 'Moves or copies a file or folder.\n\n:param fileService: name of fileService (string), or object (dictionary) that defines a file service. A list of these kind of objects available to the user is returned by the function Files.getFileServices().\n:param path: Stri...
0
{'name': 'has_good_and_bad@nix_bisect/bisect_runner.py', 'description': 'Determines if the bisect can start', 'signature': 'def has_good_and_bad():'}</s>{'name': 'get_skip_ranges@nix_bisect/bisect_runner.py', 'description': 'Returns all skip range names', 'code': 'def get_skip_ranges(patchset):\n """Returns all skip...
0
{'name': 'TLP.set_ca_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completer abort (CA) completion for TLP', 'signature': 'def set_ca_completion(self, tlp, completer_id):'}</s>TLP_FETCH_ADD = (FMT_3DW_DATA, 0x0C)
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>REQUEST_OBJECT_RECORD = 22
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_CHANNEL_INDOUBT = 4025
0
{'name': 'docs@tasks.py', 'description': 'Generate documentation', 'signature': 'def docs(c):'}</s>DOCS_INDEX = DOCS_BUILD_DIR.joinpath("index.html")
1
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>ND_ROUTER_SOLICIT = 133
0
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'OrderFileTestCase@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'DOCSTRING...
1
{'name': 'Broadcast.__init__@pyexfil/network/HTTPResp/client.py', 'description': 'Broadcast data out.\n:param dst_ip: Outgoing server IP [str]\n:param dst_port: Port of server [int]\n:param fname: File name to leak [str]\n:param max_size: Maximum size of each packet [1024, int]\n:param key: Key to use for encryption [s...
0
{'name': 'HdlParseTC.parseWithRef@tests/hdl_parse_tc.py', 'description': 'Parse file and compare it with a reference file.\n\n:param fname: name of a file to parse\n:type fname: str\n:type language: Language\n:param ref_fname: name of reference file in the case it is not the same\n (relative to "expected/" )\n:param...
1
{'name': 'networkd_netdevs@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd NetDev configuration.\n\nThe format is compatible with the systemd_networkd_netdev variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: Lis...
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': 'Win32Serial.open@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>portNotOpenError = ValueError('Attempting to use a port that is not open')
0
{'name': 'PDFDocument.read_xref_from@pdfminer3/pdfdocument.py', 'description': 'Reads XRefs from the given location.', 'signature': 'def read_xref_from(self, parser, start, xrefs):'}</s>{'name': 'PDFNoValidXRef@pdfminer3/pdfdocument.py', 'description': 'DOCSTRING', 'base_classes': ['PDFSyntaxError'], 'methods': []}
1
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
0
{'name': 'ZWaveServices.add_node@custom_components/zwave_mqtt/services.py', 'description': 'Enter inclusion mode on the controller.', 'signature': 'def add_node(self, service):'}</s>DISC_GENRE = "genre"
0
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK...
0
{'name': 'TestMediaWikiExceptions.test_geocoord_error@tests/mediawiki_test.py', 'description': 'test geocoord error thrown', 'signature': 'def test_geocoord_error(self):'}</s>{'name': 'TestMediaWikiRequests@tests/mediawiki_test.py', 'description': 'test the actual wiki_request', 'base_classes': ['unittest.TestCase'], '...
0
{'name': 'CodeGenTest.test_fgpu_agent_func_input_types@tests/python/codegen/test_codegen.py', 'description': 'Try all the message input types by using a string replacement ', 'signature': 'def test_fgpu_agent_func_input_types(self):'}</s>py_elif2 = "if cond1: break elif cond2: break "
0
{'name': 'auto_cpp_level@extern/pybind/pybind11/setup_helpers.py', 'description': 'Return the max supported C++ std level (17, 14, or 11). Returns latest on Windows.', 'signature': 'def auto_cpp_level(compiler: Any) -> Union[str, int]:'}</s>STD_TMPL = "/std:c++{}" if WIN else "-std=c++{}"
1
{'name': 'is_required@graphene_django_cud/converter.py', 'description': 'Helper method to determine if a field is required or not.\n\n:param field: The field to check for requirement.\n:param required: Optional. Explicitly set requirement. If provided, this value will be returned.\n:param is_many_to_many: Optional. Spe...
0
{'name': 'fifo_test@examples/fifo/tests/test_fifo.py', 'description': 'FIFO Test ', 'signature': 'def fifo_test(dut):'}</s>coverage_db = CoverageDB()
1
{'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>MQADOPT_TYPE_NO = 0
0
{'name': 'MH.get_sql_and_with_clause@operations.py', 'description': 'Gets the SQL query and WITH clause.\n\nThe query is constructed in a similar way to AbsoluteChange except that we\napply weights to adjust the change.\n\nFor example, the query for\nMH(\'condition\', \'base_value\', \'stratified\',\n metr...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXR2_PUT_WITH_DEF_USERID = py23long(1)
0
{'name': 'process_line@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPOR...
0
{'name': 'CSSParser.parse_pseudo_class@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse pseudo class.', 'signature': 'def parse_pseudo_class(self, sel, m, has_selector, iselector, is_html):'}</s>FLG_INDETERMINATE = 32
0
{'name': 'scope_vars@agents/bdq/common/tf_util.py', 'description': 'Get variables inside a scope\nThe scope can be specified as a string\n\nParameters\n----------\nscope: str or VariableScope\n scope in which the variables reside.\ntrainable_only: bool\n whether or not to return only the variables that were marke...
0
{'name': 'TestMibSnimpy.testLoadInvalidModule@tests/test_mib.py', 'description': 'Check that an obviously invalid module cannot be loaded', 'signature': 'def testLoadInvalidModule(self):'}</s>{'name': 'getTables@snimpy/mib.py', 'description': 'Return all tables from a given MIB.\n\n:param mib: The MIB name\n:return: Th...
0
{'name': 'Win32Serial.open@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>writeTimeoutError = SerialTimeoutException("Write timeout")
0
{'name': 'Avanza.search_for_fund@avanza/avanza.py', 'description': "Search for a fund\n\nArgs:\n\n query: can be a ISIN ('SE0012454338'),\n name ('Avanza'),\n tickerSymbol ('Avanza Europa')\n\n limit: maximum number of results to return", 'signature': 'def search_for_fund(self, query: str, limit: in...
0
{'name': 'LogisticRegressionGD.activation@Chapter03/ch03.py', 'description': 'Compute logistic sigmoid activation', 'signature': 'def activation(self, z):'}</s>y = iris.target
0
{'name': 'LinearFeatures.create_pipeline@lightautoml/pipelines/features/linear_pipeline.py', 'description': 'Create linear pipeline.\n\nArgs:\n train: Dataset with train features.\n\nReturns:\n Transformer.', 'signature': 'def create_pipeline(self, train: NumpyOrPandas) -> LAMLTransformer:'}</s>{'name': 'Category...
1
{'name': 'cnn_model@utils.py', 'description': 'Defines a CNN model using Keras sequential model\n:param logits: If set to False, returns a Keras model, otherwise will also\n return logits tensor\n:param input_ph: The TensorFlow tensor for the input\n (needed if returning logits)\n ...
1
{'name': 'decode@meza/compat.py', 'description': "Decode bytes into unicode text\n\nArgs:\n content (scalar): the content to analyze\n encoding (str)\n\nReturns:\n unicode\n\nExamples:\n >>> decode(b'Hello World!') == 'Hello World!'\n True\n >>> content = 'Iñtërnâtiônàližætiøn!'\n >>> decode(conten...
1
{'name': 'speed_camera@versions/speed-cam-13.12.py', 'description': 'Main speed camera loop processing function', 'signature': 'def speed_camera():'}</s>cvBlack = (0, 0, 0)
0
{'name': 'wait_on_last_job@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'wait on a bigquery job or raise informative exception.\n\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n lock_blob: storage.Blob _bqlock blob\n backfill_blob: sto...
1
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam...
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>MQIACF_SYSP_MAX_ARCHIVE = 1177
0
{'name': 'test_multipart_matcher_fail@responses/tests/test_matchers.py', 'description': 'Validate that Exception is raised if request does not match responses.matchers\n validate matchers.multipart_matcher\n:return: None', 'signature': 'def test_multipart_matcher_fail():'}</s>{'name': 'test_request_matches_headers_s...
0
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0...
0
{'name': 'LogisticRegression.compute_on_sql_magic_mode@models.py', 'description': 'Gets the coefficients by minimizing the cost function.\n\nWe use iteratively reweighted least squares algorithm to solve the model.\nThe algorithm is described in\nhttps://colab.research.google.com/drive/1Srfs4weM4LO9vt1HbOkGrD4kVbG8cso8...
0
{'name': 'load_inventory@src/attributecode/gen.py', 'description': 'Load the inventory file at `location` for ABOUT and LICENSE files stored in\nthe `base_dir`. Return a list of errors and a list of About objects\nvalidated against the `base_dir`.\n\nOptionally use `reference_dir` as the directory location of extra ref...
0
{'name': 'nestedExpr@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing expres...
0
{'name': 'VtkFile.addData@pyevtk/vtk.py', 'description': 'Add array description to xml header section.\n\nParameters\n----------\nname : str\n data array name.\ndata : array-like\n one numpy array or a tuple with 3 numpy arrays.\n If a tuple, the individual arrays must represent the components\n of a vector...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQEVR_EXCEPTION = 2
0
{'name': 'run@src/back/kite/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`server_names` keys\n ...
1
{'name': '_process_utterance@datasets/moon.py', 'description': 'Preprocesses a single utterance wav/text pair\n\nthis writes the mel scale spectogram to disk and return a tuple to write\nto the train.txt file\n\nArgs:\n - mel_dir: the directory to write the mel spectograms into\n - linear_dir: the directory to wr...
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_MSG_HANDLE_IN_USE = 2499
0
{'name': 'babel_extract@venv/Lib/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find the best...
0
{'name': 'weibo_containerid@weibo_base/weibo_api.py', 'description': ':param containerid:\n:param page:\n:return:', 'signature': 'def weibo_containerid(containerid: str, page: int) -> Response:'}</s>Response = Optional[dict]
1
{'name': 'unshorten_amount@lnaddr.py', 'description': 'Given a shortened amount, convert it into a decimal\n ', 'signature': 'def unshorten_amount(amount):'}</s>{'name': 'pull_tagged@lnaddr.py', 'description': 'DOCSTRING', 'code': 'def pull_tagged(stream):\n tag = stream.read(5).uint\n length = stream.read(5)....
0
{'name': 'getSegmentation@DigiPathAI/Segmentation.py', 'description': "args:\n img_path: WSI tiff image path (str)\n patch_size: patch size for inference (int)\n stride_size: stride to skip during segmentation (int)\n batch_size: batch_size during inference (int)\n quick: if True; fin...
0
{'name': 'PyrataReTest.test_greedy_finditer_a_a_star_in_caaaad@do_tests.py', 'description': 'Test greedy finditer wi a_a_star_in_caaaad. The pattern is present in the data.', 'signature': 'def test_greedy_finditer_a_a_star_in_caaaad(self):'}</s>{'name': 'findall@pyrata/re.py', 'description': 'Return all non-overlapping...
0
{'name': 'DetectionNetwork.build_loss@libs/networks/build_whole_network.py', 'description': ':param rpn_box_pred: [-1, 4]\n:param rpn_bbox_targets: [-1, 4]\n:param rpn_cls_score: [-1]\n:param rpn_labels: [-1]\n:param bbox_pred: [-1, 4*(cls_num+1)]\n:param bbox_targets: [-1, 4*(cls_num+1)]\n:param cls_score: [-1, cls_nu...
0
{'name': 'MultispeakerDictionaryMixin.save_oovs_found@montreal_forced_aligner/dictionary/multispeaker.py', 'description': 'Save all out of vocabulary items to a file in the specified directory\n\nParameters\n----------\ndirectory : str\n Path to directory to save ``oovs_found.txt``', 'signature': 'def save_oovs_foun...
0