Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 15 of 15) sorted by path

/unit/.github/workflows/
H A Dci.yml156 cache: false
/unit/
H A DCHANGES318 *) Feature: TLS sessions cache.
/unit/docs/
H A Dunit-openapi.yaml4612 - "/tmp/node-cache"
4719 - "/tmp/node-cache"
6078 description: "Configures the TLS session cache and tickets for
6084 description: "Number of sessions in the TLS session cache."
6089 description: "Session timeout for the TLS session cache in seconds."
/unit/pkg/docker/
H A DDockerfile.node2063 && rm -rf /root/.cache/ && rm -rf /root/.npm \
H A DDockerfile.node2163 && rm -rf /root/.cache/ && rm -rf /root/.npm \
H A DMakefile43 RUN_node ?= rm -rf /root/.cache/ \&\& rm -rf /root/.npm
134 docker build --no-cache -t unit:$(VERSION)-$* -f Dockerfile.$* .
/unit/src/
H A Dnxt_event_engine.c601 return cache; in nxt_event_engine_mem_alloc()
604 cache->free = NULL; in nxt_event_engine_mem_alloc()
605 cache->size = size; in nxt_event_engine_mem_alloc()
606 cache->count = 0; in nxt_event_engine_mem_alloc()
615 cache = mem_cache->elts; in nxt_event_engine_mem_alloc()
616 cache = cache + n; in nxt_event_engine_mem_alloc()
618 block = cache->free; in nxt_event_engine_mem_alloc()
622 cache->count--; in nxt_event_engine_mem_alloc()
641 cache = mem_cache->elts; in nxt_event_engine_mem_free()
663 cache = cache + n; in nxt_event_engine_mem_free()
[all …]
H A Dnxt_js.c385 nxt_js_call(nxt_task_t *task, nxt_js_conf_t *jcf, nxt_js_cache_t *cache, in nxt_js_call() argument
406 vm = cache->vm; in nxt_js_call()
414 cache->vm = vm; in nxt_js_call()
416 ret = njs_vm_start(vm, &cache->array); in nxt_js_call()
422 value = njs_vm_array_prop(vm, &cache->array, js->index, &opaque_value); in nxt_js_call()
463 nxt_js_release(nxt_js_cache_t *cache) in nxt_js_release() argument
465 if (cache->vm != NULL) { in nxt_js_release()
466 njs_vm_destroy(cache->vm); in nxt_js_release()
H A Dnxt_js.h35 nxt_js_cache_t *cache, nxt_js_t *js, nxt_str_t *str, void *ctx);
36 void nxt_js_release(nxt_js_cache_t *cache);
H A Dnxt_tstr.c37 nxt_tstr_cache_t *cache; member
225 nxt_tstr_cache_t *cache, void *ctx, nxt_mp_t *mp) in nxt_tstr_query_init() argument
240 query->cache = cache; in nxt_tstr_query_init()
265 ret = nxt_var_interpreter(task, query->state, &query->cache->var, in nxt_tstr_query()
276 ret = nxt_js_call(task, query->state->jcf, &query->cache->js, in nxt_tstr_query()
341 nxt_js_release(&query->cache->js); in nxt_tstr_query_release()
H A Dnxt_tstr.h51 nxt_tstr_state_t *state, nxt_tstr_cache_t *cache, void *ctx,
H A Dnxt_var.c31 nxt_var_cache_t cache; member
58 nxt_var_cache_t *cache, nxt_var_ref_t *ref, void *ctx);
219 nxt_var_cache_t *cache, nxt_var_ref_t *ref, void *ctx) in nxt_var_cache_value() argument
225 value = cache->spare; in nxt_var_cache_value()
228 value = nxt_mp_zget(cache->pool, sizeof(nxt_str_t)); in nxt_var_cache_value()
233 cache->spare = value; in nxt_var_cache_value()
246 lhq.pool = cache->pool; in nxt_var_cache_value()
248 ret = nxt_lvlhsh_insert(&cache->hash, &lhq); in nxt_var_cache_value()
264 cache->spare = NULL; in nxt_var_cache_value()
539 p = nxt_mp_nget(cache->pool, length); in nxt_var_interpreter()
[all …]
H A Dnxt_var.h60 nxt_var_cache_t *cache, nxt_var_t *var, nxt_str_t *str, void *ctx,
63 nxt_var_cache_t *cache, nxt_str_t *name, void *ctx);
H A Dnxt_work_queue.c98 cache->chunk_size = chunk_size - 1; in nxt_work_queue_cache_create()
100 while (cache->next == NULL) { in nxt_work_queue_cache_create()
126 n = cache->chunk_size; in nxt_work_queue_allocate()
133 chunk->next = cache->chunk; in nxt_work_queue_allocate()
134 cache->chunk = chunk; in nxt_work_queue_allocate()
144 } else if (cache->spare != NULL) { in nxt_work_queue_allocate()
152 cache->next = cache->spare; in nxt_work_queue_allocate()
153 cache->spare = work; in nxt_work_queue_allocate()
168 work = wq->cache->next; in nxt_work_queue_add()
220 work->next = wq->cache->next; in nxt_work_queue_pop()
[all …]
H A Dnxt_work_queue.h68 nxt_work_queue_cache_t *cache; member
81 nxt_work_queue_cache_t cache; member
85 NXT_EXPORT void nxt_work_queue_cache_create(nxt_work_queue_cache_t *cache,
87 NXT_EXPORT void nxt_work_queue_cache_destroy(nxt_work_queue_cache_t *cache);