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    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • NUM    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • NUM    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • NUM    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • elements    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects2.xtm
  • first_n_weird_numbers    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/word_count.xtm
  • get_LCG_Pseudorandom_Number    xtlang    /digego/extempore/tree/v0.8.9/examples/core/fasta_lang_shootout.xtm
  • impc:compiler:print-bad-numeric-value-error    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:compiler:num-of-elts    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:number?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:num-of-elts-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:numeric-cast-operator    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:numeric-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • match-number    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern.xtm
  • max_slide_num    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/slideshow.xtm
  • num_f32_div    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_f32_div    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_f32_minus    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_f32_minus    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_f32_mul    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_f32_mul    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_f32_plus    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_f32_plus    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_f64_div    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_f64_div    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_f64_minus    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_f64_minus    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_f64_mul    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_f64_mul    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_f64_plus    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_f64_plus    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_i32_div    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_i32_div    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_i32_minus    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_i32_minus    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_i32_mul    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_i32_mul    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_i32_plus    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_i32_plus    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_i64_div    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_i64_div    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_i64_minus    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_i64_minus    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_i64_mul    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_i64_mul    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • num_i64_plus    xtlang    /digego/extempore/tree/v0.8.9/tests/core/generics.xtm
  • num_i64_plus    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • number->string    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • scientific-pitch-notation-to-midi-number    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • string->number    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • svm_parse_line    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/svm.xtm
  • svm_read_line    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/svm.xtm
  • svm_read_problem    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/svm.xtm
  • t:number?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtm_path_num_segments    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm