Home
last modified time | relevance | path

Searched +full:post +full:- +full:require +full:- +full:hook (Results 1 – 25 of 166) sorted by relevance

1234567

/third_party/node/deps/npm/node_modules/libnpmhook/
DREADME.md1 …[![Travis](https://img.shields.io/travis/npm/libnpmhook.svg)](https://travis-ci.org/npm/libnpmhook…
4 programmatically managing the npm registry's server-side hooks.
7 post](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm).
12 const hooks = require('libnpmhook')
15 // array of hook objects on `mypkg`.
27 * [hook opts](#opts)
31 * [`ls.stream()`](#ls-stream)
38 `libnpmhook` uses [`npm-registry-fetch`](https://npm.im/npm-registry-fetch).
41 documentation](https://www.npmjs.com/package/npm-registry-fetch#fetch-options)
46 …s.token` - can be passed in and will be used as the authentication token for the registry. For oth…
[all …]
Dindex.js3 const fetch = require('npm-registry-fetch')
4 const figgyPudding = require('figgy-pudding')
5 const getStream = require('get-stream')
6 const validate = require('aproba')
28 return fetch.json('/-/npm/v1/hooks/hook', opts.concat({
29 method: 'POST',
37 return fetch.json(`/-/npm/v1/hooks/hook/${eu(id)}`, opts.concat({
51 return fetch.json(`/-/npm/v1/hooks/hook/${eu(id)}`, opts.concat({
60 return fetch.json(`/-/npm/v1/hooks/hook/${eu(id)}`, opts)
73 return fetch.json.stream('/-/npm/v1/hooks', 'objects.*', opts.concat({
/third_party/typescript/scripts/
Dlink-hooks.js1 var fs = require("fs");
2 var path = require("path");
5 "post-checkout"
8 hooks.forEach(function (hook) { argument
9 var hookInSourceControl = path.resolve(__dirname, "hooks", hook);
12 var hookInHiddenDirectory = path.resolve(__dirname, "..", ".git", "hooks", hook);
/third_party/node/test/sequential/
Dtest-inspector-async-call-stack.js1 // Flags: --expose-internals
3 const common = require('../common');
7 const assert = require('assert');
8 const { internalBinding } = require('internal/test/binding');
11 const inspector = require('inspector');
26 verifyAsyncHookDisabled('inspector async hook should be disabled at startup');
34 session.post('Debugger.enable', () => {
37 session.post(setDepth, { invalid: 'message' }, () => {
40 session.post(setDepth, { maxDepth: 'five' }, () => {
44 session.post(setDepth, { maxDepth: NaN }, () => {
[all …]
/third_party/node/deps/npm/test/tap/
Dhook.js3 const common = require('../common-tap.js')
4 const test = require('tap').test
6 test('hook add', (t) => {
19 .post('/-/npm/v1/hooks/hook', true)
26 'hook', 'add', '~zkat', 'https://example.com', 'sekrit',
27 '--registry', server.registry
35 'output info about new hook'
41 test('hook add --json', (t) => {
45 .post('/-/npm/v1/hooks/hook', true)
52 'hook', 'add', '~zkat', 'https://example.com', 'sekrit',
[all …]
/third_party/node/deps/npm/node_modules/is-callable/
D.istanbul.yml5 - .js
6 - .jsx
7 default-excludes: true
11 preserve-comments: false
12 complete-copy: false
13 save-baseline: false
14 baseline-file: ./coverage/coverage-baseline.raw.json
15 include-all-sources: false
16 include-pid: false
17 es-modules: false
[all …]
/third_party/node/test/async-hooks/
Dtest-http-agent-handle-reuse-serial.js2 // Flags: --expose-internals
3 const common = require('../common');
4 const initHooks = require('./init-hooks');
5 const { checkInvocations } = require('./hook-checks');
6 const assert = require('assert');
7 const { async_id_symbol } = require('internal/async_hooks').symbols;
8 const http = require('http');
11 // is not reused. Test is based on parallel\test-async-hooks-http-agent.js.
28 res.writeHead(200, { 'Content-Type': 'text/plain' });
41 agent, port, method: 'POST'
[all …]
Dtest-http-agent-handle-reuse-parallel.js2 // Flags: --expose-internals
3 const common = require('../common');
4 const initHooks = require('./init-hooks');
5 const { checkInvocations } = require('./hook-checks');
6 const assert = require('assert');
7 const { async_id_symbol } = require('internal/async_hooks').symbols;
8 const http = require('http');
11 // is not reused. Test is based on parallel\test-async-hooks-http-agent.js.
49 res.writeHead(200, { 'Content-Type': 'text/plain' });
61 agent, port, method: 'POST'
[all …]
/third_party/libjpeg-turbo/
Djdapistd.c5 * Copyright (C) 1994-1996, Thomas G. Lane.
6 * libjpeg-turbo Modifications:
7 * Copyright (C) 2010, 2015-2018, 2020, D. R. Commander.
14 * used in the normal full-decompression case. They are not used by a
15 * transcoding-only application. Note that if an application links in
47 if (cinfo->global_state == DSTATE_READY) { in jpeg_start_decompress()
50 if (cinfo->buffered_image) { in jpeg_start_decompress()
52 cinfo->global_state = DSTATE_BUFIMAGE; in jpeg_start_decompress()
55 cinfo->global_state = DSTATE_PRELOAD; in jpeg_start_decompress()
57 if (cinfo->global_state == DSTATE_PRELOAD) { in jpeg_start_decompress()
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djdapistd.c5 * Copyright (C) 1994-1996, Thomas G. Lane.
6 * libjpeg-turbo Modifications:
7 * Copyright (C) 2010, 2015-2018, 2020, D. R. Commander.
14 * used in the normal full-decompression case. They are not used by a
15 * transcoding-only application. Note that if an application links in
47 if (cinfo->global_state == DSTATE_READY) { in jpeg_start_decompress()
50 if (cinfo->buffered_image) { in jpeg_start_decompress()
52 cinfo->global_state = DSTATE_BUFIMAGE; in jpeg_start_decompress()
55 cinfo->global_state = DSTATE_PRELOAD; in jpeg_start_decompress()
57 if (cinfo->global_state == DSTATE_PRELOAD) { in jpeg_start_decompress()
[all …]
/third_party/boost/tools/build/src/
Dbuild-system.jam11 import build-request ;
15 import config-cache ;
25 import property-set ;
32 import virtual-target ;
41 # Shortcut used in this module for accessing used command-line parameters.
46 .debug-config = [ MATCH ^(--debug-configuration)$ : $(.argv) ] ;
49 # line. When running 'bjam --clean main_target' we want to clean only files
52 .results-of-main-targets = ;
55 .out-xml = [ MATCH ^--out-xml=(.*)$ : $(.argv) ] ;
61 # while not strictly necessary, has been added to allow testing Boost-Build's
[all …]
/third_party/boost/
Dboostcpp.jam2 # Copyright Vladimir Prus 2002-2010.
3 # Copyright Dave Abrahams 2005-2006.
4 # Copyright Rene Rivera 2005-2007.
14 import build-system ;
28 import version : version-less ;
39 rule set-version ( version )
43 local version-tag =
45 if $(version-tag[3]) = 0
47 version-tag = $(version-tag[1-2]) ;
49 BOOST_VERSION_TAG = $(version-tag:J=_) ;
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_queryobj.c59 if (brw->screen->hw_has_timestamp == 2) { in brw_raw_timestamp_delta()
63 return (uint32_t)time1 - (uint32_t)time0; in brw_raw_timestamp_delta()
66 return (1ULL << 36) + time1 - time0; in brw_raw_timestamp_delta()
68 return time1 - time0; in brw_raw_timestamp_delta()
79 const struct intel_device_info *devinfo = &brw->screen->devinfo; in brw_write_timestamp()
81 if (devinfo->ver == 6) { in brw_write_timestamp()
90 if (devinfo->ver == 9 && devinfo->gt == 4) in brw_write_timestamp()
103 const struct intel_device_info *devinfo = &brw->screen->devinfo; in brw_write_depth_count()
106 if (devinfo->ver == 9 && devinfo->gt == 4) in brw_write_depth_count()
109 if (devinfo->ver >= 10) { in brw_write_depth_count()
[all …]
/third_party/nghttp2/doc/
Dnghttpx.15 nghttpx \- HTTP/2 proxy
7 .nr rst2man-indent-level 0
10 \\$1 \\n[an-margin]
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
13 -
14 \\n[rst2man-indent0]
15 \\n[rst2man-indent1]
16 \\n[rst2man-indent2]
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
[all …]
Dnghttpx.1.rst10 --------
15 -----------
23 "no-tls" parameter is used in :option:`--frontend` option.
28 "no-tls" parameter is used in :option:`--frontend` option. To
33 -------
40 .. option:: -b, --backend=(<HOST>,<PORT>|unix:<PATH>)[;[<PATTERN>[:...]][[;<PARAM>]...]
62 listener with "sni-fwd" parameter enabled, SNI host is
96 pattern, which matches all request paths (catch-all
97 pattern). The catch-all backend must be given.
101 converted to lower case. For path part, percent-encoded
[all …]
/third_party/boost/libs/asio/doc/
Dhistory.qbk2 / Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
18 * Changed `any_io_executor` to a "strong typedef"-style class.
19 * Fixed `experimental::as_single` to work with handler hook deprecation.
23 * Fixed work tracking for `io_context` and `thread_pool` executors when move-assigned.
25 * Fixed I/O object move-assignment to ensure the executor is left in a valid state.
37 * Added executor-converting construction and assignment to `ip::basic_resolver`.
39 invocation hook.
43 with a single parameter, the argument is passed through as-is. For signatures
70 * Reinstated a previously removed null-pointer check, as it had a measurable
72 * Fixed the `executor` concept to test for a const-qualified `execute()`.
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1 //===- llvm/CodeGen/TargetInstrInfo.h - Instruction Info --------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
85 //---------------------------------------------------------------------------
87 /// TargetInstrInfo - Interface to description of machine instruction set
126 /// set, this hook lets the target specify whether the instruction is actually
141 /// If a target has any instructions that are commutable but require
142 /// converting to different instructions or making non-trivial changes
149 /// Do not call this method for a non-commutable instruction.
[all …]
/third_party/python/Doc/library/
Dsys.rst1 :mod:`sys` --- System-specific parameters and functions
5 :synopsis: Access system-specific parameters and functions.
7 --------------
26 .. function:: addaudithook(hook)
28 Append the callable *hook* to the list of active auditing hooks for the
32 hook will be called in the order it was added with the event name and the
38 .. audit-event:: sys.addaudithook "" sys.addaudithook
43 new hook will not be added and the exception suppressed. As a result,
44 callers cannot assume that their hook has been added unless they control
47 See the :ref:`audit events table <audit-events>` for all events raised by
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_state.c34 * rebound multiple times. This is modeled with the pipe->create_*_state()
35 * and pipe->bind_*_state() hooks. Highly dynamic or inexpensive state is
36 * streamed out on the fly, via pipe->set_*_state() hooks.
40 * typically draw the same things over and over - from frame to frame, most
49 * This create/bind model corresponds to the pipe->create_*_state() and
50 * pipe->bind_*_state() driver hooks.
54 * them out, via the pipe->set_*_state() driver hooks.
61 * No hardware matches the abstraction perfectly, so some commands require
68 * create/bind/track state. The second are the draw-time upload functions,
99 #include "drm-uapi/i915_drm.h"
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetPassConfig.cpp1 //===- TargetPassConfig.cpp - Target independent code generation passes ---===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===---------------------------------------------------------------------===//
54 EnableIPRA("enable-ipra", cl::init(false), cl::Hidden,
57 static cl::opt<bool> DisablePostRASched("disable-post-ra", cl::Hidden,
58 cl::desc("Disable Post Regalloc Scheduler"));
59 static cl::opt<bool> DisableBranchFold("disable-branch-fold", cl::Hidden,
61 static cl::opt<bool> DisableTailDuplicate("disable-tail-duplicate", cl::Hidden,
63 static cl::opt<bool> DisableEarlyTailDup("disable-early-taildup", cl::Hidden,
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/
DFlutterActivityAndFragmentDelegate.java2 // Use of this source code is governed by a BSD-style license that can be
44 * The {@code Fragment} support library adds 100k of binary size to an app, and full-Flutter
45 * apps do not otherwise require that binary hit. Therefore, it was concluded that Flutter
47 * {@link FlutterFragment} for add-to-app developers.
49 * If a time ever comes where the inclusion of {@code Fragment}s in a full-Flutter app is no
152 // control of the entire window. This is unacceptable for non-fullscreen in onAttach()
153 // use-cases. in onAttach()
270 // We post() the code that attaches the FlutterEngine to our FlutterView because there is in onStart()
272 // causes launching Activitys to wait a second or two before launching. By post()'ing this in onStart()
275 new Handler().post(new Runnable() { in onStart()
[all …]
/third_party/lwip/
DUPGRADING1 This file lists major changes between release versions that require
9 * [Enter new changes just after this line - do not remove this line]
18 * ip4_route_src: parameter order is reversed: ip4_route_src(dest, src) -> ip4_route_src(src, dest)
21 * pbuf API: pbuf->type (an u8_t holding the enum 'pbuf_type') has changed to only hold a
23 source heap/pool/etc.). As a consequence, applications can't test pbuf->type any more.
27 LWIP_SOCKET_SET_ERRNO has been removed - 'errno' is always set - and required!
43 These can be used to post preallocated messages from an ISR to the tcpip thread
50 * slipif: The way to pass serial port number has changed. netif->num is not
51 supported any more, netif->state is interpreted as an u8_t port number now
68 … "ip4-address-valid", a netif will now not be used for transmission if not up) -> even a DHCP netif
[all …]
/third_party/libffi/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/elfio/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/libevdev/build-aux/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]

1234567