text stringlengths 9 948k |
|---|
// Copyright 2020-2021 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... |
/*
* FreeRTOS Kernel V10.3.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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, includ... |
//
// 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 NSString, UIImage;
@interface APMOCRResult : NSObject
{
long long _errorCode;
NSString *_err... |
/*----------------------------------------------------------------------------
Dbgutil.H
Exported header file for Dbgutil module.
Copyright (C) 1993 Microsoft Corporation
All rights reserved.
Authors:
kennt Kenn Takara
GaryBu Gary S. Burd
History:
05/07/93 suryanr Created.
06/09/93 kennt Reorganized.... |
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copy... |
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... |
/*
* 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) 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 CHROME_BROWSER_CHROMEOS_LOGIN_CAPTIVE_PORTAL_VIEW_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_CAPTIVE_PORTAL_VIEW_H_
#pragma once
#include <stri... |
/*
* Copyright (c) 2016 Jean-Paul Etienne <fractalclone@gmail.com>
* Copyright (c) 2020 BayLibre, SAS
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <kernel.h>
#include <ksched.h>
#include <arch/riscv/csr.h>
#include <stdio.h>
#include <core_pmp.h>
#ifdef CONFIG_USERSPACE
/*
* Glogal variable used to know... |
/**
* \file appl_generic_onoff_server.h
*/
/*
* Copyright (C) 2017. Mindtree Ltd.
* All rights reserved.
*/
#ifndef _H_APPL_GENERIC_ONOFF_SERVER_
#define _H_APPL_GENERIC_ONOFF_SERVER_
/* --------------------------------------------- Header File Inclusion */
#include "MS_generic_onoff_api.h"
#include "appl_main... |
/*
* WARNING: do not edit!
* Generated by Makefile from include/openssl/opensslconf.h.in
*
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in th... |
// =========================== */
/* pseudocode for 16bit dimmer */
/* =========================== */
#define DIM_16bit 0xFFFF
void setupPWM16(uint16_t resolution){
/* set D9 as output */
DDRB = DDRB | 0b00000010;
/* Timer/Counter Control Register setup/initialisation */
TCCR1A = (1 << COM1A1) | (... |
/*
* Copyright 2014 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <AXMediaUtilities/AXMSourceNode.h>
@interface AXMImageNode : AXMSourceNode
{
}
+ (id)title;
+ (BOOL)isSupported;
+ (BOOL)supportsSecureCoding;
- (void)triggerWithPixelBuff... |
#include<unistd.h>
#include<stdio.h>
#include<stdlib.h>
#include<sys/wait.h>
int main(int argc, char** argv)
{
if (argc != 3)
{
printf("Error #args");
exit(1);
}
/* a. launch another process */
pid_t pid = fork();
if (pid) {
/* Parent */
/* c. wait for the ... |
//
// 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 "DoAPDevice.h"
#import "AFNotifyObserverDelegate-Protocol.h"
#import "SiriAudioRelaySource-Protocol.h"
@class AFNotifyObserver, NSArray, ... |
/***************************************************************************//**
* @file main_g_tg.c
* @brief This project uses the DAC and TIMER0 to output a 32 point sine wave at
* a particular frequency (10 kHz by default). This project operates in EM1.
***********************************************************... |
/**
******************************************************************************
* @file stm32g0xx_hal_spi.c
* @author MCD Application Team
* @brief SPI HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the Serial Peripheral Int... |
// Copyright 2017 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 DEVICE_VR_UTIL_SLIDING_AVERAGE_H_
#define DEVICE_VR_UTIL_SLIDING_AVERAGE_H_
#include "base/component_export.h"
#include "base/macros.h"
#include ... |
/* A Bison parser, made by GNU Bison 2.4.1. */
/* Skeleton implementation for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the ... |
/*!
* iOS SDK
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 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... |
/**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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. ... |
#ifndef FOLODE_H
#define FOLODE_H
#include<stdlib.h>
#include<stdio.h>
#include<math.h>
/**
* @brief This struct is used to store all the data related to First Order Linear Differential Equation.
* x'(t) = A * x(t) + B * u(t - s) with initial value x0 at t0
*/
typedef struct FirstOrderLinearODE{
double m_A;
... |
/*
* Copyright (c) 2016, Xilinx Inc. and Contributors. 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 ... |
/*****************************************************************************
* Copyright 2014 Microchip Technology Inc. and its subsidiaries.
* You may use this software and any derivatives exclusively with
* Microchip products.
* THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS".
* NO WARRANTIES, WHETHER EXPRESS, IMPLI... |
#pragma once
#include <chrono>
#include <cstdint>
#include <list>
#include <memory>
#include <string>
#include "envoy/access_log/access_log.h"
#include "envoy/common/time.h"
#include "envoy/config/filter/network/mongo_proxy/v2/mongo_proxy.pb.h"
#include "envoy/event/timer.h"
#include "envoy/network/connection.h"
#inc... |
#include <stdio.h>
#include "GLEStrace.h"
static char s_strbuf[512]; // [FIXME] thread safe
static char *
get_target_str (GLenum name)
{
switch (name)
{
case GL_ARRAY_BUFFER : return "GL_ARRAY_BUFFER";
case GL_ELEMENT_ARRAY_BUFFER : return "GL_ELEMENT_ARRAY_BUFFER";
... |
/*
* Copyright (c) 2016-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... |
#ifndef __GAME_GRAVITYSWITCH_H__
#define __GAME_GRAVITYSWITCH_H__
class hhGravitySwitch : public hhDamageTrigger {
public:
CLASS_PROTOTYPE( hhGravitySwitch );
virtual ~hhGravitySwitch();
void Spawn( void );
void Save( idSaveGame *savefile ) const;
void Restore( idRestoreGame *savefile );
// Overridden ... |
#ifndef SALES_DATA_H_
#define SALES_DATA_H_
#include <iostream>
#include <string>
struct Sales_data;
Sales_data add(const Sales_data &lhs, const Sales_data &rhs);
std::istream &read(std::istream &is, Sales_data &item);
std::ostream &print(std::ostream &os, const Sales_data &item);
struct Sales_data {
Sales_data()... |
/*
* Copyright (c) 2011-2014 Wind River Systems, Inc.
* Copyright (c) 2017 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_X86_MMUSTRUCTS_H_
#define ZEPHYR_INCLUDE_ARCH_X86_MMUSTRUCTS_H_
#include <sys/util.h>
#define MMU_PAGE_SIZE 4096UL
#define MMU_PAGE_MASK 0xfffU
#def... |
#include <stdlib.h>
#include <string.h>
#include "memory.h"
static void acquireLockSignalGc(MochiVM* vm) {
int lockRes = mtx_trylock(&vm->allocLock);
while (lockRes != thrd_success) {
PANIC_IF(lockRes == thrd_error, "Failed to acquire lock in an allocation.");
ObjFiber* fiber = mochiThreadCurr... |
/**
* @file hal_wdt.h
* @brief
*
* Copyright (c) 2021 Bouffalolab team
*
* 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 fi... |
// Copyright (c) 2014-2016 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 PAICOIN_COMPAT_ENDIAN_H
#define PAICOIN_COMPAT_ENDIAN_H
#if defined(HAVE_CONFIG_H)
#include "config/paicoin-config.h... |
#undef CONFIG_MTD_CFI_B1 |
#pragma once
#include <utility>
#include "mvAppItem.h"
#include "Core/mvTextureStorage.h"
#include "Core/mvPythonExceptions.h"
//-----------------------------------------------------------------------------
// Widget Index
//
// * mvImage
// * mvImageButton
//
//----------------------------------------------... |
/*
* PsychSourceGL/Source/Common/Screen/SCREENClose.c
*
* AUTHORS:
*
* Allen.Ingling@nyu.edu awi
* mario.kleiner.de@gmail.com mk
*
* PLATFORMS:
*
* All
*
* HISTORY:
*
* 07/26/02 awi Created from OpenWindow
* ... |
//
// libLBeaconKit.h
// libLBeaconKit
//
// Created by Cynthia Chian on 2016/8/12.
// Copyright © 2016年 Cynthia Chian. All rights reserved.
//
#import "LBeaconConfig.h"
#import "LBeaconDevice.h"
#import "LBeacon.h"
#import "LBeaconKit.h"
#import "LBeaconMonitor.h"
#import "LBeaconContent.h"
//@interface libLBeac... |
// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// 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
//
//===------------... |
/********************************************************************************
USART Driver Dynamic implementation.
Company:
Microchip Technology Inc.
File Name:
drv_usart_byte_model_pic32c.c
Summary:
Source code for the USART driver dynamic implementation.
Description:
This file contai... |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
/**********************************************************************
Audacity: A Digital Audio Editor
ODDecodeTask.h
Created by Michael Chinen (mchinen) on 8/10/08.
Audacity(R) is copyright (c) 1999-2008 Audacity Team.
License: GPL v2. See License.txt.
*************************************************... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE-Next
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person... |
#ifndef ANIMATION_H_
#define ANIMATION_H_
#include "Globals.h"
#include "Application.h"
#include "Keyframe.h"
class Animation
{
public:
Animation() {}
~Animation() {}
string name;
double lenght = 0; //seconds
int keyFrameCount = 0;
vector<Keyframe*> keyfram... |
/* packet_win.c
* Routines for popping a window to display current packet
*
* Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:12:40 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/Frameworks/ModelIO.framewor... |
#import <MetalKit/MetalKit.h>
#import "GraphicsManager.hpp"
#import "MetalPipelineState.h"
#import "MetalPipelineStateManager.h"
namespace My {
struct MtlDrawBatchContext : public DrawBatchContext {
uint32_t index_count;
uint32_t index_offset;
MTLPrimitiveType index_mode;
MTLIndexType index_type;
u... |
#ifndef _thread_helper_h
#define _thread_helper_h
#ifdef FreeBSD
#include <pthread_np.h>
#endif
#include <assert.h>
#include <errno.h>
#include <pthread.h>
#define handle_error_en(en, msg) \
do { \
... |
/****************************************************************************
*
* Copyright (c) 2013 PX4 Development Team. All rights reserved.
* Author: Anton Babushkin <anton.babushkin@me.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... |
//=============================================================================================================
/**
* @file dipole_fit_settings.h
* @author Lorenz Esch <lesch@mgh.harvard.edu>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>;
* Christoph Dinh <chdinh@nmr.mgh.harvard.edu>
* @s... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:12:02 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/Frameworks/Intents.framewor... |
#include "./scanner.h"
#include "./pixel.h"
#include "./scanner.h"
#include "./pierce.h"
#include "./sheaf.h"
#include "./ray.h"
#include "./engine.h" |
/******************************************************************************
* $Id: dted_test.c 12247 2007-09-27 18:18:06Z rouault $
*
* Project: DTED Translator
* Purpose: Test mainline for DTED writer.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
*****************************************************... |
#ifndef __j1HARPY_H__
#define __j1HARPY_H__
#include "PugiXml/src/pugixml.hpp"
#include "p2Point.h"
#include "p2Animation.h"
#include "p2DynArray.h"
#include "j1Pathfinding.h"
#include "j1Entity.h"
#define DETECTION_RANGE 100
struct SDL_Texture;
//struct Collider;
class j1Harpy : public j1Entity
{
public:
j1Harpy(... |
/* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 r... |
/* Copyright (C) 2009 Red Hat, Inc.
* Author: Michael S. Tsirkin <mst@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2.
*
* virtio-net server in host kernel.
*/
#include <linux/compat.h>
#include <linux/eventfd.h>
#include <linux/vhost.h>
#include <linux/virtio_net.h>
#include <lin... |
/*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2016,
* TU Dortmund - Institute of Control Theory and Systems Engineering.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* m... |
// Copyright 2017 the V8 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.
#ifndef V8_SNAPSHOT_STARTUP_DESERIALIZER_H_
#define V8_SNAPSHOT_STARTUP_DESERIALIZER_H_
#include "src/snapshot/deserializer.h"
#include "src/snapshot/s... |
#if 0
/// Copyright (c) Titan Robotics Club. All rights reserved.
///
/// <module name="RobotInfo.h" />
///
/// <summary>
/// This module contains the physical definitions of the robot.
/// </summary>
///
/// <remarks>
/// Environment: Wind River C++ for National Instrument cRIO based Robot.
/// </remarks>
#end... |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
// TYPE IfcAirTerminalBoxTypeEnum = ENUMERATION OF ... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CommonMessageCellView.h"
#import "MMMusicPlayerContollerDelegate.h"
#import "MMWebImageViewDelegate.h"
@class AppMusicMessageViewModel, NSString, UIImageView, UILabel;
@... |
/**
* @file re_udp.h Interface to User Datagram Protocol
*
* Copyright (C) 2010 Creytiv.com
*/
struct sa;
struct udp_sock;
/**
* Defines the UDP Receive handler
*
* @param src Source address
* @param mb Datagram buffer
* @param arg Handler argument
*/
typedef void (udp_recv_h)(const struct sa *src, stru... |
#pragma once
#include <glm\glm.hpp>
#include "OpenGL/OpenGLFrameBuffer.h"
#include "Renderer/OrthographicCamera.h"
#include "Scene/Scene.h"
#include "Scene/Entity.h"
#include "Panels/SceneHierarchyPanel.h"
#include "Renderer/EditorCamera.h"
namespace Cyber {
class EditorLayer : public Layer {
public:
EditorLayer(... |
#ifndef Annealing_h
#define Annealing_h
#include <Greeble/Random.h>
#include <Greeble/Types.h>
namespace Greeble {
namespace Annealing {
// A do-nothing reporter object if you don't care about the output.
template <typename State>
struct NullReporter {
void operator()(const Sta... |
#ifndef STD_H
#define STD_H
#pragma warning( disable:4786 )
#include "../config/config.h"
#include "../stdutil/stdutil.h"
#include "../gxruntime/gxruntime.h"
#include <set>
#include <map>
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
using namespace std;
#endif |
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* SGI UV APIC functions (note: not an Intel compatible APIC)
*
* Copyright (C) 2007-2009 Silicon Graphics, Inc. All rights reserved.
*/
#... |
/*
* Copyright 2013 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 applica... |
/*
* arch/arm/mach-ep93xx/adssphere.c
* ADS Sphere support.
*
* Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.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; either ver... |
/* Copyright 2018, Eduardo Filomena - Gonzalo Cuenca
* All rights reserved.
*
* This file is part of CIAA Firmware.
*
* 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 reta... |
/****************************************************************************
*
* Copyright 2019 Samsung Electronics 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... |
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://... |
/*
* Cell0_sf.h
*
* Code generation for model "Cell0_sf".
*
* Model version : 1.35
* Simulink Coder version : 8.9 (R2015b) 13-Aug-2015
* C source code generated on : Wed May 27 11:18:31 2020
*
* Target selection: rtwsfcn.tlc
* Note: GRT includes extra infrastructure and instrumentation for protot... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:51:43 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/PhotosGraph.framework/PhotosGraph
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
#ifndef __arkmodels_h__
#define __arkmodels_h__
#include <stdio.h>
/// --------------------------------------------------
/// ENUMERATIONS
/// --------------------------------------------------
typedef enum { DEVELOPMENT, MAIN } ARKNETWORKTYPE;
typedef enum { OK, EUNAVAILABLE, ETIMEOUT } ARKPEERSTATUS;
typedef en... |
/******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details.
*
* SPDX-License-Identifier: (Apache-2.0 OR MIT)
**************************************... |
/* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
* Copyright (c) 2007-2021, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file dirlist.h
* \brief Header file for dirlist.c
**/
#ifndef TOR_DIRLIST_H
#define TOR_DIRLIST_H
int ... |
/*
* The MIT License
*
* Copyright (c) 1997-2021 The University of Utah
*
* 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
* right... |
/*
** Copyright 2005-2019 Solarflare Communications Inc.
** 7505 Irvine Center Drive, Irvine, CA 92618, USA
** Copyright 2002-2005 Level 5 Networks Inc.
**
** 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 ... |
#include "src/nexus_common_internal.h"
#include "src/nexus_keycode_core.h"
#include "src/nexus_keycode_mas.h"
#include "src/nexus_keycode_pro.h"
#include "src/nexus_keycode_pro_extended.h"
#include "src/nexus_nv.h"
#include "src/nexus_util.h"
#include "unity.h"
#include "utils/crc_ccitt.h"
#include "utils/siphash_24.h"... |
#ifndef __NETWORK_FUNC_H__
#define __NETWORK_FUNC_H__
#include <linux/types.h>
/* This should work for both 32 and 64 bit userland. */
struct ethtool_cmd {
__u32 cmd;
__u32 supported;
__u32 advertising;
__u16 speed;
__u8 duplex;
__u8 port;
__u8 phy_address;
__u8 transceiver;
__u8 autoneg;
__u8 mdio_support... |
/*
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdlib.h>
#include <stdint.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "freertos/semphr.h"
#include "esp_err.h"
#include "esp_log.h"
... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2020 Oracle Corporation
*
* Module Author: Mike Christie
*/
#include "dm-path-selector.h"
#include <linux/device-mapper.h>
#include <linux/module.h>
#define DM_MSG_PREFIX "multipath io-affinity"
struct path_info {
struct dm_path *path;
cpumask_var_t c... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:46:57 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/WatchListKit.framework/WatchListKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
#pragma once
// Copyright 2015 DiamNet Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "transactions/ManageSellOfferOpFrame.h"
namespace DiamNet
{
class Manag... |
/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <sstream>
#include <string>
#include <vector>
class BinaryEncoder {
public:
BinaryEncoder() = default;
BinaryEncoder(const std::string &dump, const std::string &elf)
: pathToDump(dump), el... |
/* Execute compiled code */
/* XXX TO DO:
XXX speed up searching for keywords by using a dictionary
XXX document it!
*/
/* enable more aggressive intra-module optimizations, where available */
/* affects both release and debug builds - see bpo-43271 */
#define PY_LOCAL_AGGRESSIVE
#include "Python.h"
#includ... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:43:24 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/CoreLocationProtobuf.framework/CoreLocationProtobuf
* classdump-dyld is licensed under GPLv3, Copyrig... |
/**
* @file finitevolumerobin.h
* @brief NPDE homework FiniteVolumeRobin code
* @author Philippe Peter
* @date February 2020
* @copyright Developed at ETH Zurich
*/
#include <lf/geometry/geometry.h>
#include <lf/mesh/mesh.h>
#include <Eigen/Core>
namespace FiniteVolumeRobin {
/**
* @headerfile finitevolumero... |
#include "client.h"
#include <stdio.h>
#include <ctype.h>
#include <stdbool.h>
/*Les messages ont été correctement décryptés, PEREZ sera ajouté au hall of fame ! ... bzzz.. CRsohucr.ha.CRCz... zzzz
---DEBUG--- crcr ..... ALICE : MESSAGE DE BOB RETROUVE MOI SUR 'planB' LE MOT DE PASSE EST 'qui vivra verra' LAISSE MO... |
/*
* resize.c
*
* This program resizes a 24-bit bitmap image.
*
* Usage: ./resize size input.bmp output.bmp
*
* Copyright (c) 2017 Chuma Umenze
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... |
/*
* Copyright (C) 2009 Martin Willi
* Hochschule fuer Technik Rapperswil
*
* 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 late... |
/*
The MIT License (MIT)
Copyright (c) 2014 Markus Müller https://github.com/mmllr 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 wit... |
/* statistics/gsl_statistics_float.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, Brian Gough
*
* 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 3 of th... |
/*
* Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef PLAT_PRIVATE_H
#define PLAT_PRIVATE_H
#include <stdint.h>
#include <lib/xlat_tables/xlat_tables.h>
void plat_configure_mmu_el3(unsigned long total_base,
unsigned long total_size,... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:44:55 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/SearchFoundation.framework/SearchFoundation
* classdump-dyld is licensed under GPLv3, Copyright © 201... |
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
void *thread_func(void *arg);
void hello();
pthread_key_t my_key;
int main(int argc, char **argv) {
pthread_t thread;
int *thread_id;
int i;
pthread_key_create(&my_key,NULL);
for(i=0;i<10;i++) {
thread_id = (int *)malloc(sizeof(... |
/*
* nrf905.c
*
* Created on: Jul 22, 2021
* Author: kus
*/
#include "nrf905.h"
void delay_us (uint16_t us){
__HAL_TIM_SET_COUNTER(&htim1,0); // set the counter value a 0
while (__HAL_TIM_GET_COUNTER(&htim1) < us); // wait for the counter to reach the us input in the parameter
}
void Read_RX_PAYLOAD... |
/* $Source: /var/local/cvs/gasnet/sci-conduit/gasnet_core_help.h,v $
* $Date: 2006/03/19 02:08:18 $
* $Revision: 1.6 $
* Description: GASNet sci conduit core Header Helpers (Internal code, not for client use)
* Copyright 2002, Dan Bonachea <bonachea@cs.berkeley.edu>
* Terms of use are as specified in license... |
const char * p2p_sw_version = "2.0.0";
const char * p2p_sw_osName = "Win32";
const char * p2p_sw_buildDate = __DATE__ " " __TIME__; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.