text
stringlengths
9
948k
/* * Swift Parallel Scripting Language (http://swift-lang.org) * * Copyright 2012-2014 University of Chicago * * 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....
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 ob...
/*-------------------------------------------------------------------- * bgworker.c * POSTGRES pluggable background workers implementation * * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group * * IDENTIFICATION * src/backend/postmaster/bgworker.c * *-------------------------------------...
// license:BSD-3-Clause // copyright-holders:Ville Linde #ifndef MAME_CPU_SHARC_SHARCDSM_H #define MAME_CPU_SHARC_SHARCDSM_H #pragma once class sharc_disassembler : public util::disasm_interface { public: sharc_disassembler(); virtual ~sharc_disassembler() = default; virtual u32 opcode_alignment() const override...
/********************************************************************* Author: Dale Roberts Date: 8/30/95 Program: GIVEIO.SYS Compile: Use DDK BUILD facility Purpose: Give direct port I/O access to a user mode process. *********************************************************************/ #include...
/* crypto/cryptlib.c */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
/****************************************************************************** * * Copyright(c) 2009-2014 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundati...
#ifndef _STDAFX_H #define _STDAFX_H #ifdef _WIN32 //Windows specific includes #define WINVER 0x501 #define _CRT_SECURE_NO_WARNINGS #include <WinSock2.h> #include <WS2tcpip.h> #include <stdio.h> #include <time.h> #include <stdint.h> #else //#ifdef _WIN32 //other OS includes and some tricks to fake Win32 API #include...
//------------------------------------------------------------------------------ // GB_AxB: hard-coded functions for semiring: C<M>=A*B or A'*B //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved. // http://sui...
/// 3.5. Să se scrie un program care citeşte un număr natural din intervalul [1600, 4900] ce reprezintă un an şi verifică dacă este bisect sau nu. #include <stdio.h> #include <stdlib.h> int main() { int an; printf("Introduceti un an intre 1600 si 4900: "); scanf("%d", &an); if(an<1600 || an>4900) pr...
// // MCTestModel.h // MCObserverKit_Tests // // Created by lingjing on 2018/11/16. // Copyright © 2018年 mylcode. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MCTestModel : NSObject @property (nonatomic, assign) int uuid; @property (nonatomic, assign) int uuid1; ...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
/////////////////////////////////////////////////////////////////////////////// // BOSSA // // Copyright (c) 2011-2018, ShumaTech // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redi...
#ifndef WPTOOLS_H #define WPTOOLS_H #define INCL_DOS #define INCL_GPI #include <os2.h> #ifndef __WATCOMC__ #include <pmbitmap.h> #endif #include "portable.h" #define OPTIONS_SIZE 32767 #define VERSION "2.12" /* Several defines to read WPShell data */ #define FOLDERCONTENT "PM_Abstract:FldrContent" #define OBJ...
/** * Copyright (c) 2015 - 2018, Nordic Semiconductor ASA * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, th...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bogcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BOGCOIN_SCRIPT_SCRIPT_ERROR_H #define BOGCOIN_SCRIPT_SCRIPT_ERROR_H typedef e...
/* * Copyright (C) 2015 The Android Open Source Project * * 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 app...
/* Simple DirectMedia Layer Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
// 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.5.1 (2018/10/05) #pragma once #include <Mathematics/GteD...
/* Copyright (c) 2001, Stanford University All rights reserved. See the file LICENSE.txt for information on redistributing this software. */ /* DO NOT EDIT - THIS FILE GENERATED BY THE opcodes.py SCRIPT */ #define GL_GLEXT_PROTOTYPES #include <GL/gl.h> #include <GL/glext.h> #include <GL/glut.h> #include <stdio....
#ifndef TESTSOME_H #define TESTSOME_H #include <GASPI.h> int test_or_die ( gaspi_segment_id_t , gaspi_notification_id_t , gaspi_notification_t expected ); #endif
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "MBProgressHUD+JingMin.h" FOUNDATION_EXPORT double JMProgressHUDVersionNumber; FOUNDATION_EXPORT const unsigned char...
// Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: google/cloud/ml/v1beta1/project_service.proto // Original file comments: // Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complian...
/** ****************************************************************************** * @file system_stm32f3xx.c * @author MCD Application Team * @version V2.3.1 * @date 16-December-2016 * @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File. * * 1. This file provides two funct...
/* % Copyright (C) 2003 - 2009 GraphicsMagick Group % Copyright (C) 2002 ImageMagick Studio % % This program is covered by multiple licenses, which are described in % Copyright.txt. You should have received a copy of Copyright.txt with this % package; otherwise see http://www.graphicsmagick.org/www/Copyright.html. % %%...
/*------------------------------------------------------------------------- * * detoast.c * Retrieve compressed or external variable size attributes. * * Copyright (c) 2000-2019, PostgreSQL Global Development Group * * IDENTIFICATION * src/backend/access/common/detoast.c * *-------------------------------...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2016 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
#include <stdio.h> struct node { int info; int *next; }; typedef struct node node1; void initlist(int *avail,int *list,node1 *a,int n) { int i; *list =-1; *avail=0; for(i=0;i<n-1;i++) { a[i].next=i+1; } a[n-1].next=-1; } int emptystack(int list) { if(list==-1) return 1 ; else return 0 ; } int fullstack...
// kernel_example.h #ifndef KERNEL_ROTATED_IOU_H_ #define KERNEL_ROTATED_IOU_H_ namespace tensorflow { namespace functor { template <typename Device, typename T> struct RotatedIOUGridFunctor { void operator()(const Device& d, const int boxes1_size, const int boxes2_size, const T* boxes1, const T* boxes2, ...
#ifndef CONNMS_H #define CONNMS_H # define connmsph HANDLE enum connMsFl { CONNMESS_FL_NONE = 0, CONNMESS_FL_BL = 1 }; enum connMsTy { CONNMS_TY_ST = 1, CONNMS_TY_DP, CONNMS_TY_ID, CONNMS_TY_CO, CONNMS_TY_HA, CONNMS_TY_DI }; class lMan; class connms { public: unsigned char emty; unsigned char emfl; ...
// // BREventConfirmView.h // BreadWallet // // Created by Samuel Sutch on 9/9/15. // Copyright (c) 2015 Aaron Voisine <voisine@gmail.com> // Copyright © 2016 Elysium Association <loshan1212@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and asso...
/* crypto/objects/obj_mac.h */ /* * THIS FILE IS GENERATED FROM objects.txt by objects.pl via the following * command: perl objects.pl objects.txt obj_mac.num obj_mac.h */ /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eri...
#pragma once #include <string> #include <vector> #include <memory> #include <iostream> #include <stack> namespace yali { namespace ast { enum AstNodeType { Func, Data, }; class AstNode { public: std::vector<AstNode*> children; AstNodeType type; std::string value; AstNode(AstNodeType type, s...
/* * Font related tests * * Copyright 2012, 2014-2018 Nikolay Sivov for CodeWeavers * Copyright 2014 Aric Stewart for CodeWeavers * * 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 Foundati...
// // MLChainRequestAgent.h // // Copyright (c) 2012-2016 MLNetwork https://github.com/yuantiku // // 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...
// bslx_streambufinstream.h -*-C++-*- #ifndef INCLUDED_BSLX_STREAMBUFINSTREAM #define INCLUDED_BSLX_STREAMBUFINSTREAM #ifndef INCLUDED_BSLS_IDENT #include <bsls_ident.h> #endif BSLS_IDENT("$Id: $") //@PURPOSE: Unexternalization of fundamental types from a 'bsl::streambuf'. //...
/** * @file src/fileinfo/file_presentation/getters/iterative_getter/iterative_simple_getter/iterative_simple_getter.h * @brief Definition of IterativeSimpleGetter class. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #ifndef FILEINFO_FILE_PRESENTATION_GETTERS_ITERATIVE_GETTER_ITERATIVE_SIM...
/* * Copyright 2016 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...
// Copyright 2017 The Chromium OS 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 _BSDIFF_BZ2_DECOMPRESSOR_H_ #define _BSDIFF_BZ2_DECOMPRESSOR_H_ #include <bzlib.h> #include "bsdiff/decompressor_interface.h" namespace bsdi...
/* Modification to https://github.com/Tencent/ncnn/blob/master/src/layer/x86/avx_mathfun.h Added MSVC alignment attribute as in sse_mathfun.h Replaced all _mm256_and_si128 with _mm256_and_si256 Replaced all _mm256_andnot_si128 with _mm256_andnot_si256 Added static inline to *_ps functions */ /* ...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:06:29 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/PhotosUICo...
// Copyright (c) 2011-2018 The Bitcoin Core developers // Copyright (c) 2019 The Aphory Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_BITCOINUNITS_H #define BITCOIN_QT_BITCOINUNITS_H #includ...
#ifndef PhysicsTools_NanoAOD_UniqueString_h #define PhysicsTools_NanoAOD_UniqueString_h #include <string> namespace nanoaod { class UniqueString { public: UniqueString() {} UniqueString(const std::string& str) : str_(str) {} const std::string& str() const { return str_; } bool operator==(const st...
// 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) Lawrence Livermore National Security, LLC and other VisIt // Project developers. See the top-level LICENSE file for dates and other // details. No copyright assignment is required to contribute to VisIt. #ifndef QVIS_PARALLEL_COORDINATES_WIDGET_H #define QVIS_PARALLEL_COORDINATES_WIDGET_H #include ...
// // SwiftyNarou.h // SwiftyNarou // // Created by Roger Luo on 10/2/20. // #import <Foundation/Foundation.h> //! Project version number for SwiftyNarou. FOUNDATION_EXPORT double SwiftyNarouVersionNumber; //! Project version string for SwiftyNarou. FOUNDATION_EXPORT const unsigned char SwiftyNarouVersionString[]...
/* * This file is part of the Sofia-SIP package * * Copyright (C) 2005 Nokia Corporation. * * Contact: Pekka Pessi <pekka.pessi@nokia.com> * * 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 F...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "S1AP-IEs" * found in "/home/labuser/Desktop/openairinterface5g_f1ap/openair3/S1AP/MESSAGES/ASN1/R14/s1ap-14.5.0.asn1" * `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -fno-include-deps -D /home/labuser/Desktop/op...
#pragma once #include <graphics/Color.h> #include <graphics/models/Material.h> #include <graphics/models/Mesh.h> #include <graphics/textures/CubeMap.h> #include <graphics/textures/Texture2D.h> #include <math/Vec2.h> #include <math/Vec3.h> #include <utils/MetaFile.h> namespace Greet { struct MetaFileLoading { ...
#pragma once #include <algorithm> #include "module.h" #include "util/controls.h" #include "util/range.h" namespace rack_plugin_DHE_Modules { struct UpstageModule : Module { UpstageModule() : Module{PARAMETER_COUNT, INPUT_COUNT, OUTPUT_COUNT} {} float envelope_out() const { const auto &range = Level::range(...
/*- * Copyright (c) 2012 NetApp, Inc. * Copyright (c) 2013 Neel Natu <neel@freebsd.org> * Copyright (c) 2018 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: * 1. Redis...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/kendra/Kendra_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/kendra/model/SalesforceKnowledgeArti...
// // 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 T1DashParameters : NSObject { } + (_Bool)dashFriendsEnabled; @end
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2016, Image Engine Design 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: // // * R...
// +build !race int race_enabled = 0;
// Copyright 2019 SoloKeys Developers // // Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or // http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or // http://opensource.org/licenses/MIT>, at your option. This file may not be // copied, modified, or distributed except according t...
/** * Copyright (C) 2013 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
// // ZQBaseKitCollectionReusableView.h // Client // // Created by apple on 2019/12/23. // Copyright © 2019 apple. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface ZQBaseKitCollectionReusableView : UICollectionReusableView @end NS_ASSUME_NONNULL_END
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program 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 Software Foundation. * * This program is distributed...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "UIImageView.h" @interface UIImageView (HighlightedWebCacheDeprecated) - (void)cancelCurrentHighlightedImageLoad; - (void)setHighlightedImageWithURL:(id)arg1 options:(unsig...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "Distributions/DistributionFloatParameterBase.h" #include "DistributionFloatParticleParameter.generated.h" UCLASS(collapsecategories, hidecategories=Object, editinlinenew, MinimalAPI) class UDistributionFloatParticleParameter : public...
#include "init.h" #include <print.h> #include <launcher.h> #include <syscall.h> // get a character from standard input char getch() { char c; // TODO: your code here c = usys_getc(); return c; } int main(int argc, char *argv[]) { char *buf; int ret = 0; printf("init loads cpio image.\n"); usys_fs_load_cpio(...
/** ****************************************************************************** * @file stm32f1xx_hal_hcd.h * @author MCD Application Team * @version V1.0.3 * @date 11-January-2016 * @brief Header file of HCD HAL module. *************************************************************************...
"data size %d not supported",ERROR, "operand doesn't fit into 8-bits",ERROR, "branch destination out of range",ERROR,
#ifndef __Custom_Config_H_ #define __Custom_Config_H_ // CMake auto-generated configuration options /* #undef OGRE_STATIC_LIB */ #define OGRE_BUILD_RENDERSYSTEM_D3D9 /* #undef OGRE_BUILD_RENDERSYSTEM_D3D11 */ #define OGRE_BUILD_RENDERSYSTEM_GL /* #undef OGRE_BUILD_RENDERSYSTEM_GLES */ /* #undef OGRE_BUILD_RENDERSYST...
/* * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) * From ASN.1 module "ProtocolModule" * found in "C:/devel/BlackBoxTT/bbproto/bbproto.asn1" * `asn1c -gen-PER -fuse-int64 -S` */ #include "BBCmd.h" static asn_TYPE_member_t asn_MBR_BBCmd_1[] = { { ATF_NOFLAGS, 0, offsetof(struct BBCmd, cmd), (ASN_TAG_...
/* * Copyright (C) 2012 Red Hat, Inc. * * This file is released under the GPL. */ #include "dm.h" #include "dm-bio-prison.h" #include <linux/spinlock.h> #include <linux/mempool.h> #include <linux/module.h> #include <linux/slab.h> /*----------------------------------------------------------------*/ struct bucket...
/* * Copyright (C) 2004 * Hartmut Brandt. * All rights reserved. * * Author: Harti Brandt <harti@freebsd.org> * * 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 ret...
/* main.c - Application main entry point */ /* * Copyright (c) 2015-2016 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr/types.h> #include <stddef.h> #include <misc/printk.h> #include <misc/util.h> #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> static u8_t mfg_data[] =...
#include "mcu_init.h" int fputc(int ch, FILE *f) { if (ch == '\n') { HAL_UART_Transmit(&huart1, (void *)"\r", 1, 30000); } HAL_UART_Transmit(&huart1, (uint8_t *)&ch, 1, 0xFFFF); return ch; } int _write(int fd, char *ptr, int len) { (void)HAL_UART_Transmit(&huart1, (uint8_t *)ptr, len, 0xF...
#include "postgres.h" #include "plpython.h" #include "plpy_elog.h" #include "plpy_typeio.h" #include "utils/jsonb.h" #include "utils/fmgrprotos.h" #include "utils/numeric.h" PG_MODULE_MAGIC; void _PG_init(void); /* for PLyObject_AsString in plpy_typeio.c */ typedef char *(*PLyObject_AsString_t) (PyObject *plrv); s...
#ifndef _MAGICC_MODEL_H_ #define _MAGICC_MODEL_H_ #if defined(_MSC_VER) #pragma once #endif /* * LEGAL NOTICE * This computer software was prepared by Battelle Memorial Institute, * hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830 * with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE *...
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* -*- mode: c; c-basic-offset:8; -*- * vim: noexpandtab sw=8 ts=8 sts=0: * * configfs_internal.h - Internal stuff for configfs * * Based on sysfs: * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel * * configfs Copyright (C) 2005 Oracle. All rights reserv...
#include <stdlib.h> #include <string.h> #include "token.h" #include <stdio.h> #include "error.h" token_t token_inits(enum token_type_e type, int value) { token_t token = {0}; token.type = type; token.value = value; return token; } const char *const token_name[] = {"TOKEN_NUMBER", "PAREN_LEFT", "PAREN_R...
/* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Guido van Rossum. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2000 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004-2017 Apple Inc. All rights reserved. * Copyright (C) 2009, 2010, 2011 Google Inc. All rights reserved. * * This library is free softwa...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
#ifndef __SOUND_ES1688_H #define __SOUND_ES1688_H /* * Header file for ES488/ES1688 * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * * * 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 Fo...
// // 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 conditions and the following disclaimer. // * Redistributions in bin...
/* * copyright (c) 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 License, or (at your option) any l...
/* * fxls8471-i2c.c - Linux kernel modules for 3-Axis Smart Orientation * /Motion Sensor * Version : 01.00 * Time : Dec.26, 2012 * Author : rick zhang <rick.zhang@freescale.com> * * Copyright (C) 2010-2011 Freescale Semiconductor. * * This program is free software; you can redistribute it and/or modi...
!> \file !> \copyright 2018 The Science and Technology Facilities Council (STFC) !> \licence BSD licence, see LICENCE file for details !> \author Florent Lopez #include <parsec.h> #include <parsec/data.h> #include <parsec/data_distribution.h> #include "spllt_parsec_blk_data.h" static inline uint32_t blk_key(int ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_fgets_32.c Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml Template File: sources-sinks-32.tmpl.c */ /* * @description * CWE: 789 Uncontrolled Memory Allocation * BadSource: fgets Read data from the con...
/*******************************************************************\ Module: Statement List Language Conversion Author: Matthias Weiss, matthias.weiss@diffblue.com \*******************************************************************/ /// \file /// Statement List Language Conversion #ifndef CPROVER_STATEMENT_LIST_...
/* * Copyright (c) 2002-2003, Intel Corporation. All rights reserved. * Created by: rusty.lynch REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. Test case for assertion #13 of the s...
// // GJCFCoreTextImageScriptParser.h // GJCommonFoundation // // Created by KivenLin on 14-10-12. // Copyright (c) 2014年 Connect. All rights reserved. // #import <Foundation/Foundation.h> #import "GJCFCoreTextImageAttributedStringStyle.h" @class GJCFCoreTextImageScriptParser; @protocol GJCFCoreTextImageScriptPa...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" #import "UINamedLayerStack.h" @class HBApp, NSArray, NSString, UIImage, _UIAssetManager; @interface _HBUnderlyingApplicationIconNamedLayerStack : NSObject <U...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:50:29 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias...
/* Developed by Luis Alberto email: alberto.bsd@gmail.com gcc -o keymath keymath.c -lgmp */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <gmp.h> #include <string.h> #include <unistd.h> #include <math.h> #include <time.h> #include "util.h" #include "gmpecc.h" #include "base...
/** * Copyright (c) 2015 - 2017, Nordic Semiconductor ASA * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
#pragma once #include "Command.h" class InputManager { public: static InputManager* GetInstance() { return inputManagerInstance = (inputManagerInstance != nullptr) ? inputManagerInstance : new InputManager(); } InputManager(); ~InputManager(); Command* handleKeyInput(const Uint8* state); private: Command* butto...
/* * drivers/net/ibm_emac/ibm_emac_core.c * * Driver for PowerPC 4xx on-chip ethernet controller. * * Copyright (c) 2004, 2005 Zultys Technologies. * Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net> * * Based on original work by * Matt Porter <mporter@kernel.crashing.org> * (c) 2003 Benjam...
#ifndef _TYPES_H_ #define _TYPES_H_ #ifndef NULL #define NULL ((void*)0) #endif typedef enum { false, true }bool; typedef void (*irq_handler_t) (int irq); typedef void* sys_call_t; #endif /*_TYPES_H_*/
/*! * \file RegionAS923.h * * \brief Region definition for AS923 * * \copyright Revised BSD License, see section \ref LICENSE. * * \code * ______ _ * / _____) _ | | * ( (____ _____ ____ _| |_ _____ ____|...
#ifndef DIALOG_H #define DIALOG_H #include <QWidget> #include "LXCustomPlot.h" class LDrawSpectrum : public QWidget { Q_OBJECT public: LDrawSpectrum(QWidget *parent = 0); ~LDrawSpectrum(); protected: LXCustomPlot *m_pCustomPlot; QTimer m_pUpdateTimer; private slots: void update(); }; #endi...
#pragma once #include <string> #define DEFAULT_LOG_LEVEL 2 #define DEFAULT_LVAR_UPDATE_FREQ 0 #define DEFAULT_START_EVENT_NO 0x1FFF0 class Default { public: static Default* GetInstance(const char* text) throw (); int GetLogLevel(); int GetLvarUpdateFrequency(); int GetStartEventNo(); int GetSimConnec...
#pragma once //! @file //! //! Copyright (c) 2019-Present Memfault, Inc. //! See License.txt for details //! //! @brief //! Internal keys used for serializing different types of event ids. Users of the SDK should never //! need to use any of these directly. #ifdef __cplusplus extern "C" { #endif #define MEMFAULT_CBO...
#ifndef __LINUX_NL80211_H #define __LINUX_NL80211_H /* * 802.11 netlink interface public header * * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> * Copyright 2008 Michael Wu <flamingice@sourmilk.net> * Copyright 2008 Luis Carlos Cobo <luisca@cozybit.com> * Copyright 2008 Michael Buesch <m@bues.ch>...
/* Copyright 2019-2021 NetFoundry 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
__global__ void GINLayer(float* edgeIndex, float* featureTensor, float *aggregationVar, float *nodeDegrees, float epsilon, float* featureTensorOutput);