text stringlengths 9 948k |
|---|
// Copyright 2021 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 CONTENT_TEST_RENDER_WIDGET_HOST_VISIBILITY_OBSERVER_H_
#define CONTENT_TEST_RENDER_WIDGET_HOST_VISIBILITY_OBSERVER_H_
#include "content/public/br... |
/*
* File: yaapt_emxAPI.c
*
* MATLAB Coder version : 3.1
* C/C++ source code generated on : 23-Sep-2016 04:55:32
*/
/* Include Files */
#include "rt_nonfinite.h"
#include "yaapt.h"
#include "yaapt_emxAPI.h"
#include "yaapt_emxutil.h"
/* Function Definitions */
/*
* Arguments : int numDimensions
... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
#if !defined(lint) && !defined(DOS)
static char rcsid[] = "$Id: altedit.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $";
#endif
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
* Copyright 2013-2017 Eduardo Chappa
*
* Licensed under... |
/*
* Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __PLATFORM_H__
#define __PLATFORM_H__
#include <psci.h>
#include <stdint.h>
#include <types.h>
/*******************************************************************************
*... |
#ifndef STACK_H_INCLUDED
#define STACK_H_INCLUDED
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <locale.h>
#include <math.h>
#include <assert.h>
#include <string.h>
#include <limits.h>
#include <typeinfo>
#include <ctype.h>
#include <conio.h>
//#include <except.h>
#include "stack_config.h"
#defi... |
//===- ExecutionQueue.h -----------------------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... |
/* Copyright (C) 2001-2017 Free Software Foundation, Inc.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
This file is part of the GNU C Library.
The GNU C 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... |
/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Although we're manipulating I2S peripheral (on esp32/s2 target), it has nothing to d... |
#ifndef __WIMPACKET_H_
#define __WIMPACKET_H_
#pragma once
#include "../../async_task.h"
#include "../../../common.shared/common.h"
#include "../../proxy_settings.h"
#include "../../configuration/hosts_config.h"
namespace core
{
class http_request_simple;
namespace tools
{
class binary_stream;
... |
#pragma once
#include <bond/core/bond_version.h>
#if BOND_VERSION < 0x0800
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
#endif
#if BOND_MIN_CODEGEN_VERSION > 0x0c01
#error This file was generated by an older version of the Bond comp... |
/*
Copyright (c) 2019 Trashbots, Inc. - SDG
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, merge, publish, distr... |
// This is copyrighted software. More information is at the end of this file.
#pragma once
#include <Aulib/Decoder.h>
namespace Aulib {
/*!
* \brief FluidSynth decoder.
*/
class AULIB_EXPORT DecoderFluidsynth: public Decoder
{
public:
DecoderFluidsynth();
~DecoderFluidsynth() override;
/*!
* \bri... |
#ifndef LiquidCrystalFast_h
#define LiquidCrystalFast_h
#include <inttypes.h>
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h" // for digitalRead, digitalWrite, pinMode, delayMicroseconds
#else
#include "WProgram.h"
#endif
// commands
#define LCD_CLEARDISPLAY 0x01
#define LCD_RETURNHOME 0x02
#define LCD... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2020 The VIDA developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... |
# include <stdio.h>
void main()
{
int i, j, k;
/* 变量i从0到4,表示所画菱形图的第一至第五行 */
for(i = 0; i <= 4; i++)
{
/* 当行数为i时,空格数是i的函数,为4-i个 */
for(j = 0; j <= 3-i; j++)
printf(" ");
/* 星号数也是i的函数,为2i+1个 */
for(k = 0; k <= 2*i; k++)
printf("*");
printf("\n");
}
/* 变量i从0到3,表示所画菱形图的第六至第九行 */
for(i = 0; i <= 3; i... |
/*
* 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) 2007-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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
... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:40 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/ChatKit.fra... |
/////////////////////////////////////////////////////////////////////////////
// Name: fs_mem.h
// Purpose: in-memory file system
// Author: Vaclav Slavik
// Copyright: (c) 2000 Vaclav Slavik
// Licence: wxWindows licence
////////////////////////////////////////////////////////////////////////////... |
#ifndef __GENHASH_H__
#define __GENHASH_H__
#include "genlist.h"
#include "dynarray.h"
#include "linklist.h"
#include "goodlinklist.h"
// When using a GenHash, you must provide one of these.
template<class T>
class GenHashHelper
{
public:
// This is called to generate a hash code for your data.
// Don... |
/*
* Copyright (c) 2014-2019, Texas Instruments Incorporated
* 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
* n... |
// Copyright 2020 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_ASH_PLUGIN_VM_PLUGIN_VM_LICENSE_CHECKER_H_
#define CHROME_BROWSER_ASH_PLUGIN_VM_PLUGIN_VM_LICENSE_CHECKER_H_
#include <memory>
#in... |
/**
* Copyright (C) 2015 MongoDB 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 usef... |
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CPhysicalMotionRoutedDistribute.h
//
// @doc:
// Physical routed distribute motion operator
//
// @owner:
//
//
// @test:
//
//
//---------------------------------... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* GRU KERNEL MCS INSTRUCTIONS
*
* Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved.
*/
#include <linux/kernel.h>
#include "gru.h"
#include "grulib.h"
#include "grutables.h"
/* 10 sec */
#ifdef CONFIG_IA64
#include <asm/processor.h>
#defin... |
/*
* 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... |
//
// DBUserProfileDetailView.h
// DBProfileViewController
//
// Created by Devon Boyer on 2016-03-21.
// Copyright © 2016 Devon Boyer. All rights reserved.
//
#import <DBProfileViewController/DBProfileViewController.h>
@class DBUserProfileDetailView;
@protocol DBUserProfileDetailViewDelegate <NSObject>
- (void... |
#include "cpu.h"
#if !defined(SIMPLE_CPU)
void cpu_run(struct cpu *cpu) {
print_registers(cpu);
printf("\n");
while (1) {
u8 buffer[16];
memset(buffer, 0, sizeof(buffer));
unsigned buffer_size = cpu_prefetch(cpu, buffer, sizeof(buffer));
// hex_dump(buffer, 16);
struct instruction instruct... |
/* The MIT License
Copyright (c) 2010 Broad Institute
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, mod... |
#include "string_buffer.h"
#include "test.h"
#include <stdlib.h>
void test_impl()
{
struct StringBuffer *buffer = string_buffer_new_with_options(5, false);
assert_true(string_buffer_append_string(buffer, "12345"));
assert_num_equal(string_buffer_get_initial_size(buffer), 5);
assert_num_equal(string_buffer_g... |
/*
win32/nt.h - Zip 3
Copyright (c) 1990-2003 Info-ZIP. All rights reserved.
See the accompanying file LICENSE, version 2003-May-08 or later
(the contents of which are also included in zip.h) for terms of use.
If, for some reason, both of these files are missing, the Info-ZIP license
also may be found at... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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_NET_H
#define BITCOIN_NET_H
#include "amount.h"
#include "bloom.... |
/* ../netlib/dla_gbrcond.f -- translated by f2c (version 20100827). 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 t... |
// Copyright 2019 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_DEVICES_SYSMEM_DRIVERS_SYSMEM_BUFFER_COLLECTION_H_
#define SRC_DEVICES_SYSMEM_DRIVERS_SYSMEM_BUFFER_COLLECTION_H_
#include <fuchsia/sysmem/c/f... |
// Copyright 2017-present 650 Industries. All rights reserved.
#import <UMPermissionsInterface/UMPermissionsInterface.h>
@interface EXImagePickerCameraRollPermissionRequester : NSObject<UMPermissionsRequester>
@end |
#ifndef _MIPS_SYSCALL_H_
#define _MIPS_SYSCALL_H_
#ifdef __ASSEMBLER__
#include <mips/asm.h>
#include <mips/regdef.h>
#include <sys/errno.h>
#include <sys/syscall.h>
/* Do a syscall that is missing an implementation. */
#define SYSCALL_MISSING(name) \
LEAF(name); ... |
/* SPDX-License-Identifier: Apache-2.0 */
/**
* NNStreamer Android API
* Copyright (C) 2019 Samsung Electronics Co., Ltd.
*
* @file nnstreamer-native-pipeline.c
* @date 10 July 2019
* @brief Native code for NNStreamer API
* @author Jaeyun Jung <jy1210.jung@samsung.com>
* @bug No known bugs except for NYI items... |
//
// ViewController.h
// HMNumberStringConvert
//
// Created by 刘凡 on 2016/10/8.
// Copyright © 2016年 itcast. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
#ifndef _NODE_USER_H
#define _NODE_USER_H
#include "NodeWrapped.h"
#include "../spotify/User.h"
#include <v8.h>
#include <memory>
using namespace v8;
class NodeUser : public NodeWrapped<NodeUser> {
private:
std::shared_ptr<User> user;
public:
NodeUser(std::shared_ptr<User> user);
~NodeUser();
static Handle<... |
#pragma once
#include "envoy/network/address.h"
#include "source/common/common/assert.h"
namespace Envoy {
namespace Extensions {
namespace ListenerFilters {
namespace ProxyProtocol {
struct WireHeader {
WireHeader(size_t extensions_length)
: extensions_length_(extensions_length), protocol_version_(Network:... |
/*
* Copyright (c) 2016 Cisco and/or its affiliates.
* 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 applicabl... |
/* See LICENSE file for copyright and license details. */
/* appearance */
static const char font[] = "Monospace:size=9";
static const char* normbgcolor = "#222222";
static const char* normfgcolor = "#cccccc";
static const char* selbgcolor = "#555555";
static const char* selfgcolor = "#ffffff";
static con... |
//
// 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>
@class GKDatabaseConnection;
@interface GKSQLRunner : NSObject
{
GKDatabaseConnection *_connection; // 8 = 0x8
}
+... |
#ifndef MINDUSTRY_H
#define MINDUSTRY_H
struct MindustryObject {};
// builtin instructions
void print(char* s);
void printd(double s);
void printflush(struct MindustryObject message);
struct MindustryObject radar(struct MindustryObject obj, char* target1, char* target2,
char* target3, char* sort, double order... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:42:50 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/Navigation.framework/Navigation
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
#import "PBOSSoftwareUpdateProcessDelegate-Protocol.h"
#import "PBSystemOverlayControllerDelegate-Protocol.h"
#import "P... |
/*
Copyright (C) 2014, The University of Texas at Austin
This file is part of libflame and is available under the 3-Clause
BSD license, which can be found in the LICENSE file at the top-level
directory, or at http://opensource.org/licenses/BSD-3-Clause
*/
#include "FLAME.h"
#define N_PARAM_COMBOS ... |
/*
* 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... |
/**
* @file nts-1.h
* @brief NTS1 Class definition.
*
* Provides an object oriented interface for the C API
*
* BSD 3-Clause License
* Copyright (c) 2020, KORG INC.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... |
// Copyright (c) 2017-2019 The Energi Core developers
// Distributed under the MIT software license, see the accompanying
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#i... |
/*
* 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 not u... |
//
// 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 "CLLocationManagerDelegate-Protocol.h"
@class CLLocationManager, NSString;
@interface AWDLocationManager : NSO... |
/* Copyright libuv contributors. 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 restriction, including without limitation the
* rights to use, copy, modif... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
//
// MyFileManager.h
// iosdemo
//
// Created by wangmo on 12/9/15.
// Copyright © 2015 wmios. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MyFileManagerXIB : UIViewController
@end |
#include<GL/glut.h>
#include<stdio.h>
#include<math.h>
#include <stdlib.h>
#include<time.h>
//#define wsx 1280 //Windows Size x-Axis
//#define wsy 720 //Window Size y-Axis
#define PI 3.14
#define mar 3389// radius of the planets
#define er 6378
#define mor 1737
#define ery 12100 // Earth Ground Raiser y- Axis .no ... |
// dear imgui, v1.81 WIP
// (internal structures/api)
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!
// Set:
// #define IMGUI_DEFINE_MATH_OPERATORS
// To implement maths operators for ImVec2 (disabled by default to not collide with ... |
#ifndef ENGINE_OPENGLRHI_DESKTOP_OPENGLDESKTOP
#define ENGINE_OPENGLRHI_DESKTOP_OPENGLDESKTOP
// to be added
#endif // ENGINE_OPENGLRHI_DESKTOP_OPENGLDESKTOP |
/////////////////////////////////////////////////////////////////
// SparseMatrix.h
//
// Sparse matrix computations
/////////////////////////////////////////////////////////////////
#ifndef SPARSEMATRIX_H
#define SPARSEMATRIX_H
#include <iostream>
#include "SafeVector.h"
#include "nrutil.h"
using namespace std;
co... |
/*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... |
/* Created RJudd January 4, 1998 */
/* SPAWARSYSCEN D881 */
/**********************************************************************
// For TASP VSIPL Documentation and Code neither the United States /
// Government, the United States Navy, nor any of their employees, /
// makes any warranty, express or implied, i... |
/*
* Copyright (c) 2014-2016 Alibaba Group. All rights reserved.
* License-Identifier: Apache-2.0
*
* 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... |
/*
Copyright (C) 2016 Migeran
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 writing, software
... |
#ifndef _VVC_MAIN_H
#define _VVC_MAIN_H
#include <cstdint>
#include <stm32f031x6.h>
#endif |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
+---------... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:44:52 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/SiriActivation.framework/SiriActivation
* classdump-dyld is licensed under GPLv3, Copyright © 2013-201... |
#include<stdio.h>
#include<stdlib.h>
typedef struct Node
{
int data;
struct Node *next;
}node;
node *top = NULL;
node *end = NULL;
node *create(int d)
{
node *temp = (node*)malloc(sizeof(node));
temp -> data = d;
temp -> next = NULL;
return temp;
}
void insert_atend(node *temp)
{
if(top ... |
#include <msp430.h>
// configure leds
int a = 0xFF; //
int b = BIT7; //
int c = BIT6; //
int d = BIT5; //
int e = BIT4; //
int f = BIT3; //
int g = BIT2; //
void yak(int led);
void sondur(int led);
void tumLedleriSondur();
int main(void)
{
WDTCTL = WDTPW | WDTHOLD; //... |
#include <stdio.h>
void findMinMax(long int *nums, long int *min, long int *max) {
for (int i = 1; i < 5; i++) {
if (nums[i] < *min) {
*min = nums[i];
}
if (nums[i] > *max) {
*max = nums[i];
}
}
return;
}
int main() {
long int nums[5], min, max, ... |
void swap(int *x, int *y){
int tmp = *x;
*x = *y;
*y = tmp;
}
void main() {
int a = 3;
int *b = calloc(sizeof(int));
*b = 42;
swap(&a, b);
assert(a == 42);
} |
#ifndef ROSE_DispatcherX86_H
#define ROSE_DispatcherX86_H
#include "BaseSemantics2.h"
#include <boost/serialization/access.hpp>
#include <boost/serialization/base_object.hpp>
#include <boost/serialization/export.hpp>
#include <boost/serialization/split_member.hpp>
namespace Rose {
namespace BinaryAnalysis {
namespac... |
//
// AppDelegate.h
// IPDemo
//
// Created by dev on 2017/10/16.
// Copyright © 2017年 dev. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
// Copyright (c) 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.
#ifndef CHROME_BROWSER_PROFILE_RESETTER_PROFILE_RESETTER_H_
#define CHROME_BROWSER_PROFILE_RESETTER_PROFILE_RESETTER_H_
#include <stdint.h>
#include... |
/*
* aconf.h
*
* Copyright 2002-2003 Glyph & Cog, LLC
*/
#ifndef ACONF_H
#define ACONF_H
#include <aconf2.h>
/*
* Use A4 paper size instead of Letter for PostScript output.
*/
#undef A4_PAPER
/*
* Do not allow text selection.
*/
#undef NO_TEXT_SELECT
/*
* Include support for OPI comments.
*/
#undef OPI_S... |
/****************************************************************************
* drivers/mmcsd/mmcsd_csd.h
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitte... |
// Magic Software, Inc.
// http://www.magic-software.com
// Copyright (c) 2000-2002. All Rights Reserved
//
// Source code from Magic Software is supplied under the terms of a license
// agreement and may not be copied or disclosed except in accordance with the
// terms of that agreement. The various license agreemen... |
/*
* cominterop.c: COM Interop Support
*
*
* (C) 2002 Ximian, Inc. http://www.ximian.com
*
*/
#include "config.h"
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
#include "object.h"
#include "loader.h"
#include "cil-coff.h"
#include "metadata/abi-details.h"
#include "metadata/cominterop.h"
#include "metadata/... |
//
// OptionsListView.h
//
// 带标题的下拉框
// Created by 秦忠增 on 2018/4/19.
// Copyright © 2018年 tiankairuixiang. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "OptionsListTableViewCell.h"
#import "QZZMainViewKit.h"
///选项选中后执行的block
typedef void (^OptionSelectedBlock)(OptionButtonModel *model,NSIndexPath *k... |
/****************************************************************************
* @file graphs.h
* @author Riccardo Battistini <riccardo.battistini2(at)studio.unibo.it>
*
* @brief Algorithms for undirected unweighted graphs manipulation.
*
* Copyright 2021 (c) 2021 by Riccardo Battistini
*
* Redistribution and us... |
#include <stdio.h>
#include <stdlib.h>
void pausar() {
printf("\n Pressione alguma tecla para continuar...");
getch();
}
void numUpdateFreq(int *pAbs, float *pRel, int *vet, int *tam) {
int cont1, cont2, cont3, contM;
for(cont1 = 0; cont1 < *tam; cont1++) {
for(cont2 = cont1 + 1; cont2 < *tam; cont2++) {
... |
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... |
/* Copyright 2016, Eric Pernia.
* All rights reserved.
*
* This file is part sAPI library for microcontrollers.
*
* 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 t... |
// 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_FILTERS_FE_BOX_REFLECT_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_FILTERS_FE_BOX_REFLECT... |
/** <!--
*
* Copyright (C) 2014 OpenVCX openvcx@gmail.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later ve... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
/*
* Copyright (c) 2017 Jan Van Winkel <jan.van_winkel@dxplore.eu>
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9340_H_
#define ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9340_H_
#include "board_config.h"
#include <autoconf.h>
#include <zephyr.h>
#define ILI9340_CMD_ENTER_SLEEP 0x10
... |
/*
* 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... |
#ifndef OPCODES_H
#define OPCODES_H
//flow control
#define OP_UNREACHABLE 0x00
#define OP_NOP 0x01
#define OP_BLOCK 0x02
#define OP_LOOP 0x03
#define OP_IF 0x04
#define OP_ELSE 0x05
#define OP_END 0x0b
#define OP_BR 0x0c
#define OP_BR_IF 0x0d
#define OP_BR_TABLE 0x0e
#define OP_RETURN 0x0f
//call operators
#define OP... |
/*
* mehstation - A simple popup.
*
* Copyright © 2015 Rémy Mathieu
*/
#pragma once
#include "view/screen.h"
#include "view/widget_rect.h"
struct App;
struct Executable;
struct Platform;
typedef struct {
/* upon which screen the popup is appearing. */
Screen* src_screen;
/* these objects can be either null ... |
//---------------------------------------------------------- -*- Mode: C++ -*-
// $Id$
//
// Created 2008/05/13
//
// Author: Sriram Rao
//
// Copyright 2008,2016 Quantcast Corporation. All rights reserved.
//
// This file is part of Kosmos File System (KFS).
//
// Licensed under the Apache License, Version 2.0
// (the... |
/*===============================================================================
Copyright (c) 2015-2016 PTC Inc. All Rights Reserved.
Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved.
Vuforia is a trademark of PTC Inc., registered in the United States and other
countries.
@file
... |
/**************************************************************************
* This file is part of the TAL project (Tiny Abstraction Layer)
*
* Copyright (c) 2015 by Michael Fischer (www.emb4fun.de).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are ... |
#pragma once
#include <memory>
#include <cstdio>
#include <iostream>
#include <QtCore/QTextStream>
#include "EbsdLib/Core/EbsdDataArray.hpp"
static const QString DCName("Orientation Transforms Test");
static const QString AMName("Angles");
QString k_InputNames[7] = {"eu", "om", "qu", "ax", "ro", "ho", "cu"};
int... |
/*
Copyright (c) 2008-2009 NetAllied Systems GmbH
This file is part of COLLADAFramework.
Licensed under the MIT Open Source License,
for details please see LICENSE file or the website
http://www.opensource.org/licenses/mit-license.php
*/
#ifndef __COLLADAFW_ANIMATION_H__
#define __COLLADAFW_ANIMATION_H__
#include ... |
/*
* Copyright (c) 2019 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @addtogroup t_driver_uart
* @{
* @defgroup t_uart_async test_uart_async
* @}
*/
#include "test_uart.h"
void test_main(void)
{
ztest_test_suite(uart_async_test,
ztest_unit_test(test_single_read),
ztest_... |
/*-
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul@ee.columbia.edu>. 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 co... |
/*
* Pulseaudio input
* Copyright (c) 2011 Luca Barbato <lu_zero@gentoo.org>
*
* 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 ... |
//////////////////////////////////////////////////////////////////////////
// This file is used to detect memory leaks using Visual Studio 6.0
// The idea comes from this page: http://www.michaelmoser.org/memory.htm
// In addition to this file, it required the presence of "stdlib_hack.h"
///////////////////////////////... |
#include "autopy-screen-module.h"
#include "screen.h"
#include "screengrab.h"
/* Syntax: get_size() => tuple (width, height) */
/* Description: Returns a tuple `(width, height)` of the size of the
main screen. */
static PyObject *screen_get_size(PyObject *self, PyObject *args);
/* Syntax: point_visibl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.