Home
last modified time | relevance | path

Searched +refs:define +refs:method (Results 201 – 225 of 63796) sorted by relevance

12345678910>>...2552

/dports/lang/racket/racket-8.3/share/pkgs/gui-lib/framework/private/
H A Dnotify.rkt5 (provide define-notify
22 (define-syntax (define-notify stx)
24 [(define-notify name:id
27 (~optional (~and #:init-method init-method)))
32 (with-syntax ([(init-expr init-method-decl)
33 (if (attribute init-method)
40 init-method-decl
48 (define notify-box%
51 (define v value)
52 (define listeners null)
[all …]
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/doc/utils/rpc/
H A Djson.scrbl5 @define[Library]{@name{(rpc json)}}
21 (define (json-rpc-send&request url method param)
22 (let ((request (make-json-request method :param param)))
29 ;; -> result of method execution
32 @define[Class]{@name{<json-request>}}
33 @define[Class]{@name{<json-response>}}
43 @define[Function]{@name{json-request?} @args{object}}
51 @define[Function]{@name{make-json-request} @args{method :key (params '()) id}}
54 @var{method} must be a symbol or string represents method name to be invoked.
70 @define[Function]{@name{json-request-method} @args{json-request}}
[all …]
/dports/lang/guile/guile-3.0.7/test-suite/tests/
H A Dgoops.test23 (define exception:no-applicable-method
263 (pass-if "define-method"
265 (eval '(define-method (my-plus (s1 <string>) (s2 <string>))
297 (eval '(define-method (foo bar . baz)
403 (define-method (change-class (foo parent-class)
448 (define-method (equal? (a <c>) (b <c>))
457 (define-method (= (a <c>) (b <c>))
539 (define-method (quxy (q <qux>))
715 (define-method (dispatch (x <number>) . args) 0)
735 (define-method (compute-getter-method (class <meta>) slot)
[all …]
/dports/devel/glibmm/glibmm-2.64.2/glib/src/
H A Dgmodule_functions.defs5 (define-flags Flags
19 (define-function g_module_supported
24 (define-function g_module_open
33 (define-method close
39 (define-method make_resident
45 (define-function g_module_error
50 (define-method symbol
60 (define-method name
66 (define-function g_module_build_path
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/doc/utils/net/
H A Doauth.scrbl5 method for web service. For more detail, see
20 (define (get-pin url)
39 (define (main args)
61 (define access-token
69 (define (call/twitter-api->sxml token method path params . opts)
70 (define (call)
74 :request-method method
90 (define (main args)
107 (request-method 'POST) (callback-uri #f) (additional-headers '())
129 @var{request-method} specifies which request method is used. This can be either
[all …]
/dports/x11-toolkits/iwidgets/iwidgets4.0.1/generic/
H A Dhierarchy.itk85 itk_option define -filter filter Filter 0
86 itk_option define -font font Font \
88 itk_option define -height height Height 0
96 itk_option define -nodeicon nodeIcon Icon {}
97 itk_option define -openicon openIcon Icon {}
104 itk_option define -width width Width 0
107 method clear {}
109 method current {}
113 method expState { }
125 method dump {args}
[all …]
H A Dspinner.itk61 itk_option define -textfont textFont \
72 public method down {}
73 public method up {}
75 protected method _pushup {}
76 protected method _pushdown {}
77 protected method _relup {}
78 protected method _reldown {}
79 protected method _doup {rate}
80 protected method _dodown {rate}
81 protected method _up {}
[all …]
H A Dextfileselectionbox.itk80 method childsite {}
81 method get {}
82 method filter {}
91 method _selectDir {}
96 method _setFilter {}
101 method _nPos {}
102 method _sPos {}
103 method _ePos {}
104 method _wPos {}
105 method _topPos {}
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/eopl/tests/chapter9/typed-oo/
H A Dchecker.rkt11 (define type-of-program
21 (define type-of
203 (define types-of-exps
209 (define type-of-call
239 (define check-class-decl!
265 (define check-method-decl!
325 (define report-missing-method
333 (define check-equal-type!
365 (define is-subtype?
382 (define andmap
[all …]
H A Dlang.rkt15 (define the-lexical-spec
25 (define the-grammar
90 (method-decl
91 ("method" type identifier
95 a-method-decl)
109 method-call-exp)
122 (abstract-method-decl
125 an-abstract-method-decl)
156 (define scan&parse
159 (define just-scan
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/db-lib/db/util/
H A Dtesting.rkt8 (define high-latency-connection%
16 (define-syntax-rule (define-forward defmethod (sleep-factor method arg ...) ...)
18 (defmethod (method arg ...)
19 (call-with-lock 'method
22 (unless c (error/not-connected 'method))
27 (send c method arg ...)))))
30 (define-forward define/public
42 (define/override (connected?) (and connection (send connection connected?)))
44 (define/public (disconnect)
47 (define (high-latency-connection connection latency
/dports/japanese/tiarra/tiarra-20100212/module/System/NotifyIcon/
H A DWin32.pm185 (my $method = $AUTOLOAD) =~ s/.+?:://g;
188 $this->event_handler_register($method);
229 my $method = $_;
230 if ($method =~ /^\Q$event_handler_prefix\E/) {
231 warn ("$method is already have $event_handler_prefix prefix.");
234 $this->{registered_event_handlers}->{$method} = 1;
239 eval "$event_handler_prefix$method(\@_)";
241 eval "*$method = \$sub";
394 my $define = $this->{define} = {};
426 $define->{NIIF_NONE} = 0x00;
[all …]
/dports/devel/mm/mm-1.4.2/
H A Dconfig.h.in6 /* define to 1 if you have the B_PAGE_SIZE define */
168 /* mutex implementation method: BeOS semaphores */
171 /* mutex implementation method: SVR4-style fcntl() on temporary file */
174 /* mutex implementation method: 4.2BSD-style flock() on temporary file */
177 /* mutex implementation method: SysV IPC semget() */
180 /* shared memory allocation method: BeOS areas */
183 /* shared memory allocation method: SysV IPC shmget() */
186 /* shared memory allocation method: 4.4BSD-style mmap() via MAP_ANON */
189 /* shared memory allocation method: Classical mmap() on temporary file */
192 /* shared memory allocation method: mmap() via POSIX.1 shm_open() on temporary
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/draw-doc/scribblings/draw/
H A Dblurbs.rkt17 (define (p . l)
20 (define PrintNote
24 @itemize[@item{@method[dc<%> start-doc]}
25 @item{@method[dc<%> start-page]}
26 @item{@method[dc<%> end-page]}
27 @item{@method[dc<%> end-doc]}]
28 @p{Attempts to use a drawing method outside of an active page raises an exception.})))
49 (define all-colors
51 (define result
62 (define (slant . s)
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/racket-doc/scribblings/foreign/
H A Dcom-intf.scrbl27 (code:line #:release-with-method method-id)
48 @racket[method-id] for each method whose @racket[ctype-expr] is not
65 be eventually released. The @racket[#:release-with-method method-id]
68 @racket[method-id]s or an inherited method). A @racket[#:releases]
71 deallocated using the method).
259 @(define-syntax-rule (define-literals id ...) (begin (define-literal id) ...))
260 @(define-syntax-rule (define-literal id)
279 (define ccm
290 (define eg
307 (define _CATID _GUID)
[all …]
/dports/x11-toolkits/pyl-gtk2/pygtk-2.24.0/gtk/
H A Dgtkunixprint-2.12.defs4 (define-method list_papers
10 (define-method has_details
16 (define-method request_details
22 (define-method get_capabilities
/dports/databases/tile38/tile38-1.12.0/vendor/github.com/streadway/amqp/spec/
H A Dgen.go183 {{$method := .}}
184 {{$struct := $.StructName $class.Name $method.Name}}
194 return {{$class.Index}}, {{$method.Index}}
211 {{if $.HasType "bit" $method}}var bits byte{{end}}
217 {{if $.HasType "bit" $method}}var bits byte{{end}}
246 if err = method.read(r.r); err != nil {
249 mf.Method = method
263 {{define "enc-bit"}}
306 {{define "dec-bit"}}
411 for _, f := range method.Fields {
[all …]
/dports/lang/mosh/mosh-0.2.7/lib/clos/private/
H A Dfast-method-cache.ikarus.ss2 (library (clos private fast-method-cache)
4 (export invalidate-method-caches!
14 (define *cache-token* (list 'token))
16 (define (invalidate-method-caches!)
19 (define *min-cache-size* 64)
21 (define (max-specializer-count generic)
22 (apply max (map (lambda (method)
23 (length (method-specializers method)))
26 (define (compute-start-index class)
66 (define (fix-table! table start limit args proc)
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/srfi-lib/srfi/57/
H A Drecords.rkt18 (define-syntax define-record-type
174 (define-method (show (r predicate))
209 (define-method predicate (new-type) (x) any?)
219 (define-method copier (new-type) (x) copy)
237 (define-method getter (new-type) (x) selector)
239 (define-method setter (new-type any?) (x v) modifier)
270 (lambda (arg ...) (error "Inapplicable method:" 'name
275 (define-syntax define-method
277 ((define-method (generic (arg pred?) ...) . body)
278 (define-method generic (pred? ...) (arg ...) (lambda (arg ...) . body)))
[all …]
/dports/www/piwigo/piwigo/include/
H A Dws_core.inc.php23 define( 'WS_TYPE_BOOL', 0x01 );
24 define( 'WS_TYPE_INT', 0x02 );
25 define( 'WS_TYPE_FLOAT', 0x04 );
30 define( 'WS_ERR_INVALID_METHOD', 501 );
503 $method = @$this->_methods[$methodName];
505 if ( $method == null )
510 …if ( isset($method['options']['post_only']) and $method['options']['post_only'] and !self::isPost(…
515 …if ( isset($method['options']['admin_only']) and $method['options']['admin_only'] and !is_admin() )
521 $signature = $method['signature'];
589 if ( !empty($method['include']) )
[all …]
/dports/www/Stikked/Stikked-0.13.0/htdocs/system/core/
H A DCodeIgniter.php249 define('MB_ENABLED', TRUE);
259 define('MB_ENABLED', FALSE);
266 define('ICONV_ENABLED', TRUE);
273 define('ICONV_ENABLED', FALSE);
403 $method = $RTR->method; variable
413 …if ( ! class_exists($class, FALSE) OR $method[0] === '_' OR method_exists('CI_Controller', $method
420 $method = '_remap'; variable
422 elseif ( ! method_exists($class, $method))
485 $method = $error_method; variable
489 2 => $method
[all …]
/dports/www/codeigniter/CodeIgniter-3.1.11/system/core/
H A DCodeIgniter.php249 define('MB_ENABLED', TRUE);
259 define('MB_ENABLED', FALSE);
266 define('ICONV_ENABLED', TRUE);
273 define('ICONV_ENABLED', FALSE);
403 $method = $RTR->method; variable
413 …if ( ! class_exists($class, FALSE) OR $method[0] === '_' OR method_exists('CI_Controller', $method
420 $method = '_remap'; variable
422 elseif ( ! method_exists($class, $method))
485 $method = $error_method; variable
489 2 => $method
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/web-server-lib/web-server/dispatch/
H A Dhttp-expanders.rkt6 (define-match-expander url/path
12 (define-match-expander url/paths
18 (define (method-downcase x)
23 (method-downcase (bytes->string/utf-8 x))]
27 (define-match-expander request/url
30 ; req = method, url, headers, bindings, post-data, host-ip, host-port, client-ip
32 [(_ method url-pat)
33 ; req = method, url, headers, bindings, post-data, host-ip, host-port, client-ip
34 (struct request ((app method-downcase method)
/dports/lang/racket/racket-8.3/collects/racket/contract/private/
H A Darity-checking.rkt17 method?)
18 (define proc/meth (if method? "a method" "a procedure"))
53 ((if method? sub1 values) expected-number-of-non-keyword-args))
78 (arity-as-string val method?)))))
90 (arity-as-string val method?)))))
130 (arity-as-string val method?)))))
142 (define (arity-as-string v [method? #f])
146 (string-append prefix (raw-arity-as-string v method?)))
148 (define (raw-arity-as-string v [method? #f])
150 (define adjust (if method? sub1 values))
[all …]
/dports/lang/racket-minimal/racket-8.3/collects/racket/contract/private/
H A Darity-checking.rkt17 method?)
18 (define proc/meth (if method? "a method" "a procedure"))
53 ((if method? sub1 values) expected-number-of-non-keyword-args))
78 (arity-as-string val method?)))))
90 (arity-as-string val method?)))))
130 (arity-as-string val method?)))))
142 (define (arity-as-string v [method? #f])
146 (string-append prefix (raw-arity-as-string v method?)))
148 (define (raw-arity-as-string v [method? #f])
150 (define adjust (if method? sub1 values))
[all …]

12345678910>>...2552