text
stringlengths
9
948k
// Copyright 2017 The Dawn Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
/*- * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension * Support code is derived from software contributed to Berkeley * by Atsushi Murai (amurai@s...
//***************************************************************************** // // usbhostenum.c - Device enumeration code for the USB host library. // // Copyright (c) 2008-2020 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Texas Instruments (TI) is supplying this softwa...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: android/platform/libcore/luni/src/main/java/org/xml/sax/Attributes.java // #include "../../../J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_OrgXmlSaxAttributes") #ifdef RESTRICT_OrgXmlSaxAttributes #define INCLUDE_ALL_OrgXmlSaxAttributes 0 #else ...
#pragma once #include "torch/csrc/jit/ir.h" namespace torch { namespace jit { TORCH_API void EliminateCommonSubexpression(std::shared_ptr<Graph>& graph); TORCH_API void EliminateCommonSubexpression(Block * block); }}
/* RTC library for Arduino Zero. Copyright (c) 2015 Arduino LLC. All right reserved. 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 ...
#ifndef LRUCache_H_INCLUDED #define LRUCache_H_INCLUDED #include <list> #include <map> //! a LRU (Least Recently Used) Cache template <class A, class B> class LRUCache{ private: typedef std::list<A> List; typedef std::pair<B, typename List::iterator> Pair; typedef std::map<A, Pair > Map; Map cache;//index->(e...
#include <stdio.h> #include <stdlib.h> #define true 1 #define false 0 #define marked 1 #define unmarked 0 #define unit long long int void display (unit **A, int row, int col) { int i, j; for (i = 0; i < row; i++, printf("\n")) for (j = 0; j < col; j++) printf("...
#include <stdio.h> #include <stdlib.h> void quicksort(int a[],int left ,int right); int main() { int a[]={10,15,9,17,2},t,i; int n=sizeof(a)/sizeof(int); quicksort(a,0,n-1); for(i=0;i<=n-1;i++) { printf("%d,",a[i]); } } void quicksort(int a[],int left ,int right) { if(left>=right) ...
#ifndef GAME_H_ #define GAME_H_ int key_is_down_left_mouse(void); int key_is_down_right_mouse(void); #endif /* !GAME_H_ */
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_FPDFAPI_RENDER_CPDF_RENDERSTATUS_H_ #define CORE_FPDFAPI_RENDER_C...
/* * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
// // Copyright (c) 2008-2018 the Urho3D project. // // 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...
#include <string.h> #include <stdio.h> #include "wilddog.h" #include "wilddog_debug.h" #include "wilddog_config.h" #include "wilddog_sec_host.h" #include "wilddog_port.h" #include "mbedtls/net.h" #include "mbedtls/debug.h" #include "mbedtls/ssl.h" #include "mbedtls/entropy.h" #include "mbedtls/ctr_drbg.h" #include "m...
// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef SHELL_BROWSER_API_ELECTRON_API_SESSION_H_ #define SHELL_BROWSER_API_ELECTRON_API_SESSION_H_ #include <string> #include <vector> #include "base/values.h" #include "content/pub...
#ifndef HEADER_CURL_TOOL_CB_PRG_H #define HEADER_CURL_TOOL_CB_PRG_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * ...
#ifndef __SMF_IO_SPFILE_H__ #define __SMF_IO_SPFILE_H__ #include <string> #include <vector> using std::string; using std::vector; namespace Smf { class SpFileImpl; class SpFile { public: static SpFile* Create(const string path); enum TYPE_FILTER { NONE, FILE, DIRECTORY }; /** * Constructor taking...
//======================================================================== // GLFW 3.3 - www.glfw.org //------------------------------------------------------------------------ // Copyright (c) 2002-2006 Marcus Geelnard // Copyright (c) 2006-2016 Camilla Löwy <elmindreda@glfw.org> // // This software is provided 'as-is...
// Copyright 2019 DeepMind Technologies Ltd. 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 require...
//--------------------------------------------------------------------------------------- // Smile Programming Language Interpreter // Copyright 2004-2019 Sean Werkema // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ma...
#include <stdlib.h> #include <stdio.h> #include <iup.h> #include <iupcontrols.h> static Ihandle* load_image_Tecgraf(void) { unsigned char imgdata[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
/****************************************** Copyright (C) 2009-2020 Authors of CryptoMiniSat, see AUTHORS file 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 withou...
/* * The USB Monitor, inspired by Dave Harding's USBMon. * * This is a binary format reader. * * Copyright (C) 2006 Paolo Abeni (paolo.abeni@email.it) * Copyright (C) 2006,2007 Pete Zaitcev (zaitcev@redhat.com) */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/fs.h> #include <linux/cdev.h> #...
#pragma once #include "im_param/im_param.h" #include "transform_filter_glm/smoother_sfb_rpy.h" namespace im_param { template <class backend_type, class Arg> backend_type& parameter( backend_type& backend, ::transform_filter_glm::SmootherSfbRpy<Arg>::Params& params, const TypeHolder<:...
// Copyright (c) 2018, Ryo Currency Project // Portions copyright (c) 2014-2018, The Monero Project // // Portions of this file are available under BSD-3 license. Please see ORIGINAL-LICENSE for details // All rights reserved. // // Ryo changes to this code are in public domain. Please note, other licences may apply to...
/* MIT License Copyright (c) 2019, Alexey Dynda 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, ...
/* * Copyright (c) 2011-2012, Freescale Semiconductor, 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: * * o Redistributions of source code must retain the above copyright notice, this...
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NV04_DISPLAY_H__ #define __NV04_DISPLAY_H__ #include <subdev/bios.h> #include <subdev/bios/pll.h> #include "nouveau_display.h" enum nv04_fp_display_regs { FP_DISPLAY_END, FP_TOTAL, FP_CRTC, FP_SYNC_START, FP_SYNC_END, FP_VALID_START, FP_VALID_END }; struct nv04...
/* crypto/bn/bn_exp2.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-...
/*------------------------------------------------------------------------- * * pg_namespace.c * routines to support manipulation of the pg_namespace relation * * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * *...
/* * Copyright 2005-2008 NVIDIA Corporation. All rights reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 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 Soft...
// Copyright 2013 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. // Chromium settings and storage represent user-selected preferences and // information and MUST not be extracted, overwritten or modified except // throu...
/* Copyright (C) 2015 Atsushi Togo */ /* All rights reserved. */ /* This file is part of spglib. */ /* 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 abov...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/application-insights/ApplicationInsights_EXPORTS.h> #include <aws/application-insights/ApplicationInsightsRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #includ...
// // PingCase30.h // PingDynamicSynthesizerDemoTests // // Created by 徐仲平 on 2019/3/27. // Copyright © 2019 徐仲平. All rights reserved. // #import <Foundation/Foundation.h> #import "PingDynamicSynthesizer.h" NS_ASSUME_NONNULL_BEGIN @interface PingCase30 : NSObject<DynamicPropertyProtocol> @property (nonatomic, st...
// // DDCashlessOutletDistanceTVC.h // DDCashlessUI // // Created by Awais Shahid on 10/04/2020. // #import "DDCashlessBaseTVC.h" NS_ASSUME_NONNULL_BEGIN @interface DDCashlessOutletDistanceTVC : DDCashlessBaseTVC @end NS_ASSUME_NONNULL_END
/* * Copyright 2020 u-blox 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 or agreed to in w...
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * Copyright (c) 2015 Daniel Campora * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentatio...
// Copyright 2016-2019 Espressif Systems (Shanghai) PTE 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 a...
/* * HEVC shared tables * * 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 later version. *...
/* * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist...
/************************************************************************************ * arch/arm/src/tiva/tiva_enableclks.h * * Copyright (C) 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification,...
/***************************************************************************** * Copyright (c) 2016 The University of Tokyo * This software is released under the MIT License, see LICENSE.txt *****************************************************************************/ /* hecd_util ver.1.0 */ #ifndef hecd_u...
// // Created by Mike Smith on 2021/6/24. // #pragma once #include <dsl/struct.h> #include <dsl/syntax.h> namespace luisa::compute { struct alignas(16) Ray { std::array<float, 3> origin; float t_min; std::array<float, 3> direction; float t_max; }; } LUISA_STRUCT(luisa::compute::Ray, origin, t_min,...
/** * Copyright (c) Project Iota * * uCbor is licensed under an Apache license, version 2.0 license. * All rights not explicitly granted in the Apache license, version 2.0 are reserved. * See the included LICENSE file for more details. */ #include <stdio.h> #include "ucbor.h" int main(void) { printf("Hello ...
// 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) 2017 The Corium developers // Distributed under the MIT software license, see the accompanying // file COPYING or h...
/* * This header is generated by classdump-dyld 1.5 * on Friday, April 30, 2021 at 11:36:56 AM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/Frameworks/EventKit.framework...
#ifndef COMPUTING_TIMES_H #define COMPUTING_TIMES_H /* This file is part of VROOM. Copyright (c) 2015-2022, Julien Coupey. All rights reserved (see LICENSE). */ #include "structures/typedefs.h" namespace vroom { struct ComputingTimes { // Computing times in milliseconds. Duration loading; Duration solving;...
#include<sys/stat.h> #include<unistd.h> #include<stdio.h> #include<fcntl.h> int main() { int r; r=open("myfifo1",O_WRONLY); write(r,"HelloWorld",7); }
// By default, #included at beginning of library source files // Copyright (C) 2005 Shay Green. #ifndef BLARGG_SOURCE_H #define BLARGG_SOURCE_H // If debugging is enabled, abort program if expr is false. Meant for checking // internal state and consistency. A failed assertion indicates a bug in the module. // void a...
/* SCCS Id: @(#)trap.h 3.4 2000/08/30 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ /* note for 3.1.0 and later: no longer manipulated by 'makedefs' */ #ifndef TRAP_H #define TRAP_H union vlaunchinfo { short v_launch_otyp...
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2013, 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...
// // SwpRequest.h // swp_song // // Created by swp_song on 2017/6/24. // Copyright © 2017年 swp_song. All rights reserved. // #import "SwpBaseRequest.h" NS_ASSUME_NONNULL_BEGIN @interface SwpRequest : SwpBaseRequest /**! * @author swp_song * * @brief swpPOST:parameters:uploadFileStatus:fileNames:fileDatas:...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2019 The Fluent Bit Authors * Copyright (C) 2015-2018 Treasure Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
#include <string.h> #include <stdlib.h> #include "proto.h" #include "crypto/md5.h" void hash_password(const char *password, char *hash) { BYTE md5[MD5_BLOCK_SIZE]; MD5_CTX ctx; md5_init(&ctx); md5_update(&ctx, (const unsigned char *)password, strlen(password)); md5_final(&ctx, md5); for (...
/* https://github.com/superwills/NibbleAndAHalf base64.h -- Fast base64 encoding and decoding. version 1.0.0, April 17, 2013 143a Copyright (C) 2013 William Sherif This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arisi...
// // NSString+Validator.h // Pods // // Created by shaolei on 17/4/6. // 正则表达式相关 // #import <Foundation/Foundation.h> @interface NSString (Validator) /** 邮箱验证 */ - (BOOL)isValidEmail; /** 手机号码验证 */ - (BOOL)isValidPhoneNum; /** 车牌号验证 */ - (BOOL)isValidCarNo; /** 网址验证 */ - (BOOL)isV...
/* * Copyright (c) 2020-2021, NVIDIA CORPORATION. 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 ...
/* * Copyright 2012 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...
// This file is part of the Sculpt-VR Project. // Licensing information can be found in the LICENSE file. // (C) 2014 The Sculpt-VR Team. All rights reserved. #ifndef __PLANE_H__ #define __PLANE_H__ class Plane { public: Plane(float width, float depth); void create(); void render(Shader& shader); void destr...
// Copyright 2015 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 IOS_CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_FACTORY_H_ #define IOS_CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_FACTORY_H_ #include <memor...
/* NiuTrans.Tensor - an open-source tensor library * Copyright (C) 2017, Natural Language Processing Lab, Northestern University. * 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 L...
#ifndef LINE_TENSION_H #define LINE_TENSION_H #include "types.h" #include <vector> #include <list> extern "C" { py_float get_line_tension( void *x, py_int N, py_int *ids, py_int *types, py_int periodic, py_float *xlo, py_float *xhi, py_int dims, ...
/*************************************************************************** * * Copyright (C) 2007-2008 SMSC * * 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 L...
#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 FOUNDATION_EXPORT double Pods_AKWelcomeKit_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_AKWelcomeKit_Tests...
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #ifndef INCLUDE_git_object_h__ #define INCLUDE_git_object_h__ #include "common.h" #include "types.h" #in...
// Copyright 2020 Google LLC // // 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...
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #pragma once #include "Vector.h" #include "Matrix.h" #include "../Core/Prefix.h" #include <utility> namespace XLEMath { float SignedDi...
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "X2AP-IEs" * found in "/home/oai/Downloads/LWA/openair2/X2AP/MESSAGES/ASN1/R11.2/X2AP-IEs.asn" * `asn1c -gen-PER` */ #ifndef _X2ap_CellInformation_List_H_ #define _X2ap_CellInformation_List_H_ #include <asn_application.h> /* Includ...
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
#pragma once #include "il2cpp.h" bool UgNetworkManager_UgOnlinePlayerData__get_isNull (UgNetworkManager_UgOnlinePlayerData_o* __this, const MethodInfo* method_info); void UgNetworkManager_UgOnlinePlayerData___ctor (UgNetworkManager_UgOnlinePlayerData_o* __this, const MethodInfo* method_info); void UgNetworkManager_Ug...
// Lean compiler output // Module: Lean.Elab.Tactic.Delta // Imports: Init Lean.Meta.Tactic.Delta Lean.Elab.Tactic.Basic Lean.Elab.Tactic.Location #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__)...
/** * @file * This is the IPv4 layer implementation for incoming and outgoing IP traffic. * * @see ip_frag.c * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted p...
/* * ReplicationPolicy.h * * This source file is part of the FoundationDB open source project * * Copyright 2013-2018 Apple Inc. and the FoundationDB project 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 ...
// // ViewController.h // CHTMacroDemo // // Created by cht on 2017/3/31. // Copyright © 2017年 cht. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
#pragma once #ifndef _IO_UTILS_H_ #define _IO_UTILS_H_ // you must have a config file, both for windows and for compiling on Linux (MAMA) // BUT, you need to change the content of the config! #include "config.h" #include "Color.h" #include <iostream> #include <stdio.h> #include <stdlib.h> void gotoxy(int x, int y); vo...
/****************************************************************************** * Nuvoton TPM I2C Device Driver Interface for WPCT301/NPCT501/NPCT6XX, * based on the TCG TPM Interface Spec version 1.2. * Specifications at www.trustedcomputinggroup.org * * Copyright (C) 2011, Nuvoton Technology Corporation. * Dan...
/***************************************************************************** * * Copyright (c) 2000 - 2014, Lawrence Livermore National Security, LLC * Produced at the Lawrence Livermore National Laboratory * LLNL-CODE-442911 * All rights reserved. * * This file is part of VisIt. For details, see https://visit.llnl...
/*- * SPDX-License-Identifier: BSD-3-Clause * * Copyright (c) 1982, 1986, 1993 * The Regents of the University of California. 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. Redistr...
/* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain softwa...
#pragma once #include <iostream> #include <fstream> #include <memory> #include <utility> #include <algorithm> #include <functional> #include <chrono> #include <thread> #include <string> #include <sstream> #include <vector> #include <unordered_map> #include <unordered_set> #include <glm/glm.hpp> #include "Solar/Core/...
/*********************************************************************** Copyright (c) 2006-2011, Skype Limited. 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 retai...
/************************************************************************************************* * main.c * - main C implementation or source file. * * Author: Taeyoon Rim * Created on: Mar 22, 2021 * Modified: Apr 10, 2021 ************************************************************************************...
// Copyright 2020 Open Source Robotics Foundation, 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 appli...
/* Tomato Firmware for policy router Copyright (C) 2013-2014 arctic */ #include "rc.h" #include <netdb.h> #include <sys/types.h> #include <sys/socket.h> void ipt_routerpolicy(void){ char *nv, *nvp, *b; char *active, *proto, *srt_type, *srt_addr, *srt_port, *dst_type, *dst_addr, *dst_port, *wanx, *desc; char m...
// 904. Fruit Into Baskets // https://leetcode.com/problems/fruit-into-baskets/ // Runtime: 176 ms, faster than 95.47% of C++ online submissions for Fruit Into Baskets. // Memory Usage: 56.7 MB, less than 5.05% of C++ online submissions for Fruit Into Baskets. class Solution { public: int totalFruit(vector<int>& ...
// // UILabel+Common.h // Clan // // Created by chivas on 15/7/23. // Copyright (c) 2015年 Youzu. All rights reserved. // #import <UIKit/UIKit.h> @interface UILabel (Common) + (UILabel *)yzAttributedLabelWithText:(NSString *)text andFrame:(CGRect)frame andFont:(UIFont *)font; @end
/* cerrgg.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
//****************************************************************************** // // i2s_filter.c - Example program that records the line input from the codec and // plays it back out the output. // // Copyright (c) 2009-2012 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // T...
#ifndef INCLUDED_flixel_system_debug_interaction_tools__Eraser_GraphicEraserTool #define INCLUDED_flixel_system_debug_interaction_tools__Eraser_GraphicEraserTool #ifndef HXCPP_H #include <hxcpp.h> #endif #ifndef INCLUDED_openfl_display_BitmapData #include <openfl/display/BitmapData.h> #endif HX_DECLARE_CLASS6(flixel,...
// // SWUtilityButtonView.h // SWTableViewCell // // Created by Matt Bowman on 11/27/13. // Copyright (c) 2013 Chris Wendel. All rights reserved. // #import <UIKit/UIKit.h> @class SWTableViewCell; #define kUtilityButtonWidthDefault 60 @interface SWUtilityButtonView : UIView - (id)initWithUtilityButtons:(NSArray...
#ifndef _DcmtkJpeg2000_djcodece_h_ #define _DcmtkJpeg2000_djcodece_h_ #include <dcmtk/config/osconfig.h> #include <dcmtk/dcmdata/dccodec.h> #include <dcmtk/dcmdata/dcofsetl.h> #include <dcmtk/ofstd/ofstring.h> class DJ2KRepresentationParameter; class DJ2KCodecParameter; class DJ2KEncoderBase : public DcmCodec { ...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, // but are changed infrequently // // This is a part of the Active Template Library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intende...
/* * Generated with test/generate_buildtest.pl, to check that such a simple * program builds. */ #include <openssl/opensslconf.h> #ifndef OPENSSL_NO_STDIO # include <stdio.h> #endif #ifndef OPENSSL_NO_CONF # include <openssl/conf.h> #endif int main(void) { return 0; }
struct dummy; void * fun(struct dummy p[]) { return p; } int main() { return fun(0) != 0; }
#ifndef FILDESH_MASCII_H_ #define FILDESH_MASCII_H_ #include "fildesh.h" #if defined(__SSSE3__) || defined(__AVX__) || defined(__AVX2__) #include <tmmintrin.h> #define FILDESH_MASCII_INTRINSIC_MM #endif #ifdef __cplusplus extern "C" { #endif typedef union FildeshMascii FildeshMascii; #if defined(__STDC_VERSION__) ...
#ifndef C10_UTIL_LOGGING_IS_NOT_GOOGLE_GLOG_H_ #define C10_UTIL_LOGGING_IS_NOT_GOOGLE_GLOG_H_ #include <chrono> #include <climits> #include <ctime> #include <fstream> #include <iomanip> #include <map> #include <set> #include <sstream> #include <string> #include <vector> #include "c10/util/Flags.h" // Log severity le...
#ifndef _MIPS_MIPS_H_ #define _MIPS_MIPS_H_ #ifndef _MACHDEP #error "Do not use this header file outside kernel machine dependent code!" #endif /* * Initial virtual address space is partitioned into four segments: * * kuseg 0x00000000 - 0x7fffffff User virtual memory, TLB mapped * kseg0 0x80000000 - 0x9f...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Copyright (c) 2014-2019 The BitsCoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef DIGIBYTE_CONSENSU...