text
string
label
int64
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>btcpay_lnd_2 = "Scanné avec succès"
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>{'name': 'pfioc_limit@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>commonHTMLEntity = Regex('&(?P<entity>' + '|'....
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQFUN_TYPE_PROCEDURE = 3
0
{'name': 'extcap_interfaces@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List available interfaces to capture from', 'signature': 'def extcap_interfaces():'}</s>{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'code': 'def...
0
{'name': 'from_mido@muspy/inputs/midi.py', 'description': "Return a mido MidiFile object as a Music object.\n\nParameters\n----------\nmidi : :class:`mido.MidiFile`\n Mido MidiFile object to convert.\nduplicate_note_mode : {'fifo', 'lifo', 'all'}, default: 'fifo'\n Policy for dealing with duplicate notes. When a ...
1
{'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>_THIRD_PARTY_HEADERS_PATTERN = re.compile( r'^(?:[^/]*[A-Z][^/]*\.h|lu...
0
{'name': 'test_seed@python/ecole/tests/test_environment.py', 'description': 'Random generator is consumed.', 'signature': 'def test_seed():'}</s>{'name': 'MockDynamics@python/ecole/tests/test_environment.py', 'description': 'DOCSTRING', 'base_classes': ['mock.MagicMock'], 'methods': [{'name': 'MockDynamics.__init__@pyt...
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': 'ap_per_class@yolov3/utils/utils.py', 'description': 'Compute the average precision, given the recall and precision curves.\nSource: https://github.com/rafaelpadilla/Object-Detection-Metrics.\n# Arguments\n tp: True positives (nparray, nx1 or nx10).\n conf: Objectness value from 0-1 (nparray).\n p...
0
{'name': 'fetch_tomtom_matches@modisco/util.py', 'description': "Fetches top matches from a motifs database using TomTom.\n\nArgs:\n ppm: position probability matrix- numpy matrix of dimension (N,4)\n background: list with ACGT background probabilities\n tomtom_exec_path: path to TomTom executable\n motifs_...
0
{'name': 'HappyPathUser._get_order_request@shared/tests/perf/perf_happy_path.py', 'description': 'Generate an order request', 'signature': 'def _get_order_request(self) -> dict:'}</s>CONFIG = {}
1
{'name': 'test_merged_dup_stream_blocks@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on Blocks.', 'signature': 'def test_merged_dup_stream_blocks():'}</s>{'name': 'Block@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Block.read_next_...
1
{'name': 'HTTPRequest.read_request_line@cheroot/server.py', 'description': "Read and parse first line of the HTTP request.\n\nReturns:\n bool: True if the request line is valid or False if it's malformed.", 'signature': 'def read_request_line(self): # noqa: C901 # FIXME'}</s>FORWARD_SLASH = b'/'
1
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
1
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'Shdr@gef.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Shdr.__init__@gef.py', 'description': 'DOCSTRING', 'code': 'def __in...
0
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'collapse_random_cps@experiments/metts_ising.py', 'description': '"\nSequentially collapse wavefunction `psi` onto a classical product state (CPS)\nusing a random local Bloch basis for each site.', 'signature': 'def collapse_random_cps(L: int, psi: np.ndarray, rng: np.random.Generator):'}</s>{'name': 'random_b...
1
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': 'delete_position@backend/app/routers/position.py', 'description': 'Endpoint to delete an existing position.', 'signature': 'def delete_position(position_id: int, db: Session = Depends(get_db)):'}</s>{'name': 'UpdateUser@backend/app/schemas.py', 'description': 'DOCSTRING', 'base_classes': ['BaseModel'], 'method...
0
{'name': 'BitBoxCommonAPI.__init__@py/bitbox02/bitbox02/communication/bitbox_api_protocol.py', 'description': 'Can raise LibraryVersionOutdatedException. check_min_version() should be called following\nthe instantiation.\nIf device_info is None, it is infered using the OP_INFO API call, available since\nfirmware versio...
1
{'name': 'work_in@changes/cli.py', 'description': 'Context manager version of os.chdir. When exited, returns to the working\ndirectory prior to entering.', 'signature': 'def work_in(dirname=None):'}</s>VERSION = 'changes {}'.format(__version__)
0
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>{'name': 'Fixed64ByteSize@python/google/protobuf/internal/wire_format.py', 'description': 'DOCSTRING', 'code': 'def...
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given am...
1
{'name': 'OAuth2Credentials.authorize@third_party/oauth2client/client.py', 'description': "Authorize an httplib2.Http instance with these credentials.\n\nThe modified http.request method will add authentication headers to each\nrequest and will refresh access_tokens when a 401 is received on a\nrequest. In addition the...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCBD_CURRENT_LENGTH = MQCBD_LENGTH_1
0
{'name': 'DescriptorPool._SetFieldType@third_party/dawn/third_party/protobuf/python/google/protobuf/descriptor_pool.py', 'description': "Sets the field's type, cpp_type, message_type and enum_type.\n\nArgs:\n field_proto: Data about the field in proto format.\n field_desc: The descriptor to modify.\n package: The pa...
0
{'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': '_parse_edge_nodes@uxarray/io/_mpas.py', 'description': 'Parses edge node connectivity for either the Primal or Dual Mesh.', 'signature': 'def _parse_edge_nodes(in_ds, out_ds, mesh_type):'}</s>FACE_DIM = "n_face"
0
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'use_stdtype@gef.py', 'description': 'DOCSTRING', 'code': 'def use_stdtype() -> str:\n if is_32bit(): return "uint32_t"\n elif is_64bit(): return "uint64_t"\n return...
0
{'name': 'test_raise_error_for_unrealistic_fields@tests/test_oopinterface.py', 'description': 'Error shall be raised if the SOR algorithm for computing reference state does not converge.', 'signature': 'def test_raise_error_for_unrealistic_fields():'}</s>DRY_GAS_CONSTANT = 287.0
1
{'name': 'textureAsContentTexture@ValveFileSystem/valve.py', 'description': 'returns a resolved content texture filepath for some sort of texture path. it looks for psd\nfirst, and then for tga. if neither are found None is returned', 'signature': 'def textureAsContentTexture(texturePath):'}</s>{'name': 'projectRelat...
0
{'name': 'to_categorical@baselines/nl2code/nn/utils/np_utils.py', 'description': 'Convert class vector (integers from 0 to nb_classes)\nto binary class matrix, for use with categorical_crossentropy', 'signature': 'def to_categorical(y, nb_classes=None):'}</s>{'name': 'probas_to_classes@baselines/nl2code/nn/utils/np_uti...
0
{'name': 'resnet_v1@model/nets/resnet_v1.py', 'description': "Generator for v1 ResNet models.\n\nThis function generates a family of ResNet v1 models. See the resnet_v1_*()\nmethods for specific model instantiations, obtained by selecting different\nblock instantiations that produce ResNets of various depths.\n\nTraini...
1
{'name': 'Contract.make_asts@panoramix/contract.py', 'description': 'we need to do ast creation from the contract, not function level,\nbecause some simplifications (type/field removal) require insight to all the functions,\nnot just a single one', 'signature': 'def make_asts(self):'}</s>{'name': 'get_name_full@panoram...
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': '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': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>LOG_ERR = 3
0
{'name': 'Bottle.route@src/back/kite/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:param path: Request path...
0
{'name': 'createAndPublishAPIs@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will create and publish all APIs\n:return: None', 'signature': 'def createAndPublishAPIs():'}</s>logger = log.setLogger('create_api_scenario')
1
{'name': 'validating_create_connection@advocate/connection.py', 'description': "Connect to *address* and return the socket object.\n\nConvenience function. Connect to *address* (a 2-tuple ``(host,\nport)``) and return the socket object. Passing the optional\n*timeout* parameter will set the timeout on the socket inst...
0
{'name': 'graph.dijkstra_hl@graphlearning/graph.py', 'description': "Dijkstra's algorithm (Hopf-Lax Version)\n======\n\nSolves the graph Hamilton-Jacobi equation\n\\[ \\max_j w_{ji}^{-1} (u(x_i)^2 - u(x_j)^2) = u(x_i)f_i\\]\nsubject to \\(u=g\\) on \\(\\Gamma\\).\n\nParameters\n----------\nbdy_set : numpy array (int) \...
0
{'name': 'Beam.analyse@indeterminatebeam/indeterminatebeam.py', 'description': 'Solve the beam structure for reaction and internal forces', 'signature': 'def analyse(self):'}</s>{'name': 'draw_support_triangle@indeterminatebeam/plotly_drawing_aid.py', 'description': 'Draw an anchored triangle on a plotly figure.\n\nPar...
0
{'name': 'load_libdmtx@pylibdmtx/wrapper.py', 'description': 'Loads the libdmtx shared library.\n\nPopulates the globals LIBDMTX and EXTERNAL_DEPENDENCIES.', 'signature': 'def load_libdmtx():'}</s>dmtxRegionDestroy = libdmtx_function( 'dmtxRegionDestroy', DmtxPassFail, POINTER(POINTER(DmtxRegion)) )
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': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si...
0
{'name': 'BuildImage@utils/pyHDLC/__init__.py', 'description': "Build and optionally test container image(s).\n\n:param image:\n Bare image name(s), without registry, collection or architecture.\n The supported syntax for each image name is ``name[#location]``, where the optional ``location`` is ignored during\n the...
0
{'name': 'search@ytmdl/core.py', 'description': 'Search the song on YouTube, ask the user for an input and accordingly\nreturn a selected song.\n\nThe song can be extracted either from an URL or the name. If the name is\npresent, we will search on YouTube for the name, ask the user for a choice\nand accordingly return ...
0
{'name': 'face_extraction@Contents/scripts/siweighteditor/modeling.py', 'description': 'メッシュを選択したフェイスで切り分ける\ndeleteOrg\u3000切り分け元のフェイスを削除するかどうかを指定デフォルトTrue\nfaces →\u3000外部ツールからフェイスのリストを渡して実行したい場合の引数', 'signature': 'def face_extraction(faces=None, deleteOrg=True, selectDuplicated=True, transferWeight=True):'}</s>{'name...
0
{'name': 'QuadNode.quadrant@PythonCode/adk/quad.py', 'description': 'Determine quadrant in which point exists. Closed intervals on quadrants I (NE) and III (SW).', 'signature': 'def quadrant(self, pt):'}</s>{'name': 'QuadNode@PythonCode/adk/quad.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': ...
1
{'name': 'get_async_fn@asynq/decorators.py', 'description': 'Returns an async function for the specified source function.', 'signature': 'def get_async_fn(fn, wrap_if_none=False):'}</s>{'name': 'FutureIsAlreadyComputed@asynq/futures.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []}
0
{'name': 'write_predictions@qbert/extraction/utils_squad.py', 'description': 'Write final predictions to the json file and log-odds of null if needed.', 'signature': 'def write_predictions(all_examples, all_features, all_results, n_best_size,'}</s>{'name': '_compute_softmax@qbert/extraction/utils_squad.py', 'descriptio...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIMPO_INQ_FIRST = 0
0
{'name': 'TranscriptionEvaluationMixin.compute_wer@montreal_forced_aligner/transcription/transcriber.py', 'description': 'Evaluates the transcripts if there are reference transcripts\n\nRaises\n------\n:class:`~montreal_forced_aligner.exceptions.KaldiProcessingError`\n If there were any errors in running Kaldi binar...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQNT_Q = 1
0
{'name': 'TCam.shutdown@ESP32/python/tcam.py', 'description': "shutdown()\n\nUse this to not only disconnect the socket, but also shut down the manager thread. If you are using\nthis object in an ipython session, you may find that the session won't exit until you ctrl+c. This is\nbecause the manager thread is still a...
0
{'name': 'read_file@ocr_utils.py', 'description': "Reads the .csv file containing the labeled data images.\n\nParameters\n------------\n pathName :path name of the zip file containing all the training data\n \n input_filters_dict: ['font', font_name] \n a font_name is a string or tuple containing a list...
0
{'name': 'AltFS._get_block@AltFS.py', 'description': 'Loads the block the data from the desired value.\n\nReturns it as aBlock instance.\nRaises InternalStorageOperationException if provider has failed to read', 'signature': 'def _get_block(self, bucket_id, value_id):'}</s>{'name': 'UnsupportedProviderException@excepti...
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': 'sample_pdf@ddp_train_nerf.py', 'description': ':param bins: tensor of shape [..., M+1], M is the number of bins\n:param weights: tensor of shape [..., M]\n:param N_samples: number of samples along each ray\n:param det: if True, will perform deterministic sampling\n:return: [..., N_samples]', 'signature': 'def...
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'AliasesAddCommand@gef.py', 'description': 'Command to add aliases.', 'ba...
0
{'name': 'list_members@twitter_to_sqlite/cli.py', 'description': 'Fetch lists - accepts one or more screen_name/list_slug identifiers', 'signature': 'def list_members(db_path, identifiers, auth, ids):'}</s>COUNT_HISTORY_TYPES = { "followers": 1, "friends": 2, "listed": 3, # Don't track these - they're u...
0
{'name': 'configure_logging_via_cli@isi_data_insights_config.py', 'description': 'Setup the logging from command line args.', 'signature': 'def configure_logging_via_cli(args):'}</s>LOG = logging.getLogger(__name__)
0
{'name': 'RearrangeTaskSampler.next_task@rearrange/tasks.py', 'description': 'Return a fresh UnshuffleTask setup.', 'signature': 'def next_task('}</s>{'name': 'RearrangeTaskSpec@rearrange/environment.py', 'description': 'Data container encapsulating how a single rearrangement instance should\nbe initialized.\n\nThe rea...
1
{'name': 'XRasterBase._check_dimensions@rioxarray/rioxarray.py', 'description': 'This function validates that the dimensions 2D/3D and\nthey are are in the proper order.\n\nReturns\n-------\nstr or None: Name extra dimension.', 'signature': 'def _check_dimensions(self) -> Optional[str]:'}</s>{'name': 'MissingSpatialDim...
0
{'name': '_importable@dill/source.py', 'description': "get an import string (or the source code) for the given object\n\nThis function will attempt to discover the name of the object, or the repr\nof the object, or the source code for the object. To attempt to force\ndiscovery of the source code, use source=True, to at...
0
{'name': 'wrap_installers@jupyter_packaging/setupbase.py', 'description': 'Make a setuptools cmdclass that calls a prebuild function before installing.\n\nParameters\n----------\npre_develop: function\n The function to call prior to the develop command.\npre_dist: function\n The function to call prior to the sdis...
0
{'name': 'test_model_from_data@tests/mlmc/test_MLMCSimulator.py', 'description': 'Executes simulate() with models and inputs created from files\nto ensure there are no exceptions while performing basic functionality.', 'signature': 'def test_model_from_data(data_input, models_from_data):'}</s>{'name': 'test_outputs_fo...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_UNEXPECTED_ERROR = 3238
0
{'name': 'DutTestThread.test_start@examples/protocols/modbus/tcp/example_test.py', 'description': 'The method to initialize and handle test stages\n ', 'signature': 'def test_start(self, timeout_value):'}</s>{'name': 'test_modbus_communication@examples/protocols/modbus/tcp/example_test.py', 'description': 'DOCST...
0
{'name': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>_MDNS_ADDR = "224.0.0.251"
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': 'cook_features_into@classification/feature_generation/feature_utilities.py', 'description': 'Convert raw features into something the model can digest\n\nArgs:\n arrays: (features, timestamps, ranges)\n i : index to inserrt into\n features: np.array of raw features\n range: tuple, optional\n ...
0
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>code_path = root_path / 'code'
0
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>{'name': '_bypass_ensure_directory@block...
0
{'name': '_NestingState.UpdatePreprocessor@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update preprocessor stack.\n\nWe need to handle preprocessors due to classes like this:\n #ifdef SWIG\n struct ResultDetailsPageElementExtensionPoint {\n #else\n struct ResultDetailsPageElementExtensionP...
0
{'name': 'MechCodon_Sanity._calc_f1x4@src/parameters_sanity.py', 'description': 'Calculate state codon frequencies from nucleotide frequencies for use in an MG-style model.\nNOTE: F1x4 are calculated because these *are* the state frequencies for an MG-stye model.', 'signature': 'def _calc_f1x4(self):'}</s>{'name': 'Emp...
0
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_AUTH_VALUE_MISSING = 3172
0
{'name': 'YAML.__init__@strictyaml/ruamel/main.py', 'description': "_kw: not used, forces keyword arguments in 2.7 (in 3 you can do (*, safe_load=..)\ntyp: 'rt'/None -> RoundTripLoader/RoundTripDumper, (default)\n 'safe' -> SafeLoader/SafeDumper,\n 'unsafe' -> normal/unsafe Loader/Dumper\n 'base' ->...
0
{'name': 'unset_config@src/workflow/util.py', 'description': 'Delete a workflow variable from ``info.plist``.\n\n.. versionadded:: 1.33\n\nArgs:\n name (str): Name of variable to delete.\n bundleid (str, optional): Bundle ID of workflow variable belongs to.', 'signature': 'def unset_config(name, bundleid=None):'}...
0
{'name': 'recon_accelerated@source/tomopy/recon/acceleration.py', 'description': "Reconstruct object from projection data using hardware acceleration.\nA hardware acceleration implementation package is required. A free\nimplementation can be downloaded from:\nhttps://github.com/PeriLLC/tomopy_peri_0.1.x\n\nParameters\n...
0
{'name': 'universal_accelerated_method@src/mbi/estimation.py', 'description': 'Optimization using the Universal Accelerated MD algorithm.', 'signature': 'def universal_accelerated_method('}</s>{'name': '_optimize@src/mbi/estimation.py', 'description': 'DOCSTRING', 'code': 'def _optimize(loss_and_grad_fn, params, iters=...
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': 'IMAP._fetch_emails_info@imapy/imap.py', 'description': 'Fetches email info from server and returns as parsed email\nobjects', 'signature': 'def _fetch_emails_info(self, email_uids: List[str]) -> List[EmailMessage]:'}</s>{'name': 'InvalidSearchQuery@imapy/exceptions.py', 'description': 'Raised when user tries ...
0
{'name': 'Bottle._cast@src/back/kite/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signature': 'def _cast(self,...
0
{'name': '_make_json_entry@s2e_env/commands/execution_trace.py', 'description': "Combine a trace entry header and item into a single JSON-serializable\nentry. Return this entry as a ``dict``.\n\nSome things to note:\n * The header's ``size`` field is removed - it is not required in the\n JSON\n * Enums are r...
0
{'name': 'get_chain_and_interface_metrics@colabfold/alphafold/extra_ptm.py', 'description': 'This function iterates over all pairs of chains and calculates the interface and interchain PTM score for each pair.\n\nArgs:\n result: The result from AlphaFold.\n asym_id: Array indicating chain boundaries.\n use_pro...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_SSL_CIPHER_SPEC_ERROR = 4092
0
{'name': 'make_visit_mosaic@grizli/aws/visit_processor.py', 'description': "Make a mosaic of the exposures from a visit with a tangent point selected\nfrom the sky tile grid\n\nParameters\n----------\nassoc : str\n grizli association name\n\nbase_path : str\n Base working directory. Working directory will be\n ...
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': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'set_param@src/api/python/z3/z3.py', '...
0
{'name': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object...
0
{'name': 'draw_water_mix_ratio@pymeteo/skewt.py', 'description': 'Plot lines of constant water vapor mixing ratio on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates isolines of constant water vapor\nmixing ratio and plots these lines. Values of w calcul...
0
{'name': 'PythonModuleSourceFileGenerator._GenerateTypeSourceFile@yaldevtools/source_generators/python_module.py', 'description': 'Generates a Python type object source file.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n template_mappings (dict[str, str]): template mappings, where ...
0
{'name': 'writeFileTree@fwtool.py', 'description': 'Writes a list of UnixFiles to the disk, unpacking known archive files', 'signature': 'def writeFileTree(files, path):'}</s>{'name': 'ShaCrypter@fwtool/sony/fdat.py', 'description': 'Decrypts a block from a 1st gen firmware image using sha1 digests', 'base_classes': ['...
0
{'name': 'predict@cello/cello.py', 'description': "Classify cell types for a given expression matrix.\n\nParameters\n----------\nad : AnnData object\n Expression matrix of n cells by m genes\n\nmod: Model, default: None\n A trained classification model. If None, use a \n pre-trained default model on all of the...
1
{'name': '_insert_newlines@n26/cli.py', 'description': 'Inserts a newline into the given text every n characters.\n:param text: the text to break\n:param n:\n:return:', 'signature': 'def _insert_newlines(text: str, n=40):'}</s>{'name': '_parse_from_to_timestamps@n26/cli.py', 'description': 'Parses cli datetime inputs f...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_put_get_bucket_logging@ut/test.py', 'description': '测试bucket的logging服务', 'code': 'def test_put_get_bucket_logging():\n """测试bucket的logging服务"""\n loggin...
0