text
string
label
int64
{'name': 'decryptAES@flask_api/api_server.py', 'description': '解析AES密文', 'signature': 'def decryptAES(src):'}</s>{'name': 'add_one@flask_api/api_server.py', 'description': 'DOCSTRING', 'code': 'def add_one():\n Number.n = Number.n + 1\n return response(data={"number": Number.n})'}
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_THRESHOLD_MAX = 0xffffffff / PF_THRESHOLD_MULT
0
{'name': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se...
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': 'gen_inc_module@da/compiler/incgen.py', 'description': 'Generates the interface file from a DistPy AST.', 'signature': 'def gen_inc_module(daast, cmdline_args, filename=""):'}</s>{'name': 'CallExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['Expression'], 'methods': [{'name': 'CallExpr....
0
{'name': 'create_clauses@research/2019_05_08_performance_checks/src/vqf/preprocessing.py', 'description': "Creates clauses for the VQF algorithm.\n\nIf true_p_int or true_q_int are provided, algorithm treats their length as known.\nThis also means that it sets the leading bits to 1.\nIt returns dictionaries, which repr...
0
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>SYMBOL_RE = re.compile(r'((?P<module>[A-Z][\w\d]*(\.[A-Z][\w\d\']*)*)\.)?' + \ ...
0
{'name': 'macroexpand@hy/macros.py', 'description': "If `tree` isn't an `Expression` that might be a macro call,\nreturn it unchanged. Otherwise, try to expand it. Do this\nrepeatedly unless `once` is true. Call `as_model` after each\nexpansion. If the return value is a compiler `Result` object, and\n`result_ok` is fal...
0
{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'render_pep440_old@versioneer.py', 'description': 'TAG[.postDISTANCE[.dev0]] .\n\nThe ".dev0" means dirty.\n\nEexceptions:\n1: no tags. 0.postDISTANCE[.dev0]', ...
0
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi...
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': 'str_to_timedelta@src/rororo/timedelta.py', 'description': 'Convert string value to timedelta instance according to the given format.\n\nIf format not set function tries to load timedelta using default\n``TIMEDELTA_FORMAT`` and then both of magic "full" formats.\n\nYou should also specify list of formats and f...
0
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': 'StyleManager.get_default_style_url@src/nitpick/style.py', 'description': 'Return the URL of the default style/preset.', 'signature': 'def get_default_style_url(github=False) -> furl:'}</s>{'name': 'boolean_or_dict_field@src/nitpick/fields.py', 'description': 'Detect if the field is a boolean or a dict.', 'cod...
0
{'name': 'WinograndeTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'MaskedLMDictionary@fairseq/data/legacy/masked_lm_dictionary.py', 'description': 'D...
0
{'name': 'SqlaStorageBackend.load_fps@FPSim2/io/backends/sqla.py', 'description': 'Loads FP db table into memory', 'signature': 'def load_fps(self) -> None:'}</s>RDKIT_PARSE_FUNCS = { "smiles": Chem.MolFromSmiles, "inchi": Chem.MolFromInchi, "molfile": Chem.MolFromMolBlock, "rdkit": lambda x, s: x, }
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_DEF_PERSISTENCE = 5
0
{'name': '_create_dsmr_protocol@dsmr_parser/clients/protocol.py', 'description': 'Creates a DSMR asyncio protocol.', 'signature': 'def _create_dsmr_protocol(dsmr_version, telegram_callback, protocol, loop=None, **kwargs): #noqa'}</s>SAGEMCOM_T210_D_R = { "general_global_cipher": True, "checksum_support": True, ...
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>KEY_F = 70
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'lists_are_same@src/python_scripts/afnipy/afni_util.py', 'description': 'return 1 if the lists have similar values,...
0
{'name': 'cmd@lib/charliecloud.py', 'description': 'Run command using cmd_base(). If fail_ok, return the exit code whether\nor not the process succeeded; otherwise, return (zero) only if the\nprocess succeeded and exit with fatal error if it failed.', 'signature': 'def cmd(argv, fail_ok=False, **kwargs):'}</s>{'name': ...
0
{'name': 'env_perform_reproduce_update@self_organising_systems/biomakerca/env_logic.py', 'description': "Perform reproduce operations in the environment.\n\nThis is the function that should be used for high level step_env design.\n\nArguments:\n key: a jax random number generator.\n env: the input environment to be m...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQZAO_SYSTEM = 33554432
0
{'name': 'TrendAnalysis._calc_clearsky_poa@rdtools/analysis_chains.py', 'description': 'Calculate clearsky plane-of-array irradiance and stores in self.poa_global_clearsky\n\nParameters\n----------\ntimes : pandas.DateTimeIndex\n times on for which to calculate clearsky poa. If not provided then\n it will be sim...
0
{'name': 'localhost@jupyter_client/localinterfaces.py', 'description': 'return ip for localhost (almost always 127.0.0.1)', 'signature': 'def localhost() -> str:'}</s>{'name': '_load_ips@jupyter_client/localinterfaces.py', 'description': 'load the IPs that point to this machine\n\nThis function will only ever be called...
0
{'name': 'generate_config@gcp/deployment-packages/single-byol/check-point-vsec--byol.py', 'description': 'Creates the gateway.', 'signature': 'def generate_config(context):'}</s>VERSIONS = { 'R81.10': 'r8110', 'R81.10-GW': 'r8110-gw', 'R81.20': 'r8120', 'R81.20-GW': 'r8120-gw', 'R82': 'r82', 'R8...
1
{'name': 'create_features@alphapy/features.py', 'description': 'Create features for the train and test set.\n\nParameters\n----------\nmodel : alphapy.Model\n Model object with the feature specifications.\nX : pandas.DataFrame\n Combined train and test data.\nX_train : pandas.DataFrame\n Training data.\nX_test...
1
{'name': 'gha_list@noxfile.py', 'description': '(mandatory arg: <base_session_name>) Prints all sessions available for <base_session_name>, for GithubActions.', 'signature': 'def gha_list(session):'}</s>gh_org = "smarie"
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': 'generate_pyramid_anchors@Mask_RCNN/mrcnn/utils.py', 'description': 'Generate anchors at different levels of a feature pyramid. Each scale\nis associated with a level of the pyramid, but each ratio is used in\nall levels of the pyramid.\n\nReturns:\nanchors: [N, (y1, x1, y2, x2)]. All generated anchors in one ...
0
{'name': 'remove_y@test/test_utils.py', 'description': 'Quadruplets and triplets learners have no y in fit, but to write test for\nall estimators, it is convenient to have this function, that will return X\nand y if the estimator needs a y to fit on, and just X otherwise.', 'signature': 'def remove_y(estimator, X, y):'...
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': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>VALID_TARGET = "Got a valid target"
0
{'name': 'Function.make_params@panoramix/function.py', 'description': "figures out parameter types from the decompiled function code.\n\ndoes so by looking at all 'cd'/calldata occurences and figuring out\nhow they are accessed - are they masked? are they used as pointers?", 'signature': 'def make_params(self):'}</s>{'...
0
{'name': 'fields@api/project/__init__.py', 'description': 'Provide a list of fields Malcolm "knows about" merged from Arkime\'s field table, Malcolm\'s\nOpenSearch template for the sessions indices, and Kibana\'s field list\n\nParameters\n----------\nrequest : Request\n template - template name (default is app.confi...
0
{'name': 'numeric_expr_type@bowler/type_inference.py', 'description': 'Infer the type of an expression from its literals.\n\nWe broaden the definition of "literal" a bit to also include calls to\ncertain functions like int() and float() where the return type does not\nchange based on the arguments.\n\nArgs:\n node: ...
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': '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': 'ProcessFile@tools/cpplint.py', 'description': 'Does google-lint on a single file.\n\nArgs:\n filename: The name of the file to parse.\n\n vlevel: The level of errors to report. Every error of confidence\n >= verbose_level will be reported. 0 is a good default.\n\n extra_check_functions: An array of addi...
0
{'name': 'ProcessFileData@third_party/cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each rep...
0
{'name': 'merge_dungeonstatic@bcml/mergers/mubin.py', 'description': 'Merges all changes to the CDungeon Static.smubin', 'signature': 'def merge_dungeonstatic(diffs: dict = None):'}</s>{'name': 'get_game_dir@bcml/util.py', 'description': 'DOCSTRING', 'code': 'def get_game_dir() -> Path:\n game_dir = str(\n ge...
0
{'name': 'cal_mcep@utils/preprocess_world.py', 'description': 'cal mcep given wav singnal\nthe frame_period used only for pad_wav_to_get_fixed_frames', 'signature': 'def cal_mcep(wav, sr=SAMPLE_RATE, dim=FEATURE_DIM, fft_size=FFTSIZE):'}</s>{'name': 'invert_spectrogram@utils/audio_utils.py', 'description': 'spectrogram...
0
{'name': 'degradation_bsrgan_variant@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is the degradation model of BSRGAN from the paper\n"Designing a Practical Degradation Model for Deep Blind Image Super-Resolution"\n----------\nsf: scale factor\nisp_model: camera ISP model\nReturns\n-------\nimg: low-qu...
0
{'name': 'Fzip@amptk/amptklib.py', 'description': 'function to zip as fast as it can, pigz -> bgzip -> gzip', 'signature': 'def Fzip(input, output, cpus):'}</s>{'name': 'RevComp@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def RevComp(s):\n rev_comp_lib = {'A':'T','C':'G','G':'C','T':'A','U':'A','M':'K',...
0
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>{'name': 'GoOne@src/LabJackPython.py', 'description': 'Performs the next request on the LabJackUD request stack\n\nFo...
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>FORMAT_R8G8B8_SNORM = 24
0
{'name': 'Sv1Product.get_quicklook_path@eoreader/products/optical/sv1_product.py', 'description': 'Get quicklook path if existing.\n\nReturns:\n str: Quicklook path', 'signature': 'def get_quicklook_path(self) -> str:'}</s>{'name': 'Sv1BandCombination@eoreader/products/optical/sv1_product.py', 'description': 'Band c...
0
{'name': 'test_iterative_signal_decomposition@rdtools/test/soiling_cods_test.py', 'description': 'Test iterative_signal_decomposition with fixed test case ', 'signature': 'def test_iterative_signal_decomposition(cods_normalized_daily):'}</s>{'name': 'SRRAnalysis@rdtools/soiling.py', 'description': "Class for running th...
0
{'name': 'scan_four_digit_hex@simplejson/decoder.py', 'description': 'Scan a four digit hex number from s[end:end + 4]\n ', 'signature': "def scan_four_digit_hex(s, end, _m=re.compile(r'^[0-9a-fA-F]{4}$').match):"}</s>{'name': 'JSONDecoder@simplejson/decoder.py', 'description': 'Simple JSON <http://json.org> decoder...
0
{'name': '_create_graph@externals/modified_steppy/utils.py', 'description': 'Creates pydot graph from the pipeline structure dict.\n\nArgs:\n structure_dict (dict): dict returned by step.upstream_structure\n\nReturns:\n graph (pydot.Dot): object representing upstream pipeline structure (with regard to the current...
0
{'name': 'merge@sidechainnet/utils/align.py', 'description': 'Returns True iff when pn_seq and my_seq are aligned, the resultant mask is the same\nas reported by ProteinNet.\n\nAlso returns the computed_mask that matches with ProteinNet', 'signature': 'def merge(aligner, pn_entry, sc_entry, pnid, attempt_number=0, igno...
0
{'name': 'test_update_machine_info_hook_detection@tests/test_benchmark.py', 'description': 'Tests detection and execution and update_machine_info_hooks.\n\nVerifies that machine info hooks are detected and executed in nested\n`conftest.py`s.', 'signature': 'def test_update_machine_info_hook_detection(testdir):'}</s>{'n...
0
{'name': 'test_enumerate_integral_points@tests/polytope_test.py', 'description': 'Test the computation of integral points.', 'signature': 'def test_enumerate_integral_points():'}</s>{'name': 'test_gurobipy_return_same_result_as_scipy@tests/polytope_test.py', 'description': 'DOCSTRING', 'code': "def test_gurobipy_return...
0
{'name': 'ProcessFileData@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strin...
0
{'name': 'TestSnmp1.testInexistant@tests/test_snmp.py', 'description': 'Get an inexistant value', 'signature': 'def testInexistant(self):'}</s>{'name': 'SNMPTooBig@snimpy/snmp.py', 'description': 'DOCSTRING', 'base_classes': ['SNMPException'], 'methods': []}
0
{'name': 'spbasis_from_MomSpaceBasis@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'converts a lattice to a single particle basis for spin-isospin degeneracy st_degen\nparam lattice_vecs: list of lattice vectors for 1st particle\nparam st_degen: spin-isospin degeneracy\nreturn: basis as a list of...
0
{'name': 'CIB.lookup@policy/cib.py', 'description': 'CIB lookup logic implementation\n\nReturn CIB rows that include *all* required properties from the request PropertyArray', 'signature': 'def lookup(self, input_properties, candidate_num=5):'}</s>SOCK_DIR = os.path.join(os.environ['HOME'], '.neat', '')
0
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo...
0
{'name': 'Muse._handle_gyro@muselsl/muse.py', 'description': 'Handle incoming gyroscope data.\n\nsampling rate: ~17 x second (3 samples in each message, roughly 50Hz)', 'signature': 'def _handle_gyro(self, handle, packet):'}</s>MUSE_NB_GYRO_CHANNELS = 3
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': 'Subscription._add_plan_entries@silver/models/subscriptions.py', 'description': 'Adds to the document the cost of the plan.\n:returns: A tuple consisting of:\n - The plan cost after proration and PER ENTRY discounts have been applied.\n - A list of entries that have been added to the documents. The first...
0
{'name': 'send_to_modchat@tor/core/helpers.py', 'description': "Send a message to #general on ToR mod chat.\n\n:param message: String; the message that is to be encoded\n:param cfg: the global config dict.\n:param channel: String; the name of the channel to send to. '#' optional.\n:return: None.", 'signature': 'def sen...
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': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>_unary_map = {}
0
{'name': 'sub_df@char60/beta.py', 'description': ":param start: the quantile to start cutting, usually it should be 0\n:param end: the quantile to end cutting, usually it should be 1\n:param step: quantile step\n:return: a dictionary including all the 'firm_list' dataframe and 'stock data' dataframe", 'signature': 'def...
1
{'name': 'p_unary_expression@ctypesgen/parser/cgrammar.py', 'description': 'unary_expression : postfix_expression\n| INC_OP unary_expression\n| DEC_OP unary_expression\n| unary_operator cast_expression\n| SIZEOF unary_expression\n| SIZEOF LPAREN type_name RPAREN\n| asm_expression', 'signature': 'def p_unary_expression(...
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': 'BrewFile.check_cask@src/brew_file/brew_file.py', 'description': 'Check applications for Cask.', 'signature': 'def check_cask(self) -> None:'}</s>__prog__ = "brew-file"
0
{'name': 'rotate@apphelper/image.py', 'description': '点(x,y) 绕(cx,cy)点旋转', 'signature': 'def rotate(x,y,angle,cx,cy):'}</s>{'name': 'get_box_spilt@apphelper/image.py', 'description': 'isRoate:是否旋转box', 'code': 'def get_box_spilt(boxes,im,sizeW,SizeH,splitW=8,isRoate=False,rorateDegree=0):\n """\n isRoate:是否旋转box\...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_IPADDR_RANGE_CONFLICT = 3343
0
{'name': 'BaseMessageBus.request_name@dbus_next/message_bus.py', 'description': 'Request that this message bus owns the given name.\n\n:param name: The name to request.\n:type name: str\n:param flags: Name flags that affect the behavior of the name request.\n:type flags: :class:`NameFlag <dbus_next.NameFlag>`\n:param c...
1
{'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': 'Format.flow_style@strictyaml/ruamel/comments.py', 'description': 'if default (the flow_style) is None, the flow style tacked on to\nthe object explicitly will be taken. If that is None as well the\ndefault flow style rules the format down the line, or the type\nof the constituent values (simple -> flow, map/l...
0
{'name': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'p_declarator@ctypesgen/parser/cgrammar.py', 'description': 'declarator : pointer direct_declarator\n| direct_declarator', '...
0
{'name': 'PoolManager.connection_from_url@src/ahip/poolmanager.py', 'description': 'Similar to :func:`hip.connectionpool.connection_from_url`.\n\nIf ``pool_kwargs`` is not provided and a new pool needs to be\nconstructed, ``self.connection_pool_kw`` is used to initialize\nthe :class:`hip.connectionpool.ConnectionPool`....
0
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>{'name': 'UseZeroForMidnight@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['RSS20Profil...
0
{'name': 'find_on_path@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': 'find_eggs_in_zip@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Find eggs in zip ...
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>MATCH_C_ANDI = 34817
0
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, ...
0
{'name': 'Problems.submit_problem@dwave/cloud/api/resources.py', 'description': 'Blocking problem submit with timeout, returning final status and\nanswer, if problem is solved within the (undisclosed) time limit.', 'signature': 'def submit_problem(self,'}</s>{'name': 'ProblemCancelError@dwave/cloud/api/models.py', 'des...
0
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_154 = Badge("mage", series=2, number=54, symbol="🧙")
0
{'name': 'Fock@doc/BookChapters/Programs/NeutronMatterCCD_Ladders.py', 'description': 'Fock matrix of momentum pvec in hh space\nparam pvec: 3-component numpy array in inverse fm\nparam s: spin as +/- 1 of state\nparam_sp_basis, Nocc, dk, Lbox : parameters of s.p. basis and system\n\nreturn: Fock matrix element = kinet...
0
{'name': 'build_transformer_model@bert4keras/models.py', 'description': '根据配置文件构建模型,可选加载checkpoint权重\n ', 'signature': 'def build_transformer_model('}</s>{'name': 'extend_with_unified_language_model@bert4keras/models.py', 'description': '添加UniLM的Attention Mask(Seq2Seq模型用)\n ', 'code': 'def extend_with_unified_lan...
1
{'name': 'TrainCtx._on_backward@persia/ctx.py', 'description': "Update the embeddings' gradients\n\nArguments:\n loss_scale (float): the loss that scaled by GradScalar, loss_scale always equal\n to 1 for cpu training scenes.\n embedding_gradient_check_frequency (int): the frequency to check gradient finite...
0
{'name': '_NestingState.Update@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to cal...
0
{'name': 'XMLElement.get_character_style_range@src/simple_idml/components.py', 'description': 'The applied style may be contained or the container. ', 'signature': 'def get_character_style_range(self):'}</s>{'name': 'MasterSpread@src/simple_idml/components.py', 'description': 'DOCSTRING', 'base_classes': ['IDMLXMLFile'...
0
{'name': 'intersect_downstream_lines@oggm/core/centerlines.py', 'description': 'Find tributaries to a main glacier by intersecting downstream lines\n\nThe GlacierDirectories must at least contain a `downstream_line`.\nIf you have a lot of candidates, only execute the necessary tasks for that\nand do the rest of the pre...
0
{'name': 'markerReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF report visualising the discovered cluster markers', 'signature': 'def markerReport(infile, outfile):'}</s>{'name': 'clustree@pipelines/pipeline_scxl.py', 'description': 'Run clustree.', 'code': 'def clustree(infile, outfile):\n \'\'\'\...
0
{'name': 'to_taichi_type@python/taichi/lang/util.py', 'description': 'Convert numpy or torch or paddle data type to its counterpart in taichi.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in taichi.', 'signature': 'def to_taichi_type(dt):'}</s>__all...
0
{'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': 'check_pick@picasso/gui/render.py', 'description': 'Decorator verifying if there is at least one pick. ', 'code': 'def chec...
0
{'name': 'create_sampler@rulematrix/surrogate/sample.py', 'description': 'We treat the sampling of categorical values as a multivariate categorical distribution.\nWe sample categorical values first, then sample the continuous and integer variables\nusing the conditional distribution w.r.t. to the categorical vector.\n\...
1
{'name': 'getWorkloadLensReview@static/watool/utilities/Code/exportImportWAFR.py', 'description': 'List all lenses currently available', 'signature': 'def getWorkloadLensReview('}</s>__copyright__ = "Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved."
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'X86@gef.py', 'description': 'DOCSTRING', 'base_classe...
0
{'name': 'check_create_table@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'create and rename table\n ', 'signature': 'def check_create_table(table_name):'}</s>DUPLICATE_EVENT_NAME = "KUSTOLAB_DUPLICATE_FAILURE"
0
{'name': 'TestFileFinder._find_files@test/test_filefinder.py', 'description': 'Utility method for running FileFinder with the provided arguments.\nReturn a sorted list of found files. The file names are processed\nto make path relative to the simple_filefinder dir.', 'signature': 'def _find_files(self, roots, **kwargs)...
0
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_PUSHDATA4 = CScriptOp(0x4e)
0
{'name': 'test_nar_step_ahead_insufficient_initial_conditions@sysidentpy/tests/test_narmax_base.py', 'description': 'Test that _nar_step_ahead raises an error if input is too short.', 'signature': 'def test_nar_step_ahead_insufficient_initial_conditions():'}</s>{'name': 'test_base_mss_abstract_methods@sysidentpy/tests/...
0
{'name': 'PageAdmin.get_form@pages/admin/__init__.py', 'description': 'Get a :class:`Page <pages.admin.forms.PageForm>` for the\n:class:`Page <pages.models.Page>` and modify its fields depending on\nthe request.', 'signature': 'def get_form(self, request, obj=None, **kwargs):'}</s>{'name': 'ContentAdmin@pages/admin/__i...
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': '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