Home
last modified time | relevance | path

Searched refs:duck (Results 1 – 20 of 20) sorted by relevance

/third_party/node/deps/npm/node_modules/protoduck/
Dindex.js96 const duck = function (thisType, argTypes) { function
97 return duck.matches(thisType, argTypes)
99 Object.setPrototypeOf(duck, Duck.prototype)
100 duck.isDerivable = true
101 Object.defineProperty(duck, 'name', {
107 duck._constraints = where.map(w => w.isProtocol // `where: [Foo]`
112 duck._constraints = []
114 duck.isProtocol = true
115 duck._metaobject = opts && opts.metaobject
116 duck._types = types
[all …]
DREADME.md6 If you're familiar with the concept of ["duck
9 order to "clearly be a duck".
41 // `duck` must implement `Quackable` for this function to work. It doesn't
42 // matter what type or class duck is, as long as it implements Quackable.
43 function doStuffToDucks (duck) {
44 if (!duck.isADuck()) {
45 throw new Error('I want a duck!')
47 console.log(duck.walk())
48 console.log(duck.talk())
91 Duck typing is a common term for this sort of thing: If it walks like a duck,
[all …]
/third_party/pulseaudio/src/modules/
Dstream-interaction.c50 bool duck:1; member
157 if (u->duck && !interaction_applied) { in cork_or_duck()
165 } else if (!u->duck) { in cork_or_duck()
174 if (u->duck) { in uncork_or_unduck()
224 if (new_trigger && ((!corked && !j->muted) || u->duck)) { in apply_interaction_to_sink()
438 u->duck = false; in pa_stream_interaction_init()
440 u->duck = true; in pa_stream_interaction_init()
444 if (u->duck) { in pa_stream_interaction_init()
494 if (u->duck) in pa_stream_interaction_init()
530 roles = pa_modargs_get_value(ma, u->duck ? "ducking_roles" : "cork_roles", NULL); in pa_stream_interaction_init()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/
D.mailmap1 Johann Koenig <johann.koenig@duck.com>
2 Johann Koenig <johann.koenig@duck.com> <johannkoenig@google.com>
DAUTHORS11 - Johann Koenig (johann dot koenig at duck dot com)
/third_party/skia/third_party/externals/libwebp/
D.mailmap1 Johann Koenig <johann.koenig@duck.com>
2 Johann Koenig <johann.koenig@duck.com> <johannkoenig@google.com>
DAUTHORS16 - Johann Koenig (johann dot koenig at duck dot com)
/third_party/node/deps/npm/node_modules/pacote/lib/
Dfetch.js3 const duck = require('protoduck') constant
5 const Fetcher = duck.define(['spec', 'opts', 'manifest'], {
/third_party/parse5/test/data/parser-feedback/
Dwebkit01.test180 "description": "<foo bar=\"baz\"></foo><potato quack=\"duck\"></potato>",
181 "input": "<foo bar=\"baz\"></foo><potato quack=\"duck\"></potato>",
198 "quack": "duck"
208 "description": "<foo bar=\"baz\"><potato quack=\"duck\"></potato></foo>",
209 "input": "<foo bar=\"baz\"><potato quack=\"duck\"></potato></foo>",
222 "quack": "duck"
236 "description": "<foo></foo bar=\"baz\"><potato></potato quack=\"duck\">",
237 "input": "<foo></foo bar=\"baz\"><potato></potato quack=\"duck\">",
/third_party/ffmpeg/tests/fate/
Dvpx.mak2 fate-truemotion1-15: CMD = framecrc -i $(TARGET_SAMPLES)/duck/phant2-940.duk -pix_fmt rgb24 -an
5 fate-truemotion1-24: CMD = framecrc -i $(TARGET_SAMPLES)/duck/sonic3dblast_intro-partial.avi -pix_f…
11 fate-truemotion2: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tm20.avi
14 fate-truemotion2rt-low: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tr20_low.avi -an
17 fate-truemotion2rt-mid: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tr20_mid.avi -an
20 fate-truemotion2rt-high: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tr20_high.avi -an
Dadpcm.mak47 fate-adpcm-ima-dk3: CMD = md5 -i $(TARGET_SAMPLES)/duck/sop-audio-only.avi -f s16le
50 fate-adpcm-ima-dk4: CMD = md5 -i $(TARGET_SAMPLES)/duck/salsa-audio-only.avi -f s16le
/third_party/boost/libs/poly_collection/
DREADME.md28 [*duck typing*](https://en.wikipedia.org/wiki/Duck_typing) as implemented by
/third_party/python/Doc/
Dglossary.rst35 Abstract base classes complement :term:`duck-typing` by
334 duck-typing
337 called or used ("If it looks like a duck and quacks like a duck, it
338 must be a duck.") By emphasizing interfaces rather than specific types,
341 :func:`isinstance`. (Note, however, that duck-typing can be complemented
/third_party/boost/libs/poly_collection/doc/
Dpoly_collection.qbk21 [def _duck_typing_ [@https://en.wikipedia.org/wiki/Duck_typing ['duck typing]]]
154 interface in mind --in fact, the same object can be duck-typed to different
155 interfaces. Among other libraries, _Boost.TypeErasure_ provides duck typing
156 for C++. Under the hood, duck typing requires pointer indirection and virtual
162 dealing with OOP, `std::function`-like polymorphism and duck typing as
/third_party/python/Doc/library/
Dtyping.rst425 *structural subtyping* (or static duck-typing)::
884 structural subtyping (static duck-typing), for example::
/third_party/python/Doc/whatsnew/
D3.4.rst1053 :func:`~inspect.signature` now supports duck types of CPython functions,
D2.6.rst1237 above example. Python has a strong tradition of duck-typing, where
/third_party/skia/third_party/externals/brotli/tests/testdata/
Dalice29.txt2925 As a duck with its eyelids, so he with his nose
/third_party/icu/icu4c/source/test/testdata/
Demoji-test.txt2196 1F986 ; fully-qualified # �� duck
/third_party/python/Misc/
DHISTORY2442 - Issue #17159: inspect.signature now accepts duck types of functions,