text
string
label
int64
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\...
0
{'name': 'IsotropicCARE.predict_probabilistic@csbdeep/models/care_isotropic.py', 'description': 'Apply neural network to raw image to predict probability distribution for isotropic restored image.\n\nSee :func:`CARE.predict_probabilistic` for documentation.\n\nParameters\n----------\nfactor : float\n Upsampling fact...
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': 'get_tests@scripts/test/shared.py', 'description': "Returns the list of test files in a given directory. 'extensions' is a\nlist of file extensions. If 'extensions' is empty, returns all files.", 'signature': 'def get_tests(test_dir, extensions=[], recursive=False):'}</s>{'name': 'fail_with_error@scripts/test/...
0
{'name': 'ParseArguments@scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'IsB...
0
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': 'TarFile@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/...
0
{'name': 'add_api@back/__init__.py', 'description': '添加 api 接口\n:return:', 'signature': 'def add_api():'}</s>{'name': 'EmailApi@back/api_1_0/auth.py', 'description': '验证邮箱', 'base_classes': ['Resource'], 'methods': [{'name': 'EmailApi.__init__@back/api_1_0/auth.py', 'description': 'DOCSTRING', 'code': "def __init__(sel...
1
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>KEY_SCR...
0
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'Praetorian.init_app@flask_praetorian/base.py', 'description': 'Initializes the Praetorian extension\n\n:param: app: The flask app to bind this\n extension to\n:param: user_class: The class used to interact with\n user...
1
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>OP_ADD = CScriptOp(0x93)
0
{'name': '_weighted_pearson@gplearn/fitness.py', 'description': 'Calculate the weighted Pearson correlation coefficient.', 'signature': 'def _weighted_pearson(y, y_pred, w):'}</s>mean_absolute_error = _Fitness(function=_mean_absolute_error, greater_is_better=False)
0
{'name': 'update_weights_gd@chapter7/linear_regression.py', 'description': 'Update weights by one step and return updated wights', 'signature': 'def update_weights_gd(X_train, y_train, weights, learning_rate):'}</s>{'name': 'compute_prediction@chapter7/linear_regression.py', 'description': 'Compute the prediction y_hat...
1
{'name': 'wald@diffxpy/testing/tests.py', 'description': 'Perform Wald test for differential expression for each gene.\n\n:param data: Input data matrix (observations x features) or (cells x genes).\n:param factor_loc_totest: str, list of strings\n List of factors of formula to test with Wald test.\n E.g. "condit...
1
{'name': 'TrimmedMatchDesignTest.testComplexDesignWithPairing@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks the design is the same when pairs are passed or not on a complex case.', 'signature': 'def testComplexDesignWithPairing(self):'}</s>_SPEND_TOLERANCE = 1e-10
0
{'name': 'BKLLoss.forward@torchbnn/modules/loss.py', 'description': 'Arguments:\n model (nn.Module): a model to be calculated for KL-divergence.', 'signature': 'def forward(self, model):'}</s>{'name': 'bayesian_kl_loss@torchbnn/functional.py', 'description': "An method for calculating KL divergence of whole layers i...
1
{'name': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>OP_NEGATE = CScriptOp(0x8f)
0
{'name': 'mol2graph@chemprop/features/featurization.py', 'description': 'Converts a list of SMILES strings to a BatchMolGraph containing the batch of molecular graphs.\n\n:param smiles_batch: A list of SMILES strings.\n:param args: Arguments.\n:return: A BatchMolGraph containing the combined molecular graph for the mol...
1
{'name': 'Bootstrap.compute_children_sql@operations.py', 'description': 'Compute the children on resampled data in SQL.', 'signature': 'def compute_children_sql('}</s>{'name': 'bootstrap_by_unit@operations.py', 'description': 'Gets metric.n_replicates bootstrap resamples.\n\nThe SQL is constructed as\n WITH\n Candida...
0
{'name': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>{'name': 'msg_verack@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_c...
0
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>{'name': 'check_req_entry@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def check_req_entry(req_line, entry):\n try:\n if entry and len(entry) > 0:\n ...
0
{'name': 'correct@scanorama/scanorama.py', 'description': 'Integrate and batch correct a list of data sets.\n\nParameters\n----------\ndatasets_full : `list` of `scipy.sparse.csr_matrix` or of `numpy.ndarray`\n Data sets to integrate and correct.\ngenes_list: `list` of `list` of `string`\n List of genes for each ...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ICMP_ROUTERADVERT_NOROUTE_COMMON = 16
0
{'name': 'get_config@api_hour/config.py', 'description': ':param overrides: config values that overrides the config file(s).\n:type overrides: dict\n:return: a ConfigObj object you can use like a dict\n:rtype: ConfigObj\n\n:Example:\n\nget_config(vars(p.parse_args()))', 'signature': 'def get_config(overrides: dict) -> ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQWQR_LENGTH_1 = py23long(200)
0
{'name': 'parse_binary_acl@msldap/external/bloodhoundpy/acls.py', 'description': 'Main ACL structure parse function.\nThis is offloaded to subprocesses and takes the current entry and the\nacl data as argument. This is then returned and processed back in the main process', 'signature': 'def parse_binary_acl(dn, entry, ...
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': 'SFixed32ByteSize@python/google/protobuf/internal/wire_format.py', 'description': 'DOCSTRING', 'code': 'def SFixed32Byte...
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': 'ValidateIPTests.test_ip_whitelist_blacklist_conflict@test/test_advocate.py', 'description': 'Manual whitelist should take precedence over manual blacklist', 'signature': 'def test_ip_whitelist_blacklist_conflict(self):'}</s>{'name': 'AddrInfoTests@test/test_advocate.py', 'description': 'DOCSTRING', 'base_clas...
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': 'is_to_real@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is an expression of the form ToReal(b).\n\n>>> x = Int('x')\n>>> n = ToReal(x)\n>>> n...
0
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>{'name': 'IUTester@custom_components/irrigation_unlimited/irrigation_un...
0
{'name': 'HeaderValidator.exists@drheader/validators/header_validator.py', 'description': 'See base class.', 'signature': 'def exists(self, config, header, **kwargs):'}</s>{'name': 'get_expected_values@drheader/validators/base.py', 'description': 'DOCSTRING', 'code': 'def get_expected_values(config, key, delimiter):\n ...
1
{'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_boolparam_for...
0
{'name': '_isinstance@dill/source.py', 'description': 'True if object is a class instance type (and is not a builtin)', 'signature': 'def _isinstance(object):'}</s>{'name': 'indent@dill/source.py', 'description': 'indent a block of code with whitespace (default is 4 spaces)', 'code': 'def indent(code, spaces=4):\n \...
0
{'name': 'Writer.__init__@tools/gfx/png.py', 'description': 'Create a PNG encoder object.\n\nArguments:\n\nwidth, height\n Image size in pixels, as two separate arguments.\nsize\n Image size (w,h) in pixels, as single argument.\ngreyscale\n Input data is greyscale, not RGB.\nalpha\n Input data has alpha channel (RG...
0
{'name': 'ToysManager.generate_and_fit_toys@src/hepstats/hypotests/toyutils.py', 'description': 'Generate and fit toys for at a given POI (poigen). The toys are then fitted, and the likelihood\nis profiled at the values of poigen and poieval.\n\nArgs:\n ntoys: number of toys to generate\n poigen: POI used to gene...
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': 'Risk_Margin@riskfolio/src/RiskFunctions.py', 'description': "Calculate the risk margin for each asset based on the risk measure\nselected.\n\nParameters\n----------\nw : DataFrame or Series of shape (n_assets, 1)\n Portfolio weights, where n_assets is the number of assets.\nreturns : DataFrame or nd-array ...
1
{'name': 'JavaDataStream.sink@streaming/python/raystreaming/datastream.py', 'description': 'See io.raystreaming.api.stream.DataStream.sink', 'signature': 'def sink(self, java_func_class):'}</s>{'name': 'JavaUnionStream@streaming/python/raystreaming/datastream.py', 'description': 'Represents a java union stream.\nWrappe...
0
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>{'name': 'to_iterable@robopianist/viewer/util.py', 'description': 'Converts an item or iterable into an iterable.', 'code': 'def to_...
0
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'is_not@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is a Z3 not expression.\n\n>>> p = Bool('p')\n>>> is_no...
0
{'name': 'adjust_viewbox@make_svg_font.py', 'description': 'Changes viewbox\'s values.\n\nThe regex match will contain 4 groups:\n 1. String from \'<svg\' up to the space before \'viewBox\'\n 2. The whole \'viewBox\' property (e.g. \' viewBox="0 100 128 128"\')\n 3. The \'viewBox\' values\n 4. Remainder of ...
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': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>{'name': 'IsForwardClassDeclaration@tools/cpplint.py', 'description': 'DOCSTRING', 'code': "def IsForwardClassDeclaration(clean_lines, linenu...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQOT_SVRCONN_CHANNEL = 1013
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': 'nestedExpr@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (de...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_SYSP_Q_INDEX_DEFER = 1193
0
{'name': 'NewDatabase.write_superstructure_db_to_brightway@premise/new_database.py', 'description': 'Register a super-structure database,\naccording to https://github.com/dgdekoning/brightway-superstructure\n:param name: name of the super-structure database\n:param filepath: filepath of the "scenarios difference file"\...
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': 'BitDecoder.read_huffman_char@tornado_http2/encoding.py', 'description': 'Reads one huffman-encoded character from the stream.\n\nWill not read past ``limit`` bytes. ``limit`` may be None to\nuse the entire decoder. Returns None for end-of-stream.', 'signature': 'def read_huffman_char(self, limit):'}</s>{'name...
0
{'name': 'StorageKey.generate@substrateinterface/storage.py', 'description': 'Generate a storage key for current specified pallet/function/params\n\nReturns\n-------\nbytes', 'signature': 'def generate(self) -> bytes:'}</s>{'name': 'blake2_256@substrateinterface/utils/hasher.py', 'description': 'Helper function to calc...
1
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_RESIZE_I...
0
{'name': 'eval_one_epoch@action_cls/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer):'}</s>{'name': 'get_learning_rate@action_cls/train.py', 'description': 'DOCSTRING', 'code': 'def get_learning_rate(batch):\n learning_rate = tf.train.expo...
0
{'name': '_len_preprocessed_single@src/betterproto/__init__.py', 'description': 'Calculate the size of adjusted values for serialization without fully serializing them.', 'signature': 'def _len_preprocessed_single(proto_type: str, wraps: str, value: Any) -> int:'}</s>TYPE_INT64 = "int64"
1
{'name': 'torch_hyp_add@scratch/learning_util.py', 'description': 'Accepts torch tensors u, v and returns their sum in hyperbolic\nspace in tensor format. Radius of the open ball is 1/sqrt(c). ', 'signature': 'def torch_hyp_add(u, v, c=1):'}</s>{'name': 'torch_atanh@scratch/learning_util.py', 'description': 'DOCSTRING'...
0
{'name': 'FE.__str__@test/functional/test_framework/crypto/secp256k1.py', 'description': 'Convert this field element to a 64 character hex string.', 'signature': 'def __str__(self):'}</s>{'name': 'FE@test/functional/test_framework/crypto/secp256k1.py', 'description': 'Objects of this class represent elements of the fie...
1
{'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': 'CHOCO_CMD.readsol@pulp/apis/choco_api.py', 'description': 'Read a Choco solution file', 'signature': 'def readsol(filename):'}</s>LpSenses = {LpMaximize: "Maximize", LpMinimize: "Minimize"}
0
{'name': 'train_model@experiments/train.py', 'description': 'Starts appropriate training ', 'signature': 'def train_model(args, dataset, model, simulator):'}</s>logger = logging.getLogger(__name__)
0
{'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...
0
{'name': 'speaker_recog@src/core/speaker_recog.py', 'description': '说话人识别\n ', 'signature': 'def speaker_recog():'}</s>{'name': 'extract_features@src/core/mfcc_coeff.py', 'description': 'DOCSTRING', 'code': 'def extract_features(audio,rate):\n \n mfcc_feat = mfcc.mfcc(audio,rate, 0.025, 0.01,20,appendEnergy = Tru...
1
{'name': 'ConnectionInterface.is_idle@httpcore/_sync/interfaces.py', 'description': 'Return `True` if the connection is currently idle.', 'signature': 'def is_idle(self) -> bool:'}</s>{'name': 'Request@httpcore/_models.py', 'description': 'An HTTP request.', 'base_classes': [], 'methods': [{'name': 'Request.__init__@ht...
0
{'name': 'ConfigObj.__init__@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'Parse a config file or create a config file object.\n\n``ConfigObj(infile=None, configspec=None, encoding=None,\n interpolation=True, raise_errors=False, list_values=True,\n create_empty=False, file_error=False, str...
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': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>NEEDMOREVALUES = (ValueError, re.NEED_MORE_VALUES_RE)
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': 'resize_4d_tensor@metric/cityscapes_mIoU.py', 'description': 'tensor: the semantic label tensor of shape [B, C, H, W]\nwidth: target width\nheight: target height', 'signature': 'def resize_4d_tensor(tensor, width, height):'}</s>{'name': 'drn_d_22@metric/drn.py', 'description': 'DOCSTRING', 'code': "def drn_d_2...
0
{'name': 'get_insns@riscvmodel/isa.py', 'description': 'Get all Instructions. This is based on all known subclasses of `cls`. If non\nis given, all Instructions are returned. Only such instructions are returned\nthat can be generated, i.e., that have a mnemonic, opcode, etc. So other\nclasses in the hierarchy are not m...
0
{'name': 'IsOutOfLineMethodDefinition@tools/cpplint.py', 'description': 'Check if current line contains an out-of-line method definition.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains an out-of-line method d...
0
{'name': 'sync_blocks@qa/rpc-tests/test_framework/util.py', 'description': "Wait until everybody has the same tip.\n\nsync_blocks needs to be called with an rpc_connections set that has least\none node already synced to the latest, stable tip, otherwise there's a\nchance it might return before all nodes are stably sync...
0
{'name': 'TestTurnOnOffSyncing.test_bulk_operation_turned_off_by_default@entity/tests/sync_tests.py', 'description': 'Tests that bulk operations are turned off by default.', 'signature': 'def test_bulk_operation_turned_off_by_default(self):'}</s>{'name': 'TransactionAtomicWithRetryTests@entity/tests/sync_tests.py', 'de...
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': 'Metar._handlePressure@metar/Metar.py', 'description': 'Parse an altimeter-pressure group.\n\nThe following attributes are set:\n press [int]', 'signature': 'def _handlePressure( self, d ):'}</s>TEMP_6HR_RE = re.compile(r"""^(?P<type>1|2) (?P<sign>0|1) ...
0
{'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': 'nestedExpr@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (default= ``"("``); can also ...
0
{'name': 'nestedExpr@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (de...
1
{'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': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_ROUTETO = 1
0
{'name': 'BaseDataset.collate_fn@joeynmt/datasets.py', 'description': 'Custom collate function.\nSee https://pytorch.org/docs/stable/data.html#dataloader-collate-fn for details.\nPlease override the batch class here. (not in TrainManager)\n\n:param batch:\n:param pad_index:\n:param eos_index:\n:param device:\n:return: ...
0
{'name': 'TestTurnOnOffSyncing.test_bulk_operation_turned_off_by_default@entity/tests/sync_tests.py', 'description': 'Tests that bulk operations are turned off by default.', 'signature': 'def test_bulk_operation_turned_off_by_default(self):'}</s>{'name': 'TestCachingAndCascading@entity/tests/sync_tests.py', 'descriptio...
0
{'name': 'create_makefiles@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Create the Makefiles.\n\nmacros is the dictionary of platform specific build macros.', 'signature': 'def create_makefiles(macros):'}</s>default_sipsipdir = None
0
{'name': 'register_vcs_handler@versioneer.py', 'description': 'Create decorator to mark a method as the handler of a VCS.', 'signature': 'def register_vcs_handler(vcs, method): # decorator'}</s>{'name': 'VersioneerBadRootError@versioneer.py', 'description': 'The project root directory is unknown or missing key files.'...
0
{'name': 'PipelineParallelTransformerModel.build_model_base@fairseq/model_parallel/models/pipeline_parallel_transformer/model.py', 'description': 'Build a new model instance.', 'signature': 'def build_model_base(cls, args, task):'}</s>{'name': 'extract_hard_alignment@fairseq/utils.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'audit_models_range@audit.py', 'description': 'Audit target model(s) using a Membership Inference Attack algorithm.\n\nArgs:\n report_dir (str): Folder to save attack result.\n target_model_indices (list): List of the target model indices.\n all_signals (np.array): Signal value of all samples in all m...
0
{'name': 'PumpEvents@comtypes/client/_events.py', 'description': "This following code waits for 'timeout' seconds in the way\nrequired for COM, internally doing the correct things depending\non the COM appartment of the current thread. It is possible to\nterminate the message loop by pressing CTRL+C, which will raise\...
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': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'ProcessGlobalSuppresions@tools/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 if the file is...
0
{'name': '_runcog@paver/doctools.py', 'description': 'Common function for the cog and runcog tasks.', 'signature': 'def _runcog(options, uncog=False):'}</s>{'name': '_SimpleProxy@paver/easy.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': '_SimpleProxy.__init__@paver/easy.py', 'descript...
0
{'name': 'MessageSender.send@uamqp/sender.py', 'description': 'Add a single message to the internal pending queue to be processed\nby the Connection without waiting for it to be sent.\n\n:param message: The message to send.\n:type message: ~uamqp.message.Message\n:param callback: The callback to be run once a dispositi...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_SET_AUTH_REC = 90
0
{'name': 'is_same_transform@transformations.py', 'description': 'Return True if two matrices perform same transformation.\n\n>>> is_same_transform(numpy.identity(4), numpy.identity(4))\nTrue\n>>> is_same_transform(numpy.identity(4), random_rotation_matrix())\nFalse', 'signature': 'def is_same_transform(matrix0, matrix1...
0
{'name': 'Controller.open_current_msg@tg/controllers.py', 'description': 'Open msg or file with cmd in mailcap', 'signature': 'def open_current_msg(self) -> None:'}</s>FILE_PICKER_CMD = "ranger --choosefile={file_path}"
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': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>tiedfile_cache_size = 30
0
{'name': 'clean_data@models/data_cleaning.py', 'description': 'Clean and preprocess the news and market data for training then merge \nthem, to create a train set or test set.\n\nParameters\n----------\nmarket_df : dataframe\n See https://www.kaggle.com/c/two-sigma-financial-news/data for full \n description of t...
1
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>{'name': 'save_locs@picasso/io.py', 'description': 'DOCSTRING', 'code': 'def save_locs(path, locs, info):\n locs = _lib.ensure_sa...
0
{'name': 'fit_model@Last Christmas/main.py', 'description': 'Training function for network ', 'signature': 'def fit_model(type, X_train, y_train, X_test, y_test, batch_size, epochs):'}</s>data = pd.read_csv('data.csv', sep=',')
0