text stringlengths 9 948k |
|---|
/*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
*
* 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... |
class bublbobl_state : public driver_data_t
{
public:
static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, bublbobl_state(machine)); }
bublbobl_state(running_machine &machine)
: driver_data_t(machine) { }
/* memory pointers */
UINT8 * mcu_sharedram;
UINT8 * videoram;
UIN... |
#include <stdio.h>
#include "stm32f4xx.h"
// #include "stm32f4xx_gpio.h"
// #include "stm32f4xx_rcc.h"
#include "math.h"
#include "string.h"
#include "stdlib.h"
#include "main.h"
#include "matrix_config.h"
#define MIN(x,y) (x<y)?x:y;
const int waits[] = { 5, 10, 20, 40, 80, 160, 320, 640 };
// const int scan = MATRIX_H... |
#include "room.h"
#undef EXTRA_RESET
#define EXTRA_RESET\
extra_reset();
object monster;
extra_reset() {
set_not_out(3);
if (!monster) {
monster = clone_object("/wizards/walla/chessboard/monsters/wpawn");
move_object(monster, this_object());
}
}
FIVE_EXIT("wizards/walla/che... |
/*
* This file is part of net-yy-unix strace test.
*
* Copyright (c) 2014-2016 Dmitry V. Levin <ldv@altlinux.org>
* Copyright (c) 2014-2017 The strace developers.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... |
/**
**************************************************************************
* @file at32f413_acc.h
* @version v2.0.4
* @date 2022-04-02
* @brief at32f413 acc header file
**************************************************************************
* Copyright notice & Dis... |
//------------------------------------------------------------------------------
// GB_Adot2B: hard-coded dot2 method for a semiring
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
// SPDX-License-Identifi... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//
#ifndef CL_SCREENSHOTMANAGER_H
#define CL_SCREENSHOTMANAGER_H
#ifdef _WIN32
#pragma once
#endif
//-----------------------------------------------... |
#ifndef OPENTISSUE_DYNAMICS_SWE_SWE_DAMPED_WAVE_EQUATIONS_H
#define OPENTISSUE_DYNAMICS_SWE_SWE_DAMPED_WAVE_EQUATIONS_H
//
// OpenTissue Template Library
// - A generic toolbox for physics-based modeling and simulation.
// Copyright (C) 2008 Department of Computer Science, University of Copenhagen.
//
// OTTL is licens... |
/*
* uzlib - tiny deflate/inflate library (deflate, gzip, zlib)
*
* Copyright (c) 2003 by Joergen Ibsen / Jibz
* All Rights Reserved
*
* http://www.ibsensoftware.com/
*
* Copyright (c) 2014-2018 by Paul Sokolovsky
*
* This software is provided 'as-is', without any express
* or implied warranty. In no even... |
/*
GlowWormLuciferin.h - Glow Worm Luciferin for Firefly Luciferin
All in one Bias Lighting system for PC
Copyright (C) 2020 - 2022 Davide Perini
This program 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 Fou... |
//#include <wiringPi.h>
//#include <softPwm.h>
#include "servo.h"
//int pin = 17;
//move servo to a specific location
int servo_position(int position){ //0 25 90 135 or 180 degree
int pulse;
switch (position)
{
case 0:
pulse = 5;
break;
case 1:
pulse = 10;
break;
case 2:
... |
/* select - Module containing unix select(2) call.
Under Unix, the file descriptors are small integers.
Under Win32, select only exists for sockets, and sockets may
have any value except INVALID_SOCKET.
Under BeOS, we suffer the same dichotomy as Win32; sockets can be anything
>= 0.
*/
#include "Python.... |
//
// IMPExif.h
// IMProcessing
//
// Created by denis svinarchuk on 21.05.16.
// Copyright © 2016 Dehancer.photo. All rights reserved.
//
#ifndef IMPExif_h
#define IMPExif_h
typedef enum {
//
// Exif codes, F is example
//
// 1 2 3 4 5 6 7 ... |
#include <vector>
#include <opencv2/opencv.hpp>
class LaneDetector
{
public:
LaneDetector(int height, int width);
void detect(cv::Mat& frame);
private:
void init_perspective_transform();
cv::Mat gray, blurred, edges, transform, inverse_transform, warped;
std::vector<cv... |
/*
* APEI Hardware Error Souce Table support
*
* HEST describes error sources in detail; communicates operational
* parameters (i.e. severity levels, masking bits, and threshold
* values) to Linux as necessary. It also allows the BIOS to report
* non-standard error sources to Linux (for example, chipset-specific
... |
/********************************
** Tsunagari Tile Engine **
** json.h **
** Copyright 2020 Paul Merrill **
********************************/
// **********
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files ... |
// Copyright (c) 2011 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 NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
#define NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
#include <map>
#include <memory>
#include <string>
#inclu... |
#pragma once
#include <QMainWindow>
#include <QWidget>
#include <QCloseEvent>
#include <memory>
#include <atomic>
#include "ui_videowindow.h"
#include "nrtc_engine.h"
class VideoWindow : public QMainWindow
{
Q_OBJECT
public:
VideoWindow(QWidget *parent = Q_NULLPTR);
~VideoWindow();
void closeEvent(QCl... |
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_SW_DEVICE_LIB_BASE_TESTING_MOCK_MMIO_TEST_UTILS_H_
#define OPENTITAN_SW_DEVICE_LIB_BASE_TESTING_MOCK_MMIO_TEST_UTILS_H_
#include <initializer_list>
#i... |
//=================================================================================================
/*!
// \file blazemark/boost/TMat3Mat3Mult.h
// \brief Header file for the Boost 3D transpose matrix/matrix multiplication kernel
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is... |
//Original Ten Tusscher
#include <assert.h>
#include <stdlib.h>
#include "ten_tusscher_2004_epi_S2_8.h"
GET_CELL_MODEL_DATA(init_cell_model_data) {
assert(cell_model);
if(get_initial_v)
cell_model->initial_v = INITIAL_V;
if(get_neq)
cell_model->number_of_ode_equations = NEQ;
}
//TODO:... |
/*
* Copyright (c) 2018 ISP RAS (http://www.ispras.ru)
* Ivannikov Institute for System Programming of the Russian Academy of Sciences
*
* 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
*... |
/*
* Copyright (c) 2018-2019, Arm Limited and affiliates.
* 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://www.apache.org/licenses/... |
// Copyright 2017 The Ray Authors.
//
// 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 i... |
#ifndef GRASSLANDBIOME_H_INCLUDED
#define GRASSLANDBIOME_H_INCLUDED
#include "Biome.h"
class GrasslandBiome : public Biome {
public:
GrasslandBiome(int seed);
ChunkBlock getBeachBlock(Rand &rand) const override;
ChunkBlock getPlant(Rand &rand) const override;
ChunkBlock getTopBlock(Rand &rand) cons... |
/* Generated automatically. DO NOT EDIT! */
#define SIMD_HEADER "simd-support/simd-altivec.h"
#include "../common/n2sv_64.c" |
//
// 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 (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* Enhanced MetaFile driver graphics functions
*
* Copyright 1999 Huw D M Davies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at yo... |
/************************************************************************/
/* */
/* ICMP.h This defined ICMP messages that are implemented */
/* as part of the Internet Layer */
/* */
/*************************************************... |
//
// XlsxReaderWriter-swift-bridge.h
// BRAXlsxReaderWriter
//
// Created by René BIGOT on 02/09/2015.
// Copyright (c) 2015 René Bigot. All rights reserved.
//
#import "NativeFont+BoldItalic.h"
#import "NativeColor+OpenXML.h"
#import "NativeColor+HTML.h"
#import "XMLDictionary.h"
#import "NSDictionary+OpenXmlSt... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:26:17 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/Settings/PrivacySettingsUI.framework/PrivacySettingsUI
* classdump-dyld is licensed under GPLv3, Cop... |
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (c) 2005 Silicon Graphics, Inc. All rights reserved.
*/
/*
* MOATB Core Services driver.
*/
#include <linux/interrupt.h>
#... |
/*
Fontname: ISO10646_CN
Copyright: A. Hardtung, public domain
Capital A Height: 7, '1' Height: 7
Calculated Max Values w=11 h=11 x= 2 y=10 dx=12 dy= 0 ascent=10 len=22
Font Bounding box w=12 h=11 x= 0 y=-2
Calculated Min Values x= 0 y=-1 dx= 0 dy= 0
Pure Font ascent = 7 descent=-1
X Fon... |
//
// BaseViewController.h
// KJWorkboxDemo
//
// Created by 杨科军 on 2020/1/9.
// Copyright © 2020 杨科军. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface BaseViewController : UIViewController
@end
NS_ASSUME_NONNULL_END |
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... |
/*
* ditheringManager.h
*
* Created on: 1/9/2019
* Author: gastonvallasciani
*/
#ifndef MISPROYECTOS_PROCESADORDEAUDIO_INC_DITHERINGMANAGER_H_
#define MISPROYECTOS_PROCESADORDEAUDIO_INC_DITHERINGMANAGER_H_
/*==================[inclusiones]============================================*/
#include "sapi.h" ... |
#ifndef C0P_PARAM_INIT_OBJECTS_SURFER__US_1O0__SURFTIMECONST_5O0__REORIENTATIONTIME_1O5_ORIENT_GROUP_MEMBER_PASSIVE_CHOICE_H
#define C0P_PARAM_INIT_OBJECTS_SURFER__US_1O0__SURFTIMECONST_5O0__REORIENTATIONTIME_1O5_ORIENT_GROUP_MEMBER_PASSIVE_CHOICE_H
#pragma once
// THIS FILE SHOULD NOT BE EDITED DIRECTLY BY THE USERS.... |
/*
* Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot 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:
*
* * Redistributions of source code must retain the above co... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/antoniocortes/j2objcprj/relases/j2objc/guava/build_result/java/com/google/common/escape/ArrayBasedUnicodeEscaper.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_ComGoogleCommonEscapeArrayBasedUnicodeEscaper")
#ifdef RESTRIC... |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
#include "f2c.h"
#ifdef KR_headers
double pow_ri(ap, bp) real *ap; integer *... |
/*
* contrib/btree_gin/btree_gin.c
*/
#include "postgres.h"
#include <limits.h>
#include "access/stratnum.h"
#include "utils/builtins.h"
#include "utils/bytea.h"
#include "utils/cash.h"
#include "utils/date.h"
#include "utils/inet.h"
#include "utils/numeric.h"
#include "utils/timestamp.h"
#include "utils/varbit.h"
... |
//
// TweetsViewController.h
// Twitter
//
// Created by Ankush Raina on 11/9/15.
// Copyright © 2015 Ankush Raina. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TweetsViewController : UIViewController
@end |
/* ----------------------------------------------------------------------
* Copyright (C) 2010 ARM Limited. All rights reserved.
*
* $Date: 14/06/07 1:57a $Revision: V1.1.0
*
* Project: CMSIS DSP Library
* Title: arm_max_f32.c
*
* Description: Maximum value of a floating-point vecto... |
#include<stdio.h>
#include<string.h>
void display_str(char *ptr){
while(*ptr)
{
printf("%c",*ptr);
ptr++;
}
} |
//------------------------------------------------------------------------------
/*
This file is part of MUSO: https://github.com/MUSO/MUSO
Copyright (c) 2012, 2013 MUSO Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, p... |
/*
* Linux Broadcom BCM47xx GPIO char driver
*
* Copyright 2007, Broadcom Corporation
* All Rights Reserved.
*
* THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
* KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
* SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIE... |
// The MIT License
//
// Copyright (c) 2013 Gwendal Roué
//
// 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, mo... |
// Copyright (c) 2006, Google Inc.
// 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 copyright
// notice, this list of conditi... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3507792607.h"
// System.Collections.Generic.List`1<UnityEngine.EventSystems.EventTrigger/Entry>
struct List_1_t2734131178;
// UnityEngine.EventSyst... |
#include <stdio.h>
#define BY2PG 0x1000ull
#define PGSHIFT 12
#define PTSHIFT 9
#define PTLX(v, l) (((v) >> (((l)*PTSHIFT) + PGSHIFT)) & ((1 << PTSHIFT) - 1))
#define PGLSZ(l) (1ull << (((l)*PTSHIFT) + PGSHIFT))
int
main(void)
{
unsigned long long i, va;
for (i = 0; i < 4; i++)
printf("%llx\n", PGLSZ(i));
for ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:52:08 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/AccessoryMediaLibrary.framework/AccessoryMediaLibrary
* classdump-dyld is licensed under GPLv3, Copy... |
/*
* Copyright © 2012, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed
* under the Apache License, Version 2.0 (the "License");
* you may not use t... |
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... |
#include <std.h>
inherit ROOM;
void create(){
::create();
set_terrain(CITY);
set_travel(PAVED_ROAD);
set_property("light", 2);
set_short("A Street in Daggerdale.");
set("day long",
@GIL
%^ORANGE%^You are on North Woodbury Lane.
The street runs North and South from here.
A metal pole holds an unlit lantern ... |
// Copyright 2017 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 THIRD_PARTY_BLINK_RENDERER_MODULES_MEDIA_CONTROLS_ELEMENTS_MEDIA_CONTROL_TIMELINE_METRICS_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_MEDIA_CONT... |
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... |
/*
* Copyright Supranational LLC
* Licensed under the Apache License, Version 2.0, see LICENSE for details.
* SPDX-License-Identifier: Apache-2.0
*/
#include "fields.h"
#ifdef __OPTIMIZE_SIZE__
/*
* 608 multiplications for scalar inversion modulo BLS12-381 prime, 32%
* more than corresponding optimal addition-c... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:46:19 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/PassKitCore.framework/PassKitCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:42:24 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/NewsTransport.framework/NewsTransport
* classdump-dyld is licensed under GPLv3, Copyright © 2013-201... |
// Copyright (c) 2016-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef KRYPTOFRANC_VERSIONBITSINFO_H
#define KRYPTOFRANC_VERSIONBITSINFO_H
struct VBDeploymentInfo {
/** Deployment nam... |
/*
LUFA Library
Copyright (C) Dean Camera, 2011.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... |
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* 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
* righ... |
/* Copyright (c) 2017 Griefer@Work *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
... |
/********************************************************************
* Copyright (C) 2013-2014 Texas Instruments Incorporated.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of so... |
//
// TMSShareModel.h
// Tianmushan
//
// Created by shushaoyong on 2016/11/9.
// Copyright © 2016年 踏潮. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TMSShareModel : NSObject
/**潮报id*/
@property(nonatomic,copy)NSString *reportid;
/**url*/
@property(nonatomic,strong)NSString *h5url;
/**缩略... |
//
// ExtensionDelegate.h
// VOKUtilities-watchOS Extension
//
// Created by Ellen Shapiro (Work) on 3/15/17.
// Copyright © 2017 Vokal. All rights reserved.
//
#import <WatchKit/WatchKit.h>
@interface ExtensionDelegate : NSObject <WKExtensionDelegate>
@end |
/*
* Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "RmCharInfo.h"
#include "CharListItemWidget.generated.h"
/**
*
*/
UCLASS(Abstract, editinlinenew, BlueprintType, Blueprintable, meta = (DontUseGenericSp... |
#pragma once
#include <Vector2.h>
#include "DynamicArray.h"
namespace NodeGraph
{
struct Node;
struct Edge
{
Node* target;
float cost;
};
struct Node
{
MathLibrary::Vector2 position;
float gScore;
float hScore;
float fScore;
bool walkable = true;
unsigned int color = 0xFFFFFFFFF;
Node* prev... |
// Copyright 2018 The Fuchsia 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 ZIRCON_SYSTEM_ULIB_BLOBFS_ITERATOR_NODE_POPULATOR_H_
#define ZIRCON_SYSTEM_ULIB_BLOBFS_ITERATOR_NODE_POPULATOR_H_
#include <stdbool.h>
#include <s... |
#ifndef RED_THREADING_PLATFORM_CONDITION_H
#define RED_THREADING_PLATFORM_CONDITION_H
#include <Red/Threading/Platform/Mutex.h>
#ifdef _WIN32
#include <windows.h>
typedef CONDITION_VARIABLE __Platform_Condition_t;
#else
#include <pthread.h>
typedef pthread_cond_t __Platform_Condition_t;
#endif
void _... |
#ifndef _INCLUDED_CHNKTEXI_H_
#define _INCLUDED_CHNKTEXI_H_
#include "TextureManager.h"
/* image number for already loaded image - really an internal function */
#define GEI_NOTLOADED MISSING_TEXTURE
#if 0
enum /* flags, etc */
{
/* destination surface type */
LIO_CHIMAGE = 0x00000000U, /* Chris Humphries tex... |
/*
Package: dyncall
Library: test
File: test/plain/test_structs.c
Description:
License:
Copyright (c) 2010-2011 Olivier Chafik <olivier.chafik@gmail.com>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copy... |
/*
* Sudoku.h is a validator for Sudoku solutions of a 9 * 9 grid.
* Supplemental to Sudoku.c and must be compiled together.
* This program can process the given Sudoku solution
* and determine if it is valid (1-9 each row/column/
* square) using Pthreads in the UNIX operating s... |
// pbrt is Copyright(c) 1998-2020 Matt Pharr, Wenzel Jakob, and Greg Humphreys.
// The pbrt source code is licensed under the Apache License, Version 2.0.
// SPDX: Apache-2.0
#ifndef PBRT_GPU_PATHINTEGRATOR_H
#define PBRT_GPU_PATHINTEGRATOR_H
#include <pbrt/pbrt.h>
#include <pbrt/base/bxdf.h>
#include <pbrt/base/cam... |
#pragma once
#include "Core/Macros/UtilMacros.h"
#include "Core/Template/TemplateUtil.h"
#include <vector>
#include <stdint.h>
#include <filesystem>
#include <string_view>
struct SRDIFutureSupport;
__interface IRDIDevice;
__interface IRDIAdapter;
__interface IRDIResource;
__interface IRDICommandList;
__interface IR... |
/*
* Tool tip control
*
* Copyright 1998, 1999 Eric Kohl
* Copyright 2004 Robert Shearman
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, o... |
//
// EXSensorController.h
// CLPedometerManager
//
// Created by Cain Luo on 2018/8/20.
// Copyright © 2018年 Cain Luo. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface EXSensorController : CLTableViewController
@end |
#ifndef BABYLON_MATERIALS_NODE_BLOCKS_PARTICLE_PARTICLE_TEXTURE_BLOCK_H
#define BABYLON_MATERIALS_NODE_BLOCKS_PARTICLE_PARTICLE_TEXTURE_BLOCK_H
#include <babylon/babylon_api.h>
#include <babylon/materials/node/node_material_block.h>
namespace BABYLON {
class BaseTexture;
class ParticleTextureBlock;
using BaseTexture... |
/*
* Copyright(C)2020, MediaTek Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <arch_helpers.h>
#include <common/debug.h>
#include <drivers/delay_timer.h>
#include <lib/mmio.h>
#include <plat/common/platform.h>
#include <l... |
#include <stdio.h>
int man ()
{
int a=9;
if(a=5)
printf("a is five\t");
else
printf("a is not five\t");
printf("value of a is %d\n",a );
return 0;
} |
#include <stdio.h>
int main() {
int a=1, b=1, c=0, d=0;
printf("a = %d, b = %d, c = %d, d = %d.\n", a, b, c, d);
printf("a || b && c || d = %d.\n", a || b && c || d);
printf("(a||b) && c || d) = %d.\n", (a||b) && c || d);
printf("a || (b&&c) || d = %d.\n", a || (b&&c) || d);
printf("a || b && (c||d) = %d.\n", a ... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:50:52 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/Frameworks/SwiftUI.framework/SwiftUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*... |
/*
* WARNING: do not edit!
* Generated by makefile from include\openssl\opensslconf.h.in
*
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* ... |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2015 The PHP Group |
+--------------... |
// SPDX-License-Identifier: GPL-2.0-only
/* drivers/net/ethernet/micrel/ks8851.c
*
* Copyright 2009 Simtec Electronics
* http://www.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#define DEBUG
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/ker... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
#ifndef Utilities_GetPassID_h
#define Utilities_GetPassID_h
#include <string>
namespace edm {
inline
std::string getPassID () {
static std::string const passID;
// return empty string for now.
return passID;
}
}
#endif |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
/* PyDict_MINSIZE is the starting size for any new dict.
* 8 allows dicts with no more than 5 active entries; experiments suggested
* this suffices for the majority of dicts (consisting mostly of usually-small
* dicts created to pass keyword arguments).
* Making this 8, rather than 4 reduces the number of resizes f... |
//
// UIViewController+LdzfAlert.h
// LDZFCategories
//
// Created by zhuyuhui on 2021/12/3.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
alert点击
*/
typedef void(^LDZFAlertClickIndexBlock)(NSInteger clickNumber);
/**
alert 取消
*/
typedef void(^LDZFAlertCancleBlock)(void);
@interface UIViewController... |
/*
* driver.c: The new mono JIT compiler.
*
* Author:
* Paolo Molaro (lupus@ximian.com)
* Dietmar Maurer (dietmar@ximian.com)
*
* (C) 2002-2003 Ximian, Inc.
* (C) 2003-2006 Novell, Inc.
*/
#include <config.h>
#include <signal.h>
#if HAVE_SCHED_SETAFFINITY
#include <sched.h>
#endif
#ifdef HAVE_UNISTD_H
#in... |
/**@addtogroup Stemming
@brief Library for stemming words down to their root words.
@date 2003-2015
@copyright Oleander Software, Ltd.
@author Oleander Software, Ltd.
@details This program is free software; you can redistribute it and/or modify
it under the terms of the BSD License.
* @{*/
#ifndef __PORTUGUESE_STEM_H_... |
#ifndef VHM_TYPES_H
#define VHM_TYPES_H
#include <stdint.h>
#include <cglm/types.h>
typedef uint64_t u64;
typedef uint32_t u32;
typedef uint16_t u16;
typedef uint8_t u8;
typedef int64_t i64;
typedef int32_t i32;
typedef int16_t i16;
typedef int8_t i8;
typedef double f64;
typedef float f32;
#define VHM_SUCCESS... |
/*
*
* Copyright 2015-2016, Google Inc.
* 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 copyright
* notice, this list of ... |
/*
__ __ __
|__|__| | __
| | | ||__|
___ ___ __ | | | |
| | | || | | | Ubiquitous Internet @ IIT-CNR
| | | || | | | C++ edge computing libraries and tools
|_______|__||__|__|__| https://github.com/ccicconetti/serverlessonedge
Licensed under t... |
#include <ansi.h>
inherit ITEM;
void create()
{
set_name(HIG "仙魂草" NOR, ({"xianhuncao"}));
set_weight(1);
if (clonep())
set_default_object(__FILE__);
else {
set("long", HIG "仙魂草長於崑崙山溶洞之中,傳説吸收了修仙之人的魂魄!\n" +
"服食(fushi xianhuncao)後可永久提升武學... |
//===- OpImplementation.h - Classes for implementing Op types ---*- C++ -*-===//
//
// 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
//
//===---------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.