Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 25 of 49) sorted by relevance

12

/trafficserver/iocore/net/quic/
H A DQUICPacketHeaderProtector_openssl.cc27 QUICPacketHeaderProtector::_generate_mask(uint8_t *mask, const uint8_t *sample, const uint8_t *key,… in _generate_mask() argument
32 if (!ctx || !EVP_EncryptInit_ex(ctx, cipher, nullptr, key, sample)) { in _generate_mask()
42 if (!EVP_EncryptUpdate(ctx, mask, &len, sample, 16)) { in _generate_mask()
H A DQUICPacketHeaderProtector_boringssl.cc27 QUICPacketHeaderProtector::_generate_mask(uint8_t *mask, const uint8_t *sample, const uint8_t *key,… in _generate_mask() argument
H A DQUICPacketHeaderProtector.h44 …bool _generate_mask(uint8_t *mask, const uint8_t *sample, const uint8_t *key, const EVP_CIPHER *ci…
/trafficserver/plugins/tcpinfo/
H A Dtcpinfo.cc72 int sample = 1000; member
233 if (config->sample < 1000) { in tcp_info_hook()
236 TSDebug("tcpinfo", "random: %d, config->sample: %d", random, config->sample); in tcp_info_hook()
239 if (random < config->sample) { in tcp_info_hook()
361 config->sample = atoi(optarg); in TSPluginInit()
424 TSDebug("tcpinfo", "sample: %d", config->sample); in TSPluginInit()
/trafficserver/doc/admin-guide/plugins/
H A Dcache_promote.en.rst38 .. option:: --sample
76 @plugin=cache_promote.so @pparam=--policy=chance @pparam=--sample=10%
82 Note :option:`--sample` is available for all policies and can be used to reduce pressure under heav…
H A Dtraffic_dump.en.rst41 .. option:: --sample <N>
50 …* ``traffic_ctl plugin msg traffic_dump.sample N`` - changes the sampling ratio N as mentioned abo…
H A Dmemcache.en.rst43 tsmemcache.so <path-to-plugin>/sample.tsmemcache.config
H A Dcompress.en.rst81 Alternatively, a configuration may be specified (shown here using the sample
84 compress.so <path-to-plugin>/sample.compress.config
89 @plugin=compress.so @pparam=sample.compress.config
/trafficserver/iocore/aio/
H A DMakefile.am25 TESTS = test_AIO.sample
/trafficserver/doc/developer-guide/plugins/example-plugins/
H A Dindex.en.rst50 The two sample plugins discussed in this chapter are ``blacklist_1.c``
82 sample code.
/trafficserver/doc/developer-guide/introduction/
H A Dindex.en.rst56 processes. Detailed explication of a sample blacklisting plugin.
64 headers; discusses sample blacklisting and basic authorization
72 Detailed explanation of a sample protocol plugin that supports a
/trafficserver/doc/developer-guide/cache-architecture/
H A Dcache-initialization.en.rst100 :code:`VOL_HASH_TABLE_SIZE` sections. For each section the sample value is the midpoint of the
102 be a prime number). This yields 17 sections each of width 15 with a sample value equal to 7 more
129 The stripe for that section (assignment slot) is the first node at or past the sample value. This
134 the missing stripe. In essence for each sample point (assignment slot) a permutation of the stripes
135 is implied by the order of the random value nodes past that sample point. The randomization serves
/trafficserver/iocore/cache/
H A DCacheTest.cc435 Vol *sample; in REGRESSION_TEST() local
468 sample = vols + sample_idx; in REGRESSION_TEST()
469 sample->len = 1024ULL * 1024 * 1024 * (1024 + 128); // 1.1 TB in REGRESSION_TEST()
470 …buff), "/dev/sd%c %" PRIu64 ":%" PRIu64, 'a' + sample_idx, DEFAULT_SKIP, sample->len); in REGRESSION_TEST()
471 CryptoContext().hash_immediate(sample->hash_id, buff, strlen(buff)); in REGRESSION_TEST()
/trafficserver/doc/developer-guide/plugins/io/
H A Dcache-api.en.rst54 sample Protocol plugin). Possible callback events include:
70 Use ``TSCacheWrite`` to write to a cache (see the :ref:`sample Protocol
71 plugin <about-the-sample-protocol>`). Possible
H A Dio-buffers.en.rst41 to use IOBuffers, refer to the sample code in the description of
/trafficserver/doc/developer-guide/plugins/http-headers/
H A Dtrafficserver-http-header-system.en.rst45 For example (from the ``blacklist_1`` sample)
57 See the sample plugins for additional examples.
180 See the sample plugins for many more examples.
/trafficserver/plugins/experimental/mp4/
H A Dmp4_meta.cc1107 uint32_t i, j, entries, sample, start_sample, left; in mp4_update_stss_atom() local
1120 sample = mp4_reader_get_32value(readerp, 0); in mp4_update_stss_atom()
1122 if (sample >= start_sample) { in mp4_update_stss_atom()
1138 sample = mp4_reader_get_32value(readerp, 0); in mp4_update_stss_atom()
1139 sample -= start_sample; in mp4_update_stss_atom()
1140 mp4_reader_set_32value(readerp, 0, sample); in mp4_update_stss_atom()
1557 uint32_t sample, prev_sample, entries; in mp4_find_key_sample() local
1570 sample = mp4_reader_get_32value(readerp, 0); in mp4_find_key_sample()
1572 if (sample > start_sample) { in mp4_find_key_sample()
1576 prev_sample = sample; in mp4_find_key_sample()
/trafficserver/doc/admin-guide/monitoring/
H A Dalarms.en.rst34 alarm is signaled. Traffic Server provides a sample script file named
/trafficserver/doc/developer-guide/plugins/example-plugins/blacklist/
H A Dsource-code.en.rst30 The sample blacklisting plugin included in the Traffic Server SDK is
/trafficserver/doc/admin-guide/logging/
H A Dexamples.en.rst47 The following figure shows a sample log entry in a Netscape Common log file.
82 The following figure shows a sample log entry in a Netscape Extended log file.
129 The following figure shows a sample log entry in a Netscape Extended2 log file.
168 The following figure shows a sample log entry in a Squid log file.
/trafficserver/doc/developer-guide/plugins/continuations/
H A Dindex.en.rst62 it at the same time (see the :ref:`about-the-sample-protocol` for usage). The
67 and mutexes is the transaction state machine created in the sample
/trafficserver/doc/developer-guide/plugins/example-plugins/basic-authorization/
H A Dindex.en.rst25 The sample basic authorization plugin, ``basic_auth.c``, checks for
H A Dsetting-a-transaction-hook.en.rst55 username and password. In this plugin, sample NT code is provided for
/trafficserver/doc/admin-guide/
H A Dconfiguring-traffic-server.en.rst69 The following is a sample portion of :file:`records.config`:
/trafficserver/doc/developer-guide/plugins/
H A Dnew-protocol-plugins.en.rst31 of code for a sample Protocol plugin that supports a very simple
34 .. _about-the-sample-protocol:
39 The sample protocol enables a client to ask a server for a file. Clients
52 support the sample protocol.

Completed in 103 milliseconds

12