text
string
label
int64
{'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>MQRC_SOAP_DOTNET_ERROR = 2210
0
{'name': 'Iface.removeSupervisors@jstorm-on-yarn/src/main/gen-py/JstormAM/JstormAM.py', 'description': 'Parameters:\n - number', 'signature': 'def removeSupervisors(self, number):'}</s>{'name': 'RebalanceOptions@jstorm-core/src/main/py/storm/ttypes.py', 'description': 'Attributes:\n - wait_secs\n - reassign\n - conf', ...
0
{'name': 'SymbioticCC.run@lib/symbioticpy/symbiotic/transform.py', 'description': 'Compile the program, optimize and slice it and\nreturn the name of the created bitcode', 'signature': 'def run(self):'}</s>{'name': 'get_optlist_after@lib/symbioticpy/symbiotic/transform.py', 'description': 'DOCSTRING', 'code': "def get_...
0
{'name': 'training_pipeline@alphapy/__main__.py', 'description': 'AlphaPy Training Pipeline\n\nParameters\n----------\nmodel : alphapy.Model\n The model object for controlling the pipeline.\n\nReturns\n-------\nmodel : alphapy.Model\n The final results are stored in the model object.\n\nRaises\n------\nKeyError\n...
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>md = MD
0
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_SomeOf_max_validation@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_SomeOf_max_validation...
0
{'name': 'ModuleVersionCheck.validate_python@src/SentinelUtilities/SentinelUtils/version_management.py', 'description': 'validating Python version ', 'signature': 'def validate_python(self, required_version):'}</s>{'name': 'VersionInformation@src/SentinelUtilities/SentinelUtils/version_management.py', 'description': 'o...
1
{'name': 'draw_moist_adiabat@pymeteo/skewt.py', 'description': 'Plot moist adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates moist adiabats\nand plots these lines. Adiabats are calculated for\nvalues of T at 1000mb from -15 to 45 C every 5 C b...
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': 'ModelBase.batch_size@baselines/seq2seq_attention_copy/seq2seq/models/model_base.py', 'description': 'Returns the batch size for a batch of examples', 'signature': 'def batch_size(self, features, labels):'}</s>{'name': 'TrainOptions@baselines/seq2seq_attention_copy/seq2seq/training/utils.py', 'description': 'A...
0
{'name': 'CAsyncDBHandler.ExecuteParameters@bin/spa/clientside/asyncdbhandler.py', 'description': 'Process a complex SQL statement which may be combined with multiple basic SQL statements asynchronously\n:param vParam: an array of parameter data which will be bounded to previously prepared parameters\n:param handler: a...
1
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'mtime_to_iso@grizli/aws/db.py', 'description': 'Convert mtime values to ISO format suitable for sorting, etc.', 'code': 'd...
0
{'name': 'request@src/workflow/web.py', 'description': "Initiate an HTTP(S) request. Returns :class:`Response` object.\n\n:param method: 'GET' or 'POST'\n:type method: unicode\n:param url: URL to open\n:type url: unicode\n:param params: mapping of URL parameters\n:type params: dict\n:param data: mapping of form data ``...
0
{'name': 'Expression.statement@da/compiler/dast.py', 'description': 'The first statement parent of this expression, if any.\n\n ', 'signature': 'def statement(self):'}</s>{'name': 'FormattedStrExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['SequenceExpr'], 'methods': []}
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': 'Repeat@src/api/python/z3/z3.py', 'description': "Return a tactic that keeps applying `t` until the goal is not modified anymore...
0
{'name': 'H3LIS331DL.read_accl@grove/grove_3_axis_digital_accelerometer.py', 'description': 'Read data back from H3LIS331DL_REG_OUT_X_L(0x28), 2 bytes\nX-Axis Accl LSB, X-Axis Accl MSB', 'signature': 'def read_accl(self):'}</s>H3LIS331DL_ACCL_BLE_MSB = 64
0
{'name': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>{'name': 'CustomEncodeCls@tests/test_class.py', 'description': 'DOCSTRING', 'base_classes': ['MyTestCls'], 'methods': [{'nam...
0
{'name': 'getCameraParametersFromExif@cameratransform/camera.py', 'description': 'Try to extract the intrinsic camera parameters from the exif information.\n\nParameters\n----------\nfilename: basestring\n the filename of the image to load.\nverbose: bool\n whether to print the output.\nsensor_from_database: boo...
0
{'name': 'Trace.backward_link@jitlog/objects.py', 'description': 'connect parent with this trace. orig is the point\nin the parent trace, enter the first op in this trace ', 'signature': 'def backward_link(self, orig):'}</s>MP_OPCODE = (0x10,"s")
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'TruncateToFourByteFloat@python/google/protobuf/internal/type_checkers.py', 'description': '...
0
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_DEPTH = CScriptOp(0x74)
0
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>{'name': 'single_step_aio_install@packstack/installer/run_setup.py', 'descrip...
0
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>WHAT_KIND_OF_SERVER = [4043]
0
{'name': 'detach@aegea/ebs.py', 'description': 'Detach an EBS volume from an EC2 instance.\n\nIf *volume_id* does not start with "vol-", it is interpreted as a mountpoint on the local instance,\nmapped to its underlying EBS volume, unmounted and detached.', 'signature': 'def detach(args):'}</s>{'name': 'attach_volume@a...
0
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'TraceReallocBreakpoint@gef.py', 'description': 'Track re-allocations done with realloc().', 'base_classes': ['gdb.Breakpoint'], 'methods': [{'name': 'TraceReallocBreakpoint.__init__@ge...
0
{'name': 'retry_on_expired_cookie@infoblox_client/connector.py', 'description': 'Decorator to handle expired cookies by re-authenticating\nand retrying the request.', 'signature': 'def retry_on_expired_cookie(func):'}</s>{'name': 'InfobloxFetchGotMultipleObjects@infoblox_client/exceptions.py', 'description': 'DOCSTRING...
0
{'name': 'connect@src/main/python/jep/jdbc.py', 'description': "Connect to a JDBC data source using java.sql.DriverManager.\nReturns a java.sql.Connection instance.\n\nurl - JDBC connection url. See your driver's documentation for this value\nuser - connection username\npassword - optional password\ntimeout - time in s...
0
{'name': 'AGraph.layout@pygraphviz/agraph.py', 'description': 'Assign positions to nodes in graph.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the layout command uses libgvc for layout instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nOptional prog=[\'neato\'|\'dot\'|\'twopi\'|\'circ...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': 'RSA.save_key_der@src/M2Crypto/RSA.py', 'description': 'Save the key pair to a file in DER format.\n\n:param file: Filename to save key to', 'signature': 'def save_key_der(self, file):'}</s>{'name': 'RSAError@src/M2Crypto/RSA.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []}
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': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ...
0
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQOT_Q_MGR = 5
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_gui_dialogs =...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_MFS_MAP_NAME_LENGTH = 8
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': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>unknown = CheckSatResult(Z3_L_UNDEF)
0
{'name': '_convert_dataset_one_pair_rec_withFlip@datasets/convert_DF.py', 'description': "Converts the given pairs to a TFRecord dataset.\n\nArgs:\n split_name: The name of the dataset, either 'train' or 'validation'.\n pairs: A list of image name pairs.\n labels: label list to indicate positive(1) or negative...
0
{'name': 'query_bucket@container/sagemaker-tensorflow-inferentia/build_artifacts/deep_learning_container.py', 'description': 'GET request on an empty object from an Amazon S3 bucket', 'signature': 'def query_bucket():'}</s>{'name': '_retrieve_instance_id@container/sagemaker-tensorflow-inferentia/build_artifacts/deep_le...
1
{'name': 'AdversarialLearner.collect_summaries@models/adversarial_learner.py', 'description': 'Collects all summaries to be shown in the tensorboard', 'signature': 'def collect_summaries(self):'}</s>{'name': 'preprocess_flow_batch@models/utils/flow_utils.py', 'description': 'Operation to make flow zero mean and unit va...
0
{'name': 'getShutterSetting@source/pi-timolo.py', 'description': 'Calculate a shutter speed based on image pixel average', 'signature': 'def getShutterSetting(pxAve):'}</s>{'name': 'pantiltGoHome@source/pi-timolo.py', 'description': 'Move pantilt to home position. If pantilt installed then this\ncan position pantilt to...
0
{'name': '_config_create@dwave/cloud/cli.py', 'description': 'Full/simplified dwave create flows.', 'signature': 'def _config_create(config_file, profile, ask_full=False, auto_token=False, project=None):'}</s>{'name': '_get_client_solver@dwave/cloud/cli.py', 'description': 'Helper function to return an instantiated cli...
0
{'name': 'dmrg_twosite@pytenet/dmrg.py', 'description': 'Approximate the ground state MPS by left and right sweeps and local two-site optimizations\n(two-site DMRG algorithm). Virtual bond dimensions of starting state `psi` can only decrease.\n\nArgs:\n H: Hamiltonian as MPO\n psi: initial MPS used for optimizati...
1
{'name': 'Encoder.__init__@espnet/nets/pytorch_backend/transformer/encoder.py', 'description': 'Construct an Encoder object.', 'signature': 'def __init__('}</s>{'name': 'MultiLayeredConv1d@espnet/nets/pytorch_backend/transformer/multi_layer_conv.py', 'description': 'Multi-layered conv1d for Transformer block.\n\nThis i...
1
{'name': 'test_random_operation@test/client/test_client.py', 'description': 'Randomly connect and disconnect the client, this is very likely to fail ', 'signature': 'def test_random_operation(server):'}</s>logger = logging.getLogger(__name__)
0
{'name': '_make_type_verifier@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/types.py', 'description': 'Make a verifier that checks the type of obj against dataType and raises a TypeError if they do\nnot match.\n\nThis verifier also checks the value of obj against datatype and raises a Value...
0
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>{'name': '_SetQuiet@tools/cpplint.py', 'description': "Set the module's quiet status, and return previous setting.", 'code': 'def _SetQuiet(q...
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': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`...
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': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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 leng...
1
{'name': 'concat_cat_list@src/move/data/dataloaders.py', 'description': 'Concatenate a list of categorical data\nArgs:\n cat_list: list with each categorical class data\nReturns:\n (tuple): a tuple containing:\n cat_shapes:\n list of categorical data classes shapes (N_variables,\n N_...
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>MQGMO_VERSION_2 = 2
0
{'name': 'TokenGetter.login@app/lib/common/login_helper/token.py', 'description': '尝试通过 Code 获取 Refresh Token。\n:param host: token api 的主机域\n:param kw: requests 请求的额外参数\n:param newCode: 是否继承使用 code\n:return: tuple(access token, refresh token, user id) || except: raise error', 'signature': 'def login(self, host=AUTH_TOK...
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': 'ImputationKernel.tune_parameters@miceforest/imputation_kernel.py', 'description': "Perform hyperparameter tuning on models at the current iteration.\nThis method is not meant to be robust, but to get a decent set of\nparameters to help with imputation. A few notes:\n\n- The parameters are tuned on the data th...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQAT_DOS = 5
0
{'name': 'AbstractInterval.lub@intervals/interval.py', 'description': 'Return the least upper bound for given intervals.\n\n:param other: AbstractInterval instance', 'signature': 'def lub(self, other):'}</s>{'name': 'IntInterval@intervals/interval.py', 'description': 'DOCSTRING', 'base_classes': ['NumberInterval'], 'me...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQROUTE_ACCUMULATE_NONE = 65539
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': 'Connection.get@memsql/common/database.py', 'description': 'Returns the first row returned for the given query.', 'signature': 'def get(self, query, *parameters, **kwparameters):'}</s>DatabaseError = _mysql.DatabaseError
0
{'name': 'dumpstruct@msldap/external/bloodhoundpy/lib/cstruct.py', 'description': 'Dump a structure or parsed structure instance.\n\nPrints a colorized hexdump and parsed structure output.\n\nArgs:\n t: Structure or Instance to dump.\n data: Bytes to parse the Structure on, if t is not a parsed Instance.\n off...
0
{'name': 'TwoInOneOut.run@python/erdos/operator.py', 'description': 'Runs the operator.\n\nInvoked automatically by ERDOS, and provided with two instances of\n:py:class:`.ReadStream` to retrieve data from, and a\n:py:class:`.WriteStream` to send data on.\n\nArgs:\n left_read_stream: The first :py:class:`.ReadStream`...
1
{'name': 'check_youtube_movie@get_new_ub_standalone.py', 'description': 'check youtube movie from user input\n\nif movie has error, exit program\n\nArgs:\n url_result (str): movie error type\n\nReturns:', 'signature': 'def check_youtube_movie(url_result):'}</s>{'name': 'image_check@get_new_ub_standalone.py', 'descri...
0
{'name': 'test_create_repo@tests/test_bld2repo/test_bld2repo.py', 'description': 'Test to create a rpm repository of out a dir. ', 'signature': 'def test_create_repo(mock_download_file, load_test_data):'}</s>{'name': 'Config@modulemd_tools/bld2repo/config.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': ...
1
{'name': 'ParserElement.searchString@venv/Lib/site-packages/setuptools/_vendor/pyparsing.py', 'description': 'Another extension to C{L{scanString}}, simplifying the access to the tokens found\nto match the given parse expression. May be called with optional\nC{maxMatches} argument, to clip searching after \'n\' matche...
0
{'name': 'KNN.forward@obstacle-detection/model/tasks/semantic/postproc/KNN.py', 'description': 'Warning! Only works for un-batched pointclouds.\nIf they come batched we need to iterate over the batch dimension or do\nsomething REALLY smart to handle unaligned number of points in memory', 'signature': 'def forward(self,...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCHS_STOPPED = 6
0
{'name': 'Client.set_new_food@myfitnesspal/client.py', 'description': 'Function to submit new foods / groceries to the MyFitnessPal database. Function will return True if successful.', 'signature': 'def set_new_food('}</s>{'name': 'Client@myfitnesspal/client.py', 'description': 'Provides access to MyFitnessPal APIs', '...
1
{'name': 'process@project-material/project_1_for_students/misc.py', 'description': 'parse the source text here. you may return the AST specified in ast_tools.py or something else.', 'signature': 'def process(source):'}</s>{'name': 'PrintVisitor@project-material/project_1_for_students/ast_tools.py', 'description': 'DOCS...
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': 'set_fpa_pretty@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def set_fpa_pretty(flag=True):\n global _Formatter\n global _z3_op_t...
0
{'name': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>EVENT_START = "start"
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': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'dump_flt_dq@grizli/u...
0
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig...
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': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-p...
0
{'name': 'RRLyraeTemplateModeler._load_templates@gatspy/periodic/template_modeler.py', 'description': 'Load lightcurve templates & save as class variable', 'signature': 'def _load_templates(cls):'}</s>__all__ = ['RRLyraeTemplateModeler', 'RRLyraeTemplateModelerMultiband']
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': 'column_type_eq@graphene_sqlalchemy/utils.py', 'description': 'A simple function that makes the equality based matcher functions for\nSingleDispatchByMatchFunction prettier', 'signature': 'def column_type_eq(value: Any) -> Callable[[Any], bool]:'}</s>{'name': 'to_type_name@graphene_sqlalchemy/utils.py', 'descr...
0
{'name': 'GenerateConfig@gcp/deployment-packages/single-payg/password.py', 'description': 'Entry function to generate the DM config.', 'signature': 'def GenerateConfig(context):'}</s>CATEGORIES_WITH_SYMBOLS = [UPPERS, LOWERS, DIGITS, SYMBOLS]
0
{'name': 'do_optimization@optimize_images/do_optimization.py', 'description': 'Try to reduce file size of an image.\n\nExpects a Task object containing all the parameters for the image xprocessing.\n\nThe actual processing is done by the corresponding function,\naccording to the detected image format.\n\n:param task: A...
1
{'name': 'BertModel.__init__@arabert/modeling.py', 'description': 'Constructor for BertModel.\n\nArgs:\n config: `BertConfig` instance.\n is_training: bool. true for training model, false for eval model. Controls\n whether dropout will be applied.\n input_ids: int32 Tensor of shape [batch_size, seq_length].\n in...
1
{'name': 'Neo4jTest.fill_default_arguments@tests/run_all_tests.py', 'description': 'Fills in default arguments for the Neo4jTest object\n\nThis function fills in default arguments for the Neo4jTest object\nbased on the specified test name. It sets default values for test name\nfilters, VDMS configurations, MinIO values...
1
{'name': 'f32_to_u32@tools/audio/extraction/util.py', 'description': 'Convert float to IEEE-754 binary rep', 'signature': 'def f32_to_u32(f):'}</s>{'name': 'align@tools/audio/extraction/util.py', 'description': 'Align to next n (power of 2)', 'code': 'def align(x, n):\n """\n Align to next n (power of 2)\n """...
0
{'name': 'Locale.year_abbreviation@arrow/locales.py', 'description': 'Returns the year for specific locale if available\n\n:param year: the ``int`` year (4-digit)', 'signature': 'def year_abbreviation(self, year: int) -> str:'}</s>{'name': 'SwahiliLocale@arrow/locales.py', 'description': 'DOCSTRING', 'base_classes': ['...
0
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'new_objfile_handler@gef.py', 'description': 'GDB event handler for new object file cases.', 'code': 'def new...
1
{'name': 'Serial._reconfigure_port@serial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>EV_TXEMPTY = 4
0
{'name': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post.devDISTANCE', 'signature': 'def render_pep440_pre(pieces):'}</s>{'name': 'NotThisMethod@versioneer.py', 'description': 'Exception raised if a method is not valid for the current scenario.'...
0
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'gdb_disassemble@gef.py', 'description': 'Disassemble instructions from `start_pc` (Integer). Accepts the following named\nparameters:\n- `end_pc` (Integer) only instructions...
0
{'name': 'define_G@SIM-CycleGAN/models/networks.py', 'description': "Create a generator\n\nParameters:\n input_nc (int) -- the number of channels in input images\n output_nc (int) -- the number of channels in output images\n ngf (int) -- the number of filters in the last conv layer\n netG (str) -- the archi...
0
{'name': 'createTrackDb@assemblyHub/halGenerateComparisonHub.py', 'description': 'Create the trackDb.txt for a specific genome.', 'signature': 'def createTrackDb(target, genome, genomes, hals, labels, hubDir):'}</s>{'name': 'getGenomeBed@assemblyHub/halGenerateComparisonHub.py', 'description': 'Put a BED file covering ...
0
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme...
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': 'make_faces_symmetric@utils/mesh.py', 'description': "This reorders the faces, such that it has this order:\n F_indept - independent face ids\n F_right (x>0)\n F_left\n\n1. For each face, identify whether it's independent or has a symmetric face.\n\nA face is independent, if v_i is an independent vertex and...
0
{'name': 'standardize_variables@aimacode/logic.py', 'description': 'Replace all the variables in sentence with new variables.', 'signature': 'def standardize_variables(sentence, dic=None):'}</s>{'name': 'diff@aimacode/logic.py', 'description': 'Return the symbolic derivative, dy/dx, as an Expr.\nHowever, you probably w...
0
{'name': 'calculate_enrichment@workflow/scripts/postprocess_go_enrichment.py', 'description': 'Calculate enrichment based on ratios provided as strings.', 'signature': 'def calculate_enrichment(ratio_str):'}</s>{'name': 'extract_study_items@workflow/scripts/postprocess_go_enrichment.py', 'description': 'DOCSTRING', 'co...
0
{'name': 'summaryReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF summary report.', 'signature': 'def summaryReport(infile, outfile):'}</s>PARAMS = P.get_parameters( ["%s/pipeline.yml" % os.path.splitext(__file__)[0], "../pipeline.yml", "pipeline.yml"])
1
{'name': '_StreamBase.__enter__@sounddevice.py', 'description': 'Start the stream in the beginning of a "with" statement.', 'signature': 'def __enter__(self):'}</s>{'name': '_exit_handler@sounddevice.py', 'description': 'DOCSTRING', 'code': "def _exit_handler():\n assert _initialized >= 0\n\n # We cleanup any op...
0