Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 6 of 6) sorted by path

/unit/docs/
H A Dchanges.xsls218 + floor($y div 400) + floor((31 * $m) div 12)) mod 7 + 1}
/unit/pkg/docker/
H A DMakefile142 for mod in $(MODVERSIONS); do \
144 modname="$$( echo $$mod | tr -d '.0123456789-' )"; \
145 TAGS="$$mod $${mod%%.*} $$modname" ; \
148 echo "Tags: $(VERSION)-$$mod, $$mod"; \
150 if [ "$$mod" = "minimal" ]; then \
151 echo "Tags: $(VERSION)-$$mod, $${TAGS%, }, latest"; \
153 echo "Tags: $(VERSION)-$$mod, $${TAGS%, }"; \
160 echo "File: Dockerfile.$$mod"; \
161 previous=$$(echo $$mod | tr -d '.0123456789-'); \
/unit/src/
H A Dnxt_js.c132 nxt_js_module_t *module, *mod; in nxt_js_vm_create() local
156 mod = &module[i]; in nxt_js_vm_create()
158 size += import_str.length + 1 + mod->name.length + 1 in nxt_js_vm_create()
159 + from_str.length + 2 + mod->name.length + 3; in nxt_js_vm_create()
161 size += global_str.length + 1 + mod->name.length + 3 in nxt_js_vm_create()
162 + mod->name.length + 2; in nxt_js_vm_create()
174 mod = &module[i]; in nxt_js_vm_create()
179 p = nxt_cpymem(p, mod->name.start, mod->name.length); in nxt_js_vm_create()
186 p = nxt_cpymem(p, mod->name.start, mod->name.length); in nxt_js_vm_create()
194 p = nxt_cpymem(p, mod->name.start, mod->name.length); in nxt_js_vm_create()
[all …]
H A Dnxt_log_moderation.c30 n = mod->count++; in nxt_log_moderate_allow()
32 if (now != mod->last) { in nxt_log_moderate_allow()
34 if (n <= mod->limit) { in nxt_log_moderate_allow()
35 mod->last = now; in nxt_log_moderate_allow()
36 mod->count = 1; in nxt_log_moderate_allow()
44 if (n < mod->limit) { in nxt_log_moderate_allow()
54 mod->pid = nxt_pid; in nxt_log_moderate_allow()
79 nxt_log_moderation_t *mod; in nxt_log_moderate_timer_handler() local
87 n = mod->count; in nxt_log_moderate_timer_handler()
88 mod->count = 0; in nxt_log_moderate_timer_handler()
[all …]
H A Dnxt_log_moderation.h46 nxt_bool_t nxt_log_moderate_allow(nxt_log_moderation_t *mod);
H A Dnxt_script.c55 njs_mod_t *mod; in nxt_script_new() local
78 mod = njs_vm_compile_module(vm, &mod_name, &start, start + size); in nxt_script_new()
80 if (nxt_slow_path(mod == NULL)) { in nxt_script_new()