Home
last modified time | relevance | path

Searched +refs:resolve +refs:shift (Results 1 – 25 of 7418) sorted by relevance

12345678910>>...297

/dports/lang/racket/racket-8.3/src/expander/syntax/
H A Dbinding.rkt34 resolve+shift
92 (define b (resolve+shift id phase #:unbound-sym? #t))
102 (define b (resolve+shift id phase))
126 (define b (resolve+shift id phase #:exactly? #t #:immediate? #t))
146 ;; Adjust `s` (recursively) so that if `resolve+shift` would
190 ;; Use `resolve+shift` instead of `resolve` when the module of a
195 (define (resolve+shift s phase
205 (resolve+shift-cache-get s phase))
218 (resolve+shift (binding-free=id immediate-b) phase
252 (resolve+shift-cache-set! s phase result-b))
[all …]
H A Dcache.rkt8 clear-resolve-cache!
9 resolve-cache-get
10 resolve-cache-set!
12 resolve+shift-cache-get
13 resolve+shift-cache-set!
28 (define (resolve-cache-place-init!)
31 (define clear-resolve-cache!
47 (define (resolve-cache-get sym phase scs smss)
96 (define (resolve+shift-cache-get s phase)
104 (define (resolve+shift-cache-set! s phase b)
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/syntax/
H A Dbinding.rkt34 resolve+shift
92 (define b (resolve+shift id phase #:unbound-sym? #t))
102 (define b (resolve+shift id phase))
126 (define b (resolve+shift id phase #:exactly? #t #:immediate? #t))
146 ;; Adjust `s` (recursively) so that if `resolve+shift` would
190 ;; Use `resolve+shift` instead of `resolve` when the module of a
195 (define (resolve+shift s phase
205 (resolve+shift-cache-get s phase))
218 (resolve+shift (binding-free=id immediate-b) phase
252 (resolve+shift-cache-set! s phase result-b))
[all …]
H A Dcache.rkt8 clear-resolve-cache!
9 resolve-cache-get
10 resolve-cache-set!
12 resolve+shift-cache-get
13 resolve+shift-cache-set!
28 (define (resolve-cache-place-init!)
31 (define clear-resolve-cache!
47 (define (resolve-cache-get sym phase scs smss)
96 (define (resolve+shift-cache-get s phase)
104 (define (resolve+shift-cache-set! s phase b)
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/parser-tools-lib/parser-tools/private-yacc/
H A Dtable.rkt76 (fprintf port s sym "shift" (shift-state a)))
141 ;; resolve-conflict : (listof action?) -> action? bool bool
142 (define (resolve-conflict actions)
167 (define (resolve-conflicts grouped-table
176 (resolve-conflict actions)))
207 (define (resolve-sr-conflict/prec actions shift-prec)
208 (let* ((shift (if (shift? (car actions))
231 (define (resolve-prec-conflicts table)
239 (resolve-sr-conflict/prec actions (term-prec gs)))
295 (let ((grouped-table (resolve-prec-conflicts table)))
[all …]
/dports/www/p5-Mojolicious/Mojolicious-9.22/t/mojo/
H A Dpromise_async_await.t29 Mojo::IOLoop->next_tick(sub { $promise->resolve($msg) });
45 my $c = shift;
53 my $c = shift;
55 my $text = await Mojo::Promise->resolve('fail');
62 my $c = shift;
69 my $c = shift;
87 my $separator = shift;
99 my $ok = shift;
101 my ($resolve, $reject) = @_;
102 Mojo::IOLoop->next_tick(sub { ($ok ? $resolve : $reject)->('value') });
[all …]
H A Dioloop_tls.t42 $stream->on(close => sub { $promise->resolve });
52 $stream->on(close => sub { $promise2->resolve });
80 $promise->resolve;
102 $promise2->resolve;
126 shift->stop;
137 shift->stop;
163 shift->stop;
188 $promise->resolve;
210 $promise2->resolve;
242 shift->stop;
[all …]
/dports/www/p5-WebDAO/WebDAO-2.25/t/
H A D14_test_any_method.t15 my $self = shift;
26 my $self = shift;
44 my $t = shift;
50 my $t = shift;
59 ok !$tlib->xget($path1), "resolve $path1";
60 ok $tlib->xget($path2), "resolve $path2";
65 my $t = shift;
75 "resolve empty $path1";
80 "resolve with params $path11";
82 # diag $tlib->xget($path2);#, "resolve $path2";
H A D13_extra_path.t16 my $self = shift;
21 my $self = shift;
26 my $self = shift;
86 is $tlib->resolve_path( $t_url ), 1, "test resolve $t_url";
92 is $tlib->resolve_path( $t_url2 ), 1, "test resolve $t_url2";
95 "test resolve $t_url3";
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/js/src/io/
H A Dinterfaces.ts96 type Resolution<T> = { resolve: (value?: T | PromiseLike<T>) => void; reject: (reason?: any) => voi…
119 : (this.resolvers.shift()!.resolve({ done: false, value } as any));
126 : (this.resolvers.shift()!.reject({ done: true, value }));
133 resolvers.shift()!.resolve(ITERATOR_DONE);
162 return Promise.resolve({ done: false, value: this._values.shift()! } as any);
166 return Promise.resolve(ITERATOR_DONE);
168 return new Promise<IteratorResult<TReadable>>((resolve, reject) => {
169 this.resolvers.push({ resolve, reject });
/dports/databases/arrow/apache-arrow-6.0.1/js/src/io/
H A Dinterfaces.ts95 type Resolution<T> = { resolve: (value?: T | PromiseLike<T>) => void; reject: (reason?: any) => voi…
118 : (this.resolvers.shift()!.resolve({ done: false, value } as any));
125 : (this.resolvers.shift()!.reject({ done: true, value }));
132 resolvers.shift()!.resolve(ITERATOR_DONE);
161 return Promise.resolve({ done: false, value: this._values.shift()! } as any);
165 return Promise.resolve(ITERATOR_DONE);
167 return new Promise<IteratorResult<TReadable>>((resolve, reject) => {
168 this.resolvers.push({ resolve, reject });
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/js/src/io/
H A Dinterfaces.ts96 type Resolution<T> = { resolve: (value?: T | PromiseLike<T>) => void; reject: (reason?: any) => voi…
119 : (this.resolvers.shift()!.resolve({ done: false, value } as any));
126 : (this.resolvers.shift()!.reject({ done: true, value }));
133 resolvers.shift()!.resolve(ITERATOR_DONE);
162 return Promise.resolve({ done: false, value: this._values.shift()! } as any);
166 return Promise.resolve(ITERATOR_DONE);
168 return new Promise<IteratorResult<TReadable>>((resolve, reject) => {
169 this.resolvers.push({ resolve, reject });
/dports/devel/p5-GraphQL/GraphQL-0.52/t/
H A Dperl.t163 hello => sub { 'Hello, '.shift->{arg} }
513 $p = FakePromise->resolve('yo')->then(sub { shift . 'ga' });
520 $p = FakePromise->resolve("yo\n")->then(sub { die shift });
522 $p = FakePromise->reject("f\n")->catch(sub { shift })->then(sub { die shift });
524 $p = FakePromise->resolve("yo\n")->then(sub { die shift })->catch(sub { shift });
526 $p = FakePromise->resolve('yo')->then(sub { FakePromise->resolve('y2') });
528 $p = FakePromise->resolve("s\n")->then(sub { FakePromise->reject(shift) });
530 $p = FakePromise->resolve("s\n")->then(sub { FakePromise->reject(shift) })->catch(sub { shift });
567 $p->resolve('hi');
572 $p->resolve('hi');
[all …]
H A Dexecution-resolve.t36 sub new { bless { _secret => ::SECRETVAL }, shift; }
37 sub test { shift->{_secret} }
53 sub test { shift->{_num} + shift->{addend1} + shift->{addend2} }
64 subtest 'uses provided resolve function', sub {
68 resolve => sub {
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/QR/typescript-javascript/
H A Dqrcodegen-worker.ts88 callback(queue.shift() as string);
95 return new Promise(resolve => {
99 resolve(queue.shift() as string);
101 callback = resolve;
117 return new Promise(resolve =>
118 process.stdout.write(x + "\n", "utf-8", ()=>resolve()));
/dports/graphics/qr-code-generator/QR-Code-generator-67c6246/typescript-javascript/
H A Dqrcodegen-worker.ts88 callback(queue.shift() as string);
95 return new Promise(resolve => {
99 resolve(queue.shift() as string);
101 callback = resolve;
117 return new Promise(resolve =>
118 process.stdout.write(x + "\n", "utf-8", ()=>resolve()));
/dports/net-mgmt/statsite/statsite-0.8.0/sinks/
H A Dstatsite_json_sink.rb66 def collect(source, resolve=true) argument
70 type,vtype = TYPES[type], VTYPES[vtype] if resolve
132 when '-o', '--output' then ARGV.shift; dest = ARGV.shift
133 when '-f', '--format' then ARGV.shift; format = ARGV.shift
134 when '-d', '--debug' then ARGV.shift; debug = true
/dports/lang/racket-minimal/racket-8.3/src/expander/expand/
H A Dprotect.rkt10 (provide resolve+shift/extra-inspector
46 … (module-path-index-resolve (namespace-mpi (module-instance-namespace mi))))
52 ;; Like `resolve+shift`, but follow `free-identifier=?` chains to
57 (define (resolve+shift/extra-inspector id phase ns)
59 (define b (resolve+shift id phase #:immediate? #t))
/dports/lang/racket/racket-8.3/src/expander/expand/
H A Dprotect.rkt10 (provide resolve+shift/extra-inspector
46 … (module-path-index-resolve (namespace-mpi (module-instance-namespace mi))))
52 ;; Like `resolve+shift`, but follow `free-identifier=?` chains to
57 (define (resolve+shift/extra-inspector id phase ns)
59 (define b (resolve+shift id phase #:immediate? #t))
/dports/lang/p5-Promises/Promises-0.94/lib/Promises/Cookbook/
H A DGentleIntro.pod119 sub { say "OK! We received: ".shift(@_)}, # on resolve
125 $deferred->resolve('Yay!');
141 ->resolve('red','green')
200 $deferred->resolve(5);
244 my $count = shift;
276 $deferred->resolve(5);
299 $deferred->resolve(1000);
343 $d->resolve(5);
350 $d->resolve(20);
368 my $user = shift;
[all …]
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/pdb-0.7.0/src/tpi/
H A Dmod.rs318 shift: u8, field
326 fn new(info: &'t ItemInformation<'_, I>, shift: u8) -> Self { in new()
330 let round_base = (1 << shift) - 1; in new()
331 let shifted_count = ((count + round_base) & !round_base) >> shift; in new()
344 shift, in new()
354 fn resolve(&self, type_index: u32) -> (usize, usize) { in resolve() function
357 (raw >> self.shift) as usize, in resolve()
358 (raw & ((1 << self.shift) - 1)) as usize, in resolve()
371 len => (len << self.shift) as u32 + self.minimum_index - 1, in max_index()
381 let (vec_index, iteration_count) = self.resolve(iterator.index); in update()
[all …]
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/panmirror/src/editor/src/api/
H A Dpromise.ts18 resolve: (result: T) => void; property
27 return new Promise<T>((resolve, reject) => {
30 resolve,
41 const item = this.queue.shift();
51 item.resolve(value);
/dports/lang/racket-minimal/racket-8.3/collects/syntax/
H A Dmoddep.rkt18 (define path-to (and given-path-to (simplify-path (resolve-module-path given-path-to #f))))
20 … (let loop ([path (resolve-module-path module-path #f)] [indent ""] [fs ""] [phase 0] [accum '()])
40 (define ((mk-loop phase-shift fs) i)
41 (let ([p (resolve-module-path-index i plain-path)])
48 (and phase phase-shift (+ phase phase-shift))
/dports/lang/racket/racket-8.3/collects/syntax/
H A Dmoddep.rkt18 (define path-to (and given-path-to (simplify-path (resolve-module-path given-path-to #f))))
20 … (let loop ([path (resolve-module-path module-path #f)] [indent ""] [fs ""] [phase 0] [accum '()])
40 (define ((mk-loop phase-shift fs) i)
41 (let ([p (resolve-module-path-index i plain-path)])
48 (and phase phase-shift (+ phase phase-shift))
/dports/biology/mafft/mafft-7.267-without-extensions/core/
H A Dnewick2mafft.rb10 scale = ARGV.shift.to_f
23 infp = File.open( ARGV.shift, "r" )
40 def resolve( tree ) method
101 tree = resolve( tree )

12345678910>>...297