text
stringlengths
9
948k
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
/* * Copyright (c) 2014, Bojan Bizic * * 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 o...
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
// // 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 <objc/NSObject.h> @interface WXCDeviceInfo : NSObject { } + (_Bool)is736hScreen; + (_Bool)is414wScreen; + (_Bool)is667hScreen...
/* * Copyright 2013 MongoDB 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 law or agreed to i...
#ifndef _NET_IO_H_ #define _NET_IO_H_ typedef struct { unsigned short dataLen; //接收数据长度 unsigned short dataLenPre; //上一次的长度数据,用于比较 unsigned char buf[256]; //接收缓存 } NET_IO_INFO; #define REV_OK 0 //接收完成标志 #define REV_WAIT 1 //接收未完成标志 #define NET_IO USART2 extern NET_IO_INFO netIOInfo; void...
/* * 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...
// // insert.h // #ifndef INSERT_H #define INSERT_H #include "private.h" #include "dbgid.h" class COvertypeStore; // max number of overtyped chars that IH will backup #define DEF_MAX_OVERTYPE_CCH 32 // tips need to register this GUID with the category manager before using the library! extern const GUID GUID_PRO...
///////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at t...
// Copyright (c) 2011 Hewlett-Packard Development Company, L.P. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef VIEWER_H #define VIEWER_H #include <QMainWindow> #include <webvfx/image.h> #include "ui_viewer.h" namespace WebVfx { ...
/* Test file for mpfr_set_sj, mpfr_set_uj, mpfr_set_sj_2exp and mpfr_set_uj_2exp. Copyright 2004, 2006-2016 Free Software Foundation, Inc. Contributed by the AriC and Caramba projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistribute it and/or modify it...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2019-2020 Broadcom * All rights reserved. */ #ifndef _TF_EM_COMMON_H_ #define _TF_EM_COMMON_H_ #include "tf_core.h" #include "tf_session.h" /** * Function to search for table scope control block structure * with specified table scope ID. * * [in] tbl_sco...
#ifndef VALLY_CORE_WINDOW_H_ #define VALLY_CORE_WINDOW_H_ #include <vally/config.h> b8 window_create(i32 width, i32 height, const char* title); b8 window_poll_events(); void window_swap_buffers(); void window_terminate(); void window_set_key_callback(void *callback); void window_set_mouse_button_callback(void *c...
// // MIKMainWindowController.h // MIDI Files Testbed // // Created by Andrew Madsen on 2/20/15. // Copyright (c) 2015 Mixed In Key. All rights reserved. // #import <Cocoa/Cocoa.h> #import "MIKMIDISequenceView.h" @class MIKMIDIDeviceManager; @class MIKMIDIDevice; @interface MIKMainWindowController : NSWindowCont...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:54:01 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...
/* * si470x_cmd.c * * Created on: 2014-11-8 * Author: chya */ #include <stdint.h> #include "si470x_io2w.h" #include "si470x_cmd.h" static uint8_t si470x_cmd[13] = {0}; void si470x_reset() { SET_SDIO_IN; SET_SDIO_OUT; SDIO_LOW; SET_SCLK_IN; SET_SCLK_OUT; SCLK_HIGH; SET_RSTB_IN; SET_RSTB_OUT; R...
// // BookClassCollectionViewCell.h // CoffeeBook // // Created by scjy on 16/3/6. // Copyright © 2016年 郭飞飞. All rights reserved. // #import <UIKit/UIKit.h> #import "BookClassModel.h" @interface BookClassCollectionViewCell : UICollectionViewCell @property(nonatomic, strong) BookClassModel *model; @property (weak,...
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py // RUN: %clang_cc1 -triple thumbv8.1m.main-none-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O0 -disable-O0-optnone -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s // RUN: %clang_cc1 -triple th...
/* * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The University * of Tennessee Resea...
/* Copyright 2019-2020 Canaan 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 law or agreed t...
/* * Copyright (c) 2017, 2018, Oracle and/or its affiliates. * * 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,...
/* gstdio.h - GFilename wrappers for C library functions * * Copyright 2004 Tor Lillqvist * * GLib 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 of the * License, or (at your o...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 The shmn developers // Distributed under the MIT software license, see the accompanying // file COPYING or htt...
#include "video_buffer.h" #include <assert.h> #include <stdlib.h> #include <libavutil/avutil.h> #include <libavformat/avformat.h> #include "util/log.h" #define SC_BUFFERING_NDEBUG // comment to debug static struct sc_video_buffer_frame * sc_video_buffer_frame_new(const AVFrame *frame) { struct sc_video_buffer_...
// Filename: lrotation_src.h // Created by: frang, charles (23Jun00) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. ...
static uint32_t prealpha(uint32_t p) { uint8_t a = p >> 24u; uint32_t rb = (a * (p & 0xFF00FFu)) >> 8u; uint32_t g = (a * (p & 0x00FF00u)) >> 8u; return (rb & 0xFF00FFu) | (g & 0x00FF00u) | (a << 24u); } Picture geticonprop(Window win, unsigned int *picw, unsigned int *pich) { int format; unsigned long n, extra,...
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #import <R...
#include <stdio.h> #include <stdlib.h> #include <conio.h> #include <windows.h> #include <string.h> #define NELEMS(x) (sizeof(x) / sizeof((x)[0])) #define MAX_SIZE 100 //declare struct typedef struct { char title[40]; int status; int rating; }movie; movie mov; //Temp var for movie variable long int movsize = size...
/********************************************************************************/ /* */ /* TPM Bind/Unbind routines */ /* Written by J. Kravitz */ /* IBM Thomas J. Watson Research Center */ /* $Id: bind.c 4702 2013-01-03 21:26:29Z kgoldman $ */ /* */ /* (c) Copyr...
/* * * Copyright 2014 Austin English * * 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 your option) any later version. * * This librar...
/*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Kenneth Almquist. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
// // ZHNStaticTableRow.h // ZHNStaticTable // // Created by zhn on 2018/3/21. // Copyright © 2018年 zhn. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> typedef void(^ZHNRowDisplayCellHandle)(UITableView *tableView,UITableViewCell *cell,NSIndexPath *indexPath); typedef void(^ZHNR...
/* * generated by CSeq [ 0000 / 0000 ] * * 2C9F merger-0.0-2015.07.09 * FB59 parser-0.0-2015.06.26 * AB0B module-0.0-2015.07.16 ] * * 2015-07-22 16:55:48 * * params: * -i svcomp2015_unsafe/pthread-ext/26_stack_cas_longer_false-unreach-call....
/* ** EPITECH PROJECT, 2020 ** libgote ** File description: ** gt_state_machine_t tests */ #include <criterion/criterion.h> #include <criterion/redirect.h> #include "my/my.h" #include "my/io.h" #include "gote/gote.h" #define MAKE_SHOUTER(name) \ \ static void shout_##name(void *self, gt_world_t *world) \ { \ my_p...
/* PURPOSE: (Matrix multiplication) ASSUMPTIONS AND LIMITATIONS: ((3x3 Matrix implementation)) PROGRAMMERS: (((Les Quiocho) (NASA/JSC) (Jan 1990) (v1.0) (Init Release))) */ #include "trick/trick_math.h" void dmxm( /* Return: -- none */ double prod[3][3], /* Out: Product of...
/* ------------------------------------------------------------------------- * * walreceiver.h * Exports from replication/walreceiverfuncs.c. * * Portions Copyright (c) 2010-2012, PostgreSQL Global Development Group * * src/include/replication/walreceiver.h * * -----------------------------------------------...
// // StatusDataSource.h // ZhiWeibo // // Created by junmin liu on 10-11-21. // Copyright 2010 Openlab. All rights reserved. // #import <Foundation/Foundation.h> #import "WeiboClient.h" #import "PullRefreshTableView.h" #import "PullRefreshTableViewDataSource.h" #import "NSDictionaryAdditions.h" #import "StatusCac...
/*============================================================================*/ /*! * @file TestCase.h * * @brief Unit Test Base Class * * This base class provides a unit testing module. Unit tests should derive from * this base class and use the exposed functions to perform testing * Testing must then be integ...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:22:27 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/Hearing...
/* * 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...
/* * 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...
// Data created with Img2CPC - (c) Retroworks - 2007-2015 #ifndef _IMG_LOGO_H_ #define _IMG_LOGO_H_ #include <types.h> extern u8* const logo_tileset[64]; #define LOGO_LOGO_00_W 4 #define LOGO_LOGO_00_H 16 extern const u8 logo_logo_00[4 * 16]; #define LOGO_LOGO_01_W 4 #define LOGO_LOGO_01_H 16 extern const u8 logo_log...
/* * pg_connection.c - PG::Connection class extension * $Id: pg_connection.c,v 4514df7221a8 2013/04/08 18:09:43 ged $ * */ #include "pg.h" VALUE rb_cPGconn; static PQnoticeReceiver default_notice_receiver = NULL; static PQnoticeProcessor default_notice_processor = NULL; static PGconn *pgconn_check( VALUE ); st...
// // EHDComponent.h // EHDComponent // // Created by luohs on 2017/10/27. // Copyright © 2017年 luohs. All rights reserved. // #import <Foundation/Foundation.h> #ifndef EHDComponent_h #define EHDComponent_h #import "EHDUIBus.h" #import "EHDEventBus.h" #import "EHDComponentRoutable.h" #import "EHDComponentConfig....
/*------------------------------------------------------------------------- * * parse_func.c * handle function calls in parser * * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * src/backend/...
#pragma once #include "gmock/gmock.h" #include "gtest/gtest.h" #include "shared/src/native-src/dd_filesystem.hpp" // namespace fs is an alias defined in "dd_filesystem.hpp" #include "Configuration.h" #include "IExporter.h" #include "ISamplesProvider.h" #include "IMetricsSender.h" #include "Sample.h" #include "TagsHel...
bool findTarget(int** matrix, int rup, int rbottom, int cleft, int cright, int target); bool searchMatrix(int** matrix, int matrixRowSize, int matrixColSize, int target) { return findTarget(matrix, 0, matrixRowSize - 1, 0, matrixColSize - 1, target); } bool findTarget(int** matrix, int rup, int rbottom, int cleft...
#ifndef __ULTRALISKAGENT_H__ #define __ULTRALISKAGENT_H__ #include <BWAPI.h> #include "UnitAgent.h" /** The ZerglingAgent handles Zerg Ultralisk units. * * Implemented special abilities: * - * * Author: Johan Hagelback (johan.hagelback@gmail.com) */ class UltraliskAgent : public UnitAgent { private: public: ...
/* * SPDX-License-Identifier: MIT * * Copyright (c) 2021 Bart Bilos * For conditions of distribution and use, see LICENSE file */ #ifndef __RT0__ #define __RT0__ extern char **__environ; /**< pointer to array of char * strings that are the current environment variables */ extern int PC_bare_errno; /**< Error val...
/******************************************************************************* SERCOM Universal Synchronous/Asynchrnous Receiver/Transmitter PLIB Company Microchip Technology Inc. File Name plib_sercom3_usart.c Summary USART peripheral library interface. Description This file defines the...
/* code page 10017 (Mac Ukrainian) */ /* generated from http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/CYRILLIC.TXT */ /* DO NOT EDIT!! */ #include "wine/unicode.h" static const WCHAR cp2uni[256] = { 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, ...
#ifndef COIN_FLWFREETYPE_H #define COIN_FLWFREETYPE_H /**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or ...
#ifndef ____mbstate_t_defined #define ____mbstate_t_defined 1 /* Integral type unchanged by default argument promotions that can hold any value corresponding to members of the extended character set, as well as at least one value that does not correspond to any member of the extended character set. */ #ifnde...
/* * librd - Rapid Development C library * * Copyright (c) 2012-2013, Magnus Edenhill * 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 ...
#ifndef __DEFS_H__ #define __DEFS_H__ #include <stdio.h> #include <map> // NULL just in case ---------------------- #ifdef NULL #undef NULL #endif #define NULL 0 // Deletes a buffer #define RELEASE( x ) \ { \ if( x != NULL ) \ { \ delete x; \ x = NULL; \ } \ } // Deletes an a...
/* * Copyright 2021 The UAPKI Project Authors. * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) * * 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 a...
#pragma once #include <string> #include <unordered_map> #include <unordered_set> #include <vector> #include <torch/csrc/WindowsTorchApiMacro.h> #include <torch/csrc/jit/tensorexpr/fwd_decls.h> namespace torch { namespace jit { namespace tensorexpr { class Expr; class Var; class Buf; class Tensor; class Function; cl...
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "lists.h" /** * main - check the code * * Return: Always 0. */ int main(void) { listint_t *head; head = NULL; add_nodeint_end(&head, 0); add_nodeint_end(&head, 1); add_nodeint_end(&head, 2); add_nodeint_end(&head, 3); add_nodeint_end(&head...
/* * Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.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...
// 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 CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_IMAGES_VIEW_H_ #define CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_IMAGES_VIEW_H_ #pragma once #include "view...
#pragma once #include <wiiu/types.h> #include "fastmutex.h" #ifdef __cplusplus extern "C" { #endif #define OS_FAST_CONDITION_TAG 0x664E6456u typedef struct OSFastCondition { uint32_t tag; const char *name; uint32_t __unknown; OSThreadQueue queue; }OSFastCondition; void OSFastCond_Init(OSFastCondition *c...
/* * @file startup_efm32lg.c * @brief CMSIS Compatible EFM32LG startup file in C. * Should be used with GCC 'GNU Tools ARM Embedded' * @version 5.1.3 * Date: 12 June 2014 * */ /* Copyright (c) 2011 - 2014 ARM LIMITED All rights reserved. Redistribution and use in source and binary forms, with or...
//***************************************************************************** // // startup_ccs.c - Startup code for use with TI's Code Composer Studio. // // Copyright (c) 2013-2020 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Texas Instruments (TI) is supplying this sof...
#ifndef Cpl_Itc_Mailbox_h_ #define Cpl_Itc_Mailbox_h_ /*----------------------------------------------------------------------------- * This file is part of the Colony.Core Project. The Colony.Core Project is an * open source project with a BSD type of licensing agreement. See the license * agreement (license.txt) in...
/*** Autogenerated by WIDL 4.12.1 from include/sapi53.idl - Do not edit ***/ #ifdef _WIN32 #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif #include <rpc.h> #include <rpcndr.h> #endif #ifndef COM_NO_WINDOWS_H #include <windows.h> #include <ole2.h> #endif #ifndef __sapi53_h__ #de...
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2022, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
#pragma once #include <memory> #include <string> // This is a struct because it is also exported to the C interface. struct MavsdkServer { public: MavsdkServer(); ~MavsdkServer(); MavsdkServer(MavsdkServer&&) = delete; MavsdkServer& operator=(MavsdkServer&&) = delete; int startGrpcServer(int port...
/* Copyright 2015 The TensorFlow Authors. 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 law or a...
/** * * \file * * \brief WINC1500 configuration. * * Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip products. *...
/* helper's functions */ # define _XOPEN_SOURCE 500 # include <assert.h> # include <stdio.h> # include <stdlib.h> # include <time.h> # include "helper.h" /* swap(a,b): swap memory location content */ void swap(int *a, int *b) { int c = *a; *a =*b; *b = c; } /* array_print(begin, end) print integer array...
#include <sodium.h> #define ZPL_IMPLEMENTATION #include "zpl.h" char *sk_read_line(void) { char *line = NULL; size_t buf_size = 0; ssize_t rc = getline(&line, &buf_size, stdin); if (rc < 0) { printf("Error: Cannot get input from console.\n"); exit(EXIT_FAILURE); } return line; ...
/* schema_init.c - init builtin schema */ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1998-2016 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as auth...
#ifndef KAMBIENT_BUILDER_H #define KAMBIENT_BUILDER_H #include <iostream> #include <sstream> #include <string> #include <GLM/glm.hpp> #include "../MaterialMediator.h" #include "../Builder.h" class KAmbientBuilder : public Builder { private: MaterialMediator* mediator; public: KAmbientBuilder(MaterialMediato...
#include <stdio.h> #include "mylibrary.h" int main() { printf("Square root of 2: %f\n", mysqrt(2)); }
#pragma once #include <SFML\Graphics\Drawable.hpp> #include "undrawable.h" class object { protected: object() : _is_node(false), _is_visible(true) {} public: virtual ~object() {}; public: virtual const sf::Drawable& draw() const = 0; const bool is_node() const { return _is_node; } const bool is_visible() cons...
/* TabToolbar - a small utility library for Qt, providing tabbed toolbars Copyright (C) 2018 Oleksii Sierov TabToolbar 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 3 of ...
/* debugger-commands.); * * Copyright 2011 Brian Swetland <swetland@frotz.net> * * 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 * *...
/* * Copyright (C) 2010 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 conditio...
#ifndef GLOBALS_H #define GLOBALS_H /* * Copyright(C) 1999-2021 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * * See packages/seacas/LICENSE for details */ #include <cstdl...
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES...
/* * Copyright 2014 Advanced Micro Devices, Inc. * * 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, m...
#pragma once #include "FancyZones.h" #include "lib/ZoneSet.h" namespace ZoneWindowUtils { const std::wstring& GetActiveZoneSetTmpPath(); const std::wstring& GetAppliedZoneSetTmpPath(); const std::wstring& GetCustomZoneSetsTmpPath(); std::wstring GenerateUniqueId(HMONITOR monitor, PCWSTR deviceId, PCWS...
/* * Copyright (c) 2017, 2012 Adafruit Industries * 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 * li...
#ifndef GLWIDGET_H #define GLWIDGET_H #include <QOpenGLWidget> #include <QOpenGLVertexArrayObject> #include <QOpenGLShaderProgram> #include <QOpenGLFunctions> #include <QOpenGLBuffer> #include <QMatrix4x4> #include <QTimer> #include <QQuaternion> class GlWidget : public QOpenGLWidget { Q_OBJECT public: explic...
/* * This software is Copyright (c) 2013 Sébastien Kaczmarek <skaczmarek@quarkslab.com>, * and it is hereby released to the general public under the following terms: * Redistribution and use in source and binary forms, with or without * modification, are permitted. * * Fixed the format to crack multiple hashes + ...
// // XQPictureViewController.h // Baisi // // Created by 吴章琦 on 2017/1/24. // Copyright © 2017年 吴章琦. All rights reserved. // #import "XQTopicViewController.h" @interface XQPictureViewController : XQTopicViewController @end
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
// // MUMobileProvision.h // RingTone // // Created by Shuang Wu on 2017/1/19. // Copyright © 2017年 Mia Tse. All rights reserved. // #import <Foundation/Foundation.h> #import "MUEntitlements.h" @interface MUMobileProvision : NSObject @property (nonatomic, copy) NSString *AppIDName; @property (nonatomic, copy) N...
#define LIBPOTATO_ERR_NO_MEM 1 #define LIBPOTATO_NOT_IMPLEMENTED 3 #include "dvpl.h"
// // Implementation of the iterative Jacobi method. // // Given a known, diagonally dominant matrix A and a known vector b, we aim to // to find the vector x that satisfies the following equation: // // Ax = b // // We first split the matrix A into the diagonal D and the remainder R: // // (D + R)x = b // // W...
#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #define MIN_ELEMENT 1 #define MAX_ELEMENT 1000000 int sum (int count,...) { int sum = 0; va_list ptr; va_start(ptr, count); for(int i=0; i<count; i++){ sum += va_arg(ptr, int); } va_end(ptr); return sum; }...
sound_type snd_make_fromarraystream(time_type t0, rate_type sr, LVAL src); sound_type snd_fromarraystream(time_type t0, rate_type sr, LVAL src); /* LISP: (snd-fromarraystream ANYNUM ANYNUM ANY) */
/* * This file is subject to the terms of the GFX License. If a copy of * the license was not distributed with this file, you can obtain one at: * * http://ugfx.org/license.html */ /** * @file src/gwin/gwin_frame.h * @brief GWIN Graphic window subsystem header file. * * @defgroup Frame Frame...
#ifndef OBIEKTZMOZLIWOSCIARUCHUIROTACJI_H #define OBIEKTZMOZLIWOSCIARUCHUIROTACJI_H #include "obiekt.h" #include "licznik.h" class ObiektZMozliwosciaRuchuIRotacji : public Obiekt, public Licznik<ObiektZMozliwosciaRuchuIRotacji> { public: ObiektZMozliwosciaRuchuIRotacji(drawNS::APIGnuPlot3D *gnuplotAPI); // ...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:34:29 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/HomeKitBac...
/* Copyright (c) 2010-2019, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
1,1,1 2,1,1 2,2,1 3,4,1 3,5,1 3,9,1
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
// Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2020 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef MASTERNODE_H #define MASTERNODE_H #include "base58.h" #include "key.h" #i...