Home
last modified time | relevance | path

Searched +refs:make +refs:vector (Results 1 – 25 of 37820) sorted by relevance

12345678910>>...1513

/dports/lang/racket/racket-8.3/share/pkgs/games/parcheesi/test/
H A Dmoves-test.rkt280 (let ([v (make-vector 68 '())])
308 (let ([v (make-vector 68 '())])
337 (let ([v (make-vector 68 '())])
554 (make-vector (* 17 4) '())
566 (make-vector (* 17 4) '())
579 (make-vector (* 17 4) '())
591 (make-vector (* 17 4) '())
652 (let ([main (make-vector 68 '())])
667 (make-vector 68 '())
695 (make-vector 68 '())
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/htdp-lib/graphics/private/
H A Dvalue-turtles-reader.rkt2 (require (only-in mzlib/struct make-->vector)
14 [(vector? sexp)
16 [(struct:turtle) make-turtle]
50 ;; - (make-turtle x y theta)
53 (define turtle->vector (make-->vector turtle))
56 (define offset->vector (make-->vector offset))
61 (define pre-line->vector (make-->vector line))
62 (define (line->vector l)
64 (pre-line->vector
74 (define tmerge->vector (make-->vector tmerge))
[all …]
/dports/lang/chibi-scheme/chibi-scheme-0.10/lib/srfi/132/
H A Dtest.sld287 (let ((v (make-vector 12 #f)))
291 (let ((v (make-vector 12 #f)))
295 (let ((v (make-vector 12 #f)))
299 (let ((v (make-vector 12 #f)))
303 (let ((v (make-vector 12 #f)))
307 (let ((v (make-vector 12 #f)))
311 (let ((v (make-vector 12 #f)))
315 (let ((v (make-vector 12 #f)))
319 (let ((v (make-vector 12 #f)))
323 (let ((v (make-vector 12 #f)))
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/srfi-lib/srfi/63/
H A D63.rkt65 (list 'vector make-vector vector-ref vector-set! any/c)
66 (list 'bool make-vector vector-ref vector-set! boolean?)
98 (cond ((vector? array) (list (vector-length array)))
123 ((vector? obj) 'vector)
151 (and (equal? (vector-length obj1) (vector-length obj2))
194 (apply make-vector (car dimensions) initializer))
216 (append (cdr (vector->list (make-vector rank 0))) '(1)))
278 (vect (make-vector vdx)))
353 (array->vector
370 (vector->array
[all …]
/dports/lang/chibi-scheme/chibi-scheme-0.10/lib/srfi/179/
H A Dtest.sld72 (let ((result (make-vector n)))
96 (result (make-vector n)))
144 (vector->list (make-vector (random min max)))))
149 (make-interval (list->vector lower)
175 (make-vector n))))
755 (let ((sample-vector (make-vector (array-dimension a) 2)))
765 (let ((sample-vector (make-vector (array-dimension a) 2)))
1097 (vector->list (make-vector (random 1 7)))))
1185 ;; (vector->list (make-vector (random 1 7)))))
2863 (let* ((A (make-array (make-interval (make-vector d 100)) list))
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/parser-tools-lib/parser-tools/private-lex/
H A Dfront.rkt21 ;; - (vector-of (vector-of (vector nat nat nat)))
27 (let ((state-table (make-vector (dfa-num-states dfa) #f))
65 (char-table (make-vector (* 256 (dfa-num-states dfa)) #f)))
89 (let ((actions (make-vector (dfa-num-states dfa) #f)))
100 (let ((no-look (make-vector (dfa-num-states dfa) #t)))
106 (test-block ((d1 (make-dfa 1 1 (list) (list)))
116 ((dfa->2d-table d1) (make-vector 256 #f))
117 ((dfa->2d-table d2) (let ((v (make-vector 1024 #f)))
123 ((dfa->1d-table d1) (make-vector 1 #f))
147 (cache (make-cache))
[all …]
/dports/editors/rehex/rehex-0.4.0/tests/
H A Dsearch-bseq.cpp46 REHex::SharedDocumentPointer doc(REHex::SharedDocumentPointer::make(TMPFILE)); in TEST()
56 REHex::SharedDocumentPointer doc(REHex::SharedDocumentPointer::make(TMPFILE)); in TEST()
66 REHex::SharedDocumentPointer doc(REHex::SharedDocumentPointer::make(TMPFILE)); in TEST()
76 REHex::SharedDocumentPointer doc(REHex::SharedDocumentPointer::make(TMPFILE)); in TEST()
86 REHex::SharedDocumentPointer doc(REHex::SharedDocumentPointer::make(TMPFILE)); in TEST()
88 std::vector<unsigned char> search_data; in TEST()
100 REHex::SharedDocumentPointer doc(REHex::SharedDocumentPointer::make(TMPFILE)); in TEST()
110 REHex::SharedDocumentPointer doc(REHex::SharedDocumentPointer::make(TMPFILE)); in TEST()
120 REHex::SharedDocumentPointer doc(REHex::SharedDocumentPointer::make(TMPFILE)); in TEST()
132 REHex::SharedDocumentPointer doc(REHex::SharedDocumentPointer::make(TMPFILE)); in TEST()
[all …]
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/test/test/test-organization-ts/datasets-test/
H A Dcollection-test.cpp39 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
58 BOOST_TEST( data::make( std::vector<int>() ).size() == 0 ); in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( data::make( std::vector<int>( 3 ) ).size() == 3 ); in BOOST_AUTO_TEST_CASE()
63 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
69 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
77 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
85 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
117 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
130 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
135 std::vector<copy_count> samples3( 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/test/test/test-organization-ts/datasets-test/
H A Dcollection-test.cpp39 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
58 BOOST_TEST( data::make( std::vector<int>() ).size() == 0 ); in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( data::make( std::vector<int>( 3 ) ).size() == 3 ); in BOOST_AUTO_TEST_CASE()
63 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
69 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
77 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
85 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
117 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
130 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
135 std::vector<copy_count> samples3( 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/databases/percona57-server/boost_1_59_0/libs/test/test/test-organization-ts/datasets-test/
H A Dcollection-test.cpp39 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
58 BOOST_TEST( data::make( std::vector<int>() ).size() == 0 ); in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( data::make( std::vector<int>( 3 ) ).size() == 3 ); in BOOST_AUTO_TEST_CASE()
63 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
69 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
77 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
85 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
117 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
130 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
135 std::vector<copy_count> samples3( 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/databases/xtrabackup/boost_1_59_0/libs/test/test/test-organization-ts/datasets-test/
H A Dcollection-test.cpp39 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
58 BOOST_TEST( data::make( std::vector<int>() ).size() == 0 ); in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( data::make( std::vector<int>( 3 ) ).size() == 3 ); in BOOST_AUTO_TEST_CASE()
63 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
69 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
77 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
85 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
117 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
130 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
135 std::vector<copy_count> samples3( 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/databases/percona57-client/boost_1_59_0/libs/test/test/test-organization-ts/datasets-test/
H A Dcollection-test.cpp39 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
58 BOOST_TEST( data::make( std::vector<int>() ).size() == 0 ); in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( data::make( std::vector<int>( 3 ) ).size() == 3 ); in BOOST_AUTO_TEST_CASE()
63 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
69 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
77 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
85 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
117 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
130 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
135 std::vector<copy_count> samples3( 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/test/test/test-organization-ts/datasets-test/
H A Dcollection-test.cpp40 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( data::make( std::vector<int>() ).size() == 0 ); in BOOST_AUTO_TEST_CASE()
60 BOOST_TEST( data::make( std::vector<int>( 3 ) ).size() == 3 ); in BOOST_AUTO_TEST_CASE()
64 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
70 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
78 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
86 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
118 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
131 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
135 std::vector<copy_count> samples3( 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/test/test/test-organization-ts/datasets-test/
H A Dcollection-test.cpp40 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( data::make( std::vector<int>() ).size() == 0 ); in BOOST_AUTO_TEST_CASE()
60 BOOST_TEST( data::make( std::vector<int>( 3 ) ).size() == 3 ); in BOOST_AUTO_TEST_CASE()
64 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
70 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
78 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
86 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
118 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
131 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
135 std::vector<copy_count> samples3( 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/test/test/test-organization-ts/datasets-test/
H A Dcollection-test.cpp40 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( data::make( std::vector<int>() ).size() == 0 ); in BOOST_AUTO_TEST_CASE()
60 BOOST_TEST( data::make( std::vector<int>( 3 ) ).size() == 3 ); in BOOST_AUTO_TEST_CASE()
64 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
70 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
78 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
86 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
118 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
131 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
135 std::vector<copy_count> samples3( 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/test/test/test-organization-ts/datasets-test/
H A Dcollection-test.cpp40 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
59 BOOST_TEST( data::make( std::vector<int>() ).size() == 0 ); in BOOST_AUTO_TEST_CASE()
60 BOOST_TEST( data::make( std::vector<int>( 3 ) ).size() == 3 ); in BOOST_AUTO_TEST_CASE()
64 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
70 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
78 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
86 std::vector<int> samples1; in BOOST_AUTO_TEST_CASE()
118 std::vector<copy_count> v(2); // we cannot do better than std::vector constructor in BOOST_AUTO_TEST_CASE()
131 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
135 std::vector<copy_count> samples3( 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/src/
H A DIR.h339 std::vector<Expr> args;
341 …static Stmt make(const std::string &name, const std::vector<Expr> &values, const std::vector<Expr>…
423 static Stmt make(const std::vector<Stmt> &stmts);
466 std::vector<Expr> args;
597 static Expr make(Type type, IntrinsicOp op, const std::vector<Expr> &args, CallType call_type,
601 …static Expr make(Type type, const std::string &name, const std::vector<Expr> &args, CallType call_…
606 static Expr make(const Function &func, const std::vector<Expr> &args, int idx = 0);
609 static Expr make(const Buffer<> &image, const std::vector<Expr> &args) { in make() function
614 static Expr make(const Parameter &param, const std::vector<Expr> &args) { in make() function
737 static Expr make(const std::vector<Expr> &vectors,
[all …]
H A DBoundsInference.cpp22 using std::vector;
120 const vector<vector<Function>> &fused_groups) { in find_fused_group_index()
134 bool is_fused_with_others(const vector<vector<Function>> &fused_groups, in is_fused_with_others()
183 const vector<vector<Function>> &fused_groups;
218 vector<vector<CondValue>> result(2); // <args, values> in compute_exprs_helper()
230 vector<vector<Expr>> vecs(2); in compute_exprs_helper()
316 vector<vector<CondValue>> result; in compute_exprs()
379 const vector<vector<Function>> &fused_groups, in define_bounds()
783 const vector<vector<Function>> &fg, in BoundsInference()
1232 const vector<vector<string>> &fused_groups, in bounds_inference()
[all …]
H A DAssociativity.cpp24 using std::vector;
29 vector<T> get_subvector(const vector<T> &v, const set<int> &indices) { in get_subvector()
30 vector<T> sub; in get_subvector()
44 const vector<Expr> &args;
160 bool find_match(const vector<AssociativePattern> &table, const vector<string> &op_x_names, in find_match()
161 const vector<string> &op_y_names, const vector<Expr> &x_parts, in find_match()
230 bool extract_associative_op(const vector<Expr> &exprs, const vector<string> &op_x_names, in extract_associative_op()
231 const vector<string> &op_y_names, const vector<Expr> &x_parts, in extract_associative_op()
288 vector<set<int>> compute_subgraphs(vector<set<int>> dependencies) { in compute_subgraphs()
302 vector<int> diff; in compute_subgraphs()
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/sgl/
H A Dgl-types.rkt8 (make-ctype _float
15 (define (make-gl-vector-type t)
47 (define _gl-bytev (make-gl-vector-type _gl-byte))
48 (define _gl-ubytev (make-gl-vector-type _gl-ubyte))
49 (define _gl-shortv (make-gl-vector-type _gl-short))
50 (define _gl-ushortv (make-gl-vector-type _gl-ushort))
51 (define _gl-intv (make-gl-vector-type _gl-int))
52 (define _gl-uintv (make-gl-vector-type _gl-uint))
53 (define _gl-booleanv (make-gl-vector-type _gl-boolean))
54 (define _gl-floatv (make-gl-vector-type _gl-float))
[all …]
H A Dgl-vectors.rkt8 ((_ op name make-res)
14 (res (make-res l)))
32 (res (make-res l)))
57 (let ((res (make-res l)))
72 (with-syntax (((v? make-v v vector->v list->v v+ v- v*)
76 '("gl-~a-vector?" "make-gl-~a-vector" "gl-~a-vector"
82 (provide v? make-v v vector->v list->v v+ v- v*)
86 (define (make-v len)
96 (define v+ (gl-vector-binop + 'v+ make-v))
97 (define v- (gl-vector-binop - 'v- make-v))
[all …]
/dports/lang/racket/racket-8.3/src/cs/rumble/
H A Dvector.ss1 (define/who make-vector
3 [(n) (make-vector n 0)]
8 (#2%make-vector n v)]))
38 (do-impersonate-vector who make-vector-chaperone vec ref set
43 (do-impersonate-vector who make-vector-impersonator vec ref set
46 (define (do-impersonate-vector who make-vector-impersonator vec ref set
60 (make-vector-impersonator val vec props ref set)
85 (do-impersonate-vector* who make-vector*-chaperone vec ref set
90 (do-impersonate-vector* who make-vector*-impersonator vec ref set
107 (make-vector*-impersonator val vec props ref set)
[all …]
/dports/lang/racket-minimal/racket-8.3/src/cs/rumble/
H A Dvector.ss1 (define/who make-vector
3 [(n) (make-vector n 0)]
8 (#2%make-vector n v)]))
38 (do-impersonate-vector who make-vector-chaperone vec ref set
43 (do-impersonate-vector who make-vector-impersonator vec ref set
46 (define (do-impersonate-vector who make-vector-impersonator vec ref set
60 (make-vector-impersonator val vec props ref set)
85 (do-impersonate-vector* who make-vector*-chaperone vec ref set
90 (do-impersonate-vector* who make-vector*-impersonator vec ref set
107 (make-vector*-impersonator val vec props ref set)
[all …]
/dports/lang/guile1/guile-1.8.8/test-suite/tests/
H A Dweaks.test44 (with-test-prefix "make-weak-vector"
46 (make-weak-vector 10 #f)
50 (make-weak-vector 'foo)))
69 (make-weak-key-alist-vector 17)
76 (make-weak-value-alist-vector 17)
84 (make-doubly-weak-alist-vector 17)
96 (define global-weak (make-weak-vector 10 #f))
106 (let ((x (make-weak-vector 10 #f))
125 (let ((x (make-weak-key-alist-vector 17))
126 (y (make-weak-value-alist-vector 17))
[all …]
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-digital/include/gnuradio/digital/
H A Dconstellation.h100 std::vector<std::vector<gr_complex>> v_points();
253 static sptr make(std::vector<gr_complex> constell,
355 static constellation_rect::sptr make(std::vector<gr_complex> constell,
411 static sptr make(std::vector<gr_complex> constellation,
462 static sptr make(std::vector<gr_complex> constell,
501 static sptr make();
537 static sptr make();
572 static sptr make();
609 static sptr make();
645 static sptr make();
[all …]

12345678910>>...1513