hexsha stringlengths 40 40 | size int64 5 2.72M | ext stringclasses 5
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 976 | max_stars_repo_name stringlengths 5 113 | max_stars_repo_head_hexsha stringlengths 40 78 | 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:01:43 2022-03-31 23:59:48 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 00:06:24 2022-03-31 23:59:53 ⌀ | max_issues_repo_path stringlengths 3 976 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 78 | 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 976 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 78 | 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:19 2022-03-31 23:59:49 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 12:00:57 2022-03-31 23:59:49 ⌀ | content stringlengths 5 2.72M | avg_line_length float64 1.38 573k | max_line_length int64 2 1.01M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2b8c6b3d642910efaed305b34f34e74d4353d000 | 295 | c | C | src/libnsss/nsss_unix_rewind.c | skarnet/nsss | a912857f51c3b7705eca8a844ce7ed1c3e7250dc | [
"0BSD"
] | 18 | 2018-06-26T08:30:34.000Z | 2022-01-10T08:42:24.000Z | src/libnsss/nsss_unix_rewind.c | skarnet/nsss | a912857f51c3b7705eca8a844ce7ed1c3e7250dc | [
"0BSD"
] | null | null | null | src/libnsss/nsss_unix_rewind.c | skarnet/nsss | a912857f51c3b7705eca8a844ce7ed1c3e7250dc | [
"0BSD"
] | 4 | 2018-09-11T08:44:02.000Z | 2020-12-26T05:39:11.000Z | /* ISC license. */
#include <unistd.h>
#include <skalibs/buffer.h>
#include <nsss/nsss-unix.h>
int nsss_unix_rewind (nsss_unix_t *a)
{
int fd = buffer_fd(&a->b) ;
if (lseek(fd, 0, SEEK_SET) < 0) return 0 ;
buffer_init(&a->b, &buffer_read, fd, a->buf, NSSS_UNIX_BUFSIZE) ;
return 1 ;
}
| 21.071429 | 67 | 0.650847 |
2b8dbdad160e3cb49df15b6fd941db4e8325e354 | 224 | h | C | include/utils.h | GreenYun/eoip | 59dc68dcba285bf465d03b4825fa10bd0ed00e76 | [
"MIT"
] | null | null | null | include/utils.h | GreenYun/eoip | 59dc68dcba285bf465d03b4825fa10bd0ed00e76 | [
"MIT"
] | null | null | null | include/utils.h | GreenYun/eoip | 59dc68dcba285bf465d03b4825fa10bd0ed00e76 | [
"MIT"
] | null | null | null | #ifndef __EOIP_UTILS_H__
#define __EOIP_UTILS_H__
#include <stdbool.h>
/* Returns true if 'prefix' is a not empty prefix of 'string'.
*/
int matches(const char *prefix, const char *string);
#endif /* __EOIP_UTILS_H__ */
| 20.363636 | 62 | 0.732143 |
2b8e8828f79ce77991acc487f0d6b70ac9db253c | 326 | c | C | Competitive Programing Problem Solutions/UVA/12372.c | BIJOY-SUST/ACM---ICPC | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | 1 | 2022-02-27T12:07:59.000Z | 2022-02-27T12:07:59.000Z | Competitive Programing Problem Solutions/UVA/12372.c | BIJOY-SUST/Competitive-Programming | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | null | null | null | Competitive Programing Problem Solutions/UVA/12372.c | BIJOY-SUST/Competitive-Programming | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | null | null | null | #include<stdio.h>
int main(){
int T,i;
double L,W,H;
scanf("%d", &T);
for(i=1;i<=T;i++){
scanf("%lf%lf%lf",&L,&W,&H);
if(L<=20&&W<=20&&H<=20){
printf("Case %d: good\n",i);
}
else{
printf("Case %d: bad\n",i);
}
}
return 0... | 16.3 | 41 | 0.361963 |
2b8ef545bfb06e90055d7136676c0bb8174942ed | 715 | h | C | CFMUtil/DroppableTaskQueue/CFMDroppableTaskQueue.h | CodingForMoney/CFMUtil | 50ea5a66dcc52d07708142459777ae827336af62 | [
"MIT"
] | null | null | null | CFMUtil/DroppableTaskQueue/CFMDroppableTaskQueue.h | CodingForMoney/CFMUtil | 50ea5a66dcc52d07708142459777ae827336af62 | [
"MIT"
] | null | null | null | CFMUtil/DroppableTaskQueue/CFMDroppableTaskQueue.h | CodingForMoney/CFMUtil | 50ea5a66dcc52d07708142459777ae827336af62 | [
"MIT"
] | null | null | null | //
// CFMDroppableTaskQueue.h
// CFMUtil
//
// Created by lxm on 2018/8/6.
// Copyright © 2018年 lxm. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
一个可抛弃中间任务的线程管理器。 使用 GCD .
原因,对于一些复杂的界面响应,我们将耗时任务放到异步线程中,处理完成后,在主线程执行界面修改, 而问题在于这个耗时任务可能多到一段时间内无法完成,所以我们要抛弃一部分过多的任务量,保证响应最关键的事件。
在这个queue中, 如果一开始加入... | 16.25 | 102 | 0.725874 |
2b90113d933c29f02d1b3f6767de2838ed288410 | 29,115 | c | C | gdb-7.3/gdb/mips-linux-nat.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | gdb-7.3/gdb/mips-linux-nat.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | gdb-7.3/gdb/mips-linux-nat.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | /* Native-dependent code for GNU/Linux on MIPS processors.
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
2011 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General ... | 26.589041 | 78 | 0.677932 |
2b90177443508e84174c7ece7dc67aae8eec0ae9 | 7,113 | h | C | component/video/dec/Exynos_OMX_Vdec.h | Exynos7580/android_hardware_samsung_slsi_openmax | 9466e778acac3356ba5ebeeb8133230817ab7bf3 | [
"Apache-2.0"
] | null | null | null | component/video/dec/Exynos_OMX_Vdec.h | Exynos7580/android_hardware_samsung_slsi_openmax | 9466e778acac3356ba5ebeeb8133230817ab7bf3 | [
"Apache-2.0"
] | null | null | null | component/video/dec/Exynos_OMX_Vdec.h | Exynos7580/android_hardware_samsung_slsi_openmax | 9466e778acac3356ba5ebeeb8133230817ab7bf3 | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright 2012 Samsung Electronics S.LSI Co. LTD
*
* 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 ap... | 40.414773 | 151 | 0.764235 |
2b93dab8fac3e5e31877c3076ec56602e5649fa6 | 7,397 | h | C | rnf/modules/network/ospfv2/ospf-extern.h | wilseypa/ROSS | c7f94e97238902b37ae01e30224de4ed4909435b | [
"BSD-3-Clause"
] | null | null | null | rnf/modules/network/ospfv2/ospf-extern.h | wilseypa/ROSS | c7f94e97238902b37ae01e30224de4ed4909435b | [
"BSD-3-Clause"
] | null | null | null | rnf/modules/network/ospfv2/ospf-extern.h | wilseypa/ROSS | c7f94e97238902b37ae01e30224de4ed4909435b | [
"BSD-3-Clause"
] | null | null | null | #ifndef INC_ospf_extern_h
#define INC_ospf_extern_h
extern int g_ospf_link_weight;
extern int g_route[];
extern int g_route1[];
extern int gr1;
extern int gr2;
extern int g_ospf_rt_write;
/*
* ospf-experiments.c
*/
extern void ospf_random_weights(ospf_state * state, tw_lp * lp);
extern void ospf_experiment_weigh... | 32.442982 | 105 | 0.741246 |
2b9653453a1c3f91091f49b79d79745358a76ee7 | 203 | h | C | Matchismo/Matchismo/Model/PlayingCardDeck.h | wmora/cs193p | 521eda38f95d234254c1d8d4fe269c5af3ad9241 | [
"MIT"
] | 1 | 2019-06-25T11:13:33.000Z | 2019-06-25T11:13:33.000Z | Matchismo/Matchismo/Model/PlayingCardDeck.h | wmora/cs193p | 521eda38f95d234254c1d8d4fe269c5af3ad9241 | [
"MIT"
] | null | null | null | Matchismo/Matchismo/Model/PlayingCardDeck.h | wmora/cs193p | 521eda38f95d234254c1d8d4fe269c5af3ad9241 | [
"MIT"
] | null | null | null | //
// PlayingCardDeck.h
// Matchismo
//
// Created by William Mora on 22/03/14.
// Copyright (c) 2014 William Mora. All rights reserved.
//
#import "Deck.h"
@interface PlayingCardDeck : Deck
@end
| 14.5 | 57 | 0.674877 |
2b9756ba69497c9ab0d79a4182da0881c790163c | 601 | h | C | src/include/data_pack/text_pack.h | scouter-project/scouter-cxx-lib | cf5971bd6dfd47e07fb7152ffbbaf95b69f53797 | [
"Apache-2.0"
] | null | null | null | src/include/data_pack/text_pack.h | scouter-project/scouter-cxx-lib | cf5971bd6dfd47e07fb7152ffbbaf95b69f53797 | [
"Apache-2.0"
] | null | null | null | src/include/data_pack/text_pack.h | scouter-project/scouter-cxx-lib | cf5971bd6dfd47e07fb7152ffbbaf95b69f53797 | [
"Apache-2.0"
] | null | null | null | /*
* text_pack.h
*
* Created on: 2015. 6. 9.
* Author: windfree
*/
#ifndef SRC_DATA_PACK_TEXT_PACK_H_
#define SRC_DATA_PACK_TEXT_PACK_H_
#include "data_pack/pack.h"
#include <string>
namespace scouter {
class text_pack: public pack {
private:
std::string type;
int32_t hash;
char* te... | 18.212121 | 62 | 0.670549 |
2b985bbd94d88f4b5386d634056eb5ca85c10c14 | 4,185 | h | C | src/x86gen.h | Mithreindeir/ewcc | f71ddfb0624afbba4d2dbcf099981cc14bbb937c | [
"Apache-2.0"
] | 3 | 2019-03-29T02:45:01.000Z | 2021-04-13T09:35:28.000Z | src/x86gen.h | Mithreindeir/ewcc | f71ddfb0624afbba4d2dbcf099981cc14bbb937c | [
"Apache-2.0"
] | null | null | null | src/x86gen.h | Mithreindeir/ewcc | f71ddfb0624afbba4d2dbcf099981cc14bbb937c | [
"Apache-2.0"
] | null | null | null | #ifndef X86_GEN_H
#define X86_GEN_H
#include "match.h"
#include "debug.h"
#include "frontend/symbols.h"
/*Code generation for X86*/
/*Target architectures must implement:
*
* Local variable allocator:
* Instructions that implement all statements with possible operand pairs
*
* The variable allocator is a callbac... | 27.352941 | 84 | 0.613142 |
2b9f297be05b34ef4cfd6da18450689096ec874a | 1,162 | h | C | WaveSabreCore/include/WaveSabreCore/Cathedral.h | LeStahL/WaveSabre | 2a603ac1b3e9c30390a977f5bfb71766552e9c62 | [
"MIT"
] | 228 | 2019-02-18T19:13:31.000Z | 2022-03-30T00:52:55.000Z | WaveSabreCore/include/WaveSabreCore/Cathedral.h | LeStahL/WaveSabre | 2a603ac1b3e9c30390a977f5bfb71766552e9c62 | [
"MIT"
] | 64 | 2019-02-20T17:38:47.000Z | 2022-01-25T20:21:00.000Z | WaveSabreCore/include/WaveSabreCore/Cathedral.h | thijskruithof/WaveSabre | d2d0c76432284a86780deda45b35a9aa9377d79e | [
"MIT"
] | 31 | 2019-02-20T14:16:40.000Z | 2022-01-05T11:25:52.000Z | #ifndef __WAVESABRECORE_CATHEDRAL_H__
#define __WAVESABRECORE_CATHEDRAL_H__
#include "Device.h"
#include "DelayBuffer.h"
#include "StateVariableFilter.h"
#include "Comb.h"
#include "AllPass.h"
namespace WaveSabreCore
{
class Cathedral : public Device
{
public:
enum class ParamIndices
{
Freeze,
RoomSize,
... | 17.088235 | 89 | 0.723752 |
2b9fd1528917e18360e4acd4c818ea9d3b36f4cd | 432 | h | C | sdk-6.5.20/include/bcm_int/dpp/rate.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/bcm_int/dpp/rate.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/bcm_int/dpp/rate.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*
* File: rate.h
* Purpose: rate internal definitions to the BCM library.
*/
#ifndef _BCM_INT_DPP_... | 22.736842 | 134 | 0.729167 |
2ba24da82190864fa29e46200d2e98d44cb0038b | 1,614 | h | C | xcore/crowd_app/shared/facemsg.h | baidu-research/hydra-xeye | 67d4464cff8f44f3a396a2c9aed46d0ce02f8de2 | [
"Apache-2.0"
] | 1 | 2021-09-01T00:50:34.000Z | 2021-09-01T00:50:34.000Z | xcore/crowd_app/shared/facemsg.h | baidu-research/hydra-xeye | 67d4464cff8f44f3a396a2c9aed46d0ce02f8de2 | [
"Apache-2.0"
] | null | null | null | xcore/crowd_app/shared/facemsg.h | baidu-research/hydra-xeye | 67d4464cff8f44f3a396a2c9aed46d0ce02f8de2 | [
"Apache-2.0"
] | null | null | null | #ifndef FACEMSG_H
#define FACEMSG_H
#include <memory>
struct IpcMsg {
int msg_type;
size_t msg_len;
char* msg_data;
unsigned char* jpg_buf;
size_t jpg_len;
};
struct OnlineGrabConf {
enum {
INTERVAL = 0,
ONDEMAND,
INVALID
};
bool enabled;
int strategy;
i... | 20.175 | 140 | 0.663569 |
2ba4186331befe9db25e228580af90f0a4fdfc01 | 1,973 | h | C | Src/NUtils/NPortSvc/NService.h | prikarna/NanoOS | 26d577cca0107a0b4aa2e3ef2f9f19f283ce0dc1 | [
"MIT"
] | 1 | 2021-02-23T19:41:03.000Z | 2021-02-23T19:41:03.000Z | Src/NUtils/NPortSvc/NService.h | prikarna/NanoOS | 26d577cca0107a0b4aa2e3ef2f9f19f283ce0dc1 | [
"MIT"
] | null | null | null | Src/NUtils/NPortSvc/NService.h | prikarna/NanoOS | 26d577cca0107a0b4aa2e3ef2f9f19f283ce0dc1 | [
"MIT"
] | null | null | null | /*
* File : NService.h"
* Remark : Provide abstraction for service class.
*
*/
#pragma once
#include <vector>
#include "TChar.h"
#include "Windows.h"
#include "StrSafe.h"
#include "Dbt.h"
//
// Desc.:
// Provide abstract class for service service class, can't be used directly. A service class
// must inhe... | 23.211765 | 119 | 0.74151 |
2ba423932cd5cdd0c0ff489ddc19213df8b41807 | 1,261 | h | C | src/params.h | carlosen14/node-or-tools | f214e239a3ab0a881b163e04512ece155e8340cd | [
"MIT"
] | 135 | 2017-04-19T07:01:23.000Z | 2022-03-04T16:55:34.000Z | src/params.h | dooley/node-or-tools | 83376a5e79ff25484e9dfee11d137b49a43dad30 | [
"MIT"
] | 61 | 2017-04-18T23:16:33.000Z | 2021-01-28T20:41:48.000Z | src/params.h | dooley/node-or-tools | 83376a5e79ff25484e9dfee11d137b49a43dad30 | [
"MIT"
] | 47 | 2017-05-23T18:45:06.000Z | 2022-03-29T15:18:49.000Z | #ifndef NODE_OR_TOOLS_PARAMS_90D22929381A_H
#define NODE_OR_TOOLS_PARAMS_90D22929381A_H
#include <nan.h>
#include <cstdint>
#include <stdexcept>
// Caches user provided 2d Array of Numbers into Matrix
template <typename Matrix> inline auto makeMatrixFrom2dArray(std::int32_t n, v8::Local<v8::Array> array) {
if (n ... | 26.829787 | 106 | 0.670896 |
2ba559dce5e5566efa7591583956f5a1985e8191 | 691 | h | C | RAMContacts/RAMContact.h | rmorbach/RAMContactsManager | 621d60c2d6ace7f6ebecf7e9df67eaa93c7bd64d | [
"MIT"
] | null | null | null | RAMContacts/RAMContact.h | rmorbach/RAMContactsManager | 621d60c2d6ace7f6ebecf7e9df67eaa93c7bd64d | [
"MIT"
] | null | null | null | RAMContacts/RAMContact.h | rmorbach/RAMContactsManager | 621d60c2d6ace7f6ebecf7e9df67eaa93c7bd64d | [
"MIT"
] | null | null | null | //
// RAMContact.h
// RAMContact
//
// Created by Rodrigo A. Morbach on 17/03/16.
// Copyright © 2016 Morbach. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface RAMContact : NSObject
@property (nonatomic) UIImage * picture;
@property (nonatomic) NSString * firstName;
@p... | 23.827586 | 69 | 0.739508 |
2ba79097554125d8a1a6010ce122c48cd0667d43 | 8,975 | c | C | DNN2/DNN2.c | dloghin/caial | e466e40c8f8c6d81bcbec428ac7c8f315c94c95a | [
"BSD-3-Clause"
] | null | null | null | DNN2/DNN2.c | dloghin/caial | e466e40c8f8c6d81bcbec428ac7c8f315c94c95a | [
"BSD-3-Clause"
] | null | null | null | DNN2/DNN2.c | dloghin/caial | e466e40c8f8c6d81bcbec428ac7c8f315c94c95a | [
"BSD-3-Clause"
] | 1 | 2019-05-09T08:19:25.000Z | 2019-05-09T08:19:25.000Z | //DNN L2
// https://cognitivedemons.wordpress.com/2017/07/06/a-neural-network-in-10-lines-of-c-code/
// https://www.geeksforgeeks.org/program-to-efficiently-calculate-ex/
// Ciocirlan Stefan-Dan 16.05.2019
#include <stdlib.h>
#include "util.h"
#include "../common/common.h"
#include "../common/l_alg.h"
#define MDIM 4
... | 35.9 | 91 | 0.60156 |
2bb51cdab65c6432a94edabd3f8c5358ad257acd | 15,087 | h | C | paddle/phi/kernels/funcs/unique_functor.h | RangeKing/Paddle | 2d87300809ae75d76f5b0b457d8112cb88dc3e27 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | paddle/phi/kernels/funcs/unique_functor.h | RangeKing/Paddle | 2d87300809ae75d76f5b0b457d8112cb88dc3e27 | [
"Apache-2.0"
] | 1 | 2022-01-28T07:23:22.000Z | 2022-01-28T07:23:22.000Z | paddle/phi/kernels/funcs/unique_functor.h | RangeKing/Paddle | 2d87300809ae75d76f5b0b457d8112cb88dc3e27 | [
"Apache-2.0"
] | 1 | 2021-09-24T11:23:36.000Z | 2021-09-24T11:23:36.000Z | // Copyright (c) 2022 PaddlePaddle 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... | 35.332553 | 80 | 0.576324 |
2bb92807110f985f1bd5b3dd7c1e1796e9aff440 | 325 | h | C | src_main/Tracker/common/util.h | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 25 | 2018-02-28T15:04:42.000Z | 2021-08-16T03:49:00.000Z | src_main/Tracker/common/util.h | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 1 | 2019-09-20T11:06:03.000Z | 2019-09-20T11:06:03.000Z | src_main/Tracker/common/util.h | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 9 | 2019-07-31T11:58:20.000Z | 2021-08-31T11:18:15.000Z | // Copyright © 1996-2018, Valve Corporation, All rights reserved.
#ifndef UTIL_H
#define UTIL_H
// Purpose: Utility function for the server browser
class CUtil {
public:
const char *InfoGetValue(const char *s, const char *key);
const char *GetString(const char *stringName);
};
extern CUtil *util;
#endif // UT... | 20.3125 | 65 | 0.729231 |
2bbbe5d2796fb5302f30ba13808c07a8bda51978 | 2,751 | h | C | src/ara/com/helper/ipv4_address.h | bigdark1024/Adaptive-AUTOSAR | b7ebbbd123761bf3f73b1ef425c14c7705c967f8 | [
"MIT"
] | 49 | 2021-07-26T14:28:55.000Z | 2022-03-29T03:33:32.000Z | src/ara/com/helper/ipv4_address.h | bigdark1024/Adaptive-AUTOSAR | b7ebbbd123761bf3f73b1ef425c14c7705c967f8 | [
"MIT"
] | 9 | 2021-07-26T14:35:20.000Z | 2022-02-05T15:49:43.000Z | src/ara/com/helper/ipv4_address.h | bigdark1024/Adaptive-AUTOSAR | b7ebbbd123761bf3f73b1ef425c14c7705c967f8 | [
"MIT"
] | 17 | 2021-09-03T15:38:27.000Z | 2022-03-27T15:48:01.000Z | #ifndef IPV4_ADDRESS_H
#define IPV4_ADDRESS_H
#include <array>
#include <vector>
#include <stdint.h>
namespace ara
{
namespace com
{
namespace helper
{
/// @brief IPv4 address wrapper helper
struct Ipv4Address
{
/// @brief IPv4 address octets... | 34.3875 | 78 | 0.508542 |
2bbc4f4f83c6774ad967ba532265a5daa245553e | 286 | h | C | include/kernel/gramado/kdrivers/x/xproc.h | jorgeluisrezende/gramado | eb41ea70650759019c727e8d066d0eae5e101b38 | [
"BSD-2-Clause"
] | 2 | 2020-02-29T23:56:26.000Z | 2021-01-31T14:25:10.000Z | include/kernel/gramado/kdrivers/x/xproc.h | jorgeluisrezende/gramado | eb41ea70650759019c727e8d066d0eae5e101b38 | [
"BSD-2-Clause"
] | null | null | null | include/kernel/gramado/kdrivers/x/xproc.h | jorgeluisrezende/gramado | eb41ea70650759019c727e8d066d0eae5e101b38 | [
"BSD-2-Clause"
] | null | null | null |
// xproc.h
/*
* system_procedure:
* O procedimento default do sistema.
* Obs: Essa rotina está em x/xproc.c.
*/
unsigned long
system_procedure ( struct window_d *window,
int msg,
unsigned long long1,
unsigned long long2 );
| 14.3 | 44 | 0.576923 |
2bbcbe0d371dbf894a1e6aa34af52f92d0a28e7d | 790 | h | C | src/enums/webrtc/dtls_transport_state.h | elofun/node-webrtc | be63c8c007402c25962df9e30c9813ba70b8a17b | [
"Apache-2.0"
] | 1,302 | 2018-11-26T03:29:51.000Z | 2022-03-31T23:38:34.000Z | src/enums/webrtc/dtls_transport_state.h | elofun/node-webrtc | be63c8c007402c25962df9e30c9813ba70b8a17b | [
"Apache-2.0"
] | 311 | 2018-11-26T14:22:19.000Z | 2022-03-28T09:47:38.000Z | src/enums/webrtc/dtls_transport_state.h | elofun/node-webrtc | be63c8c007402c25962df9e30c9813ba70b8a17b | [
"Apache-2.0"
] | 233 | 2018-11-26T18:08:11.000Z | 2022-03-30T01:29:50.000Z | #pragma once
#include <webrtc/api/dtls_transport_interface.h>
// IWYU pragma: no_include "src/enums/macros/impls.h"
#define DTLS_TRANSPORT_STATE webrtc::DtlsTransportState
#define DTLS_TRANSPORT_STATE_NAME "RTCDtlsTransportState"
#define DTLS_TRANSPORT_STATE_LIST \
ENUM_SUPPORTED(DTLS_TRANSPORT_STATE::kNew, "new")... | 39.5 | 121 | 0.798734 |
2bbd3ed8f1ef7ff5a6191f3d6c7afd14e445888d | 13,747 | c | C | lib/EMBOSS-6.6.0/emboss/showorf.c | alegione/CodonShuffle | bd6674b2eb21ee144a39d6d1e9b7264aba887240 | [
"MIT"
] | 5 | 2016-11-11T21:57:49.000Z | 2021-07-27T14:13:31.000Z | lib/EMBOSS-6.6.0/emboss/showorf.c | frantallukas10/CodonShuffle | 4c408e1a8617f2a52dcb0329bba9617e1be17313 | [
"MIT"
] | 4 | 2016-05-15T07:56:25.000Z | 2020-05-20T05:21:48.000Z | lib/EMBOSS-6.6.0/emboss/showorf.c | frantallukas10/CodonShuffle | 4c408e1a8617f2a52dcb0329bba9617e1be17313 | [
"MIT"
] | 10 | 2015-08-19T20:37:46.000Z | 2020-04-07T06:49:23.000Z | /* @source showorf application
**
** Pretty translation of DNA sequences for publication
**
** @author Copyright (C) Alan Bleasby (ableasby@hgmp.mrc.ac.uk)
** @@
**
** 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 Free... | 19.836941 | 79 | 0.527461 |
2bbe03ef60af8930cfe8d2627453904d27c231f9 | 225 | h | C | src/renderer/scene/graphics_scene.h | 104-Berlin/usk-graphics | 537dd48aa354b18b68424120a3aa64a246fefaf6 | [
"MIT"
] | null | null | null | src/renderer/scene/graphics_scene.h | 104-Berlin/usk-graphics | 537dd48aa354b18b68424120a3aa64a246fefaf6 | [
"MIT"
] | null | null | null | src/renderer/scene/graphics_scene.h | 104-Berlin/usk-graphics | 537dd48aa354b18b68424120a3aa64a246fefaf6 | [
"MIT"
] | null | null | null | #pragma once
namespace Renderer {
class RScene : public RObject
{
public:
RScene();
void Traverse(const std::function<void(RObject*)>& fn);
void DeleteObject(RObject* object);
};
} | 15 | 63 | 0.591111 |
2bbf50a1b865cc01bc3c97c4cc03c6bfb2d7ec81 | 9,173 | h | C | src/Agent/NewRelic/Profiler/Logging/Logger.h | jaffinito/newrelic-dotnet-agent | 925ac7adb3bb76807fcace7b6a4ffc58b669c063 | [
"Apache-2.0"
] | 56 | 2020-07-22T16:26:16.000Z | 2022-03-17T08:29:29.000Z | src/Agent/NewRelic/Profiler/Logging/Logger.h | jaffinito/newrelic-dotnet-agent | 925ac7adb3bb76807fcace7b6a4ffc58b669c063 | [
"Apache-2.0"
] | 617 | 2020-07-01T19:23:28.000Z | 2022-03-30T19:33:44.000Z | src/Agent/NewRelic/Profiler/Logging/Logger.h | jaffinito/newrelic-dotnet-agent | 925ac7adb3bb76807fcace7b6a4ffc58b669c063 | [
"Apache-2.0"
] | 40 | 2020-07-07T23:30:31.000Z | 2022-02-11T14:22:25.000Z | /*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <memory>
#include <mutex>
#include <fstream> //wofstream
#include <atomic>
#include <cassert>
#include "../Common/xplat.h"
#ifdef PAL_STDCPP_COMPAT
// This makes the logging calls work on unix... | 37.748971 | 179 | 0.535158 |
2bc3519f928a8230a93e74ab89ffb804bb56f231 | 4,409 | h | C | MyTilemapEditor/Core/MapScene.h | sam830917/MyTilemapEditor | ef5524f816984c34e1cf2b4b5f75f5ed88666a00 | [
"BSD-2-Clause"
] | 6 | 2021-04-06T21:12:29.000Z | 2021-05-31T21:54:51.000Z | MyTilemapEditor/Core/MapScene.h | sam830917/MyTilemapEditor | ef5524f816984c34e1cf2b4b5f75f5ed88666a00 | [
"BSD-2-Clause"
] | null | null | null | MyTilemapEditor/Core/MapScene.h | sam830917/MyTilemapEditor | ef5524f816984c34e1cf2b4b5f75f5ed88666a00 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include "MapInfo.h"
#include "UndoCommand.h"
#include "TileInfo.h"
#include "Core/Layer.h"
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QList>
#include <QSet>
#include <QUndoStack>
class WorkspaceWidget;
class SelectMask;
struct TileModified;
class MapView : public QGraphicsView
{
publi... | 32.902985 | 139 | 0.788161 |
2bc3caae48399abcbe7b60888ff4a6e19c1b2ddb | 173 | h | C | Wikipedia/Code/WMFZeroMessageFetcher.h | the-sailor/wikipedia-ios | 1f8861fcedb0fbd273bfb497ef6e6b6c95ceab62 | [
"MIT"
] | null | null | null | Wikipedia/Code/WMFZeroMessageFetcher.h | the-sailor/wikipedia-ios | 1f8861fcedb0fbd273bfb497ef6e6b6c95ceab62 | [
"MIT"
] | null | null | null | Wikipedia/Code/WMFZeroMessageFetcher.h | the-sailor/wikipedia-ios | 1f8861fcedb0fbd273bfb497ef6e6b6c95ceab62 | [
"MIT"
] | 5 | 2016-10-11T20:06:21.000Z | 2019-07-17T17:43:17.000Z |
#import <Foundation/Foundation.h>
@interface WMFZeroMessageFetcher : NSObject
- (AnyPromise*)fetchZeroMessageForSiteURL:(NSURL*)siteURL;
- (void)cancelAllFetches;
@end
| 15.727273 | 58 | 0.786127 |
2bc3e339510d9e079b0d23f621feafc04e5702d6 | 25,443 | c | C | xen/xen-4.2.2/xen/common/kexec.c | zhiming-shen/Xen-Blanket-NG | 47e59d9bb92e8fdc60942df526790ddb983a5496 | [
"Apache-2.0"
] | 1 | 2018-02-02T00:15:26.000Z | 2018-02-02T00:15:26.000Z | xen/xen-4.2.2/xen/common/kexec.c | zhiming-shen/Xen-Blanket-NG | 47e59d9bb92e8fdc60942df526790ddb983a5496 | [
"Apache-2.0"
] | null | null | null | xen/xen-4.2.2/xen/common/kexec.c | zhiming-shen/Xen-Blanket-NG | 47e59d9bb92e8fdc60942df526790ddb983a5496 | [
"Apache-2.0"
] | 1 | 2019-05-27T09:47:18.000Z | 2019-05-27T09:47:18.000Z | /******************************************************************************
* kexec.c - Achitecture independent kexec code for Xen
*
* Xen port written by:
* - Simon 'Horms' Horman <horms@verge.net.au>
* - Magnus Damm <magnus@valinux.co.jp>
*/
#include <xen/init.h>
#include <xen/lib.h>
#include <xen/acpi.h>
... | 27.959341 | 104 | 0.637896 |
2bc48aa490a2d853128d12b0defc7691838bc47a | 349 | h | C | Bitmap.h | banouge/SeniorProject | defc4ffaae4e52b002bbda06701653075b4cc93f | [
"MIT"
] | null | null | null | Bitmap.h | banouge/SeniorProject | defc4ffaae4e52b002bbda06701653075b4cc93f | [
"MIT"
] | null | null | null | Bitmap.h | banouge/SeniorProject | defc4ffaae4e52b002bbda06701653075b4cc93f | [
"MIT"
] | null | null | null | #pragma once
#include <string>
//REFERENCES:
//https://en.wikipedia.org/wiki/BMP_file_format
class Bitmap
{
public:
Bitmap(int width, int height);
~Bitmap();
void paintPixel(int r, int g, int b, int x, int y);
void createFile(std::string name);
private:
const int PADDED_WIDTH;
const int HEIGHT;
const int SI... | 15.173913 | 52 | 0.707736 |
2bc54a688ecf5240cca0db3c3aef5edf707fdd28 | 1,385 | h | C | include/dst/utility.h | bi-ts/dst | d68d4cfb7509a2f65c8120d88cbc198874343f30 | [
"BSL-1.0"
] | null | null | null | include/dst/utility.h | bi-ts/dst | d68d4cfb7509a2f65c8120d88cbc198874343f30 | [
"BSL-1.0"
] | null | null | null | include/dst/utility.h | bi-ts/dst | d68d4cfb7509a2f65c8120d88cbc198874343f30 | [
"BSL-1.0"
] | 1 | 2021-09-03T10:48:56.000Z | 2021-09-03T10:48:56.000Z |
// Copyright Maksym V. Bilinets 2015 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt )
#pragma once
#include <type_traits>
namespace dst
{
template <typename T> class ref_or_void
{
... | 13.989899 | 78 | 0.613718 |
2bc77c5a9a1fb0ed0bbcf614a442325534d09cc1 | 1,098 | h | C | KBBubblePopping/KBBubbleUtilities.h | LKeBing/KBBubblePopping | 87087d2da408450f05e58105e62fe46c2fe9a60b | [
"MIT"
] | 1 | 2018-09-14T08:12:26.000Z | 2018-09-14T08:12:26.000Z | KBBubblePopping/KBBubbleUtilities.h | LKeBing/KBBubblePopping | 87087d2da408450f05e58105e62fe46c2fe9a60b | [
"MIT"
] | null | null | null | KBBubblePopping/KBBubbleUtilities.h | LKeBing/KBBubblePopping | 87087d2da408450f05e58105e62fe46c2fe9a60b | [
"MIT"
] | null | null | null | //
// KBBubbleUtilities.h
// KBBubblePopView
//
// Created by Daniel on 2017/5/16.
// Copyright © 2017年 KB. All rights reserved.
//
#ifndef KBBubbleUtilities_h
#define KBBubbleUtilities_h
/**
气泡弹出方向
- KBBubbleViewDirectionDown: 向下
- KBBubbleViewDirectionRight: 向右
- KBBubbleViewDirectionLeft: 向左
- KBBubbleV... | 21.96 | 66 | 0.78051 |
2bc78c18961aec933318638afe434fb30cd5ac44 | 1,650 | h | C | software/os/mselOS/src/os/mutex.h | ProjectVault/orp | 5a6fd68da19ad5baaeffbf6a40a4f8a8990e6619 | [
"Apache-2.0"
] | 473 | 2015-05-29T16:58:24.000Z | 2021-11-17T08:01:24.000Z | software/os/mselOS/src/os/mutex.h | VishalRohra/orp | 5a6fd68da19ad5baaeffbf6a40a4f8a8990e6619 | [
"Apache-2.0"
] | 11 | 2015-06-08T08:57:44.000Z | 2017-12-17T20:06:07.000Z | software/os/mselOS/src/os/mutex.h | VishalRohra/orp | 5a6fd68da19ad5baaeffbf6a40a4f8a8990e6619 | [
"Apache-2.0"
] | 64 | 2015-05-29T16:59:12.000Z | 2020-04-20T13:10:47.000Z | /** @file mutex.h
Contains declarations to use for locking and unlocking shared resources
*/
/*
Copyright 2015, Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at... | 35.106383 | 121 | 0.726061 |
2bc85d74938290d9d177936ee0fcc2620822afb0 | 968 | h | C | ios/chrome/browser/ui/activity_services/activities/request_desktop_or_mobile_site_activity.h | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ios/chrome/browser/ui/activity_services/activities/request_desktop_or_mobile_site_activity.h | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ios/chrome/browser/ui/activity_services/activities/request_desktop_or_mobile_site_activity.h | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 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.
#ifndef IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_ACTIVITIES_REQUEST_DESKTOP_OR_MOBILE_SITE_ACTIVITY_H_
#define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_ACTI... | 34.571429 | 104 | 0.820248 |
2bc90077b1c7e02833f806375ec7d9062830a962 | 1,050 | c | C | tp0/server/src/server.c | tomasanchez/so | 085b32322f099f9da69ca858028e26b4d53441c6 | [
"MIT"
] | null | null | null | tp0/server/src/server.c | tomasanchez/so | 085b32322f099f9da69ca858028e26b4d53441c6 | [
"MIT"
] | null | null | null | tp0/server/src/server.c | tomasanchez/so | 085b32322f099f9da69ca858028e26b4d53441c6 | [
"MIT"
] | null | null | null | /**
* server.c
*
* Main server.
*
* @file This file describes the server main function.
* @author Tomás A. Sánchez
* @since 03.07.2021
*/
#include "server.h"
// Global logger structure
t_log *logger;
int main(void)
{
void iterator(char *value)
{
printf("%s\n", value);
}
logger = log_create("log.log"... | 19.811321 | 74 | 0.687619 |
2bca0f5a762758617df6e2f314d130399b0ad9ea | 468 | h | C | PSoC Workspace/MPU9250/MPU920_I2C.cydsn/Threshold.h | GabboSan/Smart_Pedometer_PSoC5 | e9087dc616f150e9c589274ad9ddf3ef04bba5c2 | [
"MIT"
] | null | null | null | PSoC Workspace/MPU9250/MPU920_I2C.cydsn/Threshold.h | GabboSan/Smart_Pedometer_PSoC5 | e9087dc616f150e9c589274ad9ddf3ef04bba5c2 | [
"MIT"
] | null | null | null | PSoC Workspace/MPU9250/MPU920_I2C.cydsn/Threshold.h | GabboSan/Smart_Pedometer_PSoC5 | e9087dc616f150e9c589274ad9ddf3ef04bba5c2 | [
"MIT"
] | null | null | null | /* ========================================
*
* Copyright YOUR COMPANY, THE YEAR
* All Rights Reserved
* UNPUBLISHED, LICENSED SOFTWARE.
*
* CONFIDENTIAL AND PROPRIETARY INFORMATION
* WHICH IS THE PROPERTY OF your company.
*
* ========================================
*/
#include "stdio.h"
#include "cytypes.h"... | 23.4 | 122 | 0.598291 |
2bd3665e83aadd33029c5867b6c2589af0b4193a | 6,562 | c | C | src/crc/crc8.c | huhub/prototypeTester | 3ebb1af5afef26c678fad8d36f945ca2fd804b7d | [
"Apache-2.0"
] | null | null | null | src/crc/crc8.c | huhub/prototypeTester | 3ebb1af5afef26c678fad8d36f945ca2fd804b7d | [
"Apache-2.0"
] | null | null | null | src/crc/crc8.c | huhub/prototypeTester | 3ebb1af5afef26c678fad8d36f945ca2fd804b7d | [
"Apache-2.0"
] | null | null | null | /*
* Library: libcrc
* File: src/crc8.c
* Author: Lammert Bies
*
* This file is licensed under the MIT License as stated below
*
* Copyright (c) 1999-2016 Lammert Bies
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (th... | 41.0125 | 88 | 0.647516 |
2bd3d4b308a765dcc4e48ec582da3e86a71088a6 | 301 | h | C | Category/NSNumber+Extension.h | cAibDe/ZPCategory | b0d6356d7cd7cf5c8b000371821dc1337962ee2f | [
"MIT"
] | 13 | 2019-04-08T10:24:56.000Z | 2021-04-20T03:52:48.000Z | Category/NSNumber+Extension.h | cAibDe/ZPCategory | b0d6356d7cd7cf5c8b000371821dc1337962ee2f | [
"MIT"
] | null | null | null | Category/NSNumber+Extension.h | cAibDe/ZPCategory | b0d6356d7cd7cf5c8b000371821dc1337962ee2f | [
"MIT"
] | 2 | 2019-04-12T10:14:08.000Z | 2019-07-17T07:04:59.000Z | //
// NSNumber+Extension.h
// ZPCategory
//
// Created by 张鹏 on 2020/11/16.
// Copyright © 2020 c4ibD3. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSNumber (Extension)
/// 去掉浮点型的不必要的0
- (NSString *)zp_description;
@end
NS_ASSUME_NONNULL_END
| 14.333333 | 49 | 0.724252 |
2bd3e525f173109fb7d25a435f8e229256cbe9f3 | 125 | c | C | experiments/enter_string/e_string.c | noraddz/c_programming_for_beginners | bf58003df92651202d61d66a4047eb132d51429f | [
"MIT"
] | 1 | 2021-05-05T14:29:57.000Z | 2021-05-05T14:29:57.000Z | experiments/enter_string/e_string.c | noraddz/c_programming_for_beginners | bf58003df92651202d61d66a4047eb132d51429f | [
"MIT"
] | null | null | null | experiments/enter_string/e_string.c | noraddz/c_programming_for_beginners | bf58003df92651202d61d66a4047eb132d51429f | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(int argc, char ** argv[])
{
char str[30];
str = "string";
printf("%s\n", str);
return 0;
}
| 11.363636 | 34 | 0.568 |
2bd7c31e498a90b67a082bb968520599fe4b54ce | 3,677 | h | C | minilog.h | corporateshark/minilog | d66acf1d5530bf2dd1c60958d3fa9c4115954386 | [
"MIT"
] | 14 | 2021-11-01T18:35:29.000Z | 2022-01-13T14:49:07.000Z | minilog.h | corporateshark/minilog | d66acf1d5530bf2dd1c60958d3fa9c4115954386 | [
"MIT"
] | null | null | null | minilog.h | corporateshark/minilog | d66acf1d5530bf2dd1c60958d3fa9c4115954386 | [
"MIT"
] | null | null | null | #pragma once
/**
minilog v1.0.2
MIT License
Copyright (c) 2021-2022 Sergey Kosarevsky
**/
#if defined(MINILOG_ENABLE_VA_LIST)
# include <stdarg.h>
#endif // MINILOG_ENABLE_VA_LIST
namespace minilog
{
enum eLogLevel {
Paranoid = 0,
Debug = 1,
Log = 2,
Warning = 3,
FatalError = 4
... | 39.537634 | 137 | 0.670112 |
2bd80a1bcebbfb13f04b530c1ee99b7529bec6f6 | 1,442 | h | C | macOS/10.13/AVFoundation.framework/AVCaptureAudioDataOutput.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 30 | 2016-10-09T20:13:00.000Z | 2022-01-24T04:14:57.000Z | macOS/10.13/AVFoundation.framework/AVCaptureAudioDataOutput.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | null | null | null | macOS/10.13/AVFoundation.framework/AVCaptureAudioDataOutput.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 7 | 2017-08-29T14:41:25.000Z | 2022-01-19T17:14:54.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
*/
@interface AVCaptureAudioDataOutput : AVCaptureOutput {
AVCaptureAudioDataOutputInternal * _internal;
}
@property (nonatomic, readwrite, copy) NSDictionary *audioSettings;
@property (nonatomic, r... | 41.2 | 129 | 0.800277 |
2bd9c550ba553eee32892c371b25168ead3ed489 | 313 | c | C | nitan/d/wudu/midao.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | 1 | 2019-03-27T07:25:16.000Z | 2019-03-27T07:25:16.000Z | nitan/d/wudu/midao.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | nitan/d/wudu/midao.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | inherit ROOM;
void create()
{
set("short", "密道");
set("long", @LONG
這裏是五毒教花園下面的一條狹窄的暗道。陰森可怕,到
處積滿了灰塵,結滿了蛛網,也不知道通往何處。
LONG);
set("exits", ([
"up" : __DIR__"huating2",
"west" : __DIR__"midao2",
]));
setup();
replace_program(ROOM);
} | 19.5625 | 43 | 0.492013 |
2bdc1994d93b4f0dc5f402711c51f3add41e0dd9 | 3,557 | h | C | notepad.h | SiAce/Notepad | 43216d524a5abf221866c7d2a0f9699661e94fd4 | [
"MIT"
] | 2 | 2019-06-27T23:47:32.000Z | 2019-07-21T04:53:04.000Z | notepad.h | SiAce/Notepad | 43216d524a5abf221866c7d2a0f9699661e94fd4 | [
"MIT"
] | null | null | null | notepad.h | SiAce/Notepad | 43216d524a5abf221866c7d2a0f9699661e94fd4 | [
"MIT"
] | null | null | null | #ifndef NOTEPAD_H
#define NOTEPAD_H
#include <QMainWindow>
#include <QtCore>
#include <QtGui>
#include <QFileDialog>
#include <QMessageBox>
#include <QTextStream>
#include <QString>
#include <QLabel>
#include <QScrollArea>
#include <cmath>
#include <algorithm>
#include <array>
#define PI 3.14159265
namespace Ui {
cla... | 20.923529 | 68 | 0.744166 |
2bdc5566cc360673534a7db5e0c235101a90012e | 2,038 | h | C | EulerGameEngine/src/EulerGameEngine/Events/Event.h | j3nka94/Euler | 7c831a139aa8a6188e5e2258f4139556200e264f | [
"Apache-2.0"
] | null | null | null | EulerGameEngine/src/EulerGameEngine/Events/Event.h | j3nka94/Euler | 7c831a139aa8a6188e5e2258f4139556200e264f | [
"Apache-2.0"
] | null | null | null | EulerGameEngine/src/EulerGameEngine/Events/Event.h | j3nka94/Euler | 7c831a139aa8a6188e5e2258f4139556200e264f | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "../Core.h"
#include<string>
#include<functional>
namespace EulerEngine {
// Events are currently blocking, meaning when an event occurs it
// immediately gets dispached and must be dealt with right there and then.
// For future, a better strategy might be to buffer events in an event
// b... | 24.853659 | 105 | 0.714917 |
2bdfcc53de1289e7dd41e0d3f937b807252774b0 | 200 | h | C | include/powermethod.h | carlulli/TDSE | 6807a07d584a091a591230aa763064c961268266 | [
"MIT"
] | null | null | null | include/powermethod.h | carlulli/TDSE | 6807a07d584a091a591230aa763064c961268266 | [
"MIT"
] | 2 | 2021-02-20T22:53:05.000Z | 2021-03-12T17:04:51.000Z | include/powermethod.h | carlulli/TDSE | 6807a07d584a091a591230aa763064c961268266 | [
"MIT"
] | null | null | null | #ifndef POWERMETHOD_H
#define POWERMETHOD_H
#include <complex.h>
double power_method(double tol,
void (*M)(double complex* in, double complex* out),
double complex *out_ev);
#endif
| 16.666667 | 54 | 0.7 |
2be1242bab29827642986cfb63e523f0addf019c | 2,813 | c | C | source/ti/net/http/http2hdr.c | seank-com/azure-iot-sdk-tirtos-cc3220 | 7d7d89195cda2a5698fd9fdd5f153caf410bb4c7 | [
"MIT"
] | null | null | null | source/ti/net/http/http2hdr.c | seank-com/azure-iot-sdk-tirtos-cc3220 | 7d7d89195cda2a5698fd9fdd5f153caf410bb4c7 | [
"MIT"
] | null | null | null | source/ti/net/http/http2hdr.c | seank-com/azure-iot-sdk-tirtos-cc3220 | 7d7d89195cda2a5698fd9fdd5f153caf410bb4c7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2016, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice... | 29.925532 | 78 | 0.671881 |
2be50914dd3a190b0934c44dcadf827436e4d528 | 182 | h | C | Chapter07/sim/test/devices/mhz19.h | PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17 | a9e11ab66bbe1e022c3c620b58e8599305dfaa64 | [
"MIT"
] | 37 | 2019-03-04T14:01:19.000Z | 2022-03-27T22:53:49.000Z | Chapter07/sim/test/devices/mhz19.h | PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17 | a9e11ab66bbe1e022c3c620b58e8599305dfaa64 | [
"MIT"
] | 1 | 2019-03-11T13:40:13.000Z | 2020-09-21T05:31:23.000Z | Chapter07/sim/test/devices/mhz19.h | PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17 | a9e11ab66bbe1e022c3c620b58e8599305dfaa64 | [
"MIT"
] | 16 | 2019-03-08T15:27:01.000Z | 2021-12-27T08:45:32.000Z | /*
mhz19.h - Header file for the MHZ19 class.
Revision 0
Notes:
-
2018/09/18, Maya Posch
*/
#include "sensor.h"
class MHZ19 : public Sensor {
//
public:
//
};
| 8.666667 | 43 | 0.576923 |
2be528578d82434b5e3014abdbeaf7c6f7524973 | 986 | h | C | examples/QBasicUiKitDemo/inc/miniiconwidgetdemo.h | daodaoliang/QDaodaoliang | bc404934fe6d694c5a3904112414a434ca86f953 | [
"MIT"
] | 2 | 2017-10-24T02:50:51.000Z | 2021-06-18T16:13:18.000Z | examples/QBasicUiKitDemo/inc/miniiconwidgetdemo.h | daodaoliang/QDaodaoliang | bc404934fe6d694c5a3904112414a434ca86f953 | [
"MIT"
] | null | null | null | examples/QBasicUiKitDemo/inc/miniiconwidgetdemo.h | daodaoliang/QDaodaoliang | bc404934fe6d694c5a3904112414a434ca86f953 | [
"MIT"
] | 4 | 2017-07-20T07:17:47.000Z | 2021-08-12T09:47:44.000Z | #ifndef MINIICONWIDGETDEMO_H
#define MINIICONWIDGETDEMO_H
#include <QWidget>
#include <QPainter>
#include "qbasicformminiconwidget.h"
namespace Ui {
class MiniIconWidgetDemo;
}
/*!
* \brief The MiniIconWidgetDemo class
* 迷你Widget程序小样
*/
class MiniIconWidgetDemo : public QWidget
{
Q_OBJECT
public:
e... | 17.607143 | 53 | 0.693712 |
2be5cee9202dd5663018e08c6f0245859755e91a | 206 | c | C | d/realm/rooms/ao_middle_15.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/realm/rooms/ao_middle_15.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/realm/rooms/ao_middle_15.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>
#include "../inherits/area_stuff.h"
inherit RA_MR_UFT;
void create()
{
::create();
set_exits((["west" : MRS"112",
"north" : MRS"18",
"south" : MRS"16",
"east" : MRS"14"]));
}
| 15.846154 | 35 | 0.567961 |
2be698d1cd95f9c8dfcce23473e193eaf53e0318 | 1,114 | h | C | XMGradient/XMGradientView.h | tezcatlipoca/dscore | d9617d8af5549c76e3ca536500a9ffa1e2081127 | [
"MIT"
] | 6 | 2015-02-07T12:20:34.000Z | 2018-12-31T02:11:25.000Z | XMGradient/XMGradientView.h | tezcatlipoca/dscore | d9617d8af5549c76e3ca536500a9ffa1e2081127 | [
"MIT"
] | null | null | null | XMGradient/XMGradientView.h | tezcatlipoca/dscore | d9617d8af5549c76e3ca536500a9ffa1e2081127 | [
"MIT"
] | null | null | null | //
// GradientView.h
// TechRequest
//
// Created by Alex Clarke on 10/04/08.
// Copyright 2008 CocoaLab Software Australia. All rights reserved.
//
#import <Cocoa/Cocoa.h>
typedef enum {
XMGradientViewGradientType_Linear = 0,
XMGradientViewGradientType_Radial = 1
} XMGradientViewGradientType;
@interfa... | 20.62963 | 68 | 0.767504 |
2be718d17056b35a89c5c4c972cb973cadbd417c | 3,343 | c | C | examples/mpi-omp/mpi-omp-pie-calculation100.c | byu-vv-lab/civl | f599229ff4830acc75c33149611c65ff4052d516 | [
"BSD-3-Clause"
] | null | null | null | examples/mpi-omp/mpi-omp-pie-calculation100.c | byu-vv-lab/civl | f599229ff4830acc75c33149611c65ff4052d516 | [
"BSD-3-Clause"
] | null | null | null | examples/mpi-omp/mpi-omp-pie-calculation100.c | byu-vv-lab/civl | f599229ff4830acc75c33149611c65ff4052d516 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
C-DAC Tech Workshop : HeGaPa-2012
July 16-20,2012
Example 2 : Mpi-Omp_PI_Calculation.c
Objective : Write an MPI-OpenMP Program to compute numerical
integrat... | 26.959677 | 125 | 0.5863 |
2bea28bc9d325c437f2905915d782dea9972ccd1 | 653 | h | C | legacy/btmux-exile/trunk/src/commac.h | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-07-09T17:37:42.000Z | 2020-07-09T17:37:42.000Z | legacy/btmux-exile/trunk/src/commac.h | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | legacy/btmux-exile/trunk/src/commac.h | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-11-07T00:02:47.000Z | 2020-11-07T00:02:47.000Z |
/* commac.h */
#ifndef __COMMAC_H__
#define __COMMAC_H__
struct commac {
dbref who;
int numchannels;
int maxchannels;
char *alias;
char **channels;
int curmac;
int macros[5];
struct commac *next;
};
#define NUM_COMMAC 500
struct commac *commac_table[NUM_COMM... | 16.74359 | 41 | 0.667688 |
2beb0c20fcbe2d0100b9a98ea2ae4394a1d5bdb3 | 978 | h | C | Other/Headers/YYKVStorageItem.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | 2 | 2019-01-11T02:02:55.000Z | 2020-04-23T02:42:01.000Z | Other/Headers/YYKVStorageItem.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | null | null | null | Other/Headers/YYKVStorageItem.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | 1 | 2021-01-09T14:54:27.000Z | 2021-01-09T14:54:27.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 <objc/NSObject.h>
@class NSData, NSString;
@interface YYKVStorageItem : NSObject
{
int _size;
int _modTime;
int _... | 29.636364 | 93 | 0.721881 |
2bebc8b175e79ca789dd5eb1221d01eeafda019b | 1,349 | h | C | lib/AerisCore.xcframework/tvos-arm64_x86_64-simulator/AerisCore.framework/Headers/AWFWritableApiEndpoint.h | aerisweather/aerisweather-ios | a1d6dcb02b0f4a26edfa1829f4161f21ddc5e5e0 | [
"BSD-3-Clause"
] | null | null | null | lib/AerisCore.xcframework/tvos-arm64_x86_64-simulator/AerisCore.framework/Headers/AWFWritableApiEndpoint.h | aerisweather/aerisweather-ios | a1d6dcb02b0f4a26edfa1829f4161f21ddc5e5e0 | [
"BSD-3-Clause"
] | null | null | null | lib/AerisCore.xcframework/tvos-arm64_x86_64-simulator/AerisCore.framework/Headers/AWFWritableApiEndpoint.h | aerisweather/aerisweather-ios | a1d6dcb02b0f4a26edfa1829f4161f21ddc5e5e0 | [
"BSD-3-Clause"
] | null | null | null | //
// AWFWritableApiEndpoint.h
// AerisCore
//
// Created by Nicholas Shipes on 10/25/17.
// Copyright © 2017 AerisWeather. All rights reserved.
//
#import <AerisCore/AWFApiEndpoint.h>
@interface AWFWritableApiEndpoint : AWFApiEndpoint
- (void)postObject:(id)object options:(id)options completion:(AWFApiEndpointC... | 53.96 | 180 | 0.825056 |
2bed46fb607ddff63a1e9a5c250682ea915e54d0 | 1,932 | c | C | linux-2.6.16-unmod/arch/sh/boards/se/770x/setup.c | ut-osa/syncchar | eba20da163260b6ae1ef3e334ad2137873a8d625 | [
"BSD-3-Clause"
] | 1 | 2020-11-10T12:47:02.000Z | 2020-11-10T12:47:02.000Z | linux-2.6.0/arch/sh/boards/se/770x/setup.c | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | null | null | null | linux-2.6.0/arch/sh/boards/se/770x/setup.c | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | 1 | 2019-05-14T16:36:45.000Z | 2019-05-14T16:36:45.000Z | /* $Id: setup.c,v 1.1.2.4 2002/03/02 21:57:07 lethal Exp $
*
* linux/arch/sh/boards/se/770x/setup.c
*
* Copyright (C) 2000 Kazumoto Kojima
*
* Hitachi SolutionEngine Support.
*
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/hdreg.h>
#include <linux/ide.h>
#include... | 22.465116 | 58 | 0.715839 |
2bf0832d14c92948d4ed9650c1832ba54171d3e1 | 986 | h | C | networktools/basics.h | neurophysik/networktools | f5045fc4f7131aa54baf9bd48fd4b03d2e19be10 | [
"BSD-3-Clause"
] | 2 | 2017-02-24T08:53:53.000Z | 2018-04-01T18:13:15.000Z | networktools/basics.h | neurophysik/networktools | f5045fc4f7131aa54baf9bd48fd4b03d2e19be10 | [
"BSD-3-Clause"
] | null | null | null | networktools/basics.h | neurophysik/networktools | f5045fc4f7131aa54baf9bd48fd4b03d2e19be10 | [
"BSD-3-Clause"
] | null | null | null | // Datatypes, structs and functions for the Python interface.
# ifndef BASICS
# define BASICS
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-pedantic"
# define NPY_NO_DEPRECATED_API NPY_1_8_API_VERSION
# include <Python.h>
# include <numpy/arrayobject.h>
# pragma GCC diagnostic pop
# include <stdbool... | 23.47619 | 112 | 0.756592 |
2bf09e6753ca8318a9458e9ec200f702629e18f7 | 4,854 | c | C | src/rdt_receiver.c | moon1ock/TCP-protocol | 5e65b5a50c4d46236f89c67135727193a3519236 | [
"MIT"
] | null | null | null | src/rdt_receiver.c | moon1ock/TCP-protocol | 5e65b5a50c4d46236f89c67135727193a3519236 | [
"MIT"
] | null | null | null | src/rdt_receiver.c | moon1ock/TCP-protocol | 5e65b5a50c4d46236f89c67135727193a3519236 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <assert.h>
#include "common.h"
#include "packet.h"
int window_size = 100000; // rcvr window size
/*
* You ar requ... | 30.528302 | 100 | 0.555418 |
2bf14f6b0261ceca91faddbf3d6e7416b5011c97 | 409 | h | C | DaVinskky Engine/Source/E_Console.h | Vinskky/DaVinskky_Engine | a9d46847d72ad20287e415cc8fd63b6f875bba4e | [
"MIT"
] | null | null | null | DaVinskky Engine/Source/E_Console.h | Vinskky/DaVinskky_Engine | a9d46847d72ad20287e415cc8fd63b6f875bba4e | [
"MIT"
] | null | null | null | DaVinskky Engine/Source/E_Console.h | Vinskky/DaVinskky_Engine | a9d46847d72ad20287e415cc8fd63b6f875bba4e | [
"MIT"
] | null | null | null | #ifndef _E_CONSOLE_H_
#define _E_CONSOLE_H_
#include "Editor.h"
#include <vector>
#define THRESHOLD_LOGS 1000
class E_Console : public Editor
{
public:
E_Console(const char* name, bool isActive = true);
~E_Console();
bool Draw(ImGuiIO& io)override;
bool CleanUp()override;
void AddLogConsole(const char* logStr... | 13.633333 | 51 | 0.726161 |
2bf7a08231ac84e27cbc2b9e70f672a7b83e187a | 189 | c | C | c/1073_pares.c | c3h/uri-online-judge | 2b4e30a80ec092c5559c63f994da96c8399f42f2 | [
"MIT"
] | null | null | null | c/1073_pares.c | c3h/uri-online-judge | 2b4e30a80ec092c5559c63f994da96c8399f42f2 | [
"MIT"
] | null | null | null | c/1073_pares.c | c3h/uri-online-judge | 2b4e30a80ec092c5559c63f994da96c8399f42f2 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main () {
int N, i, s;
scanf("%d", &N);
for(i = 1; i <= N; i++){
if (i % 2 == 0){
s = i * i;
printf("%d^2 = %d\n", i, s);
}
}
return 0;
}
| 12.6 | 32 | 0.359788 |
2bf9503844fb2cff7bb016faf42ed8fbcf5c5d78 | 552 | h | C | Code/Source/Cesium/Systems/LoggerSink.h | CesiumGS/cesium-o3de | b4e682df0131256c08ec5680397abfbfcb89f4b0 | [
"Apache-2.0"
] | 23 | 2022-01-14T16:20:16.000Z | 2022-03-24T07:41:55.000Z | Code/Source/Cesium/Systems/LoggerSink.h | CesiumGS/cesium-o3de | b4e682df0131256c08ec5680397abfbfcb89f4b0 | [
"Apache-2.0"
] | 12 | 2022-01-21T18:34:26.000Z | 2022-03-28T16:03:35.000Z | Code/Source/Cesium/Systems/LoggerSink.h | CesiumGS/cesium-o3de | b4e682df0131256c08ec5680397abfbfcb89f4b0 | [
"Apache-2.0"
] | 4 | 2022-02-08T15:17:08.000Z | 2022-03-23T04:45:20.000Z | #pragma once
#include <AzCore/std/parallel/mutex.h>
#include <spdlog/sinks/base_sink.h>
#include <spdlog/details/null_mutex.h>
#include <spdlog/logger.h>
#include <string>
namespace Cesium
{
class LoggerSink : public spdlog::sinks::base_sink<spdlog::details::null_mutex>
{
protected:
void sink_it_(... | 23 | 83 | 0.690217 |
2bfa51748852346d49ac5ebba251372afb474b65 | 5,510 | c | C | libes/es-timeout.c | dave1667/graphd | 5dfc17949a7319874e2b636909eb3c655d557f60 | [
"Apache-2.0"
] | 412 | 2018-09-07T21:17:54.000Z | 2021-01-16T08:55:05.000Z | libes/es-timeout.c | dave1667/graphd | 5dfc17949a7319874e2b636909eb3c655d557f60 | [
"Apache-2.0"
] | 22 | 2018-09-09T04:59:08.000Z | 2020-01-14T23:27:36.000Z | libes/es-timeout.c | dave1667/graphd | 5dfc17949a7319874e2b636909eb3c655d557f60 | [
"Apache-2.0"
] | 50 | 2018-09-08T05:45:13.000Z | 2020-10-13T16:46:46.000Z | /*
Copyright 2015 Google Inc. 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 applicable law or agreed to in wri... | 29.308511 | 80 | 0.671325 |
2bfb6a4d335182f0e44ed93d91e40011fe655e4e | 1,428 | c | C | vos/vrdi/source/common/xdizoom.c | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 16 | 2020-10-21T05:56:26.000Z | 2022-03-31T10:02:01.000Z | vos/vrdi/source/common/xdizoom.c | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | null | null | null | vos/vrdi/source/common/xdizoom.c | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 2 | 2021-03-09T01:51:08.000Z | 2021-03-23T00:23:24.000Z | /* xdizoom - description
*
* Purpose:
*
* Written by: R. Mortensen
* Date:
*
* Calling Sequence:
*
* STATUS = xdizoom( parameters )
*
* Parameter List:
*
* Unit: Display device unit number
*
* Possible Error Codes:
*
*/
#include "xvmaininc.h"
#include "ftnbridge.h"
#include "xdexterns.h"
#include "... | 19.04 | 65 | 0.564426 |
2bfc8335de260152e148827930c48bb40839b067 | 267 | h | C | FKTableView/FKTableView/SettingDemo/SettingViewController.h | wochen85/FKTableView | aedfe09ddae5b456de01fce95d61ec618ddbea3b | [
"MIT"
] | 20 | 2018-11-29T03:19:10.000Z | 2022-01-28T08:06:38.000Z | FKTableView/FKTableView/SettingDemo/SettingViewController.h | wochen85/FKTableView | aedfe09ddae5b456de01fce95d61ec618ddbea3b | [
"MIT"
] | null | null | null | FKTableView/FKTableView/SettingDemo/SettingViewController.h | wochen85/FKTableView | aedfe09ddae5b456de01fce95d61ec618ddbea3b | [
"MIT"
] | null | null | null | //
// SettingViewController.h
// FKTableView
//
// Created by CHAT on 2019/7/18.
// Copyright © 2019 CHAT. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface SettingViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
| 14.833333 | 51 | 0.745318 |
2bfd64b840aee73452cf0dfe62c5ac1739b0f28e | 1,344 | c | C | src/io.c | mahimahi42/bsh | 8142865ccc53f935d02391bee51452bbab30d31e | [
"MIT"
] | null | null | null | src/io.c | mahimahi42/bsh | 8142865ccc53f935d02391bee51452bbab30d31e | [
"MIT"
] | null | null | null | src/io.c | mahimahi42/bsh | 8142865ccc53f935d02391bee51452bbab30d31e | [
"MIT"
] | null | null | null | /**
@file src/io.c
@author Bryce Davis
@date 6 November 2015
@brief I/O utilities for the shell
@copyright Copyright (c) 2015 Bryce Davis. Released under the MIT License.
See the LICENSE.txt file for details.
*/
#define _GNU_SOURCE
#include "global.h"
#include "io.h"
/**
@fn char* bsh_read_line... | 21.333333 | 75 | 0.674851 |
920221b9248f8efd602ac8315834d51eae89794f | 2,073 | h | C | ready/src/edprint.h | ttracx/OpenTuring | f2124d5b4697dab952659085ed593b4503d12925 | [
"MIT"
] | 37 | 2015-02-06T23:31:03.000Z | 2022-02-10T03:54:52.000Z | ready/src/edprint.h | ttracx/OpenTuring | f2124d5b4697dab952659085ed593b4503d12925 | [
"MIT"
] | 8 | 2015-08-23T19:30:20.000Z | 2021-11-26T00:28:31.000Z | ready/src/edprint.h | ttracx/OpenTuring | f2124d5b4697dab952659085ed593b4503d12925 | [
"MIT"
] | 23 | 2015-08-06T16:24:03.000Z | 2022-01-16T00:50:50.000Z | /*************/
/* edprint.h */
/*************/
#ifndef _EDPRINT_H_
#define _EDPRINT_H_
/*******************/
/* System includes */
/*******************/
/******************/
/* Other includes */
/******************/
#include "edglob.h"
#include "edprog.h"
#include "edtext.h"
/**********/
/* Macr... | 26.240506 | 78 | 0.60878 |
92046b985a907e01a05dc99d78c45be9af648923 | 907 | h | C | src/engine/emitter.h | mtribiere/Pixel-dungeon-CPP | ed930aaeefd1f08eed73ced928acae6e1fe34fa4 | [
"MIT"
] | null | null | null | src/engine/emitter.h | mtribiere/Pixel-dungeon-CPP | ed930aaeefd1f08eed73ced928acae6e1fe34fa4 | [
"MIT"
] | null | null | null | src/engine/emitter.h | mtribiere/Pixel-dungeon-CPP | ed930aaeefd1f08eed73ced928acae6e1fe34fa4 | [
"MIT"
] | null | null | null | #pragma once
#include "group.h"
#include "visual.h"
class Emitter :public Group{
public:
class Factory {
public:
virtual void emit(Emitter* emitter, int index, float x, float y) = 0;
virtual bool lightMode() { return false; }
};
protected:
bool _lightMode = false;
Visual* _target;
float... | 18.14 | 72 | 0.662624 |
920a1aa8b8a0031c3c4723eae58187693eb3f337 | 396 | h | C | include/aspace/region_tracking/mm_linked_list.h | SuchyB/CaratCakeArtifact | 515e42c57b2a65b7631fa7ae0fe693e3997c2f36 | [
"MIT"
] | 2 | 2022-02-25T22:09:47.000Z | 2022-02-25T22:09:58.000Z | include/aspace/region_tracking/mm_linked_list.h | SuchyB/CaratCakeArtifact | 515e42c57b2a65b7631fa7ae0fe693e3997c2f36 | [
"MIT"
] | null | null | null | include/aspace/region_tracking/mm_linked_list.h | SuchyB/CaratCakeArtifact | 515e42c57b2a65b7631fa7ae0fe693e3997c2f36 | [
"MIT"
] | null | null | null | #ifndef __MM_LINKED_LIST_H__
#define __MM_LINKED_LIST_H__
#include <aspace/region_tracking/node_struct.h>
typedef struct mm_llist_node {
nk_aspace_region_t region;
struct mm_llist_node * next_llist_node;
} mm_llist_node_t;
typedef struct mm_llist {
mm_struct_t super;
mm_llist_node_t * r... | 18.857143 | 48 | 0.744949 |
920a8e811c14797d9f82ab36b907bb5f35221c55 | 735 | h | C | Billiards/Dynamics.h | AlexanderPer/Billiards | 6fdf766770b531c7f134278e728601b4424b3e14 | [
"MIT"
] | 2 | 2016-11-10T21:25:40.000Z | 2019-12-23T11:08:57.000Z | Billiards/Dynamics.h | AlexanderPer/Billiards | 6fdf766770b531c7f134278e728601b4424b3e14 | [
"MIT"
] | null | null | null | Billiards/Dynamics.h | AlexanderPer/Billiards | 6fdf766770b531c7f134278e728601b4424b3e14 | [
"MIT"
] | null | null | null | #pragma once
#include <glm/glm.hpp>
#include "CameraControl.h"
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/quaternion.hpp>
class BallDynamics
{
public:
glm::vec2 Velocity;
glm::vec2 Pos;
float Radius;
private:
glm::vec3 BallUpVec;
glm::vec3 BallRightVec;
glm::quat currQuatOrientation;
unsigned int sha... | 17.5 | 55 | 0.742857 |
920c8c0d860bf93396355c44c0704cb78f474c55 | 475 | h | C | src/oidc-agent/oidc/flows/code.h | rizart/oidc-agent | 57c1576d0024f41d4a048708335fdffda225c903 | [
"MIT"
] | 44 | 2017-11-02T14:09:00.000Z | 2022-02-03T17:25:14.000Z | src/oidc-agent/oidc/flows/code.h | rizart/oidc-agent | 57c1576d0024f41d4a048708335fdffda225c903 | [
"MIT"
] | 231 | 2017-09-20T12:49:23.000Z | 2022-03-21T13:05:32.000Z | src/oidc-agent/oidc/flows/code.h | rizart/oidc-agent | 57c1576d0024f41d4a048708335fdffda225c903 | [
"MIT"
] | 25 | 2018-09-24T18:07:34.000Z | 2022-03-11T09:07:12.000Z | #ifndef OIDC_CODE_H
#define OIDC_CODE_H
#include "account/account.h"
#include "ipc/pipe.h"
#include "utils/oidc_error.h"
char* buildCodeFlowUri(const struct oidc_account* account, char** state_ptr,
char** code_verifier_ptr);
oidc_error_t codeExchange(struct oidc_account* account, const char* co... | 31.666667 | 77 | 0.667368 |
78fa96797f5d8f844a1ea7ce580990dac64cca60 | 32 | h | C | src/test_expat.h | memsharded/cpp-batteries-included | 4e4b23b365fa5616b349e6f65d7b2dbef77d70d0 | [
"MIT"
] | 1 | 2018-03-03T11:59:07.000Z | 2018-03-03T11:59:07.000Z | src/test_expat.h | memsharded/cpp-batteries-included | 4e4b23b365fa5616b349e6f65d7b2dbef77d70d0 | [
"MIT"
] | null | null | null | src/test_expat.h | memsharded/cpp-batteries-included | 4e4b23b365fa5616b349e6f65d7b2dbef77d70d0 | [
"MIT"
] | null | null | null | #pragma once
void test_expat(); | 10.666667 | 18 | 0.75 |
78fd3e27ff9b111f0ff7634a60276e4e744a8aab | 224 | h | C | DataStorage/Hdf5/ParallelCSamples/src/consts.h | Gjacquenot/training-material | 16b29962bf5683f97a1072d961dd9f31e7468b8d | [
"CC-BY-4.0"
] | 115 | 2015-03-23T13:34:42.000Z | 2022-03-21T00:27:21.000Z | DataStorage/Hdf5/ParallelCSamples/src/consts.h | Gjacquenot/training-material | 16b29962bf5683f97a1072d961dd9f31e7468b8d | [
"CC-BY-4.0"
] | 56 | 2015-02-25T15:04:26.000Z | 2022-01-03T07:42:48.000Z | DataStorage/Hdf5/ParallelCSamples/src/consts.h | Gjacquenot/training-material | 16b29962bf5683f97a1072d961dd9f31e7468b8d | [
"CC-BY-4.0"
] | 59 | 2015-11-26T11:44:51.000Z | 2022-03-21T00:27:22.000Z | #ifndef CONSTS_HDR
#define CONSTS_HDR
#define NO_MODE 0
#define NEW_MODE 1
#define RESTART_MODE 2
#define TRUE 1
#define FALSE 0
#define RANK 2
#define DEFAULT_X 30
#define DEFAULT_Y 50
#define MAX_STR_LEN 1024
#endif
| 11.789474 | 24 | 0.776786 |
78ff6bd59a3837c09d6e9a14a2ed1ba540036bd3 | 1,844 | h | C | sdk-6.5.20/libs/sdklt/bcmltx/include/bcmltx/bcmlb/bcmltx_lb_hash_table_select_trunk_uc.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmltx/include/bcmltx/bcmlb/bcmltx_lb_hash_table_select_trunk_uc.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmltx/include/bcmltx/bcmlb/bcmltx_lb_hash_table_select_trunk_uc.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*! \file bcmltx_lb_hash_table_select_trunk_uc.h
*
* This file contains load balance hash table selection
* transform functions.
*/
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All r... | 34.148148 | 134 | 0.572668 |
78ffed3467fc87cd4dbba8cc637d671f5167eb1d | 23,956 | h | C | MicroPython_RTL8722/ports/rtl8722/amebad_vendor/sdk/component/common/bluetooth/realtek/sdk/example/bt_mesh/lib/model/firmware_distribution.h | xidameng/micropython_amebaD | 5a570f45354941cc51fcb7cc70d336d361021eb5 | [
"MIT"
] | 4 | 2020-07-31T14:29:20.000Z | 2021-08-02T12:32:26.000Z | MicroPython_RTL8722/ports/rtl8722/amebad_vendor/sdk/component/common/bluetooth/realtek/sdk/example/bt_mesh/lib/model/firmware_distribution.h | xidameng/micropython_amebaD | 5a570f45354941cc51fcb7cc70d336d361021eb5 | [
"MIT"
] | null | null | null | MicroPython_RTL8722/ports/rtl8722/amebad_vendor/sdk/component/common/bluetooth/realtek/sdk/example/bt_mesh/lib/model/firmware_distribution.h | xidameng/micropython_amebaD | 5a570f45354941cc51fcb7cc70d336d361021eb5 | [
"MIT"
] | 3 | 2020-08-06T13:11:52.000Z | 2020-11-04T10:40:47.000Z | /**
*****************************************************************************************
* Copyright(c) 2015, Realtek Semiconductor Corporation. All rights reserved.
*****************************************************************************************
* @file firmware_distribution.h
* @brief Head fi... | 29.466175 | 137 | 0.713892 |
6000880c37f40bd03239df892822d6c84a0c8087 | 16,042 | c | C | slrs/camlibs/sonydscf1/sonydscf1.c | milinddeore/360D-Sampler | a17df51aa3f1252274337c2421b90e4bd1c6b40e | [
"MIT"
] | null | null | null | slrs/camlibs/sonydscf1/sonydscf1.c | milinddeore/360D-Sampler | a17df51aa3f1252274337c2421b90e4bd1c6b40e | [
"MIT"
] | null | null | null | slrs/camlibs/sonydscf1/sonydscf1.c | milinddeore/360D-Sampler | a17df51aa3f1252274337c2421b90e4bd1c6b40e | [
"MIT"
] | null | null | null | /* sonydscf1.c
*
* Copyright (C) M. Adam Kendall <joker@penguinpub.com>
* Copyright (C) 2002 Bart van Leeuwen <bart@netage.nl>
*
* Based on the chotplay CLI interface from Ken-ichi Hayashi 1996,1997
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser G... | 25.708333 | 192 | 0.60111 |
60022e5af23d912c1bf32a4efd749b5a6f0c8968 | 4,587 | h | C | Wrappers/MyGUI_Managed/Generate/MyGUI_Managed_WidgetCropped.h | lmj0591/mygui | 311fb9d07089f64558eb7f77e9b37c4cb91e3559 | [
"MIT"
] | 590 | 2015-01-06T09:22:06.000Z | 2022-03-21T18:23:02.000Z | Wrappers/MyGUI_Managed/Generate/MyGUI_Managed_WidgetCropped.h | lmj0591/mygui | 311fb9d07089f64558eb7f77e9b37c4cb91e3559 | [
"MIT"
] | 159 | 2015-01-07T03:34:23.000Z | 2022-02-21T21:28:51.000Z | Wrappers/MyGUI_Managed/Generate/MyGUI_Managed_WidgetCropped.h | lmj0591/mygui | 311fb9d07089f64558eb7f77e9b37c4cb91e3559 | [
"MIT"
] | 212 | 2015-01-05T07:33:33.000Z | 2022-03-28T22:11:51.000Z | /*!
@file
@author Generate utility by Albert Semenov
@date 01/2009
@module
*/
#pragma once
#include "../BaseWidget.h"
namespace MyGUI
{
namespace Managed
{
public ref class WidgetCropped abstract : public BaseWidget
{
private:
typedef MyGUI::Widget ThisType;
public:
WidgetCropped() : BaseWidg... | 24.269841 | 119 | 0.644212 |
600adde4634469a4e6071847275718ff55cfd65d | 399 | h | C | RainbowLogger/RainbowLogger/Extensions/NSViewExtensions.h | p-sun/RainbowLogger | 3781dc3599e4de7d377fbd9d55164f5ceca446bc | [
"MIT"
] | 2 | 2022-01-10T23:24:22.000Z | 2022-03-21T20:08:43.000Z | RainbowLogger/RainbowLogger/Extensions/NSViewExtensions.h | p-sun/iOSLogConsole | 3781dc3599e4de7d377fbd9d55164f5ceca446bc | [
"MIT"
] | null | null | null | RainbowLogger/RainbowLogger/Extensions/NSViewExtensions.h | p-sun/iOSLogConsole | 3781dc3599e4de7d377fbd9d55164f5ceca446bc | [
"MIT"
] | null | null | null | //
// NSViewExtensions.h
// RainbowLogger
//
// Created by Paige Sun on 1/3/22.
// Copyright © 2022 Paige Sun. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSView (Additions)
+ (id)loadWithNibNamed:(NSString *)nibNamed class:(Class)loadClas... | 17.347826 | 83 | 0.739348 |
601246068816f45db0fc6f37c8a6b35d6e413aba | 912 | h | C | src/DummyPluginLogic.h | isanae/modorganizer-bsapacker | 54ce48eb18673acc9b62b61a45efbc0801faff43 | [
"MIT"
] | 1 | 2021-05-21T22:57:08.000Z | 2021-05-21T22:57:08.000Z | src/DummyPluginLogic.h | isanae/modorganizer-bsapacker | 54ce48eb18673acc9b62b61a45efbc0801faff43 | [
"MIT"
] | 1 | 2020-01-19T22:55:40.000Z | 2020-01-19T22:55:40.000Z | src/DummyPluginLogic.h | isanae/modorganizer-bsapacker | 54ce48eb18673acc9b62b61a45efbc0801faff43 | [
"MIT"
] | 3 | 2019-12-31T11:27:43.000Z | 2020-10-25T15:49:28.000Z | #ifndef DUMMYPLUGINLOGIC_H
#define DUMMYPLUGINLOGIC_H
#include <bsapacker/IDummyPluginLogic.h>
#include <bsapacker/ISettingsService.h>
#include <bsapacker/IArchiveNameService.h>
namespace BsaPacker
{
class DummyPluginLogic : public IDummyPluginLogic
{
public:
DummyPluginLogic(const ISettingsService* settingsServ... | 30.4 | 90 | 0.794956 |
6013df817dd4eab4469550b4a355b49c380458ec | 1,427 | h | C | include/third_party/blink/renderer/platform/blob/testing/fake_blob.h | Cozdemir/spitfire | 0d1713f5f7bd7d5803895a1cc48a97bf27bef9e1 | [
"Apache-2.0"
] | null | null | null | include/third_party/blink/renderer/platform/blob/testing/fake_blob.h | Cozdemir/spitfire | 0d1713f5f7bd7d5803895a1cc48a97bf27bef9e1 | [
"Apache-2.0"
] | null | null | null | include/third_party/blink/renderer/platform/blob/testing/fake_blob.h | Cozdemir/spitfire | 0d1713f5f7bd7d5803895a1cc48a97bf27bef9e1 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_BLOB_TESTING_FAKE_BLOB_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_BLOB_TESTING_FAKE_BLOB_H_
#include "thi... | 33.186047 | 79 | 0.748423 |
601694db0b5216c014f30b8553b3258191cad818 | 1,712 | c | C | ADS_BUFFER_01_02_IN _BU+DISPL/OLD/UART.c | klesogor/ADC_LAB_2019_01 | 1dd116b384813d8d01f23d3ac94300b03c9a1b0e | [
"MIT"
] | null | null | null | ADS_BUFFER_01_02_IN _BU+DISPL/OLD/UART.c | klesogor/ADC_LAB_2019_01 | 1dd116b384813d8d01f23d3ac94300b03c9a1b0e | [
"MIT"
] | null | null | null | ADS_BUFFER_01_02_IN _BU+DISPL/OLD/UART.c | klesogor/ADC_LAB_2019_01 | 1dd116b384813d8d01f23d3ac94300b03c9a1b0e | [
"MIT"
] | null | null | null | #include "UART.h"
#include "delay.h"
GPIO_InitTypeDef port;
USART_InitTypeDef usart;
void UART_init(void)
{
//Включаем тактирование
RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1, ENABLE);
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE);
//Пины PA9 и PA10 в режиме альтернативных функций ... | 24.112676 | 76 | 0.679322 |
6017823c72128cabc2dafaee10969c32b7390f46 | 774 | h | C | HACClusterMapViewController/HAClusterAnnotation.h | litoarias/HACClusterMapViewController | 23c6a8bc97e9543c5a6442d9bf7fb0a23303fd5d | [
"MIT"
] | 211 | 2015-08-26T17:43:15.000Z | 2021-05-12T06:37:42.000Z | HACClusterMapViewController/HAClusterAnnotation.h | litoarias/HACClusterMapViewController | 23c6a8bc97e9543c5a6442d9bf7fb0a23303fd5d | [
"MIT"
] | 23 | 2015-08-31T04:34:45.000Z | 2018-04-19T07:53:56.000Z | HACClusterMapViewController/HAClusterAnnotation.h | litoarias/HACClusterMapViewController | 23c6a8bc97e9543c5a6442d9bf7fb0a23303fd5d | [
"MIT"
] | 43 | 2015-08-26T18:50:24.000Z | 2018-10-30T07:56:23.000Z | //
// HAClusterAnnotation.h
// HAClusterMapView
//
// Created by Hipolito Arias on 14/10/15.
// Copyright © 2015 MasterApp. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
@interface HAClusterAnnotation : NSObject <MKAnnotation>
@property (assign, nonatomic) CLLocationCoordina... | 28.666667 | 106 | 0.773902 |
60178a39c9f5875e956ac899fb312a296d71e41f | 1,687 | h | C | src/parser/ParserProcessor.h | SpencerStrumwasser/WeServd-Webserver- | bae0e5448a4050bcc427bbb343dc2187a94d54c3 | [
"MIT"
] | null | null | null | src/parser/ParserProcessor.h | SpencerStrumwasser/WeServd-Webserver- | bae0e5448a4050bcc427bbb343dc2187a94d54c3 | [
"MIT"
] | null | null | null | src/parser/ParserProcessor.h | SpencerStrumwasser/WeServd-Webserver- | bae0e5448a4050bcc427bbb343dc2187a94d54c3 | [
"MIT"
] | null | null | null | //
// Created by David Pena on 4/26/15.
//
#ifndef WESERVD_PARSERPROCESSOR_H
#define WESERVD_PARSERPROCESSOR_H
#include <exception>
#include <unordered_map>
#include <vector>
#include "ConfigParser.h"
typedef std::vector<std::shared_ptr<NginxConfigStatement>> statements;
typedef std::unordered_map<std::string, std::... | 28.116667 | 77 | 0.694724 |
6017a737a2bc304eb594dac785de8d2c84777352 | 1,687 | h | C | src/uecho/util/list.h | ammgws/uecho | b05de85e6269af9489731e35c2a408c3fdf37154 | [
"BSD-3-Clause"
] | null | null | null | src/uecho/util/list.h | ammgws/uecho | b05de85e6269af9489731e35c2a408c3fdf37154 | [
"BSD-3-Clause"
] | null | null | null | src/uecho/util/list.h | ammgws/uecho | b05de85e6269af9489731e35c2a408c3fdf37154 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************
*
* uEcho for C
*
* Copyright (C) Satoshi Konno 2015
*
* This is licensed under BSD-style license, see file COPYING.
*
******************************************************************/
#ifndef _UECHO_UTIL_LIST_H_
#define _UECHO_UTIL_LIST_H_
... | 25.179104 | 84 | 0.589212 |
60180805f3d069bde7e54b6f50d6a030c2cae792 | 398 | h | C | source/dungeon/BigRoomDungeon.h | jrbeck/longshot | 5dde65a5331ca7bf133b1188bfd6160da4ffc649 | [
"MIT"
] | null | null | null | source/dungeon/BigRoomDungeon.h | jrbeck/longshot | 5dde65a5331ca7bf133b1188bfd6160da4ffc649 | [
"MIT"
] | null | null | null | source/dungeon/BigRoomDungeon.h | jrbeck/longshot | 5dde65a5331ca7bf133b1188bfd6160da4ffc649 | [
"MIT"
] | null | null | null | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// * BigRoomDungeon
// *
// * desc: creates a Dungeon with one big room and several smaller 'hollow' rooms
// *
// *
// *
// *
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
#p... | 19.9 | 94 | 0.326633 |
6018b90496be469af81dd75b323f7bd36f44c18a | 729 | h | C | PrivateFrameworks/XCTAutomationSupport/XCTCapabilities.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/XCTAutomationSupport/XCTCapabilities.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/XCTAutomationSupport/XCTCapabilities.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 "NSObject.h"
#import "NSSecureCoding.h"
@class NSDictionary;
@interface XCTCapabilities : NSObject <NSSecureCoding>
{
NSDictionary *_capabilitiesDictionary;
}
+ (id)... | 23.516129 | 126 | 0.740741 |
60197880c3528c39f586620184213197e0eccd6e | 7,953 | h | C | src/net2/net2_link.h | capellil/UNIVERSITY_BSc_honours_project | eec7b89e20f179315629b87b63f7ddd376cc74ff | [
"CC-BY-4.0"
] | null | null | null | src/net2/net2_link.h | capellil/UNIVERSITY_BSc_honours_project | eec7b89e20f179315629b87b63f7ddd376cc74ff | [
"CC-BY-4.0"
] | null | null | null | src/net2/net2_link.h | capellil/UNIVERSITY_BSc_honours_project | eec7b89e20f179315629b87b63f7ddd376cc74ff | [
"CC-BY-4.0"
] | null | null | null | /**
* @file net2_link.h
* @author Capelli, Ludovic
* @version 2.0
* @date 18/01/2015
**/
#ifndef NET2_LINK_INCLUDED
#define NET2_LINK_INCLUDED
#include <pthread.h> // pthread_t
#include "net2_socket.h"
/**
* @brief Forward declaration to avoid errors with the mutual inclusion with net2_protocol.h
**/
struct ... | 37.338028 | 243 | 0.682761 |
601999bd76f91d04cd58153d58db77f02cd8afd1 | 1,990 | h | C | Resources/OOML/src/parts/SimpleAxe.h | SaxonRah/OOML-UnrealEngine4-Plugin | 625b89c236d6f571376bdbceffdf5470cdbdc202 | [
"MIT"
] | null | null | null | Resources/OOML/src/parts/SimpleAxe.h | SaxonRah/OOML-UnrealEngine4-Plugin | 625b89c236d6f571376bdbceffdf5470cdbdc202 | [
"MIT"
] | null | null | null | Resources/OOML/src/parts/SimpleAxe.h | SaxonRah/OOML-UnrealEngine4-Plugin | 625b89c236d6f571376bdbceffdf5470cdbdc202 | [
"MIT"
] | null | null | null | /*
* OOML : Object Oriented Mechanics Library
* Copyright (C) 2012 Alberto Valero Gomez, Juan González Gómez, Rafael Treviño
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License (LGPL) as published by
* the Free Software ... | 22.873563 | 87 | 0.703015 |
6019a248554e6a295aa75d4a1afff4849076241c | 4,298 | c | C | test/debug/schedmon.c | lambdaxymox/DragonFlyBSD | 6379cf2998a4a073c65b12d99e62988a375b4598 | [
"BSD-3-Clause"
] | 432 | 2015-01-03T20:05:29.000Z | 2022-03-24T16:39:09.000Z | test/debug/schedmon.c | lambdaxymox/DragonFlyBSD | 6379cf2998a4a073c65b12d99e62988a375b4598 | [
"BSD-3-Clause"
] | 8 | 2015-12-03T15:45:38.000Z | 2020-12-25T15:42:08.000Z | test/debug/schedmon.c | lambdaxymox/DragonFlyBSD | 6379cf2998a4a073c65b12d99e62988a375b4598 | [
"BSD-3-Clause"
] | 114 | 2015-01-07T16:23:00.000Z | 2022-03-23T18:26:01.000Z | /*
* SCHEDMON.C
*
* cc -I/usr/src/sys schedmon.c -o ~/bin/schedmon -lkvm
*
* Monitor the user scheduler
*
* Copyright (c) 2020 The DragonFly Project. All rights reserved.
*
* This code is derived from software contributed to The DragonFly Project
* by Matthew Dillon <dillon@backplane.com>
*
* Redistributio... | 27.909091 | 79 | 0.64751 |
6019eabb129c6271bc78eec8165a201c5df589b0 | 1,230 | c | C | ngr2ll_test.c | jenniferliddle/ngr2ll | 6020a4a62e5ee8e234fb4bc773b222dd0074c986 | [
"CC-BY-3.0"
] | null | null | null | ngr2ll_test.c | jenniferliddle/ngr2ll | 6020a4a62e5ee8e234fb4bc773b222dd0074c986 | [
"CC-BY-3.0"
] | null | null | null | ngr2ll_test.c | jenniferliddle/ngr2ll | 6020a4a62e5ee8e234fb4bc773b222dd0074c986 | [
"CC-BY-3.0"
] | null | null | null |
#include <stdlib.h>
#include <stdio.h>
#include "ngr2ll.h"
int nerrors = 0;
void check_en(char *ngr, long expected_east, long expected_north)
{
long east, north;
_ngr2en(ngr, &east, &north);
if (east != expected_east) {
printf("ERROR: %s gives easting of %ld instead of %ld\n", ngr, east, expected_east);
nerr... | 21.578947 | 90 | 0.656098 |
601f4ec85de74090185b6a0d2c264887e7cfb9a4 | 156,418 | c | C | src/tm_unicode_custom_ucd.c | to-miz/tg | 84950c00dc62418d1c82ac05489ce0df18ebd4db | [
"MIT"
] | null | null | null | src/tm_unicode_custom_ucd.c | to-miz/tg | 84950c00dc62418d1c82ac05489ce0df18ebd4db | [
"MIT"
] | null | null | null | src/tm_unicode_custom_ucd.c | to-miz/tg | 84950c00dc62418d1c82ac05489ce0df18ebd4db | [
"MIT"
] | null | null | null | /* This file was generated using tools/unicode_gen from
https://github.com/to-miz/tm. Do not modify by hand.
Around 67432 bytes (65.85 kilobytes) of data for lookup tables
are generated. It was generated using version 13.0.0 of Unicode.*/
#ifdef __cplusplus
extern "C" {
#endif
/* Codepoint runs: 1238 bytes. ... | 55.863571 | 79 | 0.439393 |
601ffc3b272d6ff650c2b0efdddd217efff5197d | 4,290 | c | C | apps/plugins/doom/i_system.c | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 24 | 2015-03-10T08:43:56.000Z | 2022-01-05T14:09:46.000Z | apps/plugins/doom/i_system.c | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 4 | 2015-07-04T18:15:33.000Z | 2018-05-18T05:33:33.000Z | apps/plugins/doom/i_system.c | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 15 | 2015-01-21T13:58:13.000Z | 2020-11-04T04:30:22.000Z | // Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id$
//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as ... | 26.8125 | 308 | 0.675524 |
6021bc7685cfb86adaaae3b9af991c65eacead03 | 3,183 | c | C | kernel/baikal_scp_core.c | tano-systems/baikal-scp-tool | 3db02d60abe55632d094dc0be09ba71aa23ef0af | [
"MIT"
] | null | null | null | kernel/baikal_scp_core.c | tano-systems/baikal-scp-tool | 3db02d60abe55632d094dc0be09ba71aa23ef0af | [
"MIT"
] | null | null | null | kernel/baikal_scp_core.c | tano-systems/baikal-scp-tool | 3db02d60abe55632d094dc0be09ba71aa23ef0af | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Baikal-M (BE-M1000) SCP communication driver
*
* Copyright (C) 2021 Tano Systems LLC. All rights reserved.
*
* Authors: Anton Kikin <a.kikin@tano-systems.com>
*/
#include "baikal_scp_private.h"
static baikal_scp_dev_t *scpdev = NULL;
static int baikal_scp_dev_... | 24.113636 | 87 | 0.725102 |
602246b64c648ebb07e13fb46d7f8c9d34ca2af2 | 452 | h | C | DSLayer/DSLayerSourceText.h | tezcatlipoca/dscore | d9617d8af5549c76e3ca536500a9ffa1e2081127 | [
"MIT"
] | null | null | null | DSLayer/DSLayerSourceText.h | tezcatlipoca/dscore | d9617d8af5549c76e3ca536500a9ffa1e2081127 | [
"MIT"
] | null | null | null | DSLayer/DSLayerSourceText.h | tezcatlipoca/dscore | d9617d8af5549c76e3ca536500a9ffa1e2081127 | [
"MIT"
] | null | null | null | //
// DSLayerSourceText.h
// DSCore
//
// Created by Andrew on 1/29/16.
// Copyright © 2016 Digital Scenographic. All rights reserved.
//
#import <DSCore/DSCore.h>
@interface DSLayerSourceText : DSLayerSource{
NSMutableDictionary *attributes;
NSAttributedString *attrStr;
CATextLayer *textLayer;
}
- (i... | 22.6 | 71 | 0.732301 |
6026f9f0ce78237d2c8284e3e3edb2537fe2639f | 2,313 | c | C | NGSpice/ngspice-30/src/spicelib/devices/numd/numdacld.c | Surya-98/Snapcuit | 9789a779485d8af2426a2d4e6403a06f44acadcb | [
"MIT"
] | null | null | null | NGSpice/ngspice-30/src/spicelib/devices/numd/numdacld.c | Surya-98/Snapcuit | 9789a779485d8af2426a2d4e6403a06f44acadcb | [
"MIT"
] | null | null | null | NGSpice/ngspice-30/src/spicelib/devices/numd/numdacld.c | Surya-98/Snapcuit | 9789a779485d8af2426a2d4e6403a06f44acadcb | [
"MIT"
] | null | null | null | /**********
Copyright 1992 Regents of the University of California. All rights reserved.
Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
**********/
/*
* Function to load the COMPLEX circuit matrix using the small signal
* parameters saved during a previous DC operating point analysis.
*/
#include "ngspi... | 30.84 | 77 | 0.659317 |
602a3f8ce2c25b7015be540a25face816d4a4eed | 1,485 | h | C | iPadSplitScreenKit/Objc/iPadSplitScreenStatusTool.h | Todaycoding/iPadSplitScreenKit | 8327eef56aa092515b84f8ae1280378fe15fac29 | [
"MIT"
] | 10 | 2020-10-09T10:10:01.000Z | 2022-01-24T06:45:36.000Z | iPadSplitScreenKit/Objc/iPadSplitScreenStatusTool.h | Todaycoding/iPadSplitScreenKit | 8327eef56aa092515b84f8ae1280378fe15fac29 | [
"MIT"
] | null | null | null | iPadSplitScreenKit/Objc/iPadSplitScreenStatusTool.h | Todaycoding/iPadSplitScreenKit | 8327eef56aa092515b84f8ae1280378fe15fac29 | [
"MIT"
] | null | null | null | //
// iPadSplitScreenStatusTool.h
// iPadSplitScreenKit
//
// Created by DevDragonLi on 9/10/2020.
//
#import <Foundation/Foundation.h>
#import <iPadSplitScreenKit/iPadSplitScreenDefineHeader.h>
/// BOOL 【判断当前是否全屏模式】
#define SPLITISFULLSCREEN (iPadSplitScreenStatusTool.defaultool.fullScreen)
/// 屏幕发生分屏/横竖屏切换行为,会... | 27 | 114 | 0.798653 |
60314862c5e6673ca3be9c5675ff7c8069882c76 | 3,516 | h | C | AT88CK590/fw/DevelopmentKits/AT88CK590/CombinedLibraries/KitModules/Combined_Physical.h | Wintekso/CryptoAuth-explorations | b0f7ec0363f5379f3d971e647c0806cfcb08d5f0 | [
"Apache-2.0"
] | 15 | 2017-06-22T23:14:20.000Z | 2021-04-05T18:53:09.000Z | AT88CK590/fw/DevelopmentKits/AT88CK590/CombinedLibraries/KitModules/Combined_Physical.h | Wintekso/CryptoAuth-explorations | b0f7ec0363f5379f3d971e647c0806cfcb08d5f0 | [
"Apache-2.0"
] | 2 | 2017-09-15T05:12:51.000Z | 2017-09-15T18:56:15.000Z | AT88CK590/fw/DevelopmentKits/AT88CK590/CombinedLibraries/KitModules/Combined_Physical.h | Wintekso/CryptoAuth-explorations | b0f7ec0363f5379f3d971e647c0806cfcb08d5f0 | [
"Apache-2.0"
] | 3 | 2017-06-23T10:51:53.000Z | 2020-05-28T00:56:12.000Z | // ----------------------------------------------------------------------------
// ATMEL Crypto-Devices Software Support - Colorado Springs, CO -
// ----------------------------------------------------------------------------
// DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
//... | 43.407407 | 110 | 0.693117 |
60346d835596c315a4e28d2a0b899cabd3889523 | 446 | h | C | source/Nodes/TransformGroupNode.h | badbrainz/pme | 1c8e6f3d154cc59613f5ef3f2f8293f488c64b28 | [
"WTFPL"
] | null | null | null | source/Nodes/TransformGroupNode.h | badbrainz/pme | 1c8e6f3d154cc59613f5ef3f2f8293f488c64b28 | [
"WTFPL"
] | null | null | null | source/Nodes/TransformGroupNode.h | badbrainz/pme | 1c8e6f3d154cc59613f5ef3f2f8293f488c64b28 | [
"WTFPL"
] | null | null | null | #ifndef TRANSFORMGROUPNODE
#define TRANSFORMGROUPNODE
#include "Node.h"
class ModelController;
class TransformGroupNode : public Node
{
public:
TransformGroupNode();
~TransformGroupNode();
public:
void accept(Visitor* visitor);
public:
void setController(ModelControll... | 17.84 | 53 | 0.679372 |
6037691a4f525fa1d2797a6e986b311c1b42f5cf | 1,389 | c | C | parabox.nodes/co.parabox.transform.make.matrix.c | WebKing0121/vue-nodes | 4827c59620cbdae9a7536c7ca6013582c20ee5dc | [
"MIT"
] | 11 | 2015-04-16T05:45:16.000Z | 2021-04-28T13:47:27.000Z | parabox.nodes/co.parabox.transform.make.matrix.c | WebKing0121/vue-nodes | 4827c59620cbdae9a7536c7ca6013582c20ee5dc | [
"MIT"
] | 2 | 2015-12-12T15:02:45.000Z | 2017-06-07T17:15:48.000Z | parabox.nodes/co.parabox.transform.make.matrix.c | WebKing0121/vue-nodes | 4827c59620cbdae9a7536c7ca6013582c20ee5dc | [
"MIT"
] | 4 | 2015-01-07T20:31:47.000Z | 2018-12-18T02:11:19.000Z | /**
* @file
* co.parabox.transform.debug
*/
#include "node.h"
#include "VuoTransform.h"
VuoModuleMetadata({
"title" : "Make Transform With Matrix",
"keywords" : [
"transform", "rotation", "euler", "quaternion", "quat", "glm"
],
"version" : "1.0.0",
"dependencies" : [
],
... | 21.703125 | 67 | 0.633549 |
603c5b152da5aa29b4a48e571c1c48b71e4d837b | 30,445 | c | C | drivers/modem/ec20.c | volca/zephyr | 167f1b702f8b3f8b18f341f8dccbe28ddeb3482a | [
"Apache-2.0"
] | null | null | null | drivers/modem/ec20.c | volca/zephyr | 167f1b702f8b3f8b18f341f8dccbe28ddeb3482a | [
"Apache-2.0"
] | null | null | null | drivers/modem/ec20.c | volca/zephyr | 167f1b702f8b3f8b18f341f8dccbe28ddeb3482a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 Foundries.io
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log.h>
LOG_MODULE_REGISTER(modem_ec20, CONFIG_MODEM_LOG_LEVEL);
#include <kernel.h>
#include <ctype.h>
#include <errno.h>
#include <zephyr.h>
#include <drivers/gpio.h>
#include <device.h>
#include <init.h>
#include ... | 24.83279 | 99 | 0.683692 |
6042344a4fb735df714956d071c446597e63be95 | 877 | h | C | src/wayland/data_source.h | kkspeed/NaiveWM | 5da1e816ae3b9ec7a5a8c0b73b569615e231a215 | [
"BSD-3-Clause"
] | null | null | null | src/wayland/data_source.h | kkspeed/NaiveWM | 5da1e816ae3b9ec7a5a8c0b73b569615e231a215 | [
"BSD-3-Clause"
] | 1 | 2017-07-12T06:22:10.000Z | 2017-07-16T17:27:09.000Z | src/wayland/data_source.h | kkspeed/NaiveWM | 5da1e816ae3b9ec7a5a8c0b73b569615e231a215 | [
"BSD-3-Clause"
] | 1 | 2018-07-22T02:02:11.000Z | 2018-07-22T02:02:11.000Z | #ifndef WAYLAND_DATASOURCE_H_
#define WAYLAND_DATASOURCE_H_
#include <wayland-server-protocol.h>
#include <set>
#include <string>
namespace naive {
namespace wayland {
class DataSource;
class DataSourceListener {
public:
virtual void OnDataSourceDestroyed(DataSource* source) = 0;
};
class DataSource {
public:
... | 20.880952 | 62 | 0.752566 |
6045e5d70b6e9ab18ff76e37f59b19131b219861 | 1,319 | h | C | src/resource/format/2dareader.h | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | 37 | 2020-06-27T18:50:48.000Z | 2020-08-02T14:13:51.000Z | src/resource/format/2dareader.h | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | null | null | null | src/resource/format/2dareader.h | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | 1 | 2020-07-14T13:32:15.000Z | 2020-07-14T13:32:15.000Z | /*
* Copyright (c) 2020-2022 The reone project contributors
*
* 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 Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | 24.425926 | 73 | 0.704321 |
604686ca2f9c781ffa3b0cb56df643520be94d11 | 1,972 | h | C | scripts/FileFactoryListClass.h | mpforums/RenSharp | 5b3fb8bff2a1772a82a4148bcf3e1265a11aa097 | [
"Apache-2.0"
] | 1 | 2021-10-04T02:34:33.000Z | 2021-10-04T02:34:33.000Z | scripts/FileFactoryListClass.h | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | 9 | 2019-07-03T19:19:59.000Z | 2020-03-02T22:00:21.000Z | scripts/FileFactoryListClass.h | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | 2 | 2019-08-14T08:37:36.000Z | 2020-09-29T06:44:26.000Z | /* Renegade Scripts.dll
Copyright 2017 Tiberian Technologies
This file is part of the Renegade scripts.dll
The Renegade scripts.dll is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at yo... | 36.518519 | 164 | 0.796146 |