text
string
label
int64
{'name': 'mkdirs@utils/util.py', 'description': "create empty directories if they don't exist\n\nParameters:\n paths (str list) -- a list of directory paths", 'signature': 'def mkdirs(paths):'}</s>{'name': 'Timer@utils/util.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Timer.__init__@uti...
0
{'name': 'logout@n26/cli.py', 'description': 'Logout ', 'signature': 'def logout():'}</s>JSON_OUTPUT = False
0
{'name': 'SeriesTests.test_tubeDiverting_LotsOfStuffAtOnce@tubes/test/test_tube.py', 'description': 'If a tube returns a sequence of multiple things, great.\n\n(This is a test for diverting when a receive method has returned\nmultiple things.)', 'signature': 'def test_tubeDiverting_LotsOfStuffAtOnce(self):'}</s>{'name'...
0
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PFUDPS_SINGLE = 1
0
{'name': 'entropy_of_occupancy_grid@metrics/evaluation_metrics.py', 'description': 'Given a collection of point-clouds, estimate the entropy of the random variables\ncorresponding to occupancy-grid activation patterns.\nInputs:\n pclouds: (numpy array) #point-clouds x points per point-cloud x 3\n grid_resolution ...
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>sat = CheckSatResult(Z3_L_TRUE)
0
{'name': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>WEATHER_OBSC = { "BR":"mist", "FG":"fog", "FU":"smoke", "VA":"volcanic ash", "DU"...
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>MQFMT_XMIT_Q_HEADER = b'MQXMIT '
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': 'indigenous_peoples_day@src/convertdate/holidays.py', 'description': 'Celebrated on the second Monday in October in the United States.', 'signature': "def indigenous_peoples_day(year, country='usa'):"}</s>NOV = 11
0
{'name': '_SetVeryStronglyConnected@tools/yapf/yapf/yapflib/split_penalty.py', 'description': 'Set a VERY_STRONGLY_CONNECTED penalty annotation for the given nodes.', 'signature': 'def _SetVeryStronglyConnected(*nodes):'}</s>{'name': 'Help@tools/yapf/yapf/yapflib/style.py', 'description': 'Return dict mapping style nam...
0
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'symbol_type_to_str@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Returns the s...
0
{'name': 'LeastSquares@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Computes a linear least squares fit for ys as a function of xs.\n\nArgs:\n xs: sequence of values\n ys: sequence of values\n\nReturns:\n tuple of (intercept, slope)', 'signature': 'def LeastSquares(xs, ys):'}</s>{'name': 'main@refe...
0
{'name': 'GTestFailFastUnitTest.testFlag_HasParametersTest@third-party/googletest/googletest/test/googletest-failfast-unittest.py', 'description': 'Tests the behavior of fail_fast and TEST_P.', 'signature': 'def testFlag_HasParametersTest(self):'}</s>FAIL_FAST_FLAG = "gtest_fail_fast"
0
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found....
0
{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_SomeOf_min_validation@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_SomeOf_min_validation(...
0
{'name': 'Person.getFromToken@flickr_api/objects.py', 'description': 'Retrieve the person corresponding to the authentication token.', 'signature': 'def getFromToken(token=None, filename=None, token_key=None,'}</s>logger = logging.getLogger(__name__)
0
{'name': 'YoutubeCastV1._pair@resources/lib/tubecast/youtube/app.py', 'description': 'called as part of service discovery ', 'signature': 'def _pair(self, pairing_code):'}</s>{'name': 'KodiLogHandler@resources/lib/kodi/kodilogging.py', 'description': 'DOCSTRING', 'base_classes': ['logging.StreamHandler'], 'methods': [{...
0
{'name': 'read_predict_data@config/samples/xgboost-dist/utils.py', 'description': 'Read file based on the rank of worker.\nWe use the sklearn.iris data for demonstration\nYou can extend this to read distributed data source like HDFS, HIVE etc\n:param rank: the id of each worker\n:param num_workers: total number of work...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACH_BATCH_HB = 1567
0
{'name': 'generator_vocab_words@tests/test-tokenizer-random.py', 'description': 'Brute force check all vocab words', 'signature': 'def generator_vocab_words(tokenizer: TokenizerGroundtruth) -> Iterator[str]:'}</s>{'name': 'generator_random_vocab_chars@tests/test-tokenizer-random.py', 'description': 'Brute force random ...
0
{'name': '_to_ugrid@uxarray/io/_scrip.py', 'description': 'If input dataset (``in_ds``) file is an unstructured SCRIP file,\nfunction will reassign SCRIP variables to UGRID conventions in output file\n(``out_ds``).', 'signature': 'def _to_ugrid(in_ds, out_ds):'}</s>CARTESIAN_COORDS = { "node_x": {"dims": [NODE_DIM]...
0
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<...
0
{'name': 'TimeEntrySet.all_from_reports@toggl/api/models.py', 'description': 'Method that implements fetching of all time entries through Report API.\nNo limitation on number of time entries.\n\n:param start: From when time entries should be fetched. Defaults to today - 6 days.\n:param stop: Until when time entries sho...
0
{'name': 'get_rorate@apphelper/image.py', 'description': '获取旋转角度后的box及im', 'signature': 'def get_rorate(boxes,im,degree=0):'}</s>{'name': 'union_rbox@apphelper/image.py', 'description': '按行合并box', 'code': 'def union_rbox(result,alpha=0.1):\n """\n 按行合并box\n """ \n def diff(box1,box2):\n ""...
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_Q_MGR_DEFINITION_TYPE = 1084
0
{'name': 'URLGenerator.make_history_url@snowflake/ingest/utils/uris.py', 'description': 'make_history_url - creates a textual representation of the target url we need to hit for\nhistory requests\n:param pipe: the pipe for which we want to see the see history\n:param uuid: an optional UUID argument to tag this request\...
0
{'name': 'universal_accelerated_method@src/mbi/estimation.py', 'description': 'Optimization using the Universal Accelerated MD algorithm.', 'signature': 'def universal_accelerated_method('}</s>{'name': 'from_linear_measurements@src/mbi/marginal_loss.py', 'description': 'Construct a MarginalLossFn from a list of LinearM...
0
{'name': 'TarFile.gettarinfo@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': "Create a TarInfo object for either the file `name' or the file\nobject `fileobj' (using os.fstat on its file descriptor). You can\nmodify some of the TarInfo's attributes before you add it...
0
{'name': 'Work.kudos@AO3/works.py', 'description': 'Returns the number of kudos this work has\n\nReturns:\n int: number of kudos', 'signature': 'def kudos(self):'}</s>{'name': 'get_languages@AO3/utils.py', 'description': 'Returns all available languages', 'code': 'def get_languages():\n """Returns all available l...
0
{'name': 'Router._send_remote@da/sim.py', 'description': 'Forward `mesg` to remote process `dest`.\n\n ', 'signature': 'def _send_remote(self, src, dest, mesg, flags=0, transport=None, **params):'}</s>MAJOR_VERSION = 1
0
{'name': 'matchPreviousLiteral@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper to define an expression that is indirectly defined from\nthe tokens matched in a previous expression, that is, it looks\nfor a \'repeat\' of a previous expression. For example::\n first = Word(n...
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': 'View.analyze_cluster@picasso/gui/render.py', 'description': 'Clusters picked locs using k-means clustering. ', 'signature': 'def analyze_cluster(self):'}</s>{'name': 'cancel_dialogs@picasso/lib.py', 'description': 'Closes all open dialogs.', 'code': 'def cancel_dialogs():\n """Closes all open dialogs."""\n...
0
{'name': 'get_sitemessage_urls@sitemessage/toolbox.py', 'description': "Returns sitemessage urlpatterns, that can be attached to urlpatterns of a project:\n\n# Example from urls.py.\n\nfrom sitemessage.toolbox import get_sitemessage_urls\n\nurlpatterns = patterns('',\n # Your URL Patterns belongs here.\n\n) + get_si...
0
{'name': 'relocate_BZ_grid_address@python/spglib/spglib.py', 'description': 'Grid addresses are relocated to be inside first Brillouin zone.\n\nNumber of ir-grid-points inside Brillouin zone is returned.\nIt is assumed that the following arrays have the shapes of\n\nNote that the shape of grid_address is (prod(mesh), 3...
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': '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>CLI_INCOM...
0
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'MaxAndSkipEnv.reset@wrappers.py', 'description': 'Clear past frame buffer and init. to first obs. from inner env.', 'signature': 'def reset(self):'}</s>{'name': 'ScaledUint8Frame@wrappers.py', 'description': 'DOCSTRING', 'base_classes': ['gym.ObservationWrapper'], 'methods': [{'name': 'ScaledUint8Frame.observ...
0
{'name': 'TestCase.assertAlmostEqual@vertx-web/src/test/sockjs-protocol/unittest2/case.py', 'description': 'Fail if the two objects are unequal as determined by their\ndifference rounded to the given number of decimal places\n(default 7) and comparing to zero, or by comparing that the\nbetween the two objects is more t...
0
{'name': 'plot_sounding_data_uwyo@pymeteo/skewt.py', 'description': 'Plot SkewT from University of Wyoming sounding data\n\n:param filename: The name of the file containing sounding data\n:type filemane: str\n:param output: The name of the file to output plot\n:type output: str\n:param stationID: The station ID of a so...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_TOTAL_EXIT_NAME_LENGTH = 999
0
{'name': 'main@NLP_App_with_Streamlit_Python/app.py', 'description': 'NLP Based App with Streamlit ', 'signature': 'def main():'}</s>{'name': 'sumy_summarizer@NLP_App_with_Streamlit_Python/app.py', 'description': 'DOCSTRING', 'code': 'def sumy_summarizer(docx):\n\tparser = PlaintextParser.from_string(docx,Tokenizer("en...
1
{'name': 'subscriber_monitor@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'Monitor to handle a rare race condition where:\n\n1. subscriber reads an empty backlog (before it can delete the\n _BACKFILL blob...)\n2. a new item is added to the backlog (causing a separa...
0
{'name': 'Reader.process_chunk@tools/gfx/png.py', 'description': 'Process the next chunk and its data. This only processes the\nfollowing chunk types, all others are ignored: ``IHDR``,\n``PLTE``, ``bKGD``, ``tRNS``, ``gAMA``, ``sBIT``, ``pHYs``.\n\nIf the optional `lenient` argument evaluates to `True`,\nchecksum fail...
0
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instan...
0
{'name': 'Client.call@rpcq/_client.py', 'description': 'Send JSON RPC request to a backend socket and receive reply\nNote that this uses the default event loop to run in a blocking manner. If you would rather run in an async\nfashion or provide your own event loop then use .async_call instead\n\n:param method_name: Met...
0
{'name': 'generate_difference_report@llvm-12.0.0-project/libcxx/utils/google-benchmark/tools/gbench/report.py', 'description': "Calculate and report the difference between each test of two benchmarks\nruns specified as 'json1' and 'json2'.", 'signature': 'def generate_difference_report('}</s>{'name': 'TestReportDiffere...
0
{'name': 'swaggerCheck@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will check if the swagger definitions exist for all APIs\n:return: True if exists. False otherwise', 'signature': 'def swaggerCheck():'}</s>store_subs_endpoint = ""
0
{'name': 'analyze_menu_frame@analyze.py', 'description': 'check menu button\n\nfound menu button for start analyze\n\nArgs\n frame (ndarray): edited frame from movie\n menu (ndarray): MENU template\n roi (list): search roi\n\nReturns\n True, False (boolean): menu found or not\n max_loc (list, boolean): m...
0
{'name': 'detect_regressor@sklearn_pmml_model/auto_detect/base.py', 'description': 'Detect the type of regressor in line if present.\n\nParameters\n----------\nline : str, bytes\n Line of a PMML file as a string.\n\npmml : str, object\n Filename or file object containing PMML data.', 'signature': 'def detect_regr...
0
{'name': 'TLP.get_size@fpga/lib/pcie/tb/pcie.py', 'description': 'Return size of TLP in bytes', 'signature': 'def get_size(self):'}</s>CPL_STATUS_CA = 4
0
{'name': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>py...
0
{'name': 'balance@n26/cli.py', 'description': 'Show account balance ', 'signature': 'def balance():'}</s>CURRENCY = "currencyCode"
0
{'name': 'checkMediaPaths@source/pi-timolo.py', 'description': 'Checks for image folders and\ncreate them if they do not already exist.', 'signature': 'def checkMediaPaths():'}</s>TIMELAPSE_PATH = os.path.join(BASE_DIR, TIMELAPSE_DIR)
1
{'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': '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': '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>IR_W_FILTERS = ['F105W', 'F110...
0
{'name': 'clean_merged_flowlines@oggm/core/flowline.py', 'description': 'Order and cut merged flowlines to size.\n\nAfter matching flowlines were found and merged to one glacier directory\nthis function makes them nice:\nThere should only be one flowline per bed, so overlapping lines have to be\ncut, attributed to a an...
0
{'name': 'RstToPdf.createPdf@rst2pdf/createpdf.py', 'description': "Create a PDF from text (ReST input),\nor doctree (docutil nodes) and save it in outfile.\n\nIf outfile is a string, it's a filename.\nIf it's something with a write method, (like a StringIO,\nor a file object), the data is saved there.", 'signature': '...
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>ICMP_TSTAMPREPLY = 14
0
{'name': '_net_interface_type@kayobe/plugins/filter/networks.py', 'description': "Return a string describing the network interface type.\n\nPossible types include 'ether', 'bridge', 'bond'.", 'signature': 'def _net_interface_type(context, name, inventory_hostname):'}</s>{'name': 'net_libvirt_network@kayobe/plugins/filt...
0
{'name': 'TestHighWatermark.test_partial_munmap@tests/integration/test_tracking.py', 'description': "Partial munmap operations should be accurately tracked: we should\nonly account for the removal of the actually munmap'd chunk and not\nthe entire mmap'd region when a partial munmap is performed.", 'signature': 'def te...
0
{'name': 'tdvp_singlesite@pytenet/evolution.py', 'description': 'Symmetric single-site TDVP integration.\n`psi` is overwritten in-place with the time-evolved state.\n\nArgs:\n H: Hamiltonian as MPO\n psi: initial state as MPS\n dt: time step; for real-time evolution, use purely imaginary dt\n numsteps: numb...
0
{'name': 'identify_token@sqf/parser.py', 'description': 'The function that converts a token from tokenize to a BaseType.', 'signature': 'def identify_token(token):'}</s>CLOSE_PARENTHESIS = (ParserKeyword(']'), ParserKeyword(')'), ParserKeyword('}'))
0
{'name': '_EpanetRule.add_action_on_false@wntr/epanet/io.py', 'description': 'Add an "else" action from an IfThenElseControl', 'signature': "def add_action_on_false(self, action, prefix=' ELSE'):"}</s>logger = logging.getLogger(__name__)
0
{'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': 'step_templates@grizli/utils.py', 'description': "Step-function templates for easy binning\n\nParameters\n---------- \nw...
0
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>exp = _MaskedUnaryOperation(umath.exp)
0
{'name': 'Paragraph.drawPara@xhtml2pdf/reportlab_paragraph.py', 'description': 'Draws a paragraph according to the given style.\nReturns the final y position at the bottom. Not safe for\nparagraphs without spaces e.g. Japanese; wrapping\nalgorithm will go infinite.', 'signature': 'def drawPara(self, debug=0):'}</s>{'na...
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': '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': 'points_to_cubes@renderer/utils.py', 'description': 'Converts an input point cloud to a set of cubes.\n\nArgs:\n points: N X 3 array\n edge_size: cube edge size\nReturns:\n vs: vertices\n fs: faces', 'signature': 'def points_to_cubes(points, edge_size=0.05):'}</s>cube_v = cube_v - 0.5
1
{'name': 'TestSmartDrift.test_analyse_consistency_fullvalidation@tests/unit_tests/core/test_smartdrift.py', 'description': 'Test _analyze_consistency() method with full validation defined to True', 'signature': 'def test_analyse_consistency_fullvalidation(self):'}</s>{'name': 'colors_loading@eurybia/style/style_utils.p...
0
{'name': 'sanitize_text@stino/pyarduino/arduino_src.py', 'description': ' ', 'signature': 'def sanitize_text(text):'}</s>{'name': 'sanitize_prototype@stino/pyarduino/arduino_src.py', 'description': ' ', 'code': 'def sanitize_prototype(prototype):\n """\n """\n prototype = prototype.replace(\'*\', \' * \'...
0
{'name': 'train_one_tissue_cv@scnym/main.py', 'description': 'Trains a cell type classifier for a single tissue\n\nParameters\n----------\nX : np.ndarray\n [Cells, Genes] of log1p transformed, normalized values.\n log1p and normalization performed using scanpy defaults.\nmetadata : pd.DataFrame\n [Cells, Featu...
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>htmlComment = Regex(r"<!--[\s\S]*?-->").setNam...
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_means_and_ci@scripts/plot_obj.py', 'description': 'Returns means and CI np arrays\nargs:\n values: dict of trials by variant, each value a list of trial data\n window_size: window smoothing of trials\nreturns:\n mean and CI dict, keyed by same variants', 'signature': 'def get_means_and_ci(values,...
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': 'streets_per_node_proportions@osmnx/stats.py', 'description': 'Calculate streets-per-node proportions.\n\nParameters\n----------\nG\n Input graph.\n\nReturns\n-------\nspnp\n Dictionary keyed by count of streets incident on each node, and with\n values of what proportion of nodes in the graph have thi...
0
{'name': 'IREP._grow_ruleset_cn@wittgenstein/irep.py', 'description': 'Grow a Ruleset with (optional) pruning.', 'signature': 'def _grow_ruleset_cn(self, pos_df, neg_df, initial_model=None):'}</s>{'name': 'IREP@wittgenstein/irep.py', 'description': 'Class for generating ruleset classification models. ', 'base_classes':...
1
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s...
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': 'TLP.get_size@fpga/lib/pcie/tb/pcie.py', 'description': 'Return size of TLP in bytes', 'signature': 'def get_size(self):'}</s>TLP_CAS = (FMT_3DW_DATA, 0x0E)
0
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
0
{'name': '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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIACH_BATCH_HB = 1567
0
{'name': 'DECIMER_Predictor.__call__@DECIMER/Repack_model.py', 'description': 'This function takes in the Decoded image as input and makes the\npredicted list of tokens and return the tokens as tf.Tensor array.\nBefore feeding the input array we must define start and the end tokens.\n\nArgs:\n Decoded_image (tf.Tens...
0
{'name': 'preprocess@tensorflow_tts/bin/preprocess.py', 'description': 'Run preprocessing process and compute statistics for normalizing.', 'signature': 'def preprocess():'}</s>SYNPAFLEX_SYMBOLS = [_pad] + list(_punctuation) + list(_letters) + [_eos]
1
{'name': 'arc_labels@nxviz/annotate.py', 'description': 'Annotate node labels for arc plot.', 'signature': 'def arc_labels('}</s>{'name': 'data_size@nxviz/encodings.py', 'description': 'Square root node size.', 'code': 'def data_size(data: pd.Series, ref_data: pd.Series) -> pd.Series:\n """Square root node size."""\...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQOT_CURRENT_CHANNEL = 1011
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>MQSECCOMM_NO = 0
0
{'name': '_register_error_handlers@sandman2/app.py', 'description': 'Register error-handlers for the application.\n\n:param app: The application instance', 'signature': 'def _register_error_handlers(app):'}</s>{'name': 'Service@sandman2/service.py', 'description': "The *Service* class is a generic extension of Flask's ...
0
{'name': 'toggleManager@BlendNet/addon.py', 'description': "Running the manager instance if it's not already started or stopping it", 'signature': 'def toggleManager():'}</s>{'name': 'selectProvider@BlendNet/addon.py', 'description': 'Sets the current provider identifier', 'code': "def selectProvider(provider):\n ''...
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': 'UniqueTypesTestCase.test@lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py', 'description': 'Test for unique types of std::vector<long> and std::vector<short>.', 'signature': 'def test(self):'}</s>{'name': 'Base@lldb/packages/Python/lldbsuite/test/lldbtest.py', 'description': 'Abstr...
0
{'name': 'kaiming_normal_@PaddleGAN-master/ppgan/modules/init.py', 'description': "Fills the input `Tensor` with values according to the method\ndescribed in `Delving deep into rectifiers: Surpassing human-level\nperformance on ImageNet classification` - He, K. et al. (2015), using a\nnormal distribution. The resulting...
0
{'name': 'PACT_Conv2d.__init__@nemo/quant/pact.py', 'description': 'Constructor. Supports all arguments supported by :py:class:`torch.nn.Conv2d` plus additional ones.\n\n:param quantize_x: if True, quantize input activations (default False).\n:type quantize_x: bool\n:param quantize_W: if True, quantize weights (defaul...
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