text stringlengths 9 948k |
|---|
//Copyright (c) 2018 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#ifndef LOGOUTPUT_H
#define LOGOUTPUT_H
#include "android/log.h"
//#define LOG_TAG "log_debug"
#define LOG_TAG "魏"
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)
//#define LOGI(...) __a... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:18:16 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Workflo... |
/*
* Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
/*******************************************************************************
*
* Copyright (C) 2015 - 2019 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 th... |
/*******************************************************************************
* File Name: cycfg_clocks.c
*
* Description:
* Clock configuration
* This file was automatically generated and should not be modified.
* Device Configurator: 2.0.0.1483
* Device Support Library (../../../../../../output/libs/COMPONENT_PSOC... |
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "AWSRequest.h"
@class AWSEC2AttributeBooleanValue, AWSEC2AttributeValue, NSString, NSArray, NSNumber, AWSEC2BlobAttributeValue;
@interface AWSEC2ModifyInstan... |
/*
* Copyright © 2013 Mozilla Foundation
*
* This program is made available under an ISC-style license. See the
* accompanying file LICENSE for details.
*/
#undef NDEBUG
#include <assert.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "cubeb/cubeb.h"
#include "cubeb-internal.h"
#define NE... |
/*
american fuzzy lop - debug / error handling macros
--------------------------------------------------
Original AFL code written by Michal Zalewski <lcamtuf@google.com>
Windows fork written and maintained by Ivan Fratric <ifratric@google.com>
Copyright 2016 Google Inc. All Rights Reserved.
Licen... |
/**
* @file RsaPssPadding.h
* @brief Declaration of tc::crypto::detail::RsaPssPadding
* @author Jack (jakcron)
* @version 0.2
* @date 2020/09/12
**/
#pragma once
#include <tc/types.h>
#include <tc/ByteData.h>
namespace tc { namespace crypto { namespace detail {
/**
* @class RsaPssPadding
* @brief Thi... |
/*-
* Copyright (c) 2008 Doug Rabson
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "MMUIViewController.h"
#import "contactVerifyLogicDelegate.h"
@class CContact, CContactVerifyLogic, MMHeadImageView, MMUILabel, NSString, UIButton, UIImageView, UIScrollVi... |
// Copyright (c) 2016 The Limracoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef LIMRACOIN_INDIRECTMAP_H
#define LIMRACOIN_INDIRECTMAP_H
template <class T>
struct DereferencingComparator { bool operat... |
inherit "room/room";
object monster;
reset(arg) {
if(!monster) {
monster = clone_object("/wizards/nalle/jerusalem/monsters/beggar");
move_object(monster, this_object());
}
if(arg) return;
add_exit("north","wizards/nalle/jerusalem/cs");
add_exit("south","wizards/nalle/jerusalem/elattar4");
short_de... |
/*
BASS multiple output example
Copyright (c) 2001-2021 Un4seen Developments Ltd.
*/
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <regex.h>
#include <math.h>
#include "bass.h"
#define UIFILE "multi.ui"
GtkBuilder *builder;
GtkWidget *win;
GtkWidget *filesel;
DWORD outdev[2] = { 1, 0 }; //... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* k8temp.c - Linux kernel module for hardware monitoring
*
* Copyright (C) 2006 Rudolf Marek <r.marek@assembler.cz>
*
* Inspired from the w83785 and amd756 drivers.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/pci.h>
... |
#pragma once
namespace fast_io::crypto
{
template<typename mcph, typename padding_method = pkcs7_padding<mcph::block_size>>
class block_cipher
{
public:
using mode_cipher_type = mcph;
inline static constexpr std::size_t block_size = mode_cipher_type::block_size;
mode_cipher_type cipher;
padding_method padding;
t... |
/* --------------------------------------------------------------------------
* File: cplexremoteworkers.h
* Version 12.6
* --------------------------------------------------------------------------
* Licensed Materials - Property of IBM
* 5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5655-Y21
* Copyright... |
//
// introTableViewCell.h
// YJOTC
//
// Created by l on 2018/9/13.
// Copyright © 2018年 前海数交平台运营. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface introTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *uiimg;
@end |
#define CS_LONG
#include <../Source/cs_compress.c> |
/*
* Copyright 2005-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
#pragma once
#include "stdafx.h"
#include <cor.h>
#include <corprof.h>
#include <string>
#include <map>
#include "MetadataBase.h"
#include "AssemblyMetadata.h"
using namespace std;
class ModuleMetadata : public MetadataBase<ModuleID, ModuleMetadata>
{
public:
ModuleID ModuleId;
mdToken ModuleMdToken;
wstring FileN... |
/* loapic.h - public LOAPIC APIs */
/*
* Copyright (c) 2015 Wind River Systems, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __INCloapich
#define __INCloapich
#ifdef __cplusplus
extern "C" {
#endif
/* Local APIC Register Offset */
#define LOAPIC_ID 0x020 /* Local APIC ID Reg */
#define LOAPIC_VER... |
#include <stdio.h>
#define MAXN 10
int ArrayShift( int a[], int n, int m );
int main()
{
int a[MAXN], n, m;
int i;
scanf("%d %d", &n, &m);
for ( i = 0; i < n; i++ ) scanf("%d", &a[i]);
ArrayShift(a, n, m);
for ( i = 0; i < n; i++ ) {
if (i != 0) printf(" ");
printf("%d", a[i... |
/*-------------------------------------------------------------------------
* worker.c
* PostgreSQL logical replication worker (apply)
*
* Copyright (c) 2016-2017, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/backend/replication/logical/worker.c
*
* NOTES
* This file contains the worker... |
#include "add.h"
#include "backtrack.h"
#include "import.h"
#include "inline.h"
#include "internal.h"
#include "logging.h"
#include "protect.h"
#include "propsearch.h"
bool kissat_add_external_literal(kissat *solver, int elit) {
#if !defined(NDEBUG) || !defined(NPROOFS) || defined(LOGGING)
const int checking = kissa... |
//
// MessageRightViewController.h
// WeiPulse
//
// Created by so898 on 12-8-1.
// Copyright (c) 2012年 R3 Studio. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "ECSlidingViewController.h"
typedef enum {
AtMessage, //@微博
CommentMessage, //评论
Mai... |
//
// Created by inosphe on 2016. 4. 5..
//
#ifndef PROJECT_KEYMAP_H
#define PROJECT_KEYMAP_H
#include <tuple>
#include <functional>
#include <utility>
typedef std::tuple<int, int> ACTION_MAP_KEY;
typedef std::function<void()> ACTION_MAP_FUNC;
typedef std::pair<ACTION_MAP_KEY, ACTION_MAP_FUNC> ACTION_MAP_TYPE;
#end... |
// Copyright 2019 Google
//
// 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 writ... |
/****************************************************************************
* bsp/board/corvo/include/board.h
*
* Copyright 2018 Sony Semiconductor Solutions Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
... |
//
// 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... |
/* Generated on 2016-07-26
===============================================================================
P I C T D D R E A D Y R E G I S T E R D E F I N I T I O N
===============================================================================
Created by Tibor Simon - tiborsimon.io
Generator script: ht... |
// Copyright John McFarlane 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file ../LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#if !defined(CNL_IMPL_OVERFLOW_THROWING_H)
#define CNL_IMPL_OVERFLOW_THROWING_H
#include "common.h"
#inc... |
#pragma once
#include "source/common/config/well_known_names.h"
namespace Envoy {
namespace Extensions {
namespace NetworkFilters {
/**
* Well-known network filter names.
* NOTE: New filters should use the well known name: envoy.filters.network.name.
*/
class NetworkFilterNameValues {
public:
// Client ssl auth... |
#include <stdio.h>
#include <stdlib.h>
struct list
{
int val;
struct list *next;
};
void print_list(struct list *head)
{
while (head != NULL)
{
printf("%d ", head->val);
head = head->next;
}
printf("\n");
}
void deleteAll(struct list *head)
{
struct list *curr = head;
... |
// Copyright 2010 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 CC_LAYERS_LAYER_H_
#define CC_LAYERS_LAYER_H_
#include <stddef.h>
#include <stdint.h>
#include <array>
#include <memory>
#include <set>
#include ... |
// Room: /d/shaolin/shijie5.c
// Date: YZC 96/01/19
inherit ROOM;
void create()
{
set("short", "石階");
set("long", @LONG
一掛巨大的瀑布白龍出霄般橫越山間,水氣已濃得彷彿可以滴下
水珠兒來。山巒間升起薄弧的青霧,凝聚不散。嘩嘩的水聲震耳欲聾。
石階上滿是水漬,走上去滑得可以讓人打跌。。
LONG );
set("exits", ([
"southdown" : __DIR__"shijie4",
"no... |
// Copyright 2005, 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 conditions ... |
/*
* Copyright 2018, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details... |
/******************************************************************************
*
* Module Name: exmutex - ASL Mutex Acquire/Release functions
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2010, Intel Corp.
* All rights reserved.
*
* Redistribution a... |
//
// TheCompanyJobModel.h
// cepin
//
// Created by zhu on 14/12/21.
// Copyright (c) 2014年 talebase. All rights reserved.
//
#import "BaseBeanModel.h"
@interface TheCompanyJobModel : BaseBeanModel
@property(nonatomic,strong)NSString<Optional> *PositionName;// String 职位名称
@property(nonatomic,strong)NSString<Opt... |
/* ====================================================================
* 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 t... |
/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:44:28 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/SAObjects.framework/SAObjects
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia... |
/*
* Elliptic curves over GF(p): CRYPTO hw acceleration functions
*
* Copyright (C) 2016, Silicon Labs, http://www.silabs.com
* SPDX-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 m... |
/*
* Copyright (C) by Argonne National Laboratory
* See COPYRIGHT in top-level directory
*/
#include "mpiimpl.h"
/* -- Begin Profiling Symbol Block for routine MPI_Win_fence */
#if defined(HAVE_PRAGMA_WEAK)
#pragma weak MPI_Win_fence = PMPI_Win_fence
#elif defined(HAVE_PRAGMA_HP_SEC_DEF)
#pragma _HP_SECONDARY_... |
// Records.h
// Defines the types Record_t, IndexEntry_t:
typedef struct { long key;
char name[32];
/* ... other fields in the record ... */ } Record_t;
typedef struct { long key, pos; } IndexEntry_t;
Record_t *setNewName( FILE *fp, long key, const char *newname); |
/*
ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
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 ap... |
//=========================================================================
// Copyright (C) 2018 The C++ Component Model(CCM) 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 Lic... |
/***
* This code is a part of EvoApproxLib library (ehw.fit.vutbr.cz/approxlib) distributed under The MIT License.
* When used, please cite the following article(s): V. Mrazek, L. Sekanina, Z. Vasicek "Libraries of Approximate Circuits: Automated Design and Application in CNN Accelerators" IEEE Journal on Emerging and ... |
/**
* (C) Copyright 2016 Intel Corporation.
*
* 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... |
/* See LICENSE file for copyright and license details. */
/* Constants */
#define TERMINAL "st"
#define TERMCLASS "St"
/* appearance */
static unsigned int borderpx = 3; /* border pixel of windows */
static unsigned int snap = 32; /* snap pixel */
static unsigned int gappih = 20; /* horiz ... |
#pragma once
#include <filters/filterbase.h>
#include "ui_colorizer_regex.h"
#include <boost/serialization/nvp.hpp>
#include "config.h"
#include <vector>
#include <QStandardItemModel>
#include <QStyledItemDelegate>
#include <regex>
#include <widgets/logs/logtablemodel.h>
struct ColorizedText {
bool m_is_enabled;
QC... |
/*************************************************************************/
/* path.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 EMC Corp.
//
// @filename:
// CScalarOp.h
//
// @doc:
// Base class for all scalar operations such as arithmetic and string
// evaluations
//------------------------------------------------------... |
#include "types.h"
// === [ Overlay ID 3 ] ===
// address: 0x8009FCB4
// size: 0xC
extern char StrDate[12];
// address: 0x8009FCC0
// size: 0x9
extern char StrTime[9];
// address: 0x8009FCCC
// size: 0x1D8
extern char *Words[118];
// address: 0x8009FEA4
// size: 0x60
extern struct MONTH_DAYS MonDays[12];
// addre... |
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
struct expanded_key {
uint32_t l[16], r[16];
};
void __des_setkey(const unsigned char* key, struct expanded_key* ekey);
void __do_des(uint32_t l_in, uint32_t r_in, uint32_t* l_out, uint32_t* r_out, uint32_t count,
uint32_t saltbits, const s... |
#ifndef RecoMuon_MuonSeedValidator_H
#define RecoMuon_MuonSeedValidator_H
/** \class SeedValidator
*
* Author: S.C. Kao - UC Riverside
*/
//#include "RecoMuon/SeedGenerator/test/MuonSeedPTAnalysis/SegSelector.h"
#include "MuonSeedValidatorHisto.h"
#include "SegSelector.h"
#include "FWCore/Framework/interface/on... |
/*
* Copyright 2015 Naver Corp.
*
* 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 ... |
/**
******************************************************************************
* @file stm32l4xx_ll_usart.h
* @author MCD Application Team
* @version V1.1.0
* @date 16-September-2015
* @brief Header file of USART LL module.
*********************************************************************... |
//
// 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>
@class GHKChatFetcher, GHKChatSessionData, GHKConfig, GHKReceiverConfig, GHKSessionDataManager, NSString, NS... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <string>
#include "core/graph/basic_types.h"
#include "core/providers/nnapi/nnapi_builtin/nnapi_lib/NeuralNetworksTypes.h"
// This is the minimal Android API Level required by ORT NNAPI EP to run
// ... |
#include <stdio.h>
void scilab_rt_pie_i2i2s2_(int in00, int in01, int matrixin0[in00][in01],
int in10, int in11, int matrixin1[in10][in11],
int in20, int in21, char* matrixin2[in20][in21])
{
int i;
int j;
int val0 = 0;
int val1 = 0;
for (i = 0; i < in00; ++i) {
for (j = 0; j < in01; ++j) {
... |
/*
* Copyright (C) 2012 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... |
// Copyright (c) 2015 The Brick Authors.
#ifndef BRICK_WINDOW_UTIL_H_
#define BRICK_WINDOW_UTIL_H_
#pragma once
#include <string>
#if defined(__linux__)
#include <glib.h>
#else
#endif
#include "include/internal/cef_linux.h"
#include "window/browser_window.h"
namespace window_util {
CefWindowHandle GetParent(CefWi... |
#pragma once
// Copyright (c) 2001-2019 Aspose Pty Ltd. All Rights Reserved.
#include <system/string.h>
#include <system/object.h>
#include "aspose_pdf_api_defs.h"
namespace Aspose {
namespace Pdf {
namespace Annotations {
/// <summary>
/// Enumerates the line ending styles to be used in drawing the line.
/// </... |
/******************************************************************************
*
* Copyright(c) 2007 - 2017 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 Foundat... |
/*******************************************************************************
Copyright 2016 Microchip Technology Inc. (www.microchip.com)
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
htt... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:45:35 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/TextInputCore.framework/TextInputCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ... |
#include "item.h"
#include "util.h"
/**
The item array contains all the types of items the player can build with
*/
const int items[] = {
// items the user can build
GRASS,
SAND,
STONE,
BRICK,
WOOD,
CEMENT,
DIRT,
PLANK,
SNOW,
GLASS,
COBBLE,
LIGHT_STONE,
DARK_STONE... |
/**
* Copyright (c) 2012 - 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,... |
/* ----------------------------------------------------------------------- *
*
* Copyright 2004-2008 H. Peter Anvin - 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 th... |
/***********************************************************
* File: simple_flash_app.h
* Author: nzy
* Date: 20160817
***********************************************************/
#ifndef _SIMPLE_FLASH_APP_H
#define _SIMPLE_FLASH_APP_H
#include "tuya_cloud_types.h"
#ifdef __cplusplus
extern "C" {
#endif
... |
#include <linux/libfdt_env.h>
#include "../scripts/dtc/libfdt/fdt_ro.c" |
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: WhisperTextProtocol.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "WhisperTextProtocol.pb-c.h"
void textsecure__signal_message__init
... |
/*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* sprdmpF3_terminate.h
*
* Code generation for function 'sprdmpF3_terminate'
*
*/
#ifndef SPRDMPF3_TERMINATE... |
/***************************************************************************/
/* */
/* otvgpos.h */
/* */
/* Op... |
// SPDX-License-Identifier: GPL-2.0-or-later
/* NFS filesystem cache interface
*
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/nfs_fs.h>
#in... |
#include <stdio.h>
typedef struct { //initialize structure
float altitude;
float velocity;
} state;
float time = 2;
float prev_altitude;
// function prototypes
void update_state(state *,float *); // pointer to struct
void compute_velocity(state *,float, float);
void main(){
state init_state = {15.0, 20.0};... |
#pragma once
#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <arpa/inet.h>
#include <sys/socket.h>
#include <unistd.h>
#endif
#include <stdlib.h>
#include <string.h>
enum class MultiCastReturnCodes
{
STATUS_OK = 0,
WSA_STARTUP_ERROR = 1,
CREATE_SOCKET_ERROR = 2,
BIND_ERROR = 3,
PTON_ERROR = 4... |
#include <fx2regs.h>
#include <fx2i2c.h>
#include "glasgow.h"
struct buffer_desc {
uint8_t selector;
uint8_t index;
};
static const struct buffer_desc buffers[] = {
{ IO_BUF_A, 0 },
{ IO_BUF_B, 1 },
{ 0, 0 }
};
void iobuf_init_dac_ldo() {
// Configure I/O buffer pins as open-source/open-drain; they have ... |
//
// LoggingMode.h
// CouchbaseLite
//
// Created by Jens Alfke on 9/24/13.
//
//
typedef enum {
kLoggingToNowhere,
kLoggingToTTY,
kLoggingToColorTTY,
kLoggingToColorXcode,
kLoggingToFile,
kLoggingToOther
} LoggingTo;
LoggingTo GetLoggingMode(void); |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:22:03 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/ContactsFo... |
/***********************************************************************
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... |
/*
* The copyright in this software is being made available under the 2-clauses
* BSD License, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such rights
* are granted under this license.
*
* Copyright (c) 2001-2003, David Janssens
* ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:52:39 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CalendarNotification.framework/CalendarNotification
* classdump-dyld is licensed under GPLv3, Copyri... |
/**
* @file
* Debug messages infrastructure
*/
/*
* 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 provided that the following conditions are met:
*
* 1. Redistributions... |
/*
STB6100 Silicon Tuner
Copyright (C) Manu Abraham (abraham.manu@gmail.com)
Copyright (C) ST Microelectronics
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 License, ... |
/**
* YATO library
*
* Apache License, Version 2.0
* Copyright (c) 2016-2020 Alexey Gruzdev
*/
#ifndef _YATO_ACTORS_LOGGER_H_
#define _YATO_ACTORS_LOGGER_H_
#include <cstdio>
#include <cassert>
#include <array>
#include <memory>
#include <yato/stl_utility.h>
namespace yato
{
namespace actors
{
enum class log_l... |
/*
* Copyright (c) 2011 by Hewlett-Packard Company. All rights reserved.
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
*
* Permission is hereby granted to use or copy this program
* for any purpose, provided the above notices are retained... |
// vim: noet ts=4 sw=4
#include "logging.h"
#include <sys/time.h>
#include <time.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
void m38_log_msg(log_level level, const char *fmsg, ...) {
char buffer[100];
char msg[800];
va_list ap;
FILE *fd;
const char inf[] = "[%c[%dm-%c[%dm]"; /* Blue [-] */
... |
// 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... |
#ifndef SiPixelPhase1Summary_SiPixelPhase1Summary_h
#define SiPixelPhase1Summary_SiPixelPhase1Summary_h
// -*- C++ -*-
//
// Package: SiPixelPhase1Summary
// Class : SiPixelPhase1Summary
//
/**
Description: Summary map generation for the Phase 1 pixel
Usage:
<usage>
*/
//
// Original Author: Duncan L... |
/*----------------------------------------------------------------------------
* Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved.
* Description: Targets Stm32f769 Eth HeadFile
* Author: Huawei LiteOS Team
* Create: 2021-04-21
* Redistribution and use in source and binary forms, with or w... |
#include <../../nrnconf.h>
/******************************************************************************
*
* File: newton.c
*
* Copyright (c) 1987, 1988, 1989, 1990
* Duke University
*
******************************************************************************/
#ifndef LINT
static char RCSid[] =
"new... |
//
// 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 MISSING_TYPE;
@interface CSDCallFilterManager : NSObject
{
MISSING_TYPE *filters; // 8 = 0x8
MISSING_TYP... |
//
// ProtoBlue-Definitions.h
// ProtoBlue
//
// Created by Lance T. Walker on 10/19/18.
// Copyright © 2018 CodeLife-Productions. All rights reserved.
//
#ifndef ProtoBlue_Definitions_h
#define ProtoBlue_Definitions_h
#endif /* ProtoBlue_Definitions_h */ |
/*
** EPITECH PROJECT, 2021
** set_animable_frame
** File description:
** Source code
*/
#include "distract/animable.h"
int get_animable_frame(animable_t *animable)
{
return (animable->current_sheet_frame
- animable->info.animations[animable->current_anim].start_id);
} |
////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016, 2018 - 2019, Thomas Lauf, Paul Beckingham, Federico Hernandez.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software")... |
/***************************************************************************//**
* \file cyhal_timer.h
*
* \brief
* Provides a high level interface for interacting with the Cypress Timer/Counter.
* This interface abstracts out the chip specific details. If any chip specific
* functionality is necessary, or performance ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.