text stringlengths 9 948k |
|---|
/*
* Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2011, 2012 Google Inc. All rights reserved.
* Copyright (C) 2012 Zan Dobersek <zandobersek@gmail.com>
* Copyright (C) 2012 Igalia S.L.
*
* Redistribution and use in source and binary forms, with or without
* modification, a... |
/////////////////////////////////////////////////////////////////////////////
// Name: propdlg.h
// Purpose: interface of wxPropertySheetDialog
// Author: wxWidgets team
// RCS-ID: $Id: propdlg.h 58212 2009-01-18 21:46:46Z FM $
// Licence: wxWindows license
/////////////////////////////////////... |
/* Copyright (C) 2007-2017 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 3,
or (at your option) any... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "X2AP-PDU-Contents"
* found in "/home/user/openairinterface5g/openair2/X2AP/MESSAGES/ASN1/R14/x2ap-14.6.0.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D /home/user/openairinterface5g/c... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2016 ArangoDB GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
/*
* Out of line spinlock code.
*
* Copyright IBM Corp. 2004, 2006
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
*/
#include <linux/types.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <asm/io.h>
int spin_retry = 1000;
/**
* ... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_SHELL_TEST_RUNNER_SPELL_CHECK_CLIENT_H_
#define CONTENT_SHELL_TEST_RUNNER_SPELL_CHECK_CLIENT_H_
#include <stdint.h>
#include "base/macro... |
/*========================== begin_copyright_notice ============================
Copyright (C) 2017-2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#ifndef __SPIRV_H__
#define __SPIRV_H__
/******
*
* Mangling Scheme:
*
* Type ... |
/*
* Persistent Memory Driver
*
* Copyright (c) 2014-2015, Intel Corporation.
* Copyright (c) 2015, Christoph Hellwig <hch@lst.de>.
* Copyright (c) 2015, Boaz Harrosh <boaz@plexistor.com>.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Gen... |
#include <stdio.h>
int main()
{
char c;
printf("Enter a character: ");
// Reads character input from the user
scanf("%c", &c);
// %d displays the integer value of a character
// %c displays the actual character
printf("ASCII value of %c = %d", c, c);
return 0;
} |
/*
*******************************************************************************
* Copyright (C) 2007-2014, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*
* File PLURFMT.H
*******************************... |
/* The `struct utmp' type, describing entries in the utmp file. GNU version.
Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Licen... |
/**********************************************************************************
* Copyright (c) 2012 by Virginia Polytechnic Institute and State University.
*
* The local realignment portion of the code is derived from the Indel Realigner
* code of the GATK project, and the I/O of bam files is extended from the
* b... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:40:35 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/NewsCore.framework/NewsCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
#ifndef __DOTSTAR_BALL_SETTINGS__
#define __DOTSTAR_BALL_SETTINGS__
#include "application.h"
class Settings {
public:
//********************
//Variables
//********************
bool Debug = true; //Enables debugging messages to serial console.
bool Trace = fals... |
#ifndef _CRY_COMMON_CRY_CHAR_ANIMATION_PARAMS_HDR_
#define _CRY_COMMON_CRY_CHAR_ANIMATION_PARAMS_HDR_
#include <Tarray.h>
#include <ISerialize.h> // <> required for Interfuscator
#include <CrySizer.h>
#include "crc32.h"
#define MAX_LMG_DIMENSIONS (4)
#if (defined(WIN32) || defined(WIN64)) && !defined(RELEASE)
#def... |
// Wearable Sensing LSL GUI
// Copyright (C) 2014-2020 Syntrogi Inc dba Intheon.
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QTimer>
#include <QtGui>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *par... |
#ifndef MICROTUBULE_H_
#define MICROTUBULE_H_
#include "MTOCparam.h"
#include "KISS.h"
#include <fstream>
#include <stdio.h>
#include <vector>
#include <iostream>
#include <string>
#include <map>
#include "mersenne.h"
#include <random>
#include <iostream>
#include "simulationofCell.h"
#include "ISCaptShrinkage.h"
#in... |
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2016-2019 Intel Corporation
*/
#ifndef _INTEL_GUC_CT_H_
#define _INTEL_GUC_CT_H_
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/workqueue.h>
#include <linux/ktime.h>
#include <linux/wait.h>
#include "intel_guc_fwif.h"
struct i915_vma;
s... |
/*
* Copyright (c) 2012-2014, Thingsquare, http://www.thingsquare.com/.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright... |
#include <stdio.h>
#include <time.h>
int main()
{
time_t rawtime;
struct tm * info;
char buffer[80];
time(&rawtime);
info = localtime(&rawtime);
printf("The local time is: %s\n", asctime(info));
return 0;
} |
#ifndef __ARDUINOCONFIG_H__
#define __ARDUINOCONFIG_H__
#define USE_USERS_MAINPROGRAM
#endif |
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_VIEWS_JSMESSAGE_BOX_DIALOG_H_
#define CHROME_BROWSER_VIEWS_JSMESSAGE_BOX_DIALOG_H_
#include <string>
#include "chrome/br... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma once
#include "memorymanager.h"
#include "serialization.h"
#include "defines.h"
#include "hestdparms.h"
#include "uintcore.h"
#include "ztools.h"
#include <array>
#include <cstddef>
#include <cstdint>
#include <ios... |
#pragma once
#include <fmt/format.h>
#include <ichor/Common.h>
#include <ichor/Service.h>
namespace Ichor {
class IShellCommand {
protected:
~IShellCommand() = default;
};
} |
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* Copyright (c) 2002-2013 InMon Corp. Licensed under the terms of the InMon sFlow licence: */
/* http://www.inmon.com/technology/sflowlicense.txt */
#include <ctype.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdl... |
/* file device */
#include "fb.h"
int fb_DevFileFlush( FB_FILE *handle )
{
FILE *fp;
FB_LOCK();
fp = (FILE*) handle->opaque;
if( fp == NULL ) {
FB_UNLOCK();
return fb_ErrorSetNum( FB_RTERROR_ILLEGALFUNCTIONCALL );
}
if( fflush( fp ) != 0 ) {
FB_UNLOCK();
return fb_ErrorSetNum( FB_RTERROR_FILEIO );
... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_
#define UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_
#include "ui/gfx/geometry/vector2d.h"
#include "ui/wm/public/wm... |
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright(c) 2016 Intel Corporation. All rights reserved.
//
// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
// Keyon Jie <yang.jie@linux.intel.com>
#include <sof/compiler_info.h>
#include <sof/debug/debug.h>
#include <sof/drivers/dw-dma.h>
#include <so... |
//
// Created by eagle on 2021/5/31.
//
#ifndef DATA_STRUCTURE_ERROR_CODE_H
#define DATA_STRUCTURE_ERROR_CODE_H
#define ERROR_MALLOC_FAILED -2
#define ERROR_INVALID_INDEX -3
#define ERROR_NULL_PTR -4
#define ERROR_FULL_SPACE -5
#endif //DATA_STRUCTURE_ERROR_CODE_H |
#pragma once
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
class window
{
public:
window(GLFWwindow* wnd);
~window() = default;
public:
glm::uvec2 size() const { return m_size; }
size_t width() const { return m_size.x; }
size_t height() const { return m_size.y; }
glm::uvec2 render_s... |
#ifndef AST_CONST_H
#define AST_CONST_H
#include "../ast_declare.h"
struct BoolConst { struct ASTNode super; bool value; };
struct CharConst { struct ASTNode super; char value; };
struct FloatConst { struct ASTNode super; float value; };
struct IntConst { struct ASTNode super; int32_t value; };... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "storage_api_bm_feed_handler_base.h"
#include "bm_message_bus_routes.h"
#include <atomic>
namespace storage::api { class StorageCommand; }
namespace search::bmcluster {
class BmMessageBus;... |
/***************************************************************************
NOTE: this hardware is a bootleg of the hardware in nmk16.c
twinactn is a bootleg of mustang with different graphics, different
sound hardware, and some code shifted around
todo: either merge this with nmk16.c, or split t... |
/** Copyright 2020 Alibaba Group Holding Limited.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
/*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
*/
/* clang-format off */
/* getenv3f.c - Implements LIB3F getenv subprogram. */
#include "ent3f.h"
#include... |
#pragma once
// Copyright 2018 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "history/HistoryArchive.h"
#include "main/Application.h"
#include <optio... |
/*
* mathtest.c - test rig for mathlib
*
* Copyright (c) 1998-2015, Arm Limited.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:/... |
/* Copyright (c) 2010 - 2020, Nordic Semiconductor ASA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* l... |
/*++
Copyright (c) 1992-1999 Microsoft Corporation
Module Name:
mgmtapi.h
Abstract:
Definitions for SNMP Management API Development.
--*/
#ifndef _INC_MGMTAPI
#define _INC_MGMTAPI
#if _MSC_VER > 1000
#pragma once
#endif
///////////////////////////////////////////////////////////////////////////////
// ... |
/*********************************************************************
PicoTCP. Copyright (c) 2012-2015 Altran Intelligent Systems. Some rights reserved.
See LICENSE and COPYING for usage.
*********************************************************************/
#ifndef _INCLUDE_PICO_ND
#define _INCLUDE_PICO_ND
#i... |
#include "lps25h.h"
#include "../Console.h"
#include <stdio.h>
void lps25h_initialization();
//(defun compl(n)
// (if (logbitp 7 n)
// (* -1 (- 256 n))
// n))
float reference_pressure;
static long complement_2_16( unsigned short n)
{
if ( n & 0x8000)
return -1 * (65536 - n);
else
return n;
}
sta... |
/* --COPYRIGHT--,BSD
* Copyright (c) 2016, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copy... |
//
// Copyright 2017 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... |
//
// Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License").
// You may not use this file except in compliance with the License.
// A copy of the License is located at
//
// http://aws.amazon.com/apache2.0
//
// or in the "licen... |
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include "libBigWig/bigWig.h"
void bwPrintHdr(bigWigFile_t *bb) {
uint64_t i;
int64_t i64;
printf("Version: %" PRIu16 "\n", bb->hdr->version);
printf("Levels: %" PRIu16 "\n", bb->hdr->nLevels);
printf("ctOffset: 0x%" P... |
#include "log.h"
#include <stdarg.h>
#include <syslog.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#define MAXLINE 4096
void log_info(const char *fmt, ...)
{
va_list p;
static char buff[MAXLINE];
va_start(p, fmt);
vsnprintf(buff, sizeof(buff), fmt, p);
fprintf(stderr, "信息: %s\n",... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
int count = 0;
int start = 65 * 100 + 100000;
int end = start + 17000;
for (int outer = start; outer <= end; outer += 17) {
// printf("%d/%d\n", outer, end);
int is_prime = outer % 2;
int max_divisor = sqrt... |
//
// MUSWallPaperViewController.h
// Muse
//
// Created by Leo Kwan on 10/14/15.
// Copyright © 2015 Leo Kwan. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MUSWallPaperViewController : UIViewController
@end |
#ifndef HAIL_UTILS_H
#define HAIL_UTILS_H 1
#include <exception>
#include <string>
#include <cstdarg>
#define LIKELY(condition) __builtin_expect(static_cast<bool>(condition), 1)
#define UNLIKELY(condition) __builtin_expect(static_cast<bool>(condition), 0)
inline char load_byte(char const* off) { return *off; }
inl... |
/*
* Copyright (C) 2009, DENX Software Engineering
* Author: John Rigby <jcrigby@gmail.com
*
* Based on arch-mx31/mx31-regs.h
* Copyright (C) 2009 Ilya Yanok,
* Emcraft Systems <yanok@emcraft.com>
* and arch-mx27/imx-regs.h
* Copyright (C) 2007 Pengutronix,
* Sascha Hauer <s.hauer@pengutronix.de>
* Copy... |
/* -*- c++ -*- */
/*
* Copyright © 2009 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, ... |
/*
* Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Fou... |
/*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC W... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_CONTAINER_TEST_UTIL_H_
#define MOJO_PUBLIC_CPP_BINDINGS_TESTS_CONTAINER_TEST_UTIL_H_
#include <stddef.h>
#include... |
/*
* 9p utilities
*
* Copyright IBM, Corp. 2017
*
* Authors:
* Greg Kurz <groug@kaod.org>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "qemu/xattr.h"
#include "9p-util.h"
ssize_t fgetxatt... |
/*
* Copyright (c) 2005 - 2008 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions o... |
/**
* @file lv_ta.c
*
*/
/*********************
* INCLUDES
*********************/
#include "lv_textarea.h"
#if LV_USE_TEXTAREA != 0
#include <string.h>
#include "../misc/lv_assert.h"
#include "../core/lv_group.h"
#include "../core/lv_refr.h"
#include "../core/lv_indev.h"
#include "../draw/lv_draw.h"
#includ... |
/**********************************************************************
* $Id$
*
* Project: MapServer
* Purpose: OGC SOS implementation
* Author: Y. Assefa, DM Solutions Group (assefa@dmsolutions.ca)
*
**********************************************************************
* Copyright (c) 2006, Y. Assefa, DM... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/cloudformation/CloudFormation_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace CloudFormation
{
namespace Model
{
enum class Executio... |
//
// SDLLockScreenManager.h
// SmartDeviceLink-iOS
//
// Created by Joel Fischer on 7/8/16.
// Copyright © 2016 smartdevicelink. All rights reserved.
//
#import <UIKit/UIKit.h>
@class SDLLockScreenConfiguration;
@class SDLLockScreenViewController;
@protocol SDLViewControllerPresentable;
NS_ASSUME_NONNULL_BEGIN... |
/* $Xorg: spooler.c,v 1.1 2003/09/14 1:19:56 gisburn Exp $ */
/*
Copyright (c) 2003-2004 Roland Mainz <roland.mainz@nrubsig.org>
Copyright (c) 2004 Sun Microsystems, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software... |
/* $OpenBSD$ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial... |
//=================================================================================================
/*!
// \file blazetest/mathtest/diagonalmatrix/ColumnTest.h
// \brief Header file for the DiagonalMatrix column test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This file is part of the ... |
/******************************************************************************
* Code generated with sympy 0.7.6 *
* *
* See http://www.sympy.org/ for more information. *
... |
////////////////////////////////////////////////////////////////////////////////
//
// TYPHOON FRAMEWORK
// Copyright 2013, Typhoon Framework Contributors
// All Rights Reserved.
//
// NOTICE: The authors permit you to use, modify, and distribute this file
// in accordance with the terms of the license agreement a... |
/*
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/
#ifndef __UM_MMU_CONTEXT_H
#define __UM_MMU_CONTEXT_H
#include "linux/sched.h"
#include "choose-mode.h"
#include "um_mmu.h"
#define get_mmu_context(task) do ; while(0)
#define activate_context(tsk) do ; while(0)
#define deactivate_... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "MMUIViewController.h"
#import "AVCaptureAudioDataOutputSampleBufferDelegate.h"
#import "AVCaptureVideoDataOutputSampleBufferDelegate.h"
#import "EditImageAnimatedDelegate.... |
/*
** 2010 October 28
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*********************... |
/* Copyright (c) 2017, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ODP_PLAT_CPU_FLAGS_H_
#define ODP_PLAT_CPU_FLAGS_H_
#ifdef __cplusplus
extern "C" {
#endif
void cpu_flags_print_all(void);
#ifdef __cplusplus
}
#endif
#endif |
/*
* dsi.c: Functions implementing tegra dsi interface.
*
* Copyright (c) 2011-2019, NVIDIA CORPORATION, All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified u... |
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
#pragma once
#... |
/*
* =====================================================================================
*
* Filename: Welcome to our second slide!.c
*
* Description:
*
* Version: 1.0
* Created: 01/22/2019 07:45:43 PM
* Revision: none
* Compiler: gcc
*
* Author: Keaton M... |
// This file is part of AsmJit project <https://asmjit.com>
//
// See asmjit.h or LICENSE.md for license and copyright information
// SPDX-License-Identifier: Zlib
#ifndef ASMJIT_CORE_ENVIRONMENT_H_INCLUDED
#define ASMJIT_CORE_ENVIRONMENT_H_INCLUDED
#include "../core/archtraits.h"
#if defined(__APPLE__)
#include <... |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... |
#ifndef __BACKSQL_SQL_TYPES_H__
#define __BACKSQL_SQL_TYPES_H__
/*
* Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
*
* Redistribution and use in source and binary forms are permitted only
* as authorized by the OpenLDAP Public License. A copy of this
* license is available at http://... |
//----------------------------------------------------------------------------
// graph_zachary_karate.h - index arrays for Zachary Karate Club graph
// ----------------------------------------------------------------------------
// LAGraph, (c) 2021 by The LAGraph Contributors, All Rights Reserved.
// SPDX-License-Id... |
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* libnewlib glue code
*
* Authors: Felipe Huici <felipe.huici@neclab.eu>
*
*
* Copyright (c) 2017, NEC Europe Ltd., NEC Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided ... |
#if !defined( MAIN_H )
#define MAIN_H
#define DSS_VERSION_MAJOR 0
#define DSS_VERSION_MINOR 1
#define DSS_VERSION_REVISION 0
#endif |
#ifndef _GL4ES_SKIPS_H_
#define _GL4ES_SKIPS_H_
// don't auto-wrap these functions
// gl4es.c
#define skip_glColor4f
#define skip_glColor4ub
#define skip_glDisable
#define skip_glEnable
#define skip_glIsEnabled
#define skip_glNormal3f
#define skip_glBindBuffer
#define skip_glBufferData
#define skip_glBufferSubData
#d... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_COMMON_SANDBOX_INIT_H_
#define CONTENT_PUBLIC_COMMON_SANDBOX_INIT_H_
#include "base/memory/scoped_ptr.h"
#include "base/proces... |
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#define ROUND_NUMBER 25
#define BLOCK_WORD_NUMBER 4
uint32_t RC[ROUND_NUMBER] =
{
0x01, 0x02, 0x04, 0x09, 0x12, 0x05, 0x0b, 0x16,
0x0c, 0x19, 0x13, 0x07, 0x0f, 0x1f, 0x1e, 0x1c,
0x18, 0x11, 0x03, 0x06, 0x0d, 0x1b, 0x17, 0x0e, 0x1d
... |
/**
* \file
*
* \copyright
* Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
#include <string>
#inclu... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... |
/*
* Copyright (c) 2022 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <soc.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(test);
#define DT_DRV_COMPAT st_stm32_sp... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/wellarchitected/model... |
/*****************************************************************//**
* \file logger.ixx
* \brief This is the Logger.
* The package is named Log and includes a very basic file and iostream logger.
*
* \author Iridescence - Nathan Bourgeois <iridescentrosesfall@gmail.com>
* \date November 2020
*************... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/BookDataStore.framework/BookDataStore
*/
@interface BCCloudAssetAnnotationManager : NSObject <BCCloudAssetAnnotationManager, BCCloudDataSyncManagerDelegate> {
NSObject<OS_dispatch_queue> * _accessQueue;
BCCloudDataSource * _annotations... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "MMObject.h"
@class NSString, WCBusinessJumpViewController;
@interface OpenSDKOpenBusinessViewContext : MMObject
{
NSStri... |
//
// CCEffect.h
// cocos2d-ios
//
// Created by Oleg Osin on 3/29/14.
//
//
#import <Foundation/Foundation.h>
#import "CCSprite.h"
#import "CCShader.h"
#import "ccConfig.h"
#import "ccTypes.h"
#if CC_ENABLE_EXPERIMENTAL_EFFECTS
extern const NSString *CCShaderUniformPreviousPassTexture;
@interface CCEffectFunctio... |
//
// ZJCommonFilterController.h
// YLGrid
//
// Created by mac on 2019/11/29.
// Copyright © 2019 mac. All rights reserved.
//
#import "ZJBaseTableViewController.h"
@class ZJCommonFilterModel,ZJCommonFilterTopView;
@protocol ZJCommonFilterControllerDataSource <NSObject>
@required;
-(void)ZJ_TableViewRegisterCel... |
/*
The MIT License (MIT)
Copyright (c) [2016] [BTC.COM]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, me... |
#ifndef NEWCTGAMEFORM_H_
#define NEWCTGAMEFORM_H_
class CNewCTGameForm : public CForm {
public:
/*
TITLE "New Game"
FIELD ID SetPlayer3Name AT (56 108 78 12) USABLE LEFTALIGN FONT 0 MAXCHARS 14 UNDERLINED EDITABLE AUTOSHIFT
FIELD ID SetPlayer2Name AT (117 39 38 12) USABLE LEFTALIGN FONT 0 MAXCHARS 1... |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "MMViewController.h"
#import "MMChatBackupServerMgrExt-Protocol.h"
#import "MMChatBackupSessionLogicDelegate-Protocol.h"
#impo... |
#ifndef _CRFMLLOSS_H_
#define _CRFMLLOSS_H_
#include "MyLib.h"
#include "Metric.h"
#include "Param.h"
#include "Node.h"
using namespace Eigen;
struct CRFMLLoss{
public:
Param T;
int labelSize;
vector<dtype> buffer;
dtype eps;
public:
CRFMLLoss(){
labelSize = 0;
buffer.clear();
eps = 1e-20;
}
~CRFMLLos... |
/**
* Copyright (c) Glow Contributors. See CONTRIBUTORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... |
/**************************************************************************//**
* @file efr32fg14p_dma_descriptor.h
* @brief EFR32FG14P_DMA_DESCRIPTOR register and bit field definitions
* @version 5.4.0
******************************************************************************
* # License
* <b>Copyright 2017 ... |
#include <stdlib.h>
/**
* Note: The returned array must be malloced, assume caller calls free().
*/
int *decode(int *encoded, int encodedSize, int first, int *returnSize) {
// Re-use memory by allocating one more slot.
*returnSize = encodedSize + 1;
encoded = realloc(encoded, *returnSize * sizeof(*encoded));
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.