Home
last modified time | relevance | path

Searched +full:- +full:- +full:no +full:- +full:self +full:- +full:update (Results 1 – 25 of 988) sorted by relevance

12345678910>>...40

/third_party/rust/crates/log/.github/workflows/
Dmain.yml7 runs-on: ${{ matrix.os }}
12 - build: stable
13 os: ubuntu-latest
15 - build: beta
16 os: ubuntu-latest
18 - build: nightly
19 os: ubuntu-latest
21 - build: macos
22 os: macos-latest
24 - build: win32
[all …]
/third_party/node/deps/v8/tools/release/
Dauto_roll.py3 # Use of this source code is governed by a BSD-style license that can be
17 https://v8.dev/docs/triage-issues
20 https://v8-roll.appspot.com/
23 CQ_INCLUDE_TRYBOTS=luci.chromium.try:linux-blink-rel
32 def RunStep(self): argument
33 self['json_output']['monitoring_state'] = 'preparation'
34 # Update v8 remote tracking branches.
35 self.GitFetchOrigin()
36 self.Git("fetch origin +refs/tags/*:refs/tags/*")
42 def RunStep(self): argument
[all …]
/third_party/python/Lib/test/
Dtest_hmac.py43 self, h, digest, hashname, digest_size, block_size argument
45 self.assertEqual(h.hexdigest().upper(), digest.upper())
46 self.assertEqual(h.digest(), binascii.unhexlify(digest))
47 self.assertEqual(h.name, f"hmac-{hashname}")
48 self.assertEqual(h.digest_size, digest_size)
49 self.assertEqual(h.block_size, block_size)
52 self, key, data, digest, hashfunc, hashname, digest_size, block_size argument
55 self.assert_hmac_internals(
60 self.assert_hmac_internals(
66 h2.update(b"test update")
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
Dconsistency_tools.py1 #!/usr/bin/python3 -i
5 # SPDX-License-Identifier: Apache-2.0
29 def __init__(self, entity_db, conventions: ConventionsBase, manual_types_to_codes=None, argument
36 May extend - call:
40 manual_types_to_codes is a dictionary of hard-coded
42 the codes of the value are available for a command if-and-only-if
54 self.fail = False
55 self.entity = None
56 self.errors = DictOfStringSets()
57 self.warnings = DictOfStringSets()
[all …]
/third_party/python/Lib/idlelib/
Dcodecontext.py1 """codecontext - display the block context above the edit window
8 variable in the codecontext section of config-extensions.def. Lines which do
11 For EditorWindows, <<toggle-code-context>> is bound to CodeContext(self).
49 def __init__(self, editwin): argument
53 self.text is the editor window text widget.
55 self.context displays the code context text above the editor text.
56 Initially None, it is toggled via <<toggle-code-context>>.
57 self.topvisible is the number of the top text line displayed.
58 self.info is a list of (line number, indent level, line text,
60 self.info[0] is initialized with a 'dummy' line which
[all …]
Dsidebar.py23 return get_lineno(text, 'end-1c')
70 def __init__(self, editwin): argument
71 self.editwin = editwin
72 self.parent = editwin.text_frame
73 self.text = editwin.text
75 self.is_shown = False
77 self.main_widget = self.init_widgets()
79 self.bind_events()
81 self.update_font()
82 self.update_colors()
[all …]
/third_party/python/Tools/demo/
Dhanoi.py11 samples); it is displayed as the background of the animation. Default is no
17 # Basic Towers-of-Hanoi algorithm: move n pieces from a to b, using c
21 hanoi(n-1, a, c, b, report)
23 hanoi(n-1, c, b, a, report)
30 def __init__(self, n, bitmap=None): argument
31 self.n = n
32 self.tk = tk = Tk()
33 self.canvas = c = Canvas(tk)
39 self.bitmap = c.create_bitmap(width//2, height//2,
47 x1, y1 = (pegdist-pegwidth)//2, height*1//3
[all …]
/third_party/PyYAML/lib/yaml/
Dreader.py2 # looks further, there are no pretty code.
13 # reader.peek(length=1) - return the next `length` characters
14 # reader.forward(length=1) - move the current position to `length` characters.
15 # reader.index - the number of the current character.
16 # reader.line, stream.column - the line and the column of the current character.
26 def __init__(self, name, position, character, encoding, reason): argument
27 self.name = name
28 self.character = character
29 self.position = position
30 self.encoding = encoding
[all …]
/third_party/python/Lib/collections/
D__init__.py2 alternatives to Python's general purpose built-in containers, dict,
6 * deque list-like container with fast appends and pops on either end
7 * ChainMap dict-like class for creating a single view of multiple mappings
60 def __reversed__(self): argument
61 yield from reversed(self._mapping)
65 def __reversed__(self): argument
66 for key in reversed(self._mapping):
67 yield (key, self._mapping[key])
71 def __reversed__(self): argument
72 for key in reversed(self._mapping):
[all …]
/third_party/mesa3d/src/amd/registers/
Dmakeregheader.py3 * Copyright 2015-2019 Advanced Micro Devices, Inc.
18 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
27 Create the (combined) register header from register JSON. Use --help for usage.
72 Generate a user-friendly comment describing the given set of chips.
79 the idea being that no comment is necessary if all chips that support the
101 suffix = len(CHIPS) - idx - 1
105 comment.append('<= {0}'.format(CHIPS[prefix - 1].name))
133 def __init__(self, regdb, guard=None): argument
134 self.guard = guard
137 self.register_lines = []
[all …]
/third_party/python/Lib/tkinter/test/test_ttk/
Dtest_extensions.py12 def tearDown(self): argument
13 self.root.update_idletasks()
16 def test_widget_destroy(self): argument
18 x = ttk.LabeledScale(self.root)
22 self.assertRaises(tkinter.TclError, x.tk.globalgetvar, var)
25 myvar = tkinter.DoubleVar(self.root)
27 x = ttk.LabeledScale(self.root, variable=myvar)
29 if self.wantobjects:
30 self.assertEqual(x.tk.globalgetvar(name), myvar.get())
32 self.assertEqual(float(x.tk.globalgetvar(name)), myvar.get())
[all …]
/third_party/libinput/tools/
Dlibinput-analyze-touch-down-state.py2 # -*- coding: utf-8
4 # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
21 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
43 UPDATE = "UPDATE" variable in Slot.State
46 def __init__(self, index): argument
47 self._state = Slot.State.NONE
48 self.index = index
49 self.used = False
51 def begin(self): argument
52 assert self.state == Slot.State.NONE
[all …]
/third_party/python/Lib/
Dweakref.py5 https://peps.python.org/pep-0205/
10 # the module-global ref() function imported from _weakref.
54 # The self-weakref trick is needed to avoid creating a reference
56 self = self_wr()
57 if self._alive:
58 self._alive = False
60 callback(self)
61 self = ref.__new__(cls, obj, _cb)
62 self._func_ref = ref(func, _cb)
63 self._meth_type = type(meth)
[all …]
Dhmac.py1 """HMAC (Keyed-Hashing for Message Authentication) module.
32 blocksize = 64 # 512-bit HMAC; can be changed in subclasses.
38 def __init__(self, key, msg=None, digestmod=''): argument
60 self._init_hmac(key, msg, digestmod)
62 self._init_old(key, msg, digestmod)
64 self._init_old(key, msg, digestmod)
66 def _init_hmac(self, key, msg, digestmod): argument
67 self._hmac = _hashopenssl.hmac_new(key, msg, digestmod=digestmod)
68 self.digest_size = self._hmac.digest_size
69 self.block_size = self._hmac.block_size
[all …]
Dturtle.py3 # Version 1.1b - 4. 5. 2009
5 # Copyright (C) 2006 - 2010 Gregor Lingl
8 # This software is provided 'as-is', without any express or implied
9 # warranty. In no event will the authors be held liable for any damages
30 Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it
31 the command turtle.forward(15), and it moves (on-screen!) 15 pixels in
33 command turtle.right(25), and it rotates in-place 25 degrees clockwise.
38 ----- turtle.py
47 the -n switch.
51 - Better animation of the turtle movements, especially of turning the
[all …]
/third_party/python/Modules/clinic/
Dmd5module.c.h6 "copy($self, /)\n"
7 "--\n"
15 MD5Type_copy_impl(MD5object *self, PyTypeObject *cls);
18 MD5Type_copy(MD5object *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject … in MD5Type_copy() argument
21 PyErr_SetString(PyExc_TypeError, "copy() takes no arguments"); in MD5Type_copy()
24 return MD5Type_copy_impl(self, cls); in MD5Type_copy()
28 "digest($self, /)\n"
29 "--\n"
37 MD5Type_digest_impl(MD5object *self);
40 MD5Type_digest(MD5object *self, PyObject *Py_UNUSED(ignored)) in MD5Type_digest() argument
[all …]
Dsha1module.c.h6 "copy($self, /)\n"
7 "--\n"
15 SHA1Type_copy_impl(SHA1object *self, PyTypeObject *cls);
18 SHA1Type_copy(SHA1object *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObjec… in SHA1Type_copy() argument
21 PyErr_SetString(PyExc_TypeError, "copy() takes no arguments"); in SHA1Type_copy()
24 return SHA1Type_copy_impl(self, cls); in SHA1Type_copy()
28 "digest($self, /)\n"
29 "--\n"
37 SHA1Type_digest_impl(SHA1object *self);
40 SHA1Type_digest(SHA1object *self, PyObject *Py_UNUSED(ignored)) in SHA1Type_digest() argument
[all …]
Dsha256module.c.h6 "copy($self, /)\n"
7 "--\n"
15 SHA256Type_copy_impl(SHAobject *self, PyTypeObject *cls);
18 SHA256Type_copy(SHAobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObje… in SHA256Type_copy() argument
21 PyErr_SetString(PyExc_TypeError, "copy() takes no arguments"); in SHA256Type_copy()
24 return SHA256Type_copy_impl(self, cls); in SHA256Type_copy()
28 "digest($self, /)\n"
29 "--\n"
37 SHA256Type_digest_impl(SHAobject *self);
40 SHA256Type_digest(SHAobject *self, PyObject *Py_UNUSED(ignored)) in SHA256Type_digest() argument
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_tooltip.py3 Coverage is 100% after excluding 6 lines with "# pragma: no cover".
51 def setUp(self): argument
52 self.top, self.button = _make_top_and_button(self)
54 def test_base_class_is_unusable(self): argument
57 self.addCleanup(top.destroy)
61 self.addCleanup(button.destroy)
63 with self.assertRaises(NotImplementedError):
69 def setUp(self): argument
70 self.top, self.button = _make_top_and_button(self)
72 def is_tipwindow_shown(self, tooltip): argument
[all …]
Dtest_configdialog.py17 # Use solution from test_config: empty parsers with no filename.
55 def test_deactivate_current_config(self): argument
58 def activate_config_changes(self): argument
64 def test_click_ok(self): argument
73 def test_click_apply(self): argument
85 def test_click_cancel(self): argument
90 self.assertEqual(changes['main'], {})
91 self.assertEqual(d.destroy.called, 1)
94 def test_click_help(self): argument
100 self.assertEqual(title, 'Help for IDLE preferences')
[all …]
Dtest_codecontext.py25 def __init__(self, a, b):
26 self.a = a
27 self.b = b
28 def compare(self):
39 def __init__(self, root, frame, text): argument
40 self.root = root
41 self.top = root
42 self.text_frame = frame
43 self.text = text
44 self.label = ''
[all …]
/third_party/libabigail/
DNEWS8 Update website for 2.1 release.
10 abidiff: add a --debug-tc option
11 Bug 29650 - Caching class comparison result potentially too early
15 dwarf-reader: Fix class size setting bug
16 rhbz2114909 - Refer to changed base classes using their non-qualified names
17 ir: Don't crash when looking at corpus-less translation units
21 test-read-ctf: Update tests for fixing size and name for underlying types
23 dwarf-reader: Leverage ODR & DWZ
24 dwarf-reader: Avoid duplicating member functions
25 dwarf-reader: Make die_peel_{qual_ptr,typedef} always set peeled type
[all …]
/third_party/vk-gl-cts/scripts/khr_util/
Dregistry.py1 # -*- coding: utf-8 -*-
3 #-------------------------------------------------------------------------
5 # --------------------------------------
13 # http://www.apache.org/licenses/LICENSE-2.0
21 #-------------------------------------------------------------------------
38 def __init__(self, **kwargs): argument
39 self.__dict__.update(kwargs)
85 def __init__(self, items=[], **kwargs): argument
86 self.index = {}
87 self.items = []
[all …]
/third_party/node/tools/gyp/pylib/gyp/
Dxcodeproj_file.py2 # Use of this source code is governed by a BSD-style license that can be
19 Xcode project files are "bundled": the project "file" from an end-user's
25 per-user settings, such as the state of various UI elements in the Xcode
30 Unicode data, and is encoded in UTF-8. The root element in the property list
34 children of this property. The objects dictionary is keyed by unique 96-bit
40 project file. Objects can refer to other objects by ID, using the 24-character
53 24-character object key referring to the root PBXProject object in the
75 file-specific compiler flags are added to the PBXBuildFile object so as to
88 Xcode has its own way of assigning 24-character identifiers to each object,
90 once, when an object is created, and is then left unchanged, there is no need
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dxcodeproj_file.py2 # Use of this source code is governed by a BSD-style license that can be
19 Xcode project files are "bundled": the project "file" from an end-user's
25 per-user settings, such as the state of various UI elements in the Xcode
30 Unicode data, and is encoded in UTF-8. The root element in the property list
34 children of this property. The objects dictionary is keyed by unique 96-bit
40 project file. Objects can refer to other objects by ID, using the 24-character
53 24-character object key referring to the root PBXProject object in the
75 file-specific compiler flags are added to the PBXBuildFile object so as to
88 Xcode has its own way of assigning 24-character identifiers to each object,
90 once, when an object is created, and is then left unchanged, there is no need
[all …]

12345678910>>...40