403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/Windows Kits/10/Source/10.0.19041.0/ucrt/string/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files (x86)/Windows Kits/10/Source/10.0.19041.0/ucrt/string//wcsspn.cpp
//
// wcsspn.cpp
//
//      Copyright (c) Microsoft Corporation.  All rights reserved.
//
// Defines wcsspn(), which finds the length of the initial substring of 'string'
// that consists entirely of characters in 'control'.  This function returns the
// index of the first character in the string that does not belong to the set of
// characters in the control string.  If there is no such character, the length
// of the string is returned.
//
#include <string.h>



extern "C" size_t __cdecl wcsspn(
    wchar_t const* const string,
    wchar_t const* const control
    )
{
    wchar_t const* string_it = string;
    for (; *string_it; ++string_it)
    {
        for (wchar_t const* control_it = control; *string_it != *control_it; ++control_it)
        {
            // Reached the end of the control string without finding a match:
            if (*control_it == 0)
            {
                return static_cast<size_t>(string_it - string);
            }
        }
    }

    // The whole string consisted of characters from the control:
    return static_cast<size_t>(string_it - string);
}

Youez - 2016 - github.com/yon3zu
LinuXploit