text
stringlengths
9
948k
// Copyright (C) 2016-2019 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #ifndef HTTP_REQUEST_TEST_H #define HTTP_REQU...
#pragma once #include "GameEngine/Core.h" #include "Layer.h" #include <vector> namespace GameEngine { class LayerStack { public: LayerStack(); ~LayerStack(); void PushLayer(Layer* layer); void PushOverlay(Layer* overlay); void PopLayer(Layer* layer); void PopOverlay(Layer* overlay); std::vector<L...
/* ** Copyright (c) 2007-2013 by Silicon Laboratories ** ** $Id: si3217x_intf.c 3746 2013-01-09 19:39:49Z cdp $ ** ** SI3217X_RevB_Intf.c ** SI3217X Rev B ProSLIC interface implementation file ** ** Author(s): ** cdp ** ** Distributed by: ** Silicon Laboratories, Inc ** ** This file contains proprietary information. ...
// // NoteCreate.h // ThoughtTrack // // Created by Ethan Neff on 1/15/15. // Copyright (c) 2015 ethanneff. All rights reserved. // #import <UIKit/UIKit.h> @interface NoteCreate : UIView // properties @property (nonatomic) UIView *view; // init -(instancetype)initWithMenu:(UIView *)menu withController:(UIViewCo...
#ifndef _ASVISUAL_H_HEADER_INCLUDED #define _ASVISUAL_H_HEADER_INCLUDED #ifdef __cplusplus extern "C" { #endif /****h* libAfterImage/asvisual.h * NAME * asvisual - Defines abstraction layer on top of X Visuals, as well as * several fundamental color datatypes. * SEE ALSO * Structures: * ColorPair * ...
// RUN: %clang_cc1 %s -verify -fsyntax-only void a() { __complex__ int arr; __complex__ short brr; __complex__ unsigned xx; __complex__ signed yy; __complex__ int result; int ii; int aa = 1 + 1.0iF; int bb = 0; bb += 1i; result = arr*ii; result = ii*brr; result = arr*brr; result = xx*yy; switch (arr) { // expected-...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import <IDESceneKitEditor/SKEStaticTableViewInspector.h> #import "NSTableViewDataSource.h" #import "NSTableViewDelegate.h" @class DVTGradientImageButton, NSString; @interface SK...
/* * YUV4MPEG format * Copyright (c) 2001, 2002, 2003 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg 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 Lic...
#include "config.h" #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <pwd.h> #include <sys/types.h> #include <security/pam_appl.h> static int test_conv (int num_msg UNUSED, const struct pam_message **msgm UNUSED, struct pam_response **response UNUSED, void *appdata_ptr UNUSED) { return 0; }...
/* Copyright 2018-present Barefoot Networks, Inc. * * 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 la...
#include <mm/mmu.h> #include <dev/dev.h> #include <dev/timer.h> #include <kernel/irq.h> #include <dev/gic.h> #include <basic_math.h> /* The ARM Versatile 926EJS board contains two ARM SB804 dual timer modules [ARM Timers 2004]. Each timer module contains two timers, which are driven by the same clock. The base address...
#ifndef TRAJ_ANALYZER_H #define TRAJ_ANALYZER_H #include "TrackingTools/PatternTools/interface/TrajTrackAssociation.h" #include "DataFormats/TrackReco/interface/Track.h" class TrajAnalyzer { private: TrajAnalyzer() = delete; public: ~TrajAnalyzer(); static int trajectoryHasPixelHit(const edm::Ref<std::vector<...
/* file: cholesky_types.h */ /******************************************************************************* * Copyright 2014-2020 Intel Corporation * * 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 Lice...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2014 Damien P. George * Copyright (c) 2016 Paul Sokolovsky * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation file...
/* Copyright 2020 Nikolaos Panagiotis Koukouras. 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 wr...
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:01:57 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/PrivateFrameworks/WebCore.framework/WebCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Lim...
//------------------------------------------------------------------------------ // GB_AxB: hard-coded functions for semiring: C<M>=A*B or A'*B //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2019, All Rights Reserved. // http://sui...
#pragma once #include "DXD/Utility/NonCopyableAndMovable.h" class D2DWrappedResource; class SceneImpl; class TextRenderer : DXD::NonCopyableAndMovable { public: TextRenderer(SceneImpl &scene); void renderTexts(D2DWrappedResource &output); bool isEnabled() const; private: SceneImpl &scene; };
//#include <stdio.h> //#include <graphics.h> //void mapmove(int xcord, int ycord, char input, int turn, char charname[]) //{ // int xcordwin, ycordwin; // xcordwin = 50 + 25*xcord; // ycordwin = 50 + 25*ycord; // // if (turn == 1) // setcolor(9); // else if (turn == 2) // setcolor(12); // /...
// 小徑 xiaojing1.c #include <ansi.h> inherit ROOM; void create() { set("short", "小徑"); set("long", @LONG 你沿着小路行了一程,蝴蝶逐漸多了起來,你更加加快腳步向前 走去。 LONG ); set("outdoors", "蝴蝶谷"); set("exits", ([ "north" : __DIR__"xiaojing2", "south" : __DIR__"xiaojing", ]));...
#pragma once #include "Common.h" #include "Utils.h" #include "Logger.h" #include "InputHook.h" #include <algorithm> class HookLL { friend class InputHook; private: static HMODULE(WINAPI* TrueLoadLibraryA)(LPCSTR lpLibFileName); static HMODULE(WINAPI* TrueLoadLibraryW)(LPCWSTR lpLibFileName); static ...
// // ViewController.h // EYWeChatFloat // // Created by 尹华东 on 2018/7/25. // Copyright © 2018年 yinhuadong. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
#ifndef MR_CODEJAM_H #define MR_CODEJAM_H #include <iostream> #include "assert.h" namespace mr { namespace codejam { template <typename F> void forEachTestCase(F solve) { int T; std::cin >> T; assert_fatal(T > 0); for (int t = 1; t <= T; t++) { std::cout << "Case #" << t << ": " << solve() << std::endl; } } ...
/* Timer helper routine -- compare values returned by gettimeofday system call and return a number of seconds. Taken from Parallel Mesh Database Jim Teresco, CS 338, Williams College Mon Feb 10 10:55:31 EST 2003 CS 341, Mount Holyoke College CS 400/CS 335, Siena College */ #include <stdlib.h> #...
// // 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 2009-2016 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
/*- * Copyright (c) 2006 Sam Leffler, Errno Consulting * Copyright (c) 2008-2009 Weongyo Jeong <weongyo@freebsd.org> * 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 ...
#ifndef DLNODE_H_INCLUDED #define DLNODE_H_INCLUDED #include "agent.h" #include "nodeexception.h" class DLNode { private: Agent* dataPtr; DLNode*prev; DLNode*next; public: DLNode(); DLNode(Agent&); ~DLNode(); Agent* getDataPtr(); Agent& getData(...
// // Copyright (c) Microsoft. All rights reserved. // See https://aka.ms/csspeech/license201809 for the full license information. // // speechapi_cxx_eventsignal.h: Public API declarations for EventSignal<T> C++ template class // #pragma once #include <functional> #include <list> #include <string> #include <mutex> #i...
#include <stdio.h> #include <stdlib.h> int * primes; int limit; int i; int j; int main(int argc, char ** argv) { if (argc != 2) { fprintf(stderr, "primes [limit]\n"); return -1; } limit = atoi(argv[1]); primes = (int *)malloc(limit * sizeof(int)); for (i = 0; i < limit; ++i) primes[i] = 0; for (i = 2; ...
/** @file The library instance provides security service of TPM2 measure boot. Caution: This file requires additional review when modified. This library will have external input - PE/COFF image and GPT partition. This external input must be validated carefully to avoid security issue like buffer overflow, in...
#ifdef __cplusplus extern "C" { #endif #include "f2c.h" int dtrtri_(char *uplo, char *diag, integer *n, doublereal *a, integer *lda, integer *info); #ifdef __cplusplus } #endif
// Copyright (c) 2017 GeometryFactory Sarl (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // // $URL: https://github.com/CGAL/cgal/blob/v5.1/Classification/include/CGAL/Classification/Local_eigen_analysis.h $ // $Id: Local_eigen_analysis.h 8bb22d5 2020-03-26T14:23:37+01:00 Sébastien L...
#ifndef _MODULECAMERAANDROID_H_ #define _MODULECAMERAANDROID_H_ #include "ModuleBase.h" #include "Core.h" class ModuleCameraAndroid; extern ModuleCameraAndroid* gInstanceModuleCameraAndroid; #ifdef _KIGS_ONLY_STATIC_LIB_ #define MODULEINITFUNC PlatformCameraModuleInit extern ModuleBase* PlatformCameraModuleInit(K...
/* * PS/2 mouse driver * * Copyright (c) 1999-2002 Vojtech Pavlik * Copyright (c) 2003-2004 Dmitry Torokhov */ /* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #define ...
// 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 CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_UI_H_ #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_UI_H_ #include <stdint....
// Copyright (c) 2009-2015 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 NAVCOIN_CLIENTVERSION_H #define NAVCOIN_CLIENTVERSION_H #if defined(HAVE_CONFIG_H) #include "config/navcoin-config.h...
// This source code is dual-licensed under the Mozilla Public License ("MPL"), // version 1.1 and the Apache License ("ASL"), version 2.0. // // The ASL v2.0: // // --------------------------------------------------------------------------- // Copyright 2017-2020 VMware, Inc. or its affiliates. // // Licensed under the...
/* * The MIT License (MIT) * * Copyright (c) 2015 Microsoft Corporation * * -=- Robust Distributed System Nucleus (rDSN) -=- * * 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...
// https://github.com/CedricGuillemet/ImGuizmo // v 1.61 WIP // // The MIT License(MIT) // // Copyright(c) 2016 Cedric Guillemet // // 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...
// // TaskTableViewCell.h // HotTopicForMaintenance // // Created by 郭春城 on 2017/10/31. // Copyright © 2017年 郭春城. All rights reserved. // #import <UIKit/UIKit.h> #import "TaskListModel.h" @interface TaskTableViewCell : UITableViewCell - (void)configWithModel:(TaskListModel *)model; @end
/** * Name: vertex.h * Purpose: Declaration of vertex * * @version 0.1 06/12/2018 * @author Piotr Zawadka */ #pragma once #include <vector> #include <iostream> ///Vertex class class Vertex{ private: unsigned id; unsigned distance; public: Vertex(): id(0), distance(0) { ...
/* -*-C-*- ******************************************************************************** * * File: outlines.h (Formerly outlines.h) * Description: Combinatorial Splitter * Author: Mark Seaman, OCR Technology * Created: Thu Jul 27 11:27:55 1989 * Modified: Wed May 15 17:28:47 1991 (Mark...
// Copyright 2010 Google Inc. 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 by applicable...
// The MIT License(MIT) // // Copyright(c) 2021 NVIDIA CORPORATION & AFFILIATES. 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 witho...
// The MIT License (MIT) // Copyright (c) 2013 lailongwei<lailongwei@126.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 r...
#include <stdio.h> #include <stdlib.h> #include <string.h> struct Alunos{ int matricula; char nome[100]; char curso[50]; int periodo; }; //ler um vetor de alunos // recebe um vetor de alunos e o tamanho do mesmo como parametros void leitura(struct Alunos *aluno, int tam){ for(int i=0;i<tam;i++){ ...
// #ifndef BANK_ACCOUNT_H #define BANK_ACCOUNT_H class BankAccount { public: BankAccount() = default; BankAccount(int b) :balance(b){} int get_balance()const; private: int balance{ 0 }; }; #endif
//===-- MICmnStreamStdout.h -------------------------------------*- 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 // //===---------------------------...
#include "pfs.h" bool check_read_token(file_t* file, int block_index) { token_node_t* cur = file->read_tokens; while(cur != NULL) { token_t* token = cur->token; int start = token->start_block; if (start == INVALID_TOKEN) { cur = cur->next; continue; } ...
// // AppDelegate.h // Runtime // // Created by 游峰 on 16/4/7. // Copyright © 2016年 yf. All rights reserved. // #import <UIKit/UIKit.h> #import <CoreData/CoreData.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property (readonly, strong, nonatomic...
/* * Copyright 2008 Search Solution Corporation * Copyright 2016 CUBRID Corporation * * 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-...
// Copyright 2016 The Draco 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 agree...
// 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_DIF_DIF_RV_TIMER_H_ #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_RV_TIMER_H_ /** * @file * @brief <a href="/hw/ip/rv_timer/doc/">RV Timer</...
/* Lzma86.h -- LZMA + x86 (BCJ) Filter 2013-01-18 : Igor Pavlov : Public domain */ #ifndef __LZMA86_H #define __LZMA86_H #include "7zTypes.h" EXTERN_C_BEGIN #define LZMA86_SIZE_OFFSET (1 + 5) #define LZMA86_HEADER_SIZE (LZMA86_SIZE_OFFSET + 8) /* It's an example for LZMA + x86 Filter use. You can use .lzma86 exte...
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "HAL/CriticalSection.h" #include "IPlatformFilePak.h" #include "Misc/AES.h" #include "Misc/Guid.h" #include "Misc/SecureHash.h" #include "Serialization/ArrayReader.h" #include "IPakAnalyzer.h" struct FPakEnt...
//***************************************************************************** // // usbhaudio.c - USB host audio driver. // // Copyright (c) 2010-2013 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Texas Instruments (TI) is supplying this software for use solely and // excl...
//===- ToolChain.h - Collections of tools for one platform ------*- 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 // //===---------------------------...
/*ckwg +29 * Copyright 2020 by Kitware, 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...
// Copyright 2016 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 SRC_MODULAR_BIN_SESSIONMGR_STORY_RUNNER_STORY_PROVIDER_IMPL_H_ #define SRC_MODULAR_BIN_SESSIONMGR_STORY_RUNNER_STORY_PROVIDER_IMPL_H_ #include <fu...
#define MIME_SHORT_DESCR "Person" #define MIME_LONG_DESCR "Personal and Work Contact Information" #define APP_TITLE_TEXT APP_NAME" "APP_VERSION" - New Person" // définitions des labels des champs MIME // (utilisés dans FileTypes / Tracker / QueryApp / People) // général #define VIEW_COMPAT_NAME "Complete name" #def...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SKSL_FIELD #define SKSL_FIELD #include "SkSLModifiers.h" #include "SkSLPosition.h" #include "SkSLSymbol.h" #include "SkSLType.h" namespace SkSL { /** * A symbol ...
//////////////////////////////////////////////////////////////////////////////// /// /// Common type definitions for SoundTouch audio processing library. /// /// Author : Copyright (c) Olli Parviainen /// Author e-mail : oparviai 'at' iki.fi /// SoundTouch WWW: http://www.surina.net/soundtouch /// //////////////...
#pragma once #include <DB/IO/WriteHelpers.h> #include <DB/IO/ReadHelpers.h> #include <DB/DataTypes/DataTypeArray.h> #include <DB/DataTypes/DataTypesNumberFixed.h> #include <DB/Columns/ColumnVector.h> #include <DB/Columns/ColumnArray.h> #include <DB/AggregateFunctions/IUnaryAggregateFunction.h> #define AGGREGATE_FU...
inherit ROOM; void create() { set("short","龙门镖局"); set("long", @LONG 这儿是中州第一号镖局,正对面是一人多高的香案,双旁 坐着众位镖头。亭中央的虎头椅上正是龙门镖局的总镖头都大 锦。右边邻着中州城的文定北街。 LONG); set("exits", ([ "east" : __DIR__"wendingbei4", ])); set("objects",([ __DIR__"npc/...
/* GadgetSpreadWeapon.h (c)2013 Palestar */ #ifndef GADGET_SPREAD_WEAPON_H #define GADGET_SPREAD_WEAPON_H #include "NounGadget.h" #include "NounPlanet.h" #include "GameDll.h" //---------------------------------------------------------------------------- class NounProjectile; // forward declare //--------------...
/* * 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 ...
/* Copyright (c) 2012-2015 David Huseby * 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 list of condi...
/**************************************************************************** * * ftgloadr.h * * The FreeType glyph loader (specification). * * Copyright (C) 2002-2022 by * David Turner, Robert Wilhelm, and Werner Lemberg * * This file is part of the FreeType project, and may only be used, * modified, and d...
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2018 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // File Version: 3.0.0 (2016/06/19) #pragma once #include <LowLevel/GteLogT...
#include "libm.h" #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 TASELDOUBLE floorl(TASELDOUBLE x) { return floor(x); } #elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 static const TASELDOUBLE toint = 1/LDBL_EPSILON; TASELDOUBLE floorl(TASELDOUBLE x) { union ldshape u = {x}; int e = ...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "DSRC" * found in "J2735_201603.asn1" * `asn1c -gen-PER -fcompound-names -fincludes-quoted` */ #ifndef _MobilityLocation_H_ #define _MobilityLocation_H_ #include "asn_application.h" /* Including external dependencies */ #include "M...
#ifndef UT_RANDOM1_H #define UT_RANDOM1_H double GetOneGaussianBySummation(); double GetOneGaussianByBoxMuller(); #endif /* * * Copyright (c) 2002 * Mark Joshi * * Permission to use, copy, modify, distribute and sell this * software for any purpose is hereby * granted without fee, provided that the above copyright n...
// Copyright 2020 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_UI_WEBUI_READ_LATER_READ_LATER_PAGE_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_READ_LATER_READ_LATER_PAGE_HANDLER_H_ #include <str...
/* =========================================================================== * Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * * Use of this software is controlled by the terms and conditions found in * the license agreement under which this software has been supplied. * ==================...
// // PINRemoteImageManager.h // Pods // // Created by Garrett Moon on 8/17/14. // // #import <Foundation/Foundation.h> #if PIN_TARGET_IOS #import <UIKit/UIKit.h> #elif PIN_TARGET_MAC #import <Cocoa/Cocoa.h> #endif @protocol PINRequestRetryStrategy; #import "PINRemoteImageMacros.h" #import "PINRemoteImageManager...
// Copyright (C) 2013 - Will Glozer. All rights reserved. #include <stdbool.h> #include <stdint.h> #include <sys/stat.h> #include <unistd.h> #include "base64.h" #include "db.h" #include "pki.h" #include "protocol.h" #include "init.h" bool init(char *path, kdfp *kdfp, uint8_t *passwd, size_t len) { uint8_t bytes[...
// // MXNetworkTransferMetric.h // MetricKit // // Copyright (c) 2018 Apple Inc. // All rights reserved. #import <Foundation/Foundation.h> #import <MetricKit/MXMetric.h> #import <MetricKit/MXUnit.h> #import <os/availability.h> NS_ASSUME_NONNULL_BEGIN /*! @class MXNetworkTransferMetric @abstract An...
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Re...
/* GStreamer * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu> * 2001 Thomas <thomas@apestaart.org> * 2005,2006 Wim Taymans <wim@fluendo.com> * * adder.c: Adder element, N in, one out, samples are added * * This library is free software; you can redistribute it and/or...
/** * @file town.h * * Interface of functionality for rendering the town, towners and calling other render routines. */ #ifndef __TOWN_H__ #define __TOWN_H__ DEVILUTION_BEGIN_NAMESPACE #ifdef __cplusplus extern "C" { #endif void SetTownMicros(); void T_FillSector(BYTE *P3Tiles, BYTE *pSector, int xi, int yi, int...
#include <stdio.h> int main(void) { int pets_total; int cats, dogs, parrots, others; cats = 3; dogs = 4; parrots = 2; others = 5; pets_total = cats + dogs + parrots + others; printf("We have %d pets in total", pets_total); return 0; }
#include <math.h> #include "extramath.h" //#include "Parameters.h" #ifdef USING_FPOINT_HW #include "altera_nios_custom_instr_floating_point_2_no_sqrt.h" #endif //Code originally from http://www.dspguru.com/dsp/tricks/fixed-point-atan2-with-self-normalization //Which was in the public domain. //It has since been modi...
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2010 Nokia Corporation * Copyright (C) 2010 Marcel Holtmann <marcel@holtmann.org> * * * 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 ...
/* * Copyright (c) 2021 Huawei Device 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 o...
#pragma once #include "glm\ext.hpp" enum ShapeType { PLANE = 0, SPHERE, SHAPE_COUNT }; /** * a pure virutal class */ class PhysicsObject { protected: PhysicsObject(ShapeType a_shapeID) : m_shapeID(a_shapeID) {} public: virtual void fixedUpdate(glm::vec2 gravity, float timeStep) = 0; virtual void debug() = 0; ...
#include "smpch.h" #include "math/smMath.h" #include "smCameraP.h" #include "smInput.h" #define CAMERA_THIRD_PERSON_DISTANCE_CLAMP 1.2f #define CAMERA_THIRD_PERSON_MIN_CLAMP -5.0f #define CAMERA_THIRD_PERSON_MAX_CLAMP -70.0f #define CAMERA_MOUSE_SCROLL_SENSITIVITY 1.4f typedef struct { cam_mode_e mod...
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import <UIKit/UIViewController.h> @protocol TVHAccountSetupViewControllerDelegate; @interface TVHAccountSetupViewController : UIViewController {...
/* 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...
#include <QtCore> #include <QtGui>
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "shared/source/os_interface/device_factory.h" #include "shared/test/common/helpers/debug_manager_state_restore.h" #include "shared/test/common/helpers/default_hw_info.h" #include "shared/test/common/mocks/m...
#ifndef TRAIN_UTIL_CURVE_ITERATOR_H #define TRAIN_UTIL_CURVE_ITERATOR_H #include "curve-provider.h" namespace train { namespace util { class CurveIterator { static const float baseStep; static const float limit; CurveProvider &curveProvider; CurvePoint curr...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : usbd_conf.h * @version : v2.0_Cube * @brief : Header for usbd_conf.c file. ****************************************************************************** * @att...
#ifndef APP_DATAFORMATS_H #define APP_DATAFORMATS_H /** * @file app_dataformats.h * @author Otso Jousimaa <otso@ojousima.net> * @date 2021-08-19 * @copyright Ruuvi Innovations Ltd, License BSD-3-Clause. * * Helper to encode data into various formats * */ #include "app_config.h" #include "ruuvi_driver_error.h"...
/* Copyright 2020 Jaakko Keränen <jaakko.keranen@iki.fi> 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 list of conditions and the following...
/* BFD back-end for TMS320C30 a.out binaries. Copyright (C) 1998-2016 Free Software Foundation, Inc. Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au) This file is part of BFD, the Binary File Descriptor library. This program is free software; you can redistribute it and/or modify it under the t...
// // TableviewPaginator.h // TableviewPaginator // // Created by ratul sharker on 8/26/18. // Copyright © 2018 CocoaPods. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for TableviewPaginator. FOUNDATION_EXPORT double TableviewPaginatorVersionNumber; //! Project version string for Ta...
/* * linux/arch/m68k/atari/debug.c * * Atari debugging and serial console stuff * * Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek * * 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 mor...
/* * snmpwalk.c - send snmp GETNEXT requests to a network entity, walking a * subtree. * */ /********************************************************************** Copyright 1988, 1989, 1991, 1992 by Carnegie Mellon University All Rights Reserved Permission to use, copy, modify, and distrib...
// // SChartAnimation.h // Dev // // Copyright 2013 Scott Logic Ltd. All rights reserved. // // #import <Foundation/Foundation.h> #import "SChartAnimationCurve.h" /** An `SChartAnimation` object determines how an `SChartSeries` is animated. Depending on the action which an animation is linked to, it may be tri...