text stringlengths 9 948k |
|---|
/*
* 88pm860x-codec.h -- 88PM860x ALSA SoC Audio Driver
*
* Copyright 2010 Marvell International Ltd.
* Haojian Zhuang <haojian.zhuang@marvell.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... |
#pragma once
#include "gbbs/bridge.h"
namespace gbbs {
/* atomic max object for numeric type T */
template <class T>
struct atomic_max_counter {
T entry;
atomic_max_counter() { entry = (T)0; }
void reset() { entry = (T)0; }
T get_value() { return entry; }
void update_value(T new_val) {
gbbs::write_m... |
#include <tommath_private.h>
#ifdef BN_MP_CMP_MAG_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
* LibTomMath is a library that provides multiple-precision
* integer arithmetic as well as number theoretic functionality.
*
* The library was designed directly after the MPI library by
* Michae... |
/**
* Copyright (C) 2020-2021 Xilinx, Inc
*
* 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
#ifndef SMTP_UTILS_H_
#define SMTP_UTILS_H_
#include "config.h"
/**
* @file smtp_utils.h
* Contains utilities for smtp protocol handling
*/
struct smtp_upstream {
const gchar *name;
gchar *addr;
guint16 port;
gboolean is_unix;
};
#define MAX_SMTP_UPSTREAMS 128
struct smtp_session;
/**
* Send message to up... |
/*
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*
* File: techsupport_efp.c
* Purpose: This file implements techsupport utility for
* efp.
*/
#incl... |
/*
* Copyright (C) 2013 Oracle.
*
* 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 distribute... |
//
// MyFavorite.h
// Maps
//
// Created by Jose Manuel Gil on 04/05/14.
// Copyright (c) 2014 Jose Manuel Gil. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "Celda.h"
@protocol FavoriteDelegate;
@interface MyFavorite : NSObject
@property (weak, nonatomic) id<Fav... |
#include "Logger.h"
#include "Wrapper.h"
#include "Utils.h"
#include "dbg.h"
#include <time.h>
#include <string.h>
#ifndef _WIN32
#include <arpa/inet.h>
#include <netdb.h>
#else
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
#define TIME_STR_LEN 100
#define ADDRESS_LEN 30
#define TOTAL_LEN 200
void strupper... |
#include <jni.h>
#include <stdlib.h>
#include <string.h>
#include <vulkan/vulkan.h>
jlong jniPointerToLong(const void* p);
void* jniLongToPointer(jlong l);
jlong jniFunctionPointerToLong(PFN_vkVoidFunction p);
PFN_vkVoidFunction jniLongToFunctionPointer(jlong l);
void jniThrowException(JNIEnv* env, const char* message... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: RCSL 1.0/RPSL 1.0
*
* Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file, are
* subject to the current version of the RealNetworks Public Source License
* Version ... |
#ifndef ALIMUONTRACKERDATAHISTOGRAMMER_H
#define ALIMUONTRACKERDATAHISTOGRAMMER_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
// $Id$
/// \ingroup graphics
/// \class AliMUONTrackerDataHistogrammer
/// \brief ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
typedef NSString *FBSDKURLScheme NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(UR... |
/* pcy_lib.c */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 2004.
*/
/* ====================================================================
* Copyright (c) 2004 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... |
// -*- mode:c++; tab-width:4; -*-
// vim:ft=cpp ts=4
/***************************************************************************
*
* Tiary, a terminal-based diary keeping system for Unix-like systems
* Copyright (C) 2009, 2018, 2019, chys <admin@CHYS.INFO>
*
* This software is licensed under the 3-clause BSD lic... |
/**
******************************************************************************
* @file stm32f7xx_hal_i2c_ex.c
* @author MCD Application Team
* @version V1.2.2
* @date 14-April-2017
* @brief I2C Extended HAL module driver.
* This file provides firmware functions to manage the followin... |
/*D***********************************************************
* Modul: DBI - database delete
* KOMMISSION
*
* Copyright: yafra.org, Basel, Switzerland
**************************************************************/
#include <mpmain.h>
#include <mpsqlsel.h>
#include <mpprodbi.h> /* Prototypes f�r A... |
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "ring-buffer.h"
#include "sha-256.h"
#define NUM_MINERS 8
#define DIFFICULTY 2 // number of bytes of leading 0's
void
ThreadCreate(pthread_t* thread,
const pthread_attr_t* attr,
void* (*start_routine)(void... |
/*
* Copyright (C)2011 D. R. Commander. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this list of conditio... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_RPCSERVER_H
#define BITCOIN_... |
/*
* 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 it will be use... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "crc64.h"
#pragma pack(4)
typedef struct{
uint32_t l_dword;
uint32_t h_dword;
}two_dword_t;
typedef union{
two_dword_t dword;
uint64_t val;
}crc64_t;
int main()
{
printf("Hello world! This is a crc64 test.\n"... |
/*
* 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... |
#ifndef _MAIN_H
#define _MAIN_H
#include <esp_spi_flash.h> // needed for reading ESP32 chip attributes
#include <esp_event_loop.h> // needed for Wifi event handler
#include <esp32-hal-timer.h> // needed for timers
#include "globals.h"
#include "wifiscan.h"
#include "configmanager.h"
#include "cyclic.h"
#include "bea... |
//
// Generated by gen_resource_source.py
//
#ifndef _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_RO_RES_H
#define _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_RO_RES_H
static jbyte _com_ibm_icu_impl_data_icudt58b_zone_ro_res[] = {
0x00, 0x20, 0xDA, 0x27, 0x00, 0x14, 0x00, 0x00, 0x01, 0x00,
0x02, 0x00, 0x52, 0x65, 0x73, 0x42, 0x... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2018 Ayke van Laethem
* Copyright (c) 2019 Jim Mussared
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (... |
#ifndef VALE_INSTRUCTIONS_H_
#define VALE_INSTRUCTIONS_H_
class Expression;
class IRegister;
class ReferenceRegister;
class AddressRegister;
class Local;
class VariableId;
class StackHeight;
enum class RefCountCategory {
VARIABLE_REF_COUNT,
MEMBER_REF_COUNT,
REGISTER_REF_COUNT
};
class Expression {
publi... |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... |
/* -*- c -*- ------------------------------------------------------------- *
*
* Copyright 2003 H. Peter Anvin - All Rights Reserved
*
* 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 Founda... |
d,b,e,i,j;main(n){for(gets(&n);~scanf("%d%d%d%d",&n,&d,&b,&e);puts(""))for(j=!printf("Problem set %d: %d / %d, base 7 digits %d through %d: ",++i,n,d,b,e);j<=e;++j>b&&printf("%d",n/d))n=(n%d)*7;} |
/*
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distribu... |
/**
*
* 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");... |
#include "game_window.h"
#include "shader.h"
#include <GLFW/glfw3.h>
const float square_vertices[] =
{
// Triangle 1
-0.5f, 0.5f, 0.f, // top left
0.5f, 0.5f, 0.f, // top right
-0.5f, -0.5f, 0.f, // bottom left
// Triangle 2
-0.5f, -0.5f, 0.f, // bottom left
0.5f, 0.5f, 0.f, // top r... |
// Copyright 2015 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_FILE_SYSTEM_PROVIDER_OPERATIONS_GET_ACTIONS_H_
#define CHROME_BROWSER_ASH_FILE_SYSTEM_PROVIDER_OPERATIONS_GET_ACTIONS_H_
#incl... |
/*
* Author: Tomi Jylhä-Ollila, Finland 2015-2018
*
* This file is part of Kunquat.
*
* CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/
*
* To the extent possible under law, Kunquat Affirmers have waived all
* copyright and related or neighboring rights to Kunquat.
*/
#include <kunquat/l... |
/**************************************************************************************************
* *
* This file is part of BLASFEO. *
* ... |
//---------------------------------------------------------------------
// This file is automatically generated. All manual edits will be lost.
//---------------------------------------------------------------------
// EXPERIMENTAL Client convenience wrapper for NI-RFMXINSTR.
//-----------------------------------------... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "IDEEditor.h"
#import "DVTFindBarFindable.h"
#import "DVTPlistViewControllerProtocol.h"
#import "DVTSourceExpressionSource.h"
#import "NSUserInterfaceValidations.h"
@class... |
#include "f2c.h"
#ifndef LONGBITS
#define LONGBITS 32
#endif
#ifndef LONG8BITS
#define LONG8BITS (2*LONGBITS)
#endif
integer
qbit_bits (longint a, integer b, integer len)
{
/* Assume 2's complement arithmetic */
ulongint x, y;
x = (ulongint) a;
y = (ulongint) - 1L;
x >>= b;
y <<= len;
return (longint... |
/*
* Copyright (C) 2004, 2006, 2007, 2008, 2009 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, t... |
// Copyright (c) 2019 The Geranium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef GERANIUM_NODE_CONTEXT_H
#define GERANIUM_NODE_CONTEXT_H
#include <memory>
#include <vector>
class BanMan;
class CConnma... |
/* -*- Mode: c; tab-width: 8; c-basic-offset: 4; indent-tabs-mode: t; -*- */
/* Cairo - a vector graphics library with display and print output
*
* Copyright © 2005 Red Hat, Inc.
* Copyright © 2012 Intel Corporation
*
* This library is free software; you can redistribute it and/or
* modify it either under the ter... |
#ifndef RIPPLE_NODESTORE_DATABASESHARDIMP_H_INCLUDED
#define RIPPLE_NODESTORE_DATABASESHARDIMP_H_INCLUDED
#include <ripple/nodestore/DatabaseShard.h>
#include <ripple/nodestore/impl/Shard.h>
namespace ripple {
namespace NodeStore {
class DatabaseShardImp : public DatabaseShard
{
public:
DatabaseShardImp() = dele... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
#define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
#include "base/memory/ref_counted.h"
#include "base... |
inherit "room/room";
reset(arg) {
if (arg) return;
set_light(1);
short_desc = "A small storage room";
no_castle_flag = 1;
long_desc =
"You are in a small and dusty storage room.\n" +
"You can see the shop through the opening to the east.\n";
dest_dir = ({"players/shadow/virenda/weap_sho... |
#include "includes.h"
void respond(int newsockfd)
{
clock_t begin, end;
double elapsed;
begin = clock();
char *clientmessage = (char *)malloc(USHRT_MAX * sizeof(char));
memset(clientmessage, '\0', USHRT_MAX * sizeof(char));
int msglen = recv(newsockfd, clientmessage, USHRT_MAX * sizeof(char), 0);
char *copy... |
/*
Copyright (c) 2019, Ameer Haj Ali (UC Berkeley), and Intel Corporation
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
... |
/*
** -*- C -*-
**
** int_sqrt.h
** Made by Raffaele Nutricato <raffaele.nutricato@tiscali.it>
**
**
** Copyright POLIBA 2008
*/
/*
1. Search for sqrt in INIT_FillSCI2LibCDirs.sci
2. Search for // --- Function List Class. --- in INIT_FillSCI2LibCDirs.sci
3. You will find
PrintStringInfo('s0'+ArgSeparat... |
#include <stdio.h>
#include <stdlib.h>
#define INITIAL_CAPACITY 2
#define MULTIPLIER 1.5
typedef struct {
int *elems; // a dinamikusan lefoglalt tömbre mutat
int length; // a betett elemek száma
int capacity; // a tömb fizikai kapacitása
// capacity >= length
} DynArray;
void me... |
/* jconfig.bcc --- jconfig.h for Borland C (Turbo C) on MS-DOS or OS/2. */
/* see jconfig.doc for explanations */
#define HAVE_PROTOTYPES
#define HAVE_UNSIGNED_CHAR
#define HAVE_UNSIGNED_SHORT
/* #define void char */
/* #define const */
#undef CHAR_IS_UNSIGNED
#define HAVE_STDDEF_H
#define HAVE_STDLIB_H
#undef NEED_BS... |
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkShaderBase_DEFINED
#define SkShaderBase_DEFINED
#include "SkFilterQuality.h"
#include "SkMask.h"
#include "SkMatrix.h"
#include "SkShader.h"
#if SK_SUPPORT_GPU
#in... |
#pragma once
#include "Sidebar.h"
#include "../../types/chat.h"
#include "../../types/contact.h"
namespace Logic
{
class CommonChatsModel;
class CommonChatsSearchModel;
}
namespace Data
{
class LastSeen;
}
namespace Ui
{
class HeaderTitleBar;
class HeaderTitleBarButton;
class AvatarNameInfo;
... |
#pragma once
// Generated by build script, do not edit!
#define UNITY_VERSION_UNDER_HASH "2020.3.6f1_338bb68529b2"
#define UNITY_VERSION_VERBOSE_UNDER_HASH "2020.3.6f1_338bb68529b2"
#define UNITY_VERSION_PARENS_HASH "2020.3.6f1 (338bb68529b2)"
#define UNITY_VERSION_BLD 3378102
#define UNITY_VERSION_DATE 1618880815
#def... |
/**
* 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... |
// Author(s): Jan Friso Groote
// Copyright: see the accompanying file COPYING or copy at
// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
//
// 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)
//
/// \file m... |
/*
* sdr_descrambler.c
*
* Created on: Jul 11, 2019
* Author: Varun Mannam
* function: input from Viterbi decoder, gets output of descrambled bytes for
* the size of (psdu_size +2) and compares with the reference descrambler data
* Input: data bits from Viterbi decode, (psdu_szie) , referenc... |
/* $Id: VBoxDD2.h $ */
/** @file
* Built-in drivers & devices part 2 header.
*
* These drivers and devices are in separate modules because of LGPL.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. Th... |
//
// Created by mhajas on 7/7/18.
//
#pragma once
#include <streams/block/ciphers/lightweight/lightweight.h>
#include <streams/block/ciphers/lightweight/common/cipher.h>
#define LBOX_WORD ROM_DATA_WORD
#define READ_LBOX_WORD READ_ROM_DATA_WORD
#define LBOX_INV_WORD ROM_DATA_WORD
#define READ_LBOX_INV_WORD READ_ROM... |
/**********************************************************************/
/* */
/* File name : EEP_N_R.H */
/* Date : 18.09.2019 19:08:43 */
/* ------------------------... |
//===- InstrumentationMap.h - XRay Instrumentation Map ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* 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... |
/**********************************************************************
* $Id: TopologyLocation.h 3255 2011-03-01 17:56:10Z mloskot $
*
* GEOS - Geometry Engine Open Source
* http://geos.refractions.net
*
* Copyright (C) 2005-2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* Thi... |
#pragma once
#include "../../namespaces.h"
#include "../../controls/CustomButton.h"
// Button with new messages bubbles to history
UI_NS_BEGIN
class HistoryButtonDown final : public CustomButton
{
Q_OBJECT
protected:
virtual void paintEvent(QPaintEvent *_event) override;
virtual void wheelEvent(QWheelE... |
//
// 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 <UIKit/UIButton.h>
@class MISSING_TYPE;
@interface _TtC8AppStore17DynamicTypeButton : UIButton
{
MISSING_TYPE *fontUseCaseContentSize... |
/*
* 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... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:46:11 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L... |
/*
directory.c
Reading, writing and manipulation of the directory structure on
a FAT partition
Copyright (c) 2006 Michael "Chishm" Chisholm
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of sou... |
// 'Meta O 60', 60x60px
const unsigned char Meta [] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x0f, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,... |
/*
* Copyright 2004 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 contributing ... |
#pragma once
#include "ikGroup_old.h"
#include "_ikGroupContainer_.h"
class CIkGroupContainer : public _CIkGroupContainer_
{
public:
CIkGroupContainer();
virtual ~CIkGroupContainer();
void buildUpdateAndPopulateSynchronizationObjects();
void connectSynchronizationObjects();
void removeSynchroniza... |
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/security.h>
#include <linux/sysctl.h>
/* amount of vm to protect from userspace access by both DAC and the LSM*/
unsigned long mmap_min_addr;
/* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */
unsigned long dac_mmap_min_addr = CONFIG_DEF... |
/********************************************************************************************/
/* Copyright (c) 2014 Montage Technology Group Limited and its affiliated companies */
/* Montage Proprietary and Confidential */
/* Montage Technology (Shanghai) Co... |
/*
* Xtensa built-in interrupt controller
*
* Copyright (C) 2002 - 2013 Tensilica, Inc.
* Copyright (C) 1992, 1998 Linus Torvalds, Ingo Molnar
*
* 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 detail... |
/******************************************************************************
* Code generated with sympy 0.7.6 *
* *
* See http://www.sympy.org/ for more information. *
... |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkPathRef_DEFINED
#define SkPathRef_DEFINED
#include "../private/SkAtomics.h"
#include "../private/SkTDArray.h"
#include "SkMatrix.h"
#include "SkPoint.h"
#include "S... |
/*
* Copyright (C) 2006-2012, Julien Ridoux <julien@synclab.org>
* 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... |
/* mbed Microcontroller Library
* Copyright (c) 2018 GigaDevice Semiconductor Inc.
*
* 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 may obtain a copy of the License at
*
* htt... |
//
// Created by Lby on 2017/8/12.
//
#ifndef ORZ_MEM_POT_H
#define ORZ_MEM_POT_H
#include <mutex>
#include <memory>
#include <functional>
namespace seeta
{
namespace orz
{
class Pot {
public:
using allocator = std::function<std::shared_ptr<void>( size_t )>;
Pot();
... |
/*
Copyright (c) 2003-2012 Gordon Gremme <gordon@gremme.org>
Copyright (c) 2003-2008 Center for Bioinformatics, University of Hamburg
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permissi... |
/* Copyright (c) 2021 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#ifndef GRAPH_OPTIMIZER_RULE_TAGINDEXFULLSCANRULE_H_
#define GRAPH_OPTIMIZER_RULE_TAGINDEXFULLSCANRULE_H_
#include "gra... |
//------------------------------------------------------------------------------
// GB_iso_unop_code: determine if C = A, C = unop(A), or C = binop(A) is iso
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2022, All Rights Reserved.
... |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_READING_LIST_READING_LIST_ENTRY_H_
#define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_ENTRY_H_
#include <string>
#include "... |
/*
* Copyright (c) 1993,1995 Paul Kranenburg
* 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... |
/**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib 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 a... |
/*
* Copyright: JessMA Open Source (ldcsaa@gmail.com)
*
* Author : Bruce Liang
* Website : http://www.jessma.org
* Project : https://github.com/ldcsaa
* Blog : http://www.cnblogs.com/ldcsaa
* Wiki : http://www.oschina.net/p/hp-socket
* QQ Group : 75375912, 44636872
*
* Licensed under the Apache License, Ver... |
/*
Copyright 1996-2003
Simon Whiteside
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This lib... |
/*
* Copyright (C) 2018 Shanghai Eastsoft Microelectronics Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-12-15 liuhy first implementation.
*/
/*
* 程序清单:这是一个 pm睡眠唤醒的使用例程
* 例程导出了 pm_sample 命令到控制终端
* 命令调用格式:pm_sample
* 命令解释:进入不同的睡眠模式,然后用... |
#pragma once
#include <Vector3.hpp>
struct RaycastHitResult
{
CU::Vector3f myPosition;
CU::Vector3f myNormal;
float myDistance = 0.0f;
unsigned int myIdentityFlag = 0;
}; |
/*
* IEC 61937 demuxer
* Copyright (c) 2010 Anssi Hannula <anssi.hannula at iki.fi>
*
* 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 ... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2018 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/*
// Copyright (c) 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 applicab... |
/*
* enum - seq- and jot-like enumerator
*
* Copyright (C) 2010-2012, Jan Hauke Rahm <jhr@debian.org>
* Copyright (C) 2010-2012, Sebastian Pipping <sping@gentoo.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "UnityEngine_UnityEngine_MonoBehaviour1158329972.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang di... |
/**
******************************************************************************
* @file stm32l4xx_hal_lcd.c
* @author MCD Application Team
* @brief LCD Controller HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the LCD Contro... |
/*!
@header FWToastPlugin.h
@indexgroup FWFramework
@brief FWToastPlugin
@author wuyong
@copyright Copyright © 2018年 wuyong.site. All rights reserved.
@updated 2018/9/22
*/
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
#pragma mark - FWToastPlugin
/// 消息吐司样式枚举,可扩展
typedef NSInteger FWToast... |
/*!
* \file
* Scanline edge-flag algorithm for antialiasing <br>
* Copyright (c) 2005-2007 Kiia Kallio
*
* http://mlab.uiah.fi/~kkallio/antialiasing/
*
* This code is distributed under the three-clause BSD license.
* Read the LICENSE file or visit the URL above for details.
*
* \brief A class for wrapping th... |
// host define.h
#pragma once
#define MAX_CONNECT 6
#define PI 3.14159265358979323846
#define MAX_DATA_SIZE_LRF 1500//726//727//1081//726//1081//727//1081//700
#define MAX_TRACKING_OBJECT 10//99
#define MAX_PARTICLE_NUM 2000//2000//8000
#define MAX_PARTICLE_NUM_MCMC 1000//1000
#define TRACKING_HISTORY 30
#define STAGE... |
#include <stdio.h>
#include "assert.h"
#include <unistd.h>
void vmul(int*a, int*b, int*c, int N){
#pragma omp target map(to: a[0:N],b[0:N]) map(from:c[0:N*N])
//#pragma omp teams distribute parallel for collapse(2)
//#pragma omp teams distribute collapse(2)
#pragma omp target teams loop collapse(2)
for(int i=0;i<N;... |
#pragma once
// YOUR INCLUDES HERE
#include "Math\Vectors\Vector2.h"
#include "Math\Vectors/Vector3.h"
#include "Math\Vectors/Vector4.h"
#include "Math\Matrices/Matrix2.h"
#include "Math\Matrices/Matrix3.h"
#include "Math\Matrices/Matrix4.h"
#include "catch.hpp"
// TYPEDEFS IF NEEDED
// typedef glm::vec2 Vector2; e... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:43:28 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/PrivateFrameworks/ProtectedCloudStorage.framework/ProtectedCloudStorage
* classdump-dyld is licensed under GPLv3, Copyri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.