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++
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// ContextBase.cpp
//
// Source file containing the implementation for an execution ContextBase/stack/thread.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/ContextBase.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 12,496 |
```c++
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// VirtualProcessor.cpp
//
// Source file containing the VirtualProcessor implementation.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/VirtualProcessor.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 7,120 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// align.h
//
// Alignment / Packing definitions
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=... | /content/code_sandbox/src/14.0.23918/concrt/align.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 198 |
```c++
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// SchedulingNode.cpp
//
// Source file containing the SchedulingNode implementation.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/SchedulingNode.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,688 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// UMSWrapper.h
//
// Dynamic wrappers around UMS functions
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/UMSWrapper.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,919 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// VirtualProcessorRoot.h
//
// Part of the ConcRT Resource Manager -- this header file contains the internal definition for the base virtual
// processor root.... | /content/code_sandbox/src/14.0.23918/concrt/VirtualProcessorRoot.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,991 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// utils.h
//
// Header file containing the utility routine declarations.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/utils.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 7,194 |
```c++
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// Chores.cpp
//
// Miscellaneous implementations of things related to individuals chores
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/Chores.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 3,428 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// WorkStealingQueue.h
//
// Header file containing the core implementation of the work stealing data structures and algorithms.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=... | /content/code_sandbox/src/14.0.23918/concrt/WorkStealingQueue.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 5,975 |
```c++
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// RealizedChore.cpp
//
// Miscellaneous implementations of things related to realized chores
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/RealizedChore.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 196 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// ThreadProxyFactory.h
//
// Factory for creating thread proxies.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=... | /content/code_sandbox/src/14.0.23918/concrt/ThreadProxyFactory.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 4,358 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// StructuredWorkStealingQueue.h
//
// Header file containing the core implementation of the work stealing data structures and algorithms.
//
// =-=-=-=-=-=-=-=... | /content/code_sandbox/src/14.0.23918/concrt/StructuredWorkStealingQueue.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 3,678 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// UMSThreadProxy.h
//
// Proxy for a UMS thread.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/UMSThreadProxy.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 5,320 |
```c++
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// Trace.cpp
//
// Implementation of ConcRT tracing API.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#include "concrtinternal.h"
#pragma warnin... | /content/code_sandbox/src/14.0.23918/concrt/Trace.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 4,477 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// ExternalContextBase.h
//
// Header file containing the metaphor for an external execution context.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/ExternalContextBase.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,685 |
```objective-c
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// ContextBase.h
//
// Header file containing the metaphor for an execution context/stack/thread.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | /content/code_sandbox/src/14.0.23918/concrt/ContextBase.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 8,994 |
```assembly
;***
;memmove.asm -
;
;
;Purpose:
; memmove() copies a source memory buffer to a destination buffer.
; Overlapping buffers are treated specially, to avoid propogation.
;
; NOTE: This stub module scheme is compatible with NT build
; procedure.
;
;*************************************... | /content/code_sandbox/src/14.0.23918/amd64/memmove.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 71 |
```c
/***
*gshandlereh.c - Defines __GSHandlerCheck_EH for X64
*
*
*Purpose:
* Defines __GSHandlerCheck_EH, the X64 exception handler for functions
* with /GS-protected buffers as well as C++ EH constructs.
*******************************************************************************/
#include <winternl.... | /content/code_sandbox/src/14.0.23918/amd64/gshandlereh.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 810 |
```c
/***
*wcsstr.c - search for one wide-character string inside another
*
*
* The information and source code contained herein is the exclusive
* property of Intel Corporation and may not be disclosed, examined
* or reproduced in whole or in part without explicit written authorization
* from the company.
*
*P... | /content/code_sandbox/src/14.0.23918/amd64/wcsstr.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,298 |
```assembly
;***
;handlers.asm
;
;
;*******************************************************************************
include ksamd64.inc
EXTRN _NLG_Notify:PROC
EXTRN __NLG_Return2:PROC
;;++
;;
;;extern "C" void* _CallSettingFrame(
;; void* handler,
;; EHRegistrationNode *pEstablisher,
;; ... | /content/code_sandbox/src/14.0.23918/amd64/handlers.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 471 |
```c++
// ==++==
//
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// Platform.cpp
//
// Platform API abstraction.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#... | /content/code_sandbox/src/14.0.23918/concrt/Platform.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 7,137 |
```c++
/***
*dllsupp.c - 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 crtdll.dll & msvcrt*.dll. These constants are:
*
* ... | /content/code_sandbox/src/14.0.23918/amd64/dllsupp.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 121 |
```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/amd64/chandler.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,935 |
```assembly
page ,132
title memcmp - compare to blocks of memory
;***
;memcmp.asm - compare two blocks of memory
;
;
;Purpose:
; defines memcmp() - compare two memory blocks lexically and
; find their order.
;
;****************************************************************************... | /content/code_sandbox/src/14.0.23918/amd64/memcmp.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,513 |
```c
/***
*wcsrchr.c - find last occurrence of wchar_t character in wide string
*
*
* The information and source code contained herein is the exclusive
* property of Intel Corporation and may not be disclosed, examined
* or reproduced in whole or in part without explicit written authorization
* from the company... | /content/code_sandbox/src/14.0.23918/amd64/wcsrchr.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,244 |
```c
/***
*strrchr.c - find last occurrence of character in string
*
*
* The information and source code contained herein is the exclusive
* property of Intel Corporation and may not be disclosed, examined
* or reproduced in whole or in part without explicit written authorization
* from the company.
*
*Purpose:... | /content/code_sandbox/src/14.0.23918/amd64/strrchr.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,668 |
```assembly
page ,132
title memset - set sections of memory all to one byte
;***
;memset.asm - set a section of memory to all one byte
;
;
;Purpose:
; contains the memset() routine
;
;*******************************************************************************
include ksamd64.inc
subttl "mem... | /content/code_sandbox/src/14.0.23918/amd64/memset.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,561 |
```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>
#if _CRT_NTDDI_MIN >= NTDDI_WIN6
#define pFrameInfoChain (*((FRAMEINFO **) &(((_ptd_msvcrt_win6_shared*)__acrt_... | /content/code_sandbox/src/14.0.23918/amd64/trnsctrl.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 4,829 |
```c
/***
*strstr.c - search for one string inside another
*
*
* The information and source code contained herein is the exclusive
* property of Intel Corporation and may not be disclosed, examined
* or reproduced in whole or in part without explicit written authorization
* from the company.
*
*Purpose:
* ... | /content/code_sandbox/src/14.0.23918/amd64/strstr.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,300 |
```assembly
page ,132
title memcpy - Copy source memory bytes to destination
;***
;memcpy.asm - contains memcpy and memmove routines
;
;
;Purpose:
; memcpy() copies a source memory buffer to a destination buffer.
; Overlapping buffers are not treated specially, so propogation may occur.... | /content/code_sandbox/src/14.0.23918/amd64/memcpy.asm | assembly | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 7,668 |
```c
/***
*strchr.c - search a string for a given character
*
*
* The information and source code contained herein is the exclusive
* property of Intel Corporation and may not be disclosed, examined
* or reproduced in whole or in part without explicit written authorization
* from the company.
*
*Purpose:
* ... | /content/code_sandbox/src/14.0.23918/amd64/strchr.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 809 |
```c
/***
*wcschr.c - search a wchar_t string for a given wchar_t character
*
*
* The information and source code contained herein is the exclusive
* property of Intel Corporation and may not be disclosed, examined
* or reproduced in whole or in part without explicit written authorization
* from the company.
*
... | /content/code_sandbox/src/14.0.23918/amd64/wcschr.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 758 |
```c++
// throw -- terminate on thrown exception REPLACEABLE
#ifndef _M_CEE_PURE
#define _HAS_EXCEPTIONS 0
#endif /* _M_CEE_PURE */
#include <cstdio>
#include <cstdlib>
#include <exception>
#include <crtdbg.h>
_STD_BEGIN
#ifdef _DEBUG
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, c... | /content/code_sandbox/src/14.0.23918/stl/stdthrow.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 236 |
```c++
/***
*ehstate.cpp
*
*
*Purpose:
*
****/
#include <eh.h>
#include <ehassert.h>
#include <ehdata.h>
#include <ehhooks.h>
#include <ehstate.h>
#include <trnsctrl.h>
#include <windows.h>
__ehstate_t __StateFromIp(
FuncInfo *pFuncInfo,
DispatcherContext *pDC,
__int64 Ip
) {
... | /content/code_sandbox/src/14.0.23918/amd64/ehstate.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 825 |
```c
/* values used by math functions -- IEEE 754 float version */
#if defined(_M_CEE_PURE)
#if defined(MRTDLL)
#undef MRTDLL
#endif
#if defined(MRTDLL)
#undef CRTDLL
#endif
#endif
#include "xmath.h"
_C_STD_BEGIN
/* macros */
#define NBITS (16 + _FOFF)
#if _D0 == 0
#define INIT(w0) {w0, 0}
#define INIT2(w0, ... | /content/code_sandbox/src/14.0.23918/stl/xfvalues.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 405 |
```c
/* _FDint function -- IEEE 754 version */
#include "xmath.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
short _FDint(float *px, short xexp)
{ /* test and drop (scaled) fraction bits */
_Fval *ps = (_Fval *)(char *)px;
unsigned short frac;
short xchar = (ps->_Sh[_F0] & _FMASK)... | /content/code_sandbox/src/14.0.23918/stl/xfdint.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 582 |
```c
/***
*_toupper.c - convert character to uppercase
*
*
*Purpose:
* Defines _Toupper()
*
*******************************************************************************/
#include <ctype.h>
#include <stddef.h>
#include <xlocinfo.h>
#include <locale.h>
#include <awint.h>
#include <yvals.h>
/* remove macro defi... | /content/code_sandbox/src/14.0.23918/stl/_toupper.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 751 |
```c
/* _FSinh function */
#include "xmath.h"
_C_STD_BEGIN
/* coefficients */
#define NP (sizeof (p) / sizeof (p[0]) - 1)
static const float p[] = { /* courtesy Dr. Tim Prince */
0.00020400F,
0.00832983F,
0.16666737F,
0.99999998F};
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinh(float x, float y)
{ /* compute... | /content/code_sandbox/src/14.0.23918/stl/xfsinh.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 505 |
```c++
// iosptrs -- iostream object pointers for Microsoft
#include <iostream>
#include <windows.h>
#include <winapi_thunks.h>
_STD_BEGIN
#if defined(_M_CEE) && !defined(_M_CEE_MIXED)
#error This file cannot be built /clr:pure, etc. because of the use of _PGLOBAL.
#endif
#pragma warning(disable:4439) // C4439: funct... | /content/code_sandbox/src/14.0.23918/stl/iosptrs.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 622 |
```c++
// nothrow -- define nothrow object
#ifdef CRTDLL2
#undef CRTDLL2
#endif
#ifdef MRTDLL
#undef MRTDLL
#endif
#include <new>
#include <yvals.h>
_STD_BEGIN
const nothrow_t nothrow = nothrow_t(); // define nothrow
_STD_END
/*
* Consult your license regarding permissions and restrictions.
V6.50:0009 */
``` | /content/code_sandbox/src/14.0.23918/stl/nothrow.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 85 |
```c
/* _FDtento function -- IEEE 754 version */
#include "xxfftype.h"
#include "xxxdtent.h"
/*
* Consult your license regarding permissions and restrictions.
V6.50:0009 */
``` | /content/code_sandbox/src/14.0.23918/stl/xfdtento.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 45 |
```c
/* _Getwctype -- return character classification flags for wide character */
#include <xlocinfo.h>
#include <wchar.h>
#include <awint.h>
#include <yvals.h>
_C_STD_BEGIN
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Getwctype(wchar_t _Ch,
const _Ctypevec *_Ctype)
{ /* return character classification flags for _Ch... | /content/code_sandbox/src/14.0.23918/stl/xgetwctype.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 426 |
```c
/* _WStoflt function */
#include <locale.h>
#include <wchar.h>
#include <wctype.h>
#include "xmath.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
#define BASE 10 /* decimal */
#define NDIG 9 /* decimal digits per long element */
#define MAXSIG (5 * NDIG) /* maximum significant dig... | /content/code_sandbox/src/14.0.23918/stl/xwstoflt.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,059 |
```objective-c
/* xxdftype.h -- parameters for double floating-point type */
#include <yvals.h>
#include <float.h>
#define FTYPE double
#define FCTYPE _Dcomplex
#define FBITS DBL_MANT_DIG
#define FEPS DBL_EPSILON
#define FMAX DBL_MAX
#define FMIN DBL_MIN
#define FMAXEXP DBL_MAX_EXP
#define FFUN(fun) fun
#define FMACR... | /content/code_sandbox/src/14.0.23918/stl/xxdftype.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 287 |
```c++
// wcerr -- initialize standard wide error stream
// This wcerr is unsigned short version of wcerr
#ifdef _NATIVE_WCHAR_T_DEFINED
#include <fstream>
#ifndef wistream
#define wistream ushistream
#define wostream ushostream
#define wfilebuf ushfilebuf
#define _Init_wcerr _Init_ushcerr
#de... | /content/code_sandbox/src/14.0.23918/stl/ushcerr.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 231 |
```c
/* _Stoflt function */
#include "xmath.h"
#include <ctype.h>
#include <locale.h>
#include <stdlib.h>
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
#define BASE 10 /* decimal */
#define NDIG 9 /* decimal digits per long word */
#define MAXSIG (5 * NDIG) /* maximum significant digits ... | /content/code_sandbox/src/14.0.23918/stl/xstoflt.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,036 |
```c++
// raisehan -- pointer to raise handler
#ifndef _M_CEE_PURE
#define _HAS_EXCEPTIONS 0
#endif /* _M_CEE_PURE */
#include <exception>
_X_STD_BEGIN
_Prhand _Raise_handler = 0; // define raise handler pointer
_X_STD_END
/*
* Consult your license regarding permissions and restrictions.
V6.50:0009 */
``` | /content/code_sandbox/src/14.0.23918/stl/raisehan.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 81 |
```c++
// wcin -- initialize standard wide error stream
// This wcin is unsigned short version of wcin
#ifdef _NATIVE_WCHAR_T_DEFINED
#include <fstream>
#ifndef wistream
#define wistream ushistream
#define wostream ushostream
#define wfilebuf ushfilebuf
#define _Init_wcerr _Init_ushcerr
#defin... | /content/code_sandbox/src/14.0.23918/stl/ushcin.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 231 |
```c
/* _LDnorm function -- IEEE 754 version */
#include "xmath.h"
_C_STD_BEGIN
#if _DLONG == 0
/* not needed -- 64-bit */
#elif _DLONG == 1
short _LDnorm(_Lval *ps)
{ /* normalize long double fraction -- 80-bit */
short xchar;
unsigned short sign = ps->_Sh[_L0];
xchar = 0;
for (ps->_Sh[_L0] = 0; ps->_Sh[_L0... | /content/code_sandbox/src/14.0.23918/stl/xldnorm.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,465 |
```c
/* _FDscale function -- IEEE 754 version */
#include "xmath.h"
_C_STD_BEGIN
short _FDscale(float *px, long lexp)
{ /* scale *px by 2^xexp with checking */
_Fval *ps = (_Fval *)(char *)px;
short xchar = (short)((ps->_Sh[_F0] & _FMASK) >> _FOFF);
if (xchar == _FMAX)
return ((short)((ps->_Sh[_F0] & _FFRAC) !=... | /content/code_sandbox/src/14.0.23918/stl/xfdscale.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 827 |
```c
/* _LXp* functions */
#include "xmath.h"
#include "xxlftype.h"
#include "xxxprec.h"
/*
* Consult your license regarding permissions and restrictions.
V6.50:0009 */
``` | /content/code_sandbox/src/14.0.23918/stl/xlprec.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 46 |
```c
/* _FDunscale function -- IEEE 754 version */
#include "xmath.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
short _FDunscale(short *pex, float *px)
{ /* separate *px to 1/2 <= |frac| < 1 and 2^*pex */
_Fval *ps = (_Fval *)(char *)px;
short xchar = (ps->_Sh[_F0] & _FMASK) >> _F... | /content/code_sandbox/src/14.0.23918/stl/xfdunsca.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 359 |
```c
/* _WStoxflt function */
#include <ctype.h>
#include <locale.h>
#include <wchar.h>
#include <wctype.h>
#include "xmath.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
#define BASE 16 /* hexadecimal */
#define NDIG 7 /* hexadecimal digits per long element */
#define MAXSIG (5 * NDIG... | /content/code_sandbox/src/14.0.23918/stl/xwstoxfl.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,307 |
```c
/* _Stolx function */
#include <yvals.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include "xmath.h"
_C_STD_BEGIN
#if defined(__cplusplus) && !defined(MRTDLL)
extern "C"
#endif
_CRTIMP2_PURE unsigned long __CLRCALL_PURE_OR_CDECL _Stoulx(const char *, char **, int, int *);
#if... | /content/code_sandbox/src/14.0.23918/stl/xstol.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 394 |
```c
/* cond.c -- condition variable functions */
/* NB: compile as C++ if _WIN32_CLIB && !defined(_M_CEE) */
#include <thr/xthreads.h>
#include <thr/xtimec.h>
#include <stdlib.h>
#include <limits.h>
#include <internal_shared.h>
#include <type_traits>
#include "primitives.h"
struct _Cnd_internal_imp_t
{ /* conditi... | /content/code_sandbox/src/14.0.23918/stl/cond.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,067 |
```c
/* _Dnorm function -- IEEE 754 version */
#include "xmath.h"
_C_STD_BEGIN
short _Dnorm(_Dval *ps)
{ /* normalize double fraction */
short xchar;
unsigned short sign = (unsigned short)(ps->_Sh[_D0] & _DSIGN);
xchar = 1;
if ((ps->_Sh[_D0] &= _DFRAC) != 0 || ps->_Sh[_D1]
|| ps->_Sh[_D2] || ps->_Sh[_D3])
{ ... | /content/code_sandbox/src/14.0.23918/stl/xdnorm.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 580 |
```c
/* _LSinh function */
#include "xmath.h"
_C_STD_BEGIN
/* coefficients */
#define NP (sizeof (p) / sizeof (p[0]) - 1)
#if _DLONG <= 1 /* assume IEEE 754 10 byte */
static const long double p[] = { /* courtesy Dr. Tim Prince */
0.0000000000000028486835L,
0.0000000000007646464279L,
0.0000000001605905091647L,
... | /content/code_sandbox/src/14.0.23918/stl/xlsinh.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 846 |
```objective-c
/* xxwctype.h -- parameters for wchar_t character type */
#define CTYPE wchar_t
#define CNAME(fun) _W##fun
/*
* Consult your license regarding permissions and restrictions.
V6.50:0009 */
``` | /content/code_sandbox/src/14.0.23918/stl/xxwctype.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 49 |
```c
/***
*xmbtowc.c - Convert multibyte char to wide char.
*
*
*Purpose:
* Convert a multibyte character into the equivalent wide character.
*
*******************************************************************************/
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <limits.h> ... | /content/code_sandbox/src/14.0.23918/stl/xmbtowc.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,191 |
```c
/* _Stopfx function */
#include "xmath.h"
#include <ctype.h>
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
int _Stopfx(const char **ps, char **endptr)
{ /* parse prefix of floating-point field */
const char *s = *ps;
int code = 0;
for (; isspace((unsigned char)*s); ++s)
;
if... | /content/code_sandbox/src/14.0.23918/stl/xstopfx.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 746 |
```c
/* _WStold function */
#include <wchar.h>
#include "xmath.h"
#include "xxwctype.h"
#include "xxlftype.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
_CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _WStoldx(const CTYPE *s, CTYPE **endptr, long pten,
int *perr)
#include "xxstod.h"
_C... | /content/code_sandbox/src/14.0.23918/stl/xwstold.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 221 |
```objective-c
/* xxlftype.h -- parameters for long double floating-point type */
#include <yvals.h>
#include <float.h>
#define FTYPE long double
#define FCTYPE _Lcomplex
#define FBITS LDBL_MANT_DIG
#define FEPS LDBL_EPSILON
#define FMAX LDBL_MAX
#define FMIN LDBL_MIN
#define FMAXEXP LDBL_MAX_EXP
#define FFUN(fun) fu... | /content/code_sandbox/src/14.0.23918/stl/xxlftype.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 305 |
```c++
/***
* winapinls.cpp - helper functions for Win32 NLS Apis
*
*
*Purpose:
* Contains functions to work with Win32 NLS-specific APIs
*
*******************************************************************************/
#include <awint.h>
#if _STL_WIN32_WINNT < _WIN32_WINNT_VISTA
#include <nlsdownlevel.h>
#in... | /content/code_sandbox/src/14.0.23918/stl/winapinls.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,608 |
```c++
// multprec: implements multiprecision math for TR1 random number generators
#include <yvals.h>
// #include <random>
#include <limits>
_STD_BEGIN
#ifdef _ULONGLONG
typedef _ULONGLONG _Max_type;
#else /* _ULONGLONG */
typedef unsigned long _Max_type;
#endif /* _ULONGLONG */
static const int _MP_len = 5;
ty... | /content/code_sandbox/src/14.0.23918/stl/multprec.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,812 |
```c++
// wcout -- initialize standard wide error stream
// This wcout is unsigned short version of wcout
#ifdef _NATIVE_WCHAR_T_DEFINED
#include <fstream>
#ifndef wistream
#define wistream ushistream
#define wostream ushostream
#define wfilebuf ushfilebuf
#define _Init_wcerr _Init_ushcerr
#de... | /content/code_sandbox/src/14.0.23918/stl/ushcout.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 231 |
```objective-c
/* xmath.h internal header */
#ifndef _XMATH
#define _XMATH
#include <ymath.h>
#include <errno.h>
#include <math.h>
#include <stddef.h>
#pragma warning(disable: 4244)
/* FLOAT PROPERTIES */
#ifndef _D0
#define _D0 3 /* little-endian, small long doubles */
#define _D1 2
#define _D2 1
#define _D3 ... | /content/code_sandbox/src/14.0.23918/stl/xmath.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,455 |
```c
/***
*_tolower.c - convert character to lower case
*
*
*Purpose:
* Defines _Tolower().
*
*******************************************************************************/
#include <internal_shared.h>
#include <ctype.h>
#include <stddef.h>
#include <xlocinfo.h>
#include <locale.h>
#include <awint.h>
#include ... | /content/code_sandbox/src/14.0.23918/stl/_tolower.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,084 |
```c++
// wcerr -- initialize standard wide error stream
#include <fstream>
#include <iostream>
#pragma warning(disable: 4074)
#pragma init_seg(compiler)
static std::_Init_locks initlocks;
_STD_BEGIN
// OBJECT DECLARATIONS
__PURE_APPDOMAIN_GLOBAL static wfilebuf wferr(_cpp_stderr);
#if defined(_M_CEE_PURE)
__PURE_... | /content/code_sandbox/src/14.0.23918/stl/wcerr.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 230 |
```c++
#include <synchapi.h>
// This must be as small as possible, because its contents are
// injected into the msvcprt.lib and msvcprtd.lib import libraries.
// Do not include or define anything else here.
// In particular, basic_string must not be included here.
// these declarations must be in sync with the those... | /content/code_sandbox/src/14.0.23918/stl/sharedmutex.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 434 |
```c
/***
*xstrxfrm.c - Transform a string using locale information
*
*
*Purpose:
* Transform a string using the locale information as set by
* LC_COLLATE.
*
*******************************************************************************/
#include <string.h>
#include <xlocinfo.h> /* for _Collvec */
#incl... | /content/code_sandbox/src/14.0.23918/stl/xstrxfrm.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 935 |
```objective-c
/* xxfftype.h -- parameters for float floating-point type */
#include <yvals.h>
#include <float.h>
#define FTYPE float
#define FCTYPE _Fcomplex
#define FBITS FLT_MANT_DIG
#define FEPS FLT_EPSILON
#define FMAX FLT_MAX
#define FMIN FLT_MIN
#define FMAXEXP FLT_MAX_EXP
#define FFUN(fun) fun##f
#define FMAC... | /content/code_sandbox/src/14.0.23918/stl/xxfftype.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 296 |
```c
/* _Stod function */
#include <yvals.h> /* include first, for native shared */
#include <stdlib.h>
#include "xmath.h"
#include "xxcctype.h"
#include "xxdftype.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
_CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _Stodx(const CTYPE *s, CTYPE **... | /content/code_sandbox/src/14.0.23918/stl/xstod.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 232 |
```c
/* _LExp function */
#include "xmath.h"
_C_STD_BEGIN
/* coefficients */
#if _DLONG <= 1 /* assume IEEE 754 10 byte */
static const long double p[] = { /* courtesy Dr. Tim Prince */
42.038913947607355L,
10096.353102778762831L,
333228.767219512631062L};
static const long double q[] = { /* courtesy Dr. Tim Pri... | /content/code_sandbox/src/14.0.23918/stl/xlexp.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,011 |
```objective-c
/* xxcctype.h -- parameters for char character type */
#define CTYPE char
#define CNAME(fun) _##fun
/*
* Consult your license regarding permissions and restrictions.
V6.50:0009 */
``` | /content/code_sandbox/src/14.0.23918/stl/xxcctype.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 45 |
```c
/* _Dscale function -- IEEE 754 version */
#include "xmath.h"
_C_STD_BEGIN
short _Dscale(double *px, long lexp)
{ /* scale *px by 2^xexp with checking */
_Dval *ps = (_Dval *)(char *)px;
short xchar = (short)((ps->_Sh[_D0] & _DMASK) >> _DOFF);
if (xchar == _DMAX)
return ((short)((ps->_Sh[_D0] & _DFRAC) != ... | /content/code_sandbox/src/14.0.23918/stl/xdscale.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,050 |
```c++
// instances -- force DLL instances for Microsoft
#define __FORCE_INSTANCE
#include <ios>
#include <istream>
#include <locale>
#include <ostream>
#include <streambuf>
#include <xlocale>
#include <xlocmes>
#include <xlocmon>
#include <xlocnum>
#include <xloctime>
_STD_BEGIN
template class _CRTIMP2_PURE _Yarn<c... | /content/code_sandbox/src/14.0.23918/stl/instances.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 131 |
```c++
// cin -- initialize standard input stream
#include <fstream>
#include <iostream>
#pragma warning(disable: 4074)
#pragma init_seg(compiler)
static std::_Init_locks initlocks;
_STD_BEGIN
// OBJECT DECLARATIONS
__PURE_APPDOMAIN_GLOBAL static filebuf fin(_cpp_stdin);
#if defined(_M_CEE_PURE)
__PURE_APPDOMAI... | /content/code_sandbox/src/14.0.23918/stl/cin.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 229 |
```c
/***
*xstrcoll.c - Collate locale strings
*
*
*Purpose:
* Compare two strings using the locale LC_COLLATE information.
*
*******************************************************************************/
#include <crtdbg.h>
#include <string.h>
#include <xlocinfo.h> /* for _Collvec, _Strcoll */
#include <std... | /content/code_sandbox/src/14.0.23918/stl/xstrcoll.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 878 |
```c++
// thread0.cpp -- C++11 thread support functions
#include <yvals.h>
#include <thr/xthread>
#include <thread>
#include <mutex>
#include <system_error>
#if _HAS_EXCEPTIONS
#include <exception>
#include <string>
#else /* _HAS_EXCEPTIONS */
#include <cstdio>
#endif /* _HAS_EXCEPTIONS */
static const char *con... | /content/code_sandbox/src/14.0.23918/stl/thread0.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 485 |
```c
/* _Stoull function */
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <stddef.h>
#include <string.h>
#include "xmath.h"
#define MYMAX _ULLONG_MAX /* ULLONG_MAX */
#if (MYMAX >> 16) >> 16 != 0xffffffff && MYMAX != 0xffffffff
#error LONG LONGS TOO LARGE FOR _Stoull
#endi... | /content/code_sandbox/src/14.0.23918/stl/xstoull.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,155 |
```c++
// wclog -- initialize standard wide log stream
#include <fstream>
#include <iostream>
#pragma warning(disable: 4074)
#pragma init_seg(compiler)
static std::_Init_locks initlocks;
_STD_BEGIN
// OBJECT DECLARATIONS
__PURE_APPDOMAIN_GLOBAL static wfilebuf wflog(_cpp_stderr);
#if defined(_M_CEE_PURE)
__PURE_... | /content/code_sandbox/src/14.0.23918/stl/wclog.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 219 |
```c++
// ushiostream -- _UShinit members, dummy for Microsoft
// unsigned short version for wiostram
#ifdef _NATIVE_WCHAR_T_DEFINED
#include <fstream>
#define wistream ushistream
#define wostream ushostream
#define wfilebuf ushfilebuf
#define _Init_wcerr _Init_ushcerr
#define _Init_wcout _Init_... | /content/code_sandbox/src/14.0.23918/stl/ushiostr.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 345 |
```c
/* _Dint function -- IEEE 754 version */
#include "xmath.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
short _Dint(double *px, short xexp)
{ /* test and drop (scaled) fraction bits */
_Dval *ps = (_Dval *)(char *)px;
unsigned short frac;
short xchar = (ps->_Sh[_D0] & _DMASK) ... | /content/code_sandbox/src/14.0.23918/stl/xdint.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 732 |
```c
/* _LDtest function -- IEEE 754 version */
#include "xmath.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
#if _DLONG == 0
#if 0
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LDtest(long double *px)
{ /* categorize *px -- 64-bit */
return (_Dtest((double *)px));
}
#endif
#elif... | /content/code_sandbox/src/14.0.23918/stl/xldtest.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 769 |
```c
/* _LPoly function */
#include "xmath.h"
_C_STD_BEGIN
long double _LPoly(long double x,
const long double *tab, int n)
{ /* compute polynomial */
long double y;
for (y = *tab; 0 <= --n; )
y = y * x + *++tab;
return (y);
}
_C_STD_END
/*
* Consult your license regarding permissions and restrictions.
V6.5... | /content/code_sandbox/src/14.0.23918/stl/xlpoly.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 99 |
```c
/* _Towupper -- convert wchar_t to upper case for Microsoft */
#include <xlocinfo.h>
#include <wchar.h>
#include <awint.h>
_C_STD_BEGIN
_CRTIMP2_PURE wchar_t __CLRCALL_PURE_OR_CDECL _Towupper(wchar_t _Ch,
const _Ctypevec *_Ctype)
{ /* convert element to upper case */
wchar_t _Res = _Ch;
if (_Ch == WEOF)
;
... | /content/code_sandbox/src/14.0.23918/stl/xtowupper.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 306 |
```c
/* _WStopfx function */
#include <wctype.h>
#include "xmath.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
int _WStopfx(const wchar_t **ps, wchar_t **endptr)
{ /* parse prefix of floating-point field */
const wchar_t *s = *ps;
int code = 0;
for (; iswspace(*s); ++s)
;
if (... | /content/code_sandbox/src/14.0.23918/stl/xwstopfx.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 777 |
```c++
// syserror.cpp -- system_error static objects
#include <cstdlib>
#include <system_error>
#pragma warning(disable: 4005)
#include <windows.h>
_STD_BEGIN
struct _Win_errtab_t
{ // maps Windows error to Posix error
int _Windows;
_Errc _Posix;
};
static const _Win_errtab_t _Win_errtab[] =
{ // table of ... | /content/code_sandbox/src/14.0.23918/stl/syserror.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 2,469 |
```c++
// This file is built into msvcurt.lib
#if !defined(_M_CEE_PURE)
#error This file must be built with /clr:pure.
#endif
#include <fstream>
#include <iostream>
#pragma warning(disable: 4074)
#pragma init_seg(compiler)
_STD_BEGIN
#pragma warning(disable:4439) // C4439: function with a managed parameter must hav... | /content/code_sandbox/src/14.0.23918/stl/mpiostream.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 251 |
```c++
// filesys.cpp -- filesystem support functions
#include <yvals.h>
#include <filesystem>
#if __EDG__
#pragma diag_suppress=161 /* unknown pragma */
#pragma diag_suppress=174 /* expression has no effect */
#pragma diag_suppress=177 /* variable declared but never references */
#pragma diag_suppress=748 /* callin... | /content/code_sandbox/src/14.0.23918/stl/filesys.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 414 |
```c++
// ios_base -- ios_base basic members
#include <new>
#include <xiosbase>
_STD_BEGIN
#define NSTDSTR 8 /* cin, wcin, cout, wcout, cerr, wcerr, clog, wclog */
#if defined(_M_CEE_PURE)
const streamoff _BADOFF = -1;
#else
_PGLOBAL _CRTDATA2 const streamoff _BADOFF = -1; // initialize constant for bad file offset
#... | /content/code_sandbox/src/14.0.23918/stl/ios.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 864 |
```c++
// cout -- initialize standard output stream
#include <fstream>
#include <iostream>
#pragma warning(disable: 4074)
#pragma init_seg(compiler)
static std::_Init_locks initlocks;
_STD_BEGIN
// OBJECT DECLARATIONS
__PURE_APPDOMAIN_GLOBAL static filebuf fout(_cpp_stdout);
#if defined(_M_CEE_PURE)
__PURE_APPD... | /content/code_sandbox/src/14.0.23918/stl/cout.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 284 |
```c++
// wlocale -- class locale wide member functions
#include <istream>
#include <locale>
_STD_BEGIN
#pragma warning(disable: 4786)
#pragma warning(disable: 4074)
#pragma init_seg(compiler)
typedef char_traits<wchar_t> _Wtraits;
typedef istreambuf_iterator<wchar_t, _Wtraits> _Winiter;
typedef ostreambuf_iterat... | /content/code_sandbox/src/14.0.23918/stl/wlocale.cpp | c++ | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,262 |
```c
/* _FXp* functions */
#include "xmath.h"
#include "xxfftype.h"
#include "xxxprec.h"
/*
* Consult your license regarding permissions and restrictions.
V6.50:0009 */
``` | /content/code_sandbox/src/14.0.23918/stl/xfprec.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 45 |
```objective-c
/* xxxdtent.h -- common _[FL]Dtento functionality */
#include "xmath.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
/* macros */
#define ACSIZE 4 /* size of extended-precision accumulators */
#define BIAS (ACSIZE * (FBITS / 2)) /* avoid denorms for finite values */
#d... | /content/code_sandbox/src/14.0.23918/stl/xxxdtent.h | objective-c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,346 |
```c
/* _Stoll function */
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include "xmath.h"
_C_STD_BEGIN
#define MYMIN (-_LLONG_MAX - _C2) /* LLONG_MIN */
#define MYMAX _LLONG_MAX /* LLONG_MAX */
_CRTIMP2_PURE _ULonglong __CLRCALL_PURE_OR_CDECL _Stoullx(const char *, char **, int, int ... | /content/code_sandbox/src/14.0.23918/stl/xstoll.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 458 |
```c
/* xnotify.c -- thread exit notification functions */
#include <thr/xthreads.h>
#include <stdlib.h>
#define NITEMS 20
typedef struct
{ /* data for condition-variable slot */
_Thrd_t id;
_Mtx_t mtx;
_Cnd_t cnd;
int *res;
} at_thread_exit_data;
typedef struct at_thread_exit_block
{ /* block of condition-va... | /content/code_sandbox/src/14.0.23918/stl/xnotify.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 1,005 |
```c
/* _Stof function */
#include <yvals.h> /* include first, for native shared */
#include <stdlib.h>
#include "xmath.h"
#include "xxcctype.h"
#include "xxfftype.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
_CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _Stofx(const CTYPE *s, CTYPE **... | /content/code_sandbox/src/14.0.23918/stl/xstof.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 232 |
```c
/***
*xwcscoll.c - Collate wide-character locale strings
*
*
*Purpose:
* Compare two wchar_t strings using the locale LC_COLLATE information.
*
*******************************************************************************/
#include <stdlib.h>
#include <string.h>
#include <locale.h>
#include <errno.h>
#inc... | /content/code_sandbox/src/14.0.23918/stl/xwcscoll.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 926 |
```c
/* _Dunscale function -- IEEE 754 version */
#include "xmath.h"
_C_STD_BEGIN
#if !defined(MRTDLL)
_C_LIB_DECL
#endif /* defined(MRTDLL) */
short _Dunscale(short *pex, double *px)
{ /* separate *px to 1/2 <= |frac| < 1 and 2^*pex */
_Dval *ps = (_Dval *)(char *)px;
short xchar = (ps->_Sh[_D0] & _DMASK) >> _DO... | /content/code_sandbox/src/14.0.23918/stl/xdunscal.c | c | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 379 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.