Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.math

Topic: Brute Force EOS algorithm
Replies: 1   Last Post: Nov 12, 2012 5:25 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Helmut Wabnig

Posts: 58
Registered: 3/12/11
Re: Brute Force EOS algorithm
Posted: Nov 12, 2012 5:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Mon, 12 Nov 2012 01:19:25 -0800 (PST), Martin Musatov
<marty.musatov@gmail.com> wrote:

>#define EOS '\0'
>void BF(char *x, int m, char *y, int n) {
> char *yb;
> /* Searching */
> for (yb = y; *y != EOS; ++y)
> if (memcmp(x, y, m) == 0)
> OUTPUT(y - yb);
> (c) 2012 Brute Force EOS Musatov Algorithm All Rights Reserved
>Perpetually, may be posted in the public domain for educational only

You should patent this in the USA.
They are clever enough, to patent rounded corners
(apple iPhone)
so they will joyfully patent your crap, if you pay them.
No, I did not say, USA are corrupt, no.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.