Home
last modified time | relevance | path

Searched full:clone (Results 1 – 25 of 2478) sorted by relevance

12345678910>>...100

/third_party/curl/lib/
Ddotdot.c56 char *clone; in Curl_dedotdotify() local
68 clone = strdup(input); in Curl_dedotdotify()
69 if(!clone) { in Curl_dedotdotify()
73 orgclone = clone; in Curl_dedotdotify()
76 if(!*clone) { in Curl_dedotdotify()
79 return clone; in Curl_dedotdotify()
87 queryp = strchr(clone, '?'); in Curl_dedotdotify()
96 if(!strncmp("./", clone, 2)) { in Curl_dedotdotify()
97 clone += 2; in Curl_dedotdotify()
100 else if(!strncmp("../", clone, 3)) { in Curl_dedotdotify()
[all …]
/third_party/node/deps/npm/node_modules/clone/
DREADME.md1 # clone chapter
3 …ild status](https://secure.travis-ci.org/pvorb/node-clone.png)](http://travis-ci.org/pvorb/node-cl…
5 …dge](https://nodei.co/npm/clone.png?downloads=true&downloadRank=true&stars=true)](http://npm-stat.…
12 npm install clone
20 var clone = require('clone');
26 b = clone(a); // clone a -> b
40 **clone** masters cloning simple objects (even with custom prototype), arrays,
42 can clone dates in arrays in objects, for example.
47 `clone(val, circular, depth)`
49 * `val` -- the value that you want to clone, any type allowed
[all …]
Dpackage.json2 "_from": "clone@^1.0.2",
3 "_id": "clone@1.0.4",
6 "_location": "/clone",
11 "raw": "clone@^1.0.2",
12 "name": "clone",
13 "escapedName": "clone",
21 "_resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
23 "_spec": "clone@^1.0.2",
31 "url": "https://github.com/pvorb/node-clone/issues"
117 "homepage": "https://github.com/pvorb/node-clone#readme",
[all …]
Dclone.js1 var clone = (function() { function
9 * by calling clone(obj, false).
22 function clone(parent, circular, depth, prototype) { function
58 if (clone.__isArray(parent)) {
60 } else if (clone.__isRegExp(parent)) {
63 } else if (clone.__isDate(parent)) {
115 * Simple flat clone using prototype, accepts only objects, usefull for property
121 clone.clonePrototype = function clonePrototype(parent) {
135 clone.__objToStr = __objToStr;
140 clone.__isDate = __isDate;
[all …]
/third_party/ltp/runtest/
Dcontainers19 mqns_01_clone mqns_01 -clone
21 mqns_02_clone mqns_02 -clone
23 mqns_03_clone mqns_03 -clone
25 mqns_04_clone mqns_04 -clone
47 shmnstest_clone shmnstest clone
50 shmem_2nstest_clone shmem_2nstest clone
54 mesgq_nstest_clone mesgq_nstest clone
58 sem_nstest_clone sem_nstest clone
61 semtest_2ns_clone semtest_2ns clone
70 utstest_clone_1 utstest clone 1
[all …]
/third_party/python/.azure-pipelines/windows-release/
Dcheckout.yml7 - script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(SourceTag) --single-br…
8 displayName: 'git clone ($(GitRemote)/$(SourceTag))'
11 - script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(SourceTag) --single-br…
12 displayName: 'git clone (<default>/$(SourceTag))'
15 - script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(Build.SourceBranchName…
16 displayName: 'git clone ($(GitRemote)/<default>)'
19 - script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(Build.SourceBranchName…
20 displayName: 'git clone'
/third_party/node/tools/node_modules/babel-eslint/node_modules/lodash/
Dplant.js5 * Creates a clone of the chain sequence planting `value` as the wrapped value.
33 var clone = wrapperClone(parent);
34 clone.__index__ = 0;
35 clone.__values__ = undefined;
37 previous.__wrapped__ = clone;
39 result = clone;
41 var previous = clone;
Dclone.js7 * Creates a shallow clone of `value`.
10 * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
21 * @param {*} value The value to clone.
28 * var shallow = _.clone(objects);
32 function clone(value) { function
36 module.exports = clone;
/third_party/node/tools/node_modules/eslint/node_modules/lodash/
Dplant.js5 * Creates a clone of the chain sequence planting `value` as the wrapped value.
33 var clone = wrapperClone(parent);
34 clone.__index__ = 0;
35 clone.__values__ = undefined;
37 previous.__wrapped__ = clone;
39 result = clone;
41 var previous = clone;
Dclone.js7 * Creates a shallow clone of `value`.
10 * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
21 * @param {*} value The value to clone.
28 * var shallow = _.clone(objects);
32 function clone(value) { function
36 module.exports = clone;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DSharedObject.java23 * Java subclasses are mutable and must implement clone().
33 * public clone() { ... }
45 * // If there are multiple owners, then s is replaced with a clone,
50 * public U clone() {
52 * c.s = s.clone();
63 * // If there are multiple owners, then s is replaced with a clone,
67 * S ownedS = s.clone();
74 * public U clone() {
114 public Reference<T> clone() { in clone() method in SharedObject.Reference
117 c = (Reference<T>)super.clone(); in clone()
[all …]
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Drepeated_field_test.rb134 m.repeated_string += reference_arr.clone
161 m.repeated_string += reference_arr.clone
212 m.repeated_string += reference_arr.clone
229 m.repeated_string += reference_arr.clone
239 m.repeated_string += reference_arr.clone
251 m.repeated_string += reference_arr.clone
263 m.repeated_string += reference_arr.clone
274 m.repeated_string += reference_arr.clone
287 m.repeated_string += reference_arr.clone
297 m.repeated_string += reference_arr.clone
[all …]
/third_party/curl/docs/
DHTTP3.md36 % git clone --depth 1 -b OpenSSL_1_1_1k+quic https://github.com/quictls/openssl
45 % git clone https://github.com/ngtcp2/nghttp3
55 % git clone https://github.com/ngtcp2/ngtcp2
65 % git clone https://github.com/curl/curl
75 % git clone --depth 1 https://gitlab.com/gnutls/gnutls.git
85 % git clone https://github.com/ngtcp2/nghttp3
95 % git clone https://github.com/ngtcp2/ngtcp2
105 % git clone https://github.com/curl/curl
117 % git clone --recursive https://github.com/cloudflare/quiche
126 % git clone https://github.com/curl/curl
/third_party/protobuf/ruby/tests/
Drepeated_field_test.rb148 m.repeated_string += reference_arr.clone
175 m.repeated_string += reference_arr.clone
226 m.repeated_string += reference_arr.clone
242 m.repeated_string += reference_arr.clone
252 m.repeated_string += reference_arr.clone
264 m.repeated_string += reference_arr.clone
276 m.repeated_string += reference_arr.clone
287 m.repeated_string += reference_arr.clone
300 m.repeated_string += reference_arr.clone
310 m.repeated_string += reference_arr.clone
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dtstnrapi.cpp39 // test clone(), ==, and hashCode() in TestNormalizerAPI()
40 Normalizer *clone=copy.clone(); in TestNormalizerAPI() local
41 if(*clone!=copy) { in TestNormalizerAPI()
42 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()!=copy"); in TestNormalizerAPI()
44 // clone must have the same hashCode() in TestNormalizerAPI()
45 if(clone->hashCode()!=copy.hashCode()) { in TestNormalizerAPI()
46 … errln("error in Normalizer(Normalizer(CharacterIterator)).clone()->hashCode()!=copy.hashCode()"); in TestNormalizerAPI()
48 if(clone->next()!=0x4e3d) { in TestNormalizerAPI()
49 dataerrln("error in Normalizer(Normalizer(CharacterIterator)).clone()->next()"); in TestNormalizerAPI()
52 if(clone->hashCode()==copy.hashCode()) { in TestNormalizerAPI()
[all …]
/third_party/node/deps/npm/node_modules/deep-extend/lib/
Ddeep-extend.js58 var clone = [];
62 clone[index] = deepCloneArray(item);
64 clone[index] = cloneSpecificValue(item);
66 clone[index] = deepExtend({}, item);
69 clone[index] = item;
72 return clone;
84 * If you wish to clone source object (without modify it), just use empty new
102 var val, src, clone; variable
126 // just clone arrays (and recursive clone objects inside)
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs461 var clone = original.Clone(); in CloneSingleNonMessageValues()
462 Assert.AreNotSame(original, clone); in CloneSingleNonMessageValues()
463 Assert.AreEqual(original, clone); in CloneSingleNonMessageValues()
465 clone.SingleInt32 = 150; in CloneSingleNonMessageValues()
466 Assert.AreNotEqual(original, clone); in CloneSingleNonMessageValues()
492 var clone = original.Clone(); in CloneRepeatedNonMessageValues()
493 Assert.AreNotSame(original, clone); in CloneRepeatedNonMessageValues()
494 Assert.AreEqual(original, clone); in CloneRepeatedNonMessageValues()
496 clone.RepeatedDouble.Add(25.5); in CloneRepeatedNonMessageValues()
497 Assert.AreNotEqual(original, clone); in CloneRepeatedNonMessageValues()
[all …]
/third_party/ffmpeg/libavcodec/
Dasvenc.c223 AVFrame *clone = av_frame_alloc(); in encode_frame() local
226 if (!clone) in encode_frame()
228 clone->format = pict->format; in encode_frame()
229 clone->width = FFALIGN(pict->width, 16); in encode_frame()
230 clone->height = FFALIGN(pict->height, 16); in encode_frame()
231 ret = av_frame_get_buffer(clone, 0); in encode_frame()
233 av_frame_free(&clone); in encode_frame()
237 ret = av_frame_copy(clone, pict); in encode_frame()
239 av_frame_free(&clone); in encode_frame()
247 int w2 = AV_CEIL_RSHIFT(clone->width, !!i); in encode_frame()
[all …]
/third_party/ltp/testcases/kernel/syscalls/clone/
Dclone08.c91 tst_brk(TCONF, "clone does not support 7 args"); in clone_child()
94 tst_brk(TBROK | TTERRNO, "%s clone() failed", t->name); in clone_child()
115 tst_res(TPASS, "clone and forked child has the same parent"); in child_clone_parent()
133 tst_res(TPASS, "clone() correctly set ctid"); in child_clone_child_settid()
143 tst_res(TPASS, "clone() correctly set ptid"); in child_clone_parent_settid()
171 tst_res(TPASS, "clone stopped and resumed as expected"); in test_clone_stopped()
173 tst_res(TFAIL, "clone not stopped, flag %d", stopped_flag); in test_clone_stopped()
199 * futex here is racing with clone() above. in test_clone_thread()
201 * ctid has been already changed by clone() in test_clone_thread()
222 tst_res(TPASS, "clone has the same thread id"); in child_clone_thread()
[all …]
/third_party/python/Lib/lib2to3/fixes/
Dfix_filter.py65 trailers.append(t.clone())
68 xp = results.get("xp").clone()
73 new = ListComp(results.get("fp").clone(),
74 results.get("fp").clone(),
75 results.get("it").clone(), xp)
81 results["seq"].clone(),
89 args = results['args'].clone()
/third_party/grpc/tools/dockerfile/grpc_clang/
DDockerfile26 RUN git clone -b release_36 http://llvm.org/git/llvm.git
27 RUN git clone -b release_36 http://llvm.org/git/clang.git
28 RUN git clone -b release_36 http://llvm.org/git/compiler-rt.git
29 RUN git clone -b release_36 http://llvm.org/git/clang-tools-extra.git
30 RUN git clone -b release_36 http://llvm.org/git/libcxx.git
31 RUN git clone -b release_36 http://llvm.org/git/libcxxabi.git
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DCompactArrayTest.java40 CompactByteArray cba3 = (CompactByteArray)cba.clone(); in TestByteArrayCoverage()
44 logln("equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
69 logln("modified equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
72 logln("modified equals modified clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
78 CompactByteArray cba6 = (CompactByteArray)cba.clone(); in TestByteArrayCoverage()
82 logln("modified clone: " + cba3.equals(cba6)); in TestByteArrayCoverage()
105 CompactCharArray cca3 = (CompactCharArray)cca.clone(); in TestCharArrayCoverage()
109 logln("equals clone: " + cca.equals(cca3)); in TestCharArrayCoverage()
134 logln("modified equals clone: " + cca.equals(cca3)); in TestCharArrayCoverage()
137 logln("modified equals modified clone: " + cca.equals(cca3)); in TestCharArrayCoverage()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs507 var clone = original.Clone(); in CloneSingleNonMessageValues()
508 Assert.AreNotSame(original, clone); in CloneSingleNonMessageValues()
509 Assert.AreEqual(original, clone); in CloneSingleNonMessageValues()
511 clone.SingleInt32 = 150; in CloneSingleNonMessageValues()
512 Assert.AreNotEqual(original, clone); in CloneSingleNonMessageValues()
538 var clone = original.Clone(); in CloneRepeatedNonMessageValues()
539 Assert.AreNotSame(original, clone); in CloneRepeatedNonMessageValues()
540 Assert.AreEqual(original, clone); in CloneRepeatedNonMessageValues()
542 clone.RepeatedDouble.Add(25.5); in CloneRepeatedNonMessageValues()
543 Assert.AreNotEqual(original, clone); in CloneRepeatedNonMessageValues()
[all …]
/third_party/grpc/templates/tools/dockerfile/
Dclang_update.include4 RUN git clone -n -b release_38 http://llvm.org/git/llvm.git && ${'\\'}
6 RUN git clone -n -b release_38 http://llvm.org/git/clang.git && ${'\\'}
8 RUN git clone -n -b release_38 http://llvm.org/git/compiler-rt.git && ${'\\'}
10 RUN git clone -n -b release_38 ${'\\'}
13 RUN git clone -n -b release_38 http://llvm.org/git/libcxx.git && ${'\\'}
15 RUN git clone -n -b release_38 http://llvm.org/git/libcxxabi.git && ${'\\'}
/third_party/ltp/lib/
Dcloner.c3 * Some wrappers for clone functionality. Thrown together by Serge Hallyn
4 * <serue@us.ibm.com> based on existing clone usage in ltp.
34 #undef clone /* we want to use clone() */
54 # define clone(fn, stack, flags, arg, ptid, tls, ctid) \ macro
55 clone(fn, stack, flags, arg)
59 * ltp_clone: wrapper for clone to hide the architecture dependencies.
87 ret = clone(fn, stack, flags, arg, ptid, tls, ctid); in ltp_clone_()
139 * ltp_clone_alloc: also does the memory allocation for clone with a

12345678910>>...100