OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:weaklist
(Results
1 - 4
of
4
) sorted by null
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_threading_local.py
16
def target(local,
weaklist
):
19
weaklist
.append(weakref.ref(weak))
30
weaklist
= []
32
t = threading.Thread(target=target, args=(local,
weaklist
))
38
self.assertEqual(len(
weaklist
), n)
41
deadlist = [weak for weak in
weaklist
if weak() is None]
47
deadlist = [weak for weak in
weaklist
if weak() is None]
/external/python/cpython2/Lib/test/
test_threading_local.py
16
def target(local,
weaklist
):
19
weaklist
.append(weakref.ref(weak))
30
weaklist
= []
32
t = threading.Thread(target=target, args=(local,
weaklist
))
38
self.assertEqual(len(
weaklist
), n)
41
deadlist = [weak for weak in
weaklist
if weak() is None]
47
deadlist = [weak for weak in
weaklist
if weak() is None]
/external/python/cpython3/Lib/test/
test_threading_local.py
17
def target(local,
weaklist
):
20
weaklist
.append(weakref.ref(weak))
32
weaklist
= []
34
t = threading.Thread(target=target, args=(local,
weaklist
))
40
self.assertEqual(len(
weaklist
), n)
43
deadlist = [weak for weak in
weaklist
if weak() is None]
49
deadlist = [weak for weak in
weaklist
if weak() is None]
/external/python/cpython3/Python/
import.c
403
PyObject *
weaklist
= NULL;
local
445
weaklist
= PyList_New(0);
446
if (
weaklist
== NULL)
450
if (
weaklist
!= NULL) { \
454
if (!tup || PyList_Append(
weaklist
, tup) < 0) { \
542
if (
weaklist
!= NULL) {
544
n = PyList_GET_SIZE(
weaklist
);
546
PyObject *tup = PyList_GET_ITEM(
weaklist
, i);
561
Py_DECREF(
weaklist
);
[
all
...]
Completed in 105 milliseconds