repeat_And_Wrap_String   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/core/fasta_lang_shootout.xtm

Implementation

(bind-func repeat_And_Wrap_String:[void,i8*,i64]*
  (let ((line:|61,i8|* (alloc)))
    (lambda (string_To_Repeat number_Of_Characters_To_Create)
      (let ((string_To_Repeat_Length (strlen string_To_Repeat))
            (extended_String_To_Repeat:i8* (salloc (+ string_To_Repeat_Length MAXIMUM_LINE_WIDTH)))
            (column 0) (offset 0) (line_Length 0)
            (current_Number_Of_Characters_To_Create number_Of_Characters_To_Create))
        (dotimes (column (+ string_To_Repeat_Length MAXIMUM_LINE_WIDTH))
          (pset! extended_String_To_Repeat column
                 (pref string_To_Repeat (% column string_To_Repeat_Length))))
        (aset! line MAXIMUM_LINE_WIDTH #o012)


Back to Index

Similar Entries

  • AudioBuffer_cstring    xtlang
  • AudioBuffer_data_b64_cstring    xtlang
  • PARAM_RANDOM    scheme
  • PARAM_RANDOM    scheme
  • PaDeviceInfo_toString    xtlang
  • PaHostApiInfo_toString    xtlang
  • PaHostErrorInfo_toString    xtlang
  • PaStreamCallbackTimeInfo_toString    xtlang
  • PaStreamInfo_toString    xtlang
  • PaStreamParameters_toString    xtlang
  • String    xtlang
  • String    xtlang
  • String_free    xtlang
  • String_h    xtlang
  • String_strlen    xtlang
  • VAO_bind_and_draw_arrays    xtlang
  • aiProcess_MakeLeftHanded    scheme
  • anyatom->string    scheme
  • bind-lib-xtm-get-string    macro
  • bind-wrapper    macro
  • bindfunc_with_docstring    xtlang
  • bindfunc_with_zone_size_and_docstring    xtlang
  • cas-xtm-to-string    scheme
  • cas_expand_term    xtlang
  • cef_string    xtlang
  • cef_string    xtlang
  • cef_string_clear    xtlang
  • cef_string_cmp    xtlang
  • cef_string_set    xtlang
  • cef_string_userfree_alloc    xtlang
  • cef_string_userfree_free    xtlang
  • cef_string_val    xtlang
  • cef_string_val    xtlang
  • cl:and?    scheme
  • cond-eval-and    scheme
  • cond-expand    macro
  • cond-expand-runtime    scheme
  • constructor-name-and-type    scheme
  • cpBBExpand    xtlang
  • cpBBWrapVect    xtlang
  • cpTransformWrap    xtlang
  • cpTransformWrapInverse    xtlang
  • cstring    xtlang
  • cstring    xtlang
  • deconstructor-name-and-type    scheme
  • divide-and-conquer    xtlang
  • draw_color_body_frame_with_hands    xtlang
  • dsp_randn    xtlang
  • dsp_randn    xtlang
  • env-wrap    xtlang
  • expand    macro
  • file->string    scheme
  • generate_And_Wrap_Pseudorandom_DNA_Sequence    xtlang
  • generate_random_vao    xtlang
  • get_LCG_Pseudorandom_Number    xtlang
  • get_browser_process_handler    xtlang
  • get_context_menu_handler    xtlang
  • get_dialog_handler    xtlang
  • get_display_handler    xtlang
  • get_download_handler    xtlang
  • get_drag_handler    xtlang
  • get_find_handler    xtlang
  • get_focus_handler    xtlang
  • get_geolocation_handler    xtlang
  • get_hand_data    xtlang
  • get_jsdialog_handler    xtlang
  • get_keyboard_handler    xtlang
  • get_life_span_handler    xtlang
  • get_load_handler    xtlang
  • get_render_handler    xtlang
  • get_render_process_handler    xtlang
  • get_request_handler    xtlang
  • get_resource_bundle_handler    xtlang
  • ghttp_perform_POST_string    xtlang
  • ghttp_perform_PUT_string    xtlang
  • glfw_init_and_create_compatibility_window    xtlang
  • glfw_init_and_create_fullscreen_compatibility_window    xtlang
  • glfw_init_and_create_fullscreen_interaction_compatibility_window    xtlang
  • glfw_init_and_create_fullscreen_interaction_window    xtlang
  • glfw_init_and_create_fullscreen_interaction_window    xtlang
  • glfw_init_and_create_fullscreen_window    xtlang
  • glfw_init_and_create_fullscreen_window    xtlang
  • glfw_init_and_create_interaction_compatibility_window    xtlang
  • glfw_init_and_create_interaction_window    xtlang
  • glfw_init_and_create_window    xtlang
  • glfw_print_version_string    xtlang
  • glwrapper-arg-list-symbols    scheme
  • glwrapper-arg-list-symbols    scheme
  • godot_string    xtlang
  • godot_string_ascii    xtlang
  • godot_string_destroy    xtlang
  • godot_string_new    xtlang
  • godot_string_parse_utf8    xtlang
  • godot_string_pvar    xtlang
  • godot_string_var    xtlang
  • godot_variant_as_string    xtlang
  • godot_variant_new_string    xtlang
  • gstring_alloc    xtlang
  • gstring_halloc    xtlang
  • gstring_zalloc    xtlang
  • impc:aot:do-and-emit    macro
  • impc:compiler:print-cannot-expand-non-generic-error    scheme
  • impc:ir:genericfunc-stringify-generic-arg-strings    scheme
  • impc:ir:get-pretty-closure-arg-strings    scheme
  • impc:ir:get-pretty-tuple-arg-strings    scheme
  • impc:ir:get-type-expand-poly    scheme
  • impc:ir:make-const-string    scheme
  • impc:ir:make-string    scheme
  • impc:ir:split-and-decode-poly-adhoc-name    scheme
  • impc:ti:adhoc-scheme-wrapper    scheme
  • impc:ti:and    scheme
  • impc:ti:completely-unwrap-named-type    scheme
  • impc:ti:create-scheme-wrapper    scheme
  • impc:ti:create-scm-wrapper?    scheme
  • impc:ti:expand-generic-type    scheme
  • impc:ti:expand-generic-type-func-gpoly-arity    scheme
  • impc:ti:expand-generic-types    scheme
  • impc:ti:get-builtin-docstring    scheme
  • impc:ti:get-closure-docstring    scheme
  • impc:ti:get-closure-or-nativefunc-docstring    scheme
  • impc:ti:get-generictype-candidate-types    scheme
  • impc:ti:get-globalvar-docstring    scheme
  • impc:ti:get-namedtype-docstring    scheme
  • impc:ti:get-nativefunc-docstring    scheme
  • impc:ti:get-polyfunc-candidate    scheme
  • impc:ti:get-polyfunc-candidate-list    scheme
  • impc:ti:get-polyfunc-candidate-names    scheme
  • impc:ti:get-polyfunc-candidate-pretty-types    scheme
  • impc:ti:get-polyfunc-candidate-types    scheme
  • impc:ti:get-polyfunc-docstring    scheme
  • impc:ti:get-polytype-candidate    scheme
  • impc:ti:get-polytype-candidate-list    scheme
  • impc:ti:get-polytype-candidate-names    scheme
  • impc:ti:get-polytype-candidate-pretty-types    scheme
  • impc:ti:get-polytype-candidate-types    scheme
  • impc:ti:get-typealias-docstring    scheme
  • impc:ti:get-xtmacro-docstring    scheme
  • impc:ti:handle-forced-types    scheme
  • impc:ti:reify-generic-type-expand    scheme
  • impc:ti:remove-polyfunc-candidate    scheme
  • impc:ti:scm_rt_check_string    scheme
  • impc:ti:set-builtin-docstring    scheme
  • impc:ti:set-closure-docstring    scheme
  • impc:ti:set-globalvar-docstring    scheme
  • impc:ti:set-namedtype-docstring    scheme
  • impc:ti:set-nativefunc-docstring    scheme
  • impc:ti:set-typealias-docstring    scheme
  • impc:ti:set-xtmacro-docstring    scheme
  • impc:ti:string-check    scheme
  • impc:ti:unique-polyfunc-candidate    scheme
  • ivl:expand/contract    scheme
  • json_string_p    xtlang
  • kinect_get_hand_left    xtlang
  • kinect_get_hand_right    xtlang
  • light-and-shade-frag    scheme
  • light-and-shade-vert-xtm    scheme
  • list->string    scheme
  • llvm:compile-ir-and-print    scheme
  • macro-expand    scheme
  • make_static_scheme_wrapper_ir    scheme
  • match-string    scheme
  • match_aiString    xtlang
  • more-handlers?    scheme
  • my-inc-maker-wrapper    xtlang
  • number->string    scheme
  • on_before_command_line_processing    xtlang
  • pc:expand/contract    scheme
  • pc:random    scheme
  • pcg32_boundedrand_r    xtlang
  • pop-handler    scheme
  • push-handler    scheme
  • random    scheme
  • random    xtlang
  • random-next    scheme
  • read_and_write_frame    xtlang
  • repeat    scheme
  • return_ptr_gv_first_with_docstring    xtlang
  • return_ptr_gv_second_with_docstring    xtlang
  • set_width_and_height    xtlang
  • string    scheme
  • string->anyatom    scheme
  • string->list    scheme
  • string->number    scheme
  • string->sexpr    scheme
  • string-ci<=?    scheme
  • string-ci<?    scheme
  • string-ci=?    scheme
  • string-ci>=?    scheme
  • string-ci>?    scheme
  • string-cmp?    scheme
  • string-copy    scheme
  • string-fill!    scheme
  • string<=?    scheme
  • string<?    scheme
  • string=?    scheme
  • string>=?    scheme
  • string>?    scheme
  • string_list_from_file    xtlang
  • string_list_from_string    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • substring    xtlang
  • t:cleanup-string-type    scheme
  • test_g_cstring    xtlang
  • test_g_cstring1    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString_help    xtlang
  • toString_help    xtlang
  • toString_help    xtlang
  • toString_return    xtlang
  • toString_space    xtlang
  • xt_pcg32_random    xtlang
  • xt_pcg32_random_r    xtlang
  • xt_pcg32_srandom    xtlang
  • xt_pcg32_srandom_r    xtlang
  • xtm-setup-and-start-gl-loop    scheme
  • xtm_scale_and_draw_vgimage    xtlang
  • xtm_scale_and_draw_vgimaged    xtlang
  • xtmdoc-builtin-handler    scheme
  • xtmdoc-closure-handler    scheme
  • xtmdoc-genericfunc-handler    scheme
  • xtmdoc-generictype-handler    scheme
  • xtmdoc-globalvar-handler    scheme
  • xtmdoc-namedtype-handler    scheme
  • xtmdoc-nativefunc-handler    scheme
  • xtmdoc-polyfunc-handler    scheme
  • xtmdoc-polytype-handler    scheme
  • xtmdoc-scheme-function-handler    scheme
  • xtmdoc-scheme-macro-handler    scheme
  • xtmdoc-typealias-handler    scheme