repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
minnonymous/tcpcrypt | user/src/cygwin.c | <reponame>minnonymous/tcpcrypt
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <winsock2.h>
#include <windows.h>
#include <iphlpapi.h>
#include "inc.h"
#include "tcpcrypt_divert.h"
#include "tcpcryptd.h"
#include <windivert.h>
#define MA... |
minnonymous/tcpcrypt | user/util/tcs.c | <gh_stars>100-1000
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <stdint.h>
#include "src/inc.h"
#include "src/tcpcryptd.h"
#include "src/tcpcrypt.h"
#include "src/tcpcrypt_ctl.h"
#include "src/tcpcrypt_strings.h"
static const char *_bind_ip = "0.0.0.0";
en... |
minnonymous/tcpcrypt | user/src/tcpcrypt_version.h | <reponame>minnonymous/tcpcrypt
#ifndef __SRC_TCPCRYPT_VERSION_H__
#define __SRC_TCPCRYPT_VERSION_H__
#define TCPCRYPT_VERSION "0.2"
#endif /* __SRC_TCPCRYPT_VERSION_H__ */
|
minnonymous/tcpcrypt | user/src/crypto.c | <filename>user/src/crypto.c
#include <sys/time.h>
#include <time.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "inc.h"
#include "tcpcrypt_ctl.h"
#include "tcpcrypt.h"
#include "tcpcryptd.h"
#include "crypto.h"
static struct cipher_list _ciphers;
struct... |
minnonymous/tcpcrypt | enc.c | //Simple C program to encrypt and decrypt a string
#include <stdio.h>
int main()
{
int i, x;
char str[100];
printf("\nPlease enter a string:\t");
gets(str);
printf("\nPlease choose following options:\n");
printf("1 = Encrypt the string.\n");
printf("2 = Decrypt the string.\n");
scanf("%d", &... |
minnonymous/tcpcrypt | user/src/crypto_reg.c | #include <stdint.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <openssl/rsa.h>
#include <openssl/err.h>
#include "inc.h"
#include "tcpcrypt_ctl.h"
#include "tcpcrypt.h"
#include "tcpcryptd.h"
#include "crypto.h"
#include "profile.h"
static struct crypt_... |
minnonymous/tcpcrypt | user/contrib/win_port.h | <reponame>minnonymous/tcpcrypt
/*
* Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions ... |
minnonymous/tcpcrypt | user/lib/sockopt.c | #include <stdint.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <tcpcrypt/tcpcrypt.h>
#include "src/tcpcrypt_ctl.h"
#define MAX_LEN 1200
#define TCP_CRYPT 15
#ifndef SOL_TCP
#define SOL_TC... |
minnonymous/tcpcrypt | user/src/tcpcrypt.h | <filename>user/src/tcpcrypt.h<gh_stars>100-1000
#ifndef __SRC_TCPCRYPT_H__
#define __SRC_TCPCRYPT_H__
#include <tcpcrypt/tcpcrypt.h>
#include "tcpcrypt_ctl.h"
#include "tcpcrypt_version.h"
#define TC_DUMMY 0x69
enum {
TC_CIPHER_OAEP_RSA_3 = 0x0100,
TC_CIPHER_ECDHE_P256 = 0x0200,
TC_CIPHER_ECDHE_P521 = 0x0201,
};
... |
minnonymous/tcpcrypt | user/src/crypto_rsa.c | <gh_stars>100-1000
#include <stdint.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include <openssl/rsa.h>
#include <openssl/err.h>
#include "inc.h"
#include "tcpcrypt_ctl.h"
#include "tcpcrypt.h"
#include "tcpcryptd.h"
#include "crypto.h"
#in... |
minnonymous/tcpcrypt | contrib/winlauncher/tcpcrypt.c | #include <windows.h>
#include <stdio.h>
#include <devguid.h>
#include "resource.h"
#include "../../user/src/tcpcrypt_version.h"
#define COBJMACROS
#define WM_TERM (WM_APP + 1)
static HANDLE _tcpcryptd = INVALID_HANDLE_VALUE;
static HWND _hwnd;
static HINSTANCE _hinstance;
static NOTIFYICONDATA _nid[2];
static NOTIF... |
minnonymous/tcpcrypt | user/src/mingw.c | <reponame>minnonymous/tcpcrypt
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdint.h>
#include "inc.h"
#include "tcpcrypt_divert.h"
#include "tcpcryptd.h"
#include <windivert.h>
#define MAC_SIZE 14
static HANDLE _h;
static WINAPI DWORD reader(void *arg... |
minnonymous/tcpcrypt | user/src/crypto_aes.c | <reponame>minnonymous/tcpcrypt<gh_stars>100-1000
#include <stdint.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include <openssl/evp.h>
#include "inc.h"
#include "tcpcrypt_ctl.h"
#include "tcpcrypt.h"
#include "tcpcryptd.h"
#include "crypto.h... |
minnonymous/tcpcrypt | user/src/tcpcrypt.c | #include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <time.h>
#include "inc.h"
#include "tcpcrypt.h"
#include "tcpcrypt_divert.h"
#include "tcpcryptd.h"
#include "crypto.h"
#include "profile.h"
#include "checksum.h"
#include "test.h"
struct con... |
minnonymous/tcpcrypt | user/src/crypto.h | #ifndef __TCPCRYPT_CRYPTO_H__
#define __TCPCRYPT_CRYPTO_H__
typedef void *(*crypt_ctr)(void);
enum {
TYPE_PKEY = 0,
TYPE_SYM,
};
struct cipher_list {
unsigned int c_id;
int c_type;
crypt_ctr c_ctr;
struct cipher_list *c_next;
};
extern struct cipher_list *crypt_cipher_list(void);
/* low-level interface *... |
minnonymous/tcpcrypt | user/src/freebsd.c | <gh_stars>100-1000
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <stdlib.h>
#include <string.h>
#include <err.h>
#include <unistd.h>
#include "tcpcrypt_divert.h"
#include "tcpcryptd.h"
static int _s;
stati... |
minnonymous/tcpcrypt | user/src/crypto_hmac.c | #include <stdint.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <openssl/hmac.h>
#include "inc.h"
#include "tcpcrypt_ctl.h"
#include "tcpcrypt.h"
#include "tcpcryptd.h"
#include "crypto.h"
#include "profile.h"
#define MAC_SIZE 32
struct hmac_priv {
HMA... |
raindust/incubator-teaclave-sgx-sdk | samplecode/psi/GoogleMessages/Messages.pb.h | <filename>samplecode/psi/GoogleMessages/Messages.pb.h
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Messages.proto
#ifndef PROTOBUF_Messages_2eproto__INCLUDED
#define PROTOBUF_Messages_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION ... |
PelionIoT/pelion-client-lite-example | update_default_resources.c | <reponame>PelionIoT/pelion-client-lite-example
//----------------------------------------------------------------------------
// The confidential and proprietary information contained in this file may
// only be used by a person authorised under and to the extent permitted
// by a subsisting licensing agreement from AR... |
PelionIoT/pelion-client-lite-example | source/fota_platform.c | // ----------------------------------------------------------------------------
// Copyright 2020 ARM Ltd.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the L... |
Orelik11/learning | FutureExpenses/FutureExpenses/User.h | #ifndef __USER_H__
#define __USER_H__
#include <ctime>
#include <string>
class User
{
private:
struct expenses {
tm _day_of_spend; //time when you spent the money
unsigned int _sum; // amount of money
string _desc; // why you spend them
string _category; // for reporting
};
struct incomes {
tm _day_... |
Orelik11/learning | static_function/static_function/class1.h | #ifndef __CLASS_1_H__
#define __CLASS_1_H__
class CppStudio
{
public:
//int class_counter;
CppStudio();
~CppStudio();
};
#endif |
Orelik11/learning | static classes/static classes/CppStudio.h | #pragma once
class CppStudio
{
private:
static unsigned int count;
public :
CppStudio();
~CppStudio();
static unsigned int CppStudio::getCount();
};
|
Orelik11/learning | test library/test library/Print.h | #ifndef __LIB_H__
#define __LIB_H__
#include <iostream>
namespace Print
{
void print()
{
std::cout << "Function print in namespace Print\n";
}
}
#endif // __LIB_H__
|
schizobovine/pidplate | firmware/simulator/PID_Simulator.h | #ifndef __PID_SIMULATOR_H
#define __PID_SIMULATOR_H
#include <stdint.h>
#include "usec.h"
// Heat "realized" (i.e., made visible to temperature probe) per second (J/s).
// This allows a rough approximation of the heat transfer between the coil and
// the plate.
const double VESTING_RATE = 50.0;
// Specific heat capa... |
schizobovine/pidplate | firmware/logger/pidplate.h | #ifndef __PIDPLATE_H
#define __PIDPLATE_H
//
// Pins used for thermocouple sensor
//
const int THERMO_DO = 8;
const int THERMO_CS = 9;
const int THERMO_CLK = 10;
const int SSR = 3;
//
// Various constants for the OLED display
//
const int DISPLAY_RST = A3;
const int DISPLAY_TEXTSIZE = 1;
const int DISPLAY_COLOR = W... |
schizobovine/pidplate | firmware/simulator/PID_Controller.h | <filename>firmware/simulator/PID_Controller.h
#ifndef __PID_CONTROLLER_H
#define __PID_CONTROLLER_H
#include "usec.h"
class PIDController {
public:
/**
* Constructor.
*
* @param input Input variable (aka controlled or process variable (CV/PV)
* @param output Output variable (aka manipulate... |
schizobovine/pidplate | firmware/controller/pidplate.h | <gh_stars>0
#ifndef __PIDPLATE_H
#define __PIDPLATE_H
//
// Pins used for thermocouple sensor
//
const int THERMO_DO = 8;
const int THERMO_CS = 9;
const int THERMO_CLK = 10;
const int SSR = 3;
//
// Various constants for the OLED display
//
const int DISPLAY_RST = A3;
const int DISPLAY_TEXTSIZE = 1;
const int DISPL... |
GeekerHuang/GKHWebImage | GKHWebImageUtils/GKHWebImageOperationProtocol.h | <filename>GKHWebImageUtils/GKHWebImageOperationProtocol.h<gh_stars>1-10
//
// GKHWebImageOperation.h
// GKHWebImage
//
// Created by huangshuai on 16/8/24.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol GKHWebImageOperationProtocol <NSObject>
- (void)cancel;
@end
|
GeekerHuang/GKHWebImage | GKHWebImageCategories/UIImageView+GKHHighlightedWebCache.h | <gh_stars>1-10
//
// UIImageView+GKHHighlightedWebCache.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImageView (GKHHighlightedWebCache)
@end
|
GeekerHuang/GKHWebImage | GKHWebImageCategories/UIView+GKHWebCacheOperation.h | <reponame>GeekerHuang/GKHWebImage<gh_stars>1-10
//
// UIView+GKHWebCacheOperation.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (GKHWebCacheOperation)
@end
|
GeekerHuang/GKHWebImage | GKHWebImageDownloader/GKHWebImageDowloaderImplement/GKHWebImageDownloaderImageProcessor.h | <reponame>GeekerHuang/GKHWebImage
//
// GKHWebImageDownloaderImageProcessor.h
// GKHWebImage
//
// Created by huangshuai on 16/9/19.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GKHWebImageDownloader.h"
@interface GKHWebImageDownloaderImageProcessor : NSObject
@pro... |
GeekerHuang/GKHWebImage | GKHWebImageCategories/MKAnnotationView+GKHWebCache.h | <filename>GKHWebImageCategories/MKAnnotationView+GKHWebCache.h
//
// MKAnnotationView+GKHWebCache.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GKH. All rights reserved.
//
#import "MapKit/MapKit.h"
@interface MKAnnotationView (GKHWebCache)
@end
|
GeekerHuang/GKHWebImage | GKHWebImageDownloader/GKHWebImageDowloaderImplement/GKHWebImageDownloaderOperation.h | <filename>GKHWebImageDownloader/GKHWebImageDowloaderImplement/GKHWebImageDownloaderOperation.h
//
// GKHWebImageDownloaderOperation.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GKHWebImageOperationProtocol.h"
#... |
GeekerHuang/GKHWebImage | GKHWebImageCache/GKHWebImageMemoryCache.h | //
// GKHWebImageMemoryCache.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface GKHWebImageMemoryCache : NSObject
@end
|
GeekerHuang/GKHWebImage | GKHWebImageCache/GKHWebImageDiskCache.h | //
// GKHWebImageDiskCache.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface GKHWebImageDiskCache : NSObject
@end
|
GeekerHuang/GKHWebImage | GKHWebImageProcessor/GKHWebImageDecode.h | <gh_stars>1-10
//
// GKHWebImageDecode.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GeekHuang. All rights reserved.
//
#ifndef GKHWebImageDecode_h
#define GKHWebImageDecode_h
#import <UIKit/UIImage.h>
extern UIImage* GKHWebImageDecodedImageWithImage(UIImage *image);
#endif /* GK... |
GeekerHuang/GKHWebImage | GKHWebImageDownloader/GKHWebImageDownloader.h | //
// GKHWebImageDownloader.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "GKHWebImageOperationProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@class GKHWebImageDowloaderProgressiveObject;
@class GK... |
GeekerHuang/GKHWebImage | GKHWebImageUtils/GKHWebImageUtils.h | //
// GKHWebImageUtils.h
// GKHWebImage
//
// Created by huangshuai on 16/8/26.
// Copyright © 2016年 GKH. All rights reserved.
//
#ifndef GKHWebImageUtils_h
#define GKHWebImageUtils_h
#define GKHWebImageCreateLock dispatch_semaphore_create(1)
#define GKHWebImageLock(semaphore) dispatch_semaphore_wait(semaphore,... |
GeekerHuang/GKHWebImage | GKHWebImageCategories/UIImageView+GKHWebCache.h | <reponame>GeekerHuang/GKHWebImage
//
// UIImageView+GKHWebCache.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImageView (GKHWebCache)
@end
|
GeekerHuang/GKHWebImage | GKHWebImageDownloader/GKHWebImageDowloaderImplement/GKHWebImageDowloaderErrorFactory.h | //
// GKHWebImageDowloaderErrorFactory.h
// GKHWebImage
//
// Created by huangshuai on 16/10/2.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSUInteger, GKHWebImageDownloaderCompletedErrorCode){
GKHWebImageDownloaderCompletedNone,
GKHWebImageDownloade... |
GeekerHuang/GKHWebImage | GKHWebImage/GKHWebImage.h | //
// GKHWebImage.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GeekHuang. All rights reserved.
//
#ifndef GKHWebImage_h
#define GKHWebImage_h
#endif /* GKHWebImage_h */
|
GeekerHuang/GKHWebImage | GKHWebImageCategories/UIButton+GKHWebCache.h | //
// UIButton+GKHWebCache.h
// GKHWebImage
//
// Created by huangshuai on 16/8/21.
// Copyright © 2016年 GKH. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIButton (GKHWebCache)
@end
|
yesencai/DLSegmentBar | DLSegmentBar/Classes/DLSegmentBar/UIView+DLSegmentBar.h | <filename>DLSegmentBar/Classes/DLSegmentBar/UIView+DLSegmentBar.h
//
// UIView+DLSegmentBar.h
//
// Created by <EMAIL> on 16/8/2.
// Copyright © 2016年 <EMAIL>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (DLSegmentBar)
@property (nonatomic, assign) CGFloat dl_x;
@property (nonatomic, assign... |
yesencai/DLSegmentBar | DLSegmentBar/Classes/DLSegmentBar/DLSementBarVC.h | <reponame>yesencai/DLSegmentBar
//
// XMGSementBarVC.h
// XMGSegmentBar
//
// Created by <EMAIL> on 2016/11/26.
// Copyright © 2016年 <EMAIL>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "DLSegmentBar.h"
@interface DLSementBarVC : UIViewController
@property (nonatomic, weak) DLSegmentBar *segmentBar;
... |
yesencai/DLSegmentBar | Example/Pods/Target Support Files/DLSegmentBar/DLSegmentBar-umbrella.h | <reponame>yesencai/DLSegmentBar
#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
#import "DLSegmentBar.h"
#import "DLSegmentBarConfig.h"
#import "DLSementBarVC.h"
#import "UI... |
yesencai/DLSegmentBar | DLSegmentBar/Classes/DLSegmentBar/DLSegmentBar.h | //
// DLSegmentBar.h
// DLSegmentBar
//
// Created by <EMAIL> on 2016/11/26.
// Copyright © 2016年 <EMAIL>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "DLSegmentBarConfig.h"
@class DLSegmentBar;
@protocol DLSegmentBarDelegate <NSObject>
/**
代理方法, 告诉外界, 内部的点击数据
@param segmentBar segmentBar
@param ... |
yesencai/DLSegmentBar | Example/DLSegmentBar/DLViewController.h | <reponame>yesencai/DLSegmentBar
//
// DLViewController.h
// DLSegmentBar
//
// Created by <EMAIL> on 05/22/2017.
// Copyright (c) 2017 <EMAIL>. All rights reserved.
//
@import UIKit;
@interface DLViewController : UIViewController
@end
|
yesencai/DLSegmentBar | Example/Pods/Target Support Files/Pods-DLSegmentBar_Example/Pods-DLSegmentBar_Example-umbrella.h | #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 Pods_DLSegmentBar_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_DLSegmentBar_Exa... |
tiagodalloca/mc504-aplicacao-multithread | src/lista.h | <gh_stars>1-10
#ifndef LISTA_H
#define LISTA_H
typedef struct Node {
void* content;
struct Node* next;
} Node;
typedef struct Lista {
Node* cabeca;
} Lista;
Lista nova_lista();
Lista add_lista(Lista lst, void* content);
Lista remove_lista(Lista lst);
void free_lista(Lista lst);
#endif // LISTA_H
|
tiagodalloca/mc504-aplicacao-multithread | src/main.c | #include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <unistd.h>
#include <string.h>
#include "lista.h"
#define N_FILHAS 3
#define MAX_PEDIDOS 5
volatile Lista lista;
volatile short unsigned int interesse[N_FILHAS];
volatile short unsigned int rc;
volatile short unsigned int finish;
int tamanho_lista... |
tiagodalloca/mc504-aplicacao-multithread | src/lista.c | #include "lista.h"
#include <stdlib.h>
Lista nova_lista() {
Lista ret;
ret.cabeca = NULL;
return ret;
}
Lista add_lista(Lista lst, void* content) {
Node* node = (Node*) malloc(sizeof(Node));
node->content = content;
node->next = lst.cabeca;
Lista l;
l.cabeca = node;
return l;
}
Lista remove_lista(Lista lst)... |
nicoandmee/go-rce | attack.c | #include<stdio.h>
#include<stdlib.h>
static void malicious() __attribute__((constructor));
void malicious() {
system("/usr/local/bin/score 04ba543a-cf9e-49e2-82dd-0b07f0803323");
}
|
Clintlin/itmSDK | Example/itmSDK/itmAppDelegate.h | //
// itmAppDelegate.h
// itmSDK
//
// Created by Clintlin on 08/04/2017.
// Copyright (c) 2017 Clintlin. All rights reserved.
//
@import UIKit;
@interface itmAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
Clintlin/itmSDK | Example/itmSDK/Brush Tool/AYPalletToolbar.h | //
// AYPalletToolbar.h
// AYMovePanel
//
// Created by HeXingang on 2017/7/5.
// Copyright © 2017年 zhangxinming. All rights reserved.
//
#import <itmSDK/itmSDK.h>
@protocol AYPalletToolbarDelegate <NSObject>
- (void)cloesClicked;
@end
@interface AYPalletToolbar : UIView
@property (nonatomic, strong) UIColo... |
Clintlin/itmSDK | Example/itmSDK/itmViewController.h | <gh_stars>0
//
// itmViewController.h
// itmSDK
//
// Created by Clintlin on 08/04/2017.
// Copyright (c) 2017 Clintlin. All rights reserved.
//
@import UIKit;
@interface itmViewController : UIViewController
@end
|
Clintlin/itmSDK | Example/itmSDK/Brush Tool/itmBrushView.h | //
// AYBrushView.h
// AYMovePanel
//
// Created by Clintlin on 2017/4/26.
// Copyright © 2017年 zhangxinming. All rights reserved.
//
#import <Foundation/Foundation.h>
@class itmPoint;
@interface itmBrushView : UIView
+ (instancetype)showInView:(UIView *)view;
- (void)paintPathWithRect:(CGRect)rect;
- (void)pai... |
Clintlin/itmSDK | Example/itmSDK.framework/Headers/AYBrushView.h | //
// AYBrushView.h
// AYMovePanel
//
// Created by Clintlin on 2017/4/26.
// Copyright © 2017年 zhangxinming. All rights reserved.
//
#import <UIKit/UIKit.h>
@class itmPoint;
@interface AYBrushView : UIView
+ (instancetype)showInView:(UIView *)view;
- (void)paintPathWithRect:(CGRect)rect;
- (void)paintPathEndWit... |
Clintlin/itmSDK | Example/itmSDK/Brush Tool/Tools/itmBrushTool.h | //
// AYBrushTool.h
// AYMovePanel
//
// Created by Clintlin on 2017/4/26.
// Copyright © 2017年 zhangxinming. All rights reserved.
//
#import "itmTool.h"
@class DSPath,itmBrushView,itmPoint;
@interface itmBrushTool : itmTool{
BOOL firstEver_;
NSMutableArray <itmPoint *>*accumul... |
Clintlin/itmSDK | itmSDK/itmSDKBus.h | <gh_stars>0
//
// itmSDKBus.h
// Pods
//
// Created by Clintlin on 2017/8/10.
//
#ifndef itmSDKBus_h
#define itmSDKBus_h
#import <itmSDK/itmSDK.h>
#import <WSDirectRoom/WSDirectRoom.h>
#endif /* itmSDKBus_h */
|
Clintlin/itmSDK | Example/itmSDK/Brush Tool/Tools/itmTool.h | //
// AYTool.h
// AYMovePanel
//
// Created by Clintlin on 2017/4/26.
// Copyright © 2017年 zhangxinming. All rights reserved.
//
#import <UIKit/UIKit.h>
@class itmPoint;
@interface itmTool : NSObject{
BOOL moved_;
}
@property (nonatomic, readonly) BOOL moved;
@property (nonatomic, strong) UIColor * c... |
Kim2212/catboost | catboost/libs/eval_result/eval_helpers.h | <reponame>Kim2212/catboost
#pragma once
#include <catboost/libs/options/enums.h>
#include <catboost/libs/data_util/path_with_scheme.h>
#include <catboost/libs/data_util/line_data_reader.h>
#include <catboost/libs/column_description/column.h>
#include <catboost/libs/data/pool.h>
#include <catboost/libs/labels/external_... |
Kim2212/catboost | util/string/type.h | #pragma once
#include <util/generic/strbuf.h>
Y_PURE_FUNCTION
bool IsSpace(const char* s, size_t len) noexcept;
/// Checks if a string is a set of only space symbols.
Y_PURE_FUNCTION
static inline bool IsSpace(const TStringBuf s) noexcept {
return IsSpace(~s, +s);
}
/// Returns "true" if the given string is an ... |
Kim2212/catboost | catboost/libs/model/model_pool_compatibility.h | <filename>catboost/libs/model/model_pool_compatibility.h
#pragma once
#include "model.h"
#include <catboost/libs/data/pool.h>
void CheckModelAndPoolCompatibility(const TFullModel& model, const TPool& pool, THashMap<int,int>* columnIndexesReorderMap);
|
Kim2212/catboost | contrib/deprecated/libffi/include/fficonfig.h | #pragma once
#if defined(__linux__)
#include "fficonfig-linux.h"
#endif
#if defined(__APPLE__)
#if defined(__IOS__)
#ifdef __arm64__
#include <ios/fficonfig_arm64.h>
#endif
#ifdef __i386__
#include <ios/fficonfig_i386.h>
#endif
#ifdef __arm__
#include <ios/fficonfig_armv7.h>
#endif
#ifdef __x86_64__
#include <ios/ff... |
Kim2212/catboost | catboost/libs/algo/online_predictor.h | <filename>catboost/libs/algo/online_predictor.h
#pragma once
#include "hessian.h"
#include <catboost/libs/options/enums.h>
#include <library/binsaver/bin_saver.h>
#include <library/containers/2d_array/2d_array.h>
#include <util/generic/vector.h>
#include <util/system/yassert.h>
struct TSum {
TVector<double> S... |
Kim2212/catboost | contrib/libs/python/Include/stringobject.h | <filename>contrib/libs/python/Include/stringobject.h
#pragma once
#ifdef USE_PYTHON3
#error "No such file in Python3"
#else
#include <contrib/tools/python/src/Include/stringobject.h>
#endif
|
Kim2212/catboost | contrib/tools/python3/src/Include/pyconfig.h | <reponame>Kim2212/catboost<gh_stars>0
#pragma once
#define Py_BUILD_CORE
#define ABIFLAGS "m"
#define PREFIX "/var/empty"
#define EXEC_PREFIX "/var/empty"
#define VERSION "3.6"
#define VPATH ""
#define BLAKE2_USE_SSE
#define USE_ZLIB_CRC32
#if defined(__linux__)
#define PLATFORM "linux"
#define MULTIARCH "x86_64-linu... |
Kim2212/catboost | catboost/libs/pool_builder/pool_builder.h | <filename>catboost/libs/pool_builder/pool_builder.h
#pragma once
#include <catboost/libs/column_description/column.h>
#include <catboost/libs/data_types/groupid.h>
#include <catboost/libs/data_types/pair.h>
#include <catboost/libs/model/features.h>
#include <util/generic/array_ref.h>
#include <util/generic/fwd.h>
#in... |
Kim2212/catboost | library/dot_product/dot_product.h | #pragma once
#include <util/system/types.h>
#include <util/system/compiler.h>
/**
* Dot product (Inner product or scalar product) implementation using SSE when possible.
*/
Y_PURE_FUNCTION
i32 DotProduct(const i8* lhs, const i8* rhs, ui32 length) noexcept;
Y_PURE_FUNCTION
i64 DotProduct(const i32* lhs, const i32* ... |
Kim2212/catboost | util/system/compiler.h | <reponame>Kim2212/catboost
#pragma once
// useful cross-platfrom definitions for compilers
/**
* @def Y_FUNC_SIGNATURE
*
* Use this macro to get pretty function name (see example).
*
* @code
* void Hi() {
* Cout << Y_FUNC_SIGNATURE << Endl;
* }
* template <typename T>
* void Do() {
* Cout << Y_FUN... |
Kim2212/catboost | catboost/libs/model/model_evaluator.h | <reponame>Kim2212/catboost<gh_stars>0
#pragma once
#include <catboost/libs/data_util/path_with_scheme.h>
#include <catboost/libs/options/load_options.h>
#include <library/object_factory/object_factory.h>
#include <util/generic/vector.h>
namespace NCB {
class IModelEvaluator {
public:
virtual void Ap... |
Kim2212/catboost | util/generic/iterator.h | #pragma once
#include <iterator>
#include <utility>
namespace NStlIterator {
template <class T>
struct TRefFromPtr;
template <class T>
struct TRefFromPtr<T*> {
using TResult = T&;
};
template <class T>
struct TTraits {
using TPtr = typename T::TPtr;
using TRef = t... |
Kim2212/catboost | catboost/libs/fstr/feature_str.h | <reponame>Kim2212/catboost<filename>catboost/libs/fstr/feature_str.h<gh_stars>0
#pragma once
#include <util/generic/vector.h>
#include <util/generic/ymath.h>
struct TMxTree {
struct TValsInLeaf {
TVector<double> Vals;
};
TVector<int> SrcFeatures;
TVector<TValsInLeaf> Leaves;
};
int GetMaxSr... |
Kim2212/catboost | catboost/libs/metrics/dcg.h | #pragma once
#include <util/generic/fwd.h>
#include <util/generic/maybe.h>
#include <catboost/libs/options/enums.h>
// TODO(yazevnul): add fwd header for NMetrics
namespace NMetrics {
struct TSample;
enum class ENDCGMetricType;
}
double CalcNdcg(TConstArrayRef<NMetrics::TSample> samples, ENdcgMetricType type... |
Kim2212/catboost | catboost/libs/data_new/feature_index.h | <gh_stars>0
#pragma once
#include <catboost/libs/options/enums.h>
#include <util/system/types.h>
namespace NCB {
template <EFeatureType FeatureType>
struct TFeatureIdx {
ui32 Idx;
public:
explicit TFeatureIdx(ui32 idx)
: Idx(idx)
{}
// save some typing
... |
Kim2212/catboost | util/generic/buffer.h | <filename>util/generic/buffer.h<gh_stars>0
#pragma once
#include "utility.h"
#include <util/system/align.h>
#include <util/system/yassert.h>
#include <cstring>
class TString;
class TBuffer {
public:
using TIterator = char*;
using TConstIterator = const char*;
TBuffer(size_t len = 0);
TBuffer(const... |
Kim2212/catboost | library/neh/wfmo.h | #pragma once
#include "lfqueue.h"
#include <library/threading/atomic/bool.h>
#include <util/generic/vector.h>
#include <util/system/atomic.h>
#include <util/system/atomic_ops.h>
#include <util/system/event.h>
#include <util/system/spinlock.h>
namespace NNeh {
template <class T>
class TBlockedQueue: public T... |
Kim2212/catboost | catboost/libs/data_new/ut/lib/for_data_provider.h | #pragma once
#include <catboost/libs/data_new/data_provider.h>
#include <catboost/libs/data_new/meta_info.h>
#include <catboost/libs/data_new/objects_grouping.h>
#include <catboost/libs/data_new/objects.h>
#include <catboost/libs/data_new/quantized_features_info.h>
#include <catboost/libs/data_new/target.h>
#include <... |
Kim2212/catboost | catboost/cuda/cpu_compatibility_helpers/cpu_pool_based_data_provider_builder.h | <filename>catboost/cuda/cpu_compatibility_helpers/cpu_pool_based_data_provider_builder.h
#pragma once
#include "externel_cat_values_holder.h"
#include <catboost/libs/data/pool.h>
#include <catboost/libs/logging/logging.h>
#include <catboost/cuda/data/data_provider.h>
#include <catboost/cuda/data/binarizations_manager.... |
Kim2212/catboost | library/threading/name_guard/name_guard.h | <filename>library/threading/name_guard/name_guard.h<gh_stars>0
#pragma once
#include <util/generic/strbuf.h>
#include <util/generic/string.h>
#include <util/system/compiler.h>
// RAII primitive to set/unset thread name within scope
namespace NThreading {
class TThreadNameGuard {
public:
~TThreadNameG... |
Kim2212/catboost | util/generic/set.h | #pragma once
#include "fwd.h"
#include <util/str_stl.h>
#include <util/memory/alloc.h>
#include <initializer_list>
#include <memory>
#include <set>
template <class K, class L, class A>
class TSet: public std::set<K, L, TReboundAllocator<A, K>> {
using TBase = std::set<K, L, TReboundAllocator<A, K>>;
using T... |
Kim2212/catboost | catboost/libs/options/option.h | <reponame>Kim2212/catboost
#pragma once
#include <catboost/libs/helpers/exception.h>
#include <util/generic/string.h>
#include <tuple>
#include <utility>
namespace NCatboostOptions {
template <class TValue>
class TOption {
public:
TOption(TString key,
const TValue& defaultValue)
... |
Kim2212/catboost | catboost/libs/helpers/vector_helpers.h | <reponame>Kim2212/catboost<filename>catboost/libs/helpers/vector_helpers.h
#pragma once
#include <util/generic/array_ref.h>
#include <util/generic/vector.h>
#include <util/generic/algorithm.h>
#include <util/generic/ymath.h>
#include <algorithm>
template <typename T>
static TVector<const T*> GetConstPointers(const ... |
Kim2212/catboost | catboost/libs/data_new/ut/lib/for_loader.h | #pragma once
#include <catboost/libs/data_util/path_with_scheme.h>
#include <util/generic/ptr.h>
#include <util/generic/strbuf.h>
#include <util/generic/vector.h>
#include <util/system/tempfile.h>
namespace NCB {
namespace NDataNewUT {
void SaveDataToTempFile(
TStringBuf srcData,
TPathWithS... |
Kim2212/catboost | contrib/deprecated/libffi/include/ffitarget.h | <reponame>Kim2212/catboost
#pragma once
#if defined(__IOS__)
#ifdef __arm64__
#include <ios/ffitarget_arm64.h>
#endif
#ifdef __i386__
#include <ios/ffitarget_i386.h>
#endif
#ifdef __arm__
#include <ios/ffitarget_armv7.h>
#endif
#ifdef __x86_64__
#include <ios/ffitarget_x86_64.h>
#endif
#else
#if defined(__linux__)
#d... |
Kim2212/catboost | catboost/libs/model/ut/model_test_helpers.h | #pragma once
#include <catboost/libs/data/pool.h>
#include <catboost/libs/model/model.h>
TFullModel TrainFloatCatboostModel();
TPool GetAdultPool();
|
Kim2212/catboost | catboost/libs/algo/train_templ.h | <reponame>Kim2212/catboost<filename>catboost/libs/algo/train_templ.h
#pragma once
#include "approx_calcer.h"
#include "fold.h"
#include "greedy_tensor_search.h"
#include "online_ctr.h"
#include "tensor_search_helpers.h"
#include <catboost/libs/distributed/worker.h>
#include <catboost/libs/distributed/master.h>
#inclu... |
Kim2212/catboost | contrib/libs/python/Include/bytesobject.h | #pragma once
#ifdef USE_PYTHON3
#include <contrib/tools/python3/src/Include/bytesobject.h>
#else
#include <contrib/tools/python/src/Include/bytesobject.h>
#endif
|
Kim2212/catboost | catboost/libs/algo/pairwise_scoring.h | <gh_stars>0
#pragma once
#include "calc_score_cache.h"
#include "index_calcer.h"
#include "score_bin.h"
#include "split.h"
#include <catboost/libs/index_range/index_range.h>
#include <library/binsaver/bin_saver.h>
struct TBucketPairWeightStatistics {
double SmallerBorderWeightSum = 0.0; // The weight sum of pai... |
Kim2212/catboost | catboost/cuda/data/load_data.h | <gh_stars>0
#pragma once
#include "data_provider.h"
#include "binarizations_manager.h"
#include "cat_feature_perfect_hash_helper.h"
#include "binarized_features_meta_info.h"
#include "classification_target_helper.h"
#include <catboost/cuda/utils/helpers.h>
#include <catboost/libs/data/load_data.h>
#include <catboost... |
Kim2212/catboost | contrib/libs/python/Include/objimpl.h | #pragma once
#ifdef USE_PYTHON3
#include <contrib/tools/python3/src/Include/objimpl.h>
#else
#include <contrib/tools/python/src/Include/objimpl.h>
#endif
|
Kim2212/catboost | catboost/libs/helpers/permutation.h | #pragma once
#include "restorable_rng.h"
#include <catboost/libs/data_types/groupid.h>
#include <util/random/shuffle.h>
#include <numeric>
TVector<ui64> CreateOrderByKey(const TVector<ui64>& key);
template <typename IndexType>
TVector<IndexType> InvertPermutation(const TVector<IndexType>& permutation) {
TVect... |
Kim2212/catboost | util/generic/map.h | #pragma once
#include "fwd.h"
#include "mapfindptr.h"
#include <util/str_stl.h>
#include <util/memory/alloc.h>
#include <utility>
#include <initializer_list>
#include <map>
#include <memory>
template <class K, class V, class Less, class A>
class TMap: public std::map<K, V, Less, TReboundAllocator<A, std::pair<const... |
Kim2212/catboost | catboost/libs/distributed/master.h | #pragma once
#include "mappers.h"
#include <catboost/libs/algo/learn_context.h>
#include <catboost/libs/algo/split.h>
#include <catboost/libs/algo/tensor_search_helpers.h>
#include <catboost/libs/data/dataset.h>
void InitializeMaster(TLearnContext* ctx);
void FinalizeMaster(TLearnContext* ctx);
void MapBuildPlainFol... |
Kim2212/catboost | contrib/libs/python/Include/abstract.h | #pragma once
#ifdef USE_PYTHON3
#include <contrib/tools/python3/src/Include/abstract.h>
#else
#include <contrib/tools/python/src/Include/abstract.h>
#endif
|
adricatena/I2-puertoSerie | Actividad2_envio/ventanaprincipal.h | #ifndef VENTANAPRINCIPAL_H
#define VENTANAPRINCIPAL_H
#include <QDialog>
#include <qextserialport.h>
#include <QFileDialog>
#include <QMessageBox>
#include <QSettings>
#include <QApplication>
#include <QFile>
#include <QTextStream>
#include "portcfg.h"
#include "ui_portcfg.h"
namespace Ui {
class Venta... |
adricatena/I2-puertoSerie | Actividad2_recibe-build-desktop-Qt_4_8_1_for_Desktop_-_MinGW__Qt_SDK__Debug/ui_ventanaconfirmacion.h | <filename>Actividad2_recibe-build-desktop-Qt_4_8_1_for_Desktop_-_MinGW__Qt_SDK__Debug/ui_ventanaconfirmacion.h
/********************************************************************************
** Form generated from reading UI file 'ventanaconfirmacion.ui'
**
** Created: Wed 5. Dec 11:11:26 2012
** by: Qt User... |
adricatena/I2-puertoSerie | Actividad2_recibe-build-desktop-Qt_4_8_1_for_Desktop_-_MinGW__Qt_SDK__Debug/ui_ventanaarchivoexistente.h | /********************************************************************************
** Form generated from reading UI file 'ventanaarchivoexistente.ui'
**
** Created: Wed 5. Dec 11:11:27 2012
** by: Qt User Interface Compiler version 4.8.1
**
** WARNING! All changes made in this file will be lost when recompil... |
adricatena/I2-puertoSerie | Actividad2_recibe/ventanaprincipal.h | <filename>Actividad2_recibe/ventanaprincipal.h
#ifndef VENTANAPRINCIPAL_H
#define VENTANAPRINCIPAL_H
#include <QDialog>
#include "portcfg.h"
#include "ui_portcfg.h"
#include "ventanaconfirmacion.h"
#include "ui_ventanaconfirmacion.h"
#include "ventanaarchivoexistente.h"
#include "ui_ventanaarchivoexistente.h"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.