text
stringlengths
9
948k
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_canberra_distance_f32.c * Description: Canberra distance between two vectors * * * Target Processor: Cortex-M cores * ------------------------------------------------------------------...
// // JSDropDownMenu.h // JSDropDownMenu // // Created by Jsfu on 15-1-12. // Copyright (c) 2015年 jsfu. All rights reserved. // #import <UIKit/UIKit.h> #import <UIKit/UIKit.h> @interface JSIndexPath : NSObject @property (nonatomic, assign) NSInteger column; @property (nonatomic, assign) NSInteger leftOrRight; @...
/* * acpi_ac.c - ACPI AC Adapter Driver ($Revision: 27 $) * * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This program is free soft...
/* OpenGL loader generated by glad 0.1.11a0 on Wed Jul 6 11:57:10 2016. Language/Generator: C/C++ Specification: gl APIs: gl=3.2 Profile: core Extensions: Loader: True Local files: True Omit khrplatform: False Commandline: Online: Too many extensions */ #include ...
// 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_SYNC_GLUE_FRONTEND_DATA_TYPE_CONTROLLER_H__ #define CHROME_BROWSER_SYNC_GLUE_FRONTEND_DATA_TYPE_CONTROLLER_H__ #include <strin...
#ifndef TC14_ADCINPUT_INCLUDED #define TC14_ADCINPUT_INCLUDED /** * @file tc14_dcf/tc14_adcInput.h * Definition of global interface of module tc14_adcInput.c * * Copyright (C) 2013 Peter Vranken (mailto:Peter_Vranken@Yahoo.de) * * This program is free software: you can redistribute it and/or modify it * under th...
/**************************************************************************** * * Copyright 2016 Samsung Electronics 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...
#pragma once #include "rules/string-utils.h" #include <vector> #include <memory> #include <string> namespace clang_util { struct ErrorMessage { enum class Kind { Error, Notes, Fixit, BadError, UnknownError, }; Kind getKind() const { return kind_; } explicit ErrorMessage(Kind kind) : kind_...
/* Compiler to C $Revision: 1.23 $ (BEGIN (SET! INDEX 1) ((LAMBDA (CNTER . TMP) (SET! TMP (CNTER (LAMBDA (I) (LAMBDA X (CONS I X))))) (IF CNTER (CNTER TMP) INDEX)) (LAMBDA (F) (SET! INDEX (+ 1 INDEX)) (F INDEX)) 'FOO)) */ #include "scheme.h" /* Global environment: */ SCM_DefineGlobalVaria...
/* ============================================================================ * Copyright (c) 2009-2016 BlueQuartz Software, LLC * * 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 ...
#pragma once #include "CoreMinimal.h" #include "Containers/Array.h" #include "Math/IntPoint.h" #include <type_traits> template<typename InElementType> class TOPDOWNGAME_API TTPArray2D { public: using FInElementType = typename InElementType; using FElementPointer = typename std::add_pointer_t<InElementType>; us...
/*********************************************************************************************************************** * * * libscopehal v0.1 ...
/* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. */ #ifndef _ALPHA_KERNEL_H #define _ALPHA_KERNEL_H // memory layout #define KERNEL_BASE 0x80000000 #define KERNEL_SIZE 0x80000000 #define USER_BASE 0x00000000 #define USER_SIZE 0x80000000 #endif
/* A Bison parser, made by GNU Bison 2.3. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of th...
/* * * * * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2019 Broadcom Inc. All rights reserved. * * Shell diagnostics of Phymod */ #ifndef _PHYMOD_DIAG_H_ #define _PHYMOD_DIAG_H_ ...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NBIOT-RRC-Definitions" * found in "/home/user/openairinterface5g/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1" * `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/user/openairinterface5g/c...
/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
#pragma once #include <core.math/core.math.h> #include <core.math/matrix/operations/MatrixOperationMacros.h> /** * \brief A macro that defines binary matrix operations with a return type other than returnType(A,B) * the methods will be called <OPNAME> * @TODO: Not every implementation should have an...
// // ZZOldArchiveEntry.h // ZipZap // // Created by Glen Low on 24/10/12. // Copyright (c) 2012, Pixelglow Software. All rights reserved. // // #if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) #include <CoreGraphics/CoreGraphics.h> #elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED) #include <ApplicationServices/Applicat...
/**************************************************************************** * include/nuttx/usb/usbhost_trace.h * * Copyright (C) 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permi...
/** @file Lite variable service library Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <LiteVariableLib.h> #include <Library/ExtraBaseLib.h> #include <Library/Boot...
// // UITableViewCell+WHC_AutoHeightForCell.h // Github <https://github.com/netyouli/WHC_AutoLayoutKit> // // Created by 吴海超 on 16/2/17. // Copyright © 2016年 吴海超. All rights reserved. // // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
// Copyright (c) 2011-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 AURUMCOIN_QT_ADDRESSTABLEMODEL_H #define AURUMCOIN_QT_ADDRESSTABLEMODEL_H #include <QAbstractTableModel> #include <Q...
#include <stdio.h> #include <errno.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <bpak/bpak.h> #include <bpak/alg.h> #include <bpak/file.h> #include <bpak/fifo.h> #include "sais.h" struct bpak_bsdiff_privat...
// Copyright (c) 2019 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 License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
#pragma once #ifndef VEdge_h #define VEdge_h #include "VPoint.h" #include <iostream> /* A class that stores an edge in Voronoi diagram start : pointer to start point end : pointer to end point left : pointer to Voronoi place on the left side of edge right : pointer to Voronoi...
/*- * BSD LICENSE * * Copyright (c) Intel Corporation. * 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 copyri...
#pragma once #define WIN32_MEAN_AND_LEAN #include <Windows.h> #include <Shlwapi.h>
int var = 42;
#pragma once #include "ns3/vector.h" class UeConfig { public: static constexpr double xPosStart = 740.0; static constexpr double yPosStart = 9.0; static constexpr double zPosStart = 1.5; static constexpr double xVel = 0.7483; static constexpr double yVel = 0.5; static constexpr double xPosEnd(double sec...
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderListContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderListContinueArg` s...
// The MIT License (MIT) // // Copyright (c) 2018 Mateusz Pusz // // 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, co...
#pragma once // Includes--------------------------------------------------------------------- #include <utility> #include "AlmondPrecompiled.h" #include "ApplicationConstants.h" #include "AsyncWait.h" #include "DeviceRtc.h" #include "Globals.h" #include "Logger.h" // Types--------------------------------------------...
// Copyright 2019 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_COLOR_COLOR_ID_H_ #define UI_COLOR_COLOR_ID_H_ #include "base/check_op.h" #include "build/build_config.h" #include "build/buildflag.h" // cla...
/* V L S _ I N C R . C * BRL-CAD * * Copyright (c) 2015-2022 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as...
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Blueprint/UserWidget.h" #include <IUserObjectListEntry.h> #include "ManufacturerInteractWidget.h" #include "CraftingRuleDataTable.h" #include <TileView.h> #include "ManufacturerRuleEntry.gene...
// Specification file for the LinkedList class // Written By: A. Student // Changed By: // IDE: Xcode #ifndef LINKED_LIST_H #define LINKED_LIST_H #include "ListNodeADT.h" template <class T> class LinkedList { private: ListNode<T> *head; int length; public: LinkedList(); // constructor ~LinkedList(...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:54:00 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/BusinessChatService.framework/BusinessChatService * classdump-dyld is licensed under GPLv3, Copyrigh...
// ------------------------------------------------------------- // cuDPP -- CUDA Data Parallel Primitives library // ------------------------------------------------------------- // $Revision$ // $Date$ // ------------------------------------------------------------- // This source code is distributed under the terms...
#ifndef SENDCOINSDIALOG_H #define SENDCOINSDIALOG_H #include <QDialog> #include <QString> #include "walletmodel.h" namespace Ui { class SendCoinsDialog; } class WalletModel; class SendCoinsEntry; class SendCoinsRecipient; QT_BEGIN_NAMESPACE class QUrl; QT_END_NAMESPACE /** Dialog for sending bitcoins */ class S...
/**************************************************************************** * * Copyright 2019 Samsung Electronics 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...
/* glibconfig.h * * This is a generated file. Please modify 'glibconfig.h.in' */ #ifndef __GLIBCONFIG_H__ #define __GLIBCONFIG_H__ #include <glib/gmacros.h> #include <limits.h> #include <float.h> /* #undef GLIB_HAVE_ALLOCA_H */ /* Specifies that GLib's g_print*() functions wrap the * system printf functions. ...
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double VTCameraPreviewViewVersionNumber; FOUNDATION_EXPORT const unsigned char VTCameraPreviewViewVersionString[];
/* * 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 ...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:15:46 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/CoreDuet.framework/CoreDuet * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Lim...
/******************************************************************************* * * DO NOT EDIT THIS FILE! * This file is auto-generated by fltg from * INTERNAL/fltg/xgs/flex_state/bcm56880_a0/bcm56880_a0_FLEX_STATE_EGR_OPERAND_PROFILE.map.ltl for * bcm56880_a0 variant dna_4_6_6 * * Tool: $SDK/INTERNAL/...
/*************************************************************************** * Copyright 1998-2018 by authors (see AUTHORS.txt) * * * * This file is part of LuxCoreRender. * * ...
/***************************************************************************** * motion.c: laptop built-in motion sensors ***************************************************************************** * Copyright (C) 2006 - 2012 the VideoLAN team * $Id: 0dedccd0e5e654acc18b6f24f8e1c90a33b46809 $ * * Author: Sam Ho...
// // Use this file to import your target's public headers that you would like to expose to Swift. // #import "TryCatch.h"
#ifndef Window_mgr_h #define Window_mgr_h #include <string> #include <vector> class Window_mgr { private: // screens this Window_mgr is tracking // by default, a Window_mgr has one standard sized blank Screen std::vector<Screen> screens{Screen(24, 80, ' ') }; }; #endif // Window_mgr_h
#pragma once #include "sl/gfx/Shader.h" namespace sl::platform::gl { class OpenGlShaderCompiler; class OpenGlShader : public sl::gfx::Shader { friend class OpenGlShaderCompiler; public: explicit OpenGlShader(const std::string&, const std::string&, const std::string&); ~OpenGlShader() override; vo...
#ifndef _HAL_KEYPAD_DEF_ #define _HAL_KEYPAD_DEF_ // Auto generated. Don't edit it manually! typedef enum { KEY_MAP_POWER=0, KEY_MAP_1=2, KEY_MAP_4=3, KEY_MAP_7=4, KEY_MAP_CANCLE=5, KEY_MAP_STAR=6, KEY_MAP_2=10, KEY_MAP_5=11, KEY_MAP_8=12, KEY_MAP_0=13, KEY_MAP_3=18, ...
// ============================================================================== // KratosShapeOptimizationApplication // // License: BSD License // license: ShapeOptimizationApplication/license.txt // // Main authors: Baumgaertner Daniel, https://github.com/dbaumgaertner, // ...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkLayerDrawLooper_DEFINED #define SkLayerDrawLooper_DEFINED #include "SkDrawLooper.h" #include "SkPaint.h" #include "SkPoint.h" #include "SkBlendMode.h" class SK_API...
/* * GridPlot.c * * * Created by Dale Ranta on 10/18/11. * Copyright 2011 Dale Ranta. All rights reserved. * */ #include "firstFile.h" #include <stdio.h> #include <string.h> #include "Scene.h" #include "GridPlot.h" #define maxmy(a,b) ((a)>(b)?(a):(b)) #define minmy(a,b) ((a)<(b)?(a):(b)) #define sign(a,b...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__char_fromConsole_fopen_53b.c Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-53b.tmpl.c */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: fromConsole Read input from the console ...
// // PlayViewController.h // NYPL // // Created by shahnwaz on 10/23/12. // Copyright (c) 2012 shahnwaz. All rights reserved. // #import <UIKit/UIKit.h> @interface PlayViewController : UIViewController <UITextFieldDelegate, UITableViewDataSource, UITableViewDelegate> { IBOutlet UILabel* infoLabel; IBOutl...
/* * Copyright (c) 2013, 2014, Pyhrol, pyhrol@rambler.ru * GEO: N55.703431,E37.623324 .. N48.742359,E44.536997 * * 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 mu...
//***************************************************************************** // // startup_ewarm.c - Startup code for use with IAR's Embedded Workbench, // version 5. // // Copyright (c) 2012-2016 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Texas Instr...
#include <ctype.h> int need_percent_encoding(char c); char *percent_encode(char *str); char *base64_encode(const char *msg, size_t msg_len); char *generate_nonce(void); unsigned char *hmac_sha1_encode(const char *data, const char *hmac_key, unsigned int *result_len); char *compute_signature(const char *timestamp, const...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Licen...
// // HTMainViewController.h // KickflipTest // // Created by Jason on 2015/7/13. // Copyright (c) 2015年 HT. All rights reserved. // #import <UIKit/UIKit.h> @interface HTMainViewController : UIViewController @end
/*------------------------------------------------------------------------- * * reindexdb * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * * src/bin/scripts/reindexdb.c * *------------------------------------------------------------------------- */ #include "postgres_fe.h" #include ...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:10:34 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/Frameworks/CoreData.framewo...
// // Created by K on 6/11/15. // Copyright (c) 2015 iOS Team. All rights reserved. // #import <Foundation/Foundation.h> #import "NSMutableDictionary+RXExtension.h" #import "RXSingleton.h" @protocol EPUriActionHandlerProtocol <NSObject> /** 所支持的Scheme */ - (NSString *)supportedScheme; /** 所支持的Host */ - (NSString *)...
#import <QuartzCore/CALayer.h> @interface CABackdropLayer : CALayer + (BOOL)CA_automaticallyNotifiesObservers:(Class)cls; + (BOOL)_hasRenderLayerSubclass; + (id)defaultValueForKey:(id)key; @property (copy) NSString *statisticsType; @property (copy) NSString *groupName; @property (copy) NSArray *groupFilters; @prop...
#ifndef _DISK_H_ #define _DISK_H_ #include "defines.h" #include "io.h" #pragma pack (1) // 按1字节对齐 struct FAT12Header{ dw jmpShort;//BS_jmpBOOT 一个短跳转指令 db nop; db BS_OEMName[8]; // 厂商名 dw BPB_BytesPerSec; //每扇区字节数(Bytes/Sector) 0x200 db BPB_SecPerClus; //每簇扇区数(Sector/Cluster) 0x1 dw BPB_ResvdSecCnt; //Boot记录占用多...
// // Copyright (c) 2014-2016 THUNDERBEAST GAMES LLC // // 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...
#ifndef Py_PYPORT_H #define Py_PYPORT_H #include "pyconfig.h" /* include for defines */ /************************************************************************** Symbols and macros to supply platform-independent interfaces to basic C language & library operations whose spellings vary across platforms. Please try t...
/*************************************************************************** * include/stxxl/bits/mng/buf_istream_reverse.h * * Part of the STXXL. See http://stxxl.sourceforge.net * * Copyright (C) 2002-2004 Roman Dementiev <dementiev@mpi-sb.mpg.de> * Copyright (C) 2013 Timo Bingmann <tb@panthema.net> * * ...
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM 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 re...
/**************************************************************************/ /* */ /* WWIV Initialization Utility Version 5 */ /* Copyright (C)2014-2019, WWIV Software Services */ /* ...
// // UIButton+Block.h // UYUClient // // Created by mac on 17/4/10. // Copyright © 2017年 cyjjkz1. All rights reserved. // #import <UIKit/UIKit.h> typedef void (^ClickActionBlock) (UIButton *obj); @interface UIButton (Block) - (void)addBlock:(ClickActionBlock)clickBlock forEvent:(UIControlEvents)event; @end
//Copyright (c) 1998 - 1999 Microsoft Corporation #ifndef _ASYNCDLG_H #define _ASYNCDLG_H #define ULONG_DIGIT_MAX 12 #define UINT_DIGIT_MAX 7 #define UCHAR_DIGIT_MAX 5 #define WM_ADDWINSTATION (WM_USER + 0) #define WM_LISTINITERROR (WM_USER + 1) #define WM_EDITSETFIELDSERROR (WM_USER + 2) #define WM_...
/**************************************************************************** * * Copyright 2016 Samsung Electronics 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...
#pragma once #include <BWAPI.h> #include <BWTA.h> #include <windows.h> #include "RandomController.h" extern bool analyzed; extern bool analysis_just_finished; extern BWTA::Region* home; extern BWTA::Region* enemy_base; DWORD WINAPI AnalyzeThread(); //PREDECLARATIONS class BWAPI::Unit; class RandomAIModule : public B...
/* * Copyright (c) 2003, 2007-14 Matteo Frigo * Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology * * 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 Foundation; either version 2 of the ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <setjmp.h> #include <signal.h> #include <unistd.h> #include <crypto.h> #include <openssl/bn.h> #define PPC_FPU64 (1<<0) #define PPC_ALTIVEC (1<<1) static int OPENSSL_ppccap_P = 0; static sigset_t all_masked; #ifdef OPENSSL_BN_ASM_MONT int bn_mul_mo...
// Copyright (c) 2015, myjfm(mwxjmmyjfm@gmail.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 copyright notice, // this list ...
// // QRCodeController.h // Demo // // Created by danal on 7/7/15. // Copyright (c) 2015 danal. All rights reserved. // #import <UIKit/UIKit.h> @interface MSQRCodeController : UIViewController @property (nonatomic, assign) UIView *overlay; //Customized overlay view @property (nonatomic, copy) void (^onScanComple...
/* ------------------------------------------------------------------------- // WINX: a C++ template GUI library - MOST SIMPLE BUT EFFECTIVE // // This file is a part of the WINX Library. // The use and distribution terms for this software are covered by the // Common Public License 1.0 (http://opensource.org/licenses...
#ifndef _WebPageHelper_h #define _WebPageHelper_h #include <Arduino.h> static String getTableRow(String key, String value, boolean strongKey = true) { String ret = String("<tr>"); ret += String("<td>"); if (strongKey) { ret += String("<strong>"); } ret += key; if (strongKey) { ...
/* vi: set sw=4 ts=4: */ /* * Copyright (C) 2000-2006 by Erik Andersen <andersen@codepoet.org> * * GNU Lesser General Public License version 2.1 or later. */ #ifndef _LD_DEFS_H #define _LD_DEFS_H #define FLAG_ANY -1 #define FLAG_TYPE_MASK 0x00ff #define FLAG_LIBC4 0x0000 #define FLAG_E...
#include "core/app.h" #include <iostream> #include <vector> #include "Cylinder.h" #include "LsystemInterpreter.h" class TreeModelBuilder { Cylinder* cylinder; public: std::vector<float> vertices; std::vector<GLuint> indices; void buildTreeModel(std::vector<Segment> treeSegments); };
/* @(#)crc.c 8.1 (Berkeley) 6/17/93 */ /* $NetBSD: crc.c,v 1.9 2012/10/05 00:40:51 christos Exp $ */ /*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * James W. Williams of NASA Goddard Space Fligh...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE415_Double_Free__malloc_free_wchar_t_07.c Label Definition File: CWE415_Double_Free__malloc_free.label.xml Template File: sources-sinks-07.tmpl.c */ /* * @description * CWE: 415 Double Free * BadSource: Allocate data using malloc() and Deallocate data using free() *...
#include "glbopts.h" #include "linalg.h" #include "amatrix.h" #include "matrix.h" #include "mex.h" #include "scs.h" #include "util.h" void free_mex(ScsData *d, ScsCone *k); scs_int parse_warm_start(const mxArray *p_mex, scs_float **p, scs_int l) { *p = (scs_float *)scs_calloc( l, sizeof(scs_float)); /* this a...
/************************************************************************** * * Copyright 2007-2008 VMware, Inc. * 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 Softwar...
/* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */ /* see jconfig.txt for explanations */ #define JPEG_LIB_VERSION 62 #define LIBJPEG_TURBO_VERSION 1.3.0 #define C_ARITH_CODING_SUPPORTED #define D_ARITH_CODING_SUPPORTED #define MEM_SRCDST_SUPPORTED #define HAVE_PROTOTYPES #define HAVE_UNSIGN...
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #pragma once #include "MedusaCorePreDeclares.h" #include "Core/Siren/SirenHeader.h" //SIREN_HEADER_INCLUDE_BEGIN #include "Core/Config/ServerListItem.h" //SIREN_HEAD...
#include <u.h> #include <libc.h> #include <bio.h> #include "../common/common.h" #include "tr2post.h" void conv(Biobufhdr *Bp) { long n; int r; char special[10]; int save; inputlineno = 1; if (debug) fprint(2, "conv(Biobufhdr *Bp=%#p)\n", Bp); while ((r = Bgetrune(Bp)) >= 0) { switch (r) { case 's': /* se...
/*********************************************************************** * Name(s) Justin Chen and Milo Reynolds * * Box(s): 3293 and 4357 * * Assignment name Project: Program a Song * * (25%...
/* Copyright 2011-2020 Daniel S. Buckstein 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 writi...
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. /////////////////////////////////////////////////////////...
/* Python interface to lazy strings. Copyright (C) 2010-2020 Free Software Foundation, Inc. This file is part of GDB. 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 Foundation; either version 3...
/* * GOST 28147-89 * (C) 1999-2009 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #ifndef BOTAN_GOST_28147_89_H_ #define BOTAN_GOST_28147_89_H_ #include <botan/block_cipher.h> BOTAN_FUTURE_INTERNAL_HEADER(gost_28147.h) namespace Botan { /** * The GOST 28147-89 block cipher u...
/* ** Copyright 1998 - 1999 Double Precision, Inc. See COPYING for ** distribution information. */ /* ** $Id$ */ #include "rfc2045.h" static void decode(struct rfc2045id *topid, struct rfc2045id **childidptr, struct rfc2045 *r, void (*func)(struct rfc2045 *, struct rfc2045id *, void *), void *ptr) { struct r...
#ifndef TARGET_ #define TARGET_ //============================================================================= /** * @file target.h * * $Id: target.h 94442 2011-09-07 09:14:41Z johnnyw $ * * @brief * * @author Peter E Mellquist Michael R. MacFaden (ported to ACE) */ //===================================...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017-2018 The NXBoost & Bitfineon developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/...
#ifndef _H_SEARCH_A_STAR_H #define _H_SEARCH_A_STAR_H #include "GraphEdge.h" #include "Graph.h" #include <vector> #include <list> /// <summary>Class that represent the A* search algorithm solver</summary> class Search_AStar { public: /// <summary>Constructor method</summary> /// \param[in] g the graph /// \param[i...