text
stringlengths
9
948k
/* * Copyright (c) 2021 Sebastian Kylander https://gaztin.com/ * * 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 software for any purpo...
/* Copyright 2020 The Matrix.org Foundation C.I.C 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...
/* * Copyright (C) 2016-2017 Intel Corporation. * SPDX-License-Identifier: MIT */ /* * * Copyright (c) 1994 * Hewlett-Packard Company * * Copyright (c) 1996,1997 * Silicon Graphics Computer Systems, Inc. * * Copyright (c) 1997 * Moscow Center for SPARC Technology * * Copyright (c) 1999 * Boris Fomitchev...
// Copyright (c) 2016, Huang-Ming Huang, Object Computing, Inc. // All rights reserved. // // This file is part of mFAST. // See the file license.txt for licensing information. #pragma once #include "int_instructions.h" namespace mfast { class MFAST_EXPORT set_field_instruction : public integer_field_instruc...
#include "collision_snake.h" int acertou_barreira(t_lista *snake) { if (snake->ini->prox->i >= MAX_Y || snake->ini->prox->i <= 0) return 1; else if (snake->ini->prox->j >= MAX_X - 1 || snake->ini->prox->j <= 1) return 1; return 0; } int acertou_cobra(t_lista *snake) { inicializa_atual_...
/* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2018, STMicroelectronics * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
#ifndef SCRIPTMATH3D_H #define SCRIPTMATH3D_H #include "../angelscript/include/angelscript.h" BEGIN_AS_NAMESPACE // This function will determine the configuration of the engine // and use one of the two functions below to register the string type void RegisterScriptMath3D(asIScriptEngine *engine); // Call this func...
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Re...
/* * Copyright 2009-2017 Alibaba Cloud 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...
#pragma once #include <ATen/ATen.h> #include <string> #include <vector> #include <ATen/core/interned_strings.h> #include <torch/csrc/WindowsTorchApiMacro.h> namespace torch { namespace jit { using ::c10::Symbol; constexpr int max_tensor_display_size = 10; enum class AttributeKind { f, fs, i, is, s, ss, t, ts, g, ...
/** \file libgdsup/include/bits/types/ino_t.h * \brief Define the pid_t type. * \author Copyright 2021, Matthew Gretton-Dann * SPDX-License-Identifier: Apache-2.0 */ #ifndef _LIBGDSUP_INCLUDE_BITS_TYPES_INO_T_H_INCLUDED #define _LIBGDSUP_INCLUDE_BITS_TYPES_INO_T_H_INCLUDED #ifdef _WIN32 typedef unsigned lon...
#ifndef MATCHING_BASED_LOOPCLOSURE_MATCHING_BASED_ENGINE_H_ #define MATCHING_BASED_LOOPCLOSURE_MATCHING_BASED_ENGINE_H_ #include <memory> #include <unordered_map> #include <utility> #include <vector> #include <Eigen/Dense> #include <aslam/common/reader-writer-lock.h> #include <descriptor-projection/descriptor-project...
/****************************************************************************** * * package: Log4Qt * file: levelmatchfilter.h * created: September 2007 * author: Martin Heinrich * * * Copyright 2007 Martin Heinrich * * Licensed under the Apache License, Version 2.0 (the "License"); * you...
#include <u.h> #include <libc.h> #include <bio.h> static int fmtBflush(Fmt *f) { Biobufhdr *bp; bp = f->farg; bp->ocount = (char*)f->to - (char*)f->stop; if(Bflush(bp) < 0) return 0; f->stop = bp->ebuf; f->to = (char*)f->stop + bp->ocount; f->start = f->to; return 1; } int Bvprint(Biobufhdr *bp, char *fmt,...
int entry (int n){ int res = 0; if (n==0) { res = 0; } else { res = -1; } return res; }
/***************************************************************************** * Copyright (c) 2019, Nations Technologies Inc. * * All rights reserved. * **************************************************************************** * * Redistribution and use in source and binary forms, with or without * modificat...
/* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundl...
#ifndef LEVEL_2_H #define LEVEL_2_H #include <fstream> namespace lvl_2 { class level_2:public master_base { int score; public: void set_row_col(int r,int c) { row = r; col = c; } void increment_score() { ++score; } level_2(int m,int n):master_base(m,n) { ...
/* Generated automatically. DO NOT EDIT! */ #define SIMD_HEADER "simd-avx2.h" #include "../common/t2fv_4.c"
#pragma once #include "Singleton.h" class Imgui { SINGLETON };
/* deflate.c -- compress data using the deflation algorithm * Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* * ALGORITHM * * The "deflation" process depends on being able to identify portions * of the input text w...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double Pods_CYBluetoothManagerVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_CYBluetoothManagerVersionString[];
/* Copyright 2018 The Blueoil 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 agre...
/***************************************************************************/ /* */ /* psauxmod.h */ /* */ /* Fr...
/* * Hello world example */ #include <rtems.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> rtems_task Init( rtems_task_argument ignored ) { printf( "\nHello World\n" ); for(;;) { sleep(100); printf("Alive!\n\r"); } exit( 0 ); }
// 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 #ifndef __VTK_CGNS_MULTI_BLOCK_DATA_SET_H #define __VTK_CG...
int roi_align_forward_cuda_3d(int aligned_slices, int aligned_height, int aligned_width, float spatial_scale, int sampling_ratio, THCudaTensor * features, THCudaTensor * rois, THCudaTensor * output); int roi_align_backward_cuda_3d(int aligned_slices, int aligned_height, int aligned_width, float...
/* * Copyright (C) AlexWoo(Wu Jie) wj19840501@gmail.com */ #ifndef _NGX_RTMP_DYNAMIC_H_INCLUDED_ #define _NGX_RTMP_DYNAMIC_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> #include "ngx_map.h" #include "ngx_dynamic_conf.h" #include "ngx_rtmp.h" typedef struct { void *(*create_main_conf)(ngx_c...
/****************************************************************************** ** Filename: mfx.h ** Purpose: Definition of micro-feature extraction routines ** Author: Dan Johnson ** ** (c) Copyright Hewlett-Packard Company, 1988. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may...
../../../../../node_modules/react-native/React/Base/RCTPerformanceLogger.h
/** @file This file implements an I/O Processor for network I/O @section license License 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 li...
#ifndef FILE_SYSTEM_H #define FILE_SYSTEM_H #include "data_block.h" #include "data_file.h" #include "node_entry.h" #include "super_block.h" #include "bit_vector.h" class FileSystem { private: DataFile *dataFile; SuperBlock *superBlock; int currentDirectoryInByte; BitVector *bitVector; long makeDirectoryInPo...
#import <Foundation/Foundation.h> @interface NSDictionary (Access) - (BOOL)boolValueForKey:(NSString *)key; - (BOOL)boolValueForKey:(NSString *)key defaultValue:(BOOL)defaultValue; - (int)intValueForKey:(NSString *)key; - (int)intValueForKey:(NSString *)key defaultValue:(int)defaultValue; - (float)floatValueForKey:...
#ifndef LLAD_LOGFILE_H #define LLAD_LOGFILE_H /** class Logfile * @file */ #include <popt.h> extern const struct poptOption logfile_opts[]; /** libpopt option table for Logfile */ #define LOGFILE_OPTS {NULL, '\0', POPT_ARG_INCLUDE_TABLE, (struct poptOption *)logfile_opts, 0, "Logfile options:", NULL}, struct lo...
๏ปฟ/* * 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...
/* * * MIT License * * Copyright (c) 2020 Mirgor * * 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...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/dom/interfaces/core/nsIDOM3Text.idl */ #ifndef __gen_nsIDOM3Text_h__ #define __gen_nsIDOM3Text_h__ #ifndef __gen_domstubs_h__ #include "domstubs.h" #endif /* For IDL files that don't want to include root IDL files. */ #if...
/* * Copyright (C) 2013 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...
/* (c) Copyright 2002-2011 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2002-2004 Convergence (integrated media) GmbH All rights reserved. Written by Denis Oliver Kropp <dok@directfb.org> This program is free software; you can redistribute it and/or modify it under t...
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import <objc/NSObject.h> #import "NSXPCListenerDelegate-Protocol.h" @class NSString; @interface IXClientConnectionServiceDelegate : NSObject <N...
/* * 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. * * FFmpeg is distributed...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +--------------...
/* * solver_spfa.h * * Created on: Jun 26, 2019 * Author: wck */ #ifndef SOLVER_DIJKSTRA_H_ #define SOLVER_DIJKSTRA_H_ #include <queue> #include "solver.h" class SolverDijkstra: public Solver { public: SolverDijkstra(long n, Node nodes[]); ~SolverDijkstra() override; void Initialize() override; void ...
/*************************************************************************** Various Data East 8 bit games: Cobra Command (World) (c) 1988 Data East Corporation (6809) Cobra Command (Japan) (c) 1988 Data East Corporation (6809) The Real Ghostbusters (2p) (c) 1987 Data East USA (6809 + I8751) ...
// 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 NET_CERT_X509_CERT_TYPES_H_ #define NET_CERT_X509_CERT_TYPES_H_ #include <string.h> #include <map> #include <set> #include <string> #include...
// // Created by momo783 on 20/08/2018. // #ifndef PODS_XESHANDEVENTLISTENER_H #define PODS_XESHANDEVENTLISTENER_H #include "core/events/XESEventListener.h" XESCENE_NAMESPACE_BEGIN class Hand; class HandEventListener : public EventListener { XESCENE_CONSTRUCTOR_ACCESS: HandEventListener(); ...
#define PJ_LIB__ #include <projects.h> PROJ_HEAD(hatano, "Hatano Asymmetrical Equal Area") "\n\tPCyl, Sph."; #define NITER 20 #define EPS 1e-7 #define ONETOL 1.000001 #define CN 2.67595 #define CS 2.43763 #define RCN 0.37369906014686373063 #define RCS 0.41023453108141924738 #define FYCN 1.75859 #define FYCS ...
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SRC_MODULAR_BIN_SESSIONMGR_STORY_MODEL_STORY_OBSERVER_H_ #define SRC_MODULAR_BIN_SESSIONMGR_STORY_MODEL_STORY_OBSERVER_H_ #include <fuchsia/modula...
/* * Copyright (c) 2016 Haggai Eran. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this source tree, ...
#include "GeometricRecognizerTypes.h" namespace DollarRecognizer { struct utils { Path2D addPointsToMakePath(Point2D v1, Point2D v2, Point2D v3, Point2D v4, Point2D v5, Point2D v6, Point2D v7, Point2D v8, Point2D v9, Point2D v10, Point2D v11, Point2D v12, Point2D v13, Point2D v14, Point2D v15, Point2D v16, Poi...
// -*- C++ -*- //===----------------------------------------------------------------------===// // // Copyright (C) 2017-2019 Intel Corporation // // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // This file incorporates work covered by the following copyright and permission // notice: // // Part of the L...
//************************************************************* // File name: INIT.C // // Description: Initialization code for Profile control panel // applet // // // Microsoft Confidential // Copyright (c) Microsoft Corporation 1992-1994 // All rights reserved // //***************************...
//***************************************************************************** // // usb_dev_msc.c - Main routines for the device mass storage class example. // // Copyright (c) 2013-2014 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Texas Instruments (TI) is supplying this...
/* * Copyright (C) 2021-2023 Alibaba Group Holding Limited */ #ifndef _COMMON_H_ #define _COMMON_H_ #include <stdint.h> #include "model/facebody.h" #include "model/imageenhan.h" #include "model/imagerecog.h" #include "model/imageseg.h" #include "model/objectdet.h" #include "model/ocr.h" #include "model/internal.h"...
extern int wait_yunothread (yunowait_mode waitmode, yunothread*);
/* All modification made by Cambricon Corporation: ยฉ 2022 Cambricon Corporation All rights reserved. All other contributions: Copyright (c) 2014--2022, the respective contributors All rights reserved. For the list of contributors go to https://github.com/pytorch/pytorch/graphs/contributors Redistribution and use in sou...
/* ** EPITECH PROJECT, 2020 ** my_ftp ** File description: ** TODO: add description */ #include "generic_list.h" bool list_del_elem_at_back(list_t *front_ptr, void (*del)(void* data)) { node_t *to_delete = NULL; if (list_is_empty(*front_ptr)) return (false); if (list_get_size(*front_ptr) == 1) { l...
/* * 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 ...
/* * Copyright (C) 2017-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "shared/source/helpers/file_io.h" #include "shared/test/unit_test/helpers/test_files.h" #include "opencl/source/program/program.h" #include "opencl/test/unit_test/mocks/mock_program.h" #include "gtest/gtes...
/******************************************************************* * Copyright (C) 2010-2015 Xilinx, 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 Software without rest...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:47:20 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/AppleAccountUI.framework/AppleAccountUI * classdump-dyld is licensed under GPLv3, Copyright ยฉ 2013-20...
#ifndef WOLFENSTEIN_TALLER1_GUN_TESTS_H #define WOLFENSTEIN_TALLER1_GUN_TESTS_H #include "tests_setup.h" #include "../main/guns/machine_gun.h" #include "../main/player.h" void gun_tests(); #endif //WOLFENSTEIN_TALLER1_GUN_TESTS_H
#include "server.h" #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> // #include <windows.h> #include <time.h> #define READ_BOARD 1 #define WRITE_BOARD 2 #define UPDATE_SSEG2 3 #define MSG_MAX_SIZE 350 #define BUFFER_SIZE (MSG_MAX_SIZE + 100) #define LOGIN_MAX_SIZE 13 #define MAX_CHAT_CLI...
/* * 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. * * File: lpm.c * Purpose: Maverick2 flex LPM table routines * Requires: */ #include <shared/bsl.h> #i...
// Copyright 2016 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_UI_PAYMENTS_SHIPPING_ADDRESS_SELECTION_COORDINATOR_H_ #define IOS_CHROME_BROWSER_UI_PAYMENTS_SHIPPING_ADDRESS_SELECTION_COORDIN...
// // 2015 Magna cum laude. PD // #ifndef __Cocopops__bezier__ #define __Cocopops__bezier__ // a cubic Bรฉzier curve (p1x,p1y) --> (p4x,p4y) with Control points (p2x,p2y) and (p3x,p3y) typedef struct { double p1x,p1y, p2x,p2y, p3x,p3y, p4x,p4y; } bezier_t; bezier_t bezier_make(double p1x,double p1y, double p2x,doub...
/**************************************************************************** * Copyright 2017 Gorgon Meducer (Email:embedded_zhuoran@hotmail.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you m...
#pragma once #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <string> #include <cstdlib> #include <cocos2d.h> #include "enums.h" // unorganised #include "custom.h" #include "GJRewardItem.h" #include "GJRewardObject.h" #include "GJObjectDecoder.h" #include "GJChallengeItem.h" #include "delegates.h" #include ...
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
/* * Copyright 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved. */ /* * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-li...
// // ZYTextField+HistoryDataList.h // TFRememberHistoryInputContentWithDropList // // Created by Jobs on 2020/9/17. // Copyright ยฉ 2020 Jobs. All rights reserved. // #import "ZYTextField.h" NS_ASSUME_NONNULL_BEGIN //BaseTableViewer @interface UIView (Chain) /// ็‚นๅ‡ปๅ‡บ็Žฐไธ‹ๆ‹‰ๅˆ—่กจ๏ผŒไปฅๆ˜พ็คบๅทฒ่ฎฐๅฝ•็š„ๅކๅฒๆ•ฐๆฎ @interface ZYTextField (Hist...
// // ViewController.h // 01QQ // // Created by ่’‹ไธ™็ˆฝ on 16/8/25. // Copyright ยฉ 2016ๅนด TANZHOU. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
// NOTE - eventually this file will be automatically updated using a Perl script that understand // the naming of test case files, functions, and namespaces. #ifndef _TESTCASES_H #define _TESTCASES_H #ifdef __cplusplus extern "C" { #endif // declare C good and bad functions #ifndef OMITGOOD /* BEGIN-AUTOGENERATED-C...
// // HKCDADocumentSample.h // HealthKit // // Copyright ยฉ 2015 Apple. All rights reserved. // // HealthKit support for storing and retrieving // Consolidated Clinical Document records. // #import <HealthKit/HKDocumentSample.h> NS_ASSUME_NONNULL_BEGIN @class HKCDADocument; /*! @class HKCDADocumentSamp...
const unsigned char lapin[11598] = { 0x52, 0x49, 0x46, 0x46, 0x46, 0x2D, 0x00, 0x00, 0x57, 0x41, 0x56, 0x45, 0x66, 0x6D, 0x74, 0x20, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x80, 0x3E, 0x00, 0x00, 0x80, 0x3E, 0x00, 0x00, 0x01, 0x00, 0x08, 0x00, 0x4C, 0x49, 0x53, 0x54, 0x1A, 0x00, 0x00, 0x00, 0x49, 0x4E, 0x4...
// Copyright 2019 ZTE corporation. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #ifndef ADLIK_SERVING_RUNTIME_PROVIDER_PREDICT_REQUEST_PROVIDER_H #define ADLIK_SERVING_RUNTIME_PROVIDER_PREDICT_REQUEST_PROVIDER_H #include <functional> #include <string> #include <vector> #include "adlik_serving/framewor...
// 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 BITCOIN_QT_WALLETVIEW_H #define BITCOIN_QT_WALLETVIEW_H #include "amount.h" #include "masternodelist.h" #include <Q...
/* Copyright (C) 2017-2021 by Arm Limited. All rights reserved. */ #ifndef INCLUDE_LIB_FORMAT_H #define INCLUDE_LIB_FORMAT_H #include <sstream> namespace lib { /** * Helper class for formatting values into strings */ class Format { public: /** @brief Insertion operator */ templ...
/*** * Copyright 1987 by AT&T Bell Laboratories. * All rights reserved. * Note: Lucent Technologies is now Alcatel-Lucent; some copyrights * may have been assigned by AT&T to Alcatel-Lucent. ***/ #include <stdio.h> #include "awkcc.h" static char SCCSID[]="@(#)main.c 3.1\t7/11/88"; VARINFOP *symtab; char *cmdna...
/*!******************************************************************** * AudMonkey: A Digital Audio Editor AffordanceHandle.h Vitaly Sverchinsky **********************************************************************/ #pragma once #include "TimeShiftHandle.h" class AUDMONKEY_DLL_API AffordanceHandle : public ...
๏ปฟ#ifndef ZOOMIMG_H #define ZOOMIMG_H #include <QWidget> #include <QGraphicsScene> #include <QGraphicsView> #include <QLabel> #include <QPushButton> #include <QMouseEvent> namespace Ui { class ZoomImg; }; class ZoomImg : public QWidget { Q_OBJECT public: ZoomImg(QWidget *parent = 0); ~ZoomImg(); void OpenImg(QSt...
/* Unit test suite for functions SystemParametersInfo and GetSystemMetrics. * * Copyright 2002 Andriy Palamarchuk * * 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...
/** * @file * @brief * * @author Anton Kozlov * @date 06.08.2014 */ #include <stddef.h> #include <kernel/irq.h> #include <drivers/serial/stm_usart.h> #include <drivers/serial/uart_dev.h> #include <drivers/ttys.h> extern const struct uart_ops stm32_uart_ops; extern irq_return_t uart_irq_handler(unsigned i...
/** ****************************************************************************** * @file flash_if.c * @author MCD Application Team * @brief FLASH Interface module. * This file provides set of firmware functions to manage Flash * Interface functionalities. ************************...
#include <bsp/core/config.h>
#include <stdio.h> #include <avr/io.h> #include "define.h" #include "macros.h" #include "hardware.h" // volatile vars for inputs volatile uint8_t bit_count[7] = {0}; volatile uint8_t pin_value[7]; // set backlight (0 = max, 1023 = min). Taken from adc_pwm_backlight.c from topic 11 void set_backlight(int duty_cycle) {...
/* This file is under the MIT License. Copyright 2020 Jeremiah Haven 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, m...
/******************************************************************************* GPIO PLIB Company: Microchip Technology Inc. File Name: plib_gpio.h Summary: GPIO PLIB Header File Description: This library provides an interface to control and interact with Parallel Input/Output control...
// // LTShowHandler.h // LTLive // // Created by ๅญŸไปค้€š on 2017/4/27. // Copyright ยฉ 2017ๅนด LryMlt. All rights reserved. // #import "LTBaseHandler.h" @interface LTShowHandler : LTBaseHandler // ่Žทๅ–็ƒญ้—จ็›ดๆ’ญไฟกๆฏ + (void)executeGetHotLiveTaskWithSuccess:(SuccessBlock)success failed:(FailedBlock)failed; // ่Žทๅ–้™„่ฟ‘็›ดๆ’ญไฟกๆฏ + (void)ex...
// // TangramSingleColumnLayout.h // TmallClient4iOS-Tangram // // Created by xiaoxia on 15/11/25. // Copyright ยฉ 2015ๅนด tmall.com. All rights reserved. // #import "TangramFlowLayout.h" @interface TangramSingleColumnLayout : TangramFlowLayout @end
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isprint.c :+: :+: :+: ...
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-โ”‚ โ”‚vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :viโ”‚ โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก โ”‚ Copyright 2020 Justine Alexandra Roberts Tunney ...
/** @file * * A brief file description * * @section license License * * 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...
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Product and Trade Secret source code contains trade secrets ...
/* * Copyright (C) 2016 NAVER Corp. 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 conditions ...
/***************************************************************************//** * \file cy8c4025azq_s403.h * * \brief * CY8C4025AZQ-S403 device header * ******************************************************************************** * \copyright * (c) (2016-2021), Cypress Semiconductor Corporation (an Infineon compan...
#ifndef __gl31_h_ #define __gl31_h_ 1 #ifdef __cplusplus extern "C" { #endif /* ** Copyright (c) 2013-2014 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the ** "Materials"), to deal in th...
// // AppDelegate.h // testMyPod // // Created by zhaoxu on 2017/9/25. // Copyright ยฉ 2017ๅนด zhaoxu. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strncmp.c :+: :+: :+: ...
/* * Copyright (c) 2018, Christian Taedcke * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief Common SoC initialization for the EXX32 */ #include <kernel.h> #include <init.h> #include <soc.h> #include <em_cmu.h> #include <em_chip.h> #include <arch/cpu.h> #include <cortex_m/exc.h> #ifdef CONFIG_CM...