repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2010-509101/Ferlon.c | #include <cstdio>
#include <cstring>
//#include <iostream>
using namespace std;
typedef long long ll;
const int c=1010;
int g[c];
ll ans;
bool b[c];
int nk[c];
ll eu[c];
int n,k,r,t,ii;
int main() {
int i,tmp,p,dp,nj;
bool q;
scanf("%d",&t);
for (ii=1; ii<=t; ++ii) {
printf("Case #%d: ",ii);
m... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2014-5158144455999488/bwps.c | #include <list>
#include <map>
#include <set>
#include <stack>
#include <queue>
#include <algorithm>
#include <sstream>
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <climits>
#include <cfloat>
#include <numeric>
using namespace std;
const int ... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2012-1475486/yangzhe1991.c | <reponame>helix-datasets/blind-helix<gh_stars>1-10
#include<iostream>
#include<stdio.h>
#include<string>
#include<string.h>
#include<algorithm>
#include<vector>
#include<map>
using namespace std;
int l[2000],p[2000];
int b[2000];
int main()
{
int t;
cin>>t;
for(int tt=1;tt<=t;tt++)
{
... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2010-509101/Suyog.c | #include<iostream>
using namespace std;
int main()
{
int T, g[1004], next[1004], nsum[1004];
cin>>T;
for(int t = 1; t <= T; t++)
{
int R, K, N;
cin>>R>>K>>N;
long long sum = 0;
for(int i = 0; i < N; i++)
{
cin>>g[i];
s... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2020-00000000003775e9/Bodo171.c | <reponame>helix-datasets/blind-helix<filename>evaluation/data/manual-labels/semantic/gcj-2020-00000000003775e9/Bodo171.c<gh_stars>1-10
#include <bits/stdc++.h>
using namespace std;
long long oldx[10],oldy[10],x[10],y[10];
long long area(long long X1,long long X2,long long Y1,long long Y2){
if(X1>X2||Y1>Y2)
... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2010-509101/Tommalla.c | /* Tomasz [Tommalla] Zakrzewski, Google Code Jam 2010 /
/ Qualification Round, Task 'Theme Park' */
/* Optimized approach, complexicity: O(T*R*NlogN) */
#include <cstdio>
#include <algorithm>
#define SIZE 1010
using namespace std;
unsigned int groups[SIZE];
unsigned int sum[SIZE];
unsigned int bsum; //b... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2012-1475486/Xhark.c | #include <stdio.h>
#include <algorithm>
#include <vector>
#include <map>
#include <set>
#include <string>
using namespace std;
class Lv{
public:
int L, P, num;
const bool operator < (const Lv l) const {
if (P == 0 && l.P != 0) return false;
if (P != 0 && l.P == 0) return true;
if (P == 0 && l.P =... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2020-00000000003775e9/betrue12.c | #include <bits/stdc++.h>
using namespace std;
int64_t gcd(int64_t a, int64_t b){
return b==0 ? a : gcd(b, a%b);
}
void solve(int casenum){
cout << "Case #" << casenum << ": ";
int N;
int64_t D;
cin >> N >> D;
vector<int64_t> XX(N), YY(N);
for(int i=0; i<N; i++){
int x, y;
c... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2010-509101/johny500.c | <reponame>helix-datasets/blind-helix<filename>evaluation/data/manual-labels/semantic/gcj-2010-509101/johny500.c<gh_stars>1-10
#include <stdlib.h>
#include <cstdio>
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define FOR(k, a, b) for (typeof(a) k = (a); k < (b); ... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2014-5158144455999488/Mosa.c | <reponame>helix-datasets/blind-helix
#include <bits/stdc++.h>
using namespace std;
int n, m;
int grid[505][101];
bool vis[505][101];
int di[] = {1, 0, 0, -1};
int dj[] = {0, 1, -1, 0};
int dfs(int i, int j) {
if(vis[i][j]) return 0;
if(i == n - 1) return 1;
vis[i][j] = 1;
for(int k = 0; k < 4; ... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2020-00000000003775e9/walnutwaldo20.c | #include <bits/stdc++.h>
#define F0R(i, a) for (int i = 0; i < (a); i++)
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define R0F(i, a) for (int i = (a) - 1; i >= 0; i--)
#define ROF(i, a, b) for (int i = (b) - 1; i >= (a); i--)
#define ran() (rand() & 0x7FFF)
#define rand31() ((ran() << 16) | (ran() << 1) | ... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2014-5158144455999488/LeeSin.c | <gh_stars>1-10
#include <cstdio>
#include <algorithm>
#define N 505
#define M 105
#define fi(a, b, c) for(int a = (b); a < (c); a++)
#define fd(a, b, c) for(int a = (b); a > (c); a--)
#define FI(a, b, c) for(int a = (b); a <= (c); a++)
#define FD(a, b, c) for(int a = (b); a >= (c); a--)
#define fe(a, b, c) for(... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2010-509101/Prahadeesh.c | <filename>evaluation/data/manual-labels/semantic/gcj-2010-509101/Prahadeesh.c
#include <iostream>
using namespace std;
long long g[1001],t[1001];
long long find(long long r,long long k,long long n)
{
long long res=0,temp,i,j,ptr,count=0,flag,car;
while(count < r)
{
//cout<<"\n inside start While... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2014-5158144455999488/daimi89.c | #include <iostream>
#include <algorithm>
using namespace std;
bool empty[100][500];
int dx[4] = { -1,0,1,0 };
int dy[4] = { 0,1,0,-1 };
int W,H;
int dfs(int x,int y,int d) {
// d = direction comming from: 0=down, 1=left, 2=up, 3=right
// cout << "Visit: " << x <<"," << y << " from " << d << endl... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2012-1475486/ytau.c |
#include <iostream>
#include <iomanip>
#include <fstream>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <sstream>
#include <string>
#include <bitset>
#include <deque>
#include <list>
#include <map>
#include <set>
#include <queue>
#include ... |
helix-datasets/blind-helix | evaluation/data/manual-labels/semantic/gcj-2012-1475486/Aleksei.c | #include <iostream>
#include <fstream>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <queue>
#include <list>
#include <map>
#include <set>
#include <string>
#include <cmath>
#include <stdlib.h>
#include <string.h>
#include <iomanip>
using namespace std;
struct str{
int num;
int ... |
Balearica/tesseract | include/tesseract/ltrresultiterator.h | // SPDX-License-Identifier: Apache-2.0
// File: ltrresultiterator.h
// Description: Iterator for tesseract results in strict left-to-right
// order that avoids using tesseract internal data structures.
// Author: <NAME>
//
// (C) Copyright 2010, Google Inc.
// Licensed under the Apache License,... |
Conrekatsu/rawaccel | common/rawaccel-io-def.h | <filename>common/rawaccel-io-def.h
#pragma once
#define NOMINMAX
#ifdef _KERNEL_MODE
#include <ntddk.h>
#else
#include <Windows.h>
#endif
namespace rawaccel {
constexpr ULONG READ = (ULONG)CTL_CODE(0x8888u, 0x888, METHOD_BUFFERED, FILE_ANY_ACCESS);
constexpr ULONG WRITE = (ULONG)CTL_CODE(0x8888u, 0x889, METH... |
Conrekatsu/rawaccel | driver/driver.h | #pragma once
#include "rawaccel.hpp"
#include "rawaccel-io-def.h"
#include <kbdmou.h>
#include <wdf.h>
#if DBG
#define DebugPrint(_x_) DbgPrint _x_
#else
#define DebugPrint(_x_)
#endif
#define NTDEVICE_NAME L"\\Device\\rawaccel"
#define SYMBOLIC_NAME_STRING L"\\DosDevices\\rawaccel"
using counter_t = long... |
Conrekatsu/rawaccel | wrapper/interop-exception.h | <filename>wrapper/interop-exception.h
#pragma once
#include <exception>
public ref struct InteropException : System::Exception {
InteropException(System::String^ what) :
Exception(what) {}
InteropException(const char* what) :
Exception(gcnew System::String(what)) {}
InteropException(const ... |
Conrekatsu/rawaccel | common/rawaccel-version.h | #pragma once
#define RA_VER_MAJOR 1
#define RA_VER_MINOR 6
#define RA_VER_PATCH 0
#define RA_OS "Win10+"
#define RA_M_STR_HELPER(x) #x
#define RA_M_STR(x) RA_M_STR_HELPER(x)
#define RA_VER_STRING RA_M_STR(RA_VER_MAJOR) "." RA_M_STR(RA_VER_MINOR) "." RA_M_STR(RA_VER_PATCH)
namespace rawaccel {
struct version_t... |
Conrekatsu/rawaccel | wrapper/input.h | #pragma once
#pragma comment(lib, "cfgmgr32.lib")
#pragma comment(lib, "hid.lib")
#pragma comment(lib, "User32.lib")
#include <string_view>
#include <vector>
#include <Windows.h>
#include <cfgmgr32.h>
#include <initguid.h> // needed for devpkey.h to parse properly
#include <devpkey.h>
#include <hidsdi.h>
inline con... |
BackupTheBerlios/ocarrot | include/ocarrot/ocarrot.h | #ifndef OCARROT_OCARROT_H_GUARD
#define OCARROT_OCARROT_H_GUARD
#include "pmc_caml_value.h"
#include "pmc_caml_block.h"
#define OCarrot_Value_is_boxed PObj_private0_FLAG
#define ocarrot_words(x) ((x + PTR_SIZE - 1) / PTR_SIZE)
#define No_scan_tag 255
#define Closure_tag (No_scan_tag + 1)
#define String_tag (No_scan_... |
alinamuliak/assembly | main_c2.c | <reponame>alinamuliak/assembly<filename>main_c2.c
#include <stdint.h>
#include <stdio.h>
void func (float* a, float* b, float* x, size_t size);
int main() {
printf("Hello world!\n");
float a1[] = {1, 2, 10};
float b1[] = {2, 1, 0};
float x1[] = {0, 0, 0};
size_t size1 = 3;
printf("\nExample #... |
alinamuliak/assembly | main_c1.c | #include <stdint.h>
#include <stdio.h>
void func (int32_t* input_array, size_t size);
int main() {
printf("Hello world!\n");
int32_t a1[] = {4, -5, 3, 2, 7, 1, 6};
size_t size1 = 7;
printf("\nExample #1:\nstarting array: [%d, %d, %d, %d, %d, %d, %d]\n", size1, a1[0], a1[1], a1[2], a1[3], a1[4], a1[5],... |
akshaybabloo/qlistwidget-custom-widget | customwidget.h | <filename>customwidget.h
#ifndef CUSTOMWIDGET_H
#define CUSTOMWIDGET_H
#include <QWidget>
namespace Ui {
class CustomWidget;
}
class CustomWidget : public QWidget
{
Q_OBJECT
public:
explicit CustomWidget(QWidget *parent = nullptr);
~CustomWidget();
void setText(const QString &text);
QString get... |
donaldschen/mynewt-nimble | nimble/drivers/nrf52/include/ble/palna.h | <reponame>donaldschen/mynewt-nimble
/*
* 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, ... |
donaldschen/mynewt-nimble | nimble/host/mesh/src/app_keys.c | /*
* Copyright (c) 2017 Intel Corporation
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <string.h>
#include <stdlib.h>
#include "mesh/mesh.h"
#include "mesh_priv.h"
#include "net.h"
#include "app_keys.h"
#include "rpl.h"
#include "settings.h"
#include "crypto.h"... |
Wms5/IHS-Projeto | IHS_Projeto/app/app.c | #include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
//#include <cstdlib.h>
#include <time.h>
unsigned char hexdigit[] = {0x3F, 0x06, 0x5B, 0x4F,
0x66, 0x6D, 0x7D, 0x07,
0x7F, 0x6F, 0x77, 0x7C,
0x39, 0x5E, 0x79, 0x71};
... |
Wms5/IHS-Projeto | IHS_Projeto/driver/altera_driver.mod.c | <reponame>Wms5/IHS-Projeto<filename>IHS_Projeto/driver/altera_driver.mod.c
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = i... |
Wms5/IHS-Projeto | IHS_Projeto/driver/altera_driver.c | <reponame>Wms5/IHS-Projeto<gh_stars>0
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <asm/uaccess.h>
MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("PCIHello");
MODULE_AUTHOR("HUE");
typedef struct VECTOR
{
int option;
unsigned... |
shibin1984/MVDownloader | MVDownloader/MVDownloader.h | //
// MVDownloader.h
// MVDownloader
//
// Created by <NAME> on 1/18/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for MVDownloader.
FOUNDATION_EXPORT double MVDownloaderVersionNumber;
//! Project version string for MVDownloader.
FOUNDATION_EXPORT cons... |
jixingcn/ZipPlatformFile | Source/ZipPlatformFile/Private/ZipPlatformFileModule.h | <filename>Source/ZipPlatformFile/Private/ZipPlatformFileModule.h
#pragma once
#include <CoreMinimal.h>
DECLARE_LOG_CATEGORY_EXTERN(LogZipPlatformFile, Log, All);
|
jixingcn/ZipPlatformFile | Source/ZipPlatformFile/Private/ZipPlatformFileGameInstanceSubsystem.h | <gh_stars>1-10
#pragma once
#include "IZipPlatformFile.h"
#include <Subsystems/GameInstanceSubsystem.h>
#include "ZipPlatformFileGameInstanceSubsystem.generated.h"
UCLASS()
class UZipPlatformFileGameInstanceSubsystem : public UGameInstanceSubsystem
{
GENERATED_BODY()
public:
UZipPlatformFileGameInstanceSubs... |
jixingcn/ZipPlatformFile | Source/ZipPlatformFile/Classes/ZipPlatformFileSettings.h | #pragma once
#include <UObject/Object.h>
#include "ZipPlatformFileSettings.generated.h"
UCLASS(config = ZipPlatformFileSettings, defaultconfig)
class ZIPPLATFORMFILE_API UZipPlatformFileSettings : public UObject
{
GENERATED_BODY()
public:
UZipPlatformFileSettings();
public:
UPROPERTY(EditAnywhere, Categ... |
jixingcn/ZipPlatformFile | Source/ZipPlatformFile/Private/ZipPlatformFile.h | #pragma once
#include "IZipPlatformFile.h"
class FZipPlatformFile : public IZipPlatformFile
{
public:
FZipPlatformFile();
virtual ~FZipPlatformFile();
public:
virtual bool Initialize(IPlatformFile* Inner, const TCHAR* CmdLine) override;
virtual IPlatformFile* GetLowerLevel() override;
virtual voi... |
jixingcn/ZipPlatformFile | Source/ZipPlatformFile/Private/ZipFileHandle.h | <gh_stars>1-10
#pragma once
#include "minizip/zip.h"
#include "minizip/unzip.h"
#include <GenericPlatform/GenericPlatformFile.h>
class FZipFileHandle
{
class FFileHandle : public IFileHandle
{
friend FZipFileHandle;
public:
explicit FFileHandle();
virtual ~FFileHandle();
publ... |
jixingcn/ZipPlatformFile | Source/ZipPlatformFileEd/Private/ZipPlatformFileEdModule.h | #pragma once
#include <CoreMinimal.h>
DECLARE_LOG_CATEGORY_EXTERN(LogZipPlatformFileEd, Verbose, All);
|
jixingcn/ZipPlatformFile | Source/ZipPlatformFile/Classes/ZipPlatformFileBlueprintFunctionLibrary.h | <reponame>jixingcn/ZipPlatformFile
#pragma once
#include <Kismet/BlueprintFunctionLibrary.h>
#include "ZipPlatformFileBlueprintFunctionLibrary.generated.h"
UCLASS()
class ZIPPLATFORMFILE_API UZipPlatformFileBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
/// Check the m... |
jixingcn/ZipPlatformFile | Source/ZipPlatformFile/Public/IZipPlatformFile.h | #pragma once
#include <GenericPlatform/GenericPlatformFile.h>
class ZIPPLATFORMFILE_API IZipPlatformFile : public IPlatformFile
{
public:
virtual bool IsMounted(const TCHAR* Filename) const = 0;
virtual bool Mount(const TCHAR* MountPoint, const TCHAR* Filename, const TCHAR* Password) = 0;
virtual bool Unm... |
kanecoin1/kanecoin | src/qt/qtipcserver.h | #ifndef QTIPCSERVER_H
#define QTIPCSERVER_H
// Define KaneCoin-Qt message queue name
#define BITCOINURI_QUEUE_NAME "KaneCoinURI"
void ipcScanRelay(int argc, char *argv[]);
void ipcInit(int argc, char *argv[]);
#endif // QTIPCSERVER_H
|
REgonLevy/shady-crypt | crush_tests.c | #include <stdio.h>
#include "unif01.h"
#include "bbattery.h"
static int state[4827], c = 1234;
static int lcg = 123456789, xors = 987654321;
static int s1, s2, ast, stream;
static int j = 4827, k = 1024;
static int spread[1024], table[1024];
void fill(){
for(int i = 0; i < 4827; i++){
lcg = 69069 * lcg +... |
REgonLevy/shady-crypt | rabbit_test_on_digests.c | <reponame>REgonLevy/shady-crypt<filename>rabbit_test_on_digests.c
#include <stdio.h>
#include "gdef.h"
#include "swrite.h"
#include "bbattery.h"
int main(){
FILE* fp = fopen("hashes.bin", "r");
if(fp == NULL){
printf("Hashes File Not Found!\n");
return -1;
}
fseek(f... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/PictureInfo.h | //
// PictureInfo.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface PictureInfo : BaseModal
/**
* 唯一ID
*/
@property(nullable) NSString *uuID;
/**
* 图片类型
*/
@property(nullable) NSString *typ... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/GroupMemberRole.h | <reponame>OpenIMSDK/Open-IM-SDK-iOS
//
// GroupMemberRole.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface GroupMemberRole : BaseModal
@property(nullable) NSString *uid;
@property int setRole;
@end
NS_ASSUME_NO... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/NotDisturbInfo.h | //
// NotDisturbInfo.h
// OpenIMSDKiOS
//
// Created by xpg on 2022/1/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface NotDisturbInfo : BaseModal
// {"conversationId":"single_13922222222","result":0}
/*
* 会话id
* */
@property(nullable) NSString *conver... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/QuoteElem.h | //
// QuoteElem.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
@class Message;
NS_ASSUME_NONNULL_BEGIN
@interface QuoteElem : BaseModal
@property(nullable) NSString *text;
@property(nullable) Message *quoteMessage;
@end
NS_ASSUME_NONNULL_END
|
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/GroupApplicationInfo.h | <reponame>OpenIMSDK/Open-IM-SDK-iOS
//
// GroupApplicationInfo.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface GroupApplicationInfo : BaseModal
/**
*
*/
@property(nullable) NSString *id;
/**
* 群组ID
*/
@prope... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/GroupInfo.h | <gh_stars>10-100
//
// GroupInfo.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface GroupInfo : BaseModal
/**
* 组ID
*/
@property(nullable) NSString *groupID;
/**
* 群名
*/
@property(nullable) NSString *groupName;... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/HaveReadInfo.h | //
// HaveReadInfo.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface HaveReadInfo : BaseModal
/**
* 用户id
*/
@property(nullable) NSString *uid;
/**
* 已读消息id
*/
@property(nullable) NSArray<NSString*>/*List<Strin... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/PictureElem.h | <gh_stars>10-100
//
// PictureElem.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
#import "PictureInfo.h"
NS_ASSUME_NONNULL_BEGIN
@interface PictureElem : BaseModal
/**
* 本地资源地址
*/
@property(nullable) NSString *sourcePath;
/**
* 本地图片详情
*/
@p... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/SendMessageCallbackProxy.h | //
// SendMessageCallbackProxy.h
// OpenIMUniPlugin
//
// Created by Snow on 2021/6/24.
//
#import <Foundation/Foundation.h>
#import "OpenIMiOSSDK.h"
@import OpenIMCore;
NS_ASSUME_NONNULL_BEGIN
@interface SendMessageCallbackProxy : NSObject <Open_im_sdkSendMsgCallBack>
- (id)initWithMessage:(onSuccess)onSuccess ... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/GroupMembersList.h | //
// GroupMembersList.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
@class GroupMembersInfo;
NS_ASSUME_NONNULL_BEGIN
@interface GroupMembersList : BaseModal
@property int nextSeq;
@property(nullable) NSArray<GroupMembersInfo*> /*List<GroupMemb... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/FileElem.h | <reponame>OpenIMSDK/Open-IM-SDK-iOS
//
// FileElem.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface FileElem : BaseModal
/**
* 文件本地资源地址
*/
@property(nullable) NSString *filePath;
/**
*
*/
@property(nullable) ... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/UserInfo.h | <filename>OpenIMSDKiOS/Classes/UserInfo.h
//
// UserInfo.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/4.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface UserInfo : BaseModal
/**
* 用户id
*/
@property(nullable) NSString *uid;
/**
* 用户名
*/... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/CustomElem.h | <gh_stars>10-100
//
// CustomElem.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface CustomElem : BaseModal
@property(nullable) NSString *data;
@property(nullable) NSString *extension;
@property(nullable) NSString ... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/VideoElem.h | <filename>OpenIMSDKiOS/Classes/VideoElem.h<gh_stars>10-100
//
// VideoElem.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface VideoElem : BaseModal
/**
* 视频本地资源地址
*/
@property(nullable) NSString *videoPath;
/**
... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/CallbackProxy.h | <filename>OpenIMSDKiOS/Classes/CallbackProxy.h
//
// CallbackProxy.h
// OpenIMUniPlugin
//
// Created by Snow on 2021/6/24.
//
#import <Foundation/Foundation.h>
@import OpenIMCore;
NS_ASSUME_NONNULL_BEGIN
typedef void (^onError)(long ErrCode,NSString* _Nullable ErrMsg);
typedef void (^onSuccess)(NSString* _Nullab... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/GroupApplicationList.h | <reponame>OpenIMSDK/Open-IM-SDK-iOS
//
// GroupApplicationList.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
#import "GroupApplicationInfo.h"
NS_ASSUME_NONNULL_BEGIN
@interface GroupApplicationList : BaseModal
/**
* 未处理数量
*/
@property int cou... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/GroupMembersInfo.h | //
// GroupMembersInfo.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface GroupMembersInfo : BaseModal
/**
* 群id
*/
@property(nullable) NSString *groupID;
/**
* 用户id
*/
@property(nullable) N... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/MergeElem.h | //
// MergeElem.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
@class Message;
NS_ASSUME_NONNULL_BEGIN
@interface MergeElem : BaseModal
@property(nullable) NSString *title;
@property(nullable) NSArray<NSString*>/*List<String>*/ *abstractList;
@p... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/LocationElem.h | //
// LocationElem.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface LocationElem : BaseModal
@property(nullable) NSString *description;
@property double longitude;
@property double latitude;
@end
NS_ASSUME_NONN... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/GroupInviteResult.h | //
// GroupInviteResult.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface GroupInviteResult : BaseModal
@property(nullable) NSString *uid;
@property int result;
@end
NS_ASSUME_NONNULL_END
|
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/SoundElem.h | //
// SoundElem.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface SoundElem : BaseModal
/**
* 唯一ID
*/
@property(nullable) NSString *uuID;
/**
* 本地资源地址
*/
@property(nullable) NSString *soundPath;
/**
* oss地址
... |
OpenIMSDK/Open-IM-SDK-iOS | Framework/OpenIMCore.xcframework/ios-arm64_x86_64-simulator/OpenIMCore.framework/Versions/A/Headers/Open_im_sdk.objc.h | // Objective-C API for talking to open_im_sdk/open_im_sdk Go package.
// gobind -lang=objc open_im_sdk/open_im_sdk
//
// File is generated by gobind. Do not edit.
#ifndef __Open_im_sdk_H__
#define __Open_im_sdk_H__
@import Foundation;
#include "ref.h"
#include "Universe.objc.h"
@class Open_im_sdkAgreeOrRejectGrou... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/BaseModal.h | <gh_stars>10-100
//
// BaseModal.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/4.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface BaseModal : NSObject
- (instancetype)initWithDictionary:(NSDictionary*)dictionary;
- (NSDictionary *)dict;
- (NSString *) className;
- (void)objectFromD... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/ConversationInfo.h | <reponame>OpenIMSDK/Open-IM-SDK-iOS
//
// ConversationInfo.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface ConversationInfo : BaseModal
/**
* 会话id
*/
@property(nullable) NSString *conversationID;
/**
... |
OpenIMSDK/Open-IM-SDK-iOS | OpenIMSDKiOS/Classes/AtElem.h | <gh_stars>10-100
//
// AtElem.h
// Open-IM-SDK-iOS
//
// Created by xpg on 2021/11/5.
//
#import <Foundation/Foundation.h>
#import "BaseModal.h"
NS_ASSUME_NONNULL_BEGIN
@interface AtElem : BaseModal
/**
* at 消息内容
*/
@property(nullable) NSString *text;
/**
* 被@的用户id集合
*/
@property(nullable) NSArray<NSString*>... |
khvorov/folly | folly/Portability.h | /*
* Copyright 2011-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 law or a... |
cultab/st | onedark.h | <reponame>cultab/st
static const char *colorname[] = {
/* 8 normal colors */
"#222222", //#424242
"#e06c75",
"#98c379",
"#d19a66",
"#61afef",
"#c678dd",
"#56b6c2",
"#d7d7d7",
/* 8 bright colors */
"#0f0f0f",
"#be5046",
"#7ec350",
"#d2863b",
"#309DF1",
"#8E68E6",
"#2DAFC3",
"#fdfdfd",
[255] = 0,
... |
embeddedmz/mailclient-cpp | TestMAIL/test_utils.h | <gh_stars>10-100
#ifndef INCLUDE_TEST_UTILS_H_
#define INCLUDE_TEST_UTILS_H_
#include <algorithm>
#include <cerrno>
#include <cmath>
#include <cstdio>
#include <fstream>
#include <functional>
#include <iostream>
#include <iterator>
#include <memory>
#include <mutex>
#include <streambuf>
#include <string>
#include <sst... |
embeddedmz/mailclient-cpp | MAIL/IMAPClient.h | <gh_stars>10-100
/*
* @file IMAPClient.h
* @brief libcurl wrapper for IMAP operations
*
* @author <NAME> <<EMAIL>>
* @date 2017-01-02
*/
#ifndef INCLUDE_IMAPCLIENT_H_
#define INCLUDE_IMAPCLIENT_H_
#include "MAILClient.h"
class CIMAPClient : public CMailClient
{
public:
enum class MailProperty
{
Deleted,
... |
embeddedmz/mailclient-cpp | MAIL/POPClient.h | <gh_stars>10-100
/*
* @file POPClient.h
* @brief libcurl wrapper for POP operations
*
* @author <NAME> <<EMAIL>>
* @date 2017-01-02
*/
#ifndef INCLUDE_POPCLIENT_H_
#define INCLUDE_POPCLIENT_H_
#include "MAILClient.h"
class CPOPClient : public CMailClient
{
public:
explicit CPOPClient(LogFnCallback oLogger);
/... |
embeddedmz/mailclient-cpp | MAIL/SMTPClient.h | /*
* @file SMTPClient.h
* @brief libcurl wrapper for SMTP operations
*
* @author <NAME> <<EMAIL>>
* @date 2017-01-02
*/
#ifndef INCLUDE_SMTPCLIENT_H_
#define INCLUDE_SMTPCLIENT_H_
#include "MAILClient.h"
class CSMTPClient : public CMailClient
{
public:
explicit CSMTPClient(LogFnCallback oLogger);
// copy cons... |
embeddedmz/mailclient-cpp | MAIL/MAILClient.h | /*
* @file MAILClient.h
* @brief libcurl wrapper for email operations (POP3, IMAP and SMTP)
* This class contains the common stuff between POP3, IMAP and SMTP
* clients.
*
* It is intended to be an abstract class but for unit tests purposes
* I decided not to declare it so.
*
* @author <NAME> <<EMAIL>>
* @d... |
jly007/JLYTableView | JLYTableViewDemo/ViewController.h | //
// ViewController.h
// JLYTableViewDemo
//
// Created by LingyuJi on 15/6/21.
// Copyright (c) 2015年 LingyuJi. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
jly007/JLYTableView | JLYTableViewDemo/JLYData.h | <reponame>jly007/JLYTableView
//
// JLYData.h
// MyAccountBook
//
// Created by LingyuJi on 15/6/19.
// Copyright (c) 2015年 LingyuJi. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface JLYData : NSObject
@property (nonatomic, copy) NSString *date;
@property (nonatomic, copy) NSString *rate;... |
jly007/JLYTableView | JLYTableViewDemo/NSString+Number.h | //
// NSString+Number.h
// MyAccountBook
//
// Created by LingyuJi on 15/6/21.
// Copyright (c) 2015年 LingyuJi. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (Number)
+(NSString *)countNumAndChangeformat:(NSString *)num;
@end
|
jly007/JLYTableView | JLYTableViewDemo/JLYTableViewGlobals.h | //
// JLYTableViewGlobals.h
// MyAccountBook
//
// Created by LingyuJi on 15/6/20.
// Copyright (c) 2015年 LingyuJi. All rights reserved.
//
#import <Foundation/Foundation.h>
FOUNDATION_EXPORT NSString *const sNoAction;
@interface JLYTableViewGlobals : NSObject
@end
|
jly007/JLYTableView | JLYTableViewDemo/JLYTableView.h | //
// JLYTableView.h
// MyAccountBook
//
// Created by LingyuJi on 15/6/18.
// Copyright (c) 2015年 LingyuJi. All rights reserved.
//
#import <UIKit/UIKit.h>
@class JLYTableViewCell;
@protocol JLYTableViewDelegate <NSObject>
@optional
// return height of row
- (CGFloat)tableViewCell:(JLYTableViewCell *)tableVie... |
jly007/JLYTableView | JLYTableViewDemo/JLYTableViewCell.h | <reponame>jly007/JLYTableView<filename>JLYTableViewDemo/JLYTableViewCell.h
//
// JLYTableViewCell.h
// MyAccountBook
//
// Created by LingyuJi on 15/6/18.
// Copyright (c) 2015年 LingyuJi. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, JLYTableViewCellMode)
{
JLYTableViewCellModeCen... |
potato3d/lindstrom | src/alg/qspline.h | <filename>src/alg/qspline.h<gh_stars>0
// qspline.h
// v-Quaternion spline interpolation
// Ref. "v-Quaternion Splines for the Smooth Interpolation of Orientations"
// <NAME>, IEEE Trans. on Vis. and C.G., 10(2), 2004.
// Dec 2005
// <EMAIL>
#ifndef utl_qspline_h
#define utl_qspline_h
#include <assert.h>
#include <s... |
potato3d/lindstrom | src/alg/plane.h | <gh_stars>0
//* plane.h
// Represents plane
// <EMAIL>
// Feb 2003
#ifndef ALG_PLANE_H
#define ALG_PLANE_H
#include <math.h>
#include <stdio.h>
#include "defines.h"
#include "vector.h"
class ALG_API AlgPlane
{
public:
float a,b,c,d;
AlgPlane ()
{
}
AlgPlane (float a, float b, float c, float d)
: a(a)... |
potato3d/lindstrom | src/alg/matrix.h | <filename>src/alg/matrix.h
//* matrix.h
// Implements a 4x4 matrix to support graphics operation.
// <EMAIL>
// <EMAIL>
// Jun 2002
#ifndef ALG_MATRIX_H
#define ALG_MATRIX_H
#include "defines.h"
#include "vector.h"
#include "quatern.h"
#include "plane.h"
#include <ds/stack.h>
#include <string.h>
class ALG_API AlgMat... |
potato3d/lindstrom | src/alg/glmatrixstack.h | // GL and matrix stack class
// <EMAIL>
// Sep 2004
#ifndef ALG_GL_MATRIX_STACK_H
#define ALG_GL_MATRIX_STACK_H
#include "glstack.h"
#include "matrixstack.h"
/**
* This class interfaces for the OpenGL matrix stack, while maintaining a AlgMatrix stack.
* It defines methods for:
* - setting the base matrix (eg. the... |
potato3d/lindstrom | src/alg/vector.h | <filename>src/alg/vector.h
//* vector.h
// Represents 3D point.
// <EMAIL>
// Jul 2002
#ifndef ALG_VECTOR_H
#define ALG_VECTOR_H
#include <math.h>
#include <stdio.h>
#include "defines.h"
class ALG_API AlgVector
{
public:
float x, y, z;
AlgVector ()
{
}
AlgVector (float vx, float vy, float vz)
: x(vx),... |
potato3d/lindstrom | src/alg/spline.h | // spline.h
// v-Spline interpolation
// Ref. "v-Quaternion Splines for the Smooth Interpolation of Orientations"
// <NAME>, IEEE Trans. on Vis. and C.G., 10(2), 2004.
// Dec 2005
// <EMAIL>
#ifndef utl_spline_h
#define utl_spline_h
#include <assert.h>
class AlgSpline
{
struct Point {
double x, y, z;
};
i... |
potato3d/lindstrom | src/alg/defines.h | <gh_stars>0
#ifndef ALG_DEFINES_H
#define ALG_DEFINES_H
#ifdef ALG_DLL
#define ALG_API __declspec(dllexport)
#else
#define ALG_API
#endif
#define ALG_TOL 1.0e-7
#define ALG_PI 3.14159f
#if (defined(_WIN32) && !defined(HAS_POSIX))
# include <float.h>
# define ALG_FINITE(a) _finite(a)
#elif defined(__sun)
# include ... |
potato3d/lindstrom | src/Defines.h | #ifndef TERRAIN_DEFINES
#define TERRAIN_DEFINES
/*
** mathematical defines
*/
#define DEG2RAD(x) ((3.1415927f / 180.0f) * (x))
#define RAD2DEG(x) ((180.0f / 3.1415927f) * (x))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define ISPOW2(x) (!((x) & ((x)... |
potato3d/lindstrom | src/alg/stack.h | // Matrix stack interface
// <EMAIL>
// Sep 2003
#ifndef ALG_STACK_H
#define ALG_STACK_H
#include "defines.h"
#include "matrix.h"
#include "vector.h"
#include "quatern.h"
class ALG_API AlgStack
{
public:
virtual ~AlgStack ()
{
}
virtual AlgMatrix GetTop () = 0;
virtual void Push () = 0;
virtual void Pop ... |
potato3d/lindstrom | src/alg/lua/alglua.h | <gh_stars>0
#ifndef ALG_LUA
#define ALG_LUA
#ifdef __cplusplus
extern "C" {
#endif
#include <lua.h>
#ifdef __cplusplus
}
# ifdef _WIN32
# ifdef ALGLUA_DLL
# define ALGLUAAPI extern "C" __declspec(dllexport)
# else
# define ALGLUAAPI extern "C"
# endif
# else
# define ALGLUAAPI extern "C"
# endif
#else
# defi... |
potato3d/lindstrom | src/TerrainImpl.h | #ifndef TERRAIN_IMPL_INCLUDED
#define TERRAIN_IMPL_INCLUDED
//class Rnd;
class AlgVector;
#include "Defines.h"
#include <math.h>
#include <float.h>
struct plane
{
float a, b, c, d;
};
struct viewPlanes
{
enum plane_visibility{
NOT_VISIBLE = 0,
LEFT_VISIBLE = 1,
RIGHT_VISIBLE = 2,
NEAR_VISIBLE = ... |
potato3d/lindstrom | src/alg/glstack.h | // GL stack class
// <EMAIL>
// Sep 2003
#ifndef ALG_GL_STACK_H
#define ALG_GL_STACK_H
#include "stack.h"
#ifdef _WIN32
#include <windows.h>
#endif
#include <GL/gl.h>
#include <GL/glu.h>
/**
* This class interfaces for the OpenGL matrix stack.
* It defines methods for:
* - setting the base matrix (eg. the project... |
potato3d/lindstrom | src/alg/matrixstack.h | // Matrix stack class
// <EMAIL>
// Sep 2003
#ifndef ALG_MATRIX_STACK_H
#define ALG_MATRIX_STACK_H
#include "stack.h"
#include <ds/stack.h>
/**
* This class implements a matrix stack on the CPU, just like the OpenGL matrix stacks.
* It defines methods for:
* - accumulating/pushing/popping transformations.
* - ob... |
potato3d/lindstrom | src/alg/lua/algtolua5.h | /*
** Lua binding: alg
** Generated automatically by tolua 5.0 on Thu Mar 1 17:15:17 2007.
*/
/* Exported function */
#ifdef __cplusplus
extern "C" {
#endif
TOLUA_API int tolua_alg_open (lua_State* tolua_S);
#ifdef __cplusplus
}
#endif
|
potato3d/lindstrom | src/alg/quatern.h | <gh_stars>0
//* quatern.h
// Represents quaternion.
// <EMAIL>
// <EMAIL>
// Nov 2004
#ifndef VIS_QUATERN_H
#define VIS_QUATERN_H
#include "defines.h"
#include "vector.h"
class ALG_API AlgQuatern
{
private:
float m_w;
AlgVector m_p;
public:
// Constructors and destructors
AlgQuatern ()
: m_w(1.0f... |
potato3d/lindstrom | src/alg/frustum.h | // frustum.h
// Tecgraf/PUC-Rio
// <EMAIL>
// Feb 2003
#ifndef ALG_FRUSTUM_H
#define ALG_FRUSTUM_H
#include "defines.h"
#include "plane.h"
class ALG_API AlgFrustum
{
public:
/* Creates a new AlgFrustum object
* \param Number of canonical planes
*/
AlgFrustum (int n)
{
m_pl = new AlgPlane[n];
m_np... |
JunAILiang/JMButton | JMButton/JMRadioViewController.h | //
// JMRadioViewController.h
// JMButton
//
// Created by JM on 2018/1/27.
// Copyright © 2018年 JM. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface JMRadioViewController : UIViewController
@end
|
JunAILiang/JMButton | JMButton/JMWaveViewController.h | //
// JMWaveViewController.h
// JMButton
//
// Created by JM on 2018/1/23.
// Copyright © 2018年 JM. All rights reserved.
//
/*
.----------------. .----------------.
| .--------------. | .--------------. |
| | _____ | | | ____ ____ | |
| | |_ _| | | ||_ \ / _|| |
| | | | | | | | ... |
gerasim13/Chameleon | ChameleonDemo/ChameleonDemo/Row4ViewController.h | //
// FlatfiyViewController.h
// ChameleonDemo
//
// Created by <NAME> on 7/24/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Chameleon.h"
@interface Row4ViewController : UIViewController
@property (nonatomic, strong) UILabel *titleLabel;
- (IBAction)flatify:(id)sende... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.