Home
last modified time | relevance | path

Searched full:shallow (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/external/python/cpython2/Doc/library/
Dcopy.rst1 :mod:`copy` --- Shallow and deep copy operations
5 :synopsis: Shallow and deep copy operations.
10 changing the other. This module provides generic shallow and deep copy
18 Return a shallow copy of *x*.
31 The difference between shallow and deep copying is only relevant for compound
34 * A *shallow copy* constructs a new compound object and then (to the extent
40 Two problems often exist with deep copy operations that don't exist with shallow
59 classes (shallow and deeply), by returning the original object unchanged; this
62 Shallow copies of dictionaries can be made using :meth:`dict.copy`, and
82 to implement the shallow copy operation; no additional arguments are passed.
Dfilecmp.rst19 .. function:: cmp(f1, f2[, shallow])
24 Unless *shallow* is given and is false, files with identical :func:`os.stat`
34 .. function:: cmpfiles(dir1, dir2, common[, shallow])
46 The *shallow* parameter has the same meaning and default value as for
78 The :class:`dircmp` class compares files by doing *shallow* comparisons
/external/python/cpython3/Doc/library/
Dcopy.rst1 :mod:`copy` --- Shallow and deep copy operations
5 :synopsis: Shallow and deep copy operations.
14 changing the other. This module provides generic shallow and deep copy
22 Return a shallow copy of *x*.
36 The difference between shallow and deep copying is only relevant for compound
39 * A *shallow copy* constructs a new compound object and then (to the extent
45 Two problems often exist with deep copy operations that don't exist with shallow
64 classes (shallow and deeply), by returning the original object unchanged; this
67 Shallow copies of dictionaries can be made using :meth:`dict.copy`, and
84 to implement the shallow copy operation; no additional arguments are passed.
Dfilecmp.rst20 .. function:: cmp(f1, f2, shallow=True)
25 If *shallow* is true and the :func:`os.stat` signatures (file type, size, and
39 .. function:: cmpfiles(dir1, dir2, common, shallow=True)
51 The *shallow* parameter has the same meaning and default value as for
80 The :class:`dircmp` class compares files by doing *shallow* comparisons
/external/javassist/src/main/javassist/bytecode/analysis/
DType.java392 CtClass shallow = two; in findCommonSuperClass() local
393 CtClass backupShallow = shallow; in findCommonSuperClass()
396 // Phase 1 - Find the deepest hierarchy, set deep and shallow correctly in findCommonSuperClass()
399 if (eq(deep, shallow) && deep.getSuperclass() != null) in findCommonSuperClass()
403 CtClass shallowSuper = shallow.getSuperclass(); in findCommonSuperClass()
406 // right, now reset shallow in findCommonSuperClass()
407 shallow = backupShallow; in findCommonSuperClass()
417 deep = shallow; in findCommonSuperClass()
418 shallow = backupShallow; in findCommonSuperClass()
423 shallow = shallowSuper; in findCommonSuperClass()
[all …]
DFrame.java146 * Makes a shallow copy of this frame, i.e. the type instances will
149 * @return the shallow copy
160 * Makes a shallow copy of the stack portion of this frame. The local
163 * @return the shallow copy of the stack
/external/python/cpython3/Lib/
Dcopy.py1 """Generic (shallow and deep) copying operations.
7 x = copy.copy(y) # make a shallow copy of y
12 The difference between shallow and deep copying is only relevant for
16 - A shallow copy constructs a new compound object and then (to the
24 with shallow copy operations:
67 """Shallow copy operation on arbitrary Python objects.
98 raise Error("un(shallow)copyable object of type %s" % cls)
Dfilecmp.py7 cmp(f1, f2, shallow=True) -> int
30 def cmp(f1, f2, shallow=True): argument
39 shallow -- treat files as identical if their stat signatures (type, size,
57 if shallow and s1 == s2:
258 def cmpfiles(a, b, common, shallow=True): argument
263 shallow -- if true, do comparison based solely on stat() information
275 res[_cmp(ax, bx, shallow)].append(x)
/external/python/cpython2/Lib/test/
Dtest_filecmp.py30 self.assertTrue(filecmp.cmp(self.name, self.name_same, shallow=False),
32 self.assertTrue(filecmp.cmp(self.name, self.name, shallow=False),
79 # Try it with shallow=False
81 shallow=False) ==
85 shallow=False),
/external/python/cpython2/Lib/
Dfilecmp.py7 cmp(f1, f2, shallow=1) -> int
21 def cmp(f1, f2, shallow=1): argument
30 shallow -- Just check stat signature (do not read the files).
46 if shallow and s1 == s2:
241 def cmpfiles(a, b, common, shallow=1): argument
246 shallow -- if true, do comparison based solely on stat() information
258 res[_cmp(ax, bx, shallow)].append(x)
Dcopy.py1 """Generic (shallow and deep) copying operations.
7 x = copy.copy(y) # make a shallow copy of y
12 The difference between shallow and deep copying is only relevant for
16 - A shallow copy constructs a new compound object and then (to the
24 with shallow copy operations:
67 """Shallow copy operation on arbitrary Python objects.
94 raise Error("un(shallow)copyable object of type %s" % cls)
/external/python/cpython3/Lib/test/
Dtest_filecmp.py33 self.assertTrue(filecmp.cmp(self.name, self.name, shallow=False),
37 self.assertTrue(filecmp.cmp(self.name, self.name_same, shallow=False),
47 first_compare = filecmp.cmp(self.name, self.name_same, shallow=False)
48 second_compare = filecmp.cmp(self.name, self.name_diff, shallow=False)
96 # Try it with shallow=False
98 shallow=False) ==
102 shallow=False),
/external/virglrenderer/ci/
Dbuild-container.sh96 git clone --shallow-since="$GIT_DATE" https://gitlab.freedesktop.org/mesa/drm.git . && \
113 git clone --shallow-since="$GIT_DATE" ${MESA_REPO} . && \
126 git clone --shallow-since="$GIT_DATE" https://github.com/anholt/libepoxy.git . && \
169 git clone --shallow-since="$GIT_DATE" https://github.com/KhronosGroup/VK-GL-CTS.git . && \
185 git clone --shallow-since="$GIT_DATE" https://gitlab.freedesktop.org/mesa/piglit.git . && \
/external/javassist/src/main/javassist/bytecode/stackmap/
DTypeData.java528 CtClass shallow = two; in commonSuperClass() local
529 CtClass backupShallow = shallow; in commonSuperClass()
532 // Phase 1 - Find the deepest hierarchy, set deep and shallow correctly in commonSuperClass()
535 if (eq(deep, shallow) && deep.getSuperclass() != null) in commonSuperClass()
539 CtClass shallowSuper = shallow.getSuperclass(); in commonSuperClass()
542 // right, now reset shallow in commonSuperClass()
543 shallow = backupShallow; in commonSuperClass()
553 deep = shallow; in commonSuperClass()
554 shallow = backupShallow; in commonSuperClass()
559 shallow = shallowSuper; in commonSuperClass()
[all …]
/external/tensorflow/tensorflow/python/data/util/
Dnest.py241 """Asserts that `shallow_tree` is a shallow structure of `input_tree`.
279 "If shallow structure is a sequence, input must also be a sequence. "
285 f"structure has type '{type(input_tree).__name__}', while shallow "
291 f"structure has length {len(input_tree)}, while shallow structure "
298 f"structure has keys {list(input_tree)}, while shallow structure "
320 of the nested structure. We achieve this by specifying a shallow structure,
390 achieve this by specifying a shallow structure, `shallow_tree` we wish to
424 shallow_tree: a shallow tree, common to all the inputs.
/external/ComputeLibrary/arm_compute/core/experimental/
DPostOps.h49 … not own any resources pointed to by TensorRelatedT if it's a pointer type, thus allow shallow copy
89 … not own any resources pointed to by TensorRelatedT if it's a pointer type, thus allow shallow copy
130 … not own any resources pointed to by TensorRelatedT if it's a pointer type, thus allow shallow copy
/external/tensorflow/tensorflow/lite/tools/cmake/modules/
Dfarmhash.cmake27 # It's not currently possible to shallow clone with a GIT TAG
29 # which doesn't work as it's a shallow clone hence a different commit hash.
Dgemmlowp.cmake27 # It's not currently (cmake 3.17) possible to shallow clone with a GIT TAG
29 # which doesn't work as it's a shallow clone hence a different commit hash.
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509CollectionStoreParameters.java37 * Returns a shallow clone. The returned contents are not copied, so adding
40 * @return a shallow clone.
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DX509CollectionStoreParameters.java39 * Returns a shallow clone. The returned contents are not copied, so adding
42 * @return a shallow clone.
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/
DX509CollectionStoreParameters.java39 * Returns a shallow clone. The returned contents are not copied, so adding
42 * @return a shallow clone.
/external/icu/libicu/ndk_headers/unicode/
Dutext.h268 * A shallow clone replicates only the UText data structures; it does not make
269 * a copy of the underlying text. Shallow clones can be used as an efficient way to
273 * A shallow clone operation will not fail, barring truly exceptional conditions such
276 * Shallow UText clones should be avoided if the UText functions that modify the
279 * shallow clones provide some protection against errors of this type by
282 * A shallow clone made with the readOnly parameter == false will preserve the
288 * This is true for read access only with shallow clones, and for both read and
298 * @param deep true to request a deep clone, false for a shallow clone.
/external/autotest/metadata/
Dgenerate_proto_descriptors.sh28 echo "Creating a shallow clone of ${CROS_CONFIG_REPO}"
29 git clone -q --depth=1 --shallow-submodules "${CROS_CONFIG_REPO}" \
/external/tensorflow/tensorflow/lite/kernels/
Dwhile_test.cc79 // Use 4MB inputs to test shallow copy. in TEST_F()
81 // Apply DynamicAllocationForLargeTensors option to enable shallow copy. in TEST_F()
100 // While BODY inputs are dynamic tensors with shallow copy. in TEST_F()
147 // Use 4MB inputs to test shallow copy. in TEST_F()
/external/python/absl-py/absl/testing/
Dflagsaver.py53 We save and restore a shallow copy of each Flag object's ``__dict__`` attribute.
182 It's mostly a shallow copy of the ``__dict__``, except it also does a shallow

12345678910>>...25