repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
DocDoc-team/DRSDK_Wrapper | TitanFramework.framework/Headers/TitanFramework.h | //
// TitanFramework.h
// TitanFramework
//
// Created by <NAME> on 22.06.2018.
// Copyright © 2018 medlinesoft. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for TitanFramework.
FOUNDATION_EXPORT double TitanFrameworkVersionNumber;
//! Project version string for TitanFramework.
FOUN... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetricaPush/static/YandexMobileMetricaPush.framework/Versions/A/Headers/YandexMobileMetricaPush.h | /*
* Version for iOS
* © 2016-2018 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#if __has_include("YMPYandexMetricaPush.h")
#import "YMPYandexMetricaPush.h"
#import "YMPYand... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/Target Support Files/Pods-DRTMCSDK_Example/Pods-DRTMCSDK_Example-umbrella.h | <filename>Example/Pods/Target Support Files/Pods-DRTMCSDK_Example/Pods-DRTMCSDK_Example-umbrella.h<gh_stars>0
#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_EXP... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetrica/static/YandexMobileMetrica.framework/Versions/A/Headers/YMMCompletionBlocks.h | /*
* Version for iOS
* © 2012–2019 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#ifndef YMMCompletionBlocks_h
#define YMMCompletionBlocks_h
/** Identifiers callback block
@param appMe... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetrica/static/YandexMobileMetrica.framework/Versions/A/Headers/YMMYandexMetricaConfiguration.h | /*
* Version for iOS
* © 2012–2019 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#import <Foundation/Foundation.h>
@class CLLocation;
@class YMMYandexMetricaPreloadInfo;
NS_ASSUME_NONNU... |
DocDoc-team/DRSDK_Wrapper | Example/Frameworks/TitanFramework.framework/Headers/TitanFramework-Swift.h | <filename>Example/Frameworks/TitanFramework.framework/Headers/TitanFramework-Swift.h
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.0.1 effective-4.2 (swiftlang-1001.0.82.4 clang-1001.0.46.5)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"
#if !defined(_... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetricaPush/static/YandexMobileMetricaPush.framework/Versions/A/Headers/YMPVersion.h | <gh_stars>0
/*
* Version for iOS
* © 2016-2018 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#ifndef __YMP_VERSION_H__
#define __YMP_VERSION_H__
#define YMP_VERSION_MAJOR 0
#define ... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetrica/static/YandexMobileMetrica.framework/Versions/A/Headers/YMMVersion.h | <gh_stars>0
/*
* Version for iOS
* © 2012–2019 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#ifndef __YMM_VERSION_H__
#define __YMM_VERSION_H__
#define YMM_VERSION_MAJOR 3
#define YMM_V... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetrica/static/YandexMobileMetrica.framework/Versions/A/Headers/YandexMobileMetrica.h | /*
* Version for iOS
* © 2012–2019 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#if __has_include("YMMYandexMetrica.h")
#import "YMMYandexMetrica.h"
#import "YMMVersion.h"
#i... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetricaPush/static/YandexMobileMetricaPush.framework/Versions/A/Headers/YMPUserNotificationCenterDelegate.h | /*
* Version for iOS
* © 2016-2018 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
#define YMP_USER_NOTIFICATIONS_CENTER_AVAILA... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetrica/static/YandexMobileMetrica.framework/Versions/A/Headers/YMMYandexMetricaReporting.h | /*
* Version for iOS
* © 2012–2019 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#import <Foundation/Foundation.h>
@class YMMUserProfile;
@class YMMRevenueInfo;
NS_ASSUME_NONNULL_BEGIN
... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetricaPush/static/YandexMobileMetricaPush.framework/Versions/A/Headers/YMPYandexMetricaPush.h | <gh_stars>0
/*
* Version for iOS
* © 2016-2018 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#import <Foundation/Foundation.h>
#if __has_include("YMPYandexMetricaPushEnvironment.h")... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetrica/static/YandexMobileMetrica.framework/Versions/A/Headers/YMMUserProfile.h | /*
* Version for iOS
* © 2012–2019 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#import <Foundation/Foundation.h>
@class YMMUserProfileUpdate;
NS_ASSUME_NONNULL_BEGIN
/** The class to... |
DocDoc-team/DRSDK_Wrapper | Example/Pods/YandexMobileMetrica/static/YandexMobileMetrica.framework/Versions/A/Headers/YMMYandexMetrica.h | /*
* Version for iOS
* © 2012–2019 YANDEX
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://yandex.com/legal/appmetrica_sdk_agreement/
*/
#import <Foundation/Foundation.h>
#import "YMMCompletionBlocks.h"
@class CLLocation;
@class YMMYandexMetr... |
Bvxaubet/Projeto-de-sistemas-embarcados | main.c | <gh_stars>0
/**
* \file
*
* \brief FreeRTOS demo application main function.
*
* Copyright (C) 2014-2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll... |
rh-apps/flutter_serviceloader_plugin | ios/Classes/FlutterServiceloaderPlugin.h | <reponame>rh-apps/flutter_serviceloader_plugin
#import <Flutter/Flutter.h>
@interface FlutterServiceloaderPlugin : NSObject<FlutterPlugin>
@end
|
bryanapperson/the-c-programming-language | chapter_1/ex10.c | //
// Created by <NAME> on 12/4/16.
//
#include <stdio.h>
int main() {
/* Print input to output replacing each tab by \t each backspace by
* \b and each backslash by \\.
*
* Note, terminals will eat a backspace. Run like this for a workaround:
* stty -icanon -echo; ./ex1-10; stty icanon echo *... |
bryanapperson/the-c-programming-language | chapter_1/ex1.c | //
// Created by <NAME> on 12/4/16.
//
#include <stdio.h>
int main() {
printf("Hello, world\n");
return 0;
} |
bryanapperson/the-c-programming-language | chapter_1/wc.c | /*
* Created by <NAME> on 12/4/16.
*
* Word count program form section 1.5.4 of K&R C for testing modified to
* return a value to the OS.
* */
#include <stdio.h>
#define IN 1 /* inside a word */
#define OUT 0 /* outside a word */
int main() {
/* count lines, words, and characters in input */
int c, nl, ... |
bryanapperson/the-c-programming-language | chapter_1/ex2.c | //
// Created by <NAME> on 12/4/16.
//
#include <stdio.h>
int main() {
printf("Audible or visual alert. \a\n");
printf("Form feed. \f\n");
printf("This escape, \r, moves the active position to the initial position of the current line.\n");
printf("Vertical tab \v is strange, as its behaviour is unspeci... |
bryanapperson/the-c-programming-language | chapter_1/ex7.c | <filename>chapter_1/ex7.c<gh_stars>0
//
// Created by <NAME> on 11/26/16.
//
#include <stdio.h>
int main() {
/* Print the value of EOF */
printf("%c\n", EOF);
return 0;
}
|
bryanapperson/the-c-programming-language | chapter_1/ex6.c | //
// Created by <NAME> on 12/4/16.
//
#include <stdio.h>
// Copy input to output
int main() {
int c;
while ((c = getchar()) != EOF) {
putchar(c);
}
printf("EOF character is:\n");
putchar(c);
return 0;
}
|
bryanapperson/the-c-programming-language | chapter_1/ex8.c | <reponame>bryanapperson/the-c-programming-language
//
// Created by <NAME> on 11/26/16.
//
#include <stdio.h>
int main() {
// declare counter variables
int newline, tab, blank, c;
// set values to 0
newline = tab = blank = 0;
while ((c = getchar()) != EOF) {
if (c == ' ') {
++... |
bryanapperson/the-c-programming-language | chapter_1/ex3.c | //
// Created by <NAME> on 12/4/16.
//
#include <stdio.h>
int main() {
float fahr, celsius;
int lower, upper, step;
float ratio;
lower = 0;
upper = 300;
step = 20;
ratio = 5.0 / 9.0;
fahr = lower;
printf("This is a simple program that converts\n");
printf("Celsius to Fahrenh... |
bryanapperson/the-c-programming-language | chapter_1/ex11.c | //
// Created by <NAME> on 12/4/16.
//
/* This program should test the wc (word count) program from K&R C section
* 1.5.4
*
* The test cases are as follows:
* 1. We expect to break after 2,147,483,647 characters on an implementation
* where the compiler uses 32 bit for int.
* */
int main() {
// Execute te... |
bryanapperson/the-c-programming-language | chapter_1/ex9.c | //
// Created by <NAME> on 11/27/16.
//
#include <stdio.h>
#define IN 1
#define OUT 0
int main() {
/* Print input to output replacing more then one space with only 1 space */
// declare counter variables
int c, state;
char blank;
blank = ' ';
state = IN;
while ((c = getchar()) != EOF) {
... |
Tyill/marker_and_point | src/gui/wdgPlot.h |
#pragma once
#include <QtWidgets/qwidget.h>
class wdgPlot : public QWidget
{
Q_OBJECT
float _scale = 1.f;
QVector<QPoint> _markers, _points;
public:
wdgPlot(QWidget *parent = 0);
void setMarkers(QVector<QPoint>&& markers);
protected:
void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE;
... |
Tyill/marker_and_point | src/gui/mainwin.h | <gh_stars>0
#ifndef MAINWIN_H
#define MAINWIN_H
#include <QtWidgets/QMainWindow>
#include <QFuture>
#include "ui_mainwin.h"
struct config{
int readPntCnt = 1000;
int maxShowPntCnt = 16000;
int pntSzByte = 4; // byte x+y
};
class MainWin : public QMainWindow{
Q_OBJECT
public:
MainWin(QWidget *pare... |
coreqode/mathlab | src/shader/shader.h | #ifndef SHADER_H
#define SHADER_H
#include <GL/glew.h>
#include <stdio.h>
#include <fstream>
#include <sstream>
#include <iostream>
namespace gl{
class Shader{
public:
Shader(const char* vertexPath, const char* fragmentPath, bool path);
void compile_shaders(const char* vShaderCode... |
coreqode/mathlab | src/util/vertex_array.h | #ifndef VERTEX_ARRAY_H
#define VERTEX_ARRAY_H
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "vertex_buffer.h"
namespace gl{
class VertexArray{
public:
VertexArray(){};
void BindVertexArray();
void GenVertexArray(const unsigned int &ID);
... |
coreqode/mathlab | src/scene/scene.h | <filename>src/scene/scene.h
#ifndef SCENE_H
#define SCENE_H
#include <stdio.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "../shader/shader.h"
namespace gl{
namespace primitive{
enum primT{
line=GL_LINES,
triangle=GL_TRIANGLES
};
} //inner namepspace clo... |
coreqode/mathlab | src/util/vertex_buffer.h | #ifndef VERTEX_BUFFER_H
#define VERTEX_BUFFER_H
namespace gl{
class VertexBuffer{
public:
VertexBuffer(){};
void GenerateBuffers(const unsigned int &ID);
void BindBuffer();
void UnbindBuffer();
void BufferData(const float vertices[], const int si... |
jonandersen/MusicPickerKit | MusicPickerKit/MusicPickerKit.h | <filename>MusicPickerKit/MusicPickerKit.h
//
// MusicPickerKit.h
// MusicPickerKit
//
// Created by <NAME> on 8/10/19.
// Copyright © 2019 Andersen. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for MusicPickerKit.
FOUNDATION_EXPORT double MusicPickerKitVersionNumber;
//! Project ver... |
alkuwara/calculator | src/Calculator/Controls/MathRichEditBox.h | <reponame>alkuwara/calculator<filename>src/Calculator/Controls/MathRichEditBox.h<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "CalcViewModel/Common/Utils.h"
namespace CalculatorApp
{
namespace Controls
{
public
... |
alkuwara/calculator | src/Calculator/Views/GraphingCalculator/GraphingSettings.xaml.h | //
// MyUserControl.xaml.h
// Declaration of the MyUserControl class
//
#pragma once
#include "CalcViewModel/Common/Utils.h"
#include "CalcViewModel/GraphingCalculator/GraphingSettingsViewModel.h"
#include "Views\GraphingCalculator\GraphingSettings.g.h"
#include <CalcViewModel\GraphingCalculator\GraphingCalculatorVie... |
alkuwara/calculator | src/CalcViewModel/GraphingCalculator/VariableViewModel.h | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "../Common/Utils.h"
#include "EquationViewModel.h"
namespace CalculatorApp::ViewModel
{
public
value struct VariableChangedEventArgs sealed
{
Platform::String ^ variabl... |
msaveleva/RSS-Reader | RSS-Reader/FeedSource.h | <reponame>msaveleva/RSS-Reader<gh_stars>0
//
// FeedSource.h
// RSS-Reader
//
// Created by MariaSaveleva on 10/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface FeedSource : NSObject
- (NSString *)srcTitle;
- (NSString *)srcUrlString;
- (instancety... |
msaveleva/RSS-Reader | RSS-Reader/ViewController.h | //
// ViewController.h
// RSS-Reader
//
// Created by MariaSaveleva on 08/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
msaveleva/RSS-Reader | RSS-Reader/SourcesManager.h | <reponame>msaveleva/RSS-Reader
//
// SourcesManager.h
// RSS-Reader
//
// Created by MariaSaveleva on 08/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <Foundation/Foundation.h>
@class FeedItem;
@class FeedSource;
@class Feed;
NS_ASSUME_NONNULL_BEGIN
/// Handle all model changes. Po... |
msaveleva/RSS-Reader | RSS-Reader/FeedViewController.h | <gh_stars>0
//
// FeedViewController.h
// RSS-Reader
//
// Created by MariaSaveleva on 11/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <UIKit/UIKit.h>
@class FeedItem;
@interface FeedViewController : UIViewController
- (void)configureWithFeed:(FeedItem *)feedItem;
@end
|
msaveleva/RSS-Reader | RSS-Reader/SourcesViewController.h | <gh_stars>0
//
// SourcesViewController.h
// RSS-Reader
//
// Created by MariaSaveleva on 11/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SourcesViewController : UIViewController
@end
|
msaveleva/RSS-Reader | RSS-Reader/AppDelegate.h | <reponame>msaveleva/RSS-Reader
//
// AppDelegate.h
// RSS-Reader
//
// Created by MariaSaveleva on 08/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
msaveleva/RSS-Reader | RSS-Reader/FeedItem.h | <filename>RSS-Reader/FeedItem.h
//
// FeedItem.h
// RSS-Reader
//
// Created by MariaSaveleva on 08/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface FeedItem : NSObject
- (nullable NSString *)title;
- (nullable NSString *)fe... |
msaveleva/RSS-Reader | RSS-Reader/ConnectionSerivce.h | <reponame>msaveleva/RSS-Reader
//
// ConnectionSerivce.h
// RSS-Reader
//
// Created by MariaSaveleva on 08/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface ConnectionSerivce : NSObject
/// Load NSData from given URL.
- (voi... |
msaveleva/RSS-Reader | RSS-Reader/MainTableViewCell.h | <reponame>msaveleva/RSS-Reader
//
// MainCollectionViewCell.h
// RSS-Reader
//
// Created by MariaSaveleva on 09/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MainTableViewCell : UITableViewCell
- (void)configureWith:(NSString *)title description:(NSString... |
msaveleva/RSS-Reader | RSS-Reader/Feed.h | //
// Feed.h
// RSS-Reader
//
// Created by MariaSaveleva on 10/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <Foundation/Foundation.h>
@class FeedItem;
@class FeedSource;
NS_ASSUME_NONNULL_BEGIN
@interface Feed : NSObject
- (FeedSource *)source;
- (NSArray <FeedItem *> *)feedItem... |
msaveleva/RSS-Reader | RSS-Reader/RSSParserService.h | //
// RSSParserService.h
// RSS-Reader
//
// Created by MariaSaveleva on 08/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <Foundation/Foundation.h>
@class FeedItem;
@class FeedSource;
@class RSSParserService;
@protocol RSSParserServiceDelegate <NSObject>
- (void)handleParsedData:(N... |
msaveleva/RSS-Reader | RSS-Reader/Constants.h | //
// Constants.h
// RSS-Reader
//
// Created by MariaSaveleva on 09/02/2017.
// Copyright © 2017 MariaSaveleva. All rights reserved.
//
#import <Foundation/Foundation.h>
//Notifications
extern NSString * const kNotificationRSSDataUpdated;
//Segue
extern NSString * const kFeedControllerSegueId;
|
usbong/story | UsbongUtils.h | /*
* Copyright 2020~2021 SYSON, <NAME>.
* 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... |
usbong/story | PolygonUtils.h | /*
* Copyright 2020~2021 Usbong Social Systems, 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 appl... |
usbong/story | Level.h | /*
* Copyright 2020~2021 SYSON, <NAME>.
* 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... |
usbong/story | Beam.h | <reponame>usbong/story
/*
* Copyright 2020~2021 SYSON, <NAME>.
* 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 requi... |
usbong/story | ModelPool.h | /*
* Copyright 2021 USBONG SOCIAL SYSTEMS, INC. (USBONG)
* 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 requ... |
WaizungTaam/Deep-AutoEncoder-Network | src/deep_ae.h | /*
Copyright 2016 WaizungTaam. All rights reserved.
License: Apache License 2.0
Email: <EMAIL>
Creation time: 2016-07-16
Last modified: 2016-07-17
Reference: <NAME>., & <NAME>. (2006).
Reducing the dimensionality of data with neural networks.
Science, 313(5786), 504-507.
*/
// ... |
WaizungTaam/Deep-AutoEncoder-Network | src/math/utils.h | <reponame>WaizungTaam/Deep-AutoEncoder-Network<filename>src/math/utils.h
/*
Copyright 2016 WaizungTaam. All rights reserved.
License: Apache License 2.0
Email: <EMAIL>
*/
#include <cmath>
#include <string>
#include "vector.h"
#include "matrix.h"
namespace nn {
Vector _forall(const Vector &, double (*pf)(double)... |
tiagomfmadeira/Open3D | cpp/open3d/t/geometry/kernel/ImageImpl.h | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018-2021 www.open3d.org
//
// Perm... |
tiagomfmadeira/Open3D | cpp/open3d/core/SizeVector.h | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018-2021 www.open3d.org
//
// Perm... |
k-allard/get_next_line | get_next_line_utils.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_utils.c :+: :+: :+: ... |
k-allard/get_next_line | main_multi_fd.c | #include "get_next_line.h"
#include <stdio.h>
int main()
{
char *line;
int fd1;
int fd2;
int gnl;
int end1 = 0;
int end2 = 0;
fd1 = open("text1.txt", O_RDONLY);
fd2 = open("text2.txt", O_RDONLY);
// read and print 1 line from each file by turns, till EOF is reached in both files
while (!end1 |... |
k-allard/get_next_line | get_next_line.h | <reponame>k-allard/get_next_line
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h ... |
k-allard/get_next_line | main.c | #include "get_next_line.h"
#include <stdio.h>
#include <string.h>
int main(int argc, char* argv[])
{
char *line;
int fd1;
int gnl;
if (argc == 0)
printf("No args.");
fd1 = open(argv[1], O_RDONLY);
gnl = get_next_line(fd1, &line);
while (gnl == 1)
{
printf("[%s]\n", line);
free(line);
gnl = ge... |
storaged-project/api-examples | demo-1-libblockdev.c | #include <blockdev/blockdev.h>
#include <blockdev/crypto.h>
#include <blockdev/fs.h>
#include <blockdev/lvm.h>
#include <blockdev/swap.h>
#include <glib.h>
#include <stdio.h>
#include <unistd.h>
#define VGNAME "demo_1_libblockdev"
#define SWAPNAME "swap"
#define SWAPLABEL "demoswap"
#define DATANAME "data"
#define DAT... |
storaged-project/api-examples | demo-1-progress.c | /**
* An example of a progress for e2fsck in libblockdev.
*/
#include <blockdev/blockdev.h>
#include <blockdev/fs.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
/**
* A callback for a status report, passed to libblockdev.
*/
void prog_report(guint64 task_id, BDUtilsProgStatus status, guint8 completi... |
nathanwblair/object | object.h | <gh_stars>0
#pragma once
template<typename T1, typename T2, typename... Args>
void I(T1* target, T1& value, T2& next, Args&... args);
template<typename T1, typename... Args>
void I(T1* target, T1& value, Args&... args);
template<typename O, typename T1, typename... Args>
O* I(Args&... args);
template<typename O>
v... |
ALEHACKsp/kernel-injector | InjDrv/definitions.h | <reponame>ALEHACKsp/kernel-injector<gh_stars>1-10
#pragma once
#include <ntdef.h>
#include <ntifs.h>
#include <ntddk.h>
//most of those structures comes from http://nirsoft.net/
typedef unsigned long long QWORD;
typedef unsigned short WORD;
typedef struct _RTL_PROCESS_MODULE_INFORMATION
{
HANDLE Sectio... |
ALEHACKsp/kernel-injector | InjDrv/main.c | <filename>InjDrv/main.c
#include "definitions.h"
#include "ioctls.h"
#define drv_device L"\\Device\\injdrv"
#define drv_dos_device L"\\DosDevices\\injdrv"
#define drv L"\\Driver\\injdrv"
PDEVICE_OBJECT driver_object;
UNICODE_STRING dev, dos;
NTSTATUS unload_driver(PDRIVER_OBJECT driver);
NTSTATUS ioctl_c... |
ALEHACKsp/kernel-injector | InjDrv/ioctls.h | #pragma once
#include "definitions.h"
#define ioctl_read_memory CTL_CODE(FILE_DEVICE_UNKNOWN, 0x808, METHOD_BUFFERED, FILE_SPECIAL_ACCESS)
#define ioctl_write_memory CTL_CODE(FILE_DEVICE_UNKNOWN, 0x809, METHOD_BUFFERED, FILE_SPECIAL_ACCESS)
#define ioctl_get_module_base CTL_CODE(FILE_DEVICE_UNKNOWN, 0x810, METHOD_B... |
ALEHACKsp/kernel-injector | mmap/utils.h | <gh_stars>10-100
#pragma once
#include <Windows.h>
#include <cstdint>
#include <TlHelp32.h>
bool is_process_running(const char* process_name, uint32_t& pid); |
mandrigin/sentry-cocoa | Sources/SentryCrash/Recording/Tools/SentryHook.c | #include "SentryHook.h"
#include "fishhook.h"
#include <dispatch/dispatch.h>
#include <execinfo.h>
#include <mach/mach.h>
#include <pthread.h>
// NOTE on accessing thread-locals across threads:
// We save the async stacktrace as a thread local when dispatching async calls,
// but the various crash handlers need to acc... |
huangsongyao/HSYMethodsToolsKit | HSYMethodsToolsKit/Classes/UIKit/UIView/UIView+GradientColor.h | <reponame>huangsongyao/HSYMethodsToolsKit<filename>HSYMethodsToolsKit/Classes/UIKit/UIView/UIView+GradientColor.h<gh_stars>0
//
// UIView+GradientColor.h
// HSYMethodsToolsKit
//
// Created by huangsongyao on 2020/3/9.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, HSYGradientColor... |
huangsongyao/HSYMethodsToolsKit | HSYMethodsToolsKit/Classes/UIKit/UIImage/UIImage+MixColors.h | <gh_stars>0
//
// UIImage+MixColors.h
// HSYMethodsToolsKit
//
// Created by huangsongyao on 2020/3/9.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIImage (MixColors)
/// 绘制多重混合颜色的图片,方向为45度角
/// @param colors 颜色集合
/// @param size 图片的size
+ (UIImage *)hsy_imageWithMixColors:(NSArray *)colors siz... |
huangsongyao/HSYMethodsToolsKit | HSYMethodsToolsKit/Classes/UIKit/UITextView/UITextView+Calculated.h | //
// UITextView+Calculated.h
// HSYMethodsToolsKit
//
// Created by huangsongyao on 2020/3/9.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UITextView (Calculated)
/// 计算UITextView真实的显示高度
/// @param displayWidths 真实的最大显示区域的宽度
- (CGSize)hsy_calculatedConstainsRealSize:(CGFloat)displayWidths;
///... |
huangsongyao/HSYMethodsToolsKit | Example/HSYMethodsToolsKit/HSYBViewController.h | <filename>Example/HSYMethodsToolsKit/HSYBViewController.h
//
// HSYBViewController.h
// HSYMethodsToolsKit_Example
//
// Created by anmin on 2019/12/7.
// Copyright © 2019 <EMAIL>. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface HSYBViewController : UIViewController
@end
NS_A... |
fuchg3/sysuh3c | src/eapauth/eapdef.h | #ifndef __EAPDEF_H__
#define __EAPDEF_H__
#include <stdint.h>
#include <arpa/inet.h>
#include <utility>
#include <string>
#include <array>
#include <vector>
#include <memory>
#include <iostream>
namespace sysuh3c {
// Constants
// References : http://tools.ietf.org/html/rfc3748
static const uint16_t ETHERTYPE_PAE = ... |
fuchg3/sysuh3c | src/eapauth/eapauth.h | <reponame>fuchg3/sysuh3c
#pragma once
#include "eapdef.h"
#include <functional>
#include <iostream>
#include <stdexcept>
#include <vector>
#include <array>
#include "eaputils.h"
namespace sysuh3c {
class EAPAuth {
public:
EAPAuth(const std::string &, const std::string &, const std::string &, eap_method);
~EA... |
fuchg3/sysuh3c | src/eapauth/eaputils.h | /*
* =====================================================================================
*
* Filename: eaputils.h
*
* Description: utilities
*
* Version: 1.0
* Created: 2013年08月18日 02时02分51秒
* Revision: none
* Compiler: gcc
*
* Author: <NAME>
* Organiza... |
fordsfords/adv1 | adv1.c | <filename>adv1.c
/* adv1.c */
/*
# This code and its documentation is Copyright 2021 <NAME>, http://geeky-boy.com
# and licensed "public domain" style under Creative Commons "CC0": http://creativecommons.org/publicdomain/zero/1.0/
# To the extent possible under law, the contributors to this project have
# waived all co... |
fordsfords/adv1 | adv1.h | /* adv1.h */
/*
# This code and its documentation is Copyright 2021 <NAME>, http://geeky-boy.com
# and licensed "public domain" style under Creative Commons "CC0": http://creativecommons.org/publicdomain/zero/1.0/
# To the extent possible under law, the contributors to this project have
# waived all copyright and relat... |
lightning-project/lightning | lightning-codegen/resources/lightning.h | #ifndef LIGHTNING_H
#define LIGHTNING_H
#include <cassert>
#include <stdio.h>
#include <stdint.h>
#include <complex.h>
#include <cmath>
#define LIGHTNING_DEVICE __device__ __forceinline__
#define LIGHTNING_HOST_DEVICE __host__ __device__ __forceinline__
#define LIGHTNING_HOST_DEVICE_NOINLINE __host__ __device__ __noi... |
rav3r/flutter | dev/integration_tests/ios_add2app/Pods/EarlGrey/EarlGrey/EarlGrey.framework/PrivateHeaders/UIViewController+GREYAdditions.h | //
// Copyright 2016 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... |
rav3r/flutter | dev/integration_tests/ios_add2app/Pods/EarlGrey/EarlGrey/EarlGrey.framework/PrivateHeaders/GREYPinchAction.h | //
// Copyright 2016 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... |
rav3r/flutter | dev/integration_tests/ios_add2app/Pods/EarlGrey/EarlGrey/EarlGrey.framework/Headers/GREYAction.h | <reponame>rav3r/flutter
//
// Copyright 2016 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 app... |
rav3r/flutter | dev/integration_tests/ios_add2app/Pods/Headers/Public/EarlGrey/EarlGrey/GREYElementHierarchy.h | //
// Copyright 2016 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... |
rav3r/flutter | dev/integration_tests/ios_add2app/Pods/EarlGrey/EarlGrey/EarlGrey.framework/PrivateHeaders/GREYAnalytics.h | //
// Copyright 2016 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... |
KPO-2020-2021/zad5_3-ArturZiolkowski1999 | inc/SceneObject.h | #pragma once
#include <fstream>
#include "Vector3D.h"
#include "Matrix3x3.h"
class SceneObject{
protected:
static int Total;
std::string fileNameOfModel;
std::string fileNameOfBlock;
Matrix3x3 orientation;
vector3D positionOfCenterOfMass;
vector3D vertices[VERTICES_NUMBER_OF_CUBOID];
doubl... |
KPO-2020-2021/zad5_3-ArturZiolkowski1999 | inc/Drone.h | <filename>inc/Drone.h
//
// Created by artur on 5/10/21.
//
#ifndef DRONE_SCENE_DRONE_H
#define DRONE_SCENE_DRONE_H
#include "Cuboid.h"
#include "HexagonalPrism.h"
#include "Vector3D.h"
#include "SceneObject.h"
class Drone :public SceneObject{
protected:
Cuboid deck;
HexagonalPrism rotors[NUMBER_OF_ROTORS];
p... |
nefarius/ws_intercept | source/ws.h | #ifndef WS_SEND_H
#define WS_SEND_H
#include <windows.h>
#include "list.h"
#ifdef __cplusplus
#define EXT extern "C"
#else
#define EXT
#endif
#ifdef EXPORT
#define LIBVAR __declspec(dllexport)
#define LIBAPI EXT LIBVAR
#else
#define LIBVAR __declspec(dllimport)
#define LIBAPI EXT LIBVAR
#endif
typedef void (WINAPI ... |
nefarius/ws_intercept | source/ws.c | <filename>source/ws.c
#include <winsock2.h>
#include <windows.h>
#include <psapi.h>
#include <stdio.h>
#include "ws.h"
#include "misc.h"
#include "plugins.h"
#include "list.h"
#define MAX_PACKET 4096
typedef int (WINAPI *tWS)(SOCKET, const char*, int, int); //For base functions
static DWORD WINAPI initialize(LPVOID... |
nefarius/ws_intercept | source/plugins/ffxiv_pkt_log/log.c | #include <winsock2.h>
#include <windows.h>
#include <stdio.h>
#include <stdint.h>
#include <zlib.h>
#include "log.h"
static DWORD WINAPI setup_console(LPVOID param);
void WINAPI log_ws(SOCKET *s, const char *buf, int *len, int *flags);
int UncompressData( const unsigned char* abSrc, int nLenSrc, unsigned char* abDst,... |
nefarius/ws_intercept | source/plugins/log/log.h | #ifndef LOG_H
#define LOG_H
#include <stdio.h>
#include "../../ws.h"
#define LOGGING 1 //TODO: Just add a makefile option for this
#ifndef LOGGING
#define LOG(x,...) do { printf(x, ##__VA_ARGS__); printf("\n"); } while(0)
#define LOGn(x,...) do { printf(x, ##__VA_ARGS__); } while(0) //Log without newline
#elif LOG... |
nefarius/ws_intercept | source/misc.c | #include <windows.h>
#include "misc.h"
//***************************
//http://stackoverflow.com/questions/13026220/c-function-hook-memory-address-only
#pragma pack(1)
struct patch_t
{
BYTE nPatchType; //OP code, 0xE9 for JMP
DWORD dwAddress;
};
#pragma pack()
BOOL apply_patch(BYTE eType, DWORD dwAddress, cons... |
nefarius/ws_intercept | source/plugins.c | #include <windows.h>
#include <dirent.h>
#include <string.h>
#include "plugins.h"
void load_plugins(LPCTSTR directory, struct WS_plugins *list)
{
DIR *dir;
struct dirent *ent;
struct WS_plugins *t;
if ((dir = opendir(directory)) != NULL)
{
while((ent = readdir(dir)) != NULL)
{
char *str = (char*)calloc... |
nefarius/ws_intercept | source/plugins/log/log.c | #include <winsock2.h>
#include <windows.h>
#include "log.h"
static DWORD WINAPI setup_console(LPVOID param);
static DWORD WINAPI console_handler(LPVOID param);
void WINAPI log_ws(SOCKET *s, const char *buf, int *len, int *flags);
static DWORD threadIDConsole = 0;
static DWORD plugin_id_send = 0;
static DWORD plugin... |
nefarius/ws_intercept | source/plugins.h | #ifndef PLUGINS_H
#define PLUGINS_H
#include "ws.h"
void load_plugins(LPCTSTR, struct WS_plugins*);
#endif //PLUGINS_H
|
nefarius/ws_intercept | source/plugins/ffxiv_pkt_log_2/log.h | #ifndef LOG_H
#define LOG_H
#include <stdio.h>
#include "../../ws.h"
#include "../../list.h"
#define LOG(x,...) do { __mingw_printf(x, ##__VA_ARGS__); __mingw_printf("\n"); } while(0)
#define LOGn(x,...) __mingw_printf(x, ##__VA_ARGS__) //Log without newline
#define CHUNK 262144
struct buffer_list
{
uint64_t time;... |
nefarius/ws_intercept | source/misc.h | #ifndef MISC_H
#define MISC_H
BOOL apply_patch(BYTE eType, DWORD dwAddress, const void *pTarget,DWORD *orig_size, BYTE *replaced);
void exec_copy(DWORD addr, BYTE *replaced, DWORD orig_size);
#endif |
nefarius/ws_intercept | source/plugins/ffxiv_pkt_log/log.h | #ifndef LOG_H
#define LOG_H
#include <stdio.h>
#include "../../ws.h"
#define LOG(x,...) do { __mingw_printf(x, ##__VA_ARGS__); __mingw_printf("\n"); } while(0)
#define LOGn(x,...) do { __mingw_printf(x, ##__VA_ARGS__); } while(0) //Log without newline
#endif //LOG_H
|
nefarius/ws_intercept | source/plugins/ffxiv_pkt_log_2/log.c | #include <winsock2.h>
#include <windows.h>
#include <stdio.h>
#include <stdint.h>
#include <zlib.h>
#include <string.h>
#include "log.h"
static DWORD WINAPI setup(LPVOID param);
static DWORD WINAPI handle_buf(LPVOID param);
void WINAPI log_ws(SOCKET *s, const char *buf, int *len, int *flags);
int UncompressData( cons... |
JasonPuglisi/slammin-watchface | src/slammin_watchface.c | #include <pebble.h>
Window *window;
InverterLayer *inverter_layer;
TextLayer *header_text_layer;
char header_buffer[] = "Today is Sun";
TextLayer *intro_text_layer;
char intro_buffer[] = "What time is it?";
TextLayer *hour_text_layer;
char hour_buffer[] = "00";
TextLayer *colon_text_layer;
char colon_buffer[] = ":";
... |
NegarSaeidi/3D_DoodleJump | Game.h | <filename>Game.h
#include "Ogre.h"
#include "OgreApplicationContext.h"
#include "OgreInput.h"
#include "OgreRTShaderSystem.h"
#include "Platform.h"
#include "Doodle.h"
#include "Bounds.h"
#include "SoundManager.h"
#include <stack>
#include "OgreTrays.h"
#include <iostream>
using namespace Ogre;
using namespace OgreBi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.