Home
last modified time | relevance | path

Searched +refs:module +refs:cache +refs:ref (Results 1 – 25 of 7250) sorted by relevance

12345678910>>...290

/dports/lang/racket-minimal/racket-8.3/src/expander/eval/
H A Dmodule-cache.rkt9 (provide make-module-cache-key
10 module-cache-set!
11 module-cache-ref
12 module-cache-place-init!)
16 (define (module-cache-place-init!)
17 (set! module-cache (make-weak-hasheq)))
19 (define (make-module-cache-key hash-code)
21 ;; found in `module-cache-ref` by `equal?` comparsion.
35 (define (module-cache-set! key proc)
38 (define (module-cache-ref key)
[all …]
H A Dmodule.rkt22 "module-cache.rkt")
56 [(eq? (hash-ref h 'module->namespace #f) 'empty)
66 (define default-name (hash-ref h 'name 'module))
68 (define cache-key (make-module-cache-key
109 ;; be retained after deserialization and reachable from the module cache;
110 ;; if it's there's a `dh`, though, then we won't be in the module cache
146 (module-linklet-info (hash-ref phases-h phase-level #f)
175 (define module-uses (hash-ref phase-to-link-modules phase-level))
249 ;; If we have a hash code, save the prepare module in the cache
251 (when cache-key
[all …]
/dports/lang/racket/racket-8.3/src/expander/eval/
H A Dmodule-cache.rkt9 (provide make-module-cache-key
10 module-cache-set!
11 module-cache-ref
12 module-cache-place-init!)
16 (define (module-cache-place-init!)
17 (set! module-cache (make-weak-hasheq)))
19 (define (make-module-cache-key hash-code)
21 ;; found in `module-cache-ref` by `equal?` comparsion.
35 (define (module-cache-set! key proc)
38 (define (module-cache-ref key)
[all …]
H A Dmodule.rkt22 "module-cache.rkt")
56 [(eq? (hash-ref h 'module->namespace #f) 'empty)
66 (define default-name (hash-ref h 'name 'module))
68 (define cache-key (make-module-cache-key
109 ;; be retained after deserialization and reachable from the module cache;
110 ;; if it's there's a `dh`, though, then we won't be in the module cache
146 (module-linklet-info (hash-ref phases-h phase-level #f)
175 (define module-uses (hash-ref phase-to-link-modules phase-level))
249 ;; If we have a hash code, save the prepare module in the cache
251 (when cache-key
[all …]
/dports/lang/racket/racket-8.3/src/expander/extract/
H A Dmodule.rkt3 "../run/cache.rkt"
11 module-path-index->module-name)
20 ;; from the cache
23 #:cache cache)
24 (or (hash-ref compiled-modules name #f)
27 (define cd (get-cached-compiled cache root-name void))
29 (error "unavailable in cache:" name))
39 (linklet-bundle->hash (hash-ref h #f))
40 (loop (hash-ref h (cadr name))
43 (define data-instance (instantiate-linklet (hash-ref h 'data)
[all …]
H A Dget-linklet.rkt17 #:cache cache
28 (hash-ref seen lnk #f))
33 #:cache cache))
39 (hash-ref h phase #f))
54 (define side-effects? (and (not (hash-ref side-effect-free-modules name #f))
55 (member phase (hash-ref h 'side-effects '()))
59 … (hash-ref (instance-variable-value (compiled-module-declaration comp-mod) 'phase-to-link-modules)
80 (link (module-path-index->module-name (module-use-module mu) name)
92 (for*/set ([(sym binding/p) (in-hash (hash-ref provs phase #hasheq()))]
95 … (link (module-path-index->module-name (module-binding-module binding) name)
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/extract/
H A Dmodule.rkt3 "../run/cache.rkt"
11 module-path-index->module-name)
20 ;; from the cache
23 #:cache cache)
24 (or (hash-ref compiled-modules name #f)
27 (define cd (get-cached-compiled cache root-name void))
29 (error "unavailable in cache:" name))
39 (linklet-bundle->hash (hash-ref h #f))
40 (loop (hash-ref h (cadr name))
43 (define data-instance (instantiate-linklet (hash-ref h 'data)
[all …]
H A Dget-linklet.rkt17 #:cache cache
28 (hash-ref seen lnk #f))
33 #:cache cache))
39 (hash-ref h phase #f))
54 (define side-effects? (and (not (hash-ref side-effect-free-modules name #f))
55 (member phase (hash-ref h 'side-effects '()))
59 … (hash-ref (instance-variable-value (compiled-module-declaration comp-mod) 'phase-to-link-modules)
80 (link (module-path-index->module-name (module-use-module mu) name)
92 (for*/set ([(sym binding/p) (in-hash (hash-ref provs phase #hasheq()))]
95 … (link (module-path-index->module-name (module-binding-module binding) name)
[all …]
/dports/lang/elixir-devel/elixir-1.13.1/lib/elixir/lib/module/
H A Dparallel_checker.ex45 ref = make_ref()
53 {^ref, :cache, ets} ->
78 {spawned, ref}
152 cache lookups for the module.
154 @spec preload_module(cache(), module()) :: :ok
164 the cache. If the module does not exist return `{:error, :module}`,
167 @spec fetch_export(cache(), module(), atom(), arity()) ::
184 the cache.
186 @spec all_exports(cache(), module()) :: [{atom(), arity()}]
198 defp check_module(module, info, cache) do
[all …]
/dports/misc/libmodulemd/modulemd-2.13.0/modulemd/tests/test_data/
H A D290.yaml8 summary: A test module in all its beautiful beauty
12 module:
27 ref: virtual
35 ref: virtual
60 ref: master
61 cache: http://pkgs.fedoraproject.org/repo/pkgs/perl-List-Compare
63 rationale: Provides API for this module.
66 ref: master
67 cache: http://pkgs.fedoraproject.org/repo/pkgs/tangerine
71 ref: master
[all …]
H A Dlong-valid.yaml5 module: nodejs
14 module: nodejs
22 module: nodejs
38 module: reviewboard
47 module: django
65 module:
132 module:
185 cache: http://pkgs.fedoraproject.org/repo/pkgs/nodejs
210 module:
292 module:
[all …]
H A Df29.yaml15 module:
96 module:
162 module:
231 module:
394 module:
456 module:
631 module:
762 module:
844 module:
947 module:
[all …]
/dports/www/nginx-full/lua-nginx-module-0.10.19/t/
H A D025-codecache.t224 module(..., package.seeall); ngx.say(32);
262 module(..., package.seeall); ngx.say(32);
287 f:write("module(..., package.seeall); return 102;")
301 module(..., package.seeall); return 32;
340 module(..., package.seeall); return 32;
491 module("test", package.seeall)
542 module(..., package.seeall);
592 module(..., package.seeall);
694 ^(?:skipped for non-LuaJIT|test module loaded: true)$
1070 module("test", package.seeall)
[all …]
/dports/misc/libmodulemd/modulemd-2.13.0/modulemd/tests/test_data/compression/
H A Duncompressed.yaml5 module: nodejs
13 module: nodejs
29 module: reviewboard
38 module: django
56 module:
123 module:
176 cache: http://pkgs.fedoraproject.org/repo/pkgs/nodejs
201 module:
258 cache: http://pkgs.fedoraproject.org/repo/pkgs/nodejs
283 module:
[all …]
H A Duncompressed5 module: nodejs
13 module: nodejs
29 module: reviewboard
38 module: django
56 module:
123 module:
176 cache: http://pkgs.fedoraproject.org/repo/pkgs/nodejs
201 module:
258 cache: http://pkgs.fedoraproject.org/repo/pkgs/nodejs
283 module:
[all …]
/dports/misc/libmodulemd/modulemd-2.13.0/modulemd/tests/test_data/search_streams/
H A Dsearch_streams.yaml5 module: nodejs
13 module: nodejs
29 module: reviewboard
38 module: django
56 module:
124 module:
177 cache: http://pkgs.fedoraproject.org/repo/pkgs/nodejs
203 module:
260 cache: http://pkgs.fedoraproject.org/repo/pkgs/nodejs
286 module:
[all …]
/dports/sysutils/py-salt/salt-3004.1/doc/topics/cache/
H A Dindex.rst11 module to save the data in a ``msgpack`` file on the Salt Master.
13 .. _pluggable-data-cache:
18 While the default Minion data cache is the ``localfs`` cache, other external
19 data stores can also be used to store this data such as the ``consul`` module.
25 cache: consul
28 :ref:`Multi-Master <tutorial-multi-master>` or :ref:`Salt Syndics <syndic>` configuration
33 store after one of the existing cache modules.
35 See :ref:`cache modules <all-salt.cache>` for a current list.
38 .. _configure-minion-data-cache:
43 The default ``localfs`` Minion data cache module doesn't require any
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/macro-debugger-text-lib/macro-debugger/analysis/private/
H A Dutil.rkt12 (provide (struct-out ref)
15 ref->imp)
19 (struct ref (phase id mode binding))
36 ;; ref->imp : Ref -> Imp
38 (define (ref->imp r)
39 (match (ref-binding r)
147 ;; cache : hash[path/symbol/list => modinfo]
148 (define cache (make-hash)) function
165 ;; get-module-info/no-cache : path -> modinfo
166 (define (get-module-info/no-cache resolved)
[all …]
/dports/lang/racket/racket-8.3/src/expander/boot/
H A Dhandler.rkt72 … (define ns-hts (and name (registry-table-ref (namespace-module-registry (current-namespace)))))
193 (define e (hash-ref -module-hash-table-table
203 ;; Weak map from a module registries to a cache that maps module
213 (define (path-cache-get p reg)
214 (define cache (hash-ref path-caches reg #hash()))
215 (hash-ref cache p #f))
217 (define (path-cache-set! p reg v)
218 (define current-cache (hash-ref path-caches reg #hash()))
221 (define cache (if (= (hash-count current-cache) 1024)
281 (let ([hts (or (registry-table-ref (namespace-module-registry (current-namespace)))
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/boot/
H A Dhandler.rkt72 … (define ns-hts (and name (registry-table-ref (namespace-module-registry (current-namespace)))))
193 (define e (hash-ref -module-hash-table-table
203 ;; Weak map from a module registries to a cache that maps module
213 (define (path-cache-get p reg)
214 (define cache (hash-ref path-caches reg #hash()))
215 (hash-ref cache p #f))
217 (define (path-cache-set! p reg v)
218 (define current-cache (hash-ref path-caches reg #hash()))
221 (define cache (if (= (hash-count current-cache) 1024)
281 (let ([hts (or (registry-table-ref (namespace-module-registry (current-namespace)))
[all …]
/dports/lang/racket/racket-8.3/collects/compiler/
H A Ddepend.rkt6 (provide module-recorded-dependencies)
8 (define (module-recorded-dependencies path)
9 (define collection-cache (make-hash))
10 (define (module-dependencies path all-deps)
21 (define p (collects-relative*->path (dep->encoded-path dep) collection-cache))
23 [(hash-ref all-deps p #f) all-deps]
28 [else (module-dependencies p new-deps)])])))
29 (hash-keys (module-dependencies (simplify-path path) #hash())))
35 (define (collects-relative*->path p cache)
38 (hash-ref! cache p (lambda () (collects-relative->path p)))))
/dports/lang/racket-minimal/racket-8.3/collects/compiler/
H A Ddepend.rkt6 (provide module-recorded-dependencies)
8 (define (module-recorded-dependencies path)
9 (define collection-cache (make-hash))
10 (define (module-dependencies path all-deps)
21 (define p (collects-relative*->path (dep->encoded-path dep) collection-cache))
23 [(hash-ref all-deps p #f) all-deps]
28 [else (module-dependencies p new-deps)])])))
29 (hash-keys (module-dependencies (simplify-path path) #hash())))
35 (define (collects-relative*->path p cache)
38 (hash-ref! cache p (lambda () (collects-relative->path p)))))
/dports/lang/racket/racket-8.3/share/pkgs/drracket-tool-lib/drracket/
H A Dfind-module-path-completions.rkt9 compiler/module-suffix)
28 [find-module-path-completions
35 [find-module-path-completions/explicit-cache
38 #:pkg-dirs-cache
49 (define pkg-dirs-cache (box #f))
51 (find-module-path-completions/explicit-cache
53 #:pkg-dirs-cache pkg-dirs-cache)))
75 (define (find-module-path-completions/explicit-cache str the-current-directory
77 #:pkg-dirs-cache pkgs-dirs-cache)
116 (define module-suffix-regexp (get-module-suffix-regexp))
[all …]
H A Dget-module-path.rkt8 "find-module-path-completions.rkt")
12 [get-module-path-from-user
24 (define (get-module-path-from-user #:init [init-value ""]
147 (define p->r-s/l-cache (make-hash))
151 (path->relative-string/library p #:cache p->r-s/l-cache)))
153 (define pkgs-dirs-cache (box #f))
162 (find-module-path-completions/explicit-cache
165 #:pkg-dirs-cache pkgs-dirs-cache
326 (alternate-racket-clcl/clcp (list-ref str+dlg 0) pkgs-dirs-cache)
397 (module+ main
[all …]
/dports/misc/libmodulemd/modulemd-2.13.0/modulemd/tests/test_data/upgrades/
H A Dpackager_v3_to_index.yaml5 module: foo
16 summary: An example module
21 module:
82 cache: https://example.com/cache
83 ref: 26ca0c0
97 ref: somecoolbranchname
107 summary: An example module
112 module:
159 cache: https://example.com/cache
160 ref: 26ca0c0
[all …]

12345678910>>...290