hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
43afed1fb435a263c14fbb1c32a5a2de3463bae8 | 5,252 | c | C | runtime/flang/red_maxval.c | kammerdienerb/flang | 8cc4a02b94713750f09fe6b756d33daced0b4a74 | [
"Apache-2.0"
] | 1 | 2022-03-02T19:47:29.000Z | 2022-03-02T19:47:29.000Z | runtime/flang/red_maxval.c | kammerdienerb/flang | 8cc4a02b94713750f09fe6b756d33daced0b4a74 | [
"Apache-2.0"
] | 58 | 2017-10-25T17:21:13.000Z | 2021-12-22T13:35:09.000Z | runtime/flang/red_maxval.c | kammerdienerb/flang | 8cc4a02b94713750f09fe6b756d33daced0b4a74 | [
"Apache-2.0"
] | 3 | 2019-12-21T06:35:35.000Z | 2020-06-07T23:18:58.000Z | /*
* Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 32.621118 | 81 | 0.650038 |
4d05080e8ff0f91462af731c82b643f4085501fc | 390 | h | C | MJExtensionDemo/MJExtensionDemo/FKClanStatusModel.h | iOS-Kel/MJExtensionUseDemo | 4d3d9b4bb48269783ba2f497286087b141a3d3a0 | [
"Apache-2.0"
] | 1 | 2017-05-25T10:26:41.000Z | 2017-05-25T10:26:41.000Z | MJExtensionDemo/MJExtensionDemo/FKClanStatusModel.h | iOS-Kel/MJExtensionUseDemo | 4d3d9b4bb48269783ba2f497286087b141a3d3a0 | [
"Apache-2.0"
] | null | null | null | MJExtensionDemo/MJExtensionDemo/FKClanStatusModel.h | iOS-Kel/MJExtensionUseDemo | 4d3d9b4bb48269783ba2f497286087b141a3d3a0 | [
"Apache-2.0"
] | null | null | null | //
// FKClanStatusModel.h
// YiShiDai
//
// Created by GFK on 16/12/15.
// Copyright © 2016年 GFK. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface FKClanStatusModel : NSObject
/** 战队id */
@property(nonatomic, assign) NSUInteger clan_id;
/** 战队名称 */
@property(nonatomic, copy) NSString *clan_nam... | 20.526316 | 48 | 0.702564 |
2ff2e8d982bea9b689050a2802fba5ec29e44b81 | 5,398 | h | C | kernel_dvfs/linux-linaro-tracking-gem5/include/linux/blk-mq.h | lokeshjindal15/pd-gem5_transformer | f8eb40dc65a5d7e15c8aa0756b1b48dd104bd54f | [
"BSD-3-Clause"
] | null | null | null | kernel_dvfs/linux-linaro-tracking-gem5/include/linux/blk-mq.h | lokeshjindal15/pd-gem5_transformer | f8eb40dc65a5d7e15c8aa0756b1b48dd104bd54f | [
"BSD-3-Clause"
] | null | null | null | kernel_dvfs/linux-linaro-tracking-gem5/include/linux/blk-mq.h | lokeshjindal15/pd-gem5_transformer | f8eb40dc65a5d7e15c8aa0756b1b48dd104bd54f | [
"BSD-3-Clause"
] | null | null | null | #ifndef BLK_MQ_H
#define BLK_MQ_H
#include <linux/blkdev.h>
struct blk_mq_tags;
struct blk_mq_cpu_notifier {
struct list_head list;
void *data;
void (*notify)(void *data, unsigned long action, unsigned int cpu);
};
struct blk_mq_hw_ctx {
struct {
spinlock_t lock;
struct list_head dispatch;
} ____cacheline... | 27.968912 | 144 | 0.723787 |
644c18b337d413b021cf792e67f0a14b4a89b43d | 2,176 | h | C | Source/EnemyBehaviour/SlimeCharacter.h | Nufotedam/Slime-Basic-Enemy-Behavior | 694df9b1298028867ad67350c388ccea3148590a | [
"Apache-2.0"
] | null | null | null | Source/EnemyBehaviour/SlimeCharacter.h | Nufotedam/Slime-Basic-Enemy-Behavior | 694df9b1298028867ad67350c388ccea3148590a | [
"Apache-2.0"
] | null | null | null | Source/EnemyBehaviour/SlimeCharacter.h | Nufotedam/Slime-Basic-Enemy-Behavior | 694df9b1298028867ad67350c388ccea3148590a | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "WaypointActor.h"
#include "SlimeCharacter.generated.h"
/**
* The modes that the Character can be in.
* PATROL - Patrolling between Waypoints.
* CHASE ... | 26.864198 | 94 | 0.775735 |
8aeb85d00c5bcf67d9ef70be466e1ce5ab374c61 | 348 | h | C | Embedded Software/src/Uplink.h | JaccoVeldscholten/SmartDispenser | 6b3dfddaeef67293853557a0e8b6b49ca562f1db | [
"MIT"
] | null | null | null | Embedded Software/src/Uplink.h | JaccoVeldscholten/SmartDispenser | 6b3dfddaeef67293853557a0e8b6b49ca562f1db | [
"MIT"
] | null | null | null | Embedded Software/src/Uplink.h | JaccoVeldscholten/SmartDispenser | 6b3dfddaeef67293853557a0e8b6b49ca562f1db | [
"MIT"
] | null | null | null | #ifndef UPLINK_H
#define UPLINK_H
#include <HTTPClient.h>
#include <ArduinoJson.h>
class Uplink
{
private:
WiFiClient client;
HTTPClient http;
public:
Uplink();
void SendData();
String APIUrl; /* Storage for API URL */
StaticJsonDocument<200> doc; /* Data... | 16.571429 | 62 | 0.600575 |
14029683694dec0847bdb9a9898c873f87d4fcd5 | 290 | h | C | src/optimizer.h | adamharrison/liquid-cpp | d9d5ae7e5d8e8752869c56a5bf31b804642ccc01 | [
"MIT",
"Unlicense"
] | 14 | 2021-03-16T20:58:26.000Z | 2022-03-06T04:08:35.000Z | src/optimizer.h | adamharrison/liquid-cpp | d9d5ae7e5d8e8752869c56a5bf31b804642ccc01 | [
"MIT",
"Unlicense"
] | 1 | 2021-06-28T04:36:53.000Z | 2021-06-28T13:06:13.000Z | src/optimizer.h | adamharrison/liquid-cpp | d9d5ae7e5d8e8752869c56a5bf31b804642ccc01 | [
"MIT",
"Unlicense"
] | 1 | 2021-10-14T09:43:17.000Z | 2021-10-14T09:43:17.000Z | #ifndef LIQUIDOPTIMIZER_H
#define LIQUIDOPTIMIZER_H
#include "common.h"
namespace Liquid {
struct Renderer;
struct Node;
struct Optimizer {
Renderer& renderer;
Optimizer(Renderer& renderer);
void optimize(Node& ast, Variable store);
};
}
#endif
| 15.263158 | 49 | 0.662069 |
533ab03d343a3e312744d0968689be36acf1b5d2 | 10,413 | c | C | application.c | DmitriyVentil/ComgGraph | 2c9b59cf10295a5372d2bb2b38b30bf88f91ec8b | [
"Unlicense"
] | null | null | null | application.c | DmitriyVentil/ComgGraph | 2c9b59cf10295a5372d2bb2b38b30bf88f91ec8b | [
"Unlicense"
] | null | null | null | application.c | DmitriyVentil/ComgGraph | 2c9b59cf10295a5372d2bb2b38b30bf88f91ec8b | [
"Unlicense"
] | null | null | null | /**
******************************************************************************
* File Name : application.c
******************************************************************************
*/
#include "application.h"
#include "main.h"
#include "usart.h"
#include "mb.h"
#include "mbporttimer.h"
... | 14.24487 | 149 | 0.571977 |
bb3bdf6a83935daacfd31ce5e719e48a97cbf352 | 304 | h | C | SubEthaEdit-Mac/Source/SEEMoreRecentDocumentsListItem.h | fourplusone/SubEthaEdit | ec5f5f2a14d803a5fcfd35df282d2822a7009cdc | [
"MIT"
] | 1,240 | 2018-10-25T21:22:38.000Z | 2022-03-26T14:13:52.000Z | SubEthaEdit-Mac/Source/SEEMoreRecentDocumentsListItem.h | fourplusone/SubEthaEdit | ec5f5f2a14d803a5fcfd35df282d2822a7009cdc | [
"MIT"
] | 200 | 2018-11-21T11:44:57.000Z | 2022-03-28T19:51:41.000Z | SubEthaEdit-Mac/Source/SEEMoreRecentDocumentsListItem.h | fourplusone/SubEthaEdit | ec5f5f2a14d803a5fcfd35df282d2822a7009cdc | [
"MIT"
] | 115 | 2018-11-28T09:49:01.000Z | 2022-03-31T03:26:05.000Z | // SEEMoreRecentDocumentsListItem.h
// SubEthaEdit
//
// Created by Michael Ehrmann on 22.05.14.
#import <Foundation/Foundation.h>
#import "SEEDocumentListItemProtocol.h"
@interface SEEMoreRecentDocumentsListItem : NSObject <SEEDocumentListItem>
@property (nonatomic, weak) NSMenu *moreMenu;
@end
| 21.714286 | 74 | 0.782895 |
154716fd677e7ef98b6f08751e8607703ea16363 | 1,059 | c | C | src/args.c | MinaSaad47/project | 1e281e3c07381f6899abf710603d56b8c09c20bd | [
"Unlicense"
] | 4 | 2021-12-28T13:33:26.000Z | 2022-01-04T13:59:27.000Z | src/args.c | MinaSaad47/project | 1e281e3c07381f6899abf710603d56b8c09c20bd | [
"Unlicense"
] | null | null | null | src/args.c | MinaSaad47/project | 1e281e3c07381f6899abf710603d56b8c09c20bd | [
"Unlicense"
] | null | null | null | #include "args.h"
Args args;
void
handle_args(int argc, char **argv)
{
int c, longIndex;
struct option longOpts[] = {
{ "address", required_argument, 0, 'a' },
{ "port", required_argument, 0, 'p' },
{ "daemon", no_argument, ... | 30.257143 | 102 | 0.342776 |
29e2bf9604d925ecf233a6510665e8056303d62c | 3,473 | c | C | d/antioch/valley/obj/sea_dagger.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/antioch/valley/obj/sea_dagger.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/antioch/valley/obj/sea_dagger.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>
#include "../valley.h"
inherit "/d/common/obj/weapon/dagger.c";
void create()
{
::create();
set_name("sea dagger");
set_id(({"dagger","sprite dagger","tiny dagger","nixie dagger","sea roar dagger","coral dagger"}));
set_short("%^BOLD%^%^BLUE%^S%^RESET%^%^BLUE%^e%^CYAN%^a"+
" %^BOLD%^R%^BLUE%^o%^... | 39.465909 | 100 | 0.647567 |
17acde81b2ba89b4f8853256f4359a1e9e1ee109 | 1,511 | c | C | ece2140_cnn_theta/software/CNN_C/CNN_C/src/batch_input_conv.c | wew55/ece2140 | ea7da0222d496582b746df3ba83f734c2439efa6 | [
"Unlicense"
] | 1 | 2020-03-31T10:00:19.000Z | 2020-03-31T10:00:19.000Z | ece2140_cnn_theta/software/CNN_C/CNN_C/src/batch_input_conv.c | wew55/ece2140 | ea7da0222d496582b746df3ba83f734c2439efa6 | [
"Unlicense"
] | null | null | null | ece2140_cnn_theta/software/CNN_C/CNN_C/src/batch_input_conv.c | wew55/ece2140 | ea7da0222d496582b746df3ba83f734c2439efa6 | [
"Unlicense"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
int batch_input_conv(float*** input, int size_input, int features_input, int numberOfSlice, int size_kernel, int counter, float*** batch, int* PreviousnumberOfLine)
{
int size_output = size_input - size_kernel + 1;
int numberOfCalculation =... | 24.370968 | 164 | 0.643283 |
6f1aa5ba35b672477635d30e20ff1a196f83edc1 | 968 | c | C | ZZZ_OtherDemo/00-dyld-832.7.3/testing/test-cases/dylib-static-weak-link.dtest/present.c | 1079278593/TreasureChest | 8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8 | [
"MIT"
] | null | null | null | ZZZ_OtherDemo/00-dyld-832.7.3/testing/test-cases/dylib-static-weak-link.dtest/present.c | 1079278593/TreasureChest | 8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8 | [
"MIT"
] | null | null | null | ZZZ_OtherDemo/00-dyld-832.7.3/testing/test-cases/dylib-static-weak-link.dtest/present.c | 1079278593/TreasureChest | 8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8 | [
"MIT"
] | null | null | null | // BUILD: $CC foo.c -dynamiclib -o $BUILD_DIR/libfoo.dylib -install_name $RUN_DIR/libfoo.dylib
// BUILD: $CC present.c $BUILD_DIR/libfoo.dylib -o $BUILD_DIR/dylib-static-weak-present.exe
// BUILD: $CC foo.c -dynamiclib -o $BUILD_DIR/libfoo2.dylib -install_name $RUN_DIR/libfoomissing.dylib
// BUILD: $CC missing.c $B... | 28.470588 | 103 | 0.65186 |
1762dd38853b5387524d3bff44702d43564099b0 | 289 | h | C | Pods/Headers/Private/libsodium/poly1305_sse2.h | hboon/web3swift | 183b97078b9f98dbc7e6029db08c0cd1247829fc | [
"Apache-2.0"
] | 269 | 2017-11-18T13:28:33.000Z | 2022-03-22T15:11:27.000Z | Pods/Headers/Private/libsodium/poly1305_sse2.h | ZhangxiaoHuangfu/shadowsocks-iOS | 5a1b8cc79abbcbf1b3fa91d44e2bba47d52c2e23 | [
"Apache-2.0"
] | 13 | 2018-03-15T10:06:08.000Z | 2022-02-08T17:57:08.000Z | Pods/Headers/Private/libsodium/poly1305_sse2.h | ZhangxiaoHuangfu/shadowsocks-iOS | 5a1b8cc79abbcbf1b3fa91d44e2bba47d52c2e23 | [
"Apache-2.0"
] | 379 | 2017-10-23T11:43:16.000Z | 2022-03-21T12:13:24.000Z | #ifndef poly1305_sse2_H
#define poly1305_sse2_H
#include <stddef.h>
#include "../onetimeauth_poly1305.h"
#include "crypto_onetimeauth_poly1305.h"
extern struct crypto_onetimeauth_poly1305_implementation
crypto_onetimeauth_poly1305_sse2_implementation;
#endif /* poly1305_sse2_H */
| 22.230769 | 56 | 0.83045 |
c0ef3e23ca33442c50db1a46687ed76d710f99a5 | 473 | h | C | Theremin2/PatchBank.h | dcherednikov/Theremin2 | 544232f56ed9d624c9cedcaab966be184f884451 | [
"MIT"
] | null | null | null | Theremin2/PatchBank.h | dcherednikov/Theremin2 | 544232f56ed9d624c9cedcaab966be184f884451 | [
"MIT"
] | null | null | null | Theremin2/PatchBank.h | dcherednikov/Theremin2 | 544232f56ed9d624c9cedcaab966be184f884451 | [
"MIT"
] | null | null | null | //
// PatchBank.h
// Theremin2
//
// Created by Admin on 03/07/2017.
// Copyright © 2017 MacBookPro. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Patch.h"
@interface PatchBank : NSObject
@property (nonatomic, readonly, assign) BOOL isReadyToSave;
@property (nonatomic, assign) NSInteger sel... | 19.708333 | 59 | 0.733615 |
77d57b9e77da670896b8ca2c0ef367955d4e93a0 | 496 | h | C | MVVMTest/View/MVVMCell.h | feiyanghe/MVVMTest | 73425e07995ebc2178b25712eee308e34e908462 | [
"MIT"
] | null | null | null | MVVMTest/View/MVVMCell.h | feiyanghe/MVVMTest | 73425e07995ebc2178b25712eee308e34e908462 | [
"MIT"
] | null | null | null | MVVMTest/View/MVVMCell.h | feiyanghe/MVVMTest | 73425e07995ebc2178b25712eee308e34e908462 | [
"MIT"
] | null | null | null | //
// MVVMCell.h
// MVVMTest
//
// Created by feiyanghe on 2018/4/25.
// Copyright © 2018年 feiyanghe. All rights reserved.
//
#import <UIKit/UIKit.h>
@class MVVMCellModel;
@interface MVVMCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *icon;
@property (weak, nonatomic) IBOutlet UILabel *tit... | 27.555556 | 59 | 0.752016 |
4f72107f49be6d1d12e33ded9e57e84bcb503d6e | 580 | h | C | mem-axc-64/apps/macsim.r.d.b.s/macsim-mem-axc-64/gems-lib-ooo/simics/src/include/simics/alloc.h | vnaveen0/nachos | 99933b0da5474bf43bd167d2540438375237b2d9 | [
"MIT"
] | 1 | 2018-02-28T10:00:00.000Z | 2018-02-28T10:00:00.000Z | mem-axc-64/apps/macsim.r.d.b.s/macsim-mem-axc-64/gems-lib-ooo/simics/src/include/simics/alloc.h | vnaveen0/nachos | 99933b0da5474bf43bd167d2540438375237b2d9 | [
"MIT"
] | 1 | 2020-04-06T22:30:00.000Z | 2020-04-06T22:30:00.000Z | mem-axc-64/apps/macsim.r.d.b.s/macsim-mem-axc-64/gems-lib-ooo/simics/src/include/simics/alloc.h | vnaveen0/nachos | 99933b0da5474bf43bd167d2540438375237b2d9 | [
"MIT"
] | null | null | null | /*
* simics/alloc.h
*
* This file is part of Virtutech Simics
*
* Copyright (C) 1998-2005 Virtutech AB, All Rights Reserved
*
* The Virtutech Simics API is distributed under license. Please refer to
* the 'LICENSE' file for details.
*
* For documentation on the Virtutech Simics API, please refer to the
* Sim... | 24.166667 | 73 | 0.739655 |
ae528a648e4d9fe76b573ae703ccb2be5e23fa35 | 916 | c | C | Task/Amicable-pairs/C/amicable-pairs.c | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | Task/Amicable-pairs/C/amicable-pairs.c | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | Task/Amicable-pairs/C/amicable-pairs.c | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
typedef unsigned int uint;
int main(int argc, char **argv)
{
uint top = atoi(argv[1]);
uint *divsum = malloc((top + 1) * sizeof(*divsum));
uint pows[32] = {1, 0};
for (uint i = 0; i <= top; i++) divsum[i] = 1;
// sieve
for (uint p = 2; p <= top; p++) {
if (divsum[p] > ... | 21.809524 | 64 | 0.512009 |
53d2e9210439eb31e2349a9e139c8d210cb33703 | 362 | h | C | yituiyun/yituiyun/Controllers/MainVC/Controller/HomeMiddleLabelVc.h | HJXIcon/YiTuiYun | b6d700d8905f8929e180f662392058d8f349906d | [
"MIT"
] | 1 | 2018-08-31T03:37:42.000Z | 2018-08-31T03:37:42.000Z | yituiyun/yituiyun/Controllers/MainVC/Controller/HomeMiddleLabelVc.h | HJXIcon/YiTuiYun | b6d700d8905f8929e180f662392058d8f349906d | [
"MIT"
] | null | null | null | yituiyun/yituiyun/Controllers/MainVC/Controller/HomeMiddleLabelVc.h | HJXIcon/YiTuiYun | b6d700d8905f8929e180f662392058d8f349906d | [
"MIT"
] | null | null | null | //
// HomeMiddleLabelVc.h
// yituiyun
//
// Created by yituiyun on 2017/6/6.
// Copyright © 2017年 张强. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "HomeTableViewCell.h"
#import "KongKongViewVc.h"
@interface HomeMiddleLabelVc : KongKongViewVc
/**leixing */
@property(nonatomic,strong) NSDictionary * dict... | 19.052632 | 48 | 0.685083 |
12ef472ff1b388d01d199b5d584cd489907b4e4b | 2,740 | h | C | BaiduWalletSDK/SAPI/Headers/SAPILib.h | wzy911229/ZYBaiduWalletSDK | 89e27f8564aaf40665001ade397181ee18ba97c6 | [
"Apache-2.0"
] | null | null | null | BaiduWalletSDK/SAPI/Headers/SAPILib.h | wzy911229/ZYBaiduWalletSDK | 89e27f8564aaf40665001ade397181ee18ba97c6 | [
"Apache-2.0"
] | null | null | null | BaiduWalletSDK/SAPI/Headers/SAPILib.h | wzy911229/ZYBaiduWalletSDK | 89e27f8564aaf40665001ade397181ee18ba97c6 | [
"Apache-2.0"
] | null | null | null | //
// SAPILib.h
// SAPILib
//
// Created by Vinson.D.Warm on 13-9-6.
// Copyright (c) 2013年 baidu. All rights reserved.
//
// v6.15.10 2016.05.20
// 增加H5与NABDUSS同步策略,可参考[SAPIMainManager sharedManager].naH5SyncStrategy配置项。
//
// v6.15.8 2016.05.10
// 适配IPv6-only
//
// v6.15.6 2016.05.06
// 获取stoken接口增加同步返回值
//... | 20.916031 | 114 | 0.702555 |
3f5f94b13daaceed85d3c5c902833a3ef89ef107 | 17,902 | c | C | xen-4.6.0/tools/qemu-xen-traditional/hw/pt-msi.c | StanPlatinum/VMI-as-a-Service | 5828a9c73815ad7e043428e7e56dc0715aaa60a1 | [
"MIT"
] | 185 | 2017-12-14T08:18:15.000Z | 2022-03-30T02:58:36.000Z | xen-4.6.0/tools/qemu-xen-traditional/hw/pt-msi.c | StanPlatinum/VMI-as-a-Service | 5828a9c73815ad7e043428e7e56dc0715aaa60a1 | [
"MIT"
] | 11 | 2018-01-30T23:31:20.000Z | 2022-01-17T05:03:56.000Z | xen-4.6.0/tools/qemu-xen-traditional/hw/pt-msi.c | StanPlatinum/ROP-detection-inside-VMs | 7b39298dd0791711cbd78fd0730b819b755cc995 | [
"MIT"
] | 87 | 2018-01-10T08:12:32.000Z | 2022-02-19T10:29:31.000Z | /*
* Copyright (c) 2007, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but... | 28.735152 | 98 | 0.568652 |
e986589d0b8c8cfb6cc205ed1b4325aeed2ed154 | 4,255 | h | C | src/envoy/mixer/grpc_transport.h | douglas-reid/proxy | fc43bcbbc78577f86ed8ae90fbe334a31875ee8a | [
"Apache-2.0"
] | null | null | null | src/envoy/mixer/grpc_transport.h | douglas-reid/proxy | fc43bcbbc78577f86ed8ae90fbe334a31875ee8a | [
"Apache-2.0"
] | null | null | null | src/envoy/mixer/grpc_transport.h | douglas-reid/proxy | fc43bcbbc78577f86ed8ae90fbe334a31875ee8a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 Istio Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 34.314516 | 75 | 0.693067 |
b9ec498decf78f5fe0597b824e62fb97c3d037f3 | 1,344 | h | C | impactKiosk/src/chartdir/memblock.h | aaga/impact-kiosk | 19474edbbac8c7b7328b07f31b447fb14d413e29 | [
"MIT"
] | 3 | 2021-06-22T18:36:14.000Z | 2021-11-07T20:26:16.000Z | impactKiosk/src/chartdir/memblock.h | aaga/impact-kiosk | 19474edbbac8c7b7328b07f31b447fb14d413e29 | [
"MIT"
] | 1 | 2017-08-30T03:11:30.000Z | 2017-08-30T03:11:30.000Z | libecg-test/ChartDirector/include/memblock.h | kamyar-nemati/libecg-test | 14f2344bc02fea957ab6805351edb5aa88664451 | [
"MIT"
] | 2 | 2019-05-20T09:51:59.000Z | 2021-03-24T19:35:01.000Z | /*
* Copyright (C) 2013 Advanced Software Engineering Limited.
*
* This file is part of the ChartDirector software. Usage of this file is
* subjected to the ChartDirector license agreement. See the LICENSE.TXT
* file that comes with the ChartDirector software release, or visit
* Advanced Software Engineering's we... | 24 | 77 | 0.684524 |
2704551e1c6cba3ca58f8ffe057c6e2cdcdb3f51 | 1,440 | h | C | OutPutHeaders/LView.h | cocos543/WeChatTimeLineRobot | 1e93480e502e36ca9a21a506f481aa1fcb70ac4b | [
"MIT"
] | 106 | 2016-04-09T01:16:14.000Z | 2021-06-04T00:20:24.000Z | OutPutHeaders/LView.h | cocos543/WeChatTimeLineRobot | 1e93480e502e36ca9a21a506f481aa1fcb70ac4b | [
"MIT"
] | 2 | 2017-06-13T09:41:29.000Z | 2018-03-26T03:32:07.000Z | OutPutHeaders/LView.h | cocos543/WeChatTimeLineRobot | 1e93480e502e36ca9a21a506f481aa1fcb70ac4b | [
"MIT"
] | 58 | 2016-04-28T09:52:08.000Z | 2021-12-25T06:42:14.000Z | /**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import <XXUnknownSuperclass.h> // Unknown library
#import "WeChat-Structs.h"
@class UIView, AVCaptureVideoPreviewLayer;
@protocol NSObject;
@interface LView : XXUnk... | 31.304348 | 88 | 0.771528 |
5bdaf65c36d519ddbbd69813feea812a9138c2ca | 84 | h | C | os/darwin/SetupLogging.h | kovdan01/libtgvoip | 6fec40ea1acd40fddba927b049f78962507d4922 | [
"Unlicense"
] | null | null | null | os/darwin/SetupLogging.h | kovdan01/libtgvoip | 6fec40ea1acd40fddba927b049f78962507d4922 | [
"Unlicense"
] | null | null | null | os/darwin/SetupLogging.h | kovdan01/libtgvoip | 6fec40ea1acd40fddba927b049f78962507d4922 | [
"Unlicense"
] | null | null | null | #import <Foundation/Foundation.h>
extern void (*TGVoipLoggingFunction)(NSString*);
| 21 | 48 | 0.785714 |
1d04af9a68e06a88b12be37601662f0c627bf4a2 | 487 | h | C | src/sandbox/io/File.h | OpenSpace-VisLink/sandbox | cb8a42facc3afe73794e2e4405aab13531ccbcb2 | [
"MIT"
] | null | null | null | src/sandbox/io/File.h | OpenSpace-VisLink/sandbox | cb8a42facc3afe73794e2e4405aab13531ccbcb2 | [
"MIT"
] | null | null | null | src/sandbox/io/File.h | OpenSpace-VisLink/sandbox | cb8a42facc3afe73794e2e4405aab13531ccbcb2 | [
"MIT"
] | 1 | 2020-12-01T18:17:58.000Z | 2020-12-01T18:17:58.000Z | #ifndef SANDBOX_IO_FILE_H_
#define SANDBOX_IO_FILE_H_
#include <string>
#include "sandbox/Component.h"
namespace sandbox {
class File : public Component {
public:
File(const std::string& path) : path(path) {
addType<File>();
lastModifiedTime = getFileModifiedTime();
}
virtual ~File() {}
const std::string& g... | 17.392857 | 52 | 0.724846 |
df6a63b51e7b35c864f2a591c2e1cf03aa94c972 | 1,804 | h | C | deps/common/metrics/histogram_snapshot.h | wangqiim/miniob | f5d8b716f8449c9d9df3622231237e2438f8849a | [
"Apache-2.0"
] | null | null | null | deps/common/metrics/histogram_snapshot.h | wangqiim/miniob | f5d8b716f8449c9d9df3622231237e2438f8849a | [
"Apache-2.0"
] | null | null | null | deps/common/metrics/histogram_snapshot.h | wangqiim/miniob | f5d8b716f8449c9d9df3622231237e2438f8849a | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2021 Xie Meiyi(xiemeiyi@hust.edu.cn) and OceanBase and/or its affiliates. All rights reserved.
miniob is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/Mulan... | 23.736842 | 111 | 0.723392 |
ce5dc7f941aaf8c245313411d68d957cc6ddf16c | 361 | h | C | src/map/EnemyGenerator.h | LiquidityC/deadgaem | 3d970ce09e26115e002b391524584eab0583af37 | [
"WTFPL"
] | 1 | 2016-02-18T23:05:13.000Z | 2016-02-18T23:05:13.000Z | src/map/EnemyGenerator.h | LiquidityC/deadgaem | 3d970ce09e26115e002b391524584eab0583af37 | [
"WTFPL"
] | null | null | null | src/map/EnemyGenerator.h | LiquidityC/deadgaem | 3d970ce09e26115e002b391524584eab0583af37 | [
"WTFPL"
] | 1 | 2020-05-13T09:39:51.000Z | 2020-05-13T09:39:51.000Z | #ifndef MAP_ENEMYGENERATOR_H_
#define MAP_ENEMYGENERATOR_H_
#include <flat/flat.h>
#include "EntityGenerator.h"
class MapTileObject;
class EnemyGenerator : public EntityGenerator
{
protected:
virtual bool timeToSpawn() = 0;
public:
virtual void preMove(const flat2d::GameData *gameData, const MapTileObject *ti... | 19 | 84 | 0.781163 |
3807efd787f112d5671ffd9105923c4d01f7df22 | 5,596 | c | C | demo/conclusion.c | henrikh/posix_ipc | 46eae821f56f364a3afd6d68b3562adeced3794a | [
"BSD-3-Clause"
] | 73 | 2018-01-17T01:29:28.000Z | 2022-03-06T18:16:48.000Z | demo/conclusion.c | henrikh/posix_ipc | 46eae821f56f364a3afd6d68b3562adeced3794a | [
"BSD-3-Clause"
] | 27 | 2018-01-11T01:42:24.000Z | 2021-09-03T21:52:14.000Z | demo/conclusion.c | henrikh/posix_ipc | 46eae821f56f364a3afd6d68b3562adeced3794a | [
"BSD-3-Clause"
] | 14 | 2018-02-20T14:52:53.000Z | 2021-11-25T01:44:07.000Z | #include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <semaphore.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <fcntl.h>
#include "md5.h"
#include "utils.h"
static const char MY_NAME[] = "Mrs. Conclusion";
// Set up a Mrs. Premise & Mrs. Conclusion co... | 38.068027 | 142 | 0.456397 |
38723e56ed13dfe29585b00be5f05c1206a4effb | 11,511 | c | C | src/lib/pubsub/pubsub_check.c | Hyodar/tor | 6342a347b3bddc42fe925b943146253c0bc426c1 | [
"BSD-2-Clause-NetBSD"
] | 1 | 2020-01-09T22:46:28.000Z | 2020-01-09T22:46:28.000Z | src/lib/pubsub/pubsub_check.c | Hyodar/tor | 6342a347b3bddc42fe925b943146253c0bc426c1 | [
"BSD-2-Clause-NetBSD"
] | null | null | null | src/lib/pubsub/pubsub_check.c | Hyodar/tor | 6342a347b3bddc42fe925b943146253c0bc426c1 | [
"BSD-2-Clause-NetBSD"
] | null | null | null | /* Copyright (c) 2001, Matej Pfajfar.
* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* @file pubsub_check.c
* @brief Enforce various requirements on a pubs... | 27.737349 | 78 | 0.64712 |
e06dc06dc2aba79d4ce5e6a0ca26816254b1c501 | 2,979 | h | C | rootex/vendor/Effekseer/effekseer/src/Effekseer/Effekseer/Renderer/Effekseer.RingRenderer.h | ChronicallySerious/Rootex | bf2a0997b6aa5be84dbfc0e7826c31ff693ca0f1 | [
"MIT"
] | 166 | 2019-06-19T19:51:45.000Z | 2022-03-24T13:03:29.000Z | rootex/vendor/Effekseer/effekseer/src/Effekseer/Effekseer/Renderer/Effekseer.RingRenderer.h | rahil627/Rootex | 44f827d469bddc7167b34dedf80d7a8b984fdf20 | [
"MIT"
] | 312 | 2019-06-13T19:39:25.000Z | 2022-03-02T18:37:22.000Z | rootex/vendor/Effekseer/effekseer/src/Effekseer/Effekseer/Renderer/Effekseer.RingRenderer.h | rahil627/Rootex | 44f827d469bddc7167b34dedf80d7a8b984fdf20 | [
"MIT"
] | 23 | 2019-10-04T11:02:21.000Z | 2021-12-24T16:34:52.000Z |
#ifndef __EFFEKSEER_RING_RENDERER_H__
#define __EFFEKSEER_RING_RENDERER_H__
//----------------------------------------------------------------------------------
// Include
//----------------------------------------------------------------------------------
#include "../Effekseer.Base.h"
#include "../Effekseer.Color.... | 26.362832 | 115 | 0.537093 |
0d293a4b4722c69f195a8cb7c776748922ac86eb | 3,237 | h | C | CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/FTSWebSearchBaseResultTableViewCell.h | ceekay1991/CallTraceForWeChat | 5767cb6f781821b6bf9facc8c87e58e15fa88541 | [
"MIT"
] | 30 | 2020-03-22T12:30:21.000Z | 2022-02-09T08:49:13.000Z | CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/FTSWebSearchBaseResultTableViewCell.h | ceekay1991/CallTraceForWeChat | 5767cb6f781821b6bf9facc8c87e58e15fa88541 | [
"MIT"
] | null | null | null | CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/FTSWebSearchBaseResultTableViewCell.h | ceekay1991/CallTraceForWeChat | 5767cb6f781821b6bf9facc8c87e58e15fa88541 | [
"MIT"
] | 8 | 2020-03-22T12:30:23.000Z | 2020-09-22T04:01:47.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "MMTableViewCell.h"
@class AttributeLabel, MMUIImageView, MMUILabel, MMWebImageView, UIView;
@protocol FTSWebSearchBaseResultT... | 49.045455 | 149 | 0.785604 |
33d70c85f59e5cc01c2fb90c5d1964c99e4cadc3 | 3,681 | h | C | modules/webbrowser/properties/templatepropertywidgetcef.h | leaveitout/inviwo | a623c6bdf3fd9cc6b7cfb253dd492c38c2ef5797 | [
"BSD-2-Clause"
] | null | null | null | modules/webbrowser/properties/templatepropertywidgetcef.h | leaveitout/inviwo | a623c6bdf3fd9cc6b7cfb253dd492c38c2ef5797 | [
"BSD-2-Clause"
] | null | null | null | modules/webbrowser/properties/templatepropertywidgetcef.h | leaveitout/inviwo | a623c6bdf3fd9cc6b7cfb253dd492c38c2ef5797 | [
"BSD-2-Clause"
] | 1 | 2020-07-17T10:27:57.000Z | 2020-07-17T10:27:57.000Z | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2018 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... | 42.802326 | 162 | 0.665308 |
4bd28acc565e2ead4ed80d0bcb45e8de99fff7e4 | 224 | c | C | Sprint09/t06/mx_timer.c | LoveNek0/UCode-Connect-Marathone | d80e0c1e6719dd5069d2a065fe529fd09a1dad40 | [
"MIT"
] | null | null | null | Sprint09/t06/mx_timer.c | LoveNek0/UCode-Connect-Marathone | d80e0c1e6719dd5069d2a065fe529fd09a1dad40 | [
"MIT"
] | null | null | null | Sprint09/t06/mx_timer.c | LoveNek0/UCode-Connect-Marathone | d80e0c1e6719dd5069d2a065fe529fd09a1dad40 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <time.h>
double mx_timer(void(*f)());
double mx_timer(void(*f)()){
clock_t begin = clock();
f();
clock_t end = clock();
return (double)(end - begin) / (double)CLOCKS_PER_SEC;
}
| 20.363636 | 58 | 0.611607 |
ef1d7a3687fd89d934dfdb6a180641184181ffaf | 498 | h | C | net/cookies/CookieJarMgr.h | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | 8 | 2019-05-05T16:38:05.000Z | 2021-11-09T11:45:38.000Z | net/cookies/CookieJarMgr.h | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | null | null | null | net/cookies/CookieJarMgr.h | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | 4 | 2018-12-14T07:52:46.000Z | 2021-06-11T18:06:09.000Z |
#ifndef net_CookieJarMgr_h
#define net_CookieJarMgr_h
#include <string>
#include <map>
namespace net {
class WebCookieJarImpl;
class CookieJarMgr {
public:
static CookieJarMgr* getInst()
{
if (!m_inst)
m_inst = new CookieJarMgr();
return m_inst;
}
WebCookieJarImpl* crea... | 16.6 | 63 | 0.686747 |
0d0e74871504f541a8924cc5a0282c2942f6e3e3 | 1,559 | h | C | esp32_blekbd/kc.h | oha-Ohashi/ESP-32-likeQMK | e23de63b4c0d04e8b91aa2473a0b0b3c58f53332 | [
"MIT"
] | null | null | null | esp32_blekbd/kc.h | oha-Ohashi/ESP-32-likeQMK | e23de63b4c0d04e8b91aa2473a0b0b3c58f53332 | [
"MIT"
] | null | null | null | esp32_blekbd/kc.h | oha-Ohashi/ESP-32-likeQMK | e23de63b4c0d04e8b91aa2473a0b0b3c58f53332 | [
"MIT"
] | null | null | null | const uint8_t KEY_LEFT_CTRL = 0x80;
const uint8_t KEY_LEFT_SHIFT = 0x81;
const uint8_t KEY_LEFT_ALT = 0x82;
const uint8_t KEY_LEFT_GUI = 0x83;
const uint8_t KEY_RIGHT_CTRL = 0x84;
const uint8_t KEY_RIGHT_SHIFT = 0x85;
const uint8_t KEY_RIGHT_ALT = 0x86;
const uint8_t KEY_RIGHT_GUI = 0x87;
const uint8_t KEY_UP... | 31.816327 | 38 | 0.757537 |
6090ea21c70ad0e7f3b2d56798c4d17d318d4746 | 865 | c | C | 11.c | ednl/aoc2017 | 429cec4e8e89bed375bc40989d7c8bab609cc4b1 | [
"MIT"
] | null | null | null | 11.c | ednl/aoc2017 | 429cec4e8e89bed375bc40989d7c8bab609cc4b1 | [
"MIT"
] | null | null | null | 11.c | ednl/aoc2017 | 429cec4e8e89bed375bc40989d7c8bab609cc4b1 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
static inline int dist(int q, int r)
{
return (abs(q) + abs(q + r) + abs(r)) / 2;
}
int main(void)
{
// Axial coordinates (q,r)
// ref.: https://www.redblobgames.com/grids/hexagons/
int q = 0, r = 0, d = 0, dmax = 0;
FILE *f = fopen("11.txt", "r");
if (f ... | 23.378378 | 57 | 0.378035 |
e6f144d9f458acc21054f41c1c8915d5a0c7392a | 6,709 | h | C | stlsoft/stlsoft_proxy_ptr.h | masscry/dmc | c7638f7c524a65bc2af0876c76621d8a11da42bb | [
"BSL-1.0"
] | 86 | 2018-05-24T12:03:44.000Z | 2022-03-13T03:01:25.000Z | stlsoft/stlsoft_proxy_ptr.h | masscry/dmc | c7638f7c524a65bc2af0876c76621d8a11da42bb | [
"BSL-1.0"
] | 1 | 2019-05-30T01:38:40.000Z | 2019-10-26T07:15:01.000Z | stlsoft/stlsoft_proxy_ptr.h | masscry/dmc | c7638f7c524a65bc2af0876c76621d8a11da42bb | [
"BSL-1.0"
] | 14 | 2018-07-16T08:29:12.000Z | 2021-08-23T06:21:30.000Z | /* /////////////////////////////////////////////////////////////////////////////
* File: stlsoft_proxy_ptr.h (originally MLBrwPtr.h, ::SynesisStd)
*
* Purpose: Contains the proxy_ptr template class.
*
* Created: 17th January 1999
* Updated: 11th September 2004
*
* Home: http://... | 31.497653 | 94 | 0.596661 |
fc8c286db35217bc5950df99316aa26a1d520438 | 843 | h | C | inetsrv/iis/svcs/nntp/server/server/tomaster.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/svcs/nntp/server/server/tomaster.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/svcs/nntp/server/server/tomaster.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1995 Microsoft Corporation
Module Name:
fromclnt.h
Abstract:
This module contains class declarations/definitions for
!!!
**** Overview ****
!!!
Author:
Carl Kadie (CarlK) 05-Dec-1995
Revision History:
--*/
#ifndef _TOMASTER_H_
#define _TOMA... | 11.547945 | 66 | 0.581257 |
cccf3a4506f9aadd75e9f2dac43026d8db971b32 | 1,329 | c | C | clang-tools-extra/test/clang-tidy/checkers/misc-misplaced-const.c | dan-zheng/llvm-project | 6b792850da0345274758c9260fda5df5e57ab486 | [
"Apache-2.0"
] | 409 | 2015-01-03T23:52:34.000Z | 2022-03-09T11:32:18.000Z | clang-tools-extra/test/clang-tidy/checkers/misc-misplaced-const.c | dan-zheng/llvm-project | 6b792850da0345274758c9260fda5df5e57ab486 | [
"Apache-2.0"
] | 15 | 2015-08-31T13:35:00.000Z | 2018-11-23T12:34:50.000Z | clang-tools-extra/test/clang-tidy/checkers/misc-misplaced-const.c | dan-zheng/llvm-project | 6b792850da0345274758c9260fda5df5e57ab486 | [
"Apache-2.0"
] | 374 | 2015-02-02T05:23:26.000Z | 2022-03-31T10:53:25.000Z | // RUN: %check_clang_tidy %s misc-misplaced-const %t
typedef int plain_i;
typedef int *ip;
typedef const int *cip;
typedef void (*func_ptr)(void);
void func(void) {
// ok
const int *i0 = 0;
const plain_i *i1 = 0;
const cip i2 = 0; // const applies to both pointer and pointee.
// Not ok
const ip i3 = 0;
... | 28.891304 | 178 | 0.654628 |
0a9737cdb9fa0d731faae25f7befe8c8c3e0bba6 | 12,333 | h | C | lib/scipoptsuite-5.0.1/zimpl/src/zimpl/code.h | npwebste/UPS_Controller | a90ce2229108197fd48f956310ae2929e0fa5d9a | [
"AFL-1.1"
] | null | null | null | lib/scipoptsuite-5.0.1/zimpl/src/zimpl/code.h | npwebste/UPS_Controller | a90ce2229108197fd48f956310ae2929e0fa5d9a | [
"AFL-1.1"
] | null | null | null | lib/scipoptsuite-5.0.1/zimpl/src/zimpl/code.h | npwebste/UPS_Controller | a90ce2229108197fd48f956310ae2929e0fa5d9a | [
"AFL-1.1"
] | null | null | null | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* File....: code.h */
/* Name....: Code Functions */
... | 56.315068 | 89 | 0.610962 |
112878ddb1ef53919deba4c16f242f3bf3e16468 | 2,886 | h | C | include/global.h | Eezy-Inc/norminette | c711b184ac9cf9467e380fb5b9dc694f1690ce5d | [
"MIT"
] | 82 | 2017-12-14T22:39:49.000Z | 2021-01-07T20:33:45.000Z | include/global.h | Eezy-Inc/norminette | c711b184ac9cf9467e380fb5b9dc694f1690ce5d | [
"MIT"
] | 18 | 2018-02-09T12:01:26.000Z | 2019-11-27T10:03:12.000Z | include/global.h | Eezy-Inc/norminette | c711b184ac9cf9467e380fb5b9dc694f1690ce5d | [
"MIT"
] | 25 | 2018-05-09T09:15:23.000Z | 2021-11-27T13:17:00.000Z | /*
** EPITECH PROJECT, 2017
** global
** File description:
** My globals vars
*/
#include "structs.h"
const char *key_words[] = {
"while",
"return",
"if",
"else",
"for",
"switch",
0
};
const style_error coding_style[] = {
/*garbage files*/
{
"O1",
"content of the delivery folder should contain only file... | 15.269841 | 136 | 0.612613 |
f7780e002a83291f99a03e91900ee2f601b1aa24 | 156 | h | C | gmod_launcher/HtmlSystemLoader.h | ChurchOfMiku/gmod-html | 4c3490c88a10692d1538681f8621a7feed8109fc | [
"MIT"
] | 1 | 2022-01-12T20:45:28.000Z | 2022-01-12T20:45:28.000Z | gmod_launcher/HtmlSystemLoader.h | ChurchOfMiku/gmod-html | 4c3490c88a10692d1538681f8621a7feed8109fc | [
"MIT"
] | null | null | null | gmod_launcher/HtmlSystemLoader.h | ChurchOfMiku/gmod-html | 4c3490c88a10692d1538681f8621a7feed8109fc | [
"MIT"
] | 1 | 2021-12-14T22:54:08.000Z | 2021-12-14T22:54:08.000Z | #pragma once
#include "html/IHtmlSystem.h"
extern IHtmlSystem* g_pHtmlSystem;
bool HtmlSystem_Init();
void HtmlSystem_Tick();
void HtmlSystem_Shutdown(); | 17.333333 | 34 | 0.794872 |
9293c319124f0c66ed12920552e02c272baade02 | 164 | h | C | Pods/Target Support Files/Pods-Evil InsultTests/Pods-Evil InsultTests-umbrella.h | EvilInsultGenerator/ios | 2322c9502a789d081aee73f0c22a225782e1ba94 | [
"Unlicense"
] | 59 | 2016-11-03T18:47:28.000Z | 2022-01-20T22:55:09.000Z | Pods/Target Support Files/Pods-Evil InsultTests/Pods-Evil InsultTests-umbrella.h | lggg123/eviliosapp1 | 009ec86d8ee32be22a4ba8017eea952aa7e4f619 | [
"Unlicense"
] | null | null | null | Pods/Target Support Files/Pods-Evil InsultTests/Pods-Evil InsultTests-umbrella.h | lggg123/eviliosapp1 | 009ec86d8ee32be22a4ba8017eea952aa7e4f619 | [
"Unlicense"
] | 25 | 2016-10-29T18:22:59.000Z | 2022-01-16T01:20:55.000Z | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_Evil_InsultTestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_Evil_InsultTestsVersionString[];
| 23.428571 | 75 | 0.865854 |
a1d0e39d553c765919cb8717ae6decb3bca64381 | 2,419 | h | C | src/Application/WalletApplication.h | BitcoinNero/REPO1 | dfa3e667bfd4b8f051173b2c113ab51095f54212 | [
"MIT"
] | null | null | null | src/Application/WalletApplication.h | BitcoinNero/REPO1 | dfa3e667bfd4b8f051173b2c113ab51095f54212 | [
"MIT"
] | null | null | null | src/Application/WalletApplication.h | BitcoinNero/REPO1 | dfa3e667bfd4b8f051173b2c113ab51095f54212 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2017, The Bytecoin developers
//
// This file is part of Bytecoin.
//
// Bytecoin is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your ... | 26.582418 | 78 | 0.781728 |
1f11ce129f6afbce3e64bf14ab3d56d5936f4218 | 107 | h | C | advent_of_code/advent/advent11.h | arkadye/advent_of_code_framework | 767378a625ca6f9defbf76e9fb6ddb7258934001 | [
"CC0-1.0"
] | 6 | 2020-11-28T00:58:39.000Z | 2021-02-19T21:03:00.000Z | advent_of_code/advent/advent11.h | arkadye/advent_of_code_framework | 767378a625ca6f9defbf76e9fb6ddb7258934001 | [
"CC0-1.0"
] | null | null | null | advent_of_code/advent/advent11.h | arkadye/advent_of_code_framework | 767378a625ca6f9defbf76e9fb6ddb7258934001 | [
"CC0-1.0"
] | 1 | 2021-08-22T04:45:43.000Z | 2021-08-22T04:45:43.000Z | #pragma once
#include "advent_types.h"
ResultType advent_eleven_p1();
ResultType advent_eleven_p2(); | 17.833333 | 31 | 0.766355 |
de305902afb2b5a8f50658fbff80563a822c1d65 | 769 | h | C | Template/Minimal_Threadx/modules/uart/uart_interrupt.h | krish2487/STM32-Repo | 3a9df18e405337feab84221f639d3a6064eb4044 | [
"MIT"
] | null | null | null | Template/Minimal_Threadx/modules/uart/uart_interrupt.h | krish2487/STM32-Repo | 3a9df18e405337feab84221f639d3a6064eb4044 | [
"MIT"
] | null | null | null | Template/Minimal_Threadx/modules/uart/uart_interrupt.h | krish2487/STM32-Repo | 3a9df18e405337feab84221f639d3a6064eb4044 | [
"MIT"
] | null | null | null | #ifndef MODULES_UART_INTERRUPT_H
#define MODULES_UART_INTERRUPT_H
#include <stdint.h>
#include "stm32l4xx.h"
typedef struct {
USART_TypeDef *usart;
uint8_t *rx_buffer;
uint32_t rx_buffer_length;
uint32_t rx_buffer_count;
uint8_t *tx_buffer;
uint32_t tx_buffer_length;
uint32_t tx_buffer_count;
} UART_... | 24.03125 | 71 | 0.775033 |
544e4e541741d430f07768b89a10ed65a6317d1a | 644 | h | C | client/iOS/Views/BookmarkTableCell.h | zouhirzz/FreeRDP | d51958205298123ce83a5c349c08fc1859be7de9 | [
"Apache-2.0"
] | 5,941 | 2015-01-01T13:25:03.000Z | 2022-03-30T11:31:00.000Z | client/iOS/Views/BookmarkTableCell.h | zouhirzz/FreeRDP | d51958205298123ce83a5c349c08fc1859be7de9 | [
"Apache-2.0"
] | 5,801 | 2015-01-01T22:35:16.000Z | 2022-03-31T13:54:50.000Z | client/iOS/Views/BookmarkTableCell.h | zouhirzz/FreeRDP | d51958205298123ce83a5c349c08fc1859be7de9 | [
"Apache-2.0"
] | 12,644 | 2015-01-01T14:59:26.000Z | 2022-03-31T22:31:34.000Z | /*
Custom bookmark table cell
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
*/
#import <UIKit/UIKit... | 25.76 | 85 | 0.771739 |
dc6374102a5152d2a929ebaa37edff363548d4fc | 2,316 | c | C | kubernetes/unit-test/test_io_k8s_api_core_v1_binding.c | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | kubernetes/unit-test/test_io_k8s_api_core_v1_binding.c | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | kubernetes/unit-test/test_io_k8s_api_core_v1_binding.c | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | #ifndef io_k8s_api_core_v1_binding_TEST
#define io_k8s_api_core_v1_binding_TEST
// the following is to include only the main from the first c file
#ifndef TEST_MAIN
#define TEST_MAIN
#define io_k8s_api_core_v1_binding_MAIN
#endif // TEST_MAIN
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdboo... | 33.565217 | 137 | 0.813472 |
9136c4e4f16f48973e7304ed54b144b042034822 | 4,058 | c | C | B2G/hardware/ti/wlan/wl1271/Test/connDebug.c | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/hardware/ti/wlan/wl1271/Test/connDebug.c | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/hardware/ti/wlan/wl1271/Test/connDebug.c | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /*
* connDebug.c
*
* Copyright(c) 1998 - 2009 Texas Instruments. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | 34.10084 | 117 | 0.600789 |
7bcb0b86bebf214f181828bf3c067941bc81accc | 8,264 | h | C | src/Menge/MengeCore/BFSM/VelocityComponents/VelCompNavMesh.h | mfprado/Menge | 75b1ebe91989c2a58073444fb2d5908644856372 | [
"Apache-2.0"
] | null | null | null | src/Menge/MengeCore/BFSM/VelocityComponents/VelCompNavMesh.h | mfprado/Menge | 75b1ebe91989c2a58073444fb2d5908644856372 | [
"Apache-2.0"
] | null | null | null | src/Menge/MengeCore/BFSM/VelocityComponents/VelCompNavMesh.h | mfprado/Menge | 75b1ebe91989c2a58073444fb2d5908644856372 | [
"Apache-2.0"
] | null | null | null | /*
Menge Crowd Simulation Framework
Copyright and trademark 2012-17 University of North Carolina at Chapel Hill
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/licen... | 34.14876 | 91 | 0.684293 |
72ec63fd2db2d4e489f5dd69ab0c66dce8052ddd | 1,156 | c | C | src/watchdog_fd.c | ChrisNisbet01/watchdogd | ad99b23139a37ecb17c588ecb42aafe0a4d4a5c9 | [
"MIT"
] | null | null | null | src/watchdog_fd.c | ChrisNisbet01/watchdogd | ad99b23139a37ecb17c588ecb42aafe0a4d4a5c9 | [
"MIT"
] | null | null | null | src/watchdog_fd.c | ChrisNisbet01/watchdogd | ad99b23139a37ecb17c588ecb42aafe0a4d4a5c9 | [
"MIT"
] | null | null | null | #include "watchdog_fd.h"
#include <ubus_utils/ubus_utils.h>
#include <fcntl.h>
#include <linux/watchdog.h>
#include <sys/ioctl.h>
void
disable_watchdog(int const fd)
{
if (fd >= 0)
{
char const V = 'V';
TEMP_FAILURE_RETRY(write(fd, &V, sizeof V));
}
}
void
stroke_watchdog(int const fd)
... | 14.45 | 76 | 0.558824 |
3c95d1068da81a2be1f6593e9968a73288de7001 | 2,096 | h | C | parser/vexs_header.h | fshriver/VEXS | d4850fb3c30fef9cb8f417c44d850a2136b8e787 | [
"MIT"
] | null | null | null | parser/vexs_header.h | fshriver/VEXS | d4850fb3c30fef9cb8f417c44d850a2136b8e787 | [
"MIT"
] | null | null | null | parser/vexs_header.h | fshriver/VEXS | d4850fb3c30fef9cb8f417c44d850a2136b8e787 | [
"MIT"
] | 1 | 2020-09-25T12:29:06.000Z | 2020-09-25T12:29:06.000Z | /*
VEXS header file; declares common functions and also defines the available data types
*/
#ifndef __VEXS_HEADER_H__
#define __VEXS_HEADER_H__
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <sys/stat.h>
#include <fstream>
#include <algorithm>
#include <cmath>
//Standard namesp... | 26.531646 | 133 | 0.781489 |
a70806b92b1c3bd36b5aa542cc280420d73f3831 | 558 | h | C | NS2 HLSL Parser/Engine/String.h | WhoBrokeTheBuild/Water-and-Oil-Engine | aaaed0664a394dd1f670524832b5ca3ec065512e | [
"MIT"
] | 133 | 2015-01-03T16:43:57.000Z | 2022-02-22T17:54:48.000Z | src/Engine/String.h | mcanthony/hlslparser | 104a53d01f057ba2970511331462bec6d37ae34d | [
"MIT"
] | 2 | 2015-02-13T03:45:54.000Z | 2015-02-14T10:04:15.000Z | src/Engine/String.h | mcanthony/hlslparser | 104a53d01f057ba2970511331462bec6d37ae34d | [
"MIT"
] | 26 | 2015-01-21T15:59:48.000Z | 2021-03-08T00:28:07.000Z | #ifndef ENGINE_STRING_H
#define ENGINE_STRING_H
#include <cstdarg>
namespace M4
{
int String_Printf(char* buffer, int bufferSize, const char* format, va_list args);
int String_Printf(char* buffer, int bufferSize, const char* format, ...);
bool String_Equal(const char* first, const char* second);
bool String_Equal... | 21.461538 | 82 | 0.761649 |
5678450816e061a2e84defba79bf1bb600a02dfa | 352 | c | C | src/do_fflush.c | Wodan58/DUPLO | aa19a0cb9e9ac85e990b12a707d802531190af6a | [
"BSD-3-Clause"
] | null | null | null | src/do_fflush.c | Wodan58/DUPLO | aa19a0cb9e9ac85e990b12a707d802531190af6a | [
"BSD-3-Clause"
] | null | null | null | src/do_fflush.c | Wodan58/DUPLO | aa19a0cb9e9ac85e990b12a707d802531190af6a | [
"BSD-3-Clause"
] | null | null | null | /*
module : do_fflush.c
version : 1.2
date : 10/26/20
*/
#include <stdio.h>
#include <assert.h>
#include "data.h"
#include "ident.h"
/*
fflush : S -> S
Flush stream S, forcing all buffered output to be written.
*/
void do_fflush()
{
DEBUG(__FUNCTION__);
assert(stack->op == typ_file && stack... | 16.761905 | 58 | 0.605114 |
f09c1c624eaef29b7fc4f9bd5858c634be4d2bde | 2,769 | h | C | s32v234_sdk/libs/apex/acf_offline/include/acf_report.h | intesight/Panorama4AIWAYS | 46e1988e54a5155be3b3b47c486b3f722be00b5c | [
"WTFPL"
] | null | null | null | s32v234_sdk/libs/apex/acf_offline/include/acf_report.h | intesight/Panorama4AIWAYS | 46e1988e54a5155be3b3b47c486b3f722be00b5c | [
"WTFPL"
] | null | null | null | s32v234_sdk/libs/apex/acf_offline/include/acf_report.h | intesight/Panorama4AIWAYS | 46e1988e54a5155be3b3b47c486b3f722be00b5c | [
"WTFPL"
] | 2 | 2021-01-21T02:06:16.000Z | 2021-01-28T10:47:37.000Z | /*****************************************************************************
*
* NXP Confidential Proprietary
*
* Copyright (c) 2014-2016 Freescale Semiconductor
* Copyright 2017 NXP
* All Rights Reserved
*
******************************************************************************
*
* THIS SOFTWARE IS PROVIDED ... | 32.576471 | 78 | 0.592633 |
f0c9943c9c22b8e101c2f1a83034e73897707278 | 17,755 | h | C | ipa.h | ispras/lingvodoc-ext-oslon | bd2a04175534bf654c9172e68513723f9428ee3c | [
"Apache-2.0"
] | null | null | null | ipa.h | ispras/lingvodoc-ext-oslon | bd2a04175534bf654c9172e68513723f9428ee3c | [
"Apache-2.0"
] | null | null | null | ipa.h | ispras/lingvodoc-ext-oslon | bd2a04175534bf654c9172e68513723f9428ee3c | [
"Apache-2.0"
] | 1 | 2018-09-25T14:37:10.000Z | 2018-09-25T14:37:10.000Z | #pragma once
#include "stringfunctions.h"
#include "parser.h"
#include "pool.h"
#include "btree.h"
#include "datastructures.h"
#include "ipatables.h"
enum
{
FT_VOWEL = 1,
FT_CONSONANT,
FT_MODIFIER,
FT_UNKNOWNSOUND,
FT_NSOUNDCLASSES,
};
enum
{
FT_CLASS = 0,
FT_MANNER,
FT_PLACE,
FT_CO... | 21.469166 | 133 | 0.59786 |
091119c1b19a11a92a63998b7471d201deaed21c | 1,960 | h | C | src/OutputManagerFactory.h | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | 12 | 2015-03-13T09:58:25.000Z | 2021-09-23T11:48:42.000Z | src/OutputManagerFactory.h | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | 1 | 2015-12-09T05:21:44.000Z | 2015-12-17T19:37:12.000Z | src/OutputManagerFactory.h | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | null | null | null | #ifndef OUTPUT_MANAGER_FACTORY_H
#define OUTPUT_MANAGER_FACTORY_H
#include "Configurer.h" // for Configurer
#include "warped.h"
class Configurable;
class Event;
class OutputManager;
class SimulationConfiguration;
class SimulationObject;
/** The OutputManagerFactory class.
This is the class inte... | 29.253731 | 74 | 0.727041 |
3479cb20f863f24e09f6c20ce01eb0ccbf1f7040 | 439 | h | C | ios/Model/Message.h | yswor/react-native-netease-im | 857837c3ce94d4f93d28e9db8e728bbef689f181 | [
"MIT"
] | 1 | 2020-08-27T04:18:41.000Z | 2020-08-27T04:18:41.000Z | ios/Model/Message.h | yswor/react-native-netease-im | 857837c3ce94d4f93d28e9db8e728bbef689f181 | [
"MIT"
] | null | null | null | ios/Model/Message.h | yswor/react-native-netease-im | 857837c3ce94d4f93d28e9db8e728bbef689f181 | [
"MIT"
] | 1 | 2020-09-30T02:01:45.000Z | 2020-09-30T02:01:45.000Z |
#import <NIMSDK/NIMSDK.h>
#import "NimConstant.h"
#import "Contact.h"
@interface Message: NSObject
{
@public NSString *messageId;
@public NSString *account;
@public NIMSessionType sessionType;
@public NIMMessage *message;
}
-(instancetype)initWithParams:(NSString *)id :(NSString *)account :(NIMSessionType)sessionType... | 24.388889 | 95 | 0.774487 |
4291d5f1bccba5de9bac0c483ba2440eb48bea70 | 1,521 | h | C | applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Coupled_Evolution/LAGRANGE_MULTIPLIERS_VELOCITY_VECTOR.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Coupled_Evolution/LAGRANGE_MULTIPLIERS_VELOCITY_VECTOR.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Coupled_Evolution/LAGRANGE_MULTIPLIERS_VELOCITY_VECTOR.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | //#####################################################################
// Copyright 2009, Avi Robinson-Mosher.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################################
... | 43.457143 | 135 | 0.690335 |
550796e9bfd77f595668864c43b70faf4f4f9b15 | 657 | h | C | iOS/VZ/VZ/VZProgressView.h | aadebuger/leancloud-demo | 0a4915366f32dd9d1c7498f7a1c82e4b903a781e | [
"MIT"
] | 3 | 2015-07-07T09:10:37.000Z | 2015-07-23T13:23:48.000Z | iOS/VZ/VZ/VZProgressView.h | EmoryLee/avoscloud-demo | 52fd3df86d7785f6d7fedca18a0e1020edd2f62a | [
"MIT"
] | null | null | null | iOS/VZ/VZ/VZProgressView.h | EmoryLee/avoscloud-demo | 52fd3df86d7785f6d7fedca18a0e1020edd2f62a | [
"MIT"
] | null | null | null | //
// VZProgressView.h
// VZ
//
// Created by Travis on 13-10-31.
// Copyright (c) 2013年 Plumn LLC. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VZProgressView : UIView
@property(nonatomic,assign) BOOL autoCenter;
@property(nonatomic,retain) UIBezierPath *path;
@property(nonatomic,retain) UIColor *... | 22.655172 | 55 | 0.757991 |
b64ada4912185a2a8b00819dc053638a1e7c5be9 | 10,143 | h | C | config.h | axelcalixte/mon_dwm | 9e457c9577eff922673545005940cc9306517156 | [
"MIT"
] | null | null | null | config.h | axelcalixte/mon_dwm | 9e457c9577eff922673545005940cc9306517156 | [
"MIT"
] | null | null | null | config.h | axelcalixte/mon_dwm | 9e457c9577eff922673545005940cc9306517156 | [
"MIT"
] | null | null | null | /* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int gappx = 3; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int swallowfloating =
0; ... | 46.527523 | 80 | 0.571823 |
99f252a33b5ee6aec01feca7dc627bad9e70b8bf | 514 | c | C | lib/wizards/irmeli/ent/monsters/ent.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/irmeli/ent/monsters/ent.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/irmeli/ent/monsters/ent.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | inherit "obj/monster";
reset(arg) {
::reset(arg);
if (arg) { return; }
set_level(random(5)*5+12);
set_name("ent");
set_alias("ent");
set_short("A moss covered ent");
set_long("It's hard to say, what this thing is, because it's covered with moss. Undoubtedly it's some sort of a tree, but i... | 19.037037 | 230 | 0.632296 |
e8e9af7a9939814d2104306b132939bf96b9ab97 | 14,242 | c | C | neon/src/core/wavefront.c | m1nuz/neon-core | 171ccb939387d5f8cce55f3911451530b6bba58e | [
"MIT"
] | null | null | null | neon/src/core/wavefront.c | m1nuz/neon-core | 171ccb939387d5f8cce55f3911451530b6bba58e | [
"MIT"
] | null | null | null | neon/src/core/wavefront.c | m1nuz/neon-core | 171ccb939387d5f8cce55f3911451530b6bba58e | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <assert.h>
#include <string.h>
#include <locale.h>
#include <memtrack.h>
#include "core/common.h"
#include "core/wavefront.h"
#include "core/logerr.h"
#include "core/rwtext.h"
//#define WAVEFRONT_DEBUG
#ifdef WAVEFRONT_DEBUG
#define wavefront_print(fmt, ...) printf(fmt, __VA_ARGS__)
#else
... | 31.09607 | 121 | 0.537354 |
d785a7a5395a1c3fcc165054d989c2cf71d01ef6 | 5,897 | h | C | src/net/listener.h | ddxy18/xyco | 7682652f17b82e2370fa7af17635c5d0c470efe0 | [
"MIT"
] | null | null | null | src/net/listener.h | ddxy18/xyco | 7682652f17b82e2370fa7af17635c5d0c470efe0 | [
"MIT"
] | 17 | 2021-10-30T06:10:46.000Z | 2022-03-18T06:16:15.000Z | src/net/listener.h | ddxy18/xyco | 7682652f17b82e2370fa7af17635c5d0c470efe0 | [
"MIT"
] | null | null | null | #ifndef XYCO_NET_LISTENER_H_
#define XYCO_NET_LISTENER_H_
#include <unistd.h>
#include "io/mod.h"
#include "net/socket.h"
#include "runtime/future.h"
#include "runtime/registry.h"
namespace xyco::net {
class TcpStream;
class TcpListener;
class TcpSocket {
template <typename T>
using Future = runtime::Future<T>;... | 28.350962 | 79 | 0.645243 |
ba9c38387dcafcb290870258151243dcf0681abc | 312 | h | C | include/escape.h | HanwGeek/tiger-cc | 0c7787470d5ec7d4029c639a6a80e5be19aeeabe | [
"MIT"
] | 3 | 2020-05-31T09:05:59.000Z | 2021-12-19T14:52:26.000Z | include/escape.h | HanwGeek/tiger-cc | 0c7787470d5ec7d4029c639a6a80e5be19aeeabe | [
"MIT"
] | null | null | null | include/escape.h | HanwGeek/tiger-cc | 0c7787470d5ec7d4029c639a6a80e5be19aeeabe | [
"MIT"
] | null | null | null | /*
* @Author: HanwGeek
* @Github: https://github.com/HanwGeek
* @Description: Escape variable search module header file.
* @Date: 2019-11-01 21:40:10
* @Last Modified: 2020-02-25 20:11:56
*/
#ifndef T_ESCAPE_H_
#define T_ESCAPE_H_
#include "absyn.h"
#include "env.h"
void ESC_findEscape(A_exp e);
#endif | 19.5 | 59 | 0.705128 |
c9260f0e27fd3bc896dc63a3a1f899b5d51f8c3d | 2,652 | h | C | source/names.h | dos-games/vanilla-shadow_warrior | bf781c586c7e9cda0cfb0b3bc56983f535cb75c4 | [
"Unlicense"
] | 18 | 2015-07-21T03:53:29.000Z | 2021-12-20T18:42:56.000Z | source/names.h | Azarien/shadow-warrior | bf781c586c7e9cda0cfb0b3bc56983f535cb75c4 | [
"Unlicense"
] | null | null | null | source/names.h | Azarien/shadow-warrior | bf781c586c7e9cda0cfb0b3bc56983f535cb75c4 | [
"Unlicense"
] | 6 | 2016-10-17T09:06:22.000Z | 2022-02-11T10:02:17.000Z | //-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as publish... | 27.915789 | 76 | 0.71908 |
2a0e7eb0a513a69798a49cc53de968149181c402 | 532 | h | C | RHPReviewCell/RHPReviewCell.h | robertherdzik/RHPreviewCell | c8c2a75905e250c84836bcc736fe40e4cc3cb3eb | [
"MIT"
] | 417 | 2016-09-25T06:53:18.000Z | 2022-02-06T10:03:54.000Z | RHPReviewCell/RHPReviewCell.h | robertherdzik/RHPreviewCell | c8c2a75905e250c84836bcc736fe40e4cc3cb3eb | [
"MIT"
] | 3 | 2016-11-03T19:33:47.000Z | 2019-06-01T08:04:22.000Z | RHPReviewCell/RHPReviewCell.h | robertherdzik/RHPreviewCell | c8c2a75905e250c84836bcc736fe40e4cc3cb3eb | [
"MIT"
] | 20 | 2016-10-29T13:11:26.000Z | 2019-11-13T19:21:32.000Z | //
// RHPreviewCell.h
// RHPreviewCell
//
// Created by Robert Herdzik on 11/01/2018.
// Copyright © 2018 Robert Herdzik. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for RHPreviewCell.
FOUNDATION_EXPORT double RHPreviewCellVersionNumber;
//! Project version string for RHPreviewCell... | 26.6 | 138 | 0.774436 |
ba6cd31f14ce221c33d413ff3160e4a556eb7292 | 366 | h | C | Example/Pods/Target Support Files/EHLoaders/EHLoaders-umbrella.h | waterflowseast/EHLoaders | 361cca57570f9cf1512c88aba6f7c600687b7085 | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/EHLoaders/EHLoaders-umbrella.h | waterflowseast/EHLoaders | 361cca57570f9cf1512c88aba6f7c600687b7085 | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/EHLoaders/EHLoaders-umbrella.h | waterflowseast/EHLoaders | 361cca57570f9cf1512c88aba6f7c600687b7085 | [
"MIT"
] | null | null | null | #import <UIKit/UIKit.h>
#import "EHFootLoader.h"
#import "EHHeadLoader.h"
#import "EHLoaders.h"
#import "EHLoadersDefs.h"
#import "EHLoaderView.h"
#import "UIScrollView+EHExtension.h"
#import "UIScrollView+EHLoaders.h"
#import "UIView+EHExtension.h"
FOUNDATION_EXPORT double EHLoadersVersionNumber;
FOUNDATION_EXPORT c... | 24.4 | 63 | 0.800546 |
688aca23cdeb85ff0a35e94a53ae6c82d115f737 | 796 | c | C | msp430f5529lp/board_ext.c | callalilychen/TIOT | af67f783600789d21cdd96d6a3dc07c475bbb3c8 | [
"BSD-2-Clause"
] | null | null | null | msp430f5529lp/board_ext.c | callalilychen/TIOT | af67f783600789d21cdd96d6a3dc07c475bbb3c8 | [
"BSD-2-Clause"
] | null | null | null | msp430f5529lp/board_ext.c | callalilychen/TIOT | af67f783600789d21cdd96d6a3dc07c475bbb3c8 | [
"BSD-2-Clause"
] | null | null | null | #include "board_ext.h"
/*!
* \brief Set all pins as output pin
*
* Make sure there are no floating input I/Os.
*
*/
void ports_init(void){
P1SEL = 0;
P1DIR = 0xFF;
P1OUT = 0; /* Port1 Output: 00000000 = 0x00 */
P2SEL = 0;
P2DIR = 0xFF;
P2OUT = 0; /* Port2 Output: 00000000 = 0x00 */
P3SEL = 0;... | 22.742857 | 51 | 0.561558 |
71e59cc8c052f138fc41dfea7438eb585f0845b1 | 1,463 | h | C | FindSecret/Classes/Native/SimpleGif_SimpleGif_Gif_e844532692.h | GodIsWord/NewFindSecret | 4f98f316d29936380f9665d6a6d89962d9ee5478 | [
"MIT"
] | null | null | null | FindSecret/Classes/Native/SimpleGif_SimpleGif_Gif_e844532692.h | GodIsWord/NewFindSecret | 4f98f316d29936380f9665d6a6d89962d9ee5478 | [
"MIT"
] | null | null | null | FindSecret/Classes/Native/SimpleGif_SimpleGif_Gif_e844532692.h | GodIsWord/NewFindSecret | 4f98f316d29936380f9665d6a6d89962d9ee5478 | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object3080106164.h"
// SimpleGif.Data.GifFrame
struct GifFrame_t1833165212;
// SimpleGif.Gif/E
struct E_t3714578548;
#ifdef __clang_... | 23.983607 | 107 | 0.749829 |
d5b1d55ce8ef386ed44a92efcab352bb6e18b82b | 15,902 | c | C | src/server/Server.c | riemann89/SSLv3.0 | 8280b6827a9fc7670ec48a4b4b75017e0e863005 | [
"Apache-2.0"
] | 3 | 2016-02-19T12:34:02.000Z | 2016-11-25T20:05:36.000Z | src/server/Server.c | riemann89/SSLv3.0-filebased | 8280b6827a9fc7670ec48a4b4b75017e0e863005 | [
"Apache-2.0"
] | 2 | 2019-11-24T13:16:13.000Z | 2019-11-24T13:16:41.000Z | src/server/Server.c | riemann89/SSLv3.0-filebased | 8280b6827a9fc7670ec48a4b4b75017e0e863005 | [
"Apache-2.0"
] | null | null | null | //
// Server.c
// SSLv3.0
//
// Created by Giuseppe Giffone on 16/02/16.
// Copyright © 2016 Giuseppe Giffone. All rights reserved.
//
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <openssl/rand.h>
#include <openssl/md5.h>
#include <o... | 34.872807 | 178 | 0.60332 |
02fa4ae7eb98b4de7dcd9334625bc1aa1926218b | 702 | h | C | OddEngine/SpriteConfiguration.h | oddpersons/OddEngine | cdd4cc78b713dcb186a8f4ff7cdc3d605990558b | [
"MIT"
] | null | null | null | OddEngine/SpriteConfiguration.h | oddpersons/OddEngine | cdd4cc78b713dcb186a8f4ff7cdc3d605990558b | [
"MIT"
] | null | null | null | OddEngine/SpriteConfiguration.h | oddpersons/OddEngine | cdd4cc78b713dcb186a8f4ff7cdc3d605990558b | [
"MIT"
] | null | null | null | #pragma once
#include "pch.h"
class DllExport SpriteConfiguration
{
public:
SpriteConfiguration(std::wstring, IWICImagingFactory*);
~SpriteConfiguration();
void CreateDeviceDependentBitmap(ID2D1DeviceContext*);
ID2D1Bitmap* GetBitmap();
ID2D1Bitmap* NextSprite();
private:
winrt::hstring _ConfigJSON;
int Spr... | 18.972973 | 56 | 0.762108 |
bee376ac985a5ad37035bd31628f6152bc0e324a | 6,040 | h | C | common/tcp_connection_serialized.h | btabibian/EdiLogger | 02aa2438fad93cffc328b574106be5a5fd74fc90 | [
"MIT"
] | null | null | null | common/tcp_connection_serialized.h | btabibian/EdiLogger | 02aa2438fad93cffc328b574106be5a5fd74fc90 | [
"MIT"
] | null | null | null | common/tcp_connection_serialized.h | btabibian/EdiLogger | 02aa2438fad93cffc328b574106be5a5fd74fc90 | [
"MIT"
] | null | null | null | #include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/asio.hpp>
#include <vector>
#include <boost/thread.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/bind.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
... | 36.606061 | 107 | 0.592715 |
7dd73d29a713e5bd87e750bb0d1616632103db2b | 8,270 | c | C | src/instructions_data_transfer.c | h3nnn4n/space_invaders_emulator | f94d7a57d2cb23ed4a4f5b873c2e38708612bef2 | [
"Zlib"
] | null | null | null | src/instructions_data_transfer.c | h3nnn4n/space_invaders_emulator | f94d7a57d2cb23ed4a4f5b873c2e38708612bef2 | [
"Zlib"
] | 1 | 2016-12-15T20:38:27.000Z | 2016-12-15T22:38:16.000Z | src/instructions_data_transfer.c | h3nnn4n/space_invaders_emulator | f94d7a57d2cb23ed4a4f5b873c2e38708612bef2 | [
"Zlib"
] | 2 | 2017-11-15T13:13:17.000Z | 2018-02-27T17:54:04.000Z | #include <stdint.h>
#include <assert.h>
#include <stdlib.h>
#include "types.h"
#include "instructions_data_transfer.h"
uint8_t *get_reg_ref ( _cpu_info *cpu, uint8_t opcode ) {
switch ( opcode ) {
case 0x00: // B
return &(cpu->b);
case 0x01: // C
return &(cpu->c);
... | 26.088328 | 75 | 0.413664 |
702db12b35e4557bfca7cb6920b1b2e38992dcfb | 1,448 | c | C | src/ape_log.c | nidium/libapenetwork | d011cf41402b3936cbaef1c07b5086a1a0eab265 | [
"MIT"
] | 22 | 2016-06-28T18:12:34.000Z | 2020-12-10T05:05:54.000Z | src/ape_log.c | paraboul/libapenetwork | 6e5acac08467b818914ba600a9985e04ccfd32c6 | [
"MIT"
] | 14 | 2016-10-15T19:45:00.000Z | 2017-04-24T11:07:01.000Z | src/ape_log.c | nidium/libapenetwork | d011cf41402b3936cbaef1c07b5086a1a0eab265 | [
"MIT"
] | 8 | 2016-12-08T02:40:56.000Z | 2020-12-11T00:27:14.000Z | /*
Copyright 2016 Nidium Inc. All rights reserved.
Use of this source code is governed by a MIT license
that can be found in the LICENSE file.
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "ape_log.h"
#include "ape_netlib.h"
void APE_setlogger(const ape_log_lvl_t lvl,
const ape_... | 20.111111 | 73 | 0.640884 |
6240acb273add1d975a42e8fbaf6b13ccfdbe0c9 | 83 | h | C | security/unhash/files/strnlen.h | davidlrichmond/macports-ports | c79eda419c3963c074e4e9ce31a95296636bd500 | [
"BSD-3-Clause"
] | 1,199 | 2016-10-16T01:55:27.000Z | 2022-03-28T17:07:12.000Z | security/unhash/files/strnlen.h | davidlrichmond/macports-ports | c79eda419c3963c074e4e9ce31a95296636bd500 | [
"BSD-3-Clause"
] | 11,428 | 2016-10-31T16:54:32.000Z | 2022-03-31T22:58:45.000Z | security/unhash/files/strnlen.h | davidlrichmond/macports-ports | c79eda419c3963c074e4e9ce31a95296636bd500 | [
"BSD-3-Clause"
] | 1,772 | 2016-10-16T22:28:33.000Z | 2022-03-31T08:52:24.000Z | #ifndef STRLEN_H
#define STRLEN_H
size_t strnlen(const char *s, size_t n);
#endif
| 13.833333 | 40 | 0.759036 |
2b9ae3a3f1e8b4c169122c2e3b6777469d7c1fe0 | 266 | c | C | traslate_py_C/example5.c | lmokto/ilovec | 27efcc8b60533a1fc7685abda21a48977353e6cc | [
"MIT"
] | null | null | null | traslate_py_C/example5.c | lmokto/ilovec | 27efcc8b60533a1fc7685abda21a48977353e6cc | [
"MIT"
] | null | null | null | traslate_py_C/example5.c | lmokto/ilovec | 27efcc8b60533a1fc7685abda21a48977353e6cc | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(void){
int n, i, r;
n = 1;
while(n<6){
i=1;
while(i<6){
r = n*i;
printf("%d\n", r);
i=i+1;
printf("\n");
}
n=n+1;
}
return 0;
} | 14 | 30 | 0.300752 |
75f8261e4e27fed34d6b03823f4c9271460491b0 | 396 | h | C | c/read_file_with_mmap.h | i-usalko/torri | 4e533d8e13cd9db7694c9983c73f874856e4cd69 | [
"Apache-2.0"
] | null | null | null | c/read_file_with_mmap.h | i-usalko/torri | 4e533d8e13cd9db7694c9983c73f874856e4cd69 | [
"Apache-2.0"
] | null | null | null | c/read_file_with_mmap.h | i-usalko/torri | 4e533d8e13cd9db7694c9983c73f874856e4cd69 | [
"Apache-2.0"
] | null | null | null | #ifndef READ_FILE_WITH_MMAP_H
#define READ_FILE_WITH_MMAP_H
#include <stdlib.h>
#include <stdint.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/errno.h>
#include <fcntl.h>
#include <string.h>
typedef struct READING_RESULT_T {
void* data;
int32_t length;
char* errors;
} READING_RESULT_T;
REA... | 19.8 | 45 | 0.744949 |
fae0d993ac682060308909ffc29367568ee4f720 | 6,308 | h | C | extensions/basic/bit_field/bit_field.h | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 6 | 2020-12-22T05:48:31.000Z | 2022-02-08T19:49:49.000Z | extensions/basic/bit_field/bit_field.h | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2020-05-22T18:36:43.000Z | 2021-05-19T10:20:23.000Z | extensions/basic/bit_field/bit_field.h | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-12-06T11:48:16.000Z | 2021-09-16T04:44:47.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <base/logging.h>
#include <base/macros.h>
#include <base/compiler_specific.h>
#include <base/check.h>
#include <atomic>
// Bit fi... | 33.026178 | 89 | 0.688491 |
2b16bc85bd478bc67d1ab3f01c850334fe08fbee | 6,925 | h | C | as6502/symbols.h | RyuKojiro/v6502 | 39e80f3fbf9c401429311abbb6693465be486b69 | [
"MIT"
] | 4 | 2017-02-27T21:50:27.000Z | 2021-09-10T21:07:07.000Z | as6502/symbols.h | RyuKojiro/v6502 | 39e80f3fbf9c401429311abbb6693465be486b69 | [
"MIT"
] | 1 | 2020-11-07T06:02:31.000Z | 2020-11-07T06:02:31.000Z | as6502/symbols.h | RyuKojiro/v6502 | 39e80f3fbf9c401429311abbb6693465be486b69 | [
"MIT"
] | null | null | null | /** @brief Symbol table management */
/** @file symbols.h */
/*
* Copyright (c) 2013 Daniel Loffgren
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including wit... | 51.679104 | 562 | 0.772419 |
d88b321cdcc0e83c9da489adccda194d430217a3 | 516 | h | C | project/functions/Scheduler.h | opatiny/S1-INFO1 | 5cd3eb850057a002d1fa0feaa24633cac2e03d1a | [
"MIT"
] | null | null | null | project/functions/Scheduler.h | opatiny/S1-INFO1 | 5cd3eb850057a002d1fa0feaa24633cac2e03d1a | [
"MIT"
] | null | null | null | project/functions/Scheduler.h | opatiny/S1-INFO1 | 5cd3eb850057a002d1fa0feaa24633cac2e03d1a | [
"MIT"
] | null | null | null | #ifndef SCHEDULER_H
#define SCHEDULER_H
#include <stdbool.h>
// STRUCTURES
typedef struct user_options {
const int nbTics; // defines the simulation length
const int ticLength; // in seconds -> accuracy of the simulation
const int weather; // can be LAUSANNE_SUMMER or... | 25.8 | 78 | 0.660853 |
946afd6fa58c5170b5cd4ec16a6584f8d2f98e9a | 9,132 | c | C | src/GaIA/pkgs/postfix/postfix-3.0.2/src/postscreen/postscreen_state.c | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | null | null | null | src/GaIA/pkgs/postfix/postfix-3.0.2/src/postscreen/postscreen_state.c | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | null | null | null | src/GaIA/pkgs/postfix/postfix-3.0.2/src/postscreen/postscreen_state.c | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | 1 | 2021-06-08T15:59:26.000Z | 2021-06-08T15:59:26.000Z | /*++
/* NAME
/* postscreen_state 3
/* SUMMARY
/* postscreen session state and queue length management
/* SYNOPSIS
/* #include <postscreen.h>
/*
/* PSC_STATE *psc_new_session_state(stream, client_addr, client_port,
/* server_addr, server_port)
/* VSTREAM *stream;
/* const char *client_addr;
/* const char *client_po... | 30.33887 | 77 | 0.726347 |
a20e9a9abf321ec7f77af85297b30628c15985c6 | 275 | h | C | SOLID/MUAppDelegate.h | muncman/SOLID | a28edcc1a63f794b528c6a9722640f25b12fa94c | [
"MIT"
] | null | null | null | SOLID/MUAppDelegate.h | muncman/SOLID | a28edcc1a63f794b528c6a9722640f25b12fa94c | [
"MIT"
] | null | null | null | SOLID/MUAppDelegate.h | muncman/SOLID | a28edcc1a63f794b528c6a9722640f25b12fa94c | [
"MIT"
] | null | null | null | //
// MUAppDelegate.h
// SOLID
//
// Created by Kevin Munc on 7/8/12.
// Copyright (c) 2012 Method Up. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MUAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 17.1875 | 62 | 0.701818 |
fa269760e5f32adc8827b07278f3fb8eff741b81 | 2,895 | c | C | src/rmutil/periodic.c | abrookins/RediSearch | 773a04106e4f0cfbad3a75a84ce69f3a36fd16e1 | [
"Apache-2.0",
"Ruby",
"BSD-3-Clause",
"MIT"
] | 2,098 | 2019-05-13T09:11:54.000Z | 2022-03-31T06:24:50.000Z | src/rmutil/periodic.c | abrookins/RediSearch | 773a04106e4f0cfbad3a75a84ce69f3a36fd16e1 | [
"Apache-2.0",
"Ruby",
"BSD-3-Clause",
"MIT"
] | 1,659 | 2019-05-13T07:55:29.000Z | 2022-03-31T02:42:57.000Z | src/rmutil/periodic.c | abrookins/RediSearch | 773a04106e4f0cfbad3a75a84ce69f3a36fd16e1 | [
"Apache-2.0",
"Ruby",
"BSD-3-Clause",
"MIT"
] | 227 | 2019-05-17T07:54:49.000Z | 2022-03-28T03:50:19.000Z | #include "periodic.h"
#include "rmalloc.h"
#include <pthread.h>
#include <stdlib.h>
#include <errno.h>
typedef struct RMUtilTimer {
RMutilTimerFunc cb;
RMUtilTimerTerminationFunc onTerm;
void *privdata;
struct timespec interval;
pthread_t thread;
pthread_mutex_t lock;
pthread_cond_t cond;
volatile bool... | 26.081081 | 91 | 0.688083 |
36669cadee16c260d36677b05da2bf1d643e1484 | 1,753 | c | C | SLIP_LU/Source/slip_sparse_alloc.c | cjh10644/SLIP_LU | 7e376f214867a72c4150cfdf681e4a44de35b023 | [
"Apache-2.0"
] | null | null | null | SLIP_LU/Source/slip_sparse_alloc.c | cjh10644/SLIP_LU | 7e376f214867a72c4150cfdf681e4a44de35b023 | [
"Apache-2.0"
] | null | null | null | SLIP_LU/Source/slip_sparse_alloc.c | cjh10644/SLIP_LU | 7e376f214867a72c4150cfdf681e4a44de35b023 | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
// SLIP_LU/slip_sparse_alloc: allocate a sparse mpz matrix
//------------------------------------------------------------------------------
// SLIP_LU: (c) 2019, Chris Lourenco, Jinhao Chen, Erick Moreno-Centeno,
// Timothy A. Davis, Texa... | 42.756098 | 80 | 0.520251 |
3687b669cdb33fb9c27a76d1db931a2f6615189c | 3,635 | c | C | 1-24/kushblazingjudah.c | k-and-r-study-group/chapter-one | 24482218cc219b5727f142ca6d58dcddcfdf627b | [
"Unlicense"
] | 1 | 2021-03-28T19:17:49.000Z | 2021-03-28T19:17:49.000Z | 1-24/kushblazingjudah.c | k-and-r-study-group/chapter-one | 24482218cc219b5727f142ca6d58dcddcfdf627b | [
"Unlicense"
] | null | null | null | 1-24/kushblazingjudah.c | k-and-r-study-group/chapter-one | 24482218cc219b5727f142ca6d58dcddcfdf627b | [
"Unlicense"
] | 1 | 2021-03-29T21:19:08.000Z | 2021-03-29T21:19:08.000Z | // compile with -std=c99
// RETURN OF getline(3)
// too bad it's not to standard
// either way, this is probably written horribly and you'll like it
#include <stdio.h>
#define MAXLINE 1000
#define MAXSTACK 1000
int getline(char line[], int maxline);
void copy(char to[], char from[]);
int main() {
int len;
char lin... | 22.438272 | 109 | 0.573865 |
36c04c46589aafa50fd762c6886a3503e01ea039 | 5,615 | c | C | zone.c | andydiba/fomite_sim2 | f5de8c00bcccbe7760087c4dcc7187c793cd7df7 | [
"Apache-2.0"
] | null | null | null | zone.c | andydiba/fomite_sim2 | f5de8c00bcccbe7760087c4dcc7187c793cd7df7 | [
"Apache-2.0"
] | null | null | null | zone.c | andydiba/fomite_sim2 | f5de8c00bcccbe7760087c4dcc7187c793cd7df7 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "utilities.h"
#include "zone.h"
#include "person.h"
bool zone_config(Zone* zone, Hash_t* H, unsigned int n, unsigned int N )
{
char type[40];
char buff[40];
int i=0;
//init all pointers to null ...
zone->_mc.prb = NULL;
zone->bioburden = NULL;
zone->A = NULL;... | 22.193676 | 126 | 0.671594 |
32158adab3403fa394f1406d40961692ad19425d | 3,501 | c | C | proxmark3-master/client/util_posix.c | UCLA-ECE209AS-2018W/Hui-Wenxuan-Yifan | 87cb1dbe2d219974b04cefcec5088d3ac6d5fe6f | [
"BSD-2-Clause"
] | 17 | 2018-04-19T08:29:01.000Z | 2022-03-01T07:39:32.000Z | proxmark3-master/client/util_posix.c | UCLA-ECE209AS-2018W/Hui-Wenxuan-Yifan | 87cb1dbe2d219974b04cefcec5088d3ac6d5fe6f | [
"BSD-2-Clause"
] | null | null | null | proxmark3-master/client/util_posix.c | UCLA-ECE209AS-2018W/Hui-Wenxuan-Yifan | 87cb1dbe2d219974b04cefcec5088d3ac6d5fe6f | [
"BSD-2-Clause"
] | 4 | 2018-12-23T22:57:07.000Z | 2020-09-23T05:14:19.000Z | //-----------------------------------------------------------------------------
// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//--------... | 25.742647 | 84 | 0.646672 |
9a6e12956798f22b01c4703b5863b433a9a6a768 | 3,252 | h | C | lsp_shiloh/third_party/devices/wifi/878x/sigma/inc/wfa_utils.h | internaru/Pinetree_P | 1f1525454c8b20c6c589529ff4bc159404611297 | [
"FSFAP"
] | null | null | null | lsp_shiloh/third_party/devices/wifi/878x/sigma/inc/wfa_utils.h | internaru/Pinetree_P | 1f1525454c8b20c6c589529ff4bc159404611297 | [
"FSFAP"
] | null | null | null | lsp_shiloh/third_party/devices/wifi/878x/sigma/inc/wfa_utils.h | internaru/Pinetree_P | 1f1525454c8b20c6c589529ff4bc159404611297 | [
"FSFAP"
] | null | null | null | /****************************************************************************
* (c) Copyright 2007 Wi-Fi Alliance. All Rights Reserved
*
*
* LICENSE
*
* License is granted only to Wi-Fi Alliance members and designated
* contractors ($B!H(BAuthorized Licensees$B!I(B)..AN Authorized Licensees are grant... | 52.451613 | 159 | 0.714945 |
3c37bce4d82fd2d810d78bb57c9961cd4923fa5a | 1,784 | h | C | src/cbson-misc.h | andrejlevkovitch/lua-cbson | 49a892382cb45f87f4564d7830ddad70cd027ce7 | [
"WTFPL"
] | 18 | 2015-10-21T13:20:49.000Z | 2021-02-22T21:26:02.000Z | src/cbson-misc.h | andrejlevkovitch/lua-cbson | 49a892382cb45f87f4564d7830ddad70cd027ce7 | [
"WTFPL"
] | 6 | 2018-11-08T21:19:03.000Z | 2019-08-19T19:10:14.000Z | src/cbson-misc.h | andrejlevkovitch/lua-cbson | 49a892382cb45f87f4564d7830ddad70cd027ce7 | [
"WTFPL"
] | 12 | 2016-11-20T02:16:10.000Z | 2022-01-27T09:49:43.000Z | #ifndef __CBSON_MINMAX_H__
#define __CBSON_MINMAX_H__
#include <lauxlib.h>
#include <lua.h>
#define UNDEFINED_METATABLE "bson-undef metatable"
#define CBNULL_METATABLE "bson-null metatable"
#define ARRAY_METATABLE "bson-array metatable"
#define MINKEY_METATABLE "bson-minkey metatable"
#define MAXKEY_METATAB... | 30.237288 | 66 | 0.818946 |
aa2c8abfd2685f2e8ff6636463903392b22cf87c | 1,974 | h | C | plugins/zimg/src/Common/align.h | darcyg/vapoursynth-plugins | 5aaf090d3523cb8c53841949f2da286688ba33bb | [
"BSD-2-Clause"
] | null | null | null | plugins/zimg/src/Common/align.h | darcyg/vapoursynth-plugins | 5aaf090d3523cb8c53841949f2da286688ba33bb | [
"BSD-2-Clause"
] | null | null | null | plugins/zimg/src/Common/align.h | darcyg/vapoursynth-plugins | 5aaf090d3523cb8c53841949f2da286688ba33bb | [
"BSD-2-Clause"
] | 1 | 2020-04-06T16:52:59.000Z | 2020-04-06T16:52:59.000Z | #pragma once
#ifndef ZIMG_ALIGN_H_
#define ZIMG_ALIGN_H_
#include <vector>
#ifdef _WIN32
#include <malloc.h>
inline void *zimg_aligned_malloc(size_t size, size_t alignment) { return _aligned_malloc(size, alignment); }
inline void zimg_aligned_free(void *ptr) { _aligned_free(ptr); }
#else
#include <stdlib.h>
... | 23.5 | 147 | 0.691996 |
aa5520aed7067d648f07f8cf654a382c30796cec | 1,328 | c | C | basics/fixed_xor.c | aeroc7/crypto_misc | abdaff1209aa8f1c40605dd5ff98ef5a42b3dc59 | [
"MIT"
] | null | null | null | basics/fixed_xor.c | aeroc7/crypto_misc | abdaff1209aa8f1c40605dd5ff98ef5a42b3dc59 | [
"MIT"
] | null | null | null | basics/fixed_xor.c | aeroc7/crypto_misc | abdaff1209aa8f1c40605dd5ff98ef5a42b3dc59 | [
"MIT"
] | null | null | null | #include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../crypt_helpers.h"
static struct DecodedData *xor_with(
const struct DecodedData *data1, const struct DecodedData *data2) {
assert(data1->size == data2->size);
struct DecodedData *xord_data = NUL... | 27.102041 | 74 | 0.670181 |
e78901ca62d319809dd63a4339bcdca971637715 | 5,669 | c | C | src/arch/riscv64/mach-d1/sys-hash.c | HareGun/xboot | 4cc7db09c622d45c42774d5cbedcfef683c9b735 | [
"MIT"
] | null | null | null | src/arch/riscv64/mach-d1/sys-hash.c | HareGun/xboot | 4cc7db09c622d45c42774d5cbedcfef683c9b735 | [
"MIT"
] | null | null | null | src/arch/riscv64/mach-d1/sys-hash.c | HareGun/xboot | 4cc7db09c622d45c42774d5cbedcfef683c9b735 | [
"MIT"
] | null | null | null | /*
* sys-hash.c
*
* Copyright(c) 2007-2021 Jianjun Jiang <8192542@qq.com>
* Official site: http://xboot.org
* Mobile phone: +86-18665388956
* QQ: 8192542
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... | 25.536036 | 81 | 0.590404 |
43c88428e099574084e67c77a5829b763309e7ff | 7,665 | h | C | pow_accel_soc/software/u-boot-socfpga/include/configs/EXBITGEN.h | ajblane/iota_fpga | 2ec78e89bf263a84905aba92437da5ec091ab621 | [
"MIT"
] | 13 | 2018-05-24T07:02:26.000Z | 2021-04-13T12:48:24.000Z | pow_accel_soc/software/u-boot-socfpga/include/configs/EXBITGEN.h | ajblane/iota_fpga | 2ec78e89bf263a84905aba92437da5ec091ab621 | [
"MIT"
] | null | null | null | pow_accel_soc/software/u-boot-socfpga/include/configs/EXBITGEN.h | ajblane/iota_fpga | 2ec78e89bf263a84905aba92437da5ec091ab621 | [
"MIT"
] | 14 | 2018-05-08T23:40:47.000Z | 2022-02-12T00:12:06.000Z | /*
* (C) Copyright 2000-2004
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the F... | 36.327014 | 98 | 0.71272 |
a2ca77ef118058c20412af518b367d94ac46a120 | 320 | h | C | walker_firmware/types.h | ensaminadin-pe/walker | 9b084db2aefa827c0f92466c16a93abfe8f4bff9 | [
"Unlicense"
] | null | null | null | walker_firmware/types.h | ensaminadin-pe/walker | 9b084db2aefa827c0f92466c16a93abfe8f4bff9 | [
"Unlicense"
] | null | null | null | walker_firmware/types.h | ensaminadin-pe/walker | 9b084db2aefa827c0f92466c16a93abfe8f4bff9 | [
"Unlicense"
] | null | null | null | #ifndef TYPES_H
#define TYPES_H
typedef signed char int8;
typedef unsigned char uint8;
typedef signed short int16;
typedef unsigned short uint16;
#ifdef IS_QT
typedef signed long int32;
typedef unsigned long uint32;
#endif
typedef signed long long int64;
typedef unsigned long long uint64;
#endif // TYPES_H
| 20 | 34 | 0.778125 |
2e99a67a3e1d2871d772770760b9a12fc3aa73ed | 36,787 | c | C | src/netpbm/10.27/netpbm-10.27/converter/ppm/ppmtompeg/jrevdct.c | cjd8363/Global-Illum | 734987387d3cfb165979862cac862f837b554e2a | [
"TCL",
"DOC"
] | 2 | 2016-11-23T18:45:39.000Z | 2017-08-28T14:45:50.000Z | vendor/C/netpbm/converter/ppm/ppmtompeg/jrevdct.c | ownclo/jpeg-on-steroids | deef3d015f07c46fedeaf0cceaadd4b702e89838 | [
"BSD-3-Clause"
] | null | null | null | vendor/C/netpbm/converter/ppm/ppmtompeg/jrevdct.c | ownclo/jpeg-on-steroids | deef3d015f07c46fedeaf0cceaadd4b702e89838 | [
"BSD-3-Clause"
] | 1 | 2021-07-05T02:57:30.000Z | 2021-07-05T02:57:30.000Z | /*
* jrevdct.c
*
* Copyright (C) 1991, 1992, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains the basic inverse-DCT transformation subroutine.
*
* This implementation is based on an a... | 28.762314 | 81 | 0.563297 |
bda20eb133d0cbd36643fe64480f7a08b7d63658 | 744 | c | C | src/add-ons/accelerants/neomagic/GetTimingConstraints.c | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/add-ons/accelerants/neomagic/GetTimingConstraints.c | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/add-ons/accelerants/neomagic/GetTimingConstraints.c | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
Author:
Rudolf Cornelissen 11/2004
*/
#define MODULE_BIT 0x01000000
#include "acc_std.h"
/* Used to help generate mode lines */
status_t GET_TIMING_CONSTRAINTS(display_timing_constraints * dtc)
{
LOG(4, ("GET_TIMING_CONSTRAINTS: returning info\n"));
/* specs are identical for all Neomagic cards */
dtc->h_r... | 21.882353 | 86 | 0.697581 |
ec8a32a6e876bd4e6d042294afc42e8f5509e18f | 231 | c | C | libsrc/cpcmath/ceil.c | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | 1 | 2018-09-04T23:07:24.000Z | 2018-09-04T23:07:24.000Z | libsrc/cpcmath/ceil.c | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | libsrc/cpcmath/ceil.c | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | /*
* CPC Maths Routines
*
* August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
*
* $Id: ceil.c,v 1.1 2003/08/30 16:42:48 dom Exp $
*/
#include <float.h>
#include <math.h>
float ceil(float x)
{
return (float)((int)x);
}
| 12.833333 | 53 | 0.575758 |
83aff6bcf1e0935999773b4582dbfa75fd2f2982 | 3,406 | h | C | PrivateFrameworks/HomeKitDaemon/HMDSoftwareUpdateDocumentationAsset.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/HomeKitDaemon/HMDSoftwareUpdateDocumentationAsset.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/HomeKitDaemon/HMDSoftwareUpdateDocumentationAsset.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "HMFObject.h"
#import "HMFLogging.h"
#import "HMFObject.h"
#import "NSSecureCoding.h"
#import "NSURLSessionDownloadDelegate.h"
#import "SZExtractorDelegate.h"
@class HMSof... | 41.536585 | 181 | 0.788021 |
26353b6bce976f797896c42edbc669d0ffac482c | 2,203 | c | C | drivers/net/wireless/mediatek/mt76/mmio.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | drivers/net/wireless/mediatek/mt76/mmio.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | drivers/net/wireless/mediatek/mt76/mmio.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | // SPDX-License-Identifier: ISC
/*
* Copyright (C) 2016 Felix Fietkau <nbd@nbd.name>
*/
#include "mt76.h"
#include "trace.h"
static u32 mt76_mmio_rr(struct mt76_dev *dev, u32 offset)
{
u32 val;
val = readl(dev->mmio.regs + offset);
trace_reg_rr(dev, offset, val);
return val;
}
static void mt76_mmio_wr(struct... | 21.811881 | 77 | 0.702224 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.