Home
last modified time | relevance | path

Searched +refs:module +refs:path +refs:index +refs:shift +refs:cache (Results 1 – 25 of 8229) sorted by relevance

12345678910>>...330

/dports/lang/racket-minimal/racket-8.3/src/expander/common/
H A Dmodule-path.rkt28 module-path-index-shift
140 (struct module-path-index (path base [resolved #:mutable] [shift-cache #:mutable])
194 (define empty-shift-cache '())
262 (module-path-index mod-path keep-base #f empty-shift-cache)]))
285 [(name) (module-path-index #f #f name empty-shift-cache)]
313 (let ([mpi (module-path-index #f #f r empty-shift-cache)])
346 [(shift-cache-ref (module-path-index-shift-cache shifted-base) mpi)]
349 (module-path-index (module-path-index-path mpi) shifted-base #f empty-shift-cache))
353 (define (shift-cache-ref cache mpi)
366 (let loop ([n 32] [l (module-path-index-shift-cache base)])
[all …]
/dports/lang/racket/racket-8.3/src/expander/common/
H A Dmodule-path.rkt28 module-path-index-shift
140 (struct module-path-index (path base [resolved #:mutable] [shift-cache #:mutable])
194 (define empty-shift-cache '())
262 (module-path-index mod-path keep-base #f empty-shift-cache)]))
285 [(name) (module-path-index #f #f name empty-shift-cache)]
313 (let ([mpi (module-path-index #f #f r empty-shift-cache)])
346 [(shift-cache-ref (module-path-index-shift-cache shifted-base) mpi)]
349 (module-path-index (module-path-index-path mpi) shifted-base #f empty-shift-cache))
353 (define (shift-cache-ref cache mpi)
366 (let loop ([n 32] [l (module-path-index-shift-cache base)])
[all …]
/dports/lang/racket/racket-8.3/src/expander/syntax/
H A Dbinding.rkt35 syntax-module-path-index-shift
39 binding-module-path-index-shift
151 (define (syntax-module-path-index-shift s from-mpi to-mpi [inspector #f]
271 (module-path-index-shift shifted-mpi (shift-from shift) (shift-to shift))]))
280 (binding-module-path-index-shift shifted-b (shift-from shift) (shift-to shift))]))
288 (define (binding-module-path-index-shift b from-mpi to-mpi)
292 #:module (module-path-index-shift (module-binding-module b)
295 … #:nominal-module (module-path-index-shift (module-binding-nominal-module b)
312 … (syntax-module-path-index-shift s (shift-from shift) (shift-to shift) (and (zero? i) inspector)
341 ;; adding a module path index like that in the form of a shift. So, we
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/syntax/
H A Dbinding.rkt35 syntax-module-path-index-shift
39 binding-module-path-index-shift
151 (define (syntax-module-path-index-shift s from-mpi to-mpi [inspector #f]
271 (module-path-index-shift shifted-mpi (shift-from shift) (shift-to shift))]))
280 (binding-module-path-index-shift shifted-b (shift-from shift) (shift-to shift))]))
288 (define (binding-module-path-index-shift b from-mpi to-mpi)
292 #:module (module-path-index-shift (module-binding-module b)
295 … #:nominal-module (module-path-index-shift (module-binding-nominal-module b)
312 … (syntax-module-path-index-shift s (shift-from shift) (shift-to shift) (and (zero? i) inspector)
341 ;; adding a module path index like that in the form of a shift. So, we
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/namespace/
H A Dcore.rkt9 "../common/module-path.rkt"
33 (define core-module-name (make-resolved-module-path '#%core))
34 (define core-mpi (module-path-index-join ''#%core #f))
42 (set! id-cache-0 (make-hasheq))
43 (set! id-cache-1 (make-hasheq)))
48 (or (hash-ref id-cache-0 sym #f)
53 (or (hash-ref id-cache-1 sym #f)
54 (let ([s (datum->syntax (syntax-shift-phase-level core-stx 1) sym)])
58 (datum->syntax (syntax-shift-phase-level core-stx phase) sym)]))
140 (let ([b (resolve+shift (m 'id) phase)])
[all …]
/dports/lang/racket/racket-8.3/src/expander/namespace/
H A Dcore.rkt9 "../common/module-path.rkt"
33 (define core-module-name (make-resolved-module-path '#%core))
34 (define core-mpi (module-path-index-join ''#%core #f))
42 (set! id-cache-0 (make-hasheq))
43 (set! id-cache-1 (make-hasheq)))
48 (or (hash-ref id-cache-0 sym #f)
53 (or (hash-ref id-cache-1 sym #f)
54 (let ([s (datum->syntax (syntax-shift-phase-level core-stx 1) sym)])
58 (datum->syntax (syntax-shift-phase-level core-stx phase) sym)]))
140 (let ([b (resolve+shift (m 'id) phase)])
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/macro-debugger-text-lib/macro-debugger/analysis/private/
H A Dutil.rkt67 (and (module-path-index? x)
78 (cond [(module-path-index? x)
147 ;; cache : hash[path/symbol/list => modinfo]
165 ;; get-module-info/no-cache : path -> modinfo
181 ;; get-module-info : (or module-path module-path-index) -> modinfo
188 (hash-ref! cache resolved (lambda () (get-module-info/no-cache resolved)))))
190 ;; resolve : (or module-path resolved-module-path module-path-index)
193 (cond [(module-path-index? mod)
216 [(module-path-index? x)
225 [(module-path-index? x)
[all …]
H A Dnom-use-alg.rkt16 ;; Using MPIs doesn't work. I conjecture that the final module shift means that
86 [(? module-path-index?)
88 [(list imp-mod imp-phase-shift imp-name imp-orig-phase)
114 [(renm srcmod phase-shift srcsym srcphase)
137 (struct renm (srcmod phase-shift srcsym srcphase))
140 ;; FIXME: cache tables
149 (get-module-all-exports mod)))
160 ;; src-phase + phase-shift = phase
165 [(? module-path-index?)
168 (add-source! imp-mod imp-phase-shift imp-name)]))))
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/
H A Dmain.rkt3 "common/module-path.rkt"
36 (only-in "syntax/cache.rkt" cache-place-init!)
41 (only-in "eval/module-cache.rkt" module-cache-place-init!)
112 module-path-index?
113 module-path-index-join
114 resolved-module-path?
115 module-path?
138 syntax-shift-phase-level
227 (cache-place-init!)
230 (module-path-place-init!)
[all …]
/dports/lang/racket/racket-8.3/src/expander/
H A Dmain.rkt3 "common/module-path.rkt"
36 (only-in "syntax/cache.rkt" cache-place-init!)
41 (only-in "eval/module-cache.rkt" module-cache-place-init!)
112 module-path-index?
113 module-path-index-join
114 resolved-module-path?
115 module-path?
138 syntax-shift-phase-level
227 (cache-place-init!)
230 (module-path-place-init!)
[all …]
/dports/lang/racket/racket-8.3/src/expander/compile/
H A Dheader.rkt5 "../common/module-path.rkt"
49 (struct header (module-path-indexes ; module-path-index -> linklet import position
118 (syntax-module-path-index-shift
122 ,(add-module-path-index! mpis self)
147 ;; deserialized form is shared via the module cache across
188 (syntax-module-path-index-shift
192 ,(add-module-path-index! mpis self)
279 (top-level-module-path-index? (module-use-module mu)))
314 (top-level-module-path-index? mod))))
321 ;; Get a reasonably nice name from a module-path-index
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/compile/
H A Dheader.rkt5 "../common/module-path.rkt"
49 (struct header (module-path-indexes ; module-path-index -> linklet import position
118 (syntax-module-path-index-shift
122 ,(add-module-path-index! mpis self)
147 ;; deserialized form is shared via the module cache across
188 (syntax-module-path-index-shift
192 ,(add-module-path-index! mpis self)
279 (top-level-module-path-index? (module-use-module mu)))
314 (top-level-module-path-index? mod))))
321 ;; Get a reasonably nice name from a module-path-index
[all …]
/dports/devel/py-pympler/Pympler-0.4.2/pympler/util/
H A Dbottle.py1139 self['SCRIPT_NAME'], self['PATH_INFO'] = path_shift(script, self.path, shift)
1736 val = self.dict[key][index]
1959 self.cache = {}
1961 def add_path(self, path, base=None, index=None, create=False): argument
1985 if index is None:
1988 self.path.insert(index, path)
1989 self.cache.clear()
2258 if shift > 0 and shift <= len(pathlist):
2262 elif shift < 0 and shift >= -len(scriptlist):
2730 path = getattr(module, '__file__', '')
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/racket-doc/scribblings/reference/
H A Dmodule-reflect.scrbl158 @tech{module registry}-specific cache that maps @racket[lib] and symbolic
159 module paths to their resolutions. This cache is consulted before
163 the cache only when the fourth argument to the module name resolver is
252 the form of a @deftech{module path index}. A @tech{module path index}
271 ``self'' @tech{module path index}. A ``self'' @tech{module path index}
295 @defproc[(module-path-index-resolve [mpi module-path-index?]
323 @defproc[(module-path-index-split [mpi module-path-index?])
342 @defproc[(module-path-index-submodule [mpi module-path-index?])
354 module-path-index?]{
407 to a shift into the @tech{label phase level}) to module references for
[all …]
/dports/www/py-bottle/bottle-0.12.19/
H A Dbottle.py1303 self['SCRIPT_NAME'], self['PATH_INFO'] = path_shift(script, self.path, shift)
1871 val = self.dict[key][index]
2282 self.cache = {}
2284 def add_path(self, path, base=None, index=None, create=False): argument
2308 if index is None:
2311 self.path.insert(index, path)
2312 self.cache.clear()
2671 if shift > 0 and shift <= len(pathlist):
2675 elif shift < 0 and shift >= -len(scriptlist):
3167 path = getattr(module, '__file__', '') or ''
[all …]
/dports/french/py-grammalecte-fr/grammalecte/
H A Dbottle.py1303 self['SCRIPT_NAME'], self['PATH_INFO'] = path_shift(script, self.path, shift)
1871 val = self.dict[key][index]
2282 self.cache = {}
2284 def add_path(self, path, base=None, index=None, create=False): argument
2308 if index is None:
2311 self.path.insert(index, path)
2312 self.cache.clear()
2671 if shift > 0 and shift <= len(pathlist):
2675 elif shift < 0 and shift >= -len(scriptlist):
3167 path = getattr(module, '__file__', '') or ''
[all …]
/dports/security/sqlmap/sqlmap-1.3.12/sqlmap/thirdparty/bottle/
H A Dbottle.py1401 script, path = path_shift(self.environ.get('SCRIPT_NAME', '/'), self.path, shift)
1954 setattr(self.module, modname, module)
2043 val = self.dict[key][index]
2384 self.cache = {}
2386 def add_path(self, path, base=None, index=None, create=False): argument
2410 if index is None:
2413 self.path.insert(index, path)
2414 self.cache.clear()
2443 return self.cache[name]
3362 path = getattr(module, '__file__', '')
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/errortrace-lib/errortrace/
H A Dstacktrace.rkt416 [(and (pair? b) (let-values ([(base rel) (module-path-index-split (car b))])
475 [(module name init-import mb)
477 [(module* name init-import mb)
649 (syntax-shift-phase-level disarmed-expr (- phase)))
662 (syntax-shift-phase-level
813 (syntax-case* disarmed-expr (begin-for-syntax module module*)
822 [(module . _)
827 (let ([shift (if (syntax-e #'init-import)
831 (syntax-shift-phase-level
832 … (transform-all-modules (syntax-shift-phase-level disarmed-expr (- shift)) proc #f)
[all …]
/dports/www/drupal7/drupal-7.82/includes/
H A Dmenu.inc825 $arg = $function(!empty($map[$index]) ? $map[$index] : '', $map, $index);
836 * Returns a string containing the path relative to the current index.
843 * Loads the path as one string relative to the current index.
1127 if ($cache && isset($cache->data)) {
1393 if ($cache && isset($cache->data)) {
2834 $router_items[$path]['module'] = $module;
3554 $shift = $item['depth'] - $existing_item['depth'];
3555 if ($shift > 0) {
3768 …if (empty($item['file path']) && isset($item['module']) && isset($parent['module']) && $item['modu…
3769 $item['file path'] = drupal_get_path('module', $parent['module']);
[all …]
/dports/devel/p5-CPANPLUS/CPANPLUS-0.9912/t/
H A D15_CPANPLUS-Shell.t14 my $self = shift;
66 path => $cs_path,
100 ### lower case path matching, as on VMS we can't predict case
109 ### sure it's in the path that we clean up already anyway
110 "/cs --write $base" => qr/Wrote remote source index/,
119 ### empty output cache
144 'x --update_source' => qr/module tree/i,
/dports/lang/racket-minimal/racket-8.3/src/bc/src/
H A Dstartup.inc4493 " module-path-index-shift-cache"
4495 " set-module-path-index-shift-cache!)"
4871 "(module-path-index-shift)"
4884 "(let-values(((c1_0)(shift-cache-ref(module-path-index-shift-cache shifted-base_0) mpi_0)))"
4951 "(module-path-index-shift-cache base_0)))))"
4952 "(set-module-path-index-shift-cache! base_0 new-cache_0)))))"
14703 "(module-path-index-shift"
20204 "(module-path-index-shift-cache the-struct_0)))"
26455 "(module-path-index-shift"
34841 "(module-path-index-shift"
[all …]
/dports/lang/racket/racket-8.3/src/bc/src/
H A Dstartup.inc4493 " module-path-index-shift-cache"
4495 " set-module-path-index-shift-cache!)"
4871 "(module-path-index-shift)"
4884 "(let-values(((c1_0)(shift-cache-ref(module-path-index-shift-cache shifted-base_0) mpi_0)))"
4951 "(module-path-index-shift-cache base_0)))))"
4952 "(set-module-path-index-shift-cache! base_0 new-cache_0)))))"
14703 "(module-path-index-shift"
20204 "(module-path-index-shift-cache the-struct_0)))"
26455 "(module-path-index-shift"
34841 "(module-path-index-shift"
[all …]
/dports/graphics/qgis/qgis-3.22.3/resources/server/api/ogc/static/landingpage/js/
H A Dapp.f9f4e567.js.map1shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j",…
/dports/graphics/qgis-ltr/qgis-3.16.16/resources/server/api/ogc/static/landingpage/js/
H A Dapp.fa6cb20b.js.map1shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j",…
H A Dapp.d879e77e.js.map1shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j",…

12345678910>>...330