svm_num_elements   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/contrib/svm.xtm

Implementation

(bind-func svm_num_elements
  "unsafe - munges the input buffer"
  (lambda (buf)
    (let ((count 0))
      (set! p (strtok buf " \t")) ;; label
      (while (not (or (null? p) (= (pref p 0) 10)))
        (set! count (+ count 1))
        (strtok null " \t"))
      count)))


Back to Index

Similar Entries

  • NUM    xtlang
  • NUM    xtlang
  • NUM    xtlang
  • NUM    xtlang
  • elements    xtlang
  • first_n_weird_numbers    xtlang
  • get_LCG_Pseudorandom_Number    xtlang
  • impc:compiler:print-bad-numeric-value-error    scheme
  • impc:ir:compiler:num-of-elts    scheme
  • impc:ir:number?    scheme
  • impc:ti:num-of-elts-check    scheme
  • impc:ti:numeric-cast-operator    scheme
  • impc:ti:numeric-check    scheme
  • match-number    scheme
  • max_slide_num    xtlang
  • num_f32_div    xtlang
  • num_f32_div    xtlang
  • num_f32_minus    xtlang
  • num_f32_minus    xtlang
  • num_f32_mul    xtlang
  • num_f32_mul    xtlang
  • num_f32_plus    xtlang
  • num_f32_plus    xtlang
  • num_f64_div    xtlang
  • num_f64_div    xtlang
  • num_f64_minus    xtlang
  • num_f64_minus    xtlang
  • num_f64_mul    xtlang
  • num_f64_mul    xtlang
  • num_f64_plus    xtlang
  • num_f64_plus    xtlang
  • num_i32_div    xtlang
  • num_i32_div    xtlang
  • num_i32_minus    xtlang
  • num_i32_minus    xtlang
  • num_i32_mul    xtlang
  • num_i32_mul    xtlang
  • num_i32_plus    xtlang
  • num_i32_plus    xtlang
  • num_i64_div    xtlang
  • num_i64_div    xtlang
  • num_i64_minus    xtlang
  • num_i64_minus    xtlang
  • num_i64_mul    xtlang
  • num_i64_mul    xtlang
  • num_i64_plus    xtlang
  • num_i64_plus    xtlang
  • number->string    scheme
  • scientific-pitch-notation-to-midi-number    scheme
  • string->number    scheme
  • svm_parse_line    xtlang
  • svm_read_line    xtlang
  • svm_read_problem    xtlang
  • t:number?    scheme
  • xtm_path_num_segments    xtlang