text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```c++
//
// argv_mode.cpp
//
//
// Gets the default argv population mode, used during executable startup. This
// behavior is overridable at link-time by linking with one of the link options.
//
#include <vcruntime_startup.h>
extern "C" _crt_argv_mode __CRTDECL _get_startup_argv_mode()
{
return _crt_argv_unexp... | /content/code_sandbox/src/14.0.23918/vcruntime/argv_mode.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 82 |
```c++
//
// exe_winmain.cpp
//
//
// The WinMainCRTStartup() entry point, linked into a client executable that
// uses WinMain().
//
#define _SCRT_STARTUP_WINMAIN
#include "exe_common.inl"
extern "C" int WinMainCRTStartup()
{
return __scrt_common_main();
}
``` | /content/code_sandbox/src/14.0.23918/vcruntime/exe_winmain.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 69 |
```c++
//
// All rights reserved.
//
#include "pch.h"
#pragma hdrstop
namespace Platform
{
CPPCLI_FUNC SizeT::SizeT(void* pv)
{
_value = pv;
}
CPPCLI_FUNC SizeT::SizeT(int32 n)
{
_value = (void*)n;
}
}
``` | /content/code_sandbox/src/14.0.23918/vccorlib/sizet.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 71 |
```c
/*++
Module Name:
jbcxrval.c
Abstract:
This module implements C support code for jump buffer and context record
validation.
Author:
Ken Johnson (kejohns) 27-Apr-2013
Environment:
Kernel mode only.
--*/
#include <vcruntime_internal.h>
#include <stdlib.h>
#if !(defined(NTOS_KERNEL_RUN... | /content/code_sandbox/src/14.0.23918/vcruntime/jbcxrval.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 784 |
```c++
/***
*ManagedMain.cpp - Initialization for Windows EXE using CRT DLL and managed entry point
*
*
*Purpose:
* This is the startup routine for applications using the managed entry
* point int __clrcall main(array<String^>^).
* It calls the user's main routine after performing C Run-Time Library i... | /content/code_sandbox/src/14.0.23918/vcruntime/ManagedMain.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 150 |
```c++
//
// noarg.cpp
//
//
// A link option that suppresses argument processing during startup. If this
// link option is used, argv is left empty when main() is called and the global
// environment state (__argv and friends) are not initialized.
//
#include <vcruntime_startup.h>
extern "C" _crt_argv_mode __CRTDE... | /content/code_sandbox/src/14.0.23918/linkopts/noarg.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 143 |
```c++
//
// winapi_thunks.cpp
//
//
// Definitions of wrappers for Windows API functions that cannot be called
// by the statically-linked CRT code because they are not part of the MSDK.
//
#include <vcruntime_internal.h>
#if defined _CRT_APP && !defined _DEBUG
#define USE_ONLY_MSDK_APIS
#endif
extern "C" DWORD ... | /content/code_sandbox/src/14.0.23918/vcruntime/winapi_thunks.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 413 |
```c++
//
// All rights reserved.
//
#include "pch.h"
#pragma warning( disable: 4073 ) // initializers put in library initialization area
#pragma init_seg( lib )
#include <restrictederrorinfo.h>
#include <roerrorapi.h>
int __abi___threading_model = _VCCORLIB_THREADING_MODEL_DEFAULT;
__abi_Module* __abi_module = nul... | /content/code_sandbox/src/14.0.23918/vccorlib/init.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,236 |
```c++
//
// commit_mode.cpp
//
//
// Gets the default commit mode, used during executable startup. This behavior
// is overridable at link-time by linking with one of the link options.
//
#include <vcruntime.h>
extern "C" int __CRTDECL _get_startup_commit_mode()
{
return 0; // No commit
}
``` | /content/code_sandbox/src/14.0.23918/vcruntime/commit_mode.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 75 |
```objective-c
//
// vcruntime_internal.h
//
//
// Declarations and definitions of things used internally by the VCRuntime.
//
#pragma once
#if !defined _VCRT_BUILD && !defined _VCRT_ALLOW_INTERNALS
// This is an internal C Runtime header file. It is used when building the
// C Runtime only. It is not to be ... | /content/code_sandbox/src/14.0.23918/vcruntime/vcruntime_internal.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,938 |
```objective-c
#ifndef __ISA_AVAILABILITY__H__
#define __ISA_AVAILABILITY__H__
/*
* These are defines for the extern "__isa_available" defined in the CRT,
* which defines the latest instruction set available for use. The compiler
* backend reads this file to emit vector code for specific microarchitectures.
*
* A... | /content/code_sandbox/src/14.0.23918/vcruntime/isa_availability.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 415 |
```c++
#if defined(_DLL)
#ifdef CRTDLL2
#undef CRTDLL2
#endif
#ifdef MRTDLL
#undef MRTDLL
#endif
#define STDCPP_IMPLIB 1
// When building for msvcmrt.lib, inject a dependency to the msvcp DLL.
#if defined _M_CEE && !defined _M_CEE_PURE
#ifdef _CRTBLD
#define _CRTBLD_WAS_DEFINED
#undef _CRTBLD
#endif
#include ... | /content/code_sandbox/src/14.0.23918/vcruntime/locale0_implib.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 158 |
```c++
//
// All rights reserved.
//
#include <crtdbg.h>
// From <vccorlib.h>, which we cannot include here
#define _VCCORLIB_THREADING_MODEL_DEFAULT 0
#define _VCCORLIB_THREADING_MODEL_STA 1
#define _VCCORLIB_THREADING_MODEL_MTA 2
#define _VCCORLIB_THREADING_MODEL_OVERRIDE 3
extern int __abi___threading_m... | /content/code_sandbox/src/14.0.23918/vccorlib/tmsta.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 503 |
```c
/***
*guard_support.c - logic and globals to support the Guard security feature
*
*
*Purpose:
* Define the globals and default check routine for the Guard security
* feature.
*
* N.B. Code and data declared by this module must be in the form of
* selectany COMDATs, so that duplicate ... | /content/code_sandbox/src/14.0.23918/vcruntime/guard_support.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 519 |
```c++
#include "msvcrt_IAT.h"
#ifdef _ATL_XP_TARGETING
#ifdef _M_IX86
//_LCRT_DEFINE_IAT_SYMBOL_EXTERN(_seh_longjmp_unwind4_downlevel@4);
_LCRT_DEFINE_IAT_SYMBOL_EXTERN(_local_unwind4_downlevel);
//_LCRT_DEFINE_IAT_SYMBOL_EXTERN(_except_handler4_common_downlevel);
//_LCRT_DEFINE_IAT_SYMBOL_EXTERN(_ftol2_sse_excpt_d... | /content/code_sandbox/src/vc_msvcrt_IAT.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 227 |
```c++
//
// All rights reserved.
//
#include "pch.h"
CPPCLI_FUNC void __stdcall FlushFactoryCache();
CPPCLI_FUNC void EnableFactoryCache();
void DisableFactoryCache();
__abi_Module* __abi_module = nullptr;
#include "crtdefs.h"
#include <corecrt_startup.h>
__declspec(noreturn) __declspec(dllexport) void __stdcall ... | /content/code_sandbox/src/14.0.23918/vccorlib/vccorlib.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 723 |
```c
/***
*gs_cookie.c - defines buffer overrun security cookie
*
*
*Purpose:
* Defines per-module global variable __security_cookie, which is used
* by the /GS compile switch to detect local buffer variable overrun
* bugs/attacks.
*
* When compiling /GS, the compiler injects code to detect when... | /content/code_sandbox/src/14.0.23918/vcruntime/gs_cookie.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 353 |
```c++
/***
*ehstate.cpp
*
*
*/
#include <eh.h>
#include <ehassert.h>
#include <ehdata.h> // Declarations of all types used for EH
#include <ehhooks.h>
#include <ehstate.h>
#include <trnsctrl.h>
#include <windows.h>
__ehstate_t __StateFromIp(
FuncInfo *pFuncInfo,
DispatcherContext *pDC,
... | /content/code_sandbox/src/14.0.23918/arm/ehstate.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 966 |
```c++
//
// All rights reserved.
//
#include "pch.h"
int __cdecl main(Platform::Array<Platform::String^>^ arg); //User defined main function
#if defined(_GUARDED_CRT)
// define entry point wrappers for the main above
extern "C" void _guard_init();
int _guardES_main(Platform::Array<Platform::String^>^)
{
// in... | /content/code_sandbox/src/14.0.23918/vccorlib/climain.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 294 |
```c++
//
// thread_safe_statics.cpp
//
//
// Helper functions used by thread-safe static initialization.
//
#ifdef _M_CEE
#error This file cannot be built as managed
#endif
#include <vcstartup_internal.h>
#include <vcruntime_internal.h>
#include <awint.h>
#include <limits.h>
#include <sdkddkver.h>
int const Unin... | /content/code_sandbox/src/14.0.23918/vcruntime/thread_safe_statics.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,786 |
```objective-c
/***
*ehdata.h -
*
*
*Purpose:
* Declare misc. types, macros, etc. for implementation
* of C++ Exception Handling for the run-time and the compiler.
* Hardware independent, assumes Windows NT.
*
* Portions of this header file can be disabled by defining the following
* macros:
* _EHDATA_NOHEADERS - suppr... | /content/code_sandbox/src/14.0.23918/ehdata.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 13,444 |
```c++
//
// new_array_nothrow.cpp
//
//
// Defines the array operator new, nothrow overload.
//
#include <vcruntime_internal.h>
#include <vcruntime_new.h>
void* __CRTDECL operator new[](size_t const size, std::nothrow_t const& x) noexcept
{
return operator new(size, x);
}
/*
* Consult your license regarding... | /content/code_sandbox/src/14.0.23918/vcruntime/new_array_nothrow.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 90 |
```c
/*++
Module Name:
chandler.c
Abstract:
This module implements the C specific exception handler that provides
structured condition handling for the C language.
--*/
#include <vcruntime_internal.h>
#include <winternl.h>
#include <vcwininternls.h>
VOID
_NLG_Notify (
IN PVOID uoffDestination,
... | /content/code_sandbox/src/14.0.23918/arm/chandler.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,257 |
```c++
//
// All rights reserved.
//
#include "pch.h"
int __cdecl _main();
int __cdecl main()
{
return _main();
}
``` | /content/code_sandbox/src/14.0.23918/vccorlib/main.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 30 |
```c
//
// dyn_tls_init.c
//
//
// This source file provides a fallback definition of __dyn_tls_init_callback,
// used whenever TLS initialization is not required.
//
// This relies on a feature of the C compiler known as "communal variables."
// This does not work in C++, and the linker's alternatename features is not... | /content/code_sandbox/src/14.0.23918/vcruntime/dyn_tls_init.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 136 |
```c++
/***
*trnsctrl.cpp -
*
*
*Purpose:
****/
#include <vcruntime_internal.h>
#include <eh.h>
#include <ehassert.h>
#include <ehdata.h>
#include <ehhooks.h>
#include <ehstate.h>
#include <trnsctrl.h>
#define pFrameInfoChain (*((FRAMEINFO **) &(__vcrt_getptd()->_pFrameInfoChain)))
#define _ImageBase (__v... | /content/code_sandbox/src/14.0.23918/arm/trnsctrl.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 4,413 |
```c
/***
*loadcfg.c
*
*
*Purpose:
* Defines the default load config struct linked into images.
*
*******************************************************************************/
#include <windows.h>
extern UINT_PTR __security_cookie; /* /GS security cookie */
extern PVOID __guard_check_icall_fptr;
#if defined... | /content/code_sandbox/src/14.0.23918/vcruntime/loadcfg.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 396 |
```c
//
// huge.c
//
//
extern unsigned int const _HUGE[2] = { 0x00000000, 0x7ff00000 };
``` | /content/code_sandbox/src/14.0.23918/vcruntime/huge.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 35 |
```c
/***
*mpxinit.c - Helper routine to initialize the bounds of statically initialized global pointers
*
*
*Purpose:
* This function is called by the compiler in a dynamic initializer
* to initialize the bounds of global pointers which are statically
* initialized. It takes two arguments - 1) a list... | /content/code_sandbox/src/14.0.23918/vcruntime/mpxinit.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 421 |
```c++
//
// legacy_stdio_wide_specifiers_pure.cpp
//
//
// Fallback for legacy_stdio_wide_specifiers link option.
//
#include <vcstartup_internal.h>
extern "C" void __clrcall __scrt_initialize_legacy_stdio_wide_specifier_mode()
{
// No-op
}
``` | /content/code_sandbox/src/14.0.23918/vcruntime/legacy_stdio_wide_specifiers_pure.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 64 |
```assembly
title llshr - long shift right
;***
;llshr.asm - long shift right
;
;
;Purpose:
; define signed long shift right routine
; __allshr
;
;*******************************************************************************
.xlist
include vcruntime.inc
include mm.inc
.list
;***
;llshr - ... | /content/code_sandbox/src/14.0.23918/i386/llshr.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 384 |
```c++
//
// All rights reserved.
//
#include "pch.h"
// Defines all compiler depended data
//Verify the structure sizes and entries for WRL and MoCOM
//Verify factory cache sturcture
static_assert(sizeof(Microsoft::WRL::Details::FactoryCache) == sizeof(__abi___FactoryCache), "Wrong size of FactoryCache/__abi___Fact... | /content/code_sandbox/src/14.0.23918/vccorlib/compiler.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 640 |
```assembly
;***
;dllsupp.asm - Definitions of public constants
;
;
;Purpose:
; Provides definitions for public constants (absolutes) that are
; 'normally' defined in objects in the C library, but must be defined
; here for clients of the CRT DLL. These constants are:
;
; _e... | /content/code_sandbox/src/14.0.23918/i386/dllsupp.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 163 |
```c++
/***
*mehvecdtr.cxx - EH-aware version of destructor iterator helper function
*
*
*Purpose:
* These functions are called when constructing and destructing arrays of
* objects. Their purpose is to assure that constructed elements get
* destructed if the constructor for one of the elements throw... | /content/code_sandbox/src/mehvecdtr.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 138 |
```c++
//
// exe_wmain.cpp
//
//
// The wmainCRTStartup() entry point, linked into client executables that
// uses wmain().
//
#define _SCRT_STARTUP_WMAIN
#include "exe_common.inl"
extern "C" int wmainCRTStartup()
{
return __scrt_common_main();
}
``` | /content/code_sandbox/src/14.0.23918/vcruntime/exe_wmain.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 69 |
```assembly
;***
;dllsupp.asm - Definitions of public constants
;
;
;Purpose:
; Provides definitions for public constants (absolutes) that are
; 'normally' defined in objects in the C library, but must be defined
; here for clients of msvcr*.dll. These constants are:
;
; _fl... | /content/code_sandbox/src/14.0.23918/arm/dllsupp.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 119 |
```assembly
;***
;ehprolog.asm - defines __EH_prolog
;
;
;Purpose:
; EH prolog helper function. Sets up the frame for a C++ EH function
; with unwinds, by creating a link in the __except_list, and by setting
; up EBP as frame base pointer.
;
;*********************************************************... | /content/code_sandbox/src/14.0.23918/i386/ehprolog.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 265 |
```c++
//
// All rights reserved.
//
#include "pch.h"
#pragma hdrstop
#pragma warning(disable: 4672 4673)
namespace Platform { namespace Details {
volatile HANDLE __abi_heap = nullptr;
volatile long __abi_heap_objectcount = 0;
volatile long __abi_heap_object_counter = 0;
volatile LPCRITICAL_SECTION __abi_heap_c... | /content/code_sandbox/src/14.0.23918/vccorlib/heap.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 4,579 |
```c++
//
// legacy_stdio_definitions.cpp
//
//
// Provides external definitions of the inline stdio printf and scanf functions
// for use by objects compiled with older versions of the CRT headers.
//
// Our references to "unsafe" functions count as "use" so we need to suppress
// the deprecation warnings. Note that... | /content/code_sandbox/src/14.0.23918/linkopts/legacy_stdio_definitions.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,139 |
```c++
//
// nothrownew.cpp
//
//
// Defines C++ new routines that return nullptr on failure instead of throwing.
//
#include <vcstartup_internal.h>
#include <malloc.h>
#include <new.h>
void* operator new(size_t size)
{
for (;;)
{
if (void* const block = malloc(size))
return block;
... | /content/code_sandbox/src/14.0.23918/linkopts/nothrownew.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 232 |
```c++
/***
*ptrust.cpp - Generate startup code for use in partial trust scenario
*
*
*Purpose:
*
*******************************************************************************/
#define _PARTIAL_TRUST_OBJ
#include "mstartup.cpp"
#if defined (_M_CEE_MIXED)
#ifdef _DEBUG
#pragma comment(linker, "/nodefaultlib:msvcmrt... | /content/code_sandbox/src/14.0.23918/vcruntime/ptrust.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 212 |
```c
/***
*pesect.c - PE image header routines
*
*
*Purpose:
* Defines routines that query info from a PE image header. Because
* one of these queries the current PE image, via the linker-defined
* variable __ImageBase, this object must be a static-link component
* of any C Runtime library.
*
*... | /content/code_sandbox/src/14.0.23918/vcruntime/pesect.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,277 |
```c++
//
// All rights reserved.
//
#include "pch.h"
#pragma hdrstop
#include <memory>
#include <restrictederrorinfo.h>
#include <roerrorapi.h>
#include <string>
#pragma warning(disable:4483)
template <class _E> void *__GetExceptionInfo(_E); // This is a built-in c1xx template function to get the
// ThrowInfo fo... | /content/code_sandbox/src/14.0.23918/vccorlib/exceptions.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 4,973 |
```c
/***
*memchr.c - search block of memory for a given character
*
*
*Purpose:
* defines memchr() - search memory until a character is
* found or a limit is reached.
*
*******************************************************************************/
#include <string.h>
#ifdef _M_ARM
#pragma function(mem... | /content/code_sandbox/src/14.0.23918/vcruntime/memchr.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 269 |
```c
/***
*strrchr.c - find last occurrence of character in string
*
*
*Purpose:
* defines strrchr() - find the last occurrence of a given character
* in a string.
*
*******************************************************************************/
#include <vcruntime_internal.h>
/***
*char *strrchr(string,... | /content/code_sandbox/src/14.0.23918/vcruntime/strrchr.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 272 |
```assembly
title llrem - signed long remainder routine
;***
;llrem.asm - signed long remainder routine
;
;
;Purpose:
; defines the signed long remainder routine
; __allrem
;
;*******************************************************************************
.xlist
include vcruntime.inc
include... | /content/code_sandbox/src/14.0.23918/i386/llrem.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,709 |
```objective-c
//
// internal_shared.h
//
//
// Header-only utilities used by both the VCRuntime and the CoreCRT.
//
#pragma once
#include <crtdbg.h>
#include <intrin.h>
#include <malloc.h>
#include <stdlib.h>
#include <vcruntime.h>
#include <windows.h>
_CRT_BEGIN_C_HEADER
extern IMAGE_DOS_HEADER __ImageBase;
/... | /content/code_sandbox/src/14.0.23918/vcruntime/internal_shared.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 5,649 |
```c++
//
// iso_stdio_wide_specifiers.cpp
//
//
// Configures the stdio library to use the confroming %s, %c, and %[] specifiers for
// the wide string printf and scanf functions. The conforming behavior
// is that these format specifiers map to a narrow character buffer; the 'l' length
// modifier must be used when ... | /content/code_sandbox/src/14.0.23918/linkopts/iso_stdio_wide_specifiers.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 359 |
```objective-c
/***
*minternal.h - contains declarations of managed internal routines and variables
*
*
*Purpose:
* Declares routines and variables used internally by the C run-time.
*
* [Internal]
*
****/
//
// _CPP_MSTARTUP indicates that the file is included from mstartup.cpp
// _PARTIAL_TRUST_OBJ... | /content/code_sandbox/src/14.0.23918/vcruntime/minternal.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 3,229 |
```c++
/***
*tlsdyn.c - Thread Local Storage dynamic initialization run-time support module
*
*
*Purpose:
* Provide the TLS equivalent of DllMainCRTStartup, to be called by the
* OS when a thread begins or ends. On thread start, walk the list of
* pointers to initialization routines for dynamically-i... | /content/code_sandbox/src/14.0.23918/vcruntime/tlsdyn.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 951 |
```assembly
title lldiv - signed long divide routine
;***
;lldiv.asm - signed long divide routine
;
;
;Purpose:
; defines the signed long divide routine
; __alldiv
;
;*******************************************************************************
.xlist
include vcruntime.inc
include mm.inc
.... | /content/code_sandbox/src/14.0.23918/i386/lldiv.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,630 |
```c
/***
*strstr.c - search for one string inside another
*
*
*Purpose:
* defines strstr() - search for one string inside another
*
*******************************************************************************/
#include <vcruntime_internal.h>
/***
*char *strstr(string1, string2) - search for string2 in strin... | /content/code_sandbox/src/14.0.23918/vcruntime/strstr.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 286 |
```c++
/***
*mehvecdtr.cxx - EH-aware version of destructor iterator helper function
*
*
*Purpose:
* These functions are called when constructing and destructing arrays of
* objects. Their purpose is to assure that constructed elements get
* destructed if the constructor for one of the elements throw... | /content/code_sandbox/src/14.0.23918/vcruntime/mehvecdtr.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 116 |
```c++
/***
*ehvecctr.cpp - EH-aware version of constructor iterator helper function
*
*
*Purpose:
* These functions are called when constructing and destructing arrays of
* objects. Their purpose is to assure that constructed elements get
* destructed if the constructor for one of the elements throw... | /content/code_sandbox/src/14.0.23918/vcruntime/ehvecctr.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 634 |
```c++
#include <Windows.h>
#include <ptd_downlevel.h>
static ptd_downlevel ___ptd_downlevel_data[0x4000];
EXTERN_C ptd_downlevel* __fastcall __LTL_get_ptd_downlevel()
{
return &___ptd_downlevel_data[(GetCurrentThreadId() >> 1) % _countof(___ptd_downlevel_data)];
}
static VOID NTAPI ptd_downlevel_TLS_CALLBACK(
P... | /content/code_sandbox/src/ptd_downlevel.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 220 |
```c++
//
// delete_array_size.cpp
//
//
// Defines the array operator delete, size_t overload.
//
#include <vcruntime_internal.h>
#include <vcruntime_new.h>
void __CRTDECL operator delete[](void* block, size_t) noexcept
{
operator delete[](block);
}
``` | /content/code_sandbox/src/14.0.23918/vcruntime/delete_array_size.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 62 |
```c++
/***
*mbsearch.cpp - do a binary search
*
*
*Purpose:
* defines bsearch() - do a binary search an an array
*
*******************************************************************************/
#ifndef _M_CEE
#error This file should only be compiled as managed code.
#endif
#undef MRTDLL
#include "bsearch... | /content/code_sandbox/src/14.0.23918/vcruntime/mbsearch.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 95 |
```c
/*++
Module Name:
helpexcept.c
Abstract:
This module contains support routines for generating exceptions
for helper functions.
Author:
Aaron Giles (aarongi) 26-March-2010
--*/
#include <windows.h>
#include "fpieee.h"
#define CPVFP_FPSCR 10, 7, 1, 0, 0
UINT64
__fphelper_raise... | /content/code_sandbox/src/14.0.23918/arm/helpexcept.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,786 |
```c++
//
// delete_scalar_size.cpp
//
//
// Defines the scalar operator delete, size_t overload.
//
#include <vcruntime_internal.h>
#include <vcruntime_new.h>
void __CRTDECL operator delete(void* block, size_t) noexcept
{
operator delete(block);
}
``` | /content/code_sandbox/src/14.0.23918/vcruntime/delete_scalar_size.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 60 |
```assembly
;***
;
;
; Derived from CE
;
; int
; memcmp( const void *r0, const void *r1, size_t r2 );
;
; The memcmp function compares the first r2 bytes of r0
; and r1 and returns a value indicating their relationship.
; < 0 if r0 less than r1
; == 0 if r0 identical to r1
; > 0 if r0 greater than ... | /content/code_sandbox/src/14.0.23918/arm/memcmp.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 813 |
```c++
//
// new_scalar.cpp
//
//
// Defines the scalar operator new.
//
#include <stdlib.h>
#include <vcruntime_new.h>
#include <vcstartup_internal.h>
// Enable the compiler to elide null checks during LTCG
#pragma comment(linker, "/ThrowingNew")
void* __CRTDECL operator new(size_t const size)
{
for (;;)
{
... | /content/code_sandbox/src/14.0.23918/vcruntime/new_scalar.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 187 |
```assembly
TTL ARM /GS cookie check compiler helper
;++
;
;
; Module Name:
;
; secpushpop.asm
;
; Abstract:
;
; ARM security cookie push & pop helpers
;
; Purpose:
; ARM prologue & epilogue helpers to save code size in functions
; with /GS cookies.
;
#include "ksarm.h"
TEXTAREA
I... | /content/code_sandbox/src/14.0.23918/arm/secpushpop.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 559 |
```c++
//
// legacy_conio_definitions.cpp
//
//
// Provides external definitions of the inline conio printf and scanf functions
// for use by objects compiled with older versions of the CRT headers.
//
// Our references to "unsafe" functions count as "use" so we need to suppress
// the deprecation warnings. Note that... | /content/code_sandbox/src/legacy_conio_definitions.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 4,805 |
```c++
/***
*crtexe.c - Initialization for console EXE using CRT DLL
*
*
*Purpose:
* This is the actual startup routine for apps linking to the CRT DLL.
* It calls the user's main routine [w]main() or [w]WinMain after
* performing C Run-Time Library initialization.
*
* With ifdefs, this source f... | /content/code_sandbox/src/14.0.23918/vcruntime/mcrtexe.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 3,684 |
```c++
/***
*ehvecdtr.cxx - EH-aware version of destructor iterator helper function
*
*
*Purpose:
* These functions are called when constructing and destructing arrays of
* objects. Their purpose is to assure that constructed elements get
* destructed if the constructor for one of the elements throws... | /content/code_sandbox/src/14.0.23918/vcruntime/ehvecdtr.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 979 |
```assembly
TTL "Runtime Stack Checking"
;++
;
;
; Module Name:
;
; chkstk.asm
;
; Abstract:
;
; This module implements runtime stack checking.
;
;--
#include "ksarm.h"
TEXTAREA
SUBT "Check Stack"
;++
;
; ULONG
; __chkstk (
; VOID
; )
;
; Routine Description:
;
; This functio... | /content/code_sandbox/src/14.0.23918/arm/chkstk.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 977 |
```objective-c
#pragma once
#include <vcruntime_internal.h>
#include <corecrt_internal.h>
#include <trnsctrl.h>
#define EHTRACE_ENTER_FMT1(...)
#define EHTRACE_ENTER_FMT2(...)
#define EHTRACE_FMT1(...)
#define EHTRACE_FMT2(...)
#define EHTRACE_ENTER
#define EHTRACE_EXIT
#define EHTRACE_EXCEPT(x) x
#define EHTRACE_HAN... | /content/code_sandbox/src/ehhooks.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 877 |
```c++
//
// All rights reserved.
//
#include "pch.h"
#pragma hdrstop
#include <ctxtcall.h>
namespace Platform
{
namespace Details
{
#pragma warning(push)
#pragma warning(disable: 4510) // default constructor could not be generated
#pragma warning(disable: 4512) // assignment operator could not be generated
#pragm... | /content/code_sandbox/src/14.0.23918/vccorlib/agile.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 754 |
```objective-c
#ifndef _LTL_ptd_downlevel
#define _LTL_ptd_downlevel
struct ptd_downlevel
{
_invalid_parameter_handler _thread_local_iph;
#if defined (_M_IA64) || defined (_M_AMD64) || defined (_M_ARM64) || defined (_M_ARM)
void* _pForeignException;
uintptr_t _ImageBase;
uintptr_t _ThrowImageBase;
#endif
int... | /content/code_sandbox/src/ptd_downlevel.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 180 |
```c++
//
// All rights reserved.
//
#include "pch.h"
int __cdecl _main();
int CALLBACK WinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPSTR, _In_ int)
{
return _main();
}
``` | /content/code_sandbox/src/14.0.23918/vccorlib/winmain.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 53 |
```c++
//
// lconv_unsigned_char_static.cpp
//
//
// lconv initialization used to support an unsigned 'char' type (enabled by the
// -J flag during compilation). See lconv_unsigned_char_initialization.cpp for
// an explanation of how this works.
//
// Note: this file is linked statically into user binaries.
//
#inclu... | /content/code_sandbox/src/14.0.23918/vcruntime/lconv_unsigned_char.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 142 |
```assembly
;***
;handlers.asm
;
;
;*******************************************************************************
#include "ksarm.h"
; CallSettingFrame
;
; this version restores and preserves the permanent register
; state of the funclet
;
; as the funclet returns to this function, it
; would be possible to insert ... | /content/code_sandbox/src/14.0.23918/arm/handlers.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 505 |
```c++
//
// winapi_downlevel.cpp
//
//
// Definitions of wrappers for Windows API functions that cannot be called
// directly because they are not available on all supported operating systems.
//
#include <vcruntime_internal.h>
#if defined _VCRT_WINDOWS_BUILD || (!defined _ONECORE && _VCRT_WIN32_WINNT < _WIN32_WINNT_... | /content/code_sandbox/src/14.0.23918/vcruntime/winapi_downlevel.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 3,134 |
```assembly
title ulldiv - unsigned long divide routine
;***
;ulldiv.asm - unsigned long divide routine
;
;
;Purpose:
; defines the unsigned long divide routine
; __aulldiv
;
;*******************************************************************************
.xlist
include vcruntime.inc
include... | /content/code_sandbox/src/14.0.23918/i386/ulldiv.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,237 |
```c++
//
// env_mode.cpp
//
//
// Specifies whether the environment should be initialized.
// This behavior is overridable at link-time by linking with noenv.obj.
//
#include <vcruntime_startup.h>
extern "C" bool __CRTDECL _should_initialize_environment()
{
return true;
}
``` | /content/code_sandbox/src/14.0.23918/vcruntime/env_mode.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 63 |
```c++
/***
*rtti.cxx - C++ runtime type information
*
*
*Purpose:
* Implementation of C++ standard runtime type information
****/
#ifdef _M_CEE_PURE
#undef CRTDLL
#undef MRTDLL
#endif // _M_CEE_PURE
#include <rtti.h>
#include <vcruntime_typeinfo.h>
#include <windows.h>
#if defined(_WIN64) && !defined... | /content/code_sandbox/src/14.0.23918/vcruntime/rtti.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 8,854 |
```objective-c
#pragma once
#include <suppress.h>
#ifndef __WARNING_UNUSED_ASSIGNMENT
#define __WARNING_UNUSED_ASSIGNMENT 28931
#endif
``` | /content/code_sandbox/src/suppress-ltl.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 27 |
```c++
/***
*wcrtexe.c - Initialization for console EXE using CRT DLL, wchar_t version
*
*
*Purpose:
* This is the actual startup routine for console apps using wide
* characters. It calls the user's main routine wmain() after
* performing C Run-Time Library initialization.
*
************************... | /content/code_sandbox/src/14.0.23918/vcruntime/mwcrtexe.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 129 |
```c
//
// gs_report.c
//
//
// Definitions of functions used to report a security check failure. This file
// corresponds to gs_report.c in the Windows sources.
//
#include <vcruntime_internal.h>
#define STATUS_SECURITY_CHECK_FAILURE STATUS_STACK_BUFFER_OVERRUN
extern UINT_PTR __security_cookie;
extern UINT_PTR... | /content/code_sandbox/src/14.0.23918/vcruntime/gs_report.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 4,550 |
```c++
//
// matherr.cpp
//
//
// This object provides a default definition of the _matherr function. This
// definition may be substituted by the client by redefining it. The flag
// __scrt_default_matherr has a value of 1 if this object is used (it has a
// value of 0 otherwise, via an alternate definition.
//
#inc... | /content/code_sandbox/src/14.0.23918/vcruntime/matherr.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 128 |
```c++
//
// loosefpmath.cpp
//
//
// A link option that sets the DAZ and FTZ bits for SSE2 architectures.
//
#include <float.h>
extern "C" void __CRTDECL _initialize_denormal_control()
{
_controlfp_s(nullptr, _DN_FLUSH, _MCW_DN);
}
``` | /content/code_sandbox/src/14.0.23918/linkopts/loosefpmath.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 68 |
```c++
//
// All rights reserved.
//
#include "pch.h"
#include <wrl\wrappers\corewrappers.h>
#include <wrl\client.h>
#include <agile.h>
#include <memory>
#include <roerrorapi.h>
#pragma hdrstop
namespace Platform { namespace Details {
typedef struct {
SRWLOCK targetsLock;
SRWLOCK addRemoveLock;
} EventLockInte... | /content/code_sandbox/src/14.0.23918/vccorlib/eventsource.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,853 |
```c++
/***
*wcrtexew.c - Initialization for Windows EXE using CRT DLL, wchar_t version
*
*
*Purpose:
* This is the actual startup routine for Windows apps using wide
* characters. It calls the user's main routine wWinMain() after
* performing C Run-Time Library initialization.
*
********************... | /content/code_sandbox/src/14.0.23918/vcruntime/mcrtexew.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 96 |
```c++
//
// commode.cpp
//
//
// A link option that defaults the global commit flag to true.
//
#include <vcruntime.h>
#include <fcntl.h>
extern "C" int __CRTDECL _get_startup_commit_mode()
{
return 0x0800; // _IOCOMMIT
}
``` | /content/code_sandbox/src/14.0.23918/linkopts/commode.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 65 |
```c++
//
// All rights reserved.
//
#include "pch.h"
#pragma hdrstop
namespace Platform { namespace Details {
VCCORLIB_API void ControlBlock::ReleaseTarget()
{
// called by __abi_release after calling the destructor of object
if (!__bSingleAllocation && __strongRefCount < 0 && __target != nullptr)
{
if (... | /content/code_sandbox/src/14.0.23918/vccorlib/weakreference.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 813 |
```c++
//
// denormal_control.cpp
//
//
// Initializes the denormal mode to the default state. This behavior is
// overridable at link-time by linking with one of the link options.
//
#include <vcruntime.h>
extern "C" void __CRTDECL _initialize_denormal_control()
{
// No-op
}
``` | /content/code_sandbox/src/14.0.23918/vcruntime/denormal_control.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 71 |
```objective-c
//
// vcstartup_internal.h
//
//
// Declarations and utilities used by the statically-linked CRT startup code.
//
#pragma once
#include <corecrt_startup.h>
#include <internal_shared.h>
#include <intrin.h>
#include <process.h>
#include <vcruntime_startup.h>
#include <windows.h>
//-+-+-+-+-+-+-+-+-+-+-... | /content/code_sandbox/src/14.0.23918/vcruntime/vcstartup_internal.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 3,314 |
```c++
//
// fltused.cpp
//
//
// Default definition of _fltused.
//
extern "C" int _fltused{0x9875};
``` | /content/code_sandbox/src/14.0.23918/vcruntime/fltused.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 33 |
```c++
//
// wsetargv.cpp
//
//
// A link option that enables wildcard expansion for the arguments to main().
//
#include <vcruntime_startup.h>
extern "C" _crt_argv_mode __CRTDECL _get_startup_argv_mode()
{
return _crt_argv_expanded_arguments;
}
``` | /content/code_sandbox/src/14.0.23918/linkopts/wsetargv.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 63 |
```c++
/***
*tlssup.c - Thread Local Storage run-time support module
*
*
*Purpose:
*
****/
#undef CRTDLL
#undef MRTDLL
#include <internal_shared.h>
#include <windows.h>
extern "C" {
/* Thread Local Storage index for this .EXE or .DLL */
ULONG _tls_index = 0;
/* Special symbols to mark start and end of Thread Loca... | /content/code_sandbox/src/14.0.23918/vcruntime/tlssup.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 603 |
```c++
//
// All rights reserved.
//
#include "pch.h"
extern __abi_Module* __abi_module;
namespace Platform {
namespace Details {
//Forward declarations from vccorlib120.dll
void STDMETHODCALLTYPE RunServer(_In_ Microsoft::WRL::Details::ModuleBase**, __abi_Module** abiModule, _In_z_ const ::default::char16*);
... | /content/code_sandbox/src/14.0.23918/vccorlib/serverexports.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 265 |
```c++
/***
*ehvcccvb.cpp - EH copy-ctor iterator helper function for class w/ virtual bases
*
*
*Purpose:
* These functions are called when constructing and destructing arrays of
* objects. Their purpose is to assure that constructed elements get
* destructed if the constructor for one of the elemen... | /content/code_sandbox/src/mehvcccvb.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 143 |
```c++
//
// fp10.cpp
//
//
// A link option that defaults the default FP precision to 64 bits ("10-byte
// long double")
//
#ifndef _M_IX86
#error This file may only be built for x86
#endif
#include <float.h>
#include <vcstartup_internal.h>
extern "C" void __cdecl _initialize_default_precision()
{
if (_c... | /content/code_sandbox/src/14.0.23918/linkopts/fp10.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 115 |
```objective-c
#pragma once
#include <internal_shared.h>
``` | /content/code_sandbox/src/ehassert.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 10 |
```c++
//
// new_scalar_nothrow.cpp
//
//
// Defines the scalar operator new, nothrow overload.
//
#include <vcruntime_internal.h>
#include <vcruntime_new.h>
void* __CRTDECL operator new(size_t const size, std::nothrow_t const&) noexcept
{
try
{
return operator new(size);
}
catch (...)
{
... | /content/code_sandbox/src/14.0.23918/vcruntime/new_scalar_nothrow.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 104 |
```c++
//
// startup_thread_locale_mode.cpp
//
//
// A link option that enables the per-thread locale by default.
//
#include <vcruntime.h>
extern "C" int __CRTDECL _get_startup_thread_locale_mode()
{
return -1;
}
``` | /content/code_sandbox/src/14.0.23918/linkopts/threadlocale.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 55 |
```c++
//
// notelemetry.cpp
//
//
// A link option that disables the module startup and shutdown telemetry calls.
//
#include <windows.h>
extern "C" void __cdecl __vcrt_initialize_telemetry_provider()
{
}
extern "C" void __cdecl __vcrt_uninitialize_telemetry_provider()
{
}
extern "C" void __cdecl __telemetry_main... | /content/code_sandbox/src/14.0.23918/linkopts/notelemetry.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 102 |
```cmake
cmake_minimum_required(VERSION 3.5.2)
#
# VC-LTLVC-LTL
#
#
# 1. CMakeLists.txt include("VC-LTL helper for cmake.cmake")
# 2. VC-LTL
#
# VC-LTL
# 1. VC-LTL helper for cmake.cmake ${CMAKE_CURRENT_LIST_DIR}
# 2. CMake ${CMAKE_CURRENT_SOURCE_DIR}/VC-LTL
# 3. ${PROJECT_SOURCE_DIR}/VC-LTL
# ... | /content/code_sandbox/VC-LTL helper for cmake.cmake | cmake | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 579 |
```c++
/***
*mehvccctr.cpp - EH-aware version of copy constructor iterator helper function
*
*
*Purpose:
* These functions are called when constructing and destructing arrays of
* objects. Their purpose is to assure that constructed elements get
* destructed if the constructor for one of the elements... | /content/code_sandbox/src/mehvccctr.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 138 |
```c++
//
// per_thread_data.cpp
//
//
// Per-Thread Data (PTD) used by the VCRuntime.
//
#include <vcruntime_internal.h>
#include <stdint.h>
namespace
{
// Resets the operating system last error (GetLastError) to its original
// value on scope exit.
class scoped_get_last_error_reset
{
public:
... | /content/code_sandbox/src/14.0.23918/vcruntime/per_thread_data.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,243 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.