text stringlengths 9 948k |
|---|
#pragma once
#include <PepperMint.h>
class Graph {
public:
Graph() = default;
~Graph() = default;
void compute(
const glm::vec2& x, const glm::mat4& W, const glm::vec2& c, const glm::vec2& w, float b) {}
}; |
/*
* Copyright (c) 2015-2020, Broadcom
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef CMN_SEC_H
#define CMN_SEC_H
#include <stdint.h>
#define SECURE_MASTER 0
#define NS_MASTER 1
void tz_master_default_cfg(void);
void tz_usb_ns_master_set(uint32_t ns);
void tz_sdio_ns_master_set(uint32_t ns);
#endif |
/*
* 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... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Host1x init for Tegra114 SoCs
*
* Copyright (c) 2013 NVIDIA Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distribute... |
/*
** check_sbml.c for check_sbml in /home/gwendoline/rendu/Piscine_Synthese/SBMLparser
**
** Made by Gwendoline Rodriguez
** Login <gwendoline@epitech.net>
**
** Started on Tue Jun 16 16:55:44 2015
** Last update Wed Jun 17 17:25:03 2015
*/
#include "./../header.h"
void check_spec(char *str, t_param ... |
#pragma once
#include <Core/NamesAndTypes.h>
#include <DataTypes/IDataType.h>
#include <Formats/FormatSettings.h>
#include <IO/ReadBuffer.h>
#include <Interpreters/Context.h>
namespace DB
{
/// Base class for schema inference for the data in some specific format.
/// It reads some data from read buffer and try to de... |
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2013 EMC Corp.
//
// @filename:
// CParseHandlerCTEConfig.h
//
// @doc:
// SAX parse handler class for parsing CTE configuration
//----------------------------------------------------------------------... |
/* dhclient.c
DHCP Client. */
/*
* Copyright (c) 2004-2016 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1995-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:33:00 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/AccessibilityBundles/MediaPlayerFramework.axbundle/MediaPlayerFramework
* classdump-dyld is licensed under GPLv3, Copy... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:43:04 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/Frameworks/CoreImage.framework/CoreImage
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limne... |
//
// ASSprinklerOnCommand.h
// Shion Framework
//
// Created by Chris Karr on 11/23/09.
// Copyright 2009 Audacious Software. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "ASCommand.h"
@interface ASSprinklerOnCommand : ASCommand
{
NSNumber * unit;
}
- (void) setUnit:(NSNumber *) sprinklerUnit;
- (N... |
#ifndef _MPoint
#define _MPoint
//-
// Copyright 2015 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk
// license agreement provided at the time of installation or download,
// or which otherwise accompanies this software in either electronic
// or hard copy form.
... |
/*
Copyright 2018 QMK Community
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, or
(at your option) any later version.
This program is distributed in the hope that i... |
// bigint.h
//
// This implementation is a 'fork' from:
// https://sites.google.com/site/indy256/algo_cpp/bigint
//
#pragma once
#include <sstream>
#include <iomanip>
#include <vector>
////////////////////////////////////////////////////////////////////////////////
namespace bigint
{
using vi = std::vector<int32_t>;
u... |
/*
* Copyright (c) 2012 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... |
#ifndef SSL_TESTS_H
#define SSL_TESTS_H
int ssl_test_bf(int, char**);
int ssl_test_bn(int, char**);
int ssl_test_exp(int, char**);
int ssl_test_cast(int, char**);
int ssl_test_des(int, char**);
int ssl_test_dh(int, char**);
int ssl_test_dsa(int, char**);
int ssl_test_ec(int, char**);
int ssl_test_ecdh(int, char**);
in... |
/** @brief Derived class of the Run interface.
*
* Holds a preferredPrey (string) as a private data member.
*/
#ifndef CHEETAH_H
#define CHEETAH_H
#include "Run.h"
class Cheetah : public Run {
private:
std::string preferredPrey;
public:
explicit Cheetah(std::string prey) noexcept
: preferredPrey(std... |
#pragma once
#include "common.h"
#include <algorithm>
struct Box
{
integer area() const { return (right - left + 1) * (bottom - top + 1); }
integer left;
integer right;
integer top;
integer bottom;
};
inline real iou(const Box& b1, const Box& b2)
{
Box intersection;
intersection.le... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pipex_parse.c :+: :+: :+: ... |
/*
* Copyright (c) 1989, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Ken Smith of The State University of New York at Buffalo.
*
* Redistribution and use in source and binary forms, with or without
* modifica... |
#ifndef __VALHALLA_THOR_SERVICE_H__
#define __VALHALLA_THOR_SERVICE_H__
#include <cstdint>
#include <tuple>
#include <vector>
#include <boost/property_tree/ptree.hpp>
#include <valhalla/baldr/directededge.h>
#include <valhalla/baldr/graphid.h>
#include <valhalla/baldr/graphreader.h>
#include <valhalla/baldr/graphtil... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2020, Bielefeld University
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... |
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* APIs between calling firmware and vboot_reference
*
* DO NOT INCLUDE THE HEADERS BELOW DIRECTLY! ONLY INCLUDE THIS FILE!
*
* Using vb2a... |
/* Dialog template parsing and generation code
Also contains code for the dialog editor data model.
This is platform independent code.
Note on the data model: if a string variable has a limit of 255
characters, that limit is intentionally enforced! */
#include <stdio.h>
#include <string.h>
#include "xma... |
// This is a generated source file for Chilkat version 9.5.0.83
#ifndef _C_CkFtp2WH
#define _C_CkFtp2WH
#include "chilkatDefs.h"
#include "Chilkat_C.h"
CK_C_VISIBLE_PUBLIC void CkFtp2W_setAbortCheck(HCkFtp2W cHandle, BOOL (*fnAbortCheck)(void));
CK_C_VISIBLE_PUBLIC void CkFtp2W_setPercentDone(HCkFtp2W cHandle, BOOL ... |
#include <Arduino.h>
#ifndef MIDI_H
#define MIDI_H
#define MIDI_PC 0x40 // 01000000
#define MIDI_CC 0x30 // 00110000
class Midi
{
private:
uint8_t m_midiChannel = 0;
uint8_t m_statusByte = 0;
uint8_t m_commandCode = 0;
uint8_t m_channelInformation = 0;
uint8_t m_dataByte1 ... |
// Copyright (C) 2008 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_OPTIMIZATIOn_H_
#define DLIB_OPTIMIZATIOn_H_
#include <cmath>
#include <limits>
#include "optimization_abstract.h"
#include "optimization_search_strategies.h"
#include "optimiza... |
#pragma once
#include "hw/azure_sphere_learning_path.h" // Hardware definition
#include "app_exit_codes.h"
#include "dx_azure_iot.h"
#include "dx_config.h"
#include "dx_device_twins.h"
#include "dx_terminate.h"
#include "dx_timer.h"
#include "dx_utilities.h"
#include <applibs/log.h>
#include <time.h>
// https://doc... |
/*
* xxHash - Fast Hash algorithm
* Copyright (C) 2012-2016, Yann Collet
*
* BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redis... |
/* Copyright (c) Citrix Systems 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 con... |
//===-LTO.h - LLVM Link Time Optimizer ------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
#include "main.h"
#include "stdbool.h"
#include "uart.h"
#include "commands.h"
#include "msgbus.h"
#include "debug_leds.h"
#include "error_handler.h"
#include "commtests.h"
#include "ledtests.h"
#include "color.h"
#include "tusb_config.h"
#include "tusb.h"
#include "tusb_hid.h"
#define USB_HID_PACKET_SIZE_BYTES (64U)
... |
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* KXCJ9 gsensor module for Chrome EC */
#ifndef __CROS_EC_ACCEL_KXCJ9_H
#define __CROS_EC_ACCEL_KXCJ9_H
#include "task.h"
/*
* 7-bit address i... |
/*
* Copyright 2005-2019 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 int... |
/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2015 The PHP Group |
+--------------... |
#ifndef ROLEDECISIONPOSITIONFORCE_H
#define ROLEDECISIONPOSITIONFORCE_H
#include <ModuleFramework/Module.h>
#include <Tools/DataStructures/ParameterList.h>
#include "Tools/Debug/DebugRequest.h"
#include "Tools/Debug/DebugDrawings.h"
#include "Tools/Debug/DebugParameterList.h"
#include "Tools/StringTools.h"
#include "T... |
/*
* Copyright (c), Microsoft Open Technologies, 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 co... |
// Copyright (c) 2017-2018 STRAKS developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODE_H
#define MASTERNODE_H
#include "utilstrencodings.h"//todo
#include "arith_uint256.h"//todo
#include "netmessagem... |
#ifndef SKNOBS_INC
#define SKNOBS_INC
#ifdef __cplusplus
extern "C" {
#endif
#define SKNOBS_MAX_LENGTH 8192
extern int sknobs_init(int argc, char **argv);
extern void sknobs_close(void);
extern int sknobs_add(char *pattern, char *value, char *comment);
extern int sknobs_add_string(char *s, char *comment);
extern... |
#pragma once
#ifndef MESH_VAO_H
#define MESH_VAO_H
#include "mesh_buffer.h"
#include "render-pipeline/gl_libs.h"
class MeshVao : public MeshBuffer {
public:
virtual unsigned int get_mesh_buffer() const override;
virtual void gen_mesh_buffer() override;
virtual void del_mesh_buffer() overr... |
/*
* Copyright (c) 2016-2021, National Institute of Information and Communications
* Technology (NICT). 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 m... |
#pragma once
#include <Python.h> // has to be the first included header
#include <memory>
#include "control/types.h"
#include "mesh/mapping_between_meshes/mapping/00_construct.h"
namespace MappingBetweenMeshes
{
/**
* This is a mapping between two meshes, e.g. one 1D fiber mesh and one 3D mesh.
* The mapping ma... |
/** @file
This file is part of OpenCanopy, OpenCore GUI.
Copyright (c) 2018-2019, Download-Fritz. All rights reserved.<BR>
SPDX-License-Identifier: BSD-3-Clause
**/
#include <Uefi.h>
#include <IndustryStandard/AppleIcon.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTabl... |
#ifdef C2NIM
#def CUFFTAPI
#dynlib libName
#private libName
#cdecl
#if defined(windows)
# stdcall
# define libName "cufft.dll"
#elif defined(macosx)
# define libName "libcufft.dylib"
#else
# define libName "libcufft.so"
#endif
typedef void* cudaStream_t;
#include "cuComplex.h"
#incl... |
/*
* linux/fs/ext3/xattr_security.c
* Handler for storing security labels as extended attributes.
*/
#include <linux/module.h>
#include <linux/string.h>
#include <linux/fs.h>
#include <linux/smp_lock.h>
#include <linux/ext3_jbd.h>
#include <linux/ext3_fs.h>
#include "xattr.h"
#define XATTR_SECURITY_PREFIX "securit... |
#ifndef pca
#define pca
#include <RcppEigen.h>
#include "matrix_utilities.h"
#include "svdDecomposition.h"
#include "optimizedproduct.h"
// #include "parallelBlockMult.h"
#include "parallelBlockMult_hdf5.h"
Rcpp::RObject bdPCA(const Rcpp::RObject & x, int k);
#endif |
/**
* @section License
*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017, Erik Moqvist
*
* 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... |
#ifndef _DRVCONN_H_
#define _DRVCONN_H_
#include <stdio.h>
#include <stdlib.h>
#include "es_connection.h"
#include "es_odbc.h"
#include "misc.h"
#ifndef WIN32
#include <sys/socket.h>
#include <sys/types.h>
#else
#include <winsock2.h>
#endif
#include <string.h>
#ifdef WIN32
#include <windowsx.h>
#include "resource... |
/* $Id$ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* 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; eit... |
#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_AthenaeumVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_AthenaeumVersionString[]; |
// Copyright (c) 2016 Marshall A. Greenblatt. 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 ... |
/*
* Copyright 1993, 2000 Christopher Seiwald.
*
* This file is part of Jam - see jam.c for Copyright information.
*/
/* This file is ALSO:
* Copyright 2001-2004 David Abrahams.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_... |
/** @file
The interface function declaration of shell application IfConfig6.
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distributio... |
/*
The MIT License (MIT)
Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus
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 limitatio... |
#pragma once
#include "game_cl_teamdeathmatch.h"
class CUIGameAHunt;
class game_cl_ArtefactHunt :public game_cl_TeamDeathmatch
{
friend class CUIMessagesWindow;
CUIGameAHunt* m_game_ui;
shared_str m_Eff_Af_Spawn;
shared_str m_Eff_Af_Disappear;
typedef game_cl_TeamDeathmatch inherited;
protected... |
#pragma once
#include <stdexcept>
#define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0)
#define UNUSED(x) (void)(x)
inline void ensure(bool cond) {
if (unlikely(!cond))
throw std::runtime_error("runtime assertion failed");
}
inline void ensure(bool cond, const ... |
// Copyright (c) 2011 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_COMMON_NET_X509_CERTIFICATE_MODEL_H_
#define CHROME_COMMON_NET_X509_CERTIFICATE_MODEL_H_
#include "net/base/cert_database.h"
#include ... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include <functional>
#include <memory>
#include <string>
#include <string_view>
#include <vector>
#inclu... |
/*
* PROGRAM: JRD Access Method
* MODULE: Aligned.h
* DESCRIPTION: Aligned bytes buffer (typically on stack).
*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.0 (the "License");
* you may not use this file except in compliance with the
* License. You may obtai... |
/**
******************************************************************************
* @file stm32h7xx_hal_cec.h
* @author MCD Application Team
* @brief Header file of CEC HAL module.
******************************************************************************
* @attention
*
* <h2><center>© C... |
/*
* Copyright (c) 2008, 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 of source code must retain the above copyright
* n... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CORE_H
#define BITCOIN_CORE_H
#include "uint256.h"
#include "seria... |
/*
* Copyright(c) 2019 Intel Corporation
* SPDX - License - Identifier: BSD - 2 - Clause - Patent
*/
#include <stdlib.h>
#include <string.h>
#include "EbNeighborArrays.h"
#include "EbUtility.h"
#include "EbPictureOperators.h"
#include "common_dsp_rtcd.h"
#define UNUSED(x) (void)(x)
static void neighbor_array_unit_dc... |
#ifndef MRG_CLASS_SCENECAMERA
#define MRG_CLASS_SCENECAMERA
#include "Renderer/Camera.h"
namespace MRG
{
class SceneCamera : public Camera
{
public:
enum class ProjectionType
{
Orthographic = 0,
Perspective = 1
};
SceneCamera();
SceneCamera(const SceneCamera&) = default;
SceneCamera(SceneCamera&... |
/* FFTease for Pd */
#include "fftease.h"
static t_class *disarray_class;
#define OBJECT_NAME "disarray~"
typedef struct _disarray
{
t_object x_obj;
float x_f;
t_fftease *fft;
t_float top_frequency;
int *shuffle_in;
int *shuffle_out;
int shuffle_count;
int max_bin;
void *list_ou... |
//============ Copyright (c) Valve Corporation, All rights reserved. ============
//
// glmgr.h
// singleton class, common basis for managing GL contexts
// responsible for tracking adapters and contexts
//
//===============================================================================
#ifndef GLMGR_H
#define GLMGR_... |
// Copyright (C) Simon A. F. Lund <simon.lund@samsung.com>
// SPDX-License-Identifier: Apache-2.0
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <xnvme_be.h>
#include <xnvme_be_nosys.h>
#ifdef XNVME_BE_LINUX_ENABLED
#include <errno.h>
#include <dirent.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h... |
/*
sshpacketint.h
Author: Tatu Ylonen <ylo@ssh.fi>
Copyright (c) 1997 SSH Communications Security, Finland
All rights reserved
Private definitions for packet streams.
*/
#ifndef SSHPACKETINT_H
#define SSHPACKETINT_H
#include "sshpacketstream.h"
/* Appends a packet at the end of the buffer as ... |
#pragma once
#include "peconv.h"
namespace tests {
//For now this is for manual tests only:
int test_ntdll(LPCTSTR path);
}; //namespace tests |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* Copyright © 2008 Kristian Høgsberg
*
* 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, pub... |
/*
Copyright: Boaz segev, 2016-2017
License: MIT except for any non-public-domain algorithms (none that I'm aware
of), which might be subject to their own licenses.
Feel free to copy, use and enjoy in accordance with to the license(s).
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include "random.h"
#if defined(... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:54:51 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ... |
/**
* Copyright (c) Andreas Fitzek <andreas[dot]fitzek[at]gmail[dot]com>
* 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
* copy... |
//---------------------------------------------Expression Tree Functions------------------------------
struct ET_Node *makeLeafNode(int num)
{
struct ET_Node *newnode;
newnode = (struct ET_Node *)malloc(sizeof(struct ET_Node));
newnode->val = num;
newnode->oper = NULL;
newnode->left = newnode->right = NULL;
retur... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "HMFObject.h"
#import "HMDHomePresenceCheck.h"
@class NSDictionary;
@interface HMDHomePresenceRemote : HMFObject <HMDHomePresenceCheck>
{
NSDictionary *_userPresenceM... |
#include <stdlib.h>
#include <string.h>
#include <hal/atomic.h>
#include <fsw/debug.h>
#include <fsw/stream.h>
void stream_init(stream_t *stream, size_t capacity) {
assert(stream != NULL);
stream->writer = NULL;
stream->reader = NULL;
// make sure this is a power of two
assert((capacity & (capacit... |
#ifndef DETECTOR_DESCRIPTION_CORE_DDTRANSFORM_H
#define DETECTOR_DESCRIPTION_CORE_DDTRANSFORM_H
#include "DetectorDescription/Core/interface/DDBase.h"
#include "DetectorDescription/Core/interface/DDName.h"
#include "DetectorDescription/Core/interface/DDRotationMatrix.h"
#include <memory>
class DDRotation;
std::ostre... |
/**
* \file
*
* \brief Chip-specific ADC configuration
*
* Copyright (c) 2011 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... |
/*
* Device property helpers for GPIO chips.
*
* Copyright (C) 2016, Intel Corporation
* Author: Mika Westerberg <mika.westerberg@linux.intel.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free ... |
/**
******************************************************************************
* @file usbh_cdc.c
* @author MCD Application Team
* @brief This file is the CDC Layer Handlers for USB Host CDC class.
*
* @verbatim
*
* ===================================================================
... |
#include <stdio.h>
#include <stdint.h>
typedef struct opt {
uint8_t dtp;
uint8_t drv;
uint8_t stp;
uint8_t typ;
uint8_t dns;
uint8_t cyl[2];
uint8_t sid;
uint8_t vfy;
uint8_t sct[2];
uint8_t t0s[2];
uint8_t ilv;
uint8_t sas;
uint8_t tfm;
uint8_t exten[2];
uint8_t stoff;
uint8_t att;
u... |
/*************************************************************************/
/* sky_box.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
#ifndef TEST_H
#define TEST_H
void test_merge_sort();
void test_segment();
void test_pool();
void test_parallel_map();
void test_match();
#endif |
#ifdef PROJECT_OPTION
#error
#endif
#ifdef PROJECT_OPTION_1
#error
#endif
#ifdef PROJECT_OPTION_C_CPP
#error
#endif
#ifndef GLOBAL_ARGUMENT
#error
#endif
#ifndef SUBPROJECT_OPTION
#error
#endif
#ifdef OPTION_CPP
#error
#endif
int main(int argc, char **argv) {
return 0;
} |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... |
/****************************************************
* The file "version.h" is generated by cmake.
* But there was trouble creating this file on Windows
* so this is the default calues required
* Beware - do not change these values unless you really understand the software.
***************************************... |
/*****************************************************************************
* ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
*****************************************************************************
* Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it)
*
* Licensed under the... |
/*
* This header is generated by classdump-dyld 1.0
* on Monday, September 28, 2020 at 5:55:16 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/GameCente... |
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002, 2004 Networks Associates Technology, Inc.
* All rights reserved.
*
* This software was developed for the FreeBSD Project by NAI Labs, the
* Security Research Division of Network Associates, Inc. under
* DARPA/SPAWAR contract N66001-01-C... |
/*
SPDX short identifier: MIT
Copyright 2018-2019 Jevgēnijs Protopopovs
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... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkLogLookupTable.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software ... |
#ifndef PACK_LOADER_H
#define PACK_LOADER_H
#include <QList>
#include <QObject>
#include <QQueue>
#include <QSharedPointer>
#include "downloader/download-query-group.h"
class Image;
class Page;
class Profile;
class Site;
class PackLoader : public QObject
{
Q_OBJECT
public:
explicit PackLoader(Profile *profile,... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:05:14 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/Frameworks/WebKit.framework/... |
#include "config.h"
#include "types.h"
const u16 logo_lib[0x1012] = {
0x0080, 0x0080, 0x0000, 0x0222, 0x0444, 0x0666, 0x0888, 0x0CCC,
0x0AAA, 0x0EEE, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x000... |
#include <stdlib.h>
#include <stdio.h>
#include <simplessh/types.h>
int simplessh_is_left(struct simplessh_either *either) {
return either->side == LEFT;
}
int simplessh_get_error(struct simplessh_either *either) {
if(either->side != LEFT) {
fprintf(stderr, "Error: simplessh_get_error: trying to get the erro... |
/*
* Copyright 2012 Red Hat 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, merge, publish, d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.