<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: String split question in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972882#M20718</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;yes, our expert prepared such a simple sample specially for you:)&lt;FONT color="#0000ff" size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="msg_source_code"&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;IPPCH.H&gt;&lt;BR /&gt;#include &lt;IPPCORE.H&gt;&lt;BR /&gt;&lt;BR /&gt;int main() {&lt;BR /&gt; const Ipp8u States[] = "Alabama Alaska Arizona Arkansas California Colorado Connecticut";&lt;BR /&gt; Ipp8u buff[40];&lt;BR /&gt; Ipp8u* nameState[4] = { buff, buff + 10, buff + 20, buff + 30 };&lt;BR /&gt; int lenNameState[4]= { 10, 10, 10, 10 };&lt;BR /&gt; int i, numState = 4;&lt;BR /&gt; IppStatus status;&lt;BR /&gt;&lt;BR /&gt; status = ippsSplitC_8u_D2L( (Ipp8u*)States, sizeof(States) - 1, ' ', nameState, lenNameState, &amp;amp;numState );&lt;BR /&gt; if( status &amp;lt; ippStsNoErr ) {&lt;BR /&gt; printf( "Error "%s" appear in ippsSplitC_8u_D2L function.
", ippGetStatusString( status ) );&lt;BR /&gt; return 1;&lt;BR /&gt; } /* if */&lt;BR /&gt; for( i = 0; i &amp;lt; numState; i++ ) {&lt;BR /&gt; *(nameState&lt;I&gt; + lenNameState&lt;I&gt;) = '&amp;#0;';&lt;BR /&gt; printf( "State %d: %s;
", i, (char*)(nameState&lt;I&gt;) );&lt;BR /&gt; } /* for */&lt;BR /&gt; return 0;&lt;BR /&gt;} /* main */&lt;BR /&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/IPPCORE.H&gt;&lt;/IPPCH.H&gt;&lt;/STDIO.H&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;This example should ouput on the screen:&lt;/P&gt;
&lt;P&gt;State 0: Alabama;&lt;BR /&gt;State 1: Alaska;&lt;BR /&gt;State 2: Arizona;&lt;BR /&gt;State 3: Arkansas;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 17 Oct 2005 22:48:42 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2005-10-17T22:48:42Z</dc:date>
    <item>
      <title>String split question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972879#M20715</link>
      <description>&lt;DIV&gt;Hi, I'm trying to use the functions ippsSplitC_8u_D2L or ippsSplitC_16u_D2L either with managed C++ or C#, but I'm not able to made them work, I've got problems with parameters.&lt;/DIV&gt;
&lt;DIV&gt;Does anybody have an example of how they work?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you very much in advance&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Marco&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Sep 2005 13:46:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972879#M20715</guid>
      <dc:creator>2dipikke</dc:creator>
      <dc:date>2005-09-29T13:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: String split question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972880#M20716</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;did you took a look on IPP C# sample, which demonstartes how to implement C# interface to IPP functions? It also contains interfaces to ippCH functions (string and text processing which you use)&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Oct 2005 00:25:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972880#M20716</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-10-11T00:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: String split question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972881#M20717</link>
      <description>&lt;DIV&gt;Yes, I did,but I've found just the DllImport declaration of the functions that use unsafe C# code with difficult to manage byte**.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Is there any sample code that show the right way to use them?&lt;/DIV&gt;
&lt;DIV&gt;Could you post some?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Oct 2005 14:09:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972881#M20717</guid>
      <dc:creator>2dipikke</dc:creator>
      <dc:date>2005-10-11T14:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: String split question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972882#M20718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;yes, our expert prepared such a simple sample specially for you:)&lt;FONT color="#0000ff" size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="msg_source_code"&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;IPPCH.H&gt;&lt;BR /&gt;#include &lt;IPPCORE.H&gt;&lt;BR /&gt;&lt;BR /&gt;int main() {&lt;BR /&gt; const Ipp8u States[] = "Alabama Alaska Arizona Arkansas California Colorado Connecticut";&lt;BR /&gt; Ipp8u buff[40];&lt;BR /&gt; Ipp8u* nameState[4] = { buff, buff + 10, buff + 20, buff + 30 };&lt;BR /&gt; int lenNameState[4]= { 10, 10, 10, 10 };&lt;BR /&gt; int i, numState = 4;&lt;BR /&gt; IppStatus status;&lt;BR /&gt;&lt;BR /&gt; status = ippsSplitC_8u_D2L( (Ipp8u*)States, sizeof(States) - 1, ' ', nameState, lenNameState, &amp;amp;numState );&lt;BR /&gt; if( status &amp;lt; ippStsNoErr ) {&lt;BR /&gt; printf( "Error "%s" appear in ippsSplitC_8u_D2L function.
", ippGetStatusString( status ) );&lt;BR /&gt; return 1;&lt;BR /&gt; } /* if */&lt;BR /&gt; for( i = 0; i &amp;lt; numState; i++ ) {&lt;BR /&gt; *(nameState&lt;I&gt; + lenNameState&lt;I&gt;) = '&amp;#0;';&lt;BR /&gt; printf( "State %d: %s;
", i, (char*)(nameState&lt;I&gt;) );&lt;BR /&gt; } /* for */&lt;BR /&gt; return 0;&lt;BR /&gt;} /* main */&lt;BR /&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/IPPCORE.H&gt;&lt;/IPPCH.H&gt;&lt;/STDIO.H&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;This example should ouput on the screen:&lt;/P&gt;
&lt;P&gt;State 0: Alabama;&lt;BR /&gt;State 1: Alaska;&lt;BR /&gt;State 2: Arizona;&lt;BR /&gt;State 3: Arkansas;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Oct 2005 22:48:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972882#M20718</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-10-17T22:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: String split question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972883#M20719</link>
      <description>&lt;P&gt;Im sorry, I could have sworn he was looking for managed code without pointers. I don't see any managed code here. No namespace, and managed C# has no use for headers. Great program, but maybe not quite what he was hoping for...&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ryan&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Oct 2005 03:54:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/String-split-question/m-p/972883#M20719</guid>
      <dc:creator>rmauldin</dc:creator>
      <dc:date>2005-10-18T03:54:43Z</dc:date>
    </item>
  </channel>
</rss>

