text stringlengths 9 948k |
|---|
/*
Copyright (c) 2016, oasi-adamay
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following dis... |
// Copyright (C) 2021 Space Raccoon Game Studio. All rights reserved. Contacts: <business@space-raccoon.com>
// Created by AfroStalin
#pragma once
#include <CryEntitySystem/IEntityComponent.h>
#include <CryEntitySystem/IEntity.h>
namespace Snake
{
class CSnakePart final : public IEntityComponent
{
public:
CSnak... |
//
// Copyright (c) 2017, weidian.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 copyright notice, this
// list of conditions ... |
/* Functions for toggling / changing values / changing strings */
/* These are the generic form ones */
static coolmenu *retrieve_matching_letter(coolmenu * c, char l)
{
l = tolower(l);
for (; c; c = c->next)
if (c->letter == l)
return c;
return NULL;
}
#if 0
static coolmenu *retrieve_matching_id(co... |
#include "glarea-app-window.h"
#include "glarea-error.h"
#include <epoxy/gl.h>
#include <math.h>
enum { X_AXIS, Y_AXIS, Z_AXIS, N_AXES };
struct _GlareaAppWindow
{
GtkApplicationWindow parent_instance;
/* the adjustments we use to control the rotation angles */
GtkAdjustment *x_adjustment;
GtkAdjustment *y_a... |
//
// UIImage+MCPCrop.h
//
//
// Created by Mario Chinchilla on 13/10/15.
// Copyright © 2015 planetmedia. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (MCPCrop)
/**
* Método que desde el centro, recorta una imagen a un tamaño dado.
*
* @param bounds Tamaño al que se quiere recortar la ... |
/**
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-ge... |
/* Copyright (c) 2022 Jin Li, dragon-fly@qq.com
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... |
/*******************************************************************\
Module: Single-entry, single-exit region analysis
Author: Diffblue Ltd.
\*******************************************************************/
/// \file
/// Single-entry, single-exit region analysis
#ifndef CPROVER_ANALYSES_SESE_REGIONS_H
#define... |
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
int main(int argc, char **argv){
char *argumentos;
int i;
for(i=1;i<=argc;i++){
argumentos = argv[i];
//printf("%s\n",argumentos);
system(argumentos);
}
r... |
/*
* Copyright (c) 2014, Xerox Corporation (Xerox) and Palo Alto Research Center, Inc (PARC)
* 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... |
/* Helper library for MSI creation with Python.
* Copyright (C) 2005 Martin v. Löwis
* Licensed to PSF under a contributor agreement.
*/
#include <Python.h>
#include <fci.h>
#include <fcntl.h>
#include <windows.h>
#include <msi.h>
#include <msiquery.h>
#include <msidefs.h>
#include <rpc.h>
/*[clinic input]
module ... |
#include <assert.h>
int main()
{
int a[2];
int *p = &(a[0]);
int *q = &(a[1]);
int *r = p + 1;
assert(p == q);
assert(r == q);
assert(p != q);
assert(r != q);
} |
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
// File: winrtredirector.h
//
//
//
// =========================================================================... |
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... |
//
// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
// file was obtained (LICENSE.txt). A copy of the license may... |
/******************************************************************************
* @file cdc_serial.h
* @brief NUC126 series USB VCOM header file
*
* @note
* Copyright (C) 2016 Nuvoton Technology Corp. All rights reserved.
******************************************************************************/
#ifnd... |
// Copyright (c) 2004-2022 Tomáš Oberhuber et al.
//
// This file is part of TNL - Template Numerical Library (https://tnl-project.org/)
//
// SPDX-License-Identifier: MIT
#pragma once
#include <noa/3rdparty/tnl-noa/src/TNL/Solvers/IterativeSolver.h>
namespace noa::TNL {
namespace Solvers {
namespace Optimization {
... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* V4L2 sub-device
*
* Copyright (C) 2010 Nokia Corporation
*
* Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
* Sakari Ailus <sakari.ailus@iki.fi>
*/
#include <linux/ioctl.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/slab.h>
#i... |
/*
* Copyright 1998-2001 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 the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... |
/* Copyright (C) 1992-2001, 2002, 2004, 2005, 2006, 2007
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 Foundati... |
#pragma once
const char* StringAppend(const char* _string, const char* _toAppend); |
#ifndef STORCMD_H
#define STORCMD_H
#pragma GCC diagnostic ignored "-Wpadded"
#include <memory>
#include "ftpcommand/ftpcommand.h"
#include "bsdsocket/bsdsocketfactory.h"
#include "transmission/filetransmission.h"
/*
STORE (STOR)
This command causes the server-DTP to accept the data
... |
#ifndef _SECP256K1_
# define _SECP256K1_
# ifdef __cplusplus
extern "C" {
# endif
# if !defined(SECP256K1_GNUC_PREREQ)
# if defined(__GNUC__)&&defined(__GNUC_MINOR__)
# define SECP256K1_GNUC_PREREQ(_maj,_min) \
((__GNUC__<<16)+__GNUC_MINOR__>=((_maj)<<16)+(_min))
# else
# define SECP256K1_GNUC_PREREQ(_maj,_min... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#ifndef CLIENTGENERATOR_H
#define CLIENTGENERATOR_H
#include "RequestLoader.h"
#include "SchemaLoader.h"
namespace graphql::generator::client {
struct GeneratorPaths
{
const std::string headerPath;
const ... |
/*
* Copyright 2010-2016 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" file... |
/*-------------------------------------------------------------------------
*
* proc.c
* routines to manage per-process shared memory data structure
*
* Portions Copyright (c) 2006-2008, Greenplum inc
* Portions Copyright (c) 2012-Present Pivotal Software, Inc.
* Portions Copyright (c) 1996-2014, PostgreSQL Gl... |
/** @file
Apple Diag Led protocol.
Copyright (C) 2021, vit9696. 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
distribution. The full text of the license may be found at
http://opensource.... |
#ifndef SICS_BACKTRACKING_DEGREEPRUNE_ADJACENTCONSISTENCY_FORWARDCOUNT_IND_H_
#define SICS_BACKTRACKING_DEGREEPRUNE_ADJACENTCONSISTENCY_FORWARDCOUNT_IND_H_
#include <iterator>
#include <tuple>
#include <vector>
#include "graph_traits.h"
#include "graph_utilities.h"
#include "label_equivalence.h"
#include "consistency... |
/*
* Shairport, an Apple Airplay receiver
* Copyright (c) James Laird 2013
* All rights reserved.
* Modifications (c) Mike Brady 2014--2016
*
* 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 So... |
OYAPI oyObject_s OYEXPORT
oyObject_SetParent ( oyObject_s object,
oyOBJECT_e type,
oyPointer ptr );
/*oyPointer oyObjectAlign ( oyObject_s oy,
... |
#ifndef NOTIFICATOR_H
#define NOTIFICATOR_H
#include <QObject>
#include <QIcon>
QT_BEGIN_NAMESPACE
class QSystemTrayIcon;
#ifdef USE_DBUS
class QDBusInterface;
#endif
QT_END_NAMESPACE
/** Cross-platform desktop notification client. */
class Notificator: public QObject
{
Q_OBJECT
public:
/** Create a new not... |
#pragma region License (non-CC)
/*
* Copyright (c) 2002-2007, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium
* Copyright (c) 2002-2007, Professor Benoit Macq
* Copyright (c) 2001-2003, David Janssens
* Copyright (c) 2002-2003, Yannick Verschueren
* Copyright (c) 2003-... |
#include <stdio.h>
#include <gtk/gtk.h>
#include <glib.h>
GtkWidget *mainWindow;
GtkWidget *debugWindow;
GtkWidget *debugimage;
GdkPixbuf *pixBuff;
GdkPixbuf *debug_pixBuff;
GtkWidget *image;
GThread **tids;
GMutex mutex;
cairo_surface_t *badvisor;
/*
static gpointer draw_camera(gpointer data)
//static void realize... |
#include <mun/ast.h>
#include <mun/alloc.h>
#include <mun/function.h>
ast_node*
ast_node_new(mun_alloc* alloc, ast_node_type type){
ast_node* node = mun_gc_alloc(alloc, sizeof(ast_node));
node->type = type;
return node;
}
ast_node*
return_node_new(mun_alloc* alloc, ast_node* value){
ast_node* node = ast_node_... |
/*
* BSD 2-Clause License
*
* Copyright (c) 2021, Hewlett Packard Enterprise
* 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 co... |
// Auto-generated file. Do not edit!
// Template: src/f32-vbinary/vop-scalar.c.in
// Generator: tools/xngen
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <xnnpack/c... |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Function.h>
#include <AK/String.h>
#include <LibGUI/Forward.h>
#include <LibGfx/Rect.h>
namespace GUI {
class Desktop {
public:
static Desktop& the();
Desktop();
... |
/*****************************************************************************
*
* Copyright (c) 2000 - 2018, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 29 2017 23:22:24).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "MMService.h"
#import "MMService-Protocol.h"
@class NSString;
@protocol WXCNetworkStatusDelegate;
@interface WXCCNetworkStat... |
#ifndef SILLY_H
#define SILLY_H
#include "intefaceAbs.h"
#include <stdlib.h>
typedef struct sillyStruct *Silly;
extern Silly NewSilly( double, const char *);
extern AbsCls Silly_Instance(void *);
#endif |
/*
* Copyright (c) Meta Platforms, Inc. and 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-2.0
*
* Unless required by appl... |
#include "kernel/param.h"
#include "kernel/types.h"
#include "kernel/stat.h"
#include "user/user.h"
int g(int x) {
return x+3;
}
int f(int x) {
return g(x);
}
void main(void) {
printf("%d %d\n", f(8)+1, 13);
exit(0);
} |
/*
* LogSystem.h
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2022 Apple Inc. and the FoundationDB project 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... |
#ifndef CFG_GLOBAL_H
#define CFG_GLOBAL_H
#include <QtCore/qglobal.h>
#if defined(CFG_LIBRARY)
# define CFGSHARED_EXPORT Q_DECL_EXPORT
#else
# define CFGSHARED_EXPORT Q_DECL_IMPORT
#endif
#endif // CFG_GLOBAL_H |
#include "caut.h"
void test(int x){
int i=0;
int dg=0;
while(i<x){
if( x==1 ){
dg++;
}
i++;
}
}
void testme(){
int x;
CAUT_INPUT(x);
test(x);
} |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#import "TiViewProxy.h"
@protocol TiUIViewController
@required
- (UIViewContro... |
#pragma once
#include "CommonUtility.h"
namespace Necromancer {
//2D vector
union Vec2 {
struct {
float x, y;
};
struct {
float data[2];
};
Vec2() {}
Vec2(float, float);
float& operator[](unsigned long i);
const float& operator[](unsigned long i) const;
const Vec2 operator+(const Vec2&)... |
/**
* Copyright (c) 2017-present, Facebook, 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 ... |
/**
* Copyright (c) 2015 - 2018, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:09:39 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/SplashBoar... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
#define forr(i, a, b) for(int i=a;i<b;i++)
#define forp(i, a, b) for(int i=a;i<=b;i++)
#define times(n) int _##n=n;while(_##n--)
#define mset(d, v) memset(d,v,sizeof(d))
#define min(a, b) (((a)<=(b))?(a):(b))
#define swap(... |
/* $Id: sph_types.h 260 2011-07-21 01:02:38Z tp $ */
/**
* Basic type definitions.
*
* This header file defines the generic integer types that will be used
* for the implementation of hash functions; it also contains helper
* functions which encode and decode multi-byte integer values, using
* either little-endia... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:43:54 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/Frameworks/CloudKit.framework/CloudKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin Developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Why base-58 instead of stand... |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*/
#include "tomcrypt_private.h"
#ifdef LTC_MEC... |
/**********************************************************************
* Windlass.h (c) 2021 Paul Reeve <preeve@pdjr.eu>
* Utility class representing a windlass.
*/
#ifndef _WINDLASS_H_
#define _WINDLASS_H_
#include <PGN128776.h>
#include <PGN128777.h>
#include <PGN128778.h>
class Windlass {
public:
unsign... |
/*
* helpers.h
* Defining util functions for main operations
*
* Arthur Silveira Chaves (Sistemas de Informação)
* Beatriz Jonas Justino (Sistemas de Informação)
* Nicholas Meirinho Perez (Sistemas de Informação)
* Rafael Oliveira(Sistemas de Informação)
*
* Class/Subject: Operating Systems
*
* 10/11/2020
*... |
/*
*
* Copyright (c) 2020 Google LLC.
* 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
*
... |
/*
* Copyright (c) 2011 Intel Corporation. All Rights Reserved.
* Copyright (c) Imagination Technologies Limited, UK
*
* 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 restrictio... |
/**
* @file callback.c
* @author Michael Francis Williams (GitHub:Michael-ui)
* @brief 回调函数集中处理处
* HAL_TIM_PeriodElapsedCallback在 main.c中,不能写在此处。
* @version 0.1
* @date 2021-07-24
*
* @copyright Copyright (c) 2021
*
*/
#include "callback.h"
#include "motor_feedback.h"
void HAL_TIM_IC_CaptureCallback(TIM_Ha... |
/* A Bison parser, made by GNU Bison 3.0. */
/* Bison implementation for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
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
... |
/* This is part of the netCDF package. Copyright 2018 University
Corporation for Atmospheric Research/Unidata See COPYRIGHT file for
conditions of use.
This program does some HDF5 string stuff.
Here's a HDF5 sample programs:
http://hdf.ncsa.uiuc.edu/training/other-ex5/sample-programs/strings.c
*/
#in... |
/* P I X 2 G . C
* BRL-CAD
*
* Copyright (c) 2004-2016 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as p... |
/*
* Copyright (C) 2019 MediaTek 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 agr... |
#include <ctype.h>
#include <dirent.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include "ignore.h"
#include "log.h"
#include "options.h"
#ifdef HAVE_PCRE2
#include "pcre_api.h"
#endif
#include "scandir.h"
#include "util.h"
#ifdef _WIN32
#include <shlwapi.h>... |
// Copyright 2019 The MWC Developers
//
// 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... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSData;
__attribute__((visibility("hidden")))
@interface CUMFiWriteRequest : NSObject
{
CUMFiWriteRequest *next;
NSData *_data;
CDUnknownBl... |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
#import "DBTEAMIncludeMembersArg.h"
@class DBTEAMGroupMembersRemoveArg;
@class DBTEAMGroupSelector;
@class DBTEAMUserSelectorArg;
NS_... |
/*
* Copyright (C) 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
//
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2021
//
// 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)
//
#pragma once
#include "td/utils/common.h"
extern const char... |
// 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_NETBASE_H
#define BITCOIN_NETBASE_H
#if defined(HAVE_CONFIG_H)
#include "config/seather-config.h"
#endif
#in... |
#ifndef OPENMM_OPENCLARRAY_H_
#define OPENMM_OPENCLARRAY_H_
/* -------------------------------------------------------------------------- *
* OpenMM *
* -------------------------------------------------------------------------- *
* This is part of ... |
/*
Copyright (c) 2012-2018, Anatol Belski <ab@php.net>
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 condit... |
#pragma once
#include <chrono>
#include <thread>
#include <string>
#include <stdio.h>
#ifdef _WIN32
#include <stdlib.h>
struct exit_pause
{
~exit_pause()
{
std::string commandline(GetCommandLineA());
//printf("commandline: [%s]\n", commandline.c_str());
if (std::count(commandline.begin(), commandline.end(), ' ... |
/*
* INETPEER - A storage for permanent information about peers
*
* This source is covered by the GNU GPL, the same as all kernel sources.
*
* Version: $Id: inetpeer.c,v 1.7 2001/09/20 21:22:50 davem Exp $
*
* Authors: Andrey V. Savochkin <saw@msu.ru>
*/
#include <linux/module.h>
#include <linux/types.h>
#... |
/*
* Wraps statfs64 and changes the filesystem type to EXT4.
*/
#include <stdlib.h>
#include <dlfcn.h>
#include <sys/vfs.h>
#include <linux/magic.h>
int statfs64(const char *path, struct statfs64 *buf) {
static int (*orig_statfs64)(const char *path, struct statfs64 *buf) = NULL;
if (orig_statfs64 == NULL) {
... |
//
// Trip.h
// simra
//
// Created by Christoph Krey on 28.03.19.
// Copyright © 2019-2021 Mobile Cloud Computing an der Fakultät IV (Elektrotechnik und Informatik) der TU Berlin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import <CoreMotion/CoreMotion.h>
#imp... |
#include <lib/sj-lib-common/common.h>
struct {
int refcount;
int size;
int count;
char data[0];
} g_empty = { 1, 0, 0 };
#define sjs_hash_type_bool_typeId 15
#define sjs_log_typeId 20
#define sjs_array_char_typeId 23
#define sjs_string_typeId 21
#define sjs_foo_typeId 28
#define sji_bar_typeId 29
type... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <boost/assert.hpp>
#define null 0
typedef unsigned char byte;
typedef unsigned int nat;
/... |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#ifndef _SAL_SOCKETS_INTERNAL_H_
#define _SAL_SOCKETS_INTERNAL_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "aos/kernel.h"
#include "sal_opts.h"
#include <sal_arch.h>
#include <sal_def.h>
#include <sal_ipaddr.h>
#include <sal_... |
/*
* Copyright (c) 2020 Murilo Ijanc' <mbsd@m0x.ru>
*
* 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 permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE A... |
//
// DataManager.h
// CoreData.Basics.Lesson
//
// Created by Artem Belkov on 15/08/15.
// Copyright © 2015 Artem Belkov. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@interface DataManager : NSObject
@property (readonly, strong, nonatomic) NSManagedObjectContext *mana... |
/*
* Reads data bytes stored in the SPI FLASH memory.
* 1. Create a file "hello.txt" with "Hello, world !" in it.
* 2. On ICEstick: iceprog -o 1M hello.txt
* On ULX3S: cp hello.txt hello.omg
* ujprog -j flash -f 1048576 hello.img
* (using latest version of ujprog compiled from https://github.c... |
/* energy.h */
/* Vladimir Kolmogorov (vnk@cs.cornell.edu), 2003. */
/*
This software implements an energy minimization technique described in
What Energy Functions can be Minimized via Graph Cuts?
Vladimir Kolmogorov and Ramin Zabih.
To appear in IEEE Transactions on Pattern Analysis and Machine Intelligence (P... |
/*-------------------------------------------------------------------------
*
* freespace.h
* POSTGRES free space map for quickly finding free space in relations
*
*
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*... |
/*
* Copyright 2017 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... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:47:42 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/PrivateFrameworks/Home.framework/Home
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
... |
#pragma once
#include "menu_wrapper.h"
namespace winp::menu{
template <class base_type>
class generic_collection;
template <class base_type>
class generic_collection_base : public base_type{
public:
using m_base_type = base_type;
using item_ptr_type = std::shared_ptr<menu::component>;
using list_type = s... |
// Copyright (c) 2014-2018 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 BITCOIN_CRYPTO_COMMON_H
#define BITCOIN_CRYPTO_COMMON_H
#if defined(HAVE_CONFIG_H)
#include <config/newyorkcoin-conf... |
#pragma once
class FactionConfig {
using FactionMenuValue = MenuUtil::FactionMenuValue;
public:
FactionConfig(std::string a_display_name, FactionMenuValue a_menu)
: _displayName(a_display_name), _menu(a_menu), _displayIsValue(false) {}
FactionConfig(std::string a_display_name, FactionMenuValue a_... |
//*****************************************************************************
// strrchr.c : string function
// 2002/02/04 by Gaku : this is rough sketch
//*****************************************************************************
#include <stddef.h>
//============================================================... |
#pragma once
#include "Common.h"
#include <fstream>
#include <ctime>
#include <locale>
#include <utility>
#include <codecvt>
#include <iomanip>
using namespace winrt::Windows::AI::MachineLearning;
using namespace Windows::Storage::Streams;
// Stores performance information and handles output to the command line and C... |
/*
* FreeRTOS Kernel V10.4.1
* 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... |
//===-- IncompleteSolver.h --------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... |
/*
The MIT License (MIT)
Copyright (c) 2013 Vincent de RIBOU <belzo2005-dolphin@yahoo.fr>
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 rig... |
/**CFile****************************************************************
FileName [abcFxu.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Interface with the fast extract package.]
Author [Alan Mishchenko]
Affiliation [UC Ber... |
#include <stdio.h>
#include <string.h>
#include <conio.h>
#include <stdbool.h>
#include <locale.h>
#include "inne.h"
#include "film.h"
#include "klient.h"
#include "wypozyczenie.h"
// FUNKCJE MENU//
void dodawanie_klient(struct klient **head_klient);
void usuwanie_klient(struct klient **head_klient);
void edytowanie_k... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.