Search results

Results 1 – 20 of 37
Advanced search

Search in namespaces:

There is a page named "Talk:Strlen" on Wikipedia

View (previous 20 | ) (20 | 50 | 100 | 250 | 500)
  • approach" section? Instead we can simply note that it is possible to implement strlen() by working with the architecture's natural word size. The explanation...
    11 KB (1,767 words) - 19:27, 9 February 2024
  • sizeof(*Headers)*(HeaderCount+1)); (*Headers)[HeaderCount].Line=(char *)malloc(strlen(Line)+1); strcpy((*Headers)[HeaderCount].Line,Line); HeaderCount++; // printf("%s"...
    8 KB (837 words) - 10:52, 18 July 2009
  • are not very related. C++ does not have strlen per se; it inherits that function from C. As of PHP's strlen, it does not operate on C strings. PHP strings...
    25 KB (3,701 words) - 01:40, 12 June 2024
  • 7 January 2007 (UTC) --- Bla is also a programming language, see http://strlen.com/bla/index.html -- D. Gronau —Preceding unsigned comment added by 87...
    550 bytes (62 words) - 21:50, 10 July 2008
  • INT_MAX..." ...then you have much bigger problems than undefined behaviour of strlen(). 142.59.175.105 (talk) 14:25, 4 October 2008 (UTC) Indeed, the errors...
    2 KB (218 words) - 02:49, 7 February 2024
  • behavior of strlen() and sizeof(char). --Marc Kupper|talk 22:29, 9 October 2009 (UTC) I think you have strlen and mblen reversed. strlen on Windows returns...
    104 KB (17,102 words) - 09:22, 10 October 2023
  • anyone with access to the site."; string output; snappy::Compress(input, strlen(input), &output); cout << output; return 0; } You can compile this with...
    3 KB (446 words) - 06:05, 19 July 2024
  • fgets(a_, sizeof a_, fi)) != 0) { ++l; *strpbrk(s, "\r\n")= 0; if ((z= strlen(s)) <= x); else x= z; while (*s == ' ') ++s; if (!*s); else { if (!isdigit(*U(s)))...
    14 KB (2,208 words) - 19:46, 23 January 2024
  • behaviour). The only difference is if src is null-terminated and len > strlen(src), strncpy will pad with nulls but strlcpy won't. That isn't an information...
    6 KB (749 words) - 23:20, 2 February 2024
  • codeRedhanker (talk) 00:49, 21 April 2010 (UTC) I put some references to strlen and strcpy which have sample code.Spitzak (talk) 05:54, 21 April 2010 (UTC)...
    99 KB (15,769 words) - 02:53, 3 October 2023
  • (talk) 21:23, 5 November 2012 (UTC) What I am protesting is anybody saying "strlen does not return the number of characters and therefore you can't use UTF-8...
    13 KB (1,816 words) - 09:19, 12 February 2024
  • ptr2, size_t strlen, size_t maxlen, size_t minlen) { size_t result = minlen; while(result < maxlen && ptr1[strlen-1-result] == ptr2[strlen-1-result]) ++result;...
    53 KB (7,793 words) - 03:47, 5 April 2024
  • First, it is not allocating the correct length of characters: it should be strlen(dsgn) + 1. It's missing the "+ 1". Also, it's unsafe to call setDesignation...
    9 KB (1,337 words) - 03:58, 13 February 2024
  • \{-}\)}}\s*\(''\|\[\[\)\+\(.\{-}\)\(''\|\]\]\)\+/\=(submatch(1) ==# submatch(3) && strlen(submatch(1)) >= 2)?"|{{va|".submatch(1)."}}":submatch(0) Psiĥedelisto (talk...
    22 KB (2,312 words) - 22:18, 16 February 2024
  • ","",$test); if((strlen($test) > 4) && (strlen($test) < 8)) { $rval = substr($test, 0, strlen($test)-3) . str_repeat(' ', 7 - strlen($test)) . substr($test...
    46 KB (6,933 words) - 21:51, 17 July 2024
  • HA1, HASHLEN); MD5Update(&Md5Ctx, ":", 1); MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce)); ie, it places a colon before the nonce (like the Wikipedia article)...
    15 KB (1,960 words) - 09:52, 29 May 2024
  • -- it uses a 'invalid UTF-8' combination, to mark end of line, so that strlen/strcmp (which depend on \00 (NUL) ending the string). I'm not sure why this...
    98 KB (15,463 words) - 18:07, 3 February 2024
  • *bitap_bitwise_search(const char *text, const char *pattern) { int m = strlen(pattern); unsigned long R; unsigned long pattern_mask[CHAR_MAX+1]; int i;...
    12 KB (1,834 words) - 02:06, 28 January 2024
  • stop a whole army of uninformed but well-meaning programmers who think strlen() should parse and count the Unicode code points in a string. This is a...
    21 KB (3,247 words) - 18:03, 13 May 2024
  • MyString { public: MyString(const char *charArray) // Constructor { len = strlen(charArray); // Store length pData = new char[len+1]; // Allocate memory...
    15 KB (2,138 words) - 18:48, 31 January 2024
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)