text stringlengths 9 948k |
|---|
// MIT License
//
// Copyright (c) Rei Shimizu 2020
//
// 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
// ... |
/**
* \file
* Soft Debugger back-end module
*
* Author:
* Zoltan Varga (vargaz@gmail.com)
*
* Copyright 2009-2010 Novell, Inc.
* Copyright 2011 Xamarin Inc.
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
#include <config.h>
#include <stdio.h>
#includ... |
//
// TYJAppDelegate.h
// TYJNetworking
//
// Created by tian_yida on 06/04/2020.
// Copyright (c) 2020 tian_yida. All rights reserved.
//
@import UIKit;
@interface TYJAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
#pragma once
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
class GraphAbstractionsTEMPLATE : public GraphAbstractions
{
private:
// current the number of vertices, neighbouring a frontier (for Advance perf)
long long count_frontier_neighb... |
/*
* Copyright (C) 2015-2018 ZhengHaiTao <ming8ren@163.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
/* stprfs.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... |
/*
*
* Copyright (c) 2021 Project CHIP 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 requir... |
/*
* Copyright (c) 2003-2020 Rony Shapiro <ronys@pwsafe.org>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
#pragma once
// Passk... |
// Copyright (C) 2013 - Will Glozer. All rights reserved.
#include <pthread.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
#include "ssl.h"
static pthread_mutex_t *locks;
static void ssl_lock(int mode, int n, const char *file, int line) {
pthread_mutex_t *lock = &locks[n];
i... |
/*
* Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
* Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... |
module<module_state::input> create_module_with_source (context ctx, std::string source); // (1) |
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
// File system implementation. Five layers:
// + Blocks: allocator for raw disk blocks.
// + Log: crash recovery for multi-step updates.
// + Files: inode allocator, reading, writing, metadata.
// + Directories: inode with special contents (list of other inodes!)
// + Names: paths like /usr/rtm/xv6/fs.c for ... |
#ifndef ENGINE_MATH_H__
#define ENGINE_MATH_H__
//======================================================================================
// Filename: EngineMath.h
// Description:
//======================================================================================
//================================================... |
/* -*- C -*- */
/*
* Copyright (c) 2015-2020 Seagate Technology LLC and/or its Affiliates
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... |
// Copyright (c) 2013, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#pragma once
#ifndef ROCKSD... |
/*
* Copyright (c) 2019 The Forge Interactive Inc.
*
* This file is part of The-Forge
* (see https://github.com/ConfettiFX/The-Forge).
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional informa... |
// Copyright 2014 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 ANDROID_WEBVIEW_BROWSER_GFX_PARENT_OUTPUT_SURFACE_H_
#define ANDROID_WEBVIEW_BROWSER_GFX_PARENT_OUTPUT_SURFACE_H_
#include <vector>
#include "an... |
#pragma once
// C/C++
#include <math.h>
#include "matn.h"
template <typename T>
class mat4 : public matn<T, 4> {
// constructors
public:
inline mat4() = default;
inline mat4(const matn<T, 4>& m) : matn<T, 4>(m) {}
// static functions
public:
static inline mat4 transform(T x, T y, T z, T angle, T rx, T ry, T rz, T... |
#ifndef PID_H
#define PID_H
//#define PRINT_INIT
//#define PRINT_UPDATE_ERROR
#define PRINT_VALUES
#define PRINT_PARAMS_OPTIMIZER
//#define PRINT_PARAMS_OPTIMIZER2
//#define PRINT_PARAMS_OPTIMIZER3
//#define PARAMS_OPTIMIZER
#define PRINT_FINAL_PARAMS
#define PRINT_DEBUG
class PID {
public:
enum{
TWIDDLE_UPDATE... |
#include <string.h>
#include <jni.h>
#include "heclib.h"
JNIEXPORT void JNICALL Java_hec_heclib_util_Heclib_Hec_1zritsc
(JNIEnv *env, jobject obj, jintArray j_ifltab, jstring j_pathname,
jint j_startJulian, jint j_startMinutes,
jint j_endJulian, jint j_endMinutes,
jint j_lGetDoubles, jintArray j_lRead... |
#pragma once
#include "targetver.h"
// Required for using v6 of ComCtl in DLLs, see: https://docs.microsoft.com/en-us/windows/desktop/controls/cookbook-overview#adding-visual-style-support-to-an-extension-plug-in-mmc-snap-in-or-a-dll-that-is-brought-into-a-process
#define ISOLATION_AWARE_ENABLED 1
#define WIN32_LEAN... |
/*
ISC License
Copyright (c) 2016, Autonomous Vehicle Systems Lab, University of Colorado at Boulder
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:12:21 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/RunningBoa... |
/* Note : this particular snipset of code is available under
* the LGPL, MPL or BSD license (at your choice).
* Jean II
*/
#define MAX_KEY_SIZE 16
#define MAX_KEYS 8
int key_on = 0;
int key_open = 1;
int key_current = 0;
char key_table[MAX_KEYS][MAX_KEY_SIZE];
int key_size[MAX_KEYS];
#if WIRELESS_EXT > 8
case... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:14:16 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/Celestial.framework/Celestial
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L... |
/*
* Copyright (C) 2012-2017 ARM Limited or its affiliates.
*
* 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 Software Foundation.
*
* This program is distributed in the hope that it will be useful,... |
/****************************************************************************
* arch/risc-v/src/common/riscv_initialize.c
*
* Copyright (C) 2007-2010, 2012-2015, 2017 Gregory Nutt. All rights
* reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or... |
/*=============================================================================
*
* Project: a2bstack
*
* Copyright (c) 2015 - Analog Devices Inc. All Rights Reserved.
* This software is subject to the terms and conditions of the license set
* forth in the project LICENSE file. Downloading, reproducing, distribu... |
#include <db-util.h>
#include <string.h>
#include <errno.h>
#include "download-provider-config.h"
#include "download-provider-db.h"
#include "download-provider-log.h"
__thread sqlite3 *g_download_provider_db = 0;
void __download_provider_db_close()
{
if (g_download_provider_db) {
db_util_close(g_download_provide... |
/* bam_samples -- print samples in a set of BAM files
Copyright (C) 2021 Pierre Lindenbaum
Institut du Thorax. u1087 Nantes. France.
@yokofakun
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... |
/*
* Copyright (c) 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)ns_ntoa.c 6.3 (Berkeley) 3/9/86";
#endif LIBC_SCCS and... |
/***************************************************************************/
/* */
/* fterrdef.h */
/* */
/* Fr... |
// 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_OBJECTS_DEBUG_OBJECTS_H_
#define V8_OBJECTS_DEBUG_OBJECTS_H_
#include <memory>
#include "src/base/bit-field.h"
#include "src/objects/fixed-... |
//
// Bismillah ar-Rahmaan ar-Raheem
//
// Easylogging++ v9.84
// Single-header only, cross-platform logging library for C++ applications
//
// Copyright (c) 2016 muflihun.com
//
// This library is released under the MIT Licence.
// http://easylogging.muflihun.com/licence.php
//
// easylogging@muflihun.com
//
//... |
/*
* jdcolext.c
*
* This file was part of the Independent JPEG Group's software:
* Copyright (C) 1991-1997, Thomas G. Lane.
* libjpeg-turbo Modifications:
* Copyright (C) 2009, 2011, D. R. Commander.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains output color... |
// Original code by JeeLabs http://news.jeelabs.org/code/
// Released to the public domain! Enjoy!
// Maniacal Labs version based on heavily modified version of above from:
// https://github.com/MrAlvin/RTClib
#include "Arduino.h"
#ifndef __RTCLIB_H__
#define __RTCLIB_H__
#define Chronodot RTC_DS3231
#define SECOND... |
#pragma once
#include "toolbox/internal/namespace.h"
#include <stddef.h>
char* NS_(strdup)(const char* str);
void* NS_(memdup)(const void* mem, size_t size); |
#ifndef LAYER_SOFTMAX_H
#define LAYER_SOFTMAX_H
#include "layer.h"
namespace ncnn {
class Softmax : public Layer {
public:
Softmax();
virtual int load_param(const ParamDict& pd);
public:
int axis;
};
}
#endif |
#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 SpeedySwiftVersionNumber;
FOUNDATION_EXPORT const unsigned char SpeedySwiftVersionString[]; |
/**
*********************************************************************************
*
* @file ald_crypt.h
* @brief Header file of CRYPT module driver.
*
* @version V1.0
* @date 19 Jun 2019
* @author AE Team
* @note
*
* Copyright (C) Shanghai Eastsoft Microelectronics Co. Ltd. All rights... |
#include "sugar.h"
#include "casemethod.h"
#include "../ast/astbuild.h"
#include "../ast/id.h"
#include "../ast/printbuf.h"
#include "../pkg/ifdef.h"
#include "../pkg/package.h"
#include "../type/alias.h"
#include "../type/assemble.h"
#include "../type/sanitise.h"
#include "../type/subtype.h"
#include "../ast/stringtab... |
/**
* @file
*
* AMD DMI Record Creation API, and related functions.
*
* Contains code that produce the DMI related information.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU
* @e \$Revision: 6049 $ @e \$Date: 2008-05-13 23:58:02 -0700 (Tue, 13 May 2... |
//
// 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 BrandProductIAPReportData, BrandProductIAPTaskParameter;
@interface BrandProductIAPTask : NSObject
{... |
/*
* 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 ... |
//
// LGPickerGroup.h
// LGPhotoBrowser
//
// Created by ligang on 15/10/27.
// Copyright (c) 2015年 L&G. All rights reserved.
#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
@interface LGPhotoPickerGroup : NSObject
/**
* 组名
*/
@property(nonatomic, copy)NSString *groupName;
/**
* 缩略图
*/
@pr... |
#ifndef CEGAR_REFINEMENT_HIERARCHY_H
#define CEGAR_REFINEMENT_HIERARCHY_H
#include <cassert>
#include <memory>
#include <utility>
#include <vector>
class State;
namespace cegar {
class Node;
/*
This class stores the refinement hierarchy of a Cartesian
abstraction. The hierarchy forms a DAG with inner nodes for ... |
#ifndef AST_HDR
#define AST_HDR
#include <stdlib.h> // free, malloc, size_t
#include "util.h"
namespace glsl {
// Type-erasure
template <typename T>
static inline void astDestroy(void *self) {
((T*)self)->~T();
free(self);
}
struct astMemory {
astMemory() : data(0), dtor(0) { }
template <typename T>
... |
/*
* Copyright (c) 2016 Tomasz Sieprawski
*
* 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, p... |
/*
* Copyright 2019 Henrik Brix Andersen <henrik@brixandersen.dk>
*
* Heavily based on pwm_mcux_ftm.c, which is:
* Copyright (c) 2017, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#define DT_DRV_COMPAT openisa_rv32m1_tpm
#include <drivers/clock_control.h>
#include <errno.h>
#include <drivers/pwm.h>
#include ... |
//
// BREthereumLESProvision.h
// BRCore
//
// Created by Ed Gamble on 9/3/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
//
#ifndef BR_Ethereum_LES_P... |
/*
* Copyright (c) 2004-2007 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
* c... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <PhotoPrintProduct/KHModel.h>
@class KHProject, NSMutableDictionary, NSString;
@interface KHProjectJournalEntry : KHModel
{
long long _projectId;
unsigned long lon... |
#ifndef DIOTRE_GRAPHICS_DEBUG_MATERIAL_H_
#define DIOTRE_GRAPHICS_DEBUG_MATERIAL_H_
#include "material.h"
namespace dioptre {
namespace graphics {
class DebugMaterial : public Material {
public:
virtual ~DebugMaterial() {}
void setColor(color color);
color getColor();
protected:
color color_;
}; // DebugMa... |
#if defined(JS_ENGINE_V8) or defined(JS_ENGINE_MOZJS) or \
defined(JS_ENGINE_CHAKRA)
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/
#ifndef LD_DATABASE_H
#define LD_DAT... |
/*****************************************************************************
* Private Definitions for LibYAML
*
* Copyright (c) 2006 Kirill Simonov
*
* LibYAML is free software; you can use, modify and/or redistribute it under
* the terms of the MIT license; see the file LICENCE for more details.
************... |
#ifndef NETWORKGAMESTATE_H
#define NETWORKGAMESTATE_H
#include "sdlinclude.h"
#include "player.h"
#include "bullet.h"
#include <stdint.h>
typedef struct Networkgamestate_type* Networkgamestate;
Networkgamestate createNetworkgamestate();
Uint32 getGamestatesize();
void setRoundState(Networkgamestate a, int newValue)... |
/*
Copyright(c) Dorin Duminica. 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 and the following di... |
/*
* LIBOIL - Library of Optimized Inner Loops
* Copyright (c) 2003,2004 David A. Schleef <ds@schleef.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 ... |
/** @file
The Esrt Management Protocol used to register/set/update an updatable firmware resource .
Copyright (c) 2015 - 2018, 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 that accompanies thi... |
/********************* */
/*! \file context_black.h
** \verbatim
** Original author: Dejan Jovanovic
** Major contributors: Morgan Deters
** Minor contributors (to current version): none
** This file is part of the CVC4 project.
** Copyright (c) 2009-2014 Ne... |
//------------------------------------------------------------------------------
// GB_mex_errors: test error handling
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved.
// http://suitesparse.com See GraphBL... |
// Copyright 2012 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_REGEXP_MACRO_ASSEMBLER_H_
#define V8_REGEXP_MACRO_ASSEMBLER_H_
#include "src/ast.h"
namespace v8 {
namespace internal {
struct DisjunctDec... |
// bslstl_iserrorcodeenum.h -*-C++-*-
#ifndef INCLUDED_BSLSTL_ISERRORCODEENUM
#define INCLUDED_BSLSTL_ISERRORCODEENUM
#include <bsls_ident.h>
BSLS_IDENT("$Id: $")
// BDE_VERIFY pragma: -TP25 // CLASSES are not defined in C++11
//@PURPOSE: Provide a compliant standard 'is_er... |
/************************************************************************
* NASA Docket No. GSC-18,719-1, and identified as “core Flight System: Bootes”
*
* Copyright (c) 2020 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.... |
#ifndef Uintah_Components_Arches_linSolver_h
#define Uintah_Components_Arches_linSolver_h
#include <Core/Grid/MaterialManagerP.h>
#include <CCA/Components/Arches/ArchesVariables.h>
#include <Core/ProblemSpec/ProblemSpecP.h>
//#include <Core/Grid/LevelP.h>
#include <Core/Grid/Task.h>
namespace Uintah {
class ArchesLa... |
#pragma once
#include "Algorithm.h"
class AlgorithmVorace :
public Algorithm
{
public:
AlgorithmVorace();
virtual ~AlgorithmVorace();
private:
virtual Solution concreteSolve(const Problem& problem) override;
}; |
#if defined(_MSC_VER)
// Microsoft
#define EXPORT __declspec(dllexport)
#define IMPORT __declspec(dllimport)
#elif defined(__GNUC__)
// GCC
#define EXPORT __attribute__((visibility("default")))
#define IMPORT
#else
// do nothing and hope for the best?
#define EXPORT
#define IMPORT
#pragma warning Unknown dynamic lin... |
#include <stdio.h>
#include <stdlib.h>
// Function to merge two sorted arrays
long long int mergeSortedArrays(int *arr, int *aux, int first, int mid, int last)
{
int k = first, i = first, j = mid + 1;
long long int inversionCount = 0;
// While there are elements in the left and right
while (i <= mid && j <= l... |
/*
* This file is part of the UnTech Editor Suite.
* Copyright (c) 2016 - 2021, Marcus Rowe <undisbeliever@gmail.com>.
* Distributed under The MIT License: https://opensource.org/licenses/MIT
*/
#pragma once
namespace UnTech {
enum class ResourceType : unsigned {
ProjectSettings,
FrameSetExportOrders,
... |
#ifndef AST_TRANSFORM_H
#define AST_TRANSFORM_H
#include "cloog/cloog.h"
typedef struct plutoProg PlutoProg;
void pluto_mark_parallel(struct clast_stmt *root, const PlutoProg *prog,
CloogOptions *options);
void pluto_mark_vector(struct clast_stmt *root, const PlutoProg *prog,
... |
#pragma once
#include <mfast.h>
#include <sstream>
#include <vector>
#include "field_masks.h"
namespace mfast {
namespace SQLite3 {
struct insert_statements {
std::string insert_item_stmt;
std::string find_key_stmt;
int primary_key_index;
};
class tables_creator : public field_instruction_visitor {
public:
... |
/** @file
GUIDs used for SAL system table entries in the EFI system table.
SAL System Table contains Itanium-based processor centric information about
the system.
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made availa... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2021 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... |
//
// STUtils.h
// STPublic
//
// Created by Showtime on 2021/5/8.
//
#ifndef STUtils_h
#define STUtils_h
#import "STMacro.h"
#import <CocoaLumberjack/CocoaLumberjack.h>
#endif /* STUtils_h */ |
/************************************************************************************
* arch/arm/src/imxrt/imxrt_enet.h
*
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are... |
//
// TestViewController.h
// Alert
//
// Created by CoderWGB on 2019/4/15.
// Copyright © 2019 CoderWGB. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface TestViewController : UIViewController
@end
NS_ASSUME_NONNULL_END |
/*
* Copyright 2015-2020 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... |
/*******************************************************************************
SERIAL COMMUNICATION SERIAL PERIPHERAL INTERFACE(SERCOM1_SPI) PLIB
Company
Microchip Technology Inc.
File Name
plib_sercom1_spi_master.c
Summary
SERCOM1_SPI Master PLIB Implementation File.
Description
This fi... |
/*-
* Copyright (c) 2006 Verdens Gang AS
* Copyright (c) 2006-2011 Varnish Software AS
* All rights reserved.
*
* Author: Poul-Henning Kamp <phk@phk.freebsd.dk>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:... |
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: Map_test.h (model_test)
// Authors: Chuck Jacobs
//
////////////////////////////////////////////////////////////////////////////////////////////////////
#... |
/*
* Copyright (C) 2013 GREE, Inc.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including comme... |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
#ifndef __LCD12864_H
#define __LCD12864_H
// ST7920 LCD driver 12864 driver, 3-wire serial mode
/*
Pin Definition: RS (CS )=====> PG0
RW (SID )====> PG1
EN (SCLK )===> PG2
PSB ========> PG3 / / low level for the serial mode
*/
#define LCD12864_EN_PORT GPIOD
#define LCD12864_EN_PIN ... |
/*============================================================================
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
Package, Release 3c, by John R. Hauser.
Copyright 2011, 2012, 2013, 2014, 2015, 2016 The Regents of the University of
California. All rights reserved.
Redistribut... |
#define _MT 1
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#if _WIN32
#include <windows.h>
#include <stdio.h>
#include <errno.h>
#include <process.h>
#include "root.h"
#include "rmem.h"
static unsigned __stdcall startthread(void *p);
struct FileData
{
File *file;
int result;
HANDLE event... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-IEs"
* found in "/home/user/openairinterface5g/openair3/S1AP/MESSAGES/ASN1/R14/s1ap-14.5.0.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D /home/user/openairinterface5g/cmake_targ... |
/*-
* SSLsplit - transparent SSL/TLS interception
* https://www.roe.ch/SSLsplit
*
* Copyright (c) 2009-2019, Daniel Roethlisberger <daniel@roe.ch>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions a... |
#include <stdio.h>
#include <unistd.h>
int main(void)
{
gid_t gid;
gid = getgid();
printf("GID is %d.\n", gid);
return 0;
} |
/* RT-Thread config file */
#ifndef __RTTHREAD_CFG_H__
#define __RTTHREAD_CFG_H__
/* RT_NAME_MAX*/
#define RT_NAME_MAX 8
/* RT_ALIGN_SIZE*/
#define RT_ALIGN_SIZE 4
/* PRIORITY_MAX */
#define RT_THREAD_PRIORITY_MAX 32
/* Tick per Second */
#define RT_TICK_PER_SECOND 100
/* SECTION: RT_DEBUG */
/* Thread Debug */... |
/*
* Copyright (c) 2018 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log.h>
LOG_MODULE_REGISTER(net_socket_can_sample, LOG_LEVEL_DBG);
#include <zephyr.h>
#include <net/socket.h>
#include <net/socket_can.h>
#define PRIORITY 7
#define STACKSIZE 750
#define SLEEP_PERIOD K_SECON... |
/* Copyright (C) MOXA Inc. All rights reserved.
This software is distributed under the terms of the
MOXA License. See the file COPYING-MOXA for details.
*/
/*
2015-04-08 WesHuang
new release
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/errno.h>
#include... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE253_Incorrect_Check_of_Function_Return_Value__wchar_t_fread_07.c
Label Definition File: CWE253_Incorrect_Check_of_Function_Return_Value.label.xml
Template File: point-flaw-07.tmpl.c
*/
/*
* @description
* CWE: 253 Incorrect Check of Return Value
* Sinks: fread
* G... |
/* Directory hashing for GNU Make.
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify it under the
terms of the GNU ... |
//
// AppDelegate.h
// Example
//
// Created by 斌 on 2017/6/13.
// Copyright © 2017年 斌. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Michael Drost
*
* 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... |
/*
* Copyright 2015-2018 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 "... |
/***********************************************************************/
/* */
/* svm_struct_classify.c */
/* */
/* Classification modu... |
/*
* Copyright (c) 2018-2019, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
/**
* \file psa/crypto_platform.h
*
* \brief PSA cryptography module: platform definitions
*
* \note This file may not be included directly. Applications must
* include psa/crypto.h.
*
* This file... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.